awscli 1.37.11__py3-none-any.whl → 1.37.13__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.

Potentially problematic release.


This version of awscli might be problematic. Click here for more details.

Files changed (145) hide show
  1. awscli/__init__.py +1 -1
  2. awscli/examples/cloudtrail/create-subscription.rst +35 -35
  3. awscli/examples/cloudtrail/create-trail.rst +19 -19
  4. awscli/examples/cloudtrail/describe-trails.rst +36 -36
  5. awscli/examples/cloudtrail/update-subscription.rst +33 -33
  6. awscli/examples/cloudtrail/update-trail.rst +18 -18
  7. awscli/examples/codepipeline/list-action-executions.rst +114 -114
  8. awscli/examples/ec2/create-spot-datafeed-subscription.rst +24 -24
  9. awscli/examples/elasticbeanstalk/create-application-version.rst +3 -3
  10. awscli/examples/kendra/describe-data-source.rst +1 -1
  11. awscli/examples/networkflowmonitor/create-monitor.rst +19 -0
  12. awscli/examples/networkflowmonitor/create-scope.rst +16 -0
  13. awscli/examples/networkflowmonitor/delete-monitor.rst +10 -0
  14. awscli/examples/networkflowmonitor/delete-scope.rst +10 -0
  15. awscli/examples/networkflowmonitor/get-monitor.rst +26 -0
  16. awscli/examples/networkflowmonitor/get-query-results-workload-insights-top-contributors-data.rst +30 -0
  17. awscli/examples/networkflowmonitor/get-query-results-workload-insights-top-contributors.rst +27 -0
  18. awscli/examples/networkflowmonitor/get-query-status-monitor-top-contributors.rst +15 -0
  19. awscli/examples/networkflowmonitor/get-query-status-workload-insights-top-contributors-data.rst +15 -0
  20. awscli/examples/networkflowmonitor/get-query-status-workload-insights-top-contributors.rst +15 -0
  21. awscli/examples/networkflowmonitor/get-scope.rst +28 -0
  22. awscli/examples/networkflowmonitor/list-monitors.rst +19 -0
  23. awscli/examples/networkflowmonitor/list-scopes.rst +19 -0
  24. awscli/examples/networkflowmonitor/list-tags-for-resource.rst +17 -0
  25. awscli/examples/networkflowmonitor/start-query-monitor-top-contributors.rst +18 -0
  26. awscli/examples/networkflowmonitor/start-query-workload-insights-top-contributors-data.rst +18 -0
  27. awscli/examples/networkflowmonitor/start-query-workload-insights-top-contributors.rst +18 -0
  28. awscli/examples/networkflowmonitor/stop-query-monitor-top-contributors.rst +11 -0
  29. awscli/examples/networkflowmonitor/stop-query-workload-insights-top-contributors-data.rst +11 -0
  30. awscli/examples/networkflowmonitor/stop-query-workload-insights-top-contributors.rst +11 -0
  31. awscli/examples/networkflowmonitor/tag-resource.rst +11 -0
  32. awscli/examples/networkflowmonitor/untag-resource.rst +11 -0
  33. awscli/examples/networkflowmonitor/update-monitor.rst +21 -0
  34. awscli/examples/networkmanager/delete-bucket-analytics-configuration.rst +1 -1
  35. awscli/examples/networkmanager/delete-bucket-metrics-configuration.rst +1 -1
  36. awscli/examples/networkmanager/delete-public-access-block.rst +1 -1
  37. awscli/examples/networkmanager/get-bucket-analytics-configuration.rst +1 -1
  38. awscli/examples/networkmanager/get-bucket-metrics-configuration.rst +1 -1
  39. awscli/examples/networkmanager/get-object-retention.rst +1 -1
  40. awscli/examples/networkmanager/get-public-access-block.rst +1 -1
  41. awscli/examples/networkmanager/list-bucket-analytics-configurations.rst +1 -1
  42. awscli/examples/networkmanager/list-bucket-metrics-configurations.rst +1 -1
  43. awscli/examples/networkmanager/put-bucket-metrics-configuration.rst +1 -1
  44. awscli/examples/networkmanager/put-object-retention.rst +1 -1
  45. awscli/examples/networkmanager/put-public-access-block.rst +1 -1
  46. awscli/examples/robomaker/create-robot-application-version.rst +1 -1
  47. awscli/examples/robomaker/create-robot-application.rst +2 -2
  48. awscli/examples/robomaker/create-simulation-application-version.rst +1 -1
  49. awscli/examples/robomaker/create-simulation-application.rst +2 -2
  50. awscli/examples/robomaker/describe-robot-application.rst +1 -1
  51. awscli/examples/robomaker/describe-simulation-application.rst +1 -1
  52. awscli/examples/robomaker/update-robot-application.rst +2 -2
  53. awscli/examples/robomaker/update-simulation-application.rst +2 -2
  54. awscli/examples/s3/website.rst +2 -2
  55. awscli/examples/s3api/abort-multipart-upload.rst +2 -2
  56. awscli/examples/s3api/complete-multipart-upload.rst +4 -4
  57. awscli/examples/s3api/create-bucket.rst +9 -9
  58. awscli/examples/s3api/create-multipart-upload.rst +4 -4
  59. awscli/examples/s3api/delete-bucket-analytics-configuration.rst +1 -1
  60. awscli/examples/s3api/delete-bucket-cors.rst +2 -2
  61. awscli/examples/s3api/delete-bucket-encryption.rst +1 -1
  62. awscli/examples/s3api/delete-bucket-inventory-configuration.rst +1 -1
  63. awscli/examples/s3api/delete-bucket-lifecycle.rst +2 -2
  64. awscli/examples/s3api/delete-bucket-metrics-configuration.rst +1 -1
  65. awscli/examples/s3api/delete-bucket-policy.rst +2 -2
  66. awscli/examples/s3api/delete-bucket-replication.rst +2 -2
  67. awscli/examples/s3api/delete-bucket-tagging.rst +2 -2
  68. awscli/examples/s3api/delete-bucket-website.rst +2 -2
  69. awscli/examples/s3api/delete-bucket.rst +2 -2
  70. awscli/examples/s3api/delete-object-tagging.rst +1 -1
  71. awscli/examples/s3api/delete-object.rst +2 -2
  72. awscli/examples/s3api/delete-objects.rst +2 -2
  73. awscli/examples/s3api/delete-public-access-block.rst +1 -1
  74. awscli/examples/s3api/get-bucket-accelerate-configuration.rst +1 -1
  75. awscli/examples/s3api/get-bucket-acl.rst +2 -2
  76. awscli/examples/s3api/get-bucket-analytics-configuration.rst +1 -1
  77. awscli/examples/s3api/get-bucket-cors.rst +2 -2
  78. awscli/examples/s3api/get-bucket-encryption.rst +2 -2
  79. awscli/examples/s3api/get-bucket-inventory-configuration.rst +2 -2
  80. awscli/examples/s3api/get-bucket-lifecycle-configuration.rst +2 -2
  81. awscli/examples/s3api/get-bucket-lifecycle.rst +2 -2
  82. awscli/examples/s3api/get-bucket-location.rst +2 -2
  83. awscli/examples/s3api/get-bucket-logging.rst +2 -2
  84. awscli/examples/s3api/get-bucket-metrics-configuration.rst +1 -1
  85. awscli/examples/s3api/get-bucket-notification-configuration.rst +2 -2
  86. awscli/examples/s3api/get-bucket-notification.rst +2 -2
  87. awscli/examples/s3api/get-bucket-policy-status.rst +2 -2
  88. awscli/examples/s3api/get-bucket-policy.rst +3 -3
  89. awscli/examples/s3api/get-bucket-replication.rst +3 -3
  90. awscli/examples/s3api/get-bucket-request-payment.rst +1 -1
  91. awscli/examples/s3api/get-bucket-tagging.rst +2 -2
  92. awscli/examples/s3api/get-bucket-versioning.rst +2 -2
  93. awscli/examples/s3api/get-bucket-website.rst +2 -2
  94. awscli/examples/s3api/get-object-acl.rst +2 -2
  95. awscli/examples/s3api/get-object-attributes.rst +1 -1
  96. awscli/examples/s3api/get-object-legal-hold.rst +1 -1
  97. awscli/examples/s3api/get-object-lock-configuration.rst +1 -1
  98. awscli/examples/s3api/get-object-retention.rst +1 -1
  99. awscli/examples/s3api/get-object-tagging.rst +3 -3
  100. awscli/examples/s3api/get-object-torrent.rst +2 -2
  101. awscli/examples/s3api/get-public-access-block.rst +1 -1
  102. awscli/examples/s3api/head-bucket.rst +2 -2
  103. awscli/examples/s3api/head-object.rst +2 -2
  104. awscli/examples/s3api/list-bucket-analytics-configurations.rst +1 -1
  105. awscli/examples/s3api/list-bucket-inventory-configurations.rst +3 -3
  106. awscli/examples/s3api/list-bucket-metrics-configurations.rst +1 -1
  107. awscli/examples/s3api/list-multipart-uploads.rst +2 -2
  108. awscli/examples/s3api/list-object-versions.rst +2 -2
  109. awscli/examples/s3api/list-objects-v2.rst +1 -1
  110. awscli/examples/s3api/list-parts.rst +2 -2
  111. awscli/examples/s3api/put-bucket-accelerate-configuration.rst +1 -1
  112. awscli/examples/s3api/put-bucket-analytics-configuration.rst +1 -1
  113. awscli/examples/s3api/put-bucket-encryption.rst +1 -1
  114. awscli/examples/s3api/put-bucket-inventory-configuration.rst +6 -6
  115. awscli/examples/s3api/put-bucket-lifecycle-configuration.rst +2 -2
  116. awscli/examples/s3api/put-bucket-lifecycle.rst +2 -2
  117. awscli/examples/s3api/put-bucket-metrics-configuration.rst +1 -1
  118. awscli/examples/s3api/put-bucket-notification-configuration.rst +44 -44
  119. awscli/examples/s3api/put-bucket-notification.rst +4 -4
  120. awscli/examples/s3api/put-bucket-request-payment.rst +2 -2
  121. awscli/examples/s3api/put-bucket-tagging.rst +4 -4
  122. awscli/examples/s3api/put-bucket-versioning.rst +3 -3
  123. awscli/examples/s3api/put-bucket-website.rst +2 -2
  124. awscli/examples/s3api/put-object-legal-hold.rst +1 -1
  125. awscli/examples/s3api/put-object-lock-configuration.rst +1 -1
  126. awscli/examples/s3api/put-object-retention.rst +1 -1
  127. awscli/examples/s3api/put-object-tagging.rst +2 -2
  128. awscli/examples/s3api/put-public-access-block.rst +1 -1
  129. awscli/examples/s3api/select-object-content.rst +1 -1
  130. awscli/examples/s3api/upload-part-copy.rst +2 -2
  131. awscli/examples/s3api/upload-part.rst +1 -1
  132. awscli/examples/s3api/wait/bucket-exists.rst +1 -1
  133. awscli/examples/s3api/wait/bucket-not-exists.rst +1 -1
  134. awscli/examples/s3api/wait/object-exists.rst +1 -1
  135. awscli/examples/s3api/wait/object-not-exists.rst +1 -1
  136. {awscli-1.37.11.dist-info → awscli-1.37.13.dist-info}/METADATA +2 -2
  137. {awscli-1.37.11.dist-info → awscli-1.37.13.dist-info}/RECORD +145 -122
  138. {awscli-1.37.11.data → awscli-1.37.13.data}/scripts/aws +0 -0
  139. {awscli-1.37.11.data → awscli-1.37.13.data}/scripts/aws.cmd +0 -0
  140. {awscli-1.37.11.data → awscli-1.37.13.data}/scripts/aws_bash_completer +0 -0
  141. {awscli-1.37.11.data → awscli-1.37.13.data}/scripts/aws_completer +0 -0
  142. {awscli-1.37.11.data → awscli-1.37.13.data}/scripts/aws_zsh_completer.sh +0 -0
  143. {awscli-1.37.11.dist-info → awscli-1.37.13.dist-info}/LICENSE.txt +0 -0
  144. {awscli-1.37.11.dist-info → awscli-1.37.13.dist-info}/WHEEL +0 -0
  145. {awscli-1.37.11.dist-info → awscli-1.37.13.dist-info}/top_level.txt +0 -0
@@ -4,7 +4,7 @@ This example updates a simulation application.
4
4
 
5
5
  Command::
6
6
 
7
- aws robomaker update-simulation-application --application arn:aws:robomaker:us-west-2:111111111111:simulation-application/MySimulationApplication/1551203427605 --sources s3Bucket=my-bucket,s3Key=my-simulation-application.tar.gz,architecture=X86_64 --robot-software-suite name=ROS,version=Kinetic --simulation-software-suite name=Gazebo,version=7 --rendering-engine name=OGRE,version=1.x
7
+ aws robomaker update-simulation-application --application arn:aws:robomaker:us-west-2:111111111111:simulation-application/MySimulationApplication/1551203427605 --sources s3Bucket=amzn-s3-demo-bucket,s3Key=my-simulation-application.tar.gz,architecture=X86_64 --robot-software-suite name=ROS,version=Kinetic --simulation-software-suite name=Gazebo,version=7 --rendering-engine name=OGRE,version=1.x
8
8
 
9
9
  Output::
10
10
 
@@ -14,7 +14,7 @@ Output::
14
14
  "version": "$LATEST",
15
15
  "sources": [
16
16
  {
17
- "s3Bucket": "my-bucket",
17
+ "s3Bucket": "amzn-s3-demo-bucket",
18
18
  "s3Key": "my-simulation-application.tar.gz",
19
19
  "architecture": "X86_64"
20
20
  }
@@ -1,10 +1,10 @@
1
1
  **Configure an S3 bucket as a static website**
2
2
 
3
- The following command configures a bucket named ``my-bucket`` as a static website. The index document option specifies the file in ``my-bucket`` that visitors will be directed to when they navigate to the website URL. In this case, the bucket is in the us-west-2 region, so the site would appear at ``http://my-bucket.s3-website-us-west-2.amazonaws.com``.
3
+ The following command configures a bucket named ``amzn-s3-demo-bucket`` as a static website. The index document option specifies the file in ``amzn-s3-demo-bucket`` that visitors will be directed to when they navigate to the website URL. In this case, the bucket is in the us-west-2 region, so the site would appear at ``http://amzn-s3-demo-bucket.s3-website-us-west-2.amazonaws.com``.
4
4
 
5
5
  All files in the bucket that appear on the static site must be configured to allow visitors to open them. File permissions are configured separately from the bucket website configuration. ::
6
6
 
7
- aws s3 website s3://my-bucket/ \
7
+ aws s3 website s3://amzn-s3-demo-bucket/ \
8
8
  --index-document index.html \
9
9
  --error-document error.html
10
10
 
@@ -1,9 +1,9 @@
1
1
  **To abort the specified multipart upload**
2
2
 
3
- The following ``abort-multipart-upload`` command aborts a multipart upload for the key ``multipart/01`` in the bucket ``my-bucket``. ::
3
+ The following ``abort-multipart-upload`` command aborts a multipart upload for the key ``multipart/01`` in the bucket ``amzn-s3-demo-bucket``. ::
4
4
 
5
5
  aws s3api abort-multipart-upload \
6
- --bucket my-bucket \
6
+ --bucket amzn-s3-demo-bucket \
7
7
  --key multipart/01 \
8
8
  --upload-id dfRtDYU0WWCCcH43C3WFbkRONycyCpTJJvxu2i5GYkZljF.Yxwh6XG7WfS2vC4to6HiV6Yjlx.cph0gtNBtJ8P3URCSbB7rjxI5iEwVDmgaXZOGgkk5nVTW16HOQ5l0R
9
9
 
@@ -1,6 +1,6 @@
1
- The following command completes a multipart upload for the key ``multipart/01`` in the bucket ``my-bucket``::
1
+ The following command completes a multipart upload for the key ``multipart/01`` in the bucket ``amzn-s3-demo-bucket``::
2
2
 
3
- aws s3api complete-multipart-upload --multipart-upload file://mpustruct --bucket my-bucket --key 'multipart/01' --upload-id dfRtDYU0WWCCcH43C3WFbkRONycyCpTJJvxu2i5GYkZljF.Yxwh6XG7WfS2vC4to6HiV6Yjlx.cph0gtNBtJ8P3URCSbB7rjxI5iEwVDmgaXZOGgkk5nVTW16HOQ5l0R
3
+ aws s3api complete-multipart-upload --multipart-upload file://mpustruct --bucket amzn-s3-demo-bucket --key 'multipart/01' --upload-id dfRtDYU0WWCCcH43C3WFbkRONycyCpTJJvxu2i5GYkZljF.Yxwh6XG7WfS2vC4to6HiV6Yjlx.cph0gtNBtJ8P3URCSbB7rjxI5iEwVDmgaXZOGgkk5nVTW16HOQ5l0R
4
4
 
5
5
  The upload ID required by this command is output by ``create-multipart-upload`` and can also be retrieved with ``list-multipart-uploads``.
6
6
 
@@ -31,7 +31,7 @@ Output::
31
31
 
32
32
  {
33
33
  "ETag": "\"3944a9f7a4faab7f78788ff6210f63f0-3\"",
34
- "Bucket": "my-bucket",
35
- "Location": "https://my-bucket.s3.amazonaws.com/multipart%2F01",
34
+ "Bucket": "amzn-s3-demo-bucket",
35
+ "Location": "https://amzn-s3-demo-bucket.s3.amazonaws.com/multipart%2F01",
36
36
  "Key": "multipart/01"
37
37
  }
@@ -1,52 +1,52 @@
1
1
  **Example 1: To create a bucket**
2
2
 
3
- The following ``create-bucket`` example creates a bucket named ``my-bucket``::
3
+ The following ``create-bucket`` example creates a bucket named ``amzn-s3-demo-bucket``::
4
4
 
5
5
  aws s3api create-bucket \
6
- --bucket my-bucket \
6
+ --bucket amzn-s3-demo-bucket \
7
7
  --region us-east-1
8
8
 
9
9
  Output::
10
10
 
11
11
  {
12
- "Location": "/my-bucket"
12
+ "Location": "/amzn-s3-demo-bucket"
13
13
  }
14
14
 
15
15
  For more information, see `Creating a bucket <https://docs.aws.amazon.com/AmazonS3/latest/userguide/create-bucket-overview.html>`__ in the *Amazon S3 User Guide*.
16
16
 
17
17
  **Example 2: To create a bucket with owner enforced**
18
18
 
19
- The following ``create-bucket`` example creates a bucket named ``my-bucket`` that uses the bucket owner enforced setting for S3 Object Ownership. ::
19
+ The following ``create-bucket`` example creates a bucket named ``amzn-s3-demo-bucket`` that uses the bucket owner enforced setting for S3 Object Ownership. ::
20
20
 
21
21
  aws s3api create-bucket \
22
- --bucket my-bucket \
22
+ --bucket amzn-s3-demo-bucket \
23
23
  --region us-east-1 \
24
24
  --object-ownership BucketOwnerEnforced
25
25
 
26
26
  Output::
27
27
 
28
28
  {
29
- "Location": "/my-bucket"
29
+ "Location": "/amzn-s3-demo-bucket"
30
30
  }
31
31
 
32
32
  For more information, see `Controlling ownership of objects and disabling ACLs <https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html>`__ in the *Amazon S3 User Guide*.
33
33
 
34
34
  **Example 3: To create a bucket outside of the ``us-east-1`` region**
35
35
 
36
- The following ``create-bucket`` example creates a bucket named ``my-bucket`` in the
36
+ The following ``create-bucket`` example creates a bucket named ``amzn-s3-demo-bucket`` in the
37
37
  ``eu-west-1`` region. Regions outside of ``us-east-1`` require the appropriate
38
38
  ``LocationConstraint`` to be specified in order to create the bucket in the
39
39
  desired region. ::
40
40
 
41
41
  aws s3api create-bucket \
42
- --bucket my-bucket \
42
+ --bucket amzn-s3-demo-bucket \
43
43
  --region eu-west-1 \
44
44
  --create-bucket-configuration LocationConstraint=eu-west-1
45
45
 
46
46
  Output::
47
47
 
48
48
  {
49
- "Location": "http://my-bucket.s3.amazonaws.com/"
49
+ "Location": "http://amzn-s3-demo-bucket.s3.amazonaws.com/"
50
50
  }
51
51
 
52
52
  For more information, see `Creating a bucket <https://docs.aws.amazon.com/AmazonS3/latest/userguide/create-bucket-overview.html>`__ in the *Amazon S3 User Guide*.
@@ -1,13 +1,13 @@
1
- The following command creates a multipart upload in the bucket ``my-bucket`` with the key ``multipart/01``::
1
+ The following command creates a multipart upload in the bucket ``amzn-s3-demo-bucket`` with the key ``multipart/01``::
2
2
 
3
- aws s3api create-multipart-upload --bucket my-bucket --key 'multipart/01'
3
+ aws s3api create-multipart-upload --bucket amzn-s3-demo-bucket --key 'multipart/01'
4
4
 
5
5
  Output::
6
6
 
7
7
  {
8
- "Bucket": "my-bucket",
8
+ "Bucket": "amzn-s3-demo-bucket",
9
9
  "UploadId": "dfRtDYU0WWCCcH43C3WFbkRONycyCpTJJvxu2i5GYkZljF.Yxwh6XG7WfS2vC4to6HiV6Yjlx.cph0gtNBtJ8P3URCSbB7rjxI5iEwVDmgaXZOGgkk5nVTW16HOQ5l0R",
10
10
  "Key": "multipart/01"
11
11
  }
12
12
 
13
- The completed file will be named ``01`` in a folder called ``multipart`` in the bucket ``my-bucket``. Save the upload ID, key and bucket name for use with the ``upload-part`` command.
13
+ The completed file will be named ``01`` in a folder called ``multipart`` in the bucket ``amzn-s3-demo-bucket``. Save the upload ID, key and bucket name for use with the ``upload-part`` command.
@@ -3,7 +3,7 @@
3
3
  The following ``delete-bucket-analytics-configuration`` example removes the analytics configuration for the specified bucket and ID. ::
4
4
 
5
5
  aws s3api delete-bucket-analytics-configuration \
6
- --bucket my-bucket \
6
+ --bucket amzn-s3-demo-bucket \
7
7
  --id 1
8
8
 
9
9
  This command produces no output.
@@ -1,3 +1,3 @@
1
- The following command deletes a Cross-Origin Resource Sharing configuration from a bucket named ``my-bucket``::
1
+ The following command deletes a Cross-Origin Resource Sharing configuration from a bucket named ``amzn-s3-demo-bucket``::
2
2
 
3
- aws s3api delete-bucket-cors --bucket my-bucket
3
+ aws s3api delete-bucket-cors --bucket amzn-s3-demo-bucket
@@ -3,6 +3,6 @@
3
3
  The following ``delete-bucket-encryption`` example deletes the server-side encryption configuration of the specified bucket. ::
4
4
 
5
5
  aws s3api delete-bucket-encryption \
6
- --bucket my-bucket
6
+ --bucket amzn-s3-demo-bucket
7
7
 
8
8
  This command produces no output.
@@ -3,7 +3,7 @@
3
3
  The following ``delete-bucket-inventory-configuration`` example deletes the inventory configuration with ID ``1`` for the specified bucket. ::
4
4
 
5
5
  aws s3api delete-bucket-inventory-configuration \
6
- --bucket my-bucket \
6
+ --bucket amzn-s3-demo-bucket \
7
7
  --id 1
8
8
 
9
9
  This command produces no output.
@@ -1,3 +1,3 @@
1
- The following command deletes a lifecycle configuration from a bucket named ``my-bucket``::
1
+ The following command deletes a lifecycle configuration from a bucket named ``amzn-s3-demo-bucket``::
2
2
 
3
- aws s3api delete-bucket-lifecycle --bucket my-bucket
3
+ aws s3api delete-bucket-lifecycle --bucket amzn-s3-demo-bucket
@@ -3,7 +3,7 @@
3
3
  The following ``delete-bucket-metrics-configuration`` example removes the metrics configuration for the specified bucket and ID. ::
4
4
 
5
5
  aws s3api delete-bucket-metrics-configuration \
6
- --bucket my-bucket \
6
+ --bucket amzn-s3-demo-bucket \
7
7
  --id 123
8
8
 
9
9
  This command produces no output.
@@ -1,3 +1,3 @@
1
- The following command deletes a bucket policy from a bucket named ``my-bucket``::
1
+ The following command deletes a bucket policy from a bucket named ``amzn-s3-demo-bucket``::
2
2
 
3
- aws s3api delete-bucket-policy --bucket my-bucket
3
+ aws s3api delete-bucket-policy --bucket amzn-s3-demo-bucket
@@ -1,3 +1,3 @@
1
- The following command deletes a replication configuration from a bucket named ``my-bucket``::
1
+ The following command deletes a replication configuration from a bucket named ``amzn-s3-demo-bucket``::
2
2
 
3
- aws s3api delete-bucket-replication --bucket my-bucket
3
+ aws s3api delete-bucket-replication --bucket amzn-s3-demo-bucket
@@ -1,3 +1,3 @@
1
- The following command deletes a tagging configuration from a bucket named ``my-bucket``::
1
+ The following command deletes a tagging configuration from a bucket named ``amzn-s3-demo-bucket``::
2
2
 
3
- aws s3api delete-bucket-tagging --bucket my-bucket
3
+ aws s3api delete-bucket-tagging --bucket amzn-s3-demo-bucket
@@ -1,3 +1,3 @@
1
- The following command deletes a website configuration from a bucket named ``my-bucket``::
1
+ The following command deletes a website configuration from a bucket named ``amzn-s3-demo-bucket``::
2
2
 
3
- aws s3api delete-bucket-website --bucket my-bucket
3
+ aws s3api delete-bucket-website --bucket amzn-s3-demo-bucket
@@ -1,3 +1,3 @@
1
- The following command deletes a bucket named ``my-bucket``::
1
+ The following command deletes a bucket named ``amzn-s3-demo-bucket``::
2
2
 
3
- aws s3api delete-bucket --bucket my-bucket --region us-east-1
3
+ aws s3api delete-bucket --bucket amzn-s3-demo-bucket --region us-east-1
@@ -3,7 +3,7 @@
3
3
  The following ``delete-object-tagging`` example deletes the tag with the specified key from the object ``doc1.rtf``. ::
4
4
 
5
5
  aws s3api delete-object-tagging \
6
- --bucket my-bucket \
6
+ --bucket amzn-s3-demo-bucket \
7
7
  --key doc1.rtf
8
8
 
9
9
  This command produces no output.
@@ -1,6 +1,6 @@
1
- The following command deletes an object named ``test.txt`` from a bucket named ``my-bucket``::
1
+ The following command deletes an object named ``test.txt`` from a bucket named ``amzn-s3-demo-bucket``::
2
2
 
3
- aws s3api delete-object --bucket my-bucket --key test.txt
3
+ aws s3api delete-object --bucket amzn-s3-demo-bucket --key test.txt
4
4
 
5
5
  If bucket versioning is enabled, the output will contain the version ID of the delete marker::
6
6
 
@@ -1,6 +1,6 @@
1
- The following command deletes an object from a bucket named ``my-bucket``::
1
+ The following command deletes an object from a bucket named ``amzn-s3-demo-bucket``::
2
2
 
3
- aws s3api delete-objects --bucket my-bucket --delete file://delete.json
3
+ aws s3api delete-objects --bucket amzn-s3-demo-bucket --delete file://delete.json
4
4
 
5
5
  ``delete.json`` is a JSON document in the current directory that specifies the object to delete::
6
6
 
@@ -3,6 +3,6 @@
3
3
  The following ``delete-public-access-block`` example removes the block public access configuration on the specified bucket. ::
4
4
 
5
5
  aws s3api delete-public-access-block \
6
- --bucket my-bucket
6
+ --bucket amzn-s3-demo-bucket
7
7
 
8
8
  This command produces no output.
@@ -3,7 +3,7 @@
3
3
  The following ``get-bucket-accelerate-configuration`` example retrieves the accelerate configuration for the specified bucket. ::
4
4
 
5
5
  aws s3api get-bucket-accelerate-configuration \
6
- --bucket my-bucket
6
+ --bucket amzn-s3-demo-bucket
7
7
 
8
8
  Output::
9
9
 
@@ -1,6 +1,6 @@
1
- The following command retrieves the access control list for a bucket named ``my-bucket``::
1
+ The following command retrieves the access control list for a bucket named ``amzn-s3-demo-bucket``::
2
2
 
3
- aws s3api get-bucket-acl --bucket my-bucket
3
+ aws s3api get-bucket-acl --bucket amzn-s3-demo-bucket
4
4
 
5
5
  Output::
6
6
 
@@ -3,7 +3,7 @@
3
3
  The following ``get-bucket-analytics-configuration`` example displays the analytics configuration for the specified bucket and ID. ::
4
4
 
5
5
  aws s3api get-bucket-analytics-configuration \
6
- --bucket my-bucket \
6
+ --bucket amzn-s3-demo-bucket \
7
7
  --id 1
8
8
 
9
9
  Output::
@@ -1,6 +1,6 @@
1
- The following command retrieves the Cross-Origin Resource Sharing configuration for a bucket named ``my-bucket``::
1
+ The following command retrieves the Cross-Origin Resource Sharing configuration for a bucket named ``amzn-s3-demo-bucket``::
2
2
 
3
- aws s3api get-bucket-cors --bucket my-bucket
3
+ aws s3api get-bucket-cors --bucket amzn-s3-demo-bucket
4
4
 
5
5
  Output::
6
6
 
@@ -1,9 +1,9 @@
1
1
  **To retrieve the server-side encryption configuration for a bucket**
2
2
 
3
- The following ``get-bucket-encryption`` example retrieves the server-side encryption configuration for the bucket ``my-bucket``. ::
3
+ The following ``get-bucket-encryption`` example retrieves the server-side encryption configuration for the bucket ``amzn-s3-demo-bucket``. ::
4
4
 
5
5
  aws s3api get-bucket-encryption \
6
- --bucket my-bucket
6
+ --bucket amzn-s3-demo-bucket
7
7
 
8
8
  Output::
9
9
 
@@ -3,7 +3,7 @@
3
3
  The following ``get-bucket-inventory-configuration`` example retrieves the inventory configuration for the specified bucket with ID ``1``. ::
4
4
 
5
5
  aws s3api get-bucket-inventory-configuration \
6
- --bucket my-bucket \
6
+ --bucket amzn-s3-demo-bucket \
7
7
  --id 1
8
8
 
9
9
  Output::
@@ -14,7 +14,7 @@ Output::
14
14
  "Destination": {
15
15
  "S3BucketDestination": {
16
16
  "Format": "ORC",
17
- "Bucket": "arn:aws:s3:::my-bucket",
17
+ "Bucket": "arn:aws:s3:::amzn-s3-demo-bucket",
18
18
  "AccountId": "123456789012"
19
19
  }
20
20
  },
@@ -1,6 +1,6 @@
1
- The following command retrieves the lifecycle configuration for a bucket named ``my-bucket``::
1
+ The following command retrieves the lifecycle configuration for a bucket named ``amzn-s3-demo-bucket``::
2
2
 
3
- aws s3api get-bucket-lifecycle-configuration --bucket my-bucket
3
+ aws s3api get-bucket-lifecycle-configuration --bucket amzn-s3-demo-bucket
4
4
 
5
5
  Output::
6
6
 
@@ -1,6 +1,6 @@
1
- The following command retrieves the lifecycle configuration for a bucket named ``my-bucket``::
1
+ The following command retrieves the lifecycle configuration for a bucket named ``amzn-s3-demo-bucket``::
2
2
 
3
- aws s3api get-bucket-lifecycle --bucket my-bucket
3
+ aws s3api get-bucket-lifecycle --bucket amzn-s3-demo-bucket
4
4
 
5
5
  Output::
6
6
 
@@ -1,6 +1,6 @@
1
- The following command retrieves the location constraint for a bucket named ``my-bucket``, if a constraint exists::
1
+ The following command retrieves the location constraint for a bucket named ``amzn-s3-demo-bucket``, if a constraint exists::
2
2
 
3
- aws s3api get-bucket-location --bucket my-bucket
3
+ aws s3api get-bucket-location --bucket amzn-s3-demo-bucket
4
4
 
5
5
  Output::
6
6
 
@@ -3,13 +3,13 @@
3
3
  The following ``get-bucket-logging`` example retrieves the logging status for the specified bucket. ::
4
4
 
5
5
  aws s3api get-bucket-logging \
6
- --bucket my-bucket
6
+ --bucket amzn-s3-demo-bucket
7
7
 
8
8
  Output::
9
9
 
10
10
  {
11
11
  "LoggingEnabled": {
12
12
  "TargetPrefix": "",
13
- "TargetBucket": "my-bucket-logs"
13
+ "TargetBucket": "amzn-s3-demo-bucket-logs"
14
14
  }
15
15
  }
@@ -3,7 +3,7 @@
3
3
  The following ``get-bucket-metrics-configuration`` example displays the metrics configuration for the specified bucket and ID. ::
4
4
 
5
5
  aws s3api get-bucket-metrics-configuration \
6
- --bucket my-bucket \
6
+ --bucket amzn-s3-demo-bucket \
7
7
  --id 123
8
8
 
9
9
  Output::
@@ -1,6 +1,6 @@
1
- The following command retrieves the notification configuration for a bucket named ``my-bucket``::
1
+ The following command retrieves the notification configuration for a bucket named ``amzn-s3-demo-bucket``::
2
2
 
3
- aws s3api get-bucket-notification-configuration --bucket my-bucket
3
+ aws s3api get-bucket-notification-configuration --bucket amzn-s3-demo-bucket
4
4
 
5
5
  Output::
6
6
 
@@ -1,6 +1,6 @@
1
- The following command retrieves the notification configuration for a bucket named ``my-bucket``::
1
+ The following command retrieves the notification configuration for a bucket named ``amzn-s3-demo-bucket``::
2
2
 
3
- aws s3api get-bucket-notification --bucket my-bucket
3
+ aws s3api get-bucket-notification --bucket amzn-s3-demo-bucket
4
4
 
5
5
  Output::
6
6
 
@@ -1,9 +1,9 @@
1
1
  **To retrieve the policy status for a bucket indicating whether the bucket is public**
2
2
 
3
- The following ``get-bucket-policy-status`` example retrieves the policy status for the bucket ``my-bucket``. ::
3
+ The following ``get-bucket-policy-status`` example retrieves the policy status for the bucket ``amzn-s3-demo-bucket``. ::
4
4
 
5
5
  aws s3api get-bucket-policy-status \
6
- --bucket my-bucket
6
+ --bucket amzn-s3-demo-bucket
7
7
 
8
8
  Output::
9
9
 
@@ -1,11 +1,11 @@
1
- The following command retrieves the bucket policy for a bucket named ``my-bucket``::
1
+ The following command retrieves the bucket policy for a bucket named ``amzn-s3-demo-bucket``::
2
2
 
3
- aws s3api get-bucket-policy --bucket my-bucket
3
+ aws s3api get-bucket-policy --bucket amzn-s3-demo-bucket
4
4
 
5
5
  Output::
6
6
 
7
7
  {
8
- "Policy": "{\"Version\":\"2008-10-17\",\"Statement\":[{\"Sid\":\"\",\"Effect\":\"Allow\",\"Principal\":\"*\",\"Action\":\"s3:GetObject\",\"Resource\":\"arn:aws:s3:::my-bucket/*\"},{\"Sid\":\"\",\"Effect\":\"Deny\",\"Principal\":\"*\",\"Action\":\"s3:GetObject\",\"Resource\":\"arn:aws:s3:::my-bucket/secret/*\"}]}"
8
+ "Policy": "{\"Version\":\"2008-10-17\",\"Statement\":[{\"Sid\":\"\",\"Effect\":\"Allow\",\"Principal\":\"*\",\"Action\":\"s3:GetObject\",\"Resource\":\"arn:aws:s3:::amzn-s3-demo-bucket/*\"},{\"Sid\":\"\",\"Effect\":\"Deny\",\"Principal\":\"*\",\"Action\":\"s3:GetObject\",\"Resource\":\"arn:aws:s3:::amzn-s3-demo-bucket/secret/*\"}]}"
9
9
  }
10
10
 
11
11
  Get and put a bucket policy
@@ -1,6 +1,6 @@
1
- The following command retrieves the replication configuration for a bucket named ``my-bucket``::
1
+ The following command retrieves the replication configuration for a bucket named ``amzn-s3-demo-bucket``::
2
2
 
3
- aws s3api get-bucket-replication --bucket my-bucket
3
+ aws s3api get-bucket-replication --bucket amzn-s3-demo-bucket
4
4
 
5
5
  Output::
6
6
 
@@ -11,7 +11,7 @@ Output::
11
11
  "Status": "Enabled",
12
12
  "Prefix": "",
13
13
  "Destination": {
14
- "Bucket": "arn:aws:s3:::my-bucket-backup",
14
+ "Bucket": "arn:aws:s3:::amzn-s3-demo-bucket-backup",
15
15
  "StorageClass": "STANDARD"
16
16
  },
17
17
  "ID": "ZmUwNzE4ZmQ4tMjVhOS00MTlkLOGI4NDkzZTIWJjNTUtYTA1"
@@ -3,7 +3,7 @@
3
3
  The following ``get-bucket-request-payment`` example retrieves the requester pays configuration for the specified bucket. ::
4
4
 
5
5
  aws s3api get-bucket-request-payment \
6
- --bucket my-bucket
6
+ --bucket amzn-s3-demo-bucket
7
7
 
8
8
  Output::
9
9
 
@@ -1,6 +1,6 @@
1
- The following command retrieves the tagging configuration for a bucket named ``my-bucket``::
1
+ The following command retrieves the tagging configuration for a bucket named ``amzn-s3-demo-bucket``::
2
2
 
3
- aws s3api get-bucket-tagging --bucket my-bucket
3
+ aws s3api get-bucket-tagging --bucket amzn-s3-demo-bucket
4
4
 
5
5
  Output::
6
6
 
@@ -1,6 +1,6 @@
1
- The following command retrieves the versioning configuration for a bucket named ``my-bucket``::
1
+ The following command retrieves the versioning configuration for a bucket named ``amzn-s3-demo-bucket``::
2
2
 
3
- aws s3api get-bucket-versioning --bucket my-bucket
3
+ aws s3api get-bucket-versioning --bucket amzn-s3-demo-bucket
4
4
 
5
5
  Output::
6
6
 
@@ -1,6 +1,6 @@
1
- The following command retrieves the static website configuration for a bucket named ``my-bucket``::
1
+ The following command retrieves the static website configuration for a bucket named ``amzn-s3-demo-bucket``::
2
2
 
3
- aws s3api get-bucket-website --bucket my-bucket
3
+ aws s3api get-bucket-website --bucket amzn-s3-demo-bucket
4
4
 
5
5
  Output::
6
6
 
@@ -1,6 +1,6 @@
1
- The following command retrieves the access control list for an object in a bucket named ``my-bucket``::
1
+ The following command retrieves the access control list for an object in a bucket named ``amzn-s3-demo-bucket``::
2
2
 
3
- aws s3api get-object-acl --bucket my-bucket --key index.html
3
+ aws s3api get-object-acl --bucket amzn-s3-demo-bucket --key index.html
4
4
 
5
5
  Output::
6
6
 
@@ -3,7 +3,7 @@
3
3
  The following ``get-object-attributes`` example retrieves metadata from the object ``doc1.rtf``. ::
4
4
 
5
5
  aws s3api get-object-attributes \
6
- --bucket my-bucket \
6
+ --bucket amzn-s3-demo-bucket \
7
7
  --key doc1.rtf \
8
8
  --object-attributes "StorageClass" "ETag" "ObjectSize"
9
9
 
@@ -3,7 +3,7 @@
3
3
  The following ``get-object-legal-hold`` example retrieves the Legal Hold status for the specified object. ::
4
4
 
5
5
  aws s3api get-object-legal-hold \
6
- --bucket my-bucket-with-object-lock \
6
+ --bucket amzn-s3-demo-bucket-with-object-lock \
7
7
  --key doc1.rtf
8
8
 
9
9
  Output::
@@ -3,7 +3,7 @@
3
3
  The following ``get-object-lock-configuration`` example retrieves the object lock configuration for the specified bucket. ::
4
4
 
5
5
  aws s3api get-object-lock-configuration \
6
- --bucket my-bucket-with-object-lock
6
+ --bucket amzn-s3-demo-bucket-with-object-lock
7
7
 
8
8
  Output::
9
9
 
@@ -3,7 +3,7 @@
3
3
  The following ``get-object-retention`` example retrieves the object retention configuration for the specified object. ::
4
4
 
5
5
  aws s3api get-object-retention \
6
- --bucket my-bucket-with-object-lock \
6
+ --bucket amzn-s3-demo-bucket-with-object-lock \
7
7
  --key doc1.rtf
8
8
 
9
9
  Output::
@@ -3,7 +3,7 @@
3
3
  The following ``get-object-tagging`` example retrieves the values for the specified key from the specified object. ::
4
4
 
5
5
  aws s3api get-object-tagging \
6
- --bucket my-bucket \
6
+ --bucket amzn-s3-demo-bucket \
7
7
  --key doc1.rtf
8
8
 
9
9
  Output::
@@ -20,7 +20,7 @@ Output::
20
20
  The following ``get-object-tagging`` example tries to retrieve the tag sets of the object ``doc2.rtf``, which has no tags. ::
21
21
 
22
22
  aws s3api get-object-tagging \
23
- --bucket my-bucket \
23
+ --bucket amzn-s3-demo-bucket \
24
24
  --key doc2.rtf
25
25
 
26
26
  Output::
@@ -33,7 +33,7 @@ Output::
33
33
  The following ``get-object-tagging`` example retrieves the tag sets of the object ``doc3.rtf``, which has multiple tags. ::
34
34
 
35
35
  aws s3api get-object-tagging \
36
- --bucket my-bucket \
36
+ --bucket amzn-s3-demo-bucket \
37
37
  --key doc3.rtf
38
38
 
39
39
  Output::
@@ -1,5 +1,5 @@
1
- The following command creates a torrent for an object in a bucket named ``my-bucket``::
1
+ The following command creates a torrent for an object in a bucket named ``amzn-s3-demo-bucket``::
2
2
 
3
- aws s3api get-object-torrent --bucket my-bucket --key large-video-file.mp4 large-video-file.torrent
3
+ aws s3api get-object-torrent --bucket amzn-s3-demo-bucket --key large-video-file.mp4 large-video-file.torrent
4
4
 
5
5
  The torrent file is saved locally in the current folder. Note that the output filename (``large-video-file.torrent``) is specified without an option name and must be the last argument in the command.
@@ -3,7 +3,7 @@
3
3
  The following ``get-public-access-block`` example displays the block public access configuration for the specified bucket. ::
4
4
 
5
5
  aws s3api get-public-access-block \
6
- --bucket my-bucket
6
+ --bucket amzn-s3-demo-bucket
7
7
 
8
8
  Output::
9
9