awscli 1.42.17__py3-none-any.whl → 1.42.19__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.
Files changed (107) hide show
  1. awscli/__init__.py +1 -1
  2. awscli/customizations/argrename.py +0 -2
  3. awscli/examples/application-signals/batch-get-service-level-objective-budget-report.rst +99 -0
  4. awscli/examples/application-signals/create-service-level-objective.rst +88 -0
  5. awscli/examples/application-signals/delete-service-level-objective.rst +10 -0
  6. awscli/examples/application-signals/get-service-level-objective.rst +53 -0
  7. awscli/examples/application-signals/get-service.rst +72 -0
  8. awscli/examples/application-signals/list-service-dependencies.rst +96 -0
  9. awscli/examples/application-signals/list-service-dependents.rst +36 -0
  10. awscli/examples/application-signals/list-service-level-objectives.rst +17 -0
  11. awscli/examples/application-signals/list-service-operations.rst +63 -0
  12. awscli/examples/application-signals/list-services.rst +61 -0
  13. awscli/examples/application-signals/list-tags-for-resource.rst +17 -0
  14. awscli/examples/application-signals/start-discovery.rst +9 -0
  15. awscli/examples/application-signals/tag-resource.rst +11 -0
  16. awscli/examples/application-signals/untag-resource.rst +11 -0
  17. awscli/examples/application-signals/update-service-level-objective.rst +69 -0
  18. awscli/handlers.py +0 -4
  19. {awscli-1.42.17.dist-info → awscli-1.42.19.dist-info}/METADATA +2 -2
  20. {awscli-1.42.17.dist-info → awscli-1.42.19.dist-info}/RECORD +28 -92
  21. awscli/customizations/opsworks.py +0 -543
  22. awscli/customizations/opsworkscm.py +0 -21
  23. awscli/examples/opsworks/assign-instance.rst +0 -14
  24. awscli/examples/opsworks/assign-volume.rst +0 -17
  25. awscli/examples/opsworks/associate-elastic-ip.rst +0 -14
  26. awscli/examples/opsworks/attach-elastic-load-balancer.rst +0 -14
  27. awscli/examples/opsworks/create-app.rst +0 -64
  28. awscli/examples/opsworks/create-deployment.rst +0 -66
  29. awscli/examples/opsworks/create-instance.rst +0 -25
  30. awscli/examples/opsworks/create-layer.rst +0 -17
  31. awscli/examples/opsworks/create-server.rst +0 -43
  32. awscli/examples/opsworks/create-stack.rst +0 -25
  33. awscli/examples/opsworks/create-user-profile.rst +0 -24
  34. awscli/examples/opsworks/delete-app.rst +0 -17
  35. awscli/examples/opsworks/delete-instance.rst +0 -15
  36. awscli/examples/opsworks/delete-layer.rst +0 -17
  37. awscli/examples/opsworks/delete-stack.rst +0 -18
  38. awscli/examples/opsworks/delete-user-profile.rst +0 -17
  39. awscli/examples/opsworks/deregister-elastic-ip.rst +0 -13
  40. awscli/examples/opsworks/deregister-instance.rst +0 -14
  41. awscli/examples/opsworks/deregister-rds-db-instance.rst +0 -20
  42. awscli/examples/opsworks/deregister-volume.rst +0 -15
  43. awscli/examples/opsworks/describe-apps.rst +0 -38
  44. awscli/examples/opsworks/describe-commands.rst +0 -43
  45. awscli/examples/opsworks/describe-deployments.rst +0 -52
  46. awscli/examples/opsworks/describe-elastic-ips.rst +0 -24
  47. awscli/examples/opsworks/describe-elastic-load-balancers.rst +0 -37
  48. awscli/examples/opsworks/describe-instances.rst +0 -95
  49. awscli/examples/opsworks/describe-layers.rst +0 -171
  50. awscli/examples/opsworks/describe-load-based-auto-scaling.rst +0 -37
  51. awscli/examples/opsworks/describe-my-user-profile.rst +0 -24
  52. awscli/examples/opsworks/describe-permissions.rst +0 -26
  53. awscli/examples/opsworks/describe-raid-arrays.rst +0 -31
  54. awscli/examples/opsworks/describe-rds-db-instances.rst +0 -29
  55. awscli/examples/opsworks/describe-stack-provisioning-parameters.rst +0 -32
  56. awscli/examples/opsworks/describe-stack-summary.rst +0 -27
  57. awscli/examples/opsworks/describe-stacks.rst +0 -65
  58. awscli/examples/opsworks/describe-timebased-auto-scaling.rst +0 -39
  59. awscli/examples/opsworks/describe-user-profiles.rst +0 -32
  60. awscli/examples/opsworks/describe-volumes.rst +0 -31
  61. awscli/examples/opsworks/detach-elastic-load-balancer.rst +0 -14
  62. awscli/examples/opsworks/disassociate-elastic-ip.rst +0 -14
  63. awscli/examples/opsworks/get-hostname-suggestion.rst +0 -21
  64. awscli/examples/opsworks/reboot-instance.rst +0 -14
  65. awscli/examples/opsworks/register-elastic-ip.rst +0 -19
  66. awscli/examples/opsworks/register-rds-db-instance.rst +0 -15
  67. awscli/examples/opsworks/register-volume.rst +0 -18
  68. awscli/examples/opsworks/register.rst +0 -105
  69. awscli/examples/opsworks/set-load-based-auto-scaling.rst +0 -38
  70. awscli/examples/opsworks/set-permission.rst +0 -23
  71. awscli/examples/opsworks/set-time-based-auto-scaling.rst +0 -33
  72. awscli/examples/opsworks/start-instance.rst +0 -20
  73. awscli/examples/opsworks/start-stack.rst +0 -15
  74. awscli/examples/opsworks/stop-instance.rst +0 -20
  75. awscli/examples/opsworks/stop-stack.rst +0 -15
  76. awscli/examples/opsworks/unassign-instance.rst +0 -14
  77. awscli/examples/opsworks/unassign-volume.rst +0 -16
  78. awscli/examples/opsworks/update-app.rst +0 -14
  79. awscli/examples/opsworks/update-elastic-ip.rst +0 -14
  80. awscli/examples/opsworks/update-instance.rst +0 -14
  81. awscli/examples/opsworks/update-layer.rst +0 -14
  82. awscli/examples/opsworks/update-my-user-profile.rst +0 -16
  83. awscli/examples/opsworks/update-rds-db-instance.rst +0 -18
  84. awscli/examples/opsworks/update-volume.rst +0 -16
  85. awscli/examples/opsworkscm/associate-node.rst +0 -22
  86. awscli/examples/opsworkscm/create-backup.rst +0 -46
  87. awscli/examples/opsworkscm/create-server.rst +0 -48
  88. awscli/examples/opsworkscm/delete-backup.rst +0 -17
  89. awscli/examples/opsworkscm/delete-server.rst +0 -16
  90. awscli/examples/opsworkscm/describe-account-attributes.rst +0 -26
  91. awscli/examples/opsworkscm/describe-backups.rst +0 -44
  92. awscli/examples/opsworkscm/describe-events.rst +0 -21
  93. awscli/examples/opsworkscm/describe-node-association-status.rst +0 -20
  94. awscli/examples/opsworkscm/describe-servers.rst +0 -48
  95. awscli/examples/opsworkscm/disassociate-node.rst +0 -19
  96. awscli/examples/opsworkscm/restore-server.rst +0 -20
  97. awscli/examples/opsworkscm/start-maintenance.rst +0 -39
  98. awscli/examples/opsworkscm/update-server-engine-attributes.rst +0 -43
  99. awscli/examples/opsworkscm/update-server.rst +0 -42
  100. {awscli-1.42.17.data → awscli-1.42.19.data}/scripts/aws +0 -0
  101. {awscli-1.42.17.data → awscli-1.42.19.data}/scripts/aws.cmd +0 -0
  102. {awscli-1.42.17.data → awscli-1.42.19.data}/scripts/aws_bash_completer +0 -0
  103. {awscli-1.42.17.data → awscli-1.42.19.data}/scripts/aws_completer +0 -0
  104. {awscli-1.42.17.data → awscli-1.42.19.data}/scripts/aws_zsh_completer.sh +0 -0
  105. {awscli-1.42.17.dist-info → awscli-1.42.19.dist-info}/LICENSE.txt +0 -0
  106. {awscli-1.42.17.dist-info → awscli-1.42.19.dist-info}/WHEEL +0 -0
  107. {awscli-1.42.17.dist-info → awscli-1.42.19.dist-info}/top_level.txt +0 -0
awscli/__init__.py CHANGED
@@ -18,7 +18,7 @@ A Universal Command Line Environment for Amazon Web Services.
18
18
 
19
19
  import os
20
20
 
21
- __version__ = '1.42.17'
21
+ __version__ = '1.42.19'
22
22
 
23
23
  #
24
24
  # Get our data path to be added to botocore's search path
@@ -26,7 +26,6 @@ ARGUMENT_RENAMES = {
26
26
  'ec2.create-image.no-no-reboot': 'reboot',
27
27
  'ec2.*.no-egress': 'ingress',
28
28
  'ec2.*.no-disable-api-termination': 'enable-api-termination',
29
- 'opsworks.*.region': 'stack-region',
30
29
  'elastictranscoder.*.output': 'job-output',
31
30
  'swf.register-activity-type.version': 'activity-version',
32
31
  'swf.register-workflow-type.version': 'workflow-version',
@@ -140,7 +139,6 @@ HIDDEN_ALIASES = {
140
139
  'importexport.get-shipping-label.street3': 'street-3',
141
140
  'lambda.publish-version.code-sha256': 'code-sha-256',
142
141
  'lightsail.import-key-pair.public-key-base64': 'public-key-base-64',
143
- 'opsworks.register-volume.ec2-volume-id': 'ec-2-volume-id',
144
142
  'mgn.*.replication-servers-security-groups-ids':
145
143
  'replication-servers-security-groups-i-ds',
146
144
  'mgn.*.source-server-ids': 'source-server-i-ds',
@@ -0,0 +1,99 @@
1
+ **To retrieve one or more service level objective (SLO) budget reports.**
2
+
3
+ The following ``batch-get-service-level-objective-budget-report`` example retrieves one or more service level objective (SLO) budget reports. ::
4
+
5
+ aws application-signals batch-get-service-level-objective-budget-report \
6
+ --timestamp 1735059869 \
7
+ --slo-ids "arn:aws:application-signals:us-east-1:123456789101:slo/SLOName1" "arn:aws:application-signals:us-east-1:123456789101:slo/SLOName2"
8
+
9
+ Output::
10
+
11
+ {
12
+ "Timestamp": "2024-12-24T22:34:29+05:30",
13
+ "Reports": [{
14
+ "Arn": "arn:aws:application-signals:us-east-1:123456789101:slo/SLOName1",
15
+ "Name": "Your SLO Name",
16
+ "EvaluationType": "PeriodBased",
17
+ "BudgetStatus": "OK",
18
+ "Attainment": 100.0,
19
+ "TotalBudgetSeconds": 6048,
20
+ "BudgetSecondsRemaining": 6048,
21
+ "Sli": {
22
+ "SliMetric": {
23
+ "MetricDataQueries": [{
24
+ "Id": "m1",
25
+ "MetricStat": {
26
+ "Metric": {
27
+ "Namespace": "AWS/EC2",
28
+ "MetricName": "CPUUtilization",
29
+ "Dimensions": [{
30
+ "Name": "InstanceId",
31
+ "Value": "i-0e098765432522"
32
+ }]
33
+ },
34
+ "Period": 60,
35
+ "Stat": "Average"
36
+ },
37
+ "ReturnData": true
38
+ }]
39
+ },
40
+ "MetricThreshold": 200.0,
41
+ "ComparisonOperator": "LessThanOrEqualTo"
42
+ },
43
+ "Goal": {
44
+ "Interval": {
45
+ "RollingInterval": {
46
+ "DurationUnit": "DAY",
47
+ "Duration": 7
48
+ }
49
+ },
50
+ "AttainmentGoal": 99.0,
51
+ "WarningThreshold": 50.0
52
+ }
53
+ },
54
+ {
55
+ "Arn": "arn:aws:application-signals:us-east-1:123456789101:slo/SLOName2",
56
+ "Name": "test",
57
+ "EvaluationType": "PeriodBased",
58
+ "BudgetStatus": "BREACHED",
59
+ "Attainment": 97.39583275,
60
+ "TotalBudgetSeconds": 86,
61
+ "BudgetSecondsRemaining": -2154,
62
+ "Sli": {
63
+ "SliMetric": {
64
+ "MetricDataQueries": [{
65
+ "Id": "cwMetric",
66
+ "MetricStat": {
67
+ "Metric": {
68
+ "Namespace": "AWS/EC2",
69
+ "MetricName": "CPUUtilization",
70
+ "Dimensions": [{
71
+ "Name": "InstanceId",
72
+ "Value": "i-0e12345678922"
73
+ }]
74
+ },
75
+ "Period": 300,
76
+ "Stat": "Average"
77
+ },
78
+ "ReturnData": true
79
+ }]
80
+ },
81
+ "MetricThreshold": 5.0,
82
+ "ComparisonOperator": "GreaterThan"
83
+ },
84
+ "Goal": {
85
+ "Interval": {
86
+ "RollingInterval": {
87
+ "DurationUnit": "DAY",
88
+ "Duration": 1
89
+ }
90
+ },
91
+ "AttainmentGoal": 99.9,
92
+ "WarningThreshold": 30.0
93
+ }
94
+ }
95
+ ],
96
+ "Errors": []
97
+ }
98
+
99
+ For more information, see `Application Signals <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Application-Monitoring-Sections.html>`__ in the *Amazon CloudWatch User Guide*.
@@ -0,0 +1,88 @@
1
+ **To create a service level objective (SLO)**
2
+
3
+ The following ``create-service-level-objective`` example creates a service level objective (SLO), which can help you ensure that your critical business operations are meeting customer expectations. ::
4
+
5
+ aws application-signals create-service-level-objective \
6
+ --name "SLOName" \
7
+ --description "Description of your SLO" \
8
+ --sli-config file://sli-config.json
9
+
10
+ Contents of ``sli-config.json``::
11
+
12
+ {
13
+ "SliMetricConfig": {
14
+ "MetricDataQueries": [
15
+ {
16
+ "Id": "m1",
17
+ "MetricStat": {
18
+ "Metric": {
19
+ "Namespace": "AWS/EC2",
20
+ "MetricName": "CPUUtilization",
21
+ "Dimensions": [
22
+ {
23
+ "Name": "InstanceId",
24
+ "Value": "i-0e5a1234561522"
25
+ }
26
+ ]
27
+ },
28
+ "Period": 60,
29
+ "Stat": "Average"
30
+ },
31
+ "ReturnData": true
32
+ }
33
+ ]
34
+ },
35
+ "MetricThreshold": 200,
36
+ "ComparisonOperator": "LessThanOrEqualTo"
37
+ }
38
+
39
+ Output::
40
+
41
+ {
42
+ "Slo": {
43
+ "Arn": "arn:aws:application-signals:us-east-1:123456789101:slo/SLOName",
44
+ "Name": "SLOName",
45
+ "Description": "Description of your SLO",
46
+ "CreatedTime": "2024-12-27T08:16:09.032000+05:30",
47
+ "LastUpdatedTime": "2024-12-27T08:16:09.032000+05:30",
48
+ "Sli": {
49
+ "SliMetric": {
50
+ "MetricDataQueries": [
51
+ {
52
+ "Id": "m1",
53
+ "MetricStat": {
54
+ "Metric": {
55
+ "Namespace": "AWS/EC2",
56
+ "MetricName": "CPUUtilization",
57
+ "Dimensions": [
58
+ {
59
+ "Name": "InstanceId",
60
+ "Value": "i-0e59876543234522"
61
+ }
62
+ ]
63
+ },
64
+ "Period": 60,
65
+ "Stat": "Average"
66
+ },
67
+ "ReturnData": true
68
+ }
69
+ ]
70
+ },
71
+ "MetricThreshold": 200.0,
72
+ "ComparisonOperator": "LessThanOrEqualTo"
73
+ },
74
+ "EvaluationType": "PeriodBased",
75
+ "Goal": {
76
+ "Interval": {
77
+ "RollingInterval": {
78
+ "DurationUnit": "DAY",
79
+ "Duration": 7
80
+ }
81
+ },
82
+ "AttainmentGoal": 99.0,
83
+ "WarningThreshold": 50.0
84
+ }
85
+ }
86
+ }
87
+
88
+ For more information, see `Application Signals <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Application-Monitoring-Sections.html>`__ in the *Amazon CloudWatch User Guide*.
@@ -0,0 +1,10 @@
1
+ **To delete the specified service level objective.**
2
+
3
+ The following ``delete-service-level-objective`` example deletes the specified service level objective. ::
4
+
5
+ aws application-signals delete-service-level-objective \
6
+ --id "arn:aws:application-signals:us-east-1:123456789101:slo/SLOName"
7
+
8
+ This command produces no output.
9
+
10
+ For more information, see `Application Signals <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Application-Monitoring-Sections.html>`__ in the *Amazon CloudWatch User Guide*.
@@ -0,0 +1,53 @@
1
+ **To return information about one SLO created in the account**
2
+
3
+ The following ``get-service-level-objective`` example returns information about one SLO created in the account. ::
4
+
5
+ aws application-signals get-service-level-objective \
6
+ --id "arn:aws:application-signals:us-east-1:123456789101:slo/SLOName"
7
+
8
+ Output::
9
+
10
+ {
11
+ "Slo": {
12
+ "Arn": "arn:aws:application-signals:us-east-1:123456789101:slo/SLOName",
13
+ "Name": "SLOName",
14
+ "Description": "Description of your SLO",
15
+ "CreatedTime": "2024-12-24T22:19:18.624000+05:30",
16
+ "LastUpdatedTime": "2024-12-24T22:19:55.280000+05:30",
17
+ "Sli": {
18
+ "SliMetric": {
19
+ "MetricDataQueries": [{
20
+ "Id": "m1",
21
+ "MetricStat": {
22
+ "Metric": {
23
+ "Namespace": "AWS/EC2",
24
+ "MetricName": "CPUUtilization",
25
+ "Dimensions": [{
26
+ "Name": "InstanceId",
27
+ "Value": "i-0e0987654321522"
28
+ }]
29
+ },
30
+ "Period": 60,
31
+ "Stat": "Average"
32
+ },
33
+ "ReturnData": true
34
+ }]
35
+ },
36
+ "MetricThreshold": 200.0,
37
+ "ComparisonOperator": "LessThanOrEqualTo"
38
+ },
39
+ "EvaluationType": "PeriodBased",
40
+ "Goal": {
41
+ "Interval": {
42
+ "RollingInterval": {
43
+ "DurationUnit": "DAY",
44
+ "Duration": 7
45
+ }
46
+ },
47
+ "AttainmentGoal": 99.0,
48
+ "WarningThreshold": 50.0
49
+ }
50
+ }
51
+ }
52
+
53
+ For more information, see `Application Signals <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Application-Monitoring-Sections.html>`__ in the *Amazon CloudWatch User Guide*.
@@ -0,0 +1,72 @@
1
+ **To return information about a service discovered by Application Signals**
2
+
3
+ The following ``get-service`` example returns information about a service discovered by Application Signals. ::
4
+
5
+ aws application-signals get-service \
6
+ --start-time 1732704000 \
7
+ --end-time 1732714500 \
8
+ --key-attributes Environment=lambda:default,Name=hello-world-python,Type=Service
9
+
10
+ Output::
11
+
12
+ {
13
+ "Service": {
14
+ "KeyAttributes": {
15
+ "Environment": "lambda:default",
16
+ "Name": "hello-world-python",
17
+ "Type": "Service"
18
+ },
19
+ "AttributeMaps": [{
20
+ "Lambda.Function.Name": "hello-world-python",
21
+ "PlatformType": "AWS::Lambda"
22
+ }],
23
+ "MetricReferences": [{
24
+ "Namespace": "ApplicationSignals",
25
+ "MetricType": "LATENCY",
26
+ "Dimensions": [{
27
+ "Name": "Environment",
28
+ "Value": "lambda:default"
29
+ }, {
30
+ "Name": "Service",
31
+ "Value": "hello-world-python"
32
+ }],
33
+ "MetricName": "Latency"
34
+ }, {
35
+ "Namespace": "ApplicationSignals",
36
+ "MetricType": "FAULT",
37
+ "Dimensions": [{
38
+ "Name": "Environment",
39
+ "Value": "lambda:default"
40
+ }, {
41
+ "Name": "Service",
42
+ "Value": "hello-world-python"
43
+ }],
44
+ "MetricName": "Fault"
45
+ }, {
46
+ "Namespace": "ApplicationSignals",
47
+ "MetricType": "ERROR",
48
+ "Dimensions": [{
49
+ "Name": "Environment",
50
+ "Value": "lambda:default"
51
+ }, {
52
+ "Name": "Service",
53
+ "Value": "hello-world-python"
54
+ }],
55
+ "MetricName": "Error"
56
+ }],
57
+ "LogGroupReferences": [{
58
+ "Identifier": "/aws/lambda/hello-world-python",
59
+ "ResourceType": "AWS::Logs::LogGroup",
60
+ "Type": "AWS::Resource"
61
+ }]
62
+ },
63
+ "StartTime": "2024-11-27T10:00:00+00:00",
64
+ "EndTime": "2024-11-27T14:00:01+00:00",
65
+ "LogGroupReferences": [{
66
+ "Identifier": "/aws/lambda/hello-world-python",
67
+ "ResourceType": "AWS::Logs::LogGroup",
68
+ "Type": "AWS::Resource"
69
+ }]
70
+ }
71
+
72
+ For more information, see `Application Signals <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Application-Monitoring-Sections.html>`__ in the *Amazon CloudWatch User Guide*.
@@ -0,0 +1,96 @@
1
+ **To return a list of service dependencies of the service that you specify**
2
+
3
+ The following ``list-service-dependencies`` example returns a list of service dependencies of the service that you specify. ::
4
+
5
+ aws application-signals list-service-dependencies \
6
+ --start-time 1732021200 \
7
+ --end-time 1732107600 \
8
+ --key-attributes Environment=api-gateway:prod, Name=PetAdoptionStatusUpdater,Type=Service
9
+
10
+ Output::
11
+
12
+ {
13
+ "ServiceDependencies": [{
14
+ "OperationName": "PUT /prod",
15
+ "DependencyKeyAttributes": {
16
+ "Environment": "lambda:default",
17
+ "Name": "Services-name",
18
+ "Type": "Service"
19
+ },
20
+ "DependencyOperationName": "Invoke",
21
+ "MetricReferences": [{
22
+ "Namespace": "ApplicationSignals",
23
+ "MetricType": "LATENCY",
24
+ "Dimensions": [{
25
+ "Name": "Environment",
26
+ "Value": "api-gateway:prod"
27
+ }, {
28
+ "Name": "Operation",
29
+ "Value": "PUT /prod"
30
+ }, {
31
+ "Name": "RemoteEnvironment",
32
+ "Value": "lambda:default"
33
+ }, {
34
+ "Name": "RemoteOperation",
35
+ "Value": "Invoke"
36
+ }, {
37
+ "Name": "RemoteService",
38
+ "Value": "Services-name"
39
+ }, {
40
+ "Name": "Service",
41
+ "Value": "PetAdoptionStatusUpdater"
42
+ }],
43
+ "MetricName": "Latency"
44
+ }, {
45
+ "Namespace": "ApplicationSignals",
46
+ "MetricType": "FAULT",
47
+ "Dimensions": [{
48
+ "Name": "Environment",
49
+ "Value": "api-gateway:prod"
50
+ }, {
51
+ "Name": "Operation",
52
+ "Value": "PUT /prod"
53
+ }, {
54
+ "Name": "RemoteEnvironment",
55
+ "Value": "lambda:default"
56
+ }, {
57
+ "Name": "RemoteOperation",
58
+ "Value": "Invoke"
59
+ }, {
60
+ "Name": "RemoteService",
61
+ "Value": "Services-name"
62
+ }, {
63
+ "Name": "Service",
64
+ "Value": "PetAdoptionStatusUpdater"
65
+ }],
66
+ "MetricName": "Fault"
67
+ }, {
68
+ "Namespace": "ApplicationSignals",
69
+ "MetricType": "ERROR",
70
+ "Dimensions": [{
71
+ "Name": "Environment",
72
+ "Value": "api-gateway:prod"
73
+ }, {
74
+ "Name": "Operation",
75
+ "Value": "PUT /prod"
76
+ }, {
77
+ "Name": "RemoteEnvironment",
78
+ "Value": "lambda:default"
79
+ }, {
80
+ "Name": "RemoteOperation",
81
+ "Value": "Invoke"
82
+ }, {
83
+ "Name": "RemoteService",
84
+ "Value": "Services-name"
85
+ }, {
86
+ "Name": "Service",
87
+ "Value": "PetAdoptionStatusUpdater"
88
+ }],
89
+ "MetricName": "Error"
90
+ }]
91
+ }],
92
+ "StartTime": "2024-11-19T13:00:00+00:00",
93
+ "EndTime": "2024-11-20T13:00:01+00:00"
94
+ }
95
+
96
+ For more information, see `Application Signals <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Application-Monitoring-Sections.html>`__ in the *Amazon CloudWatch User Guide*.
@@ -0,0 +1,36 @@
1
+ **To return the list of dependents that invoked the specified service during the provided time range**
2
+
3
+ The following ``list-service-dependents`` example returns the list of dependents that invoked the specified service during the provided time range. ::
4
+
5
+ aws application-signals list-service-dependents \
6
+ --start-time 1732021200 \
7
+ --end-time 1732107600 \
8
+ --key-attributes Environment=generic:default,Name=PetSite,Type=Service
9
+
10
+ Output::
11
+
12
+ {
13
+ "ServiceDependents": [{
14
+ "OperationName": "",
15
+ "DependentKeyAttributes": {
16
+ "Identifier": "pet-api-canary-hao",
17
+ "ResourceType": "AWS::Synthetics::Canary",
18
+ "Type": "AWS::Resource"
19
+ },
20
+ "DependentOperationName": "",
21
+ "MetricReferences": []
22
+ }, {
23
+ "OperationName": "",
24
+ "DependentKeyAttributes": {
25
+ "Identifier": "PetSite",
26
+ "ResourceType": "AWS::Synthetics::Canary",
27
+ "Type": "AWS::Resource"
28
+ },
29
+ "DependentOperationName": "",
30
+ "MetricReferences": []
31
+ }],
32
+ "StartTime": "2024-12-24T05:00:00+00:00",
33
+ "EndTime": "2024-12-25T06:00:01+00:00"
34
+ }
35
+
36
+ For more information, see `Application Signals <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Application-Monitoring-Sections.html>`__ in the *Amazon CloudWatch User Guide*.
@@ -0,0 +1,17 @@
1
+ **To return a list of SLOs created in this account.**
2
+
3
+ The following ``list-service-level-objectives`` example returns a list of SLOs created in this account. ::
4
+
5
+ aws application-signals list-service-level-objectives
6
+
7
+ Output::
8
+
9
+ {
10
+ "SloSummaries": [{
11
+ "Arn": "arn:aws:application-signals:us-east-1:123456789101:slo/test",
12
+ "Name": "test",
13
+ "CreatedTime": "2024-12-24T22:01:21.116000+05:30"
14
+ }]
15
+ }
16
+
17
+ For more information, see `Application Signals <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Application-Monitoring-Sections.html>`__ in the *Amazon CloudWatch User Guide*.
@@ -0,0 +1,63 @@
1
+ **To return a list of the operations of this service that have been discovered by Application Signals**
2
+
3
+ The following ``list-service-operations`` example returns a list of the operations of this service that have been discovered by Application Signals. ::
4
+
5
+ aws application-signals list-service-operations \
6
+ --start-time 1735017423 \
7
+ --end-time 1735103823 \
8
+ --key-attributes Environment=generic:default,Name=payforadoption,Type=Service
9
+
10
+ Output::
11
+
12
+ {
13
+ "ServiceOperations": [{
14
+ "Name": "POST /api",
15
+ "MetricReferences": [{
16
+ "Namespace": "ApplicationSignals",
17
+ "MetricType": "LATENCY",
18
+ "Dimensions": [{
19
+ "Name": "Environment",
20
+ "Value": "generic:default"
21
+ }, {
22
+ "Name": "Operation",
23
+ "Value": "POST /api"
24
+ }, {
25
+ "Name": "Service",
26
+ "Value": "payforadoption"
27
+ }],
28
+ "MetricName": "Latency"
29
+ }, {
30
+ "Namespace": "ApplicationSignals",
31
+ "MetricType": "FAULT",
32
+ "Dimensions": [{
33
+ "Name": "Environment",
34
+ "Value": "generic:default"
35
+ }, {
36
+ "Name": "Operation",
37
+ "Value": "POST /api"
38
+ }, {
39
+ "Name": "Service",
40
+ "Value": "payforadoption"
41
+ }],
42
+ "MetricName": "Fault"
43
+ }, {
44
+ "Namespace": "ApplicationSignals",
45
+ "MetricType": "ERROR",
46
+ "Dimensions": [{
47
+ "Name": "Environment",
48
+ "Value": "generic:default"
49
+ }, {
50
+ "Name": "Operation",
51
+ "Value": "POST /api"
52
+ }, {
53
+ "Name": "Service",
54
+ "Value": "payforadoption"
55
+ }],
56
+ "MetricName": "Error"
57
+ }]
58
+ }],
59
+ "StartTime": "2024-12-24T05:00:00+00:00",
60
+ "EndTime": "2024-12-25T06:00:01+00:00"
61
+ }
62
+
63
+ For more information, see `Application Signals <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Application-Monitoring-Sections.html>`__ in the *Amazon CloudWatch User Guide*.
@@ -0,0 +1,61 @@
1
+ **To return a list of services that have been discovered by Application Signals**
2
+
3
+ The following ``list-services`` example returns a list of services that have been discovered by Application Signals. ::
4
+
5
+ aws application-signals list-services \
6
+ --start-time 1734918791 \
7
+ --end-time 1734965591
8
+
9
+ Output::
10
+
11
+ {
12
+ "ServiceSummaries": [{
13
+ "KeyAttributes": {
14
+ "Environment": "lambda:default",
15
+ "Name": "hello-world-python",
16
+ "Type": "Service"
17
+ },
18
+ "AttributeMaps": [{
19
+ "Lambda.Function.Name": "hello-world-python",
20
+ "PlatformType": "AWS::Lambda"
21
+ }],
22
+ "MetricReferences": [{
23
+ "Namespace": "ApplicationSignals",
24
+ "MetricType": "LATENCY",
25
+ "Dimensions": [{
26
+ "Name": "Environment",
27
+ "Value": "lambda:default"
28
+ }, {
29
+ "Name": "Service",
30
+ "Value": "hello-world-python"
31
+ }],
32
+ "MetricName": "Latency"
33
+ }, {
34
+ "Namespace": "ApplicationSignals",
35
+ "MetricType": "FAULT",
36
+ "Dimensions": [{
37
+ "Name": "Environment",
38
+ "Value": "lambda:default"
39
+ }, {
40
+ "Name": "Service",
41
+ "Value": "hello-world-python"
42
+ }],
43
+ "MetricName": "Fault"
44
+ }, {
45
+ "Namespace": "ApplicationSignals",
46
+ "MetricType": "ERROR",
47
+ "Dimensions": [{
48
+ "Name": "Environment",
49
+ "Value": "lambda:default"
50
+ }, {
51
+ "Name": "Service",
52
+ "Value": "hello-world-python"
53
+ }],
54
+ "MetricName": "Error"
55
+ }]
56
+ }],
57
+ "StartTime": "2024-11-27T10:00:00+00:00",
58
+ "EndTime": "2024-11-27T14:00:01+00:00"
59
+ }
60
+
61
+ For more information, see `Application Signals <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Application-Monitoring-Sections.html>`__ in the *Amazon CloudWatch User Guide*.
@@ -0,0 +1,17 @@
1
+ **To display the tags associated with a CloudWatch resource**
2
+
3
+ The following ``list-tags-for-resource`` example displays the tags associated with a CloudWatch resource. ::
4
+
5
+ aws application-signals list-tags-for-resource \
6
+ --resource-arn "arn:aws:application-signals:us-east-1:123456789101:slo/SLOName"
7
+
8
+ Output::
9
+
10
+ {
11
+ "Tags": [{
12
+ "Key": "test",
13
+ "Value": "value"
14
+ }]
15
+ }
16
+
17
+ For more information, see `Application Signals <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Application-Monitoring-Sections.html>`__ in the *Amazon CloudWatch User Guide*.
@@ -0,0 +1,9 @@
1
+ **To enable this Amazon Web Services account to be able to use CloudWatch Application Signals**
2
+
3
+ The following ``start-discovery`` example enables this Amazon Web Services account to be able to use CloudWatch Application Signals by creating the *AWSServiceRoleForCloudWatchApplicationSignals* service-linked role. ::
4
+
5
+ aws application-signals start-discovery
6
+
7
+ This command produces no output.
8
+
9
+ For more information, see `Application Signals <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Application-Monitoring-Sections.html>`__ in the *Amazon CloudWatch User Guide*.