awscli 1.37.3__py3-none-any.whl → 1.37.5__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 (160) hide show
  1. awscli/__init__.py +1 -1
  2. awscli/examples/cloudfront/create-distribution-with-tags.rst +9 -13
  3. awscli/examples/cloudfront/get-distribution.rst +6 -10
  4. awscli/examples/cloudtrail/create-subscription.rst +29 -26
  5. awscli/examples/cloudtrail/create-trail.rst +13 -11
  6. awscli/examples/cloudtrail/describe-trails.rst +30 -29
  7. awscli/examples/cloudtrail/put-event-selectors.rst +9 -9
  8. awscli/examples/cloudtrail/update-subscription.rst +25 -22
  9. awscli/examples/cloudtrail/update-trail.rst +12 -10
  10. awscli/examples/codebuild/create-report-group.rst +2 -2
  11. awscli/examples/datapipeline/get-pipeline-definition.rst +1 -1
  12. awscli/examples/deploy/batch-get-deployments.rst +2 -2
  13. awscli/examples/deploy/create-deployment.rst +1 -1
  14. awscli/examples/deploy/get-application-revision.rst +2 -2
  15. awscli/examples/deploy/get-deployment.rst +1 -1
  16. awscli/examples/deploy/list-application-revisions.rst +3 -3
  17. awscli/examples/deploy/push.rst +2 -2
  18. awscli/examples/deploy/register-application-revision.rst +1 -1
  19. awscli/examples/ds-data/add-group-member.rst +12 -0
  20. awscli/examples/ds-data/create-group.rst +17 -0
  21. awscli/examples/ds-data/create-user.rst +17 -0
  22. awscli/examples/ds-data/delete-group.rst +11 -0
  23. awscli/examples/ds-data/delete-user.rst +11 -0
  24. awscli/examples/ds-data/describe-group.rst +21 -0
  25. awscli/examples/ds-data/describe-user.rst +21 -0
  26. awscli/examples/ds-data/disable-directory-data-access.rst +10 -0
  27. awscli/examples/ds-data/disable-user.rst +11 -0
  28. awscli/examples/ds-data/enable-directory-data-access.rst +10 -0
  29. awscli/examples/ds-data/list-group-members.rst +29 -0
  30. awscli/examples/ds-data/list-groups-for-member.rst +25 -0
  31. awscli/examples/ds-data/list-groups.rst +503 -0
  32. awscli/examples/ds-data/list-users.rst +57 -0
  33. awscli/examples/ds-data/remove-group-member.rst +12 -0
  34. awscli/examples/ds-data/reset-user-password.rst +12 -0
  35. awscli/examples/ds-data/search-groups.rst +25 -0
  36. awscli/examples/ds-data/search-users.rst +24 -0
  37. awscli/examples/ds-data/update-group.rst +13 -0
  38. awscli/examples/ds-data/update-user.rst +13 -0
  39. awscli/examples/ec2/accept-address-transfer.rst +1 -1
  40. awscli/examples/ec2/allocate-hosts.rst +55 -55
  41. awscli/examples/ec2/associate-address.rst +44 -35
  42. awscli/examples/ec2/authorize-security-group-egress.rst +56 -23
  43. awscli/examples/ec2/authorize-security-group-ingress.rst +15 -15
  44. awscli/examples/ec2/cancel-capacity-reservation.rst +14 -14
  45. awscli/examples/ec2/cancel-spot-fleet-requests.rst +43 -46
  46. awscli/examples/ec2/copy-snapshot.rst +2 -4
  47. awscli/examples/ec2/create-capacity-reservation.rst +95 -95
  48. awscli/examples/ec2/create-replace-root-volume-task.rst +1 -3
  49. awscli/examples/ec2/create-restore-image-task.rst +2 -2
  50. awscli/examples/ec2/create-spot-datafeed-subscription.rst +1 -1
  51. awscli/examples/ec2/create-tags.rst +43 -43
  52. awscli/examples/ec2/create-traffic-mirror-filter-rule.rst +32 -32
  53. awscli/examples/ec2/create-traffic-mirror-filter.rst +22 -12
  54. awscli/examples/ec2/create-traffic-mirror-session.rst +31 -31
  55. awscli/examples/ec2/create-traffic-mirror-target.rst +45 -35
  56. awscli/examples/ec2/create-transit-gateway-prefix-list-reference.rst +27 -27
  57. awscli/examples/ec2/create-verified-access-endpoint.rst +1 -1
  58. awscli/examples/ec2/create-vpc-endpoint-service-configuration.rst +67 -65
  59. awscli/examples/ec2/create-vpc-endpoint.rst +4 -4
  60. awscli/examples/ec2/describe-capacity-reservations.rst +46 -31
  61. awscli/examples/ec2/describe-instance-image-metadata.rst +186 -0
  62. awscli/examples/ec2/describe-spot-datafeed-subscription.rst +1 -1
  63. awscli/examples/ec2/describe-vpc-endpoint-service-configurations.rst +62 -62
  64. awscli/examples/ec2/describe-vpc-endpoint-services.rst +132 -134
  65. awscli/examples/ec2/describe-vpc-endpoints.rst +89 -89
  66. awscli/examples/ec2/register-image.rst +32 -32
  67. awscli/examples/ecr-public/get-registry-catalog-data.rst +14 -0
  68. awscli/examples/ecr-public/get-repository-catalog-data.rst +29 -0
  69. awscli/examples/ecr-public/list-tags-for-resource.rst +28 -0
  70. awscli/examples/ecr-public/put-registry-catalog-data.rst +15 -0
  71. awscli/examples/ecr-public/put-repository-catalog-data.rst +5 -4
  72. awscli/examples/ecr-public/tag-resource.rst +21 -0
  73. awscli/examples/ecr-public/untag-resource.rst +12 -0
  74. awscli/examples/ecs/describe-service-deployments.rst +54 -0
  75. awscli/examples/ecs/describe-service-revisions.rst +60 -0
  76. awscli/examples/ecs/list-service-deployments.rst +25 -0
  77. awscli/examples/eks/describe-cluster.rst +1 -1
  78. awscli/examples/emr/create-cluster-examples.rst +4 -4
  79. awscli/examples/emr/schedule-hbase-backup.rst +23 -23
  80. awscli/examples/importexport/create-job.rst +2 -2
  81. awscli/examples/importexport/get-shipping-label.rst +1 -1
  82. awscli/examples/importexport/get-status.rst +1 -1
  83. awscli/examples/ivs-realtime/create-storage-configuration.rst +20 -20
  84. awscli/examples/ivs-realtime/get-storage-configuration.rst +20 -20
  85. awscli/examples/ivs-realtime/list-storage-configurations.rst +29 -29
  86. awscli/examples/kendra/create-data-source.rst +23 -23
  87. awscli/examples/kendra/describe-data-source.rst +83 -83
  88. awscli/examples/kendra/update-data-source.rst +18 -18
  89. awscli/examples/macie2/describe-buckets.rst +13 -11
  90. awscli/examples/oam/create-link.rst +24 -0
  91. awscli/examples/oam/create-sink.rst +17 -0
  92. awscli/examples/oam/delete-link.rst +10 -0
  93. awscli/examples/oam/delete-sink.rst +10 -0
  94. awscli/examples/oam/get-link.rst +22 -0
  95. awscli/examples/oam/get-sink-policy.rst +16 -0
  96. awscli/examples/oam/get-sink.rst +17 -0
  97. awscli/examples/oam/list-attached-links.rst +23 -0
  98. awscli/examples/oam/list-links.rst +21 -0
  99. awscli/examples/oam/list-sinks.rst +19 -0
  100. awscli/examples/oam/list-tags-for-resource.rst +16 -0
  101. awscli/examples/oam/put-sink-policy.rst +17 -0
  102. awscli/examples/oam/tag-resource.rst +11 -0
  103. awscli/examples/oam/untag-resource.rst +11 -0
  104. awscli/examples/oam/update-link.rst +24 -0
  105. awscli/examples/polly/get-speech-synthesis-task.rst +23 -23
  106. awscli/examples/polly/list-speech-synthesis-tasks.rst +25 -25
  107. awscli/examples/polly/start-speech-synthesis-task.rst +27 -27
  108. awscli/examples/qldb/describe-journal-s3-export.rst +1 -1
  109. awscli/examples/qldb/export-journal-to-s3.rst +1 -1
  110. awscli/examples/qldb/list-journal-s3-exports-for-ledger.rst +1 -1
  111. awscli/examples/qldb/list-journal-s3-exports.rst +2 -2
  112. awscli/examples/rds/download-db-log-file-portion.rst +7 -3
  113. awscli/examples/resourcegroupstaggingapi/untag-resources.rst +1 -1
  114. awscli/examples/s3/cp.rst +7 -7
  115. awscli/examples/s3/ls.rst +2 -2
  116. awscli/examples/s3/mv.rst +5 -5
  117. awscli/examples/s3/sync.rst +5 -5
  118. awscli/examples/s3api/put-bucket-acl.rst +1 -1
  119. awscli/examples/s3api/put-bucket-cors.rst +1 -1
  120. awscli/examples/s3api/put-bucket-logging.rst +10 -10
  121. awscli/examples/s3api/put-bucket-policy.rst +5 -5
  122. awscli/examples/s3api/put-object-acl.rst +1 -1
  123. awscli/examples/securitylake/create-subscriber.rst +83 -0
  124. awscli/examples/synthetics/associate-resource.rst +11 -0
  125. awscli/examples/synthetics/create-canary.rst +48 -0
  126. awscli/examples/synthetics/create-group.rst +21 -0
  127. awscli/examples/synthetics/delete-canary.rst +10 -0
  128. awscli/examples/synthetics/delete-group.rst +10 -0
  129. awscli/examples/synthetics/describe-canaries-last-run.rst +31 -0
  130. awscli/examples/synthetics/describe-canaries.rst +48 -0
  131. awscli/examples/synthetics/describe-runtime-versions.rst +74 -0
  132. awscli/examples/synthetics/disassociate-resource.rst +11 -0
  133. awscli/examples/synthetics/get-canary-runs.rst +29 -0
  134. awscli/examples/synthetics/get-canary.rst +47 -0
  135. awscli/examples/synthetics/get-group.rst +21 -0
  136. awscli/examples/synthetics/list-associated-groups.rst +20 -0
  137. awscli/examples/synthetics/list-group-resources.rst +16 -0
  138. awscli/examples/synthetics/list-groups.rst +19 -0
  139. awscli/examples/synthetics/list-tags-for-resource.rst +31 -0
  140. awscli/examples/synthetics/start-canary.rst +10 -0
  141. awscli/examples/synthetics/stop-canary.rst +10 -0
  142. awscli/examples/synthetics/tag-resource.rst +21 -0
  143. awscli/examples/synthetics/untag-resource.rst +21 -0
  144. awscli/examples/synthetics/update-canary.rst +11 -0
  145. {awscli-1.37.3.dist-info → awscli-1.37.5.dist-info}/METADATA +2 -2
  146. {awscli-1.37.3.dist-info → awscli-1.37.5.dist-info}/RECORD +158 -93
  147. awscli/examples/securitylake/create-subscriber-data-access.rst +0 -41
  148. awscli/examples/securitylake/create-subscriber-query-access.rst +0 -41
  149. /awscli/examples/securitylake/{create-aws-logsource.rst → create-aws-log-source.rst} +0 -0
  150. /awscli/examples/securitylake/{create-custom-logsource.rst → create-custom-log-source.rst} +0 -0
  151. /awscli/examples/securitylake/{delete-aws-logsource.rst → delete-aws-log-source.rst} +0 -0
  152. /awscli/examples/securitylake/{delete-custom-logsource.rst → delete-custom-log-source.rst} +0 -0
  153. {awscli-1.37.3.data → awscli-1.37.5.data}/scripts/aws +0 -0
  154. {awscli-1.37.3.data → awscli-1.37.5.data}/scripts/aws.cmd +0 -0
  155. {awscli-1.37.3.data → awscli-1.37.5.data}/scripts/aws_bash_completer +0 -0
  156. {awscli-1.37.3.data → awscli-1.37.5.data}/scripts/aws_completer +0 -0
  157. {awscli-1.37.3.data → awscli-1.37.5.data}/scripts/aws_zsh_completer.sh +0 -0
  158. {awscli-1.37.3.dist-info → awscli-1.37.5.dist-info}/LICENSE.txt +0 -0
  159. {awscli-1.37.3.dist-info → awscli-1.37.5.dist-info}/WHEEL +0 -0
  160. {awscli-1.37.3.dist-info → awscli-1.37.5.dist-info}/top_level.txt +0 -0
@@ -1,84 +1,84 @@
1
- **To get information about an Amazon Kendra data source connector**
2
-
3
- The following ``describe-data-source`` gets information about an Amazon Kendra data soource connector. You can view the configuration of a data source connector, and read any error messages if the status shows a data source connector "FAILED" to completely create. ::
4
-
5
- aws kendra describe-data-source \
6
- --id exampledatasource1 \
7
- --index-id exampleindex1
8
-
9
- Output::
10
-
11
- {
12
- "Configuration": {
13
- "TemplateConfiguration": {
14
- "Template": {
15
- "connectionConfiguration": {
16
- "repositoryEndpointMetadata": {
17
- "BucketName": "my-bucket"
18
- }
19
- },
20
- "repositoryConfigurations": {
21
- "document":{
22
- "fieldMappings": [
23
- {
24
- "indexFieldName":"_document_title",
25
- "indexFieldType":"STRING",
26
- "dataSourceFieldName": "title"
27
- },
28
- {
29
- "indexFieldName":"_last_updated_at",
30
- "indexFieldType":"DATE",
31
- "dataSourceFieldName": "modified_date"
32
- }
33
- ]
34
- }
35
- },
36
- "additionalProperties": {
37
- "inclusionPatterns": [
38
- "*.txt",
39
- "*.doc",
40
- "*.docx"
41
- ],
42
- "exclusionPatterns": [
43
- "*.json"
44
- ],
45
- "inclusionPrefixes": [
46
- "PublicExampleDocsFolder"
47
- ],
48
- "exclusionPrefixes": [
49
- "PrivateDocsFolder/private"
50
- ],
51
- "aclConfigurationFilePath": "ExampleDocsFolder/AclConfig.json",
52
- "metadataFilesPrefix": "metadata"
53
- },
54
- "syncMode": "FULL_CRAWL",
55
- "type" : "S3",
56
- "version": "1.0.0"
57
- }
58
- }
59
- },
60
- "CreatedAt": 2024-02-25T13:30:10+00:00,
61
- "CustomDocumentEnrichmentConfiguration": {
62
- "PostExtractionHookConfiguration": {
63
- "LambdaArn": "arn:aws:iam::my-account-id:function/my-function-ocr-docs",
64
- "S3Bucket": "s3://my-s3-bucket/scanned-image-text-example-docs/function"
65
- },
66
- "RoleArn": "arn:aws:iam:my-account-id:role/KendraRoleForCDE"
67
- }
68
- "Description": "Example data source 1 for example index 1 contains the first set of example documents",
69
- "Id": exampledatasource1,
70
- "IndexId": exampleindex1,
71
- "LanguageCode": "en",
72
- "Name": "example data source 1",
73
- "RoleArn": "arn:aws:iam::my-account-id:role/KendraRoleForS3TemplateConfigDataSource",
74
- "Schedule": "0 0 18 ? * TUE,MON,WED,THU,FRI,SAT *",
75
- "Status": "ACTIVE",
76
- "Type": "TEMPLATE",
77
- "UpdatedAt": 1709163615,
78
- "VpcConfiguration": {
79
- "SecurityGroupIds": ["sg-1234567890abcdef0"],
80
- "SubnetIds": ["subnet-1c234","subnet-2b134"]
81
- }
82
- }
83
-
1
+ **To get information about an Amazon Kendra data source connector**
2
+
3
+ The following ``describe-data-source`` gets information about an Amazon Kendra data soource connector. You can view the configuration of a data source connector, and read any error messages if the status shows a data source connector "FAILED" to completely create. ::
4
+
5
+ aws kendra describe-data-source \
6
+ --id exampledatasource1 \
7
+ --index-id exampleindex1
8
+
9
+ Output::
10
+
11
+ {
12
+ "Configuration": {
13
+ "TemplateConfiguration": {
14
+ "Template": {
15
+ "connectionConfiguration": {
16
+ "repositoryEndpointMetadata": {
17
+ "BucketName": "my-bucket"
18
+ }
19
+ },
20
+ "repositoryConfigurations": {
21
+ "document":{
22
+ "fieldMappings": [
23
+ {
24
+ "indexFieldName":"_document_title",
25
+ "indexFieldType":"STRING",
26
+ "dataSourceFieldName": "title"
27
+ },
28
+ {
29
+ "indexFieldName":"_last_updated_at",
30
+ "indexFieldType":"DATE",
31
+ "dataSourceFieldName": "modified_date"
32
+ }
33
+ ]
34
+ }
35
+ },
36
+ "additionalProperties": {
37
+ "inclusionPatterns": [
38
+ "*.txt",
39
+ "*.doc",
40
+ "*.docx"
41
+ ],
42
+ "exclusionPatterns": [
43
+ "*.json"
44
+ ],
45
+ "inclusionPrefixes": [
46
+ "PublicExampleDocsFolder"
47
+ ],
48
+ "exclusionPrefixes": [
49
+ "PrivateDocsFolder/private"
50
+ ],
51
+ "aclConfigurationFilePath": "ExampleDocsFolder/AclConfig.json",
52
+ "metadataFilesPrefix": "metadata"
53
+ },
54
+ "syncMode": "FULL_CRAWL",
55
+ "type" : "S3",
56
+ "version": "1.0.0"
57
+ }
58
+ }
59
+ },
60
+ "CreatedAt": 2024-02-25T13:30:10+00:00,
61
+ "CustomDocumentEnrichmentConfiguration": {
62
+ "PostExtractionHookConfiguration": {
63
+ "LambdaArn": "arn:aws:iam::my-account-id:function/my-function-ocr-docs",
64
+ "S3Bucket": "s3://amzn-s3-demo-bucket/scanned-image-text-example-docs/function"
65
+ },
66
+ "RoleArn": "arn:aws:iam:my-account-id:role/KendraRoleForCDE"
67
+ }
68
+ "Description": "Example data source 1 for example index 1 contains the first set of example documents",
69
+ "Id": exampledatasource1,
70
+ "IndexId": exampleindex1,
71
+ "LanguageCode": "en",
72
+ "Name": "example data source 1",
73
+ "RoleArn": "arn:aws:iam::my-account-id:role/KendraRoleForS3TemplateConfigDataSource",
74
+ "Schedule": "0 0 18 ? * TUE,MON,WED,THU,FRI,SAT *",
75
+ "Status": "ACTIVE",
76
+ "Type": "TEMPLATE",
77
+ "UpdatedAt": 1709163615,
78
+ "VpcConfiguration": {
79
+ "SecurityGroupIds": ["sg-1234567890abcdef0"],
80
+ "SubnetIds": ["subnet-1c234","subnet-2b134"]
81
+ }
82
+ }
83
+
84
84
  For more information, see `Getting started with an Amazon Kendra index and data source connector <https://docs.aws.amazon.com/kendra/latest/dg/getting-started.html>`__ in the *Amazon Kendra Developer Guide*.
@@ -1,19 +1,19 @@
1
- **To update an Amazon Kendra data source connector**
2
-
3
- The following ``update-data-source`` updates the configuration of an Amazon Kendra data source connector. If the action is successful, the service either sends back no output, the HTTP status code 200, or the AWS CLI return code 0. You can use ``describe-data-source`` to view the configuration and status of a data source connector. ::
4
-
5
- aws kendra update-data-source \
6
- --id exampledatasource1 \
7
- --index-id exampleindex1 \
8
- --name "new name for example data source 1" \
9
- --description "new description for example data source 1" \
10
- --role-arn arn:aws:iam::my-account-id:role/KendraNewRoleForExampleDataSource \
11
- --configuration '{"TemplateConfiguration": {"Template": file://s3schemanewconfig.json}}' \
12
- --custom-document-enrichment-configuration '{"PostExtractionHookConfiguration": {"LambdaArn": "arn:aws:iam::my-account-id:function/my-function-ocr-docs", "S3Bucket": "s3://my-s3-bucket/scanned-image-text-example-docs"}, "RoleArn": "arn:aws:iam:my-account-id:role/KendraNewRoleForCDE"}' \
13
- --language-code "es" \
14
- --schedule "0 0 18 ? * MON,WED,FRI *" \
15
- --vpc-configuration '{"SecurityGroupIds": ["sg-1234567890abcdef0"], "SubnetIds": ["subnet-1c234","subnet-2b134"]}'
16
-
17
- This command produces no output.
18
-
1
+ **To update an Amazon Kendra data source connector**
2
+
3
+ The following ``update-data-source`` updates the configuration of an Amazon Kendra data source connector. If the action is successful, the service either sends back no output, the HTTP status code 200, or the AWS CLI return code 0. You can use ``describe-data-source`` to view the configuration and status of a data source connector. ::
4
+
5
+ aws kendra update-data-source \
6
+ --id exampledatasource1 \
7
+ --index-id exampleindex1 \
8
+ --name "new name for example data source 1" \
9
+ --description "new description for example data source 1" \
10
+ --role-arn arn:aws:iam::my-account-id:role/KendraNewRoleForExampleDataSource \
11
+ --configuration '{"TemplateConfiguration": {"Template": file://s3schemanewconfig.json}}' \
12
+ --custom-document-enrichment-configuration '{"PostExtractionHookConfiguration": {"LambdaArn": "arn:aws:iam::my-account-id:function/my-function-ocr-docs", "S3Bucket": "s3://amzn-s3-demo-bucket/scanned-image-text-example-docs"}, "RoleArn": "arn:aws:iam:my-account-id:role/KendraNewRoleForCDE"}' \
13
+ --language-code "es" \
14
+ --schedule "0 0 18 ? * MON,WED,FRI *" \
15
+ --vpc-configuration '{"SecurityGroupIds": ["sg-1234567890abcdef0"], "SubnetIds": ["subnet-1c234","subnet-2b134"]}'
16
+
17
+ This command produces no output.
18
+
19
19
  For more information, see `Getting started with an Amazon Kendra index and data source connector <https://docs.aws.amazon.com/kendra/latest/dg/getting-started.html>`__ in the *Amazon Kendra Developer Guide*.
@@ -1,9 +1,9 @@
1
1
  **To query data about one or more S3 buckets that Amazon Macie monitors and analyzes for your account**
2
2
 
3
- The following ``describe-buckets`` example queries metadata for all S3 buckets whose names begin with MY-S3 and are in the current AWS Region. ::
3
+ The following ``describe-buckets`` example queries metadata for all S3 buckets whose names begin with amzn-s3-demo-bucket and are in the current AWS Region. ::
4
4
 
5
5
  aws macie2 describe-buckets \
6
- --criteria '{"bucketName":{"prefix":"my-S3"}}'
6
+ --criteria '{"bucketName":{"prefix":"amzn-s3-demo-bucket"}}'
7
7
 
8
8
  Output::
9
9
 
@@ -12,6 +12,7 @@ Output::
12
12
  {
13
13
  "accountId": "123456789012",
14
14
  "allowsUnencryptedObjectUploads": "FALSE",
15
+ "automatedDiscoveryMonitoringStatus": "MONITORED",
15
16
  "bucketArn": "arn:aws:s3:::amzn-s3-demo-bucket1",
16
17
  "bucketCreatedAt": "2020-05-18T19:54:00+00:00",
17
18
  "bucketName": "amzn-s3-demo-bucket1",
@@ -20,11 +21,11 @@ Output::
20
21
  "jobDetails": {
21
22
  "isDefinedInJob": "TRUE",
22
23
  "isMonitoredByJob": "TRUE",
23
- "lastJobId": "08c81dc4a2f3377fae45c9ddaexample",
24
- "lastJobRunTime": "2021-04-26T14:55:30.270000+00:00"
24
+ "lastJobId": "08c81dc4a2f3377fae45c9ddaEXAMPLE",
25
+ "lastJobRunTime": "2024-08-19T14:55:30.270000+00:00"
25
26
  },
26
- "lastAutomatedDiscoveryTime": "2022-12-10T19:11:25.364000+00:00",
27
- "lastUpdated": "2022-12-13T07:33:06.337000+00:00",
27
+ "lastAutomatedDiscoveryTime": "2024-10-22T19:11:25.364000+00:00",
28
+ "lastUpdated": "2024-10-25T07:33:06.337000+00:00",
28
29
  "objectCount": 13,
29
30
  "objectCountByEncryptionType": {
30
31
  "customerManaged": 0,
@@ -101,6 +102,7 @@ Output::
101
102
  {
102
103
  "accountId": "123456789012",
103
104
  "allowsUnencryptedObjectUploads": "TRUE",
105
+ "automatedDiscoveryMonitoringStatus": "MONITORED",
104
106
  "bucketArn": "arn:aws:s3:::amzn-s3-demo-bucket2",
105
107
  "bucketCreatedAt": "2020-11-25T18:24:38+00:00",
106
108
  "bucketName": "amzn-s3-demo-bucket2",
@@ -109,11 +111,11 @@ Output::
109
111
  "jobDetails": {
110
112
  "isDefinedInJob": "TRUE",
111
113
  "isMonitoredByJob": "FALSE",
112
- "lastJobId": "188d4f6044d621771ef7d65f2example",
113
- "lastJobRunTime": "2021-04-09T19:37:11.511000+00:00"
114
+ "lastJobId": "188d4f6044d621771ef7d65f2EXAMPLE",
115
+ "lastJobRunTime": "2024-07-09T19:37:11.511000+00:00"
114
116
  },
115
- "lastAutomatedDiscoveryTime": "2022-12-12T19:11:25.364000+00:00",
116
- "lastUpdated": "2022-12-13T07:33:06.337000+00:00",
117
+ "lastAutomatedDiscoveryTime": "2024-10-24T19:11:25.364000+00:00",
118
+ "lastUpdated": "2024-10-25T07:33:06.337000+00:00",
117
119
  "objectCount": 8,
118
120
  "objectCountByEncryptionType": {
119
121
  "customerManaged": 0,
@@ -190,4 +192,4 @@ Output::
190
192
  ]
191
193
  }
192
194
 
193
- For more information, see `Filtering your S3 bucket inventory <https://docs.aws.amazon.com/macie/latest/user/monitoring-s3-inventory-filter.html>`__ in the *Amazon Macie User Guide*.
195
+ For more information, see `Filtering your S3 bucket inventory <https://docs.aws.amazon.com/macie/latest/user/monitoring-s3-inventory-filter.html>`__ in the *Amazon Macie User Guide*.
@@ -0,0 +1,24 @@
1
+ **To create a link**
2
+
3
+ The following ``create-link`` example creates a link between a source account and a sink that you have created in a monitoring account. ::
4
+
5
+ aws oam create-link \
6
+ --label-template sourceAccount \
7
+ --resource-types AWS::CloudWatch::Metric \
8
+ --sink-identifier arn:aws:oam:us-east-2:123456789012:sink/a1b2c3d4-5678-90ab-cdef-example12345
9
+
10
+ Output::
11
+
12
+ {
13
+ "Arn": "arn:aws:oam:us-east-2:123456789111:link/a1b2c3d4-5678-90ab-cdef-example11111",
14
+ "Id": "a1b2c3d4-5678-90ab-cdef-example11111",
15
+ "Label": "sourceAccount",
16
+ "LabelTemplate": "sourceAccount",
17
+ "ResourceTypes": [
18
+ "AWS::CloudWatch::Metric"
19
+ ],
20
+ "SinkArn": "arn:aws:oam:us-east-2:123456789012:sink/a1b2c3d4-5678-90ab-cdef-example12345",
21
+ "Tags": {}
22
+ }
23
+
24
+ For more information, see `CloudWatch cross-account observability <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html>`__ in the *Amazon CloudWatch User Guide*.
@@ -0,0 +1,17 @@
1
+ **To create a sink**
2
+
3
+ The following ``create-sink`` example creates a sink in the current account, so that it can be used as a monitoring account in CloudWatch cross-account observability. ::
4
+
5
+ aws oam create-sink \
6
+ --name DemoSink
7
+
8
+ Output::
9
+
10
+ {
11
+ "Arn": "arn:aws:oam:us-east-2:123456789012:sink/a1b2c3d4-5678-90ab-cdef-example12345",
12
+ "Id": "a1b2c3d4-5678-90ab-cdef-example12345",
13
+ "Name": "DemoSink",
14
+ "Tags": {}
15
+ }
16
+
17
+ For more information, see `CloudWatch cross-account observability <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html>`__ in the *Amazon CloudWatch User Guide*.
@@ -0,0 +1,10 @@
1
+ **To delete a link**
2
+
3
+ The following ``delete-link`` example deletes a link between a monitoring account sink and a source account. ::
4
+
5
+ aws oam delete-link \
6
+ --identifier arn:aws:oam:us-east-2:123456789111:link/a1b2c3d4-5678-90ab-cdef-example11111
7
+
8
+ This command produces no output.
9
+
10
+ For more information, see `CloudWatch cross-account observability <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html>`__ in the *Amazon CloudWatch User Guide*.
@@ -0,0 +1,10 @@
1
+ **To delete a sink**
2
+
3
+ The following ``delete-sink`` example deletes a sink. You must delete all links to a sink before you can delete that sink. ::
4
+
5
+ aws oam delete-sink \
6
+ --identifier arn:aws:oam:us-east-2:123456789012:sink/a1b2c3d4-5678-90ab-cdef-example12345
7
+
8
+ This command produces no output.
9
+
10
+ For more information, see `CloudWatch cross-account observability <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html>`__ in the *Amazon CloudWatch User Guide*.
@@ -0,0 +1,22 @@
1
+ **To return complete information about one link**
2
+
3
+ The following ``get-link`` example returns complete information about a link. ::
4
+
5
+ aws oam get-link \
6
+ --identifier arn:aws:oam:us-east-2:123456789111:link/a1b2c3d4-5678-90ab-cdef-example11111
7
+
8
+ Output::
9
+
10
+ {
11
+ "Arn": "arn:aws:oam:us-east-2:123456789111:link/a1b2c3d4-5678-90ab-cdef-example11111",
12
+ "Id": "a1b2c3d4-5678-90ab-cdef-example11111",
13
+ "Label": "sourceAccount",
14
+ "LabelTemplate": "sourceAccount",
15
+ "ResourceTypes": [
16
+ "AWS::CloudWatch::Metric"
17
+ ],
18
+ "SinkArn": "arn:aws:oam:us-east-2:123456789012:sink/a1b2c3d4-5678-90ab-cdef-example12345",
19
+ "Tags": {}
20
+ }
21
+
22
+ For more information, see `CloudWatch cross-account observability <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html>`__ in the *Amazon CloudWatch User Guide*.
@@ -0,0 +1,16 @@
1
+ **To return the current sink policy attached to the sink**
2
+
3
+ The following ``get-sink-policy`` example returns the current sink policy attached to the sink. ::
4
+
5
+ aws oam get-sink-policy \
6
+ --sink-identifier arn:aws:oam:us-east-2:123456789012:sink/a1b2c3d4-5678-90ab-cdef-example12345
7
+
8
+ Output::
9
+
10
+ {
11
+ "SinkArn": "arn:aws:oam:us-east-2:123456789012:sink/a1b2c3d4-5678-90ab-cdef-example12345",
12
+ "SinkId": "a1b2c3d4-5678-90ab-cdef-example12345",
13
+ "Policy": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::123456789111:root\"},\"Action\":[\"oam:CreateLink\",\"oam:UpdateLink\"],\"Resource\":\"*\",\"Condition\":{\"ForAllValues:StringEquals\":{\"oam:ResourceTypes\":[\"AWS::Logs::LogGroup\",\"AWS::CloudWatch::Metric\",\"AWS::XRay::Trace\",\"AWS::ApplicationInsights::Application\"]}}}]}"
14
+ }
15
+
16
+ For more information, see `CloudWatch cross-account observability <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html>`__ in the *Amazon CloudWatch User Guide*.
@@ -0,0 +1,17 @@
1
+ **To return complete information about one monitoring account sink**
2
+
3
+ The following ``get-sink`` example returns complete information about a monitoring account sink. ::
4
+
5
+ aws oam get-sink \
6
+ --identifier arn:aws:oam:us-east-2:123456789012:sink/a1b2c3d4-5678-90ab-cdef-example12345
7
+
8
+ Output::
9
+
10
+ {
11
+ "Arn": "arn:aws:oam:us-east-2:123456789012:sink/a1b2c3d4-5678-90ab-cdef-example12345",
12
+ "Id": "a1b2c3d4-5678-90ab-cdef-example12345",
13
+ "Name": "DemoSink",
14
+ "Tags": {}
15
+ }
16
+
17
+ For more information, see `CloudWatch cross-account observability <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html>`__ in the *Amazon CloudWatch User Guide*.
@@ -0,0 +1,23 @@
1
+ **To return a list of source account links that are linked to this monitoring account sink**
2
+
3
+ The following ``list-attached-links`` example returns a list of source account links that are linked to this monitoring account sink. ::
4
+
5
+ aws oam list-attached-links \
6
+ --sink-identifier arn:aws:oam:us-east-2:123456789012:sink/a1b2c3d4-5678-90ab-cdef-example12345
7
+
8
+ Output::
9
+
10
+ {
11
+ "Items": [{
12
+ "Label": "Monitoring account",
13
+ "LinkArn": "arn:aws:oam:us-east-2:123456789111:link/a1b2c3d4-5678-90ab-cdef-example11111",
14
+ "ResourceTypes": [
15
+ "AWS::ApplicationInsights::Application",
16
+ "AWS::Logs::LogGroup",
17
+ "AWS::CloudWatch::Metric",
18
+ "AWS::XRay::Trace"
19
+ ]
20
+ }]
21
+ }
22
+
23
+ For more information, see `CloudWatch cross-account observability <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html>`__ in the *Amazon CloudWatch User Guide*.
@@ -0,0 +1,21 @@
1
+ **To return a list of links for one monitoring account sink**
2
+
3
+ The following ``list-links`` example returns a list of links for one monitoring account sink. Run this operation in a source account to return a list of links to monitoring account sinks that this source account has. ::
4
+
5
+ aws oam list-links
6
+
7
+ Output::
8
+
9
+ {
10
+ "Items": [{
11
+ "Arn": "arn:aws:oam:us-east-2:123456789111:link/a1b2c3d4-5678-90ab-cdef-example11111",
12
+ "Id": "a1b2c3d4-5678-90ab-cdef-example11111",
13
+ "Label": "sourceAccount",
14
+ "ResourceTypes": [
15
+ "AWS::CloudWatch::Metric"
16
+ ],
17
+ "SinkArn": "arn:aws:oam:us-east-2:123456789012:sink/a1b2c3d4-5678-90ab-cdef-example12345"
18
+ }]
19
+ }
20
+
21
+ For more information, see `CloudWatch cross-account observability <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html>`__ in the *Amazon CloudWatch User Guide*.
@@ -0,0 +1,19 @@
1
+ **To return the list of sinks created in the monitoring account**
2
+
3
+ The following ``list-sinks`` example returns a list of sinks created in the monitoring account. Run this operation in a monitoring account. ::
4
+
5
+ aws oam list-sinks
6
+
7
+ Output::
8
+
9
+ {
10
+ "Items": [
11
+ {
12
+ "Arn": "arn:aws:oam:us-east-2:123456789012:sink/a1b2c3d4-5678-90ab-cdef-example12345",
13
+ "Id": "a1b2c3d4-5678-90ab-cdef-example12345",
14
+ "Name": "DemoSink"
15
+ }
16
+ ]
17
+ }
18
+
19
+ For more information, see `CloudWatch cross-account observability <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html>`__ in the *Amazon CloudWatch User Guide*.
@@ -0,0 +1,16 @@
1
+ **To display the tags associated with a resource**
2
+
3
+ The following ``list-tags-for-resource`` example displays the tags associated with a sink. ::
4
+
5
+ aws oam list-tags-for-resource \
6
+ --resource-arn arn:aws:oam:us-east-2:123456789012:sink/a1b2c3d4-5678-90ab-cdef-example12345
7
+
8
+ Output::
9
+
10
+ {
11
+ "Tags": {
12
+ "Team": "Devops"
13
+ }
14
+ }
15
+
16
+ For more information, see `CloudWatch cross-account observability <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html>`__ in the *Amazon CloudWatch User Guide*.
@@ -0,0 +1,17 @@
1
+ **To create or update the resource policy**
2
+
3
+ The following ``put-sink-policy`` example creates the resource policy that grants permissions to source accounts to link to the monitoring account sink. ::
4
+
5
+ aws oam put-sink-policy \
6
+ --policy '{"Version":"2012-10-17","Statement":[{"Effect":"Allow","Principal":{"AWS":"arn:aws:iam::123456789111:root"},"Action":["oam:CreateLink","oam:UpdateLink"],"Resource":"*","Condition":{"ForAllValues:StringEquals":{"oam:ResourceTypes":["AWS::Logs::LogGroup","AWS::CloudWatch::Metric","AWS::XRay::Trace","AWS::ApplicationInsights::Application"]}}}]}' \
7
+ --sink-identifier arn:aws:oam:us-east-2:123456789012:sink/a1b2c3d4-5678-90ab-cdef-example12345
8
+
9
+ Output::
10
+
11
+ {
12
+ "SinkArn": "arn:aws:oam:us-east-2:123456789012:sink/a1b2c3d4-5678-90ab-cdef-example12345",
13
+ "SinkId": "a1b2c3d4-5678-90ab-cdef-example12345",
14
+ "Policy": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::123456789111:root\"},\"Action\":[\"oam:CreateLink\",\"oam:UpdateLink\"],\"Resource\":\"*\",\"Condition\":{\"ForAllValues:StringEquals\":{\"oam:ResourceTypes\":[\"AWS::Logs::LogGroup\",\"AWS::CloudWatch::Metric\",\"AWS::XRay::Trace\",\"AWS::ApplicationInsights::Application\"]}}}]}"
15
+ }
16
+
17
+ For more information, see `CloudWatch cross-account observability <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html>`__ in the *Amazon CloudWatch User Guide*.
@@ -0,0 +1,11 @@
1
+ **To assign one or more tags to the specified resource**
2
+
3
+ The following ``tag-resource`` example tags a sink ``arn:aws:oam:us-east-2:123456789012:sink/a1b2c3d4-5678-90ab-cdef-example12345``. ::
4
+
5
+ aws oam tag-resource \
6
+ --resource-arn arn:aws:oam:us-east-2:123456789012:sink/a1b2c3d4-5678-90ab-cdef-example12345 \
7
+ --tags team=Devops
8
+
9
+ This command produces no output.
10
+
11
+ For more information, see `CloudWatch cross-account observability <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html>`__ in the *Amazon CloudWatch User Guide*.
@@ -0,0 +1,11 @@
1
+ **To remove one or more tags from the specified resource.**
2
+
3
+ The following ``untag-resource`` example removes a tag with the key ``team`` from sink ``arn:aws:oam:us-east-2:123456789012:sink/a1b2c3d4-5678-90ab-cdef-example12345``. ::
4
+
5
+ aws oam untag-resource \
6
+ --resource-arn arn:aws:oam:us-east-2:123456789012:sink/f3f42f60-f0f2-425c-1234-12347bdd821f \
7
+ --tag-keys team
8
+
9
+ This command produces no output.
10
+
11
+ For more information, see `CloudWatch cross-account observability <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html>`__ in the *Amazon CloudWatch User Guide*.
@@ -0,0 +1,24 @@
1
+ **To change what types of data are shared from a source account to its linked monitoring account sink**
2
+
3
+ The following ``update-link`` example updates the link ``arn:aws:oam:us-east-2:123456789111:link/0123e691-e7ef-43fa-1234-c57c837fced0`` with resource types ``AWS::CloudWatch::Metric`` and ``AWS::Logs::LogGroup``. ::
4
+
5
+ aws oam update-link \
6
+ --identifier arn:aws:oam:us-east-2:123456789111:link/a1b2c3d4-5678-90ab-cdef-example11111 \
7
+ --resource-types "AWS::CloudWatch::Metric" "AWS::Logs::LogGroup"
8
+
9
+ Output::
10
+
11
+ {
12
+ "Arn": "arn:aws:oam:us-east-2:123456789111:link/a1b2c3d4-5678-90ab-cdef-example11111",
13
+ "Id": "a1b2c3d4-5678-90ab-cdef-example11111",
14
+ "Label": "sourceAccount",
15
+ "LabelTemplate": "sourceAccount",
16
+ "ResourceTypes": [
17
+ "AWS::CloudWatch::Metric",
18
+ "AWS::Logs::LogGroup"
19
+ ],
20
+ "SinkArn": "arn:aws:oam:us-east-2:123456789012:sink/a1b2c3d4-5678-90ab-cdef-example12345",
21
+ "Tags": {}
22
+ }
23
+
24
+ For more information, see `CloudWatch cross-account observability <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html>`__ in the *Amazon CloudWatch User Guide*.
@@ -1,23 +1,23 @@
1
- **To get information about a speech synthesis task**
2
-
3
- The following ``get-speech-synthesis-task`` example retrieves information about the specified speech synthesis task. ::
4
-
5
- aws polly get-speech-synthesis-task \
6
- --task-id 70b61c0f-57ce-4715-a247-cae8729dcce9
7
-
8
- Output::
9
-
10
- {
11
- "SynthesisTask": {
12
- "TaskId": "70b61c0f-57ce-4715-a247-cae8729dcce9",
13
- "TaskStatus": "completed",
14
- "OutputUri": "https://s3.us-west-2.amazonaws.com/my-s3-bucket/70b61c0f-57ce-4715-a247-cae8729dcce9.mp3",
15
- "CreationTime": 1603911042.689,
16
- "RequestCharacters": 1311,
17
- "OutputFormat": "mp3",
18
- "TextType": "text",
19
- "VoiceId": "Joanna"
20
- }
21
- }
22
-
23
- For more information, see `Creating long audio files <https://docs.aws.amazon.com/polly/latest/dg/longer-cli.html>`__ in the *Amazon Polly Developer Guide*.
1
+ **To get information about a speech synthesis task**
2
+
3
+ The following ``get-speech-synthesis-task`` example retrieves information about the specified speech synthesis task. ::
4
+
5
+ aws polly get-speech-synthesis-task \
6
+ --task-id 70b61c0f-57ce-4715-a247-cae8729dcce9
7
+
8
+ Output::
9
+
10
+ {
11
+ "SynthesisTask": {
12
+ "TaskId": "70b61c0f-57ce-4715-a247-cae8729dcce9",
13
+ "TaskStatus": "completed",
14
+ "OutputUri": "https://s3.us-west-2.amazonaws.com/amzn-s3-demo-bucket/70b61c0f-57ce-4715-a247-cae8729dcce9.mp3",
15
+ "CreationTime": 1603911042.689,
16
+ "RequestCharacters": 1311,
17
+ "OutputFormat": "mp3",
18
+ "TextType": "text",
19
+ "VoiceId": "Joanna"
20
+ }
21
+ }
22
+
23
+ For more information, see `Creating long audio files <https://docs.aws.amazon.com/polly/latest/dg/longer-cli.html>`__ in the *Amazon Polly Developer Guide*.