awscli 1.42.16__py3-none-any.whl → 1.42.18__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- awscli/__init__.py +1 -1
- awscli/examples/application-signals/batch-get-service-level-objective-budget-report.rst +99 -0
- awscli/examples/application-signals/create-service-level-objective.rst +88 -0
- awscli/examples/application-signals/delete-service-level-objective.rst +10 -0
- awscli/examples/application-signals/get-service-level-objective.rst +53 -0
- awscli/examples/application-signals/get-service.rst +72 -0
- awscli/examples/application-signals/list-service-dependencies.rst +96 -0
- awscli/examples/application-signals/list-service-dependents.rst +36 -0
- awscli/examples/application-signals/list-service-level-objectives.rst +17 -0
- awscli/examples/application-signals/list-service-operations.rst +63 -0
- awscli/examples/application-signals/list-services.rst +61 -0
- awscli/examples/application-signals/list-tags-for-resource.rst +17 -0
- awscli/examples/application-signals/start-discovery.rst +9 -0
- awscli/examples/application-signals/tag-resource.rst +11 -0
- awscli/examples/application-signals/untag-resource.rst +11 -0
- awscli/examples/application-signals/update-service-level-objective.rst +69 -0
- {awscli-1.42.16.dist-info → awscli-1.42.18.dist-info}/METADATA +2 -2
- {awscli-1.42.16.dist-info → awscli-1.42.18.dist-info}/RECORD +26 -11
- {awscli-1.42.16.data → awscli-1.42.18.data}/scripts/aws +0 -0
- {awscli-1.42.16.data → awscli-1.42.18.data}/scripts/aws.cmd +0 -0
- {awscli-1.42.16.data → awscli-1.42.18.data}/scripts/aws_bash_completer +0 -0
- {awscli-1.42.16.data → awscli-1.42.18.data}/scripts/aws_completer +0 -0
- {awscli-1.42.16.data → awscli-1.42.18.data}/scripts/aws_zsh_completer.sh +0 -0
- {awscli-1.42.16.dist-info → awscli-1.42.18.dist-info}/LICENSE.txt +0 -0
- {awscli-1.42.16.dist-info → awscli-1.42.18.dist-info}/WHEEL +0 -0
- {awscli-1.42.16.dist-info → awscli-1.42.18.dist-info}/top_level.txt +0 -0
awscli/__init__.py
CHANGED
@@ -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*.
|
@@ -0,0 +1,11 @@
|
|
1
|
+
**To assigns one or more tags (key-value pairs) to the specified CloudWatch resource, such as a service level objective**
|
2
|
+
|
3
|
+
The following ``tag-resource`` example assigns one or more tags (key-value pairs) to the specified CloudWatch resource, such as a service level objective. ::
|
4
|
+
|
5
|
+
aws application-signals tag-resource \
|
6
|
+
--resource-arn "arn:aws:application-signals:us-east-1:123456789101:slo/SLOName" \
|
7
|
+
--tags '{"Key":"test","Value":"value"}'
|
8
|
+
|
9
|
+
This command produces no output.
|
10
|
+
|
11
|
+
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,11 @@
|
|
1
|
+
**To remove one or more tags from the specified resource**
|
2
|
+
|
3
|
+
The following ``untag-resource`` example removes one or more tags from the specified resource. ::
|
4
|
+
|
5
|
+
aws application-signals untag-resource \
|
6
|
+
--resource-arn "arn:aws:application-signals:us-east-1:123456789101:slo/SLOName" \
|
7
|
+
--tag-keys "test"
|
8
|
+
|
9
|
+
This command produces no output.
|
10
|
+
|
11
|
+
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,69 @@
|
|
1
|
+
**To update an existing service level objective (SLO)**
|
2
|
+
|
3
|
+
The following ``update-service-level-objective`` example updates an existing service level objective (SLO). ::
|
4
|
+
|
5
|
+
aws application-signals update-service-level-objective \
|
6
|
+
--cli-input-json file://update-slo.json
|
7
|
+
|
8
|
+
Contents of ``update-slo.json``::
|
9
|
+
|
10
|
+
{
|
11
|
+
"id": "arn:aws:application-signals:us-east-1:123456789101:slo/SLOName",
|
12
|
+
"goal": {
|
13
|
+
"Interval": {
|
14
|
+
"RollingInterval": {
|
15
|
+
"DurationUnit": "DAY",
|
16
|
+
"Duration": 7
|
17
|
+
}
|
18
|
+
},
|
19
|
+
"AttainmentGoal": 90.0,
|
20
|
+
"WarningThreshold": 50.0
|
21
|
+
}
|
22
|
+
}
|
23
|
+
|
24
|
+
Output::
|
25
|
+
|
26
|
+
{
|
27
|
+
"Slo": {
|
28
|
+
"Arn": "arn:aws:application-signals:us-east-1:123456789101:slo/SLOName",
|
29
|
+
"Name": "SLOName",
|
30
|
+
"Description": "Description of your SLO",
|
31
|
+
"CreatedTime": "2024-12-24T22:19:18.624000+05:30",
|
32
|
+
"LastUpdatedTime": "2024-12-27T08:51:38.278000+05:30",
|
33
|
+
"Sli": {
|
34
|
+
"SliMetric": {
|
35
|
+
"MetricDataQueries": [{
|
36
|
+
"Id": "m1",
|
37
|
+
"MetricStat": {
|
38
|
+
"Metric": {
|
39
|
+
"Namespace": "AWS/EC2",
|
40
|
+
"MetricName": "CPUUtilization",
|
41
|
+
"Dimensions": [{
|
42
|
+
"Name": "InstanceId",
|
43
|
+
"Value": "i-00987654345222"
|
44
|
+
}]
|
45
|
+
},
|
46
|
+
"Period": 60,
|
47
|
+
"Stat": "Average"
|
48
|
+
},
|
49
|
+
"ReturnData": true
|
50
|
+
}]
|
51
|
+
},
|
52
|
+
"MetricThreshold": 200.0,
|
53
|
+
"ComparisonOperator": "LessThanOrEqualTo"
|
54
|
+
},
|
55
|
+
"EvaluationType": "PeriodBased",
|
56
|
+
"Goal": {
|
57
|
+
"Interval": {
|
58
|
+
"RollingInterval": {
|
59
|
+
"DurationUnit": "DAY",
|
60
|
+
"Duration": 7
|
61
|
+
}
|
62
|
+
},
|
63
|
+
"AttainmentGoal": 90.0,
|
64
|
+
"WarningThreshold": 50.0
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
|
69
|
+
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*.
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: awscli
|
3
|
-
Version: 1.42.
|
3
|
+
Version: 1.42.18
|
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.12
|
|
23
23
|
Classifier: Programming Language :: Python :: 3.13
|
24
24
|
Requires-Python: >= 3.9
|
25
25
|
License-File: LICENSE.txt
|
26
|
-
Requires-Dist: botocore (==1.40.
|
26
|
+
Requires-Dist: botocore (==1.40.18)
|
27
27
|
Requires-Dist: docutils (<=0.19,>=0.18.1)
|
28
28
|
Requires-Dist: s3transfer (<0.14.0,>=0.13.0)
|
29
29
|
Requires-Dist: PyYAML (<6.1,>=3.10)
|
@@ -1,4 +1,4 @@
|
|
1
|
-
awscli/__init__.py,sha256=
|
1
|
+
awscli/__init__.py,sha256=G3CCynqfATGzY1nSz3E4I3GqzRGVu5PeXiN4hyKPI0U,1534
|
2
2
|
awscli/__main__.py,sha256=iBjOg0tBxNlhzTi_tyc1G0SMGBvHMVvBJzX3JqYaooY,662
|
3
3
|
awscli/alias.py,sha256=Jj2jetpajUMcjqx9tFhHUOKpzLChQygnH2zqDFfmgIM,11315
|
4
4
|
awscli/argparser.py,sha256=3Pxx-vWytdV985Y6MIl9DeutUXyehIvACIs_PDby8GI,7650
|
@@ -489,6 +489,21 @@ awscli/examples/application-autoscaling/put-scheduled-action.rst,sha256=ImlqDbzG
|
|
489
489
|
awscli/examples/application-autoscaling/register-scalable-target.rst,sha256=xeWqK4AR-iym6eNOkHuramlfqaVleN1kCIl6OmtV0nI,2912
|
490
490
|
awscli/examples/application-autoscaling/tag-resource.rst,sha256=Lii7Koli3KfOpUwtHVXRknpUcNRONAh6IDz0F6VHMIA,680
|
491
491
|
awscli/examples/application-autoscaling/untag-resource.rst,sha256=yGH_YlRYJoGPmIn-1b_ypWOnOk0xpn4uXhWhW5JFpnc,667
|
492
|
+
awscli/examples/application-signals/batch-get-service-level-objective-budget-report.rst,sha256=2febmRceQDUwY-q5nG_NU4WvnhlTJvvg-4A745b-j-E,4192
|
493
|
+
awscli/examples/application-signals/create-service-level-objective.rst,sha256=zljWqKBeszov7EXGHXtz64xmm1HYpfMKBYV2PqV8Uu4,3166
|
494
|
+
awscli/examples/application-signals/delete-service-level-objective.rst,sha256=KYOSkRXeIdvAqVHCa9UGhzjjfa9Wo_I0AB4ZPxKUmGQ,537
|
495
|
+
awscli/examples/application-signals/get-service-level-objective.rst,sha256=tIYUKXgClprK35tcilhX_E1tWB_r1aKu7UfH0eyOp7w,2113
|
496
|
+
awscli/examples/application-signals/get-service.rst,sha256=kKVLxJ6rUlGLkW5Y1jT9VdTbpsDlkIZXRho5rZx4I1Y,2704
|
497
|
+
awscli/examples/application-signals/list-service-dependencies.rst,sha256=BHBbqzoEs9s9I1P2LhlSs38K50BSLN2VjZRzJkoDId4,3625
|
498
|
+
awscli/examples/application-signals/list-service-dependents.rst,sha256=irgNLC9bEViKognuOa-JFFl-aE8tc8VmelSdgJ2OLuU,1455
|
499
|
+
awscli/examples/application-signals/list-service-level-objectives.rst,sha256=T447b1n6WFaHOUTkR2kiN1KBrazPr1kWz4W63XvpZfY,656
|
500
|
+
awscli/examples/application-signals/list-service-operations.rst,sha256=Cthff0GZ6wgJBlqchnhPyXoHXSpE1TI9aMhV6NR-Rio,2391
|
501
|
+
awscli/examples/application-signals/list-services.rst,sha256=x3hsoUNnCVHLpR9ucn5LDRoD9e2df3GfQpjfdv3_mBU,2236
|
502
|
+
awscli/examples/application-signals/list-tags-for-resource.rst,sha256=N-7JMm_TYsSXI6mCcm8epN0Klbn3gGmBQxTss2Rlqro,625
|
503
|
+
awscli/examples/application-signals/start-discovery.rst,sha256=-yPqKsGXOXGY9nzw5Nx3f75aoz5AXVUyNIDZlbM77Ts,598
|
504
|
+
awscli/examples/application-signals/tag-resource.rst,sha256=xKZ1nBOdHbCt58v-8mmznEA8bb_IJYLzx2VBWiUfRsQ,699
|
505
|
+
awscli/examples/application-signals/untag-resource.rst,sha256=HrDTjrkYat281fbLJqTAuePEgv29Pi14jYTUuV2G3Lg,556
|
506
|
+
awscli/examples/application-signals/update-service-level-objective.rst,sha256=c5S05Sx4BjrwujSYXT1Z97uP3q_mdKDgZduII8q5d1Q,2471
|
492
507
|
awscli/examples/appmesh/create-mesh.rst,sha256=wlEbmTxawAFzMbtaPCJwNr5TeUp6Cm4jME-CxoPAM_Q,1598
|
493
508
|
awscli/examples/appmesh/create-route.rst,sha256=Uzl7Sv1-5EOejK9DliYFEWzMvo5bHHEiOqqQt-UAaEU,10824
|
494
509
|
awscli/examples/appmesh/create-virtual-gateway.rst,sha256=yl37k084LfFCJBQrE2EALRMPy0CKNNwFN8INTb_y4eo,1777
|
@@ -6180,13 +6195,13 @@ awscli/topics/return-codes.rst,sha256=d9lpNFZwD75IiYcDEADQzu-4QiR8P28UPHkrNwPV5J
|
|
6180
6195
|
awscli/topics/s3-config.rst,sha256=5EIVd4ggLBHtzjtHFvQp9hY415yMGZiG7S_rO9qy2t0,11663
|
6181
6196
|
awscli/topics/s3-faq.rst,sha256=9qO0HFI6F9hx1wVEUDl8Jy6yoCUd9zbtv-Z0Re4dsiw,2934
|
6182
6197
|
awscli/topics/topic-tags.json,sha256=6lUSrs3FKCZNRSQMnjcXNgWyRNGjZIeur1988a4IO5o,1577
|
6183
|
-
awscli-1.42.
|
6184
|
-
awscli-1.42.
|
6185
|
-
awscli-1.42.
|
6186
|
-
awscli-1.42.
|
6187
|
-
awscli-1.42.
|
6188
|
-
awscli-1.42.
|
6189
|
-
awscli-1.42.
|
6190
|
-
awscli-1.42.
|
6191
|
-
awscli-1.42.
|
6192
|
-
awscli-1.42.
|
6198
|
+
awscli-1.42.18.data/scripts/aws,sha256=r24FExgs0-JjILTQ3XZAqXBYE4SV6UMTtALkLGAj86g,805
|
6199
|
+
awscli-1.42.18.data/scripts/aws.cmd,sha256=s46DkC6LNgX63CIkzxxbPnFMJ6DRDBkvc88GnWa8Pvg,1432
|
6200
|
+
awscli-1.42.18.data/scripts/aws_bash_completer,sha256=RRpoEGJRagRzyHZKZZOwpltuVYv2EoiZsdXhmyWPZ54,204
|
6201
|
+
awscli-1.42.18.data/scripts/aws_completer,sha256=oC9kuMDlWE47dWk_4xjPde2PQvN-M0vND0J4YSLabVQ,1126
|
6202
|
+
awscli-1.42.18.data/scripts/aws_zsh_completer.sh,sha256=Qm6Z8ejNAMzpJjaT0pzqxbSDT2zxdmzVe5haRA7qLoc,1808
|
6203
|
+
awscli-1.42.18.dist-info/LICENSE.txt,sha256=o5XhFlwu0OK_BBrijlKCRa7dQAm36UrUB3gCV_cEr8E,549
|
6204
|
+
awscli-1.42.18.dist-info/METADATA,sha256=lXiEhyJOjxZqDLQBsrlwzWpy-YoecrQtUce667CNWoQ,11128
|
6205
|
+
awscli-1.42.18.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
6206
|
+
awscli-1.42.18.dist-info/top_level.txt,sha256=vt9wXFr1_nGYK6abhJgt6zY3fULe4JSZedm_5XOM9S0,7
|
6207
|
+
awscli-1.42.18.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|