awscli 1.40.19__py3-none-any.whl → 1.40.21__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/customizations/s3/filegenerator.py +4 -1
- awscli/customizations/s3/fileinfo.py +2 -1
- awscli/customizations/s3/fileinfobuilder.py +1 -0
- awscli/customizations/s3/s3handler.py +2 -0
- awscli/customizations/s3/utils.py +11 -0
- awscli/examples/pi/create-performance-analysis-report.rst +17 -0
- awscli/examples/pi/delete-performance-analysis-report.rst +12 -0
- awscli/examples/pi/describe-dimension-keys.rst +33 -1
- awscli/examples/pi/get-dimension-key-details.rst +25 -0
- awscli/examples/pi/get-performance-analysis-report.rst +27 -0
- awscli/examples/pi/get-resource-metadata.rst +20 -0
- awscli/examples/pi/list-available-resource-dimensions.rst +48 -0
- awscli/examples/pi/list-available-resource-metrics.rst +29 -0
- awscli/examples/pi/list-performance-analysis-reports.rst +44 -0
- awscli/examples/pi/list-tags-for-resource.rst +20 -0
- awscli/examples/pi/tag-resource.rst +12 -0
- awscli/examples/pi/untag-resource.rst +12 -0
- {awscli-1.40.19.dist-info → awscli-1.40.21.dist-info}/METADATA +3 -3
- {awscli-1.40.19.dist-info → awscli-1.40.21.dist-info}/RECORD +28 -17
- {awscli-1.40.19.data → awscli-1.40.21.data}/scripts/aws +0 -0
- {awscli-1.40.19.data → awscli-1.40.21.data}/scripts/aws.cmd +0 -0
- {awscli-1.40.19.data → awscli-1.40.21.data}/scripts/aws_bash_completer +0 -0
- {awscli-1.40.19.data → awscli-1.40.21.data}/scripts/aws_completer +0 -0
- {awscli-1.40.19.data → awscli-1.40.21.data}/scripts/aws_zsh_completer.sh +0 -0
- {awscli-1.40.19.dist-info → awscli-1.40.21.dist-info}/LICENSE.txt +0 -0
- {awscli-1.40.19.dist-info → awscli-1.40.21.dist-info}/WHEEL +0 -0
- {awscli-1.40.19.dist-info → awscli-1.40.21.dist-info}/top_level.txt +0 -0
awscli/__init__.py
CHANGED
@@ -94,7 +94,7 @@ class FileDecodingError(Exception):
|
|
94
94
|
class FileStat(object):
|
95
95
|
def __init__(self, src, dest=None, compare_key=None, size=None,
|
96
96
|
last_update=None, src_type=None, dest_type=None,
|
97
|
-
operation_name=None, response_data=None):
|
97
|
+
operation_name=None, response_data=None, etag=None):
|
98
98
|
self.src = src
|
99
99
|
self.dest = dest
|
100
100
|
self.compare_key = compare_key
|
@@ -104,6 +104,7 @@ class FileStat(object):
|
|
104
104
|
self.dest_type = dest_type
|
105
105
|
self.operation_name = operation_name
|
106
106
|
self.response_data = response_data
|
107
|
+
self.etag = etag
|
107
108
|
|
108
109
|
|
109
110
|
class FileGenerator(object):
|
@@ -152,6 +153,7 @@ class FileGenerator(object):
|
|
152
153
|
src_type = file_stat_kwargs['src_type']
|
153
154
|
file_stat_kwargs['size'] = extra_information['Size']
|
154
155
|
file_stat_kwargs['last_update'] = extra_information['LastModified']
|
156
|
+
file_stat_kwargs['etag'] = extra_information.get('ETag')
|
155
157
|
|
156
158
|
# S3 objects require the response data retrieved from HeadObject
|
157
159
|
# and ListObject
|
@@ -366,4 +368,5 @@ class FileGenerator(object):
|
|
366
368
|
response['Size'] = int(response.pop('ContentLength'))
|
367
369
|
last_update = parse(response['LastModified'])
|
368
370
|
response['LastModified'] = last_update.astimezone(tzlocal())
|
371
|
+
response['ETag'] = response.pop('ETag', None)
|
369
372
|
return s3_path, response
|
@@ -42,7 +42,7 @@ class FileInfo(object):
|
|
42
42
|
last_update=None, src_type=None, dest_type=None,
|
43
43
|
operation_name=None, client=None, parameters=None,
|
44
44
|
source_client=None, is_stream=False,
|
45
|
-
associated_response_data=None):
|
45
|
+
associated_response_data=None, etag=None):
|
46
46
|
self.src = src
|
47
47
|
self.src_type = src_type
|
48
48
|
self.operation_name = operation_name
|
@@ -59,6 +59,7 @@ class FileInfo(object):
|
|
59
59
|
self.source_client = source_client
|
60
60
|
self.is_stream = is_stream
|
61
61
|
self.associated_response_data = associated_response_data
|
62
|
+
self.etag = etag
|
62
63
|
|
63
64
|
def is_glacier_compatible(self):
|
64
65
|
"""Determines if a file info object is glacier compatible
|
@@ -45,6 +45,7 @@ class FileInfoBuilder(object):
|
|
45
45
|
file_info_attr['parameters'] = self._parameters
|
46
46
|
file_info_attr['is_stream'] = self._is_stream
|
47
47
|
file_info_attr['associated_response_data'] = file_base.response_data
|
48
|
+
file_info_attr['etag'] = file_base.etag
|
48
49
|
|
49
50
|
# This is a bit quirky. The below conditional hinges on the --delete
|
50
51
|
# flag being set, which only occurs during a sync command. The source
|
@@ -39,6 +39,7 @@ from awscli.customizations.s3.results import CommandResultRecorder
|
|
39
39
|
from awscli.customizations.s3.utils import RequestParamsMapper
|
40
40
|
from awscli.customizations.s3.utils import StdoutBytesWriter
|
41
41
|
from awscli.customizations.s3.utils import ProvideSizeSubscriber
|
42
|
+
from awscli.customizations.s3.utils import ProvideETagSubscriber
|
42
43
|
from awscli.customizations.s3.utils import ProvideUploadContentTypeSubscriber
|
43
44
|
from awscli.customizations.s3.utils import ProvideCopyContentTypeSubscriber
|
44
45
|
from awscli.customizations.s3.utils import ProvideLastModifiedTimeSubscriber
|
@@ -395,6 +396,7 @@ class DownloadRequestSubmitter(BaseTransferRequestSubmitter):
|
|
395
396
|
|
396
397
|
def _add_additional_subscribers(self, subscribers, fileinfo):
|
397
398
|
subscribers.append(ProvideSizeSubscriber(fileinfo.size))
|
399
|
+
subscribers.append(ProvideETagSubscriber(fileinfo.etag))
|
398
400
|
subscribers.append(DirectoryCreatorSubscriber())
|
399
401
|
subscribers.append(ProvideLastModifiedTimeSubscriber(
|
400
402
|
fileinfo.last_update, self._result_queue))
|
@@ -649,6 +649,17 @@ class ProvideSizeSubscriber(BaseSubscriber):
|
|
649
649
|
future.meta.provide_transfer_size(self.size)
|
650
650
|
|
651
651
|
|
652
|
+
class ProvideETagSubscriber(BaseSubscriber):
|
653
|
+
"""
|
654
|
+
A subscriber which provides the object ETag before it's queued.
|
655
|
+
"""
|
656
|
+
def __init__(self, etag):
|
657
|
+
self.etag = etag
|
658
|
+
|
659
|
+
def on_queued(self, future, **kwargs):
|
660
|
+
future.meta.provide_object_etag(self.etag)
|
661
|
+
|
662
|
+
|
652
663
|
# TODO: Eventually port this down to the BaseSubscriber or a new subscriber
|
653
664
|
# class in s3transfer. The functionality is very convenient but may need
|
654
665
|
# some further design decisions to make it a feature in s3transfer.
|
@@ -0,0 +1,17 @@
|
|
1
|
+
**To create a performance analysis report**
|
2
|
+
|
3
|
+
The following ``create-performance-analysis-report`` example creates a performance analysis report with the start time ``1682969503`` and end time ``1682979503`` for the database ``db-abcdefg123456789``. ::
|
4
|
+
|
5
|
+
aws pi create-performance-analysis-report \
|
6
|
+
--service-type RDS \
|
7
|
+
--identifier db-abcdefg123456789 \
|
8
|
+
--start-time 1682969503 \
|
9
|
+
--end-time 1682979503
|
10
|
+
|
11
|
+
Output::
|
12
|
+
|
13
|
+
{
|
14
|
+
"AnalysisReportId": "report-0234d3ed98e28fb17"
|
15
|
+
}
|
16
|
+
|
17
|
+
For more information about creating performance analysis reports, see `Creating a performance analysis report in Performance Insights <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.UsingDashboard.CreatingPerfAnlysisReport.html>`__ in the *Amazon RDS User Guide* and `Creating a performance analysis report in Performance Insights <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_PerfInsights.UsingDashboard.CreatingPerfAnlysisReport.html>`__ in the *Amazon Aurora User Guide*.
|
@@ -0,0 +1,12 @@
|
|
1
|
+
**To delete a performance analysis report**
|
2
|
+
|
3
|
+
The following ``delete-performance-analysis-report`` example deletes the performance analysis report with the report ID ``report-0d99cc91c4422ee61``. ::
|
4
|
+
|
5
|
+
aws pi delete-performance-analysis-report \
|
6
|
+
--service-type RDS \
|
7
|
+
--identifier db-abcdefg123456789 \
|
8
|
+
--analysis-report-id report-0d99cc91c4422ee61
|
9
|
+
|
10
|
+
This command produces no output.
|
11
|
+
|
12
|
+
For more information about deleting performance analysis reports, see `Deleting a performance analysis report in Performance Insights <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.UsingDashboard.DeletePerfAnalysisReport.html>`__ in the *Amazon RDS User Guide* and `Deleting a performance analysis report in Performance Insights <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_PerfInsights.UsingDashboard.DeletePerfAnalysisReport.html>`__ in the *Amazon Aurora User Guide*.
|
@@ -1,4 +1,4 @@
|
|
1
|
-
**To describe dimension keys**
|
1
|
+
**Example 1: To describe dimension keys**
|
2
2
|
|
3
3
|
This example requests the names of all wait events. The data is summarized by event name, and the aggregate values of those events over the specified time period.
|
4
4
|
|
@@ -54,3 +54,35 @@ Output::
|
|
54
54
|
}
|
55
55
|
]
|
56
56
|
}
|
57
|
+
|
58
|
+
**Example 2: To find the SQL ID for statements contributing the most to DB load**
|
59
|
+
|
60
|
+
The following ``describe-dimension-keys`` requests the SQL statement and SQL ID for the 10 statements that contributed the most to DB load. ::
|
61
|
+
|
62
|
+
aws pi describe-dimension-keys \
|
63
|
+
--service-type RDS \
|
64
|
+
--identifier db-abcdefg123456789 \
|
65
|
+
--start-time 2023-05-01T00:00:00Z \
|
66
|
+
--end-time 2023-05-01T01:00:00Z \
|
67
|
+
--metric db.load.avg \
|
68
|
+
--group-by '{"Group": "db.sql", "Dimensions": ["db.sql.id", "db.sql.statement"],"Limit": 10}'
|
69
|
+
|
70
|
+
Output::
|
71
|
+
|
72
|
+
{
|
73
|
+
"AlignedEndTime": 1.5270804E9,
|
74
|
+
"AlignedStartTime": 1.5270264E9,
|
75
|
+
"Identifier": "db-abcdefg123456789",
|
76
|
+
"MetricList": [
|
77
|
+
{
|
78
|
+
"Keys": [
|
79
|
+
{
|
80
|
+
"Dimensions": {"db.sql.id": "AKIAIOSFODNN7EXAMPLE", "db.sql.statement": "SELECT * FROM customers WHERE customer_id = 123"},
|
81
|
+
"Total": 25.5,"Partitions": [12.3, 13.2]
|
82
|
+
}
|
83
|
+
]
|
84
|
+
}
|
85
|
+
]
|
86
|
+
}
|
87
|
+
|
88
|
+
For more information about dimensions in Performance Insights, see `Database load <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.Overview.ActiveSessions.html>`__ in the *Amazon RDS User Guide* and `Database load <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_PerfInsights.Overview.ActiveSessions.html>`__ in the *Amazon Aurora User Guide*.
|
@@ -0,0 +1,25 @@
|
|
1
|
+
**To get details for a specified dimension group for a DB instance**
|
2
|
+
|
3
|
+
The following ``get-dimension-key-details`` example retrieves the full text of a SQL statement for DB instance ``db-10BCD2EFGHIJ3KL4M5NO6PQRS5``. The ``--group`` is ``db.sql``, and the ``--group-identifier`` is ``db.sql.id``. In this example, ``example-sql-id`` represents a SQL ID retrieved by using the ``get-resource-metrics`` or ``describe-dimension-keys`` operations. In this example, the dimensions details are available. Thus, Performance Insights retrieves the full text of the SQL statement, without truncating it. ::
|
4
|
+
|
5
|
+
aws pi get-dimension-key-details \
|
6
|
+
--service-type RDS \
|
7
|
+
--identifier db-10BCD2EFGHIJ3KL4M5NO6PQRS5 \
|
8
|
+
--group db.sql \
|
9
|
+
--group-identifier example-sql-id \
|
10
|
+
--requested-dimensions statement
|
11
|
+
|
12
|
+
Output::
|
13
|
+
|
14
|
+
{
|
15
|
+
"Dimensions":[
|
16
|
+
{
|
17
|
+
"Value": "SELECT e.last_name, d.department_name FROM employees e, departments d WHERE e.department_id=d.department_id",
|
18
|
+
"Dimension": "db.sql.statement",
|
19
|
+
"Status": "AVAILABLE"
|
20
|
+
},
|
21
|
+
...
|
22
|
+
]
|
23
|
+
}
|
24
|
+
|
25
|
+
For more information about dimensions in Performance Insights, see `Database load <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.Overview.ActiveSessions.html>`__ in the *Amazon RDS User Guide* and `Database load <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_PerfInsights.Overview.ActiveSessions.html>`__ in the *Amazon Aurora User Guide*.
|
@@ -0,0 +1,27 @@
|
|
1
|
+
**To get a performance analysis report**
|
2
|
+
|
3
|
+
The following ``get-performance-analysis-report`` example gets the performance analysis report for the database ``db-abcdefg123456789`` with the report ID ``report-0d99cc91c4422ee61``. The response provides the report status, ID, time details, and insights. ::
|
4
|
+
|
5
|
+
aws pi get-performance-analysis-report \
|
6
|
+
--service-type RDS \
|
7
|
+
--identifier db-abcdefg123456789 \
|
8
|
+
--analysis-report-id report-0d99cc91c4422ee61
|
9
|
+
|
10
|
+
Output::
|
11
|
+
|
12
|
+
{
|
13
|
+
"AnalysisReport": {
|
14
|
+
"Status": "Succeeded",
|
15
|
+
"ServiceType": "RDS",
|
16
|
+
"Identifier": "db-abcdefg123456789",
|
17
|
+
"StartTime": 1680583486.584,
|
18
|
+
"AnalysisReportId": "report-0d99cc91c4422ee61",
|
19
|
+
"EndTime": 1680587086.584,
|
20
|
+
"CreateTime": 1680587087.139,
|
21
|
+
"Insights": [
|
22
|
+
... (Condensed for space)
|
23
|
+
]
|
24
|
+
}
|
25
|
+
}
|
26
|
+
|
27
|
+
For more information about performance analysis reports, see `Analyzing database performance for a period of time <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.UsingDashboard.AnalyzePerformanceTimePeriod.html>`__ in the *Amazon RDS User Guide* and `Analyzing database performance for a period of time <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_PerfInsights.UsingDashboard.AnalyzePerformanceTimePeriod.html>`__ in the *Amazon Aurora User Guide*.
|
@@ -0,0 +1,20 @@
|
|
1
|
+
**To get resource metadata for a database**
|
2
|
+
|
3
|
+
The following ``get-resource-metadata`` example gets the resource metadata for the database ``db-abcdefg123456789``. The response shows that SQL digest statistics are enabled. ::
|
4
|
+
|
5
|
+
aws pi get-resource-metadata \
|
6
|
+
--service-type RDS \
|
7
|
+
--identifier db-abcdefg123456789
|
8
|
+
|
9
|
+
Output::
|
10
|
+
|
11
|
+
{
|
12
|
+
"Identifier": "db-abcdefg123456789",
|
13
|
+
"Features":{
|
14
|
+
"SQL_DIGEST_STATISTICS":{
|
15
|
+
"Status": "ENABLED"
|
16
|
+
}
|
17
|
+
}
|
18
|
+
}
|
19
|
+
|
20
|
+
For more information about SQL statistics for Performance Insights, see `SQL statistics for Performance Insights <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/sql-statistics.html>`__ in the *Amazon RDS User Guide* and `SQL statistics for Performance Insights <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/sql-statistics.html>`__ in the *Amazon Aurora User Guide*.
|
@@ -0,0 +1,48 @@
|
|
1
|
+
**To list the dimensions that can be queried for a metric type on a DB instance**
|
2
|
+
|
3
|
+
The following ``list-available-resource-dimensions`` example lists the ``db.load`` metrics you can query for the database ``db-abcdefg123456789``. ::
|
4
|
+
|
5
|
+
aws pi list-available-resource-dimensions \
|
6
|
+
--service-type RDS \
|
7
|
+
--identifier db-abcdefg123456789 \
|
8
|
+
--metrics db.load
|
9
|
+
|
10
|
+
Output::
|
11
|
+
|
12
|
+
{
|
13
|
+
"MetricDimensions": [
|
14
|
+
{
|
15
|
+
"Metric": "db.load",
|
16
|
+
"Groups": [
|
17
|
+
{
|
18
|
+
"Group": "db.user",
|
19
|
+
"Dimensions": [
|
20
|
+
{
|
21
|
+
"Identifier": "db.user.id"
|
22
|
+
},
|
23
|
+
{
|
24
|
+
"Identifier": "db.user.name"
|
25
|
+
}
|
26
|
+
]
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"Group": "db.sql_tokenized",
|
30
|
+
"Dimensions": [
|
31
|
+
{
|
32
|
+
"Identifier": "db.sql_tokenized.id"
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"Identifier": "db.sql_tokenized.db_id"
|
36
|
+
},
|
37
|
+
{
|
38
|
+
"Identifier": "db.sql_tokenized.statement"
|
39
|
+
}
|
40
|
+
]
|
41
|
+
},
|
42
|
+
...
|
43
|
+
]
|
44
|
+
}
|
45
|
+
]
|
46
|
+
}
|
47
|
+
|
48
|
+
For more information about dimensions in Performance Insights, see `Database load <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.Overview.ActiveSessions.html>`__ in the *Amazon RDS User Guide* and `Database load <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_PerfInsights.Overview.ActiveSessions.html>`__ in the *Amazon Aurora User Guide*.
|
@@ -0,0 +1,29 @@
|
|
1
|
+
**To list the metrics that can be queried for a metric type on a DB instance**
|
2
|
+
|
3
|
+
The following ``list-available-resource-metrics`` example lists the ``db.load`` metrics you can query for the database ``db-abcdefg123456789``. ::
|
4
|
+
|
5
|
+
aws pi list-available-resource-metrics \
|
6
|
+
--service-type RDS \
|
7
|
+
--identifier db-abcdefg123456789 \
|
8
|
+
--metric-types "os" "db"
|
9
|
+
|
10
|
+
Output::
|
11
|
+
|
12
|
+
{
|
13
|
+
"Metrics": [
|
14
|
+
{
|
15
|
+
"Description": "The number of virtual CPUs for the DB instance",
|
16
|
+
"Metric": "os.general.numVCPUs",
|
17
|
+
"Unit": "vCPUs"
|
18
|
+
},
|
19
|
+
......,
|
20
|
+
{
|
21
|
+
"Description": "Time spent reading data file blocks by backends in this instance",
|
22
|
+
"Metric": "db.IO.read_latency",
|
23
|
+
"Unit": "Milliseconds per block"
|
24
|
+
},
|
25
|
+
......
|
26
|
+
]
|
27
|
+
}
|
28
|
+
|
29
|
+
For more information about metrics in Performance Insights, see `Database load <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.Overview.ActiveSessions.html>`__ in the *Amazon RDS User Guide* and `Database load <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_PerfInsights.Overview.ActiveSessions.html>`__ in the *Amazon Aurora User Guide*.
|
@@ -0,0 +1,44 @@
|
|
1
|
+
**To list performance analysis reports for a database**
|
2
|
+
|
3
|
+
The following ``list-performance-analysis-reports`` example lists performance analysis reports for the database ``db-abcdefg123456789``. The response lists all the reports with the report ID, status, and time period details. ::
|
4
|
+
|
5
|
+
aws pi list-performance-analysis-reports \
|
6
|
+
--service-type RDS \
|
7
|
+
--identifier db-abcdefg123456789
|
8
|
+
|
9
|
+
Output::
|
10
|
+
|
11
|
+
{
|
12
|
+
"AnalysisReports": [
|
13
|
+
{
|
14
|
+
"Status": "Succeeded",
|
15
|
+
"EndTime": 1680587086.584,
|
16
|
+
"CreateTime": 1680587087.139,
|
17
|
+
"StartTime": 1680583486.584,
|
18
|
+
"AnalysisReportId": "report-0d99cc91c4422ee61"
|
19
|
+
},
|
20
|
+
{
|
21
|
+
"Status": "Succeeded",
|
22
|
+
"EndTime": 1681491137.914,
|
23
|
+
"CreateTime": 1681491145.973,
|
24
|
+
"StartTime": 1681487537.914,
|
25
|
+
"AnalysisReportId": "report-002633115cc002233"
|
26
|
+
},
|
27
|
+
{
|
28
|
+
"Status": "Succeeded",
|
29
|
+
"EndTime": 1681493499.849,
|
30
|
+
"CreateTime": 1681493507.762,
|
31
|
+
"StartTime": 1681489899.849,
|
32
|
+
"AnalysisReportId": "report-043b1e006b47246f9"
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"Status": "InProgress",
|
36
|
+
"EndTime": 1682979503.0,
|
37
|
+
"CreateTime": 1682979618.994,
|
38
|
+
"StartTime": 1682969503.0,
|
39
|
+
"AnalysisReportId": "report-01ad15f9b88bcbd56"
|
40
|
+
}
|
41
|
+
]
|
42
|
+
}
|
43
|
+
|
44
|
+
For more information about performance analysis reports, see `Analyzing database performance for a period of time <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.UsingDashboard.AnalyzePerformanceTimePeriod.html>`__ in the *Amazon RDS User Guide* and `Analyzing database performance for a period of time <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_PerfInsights.UsingDashboard.AnalyzePerformanceTimePeriod.html>`__ in the *Amazon Aurora User Guide*.
|
@@ -0,0 +1,20 @@
|
|
1
|
+
**To list tags for a performance analysis report**
|
2
|
+
|
3
|
+
The following ``list-tags-for-resource`` example lists tags for a performance analysis report with the report ID ``report-0d99cc91c4422ee61``. ::
|
4
|
+
|
5
|
+
aws pi list-tags-for-resource \
|
6
|
+
--service-type RDS \
|
7
|
+
--resource-arn arn:aws:pi:us-west-2:123456789012:perf-reports/RDS/db-abcdefg123456789/report-0d99cc91c4422ee61
|
8
|
+
|
9
|
+
Output::
|
10
|
+
|
11
|
+
{
|
12
|
+
"Tags": [
|
13
|
+
{
|
14
|
+
"Value": "test-tag",
|
15
|
+
"Key": "name"
|
16
|
+
}
|
17
|
+
]
|
18
|
+
}
|
19
|
+
|
20
|
+
For more information about tagging performance analysis reports, see `Adding tags to a performance analysis report in Performance Insights <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.UsingDashboard.ManagePerfAnalysisReportTags.html>`__ in the *Amazon RDS User Guide* and `Adding tags to a performance analysis report in Performance Insights <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_PerfInsights.UsingDashboard.ManagePerfAnalysisReportTags.html>`__ in the *Amazon Aurora User Guide*.
|
@@ -0,0 +1,12 @@
|
|
1
|
+
**To add a tag to a performance analysis report**
|
2
|
+
|
3
|
+
The following ``tag-resource`` example adds the tag key ``name`` with the tag value ``test-tag`` to a performance analysis report with the report ID ``report-0d99cc91c4422ee61``. ::
|
4
|
+
|
5
|
+
aws pi tag-resource \
|
6
|
+
--service-type RDS \
|
7
|
+
--resource-arn arn:aws:pi:us-west-2:123456789012:perf-reports/RDS/db-abcdefg123456789/report-0d99cc91c4422ee61 \
|
8
|
+
--tags Key=name,Value=test-tag
|
9
|
+
|
10
|
+
This command produces no output.
|
11
|
+
|
12
|
+
For more information about tagging performance analysis reports, see `Adding tags to a performance analysis report in Performance Insights <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.UsingDashboard.ManagePerfAnalysisReportTags.html>`__ in the *Amazon RDS User Guide* and `Adding tags to a performance analysis report in Performance Insights <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_PerfInsights.UsingDashboard.ManagePerfAnalysisReportTags.html>`__ in the *Amazon Aurora User Guide*.
|
@@ -0,0 +1,12 @@
|
|
1
|
+
**To delete a tag for a performance analysis report**
|
2
|
+
|
3
|
+
The following ``untag-resource`` example deletes the tag ``name`` for a performance analysis report with the report ID ``report-0d99cc91c4422ee61``. ::
|
4
|
+
|
5
|
+
aws pi untag-resource \
|
6
|
+
--service-type RDS \
|
7
|
+
--resource-arn arn:aws:pi:us-west-2:123456789012:perf-reports/RDS/db-abcdefg123456789/report-0d99cc91c4422ee61 \
|
8
|
+
--tag-keys name
|
9
|
+
|
10
|
+
This command produces no output.
|
11
|
+
|
12
|
+
For more information about tagging performance analysis reports, see `Adding tags to a performance analysis report in Performance Insights <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.UsingDashboard.ManagePerfAnalysisReportTags.html>`__ in the *Amazon RDS User Guide* and `Adding tags to a performance analysis report in Performance Insights <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_PerfInsights.UsingDashboard.ManagePerfAnalysisReportTags.html>`__ in the *Amazon Aurora User Guide*.
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: awscli
|
3
|
-
Version: 1.40.
|
3
|
+
Version: 1.40.21
|
4
4
|
Summary: Universal Command Line Environment for AWS.
|
5
5
|
Home-page: http://aws.amazon.com/cli/
|
6
6
|
Author: Amazon Web Services
|
@@ -22,9 +22,9 @@ Classifier: Programming Language :: Python :: 3.11
|
|
22
22
|
Classifier: Programming Language :: Python :: 3.12
|
23
23
|
Requires-Python: >= 3.9
|
24
24
|
License-File: LICENSE.txt
|
25
|
-
Requires-Dist: botocore (==1.38.
|
25
|
+
Requires-Dist: botocore (==1.38.22)
|
26
26
|
Requires-Dist: docutils (<=0.19,>=0.18.1)
|
27
|
-
Requires-Dist: s3transfer (<0.
|
27
|
+
Requires-Dist: s3transfer (<0.14.0,>=0.13.0)
|
28
28
|
Requires-Dist: PyYAML (<6.1,>=3.10)
|
29
29
|
Requires-Dist: colorama (<0.4.7,>=0.2.5)
|
30
30
|
Requires-Dist: rsa (<4.8,>=3.1.2)
|
@@ -1,4 +1,4 @@
|
|
1
|
-
awscli/__init__.py,sha256=
|
1
|
+
awscli/__init__.py,sha256=g8pSYczrpp5CvAWwDy7yvcMxGFnw_urGGOiVyLh10xc,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
|
@@ -192,16 +192,16 @@ awscli/customizations/logs/startlivetail.py,sha256=sKYL2Oi7qbGRmHG0vSyQ5lazXw3BJ
|
|
192
192
|
awscli/customizations/s3/__init__.py,sha256=BFJ0dbdWkUBgJ2qav1Jhz06SddTMIeahxSaW_H0vop0,565
|
193
193
|
awscli/customizations/s3/comparator.py,sha256=bg9ewFtjOGUHmTSK37J9oP1OD9lWfdmIF7cDGMblFoc,6146
|
194
194
|
awscli/customizations/s3/fileformat.py,sha256=m4-tpR3_4AZOYfLxnlaGmIXG_vqTxyD4jNC8HtZRn2k,6027
|
195
|
-
awscli/customizations/s3/filegenerator.py,sha256=
|
196
|
-
awscli/customizations/s3/fileinfo.py,sha256=
|
197
|
-
awscli/customizations/s3/fileinfobuilder.py,sha256=
|
195
|
+
awscli/customizations/s3/filegenerator.py,sha256=H1ZYpybVwfh_jCZq2Y6g4WDZyV9V-aOFO0w9kjQxBek,16187
|
196
|
+
awscli/customizations/s3/fileinfo.py,sha256=HD0Aa6pI64P8ojenxLv5lylOrTI7jf3dSLd9KruFUIU,4295
|
197
|
+
awscli/customizations/s3/fileinfobuilder.py,sha256=1O3KtCQbhAqlgvjqRw3-aLyvM8jt1DweZ6hn_NUYPiA,3230
|
198
198
|
awscli/customizations/s3/filters.py,sha256=OuQUr6XAMkS1i6GO65_L7NbL7kwgmKT2ghWhv1YdkXo,6489
|
199
199
|
awscli/customizations/s3/results.py,sha256=L19gi3CtJYeHqWIWuIVcbj82Dshw2g5jNX8PFidcC2U,26625
|
200
200
|
awscli/customizations/s3/s3.py,sha256=Igwsn89G7i9M4nShjzcFmwlCVXvpfgmoyEf9wpNLXdk,2739
|
201
|
-
awscli/customizations/s3/s3handler.py,sha256=
|
201
|
+
awscli/customizations/s3/s3handler.py,sha256=61SHV-pIat3dvjBvK3x4CH3Czg_0YeSGWbXgJvezcmQ,23429
|
202
202
|
awscli/customizations/s3/subcommands.py,sha256=Zk361nn61l1kPIfqzomLquFPbsPIjgnERDYsE280QUs,63307
|
203
203
|
awscli/customizations/s3/transferconfig.py,sha256=7MW4hi90N5mLeQBlmVxs9J5ixRjejp1F4uPmGGF3TME,4472
|
204
|
-
awscli/customizations/s3/utils.py,sha256=
|
204
|
+
awscli/customizations/s3/utils.py,sha256=qBCU--yBVoD2t_76IdePQcbphQrvMQe-Sym_F4OyISM,34494
|
205
205
|
awscli/customizations/s3/syncstrategy/__init__.py,sha256=BFJ0dbdWkUBgJ2qav1Jhz06SddTMIeahxSaW_H0vop0,565
|
206
206
|
awscli/customizations/s3/syncstrategy/base.py,sha256=WHvsh6p3KhF3GsX0h05eYTh1DohNG2TyeEXUW8xQ6ZU,10113
|
207
207
|
awscli/customizations/s3/syncstrategy/delete.py,sha256=y-KSRQE14bZY9jQfJJx0WbZ8UyX6juKkDhS8lwC9ed8,1313
|
@@ -4603,8 +4603,19 @@ awscli/examples/payment-cryptography-data/verify-auth-request-cryptogram.rst,sha
|
|
4603
4603
|
awscli/examples/payment-cryptography-data/verify-card-validation-data.rst,sha256=1LA8wk-LHbNocbn-gSyLSq8pB4ohXK8ZR0TuhF3wAnk,790
|
4604
4604
|
awscli/examples/payment-cryptography-data/verify-mac.rst,sha256=VonzuD4357MGak0VrEGSwW_qsAzQJZga6eqnS2P3pco,929
|
4605
4605
|
awscli/examples/payment-cryptography-data/verify-pin-data.rst,sha256=mckJZQ1sedqPmaAXXb4mdophwx3K3vgN_szBxsYe_LU,1136
|
4606
|
-
awscli/examples/pi/
|
4606
|
+
awscli/examples/pi/create-performance-analysis-report.rst,sha256=TtWqKL-t3SV4FPo7qGsmGGNNVY86DJE485U5BOdMmqI,1037
|
4607
|
+
awscli/examples/pi/delete-performance-analysis-report.rst,sha256=4ZSMebmo84lvE2mCxKMu57A5lOEgeCCaUSp55qiBrnM,927
|
4608
|
+
awscli/examples/pi/describe-dimension-keys.rst,sha256=ZUNZZj-nkI2Im6T5RaSFO1HDPSrv9guc203A7ZbkBtk,3515
|
4609
|
+
awscli/examples/pi/get-dimension-key-details.rst,sha256=MHPBxSaHry80ZDC_RxlfUXT8tF-l14vtwPdh87N9Rjg,1536
|
4610
|
+
awscli/examples/pi/get-performance-analysis-report.rst,sha256=E-df8EeG2-EeZWoNkBBij7uvhVFBt8EVAm8XkSuQcCw,1414
|
4611
|
+
awscli/examples/pi/get-resource-metadata.rst,sha256=uBbNdxx_OLL3He6nyclcKH_s9oSOXa__JFMqiqi8q9Y,911
|
4607
4612
|
awscli/examples/pi/get-resource-metrics.rst,sha256=mEHM-1CDR3LgEe87JTc9fqCa6ORh_RUMGcWCetJirz8,2113
|
4613
|
+
awscli/examples/pi/list-available-resource-dimensions.rst,sha256=ppC9R8Hrbmm-xclxkSEeq_wi8s5w_pa-havsXpDNIXo,1921
|
4614
|
+
awscli/examples/pi/list-available-resource-metrics.rst,sha256=8lSNdU8gwxbYBkpWUDtG9mxwKQvKLkmKibEdnQYB4QA,1271
|
4615
|
+
awscli/examples/pi/list-performance-analysis-reports.rst,sha256=6OmLR5vR8U7beQA2ylQjpkzbNB_o8ZoKX75x6J3JBB0,2018
|
4616
|
+
awscli/examples/pi/list-tags-for-resource.rst,sha256=2tVYaA4jh2Myzm5j3Q1X_bry5SNyd-qU667U6CmzQxM,1068
|
4617
|
+
awscli/examples/pi/tag-resource.rst,sha256=65dA2LglR-DsDzxGAobPnvJynsnUfkY8vmKYtv6k6iw,1022
|
4618
|
+
awscli/examples/pi/untag-resource.rst,sha256=YvM51NzrjcQATnzfviTxFeAGPzzqs6FTOoRPaVjg0Zg,983
|
4608
4619
|
awscli/examples/pinpoint/create-app.rst,sha256=2zG6FsSJPONkPHz8-lwnToXCpTbxStEj_ADpXy5oN-8,1174
|
4609
4620
|
awscli/examples/pinpoint/create-sms-template.rst,sha256=T20dD5-D6kC0PJcGDZ46N3eMG_R1sbrl-YN9WN8D2bY,928
|
4610
4621
|
awscli/examples/pinpoint/delete-app.rst,sha256=OSysf0aIcp9M_t9KYoU2DjWQb3gUpxUKbHYiB-EN9ds,505
|
@@ -6118,13 +6129,13 @@ awscli/topics/return-codes.rst,sha256=d9lpNFZwD75IiYcDEADQzu-4QiR8P28UPHkrNwPV5J
|
|
6118
6129
|
awscli/topics/s3-config.rst,sha256=5EIVd4ggLBHtzjtHFvQp9hY415yMGZiG7S_rO9qy2t0,11663
|
6119
6130
|
awscli/topics/s3-faq.rst,sha256=9qO0HFI6F9hx1wVEUDl8Jy6yoCUd9zbtv-Z0Re4dsiw,2934
|
6120
6131
|
awscli/topics/topic-tags.json,sha256=6lUSrs3FKCZNRSQMnjcXNgWyRNGjZIeur1988a4IO5o,1577
|
6121
|
-
awscli-1.40.
|
6122
|
-
awscli-1.40.
|
6123
|
-
awscli-1.40.
|
6124
|
-
awscli-1.40.
|
6125
|
-
awscli-1.40.
|
6126
|
-
awscli-1.40.
|
6127
|
-
awscli-1.40.
|
6128
|
-
awscli-1.40.
|
6129
|
-
awscli-1.40.
|
6130
|
-
awscli-1.40.
|
6132
|
+
awscli-1.40.21.data/scripts/aws,sha256=r24FExgs0-JjILTQ3XZAqXBYE4SV6UMTtALkLGAj86g,805
|
6133
|
+
awscli-1.40.21.data/scripts/aws.cmd,sha256=s46DkC6LNgX63CIkzxxbPnFMJ6DRDBkvc88GnWa8Pvg,1432
|
6134
|
+
awscli-1.40.21.data/scripts/aws_bash_completer,sha256=RRpoEGJRagRzyHZKZZOwpltuVYv2EoiZsdXhmyWPZ54,204
|
6135
|
+
awscli-1.40.21.data/scripts/aws_completer,sha256=oC9kuMDlWE47dWk_4xjPde2PQvN-M0vND0J4YSLabVQ,1126
|
6136
|
+
awscli-1.40.21.data/scripts/aws_zsh_completer.sh,sha256=Qm6Z8ejNAMzpJjaT0pzqxbSDT2zxdmzVe5haRA7qLoc,1808
|
6137
|
+
awscli-1.40.21.dist-info/LICENSE.txt,sha256=o5XhFlwu0OK_BBrijlKCRa7dQAm36UrUB3gCV_cEr8E,549
|
6138
|
+
awscli-1.40.21.dist-info/METADATA,sha256=JaVh2d7M8WPjYDNQf4GT6h-ndr4t1q_c6EYyRL6W-ls,11055
|
6139
|
+
awscli-1.40.21.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
6140
|
+
awscli-1.40.21.dist-info/top_level.txt,sha256=vt9wXFr1_nGYK6abhJgt6zY3fULe4JSZedm_5XOM9S0,7
|
6141
|
+
awscli-1.40.21.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
|