Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
joshheyse committed Feb 15, 2021
0 parents commit f724ec3
Show file tree
Hide file tree
Showing 270 changed files with 11,052 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules
dist
yarn-error.log
5 changes: 5 additions & 0 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"npmClient": "yarn",
"useWorkspaces": true,
"version": "independent"
}
22 changes: 22 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"name": "aws-policies",
"version": "1.0.0",
"description": "Typesafe AWS Policy Actions",
"private": true,
"workspaces": [
"packages/*"
],
"keywords": [
"AWS",
"policy",
"actions",
"typescript"
],
"author": "Josh Heyse <[email protected]>",
"homepage": "https://github.com/joshheyse/aws-policies",
"repository": {
"type": "git",
"url": "https://github.com/joshheyse/aws-policies"
},
"license": "MIT"
}
11 changes: 11 additions & 0 deletions packages/aws-policies/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# `aws_policies`

> TODO: description
## Usage

```
const awsPolicies = require('aws_policies');
// TODO: DEMONSTRATE API
```
26 changes: 26 additions & 0 deletions packages/aws-policies/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"name": "aws-policies",
"version": "1.0.0",
"description": "Typesafe AWS Policy Actions",
"keywords": [
"AWS",
"policy",
"actions",
"typescript"
],
"author": "Josh Heyse <[email protected]>",
"homepage": "https://github.com/joshheyse/aws-policies",
"repository": {
"type": "git",
"url": "https://github.com/joshheyse/aws-policies",
"directory": "packages/aws-policies"
},
"license": "MIT",
"main": "dist/index.js",
"directories": {
"dist": "dist"
},
"files": [
"dist"
]
}
84 changes: 84 additions & 0 deletions packages/aws-policies/src/a4b.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@

export enum a4b {
ApproveSkill = 'a4b:ApproveSkill',
AssociateContactWithAddressBook = 'a4b:AssociateContactWithAddressBook',
AssociateDeviceWithRoom = 'a4b:AssociateDeviceWithRoom',
AssociateSkillGroupWithRoom = 'a4b:AssociateSkillGroupWithRoom',
AssociateSkillWithSkillGroup = 'a4b:AssociateSkillWithSkillGroup',
AssociateSkillWithUsers = 'a4b:AssociateSkillWithUsers',
CompleteRegistration = 'a4b:CompleteRegistration',
CreateAddressBook = 'a4b:CreateAddressBook',
CreateBusinessReportSchedule = 'a4b:CreateBusinessReportSchedule',
CreateConferenceProvider = 'a4b:CreateConferenceProvider',
CreateContact = 'a4b:CreateContact',
CreateProfile = 'a4b:CreateProfile',
CreateRoom = 'a4b:CreateRoom',
CreateSkillGroup = 'a4b:CreateSkillGroup',
CreateUser = 'a4b:CreateUser',
DeleteAddressBook = 'a4b:DeleteAddressBook',
DeleteBusinessReportSchedule = 'a4b:DeleteBusinessReportSchedule',
DeleteConferenceProvider = 'a4b:DeleteConferenceProvider',
DeleteContact = 'a4b:DeleteContact',
DeleteDevice = 'a4b:DeleteDevice',
DeleteProfile = 'a4b:DeleteProfile',
DeleteRoom = 'a4b:DeleteRoom',
DeleteRoomSkillParameter = 'a4b:DeleteRoomSkillParameter',
DeleteSkillAuthorization = 'a4b:DeleteSkillAuthorization',
DeleteSkillGroup = 'a4b:DeleteSkillGroup',
DeleteUser = 'a4b:DeleteUser',
DisassociateContactFromAddressBook = 'a4b:DisassociateContactFromAddressBook',
DisassociateDeviceFromRoom = 'a4b:DisassociateDeviceFromRoom',
DisassociateSkillFromSkillGroup = 'a4b:DisassociateSkillFromSkillGroup',
DisassociateSkillFromUsers = 'a4b:DisassociateSkillFromUsers',
DisassociateSkillGroupFromRoom = 'a4b:DisassociateSkillGroupFromRoom',
ForgetSmartHomeAppliances = 'a4b:ForgetSmartHomeAppliances',
GetAddressBook = 'a4b:GetAddressBook',
GetConferencePreference = 'a4b:GetConferencePreference',
GetConferenceProvider = 'a4b:GetConferenceProvider',
GetContact = 'a4b:GetContact',
GetDevice = 'a4b:GetDevice',
GetNetworkProfile = 'a4b:GetNetworkProfile',
GetProfile = 'a4b:GetProfile',
GetRoom = 'a4b:GetRoom',
GetRoomSkillParameter = 'a4b:GetRoomSkillParameter',
GetSkillGroup = 'a4b:GetSkillGroup',
ListBusinessReportSchedules = 'a4b:ListBusinessReportSchedules',
ListConferenceProviders = 'a4b:ListConferenceProviders',
ListDeviceEvents = 'a4b:ListDeviceEvents',
ListSkills = 'a4b:ListSkills',
ListSkillsStoreCategories = 'a4b:ListSkillsStoreCategories',
ListSkillsStoreSkillsByCategory = 'a4b:ListSkillsStoreSkillsByCategory',
ListSmartHomeAppliances = 'a4b:ListSmartHomeAppliances',
ListTags = 'a4b:ListTags',
PutConferencePreference = 'a4b:PutConferencePreference',
PutDeviceSetupEvents = 'a4b:PutDeviceSetupEvents',
PutRoomSkillParameter = 'a4b:PutRoomSkillParameter',
PutSkillAuthorization = 'a4b:PutSkillAuthorization',
RegisterAVSDevice = 'a4b:RegisterAVSDevice',
RegisterDevice = 'a4b:RegisterDevice',
RejectSkill = 'a4b:RejectSkill',
ResolveRoom = 'a4b:ResolveRoom',
RevokeInvitation = 'a4b:RevokeInvitation',
SearchAddressBooks = 'a4b:SearchAddressBooks',
SearchContacts = 'a4b:SearchContacts',
SearchDevices = 'a4b:SearchDevices',
SearchNetworkProfiles = 'a4b:SearchNetworkProfiles',
SearchProfiles = 'a4b:SearchProfiles',
SearchRooms = 'a4b:SearchRooms',
SearchSkillGroups = 'a4b:SearchSkillGroups',
SearchUsers = 'a4b:SearchUsers',
SendInvitation = 'a4b:SendInvitation',
StartDeviceSync = 'a4b:StartDeviceSync',
StartSmartHomeApplianceDiscovery = 'a4b:StartSmartHomeApplianceDiscovery',
TagResource = 'a4b:TagResource',
UntagResource = 'a4b:UntagResource',
UpdateAddressBook = 'a4b:UpdateAddressBook',
UpdateBusinessReportSchedule = 'a4b:UpdateBusinessReportSchedule',
UpdateConferenceProvider = 'a4b:UpdateConferenceProvider',
UpdateContact = 'a4b:UpdateContact',
UpdateDevice = 'a4b:UpdateDevice',
UpdateProfile = 'a4b:UpdateProfile',
UpdateRoom = 'a4b:UpdateRoom',
UpdateSkillGroup = 'a4b:UpdateSkillGroup',

}
23 changes: 23 additions & 0 deletions packages/aws-policies/src/access_analyzer.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@

export enum access_analyzer {
ApplyArchiveRule = 'access-analyzer:ApplyArchiveRule',
CreateAnalyzer = 'access-analyzer:CreateAnalyzer',
CreateArchiveRule = 'access-analyzer:CreateArchiveRule',
DeleteAnalyzer = 'access-analyzer:DeleteAnalyzer',
DeleteArchiveRule = 'access-analyzer:DeleteArchiveRule',
GetAnalyzedResource = 'access-analyzer:GetAnalyzedResource',
GetAnalyzer = 'access-analyzer:GetAnalyzer',
GetArchiveRule = 'access-analyzer:GetArchiveRule',
GetFinding = 'access-analyzer:GetFinding',
ListAnalyzedResources = 'access-analyzer:ListAnalyzedResources',
ListAnalyzers = 'access-analyzer:ListAnalyzers',
ListArchiveRules = 'access-analyzer:ListArchiveRules',
ListFindings = 'access-analyzer:ListFindings',
ListTagsForResource = 'access-analyzer:ListTagsForResource',
StartResourceScan = 'access-analyzer:StartResourceScan',
TagResource = 'access-analyzer:TagResource',
UntagResource = 'access-analyzer:UntagResource',
UpdateArchiveRule = 'access-analyzer:UpdateArchiveRule',
UpdateFindings = 'access-analyzer:UpdateFindings',

}
7 changes: 7 additions & 0 deletions packages/aws-policies/src/account.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

export enum account {
DisableRegion = 'account:DisableRegion',
EnableRegion = 'account:EnableRegion',
ListRegions = 'account:ListRegions',

}
17 changes: 17 additions & 0 deletions packages/aws-policies/src/acm.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@

export enum acm {
AddTagsToCertificate = 'acm:AddTagsToCertificate',
DeleteCertificate = 'acm:DeleteCertificate',
DescribeCertificate = 'acm:DescribeCertificate',
ExportCertificate = 'acm:ExportCertificate',
GetCertificate = 'acm:GetCertificate',
ImportCertificate = 'acm:ImportCertificate',
ListCertificates = 'acm:ListCertificates',
ListTagsForCertificate = 'acm:ListTagsForCertificate',
RemoveTagsFromCertificate = 'acm:RemoveTagsFromCertificate',
RenewCertificate = 'acm:RenewCertificate',
RequestCertificate = 'acm:RequestCertificate',
ResendValidationEmail = 'acm:ResendValidationEmail',
UpdateCertificateOptions = 'acm:UpdateCertificateOptions',

}
27 changes: 27 additions & 0 deletions packages/aws-policies/src/acm_pca.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@

export enum acm_pca {
CreateCertificateAuthority = 'acm-pca:CreateCertificateAuthority',
CreateCertificateAuthorityAuditReport = 'acm-pca:CreateCertificateAuthorityAuditReport',
CreatePermission = 'acm-pca:CreatePermission',
DeleteCertificateAuthority = 'acm-pca:DeleteCertificateAuthority',
DeletePermission = 'acm-pca:DeletePermission',
DeletePolicy = 'acm-pca:DeletePolicy',
DescribeCertificateAuthority = 'acm-pca:DescribeCertificateAuthority',
DescribeCertificateAuthorityAuditReport = 'acm-pca:DescribeCertificateAuthorityAuditReport',
GetCertificate = 'acm-pca:GetCertificate',
GetCertificateAuthorityCertificate = 'acm-pca:GetCertificateAuthorityCertificate',
GetCertificateAuthorityCsr = 'acm-pca:GetCertificateAuthorityCsr',
GetPolicy = 'acm-pca:GetPolicy',
ImportCertificateAuthorityCertificate = 'acm-pca:ImportCertificateAuthorityCertificate',
IssueCertificate = 'acm-pca:IssueCertificate',
ListCertificateAuthorities = 'acm-pca:ListCertificateAuthorities',
ListPermissions = 'acm-pca:ListPermissions',
ListTags = 'acm-pca:ListTags',
PutPolicy = 'acm-pca:PutPolicy',
RestoreCertificateAuthority = 'acm-pca:RestoreCertificateAuthority',
RevokeCertificate = 'acm-pca:RevokeCertificate',
TagCertificateAuthority = 'acm-pca:TagCertificateAuthority',
UntagCertificateAuthority = 'acm-pca:UntagCertificateAuthority',
UpdateCertificateAuthority = 'acm-pca:UpdateCertificateAuthority',

}
12 changes: 12 additions & 0 deletions packages/aws-policies/src/activate.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

export enum activate {
CreateForm = 'activate:CreateForm',
GetAccountContact = 'activate:GetAccountContact',
GetContentInfo = 'activate:GetContentInfo',
GetCosts = 'activate:GetCosts',
GetCredits = 'activate:GetCredits',
GetMemberInfo = 'activate:GetMemberInfo',
GetProgram = 'activate:GetProgram',
PutMemberInfo = 'activate:PutMemberInfo',

}
15 changes: 15 additions & 0 deletions packages/aws-policies/src/airflow.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@

export enum airflow {
CreateCliToken = 'airflow:CreateCliToken',
CreateEnvironment = 'airflow:CreateEnvironment',
CreateWebLoginToken = 'airflow:CreateWebLoginToken',
DeleteEnvironment = 'airflow:DeleteEnvironment',
GetEnvironment = 'airflow:GetEnvironment',
ListEnvironments = 'airflow:ListEnvironments',
ListTagsForResource = 'airflow:ListTagsForResource',
PublishMetrics = 'airflow:PublishMetrics',
TagResource = 'airflow:TagResource',
UntagResource = 'airflow:UntagResource',
UpdateEnvironment = 'airflow:UpdateEnvironment',

}
40 changes: 40 additions & 0 deletions packages/aws-policies/src/amplify.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@

export enum amplify {
CreateApp = 'amplify:CreateApp',
CreateBackendEnvironment = 'amplify:CreateBackendEnvironment',
CreateBranch = 'amplify:CreateBranch',
CreateDeployment = 'amplify:CreateDeployment',
CreateDomainAssociation = 'amplify:CreateDomainAssociation',
CreateWebHook = 'amplify:CreateWebHook',
DeleteApp = 'amplify:DeleteApp',
DeleteBackendEnvironment = 'amplify:DeleteBackendEnvironment',
DeleteBranch = 'amplify:DeleteBranch',
DeleteDomainAssociation = 'amplify:DeleteDomainAssociation',
DeleteJob = 'amplify:DeleteJob',
DeleteWebHook = 'amplify:DeleteWebHook',
GenerateAccessLogs = 'amplify:GenerateAccessLogs',
GetApp = 'amplify:GetApp',
GetArtifactUrl = 'amplify:GetArtifactUrl',
GetBackendEnvironment = 'amplify:GetBackendEnvironment',
GetBranch = 'amplify:GetBranch',
GetDomainAssociation = 'amplify:GetDomainAssociation',
GetJob = 'amplify:GetJob',
GetWebHook = 'amplify:GetWebHook',
ListApps = 'amplify:ListApps',
ListArtifacts = 'amplify:ListArtifacts',
ListBackendEnvironments = 'amplify:ListBackendEnvironments',
ListBranches = 'amplify:ListBranches',
ListDomainAssociations = 'amplify:ListDomainAssociations',
ListJobs = 'amplify:ListJobs',
ListWebHooks = 'amplify:ListWebHooks',
StartDeployment = 'amplify:StartDeployment',
StartJob = 'amplify:StartJob',
StopJob = 'amplify:StopJob',
TagResource = 'amplify:TagResource',
UntagResource = 'amplify:UntagResource',
UpdateApp = 'amplify:UpdateApp',
UpdateBranch = 'amplify:UpdateBranch',
UpdateDomainAssociation = 'amplify:UpdateDomainAssociation',
UpdateWebHook = 'amplify:UpdateWebHook',

}
28 changes: 28 additions & 0 deletions packages/aws-policies/src/amplifybackend.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@

export enum amplifybackend {
CloneBackend = 'amplifybackend:CloneBackend',
CreateBackend = 'amplifybackend:CreateBackend',
CreateBackendAPI = 'amplifybackend:CreateBackendAPI',
CreateBackendAuth = 'amplifybackend:CreateBackendAuth',
CreateBackendConfig = 'amplifybackend:CreateBackendConfig',
CreateToken = 'amplifybackend:CreateToken',
DeleteBackend = 'amplifybackend:DeleteBackend',
DeleteBackendAPI = 'amplifybackend:DeleteBackendAPI',
DeleteBackendAuth = 'amplifybackend:DeleteBackendAuth',
DeleteToken = 'amplifybackend:DeleteToken',
GenerateBackendAPIModels = 'amplifybackend:GenerateBackendAPIModels',
GetBackend = 'amplifybackend:GetBackend',
GetBackendAPI = 'amplifybackend:GetBackendAPI',
GetBackendAPIModels = 'amplifybackend:GetBackendAPIModels',
GetBackendAuth = 'amplifybackend:GetBackendAuth',
GetBackendJob = 'amplifybackend:GetBackendJob',
GetToken = 'amplifybackend:GetToken',
ListBackendJobs = 'amplifybackend:ListBackendJobs',
RemoveAllBackends = 'amplifybackend:RemoveAllBackends',
RemoveBackendConfig = 'amplifybackend:RemoveBackendConfig',
UpdateBackendAPI = 'amplifybackend:UpdateBackendAPI',
UpdateBackendAuth = 'amplifybackend:UpdateBackendAuth',
UpdateBackendConfig = 'amplifybackend:UpdateBackendConfig',
UpdateBackendJob = 'amplifybackend:UpdateBackendJob',

}
11 changes: 11 additions & 0 deletions packages/aws-policies/src/apigateway.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

export enum apigateway {
DELETE = 'apigateway:DELETE',
GET = 'apigateway:GET',
PATCH = 'apigateway:PATCH',
POST = 'apigateway:POST',
PUT = 'apigateway:PUT',
SetWebACL = 'apigateway:SetWebACL',
UpdateRestApiPolicy = 'apigateway:UpdateRestApiPolicy',

}
15 changes: 15 additions & 0 deletions packages/aws-policies/src/app_integrations.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@

export enum app_integrations {
CreateEventIntegration = 'app-integrations:CreateEventIntegration',
CreateEventIntegrationAssociation = 'app-integrations:CreateEventIntegrationAssociation',
DeleteEventIntegration = 'app-integrations:DeleteEventIntegration',
DeleteEventIntegrationAssociation = 'app-integrations:DeleteEventIntegrationAssociation',
GetEventIntegration = 'app-integrations:GetEventIntegration',
ListEventIntegrationAssociations = 'app-integrations:ListEventIntegrationAssociations',
ListEventIntegrations = 'app-integrations:ListEventIntegrations',
ListTagsForResource = 'app-integrations:ListTagsForResource',
TagResource = 'app-integrations:TagResource',
UntagResource = 'app-integrations:UntagResource',
UpdateEventIntegration = 'app-integrations:UpdateEventIntegration',

}
Loading

0 comments on commit f724ec3

Please sign in to comment.