├── .github ├── dependabot.yml └── workflows │ ├── release.yml │ ├── scrape.yml │ └── tests.yml ├── .gitignore ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── LICENSE ├── MANIFEST.in ├── Makefile ├── README.rst ├── RELEASE.md ├── awacs ├── __init__.py ├── a2c.py ├── a4b.py ├── access_analyzer.py ├── account.py ├── acm.py ├── acm_pca.py ├── activate.py ├── aiops.py ├── airflow.py ├── amplify.py ├── amplifybackend.py ├── amplifyuibuilder.py ├── aoss.py ├── apigateway.py ├── app_integrations.py ├── appconfig.py ├── appfabric.py ├── appflow.py ├── application_autoscaling.py ├── application_cost_profiler.py ├── application_signals.py ├── application_transformation.py ├── applicationinsights.py ├── appmesh.py ├── appmesh_preview.py ├── apprunner.py ├── appstream.py ├── appstudio.py ├── appsync.py ├── apptest.py ├── aps.py ├── arc_zonal_shift.py ├── arsenal.py ├── artifact.py ├── athena.py ├── auditmanager.py ├── autoscaling.py ├── autoscaling_plans.py ├── aws.py ├── aws_marketplace.py ├── aws_marketplace_management.py ├── aws_portal.py ├── awsconnector.py ├── awslambda.py ├── b2bi.py ├── backup.py ├── backup_gateway.py ├── backup_search.py ├── backup_storage.py ├── batch.py ├── bcm_data_exports.py ├── bcm_pricing_calculator.py ├── bedrock.py ├── billing.py ├── billingconductor.py ├── braket.py ├── budgets.py ├── bugbust.py ├── cases.py ├── cassandra.py ├── ce.py ├── chatbot.py ├── chime.py ├── cleanrooms.py ├── cleanrooms_ml.py ├── cloud9.py ├── clouddirectory.py ├── cloudformation.py ├── cloudfront.py ├── cloudfront_keyvaluestore.py ├── cloudhsm.py ├── cloudsearch.py ├── cloudshell.py ├── cloudtrail.py ├── cloudtrail_data.py ├── cloudwatch.py ├── codeartifact.py ├── codebuild.py ├── codecatalyst.py ├── codecommit.py ├── codeconnections.py ├── codedeploy.py ├── codedeploy_commands_secure.py ├── codeguru.py ├── codeguru_profiler.py ├── codeguru_reviewer.py ├── codeguru_security.py ├── codepipeline.py ├── codestar.py ├── codestar_connections.py ├── codestar_notifications.py ├── codewhisperer.py ├── cognito_identity.py ├── cognito_idp.py ├── cognito_sync.py ├── comprehend.py ├── comprehendmedical.py ├── compute_optimizer.py ├── config.py ├── connect.py ├── connect_campaigns.py ├── consoleapp.py ├── consolidatedbilling.py ├── controlcatalog.py ├── controltower.py ├── cost_optimization_hub.py ├── crowd.py ├── cur.py ├── customer_verification.py ├── databrew.py ├── dataexchange.py ├── datapipeline.py ├── datasync.py ├── datazone.py ├── datazonecontrol.py ├── dax.py ├── dbqms.py ├── deadline.py ├── deepcomposer.py ├── deeplens.py ├── deepracer.py ├── detective.py ├── devicefarm.py ├── devops_guru.py ├── directconnect.py ├── discovery.py ├── dlm.py ├── dms.py ├── docdb_elastic.py ├── drs.py ├── ds.py ├── ds_data.py ├── dsql.py ├── dynamodb.py ├── ebs.py ├── ec2.py ├── ec2_instance_connect.py ├── ec2messages.py ├── ecr.py ├── ecr_public.py ├── ecs.py ├── eks.py ├── eks_auth.py ├── elastic_inference.py ├── elasticache.py ├── elasticbeanstalk.py ├── elasticfilesystem.py ├── elasticloadbalancing.py ├── elasticmapreduce.py ├── elastictranscoder.py ├── elemental_activations.py ├── elemental_appliances_software.py ├── elemental_support_cases.py ├── elemental_support_content.py ├── emr_containers.py ├── emr_serverless.py ├── entityresolution.py ├── es.py ├── events.py ├── evidently.py ├── execute_api.py ├── finspace.py ├── finspace_api.py ├── firehose.py ├── fis.py ├── fms.py ├── forecast.py ├── frauddetector.py ├── freertos.py ├── freetier.py ├── fsx.py ├── gamelift.py ├── gameliftstreams.py ├── gamesparks.py ├── geo.py ├── geo_maps.py ├── geo_places.py ├── geo_routes.py ├── glacier.py ├── globalaccelerator.py ├── glue.py ├── grafana.py ├── greengrass.py ├── groundstation.py ├── groundtruthlabeling.py ├── guardduty.py ├── health.py ├── healthlake.py ├── helpers │ ├── __init__.py │ └── trust.py ├── honeycode.py ├── iam.py ├── identity_sync.py ├── identitystore.py ├── identitystore_auth.py ├── imagebuilder.py ├── importexport.py ├── inspector.py ├── inspector2.py ├── inspector_scan.py ├── internetmonitor.py ├── invoicing.py ├── iot.py ├── iot_device_tester.py ├── iotanalytics.py ├── iotdeviceadvisor.py ├── iotevents.py ├── iotfleethub.py ├── iotfleetwise.py ├── iotjobsdata.py ├── iotmanagedintegrations.py ├── iotroborunner.py ├── iotsitewise.py ├── iotthingsgraph.py ├── iottwinmaker.py ├── iotwireless.py ├── iq.py ├── iq_permission.py ├── ivs.py ├── ivschat.py ├── kafka.py ├── kafka_cluster.py ├── kafkaconnect.py ├── kendra.py ├── kendra_ranking.py ├── kinesis.py ├── kinesisanalytics.py ├── kinesisvideo.py ├── kms.py ├── lakeformation.py ├── launchwizard.py ├── lex.py ├── license_manager.py ├── license_manager_linux_subscriptions.py ├── license_manager_user_subscriptions.py ├── lightsail.py ├── logs.py ├── lookoutequipment.py ├── lookoutmetrics.py ├── lookoutvision.py ├── m2.py ├── machinelearning.py ├── macie.py ├── macie2.py ├── managedblockchain.py ├── managedblockchain_query.py ├── mapcredits.py ├── marketplacecommerceanalytics.py ├── mechanicalturk.py ├── mediaconnect.py ├── mediaconvert.py ├── mediaimport.py ├── medialive.py ├── mediapackage.py ├── mediapackage_vod.py ├── mediapackagev2.py ├── mediastore.py ├── mediatailor.py ├── medical_imaging.py ├── memorydb.py ├── mgh.py ├── mgn.py ├── migrationhub_orchestrator.py ├── migrationhub_strategy.py ├── mobileanalytics.py ├── mobilehub.py ├── mobiletargeting.py ├── monitron.py ├── mq.py ├── neptune_db.py ├── neptune_graph.py ├── network_firewall.py ├── networkflowmonitor.py ├── networkmanager.py ├── networkmanager_chat.py ├── networkmonitor.py ├── nimble.py ├── notifications.py ├── notifications_contacts.py ├── oam.py ├── observabilityadmin.py ├── omics.py ├── one.py ├── opensearch.py ├── opsworks.py ├── opsworks_cm.py ├── organizations.py ├── osis.py ├── outposts.py ├── panorama.py ├── partnercentral.py ├── partnercentral_account_management.py ├── payment_cryptography.py ├── payments.py ├── pca_connector_ad.py ├── pca_connector_scep.py ├── pcs.py ├── personalize.py ├── pi.py ├── pipes.py ├── polly.py ├── pricing.py ├── private_networks.py ├── profile.py ├── proton.py ├── purchase_orders.py ├── py.typed ├── q.py ├── qapps.py ├── qbusiness.py ├── qdeveloper.py ├── qldb.py ├── quicksight.py ├── ram.py ├── rbin.py ├── rds.py ├── rds_data.py ├── rds_db.py ├── redshift.py ├── redshift_data.py ├── redshift_serverless.py ├── refactor_spaces.py ├── rekognition.py ├── repostspace.py ├── resiliencehub.py ├── resource_explorer.py ├── resource_explorer_2.py ├── resource_groups.py ├── rhelkb.py ├── robomaker.py ├── rolesanywhere.py ├── route53.py ├── route53_recovery_cluster.py ├── route53_recovery_control_config.py ├── route53_recovery_readiness.py ├── route53domains.py ├── route53profiles.py ├── route53resolver.py ├── rum.py ├── s3.py ├── s3_object_lambda.py ├── s3_outposts.py ├── s3express.py ├── s3tables.py ├── sagemaker.py ├── sagemaker_data_science_assistant.py ├── sagemaker_geospatial.py ├── sagemaker_groundtruth_synthetic.py ├── sagemaker_mlflow.py ├── savingsplans.py ├── scheduler.py ├── schemas.py ├── scn.py ├── sdb.py ├── secretsmanager.py ├── security_ir.py ├── securityhub.py ├── securitylake.py ├── serverlessrepo.py ├── servicecatalog.py ├── servicediscovery.py ├── serviceextract.py ├── servicequotas.py ├── ses.py ├── shield.py ├── signer.py ├── signin.py ├── simscape.py ├── simspaceweaver.py ├── sms.py ├── sms_voice.py ├── snow_device_management.py ├── snowball.py ├── sns.py ├── social_messaging.py ├── sqlworkbench.py ├── sqs.py ├── ssm.py ├── ssm_contacts.py ├── ssm_guiconnect.py ├── ssm_incidents.py ├── ssm_quicksetup.py ├── ssm_sap.py ├── ssmmessages.py ├── sso.py ├── sso_directory.py ├── sso_oauth.py ├── states.py ├── storagegateway.py ├── sts.py ├── sumerian.py ├── support.py ├── supportapp.py ├── supportplans.py ├── supportrecommendations.py ├── sustainability.py ├── swf.py ├── synthetics.py ├── tag.py ├── tax.py ├── textract.py ├── thinclient.py ├── timestream.py ├── timestream_influxdb.py ├── tiros.py ├── tnb.py ├── transcribe.py ├── transfer.py ├── transform.py ├── translate.py ├── trustedadvisor.py ├── ts.py ├── user_subscriptions.py ├── uxc.py ├── vendor_insights.py ├── verified_access.py ├── verifiedpermissions.py ├── voiceid.py ├── vpc_lattice.py ├── vpc_lattice_svcs.py ├── vpce.py ├── waf.py ├── waf_regional.py ├── wafv2.py ├── wam.py ├── wellarchitected.py ├── wickr.py ├── wisdom.py ├── workdocs.py ├── worklink.py ├── workmail.py ├── workmailmessageflow.py ├── workspaces.py ├── workspaces_web.py └── xray.py ├── examples ├── ecr.py ├── ecs.py ├── s3.py ├── simple_test.py ├── sns.py └── sqs.py ├── mypy.ini ├── pyproject.toml ├── scrape ├── requirements.in ├── requirements.txt └── scrape.py ├── scripts └── generate_conditions.py ├── setup.cfg ├── setup.py ├── tests ├── __init__.py ├── test_aws.py ├── test_base.py ├── test_conditions.py ├── test_ec2.py ├── test_equality.py ├── test_examples.py ├── test_helpers.py ├── test_iam.py └── test_s3.py └── tox.ini /.github/dependabot.yml: -------------------------------------------------------------------------------- 1 | version: 2 2 | updates: 3 | - package-ecosystem: "pip" 4 | directory: "/scrape" 5 | schedule: 6 | interval: "weekly" 7 | -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- 1 | --- 2 | name: Release 3 | 4 | on: 5 | release: 6 | types: [created] 7 | 8 | jobs: 9 | deploy: 10 | runs-on: ubuntu-latest 11 | environment: deploy 12 | 13 | steps: 14 | - uses: actions/checkout@v3 15 | - name: Set up Python 16 | uses: actions/setup-python@v4 17 | with: 18 | python-version: 3.7 19 | - name: Install dependencies 20 | run: | 21 | python -m pip install --upgrade "build>=0.3.1" "twine>=3.4.1" 22 | - name: Build package 23 | run: | 24 | python -m build --sdist --wheel . 25 | - name: Check basics before uploading the package 26 | run: | 27 | python -m tox -e package 28 | - name: Publish package on PyPI 29 | env: 30 | TWINE_USERNAME: __token__ 31 | TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }} 32 | run: | 33 | twine upload dist/* 34 | -------------------------------------------------------------------------------- /.github/workflows/scrape.yml: -------------------------------------------------------------------------------- 1 | --- 2 | name: Scrape Actions 3 | on: 4 | schedule: 5 | - cron: '0 5 * * 1' # every monday at 5 am 6 | 7 | # Allows for manually triggered actions 8 | workflow_dispatch: 9 | 10 | jobs: 11 | scrape: 12 | runs-on: ubuntu-latest 13 | steps: 14 | - uses: actions/checkout@v4 15 | - name: Set up Python 16 | uses: actions/setup-python@v5 17 | with: 18 | python-version: 3.13 19 | - name: Install dependencies 20 | run: | 21 | python -m pip install -r scrape/requirements.txt 22 | python -m pip install . 23 | - name: Scrape 24 | run: python ./scrape/scrape.py 25 | - name: Format generated code 26 | run: | 27 | isort awacs 28 | black awacs 29 | - name: Commit & push collected actions 30 | run: | 31 | git config user.name "GitHub Workflow" 32 | git config user.email cloudtools@users.noreply.github.com 33 | git add awacs/ 34 | git commit -m "Action Update $(date "+%G-%V")" || true 35 | git push 36 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.py[cod] 2 | .mypy_cache 3 | 4 | # C extensions 5 | *.so 6 | 7 | # Packages 8 | *.egg 9 | *.egg-info 10 | dist 11 | build 12 | eggs 13 | parts 14 | bin 15 | var 16 | sdist 17 | develop-eggs 18 | .installed.cfg 19 | lib 20 | lib64 21 | 22 | # Installer logs 23 | pip-log.txt 24 | 25 | # Unit test / coverage reports 26 | .coverage 27 | .tox 28 | nosetests.xml 29 | 30 | # Translations 31 | *.mo 32 | 33 | # Mr Developer 34 | .mr.developer.cfg 35 | .project 36 | .pydevproject 37 | 38 | # Ignore vim swap files 39 | .*.sw* 40 | 41 | # Ignore intellij 42 | .idea/ 43 | 44 | # Ignore virtualenv 45 | env/ 46 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2012-2021, Mark Peek 2 | All rights reserved. 3 | 4 | Redistribution and use in source and binary forms, with or without 5 | modification, are permitted provided that the following conditions are met: 6 | 7 | 1. Redistributions of source code must retain the above copyright notice, this 8 | list of conditions and the following disclaimer. 9 | 2. Redistributions in binary form must reproduce the above copyright notice, 10 | this list of conditions and the following disclaimer in the documentation 11 | and/or other materials provided with the distribution. 12 | 13 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 14 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 15 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 16 | ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 17 | LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 18 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 19 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 20 | INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 21 | CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 22 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 23 | POSSIBILITY OF SUCH DAMAGE. 24 | -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- 1 | include LICENSE 2 | include *.md 3 | include .gitignore 4 | include tox.ini 5 | include awacs/py.typed 6 | recursive-include awacs *.py 7 | recursive-include examples *.py 8 | recursive-include tests *.py 9 | 10 | exclude Makefile 11 | exclude mypy.ini 12 | recursive-exclude scrape * 13 | recursive-exclude scripts * 14 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | .PHONY: test 2 | 3 | PYDIRS=setup.py awacs examples tests 4 | PYVERSION=`python -c "import sys; print(''.join([str(sys.version_info.major), str(sys.version_info.minor)]))"` 5 | 6 | test: 7 | python -m tox -e qa 8 | python -m tox -e package 9 | python -m tox --listenvs | grep "^py${PYVERSION}" | tr "\n" "," | xargs python -m tox -e 10 | black --check ${PYDIRS} 11 | mypy awacs 12 | -------------------------------------------------------------------------------- /RELEASE.md: -------------------------------------------------------------------------------- 1 | ## Steps to release a new version 2 | 3 | - Change version in awacs/\_\_init\_\_.py 4 | - Update CHANGELOG.md with changes made since last release 5 | - Create a signed tag: ```git tag --sign -m "Release 1.1.1" 1.1.1``` 6 | - Build the distribution: ```python -m build --sdist --wheel .``` 7 | - Use twine to check the release: ```twine check dist/awacs-1.1.1*[.whl,.gz]``` 8 | - Upload using twine: ```twine upload -s dist/awacs-1.1.1*[.whl,.gz]``` 9 | - Push commits: ```git push``` 10 | - Push tag: ```git push --tags``` 11 | - Update github release page: https://github.com/cloudtools/awacs/releases 12 | 13 | 14 | Helper to create CHANGELOG entries 15 | ---------------------------------- 16 | 17 | ``git log --reverse --pretty=format:"%s" | tail -100 | sed 's/^/* /'`` 18 | -------------------------------------------------------------------------------- /awacs/a2c.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS App2Container" 12 | prefix = "a2c" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | GetContainerizationJobDetails = Action("GetContainerizationJobDetails") 28 | GetDeploymentJobDetails = Action("GetDeploymentJobDetails") 29 | StartContainerizationJob = Action("StartContainerizationJob") 30 | StartDeploymentJob = Action("StartDeploymentJob") 31 | -------------------------------------------------------------------------------- /awacs/account.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Account Management" 12 | prefix = "account" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | AcceptPrimaryEmailUpdate = Action("AcceptPrimaryEmailUpdate") 28 | CloseAccount = Action("CloseAccount") 29 | DeleteAlternateContact = Action("DeleteAlternateContact") 30 | DisableRegion = Action("DisableRegion") 31 | EnableRegion = Action("EnableRegion") 32 | GetAccountInformation = Action("GetAccountInformation") 33 | GetAlternateContact = Action("GetAlternateContact") 34 | GetChallengeQuestions = Action("GetChallengeQuestions") 35 | GetContactInformation = Action("GetContactInformation") 36 | GetPrimaryEmail = Action("GetPrimaryEmail") 37 | GetRegionOptStatus = Action("GetRegionOptStatus") 38 | ListRegions = Action("ListRegions") 39 | PutAccountName = Action("PutAccountName") 40 | PutAlternateContact = Action("PutAlternateContact") 41 | PutChallengeQuestions = Action("PutChallengeQuestions") 42 | PutContactInformation = Action("PutContactInformation") 43 | StartPrimaryEmailUpdate = Action("StartPrimaryEmailUpdate") 44 | -------------------------------------------------------------------------------- /awacs/acm.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Certificate Manager" 12 | prefix = "acm" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | AddTagsToCertificate = Action("AddTagsToCertificate") 28 | DeleteCertificate = Action("DeleteCertificate") 29 | DescribeCertificate = Action("DescribeCertificate") 30 | ExportCertificate = Action("ExportCertificate") 31 | GetAccountConfiguration = Action("GetAccountConfiguration") 32 | GetCertificate = Action("GetCertificate") 33 | ImportCertificate = Action("ImportCertificate") 34 | ListCertificates = Action("ListCertificates") 35 | ListTagsForCertificate = Action("ListTagsForCertificate") 36 | PutAccountConfiguration = Action("PutAccountConfiguration") 37 | RemoveTagsFromCertificate = Action("RemoveTagsFromCertificate") 38 | RenewCertificate = Action("RenewCertificate") 39 | RequestCertificate = Action("RequestCertificate") 40 | ResendValidationEmail = Action("ResendValidationEmail") 41 | UpdateCertificateOptions = Action("UpdateCertificateOptions") 42 | -------------------------------------------------------------------------------- /awacs/activate.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Activate" 12 | prefix = "activate" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | CreateForm = Action("CreateForm") 28 | GetAccountContact = Action("GetAccountContact") 29 | GetContentInfo = Action("GetContentInfo") 30 | GetCosts = Action("GetCosts") 31 | GetCredits = Action("GetCredits") 32 | GetMemberInfo = Action("GetMemberInfo") 33 | GetProgram = Action("GetProgram") 34 | PutMemberInfo = Action("PutMemberInfo") 35 | -------------------------------------------------------------------------------- /awacs/airflow.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Amazon Managed Workflows for Apache Airflow" 12 | prefix = "airflow" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | CreateCliToken = Action("CreateCliToken") 28 | CreateEnvironment = Action("CreateEnvironment") 29 | CreateWebLoginToken = Action("CreateWebLoginToken") 30 | DeleteEnvironment = Action("DeleteEnvironment") 31 | GetEnvironment = Action("GetEnvironment") 32 | InvokeRestApi = Action("InvokeRestApi") 33 | ListEnvironments = Action("ListEnvironments") 34 | ListTagsForResource = Action("ListTagsForResource") 35 | PublishMetrics = Action("PublishMetrics") 36 | TagResource = Action("TagResource") 37 | UntagResource = Action("UntagResource") 38 | UpdateEnvironment = Action("UpdateEnvironment") 39 | -------------------------------------------------------------------------------- /awacs/apigateway.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Amazon API Gateway Management" 12 | prefix = "apigateway" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | AddCertificateToDomain = Action("AddCertificateToDomain") 28 | CreateAccessAssociation = Action("CreateAccessAssociation") 29 | DELETE = Action("DELETE") 30 | GET = Action("GET") 31 | HEAD = Action("HEAD") 32 | OPTIONS = Action("OPTIONS") 33 | PATCH = Action("PATCH") 34 | POST = Action("POST") 35 | PUT = Action("PUT") 36 | RejectAccessAssociation = Action("RejectAccessAssociation") 37 | RemoveCertificateFromDomain = Action("RemoveCertificateFromDomain") 38 | SetWebACL = Action("SetWebACL") 39 | UpdateDomainNameManagementPolicy = Action("UpdateDomainNameManagementPolicy") 40 | UpdateDomainNamePolicy = Action("UpdateDomainNamePolicy") 41 | UpdateRestApiPolicy = Action("UpdateRestApiPolicy") 42 | -------------------------------------------------------------------------------- /awacs/application_autoscaling.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Application Auto Scaling" 12 | prefix = "application-autoscaling" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | DeleteScalingPolicy = Action("DeleteScalingPolicy") 28 | DeleteScheduledAction = Action("DeleteScheduledAction") 29 | DeregisterScalableTarget = Action("DeregisterScalableTarget") 30 | DescribeScalableTargets = Action("DescribeScalableTargets") 31 | DescribeScalingActivities = Action("DescribeScalingActivities") 32 | DescribeScalingPolicies = Action("DescribeScalingPolicies") 33 | DescribeScheduledActions = Action("DescribeScheduledActions") 34 | GetPredictiveScalingForecast = Action("GetPredictiveScalingForecast") 35 | ListTagsForResource = Action("ListTagsForResource") 36 | PutScalingPolicy = Action("PutScalingPolicy") 37 | PutScheduledAction = Action("PutScheduledAction") 38 | RegisterScalableTarget = Action("RegisterScalableTarget") 39 | TagResource = Action("TagResource") 40 | UntagResource = Action("UntagResource") 41 | -------------------------------------------------------------------------------- /awacs/application_cost_profiler.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Application Cost Profiler Service" 12 | prefix = "application-cost-profiler" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | DeleteReportDefinition = Action("DeleteReportDefinition") 28 | GetReportDefinition = Action("GetReportDefinition") 29 | ImportApplicationUsage = Action("ImportApplicationUsage") 30 | ListReportDefinitions = Action("ListReportDefinitions") 31 | PutReportDefinition = Action("PutReportDefinition") 32 | UpdateReportDefinition = Action("UpdateReportDefinition") 33 | -------------------------------------------------------------------------------- /awacs/application_transformation.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Application Transformation Service" 12 | prefix = "application-transformation" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | GetContainerization = Action("GetContainerization") 28 | GetDeployment = Action("GetDeployment") 29 | GetGroupingAssessment = Action("GetGroupingAssessment") 30 | GetPortingCompatibilityAssessment = Action("GetPortingCompatibilityAssessment") 31 | GetPortingRecommendationAssessment = Action("GetPortingRecommendationAssessment") 32 | GetRuntimeAssessment = Action("GetRuntimeAssessment") 33 | PutLogData = Action("PutLogData") 34 | PutMetricData = Action("PutMetricData") 35 | StartContainerization = Action("StartContainerization") 36 | StartDeployment = Action("StartDeployment") 37 | StartGroupingAssessment = Action("StartGroupingAssessment") 38 | StartPortingCompatibilityAssessment = Action("StartPortingCompatibilityAssessment") 39 | StartPortingRecommendationAssessment = Action("StartPortingRecommendationAssessment") 40 | StartRuntimeAssessment = Action("StartRuntimeAssessment") 41 | -------------------------------------------------------------------------------- /awacs/appstudio.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS App Studio" 12 | prefix = "appstudio" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | GetAccountStatus = Action("GetAccountStatus") 28 | GetEnablementJobStatus = Action("GetEnablementJobStatus") 29 | StartEnablementJob = Action("StartEnablementJob") 30 | StartRollbackEnablementJob = Action("StartRollbackEnablementJob") 31 | StartTeamDeployment = Action("StartTeamDeployment") 32 | -------------------------------------------------------------------------------- /awacs/arc_zonal_shift.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Amazon Application Recovery Controller - Zonal Shift" 12 | prefix = "arc-zonal-shift" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | CancelZonalShift = Action("CancelZonalShift") 28 | CreatePracticeRunConfiguration = Action("CreatePracticeRunConfiguration") 29 | DeletePracticeRunConfiguration = Action("DeletePracticeRunConfiguration") 30 | GetAutoshiftObserverNotificationStatus = Action( 31 | "GetAutoshiftObserverNotificationStatus" 32 | ) 33 | GetManagedResource = Action("GetManagedResource") 34 | ListAutoshifts = Action("ListAutoshifts") 35 | ListManagedResources = Action("ListManagedResources") 36 | ListZonalShifts = Action("ListZonalShifts") 37 | StartZonalShift = Action("StartZonalShift") 38 | UpdateAutoshiftObserverNotificationStatus = Action( 39 | "UpdateAutoshiftObserverNotificationStatus" 40 | ) 41 | UpdatePracticeRunConfiguration = Action("UpdatePracticeRunConfiguration") 42 | UpdateZonalAutoshiftConfiguration = Action("UpdateZonalAutoshiftConfiguration") 43 | UpdateZonalShift = Action("UpdateZonalShift") 44 | -------------------------------------------------------------------------------- /awacs/arsenal.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Application Discovery Arsenal" 12 | prefix = "arsenal" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | RegisterOnPremisesAgent = Action("RegisterOnPremisesAgent") 28 | -------------------------------------------------------------------------------- /awacs/artifact.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Artifact" 12 | prefix = "artifact" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | AcceptAgreement = Action("AcceptAgreement") 28 | AcceptNdaForAgreement = Action("AcceptNdaForAgreement") 29 | DownloadAgreement = Action("DownloadAgreement") 30 | Get = Action("Get") 31 | GetAccountSettings = Action("GetAccountSettings") 32 | GetAgreement = Action("GetAgreement") 33 | GetCustomerAgreement = Action("GetCustomerAgreement") 34 | GetNdaForAgreement = Action("GetNdaForAgreement") 35 | GetReport = Action("GetReport") 36 | GetReportMetadata = Action("GetReportMetadata") 37 | GetTermForReport = Action("GetTermForReport") 38 | ListAgreements = Action("ListAgreements") 39 | ListCustomerAgreements = Action("ListCustomerAgreements") 40 | ListReports = Action("ListReports") 41 | PutAccountSettings = Action("PutAccountSettings") 42 | TerminateAgreement = Action("TerminateAgreement") 43 | -------------------------------------------------------------------------------- /awacs/autoscaling_plans.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Auto Scaling" 12 | prefix = "autoscaling-plans" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | CreateScalingPlan = Action("CreateScalingPlan") 28 | DeleteScalingPlan = Action("DeleteScalingPlan") 29 | DescribeScalingPlanResources = Action("DescribeScalingPlanResources") 30 | DescribeScalingPlans = Action("DescribeScalingPlans") 31 | GetScalingPlanResourceForecastData = Action("GetScalingPlanResourceForecastData") 32 | UpdateScalingPlan = Action("UpdateScalingPlan") 33 | -------------------------------------------------------------------------------- /awacs/aws_marketplace_management.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Marketplace Management Portal" 12 | prefix = "aws-marketplace-management" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | GetAdditionalSellerNotificationRecipients = Action( 28 | "GetAdditionalSellerNotificationRecipients" 29 | ) 30 | GetBankAccountVerificationDetails = Action("GetBankAccountVerificationDetails") 31 | GetSecondaryUserVerificationDetails = Action("GetSecondaryUserVerificationDetails") 32 | GetSellerVerificationDetails = Action("GetSellerVerificationDetails") 33 | PutAdditionalSellerNotificationRecipients = Action( 34 | "PutAdditionalSellerNotificationRecipients" 35 | ) 36 | PutBankAccountVerificationDetails = Action("PutBankAccountVerificationDetails") 37 | PutSecondaryUserVerificationDetails = Action("PutSecondaryUserVerificationDetails") 38 | PutSellerVerificationDetails = Action("PutSellerVerificationDetails") 39 | uploadFiles = Action("uploadFiles") 40 | viewMarketing = Action("viewMarketing") 41 | viewReports = Action("viewReports") 42 | viewSettings = Action("viewSettings") 43 | viewSupport = Action("viewSupport") 44 | -------------------------------------------------------------------------------- /awacs/aws_portal.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Billing Console" 12 | prefix = "aws-portal" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | GetConsoleActionSetEnforced = Action("GetConsoleActionSetEnforced") 28 | ModifyAccount = Action("ModifyAccount") 29 | ModifyBilling = Action("ModifyBilling") 30 | ModifyPaymentMethods = Action("ModifyPaymentMethods") 31 | UpdateConsoleActionSetEnforced = Action("UpdateConsoleActionSetEnforced") 32 | ViewAccount = Action("ViewAccount") 33 | ViewBilling = Action("ViewBilling") 34 | ViewPaymentMethods = Action("ViewPaymentMethods") 35 | ViewUsage = Action("ViewUsage") 36 | -------------------------------------------------------------------------------- /awacs/awsconnector.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Connector Service" 12 | prefix = "awsconnector" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | GetConnectorHealth = Action("GetConnectorHealth") 28 | RegisterConnector = Action("RegisterConnector") 29 | ValidateConnectorId = Action("ValidateConnectorId") 30 | -------------------------------------------------------------------------------- /awacs/backup_search.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Backup Search" 12 | prefix = "backup-search" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | GetSearchJob = Action("GetSearchJob") 28 | GetSearchResultExportJob = Action("GetSearchResultExportJob") 29 | ListSearchJobBackups = Action("ListSearchJobBackups") 30 | ListSearchJobResults = Action("ListSearchJobResults") 31 | ListSearchJobs = Action("ListSearchJobs") 32 | ListSearchResultExportJobs = Action("ListSearchResultExportJobs") 33 | ListTagsForResource = Action("ListTagsForResource") 34 | StartSearchJob = Action("StartSearchJob") 35 | StartSearchResultExportJob = Action("StartSearchResultExportJob") 36 | StopSearchJob = Action("StopSearchJob") 37 | TagResource = Action("TagResource") 38 | UntagResource = Action("UntagResource") 39 | -------------------------------------------------------------------------------- /awacs/backup_storage.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Backup storage" 12 | prefix = "backup-storage" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | CommitBackupJob = Action("CommitBackupJob") 28 | DeleteObjects = Action("DeleteObjects") 29 | DescribeBackupJob = Action("DescribeBackupJob") 30 | GetBaseBackup = Action("GetBaseBackup") 31 | GetChunk = Action("GetChunk") 32 | GetIncrementalBaseBackup = Action("GetIncrementalBaseBackup") 33 | GetObjectMetadata = Action("GetObjectMetadata") 34 | ListChunks = Action("ListChunks") 35 | ListObjects = Action("ListObjects") 36 | MountCapsule = Action("MountCapsule") 37 | NotifyObjectComplete = Action("NotifyObjectComplete") 38 | PutChunk = Action("PutChunk") 39 | PutObject = Action("PutObject") 40 | StartObject = Action("StartObject") 41 | UpdateObjectComplete = Action("UpdateObjectComplete") 42 | -------------------------------------------------------------------------------- /awacs/bcm_data_exports.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Billing And Cost Management Data Exports" 12 | prefix = "bcm-data-exports" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | CreateExport = Action("CreateExport") 28 | DeleteExport = Action("DeleteExport") 29 | GetExecution = Action("GetExecution") 30 | GetExport = Action("GetExport") 31 | GetTable = Action("GetTable") 32 | ListExecutions = Action("ListExecutions") 33 | ListExports = Action("ListExports") 34 | ListTables = Action("ListTables") 35 | ListTagsForResource = Action("ListTagsForResource") 36 | TagResource = Action("TagResource") 37 | UntagResource = Action("UntagResource") 38 | UpdateExport = Action("UpdateExport") 39 | -------------------------------------------------------------------------------- /awacs/braket.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Amazon Braket" 12 | prefix = "braket" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | AcceptUserAgreement = Action("AcceptUserAgreement") 28 | AccessBraketFeature = Action("AccessBraketFeature") 29 | CancelJob = Action("CancelJob") 30 | CancelQuantumTask = Action("CancelQuantumTask") 31 | CreateJob = Action("CreateJob") 32 | CreateQuantumTask = Action("CreateQuantumTask") 33 | GetDevice = Action("GetDevice") 34 | GetJob = Action("GetJob") 35 | GetQuantumTask = Action("GetQuantumTask") 36 | GetServiceLinkedRoleStatus = Action("GetServiceLinkedRoleStatus") 37 | GetUserAgreementStatus = Action("GetUserAgreementStatus") 38 | ListTagsForResource = Action("ListTagsForResource") 39 | SearchDevices = Action("SearchDevices") 40 | SearchJobs = Action("SearchJobs") 41 | SearchQuantumTasks = Action("SearchQuantumTasks") 42 | TagResource = Action("TagResource") 43 | UntagResource = Action("UntagResource") 44 | -------------------------------------------------------------------------------- /awacs/budgets.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Budget Service" 12 | prefix = "budgets" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | CreateBudgetAction = Action("CreateBudgetAction") 28 | DeleteBudgetAction = Action("DeleteBudgetAction") 29 | DescribeBudgetAction = Action("DescribeBudgetAction") 30 | DescribeBudgetActionHistories = Action("DescribeBudgetActionHistories") 31 | DescribeBudgetActionsForAccount = Action("DescribeBudgetActionsForAccount") 32 | DescribeBudgetActionsForBudget = Action("DescribeBudgetActionsForBudget") 33 | ExecuteBudgetAction = Action("ExecuteBudgetAction") 34 | ListTagsForResource = Action("ListTagsForResource") 35 | ModifyBudget = Action("ModifyBudget") 36 | TagResource = Action("TagResource") 37 | UntagResource = Action("UntagResource") 38 | UpdateBudgetAction = Action("UpdateBudgetAction") 39 | ViewBudget = Action("ViewBudget") 40 | -------------------------------------------------------------------------------- /awacs/bugbust.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS BugBust" 12 | prefix = "bugbust" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | CreateEvent = Action("CreateEvent") 28 | EvaluateProfilingGroups = Action("EvaluateProfilingGroups") 29 | GetEvent = Action("GetEvent") 30 | GetJoinEventStatus = Action("GetJoinEventStatus") 31 | JoinEvent = Action("JoinEvent") 32 | ListBugs = Action("ListBugs") 33 | ListEventParticipants = Action("ListEventParticipants") 34 | ListEventScores = Action("ListEventScores") 35 | ListEvents = Action("ListEvents") 36 | ListProfilingGroups = Action("ListProfilingGroups") 37 | ListPullRequests = Action("ListPullRequests") 38 | ListTagsForResource = Action("ListTagsForResource") 39 | TagResource = Action("TagResource") 40 | UntagResource = Action("UntagResource") 41 | UpdateEvent = Action("UpdateEvent") 42 | UpdateWorkItem = Action("UpdateWorkItem") 43 | UpdateWorkItemAdmin = Action("UpdateWorkItemAdmin") 44 | -------------------------------------------------------------------------------- /awacs/cassandra.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Amazon Keyspaces (for Apache Cassandra)" 12 | prefix = "cassandra" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | Alter = Action("Alter") 28 | AlterMultiRegionResource = Action("AlterMultiRegionResource") 29 | Create = Action("Create") 30 | CreateMultiRegionResource = Action("CreateMultiRegionResource") 31 | Drop = Action("Drop") 32 | DropMultiRegionResource = Action("DropMultiRegionResource") 33 | Modify = Action("Modify") 34 | ModifyMultiRegionResource = Action("ModifyMultiRegionResource") 35 | Restore = Action("Restore") 36 | RestoreMultiRegionTable = Action("RestoreMultiRegionTable") 37 | Select = Action("Select") 38 | SelectMultiRegionResource = Action("SelectMultiRegionResource") 39 | TagMultiRegionResource = Action("TagMultiRegionResource") 40 | TagResource = Action("TagResource") 41 | UnTagMultiRegionResource = Action("UnTagMultiRegionResource") 42 | UntagResource = Action("UntagResource") 43 | UpdatePartitioner = Action("UpdatePartitioner") 44 | -------------------------------------------------------------------------------- /awacs/cloudfront_keyvaluestore.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Amazon CloudFront KeyValueStore" 12 | prefix = "cloudfront-keyvaluestore" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | DeleteKey = Action("DeleteKey") 28 | DescribeKeyValueStore = Action("DescribeKeyValueStore") 29 | GetKey = Action("GetKey") 30 | ListKeys = Action("ListKeys") 31 | PutKey = Action("PutKey") 32 | UpdateKeys = Action("UpdateKeys") 33 | -------------------------------------------------------------------------------- /awacs/cloudshell.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS CloudShell" 12 | prefix = "cloudshell" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | ApproveCommand = Action("ApproveCommand") 28 | CreateEnvironment = Action("CreateEnvironment") 29 | CreateSession = Action("CreateSession") 30 | DeleteEnvironment = Action("DeleteEnvironment") 31 | DescribeEnvironments = Action("DescribeEnvironments") 32 | GetEnvironmentStatus = Action("GetEnvironmentStatus") 33 | GetFileDownloadUrls = Action("GetFileDownloadUrls") 34 | GetFileUploadUrls = Action("GetFileUploadUrls") 35 | PutCredentials = Action("PutCredentials") 36 | StartEnvironment = Action("StartEnvironment") 37 | StopEnvironment = Action("StopEnvironment") 38 | -------------------------------------------------------------------------------- /awacs/cloudtrail_data.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS CloudTrail Data" 12 | prefix = "cloudtrail-data" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | PutAuditEvents = Action("PutAuditEvents") 28 | -------------------------------------------------------------------------------- /awacs/codedeploy_commands_secure.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS CodeDeploy secure host commands service" 12 | prefix = "codedeploy-commands-secure" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | GetDeploymentSpecification = Action("GetDeploymentSpecification") 28 | PollHostCommand = Action("PollHostCommand") 29 | PutHostCommandAcknowledgement = Action("PutHostCommandAcknowledgement") 30 | PutHostCommandComplete = Action("PutHostCommandComplete") 31 | -------------------------------------------------------------------------------- /awacs/codeguru.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Amazon CodeGuru" 12 | prefix = "codeguru" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | GetCodeGuruFreeTrialSummary = Action("GetCodeGuruFreeTrialSummary") 28 | -------------------------------------------------------------------------------- /awacs/codeguru_reviewer.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Amazon CodeGuru Reviewer" 12 | prefix = "codeguru-reviewer" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | AssociateRepository = Action("AssociateRepository") 28 | CreateCodeReview = Action("CreateCodeReview") 29 | CreateConnectionToken = Action("CreateConnectionToken") 30 | DescribeCodeReview = Action("DescribeCodeReview") 31 | DescribeRecommendationFeedback = Action("DescribeRecommendationFeedback") 32 | DescribeRepositoryAssociation = Action("DescribeRepositoryAssociation") 33 | DisassociateRepository = Action("DisassociateRepository") 34 | GetMetricsData = Action("GetMetricsData") 35 | ListCodeReviews = Action("ListCodeReviews") 36 | ListRecommendationFeedback = Action("ListRecommendationFeedback") 37 | ListRecommendations = Action("ListRecommendations") 38 | ListRepositoryAssociations = Action("ListRepositoryAssociations") 39 | ListTagsForResource = Action("ListTagsForResource") 40 | ListThirdPartyRepositories = Action("ListThirdPartyRepositories") 41 | PutRecommendationFeedback = Action("PutRecommendationFeedback") 42 | TagResource = Action("TagResource") 43 | UnTagResource = Action("UnTagResource") 44 | -------------------------------------------------------------------------------- /awacs/codeguru_security.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Amazon CodeGuru Security" 12 | prefix = "codeguru-security" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | BatchGetFindings = Action("BatchGetFindings") 28 | CreateScan = Action("CreateScan") 29 | CreateUploadUrl = Action("CreateUploadUrl") 30 | DeleteScansByCategory = Action("DeleteScansByCategory") 31 | GetAccountConfiguration = Action("GetAccountConfiguration") 32 | GetFindings = Action("GetFindings") 33 | GetMetricsSummary = Action("GetMetricsSummary") 34 | GetScan = Action("GetScan") 35 | ListFindings = Action("ListFindings") 36 | ListFindingsMetrics = Action("ListFindingsMetrics") 37 | ListScans = Action("ListScans") 38 | ListTagsForResource = Action("ListTagsForResource") 39 | TagResource = Action("TagResource") 40 | UntagResource = Action("UntagResource") 41 | UpdateAccountConfiguration = Action("UpdateAccountConfiguration") 42 | -------------------------------------------------------------------------------- /awacs/codestar_notifications.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS CodeStar Notifications" 12 | prefix = "codestar-notifications" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | CreateNotificationRule = Action("CreateNotificationRule") 28 | DeleteNotificationRule = Action("DeleteNotificationRule") 29 | DeleteTarget = Action("DeleteTarget") 30 | DescribeNotificationRule = Action("DescribeNotificationRule") 31 | ListEventTypes = Action("ListEventTypes") 32 | ListNotificationRules = Action("ListNotificationRules") 33 | ListTagsForResource = Action("ListTagsForResource") 34 | ListTargets = Action("ListTargets") 35 | Subscribe = Action("Subscribe") 36 | TagResource = Action("TagResource") 37 | Unsubscribe = Action("Unsubscribe") 38 | UntagResource = Action("UntagResource") 39 | UpdateNotificationRule = Action("UpdateNotificationRule") 40 | -------------------------------------------------------------------------------- /awacs/cognito_sync.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Amazon Cognito Sync" 12 | prefix = "cognito-sync" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | BulkPublish = Action("BulkPublish") 28 | DeleteDataset = Action("DeleteDataset") 29 | DescribeDataset = Action("DescribeDataset") 30 | DescribeIdentityPoolUsage = Action("DescribeIdentityPoolUsage") 31 | DescribeIdentityUsage = Action("DescribeIdentityUsage") 32 | GetBulkPublishDetails = Action("GetBulkPublishDetails") 33 | GetCognitoEvents = Action("GetCognitoEvents") 34 | GetIdentityPoolConfiguration = Action("GetIdentityPoolConfiguration") 35 | ListDatasets = Action("ListDatasets") 36 | ListIdentityPoolUsage = Action("ListIdentityPoolUsage") 37 | ListRecords = Action("ListRecords") 38 | QueryRecords = Action("QueryRecords") 39 | RegisterDevice = Action("RegisterDevice") 40 | SetCognitoEvents = Action("SetCognitoEvents") 41 | SetDatasetConfiguration = Action("SetDatasetConfiguration") 42 | SetIdentityPoolConfiguration = Action("SetIdentityPoolConfiguration") 43 | SubscribeToDataset = Action("SubscribeToDataset") 44 | UnsubscribeFromDataset = Action("UnsubscribeFromDataset") 45 | UpdateRecords = Action("UpdateRecords") 46 | -------------------------------------------------------------------------------- /awacs/consoleapp.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Management Console Mobile App" 12 | prefix = "consoleapp" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | GetDeviceIdentity = Action("GetDeviceIdentity") 28 | ListDeviceIdentities = Action("ListDeviceIdentities") 29 | -------------------------------------------------------------------------------- /awacs/consolidatedbilling.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Consolidated Billing" 12 | prefix = "consolidatedbilling" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | GetAccountBillingRole = Action("GetAccountBillingRole") 28 | ListLinkedAccounts = Action("ListLinkedAccounts") 29 | -------------------------------------------------------------------------------- /awacs/controlcatalog.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Control Catalog" 12 | prefix = "controlcatalog" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | GetControl = Action("GetControl") 28 | ListCommonControls = Action("ListCommonControls") 29 | ListControls = Action("ListControls") 30 | ListDomains = Action("ListDomains") 31 | ListObjectives = Action("ListObjectives") 32 | -------------------------------------------------------------------------------- /awacs/cost_optimization_hub.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Cost Optimization Hub" 12 | prefix = "cost-optimization-hub" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | GetPreferences = Action("GetPreferences") 28 | GetRecommendation = Action("GetRecommendation") 29 | ListEnrollmentStatuses = Action("ListEnrollmentStatuses") 30 | ListRecommendationSummaries = Action("ListRecommendationSummaries") 31 | ListRecommendations = Action("ListRecommendations") 32 | UpdateEnrollmentStatus = Action("UpdateEnrollmentStatus") 33 | UpdatePreferences = Action("UpdatePreferences") 34 | -------------------------------------------------------------------------------- /awacs/cur.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Cost and Usage Report" 12 | prefix = "cur" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | DeleteReportDefinition = Action("DeleteReportDefinition") 28 | DescribeReportDefinitions = Action("DescribeReportDefinitions") 29 | GetClassicReport = Action("GetClassicReport") 30 | GetClassicReportPreferences = Action("GetClassicReportPreferences") 31 | GetUsageReport = Action("GetUsageReport") 32 | ListTagsForResource = Action("ListTagsForResource") 33 | ModifyReportDefinition = Action("ModifyReportDefinition") 34 | PutClassicReportPreferences = Action("PutClassicReportPreferences") 35 | PutReportDefinition = Action("PutReportDefinition") 36 | TagResource = Action("TagResource") 37 | UntagResource = Action("UntagResource") 38 | ValidateReportDestination = Action("ValidateReportDestination") 39 | -------------------------------------------------------------------------------- /awacs/customer_verification.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Customer Verification Service" 12 | prefix = "customer-verification" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | CreateCustomerVerificationDetails = Action("CreateCustomerVerificationDetails") 28 | CreateUploadUrls = Action("CreateUploadUrls") 29 | GetCustomerVerificationDetails = Action("GetCustomerVerificationDetails") 30 | GetCustomerVerificationEligibility = Action("GetCustomerVerificationEligibility") 31 | UpdateCustomerVerificationDetails = Action("UpdateCustomerVerificationDetails") 32 | -------------------------------------------------------------------------------- /awacs/datapipeline.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Data Pipeline" 12 | prefix = "datapipeline" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | ActivatePipeline = Action("ActivatePipeline") 28 | AddTags = Action("AddTags") 29 | CreatePipeline = Action("CreatePipeline") 30 | DeactivatePipeline = Action("DeactivatePipeline") 31 | DeletePipeline = Action("DeletePipeline") 32 | DescribeObjects = Action("DescribeObjects") 33 | DescribePipelines = Action("DescribePipelines") 34 | EvaluateExpression = Action("EvaluateExpression") 35 | GetAccountLimits = Action("GetAccountLimits") 36 | GetPipelineDefinition = Action("GetPipelineDefinition") 37 | ListPipelines = Action("ListPipelines") 38 | PollForTask = Action("PollForTask") 39 | PutAccountLimits = Action("PutAccountLimits") 40 | PutPipelineDefinition = Action("PutPipelineDefinition") 41 | QueryObjects = Action("QueryObjects") 42 | RemoveTags = Action("RemoveTags") 43 | ReportTaskProgress = Action("ReportTaskProgress") 44 | ReportTaskRunnerHeartbeat = Action("ReportTaskRunnerHeartbeat") 45 | SetStatus = Action("SetStatus") 46 | SetTaskStatus = Action("SetTaskStatus") 47 | ValidatePipelineDefinition = Action("ValidatePipelineDefinition") 48 | -------------------------------------------------------------------------------- /awacs/dbqms.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Database Query Metadata Service" 12 | prefix = "dbqms" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | CreateFavoriteQuery = Action("CreateFavoriteQuery") 28 | CreateQueryHistory = Action("CreateQueryHistory") 29 | CreateTab = Action("CreateTab") 30 | DeleteFavoriteQueries = Action("DeleteFavoriteQueries") 31 | DeleteQueryHistory = Action("DeleteQueryHistory") 32 | DeleteTab = Action("DeleteTab") 33 | DescribeFavoriteQueries = Action("DescribeFavoriteQueries") 34 | DescribeQueryHistory = Action("DescribeQueryHistory") 35 | DescribeTabs = Action("DescribeTabs") 36 | GetQueryString = Action("GetQueryString") 37 | UpdateFavoriteQuery = Action("UpdateFavoriteQuery") 38 | UpdateQueryHistory = Action("UpdateQueryHistory") 39 | UpdateTab = Action("UpdateTab") 40 | -------------------------------------------------------------------------------- /awacs/deepcomposer.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS DeepComposer" 12 | prefix = "deepcomposer" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | AssociateCoupon = Action("AssociateCoupon") 28 | CreateAudio = Action("CreateAudio") 29 | CreateComposition = Action("CreateComposition") 30 | CreateModel = Action("CreateModel") 31 | DeleteComposition = Action("DeleteComposition") 32 | DeleteModel = Action("DeleteModel") 33 | GetComposition = Action("GetComposition") 34 | GetModel = Action("GetModel") 35 | GetSampleModel = Action("GetSampleModel") 36 | ListCompositions = Action("ListCompositions") 37 | ListModels = Action("ListModels") 38 | ListSampleModels = Action("ListSampleModels") 39 | ListTagsForResource = Action("ListTagsForResource") 40 | ListTrainingTopics = Action("ListTrainingTopics") 41 | TagResource = Action("TagResource") 42 | UntagResource = Action("UntagResource") 43 | UpdateComposition = Action("UpdateComposition") 44 | UpdateModel = Action("UpdateModel") 45 | -------------------------------------------------------------------------------- /awacs/dlm.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Amazon Data Lifecycle Manager" 12 | prefix = "dlm" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | CreateLifecyclePolicy = Action("CreateLifecyclePolicy") 28 | DeleteLifecyclePolicy = Action("DeleteLifecyclePolicy") 29 | GetLifecyclePolicies = Action("GetLifecyclePolicies") 30 | GetLifecyclePolicy = Action("GetLifecyclePolicy") 31 | ListTagsForResource = Action("ListTagsForResource") 32 | TagResource = Action("TagResource") 33 | UntagResource = Action("UntagResource") 34 | UpdateLifecyclePolicy = Action("UpdateLifecyclePolicy") 35 | -------------------------------------------------------------------------------- /awacs/docdb_elastic.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Amazon DocumentDB Elastic Clusters" 12 | prefix = "docdb-elastic" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | ApplyPendingMaintenanceAction = Action("ApplyPendingMaintenanceAction") 28 | CopyClusterSnapshot = Action("CopyClusterSnapshot") 29 | CreateCluster = Action("CreateCluster") 30 | CreateClusterSnapshot = Action("CreateClusterSnapshot") 31 | DeleteCluster = Action("DeleteCluster") 32 | DeleteClusterSnapshot = Action("DeleteClusterSnapshot") 33 | GetCluster = Action("GetCluster") 34 | GetClusterSnapshot = Action("GetClusterSnapshot") 35 | GetPendingMaintenanceAction = Action("GetPendingMaintenanceAction") 36 | ListClusterSnapshots = Action("ListClusterSnapshots") 37 | ListClusters = Action("ListClusters") 38 | ListPendingMaintenanceActions = Action("ListPendingMaintenanceActions") 39 | ListTagsForResource = Action("ListTagsForResource") 40 | RestoreClusterFromSnapshot = Action("RestoreClusterFromSnapshot") 41 | StartCluster = Action("StartCluster") 42 | StopCluster = Action("StopCluster") 43 | TagResource = Action("TagResource") 44 | UntagResource = Action("UntagResource") 45 | UpdateCluster = Action("UpdateCluster") 46 | -------------------------------------------------------------------------------- /awacs/ds_data.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Directory Service Data" 12 | prefix = "ds-data" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | AddGroupMember = Action("AddGroupMember") 28 | CreateGroup = Action("CreateGroup") 29 | CreateUser = Action("CreateUser") 30 | DeleteGroup = Action("DeleteGroup") 31 | DeleteUser = Action("DeleteUser") 32 | DescribeGroup = Action("DescribeGroup") 33 | DescribeUser = Action("DescribeUser") 34 | DisableUser = Action("DisableUser") 35 | ListGroupMembers = Action("ListGroupMembers") 36 | ListGroups = Action("ListGroups") 37 | ListGroupsForMember = Action("ListGroupsForMember") 38 | ListUsers = Action("ListUsers") 39 | RemoveGroupMember = Action("RemoveGroupMember") 40 | SearchGroups = Action("SearchGroups") 41 | SearchUsers = Action("SearchUsers") 42 | UpdateGroup = Action("UpdateGroup") 43 | UpdateUser = Action("UpdateUser") 44 | -------------------------------------------------------------------------------- /awacs/ebs.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Amazon Elastic Block Store" 12 | prefix = "ebs" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | CompleteSnapshot = Action("CompleteSnapshot") 28 | GetSnapshotBlock = Action("GetSnapshotBlock") 29 | ListChangedBlocks = Action("ListChangedBlocks") 30 | ListSnapshotBlocks = Action("ListSnapshotBlocks") 31 | PutSnapshotBlock = Action("PutSnapshotBlock") 32 | StartSnapshot = Action("StartSnapshot") 33 | -------------------------------------------------------------------------------- /awacs/ec2_instance_connect.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Amazon EC2 Instance Connect" 12 | prefix = "ec2-instance-connect" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | OpenTunnel = Action("OpenTunnel") 28 | SendSSHPublicKey = Action("SendSSHPublicKey") 29 | SendSerialConsoleSSHPublicKey = Action("SendSerialConsoleSSHPublicKey") 30 | -------------------------------------------------------------------------------- /awacs/ec2messages.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Amazon Message Delivery Service" 12 | prefix = "ec2messages" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | AcknowledgeMessage = Action("AcknowledgeMessage") 28 | DeleteMessage = Action("DeleteMessage") 29 | FailMessage = Action("FailMessage") 30 | GetEndpoint = Action("GetEndpoint") 31 | GetMessages = Action("GetMessages") 32 | SendReply = Action("SendReply") 33 | -------------------------------------------------------------------------------- /awacs/eks_auth.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Amazon EKS Auth" 12 | prefix = "eks-auth" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | AssumeRoleForPodIdentity = Action("AssumeRoleForPodIdentity") 28 | -------------------------------------------------------------------------------- /awacs/elastic_inference.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Amazon Elastic Inference" 12 | prefix = "elastic-inference" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | Connect = Action("Connect") 28 | DescribeAcceleratorOfferings = Action("DescribeAcceleratorOfferings") 29 | DescribeAcceleratorTypes = Action("DescribeAcceleratorTypes") 30 | DescribeAccelerators = Action("DescribeAccelerators") 31 | ListTagsForResource = Action("ListTagsForResource") 32 | TagResource = Action("TagResource") 33 | UntagResource = Action("UntagResource") 34 | -------------------------------------------------------------------------------- /awacs/elastictranscoder.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Amazon Elastic Transcoder" 12 | prefix = "elastictranscoder" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | CancelJob = Action("CancelJob") 28 | CreateJob = Action("CreateJob") 29 | CreatePipeline = Action("CreatePipeline") 30 | CreatePreset = Action("CreatePreset") 31 | DeletePipeline = Action("DeletePipeline") 32 | DeletePreset = Action("DeletePreset") 33 | ListJobsByPipeline = Action("ListJobsByPipeline") 34 | ListJobsByStatus = Action("ListJobsByStatus") 35 | ListPipelines = Action("ListPipelines") 36 | ListPresets = Action("ListPresets") 37 | ReadJob = Action("ReadJob") 38 | ReadPipeline = Action("ReadPipeline") 39 | ReadPreset = Action("ReadPreset") 40 | TestRole = Action("TestRole") 41 | UpdatePipeline = Action("UpdatePipeline") 42 | UpdatePipelineNotifications = Action("UpdatePipelineNotifications") 43 | UpdatePipelineStatus = Action("UpdatePipelineStatus") 44 | -------------------------------------------------------------------------------- /awacs/elemental_activations.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Elemental Appliances and Software Activation Service" 12 | prefix = "elemental-activations" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | CompleteAccountRegistration = Action("CompleteAccountRegistration") 28 | CompleteFileUpload = Action("CompleteFileUpload") 29 | ConfirmAccount = Action("ConfirmAccount") 30 | DownloadKickstart = Action("DownloadKickstart") 31 | DownloadSoftware = Action("DownloadSoftware") 32 | GenerateLicense = Action("GenerateLicense") 33 | GenerateLicenses = Action("GenerateLicenses") 34 | GetActivation = Action("GetActivation") 35 | GetArtifactGroupSoftwareVersions = Action("GetArtifactGroupSoftwareVersions") 36 | GetAsset = Action("GetAsset") 37 | GetAssets = Action("GetAssets") 38 | GetProductAdvisories = Action("GetProductAdvisories") 39 | GetSoftwareVersions = Action("GetSoftwareVersions") 40 | ListTagsForResource = Action("ListTagsForResource") 41 | StartAccountRegistration = Action("StartAccountRegistration") 42 | StartFileUpload = Action("StartFileUpload") 43 | TagResource = Action("TagResource") 44 | UntagResource = Action("UntagResource") 45 | -------------------------------------------------------------------------------- /awacs/elemental_appliances_software.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Elemental Appliances and Software" 12 | prefix = "elemental-appliances-software" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | CompleteUpload = Action("CompleteUpload") 28 | CreateOrderV1 = Action("CreateOrderV1") 29 | CreateQuote = Action("CreateQuote") 30 | GetAvsCorrectAddress = Action("GetAvsCorrectAddress") 31 | GetBillingAddresses = Action("GetBillingAddresses") 32 | GetDeliveryAddressesV2 = Action("GetDeliveryAddressesV2") 33 | GetOrder = Action("GetOrder") 34 | GetOrdersV2 = Action("GetOrdersV2") 35 | GetQuote = Action("GetQuote") 36 | GetTaxes = Action("GetTaxes") 37 | ListQuotes = Action("ListQuotes") 38 | ListTagsForResource = Action("ListTagsForResource") 39 | StartUpload = Action("StartUpload") 40 | SubmitOrderV1 = Action("SubmitOrderV1") 41 | TagResource = Action("TagResource") 42 | UntagResource = Action("UntagResource") 43 | UpdateQuote = Action("UpdateQuote") 44 | -------------------------------------------------------------------------------- /awacs/elemental_support_cases.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Elemental Support Cases" 12 | prefix = "elemental-support-cases" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | AddCaseComment = Action("AddCaseComment") 28 | CheckCasePermission = Action("CheckCasePermission") 29 | CompleteMultipartUpload = Action("CompleteMultipartUpload") 30 | CreateCase = Action("CreateCase") 31 | CreateS3CLIUploadCommand = Action("CreateS3CLIUploadCommand") 32 | CreateS3DownloadUrl = Action("CreateS3DownloadUrl") 33 | GetCase = Action("GetCase") 34 | GetCasePermission = Action("GetCasePermission") 35 | GetCases = Action("GetCases") 36 | GetUICache = Action("GetUICache") 37 | ListTagsForCase = Action("ListTagsForCase") 38 | StartMultipartUpload = Action("StartMultipartUpload") 39 | TagCase = Action("TagCase") 40 | UntagCase = Action("UntagCase") 41 | UpdateCase = Action("UpdateCase") 42 | UpdateCaseStatus = Action("UpdateCaseStatus") 43 | UpdateMultipartUpload = Action("UpdateMultipartUpload") 44 | -------------------------------------------------------------------------------- /awacs/elemental_support_content.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Elemental Support Content" 12 | prefix = "elemental-support-content" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | Query = Action("Query") 28 | -------------------------------------------------------------------------------- /awacs/emr_serverless.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Amazon EMR Serverless" 12 | prefix = "emr-serverless" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | AccessInteractiveEndpoints = Action("AccessInteractiveEndpoints") 28 | AccessLivyEndpoints = Action("AccessLivyEndpoints") 29 | CancelJobRun = Action("CancelJobRun") 30 | CreateApplication = Action("CreateApplication") 31 | DeleteApplication = Action("DeleteApplication") 32 | GetApplication = Action("GetApplication") 33 | GetDashboardForJobRun = Action("GetDashboardForJobRun") 34 | GetJobRun = Action("GetJobRun") 35 | ListApplications = Action("ListApplications") 36 | ListJobRunAttempts = Action("ListJobRunAttempts") 37 | ListJobRuns = Action("ListJobRuns") 38 | ListTagsForResource = Action("ListTagsForResource") 39 | StartApplication = Action("StartApplication") 40 | StartJobRun = Action("StartJobRun") 41 | StopApplication = Action("StopApplication") 42 | TagResource = Action("TagResource") 43 | UntagResource = Action("UntagResource") 44 | UpdateApplication = Action("UpdateApplication") 45 | -------------------------------------------------------------------------------- /awacs/execute_api.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Amazon API Gateway" 12 | prefix = "execute-api" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | InvalidateCache = Action("InvalidateCache") 28 | Invoke = Action("Invoke") 29 | ManageConnections = Action("ManageConnections") 30 | -------------------------------------------------------------------------------- /awacs/finspace_api.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Amazon FinSpace API" 12 | prefix = "finspace-api" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | GetProgrammaticAccessCredentials = Action("GetProgrammaticAccessCredentials") 28 | -------------------------------------------------------------------------------- /awacs/firehose.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Amazon Kinesis Firehose" 12 | prefix = "firehose" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | CreateDeliveryStream = Action("CreateDeliveryStream") 28 | DeleteDeliveryStream = Action("DeleteDeliveryStream") 29 | DescribeDeliveryStream = Action("DescribeDeliveryStream") 30 | ListDeliveryStreams = Action("ListDeliveryStreams") 31 | ListTagsForDeliveryStream = Action("ListTagsForDeliveryStream") 32 | PutRecord = Action("PutRecord") 33 | PutRecordBatch = Action("PutRecordBatch") 34 | StartDeliveryStreamEncryption = Action("StartDeliveryStreamEncryption") 35 | StopDeliveryStreamEncryption = Action("StopDeliveryStreamEncryption") 36 | TagDeliveryStream = Action("TagDeliveryStream") 37 | UntagDeliveryStream = Action("UntagDeliveryStream") 38 | UpdateDestination = Action("UpdateDestination") 39 | -------------------------------------------------------------------------------- /awacs/freetier.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Free Tier" 12 | prefix = "freetier" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | GetFreeTierAlertPreference = Action("GetFreeTierAlertPreference") 28 | GetFreeTierUsage = Action("GetFreeTierUsage") 29 | PutFreeTierAlertPreference = Action("PutFreeTierAlertPreference") 30 | -------------------------------------------------------------------------------- /awacs/geo_maps.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Amazon Location Service Maps" 12 | prefix = "geo-maps" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | GetStaticMap = Action("GetStaticMap") 28 | GetTile = Action("GetTile") 29 | -------------------------------------------------------------------------------- /awacs/geo_places.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Amazon Location Service Places" 12 | prefix = "geo-places" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | Autocomplete = Action("Autocomplete") 28 | Geocode = Action("Geocode") 29 | GetPlace = Action("GetPlace") 30 | ReverseGeocode = Action("ReverseGeocode") 31 | SearchNearby = Action("SearchNearby") 32 | SearchText = Action("SearchText") 33 | Suggest = Action("Suggest") 34 | -------------------------------------------------------------------------------- /awacs/geo_routes.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Amazon Location Service Routes" 12 | prefix = "geo-routes" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | CalculateIsolines = Action("CalculateIsolines") 28 | CalculateRouteMatrix = Action("CalculateRouteMatrix") 29 | CalculateRoutes = Action("CalculateRoutes") 30 | OptimizeWaypoints = Action("OptimizeWaypoints") 31 | SnapToRoads = Action("SnapToRoads") 32 | -------------------------------------------------------------------------------- /awacs/groundtruthlabeling.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Amazon GroundTruth Labeling" 12 | prefix = "groundtruthlabeling" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | AssociatePatchToManifestJob = Action("AssociatePatchToManifestJob") 28 | CreateBatch = Action("CreateBatch") 29 | CreateIntakeForm = Action("CreateIntakeForm") 30 | CreateProject = Action("CreateProject") 31 | CreateWorkflowDefinition = Action("CreateWorkflowDefinition") 32 | DescribeConsoleJob = Action("DescribeConsoleJob") 33 | GenerateLIDARPreviewTaskConfigJob = Action("GenerateLIDARPreviewTaskConfigJob") 34 | GetBatch = Action("GetBatch") 35 | GetIntakeFormStatus = Action("GetIntakeFormStatus") 36 | ListBatches = Action("ListBatches") 37 | ListDatasetObjects = Action("ListDatasetObjects") 38 | ListProjects = Action("ListProjects") 39 | RunFilterOrSampleDatasetJob = Action("RunFilterOrSampleDatasetJob") 40 | RunGenerateManifestByCrawlingJob = Action("RunGenerateManifestByCrawlingJob") 41 | RunGenerateManifestMetricsJob = Action("RunGenerateManifestMetricsJob") 42 | UpdateBatch = Action("UpdateBatch") 43 | -------------------------------------------------------------------------------- /awacs/helpers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudtools/awacs/a7d5dff42542e15fdad148efee3bce99dbaf76fb/awacs/helpers/__init__.py -------------------------------------------------------------------------------- /awacs/identity_sync.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Identity Sync" 12 | prefix = "identity-sync" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | AllowVendedLogDeliveryForResource = Action("AllowVendedLogDeliveryForResource") 28 | CreateSyncFilter = Action("CreateSyncFilter") 29 | CreateSyncProfile = Action("CreateSyncProfile") 30 | CreateSyncTarget = Action("CreateSyncTarget") 31 | DeleteSyncFilter = Action("DeleteSyncFilter") 32 | DeleteSyncProfile = Action("DeleteSyncProfile") 33 | DeleteSyncTarget = Action("DeleteSyncTarget") 34 | GetSyncProfile = Action("GetSyncProfile") 35 | GetSyncTarget = Action("GetSyncTarget") 36 | ListSyncFilters = Action("ListSyncFilters") 37 | StartSync = Action("StartSync") 38 | StopSync = Action("StopSync") 39 | UpdateSyncTarget = Action("UpdateSyncTarget") 40 | -------------------------------------------------------------------------------- /awacs/identitystore.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Identity Store" 12 | prefix = "identitystore" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | CreateGroup = Action("CreateGroup") 28 | CreateGroupMembership = Action("CreateGroupMembership") 29 | CreateUser = Action("CreateUser") 30 | DeleteGroup = Action("DeleteGroup") 31 | DeleteGroupMembership = Action("DeleteGroupMembership") 32 | DeleteUser = Action("DeleteUser") 33 | DescribeGroup = Action("DescribeGroup") 34 | DescribeGroupMembership = Action("DescribeGroupMembership") 35 | DescribeUser = Action("DescribeUser") 36 | GetGroupId = Action("GetGroupId") 37 | GetGroupMembershipId = Action("GetGroupMembershipId") 38 | GetUserId = Action("GetUserId") 39 | IsMemberInGroups = Action("IsMemberInGroups") 40 | ListGroupMemberships = Action("ListGroupMemberships") 41 | ListGroupMembershipsForMember = Action("ListGroupMembershipsForMember") 42 | ListGroups = Action("ListGroups") 43 | ListUsers = Action("ListUsers") 44 | UpdateGroup = Action("UpdateGroup") 45 | UpdateUser = Action("UpdateUser") 46 | -------------------------------------------------------------------------------- /awacs/identitystore_auth.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Identity Store Auth" 12 | prefix = "identitystore-auth" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | BatchDeleteSession = Action("BatchDeleteSession") 28 | BatchGetSession = Action("BatchGetSession") 29 | ListSessions = Action("ListSessions") 30 | -------------------------------------------------------------------------------- /awacs/importexport.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Import Export Disk Service" 12 | prefix = "importexport" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | CancelJob = Action("CancelJob") 28 | CreateJob = Action("CreateJob") 29 | GetShippingLabel = Action("GetShippingLabel") 30 | GetStatus = Action("GetStatus") 31 | ListJobs = Action("ListJobs") 32 | UpdateJob = Action("UpdateJob") 33 | -------------------------------------------------------------------------------- /awacs/inspector_scan.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Amazon InspectorScan" 12 | prefix = "inspector-scan" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | ScanSbom = Action("ScanSbom") 28 | -------------------------------------------------------------------------------- /awacs/internetmonitor.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Amazon CloudWatch Internet Monitor" 12 | prefix = "internetmonitor" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | CreateMonitor = Action("CreateMonitor") 28 | DeleteMonitor = Action("DeleteMonitor") 29 | GetHealthEvent = Action("GetHealthEvent") 30 | GetInternetEvent = Action("GetInternetEvent") 31 | GetMonitor = Action("GetMonitor") 32 | GetQueryResults = Action("GetQueryResults") 33 | GetQueryStatus = Action("GetQueryStatus") 34 | Link = Action("Link") 35 | ListHealthEvents = Action("ListHealthEvents") 36 | ListInternetEvents = Action("ListInternetEvents") 37 | ListMonitors = Action("ListMonitors") 38 | ListTagsForResource = Action("ListTagsForResource") 39 | StartQuery = Action("StartQuery") 40 | StopQuery = Action("StopQuery") 41 | TagResource = Action("TagResource") 42 | UntagResource = Action("UntagResource") 43 | UpdateMonitor = Action("UpdateMonitor") 44 | -------------------------------------------------------------------------------- /awacs/invoicing.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Invoicing Service" 12 | prefix = "invoicing" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | BatchGetInvoiceProfile = Action("BatchGetInvoiceProfile") 28 | CreateInvoiceUnit = Action("CreateInvoiceUnit") 29 | DeleteInvoiceUnit = Action("DeleteInvoiceUnit") 30 | GetInvoiceEmailDeliveryPreferences = Action("GetInvoiceEmailDeliveryPreferences") 31 | GetInvoicePDF = Action("GetInvoicePDF") 32 | GetInvoiceUnit = Action("GetInvoiceUnit") 33 | ListInvoiceSummaries = Action("ListInvoiceSummaries") 34 | ListInvoiceUnits = Action("ListInvoiceUnits") 35 | ListTagsForResource = Action("ListTagsForResource") 36 | PutInvoiceEmailDeliveryPreferences = Action("PutInvoiceEmailDeliveryPreferences") 37 | TagResource = Action("TagResource") 38 | UntagResource = Action("UntagResource") 39 | UpdateInvoiceUnit = Action("UpdateInvoiceUnit") 40 | -------------------------------------------------------------------------------- /awacs/iot_device_tester.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS IoT Device Tester" 12 | prefix = "iot-device-tester" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | CheckVersion = Action("CheckVersion") 28 | DownloadTestSuite = Action("DownloadTestSuite") 29 | LatestIdt = Action("LatestIdt") 30 | SendMetrics = Action("SendMetrics") 31 | SupportedVersion = Action("SupportedVersion") 32 | -------------------------------------------------------------------------------- /awacs/iotdeviceadvisor.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS IoT Core Device Advisor" 12 | prefix = "iotdeviceadvisor" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | CreateSuiteDefinition = Action("CreateSuiteDefinition") 28 | DeleteSuiteDefinition = Action("DeleteSuiteDefinition") 29 | GetEndpoint = Action("GetEndpoint") 30 | GetSuiteDefinition = Action("GetSuiteDefinition") 31 | GetSuiteRun = Action("GetSuiteRun") 32 | GetSuiteRunReport = Action("GetSuiteRunReport") 33 | ListSuiteDefinitions = Action("ListSuiteDefinitions") 34 | ListSuiteRuns = Action("ListSuiteRuns") 35 | ListTagsForResource = Action("ListTagsForResource") 36 | ListTestCases = Action("ListTestCases") 37 | StartSuiteRun = Action("StartSuiteRun") 38 | StopSuiteRun = Action("StopSuiteRun") 39 | TagResource = Action("TagResource") 40 | UntagResource = Action("UntagResource") 41 | UpdateSuiteDefinition = Action("UpdateSuiteDefinition") 42 | -------------------------------------------------------------------------------- /awacs/iotfleethub.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS IoT Fleet Hub for Device Management" 12 | prefix = "iotfleethub" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | CreateApplication = Action("CreateApplication") 28 | CreateDashboard = Action("CreateDashboard") 29 | DeleteApplication = Action("DeleteApplication") 30 | DeleteDashboard = Action("DeleteDashboard") 31 | DescribeApplication = Action("DescribeApplication") 32 | DescribeDashboard = Action("DescribeDashboard") 33 | ListApplications = Action("ListApplications") 34 | ListDashboards = Action("ListDashboards") 35 | ListTagsForResource = Action("ListTagsForResource") 36 | TagResource = Action("TagResource") 37 | UntagResource = Action("UntagResource") 38 | UpdateApplication = Action("UpdateApplication") 39 | UpdateDashboard = Action("UpdateDashboard") 40 | -------------------------------------------------------------------------------- /awacs/iotjobsdata.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS IoT Jobs DataPlane" 12 | prefix = "iotjobsdata" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | DescribeJobExecution = Action("DescribeJobExecution") 28 | GetPendingJobExecutions = Action("GetPendingJobExecutions") 29 | StartNextPendingJobExecution = Action("StartNextPendingJobExecution") 30 | UpdateJobExecution = Action("UpdateJobExecution") 31 | -------------------------------------------------------------------------------- /awacs/iq_permission.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS IQ Permissions" 12 | prefix = "iq-permission" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | ApproveAccessGrant = Action("ApproveAccessGrant") 28 | ApprovePermissionRequest = Action("ApprovePermissionRequest") 29 | AssumePermissionRole = Action("AssumePermissionRole") 30 | CreatePermissionRequest = Action("CreatePermissionRequest") 31 | GetPermissionRequest = Action("GetPermissionRequest") 32 | ListPermissionRequests = Action("ListPermissionRequests") 33 | RejectPermissionRequest = Action("RejectPermissionRequest") 34 | RevokePermissionRequest = Action("RevokePermissionRequest") 35 | WithdrawPermissionRequest = Action("WithdrawPermissionRequest") 36 | -------------------------------------------------------------------------------- /awacs/ivschat.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Amazon Interactive Video Service Chat" 12 | prefix = "ivschat" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | CreateChatToken = Action("CreateChatToken") 28 | CreateLoggingConfiguration = Action("CreateLoggingConfiguration") 29 | CreateRoom = Action("CreateRoom") 30 | DeleteLoggingConfiguration = Action("DeleteLoggingConfiguration") 31 | DeleteMessage = Action("DeleteMessage") 32 | DeleteRoom = Action("DeleteRoom") 33 | DisconnectUser = Action("DisconnectUser") 34 | GetLoggingConfiguration = Action("GetLoggingConfiguration") 35 | GetRoom = Action("GetRoom") 36 | ListLoggingConfigurations = Action("ListLoggingConfigurations") 37 | ListRooms = Action("ListRooms") 38 | ListTagsForResource = Action("ListTagsForResource") 39 | SendEvent = Action("SendEvent") 40 | TagResource = Action("TagResource") 41 | UntagResource = Action("UntagResource") 42 | UpdateLoggingConfiguration = Action("UpdateLoggingConfiguration") 43 | UpdateRoom = Action("UpdateRoom") 44 | -------------------------------------------------------------------------------- /awacs/kafka_cluster.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Apache Kafka APIs for Amazon MSK clusters" 12 | prefix = "kafka-cluster" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | AlterCluster = Action("AlterCluster") 28 | AlterClusterDynamicConfiguration = Action("AlterClusterDynamicConfiguration") 29 | AlterGroup = Action("AlterGroup") 30 | AlterTopic = Action("AlterTopic") 31 | AlterTopicDynamicConfiguration = Action("AlterTopicDynamicConfiguration") 32 | AlterTransactionalId = Action("AlterTransactionalId") 33 | Connect = Action("Connect") 34 | CreateTopic = Action("CreateTopic") 35 | DeleteGroup = Action("DeleteGroup") 36 | DeleteTopic = Action("DeleteTopic") 37 | DescribeCluster = Action("DescribeCluster") 38 | DescribeClusterDynamicConfiguration = Action("DescribeClusterDynamicConfiguration") 39 | DescribeGroup = Action("DescribeGroup") 40 | DescribeTopic = Action("DescribeTopic") 41 | DescribeTopicDynamicConfiguration = Action("DescribeTopicDynamicConfiguration") 42 | DescribeTransactionalId = Action("DescribeTransactionalId") 43 | ReadData = Action("ReadData") 44 | WriteData = Action("WriteData") 45 | WriteDataIdempotently = Action("WriteDataIdempotently") 46 | -------------------------------------------------------------------------------- /awacs/kafkaconnect.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Amazon Managed Streaming for Kafka Connect" 12 | prefix = "kafkaconnect" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | CreateConnector = Action("CreateConnector") 28 | CreateCustomPlugin = Action("CreateCustomPlugin") 29 | CreateWorkerConfiguration = Action("CreateWorkerConfiguration") 30 | DeleteConnector = Action("DeleteConnector") 31 | DeleteCustomPlugin = Action("DeleteCustomPlugin") 32 | DeleteWorkerConfiguration = Action("DeleteWorkerConfiguration") 33 | DescribeConnector = Action("DescribeConnector") 34 | DescribeConnectorOperation = Action("DescribeConnectorOperation") 35 | DescribeCustomPlugin = Action("DescribeCustomPlugin") 36 | DescribeWorkerConfiguration = Action("DescribeWorkerConfiguration") 37 | ListConnectorOperations = Action("ListConnectorOperations") 38 | ListConnectors = Action("ListConnectors") 39 | ListCustomPlugins = Action("ListCustomPlugins") 40 | ListTagsForResource = Action("ListTagsForResource") 41 | ListWorkerConfigurations = Action("ListWorkerConfigurations") 42 | TagResource = Action("TagResource") 43 | UntagResource = Action("UntagResource") 44 | UpdateConnector = Action("UpdateConnector") 45 | -------------------------------------------------------------------------------- /awacs/kendra_ranking.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Amazon Kendra Intelligent Ranking" 12 | prefix = "kendra-ranking" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | CreateRescoreExecutionPlan = Action("CreateRescoreExecutionPlan") 28 | DeleteRescoreExecutionPlan = Action("DeleteRescoreExecutionPlan") 29 | DescribeRescoreExecutionPlan = Action("DescribeRescoreExecutionPlan") 30 | ListRescoreExecutionPlans = Action("ListRescoreExecutionPlans") 31 | ListTagsForResource = Action("ListTagsForResource") 32 | Rescore = Action("Rescore") 33 | TagResource = Action("TagResource") 34 | UntagResource = Action("UntagResource") 35 | UpdateRescoreExecutionPlan = Action("UpdateRescoreExecutionPlan") 36 | -------------------------------------------------------------------------------- /awacs/license_manager_linux_subscriptions.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS License Manager Linux Subscriptions Manager" 12 | prefix = "license-manager-linux-subscriptions" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | DeregisterSubscriptionProvider = Action("DeregisterSubscriptionProvider") 28 | GetRegisteredSubscriptionProvider = Action("GetRegisteredSubscriptionProvider") 29 | GetServiceSettings = Action("GetServiceSettings") 30 | ListLinuxSubscriptionInstances = Action("ListLinuxSubscriptionInstances") 31 | ListLinuxSubscriptions = Action("ListLinuxSubscriptions") 32 | ListRegisteredSubscriptionProviders = Action("ListRegisteredSubscriptionProviders") 33 | ListTagsForResource = Action("ListTagsForResource") 34 | RegisterSubscriptionProvider = Action("RegisterSubscriptionProvider") 35 | TagResource = Action("TagResource") 36 | UntagResource = Action("UntagResource") 37 | UpdateServiceSettings = Action("UpdateServiceSettings") 38 | -------------------------------------------------------------------------------- /awacs/managedblockchain_query.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Amazon Managed Blockchain Query" 12 | prefix = "managedblockchain-query" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | BatchGetTokenBalance = Action("BatchGetTokenBalance") 28 | GetAssetContract = Action("GetAssetContract") 29 | GetTokenBalance = Action("GetTokenBalance") 30 | GetTransaction = Action("GetTransaction") 31 | ListAssetContracts = Action("ListAssetContracts") 32 | ListFilteredTransactionEvents = Action("ListFilteredTransactionEvents") 33 | ListTokenBalances = Action("ListTokenBalances") 34 | ListTransactionEvents = Action("ListTransactionEvents") 35 | ListTransactions = Action("ListTransactions") 36 | -------------------------------------------------------------------------------- /awacs/mapcredits.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Migration Acceleration Program Credits" 12 | prefix = "mapcredits" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | ListAssociatedPrograms = Action("ListAssociatedPrograms") 28 | ListQuarterCredits = Action("ListQuarterCredits") 29 | ListQuarterSpend = Action("ListQuarterSpend") 30 | -------------------------------------------------------------------------------- /awacs/marketplacecommerceanalytics.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Marketplace Commerce Analytics Service" 12 | prefix = "marketplacecommerceanalytics" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | GenerateDataSet = Action("GenerateDataSet") 28 | StartSupportDataExport = Action("StartSupportDataExport") 29 | -------------------------------------------------------------------------------- /awacs/mediaimport.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AmazonMediaImport" 12 | prefix = "mediaimport" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | CreateDatabaseBinarySnapshot = Action("CreateDatabaseBinarySnapshot") 28 | -------------------------------------------------------------------------------- /awacs/mediapackage.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Elemental MediaPackage" 12 | prefix = "mediapackage" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | ConfigureLogs = Action("ConfigureLogs") 28 | CreateChannel = Action("CreateChannel") 29 | CreateHarvestJob = Action("CreateHarvestJob") 30 | CreateOriginEndpoint = Action("CreateOriginEndpoint") 31 | DeleteChannel = Action("DeleteChannel") 32 | DeleteOriginEndpoint = Action("DeleteOriginEndpoint") 33 | DescribeChannel = Action("DescribeChannel") 34 | DescribeHarvestJob = Action("DescribeHarvestJob") 35 | DescribeOriginEndpoint = Action("DescribeOriginEndpoint") 36 | ListChannels = Action("ListChannels") 37 | ListHarvestJobs = Action("ListHarvestJobs") 38 | ListOriginEndpoints = Action("ListOriginEndpoints") 39 | ListTagsForResource = Action("ListTagsForResource") 40 | RotateChannelCredentials = Action("RotateChannelCredentials") 41 | RotateIngestEndpointCredentials = Action("RotateIngestEndpointCredentials") 42 | TagResource = Action("TagResource") 43 | UntagResource = Action("UntagResource") 44 | UpdateChannel = Action("UpdateChannel") 45 | UpdateOriginEndpoint = Action("UpdateOriginEndpoint") 46 | -------------------------------------------------------------------------------- /awacs/mediapackage_vod.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Elemental MediaPackage VOD" 12 | prefix = "mediapackage-vod" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | ConfigureLogs = Action("ConfigureLogs") 28 | CreateAsset = Action("CreateAsset") 29 | CreatePackagingConfiguration = Action("CreatePackagingConfiguration") 30 | CreatePackagingGroup = Action("CreatePackagingGroup") 31 | DeleteAsset = Action("DeleteAsset") 32 | DeletePackagingConfiguration = Action("DeletePackagingConfiguration") 33 | DeletePackagingGroup = Action("DeletePackagingGroup") 34 | DescribeAsset = Action("DescribeAsset") 35 | DescribePackagingConfiguration = Action("DescribePackagingConfiguration") 36 | DescribePackagingGroup = Action("DescribePackagingGroup") 37 | ListAssets = Action("ListAssets") 38 | ListPackagingConfigurations = Action("ListPackagingConfigurations") 39 | ListPackagingGroups = Action("ListPackagingGroups") 40 | ListTagsForResource = Action("ListTagsForResource") 41 | TagResource = Action("TagResource") 42 | UntagResource = Action("UntagResource") 43 | UpdatePackagingGroup = Action("UpdatePackagingGroup") 44 | -------------------------------------------------------------------------------- /awacs/mobileanalytics.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Amazon Mobile Analytics" 12 | prefix = "mobileanalytics" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | GetFinancialReports = Action("GetFinancialReports") 28 | GetReports = Action("GetReports") 29 | PutEvents = Action("PutEvents") 30 | -------------------------------------------------------------------------------- /awacs/networkmanager_chat.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Network Manager Chat" 12 | prefix = "networkmanager-chat" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | CancelMessageResponse = Action("CancelMessageResponse") 28 | CreateConversation = Action("CreateConversation") 29 | DeleteConversation = Action("DeleteConversation") 30 | ListConversationMessages = Action("ListConversationMessages") 31 | ListConversations = Action("ListConversations") 32 | NotifyConversationIsActive = Action("NotifyConversationIsActive") 33 | SendConversationMessage = Action("SendConversationMessage") 34 | -------------------------------------------------------------------------------- /awacs/networkmonitor.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Amazon CloudWatch Network Synthetic Monitor" 12 | prefix = "networkmonitor" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | CreateMonitor = Action("CreateMonitor") 28 | CreateProbe = Action("CreateProbe") 29 | DeleteMonitor = Action("DeleteMonitor") 30 | DeleteProbe = Action("DeleteProbe") 31 | GetMonitor = Action("GetMonitor") 32 | GetProbe = Action("GetProbe") 33 | ListMonitors = Action("ListMonitors") 34 | ListTagsForResource = Action("ListTagsForResource") 35 | TagResource = Action("TagResource") 36 | UntagResource = Action("UntagResource") 37 | UpdateMonitor = Action("UpdateMonitor") 38 | UpdateProbe = Action("UpdateProbe") 39 | -------------------------------------------------------------------------------- /awacs/notifications_contacts.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS User Notifications Contacts" 12 | prefix = "notifications-contacts" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | ActivateEmailContact = Action("ActivateEmailContact") 28 | CreateEmailContact = Action("CreateEmailContact") 29 | DeleteEmailContact = Action("DeleteEmailContact") 30 | GetEmailContact = Action("GetEmailContact") 31 | ListEmailContacts = Action("ListEmailContacts") 32 | ListTagsForResource = Action("ListTagsForResource") 33 | SendActivationCode = Action("SendActivationCode") 34 | TagResource = Action("TagResource") 35 | UntagResource = Action("UntagResource") 36 | -------------------------------------------------------------------------------- /awacs/oam.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Amazon CloudWatch Observability Access Manager" 12 | prefix = "oam" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | CreateLink = Action("CreateLink") 28 | CreateSink = Action("CreateSink") 29 | DeleteLink = Action("DeleteLink") 30 | DeleteSink = Action("DeleteSink") 31 | GetLink = Action("GetLink") 32 | GetSink = Action("GetSink") 33 | GetSinkPolicy = Action("GetSinkPolicy") 34 | ListAttachedLinks = Action("ListAttachedLinks") 35 | ListLinks = Action("ListLinks") 36 | ListSinks = Action("ListSinks") 37 | ListTagsForResource = Action("ListTagsForResource") 38 | PutSinkPolicy = Action("PutSinkPolicy") 39 | TagResource = Action("TagResource") 40 | UntagResource = Action("UntagResource") 41 | UpdateLink = Action("UpdateLink") 42 | -------------------------------------------------------------------------------- /awacs/observabilityadmin.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Amazon CloudWatch Observability Admin Service" 12 | prefix = "observabilityadmin" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | GetTelemetryEvaluationStatus = Action("GetTelemetryEvaluationStatus") 28 | GetTelemetryEvaluationStatusForOrganization = Action( 29 | "GetTelemetryEvaluationStatusForOrganization" 30 | ) 31 | ListResourceTelemetry = Action("ListResourceTelemetry") 32 | ListResourceTelemetryForOrganization = Action("ListResourceTelemetryForOrganization") 33 | StartTelemetryEvaluation = Action("StartTelemetryEvaluation") 34 | StartTelemetryEvaluationForOrganization = Action( 35 | "StartTelemetryEvaluationForOrganization" 36 | ) 37 | StopTelemetryEvaluation = Action("StopTelemetryEvaluation") 38 | StopTelemetryEvaluationForOrganization = Action( 39 | "StopTelemetryEvaluationForOrganization" 40 | ) 41 | -------------------------------------------------------------------------------- /awacs/opensearch.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Amazon OpenSearch" 12 | prefix = "opensearch" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | ApplicationAccessAll = Action("ApplicationAccessAll") 28 | CancelDirectQuery = Action("CancelDirectQuery") 29 | GetDirectQuery = Action("GetDirectQuery") 30 | GetDirectQueryResult = Action("GetDirectQueryResult") 31 | StartDirectQuery = Action("StartDirectQuery") 32 | -------------------------------------------------------------------------------- /awacs/opsworks_cm.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS OpsWorks Configuration Management" 12 | prefix = "opsworks-cm" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | AssociateNode = Action("AssociateNode") 28 | CreateBackup = Action("CreateBackup") 29 | CreateServer = Action("CreateServer") 30 | DeleteBackup = Action("DeleteBackup") 31 | DeleteServer = Action("DeleteServer") 32 | DescribeAccountAttributes = Action("DescribeAccountAttributes") 33 | DescribeBackups = Action("DescribeBackups") 34 | DescribeEvents = Action("DescribeEvents") 35 | DescribeNodeAssociationStatus = Action("DescribeNodeAssociationStatus") 36 | DescribeServers = Action("DescribeServers") 37 | DisassociateNode = Action("DisassociateNode") 38 | ExportServerEngineAttribute = Action("ExportServerEngineAttribute") 39 | ListTagsForResource = Action("ListTagsForResource") 40 | RestoreServer = Action("RestoreServer") 41 | StartMaintenance = Action("StartMaintenance") 42 | TagResource = Action("TagResource") 43 | UntagResource = Action("UntagResource") 44 | UpdateServer = Action("UpdateServer") 45 | UpdateServerEngineAttributes = Action("UpdateServerEngineAttributes") 46 | -------------------------------------------------------------------------------- /awacs/osis.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Amazon OpenSearch Ingestion" 12 | prefix = "osis" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | CreatePipeline = Action("CreatePipeline") 28 | DeletePipeline = Action("DeletePipeline") 29 | GetPipeline = Action("GetPipeline") 30 | GetPipelineBlueprint = Action("GetPipelineBlueprint") 31 | GetPipelineChangeProgress = Action("GetPipelineChangeProgress") 32 | Ingest = Action("Ingest") 33 | ListPipelineBlueprints = Action("ListPipelineBlueprints") 34 | ListPipelines = Action("ListPipelines") 35 | ListTagsForResource = Action("ListTagsForResource") 36 | StartPipeline = Action("StartPipeline") 37 | StopPipeline = Action("StopPipeline") 38 | TagResource = Action("TagResource") 39 | UntagResource = Action("UntagResource") 40 | UpdatePipeline = Action("UpdatePipeline") 41 | ValidatePipeline = Action("ValidatePipeline") 42 | -------------------------------------------------------------------------------- /awacs/partnercentral_account_management.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Partner central account management" 12 | prefix = "partnercentral-account-management" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | AssociatePartnerAccount = Action("AssociatePartnerAccount") 28 | AssociatePartnerUser = Action("AssociatePartnerUser") 29 | DisassociatePartnerUser = Action("DisassociatePartnerUser") 30 | -------------------------------------------------------------------------------- /awacs/pca_connector_scep.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Private CA Connector for SCEP" 12 | prefix = "pca-connector-scep" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | CreateChallenge = Action("CreateChallenge") 28 | CreateConnector = Action("CreateConnector") 29 | DeleteChallenge = Action("DeleteChallenge") 30 | DeleteConnector = Action("DeleteConnector") 31 | GetChallengeMetadata = Action("GetChallengeMetadata") 32 | GetChallengePassword = Action("GetChallengePassword") 33 | GetConnector = Action("GetConnector") 34 | ListChallengeMetadata = Action("ListChallengeMetadata") 35 | ListConnectors = Action("ListConnectors") 36 | ListTagsForResource = Action("ListTagsForResource") 37 | TagResource = Action("TagResource") 38 | UntagResource = Action("UntagResource") 39 | -------------------------------------------------------------------------------- /awacs/pcs.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Parallel Computing Service" 12 | prefix = "pcs" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | AllowVendedLogDeliveryForResource = Action("AllowVendedLogDeliveryForResource") 28 | CreateCluster = Action("CreateCluster") 29 | CreateComputeNodeGroup = Action("CreateComputeNodeGroup") 30 | CreateQueue = Action("CreateQueue") 31 | DeleteCluster = Action("DeleteCluster") 32 | DeleteComputeNodeGroup = Action("DeleteComputeNodeGroup") 33 | DeleteQueue = Action("DeleteQueue") 34 | GetCluster = Action("GetCluster") 35 | GetComputeNodeGroup = Action("GetComputeNodeGroup") 36 | GetQueue = Action("GetQueue") 37 | ListClusters = Action("ListClusters") 38 | ListComputeNodeGroups = Action("ListComputeNodeGroups") 39 | ListQueues = Action("ListQueues") 40 | ListTagsForResource = Action("ListTagsForResource") 41 | RegisterComputeNodeGroupInstance = Action("RegisterComputeNodeGroupInstance") 42 | TagResource = Action("TagResource") 43 | UntagResource = Action("UntagResource") 44 | UpdateComputeNodeGroup = Action("UpdateComputeNodeGroup") 45 | UpdateQueue = Action("UpdateQueue") 46 | -------------------------------------------------------------------------------- /awacs/pi.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Performance Insights" 12 | prefix = "pi" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | CreatePerformanceAnalysisReport = Action("CreatePerformanceAnalysisReport") 28 | DeletePerformanceAnalysisReport = Action("DeletePerformanceAnalysisReport") 29 | DescribeDimensionKeys = Action("DescribeDimensionKeys") 30 | GetDimensionKeyDetails = Action("GetDimensionKeyDetails") 31 | GetPerformanceAnalysisReport = Action("GetPerformanceAnalysisReport") 32 | GetResourceMetadata = Action("GetResourceMetadata") 33 | GetResourceMetrics = Action("GetResourceMetrics") 34 | ListAvailableResourceDimensions = Action("ListAvailableResourceDimensions") 35 | ListAvailableResourceMetrics = Action("ListAvailableResourceMetrics") 36 | ListPerformanceAnalysisReports = Action("ListPerformanceAnalysisReports") 37 | ListTagsForResource = Action("ListTagsForResource") 38 | TagResource = Action("TagResource") 39 | UntagResource = Action("UntagResource") 40 | -------------------------------------------------------------------------------- /awacs/pipes.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Amazon EventBridge Pipes" 12 | prefix = "pipes" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | CreatePipe = Action("CreatePipe") 28 | DeletePipe = Action("DeletePipe") 29 | DescribePipe = Action("DescribePipe") 30 | ListPipes = Action("ListPipes") 31 | ListTagsForResource = Action("ListTagsForResource") 32 | StartPipe = Action("StartPipe") 33 | StopPipe = Action("StopPipe") 34 | TagResource = Action("TagResource") 35 | UntagResource = Action("UntagResource") 36 | UpdatePipe = Action("UpdatePipe") 37 | -------------------------------------------------------------------------------- /awacs/polly.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Amazon Polly" 12 | prefix = "polly" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | DeleteLexicon = Action("DeleteLexicon") 28 | DescribeVoices = Action("DescribeVoices") 29 | GetLexicon = Action("GetLexicon") 30 | GetSpeechSynthesisTask = Action("GetSpeechSynthesisTask") 31 | ListLexicons = Action("ListLexicons") 32 | ListSpeechSynthesisTasks = Action("ListSpeechSynthesisTasks") 33 | PutLexicon = Action("PutLexicon") 34 | StartSpeechSynthesisTask = Action("StartSpeechSynthesisTask") 35 | SynthesizeSpeech = Action("SynthesizeSpeech") 36 | -------------------------------------------------------------------------------- /awacs/pricing.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Price List" 12 | prefix = "pricing" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | DescribeServices = Action("DescribeServices") 28 | GetAttributeValues = Action("GetAttributeValues") 29 | GetPriceListFileUrl = Action("GetPriceListFileUrl") 30 | GetProducts = Action("GetProducts") 31 | ListPriceLists = Action("ListPriceLists") 32 | -------------------------------------------------------------------------------- /awacs/purchase_orders.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Purchase Orders Console" 12 | prefix = "purchase-orders" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | AddPurchaseOrder = Action("AddPurchaseOrder") 28 | DeletePurchaseOrder = Action("DeletePurchaseOrder") 29 | GetConsoleActionSetEnforced = Action("GetConsoleActionSetEnforced") 30 | GetPurchaseOrder = Action("GetPurchaseOrder") 31 | ListPurchaseOrderInvoices = Action("ListPurchaseOrderInvoices") 32 | ListPurchaseOrders = Action("ListPurchaseOrders") 33 | ListTagsForResource = Action("ListTagsForResource") 34 | ModifyPurchaseOrders = Action("ModifyPurchaseOrders") 35 | TagResource = Action("TagResource") 36 | UntagResource = Action("UntagResource") 37 | UpdateConsoleActionSetEnforced = Action("UpdateConsoleActionSetEnforced") 38 | UpdatePurchaseOrder = Action("UpdatePurchaseOrder") 39 | UpdatePurchaseOrderStatus = Action("UpdatePurchaseOrderStatus") 40 | ViewPurchaseOrders = Action("ViewPurchaseOrders") 41 | -------------------------------------------------------------------------------- /awacs/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudtools/awacs/a7d5dff42542e15fdad148efee3bce99dbaf76fb/awacs/py.typed -------------------------------------------------------------------------------- /awacs/qdeveloper.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Amazon Q Developer" 12 | prefix = "qdeveloper" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | ExportArtifact = Action("ExportArtifact") 28 | ImportArtifact = Action("ImportArtifact") 29 | ListTagsForResource = Action("ListTagsForResource") 30 | StartAgentSession = Action("StartAgentSession") 31 | TagResource = Action("TagResource") 32 | TransformCode = Action("TransformCode") 33 | UntagResource = Action("UntagResource") 34 | -------------------------------------------------------------------------------- /awacs/rbin.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Recycle Bin" 12 | prefix = "rbin" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | CreateRule = Action("CreateRule") 28 | DeleteRule = Action("DeleteRule") 29 | GetRule = Action("GetRule") 30 | ListRules = Action("ListRules") 31 | ListTagsForResource = Action("ListTagsForResource") 32 | LockRule = Action("LockRule") 33 | TagResource = Action("TagResource") 34 | UnlockRule = Action("UnlockRule") 35 | UntagResource = Action("UntagResource") 36 | UpdateRule = Action("UpdateRule") 37 | -------------------------------------------------------------------------------- /awacs/rds_data.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Amazon RDS Data API" 12 | prefix = "rds-data" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | BatchExecuteStatement = Action("BatchExecuteStatement") 28 | BeginTransaction = Action("BeginTransaction") 29 | CommitTransaction = Action("CommitTransaction") 30 | ExecuteSql = Action("ExecuteSql") 31 | ExecuteStatement = Action("ExecuteStatement") 32 | RollbackTransaction = Action("RollbackTransaction") 33 | -------------------------------------------------------------------------------- /awacs/rds_db.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Amazon RDS IAM Authentication" 12 | prefix = "rds-db" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | connect = Action("connect") 28 | -------------------------------------------------------------------------------- /awacs/redshift_data.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Amazon Redshift Data API" 12 | prefix = "redshift-data" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | BatchExecuteStatement = Action("BatchExecuteStatement") 28 | CancelStatement = Action("CancelStatement") 29 | DescribeStatement = Action("DescribeStatement") 30 | DescribeTable = Action("DescribeTable") 31 | ExecuteStatement = Action("ExecuteStatement") 32 | GetStagingBucketLocation = Action("GetStagingBucketLocation") 33 | GetStatementResult = Action("GetStatementResult") 34 | ListDatabases = Action("ListDatabases") 35 | ListSchemas = Action("ListSchemas") 36 | ListStatements = Action("ListStatements") 37 | ListTables = Action("ListTables") 38 | -------------------------------------------------------------------------------- /awacs/repostspace.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS rePost Private" 12 | prefix = "repostspace" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | BatchAddRole = Action("BatchAddRole") 28 | BatchRemoveRole = Action("BatchRemoveRole") 29 | CreateSpace = Action("CreateSpace") 30 | DeleteSpace = Action("DeleteSpace") 31 | DeregisterAdmin = Action("DeregisterAdmin") 32 | GetSpace = Action("GetSpace") 33 | ListSpaces = Action("ListSpaces") 34 | ListTagsForResource = Action("ListTagsForResource") 35 | RegisterAdmin = Action("RegisterAdmin") 36 | SendInvites = Action("SendInvites") 37 | TagResource = Action("TagResource") 38 | UntagResource = Action("UntagResource") 39 | UpdateSpace = Action("UpdateSpace") 40 | -------------------------------------------------------------------------------- /awacs/resource_explorer.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Tag Editor" 12 | prefix = "resource-explorer" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | ListResourceTypes = Action("ListResourceTypes") 28 | ListResources = Action("ListResources") 29 | ListTags = Action("ListTags") 30 | -------------------------------------------------------------------------------- /awacs/rhelkb.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Amazon RHEL Knowledgebase Portal" 12 | prefix = "rhelkb" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | GetRhelURL = Action("GetRhelURL") 28 | -------------------------------------------------------------------------------- /awacs/route53_recovery_cluster.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Amazon Route 53 Recovery Cluster" 12 | prefix = "route53-recovery-cluster" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | GetRoutingControlState = Action("GetRoutingControlState") 28 | ListRoutingControls = Action("ListRoutingControls") 29 | UpdateRoutingControlState = Action("UpdateRoutingControlState") 30 | UpdateRoutingControlStates = Action("UpdateRoutingControlStates") 31 | -------------------------------------------------------------------------------- /awacs/sagemaker_data_science_assistant.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Amazon SageMaker data science assistant" 12 | prefix = "sagemaker-data-science-assistant" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | SendConversation = Action("SendConversation") 28 | -------------------------------------------------------------------------------- /awacs/sagemaker_groundtruth_synthetic.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Amazon SageMaker Ground Truth Synthetic" 12 | prefix = "sagemaker-groundtruth-synthetic" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | CreateProject = Action("CreateProject") 28 | DeleteProject = Action("DeleteProject") 29 | GetAccountDetails = Action("GetAccountDetails") 30 | GetBatch = Action("GetBatch") 31 | GetProject = Action("GetProject") 32 | ListBatchDataTransfers = Action("ListBatchDataTransfers") 33 | ListBatchSummaries = Action("ListBatchSummaries") 34 | ListProjectDataTransfers = Action("ListProjectDataTransfers") 35 | ListProjectSummaries = Action("ListProjectSummaries") 36 | StartBatchDataTransfer = Action("StartBatchDataTransfer") 37 | StartProjectDataTransfer = Action("StartProjectDataTransfer") 38 | UpdateBatch = Action("UpdateBatch") 39 | -------------------------------------------------------------------------------- /awacs/savingsplans.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Savings Plans" 12 | prefix = "savingsplans" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | CreateSavingsPlan = Action("CreateSavingsPlan") 28 | DeleteQueuedSavingsPlan = Action("DeleteQueuedSavingsPlan") 29 | DescribeSavingsPlanRates = Action("DescribeSavingsPlanRates") 30 | DescribeSavingsPlans = Action("DescribeSavingsPlans") 31 | DescribeSavingsPlansOfferingRates = Action("DescribeSavingsPlansOfferingRates") 32 | DescribeSavingsPlansOfferings = Action("DescribeSavingsPlansOfferings") 33 | ListTagsForResource = Action("ListTagsForResource") 34 | ReturnSavingsPlan = Action("ReturnSavingsPlan") 35 | TagResource = Action("TagResource") 36 | UntagResource = Action("UntagResource") 37 | -------------------------------------------------------------------------------- /awacs/scheduler.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Amazon EventBridge Scheduler" 12 | prefix = "scheduler" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | CreateSchedule = Action("CreateSchedule") 28 | CreateScheduleGroup = Action("CreateScheduleGroup") 29 | DeleteSchedule = Action("DeleteSchedule") 30 | DeleteScheduleGroup = Action("DeleteScheduleGroup") 31 | GetSchedule = Action("GetSchedule") 32 | GetScheduleGroup = Action("GetScheduleGroup") 33 | ListScheduleGroups = Action("ListScheduleGroups") 34 | ListSchedules = Action("ListSchedules") 35 | ListTagsForResource = Action("ListTagsForResource") 36 | TagResource = Action("TagResource") 37 | UntagResource = Action("UntagResource") 38 | UpdateSchedule = Action("UpdateSchedule") 39 | -------------------------------------------------------------------------------- /awacs/sdb.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Amazon SimpleDB" 12 | prefix = "sdb" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | BatchDeleteAttributes = Action("BatchDeleteAttributes") 28 | BatchPutAttributes = Action("BatchPutAttributes") 29 | CreateDomain = Action("CreateDomain") 30 | DeleteAttributes = Action("DeleteAttributes") 31 | DeleteDomain = Action("DeleteDomain") 32 | DomainMetadata = Action("DomainMetadata") 33 | GetAttributes = Action("GetAttributes") 34 | ListDomains = Action("ListDomains") 35 | PutAttributes = Action("PutAttributes") 36 | Select = Action("Select") 37 | -------------------------------------------------------------------------------- /awacs/serverlessrepo.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Serverless Application Repository" 12 | prefix = "serverlessrepo" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | CreateApplication = Action("CreateApplication") 28 | CreateApplicationVersion = Action("CreateApplicationVersion") 29 | CreateCloudFormationChangeSet = Action("CreateCloudFormationChangeSet") 30 | CreateCloudFormationTemplate = Action("CreateCloudFormationTemplate") 31 | DeleteApplication = Action("DeleteApplication") 32 | GetApplication = Action("GetApplication") 33 | GetApplicationPolicy = Action("GetApplicationPolicy") 34 | GetCloudFormationTemplate = Action("GetCloudFormationTemplate") 35 | ListApplicationDependencies = Action("ListApplicationDependencies") 36 | ListApplicationVersions = Action("ListApplicationVersions") 37 | ListApplications = Action("ListApplications") 38 | PutApplicationPolicy = Action("PutApplicationPolicy") 39 | SearchApplications = Action("SearchApplications") 40 | UnshareApplication = Action("UnshareApplication") 41 | UpdateApplication = Action("UpdateApplication") 42 | -------------------------------------------------------------------------------- /awacs/serviceextract.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Microservice Extractor for .NET" 12 | prefix = "serviceextract" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | GetConfig = Action("GetConfig") 28 | -------------------------------------------------------------------------------- /awacs/signer.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Signer" 12 | prefix = "signer" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | AddProfilePermission = Action("AddProfilePermission") 28 | CancelSigningProfile = Action("CancelSigningProfile") 29 | DescribeSigningJob = Action("DescribeSigningJob") 30 | GetRevocationStatus = Action("GetRevocationStatus") 31 | GetSigningPlatform = Action("GetSigningPlatform") 32 | GetSigningProfile = Action("GetSigningProfile") 33 | ListProfilePermissions = Action("ListProfilePermissions") 34 | ListSigningJobs = Action("ListSigningJobs") 35 | ListSigningPlatforms = Action("ListSigningPlatforms") 36 | ListSigningProfiles = Action("ListSigningProfiles") 37 | ListTagsForResource = Action("ListTagsForResource") 38 | PutSigningProfile = Action("PutSigningProfile") 39 | RemoveProfilePermission = Action("RemoveProfilePermission") 40 | RevokeSignature = Action("RevokeSignature") 41 | RevokeSigningProfile = Action("RevokeSigningProfile") 42 | SignPayload = Action("SignPayload") 43 | StartSigningJob = Action("StartSigningJob") 44 | TagResource = Action("TagResource") 45 | UntagResource = Action("UntagResource") 46 | -------------------------------------------------------------------------------- /awacs/signin.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Signin" 12 | prefix = "signin" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | CreateTrustedIdentityPropagationApplicationForConsole = Action( 28 | "CreateTrustedIdentityPropagationApplicationForConsole" 29 | ) 30 | ListTrustedIdentityPropagationApplicationsForConsole = Action( 31 | "ListTrustedIdentityPropagationApplicationsForConsole" 32 | ) 33 | -------------------------------------------------------------------------------- /awacs/simscape.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS SimScape" 12 | prefix = "simscape" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | DeleteAgent = Action("DeleteAgent") 28 | DeleteSimulation = Action("DeleteSimulation") 29 | DescribeAgent = Action("DescribeAgent") 30 | DescribeSimulation = Action("DescribeSimulation") 31 | ListAgents = Action("ListAgents") 32 | ListSimulations = Action("ListSimulations") 33 | ListTagsForResource = Action("ListTagsForResource") 34 | StartAgent = Action("StartAgent") 35 | StartClock = Action("StartClock") 36 | StartSimulation = Action("StartSimulation") 37 | StopAgent = Action("StopAgent") 38 | StopClock = Action("StopClock") 39 | StopSimulation = Action("StopSimulation") 40 | TagResource = Action("TagResource") 41 | UntagResource = Action("UntagResource") 42 | -------------------------------------------------------------------------------- /awacs/simspaceweaver.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS SimSpace Weaver" 12 | prefix = "simspaceweaver" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | CreateSnapshot = Action("CreateSnapshot") 28 | DeleteApp = Action("DeleteApp") 29 | DeleteSimulation = Action("DeleteSimulation") 30 | DescribeApp = Action("DescribeApp") 31 | DescribeSimulation = Action("DescribeSimulation") 32 | ListApps = Action("ListApps") 33 | ListSimulations = Action("ListSimulations") 34 | ListTagsForResource = Action("ListTagsForResource") 35 | StartApp = Action("StartApp") 36 | StartClock = Action("StartClock") 37 | StartSimulation = Action("StartSimulation") 38 | StopApp = Action("StopApp") 39 | StopClock = Action("StopClock") 40 | StopSimulation = Action("StopSimulation") 41 | TagResource = Action("TagResource") 42 | UntagResource = Action("UntagResource") 43 | -------------------------------------------------------------------------------- /awacs/snow_device_management.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Snow Device Management" 12 | prefix = "snow-device-management" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | CancelTask = Action("CancelTask") 28 | CreateTask = Action("CreateTask") 29 | DescribeDevice = Action("DescribeDevice") 30 | DescribeDeviceEc2Instances = Action("DescribeDeviceEc2Instances") 31 | DescribeExecution = Action("DescribeExecution") 32 | DescribeTask = Action("DescribeTask") 33 | ListDeviceResources = Action("ListDeviceResources") 34 | ListDevices = Action("ListDevices") 35 | ListExecutions = Action("ListExecutions") 36 | ListTagsForResource = Action("ListTagsForResource") 37 | ListTasks = Action("ListTasks") 38 | TagResource = Action("TagResource") 39 | UntagResource = Action("UntagResource") 40 | -------------------------------------------------------------------------------- /awacs/social_messaging.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS End User Messaging Social" 12 | prefix = "social-messaging" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | AssociateWhatsAppBusinessAccount = Action("AssociateWhatsAppBusinessAccount") 28 | DeleteWhatsAppMessageMedia = Action("DeleteWhatsAppMessageMedia") 29 | DisassociateWhatsAppBusinessAccount = Action("DisassociateWhatsAppBusinessAccount") 30 | GetLinkedWhatsAppBusinessAccount = Action("GetLinkedWhatsAppBusinessAccount") 31 | GetLinkedWhatsAppBusinessAccountPhoneNumber = Action( 32 | "GetLinkedWhatsAppBusinessAccountPhoneNumber" 33 | ) 34 | GetWhatsAppMessageMedia = Action("GetWhatsAppMessageMedia") 35 | ListLinkedWhatsAppBusinessAccounts = Action("ListLinkedWhatsAppBusinessAccounts") 36 | ListTagsForResource = Action("ListTagsForResource") 37 | PostWhatsAppMessageMedia = Action("PostWhatsAppMessageMedia") 38 | PutWhatsAppBusinessAccountEventDestinations = Action( 39 | "PutWhatsAppBusinessAccountEventDestinations" 40 | ) 41 | SendWhatsAppMessage = Action("SendWhatsAppMessage") 42 | TagResource = Action("TagResource") 43 | UntagResource = Action("UntagResource") 44 | -------------------------------------------------------------------------------- /awacs/ssm_guiconnect.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Systems Manager GUI Connect" 12 | prefix = "ssm-guiconnect" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | CancelConnection = Action("CancelConnection") 28 | DeleteConnectionRecordingPreferences = Action("DeleteConnectionRecordingPreferences") 29 | GetConnection = Action("GetConnection") 30 | GetConnectionRecordingPreferences = Action("GetConnectionRecordingPreferences") 31 | ListConnections = Action("ListConnections") 32 | StartConnection = Action("StartConnection") 33 | UpdateConnectionRecordingPreferences = Action("UpdateConnectionRecordingPreferences") 34 | -------------------------------------------------------------------------------- /awacs/ssm_quicksetup.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Systems Manager Quick Setup" 12 | prefix = "ssm-quicksetup" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | CreateConfigurationManager = Action("CreateConfigurationManager") 28 | DeleteConfigurationManager = Action("DeleteConfigurationManager") 29 | GetConfiguration = Action("GetConfiguration") 30 | GetConfigurationManager = Action("GetConfigurationManager") 31 | GetServiceSettings = Action("GetServiceSettings") 32 | ListConfigurationManagers = Action("ListConfigurationManagers") 33 | ListConfigurations = Action("ListConfigurations") 34 | ListQuickSetupTypes = Action("ListQuickSetupTypes") 35 | ListTagsForResource = Action("ListTagsForResource") 36 | TagResource = Action("TagResource") 37 | UntagResource = Action("UntagResource") 38 | UpdateConfigurationDefinition = Action("UpdateConfigurationDefinition") 39 | UpdateConfigurationManager = Action("UpdateConfigurationManager") 40 | UpdateServiceSettings = Action("UpdateServiceSettings") 41 | -------------------------------------------------------------------------------- /awacs/ssmmessages.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Amazon Message Gateway Service" 12 | prefix = "ssmmessages" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | CreateControlChannel = Action("CreateControlChannel") 28 | CreateDataChannel = Action("CreateDataChannel") 29 | OpenControlChannel = Action("OpenControlChannel") 30 | OpenDataChannel = Action("OpenDataChannel") 31 | -------------------------------------------------------------------------------- /awacs/sso_oauth.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS IAM Identity Center OIDC service" 12 | prefix = "sso-oauth" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | CreateTokenWithIAM = Action("CreateTokenWithIAM") 28 | -------------------------------------------------------------------------------- /awacs/sts.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Security Token Service" 12 | prefix = "sts" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | AssumeRole = Action("AssumeRole") 28 | AssumeRoleWithSAML = Action("AssumeRoleWithSAML") 29 | AssumeRoleWithWebIdentity = Action("AssumeRoleWithWebIdentity") 30 | AssumeRoot = Action("AssumeRoot") 31 | DecodeAuthorizationMessage = Action("DecodeAuthorizationMessage") 32 | GetAccessKeyInfo = Action("GetAccessKeyInfo") 33 | GetCallerIdentity = Action("GetCallerIdentity") 34 | GetFederationToken = Action("GetFederationToken") 35 | GetServiceBearerToken = Action("GetServiceBearerToken") 36 | GetSessionToken = Action("GetSessionToken") 37 | SetContext = Action("SetContext") 38 | SetSourceIdentity = Action("SetSourceIdentity") 39 | TagSession = Action("TagSession") 40 | -------------------------------------------------------------------------------- /awacs/sumerian.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Amazon Sumerian" 12 | prefix = "sumerian" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | Login = Action("Login") 28 | ViewRelease = Action("ViewRelease") 29 | -------------------------------------------------------------------------------- /awacs/supportapp.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Support App in Slack" 12 | prefix = "supportapp" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | CreateSlackChannelConfiguration = Action("CreateSlackChannelConfiguration") 28 | DeleteAccountAlias = Action("DeleteAccountAlias") 29 | DeleteSlackChannelConfiguration = Action("DeleteSlackChannelConfiguration") 30 | DeleteSlackWorkspaceConfiguration = Action("DeleteSlackWorkspaceConfiguration") 31 | DescribeSlackChannels = Action("DescribeSlackChannels") 32 | GetAccountAlias = Action("GetAccountAlias") 33 | GetSlackOauthParameters = Action("GetSlackOauthParameters") 34 | ListSlackChannelConfigurations = Action("ListSlackChannelConfigurations") 35 | ListSlackWorkspaceConfigurations = Action("ListSlackWorkspaceConfigurations") 36 | PutAccountAlias = Action("PutAccountAlias") 37 | RedeemSlackOauthCode = Action("RedeemSlackOauthCode") 38 | RegisterSlackWorkspaceForOrganization = Action("RegisterSlackWorkspaceForOrganization") 39 | UpdateSlackChannelConfiguration = Action("UpdateSlackChannelConfiguration") 40 | -------------------------------------------------------------------------------- /awacs/supportplans.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Support Plans" 12 | prefix = "supportplans" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | CreateSupportPlanSchedule = Action("CreateSupportPlanSchedule") 28 | GetSupportPlan = Action("GetSupportPlan") 29 | GetSupportPlanUpdateStatus = Action("GetSupportPlanUpdateStatus") 30 | ListSupportPlanModifiers = Action("ListSupportPlanModifiers") 31 | StartSupportPlanUpdate = Action("StartSupportPlanUpdate") 32 | -------------------------------------------------------------------------------- /awacs/supportrecommendations.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Support Recommendations" 12 | prefix = "supportrecommendations" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | GetSupportTroubleshootingResponse = Action("GetSupportTroubleshootingResponse") 28 | StartSupportTroubleshooting = Action("StartSupportTroubleshooting") 29 | -------------------------------------------------------------------------------- /awacs/sustainability.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Sustainability" 12 | prefix = "sustainability" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | GetCarbonFootprintSummary = Action("GetCarbonFootprintSummary") 28 | -------------------------------------------------------------------------------- /awacs/tag.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Amazon Resource Group Tagging API" 12 | prefix = "tag" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | AddResourceTags = Action("AddResourceTags") 28 | DescribeReportCreation = Action("DescribeReportCreation") 29 | GetComplianceSummary = Action("GetComplianceSummary") 30 | GetResources = Action("GetResources") 31 | GetTagKeys = Action("GetTagKeys") 32 | GetTagValues = Action("GetTagValues") 33 | RemoveResourceTags = Action("RemoveResourceTags") 34 | StartReportCreation = Action("StartReportCreation") 35 | TagResources = Action("TagResources") 36 | UntagResources = Action("UntagResources") 37 | -------------------------------------------------------------------------------- /awacs/tax.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Tax Settings" 12 | prefix = "tax" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | BatchDeleteTaxRegistration = Action("BatchDeleteTaxRegistration") 28 | BatchPutTaxRegistration = Action("BatchPutTaxRegistration") 29 | DeleteSupplementalTaxRegistration = Action("DeleteSupplementalTaxRegistration") 30 | DeleteTaxRegistration = Action("DeleteTaxRegistration") 31 | GetExemptions = Action("GetExemptions") 32 | GetTaxInfoReportingDocument = Action("GetTaxInfoReportingDocument") 33 | GetTaxInheritance = Action("GetTaxInheritance") 34 | GetTaxInterview = Action("GetTaxInterview") 35 | GetTaxRegistration = Action("GetTaxRegistration") 36 | GetTaxRegistrationDocument = Action("GetTaxRegistrationDocument") 37 | ListSupplementalTaxRegistrations = Action("ListSupplementalTaxRegistrations") 38 | ListTaxRegistrations = Action("ListTaxRegistrations") 39 | PutSupplementalTaxRegistration = Action("PutSupplementalTaxRegistration") 40 | PutTaxInheritance = Action("PutTaxInheritance") 41 | PutTaxInterview = Action("PutTaxInterview") 42 | PutTaxRegistration = Action("PutTaxRegistration") 43 | UpdateExemptions = Action("UpdateExemptions") 44 | -------------------------------------------------------------------------------- /awacs/thinclient.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Amazon WorkSpaces Thin Client" 12 | prefix = "thinclient" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | CreateEnvironment = Action("CreateEnvironment") 28 | DeleteDevice = Action("DeleteDevice") 29 | DeleteEnvironment = Action("DeleteEnvironment") 30 | DeregisterDevice = Action("DeregisterDevice") 31 | GetDevice = Action("GetDevice") 32 | GetDeviceDetails = Action("GetDeviceDetails") 33 | GetEnvironment = Action("GetEnvironment") 34 | GetSoftwareSet = Action("GetSoftwareSet") 35 | ListDeviceSessions = Action("ListDeviceSessions") 36 | ListDevices = Action("ListDevices") 37 | ListEnvironments = Action("ListEnvironments") 38 | ListSoftwareSets = Action("ListSoftwareSets") 39 | ListTagsForResource = Action("ListTagsForResource") 40 | TagResource = Action("TagResource") 41 | UntagResource = Action("UntagResource") 42 | UpdateDevice = Action("UpdateDevice") 43 | UpdateEnvironment = Action("UpdateEnvironment") 44 | UpdateSoftwareSet = Action("UpdateSoftwareSet") 45 | -------------------------------------------------------------------------------- /awacs/timestream_influxdb.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Amazon Timestream InfluxDB" 12 | prefix = "timestream-influxdb" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | CreateDbCluster = Action("CreateDbCluster") 28 | CreateDbInstance = Action("CreateDbInstance") 29 | CreateDbParameterGroup = Action("CreateDbParameterGroup") 30 | DeleteDbCluster = Action("DeleteDbCluster") 31 | DeleteDbInstance = Action("DeleteDbInstance") 32 | GetDbCluster = Action("GetDbCluster") 33 | GetDbInstance = Action("GetDbInstance") 34 | GetDbParameterGroup = Action("GetDbParameterGroup") 35 | ListDbClusters = Action("ListDbClusters") 36 | ListDbInstances = Action("ListDbInstances") 37 | ListDbInstancesForCluster = Action("ListDbInstancesForCluster") 38 | ListDbParameterGroups = Action("ListDbParameterGroups") 39 | ListTagsForResource = Action("ListTagsForResource") 40 | TagResource = Action("TagResource") 41 | UntagResource = Action("UntagResource") 42 | UpdateDbCluster = Action("UpdateDbCluster") 43 | UpdateDbInstance = Action("UpdateDbInstance") 44 | -------------------------------------------------------------------------------- /awacs/tiros.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Tiros" 12 | prefix = "tiros" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | CreateQuery = Action("CreateQuery") 28 | ExtendQuery = Action("ExtendQuery") 29 | GetExtensionAccounts = Action("GetExtensionAccounts") 30 | GetQueryAnswer = Action("GetQueryAnswer") 31 | GetQueryExplanation = Action("GetQueryExplanation") 32 | GetQueryExtensionAccounts = Action("GetQueryExtensionAccounts") 33 | -------------------------------------------------------------------------------- /awacs/transform.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Transform" 12 | prefix = "transform" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | AssociateConnectorResource = Action("AssociateConnectorResource") 28 | CreateProfile = Action("CreateProfile") 29 | DeleteProfile = Action("DeleteProfile") 30 | GetConnector = Action("GetConnector") 31 | ListProfiles = Action("ListProfiles") 32 | RejectConnector = Action("RejectConnector") 33 | UpdateProfile = Action("UpdateProfile") 34 | -------------------------------------------------------------------------------- /awacs/translate.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Amazon Translate" 12 | prefix = "translate" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | CreateParallelData = Action("CreateParallelData") 28 | DeleteParallelData = Action("DeleteParallelData") 29 | DeleteTerminology = Action("DeleteTerminology") 30 | DescribeTextTranslationJob = Action("DescribeTextTranslationJob") 31 | GetParallelData = Action("GetParallelData") 32 | GetTerminology = Action("GetTerminology") 33 | ImportTerminology = Action("ImportTerminology") 34 | ListLanguages = Action("ListLanguages") 35 | ListParallelData = Action("ListParallelData") 36 | ListTagsForResource = Action("ListTagsForResource") 37 | ListTerminologies = Action("ListTerminologies") 38 | ListTextTranslationJobs = Action("ListTextTranslationJobs") 39 | StartTextTranslationJob = Action("StartTextTranslationJob") 40 | StopTextTranslationJob = Action("StopTextTranslationJob") 41 | TagResource = Action("TagResource") 42 | TranslateDocument = Action("TranslateDocument") 43 | TranslateText = Action("TranslateText") 44 | UntagResource = Action("UntagResource") 45 | UpdateParallelData = Action("UpdateParallelData") 46 | -------------------------------------------------------------------------------- /awacs/ts.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Diagnostic tools" 12 | prefix = "ts" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | GetExecution = Action("GetExecution") 28 | GetExecutionOutput = Action("GetExecutionOutput") 29 | GetTool = Action("GetTool") 30 | ListExecutions = Action("ListExecutions") 31 | ListTagsForResource = Action("ListTagsForResource") 32 | ListTools = Action("ListTools") 33 | StartExecution = Action("StartExecution") 34 | TagResource = Action("TagResource") 35 | UntagResource = Action("UntagResource") 36 | -------------------------------------------------------------------------------- /awacs/user_subscriptions.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS User Subscriptions" 12 | prefix = "user-subscriptions" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | CreateClaim = Action("CreateClaim") 28 | DeleteClaim = Action("DeleteClaim") 29 | ListApplicationClaims = Action("ListApplicationClaims") 30 | ListClaims = Action("ListClaims") 31 | ListUserSubscriptions = Action("ListUserSubscriptions") 32 | UpdateClaim = Action("UpdateClaim") 33 | -------------------------------------------------------------------------------- /awacs/uxc.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Service for managing account level display settings" 12 | prefix = "uxc" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | DeleteAccountColor = Action("DeleteAccountColor") 28 | GetAccountColor = Action("GetAccountColor") 29 | PutAccountColor = Action("PutAccountColor") 30 | -------------------------------------------------------------------------------- /awacs/verified_access.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Verified Access" 12 | prefix = "verified-access" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | AllowVerifiedAccess = Action("AllowVerifiedAccess") 28 | -------------------------------------------------------------------------------- /awacs/vpc_lattice_svcs.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Amazon VPC Lattice Services" 12 | prefix = "vpc-lattice-svcs" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | Connect = Action("Connect") 28 | Invoke = Action("Invoke") 29 | -------------------------------------------------------------------------------- /awacs/vpce.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS PrivateLink" 12 | prefix = "vpce" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | AllowMultiRegion = Action("AllowMultiRegion") 28 | -------------------------------------------------------------------------------- /awacs/wam.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Amazon WorkSpaces Application Manager" 12 | prefix = "wam" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | AuthenticatePackager = Action("AuthenticatePackager") 28 | -------------------------------------------------------------------------------- /awacs/wickr.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "AWS Wickr" 12 | prefix = "wickr" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | CreateAdminSession = Action("CreateAdminSession") 28 | CreateNetwork = Action("CreateNetwork") 29 | DeleteNetwork = Action("DeleteNetwork") 30 | ListNetworks = Action("ListNetworks") 31 | ListTagsForResource = Action("ListTagsForResource") 32 | TagResource = Action("TagResource") 33 | UntagResource = Action("UntagResource") 34 | UpdateNetworkDetails = Action("UpdateNetworkDetails") 35 | -------------------------------------------------------------------------------- /awacs/workmailmessageflow.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012-2021, Mark Peek 2 | # All rights reserved. 3 | # 4 | # See LICENSE file for full license. 5 | 6 | from typing import Optional 7 | 8 | from .aws import Action as BaseAction 9 | from .aws import BaseARN 10 | 11 | service_name = "Amazon WorkMail Message Flow" 12 | prefix = "workmailmessageflow" 13 | 14 | 15 | class Action(BaseAction): 16 | def __init__(self, action: Optional[str] = None) -> None: 17 | super().__init__(prefix, action) 18 | 19 | 20 | class ARN(BaseARN): 21 | def __init__(self, resource: str = "", region: str = "", account: str = "") -> None: 22 | super().__init__( 23 | service=prefix, resource=resource, region=region, account=account 24 | ) 25 | 26 | 27 | GetRawMessageContent = Action("GetRawMessageContent") 28 | PutRawMessageContent = Action("PutRawMessageContent") 29 | -------------------------------------------------------------------------------- /examples/ecr.py: -------------------------------------------------------------------------------- 1 | # Example taken from AWS docs: 2 | # http://docs.aws.amazon.com/AmazonECR/latest/userguide/ecr_managed_policies.html 3 | 4 | import awacs.ecr as ecr 5 | from awacs.aws import Allow, Policy, Statement 6 | 7 | # AmazonEC2ContainerRegistryReadOnly 8 | pd = Policy( 9 | Statement=[ 10 | Statement( 11 | Effect=Allow, 12 | Action=[ 13 | ecr.GetAuthorizationToken, 14 | ecr.BatchCheckLayerAvailability, 15 | ecr.GetDownloadUrlForLayer, 16 | ecr.GetRepositoryPolicy, 17 | ecr.DescribeRepositories, 18 | ecr.ListImages, 19 | ecr.BatchGetImage, 20 | ], 21 | Resource=["*"], 22 | ) 23 | ] 24 | ) 25 | 26 | 27 | print(pd.to_json()) 28 | -------------------------------------------------------------------------------- /examples/ecs.py: -------------------------------------------------------------------------------- 1 | # Example taken from AWS docs: 2 | # http://docs.aws.amazon.com/AmazonECS/latest/developerguide/instance_IAM_role.html 3 | 4 | import awacs.ecr as aecr 5 | import awacs.ecs as aecs 6 | import awacs.logs as alogs 7 | from awacs.aws import Allow, Policy, Statement 8 | 9 | pd = Policy( 10 | Statement=[ 11 | Statement( 12 | Effect=Allow, 13 | Action=[ 14 | aecs.CreateCluster, 15 | aecs.DeregisterContainerInstance, 16 | aecs.DiscoverPollEndpoint, 17 | aecs.Poll, 18 | aecs.RegisterContainerInstance, 19 | aecs.StartTelemetrySession, 20 | aecr.GetAuthorizationToken, 21 | aecr.BatchCheckLayerAvailability, 22 | aecr.GetDownloadUrlForLayer, 23 | aecr.BatchGetImage, 24 | alogs.CreateLogStream, 25 | alogs.PutLogEvents, 26 | aecs.Action("Submit*"), 27 | ], 28 | Resource=["*"], 29 | ) 30 | ] 31 | ) 32 | print(pd.to_json()) 33 | -------------------------------------------------------------------------------- /examples/s3.py: -------------------------------------------------------------------------------- 1 | # Example taken from AWS docs: 2 | # http://docs.aws.amazon.com/IAM/latest/UserGuide/ 3 | # ExampleIAMPolicies.html#iampolicy-example-s3homedir 4 | 5 | import awacs.s3 as s3 6 | from awacs.aws import ( 7 | Action, 8 | Allow, 9 | Condition, 10 | Policy, 11 | Statement, 12 | StringEquals, 13 | StringLike, 14 | ) 15 | 16 | pd = Policy( 17 | Statement=[ 18 | Statement( 19 | Action=[s3.ListAllMyBuckets, s3.GetBucketLocation], 20 | Effect=Allow, 21 | Resource=[ 22 | s3.ARN("*"), 23 | ], 24 | ), 25 | Statement( 26 | Action=[s3.ListBucket], 27 | Effect=Allow, 28 | Resource=[s3.ARN("myBucket")], 29 | Condition=Condition( 30 | StringEquals( 31 | { 32 | "s3:prefix": ["", "home/"], 33 | "s3:delimiter": ["/"], 34 | } 35 | ), 36 | ), 37 | ), 38 | Statement( 39 | Action=[s3.ListBucket], 40 | Effect=Allow, 41 | Resource=[s3.ARN("myBucket")], 42 | Condition=Condition(StringLike("s3:prefix", ["home/${aws:username}/*"])), 43 | ), 44 | Statement( 45 | Action=[Action("s3", "*")], 46 | Effect=Allow, 47 | Resource=[ 48 | s3.ARN("myBucket/home/${aws:username}"), 49 | s3.ARN("myBucket/home/${aws:username}/*"), 50 | ], 51 | ), 52 | ], 53 | ) 54 | print(pd.to_json()) 55 | -------------------------------------------------------------------------------- /examples/simple_test.py: -------------------------------------------------------------------------------- 1 | from awacs.aws import Action, Allow, Policy, Statement 2 | 3 | pd = Policy( 4 | Statement=[ 5 | Statement( 6 | Effect=Allow, 7 | Action=[Action("sdb", "*"), Action("s3", "*")], 8 | Resource=["arn:aws:s3:::my_corporate_bucket/*"], 9 | ), 10 | ], 11 | ) 12 | print(pd.to_json()) 13 | -------------------------------------------------------------------------------- /examples/sns.py: -------------------------------------------------------------------------------- 1 | import awacs.sns as sns 2 | import awacs.sqs as sqs 3 | from awacs.aws import Allow, ArnEquals, AWSPrincipal, Condition, Policy, Statement 4 | 5 | region = "us-east-1" 6 | account = "012345678891" 7 | 8 | pd = Policy( 9 | Statement=[ 10 | Statement( 11 | Effect=Allow, 12 | Principal=AWSPrincipal("210987654321"), 13 | Action=[sqs.SendMessage], 14 | Resource=[ 15 | sqs.ARN(region, account, "your_queue_xyz"), 16 | ], 17 | Condition=Condition( 18 | ArnEquals( 19 | "aws:SourceArn", 20 | sns.ARN(region, "123456789012", "your_special_topic_1"), 21 | ), 22 | ), 23 | ), 24 | ], 25 | ) 26 | print(pd.to_json()) 27 | -------------------------------------------------------------------------------- /examples/sqs.py: -------------------------------------------------------------------------------- 1 | import awacs.sqs as sqs 2 | from awacs.aws import ( 3 | Allow, 4 | AWSPrincipal, 5 | Condition, 6 | DateGreaterThan, 7 | DateLessThan, 8 | IpAddress, 9 | Policy, 10 | Statement, 11 | ) 12 | 13 | region = "us-east-1" 14 | account = "444455556666" 15 | 16 | pd = Policy( 17 | Id="Queue1_Policy_UUID", 18 | Statement=[ 19 | Statement( 20 | Sid="Queue1_SendMessage", 21 | Effect=Allow, 22 | Principal=AWSPrincipal("111122223333"), 23 | Action=[sqs.SendMessage], 24 | Resource=[ 25 | sqs.ARN(region, account, "queue1"), 26 | ], 27 | Condition=Condition( 28 | [ 29 | DateGreaterThan("aws:CurrentTime", "2010-08-16T12:00:00Z"), 30 | DateLessThan("aws:CurrentTime", "2010-08-16T15:00:00Z"), 31 | IpAddress("aws:SourceIp", ["192.0.2.0/24", "203.0.113.0/24"]), 32 | ] 33 | ), 34 | ), 35 | ], 36 | ) 37 | print(pd.to_json()) 38 | -------------------------------------------------------------------------------- /mypy.ini: -------------------------------------------------------------------------------- 1 | [mypy] 2 | check_untyped_defs = True 3 | disallow_untyped_calls = True 4 | disallow_untyped_defs = True 5 | follow_imports = silent 6 | ignore_missing_imports = True 7 | python_version = 3.9 8 | strict_optional = True 9 | warn_redundant_casts = True 10 | warn_unused_ignores = True 11 | show_error_codes = True 12 | -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- 1 | [build-system] 2 | requires = ["setuptools >= 40.6.0", "wheel"] 3 | build-backend = "setuptools.build_meta" 4 | -------------------------------------------------------------------------------- /scrape/requirements.in: -------------------------------------------------------------------------------- 1 | aiofiles>=23.1.0 2 | beautifulsoup4>=4.12.2 3 | black>=23.7.0 4 | httpx[http2]>=0.24.1 5 | isort>=5.12.0 6 | lxml>=4.9.3 7 | mypy>=1.4.1 8 | pycodestyle>=2.11.0 9 | pyflakes>=3.1.0 10 | tox>=4.6.4 11 | wheel>=0.41.0 12 | -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- 1 | [metadata] 2 | name = awacs 3 | version = attr: awacs.__version__ 4 | url = https://github.com/cloudtools/awacs 5 | author = Mark Peek 6 | author_email = mark@peek.org 7 | description = AWS Access Policy Language creation library 8 | long_description = file: README.rst 9 | long_description_content_type = text/x-rst 10 | license = New BSD license 11 | classifiers = 12 | Development Status :: 5 - Production/Stable 13 | Intended Audience :: Developers 14 | License :: OSI Approved :: BSD License 15 | Operating System :: OS Independent 16 | Programming Language :: Python 17 | Programming Language :: Python :: 3 :: Only 18 | Programming Language :: Python :: 3 19 | Programming Language :: Python :: 3.9 20 | Programming Language :: Python :: 3.10 21 | Programming Language :: Python :: 3.11 22 | Programming Language :: Python :: 3.12 23 | Programming Language :: Python :: 3.13 24 | project_urls = 25 | Changelog = https://github.com/cloudtools/awacs/blob/master/CHANGELOG.md 26 | Source = https://github.com/cloudtools/awacs 27 | Tracker = https://github.com/cloudtools/awacs/issues 28 | 29 | [options] 30 | include_package_data = true 31 | packages = find: 32 | python_requires = >=3.9 33 | zip_safe = false 34 | 35 | [options.packages.find] 36 | exclude = 37 | tests 38 | 39 | [pycodestyle] 40 | max-line-length = 88 41 | ignore = E203,W503 42 | 43 | [isort] 44 | profile = black 45 | -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- 1 | from setuptools import setup 2 | 3 | setup() 4 | -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudtools/awacs/a7d5dff42542e15fdad148efee3bce99dbaf76fb/tests/__init__.py -------------------------------------------------------------------------------- /tests/test_conditions.py: -------------------------------------------------------------------------------- 1 | import json 2 | import unittest 3 | 4 | import awacs.aws as aws 5 | import awacs.s3 as s3 6 | 7 | 8 | class TestConditions(unittest.TestCase): 9 | def test_for_all_values(self): 10 | c = aws.Condition( 11 | aws.ForAllValuesStringLike( 12 | "dynamodb:requestedAttributes", ["PostDateTime", "Message", "Tags"] 13 | ) 14 | ) 15 | pd = aws.PolicyDocument( 16 | Statement=[ 17 | aws.Statement( 18 | Action=[s3.ListBucket], 19 | Effect=aws.Allow, 20 | Resource=[s3.ARN("myBucket")], 21 | Condition=c, 22 | ) 23 | ] 24 | ) 25 | self.assertEqual( 26 | { 27 | "Statement": [ 28 | { 29 | "Action": ["s3:ListBucket"], 30 | "Condition": { 31 | "ForAllValues:StringLike": { 32 | "dynamodb:requestedAttributes": [ 33 | "PostDateTime", 34 | "Message", 35 | "Tags", 36 | ] 37 | } 38 | }, 39 | "Effect": "Allow", 40 | "Resource": ["arn:aws:s3:::myBucket"], 41 | } 42 | ] 43 | }, 44 | json.loads(pd.to_json()), 45 | ) 46 | -------------------------------------------------------------------------------- /tests/test_ec2.py: -------------------------------------------------------------------------------- 1 | import unittest 2 | 3 | from awacs.ec2 import ARN 4 | 5 | 6 | class TestARN(unittest.TestCase): 7 | def test_aws(self): 8 | arn = ARN("image/ami", "us-east-1", "account") 9 | self.assertEqual(arn.JSONrepr(), "arn:aws:ec2:us-east-1:account:image/ami") 10 | 11 | def test_cn(self): 12 | arn = ARN("image/ami", "cn-north-1", "account") 13 | self.assertEqual(arn.JSONrepr(), "arn:aws-cn:ec2:cn-north-1:account:image/ami") 14 | 15 | def test_gov(self): 16 | arn = ARN("image/ami", "us-gov-west-1", "account") 17 | self.assertEqual( 18 | arn.JSONrepr(), "arn:aws-us-gov:ec2:us-gov-west-1:account:image/ami" 19 | ) 20 | -------------------------------------------------------------------------------- /tests/test_examples.py: -------------------------------------------------------------------------------- 1 | import glob 2 | import os 3 | import pytest 4 | import sys 5 | 6 | 7 | files = glob.glob(os.path.join("examples", "*.py")) 8 | 9 | 10 | @pytest.mark.parametrize("filename", files) 11 | def test_file(filename): 12 | # Ignore the output 13 | saved = sys.stdout 14 | with open("/dev/null", "w") as stdout: 15 | sys.stdout = stdout 16 | try: 17 | with open(filename) as f: 18 | code = compile(f.read(), filename, "exec") 19 | exec(code) 20 | finally: 21 | sys.stdout = saved 22 | -------------------------------------------------------------------------------- /tests/test_iam.py: -------------------------------------------------------------------------------- 1 | import unittest 2 | 3 | from awacs.iam import ARN 4 | 5 | 6 | class TestARN(unittest.TestCase): 7 | def test_aws(self): 8 | arn = ARN("root", "us-east-1", "account") 9 | self.assertEqual(arn.JSONrepr(), "arn:aws:iam::account:root") 10 | 11 | def test_cn(self): 12 | arn = ARN("root", "cn-north-1", "account") 13 | self.assertEqual(arn.JSONrepr(), "arn:aws-cn:iam::account:root") 14 | 15 | def test_gov(self): 16 | arn = ARN("root", "us-gov-west-1", "account") 17 | self.assertEqual(arn.JSONrepr(), "arn:aws-us-gov:iam::account:root") 18 | -------------------------------------------------------------------------------- /tests/test_s3.py: -------------------------------------------------------------------------------- 1 | import unittest 2 | 3 | from awacs.s3 import ARN 4 | 5 | 6 | class TestARN(unittest.TestCase): 7 | def test_aws(self): 8 | arn = ARN("bucket/key", "us-east-1", "account") 9 | self.assertEqual(arn.JSONrepr(), "arn:aws:s3:::bucket/key") 10 | 11 | def test_cn(self): 12 | arn = ARN("bucket/key", "cn-north-1", "account") 13 | self.assertEqual(arn.JSONrepr(), "arn:aws-cn:s3:::bucket/key") 14 | 15 | def test_gov(self): 16 | arn = ARN("bucket/key", "us-gov-west-1", "account") 17 | self.assertEqual(arn.JSONrepr(), "arn:aws-us-gov:s3:::bucket/key") 18 | 19 | def test_non_bucket_arns(self): 20 | for resource in [ 21 | "accesspoint/my-access-point", 22 | "job/job-id", 23 | "storage-lens/config-id", 24 | ]: 25 | arn = ARN(resource, "us-east-1", "111122223333") 26 | self.assertEqual( 27 | arn.JSONrepr(), f"arn:aws:s3:us-east-1:111122223333:{resource}" 28 | ) 29 | -------------------------------------------------------------------------------- /tox.ini: -------------------------------------------------------------------------------- 1 | [tox] 2 | envlist = 3 | py{39,310,311,312,313} 4 | qa,package 5 | 6 | [testenv] 7 | deps = 8 | pytest 9 | commands = pytest tests {posargs} 10 | 11 | [testenv:mypy] 12 | deps = 13 | mypy 14 | commands = 15 | mypy awacs 16 | 17 | [testenv:qa] 18 | deps = 19 | pycodestyle 20 | pyflakes 21 | commands = 22 | pycodestyle --version 23 | pycodestyle --show-source --show-pep8 setup.py awacs examples scrape tests 24 | pyflakes ./awacs 25 | 26 | [testenv:package] 27 | deps = 28 | build>=1.2.2 29 | check_manifest>=0.50 30 | twine>=6.1.0 31 | commands = 32 | python -m check_manifest 33 | python -m build --sdist --wheel . 34 | twine check dist/* 35 | --------------------------------------------------------------------------------