Skip to content

Commit

Permalink
Add all missing actions, fix service names, and remove duplicates
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-k authored and markpeek committed Oct 4, 2020
1 parent 2116773 commit 1b48832
Show file tree
Hide file tree
Showing 81 changed files with 2,711 additions and 75 deletions.
43 changes: 43 additions & 0 deletions awacs/access_analyzer.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Copyright (c) 2012-2013, Mark Peek <mark@peek.org>
# All rights reserved.
#
# See LICENSE file for full license.

from aws import Action as BaseAction
from aws import BaseARN

service_name = 'IAM Access Analyzer'
prefix = 'access-analyzer'


class Action(BaseAction):
def __init__(self, action=None):
sup = super(Action, self)
sup.__init__(prefix, action)


class ARN(BaseARN):
def __init__(self, resource='', region='', account=''):
sup = super(ARN, self)
sup.__init__(service=prefix, resource=resource, region=region,
account=account)


CreateAnalyzer = Action('CreateAnalyzer')
CreateArchiveRule = Action('CreateArchiveRule')
DeleteAnalyzer = Action('DeleteAnalyzer')
DeleteArchiveRule = Action('DeleteArchiveRule')
GetAnalyzedResource = Action('GetAnalyzedResource')
GetAnalyzer = Action('GetAnalyzer')
GetArchiveRule = Action('GetArchiveRule')
GetFinding = Action('GetFinding')
ListAnalyzedResources = Action('ListAnalyzedResources')
ListAnalyzers = Action('ListAnalyzers')
ListArchiveRules = Action('ListArchiveRules')
ListFindings = Action('ListFindings')
ListTagsForResource = Action('ListTagsForResource')
StartResourceScan = Action('StartResourceScan')
TagResource = Action('TagResource')
UntagResource = Action('UntagResource')
UpdateArchiveRule = Action('UpdateArchiveRule')
UpdateFindings = Action('UpdateFindings')
61 changes: 61 additions & 0 deletions awacs/appconfig.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Copyright (c) 2012-2013, Mark Peek <mark@peek.org>
# All rights reserved.
#
# See LICENSE file for full license.

from aws import Action as BaseAction
from aws import BaseARN

service_name = 'AWS AppConfig'
prefix = 'appconfig'


class Action(BaseAction):
def __init__(self, action=None):
sup = super(Action, self)
sup.__init__(prefix, action)


class ARN(BaseARN):
def __init__(self, resource='', region='', account=''):
sup = super(ARN, self)
sup.__init__(service=prefix, resource=resource, region=region,
account=account)


CreateApplication = Action('CreateApplication')
CreateConfigurationProfile = Action('CreateConfigurationProfile')
CreateDeploymentStrategy = Action('CreateDeploymentStrategy')
CreateEnvironment = Action('CreateEnvironment')
CreateHostedConfigurationVersion = \
Action('CreateHostedConfigurationVersion')
DeleteApplication = Action('DeleteApplication')
DeleteConfigurationProfile = Action('DeleteConfigurationProfile')
DeleteDeploymentStrategy = Action('DeleteDeploymentStrategy')
DeleteEnvironment = Action('DeleteEnvironment')
DeleteHostedConfigurationVersion = \
Action('DeleteHostedConfigurationVersion')
GetApplication = Action('GetApplication')
GetConfiguration = Action('GetConfiguration')
GetConfigurationProfile = Action('GetConfigurationProfile')
GetDeployment = Action('GetDeployment')
GetDeploymentStrategy = Action('GetDeploymentStrategy')
GetEnvironment = Action('GetEnvironment')
GetHostedConfigurationVersion = Action('GetHostedConfigurationVersion')
ListApplications = Action('ListApplications')
ListConfigurationProfiles = Action('ListConfigurationProfiles')
ListDeploymentStrategies = Action('ListDeploymentStrategies')
ListDeployments = Action('ListDeployments')
ListEnvironments = Action('ListEnvironments')
ListHostedConfigurationVersions = \
Action('ListHostedConfigurationVersions')
ListTagsForResource = Action('ListTagsForResource')
StartDeployment = Action('StartDeployment')
StopDeployment = Action('StopDeployment')
TagResource = Action('TagResource')
UntagResource = Action('UntagResource')
UpdateApplication = Action('UpdateApplication')
UpdateConfigurationProfile = Action('UpdateConfigurationProfile')
UpdateDeploymentStrategy = Action('UpdateDeploymentStrategy')
UpdateEnvironment = Action('UpdateEnvironment')
ValidateConfiguration = Action('ValidateConfiguration')
48 changes: 48 additions & 0 deletions awacs/appflow.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Copyright (c) 2012-2013, Mark Peek <mark@peek.org>
# All rights reserved.
#
# See LICENSE file for full license.

from aws import Action as BaseAction
from aws import BaseARN

service_name = 'Amazon AppFlow'
prefix = 'appflow'


class Action(BaseAction):
def __init__(self, action=None):
sup = super(Action, self)
sup.__init__(prefix, action)


class ARN(BaseARN):
def __init__(self, resource='', region='', account=''):
sup = super(ARN, self)
sup.__init__(service=prefix, resource=resource, region=region,
account=account)


CreateConnectorProfile = Action('CreateConnectorProfile')
CreateFlow = Action('CreateFlow')
DeleteConnectorProfile = Action('DeleteConnectorProfile')
DeleteFlow = Action('DeleteFlow')
DescribeConnectorEntity = Action('DescribeConnectorEntity')
DescribeConnectorFields = Action('DescribeConnectorFields')
DescribeConnectorProfiles = Action('DescribeConnectorProfiles')
DescribeConnectors = Action('DescribeConnectors')
DescribeFlow = Action('DescribeFlow')
DescribeFlowExecution = Action('DescribeFlowExecution')
DescribeFlowExecutionRecords = Action('DescribeFlowExecutionRecords')
DescribeFlows = Action('DescribeFlows')
ListConnectorEntities = Action('ListConnectorEntities')
ListConnectorFields = Action('ListConnectorFields')
ListFlows = Action('ListFlows')
ListTagsForResource = Action('ListTagsForResource')
RunFlow = Action('RunFlow')
StartFlow = Action('StartFlow')
StopFlow = Action('StopFlow')
TagResource = Action('TagResource')
UntagResource = Action('UntagResource')
UpdateConnectorProfile = Action('UpdateConnectorProfile')
UpdateFlow = Action('UpdateFlow')
43 changes: 43 additions & 0 deletions awacs/applicationinsights.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Copyright (c) 2012-2013, Mark Peek <mark@peek.org>
# All rights reserved.
#
# See LICENSE file for full license.

from aws import Action as BaseAction
from aws import BaseARN

service_name = 'CloudWatch Application Insights'
prefix = 'applicationinsights'


class Action(BaseAction):
def __init__(self, action=None):
sup = super(Action, self)
sup.__init__(prefix, action)


class ARN(BaseARN):
def __init__(self, resource='', region='', account=''):
sup = super(ARN, self)
sup.__init__(service=prefix, resource=resource, region=region,
account=account)


CreateApplication = Action('CreateApplication')
CreateComponent = Action('CreateComponent')
DeleteApplication = Action('DeleteApplication')
DeleteComponent = Action('DeleteComponent')
DescribeApplication = Action('DescribeApplication')
DescribeComponent = Action('DescribeComponent')
DescribeComponentConfiguration = Action('DescribeComponentConfiguration')
DescribeComponentConfigurationRecommendation = \
Action('DescribeComponentConfigurationRecommendation')
DescribeObservation = Action('DescribeObservation')
DescribeProblem = Action('DescribeProblem')
DescribeProblemObservations = Action('DescribeProblemObservations')
ListApplications = Action('ListApplications')
ListComponents = Action('ListComponents')
ListProblems = Action('ListProblems')
UpdateApplication = Action('UpdateApplication')
UpdateComponent = Action('UpdateComponent')
UpdateComponentConfiguration = Action('UpdateComponentConfiguration')
61 changes: 61 additions & 0 deletions awacs/appmesh_preview.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Copyright (c) 2012-2013, Mark Peek <mark@peek.org>
# All rights reserved.
#
# See LICENSE file for full license.

from aws import Action as BaseAction
from aws import BaseARN

service_name = 'AWS App Mesh Preview'
prefix = 'appmesh-preview'


class Action(BaseAction):
def __init__(self, action=None):
sup = super(Action, self)
sup.__init__(prefix, action)


class ARN(BaseARN):
def __init__(self, resource='', region='', account=''):
sup = super(ARN, self)
sup.__init__(service=prefix, resource=resource, region=region,
account=account)


CreateGatewayRoute = Action('CreateGatewayRoute')
CreateMesh = Action('CreateMesh')
CreateRoute = Action('CreateRoute')
CreateVirtualGateway = Action('CreateVirtualGateway')
CreateVirtualNode = Action('CreateVirtualNode')
CreateVirtualRouter = Action('CreateVirtualRouter')
CreateVirtualService = Action('CreateVirtualService')
DeleteGatewayRoute = Action('DeleteGatewayRoute')
DeleteMesh = Action('DeleteMesh')
DeleteRoute = Action('DeleteRoute')
DeleteVirtualGateway = Action('DeleteVirtualGateway')
DeleteVirtualNode = Action('DeleteVirtualNode')
DeleteVirtualRouter = Action('DeleteVirtualRouter')
DeleteVirtualService = Action('DeleteVirtualService')
DescribeGatewayRoute = Action('DescribeGatewayRoute')
DescribeMesh = Action('DescribeMesh')
DescribeRoute = Action('DescribeRoute')
DescribeVirtualGateway = Action('DescribeVirtualGateway')
DescribeVirtualNode = Action('DescribeVirtualNode')
DescribeVirtualRouter = Action('DescribeVirtualRouter')
DescribeVirtualService = Action('DescribeVirtualService')
ListGatewayRoutes = Action('ListGatewayRoutes')
ListMeshes = Action('ListMeshes')
ListRoutes = Action('ListRoutes')
ListVirtualGateways = Action('ListVirtualGateways')
ListVirtualNodes = Action('ListVirtualNodes')
ListVirtualRouters = Action('ListVirtualRouters')
ListVirtualServices = Action('ListVirtualServices')
StreamAggregatedResources = Action('StreamAggregatedResources')
UpdateGatewayRoute = Action('UpdateGatewayRoute')
UpdateMesh = Action('UpdateMesh')
UpdateRoute = Action('UpdateRoute')
UpdateVirtualGateway = Action('UpdateVirtualGateway')
UpdateVirtualNode = Action('UpdateVirtualNode')
UpdateVirtualRouter = Action('UpdateVirtualRouter')
UpdateVirtualService = Action('UpdateVirtualService')
2 changes: 1 addition & 1 deletion awacs/appstream.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from aws import Action as BaseAction
from aws import BaseARN

service_name = 'Amazon AppStream'
service_name = 'Amazon AppStream 2.0'
prefix = 'appstream'


Expand Down
26 changes: 26 additions & 0 deletions awacs/arsenal.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Copyright (c) 2012-2013, Mark Peek <mark@peek.org>
# All rights reserved.
#
# See LICENSE file for full license.

from aws import Action as BaseAction
from aws import BaseARN

service_name = 'Application Discovery Arsenal'
prefix = 'arsenal'


class Action(BaseAction):
def __init__(self, action=None):
sup = super(Action, self)
sup.__init__(prefix, action)


class ARN(BaseARN):
def __init__(self, resource='', region='', account=''):
sup = super(ARN, self)
sup.__init__(service=prefix, resource=resource, region=region,
account=account)


RegisterOnPremisesAgent = Action('RegisterOnPremisesAgent')
2 changes: 1 addition & 1 deletion awacs/autoscaling.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from aws import Action as BaseAction
from aws import BaseARN

service_name = 'Auto Scaling'
service_name = 'Amazon EC2 Auto Scaling'
prefix = 'autoscaling'


Expand Down
2 changes: 1 addition & 1 deletion awacs/autoscaling_plans.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from aws import Action as BaseAction
from aws import BaseARN

service_name = 'Auto Scaling Plans'
service_name = 'AWS Auto Scaling'
prefix = 'autoscaling-plans'


Expand Down
63 changes: 48 additions & 15 deletions awacs/aws_marketplace.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,32 +24,65 @@ def __init__(self, resource='', region='', account=''):


AcceptAgreementApprovalRequest = Action('AcceptAgreementApprovalRequest')
CancelAgreementRequest = Action('CancelAgreementRequest')
DescribeAgreement = Action('DescribeAgreement')
GetAgreementApprovalRequest = Action('GetAgreementApprovalRequest')
GetAgreementRequest = Action('GetAgreementRequest')
GetAgreementTerms = Action('GetAgreementTerms')
ListAgreementApprovalRequests = Action('ListAgreementApprovalRequests')
ListAgreementRequests = Action('ListAgreementRequests')
RegisterUsage = Action('RegisterUsage')
RejectAgreementApprovalRequest = Action('RejectAgreementApprovalRequest')
SearchAgreements = Action('SearchAgreements')
Subscribe = Action('Subscribe')
Unsubscribe = Action('Unsubscribe')
UpdateAgreementApprovalRequest = Action('UpdateAgreementApprovalRequest')
ViewSubscriptions = Action('ViewSubscriptions')
AcceptAgreementApprovalRequest = Action('AcceptAgreementApprovalRequest')
AssociateProductsWithPrivateMarketplace = \
Action('AssociateProductsWithPrivateMarketplace')
BatchMeterUsage = Action('BatchMeterUsage')
CancelAgreementRequest = Action('CancelAgreementRequest')
CancelChangeSet = Action('CancelChangeSet')
CompleteTask = Action('CompleteTask')
CreatePrivateMarketplace = Action('CreatePrivateMarketplace')
CreatePrivateMarketplaceProfile = \
Action('CreatePrivateMarketplaceProfile')
CreatePrivateMarketplaceRequests = \
Action('CreatePrivateMarketplaceRequests')
DescribeAgreement = Action('DescribeAgreement')
DescribeBuilds = Action('DescribeBuilds')
DescribeChangeSet = Action('DescribeChangeSet')
DescribeEntity = Action('DescribeEntity')
DescribePrivateMarketplaceProducts = \
Action('DescribePrivateMarketplaceProducts')
DescribePrivateMarketplaceProfile = \
Action('DescribePrivateMarketplaceProfile')
DescribePrivateMarketplaceRequests = \
Action('DescribePrivateMarketplaceRequests')
DescribePrivateMarketplaceSettings = \
Action('DescribePrivateMarketplaceSettings')
DescribePrivateMarketplaceStatus = \
Action('DescribePrivateMarketplaceStatus')
DescribeProcurementSystemConfiguration = \
Action('DescribeProcurementSystemConfiguration')
DescribeTask = Action('DescribeTask')
DisassociateProductsFromPrivateMarketplace = \
Action('DisassociateProductsFromPrivateMarketplace')
GetAgreementApprovalRequest = Action('GetAgreementApprovalRequest')
GetAgreementRequest = Action('GetAgreementRequest')
GetAgreementTerms = Action('GetAgreementTerms')
GetEntitlements = Action('GetEntitlements')
ListAgreementApprovalRequests = Action('ListAgreementApprovalRequests')
ListAgreementRequests = Action('ListAgreementRequests')
ListBuilds = Action('ListBuilds')
ListChangeSets = Action('ListChangeSets')
ListEntities = Action('ListEntities')
ListPrivateMarketplaceProducts = Action('ListPrivateMarketplaceProducts')
ListPrivateMarketplaceRequests = Action('ListPrivateMarketplaceRequests')
ListTasks = Action('ListTasks')
MeterUsage = Action('MeterUsage')
PutProcurementSystemConfiguration = \
Action('PutProcurementSystemConfiguration')
RegisterUsage = Action('RegisterUsage')
RejectAgreementApprovalRequest = Action('RejectAgreementApprovalRequest')
ResolveCustomer = Action('ResolveCustomer')
SearchAgreements = Action('SearchAgreements')
StartBuild = Action('StartBuild')
StartChangeSet = Action('StartChangeSet')
StartPrivateMarketplace = Action('StartPrivateMarketplace')
StopPrivateMarketplace = Action('StopPrivateMarketplace')
Subscribe = Action('Subscribe')
Unsubscribe = Action('Unsubscribe')
UpdateAgreementApprovalRequest = Action('UpdateAgreementApprovalRequest')
UpdatePrivateMarketplaceProfile = \
Action('UpdatePrivateMarketplaceProfile')
UpdatePrivateMarketplaceSettings = \
Action('UpdatePrivateMarketplaceSettings')
UpdateTask = Action('UpdateTask')
ViewSubscriptions = Action('ViewSubscriptions')
Loading

0 comments on commit 1b48832

Please sign in to comment.