awscli 1.37.4__py3-none-any.whl → 1.37.6__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.
- awscli/__init__.py +1 -1
- awscli/examples/cloudtrail/create-subscription.rst +29 -26
- awscli/examples/cloudtrail/create-trail.rst +13 -11
- awscli/examples/cloudtrail/describe-trails.rst +30 -29
- awscli/examples/cloudtrail/put-event-selectors.rst +8 -8
- awscli/examples/cloudtrail/update-subscription.rst +25 -22
- awscli/examples/cloudtrail/update-trail.rst +12 -10
- awscli/examples/codebuild/create-report-group.rst +2 -2
- awscli/examples/datapipeline/get-pipeline-definition.rst +1 -1
- awscli/examples/ds-data/add-group-member.rst +12 -0
- awscli/examples/ds-data/create-group.rst +17 -0
- awscli/examples/ds-data/create-user.rst +17 -0
- awscli/examples/ds-data/delete-group.rst +11 -0
- awscli/examples/ds-data/delete-user.rst +11 -0
- awscli/examples/ds-data/describe-group.rst +21 -0
- awscli/examples/ds-data/describe-user.rst +21 -0
- awscli/examples/ds-data/disable-directory-data-access.rst +10 -0
- awscli/examples/ds-data/disable-user.rst +11 -0
- awscli/examples/ds-data/enable-directory-data-access.rst +10 -0
- awscli/examples/ds-data/list-group-members.rst +29 -0
- awscli/examples/ds-data/list-groups-for-member.rst +25 -0
- awscli/examples/ds-data/list-groups.rst +503 -0
- awscli/examples/ds-data/list-users.rst +57 -0
- awscli/examples/ds-data/remove-group-member.rst +12 -0
- awscli/examples/ds-data/reset-user-password.rst +12 -0
- awscli/examples/ds-data/search-groups.rst +25 -0
- awscli/examples/ds-data/search-users.rst +24 -0
- awscli/examples/ds-data/update-group.rst +13 -0
- awscli/examples/ds-data/update-user.rst +13 -0
- awscli/examples/ec2/describe-capacity-reservations.rst +46 -31
- awscli/examples/ec2/describe-instance-image-metadata.rst +186 -0
- awscli/examples/ec2/describe-spot-datafeed-subscription.rst +1 -1
- awscli/examples/ec2/register-image.rst +32 -32
- awscli/examples/ecr-public/get-registry-catalog-data.rst +14 -0
- awscli/examples/ecr-public/get-repository-catalog-data.rst +29 -0
- awscli/examples/ecr-public/list-tags-for-resource.rst +28 -0
- awscli/examples/ecr-public/put-registry-catalog-data.rst +15 -0
- awscli/examples/ecr-public/put-repository-catalog-data.rst +5 -4
- awscli/examples/ecr-public/tag-resource.rst +21 -0
- awscli/examples/ecr-public/untag-resource.rst +12 -0
- awscli/examples/ecs/describe-service-deployments.rst +54 -0
- awscli/examples/ecs/describe-service-revisions.rst +60 -0
- awscli/examples/ecs/list-service-deployments.rst +25 -0
- awscli/examples/ivs-realtime/create-storage-configuration.rst +20 -20
- awscli/examples/ivs-realtime/get-storage-configuration.rst +20 -20
- awscli/examples/ivs-realtime/list-storage-configurations.rst +29 -29
- awscli/examples/kendra/create-data-source.rst +23 -23
- awscli/examples/kendra/describe-data-source.rst +83 -83
- awscli/examples/kendra/update-data-source.rst +18 -18
- awscli/examples/macie2/describe-buckets.rst +13 -11
- awscli/examples/oam/create-link.rst +24 -0
- awscli/examples/oam/create-sink.rst +17 -0
- awscli/examples/oam/delete-link.rst +10 -0
- awscli/examples/oam/delete-sink.rst +10 -0
- awscli/examples/oam/get-link.rst +22 -0
- awscli/examples/oam/get-sink-policy.rst +16 -0
- awscli/examples/oam/get-sink.rst +17 -0
- awscli/examples/oam/list-attached-links.rst +23 -0
- awscli/examples/oam/list-links.rst +21 -0
- awscli/examples/oam/list-sinks.rst +19 -0
- awscli/examples/oam/list-tags-for-resource.rst +16 -0
- awscli/examples/oam/put-sink-policy.rst +17 -0
- awscli/examples/oam/tag-resource.rst +11 -0
- awscli/examples/oam/untag-resource.rst +11 -0
- awscli/examples/oam/update-link.rst +24 -0
- awscli/examples/polly/get-speech-synthesis-task.rst +23 -23
- awscli/examples/polly/list-speech-synthesis-tasks.rst +25 -25
- awscli/examples/polly/start-speech-synthesis-task.rst +27 -27
- awscli/examples/qldb/describe-journal-s3-export.rst +1 -1
- awscli/examples/qldb/export-journal-to-s3.rst +1 -1
- awscli/examples/qldb/list-journal-s3-exports-for-ledger.rst +1 -1
- awscli/examples/qldb/list-journal-s3-exports.rst +2 -2
- awscli/examples/s3api/put-bucket-acl.rst +1 -1
- awscli/examples/s3api/put-bucket-cors.rst +1 -1
- awscli/examples/s3api/put-bucket-logging.rst +10 -10
- awscli/examples/s3api/put-bucket-policy.rst +5 -5
- awscli/examples/s3api/put-object-acl.rst +1 -1
- awscli/examples/synthetics/associate-resource.rst +11 -0
- awscli/examples/synthetics/create-canary.rst +48 -0
- awscli/examples/synthetics/create-group.rst +21 -0
- awscli/examples/synthetics/delete-canary.rst +10 -0
- awscli/examples/synthetics/delete-group.rst +10 -0
- awscli/examples/synthetics/describe-canaries-last-run.rst +31 -0
- awscli/examples/synthetics/describe-canaries.rst +48 -0
- awscli/examples/synthetics/describe-runtime-versions.rst +74 -0
- awscli/examples/synthetics/disassociate-resource.rst +11 -0
- awscli/examples/synthetics/get-canary-runs.rst +29 -0
- awscli/examples/synthetics/get-canary.rst +47 -0
- awscli/examples/synthetics/get-group.rst +21 -0
- awscli/examples/synthetics/list-associated-groups.rst +20 -0
- awscli/examples/synthetics/list-group-resources.rst +16 -0
- awscli/examples/synthetics/list-groups.rst +19 -0
- awscli/examples/synthetics/list-tags-for-resource.rst +31 -0
- awscli/examples/synthetics/start-canary.rst +10 -0
- awscli/examples/synthetics/stop-canary.rst +10 -0
- awscli/examples/synthetics/tag-resource.rst +21 -0
- awscli/examples/synthetics/untag-resource.rst +21 -0
- awscli/examples/synthetics/update-canary.rst +11 -0
- {awscli-1.37.4.dist-info → awscli-1.37.6.dist-info}/METADATA +2 -2
- {awscli-1.37.4.dist-info → awscli-1.37.6.dist-info}/RECORD +108 -42
- {awscli-1.37.4.data → awscli-1.37.6.data}/scripts/aws +0 -0
- {awscli-1.37.4.data → awscli-1.37.6.data}/scripts/aws.cmd +0 -0
- {awscli-1.37.4.data → awscli-1.37.6.data}/scripts/aws_bash_completer +0 -0
- {awscli-1.37.4.data → awscli-1.37.6.data}/scripts/aws_completer +0 -0
- {awscli-1.37.4.data → awscli-1.37.6.data}/scripts/aws_zsh_completer.sh +0 -0
- {awscli-1.37.4.dist-info → awscli-1.37.6.dist-info}/LICENSE.txt +0 -0
- {awscli-1.37.4.dist-info → awscli-1.37.6.dist-info}/WHEEL +0 -0
- {awscli-1.37.4.dist-info → awscli-1.37.6.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
**To list canaries in your account**
|
|
2
|
+
|
|
3
|
+
The following ``describe-canaries`` example lists the details of canaries in your account. ::
|
|
4
|
+
|
|
5
|
+
aws synthetics describe-canaries
|
|
6
|
+
|
|
7
|
+
Output::
|
|
8
|
+
|
|
9
|
+
{
|
|
10
|
+
"Canaries": [
|
|
11
|
+
{
|
|
12
|
+
"Id": "a1b2c3d4-5678-90ab-cdef-example11111",
|
|
13
|
+
"Name": "demo_canary",
|
|
14
|
+
"Code": {
|
|
15
|
+
"SourceLocationArn": "arn:aws:lambda:us-east-1:123456789012:layer:cwsyn-demo_canary-a1b2c3d4-5678-90ab-cdef-example11111b8:1",
|
|
16
|
+
"Handler": "pageLoadBlueprint.handler"
|
|
17
|
+
},
|
|
18
|
+
"ExecutionRoleArn": "arn:aws:iam::123456789012:role/service-role/CloudWatchSyntheticsRole-demo_canary-a12-a123bc456789",
|
|
19
|
+
"Schedule": {
|
|
20
|
+
"Expression": "rate(5 minutes)",
|
|
21
|
+
"DurationInSeconds": 0
|
|
22
|
+
},
|
|
23
|
+
"RunConfig": {
|
|
24
|
+
"TimeoutInSeconds": 300,
|
|
25
|
+
"MemoryInMB": 1000,
|
|
26
|
+
"ActiveTracing": false
|
|
27
|
+
},
|
|
28
|
+
"SuccessRetentionPeriodInDays": 31,
|
|
29
|
+
"FailureRetentionPeriodInDays": 31,
|
|
30
|
+
"Status": {
|
|
31
|
+
"State": "RUNNING"
|
|
32
|
+
},
|
|
33
|
+
"Timeline": {
|
|
34
|
+
"Created": "2024-10-15T18:55:15.168000+05:30",
|
|
35
|
+
"LastModified": "2024-10-15T18:55:40.540000+05:30",
|
|
36
|
+
"LastStarted": "2024-10-15T18:55:40.540000+05:30"
|
|
37
|
+
},
|
|
38
|
+
"ArtifactS3Location": "cw-syn-results-123456789012-us-east-1/canary/us-east-1/demo_canary-a12-a123bc456789",
|
|
39
|
+
"EngineArn": "arn:aws:lambda:us-east-1:123456789012:function:cwsyn-demo_canary-a1b2c3d4-5678-90ab-cdef-example111118:1",
|
|
40
|
+
"RuntimeVersion": "syn-nodejs-puppeteer-9.1",
|
|
41
|
+
"Tags": {
|
|
42
|
+
"blueprint": "heartbeat"
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
For more information, see `Synthetic monitoring (canaries) <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries.html>`__ in the *Amazon CloudWatch User Guide*.
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
**To return a list of synthetics canary runtime versions**
|
|
2
|
+
|
|
3
|
+
The following ``describe-runtime-versions`` example returns the list of synthetics canary runtime versions. ::
|
|
4
|
+
|
|
5
|
+
aws synthetics describe-runtime-versions
|
|
6
|
+
|
|
7
|
+
Output::
|
|
8
|
+
|
|
9
|
+
{
|
|
10
|
+
"RuntimeVersions": [
|
|
11
|
+
{
|
|
12
|
+
"VersionName": "syn-nodejs-puppeteer-9.1",
|
|
13
|
+
"Description": "Security fixes and bug fix for date range error in har. Dependencies: Node JS 20.x, Puppeteer-core 22.12.1, Chromium 126.0.6478.126",
|
|
14
|
+
"ReleaseDate": "2024-10-02T05:30:00+05:30"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"VersionName": "syn-nodejs-puppeteer-9.0",
|
|
18
|
+
"Description": "Upgraded Chromium and Puppeteer. Dependencies: Node JS 20.x, Puppeteer-core 22.12.1, Chromium 126.0.6478.126",
|
|
19
|
+
"ReleaseDate": "2024-07-22T05:30:00+05:30"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"VersionName": "syn-nodejs-puppeteer-8.0",
|
|
23
|
+
"Description": "Upgraded Chromium and Puppeteer. Dependencies: Node JS 20.x, Puppeteer-core 22.10.0, Chromium 125.0.6422.112",
|
|
24
|
+
"ReleaseDate": "2024-06-21T05:30:00+05:30"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"VersionName": "syn-nodejs-puppeteer-7.0",
|
|
28
|
+
"Description": "Upgraded Chromium and Puppeteer. Dependencies: Node JS 18.x, Puppeteer-core 21.9.0, Chromium 121.0.6167.139",
|
|
29
|
+
"ReleaseDate": "2024-03-08T05:30:00+05:30"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"VersionName": "syn-nodejs-puppeteer-6.2",
|
|
33
|
+
"Description": "Updated shared libraries for Chromium and added ephemeral storage monitoring. Dependencies: Node JS 18.x, Puppeteer-core 19.7.0, Chromium 111.0.5563.146",
|
|
34
|
+
"ReleaseDate": "2024-02-02T05:30:00+05:30"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"VersionName": "syn-nodejs-puppeteer-6.1",
|
|
38
|
+
"Description": "Added puppeteer launch retry. Dependencies: Node JS 18.x, Puppeteer-core 19.7.0, Chromium 111.0.5563.146",
|
|
39
|
+
"ReleaseDate": "2023-11-13T05:30:00+05:30",
|
|
40
|
+
"DeprecationDate": "2024-03-08T13:30:00+05:30"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"VersionName": "syn-nodejs-puppeteer-6.0",
|
|
44
|
+
"Description": "Reduced X-Ray traces of a canary run, improved duration metric and upgraded to NodeJS 18.x. Dependencies: Node JS 18.x, Puppeteer-core 19.7.0, Chromium 111.0.5563.146",
|
|
45
|
+
"ReleaseDate": "2023-09-15T05:30:00+05:30",
|
|
46
|
+
"DeprecationDate": "2024-03-08T13:30:00+05:30"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"VersionName": "syn-nodejs-puppeteer-5.2",
|
|
50
|
+
"Description": "Updated shared libraries for Chromium. Dependencies: Node JS 16.x, Puppeteer-core 19.7.0, Chromium 111.0.5563.146",
|
|
51
|
+
"ReleaseDate": "2024-02-01T05:30:00+05:30"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"VersionName": "syn-nodejs-puppeteer-5.1",
|
|
55
|
+
"Description": "Fixes a bug about missing request headers in har. Dependencies: Node JS 16.x, Puppeteer-core 19.7.0, Chromium 111.0.5563.146",
|
|
56
|
+
"ReleaseDate": "2023-08-09T05:30:00+05:30",
|
|
57
|
+
"DeprecationDate": "2024-03-08T13:30:00+05:30"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"VersionName": "syn-nodejs-puppeteer-5.0",
|
|
61
|
+
"Description": "Upgraded Puppeteer and Chromium. Dependencies: Node JS 16.x, Puppeteer-core 19.7.0, Chromium 111.0.5563.146",
|
|
62
|
+
"ReleaseDate": "2023-07-21T05:30:00+05:30",
|
|
63
|
+
"DeprecationDate": "2024-03-08T13:30:00+05:30"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"VersionName": "syn-nodejs-puppeteer-4.0",
|
|
67
|
+
"Description": "Upgraded to NodeJS 16.x. Dependencies: Node JS 16.x, Puppeteer-core 5.5.0, Chromium 92.0.4512.0",
|
|
68
|
+
"ReleaseDate": "2023-05-01T05:30:00+05:30",
|
|
69
|
+
"DeprecationDate": "2024-03-08T13:30:00+05:30"
|
|
70
|
+
}
|
|
71
|
+
]
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
For more information, see `Synthetic monitoring (canaries) <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries.html>`__ in the *Amazon CloudWatch User Guide*.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
**To remove a canary from a group**
|
|
2
|
+
|
|
3
|
+
The following ``disassociate-resource`` example removes a canary from the group named ``demo_group``. ::
|
|
4
|
+
|
|
5
|
+
aws synthetics disassociate-resource \
|
|
6
|
+
--group-identifier demo_group \
|
|
7
|
+
--resource-arn arn:aws:synthetics:us-east-1:123456789012:canary:demo_canary
|
|
8
|
+
|
|
9
|
+
This command produces no output.
|
|
10
|
+
|
|
11
|
+
For more information, see `Synthetic monitoring (canaries) <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries.html>`__ in the *Amazon CloudWatch User Guide*.
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
**To retrieve a list of runs for a specified canary**
|
|
2
|
+
|
|
3
|
+
The following ``get-canary-runs`` example retrieves a list of runs for the canary named ``demo_canary``. ::
|
|
4
|
+
|
|
5
|
+
aws synthetics get-canary-runs \
|
|
6
|
+
--name demo_canary
|
|
7
|
+
|
|
8
|
+
Output::
|
|
9
|
+
|
|
10
|
+
{
|
|
11
|
+
"CanaryRuns": [
|
|
12
|
+
{
|
|
13
|
+
"Id": "a1b2c3d4-5678-90ab-cdef-example11111",
|
|
14
|
+
"Name": "demo_canary",
|
|
15
|
+
"Status": {
|
|
16
|
+
"State": "PASSED",
|
|
17
|
+
"StateReason": "",
|
|
18
|
+
"StateReasonCode": ""
|
|
19
|
+
},
|
|
20
|
+
"Timeline": {
|
|
21
|
+
"Started": "2024-10-16T10:38:57.013000+05:30",
|
|
22
|
+
"Completed": "2024-10-16T10:39:25.793000+05:30"
|
|
23
|
+
},
|
|
24
|
+
"ArtifactS3Location": "cw-syn-results-123456789012-us-east-1/canary/us-east-1/demo_canary-abc-example1234/2024/10/15/13/50-39-690"
|
|
25
|
+
}
|
|
26
|
+
]
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
For more information, see `Synthetic monitoring (canaries) <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries.html>`__ in the *Amazon CloudWatch User Guide*.
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
**To retrieve complete information about one canary**
|
|
2
|
+
|
|
3
|
+
The following ``get-canary`` example retrieves complete information about the canary named ``demo_canary``. ::
|
|
4
|
+
|
|
5
|
+
aws synthetics get-canary \
|
|
6
|
+
--name demo_canary
|
|
7
|
+
|
|
8
|
+
Output::
|
|
9
|
+
|
|
10
|
+
{
|
|
11
|
+
"Canary": {
|
|
12
|
+
"Id": "a1b2c3d4-5678-90ab-cdef-example11111",
|
|
13
|
+
"Name": "demo_canary",
|
|
14
|
+
"Code": {
|
|
15
|
+
"SourceLocationArn": "arn:aws:lambda:us-east-1:123456789012:layer:cwsyn-demo_canary-a1b2c3d4-5678-90ab-cdef-example111118:1",
|
|
16
|
+
"Handler": "pageLoadBlueprint.handler"
|
|
17
|
+
},
|
|
18
|
+
"ExecutionRoleArn": "arn:aws:iam::123456789012:role/demo_canary_role",
|
|
19
|
+
"Schedule": {
|
|
20
|
+
"Expression": "rate(10 minutes)",
|
|
21
|
+
"DurationInSeconds": 0
|
|
22
|
+
},
|
|
23
|
+
"RunConfig": {
|
|
24
|
+
"TimeoutInSeconds": 300,
|
|
25
|
+
"MemoryInMB": 1000,
|
|
26
|
+
"ActiveTracing": false
|
|
27
|
+
},
|
|
28
|
+
"SuccessRetentionPeriodInDays": 31,
|
|
29
|
+
"FailureRetentionPeriodInDays": 31,
|
|
30
|
+
"Status": {
|
|
31
|
+
"State": "RUNNING"
|
|
32
|
+
},
|
|
33
|
+
"Timeline": {
|
|
34
|
+
"Created": "2024-10-15T18:55:15.168000+05:30",
|
|
35
|
+
"LastModified": "2024-10-15T18:55:40.540000+05:30",
|
|
36
|
+
"LastStarted": "2024-10-15T18:55:40.540000+05:30"
|
|
37
|
+
},
|
|
38
|
+
"ArtifactS3Location": "cw-syn-results-123456789012-us-east-1/canary/us-east-1/demo_canary-a12-a123bc456789",
|
|
39
|
+
"EngineArn": "arn:aws:lambda:us-east-1:123456789012:function:cwsyn-demo_canary-a1b2c3d4-5678-90ab-cdef-example111118:1",
|
|
40
|
+
"RuntimeVersion": "syn-nodejs-puppeteer-9.1",
|
|
41
|
+
"Tags": {
|
|
42
|
+
"blueprint": "heartbeat"
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
For more information, see `Synthetic monitoring (canaries) <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries.html>`__ in the *Amazon CloudWatch User Guide*.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
**To return information about one group**
|
|
2
|
+
|
|
3
|
+
The following ``get-group`` example returns information about the group named ``demo_group``. ::
|
|
4
|
+
|
|
5
|
+
aws synthetics get-group \
|
|
6
|
+
--group-identifier demo_group
|
|
7
|
+
|
|
8
|
+
Output::
|
|
9
|
+
|
|
10
|
+
{
|
|
11
|
+
"Group": {
|
|
12
|
+
"Id": "example123",
|
|
13
|
+
"Name": "demo_group",
|
|
14
|
+
"Arn": "arn:aws:synthetics:us-east-1:123456789012:group:example123",
|
|
15
|
+
"Tags": {},
|
|
16
|
+
"CreatedTime": "2024-10-15T14:47:23.811000+05:30",
|
|
17
|
+
"LastModifiedTime": "2024-10-15T14:47:23.811000+05:30"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
For more information, see `Synthetic monitoring (canaries) <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries.html>`__ in the *Amazon CloudWatch User Guide*.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
**To return a list of the groups**
|
|
2
|
+
|
|
3
|
+
The following ``list-associated-groups`` example returns a list of the groups associated with the canary named ``demo_canary``. ::
|
|
4
|
+
|
|
5
|
+
aws synthetics list-associated-groups \
|
|
6
|
+
--resource-arn arn:aws:synthetics:us-east-1:123456789012:canary:demo_canary
|
|
7
|
+
|
|
8
|
+
Output::
|
|
9
|
+
|
|
10
|
+
{
|
|
11
|
+
"Groups": [
|
|
12
|
+
{
|
|
13
|
+
"Id": "example123",
|
|
14
|
+
"Name": "demo_group",
|
|
15
|
+
"Arn": "arn:aws:synthetics:us-east-1:123456789012:group:example123"
|
|
16
|
+
}
|
|
17
|
+
]
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
For more information, see `Synthetic monitoring (canaries) <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries.html>`__ in the *Amazon CloudWatch User Guide*.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
**To return a list of the ARNs of the canaries that are associated with the specified group**
|
|
2
|
+
|
|
3
|
+
The following ``list-group-resources`` example returns a list of the ARNs of the canaries that are associated with the group named ``demo_group``. ::
|
|
4
|
+
|
|
5
|
+
aws synthetics list-group-resources \
|
|
6
|
+
--group-identifier demo_group
|
|
7
|
+
|
|
8
|
+
Output::
|
|
9
|
+
|
|
10
|
+
{
|
|
11
|
+
"Resources": [
|
|
12
|
+
"arn:aws:synthetics:us-east-1:123456789012:canary:demo_canary"
|
|
13
|
+
]
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
For more information, see `Synthetic monitoring (canaries) <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries.html>`__ in the *Amazon CloudWatch User Guide*.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
**To return a list of all groups in the account**
|
|
2
|
+
|
|
3
|
+
The following ``list-groups`` example returns a list of all groups in the account. ::
|
|
4
|
+
|
|
5
|
+
aws synthetics list-groups
|
|
6
|
+
|
|
7
|
+
Output::
|
|
8
|
+
|
|
9
|
+
{
|
|
10
|
+
"Groups": [
|
|
11
|
+
{
|
|
12
|
+
"Id": "example123",
|
|
13
|
+
"Name": "demo_group",
|
|
14
|
+
"Arn": "arn:aws:synthetics:us-east-1:123456789012:group:example123"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
For more information, see `Synthetic monitoring (canaries) <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries.html>`__ in the *Amazon CloudWatch User Guide*.
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
**Example 1: To display the tags associated with a canary**
|
|
2
|
+
|
|
3
|
+
The following ``list-tags-for-resource`` example returns the tags associated with a canary named ``demo_canary``. ::
|
|
4
|
+
|
|
5
|
+
aws synthetics list-tags-for-resource \
|
|
6
|
+
--resource-arn arn:aws:synthetics:us-east-1:123456789012:canary:demo_canary
|
|
7
|
+
|
|
8
|
+
Output::
|
|
9
|
+
|
|
10
|
+
{
|
|
11
|
+
"Tags": {
|
|
12
|
+
"blueprint": "heartbeat"
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
**Example 2: To display the tags associated with a group**
|
|
17
|
+
|
|
18
|
+
The following ``list-tags-for-resource`` example returns the tags associated with a group named ``demo_group``. ::
|
|
19
|
+
|
|
20
|
+
aws synthetics list-tags-for-resource \
|
|
21
|
+
--resource-arn arn:aws:synthetics:us-east-1:123456789012:group:example123
|
|
22
|
+
|
|
23
|
+
Output::
|
|
24
|
+
|
|
25
|
+
{
|
|
26
|
+
"Tags": {
|
|
27
|
+
"team": "Devops"
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
For more information, see `Synthetic monitoring (canaries) <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries.html>`__ in the *Amazon CloudWatch User Guide*.
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
**To run a canary**
|
|
2
|
+
|
|
3
|
+
The following ``start-canary`` example runs a canary named ``demo_canary``. ::
|
|
4
|
+
|
|
5
|
+
aws synthetics start-canary \
|
|
6
|
+
--name demo_canary
|
|
7
|
+
|
|
8
|
+
This command produces no output.
|
|
9
|
+
|
|
10
|
+
For more information, see `Synthetic monitoring (canaries) <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries.html>`__ in the *Amazon CloudWatch User Guide*.
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
**To stop a canary**
|
|
2
|
+
|
|
3
|
+
The following ``stop-canary`` example stops the canary named ``demo_canary``. ::
|
|
4
|
+
|
|
5
|
+
aws synthetics stop-canary \
|
|
6
|
+
--name demo_canary
|
|
7
|
+
|
|
8
|
+
This command produces no output.
|
|
9
|
+
|
|
10
|
+
For more information, see `Synthetic monitoring (canaries) <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries.html>`__ in the *Amazon CloudWatch User Guide*.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
**Example 1: To assign a tag to the canary**
|
|
2
|
+
|
|
3
|
+
The following ``tag-resource`` example assigns a tag to the canary named ``demo_canary``. ::
|
|
4
|
+
|
|
5
|
+
aws synthetics tag-resource \
|
|
6
|
+
--resource-arn arn:aws:synthetics:us-east-1:123456789012:canary:demo_canary \
|
|
7
|
+
--tags blueprint=heartbeat
|
|
8
|
+
|
|
9
|
+
This command produces no output.
|
|
10
|
+
|
|
11
|
+
**Example 2: To assign a tag to the group**
|
|
12
|
+
|
|
13
|
+
The following ``tag-resource`` example assigns a tag to the group named ``demo_group``. ::
|
|
14
|
+
|
|
15
|
+
aws synthetics tag-resource \
|
|
16
|
+
--resource-arn arn:aws:synthetics:us-east-1:123456789012:group:example123 \
|
|
17
|
+
--tags team=Devops
|
|
18
|
+
|
|
19
|
+
This command produces no output.
|
|
20
|
+
|
|
21
|
+
For more information, see `Synthetic monitoring (canaries) <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries.html>`__ in the *Amazon CloudWatch User Guide*.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
**Example 1: To remove a tag from the canary**
|
|
2
|
+
|
|
3
|
+
The following ``untag-resource`` example removes a tag from the canary named ``demo_canary``. ::
|
|
4
|
+
|
|
5
|
+
aws synthetics untag-resource \
|
|
6
|
+
--resource-arn arn:aws:synthetics:us-east-1:123456789012:canary:demo_canary \
|
|
7
|
+
--tag-keys blueprint
|
|
8
|
+
|
|
9
|
+
This command produces no output.
|
|
10
|
+
|
|
11
|
+
**Example 2: To remove a tag from the group**
|
|
12
|
+
|
|
13
|
+
The following ``untag-resource`` example assigns a removes a tag from the group named ``demo_group``. ::
|
|
14
|
+
|
|
15
|
+
aws synthetics untag-resource \
|
|
16
|
+
--resource-arn arn:aws:synthetics:us-east-1:123456789012:group:example123 \
|
|
17
|
+
--tag-keys team
|
|
18
|
+
|
|
19
|
+
This command produces no output.
|
|
20
|
+
|
|
21
|
+
For more information, see `Synthetic monitoring (canaries) <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries.html>`__ in the *Amazon CloudWatch User Guide*.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
**To update a canary**
|
|
2
|
+
|
|
3
|
+
The following ``update-canary`` example updates the configuration of a canary named ``demo_canary``. ::
|
|
4
|
+
|
|
5
|
+
aws synthetics update-canary \
|
|
6
|
+
--name demo_canary \
|
|
7
|
+
--schedule Expression="rate(15 minutes)"
|
|
8
|
+
|
|
9
|
+
This command produces no output.
|
|
10
|
+
|
|
11
|
+
For more information, see `Synthetic monitoring (canaries) <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries.html>`__ in the *Amazon CloudWatch User Guide*.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: awscli
|
|
3
|
-
Version: 1.37.
|
|
3
|
+
Version: 1.37.6
|
|
4
4
|
Summary: Universal Command Line Environment for AWS.
|
|
5
5
|
Home-page: http://aws.amazon.com/cli/
|
|
6
6
|
Author: Amazon Web Services
|
|
@@ -23,7 +23,7 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
23
23
|
Classifier: Programming Language :: Python :: 3.12
|
|
24
24
|
Requires-Python: >= 3.8
|
|
25
25
|
License-File: LICENSE.txt
|
|
26
|
-
Requires-Dist: botocore (==1.36.
|
|
26
|
+
Requires-Dist: botocore (==1.36.6)
|
|
27
27
|
Requires-Dist: docutils (<0.17,>=0.10)
|
|
28
28
|
Requires-Dist: s3transfer (<0.12.0,>=0.11.0)
|
|
29
29
|
Requires-Dist: PyYAML (<6.1,>=3.10)
|