awscli 1.40.17__py3-none-any.whl → 1.44.26__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- awscli/__init__.py +1 -1
- awscli/alias.py +3 -3
- awscli/argprocess.py +7 -2
- awscli/arguments.py +1 -1
- awscli/bcdoc/docevents.py +3 -0
- awscli/clidocs.py +19 -2
- awscli/clidriver.py +57 -10
- awscli/compat.py +11 -0
- awscli/customizations/argrename.py +1 -3
- awscli/customizations/cliinputjson.py +4 -0
- awscli/customizations/cloudformation/deploy.py +23 -6
- awscli/customizations/cloudformation/deployer.py +2 -2
- awscli/customizations/cloudformation/package.py +3 -2
- awscli/customizations/cloudfront.py +3 -1
- awscli/customizations/cloudtrail/subscribe.py +5 -5
- awscli/customizations/cloudtrail/validation.py +32 -11
- awscli/customizations/codecommit.py +2 -3
- awscli/customizations/codedeploy/deregister.py +5 -2
- awscli/customizations/codedeploy/push.py +7 -6
- awscli/customizations/codedeploy/register.py +5 -2
- awscli/customizations/codedeploy/systems.py +3 -1
- awscli/customizations/commands.py +2 -1
- awscli/customizations/configservice/getstatus.py +3 -3
- awscli/customizations/datapipeline/__init__.py +7 -4
- awscli/customizations/datapipeline/createdefaultroles.py +4 -2
- awscli/customizations/dlm/createdefaultrole.py +4 -2
- awscli/customizations/ec2/bundleinstance.py +2 -1
- awscli/customizations/eks/get_token.py +6 -4
- awscli/customizations/eks/update_kubeconfig.py +15 -3
- awscli/customizations/emr/argumentschema.py +355 -344
- awscli/customizations/emr/createcluster.py +520 -282
- awscli/customizations/emr/emrutils.py +83 -50
- awscli/customizations/emr/helptext.py +132 -74
- awscli/customizations/emr/steputils.py +92 -52
- awscli/customizations/gamelift/getlog.py +3 -2
- awscli/customizations/gamelift/uploadbuild.py +30 -15
- awscli/customizations/globalargs.py +169 -0
- awscli/customizations/logs/startlivetail.py +3 -3
- awscli/customizations/paginate.py +66 -1
- awscli/customizations/rds.py +3 -1
- awscli/customizations/removals.py +4 -0
- awscli/customizations/s3/filegenerator.py +7 -1
- awscli/customizations/s3/fileinfo.py +5 -1
- awscli/customizations/s3/fileinfobuilder.py +7 -0
- awscli/customizations/s3/s3handler.py +11 -0
- awscli/customizations/s3/subcommands.py +147 -6
- awscli/customizations/s3/syncstrategy/base.py +9 -0
- awscli/customizations/s3/syncstrategy/caseconflict.py +96 -0
- awscli/customizations/s3/utils.py +25 -0
- awscli/customizations/s3uploader.py +18 -8
- awscli/customizations/scalarparse.py +48 -9
- awscli/customizations/utils.py +2 -1
- awscli/customizations/waiters.py +3 -2
- awscli/data/cli.json +5 -0
- awscli/examples/apigateway/update-vpc-link.rst +47 -0
- awscli/examples/apigatewayv2/create-routing-rule.rst +52 -0
- awscli/examples/apigatewayv2/delete-routing-rule.rst +11 -0
- awscli/examples/apigatewayv2/get-routing-rule.rst +35 -0
- awscli/examples/apigatewayv2/list-routing-rules.rst +38 -0
- awscli/examples/apigatewayv2/put-routing-rule.rst +52 -0
- awscli/examples/application-signals/batch-get-service-level-objective-budget-report.rst +99 -0
- awscli/examples/application-signals/create-service-level-objective.rst +88 -0
- awscli/examples/application-signals/delete-service-level-objective.rst +10 -0
- awscli/examples/application-signals/get-service-level-objective.rst +53 -0
- awscli/examples/application-signals/get-service.rst +72 -0
- awscli/examples/application-signals/list-service-dependencies.rst +96 -0
- awscli/examples/application-signals/list-service-dependents.rst +36 -0
- awscli/examples/application-signals/list-service-level-objectives.rst +17 -0
- awscli/examples/application-signals/list-service-operations.rst +63 -0
- awscli/examples/application-signals/list-services.rst +61 -0
- awscli/examples/application-signals/list-tags-for-resource.rst +17 -0
- awscli/examples/application-signals/start-discovery.rst +9 -0
- awscli/examples/application-signals/tag-resource.rst +11 -0
- awscli/examples/application-signals/untag-resource.rst +11 -0
- awscli/examples/application-signals/update-service-level-objective.rst +69 -0
- awscli/examples/cloudformation/_package_description.rst +4 -4
- awscli/examples/cloudformation/create-generated-template.rst +50 -0
- awscli/examples/cloudformation/create-stack-refactor.rst +16 -0
- awscli/examples/cloudformation/delete-generated-template.rst +10 -0
- awscli/examples/cloudformation/describe-generated-template.rst +62 -0
- awscli/examples/cloudformation/describe-resource-scan.rst +38 -0
- awscli/examples/cloudformation/describe-stack-refactor.rst +20 -0
- awscli/examples/cloudformation/execute-stack-refactor.rst +10 -0
- awscli/examples/cloudformation/list-generated-templates.rst +41 -0
- awscli/examples/cloudformation/list-resource-scan-related-resources.rst +47 -0
- awscli/examples/cloudformation/list-resource-scan-resources.rst +30 -0
- awscli/examples/cloudformation/list-stack-refactor-actions.rst +71 -0
- awscli/examples/cloudformation/start-resource-scan.rst +14 -0
- awscli/examples/cloudfront/associate-distribution-tenant-web-acl.rst +18 -0
- awscli/examples/cloudfront/associate-distribution-web-acl.rst +18 -0
- awscli/examples/cloudfront/create-connection-group.rst +39 -0
- awscli/examples/cloudfront/create-distribution-tenant.rst +275 -0
- awscli/examples/cloudfront/create-distribution.rst +625 -235
- awscli/examples/cloudfront/create-invalidation-for-distribution-tenant.rst +29 -0
- awscli/examples/cloudfront/delete-connection-group.rst +11 -0
- awscli/examples/cloudfront/delete-distribution-tenant.rst +11 -0
- awscli/examples/cloudfront/disassociate-distribution-tenant-web-acl.rst +16 -0
- awscli/examples/cloudfront/disassociate-distribution-web-acl.rst +16 -0
- awscli/examples/cloudfront/get-connection-group-by-routing-endpoint.rst +26 -0
- awscli/examples/cloudfront/get-connection-group.rst +26 -0
- awscli/examples/cloudfront/get-distribution-tenant-by-domain.rst +37 -0
- awscli/examples/cloudfront/get-distribution-tenant.rst +31 -0
- awscli/examples/cloudfront/get-invalidation-for-distribution-tenant.rst +29 -0
- awscli/examples/cloudfront/get-managed-certificate-details.rst +25 -0
- awscli/examples/cloudfront/list-connection-groups.rst +38 -0
- awscli/examples/cloudfront/list-distribution-tenants-by-customization.rst +45 -0
- awscli/examples/cloudfront/list-distribution-tenants.rst +90 -0
- awscli/examples/cloudfront/list-distributions-by-connection-mode.rst +115 -0
- awscli/examples/cloudfront/list-domain-conflicts.rst +22 -0
- awscli/examples/cloudfront/list-invalidations-for-distribution-tenant.rst +22 -0
- awscli/examples/cloudfront/update-connection-group.rst +29 -0
- awscli/examples/cloudfront/update-distribution-tenant.rst +76 -0
- awscli/examples/cloudfront/update-domain-association.rst +18 -0
- awscli/examples/cloudfront/verify-dns-configuration.rst +20 -0
- awscli/examples/ec2/associate-ipam-resource-discovery.rst +1 -1
- awscli/examples/ec2/authorize-security-group-ingress.rst +1 -1
- awscli/examples/ec2/create-ipam-resource-discovery.rst +1 -1
- awscli/examples/ec2/delete-ipam-pool.rst +1 -1
- awscli/examples/ec2/describe-addresses-attribute.rst +1 -1
- awscli/examples/ec2/get-ipam-discovered-public-addresses.rst +1 -1
- awscli/examples/ec2/modify-ipam-resource-discovery.rst +1 -1
- awscli/examples/ec2/modify-ipam-scope.rst +1 -1
- awscli/examples/ec2/release-ipam-pool-allocation.rst +3 -3
- awscli/examples/eks/associate-access-policy.rst +29 -0
- awscli/examples/eks/create-access-entry.rst +54 -0
- awscli/examples/eks/create-pod-identity-association.rst +59 -0
- awscli/examples/eks/delete-access-entry.rst +11 -0
- awscli/examples/eks/delete-pod-identity-association.rst +28 -0
- awscli/examples/eks/describe-access-entry.rst +25 -0
- awscli/examples/eks/describe-insight.rst +36 -0
- awscli/examples/eks/describe-pod-identity-association.rst +28 -0
- awscli/examples/eks/disassociate-access-policy.rst +12 -0
- awscli/examples/eks/list-access-entries.rst +19 -0
- awscli/examples/eks/list-access-policies.rst +90 -0
- awscli/examples/eks/list-associated-access-policies.rst +27 -0
- awscli/examples/eks/list-insights.rst +67 -0
- awscli/examples/eks/list-pod-identity-associations.rst +61 -0
- awscli/examples/eks/update-access-entry.rst +28 -0
- awscli/examples/eks/update-pod-identity-association.rst +29 -0
- awscli/examples/elbv2/modify-listener.rst +95 -86
- awscli/examples/emr/create-cluster-synopsis.txt +1 -0
- awscli/examples/global_options.rst +4 -0
- awscli/examples/global_synopsis.rst +1 -0
- awscli/examples/guardduty/update-detector.rst +23 -0
- awscli/examples/ivs-realtime/create-stage.rst +6 -3
- awscli/examples/ivs-realtime/get-composition.rst +7 -4
- awscli/examples/ivs-realtime/get-participant.rst +99 -31
- awscli/examples/ivs-realtime/get-stage.rst +3 -2
- awscli/examples/ivs-realtime/list-participant-events.rst +54 -2
- awscli/examples/ivs-realtime/list-participant-replicas.rst +24 -0
- awscli/examples/ivs-realtime/list-participants.rst +61 -3
- awscli/examples/ivs-realtime/start-composition.rst +88 -3
- awscli/examples/ivs-realtime/start-participant-replication.rst +24 -0
- awscli/examples/ivs-realtime/stop-participant-replication.rst +24 -0
- awscli/examples/ivs-realtime/update-stage.rst +51 -3
- awscli/examples/kms/create-key.rst +42 -7
- awscli/examples/kms/delete-imported-key-material.rst +8 -2
- awscli/examples/kms/describe-key.rst +2 -0
- awscli/examples/kms/disable-key.rst +1 -1
- awscli/examples/kms/generate-data-key-pair-without-plaintext.rst +1 -0
- awscli/examples/kms/generate-data-key-pair.rst +1 -0
- awscli/examples/kms/generate-data-key-without-plaintext.rst +2 -1
- awscli/examples/kms/generate-data-key.rst +5 -4
- awscli/examples/kms/generate-mac.rst +45 -0
- awscli/examples/kms/generate-random.rst +1 -1
- awscli/examples/kms/get-public-key.rst +2 -3
- awscli/examples/kms/import-key-material.rst +6 -1
- awscli/examples/kms/re-encrypt.rst +3 -3
- awscli/examples/kms/sign.rst +1 -1
- awscli/examples/kms/verify-mac.rst +27 -0
- awscli/examples/kms/verify.rst +5 -1
- awscli/examples/lambda/create-function.rst +4 -4
- awscli/examples/lambda/get-function.rst +3 -3
- awscli/examples/lambda/list-functions.rst +6 -6
- awscli/examples/medical-imaging/create-datastore.rst +19 -2
- awscli/examples/medical-imaging/get-datastore.rst +24 -1
- awscli/examples/networkmanager/get-vpc-attachment.rst +1 -1
- awscli/examples/omics/cancel-run.rst +1 -1
- awscli/examples/omics/create-run-group.rst +4 -2
- awscli/examples/omics/create-workflow.rst +1 -1
- awscli/examples/omics/delete-run-group.rst +1 -1
- awscli/examples/omics/delete-run.rst +1 -1
- awscli/examples/omics/delete-workflow.rst +1 -1
- awscli/examples/omics/get-run-group.rst +1 -1
- awscli/examples/omics/get-run-task.rst +1 -1
- awscli/examples/omics/get-run.rst +1 -1
- awscli/examples/omics/get-workflow.rst +1 -1
- awscli/examples/omics/list-run-groups.rst +1 -1
- awscli/examples/omics/list-run-tasks.rst +1 -1
- awscli/examples/omics/list-runs.rst +1 -1
- awscli/examples/omics/list-workflows.rst +1 -1
- awscli/examples/omics/start-run.rst +1 -2
- awscli/examples/omics/update-workflow.rst +1 -1
- awscli/examples/pi/create-performance-analysis-report.rst +17 -0
- awscli/examples/pi/delete-performance-analysis-report.rst +12 -0
- awscli/examples/pi/describe-dimension-keys.rst +33 -1
- awscli/examples/pi/get-dimension-key-details.rst +25 -0
- awscli/examples/pi/get-performance-analysis-report.rst +27 -0
- awscli/examples/pi/get-resource-metadata.rst +20 -0
- awscli/examples/pi/list-available-resource-dimensions.rst +48 -0
- awscli/examples/pi/list-available-resource-metrics.rst +29 -0
- awscli/examples/pi/list-performance-analysis-reports.rst +44 -0
- awscli/examples/pi/list-tags-for-resource.rst +20 -0
- awscli/examples/pi/tag-resource.rst +12 -0
- awscli/examples/pi/untag-resource.rst +12 -0
- awscli/examples/route53domains/get-domain-detail.rst +3 -3
- awscli/examples/securityhub/describe-hub.rst +6 -4
- awscli/examples/servicediscovery/create-service.rst +50 -10
- awscli/examples/servicediscovery/delete-namespace.rst +18 -4
- awscli/examples/servicediscovery/delete-service-attributes.rst +15 -3
- awscli/examples/servicediscovery/delete-service.rst +13 -3
- awscli/examples/servicediscovery/deregister-instance.rst +18 -2
- awscli/examples/servicediscovery/discover-instances-revision.rst +18 -1
- awscli/examples/servicediscovery/discover-instances.rst +32 -2
- awscli/examples/servicediscovery/get-instance.rst +30 -4
- awscli/examples/servicediscovery/get-instances-health-status.rst +19 -1
- awscli/examples/servicediscovery/get-namespace.rst +40 -9
- awscli/examples/servicediscovery/get-operation.rst +32 -6
- awscli/examples/servicediscovery/get-service-attributes.rst +25 -3
- awscli/examples/servicediscovery/get-service.rst +35 -7
- awscli/examples/servicediscovery/list-instances.rst +38 -3
- awscli/examples/servicediscovery/list-namespaces.rst +45 -22
- awscli/examples/servicediscovery/list-services.rst +30 -2
- awscli/examples/servicediscovery/register-instance.rst +18 -2
- awscli/examples/servicediscovery/update-http-namespace.rst +22 -5
- awscli/examples/servicediscovery/update-instance-custom-health-status.rst +14 -1
- awscli/examples/servicediscovery/update-private-dns-namespace.rst +22 -5
- awscli/examples/servicediscovery/update-public-dns-namespace.rst +22 -5
- awscli/examples/servicediscovery/update-service-attributes.rst +14 -2
- awscli/examples/servicediscovery/update-service.rst +20 -4
- awscli/examples/ssm/put-parameter.rst +6 -6
- awscli/examples/verifiedpermissions/update-policy.rst +10 -78
- awscli/examples/workspaces/describe-workspace-directories.rst +1 -2
- awscli/examples/workspaces/register-workspace-directory.rst +2 -3
- awscli/handlers.py +0 -4
- awscli/paramfile.py +21 -4
- awscli/testutils.py +22 -4
- awscli/topics/config-vars.rst +1 -1
- awscli/topics/s3-case-insensitivity.rst +105 -0
- awscli/topics/topic-tags.json +16 -0
- awscli/utils.py +33 -2
- {awscli-1.40.17.dist-info → awscli-1.44.26.dist-info}/METADATA +18 -3
- {awscli-1.40.17.dist-info → awscli-1.44.26.dist-info}/RECORD +251 -308
- awscli/customizations/opsworks.py +0 -543
- awscli/customizations/opsworkscm.py +0 -21
- awscli/examples/elastictranscoder/cancel-job.rst +0 -8
- awscli/examples/elastictranscoder/create-job.rst +0 -94
- awscli/examples/elastictranscoder/create-pipeline.rst +0 -94
- awscli/examples/elastictranscoder/create-preset.rst +0 -141
- awscli/examples/elastictranscoder/delete-pipeline.rst +0 -13
- awscli/examples/elastictranscoder/delete-preset.rst +0 -8
- awscli/examples/elastictranscoder/list-jobs-by-pipeline.rst +0 -13
- awscli/examples/elastictranscoder/list-jobs-by-status.rst +0 -14
- awscli/examples/elastictranscoder/list-pipelines.rst +0 -84
- awscli/examples/elastictranscoder/list-presets.rst +0 -95
- awscli/examples/elastictranscoder/read-job.rst +0 -65
- awscli/examples/elastictranscoder/read-pipeline.rst +0 -59
- awscli/examples/elastictranscoder/read-preset.rst +0 -100
- awscli/examples/elastictranscoder/update-pipeline-notifications.rst +0 -52
- awscli/examples/elastictranscoder/update-pipeline-status.rst +0 -53
- awscli/examples/elastictranscoder/update-pipeline.rst +0 -95
- awscli/examples/opsworks/assign-instance.rst +0 -14
- awscli/examples/opsworks/assign-volume.rst +0 -17
- awscli/examples/opsworks/associate-elastic-ip.rst +0 -14
- awscli/examples/opsworks/attach-elastic-load-balancer.rst +0 -14
- awscli/examples/opsworks/create-app.rst +0 -64
- awscli/examples/opsworks/create-deployment.rst +0 -66
- awscli/examples/opsworks/create-instance.rst +0 -25
- awscli/examples/opsworks/create-layer.rst +0 -17
- awscli/examples/opsworks/create-server.rst +0 -43
- awscli/examples/opsworks/create-stack.rst +0 -25
- awscli/examples/opsworks/create-user-profile.rst +0 -24
- awscli/examples/opsworks/delete-app.rst +0 -17
- awscli/examples/opsworks/delete-instance.rst +0 -15
- awscli/examples/opsworks/delete-layer.rst +0 -17
- awscli/examples/opsworks/delete-stack.rst +0 -18
- awscli/examples/opsworks/delete-user-profile.rst +0 -17
- awscli/examples/opsworks/deregister-elastic-ip.rst +0 -13
- awscli/examples/opsworks/deregister-instance.rst +0 -14
- awscli/examples/opsworks/deregister-rds-db-instance.rst +0 -20
- awscli/examples/opsworks/deregister-volume.rst +0 -15
- awscli/examples/opsworks/describe-apps.rst +0 -38
- awscli/examples/opsworks/describe-commands.rst +0 -43
- awscli/examples/opsworks/describe-deployments.rst +0 -52
- awscli/examples/opsworks/describe-elastic-ips.rst +0 -24
- awscli/examples/opsworks/describe-elastic-load-balancers.rst +0 -37
- awscli/examples/opsworks/describe-instances.rst +0 -95
- awscli/examples/opsworks/describe-layers.rst +0 -171
- awscli/examples/opsworks/describe-load-based-auto-scaling.rst +0 -37
- awscli/examples/opsworks/describe-my-user-profile.rst +0 -24
- awscli/examples/opsworks/describe-permissions.rst +0 -26
- awscli/examples/opsworks/describe-raid-arrays.rst +0 -31
- awscli/examples/opsworks/describe-rds-db-instances.rst +0 -29
- awscli/examples/opsworks/describe-stack-provisioning-parameters.rst +0 -32
- awscli/examples/opsworks/describe-stack-summary.rst +0 -27
- awscli/examples/opsworks/describe-stacks.rst +0 -65
- awscli/examples/opsworks/describe-timebased-auto-scaling.rst +0 -39
- awscli/examples/opsworks/describe-user-profiles.rst +0 -32
- awscli/examples/opsworks/describe-volumes.rst +0 -31
- awscli/examples/opsworks/detach-elastic-load-balancer.rst +0 -14
- awscli/examples/opsworks/disassociate-elastic-ip.rst +0 -14
- awscli/examples/opsworks/get-hostname-suggestion.rst +0 -21
- awscli/examples/opsworks/reboot-instance.rst +0 -14
- awscli/examples/opsworks/register-elastic-ip.rst +0 -19
- awscli/examples/opsworks/register-rds-db-instance.rst +0 -15
- awscli/examples/opsworks/register-volume.rst +0 -18
- awscli/examples/opsworks/register.rst +0 -105
- awscli/examples/opsworks/set-load-based-auto-scaling.rst +0 -38
- awscli/examples/opsworks/set-permission.rst +0 -23
- awscli/examples/opsworks/set-time-based-auto-scaling.rst +0 -33
- awscli/examples/opsworks/start-instance.rst +0 -20
- awscli/examples/opsworks/start-stack.rst +0 -15
- awscli/examples/opsworks/stop-instance.rst +0 -20
- awscli/examples/opsworks/stop-stack.rst +0 -15
- awscli/examples/opsworks/unassign-instance.rst +0 -14
- awscli/examples/opsworks/unassign-volume.rst +0 -16
- awscli/examples/opsworks/update-app.rst +0 -14
- awscli/examples/opsworks/update-elastic-ip.rst +0 -14
- awscli/examples/opsworks/update-instance.rst +0 -14
- awscli/examples/opsworks/update-layer.rst +0 -14
- awscli/examples/opsworks/update-my-user-profile.rst +0 -16
- awscli/examples/opsworks/update-rds-db-instance.rst +0 -18
- awscli/examples/opsworks/update-volume.rst +0 -16
- awscli/examples/opsworkscm/associate-node.rst +0 -22
- awscli/examples/opsworkscm/create-backup.rst +0 -46
- awscli/examples/opsworkscm/create-server.rst +0 -48
- awscli/examples/opsworkscm/delete-backup.rst +0 -17
- awscli/examples/opsworkscm/delete-server.rst +0 -16
- awscli/examples/opsworkscm/describe-account-attributes.rst +0 -26
- awscli/examples/opsworkscm/describe-backups.rst +0 -44
- awscli/examples/opsworkscm/describe-events.rst +0 -21
- awscli/examples/opsworkscm/describe-node-association-status.rst +0 -20
- awscli/examples/opsworkscm/describe-servers.rst +0 -48
- awscli/examples/opsworkscm/disassociate-node.rst +0 -19
- awscli/examples/opsworkscm/restore-server.rst +0 -20
- awscli/examples/opsworkscm/start-maintenance.rst +0 -39
- awscli/examples/opsworkscm/update-server-engine-attributes.rst +0 -43
- awscli/examples/opsworkscm/update-server.rst +0 -42
- awscli/examples/qldb/cancel-journal-kinesis-stream.rst +0 -15
- awscli/examples/qldb/create-ledger.rst +0 -43
- awscli/examples/qldb/delete-ledger.rst +0 -10
- awscli/examples/qldb/describe-journal-kinesis-stream.rst +0 -29
- awscli/examples/qldb/describe-journal-s3-export.rst +0 -30
- awscli/examples/qldb/describe-ledger.rst +0 -23
- awscli/examples/qldb/export-journal-to-s3.rst +0 -28
- awscli/examples/qldb/get-block.rst +0 -55
- awscli/examples/qldb/get-digest.rst +0 -17
- awscli/examples/qldb/get-revision.rst +0 -57
- awscli/examples/qldb/list-journal-kinesis-streams-for-ledger.rst +0 -30
- awscli/examples/qldb/list-journal-s3-exports-for-ledger.rst +0 -31
- awscli/examples/qldb/list-journal-s3-exports.rst +0 -46
- awscli/examples/qldb/list-ledgers.rst +0 -24
- awscli/examples/qldb/list-tags-for-resource.rst +0 -17
- awscli/examples/qldb/stream-journal-to-kinesis.rst +0 -46
- awscli/examples/qldb/tag-resource.rst +0 -11
- awscli/examples/qldb/untag-resource.rst +0 -11
- awscli/examples/qldb/update-ledger-permissions-mode.rst +0 -34
- awscli/examples/qldb/update-ledger.rst +0 -63
- awscli/examples/robomaker/batch-describe-simulation-job.rst +0 -150
- awscli/examples/robomaker/cancel-simulation-job.rst +0 -6
- awscli/examples/robomaker/create-deployment-job.rst +0 -37
- awscli/examples/robomaker/create-fleet.rst +0 -18
- awscli/examples/robomaker/create-robot-application-version.rst +0 -31
- awscli/examples/robomaker/create-robot-application.rst +0 -29
- awscli/examples/robomaker/create-robot.rst +0 -20
- awscli/examples/robomaker/create-simulation-application-version.rst +0 -39
- awscli/examples/robomaker/create-simulation-application.rst +0 -38
- awscli/examples/robomaker/create-simulation-job.rst +0 -43
- awscli/examples/robomaker/delete-fleet.rst +0 -7
- awscli/examples/robomaker/delete-robot-application.rst +0 -7
- awscli/examples/robomaker/delete-robot.rst +0 -7
- awscli/examples/robomaker/delete-simulation-application.rst +0 -7
- awscli/examples/robomaker/deregister-robot.rst +0 -14
- awscli/examples/robomaker/describe-deployment-job.rst +0 -38
- awscli/examples/robomaker/describe-fleet.rst +0 -28
- awscli/examples/robomaker/describe-robot-application.rst +0 -29
- awscli/examples/robomaker/describe-robot.rst +0 -21
- awscli/examples/robomaker/describe-simulation-application.rst +0 -37
- awscli/examples/robomaker/describe-simulation-job.rst +0 -45
- awscli/examples/robomaker/list-deployment-jobs.rst +0 -57
- awscli/examples/robomaker/list-fleets.rst +0 -22
- awscli/examples/robomaker/list-robot-applications.rst +0 -32
- awscli/examples/robomaker/list-robots.rst +0 -45
- awscli/examples/robomaker/list-simulation-applications.rst +0 -50
- awscli/examples/robomaker/list-simulation-jobs.rst +0 -80
- awscli/examples/robomaker/list-tags-for-resource.rst +0 -16
- awscli/examples/robomaker/register-robot.rst +0 -14
- awscli/examples/robomaker/restart-simulation-job.rst +0 -7
- awscli/examples/robomaker/sync-deployment-job.rst +0 -30
- awscli/examples/robomaker/tag-resource.rst +0 -7
- awscli/examples/robomaker/untag-resource.rst +0 -7
- awscli/examples/robomaker/update-robot-application.rst +0 -28
- awscli/examples/robomaker/update-simulation-application.rst +0 -36
- {awscli-1.40.17.data → awscli-1.44.26.data}/scripts/aws +0 -0
- {awscli-1.40.17.data → awscli-1.44.26.data}/scripts/aws.cmd +0 -0
- {awscli-1.40.17.data → awscli-1.44.26.data}/scripts/aws_bash_completer +0 -0
- {awscli-1.40.17.data → awscli-1.44.26.data}/scripts/aws_completer +0 -0
- {awscli-1.40.17.data → awscli-1.44.26.data}/scripts/aws_zsh_completer.sh +0 -0
- {awscli-1.40.17.dist-info → awscli-1.44.26.dist-info}/LICENSE.txt +0 -0
- {awscli-1.40.17.dist-info → awscli-1.44.26.dist-info}/WHEEL +0 -0
- {awscli-1.40.17.dist-info → awscli-1.44.26.dist-info}/top_level.txt +0 -0
|
@@ -16,14 +16,13 @@ import sys
|
|
|
16
16
|
import zipfile
|
|
17
17
|
import tempfile
|
|
18
18
|
import contextlib
|
|
19
|
-
from datetime import datetime
|
|
20
19
|
|
|
21
20
|
from botocore.exceptions import ClientError
|
|
22
21
|
|
|
23
22
|
from awscli.customizations.codedeploy.utils import validate_s3_location
|
|
24
23
|
from awscli.customizations.commands import BasicCommand
|
|
25
|
-
from awscli.compat import BytesIO, ZIP_COMPRESSION_MODE
|
|
26
|
-
|
|
24
|
+
from awscli.compat import BytesIO, ZIP_COMPRESSION_MODE, get_current_datetime
|
|
25
|
+
from awscli.utils import create_nested_client
|
|
27
26
|
|
|
28
27
|
ONE_MB = 1 << 20
|
|
29
28
|
MULTIPART_LIMIT = 6 * ONE_MB
|
|
@@ -107,13 +106,15 @@ class Push(BasicCommand):
|
|
|
107
106
|
|
|
108
107
|
def _run_main(self, parsed_args, parsed_globals):
|
|
109
108
|
self._validate_args(parsed_args)
|
|
110
|
-
self.codedeploy =
|
|
109
|
+
self.codedeploy = create_nested_client(
|
|
110
|
+
self._session,
|
|
111
111
|
'codedeploy',
|
|
112
112
|
region_name=parsed_globals.region,
|
|
113
113
|
endpoint_url=parsed_globals.endpoint_url,
|
|
114
114
|
verify=parsed_globals.verify_ssl
|
|
115
115
|
)
|
|
116
|
-
self.s3 =
|
|
116
|
+
self.s3 = create_nested_client(
|
|
117
|
+
self._session,
|
|
117
118
|
's3',
|
|
118
119
|
region_name=parsed_globals.region
|
|
119
120
|
)
|
|
@@ -130,7 +131,7 @@ class Push(BasicCommand):
|
|
|
130
131
|
if not parsed_args.description:
|
|
131
132
|
parsed_args.description = (
|
|
132
133
|
'Uploaded by AWS CLI {0} UTC'.format(
|
|
133
|
-
|
|
134
|
+
get_current_datetime().isoformat()
|
|
134
135
|
)
|
|
135
136
|
)
|
|
136
137
|
|
|
@@ -18,6 +18,7 @@ from awscli.customizations.codedeploy.systems import DEFAULT_CONFIG_FILE
|
|
|
18
18
|
from awscli.customizations.codedeploy.utils import \
|
|
19
19
|
validate_region, validate_instance_name, validate_tags, \
|
|
20
20
|
validate_iam_user_arn, INSTANCE_NAME_ARG, IAM_USER_ARN_ARG
|
|
21
|
+
from awscli.utils import create_nested_client
|
|
21
22
|
|
|
22
23
|
|
|
23
24
|
class Register(BasicCommand):
|
|
@@ -73,13 +74,15 @@ class Register(BasicCommand):
|
|
|
73
74
|
validate_tags(params)
|
|
74
75
|
validate_iam_user_arn(params)
|
|
75
76
|
|
|
76
|
-
self.codedeploy =
|
|
77
|
+
self.codedeploy = create_nested_client(
|
|
78
|
+
self._session,
|
|
77
79
|
'codedeploy',
|
|
78
80
|
region_name=params.region,
|
|
79
81
|
endpoint_url=parsed_globals.endpoint_url,
|
|
80
82
|
verify=parsed_globals.verify_ssl
|
|
81
83
|
)
|
|
82
|
-
self.iam =
|
|
84
|
+
self.iam = create_nested_client(
|
|
85
|
+
self._session,
|
|
83
86
|
'iam',
|
|
84
87
|
region_name=params.region
|
|
85
88
|
)
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
import ctypes
|
|
15
15
|
import os
|
|
16
16
|
import subprocess
|
|
17
|
+
from awscli.utils import create_nested_client
|
|
17
18
|
|
|
18
19
|
DEFAULT_CONFIG_FILE = 'codedeploy.onpremises.yml'
|
|
19
20
|
|
|
@@ -26,7 +27,8 @@ class System:
|
|
|
26
27
|
|
|
27
28
|
def __init__(self, params):
|
|
28
29
|
self.session = params.session
|
|
29
|
-
self.s3 =
|
|
30
|
+
self.s3 = create_nested_client(
|
|
31
|
+
self.session,
|
|
30
32
|
's3',
|
|
31
33
|
region_name=params.region
|
|
32
34
|
)
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
import sys
|
|
14
14
|
|
|
15
15
|
from awscli.customizations.commands import BasicCommand
|
|
16
|
-
|
|
16
|
+
from awscli.utils import create_nested_client
|
|
17
17
|
|
|
18
18
|
def register_get_status(cli):
|
|
19
19
|
cli.register('building-command-table.configservice', add_get_status)
|
|
@@ -44,8 +44,8 @@ class GetStatusCommand(BasicCommand):
|
|
|
44
44
|
'region_name': parsed_globals.region,
|
|
45
45
|
'endpoint_url': parsed_globals.endpoint_url
|
|
46
46
|
}
|
|
47
|
-
self._config_client = self._session
|
|
48
|
-
|
|
47
|
+
self._config_client = create_nested_client(self._session, 'config',
|
|
48
|
+
**client_args)
|
|
49
49
|
|
|
50
50
|
def _check_configuration_recorders(self):
|
|
51
51
|
status = self._config_client.describe_configuration_recorder_status()
|
|
@@ -12,17 +12,18 @@
|
|
|
12
12
|
# language governing permissions and limitations under the License.
|
|
13
13
|
|
|
14
14
|
import json
|
|
15
|
-
from datetime import
|
|
15
|
+
from datetime import timedelta
|
|
16
16
|
|
|
17
17
|
from awscli.formatter import get_formatter
|
|
18
18
|
from awscli.arguments import CustomArgument
|
|
19
|
+
from awscli.compat import get_current_datetime
|
|
19
20
|
from awscli.customizations.commands import BasicCommand
|
|
20
21
|
from awscli.customizations.datapipeline import translator
|
|
21
22
|
from awscli.customizations.datapipeline.createdefaultroles \
|
|
22
23
|
import CreateDefaultRoles
|
|
23
24
|
from awscli.customizations.datapipeline.listrunsformatter \
|
|
24
25
|
import ListRunsFormatter
|
|
25
|
-
|
|
26
|
+
from awscli.utils import create_nested_client
|
|
26
27
|
|
|
27
28
|
DEFINITION_HELP_TEXT = """\
|
|
28
29
|
The JSON pipeline definition. If the pipeline definition
|
|
@@ -184,7 +185,7 @@ class QueryArgBuilder(object):
|
|
|
184
185
|
"""
|
|
185
186
|
def __init__(self, current_time=None):
|
|
186
187
|
if current_time is None:
|
|
187
|
-
current_time =
|
|
188
|
+
current_time = get_current_datetime()
|
|
188
189
|
self.current_time = current_time
|
|
189
190
|
|
|
190
191
|
def build_query(self, parsed_args):
|
|
@@ -361,7 +362,9 @@ class ListRunsCommand(BasicCommand):
|
|
|
361
362
|
def _set_client(self, parsed_globals):
|
|
362
363
|
# This is called from _run_main and is used to ensure that we have
|
|
363
364
|
# a service/endpoint object to work with.
|
|
364
|
-
|
|
365
|
+
from awscli.utils import create_nested_client
|
|
366
|
+
self.client = create_nested_client(
|
|
367
|
+
self._session,
|
|
365
368
|
'datapipeline',
|
|
366
369
|
region_name=parsed_globals.region,
|
|
367
370
|
endpoint_url=parsed_globals.endpoint_url,
|
|
@@ -25,6 +25,8 @@ from awscli.customizations.datapipeline.constants \
|
|
|
25
25
|
from awscli.customizations.commands import BasicCommand
|
|
26
26
|
from awscli.customizations.datapipeline.translator \
|
|
27
27
|
import display_response, dict_to_string, get_region
|
|
28
|
+
from awscli.utils import create_nested_client
|
|
29
|
+
|
|
28
30
|
from botocore.exceptions import ClientError
|
|
29
31
|
|
|
30
32
|
LOG = logging.getLogger(__name__)
|
|
@@ -69,8 +71,8 @@ class CreateDefaultRoles(BasicCommand):
|
|
|
69
71
|
"""Call to run the commands"""
|
|
70
72
|
self._region = get_region(self._session, parsed_globals)
|
|
71
73
|
self._endpoint_url = parsed_globals.endpoint_url
|
|
72
|
-
self._iam_client =
|
|
73
|
-
'iam',
|
|
74
|
+
self._iam_client = create_nested_client(
|
|
75
|
+
self._session, 'iam',
|
|
74
76
|
region_name=self._region,
|
|
75
77
|
endpoint_url=self._endpoint_url,
|
|
76
78
|
verify=parsed_globals.verify_ssl
|
|
@@ -23,6 +23,7 @@ from awscli.customizations.dlm.constants \
|
|
|
23
23
|
POLICY_ARN_PATTERN, \
|
|
24
24
|
RESOURCE_TYPE_SNAPSHOT, \
|
|
25
25
|
RESOURCE_TYPE_IMAGE
|
|
26
|
+
from awscli.utils import create_nested_client
|
|
26
27
|
|
|
27
28
|
LOG = logging.getLogger(__name__)
|
|
28
29
|
|
|
@@ -98,8 +99,9 @@ class CreateDefaultRole(BasicCommand):
|
|
|
98
99
|
self._region = get_region(self._session, parsed_globals)
|
|
99
100
|
self._endpoint_url = parsed_args.iam_endpoint
|
|
100
101
|
self._resource_type = parsed_args.resource_type
|
|
101
|
-
|
|
102
|
-
|
|
102
|
+
from awscli.utils import create_nested_client
|
|
103
|
+
self._iam_client = IAM(create_nested_client(
|
|
104
|
+
self._session, 'iam',
|
|
103
105
|
region_name=self._region,
|
|
104
106
|
endpoint_url=self._endpoint_url,
|
|
105
107
|
verify=parsed_globals.verify_ssl
|
|
@@ -18,6 +18,7 @@ import base64
|
|
|
18
18
|
import datetime
|
|
19
19
|
|
|
20
20
|
from awscli.arguments import CustomArgument
|
|
21
|
+
from awscli.compat import get_current_datetime
|
|
21
22
|
|
|
22
23
|
logger = logging.getLogger('ec2bundleinstance')
|
|
23
24
|
|
|
@@ -117,7 +118,7 @@ def _generate_policy(params):
|
|
|
117
118
|
# Called if there is no policy supplied by the user.
|
|
118
119
|
# Creates a policy that provides access for 24 hours.
|
|
119
120
|
delta = datetime.timedelta(hours=24)
|
|
120
|
-
expires =
|
|
121
|
+
expires = get_current_datetime() + delta
|
|
121
122
|
expires_iso = expires.strftime("%Y-%m-%dT%H:%M:%S.%fZ")
|
|
122
123
|
policy = POLICY.format(expires=expires_iso,
|
|
123
124
|
bucket=params['Bucket'],
|
|
@@ -16,11 +16,13 @@ import json
|
|
|
16
16
|
import os
|
|
17
17
|
import sys
|
|
18
18
|
|
|
19
|
-
from datetime import
|
|
19
|
+
from datetime import timedelta
|
|
20
20
|
from botocore.signers import RequestSigner
|
|
21
21
|
from botocore.model import ServiceId
|
|
22
22
|
|
|
23
23
|
from awscli.formatter import get_formatter
|
|
24
|
+
from awscli.utils import create_nested_client
|
|
25
|
+
from awscli.compat import get_current_datetime
|
|
24
26
|
from awscli.customizations.commands import BasicCommand
|
|
25
27
|
from awscli.customizations.utils import uni_print
|
|
26
28
|
from awscli.customizations.utils import validate_mutually_exclusive
|
|
@@ -106,7 +108,7 @@ class GetTokenCommand(BasicCommand):
|
|
|
106
108
|
]
|
|
107
109
|
|
|
108
110
|
def get_expiration_time(self):
|
|
109
|
-
token_expiration =
|
|
111
|
+
token_expiration = get_current_datetime() + timedelta(
|
|
110
112
|
minutes=TOKEN_EXPIRATION_MINS
|
|
111
113
|
)
|
|
112
114
|
return token_expiration.strftime('%Y-%m-%dT%H:%M:%SZ')
|
|
@@ -247,12 +249,12 @@ class STSClientFactory(object):
|
|
|
247
249
|
client_kwargs['aws_access_key_id'] = creds['AccessKeyId']
|
|
248
250
|
client_kwargs['aws_secret_access_key'] = creds['SecretAccessKey']
|
|
249
251
|
client_kwargs['aws_session_token'] = creds['SessionToken']
|
|
250
|
-
sts = self._session
|
|
252
|
+
sts = create_nested_client(self._session, 'sts', **client_kwargs)
|
|
251
253
|
self._register_k8s_aws_id_handlers(sts)
|
|
252
254
|
return sts
|
|
253
255
|
|
|
254
256
|
def _get_role_credentials(self, region_name, role_arn):
|
|
255
|
-
sts = self._session
|
|
257
|
+
sts = create_nested_client(self._session, 'sts', region_name=region_name)
|
|
256
258
|
return sts.assume_role(
|
|
257
259
|
RoleArn=role_arn, RoleSessionName='EKSGetTokenAuth'
|
|
258
260
|
)['Credentials']
|
|
@@ -26,6 +26,7 @@ from awscli.customizations.eks.kubeconfig import (Kubeconfig,
|
|
|
26
26
|
KubeconfigValidator,
|
|
27
27
|
KubeconfigAppender)
|
|
28
28
|
from awscli.customizations.eks.ordered_yaml import ordered_yaml_dump
|
|
29
|
+
from awscli.utils import create_nested_client
|
|
29
30
|
|
|
30
31
|
LOG = logging.getLogger(__name__)
|
|
31
32
|
|
|
@@ -76,6 +77,12 @@ class UpdateKubeconfigCommand(BasicCommand):
|
|
|
76
77
|
"connect to the cluster the first time."),
|
|
77
78
|
'required': False
|
|
78
79
|
},
|
|
80
|
+
{
|
|
81
|
+
'name': 'proxy-url',
|
|
82
|
+
'help_text': ("Optionally specify a proxy url to route "
|
|
83
|
+
"traffic via when connecting to a cluster."),
|
|
84
|
+
'required': False
|
|
85
|
+
},
|
|
79
86
|
{
|
|
80
87
|
'name': 'dry-run',
|
|
81
88
|
'action': 'store_true',
|
|
@@ -270,7 +277,7 @@ class EKSClient(object):
|
|
|
270
277
|
|
|
271
278
|
# Handle role assumption if needed
|
|
272
279
|
if getattr(self._parsed_args, 'assume_role_arn', None):
|
|
273
|
-
sts_client = self._session
|
|
280
|
+
sts_client = create_nested_client(self._session, 'sts')
|
|
274
281
|
credentials = sts_client.assume_role(
|
|
275
282
|
RoleArn=self._parsed_args.assume_role_arn,
|
|
276
283
|
RoleSessionName='EKSDescribeClusterSession'
|
|
@@ -282,7 +289,7 @@ class EKSClient(object):
|
|
|
282
289
|
"aws_session_token": credentials["SessionToken"],
|
|
283
290
|
})
|
|
284
291
|
|
|
285
|
-
client = self._session
|
|
292
|
+
client = create_nested_client(self._session, "eks", **client_kwargs)
|
|
286
293
|
full_description = client.describe_cluster(name=self._cluster_name)
|
|
287
294
|
cluster = full_description.get("cluster")
|
|
288
295
|
|
|
@@ -304,7 +311,7 @@ class EKSClient(object):
|
|
|
304
311
|
endpoint = self.cluster_description.get("endpoint")
|
|
305
312
|
arn = self.cluster_description.get("arn")
|
|
306
313
|
|
|
307
|
-
|
|
314
|
+
generated_cluster = OrderedDict([
|
|
308
315
|
("cluster", OrderedDict([
|
|
309
316
|
("certificate-authority-data", cert_data),
|
|
310
317
|
("server", endpoint)
|
|
@@ -312,6 +319,11 @@ class EKSClient(object):
|
|
|
312
319
|
("name", arn)
|
|
313
320
|
])
|
|
314
321
|
|
|
322
|
+
if self._parsed_args.proxy_url is not None:
|
|
323
|
+
generated_cluster["cluster"]["proxy-url"] = self._parsed_args.proxy_url
|
|
324
|
+
|
|
325
|
+
return generated_cluster
|
|
326
|
+
|
|
315
327
|
def get_user_entry(self, user_alias=None):
|
|
316
328
|
"""
|
|
317
329
|
Return a user entry generated using
|