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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
**To update a custom health check**
|
|
1
|
+
**Example 1: To update a custom health check**
|
|
2
2
|
|
|
3
3
|
The following ``update-instance-custom-health-status`` example updates the status of the custom health check for the specified service and example service instance to ``HEALTHY``. ::
|
|
4
4
|
|
|
@@ -10,3 +10,16 @@ The following ``update-instance-custom-health-status`` example updates the statu
|
|
|
10
10
|
This command produces no output.
|
|
11
11
|
|
|
12
12
|
For more information, see `AWS Cloud Map service health check configuration <https://docs.aws.amazon.com/cloud-map/latest/dg/services-health-checks.html>`__ in the *AWS Cloud Map Developer Guide*.
|
|
13
|
+
|
|
14
|
+
**Example 2: To update a custom health check using service ARN**
|
|
15
|
+
|
|
16
|
+
The following ``update-instance-custom-health-status`` example updates the status of the custom health check using a service ARN. The ARN is required when updating health status for instances associated with namespaces that are shared with the your account. ::
|
|
17
|
+
|
|
18
|
+
aws servicediscovery update-instance-custom-health-status \
|
|
19
|
+
--service-id arn:aws:servicediscovery:us-west-2:123456789012:service/srv-p5zdwlg5uvvzjita \
|
|
20
|
+
--instance-id web-server-01 \
|
|
21
|
+
--status HEALTHY
|
|
22
|
+
|
|
23
|
+
This command produces no output.
|
|
24
|
+
|
|
25
|
+
For more information, see `AWS Cloud Map service health check configuration <https://docs.aws.amazon.com/cloud-map/latest/dg/services-health-checks.html>`__ and `Cross-account AWS Cloud Map namespace sharing <https://docs.aws.amazon.com/cloud-map/latest/dg/sharing-namespaces.html>`__ in the *AWS Cloud Map Developer Guide*.
|
|
@@ -1,18 +1,35 @@
|
|
|
1
|
-
**To update a private DNS namespace**
|
|
1
|
+
**Example 1: To update a private DNS namespace using ID**
|
|
2
2
|
|
|
3
|
-
The following ``update-private-dns-namespace`` example updates the description of a private DNS namespace. ::
|
|
3
|
+
The following ``update-private-dns-namespace`` example updates the description of a private DNS namespace using namespace ID. ::
|
|
4
4
|
|
|
5
5
|
aws servicediscovery update-private-dns-namespace \
|
|
6
|
-
--id ns-
|
|
7
|
-
--updater-request-id
|
|
6
|
+
--id ns-abcd1234xmpl5678 \
|
|
7
|
+
--updater-request-id abcd1234-5678-90ab-cdef-xmpl12345678 \
|
|
8
8
|
--namespace Description="The updated namespace description."
|
|
9
9
|
|
|
10
10
|
Output::
|
|
11
11
|
|
|
12
12
|
{
|
|
13
|
-
"OperationId": "
|
|
13
|
+
"OperationId": "abcd1234-5678-90ab-cdef-xmpl12345678"
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
To confirm that the operation succeeded, you can run ``get-operation``.
|
|
17
17
|
|
|
18
18
|
For more information, see `AWS Cloud Map namespaces <https://docs.aws.amazon.com/cloud-map/latest/dg/working-with-namespaces.html>`__ in the *AWS Cloud Map Developer Guide*.
|
|
19
|
+
|
|
20
|
+
**Example 2: To update a private DNS namespace using ARN**
|
|
21
|
+
|
|
22
|
+
The following ``update-private-dns-namespace`` example updates a private DNS namespace using its ARN. ::
|
|
23
|
+
|
|
24
|
+
aws servicediscovery update-private-dns-namespace \
|
|
25
|
+
--id arn:aws:servicediscovery:us-west-2:123456789012:namespace/ns-abcd1234xmpl5678 \
|
|
26
|
+
--updater-request-id abcd1234-5678-90ab-cdef-xmpl12345678 \
|
|
27
|
+
--namespace Description="The updated namespace description."
|
|
28
|
+
|
|
29
|
+
Output::
|
|
30
|
+
|
|
31
|
+
{
|
|
32
|
+
"OperationId": "abcd1234-5678-90ab-cdef-xmpl12345678"
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
For more information, see `AWS Cloud Map namespaces <https://docs.aws.amazon.com/cloud-map/latest/dg/working-with-namespaces.html>`__ in the *AWS Cloud Map Developer Guide*.
|
|
@@ -1,18 +1,35 @@
|
|
|
1
|
-
**To update a public DNS namespace**
|
|
1
|
+
**Example 1: To update a public DNS namespace using ID**
|
|
2
2
|
|
|
3
|
-
The following ``update-public-dns-namespace`` example updates the description of a public DNS namespace. ::
|
|
3
|
+
The following ``update-public-dns-namespace`` example updates the description of a public DNS namespace using its ID. ::
|
|
4
4
|
|
|
5
5
|
aws servicediscovery update-public-dns-namespace \
|
|
6
|
-
--id ns-
|
|
7
|
-
--updater-request-id
|
|
6
|
+
--id ns-abcd1234xmpl5678 \
|
|
7
|
+
--updater-request-id abcd1234-5678-90ab-cdef-xmpl12345678 \
|
|
8
8
|
--namespace Description="The updated namespace description."
|
|
9
9
|
|
|
10
10
|
Output::
|
|
11
11
|
|
|
12
12
|
{
|
|
13
|
-
"OperationId": "
|
|
13
|
+
"OperationId": "abcd1234-5678-90ab-cdef-xmpl12345678"
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
To confirm that the operation succeeded, you can run ``get-operation``.
|
|
17
17
|
|
|
18
18
|
For more information, see `AWS Cloud Map namespaces <https://docs.aws.amazon.com/cloud-map/latest/dg/working-with-namespaces.html>`__ in the *AWS Cloud Map Developer Guide*.
|
|
19
|
+
|
|
20
|
+
**Example 2: To update a public DNS namespace using ARN**
|
|
21
|
+
|
|
22
|
+
The following ``update-public-dns-namespace`` example updates a public DNS namespace using its ARN. ::
|
|
23
|
+
|
|
24
|
+
aws servicediscovery update-public-dns-namespace \
|
|
25
|
+
--id arn:aws:servicediscovery:us-west-2:123456789012:namespace/ns-abcd1234xmpl5678 \
|
|
26
|
+
--updater-request-id abcd1234-5678-90ab-cdef-xmpl12345678 \
|
|
27
|
+
--namespace Description="The updated namespace description."
|
|
28
|
+
|
|
29
|
+
Output::
|
|
30
|
+
|
|
31
|
+
{
|
|
32
|
+
"OperationId": "abcd1234-5678-90ab-cdef-xmpl12345678"
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
For more information, see `AWS Cloud Map namespaces <https://docs.aws.amazon.com/cloud-map/latest/dg/working-with-namespaces.html>`__ in the *AWS Cloud Map Developer Guide*.
|
|
@@ -1,11 +1,23 @@
|
|
|
1
|
-
|
|
1
|
+
**Example 1: To update a service to add an attribute**
|
|
2
2
|
|
|
3
3
|
The following ``update-service-attributes`` example updates the specified service to add a service attribute with a key ``Port`` and a value ``80``. ::
|
|
4
4
|
|
|
5
5
|
aws servicediscovery update-service-attributes \
|
|
6
|
-
--service-id srv-
|
|
6
|
+
--service-id srv-abcd1234xmpl5678 \
|
|
7
7
|
--attributes Port=80
|
|
8
8
|
|
|
9
9
|
This command produces no output.
|
|
10
10
|
|
|
11
11
|
For more information, see `AWS Cloud Map services <https://docs.aws.amazon.com/cloud-map/latest/dg/working-with-services.html>`__ in the *AWS Cloud Map Developer Guide*.
|
|
12
|
+
|
|
13
|
+
**Example 2: To update a service attributes using ARN**
|
|
14
|
+
|
|
15
|
+
The following ``update-service-attributes`` example updates a service using its ARN to add a service attribute. Specifying the ARN is necessary for adding attributes to services created in namespaces shared with your account. ::
|
|
16
|
+
|
|
17
|
+
aws servicediscovery update-service-attributes \
|
|
18
|
+
--service-id arn:aws:servicediscovery:us-west-2:123456789012:service/srv-abcd1234xmpl5678 \
|
|
19
|
+
--attributes Port=80
|
|
20
|
+
|
|
21
|
+
This command produces no output.
|
|
22
|
+
|
|
23
|
+
For more information, see `AWS Cloud Map services <https://docs.aws.amazon.com/cloud-map/latest/dg/working-with-services.html>`__ and `Shared AWS Cloud Map namespaces <https://docs.aws.amazon.com/cloud-map/latest/dg/sharing-namespaces.html>`__ in the *AWS Cloud Map Developer Guide*.
|
|
@@ -1,17 +1,33 @@
|
|
|
1
|
-
**To update a service**
|
|
1
|
+
**Example 1: To update a service**
|
|
2
2
|
|
|
3
3
|
The following ``update-service`` example updates a service to update the ``DnsConfig`` and ``HealthCheckConfig`` settings. ::
|
|
4
4
|
|
|
5
5
|
aws servicediscovery update-service \
|
|
6
|
-
--id srv-
|
|
7
|
-
--service "DnsConfig={DnsRecords=[{
|
|
6
|
+
--id srv-abcd1234xmpl5678 \
|
|
7
|
+
--service "DnsConfig={DnsRecords=[{Type=A,TTL=60}]},HealthCheckConfig={Type=HTTP,ResourcePath=/,FailureThreshold=2}"
|
|
8
8
|
|
|
9
9
|
Output::
|
|
10
10
|
|
|
11
11
|
{
|
|
12
|
-
"OperationId": "
|
|
12
|
+
"OperationId": "abcd1234-5678-90ab-cdef-xmpl12345678"
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
To confirm that the operation succeeded, you can run ``get-operation``.
|
|
16
16
|
|
|
17
17
|
For more information about updating a service, see `Updating an AWS Cloud Map service <https://docs.aws.amazon.com/cloud-map/latest/dg/editing-services.html>`__ in the *AWS Cloud Map Developer Guide*.
|
|
18
|
+
|
|
19
|
+
**Example 2: To update a service using ARN**
|
|
20
|
+
|
|
21
|
+
The following ``update-service`` example updates a service using its ARN. Specifying an ARN is necessary for services that are created in namespaces shared with your account. ::
|
|
22
|
+
|
|
23
|
+
aws servicediscovery update-service \
|
|
24
|
+
--id arn:aws:servicediscovery:us-west-2:123456789012:service/srv-abcd1234xmpl5678 \
|
|
25
|
+
--service "DnsConfig={DnsRecords=[{Type=A,TTL=60}]},HealthCheckConfig={Type=HTTP,ResourcePath=/,FailureThreshold=2}"
|
|
26
|
+
|
|
27
|
+
Output::
|
|
28
|
+
|
|
29
|
+
{
|
|
30
|
+
"OperationId": "abcd1234-5678-90ab-cdef-xmpl12345678"
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
For more information about updating a service, see `Updating an AWS Cloud Map service <https://docs.aws.amazon.com/cloud-map/latest/dg/editing-services.html>`__ and `Shared AWS Cloud Map namespaces <https://docs.aws.amazon.com/cloud-map/latest/dg/sharing-namespaces.html>`__ in the *AWS Cloud Map Developer Guide*.
|
|
@@ -15,7 +15,7 @@ Output::
|
|
|
15
15
|
"Tier": "Standard"
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
For more information, see `Create a Systems Manager parameter (AWS CLI) <https://docs.aws.amazon.com/systems-manager/latest/userguide/param-create-cli.html>`__,
|
|
18
|
+
For more information, see `Create a Systems Manager parameter (AWS CLI) <https://docs.aws.amazon.com/systems-manager/latest/userguide/param-create-cli.html>`__, `Managing parameter tiers <https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-advanced-parameters.html>`__, and `Working with parameter policies <https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-policies.html>`__ in the *AWS Systems Manager User Guide*.
|
|
19
19
|
|
|
20
20
|
**Example 2: To create an advanced parameter**
|
|
21
21
|
|
|
@@ -35,11 +35,11 @@ Output::
|
|
|
35
35
|
"Tier": "Advanced"
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
For more information, see `Create a Systems Manager parameter (AWS CLI) <https://docs.aws.amazon.com/systems-manager/latest/userguide/param-create-cli.html>`__,
|
|
38
|
+
For more information, see `Create a Systems Manager parameter (AWS CLI) <https://docs.aws.amazon.com/systems-manager/latest/userguide/param-create-cli.html>`__, `Managing parameter tiers <https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-advanced-parameters.html>`__, and `Working with parameter policies <https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-policies.html>`__ in the *AWS Systems Manager User Guide*.
|
|
39
39
|
|
|
40
40
|
**Example 3: To convert a standard parameter to an advanced parameter**
|
|
41
41
|
|
|
42
|
-
The following ``put-parameter`` example converts
|
|
42
|
+
The following ``put-parameter`` example converts an existing standard parameter into an advanced parameter. ::
|
|
43
43
|
|
|
44
44
|
aws ssm put-parameter \
|
|
45
45
|
--name "MyConvertedParameter" \
|
|
@@ -55,7 +55,7 @@ Output::
|
|
|
55
55
|
"Tier": "Advanced"
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
For more information, see `Create a Systems Manager parameter (AWS CLI) <https://docs.aws.amazon.com/systems-manager/latest/userguide/param-create-cli.html>`__,
|
|
58
|
+
For more information, see `Create a Systems Manager parameter (AWS CLI) <https://docs.aws.amazon.com/systems-manager/latest/userguide/param-create-cli.html>`__, `Managing parameter tiers <https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-advanced-parameters.html>`__, and `Working with parameter policies <https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-policies.html>`__ in the *AWS Systems Manager User Guide*.
|
|
59
59
|
|
|
60
60
|
**Example 4: To create a parameter with a policy attached**
|
|
61
61
|
|
|
@@ -75,7 +75,7 @@ Output::
|
|
|
75
75
|
"Tier": "Advanced"
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
For more information, see `Create a Systems Manager parameter (AWS CLI) <https://docs.aws.amazon.com/systems-manager/latest/userguide/param-create-cli.html>`__,
|
|
78
|
+
For more information, see `Create a Systems Manager parameter (AWS CLI) <https://docs.aws.amazon.com/systems-manager/latest/userguide/param-create-cli.html>`__, `Managing parameter tiers <https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-advanced-parameters.html>`__, and `Working with parameter policies <https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-policies.html>`__ in the *AWS Systems Manager User Guide*.
|
|
79
79
|
|
|
80
80
|
**Example 5: To add a policy to an existing parameter**
|
|
81
81
|
|
|
@@ -96,4 +96,4 @@ Output::
|
|
|
96
96
|
"Tier": "Advanced"
|
|
97
97
|
}
|
|
98
98
|
|
|
99
|
-
For more information, see `Create a Systems Manager parameter (AWS CLI) <https://docs.aws.amazon.com/systems-manager/latest/userguide/param-create-cli.html>`__,
|
|
99
|
+
For more information, see `Create a Systems Manager parameter (AWS CLI) <https://docs.aws.amazon.com/systems-manager/latest/userguide/param-create-cli.html>`__, `Managing parameter tiers <https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-advanced-parameters.html>`__, and `Working with parameter policies <https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-policies.html>`__ in the *AWS Systems Manager User Guide*.
|
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
**
|
|
1
|
+
**To update a static policy**
|
|
2
2
|
|
|
3
|
-
The following ``
|
|
3
|
+
The following ``update-policy`` example modifies an existing static policy by updating its description and statement. ::
|
|
4
4
|
|
|
5
|
-
aws verifiedpermissions
|
|
6
|
-
--
|
|
5
|
+
aws verifiedpermissions update-policy \
|
|
6
|
+
--policy-id SPEXAMPLEabcdefg111111 \
|
|
7
|
+
--definition file://updated-definition.txt \
|
|
7
8
|
--policy-store-id PSEXAMPLEabcdefg111111
|
|
8
9
|
|
|
9
10
|
The ``statement`` parameter takes a string representation of a JSON object. It contains embedded quotation marks (") within the outermost quotation mark pair. This requires you to convert the JSON to a string by preceding all embedded quotation marks with a backslash character ( \" ) and combining all lines into a single text line with no line breaks.
|
|
10
11
|
|
|
11
|
-
|
|
12
|
+
You can display example strings wrapped across multiple lines for readability, but the operation requires the parameters to be submitted as single-line strings.
|
|
12
13
|
|
|
13
|
-
Contents of file ``definition.txt``::
|
|
14
|
+
Contents of file ``updated-definition.txt``::
|
|
14
15
|
|
|
15
16
|
{
|
|
16
17
|
"static": {
|
|
17
|
-
"description":
|
|
18
|
-
"statement": "permit(principal in UserGroup::\"janeFriends\", action, resource in Album::\"vacationFolder\" );"
|
|
18
|
+
"description": "Updated policy to grant janeFriends UserGroup access to the vacationFolder Album with view action only",
|
|
19
|
+
"statement": "permit(principal in UserGroup::\"janeFriends\", action == Action::\"view\", resource in Album::\"vacationFolder\" );"
|
|
19
20
|
}
|
|
20
21
|
}
|
|
21
22
|
|
|
@@ -37,73 +38,4 @@ Output::
|
|
|
37
38
|
}
|
|
38
39
|
}
|
|
39
40
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
The following ``create-policy`` example creates a static policy with a policy scope that specifies only a resource. ::
|
|
43
|
-
|
|
44
|
-
aws verifiedpermissions create-policy \
|
|
45
|
-
--definition file://definition2.txt \
|
|
46
|
-
--policy-store-id PSEXAMPLEabcdefg111111
|
|
47
|
-
|
|
48
|
-
Contents of file ``definition2.txt``::
|
|
49
|
-
|
|
50
|
-
{
|
|
51
|
-
"static": {
|
|
52
|
-
"description": "Grant everyone access to the publicFolder Album",
|
|
53
|
-
"statement": "permit(principal, action, resource in Album::\"publicFolder\");"
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
Output::
|
|
58
|
-
|
|
59
|
-
{
|
|
60
|
-
"createdDate": "2023-06-12T20:39:44.975897+00:00",
|
|
61
|
-
"lastUpdatedDate": "2023-06-12T20:39:44.975897+00:00",
|
|
62
|
-
"policyId": "PbfR73F8oh5MMfr9uRtFDB",
|
|
63
|
-
"policyStoreId": "PSEXAMPLEabcdefg222222",
|
|
64
|
-
"policyType": "STATIC",
|
|
65
|
-
"resource": {
|
|
66
|
-
"entityId": "publicFolder",
|
|
67
|
-
"entityType": "Album"
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
**Example 3: To create a template-linked policy that is associated with the specified template**
|
|
72
|
-
|
|
73
|
-
The following ``create-policy`` example creates a template-linked policy using the specified policy template and associates the specified principal to use with the new template-linked policy. ::
|
|
74
|
-
|
|
75
|
-
aws verifiedpermissions create-policy \
|
|
76
|
-
--definition file://definition2.txt \
|
|
77
|
-
--policy-store-id PSEXAMPLEabcdefg111111
|
|
78
|
-
|
|
79
|
-
Contents of definition3.txt::
|
|
80
|
-
|
|
81
|
-
{
|
|
82
|
-
"templateLinked": {
|
|
83
|
-
"policyTemplateId": "PTEXAMPLEabcdefg111111",
|
|
84
|
-
"principal": {
|
|
85
|
-
"entityType": "User",
|
|
86
|
-
"entityId": "alice"
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
Output::
|
|
92
|
-
|
|
93
|
-
{
|
|
94
|
-
"createdDate": "2023-06-12T20:49:51.490211+00:00",
|
|
95
|
-
"lastUpdatedDate": "2023-06-12T20:49:51.490211+00:00",
|
|
96
|
-
"policyId": "TPEXAMPLEabcdefg111111",
|
|
97
|
-
"policyStoreId": "PSEXAMPLEabcdefg111111",
|
|
98
|
-
"policyType": "TEMPLATE_LINKED",
|
|
99
|
-
"principal": {
|
|
100
|
-
"entityId": "alice",
|
|
101
|
-
"entityType": "User"
|
|
102
|
-
},
|
|
103
|
-
"resource": {
|
|
104
|
-
"entityId": "VacationPhoto94.jpg",
|
|
105
|
-
"entityType": "Photo"
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
For more information about policies, see `Amazon Verified Permissions policies <https://docs.aws.amazon.com/verifiedpermissions/latest/userguide/policies.html>`__ in the *Amazon Verified Permissions User Guide*.
|
|
41
|
+
For more information about policies, see `Amazon Verified Permissions policies <https://docs.aws.amazon.com/verifiedpermissions/latest/userguide/policies.html>`__ in the *Amazon Verified Permissions User Guide*.
|
|
@@ -28,7 +28,6 @@ Output::
|
|
|
28
28
|
"WorkspaceSecurityGroupId": "sg-0d89e927e5645d7c5",
|
|
29
29
|
"State": "REGISTERED",
|
|
30
30
|
"WorkspaceCreationProperties": {
|
|
31
|
-
"EnableWorkDocs": false,
|
|
32
31
|
"EnableInternetAccess": false,
|
|
33
32
|
"UserEnabledAsLocalAdministrator": true,
|
|
34
33
|
"EnableMaintenanceMode": true
|
|
@@ -55,4 +54,4 @@ Output::
|
|
|
55
54
|
]
|
|
56
55
|
}
|
|
57
56
|
|
|
58
|
-
For more information, see `Manage directories for WorkSpaces <https://docs.aws.amazon.com/workspaces/latest/adminguide/manage-workspaces-directory.html>`__ in the *Amazon WorkSpaces Administration Guide*.
|
|
57
|
+
For more information, see `Manage directories for WorkSpaces Personal <https://docs.aws.amazon.com/workspaces/latest/adminguide/manage-workspaces-directory.html>`__ in the *Amazon WorkSpaces Administration Guide*.
|
|
@@ -3,9 +3,8 @@
|
|
|
3
3
|
The following ``register-workspace-directory`` example registers the specified directory for use with Amazon WorkSpaces. ::
|
|
4
4
|
|
|
5
5
|
aws workspaces register-workspace-directory \
|
|
6
|
-
--directory-id d-926722edaf
|
|
7
|
-
--no-enable-work-docs
|
|
6
|
+
--directory-id d-926722edaf
|
|
8
7
|
|
|
9
8
|
This command produces no output.
|
|
10
9
|
|
|
11
|
-
For more information, see `Register
|
|
10
|
+
For more information, see `Register an existing AWS Directory Service directory with WorkSpaces Personal <https://docs.aws.amazon.com/workspaces/latest/adminguide/register-deregister-directory.html>`__ in the *Amazon WorkSpaces Administration Guide*.
|
awscli/handlers.py
CHANGED
|
@@ -83,8 +83,6 @@ from awscli.customizations.kinesis import (
|
|
|
83
83
|
from awscli.customizations.kms import register_fix_kms_create_grant_docs
|
|
84
84
|
from awscli.customizations.logs import register_logs_commands
|
|
85
85
|
from awscli.customizations.mturk import register_alias_mturk_command
|
|
86
|
-
from awscli.customizations.opsworks import initialize as opsworks_init
|
|
87
|
-
from awscli.customizations.opsworkscm import register_alias_opsworks_cm
|
|
88
86
|
from awscli.customizations.overridesslcommonname import (
|
|
89
87
|
register_override_ssl_common_name,
|
|
90
88
|
)
|
|
@@ -188,7 +186,6 @@ def awscli_initialize(event_handlers):
|
|
|
188
186
|
register_get_status(event_handlers)
|
|
189
187
|
register_rename_config(event_handlers)
|
|
190
188
|
register_scalar_parser(event_handlers)
|
|
191
|
-
opsworks_init(event_handlers)
|
|
192
189
|
register_lambda_create_function(event_handlers)
|
|
193
190
|
register_fix_kms_create_grant_docs(event_handlers)
|
|
194
191
|
register_create_hosted_zone_doc_fix(event_handlers)
|
|
@@ -208,7 +205,6 @@ def awscli_initialize(event_handlers):
|
|
|
208
205
|
register_gamelift_commands(event_handlers)
|
|
209
206
|
register_ec2_page_size_injector(event_handlers)
|
|
210
207
|
cloudformation_init(event_handlers)
|
|
211
|
-
register_alias_opsworks_cm(event_handlers)
|
|
212
208
|
register_alias_mturk_command(event_handlers)
|
|
213
209
|
register_alias_sagemaker_runtime_command(event_handlers)
|
|
214
210
|
register_alias_socialmessaging_command(event_handlers)
|
awscli/paramfile.py
CHANGED
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
# distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
|
|
11
11
|
# ANY KIND, either express or implied. See the License for the specific
|
|
12
12
|
# language governing permissions and limitations under the License.
|
|
13
|
+
import sys
|
|
14
|
+
|
|
13
15
|
import copy
|
|
14
16
|
import logging
|
|
15
17
|
import os
|
|
@@ -20,6 +22,7 @@ from botocore.httpsession import URLLib3Session
|
|
|
20
22
|
|
|
21
23
|
from awscli import argprocess
|
|
22
24
|
from awscli.compat import compat_open
|
|
25
|
+
from awscli.utils import resolve_v2_debug_mode
|
|
23
26
|
|
|
24
27
|
logger = logging.getLogger(__name__)
|
|
25
28
|
|
|
@@ -166,7 +169,7 @@ class URIArgumentHandler:
|
|
|
166
169
|
prefixes.update(REMOTE_PREFIX_MAP)
|
|
167
170
|
self._prefixes = prefixes
|
|
168
171
|
|
|
169
|
-
def __call__(self, event_name, param, value, **kwargs):
|
|
172
|
+
def __call__(self, event_name, param, value, parsed_globals=None, **kwargs):
|
|
170
173
|
"""Handler that supports param values from URIs."""
|
|
171
174
|
cli_argument = param
|
|
172
175
|
qualified_param_name = '.'.join(event_name.split('.')[1:])
|
|
@@ -175,13 +178,27 @@ class URIArgumentHandler:
|
|
|
175
178
|
):
|
|
176
179
|
return
|
|
177
180
|
else:
|
|
178
|
-
return self._check_for_uri_param(cli_argument, value)
|
|
181
|
+
return self._check_for_uri_param(cli_argument, value, parsed_globals)
|
|
179
182
|
|
|
180
|
-
def _check_for_uri_param(self, param, value):
|
|
183
|
+
def _check_for_uri_param(self, param, value, parsed_globals):
|
|
181
184
|
if isinstance(value, list) and len(value) == 1:
|
|
182
185
|
value = value[0]
|
|
183
186
|
try:
|
|
184
|
-
|
|
187
|
+
param_file = get_paramfile(value, self._prefixes)
|
|
188
|
+
if param_file is not None and resolve_v2_debug_mode(parsed_globals):
|
|
189
|
+
print(
|
|
190
|
+
'\nAWS CLI v2 UPGRADE WARNING: For input parameters that '
|
|
191
|
+
'have a prefix of `http://` or `https://`, AWS CLI v2 '
|
|
192
|
+
'will not automatically request the content of the URL '
|
|
193
|
+
'for the parameter, and the `cli_follow_urlparam` option '
|
|
194
|
+
'has been removed. For guidance on how to adapt this '
|
|
195
|
+
'command to AWS CLI v2 usage, see '
|
|
196
|
+
'https://docs.aws.amazon.com/cli/latest/userguide/'
|
|
197
|
+
'cliv2-migration-changes.html'
|
|
198
|
+
'#cliv2-migration-paramfile.\n',
|
|
199
|
+
file=sys.stderr,
|
|
200
|
+
)
|
|
201
|
+
return param_file
|
|
185
202
|
except ResourceLoadingError as e:
|
|
186
203
|
raise argprocess.ParamError(param.cli_name, str(e))
|
|
187
204
|
|
awscli/testutils.py
CHANGED
|
@@ -27,7 +27,9 @@ import json
|
|
|
27
27
|
import logging
|
|
28
28
|
import os
|
|
29
29
|
import platform
|
|
30
|
+
import random
|
|
30
31
|
import shutil
|
|
32
|
+
import string
|
|
31
33
|
import sys
|
|
32
34
|
import tempfile
|
|
33
35
|
import time
|
|
@@ -36,6 +38,7 @@ import uuid
|
|
|
36
38
|
from pprint import pformat
|
|
37
39
|
from subprocess import PIPE, Popen
|
|
38
40
|
from unittest import mock
|
|
41
|
+
from pathlib import Path
|
|
39
42
|
|
|
40
43
|
import botocore.loaders
|
|
41
44
|
from botocore.awsrequest import AWSResponse
|
|
@@ -43,11 +46,17 @@ from botocore.exceptions import ClientError, WaiterError
|
|
|
43
46
|
|
|
44
47
|
import awscli.clidriver
|
|
45
48
|
from awscli.compat import BytesIO, StringIO
|
|
49
|
+
from awscli.utils import create_nested_client
|
|
46
50
|
|
|
47
51
|
_LOADER = botocore.loaders.Loader()
|
|
48
52
|
INTEG_LOG = logging.getLogger('awscli.tests.integration')
|
|
49
53
|
AWS_CMD = None
|
|
50
54
|
|
|
55
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
56
|
+
with open(Path(tmpdir) / 'aws-cli-tmp-file', 'w') as f:
|
|
57
|
+
pass
|
|
58
|
+
CASE_INSENSITIVE = (Path(tmpdir) / 'AWS-CLI-TMP-FILE').exists()
|
|
59
|
+
|
|
51
60
|
|
|
52
61
|
def skip_if_windows(reason):
|
|
53
62
|
"""Decorator to skip tests that should not be run on windows.
|
|
@@ -68,6 +77,15 @@ def skip_if_windows(reason):
|
|
|
68
77
|
return decorator
|
|
69
78
|
|
|
70
79
|
|
|
80
|
+
def skip_if_case_sensitive():
|
|
81
|
+
def decorator(func):
|
|
82
|
+
return unittest.skipIf(
|
|
83
|
+
not CASE_INSENSITIVE,
|
|
84
|
+
"This test requires a case-insensitive filesystem."
|
|
85
|
+
)(func)
|
|
86
|
+
return decorator
|
|
87
|
+
|
|
88
|
+
|
|
71
89
|
def create_clidriver():
|
|
72
90
|
driver = awscli.clidriver.create_clidriver()
|
|
73
91
|
session = driver.session
|
|
@@ -143,7 +161,7 @@ def create_bucket(session, name=None, region=None):
|
|
|
143
161
|
"""
|
|
144
162
|
if not region:
|
|
145
163
|
region = 'us-west-2'
|
|
146
|
-
client = session
|
|
164
|
+
client = create_nested_client(session, 's3', region_name=region)
|
|
147
165
|
if name:
|
|
148
166
|
bucket_name = name
|
|
149
167
|
else:
|
|
@@ -172,7 +190,7 @@ def create_dir_bucket(session, name=None, location=None):
|
|
|
172
190
|
if not location:
|
|
173
191
|
location = ('us-west-2', 'usw2-az1')
|
|
174
192
|
region, az = location
|
|
175
|
-
client = session
|
|
193
|
+
client = create_nested_client(session, 's3', region_name=region)
|
|
176
194
|
if name:
|
|
177
195
|
bucket_name = name
|
|
178
196
|
else:
|
|
@@ -778,7 +796,7 @@ class BaseS3CLICommand(unittest.TestCase):
|
|
|
778
796
|
self.session = botocore.session.get_session()
|
|
779
797
|
self.regions = {}
|
|
780
798
|
self.region = 'us-west-2'
|
|
781
|
-
self.client = self.session
|
|
799
|
+
self.client = create_nested_client(self.session, 's3', region_name=self.region)
|
|
782
800
|
self.extra_setup()
|
|
783
801
|
|
|
784
802
|
def extra_setup(self):
|
|
@@ -799,7 +817,7 @@ class BaseS3CLICommand(unittest.TestCase):
|
|
|
799
817
|
|
|
800
818
|
def create_client_for_bucket(self, bucket_name):
|
|
801
819
|
region = self.regions.get(bucket_name, self.region)
|
|
802
|
-
client = self.session
|
|
820
|
+
client = create_nested_client(self.session, 's3', region_name=region)
|
|
803
821
|
return client
|
|
804
822
|
|
|
805
823
|
def assert_key_contents_equal(self, bucket, key, expected_contents):
|
awscli/topics/config-vars.rst
CHANGED
|
@@ -98,7 +98,7 @@ The valid values of the ``output`` configuration variable are:
|
|
|
98
98
|
``cli_timestamp_format`` controls the format of timestamps displayed by the AWS CLI.
|
|
99
99
|
The valid values of the ``cli_timestamp_format`` configuration variable are:
|
|
100
100
|
|
|
101
|
-
*
|
|
101
|
+
* wire - Display the timestamp exactly as received from the HTTP response.
|
|
102
102
|
* iso8601 - Reformat timestamp using iso8601 in the UTC timezone.
|
|
103
103
|
|
|
104
104
|
``cli_follow_urlparam`` controls whether or not the CLI will attempt to follow
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
:title: AWS CLI S3 Case-Insensitivity
|
|
2
|
+
:description: Using 'aws s3' commands on case-insensitive filesystems
|
|
3
|
+
:category: S3
|
|
4
|
+
:related command: s3 cp, s3 sync, s3 mv
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
This page explains how to detect and handle potential case conflicts when
|
|
8
|
+
downloading multiple objects from S3 to a local case-insensitive filesystem
|
|
9
|
+
using a single AWS CLI command.
|
|
10
|
+
|
|
11
|
+
Case conflicts
|
|
12
|
+
==============
|
|
13
|
+
S3 object keys are case-sensitive meaning that a bucket can have a set of
|
|
14
|
+
key names that differ only by case, for example, ``a.txt`` and ``A.txt``.
|
|
15
|
+
|
|
16
|
+
The AWS CLI offers high-level S3 commands that manage transfers of
|
|
17
|
+
multiple S3 objects using a single command:
|
|
18
|
+
|
|
19
|
+
* ``aws s3 sync``
|
|
20
|
+
* ``aws s3 cp --recursive``
|
|
21
|
+
* ``aws s3 mv --recursive``
|
|
22
|
+
|
|
23
|
+
Case conflicts can occur on case-insensitive filesystems when an S3 bucket
|
|
24
|
+
has multiple objects whose keys differ only by case and a single AWS CLI
|
|
25
|
+
command is called to download multiple S3 objects **OR** a local file
|
|
26
|
+
already exists whose name differs only by case.
|
|
27
|
+
|
|
28
|
+
For example, consider an S3 bucket with the following stored objects:
|
|
29
|
+
|
|
30
|
+
* ``a.txt``
|
|
31
|
+
* ``A.txt``
|
|
32
|
+
|
|
33
|
+
When the following AWS CLI command is called, the AWS CLI will submit
|
|
34
|
+
requests to download ``a.txt`` and ``A.txt``. Since only
|
|
35
|
+
one can exist on a case-insensitive filesystem, the last download to finish
|
|
36
|
+
will be the file that's locally available.
|
|
37
|
+
|
|
38
|
+
.. code-block::
|
|
39
|
+
|
|
40
|
+
aws s3 sync s3://examplebucket ./mylocaldir
|
|
41
|
+
|
|
42
|
+
Detecting and handling case conflicts
|
|
43
|
+
=====================================
|
|
44
|
+
To detect and handle case conflicts, you can specify the ``--case-conflict``
|
|
45
|
+
parameter. The following values are valid options:
|
|
46
|
+
|
|
47
|
+
* ``error`` - When a case conflict is detected, the command will immediately
|
|
48
|
+
fail and abort in-progress downloads.
|
|
49
|
+
* ``warn`` - When a case conflict is detected, the AWS CLI will
|
|
50
|
+
display a warning.
|
|
51
|
+
* ``skip`` - When a case conflict is detected, the command will skip
|
|
52
|
+
downloading the object and continue and display a warning.
|
|
53
|
+
* ``ignore`` - (Default) Case conflicts will not be detected or handled.
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
Continuing the prior example, the following describes what happens when
|
|
57
|
+
appending the ``--case-conflict`` parameter with possible values:
|
|
58
|
+
|
|
59
|
+
``--case-conflict error``
|
|
60
|
+
|
|
61
|
+
1. Submit a download request for ``A.txt``.
|
|
62
|
+
2. Detect that ``a.txt`` conflicts with an object that's been submitted for download.
|
|
63
|
+
3. Throw an error. If ``A.txt`` finished downloading, it will be locally available. Otherwise, the download request for ``A.txt`` will be aborted.
|
|
64
|
+
|
|
65
|
+
``--case-conflict warn``
|
|
66
|
+
|
|
67
|
+
1. Submit a download request for ``A.txt``.
|
|
68
|
+
2. Detect that ``a.txt`` conflicts with an object that's been submitted for download.
|
|
69
|
+
3. Display a warning.
|
|
70
|
+
4. Submit a download request for ``a.txt``, downloading ``A.txt`` and ``a.txt`` in parallel.
|
|
71
|
+
|
|
72
|
+
``--case-conflict skip``
|
|
73
|
+
|
|
74
|
+
1. Submit a download request for ``A.txt``.
|
|
75
|
+
2. Detect that ``a.txt`` conflicts with an object that's been submitted for download.
|
|
76
|
+
3. Skip downloading ``a.txt`` and continue.
|
|
77
|
+
|
|
78
|
+
``--case-conflict ignore``
|
|
79
|
+
|
|
80
|
+
1. Submit a download request for ``A.txt``.
|
|
81
|
+
2. Submit a download request for ``a.txt``, downloading ``A.txt`` and ``a.txt`` in parallel.
|
|
82
|
+
|
|
83
|
+
If your local filesystem is case-sensitive, there's no need to detect and
|
|
84
|
+
handle case conflicts. We recommend setting ``--case-conflict ignore``
|
|
85
|
+
in this case.
|
|
86
|
+
|
|
87
|
+
S3 Express directory buckets
|
|
88
|
+
============================
|
|
89
|
+
Detecting case conflicts is **NOT** supported when the source is an S3 Express
|
|
90
|
+
directory bucket. When operating on directory buckets, valid values for the
|
|
91
|
+
``--case-conflict`` parameter are:
|
|
92
|
+
|
|
93
|
+
* ``warn``
|
|
94
|
+
* ``ignore``
|
|
95
|
+
|
|
96
|
+
The following values are invalid when operating on directory buckets:
|
|
97
|
+
|
|
98
|
+
* ``error``
|
|
99
|
+
* ``skip``
|
|
100
|
+
|
|
101
|
+
For example, calling the following command will fail:
|
|
102
|
+
|
|
103
|
+
.. code-block::
|
|
104
|
+
|
|
105
|
+
aws s3 cp s3://mydirbucket--usw2-az1--x-s3 ./mylocaldir --recursive --case-conflict error
|