aws-sdk-pi 1.52.0 → 1.54.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-pi/client.rb +8 -4
- data/lib/aws-sdk-pi/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-pi/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-pi/types.rb +22 -7
- data/lib/aws-sdk-pi.rb +1 -1
- data/sig/client.rbs +296 -0
- data/sig/errors.rbs +25 -0
- data/sig/resource.rbs +80 -0
- data/sig/types.rbs +356 -0
- data/sig/waiters.rbs +13 -0
- metadata +13 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 25cf08fbbe41c32a489adb47c765581e5b717f8f83a098a3d4dd8f9707651725
|
4
|
+
data.tar.gz: de172c6da9cbe9736c830d3f1aeeb0475bd62702217774113cceabf4364f43c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d876f5f79151061c15850eca6e5e506bee665df8f5836829809c51138f3a7731a52102db23bca8aef7cfa26d7811f0f913cc99db2fe6b99256ae0b20ca95b548
|
7
|
+
data.tar.gz: edeb53d1019abf274138392483aea539eaf99d2038b9e9bb05c2c814d4e23f38665e4e0d84f77808023208c5c25d505c0cf4b4f1ba694aaf10611200ddbcd058
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.54.0 (2024-04-23)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Clarifies how aggregation works for GetResourceMetrics in the Performance Insights API.
|
8
|
+
|
9
|
+
1.53.0 (2024-01-26)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.52.0 (2023-11-28)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.54.0
|
data/lib/aws-sdk-pi/client.rb
CHANGED
@@ -883,7 +883,8 @@ module Aws::PI
|
|
883
883
|
|
884
884
|
# Retrieve Performance Insights metrics for a set of data sources over a
|
885
885
|
# time period. You can provide specific dimension groups and dimensions,
|
886
|
-
# and provide
|
886
|
+
# and provide filtering criteria for each group. You must specify an
|
887
|
+
# aggregate function for each metric.
|
887
888
|
#
|
888
889
|
# <note markdown="1"> Each response element returns a maximum of 500 bytes. For larger
|
889
890
|
# elements, such as SQL statements, only the first 500 bytes are
|
@@ -911,8 +912,11 @@ module Aws::PI
|
|
911
912
|
#
|
912
913
|
# @option params [required, Array<Types::MetricQuery>] :metric_queries
|
913
914
|
# An array of one or more queries to perform. Each query must specify a
|
914
|
-
# Performance Insights metric
|
915
|
-
#
|
915
|
+
# Performance Insights metric and specify an aggregate function, and you
|
916
|
+
# can provide filtering criteria. You must append the aggregate function
|
917
|
+
# to the metric. For example, to find the average for the metric
|
918
|
+
# `db.load` you must use `db.load.avg`. Valid values for aggregate
|
919
|
+
# functions include `.avg`, `.min`, `.max`, and `.sum`.
|
916
920
|
#
|
917
921
|
# @option params [required, Time,DateTime,Date,Integer,String] :start_time
|
918
922
|
# The date and time specifying the beginning of the requested time
|
@@ -1372,7 +1376,7 @@ module Aws::PI
|
|
1372
1376
|
params: params,
|
1373
1377
|
config: config)
|
1374
1378
|
context[:gem_name] = 'aws-sdk-pi'
|
1375
|
-
context[:gem_version] = '1.
|
1379
|
+
context[:gem_version] = '1.54.0'
|
1376
1380
|
Seahorse::Client::Request.new(handlers, context)
|
1377
1381
|
end
|
1378
1382
|
|
@@ -32,7 +32,7 @@ module Aws::PI
|
|
32
32
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
33
|
end
|
34
34
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
-
if Aws::Endpoints::Matchers.boolean_equals?(
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
36
36
|
return Aws::Endpoints::Endpoint.new(url: "https://pi-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
37
|
end
|
38
38
|
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
@@ -14,6 +14,7 @@ module Aws::PI
|
|
14
14
|
option(
|
15
15
|
:endpoint_provider,
|
16
16
|
doc_type: 'Aws::PI::EndpointProvider',
|
17
|
+
rbs_type: 'untyped',
|
17
18
|
docstring: 'The endpoint provider used to resolve endpoints. Any '\
|
18
19
|
'object that responds to `#resolve_endpoint(parameters)` '\
|
19
20
|
'where `parameters` is a Struct similar to '\
|
data/lib/aws-sdk-pi/types.rb
CHANGED
@@ -953,8 +953,11 @@ module Aws::PI
|
|
953
953
|
#
|
954
954
|
# @!attribute [rw] metric_queries
|
955
955
|
# An array of one or more queries to perform. Each query must specify
|
956
|
-
# a Performance Insights metric
|
957
|
-
#
|
956
|
+
# a Performance Insights metric and specify an aggregate function, and
|
957
|
+
# you can provide filtering criteria. You must append the aggregate
|
958
|
+
# function to the metric. For example, to find the average for the
|
959
|
+
# metric `db.load` you must use `db.load.avg`. Valid values for
|
960
|
+
# aggregate functions include `.avg`, `.min`, `.max`, and `.sum`.
|
958
961
|
# @return [Array<Types::MetricQuery>]
|
959
962
|
#
|
960
963
|
# @!attribute [rw] start_time
|
@@ -1456,11 +1459,15 @@ module Aws::PI
|
|
1456
1459
|
include Aws::Structure
|
1457
1460
|
end
|
1458
1461
|
|
1459
|
-
# A single query to be processed. You must provide the metric to query
|
1460
|
-
#
|
1461
|
-
#
|
1462
|
-
#
|
1463
|
-
#
|
1462
|
+
# A single query to be processed. You must provide the metric to query
|
1463
|
+
# and append an aggregate function to the metric. For example, to find
|
1464
|
+
# the average for the metric `db.load` you must use `db.load.avg`. Valid
|
1465
|
+
# values for aggregate functions include `.avg`, `.min`, `.max`, and
|
1466
|
+
# `.sum`. If no other parameters are specified, Performance Insights
|
1467
|
+
# returns all data points for the specified metric. Optionally, you can
|
1468
|
+
# request that the data points be aggregated by dimension group
|
1469
|
+
# (`GroupBy`), and return only those data points that match your
|
1470
|
+
# criteria (`Filter`).
|
1464
1471
|
#
|
1465
1472
|
# @!attribute [rw] metric
|
1466
1473
|
# The name of a Performance Insights metric to be measured.
|
@@ -1476,6 +1483,9 @@ module Aws::PI
|
|
1476
1483
|
# * The counter metrics listed in [Performance Insights operating
|
1477
1484
|
# system counters][1] in the *Amazon Aurora User Guide*.
|
1478
1485
|
#
|
1486
|
+
# * The counter metrics listed in [Performance Insights operating
|
1487
|
+
# system counters][2] in the *Amazon RDS User Guide*.
|
1488
|
+
#
|
1479
1489
|
# If the number of active sessions is less than an internal
|
1480
1490
|
# Performance Insights threshold, `db.load.avg` and
|
1481
1491
|
# `db.sampledload.avg` are the same value. If the number of active
|
@@ -1488,6 +1498,7 @@ module Aws::PI
|
|
1488
1498
|
#
|
1489
1499
|
#
|
1490
1500
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_PerfInsights_Counters.html#USER_PerfInsights_Counters.OS
|
1501
|
+
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights_Counters.html#USER_PerfInsights_Counters.OS
|
1491
1502
|
# @return [String]
|
1492
1503
|
#
|
1493
1504
|
# @!attribute [rw] group_by
|
@@ -1640,6 +1651,9 @@ module Aws::PI
|
|
1640
1651
|
# * The counter metrics listed in [Performance Insights operating
|
1641
1652
|
# system counters][1] in the *Amazon Aurora User Guide*.
|
1642
1653
|
#
|
1654
|
+
# * The counter metrics listed in [Performance Insights operating
|
1655
|
+
# system counters][2] in the *Amazon RDS User Guide*.
|
1656
|
+
#
|
1643
1657
|
# If the number of active sessions is less than an internal
|
1644
1658
|
# Performance Insights threshold, `db.load.avg` and
|
1645
1659
|
# `db.sampledload.avg` are the same value. If the number of active
|
@@ -1652,6 +1666,7 @@ module Aws::PI
|
|
1652
1666
|
#
|
1653
1667
|
#
|
1654
1668
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_PerfInsights_Counters.html#USER_PerfInsights_Counters.OS
|
1669
|
+
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights_Counters.html#USER_PerfInsights_Counters.OS
|
1655
1670
|
# @return [String]
|
1656
1671
|
#
|
1657
1672
|
# @!attribute [rw] dimensions
|
data/lib/aws-sdk-pi.rb
CHANGED
data/sig/client.rbs
ADDED
@@ -0,0 +1,296 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module PI
|
10
|
+
class Client < ::Seahorse::Client::Base
|
11
|
+
include ::Aws::ClientStubs
|
12
|
+
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PI/Client.html#initialize-instance_method
|
14
|
+
def self.new: (
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?active_endpoint_cache: bool,
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
20
|
+
?client_side_monitoring: bool,
|
21
|
+
?client_side_monitoring_client_id: String,
|
22
|
+
?client_side_monitoring_host: String,
|
23
|
+
?client_side_monitoring_port: Integer,
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
25
|
+
?convert_params: bool,
|
26
|
+
?correct_clock_skew: bool,
|
27
|
+
?defaults_mode: String,
|
28
|
+
?disable_host_prefix_injection: bool,
|
29
|
+
?disable_request_compression: bool,
|
30
|
+
?endpoint: String,
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
34
|
+
?endpoint_discovery: bool,
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
36
|
+
?log_formatter: untyped,
|
37
|
+
?log_level: Symbol,
|
38
|
+
?logger: untyped,
|
39
|
+
?max_attempts: Integer,
|
40
|
+
?profile: String,
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
42
|
+
?retry_backoff: Proc,
|
43
|
+
?retry_base_delay: Float,
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
45
|
+
?retry_limit: Integer,
|
46
|
+
?retry_max_delay: Integer,
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
48
|
+
?sdk_ua_app_id: String,
|
49
|
+
?secret_access_key: String,
|
50
|
+
?session_token: String,
|
51
|
+
?simple_json: bool,
|
52
|
+
?stub_responses: untyped,
|
53
|
+
?token_provider: untyped,
|
54
|
+
?use_dualstack_endpoint: bool,
|
55
|
+
?use_fips_endpoint: bool,
|
56
|
+
?validate_params: bool,
|
57
|
+
?endpoint_provider: untyped,
|
58
|
+
?http_proxy: String,
|
59
|
+
?http_open_timeout: (Float | Integer),
|
60
|
+
?http_read_timeout: (Float | Integer),
|
61
|
+
?http_idle_timeout: (Float | Integer),
|
62
|
+
?http_continue_timeout: (Float | Integer),
|
63
|
+
?ssl_timeout: (Float | Integer | nil),
|
64
|
+
?http_wire_trace: bool,
|
65
|
+
?ssl_verify_peer: bool,
|
66
|
+
?ssl_ca_bundle: String,
|
67
|
+
?ssl_ca_directory: String,
|
68
|
+
?ssl_ca_store: String,
|
69
|
+
?on_chunk_received: Proc,
|
70
|
+
?on_chunk_sent: Proc,
|
71
|
+
?raise_response_errors: bool
|
72
|
+
) -> instance
|
73
|
+
| (?Hash[Symbol, untyped]) -> instance
|
74
|
+
|
75
|
+
|
76
|
+
interface _CreatePerformanceAnalysisReportResponseSuccess
|
77
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreatePerformanceAnalysisReportResponse]
|
78
|
+
def analysis_report_id: () -> ::String
|
79
|
+
end
|
80
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PI/Client.html#create_performance_analysis_report-instance_method
|
81
|
+
def create_performance_analysis_report: (
|
82
|
+
service_type: ("RDS" | "DOCDB"),
|
83
|
+
identifier: ::String,
|
84
|
+
start_time: ::Time,
|
85
|
+
end_time: ::Time,
|
86
|
+
?tags: Array[
|
87
|
+
{
|
88
|
+
key: ::String,
|
89
|
+
value: ::String
|
90
|
+
},
|
91
|
+
]
|
92
|
+
) -> _CreatePerformanceAnalysisReportResponseSuccess
|
93
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePerformanceAnalysisReportResponseSuccess
|
94
|
+
|
95
|
+
interface _DeletePerformanceAnalysisReportResponseSuccess
|
96
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeletePerformanceAnalysisReportResponse]
|
97
|
+
end
|
98
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PI/Client.html#delete_performance_analysis_report-instance_method
|
99
|
+
def delete_performance_analysis_report: (
|
100
|
+
service_type: ("RDS" | "DOCDB"),
|
101
|
+
identifier: ::String,
|
102
|
+
analysis_report_id: ::String
|
103
|
+
) -> _DeletePerformanceAnalysisReportResponseSuccess
|
104
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeletePerformanceAnalysisReportResponseSuccess
|
105
|
+
|
106
|
+
interface _DescribeDimensionKeysResponseSuccess
|
107
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeDimensionKeysResponse]
|
108
|
+
def aligned_start_time: () -> ::Time
|
109
|
+
def aligned_end_time: () -> ::Time
|
110
|
+
def partition_keys: () -> ::Array[Types::ResponsePartitionKey]
|
111
|
+
def keys: () -> ::Array[Types::DimensionKeyDescription]
|
112
|
+
def next_token: () -> ::String
|
113
|
+
end
|
114
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PI/Client.html#describe_dimension_keys-instance_method
|
115
|
+
def describe_dimension_keys: (
|
116
|
+
service_type: ("RDS" | "DOCDB"),
|
117
|
+
identifier: ::String,
|
118
|
+
start_time: ::Time,
|
119
|
+
end_time: ::Time,
|
120
|
+
metric: ::String,
|
121
|
+
?period_in_seconds: ::Integer,
|
122
|
+
group_by: {
|
123
|
+
group: ::String,
|
124
|
+
dimensions: Array[::String]?,
|
125
|
+
limit: ::Integer?
|
126
|
+
},
|
127
|
+
?additional_metrics: Array[::String],
|
128
|
+
?partition_by: {
|
129
|
+
group: ::String,
|
130
|
+
dimensions: Array[::String]?,
|
131
|
+
limit: ::Integer?
|
132
|
+
},
|
133
|
+
?filter: Hash[::String, ::String],
|
134
|
+
?max_results: ::Integer,
|
135
|
+
?next_token: ::String
|
136
|
+
) -> _DescribeDimensionKeysResponseSuccess
|
137
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeDimensionKeysResponseSuccess
|
138
|
+
|
139
|
+
interface _GetDimensionKeyDetailsResponseSuccess
|
140
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetDimensionKeyDetailsResponse]
|
141
|
+
def dimensions: () -> ::Array[Types::DimensionKeyDetail]
|
142
|
+
end
|
143
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PI/Client.html#get_dimension_key_details-instance_method
|
144
|
+
def get_dimension_key_details: (
|
145
|
+
service_type: ("RDS" | "DOCDB"),
|
146
|
+
identifier: ::String,
|
147
|
+
group: ::String,
|
148
|
+
group_identifier: ::String,
|
149
|
+
?requested_dimensions: Array[::String]
|
150
|
+
) -> _GetDimensionKeyDetailsResponseSuccess
|
151
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDimensionKeyDetailsResponseSuccess
|
152
|
+
|
153
|
+
interface _GetPerformanceAnalysisReportResponseSuccess
|
154
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetPerformanceAnalysisReportResponse]
|
155
|
+
def analysis_report: () -> Types::AnalysisReport
|
156
|
+
end
|
157
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PI/Client.html#get_performance_analysis_report-instance_method
|
158
|
+
def get_performance_analysis_report: (
|
159
|
+
service_type: ("RDS" | "DOCDB"),
|
160
|
+
identifier: ::String,
|
161
|
+
analysis_report_id: ::String,
|
162
|
+
?text_format: ("PLAIN_TEXT" | "MARKDOWN"),
|
163
|
+
?accept_language: ("EN_US")
|
164
|
+
) -> _GetPerformanceAnalysisReportResponseSuccess
|
165
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPerformanceAnalysisReportResponseSuccess
|
166
|
+
|
167
|
+
interface _GetResourceMetadataResponseSuccess
|
168
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetResourceMetadataResponse]
|
169
|
+
def identifier: () -> ::String
|
170
|
+
def features: () -> ::Hash[::String, Types::FeatureMetadata]
|
171
|
+
end
|
172
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PI/Client.html#get_resource_metadata-instance_method
|
173
|
+
def get_resource_metadata: (
|
174
|
+
service_type: ("RDS" | "DOCDB"),
|
175
|
+
identifier: ::String
|
176
|
+
) -> _GetResourceMetadataResponseSuccess
|
177
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetResourceMetadataResponseSuccess
|
178
|
+
|
179
|
+
interface _GetResourceMetricsResponseSuccess
|
180
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetResourceMetricsResponse]
|
181
|
+
def aligned_start_time: () -> ::Time
|
182
|
+
def aligned_end_time: () -> ::Time
|
183
|
+
def identifier: () -> ::String
|
184
|
+
def metric_list: () -> ::Array[Types::MetricKeyDataPoints]
|
185
|
+
def next_token: () -> ::String
|
186
|
+
end
|
187
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PI/Client.html#get_resource_metrics-instance_method
|
188
|
+
def get_resource_metrics: (
|
189
|
+
service_type: ("RDS" | "DOCDB"),
|
190
|
+
identifier: ::String,
|
191
|
+
metric_queries: Array[
|
192
|
+
{
|
193
|
+
metric: ::String,
|
194
|
+
group_by: {
|
195
|
+
group: ::String,
|
196
|
+
dimensions: Array[::String]?,
|
197
|
+
limit: ::Integer?
|
198
|
+
}?,
|
199
|
+
filter: Hash[::String, ::String]?
|
200
|
+
},
|
201
|
+
],
|
202
|
+
start_time: ::Time,
|
203
|
+
end_time: ::Time,
|
204
|
+
?period_in_seconds: ::Integer,
|
205
|
+
?max_results: ::Integer,
|
206
|
+
?next_token: ::String,
|
207
|
+
?period_alignment: ("END_TIME" | "START_TIME")
|
208
|
+
) -> _GetResourceMetricsResponseSuccess
|
209
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetResourceMetricsResponseSuccess
|
210
|
+
|
211
|
+
interface _ListAvailableResourceDimensionsResponseSuccess
|
212
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListAvailableResourceDimensionsResponse]
|
213
|
+
def metric_dimensions: () -> ::Array[Types::MetricDimensionGroups]
|
214
|
+
def next_token: () -> ::String
|
215
|
+
end
|
216
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PI/Client.html#list_available_resource_dimensions-instance_method
|
217
|
+
def list_available_resource_dimensions: (
|
218
|
+
service_type: ("RDS" | "DOCDB"),
|
219
|
+
identifier: ::String,
|
220
|
+
metrics: Array[::String],
|
221
|
+
?max_results: ::Integer,
|
222
|
+
?next_token: ::String
|
223
|
+
) -> _ListAvailableResourceDimensionsResponseSuccess
|
224
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAvailableResourceDimensionsResponseSuccess
|
225
|
+
|
226
|
+
interface _ListAvailableResourceMetricsResponseSuccess
|
227
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListAvailableResourceMetricsResponse]
|
228
|
+
def metrics: () -> ::Array[Types::ResponseResourceMetric]
|
229
|
+
def next_token: () -> ::String
|
230
|
+
end
|
231
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PI/Client.html#list_available_resource_metrics-instance_method
|
232
|
+
def list_available_resource_metrics: (
|
233
|
+
service_type: ("RDS" | "DOCDB"),
|
234
|
+
identifier: ::String,
|
235
|
+
metric_types: Array[::String],
|
236
|
+
?next_token: ::String,
|
237
|
+
?max_results: ::Integer
|
238
|
+
) -> _ListAvailableResourceMetricsResponseSuccess
|
239
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAvailableResourceMetricsResponseSuccess
|
240
|
+
|
241
|
+
interface _ListPerformanceAnalysisReportsResponseSuccess
|
242
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListPerformanceAnalysisReportsResponse]
|
243
|
+
def analysis_reports: () -> ::Array[Types::AnalysisReportSummary]
|
244
|
+
def next_token: () -> ::String
|
245
|
+
end
|
246
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PI/Client.html#list_performance_analysis_reports-instance_method
|
247
|
+
def list_performance_analysis_reports: (
|
248
|
+
service_type: ("RDS" | "DOCDB"),
|
249
|
+
identifier: ::String,
|
250
|
+
?next_token: ::String,
|
251
|
+
?max_results: ::Integer,
|
252
|
+
?list_tags: bool
|
253
|
+
) -> _ListPerformanceAnalysisReportsResponseSuccess
|
254
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPerformanceAnalysisReportsResponseSuccess
|
255
|
+
|
256
|
+
interface _ListTagsForResourceResponseSuccess
|
257
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
|
258
|
+
def tags: () -> ::Array[Types::Tag]
|
259
|
+
end
|
260
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PI/Client.html#list_tags_for_resource-instance_method
|
261
|
+
def list_tags_for_resource: (
|
262
|
+
service_type: ("RDS" | "DOCDB"),
|
263
|
+
resource_arn: ::String
|
264
|
+
) -> _ListTagsForResourceResponseSuccess
|
265
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
266
|
+
|
267
|
+
interface _TagResourceResponseSuccess
|
268
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
|
269
|
+
end
|
270
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PI/Client.html#tag_resource-instance_method
|
271
|
+
def tag_resource: (
|
272
|
+
service_type: ("RDS" | "DOCDB"),
|
273
|
+
resource_arn: ::String,
|
274
|
+
tags: Array[
|
275
|
+
{
|
276
|
+
key: ::String,
|
277
|
+
value: ::String
|
278
|
+
},
|
279
|
+
]
|
280
|
+
) -> _TagResourceResponseSuccess
|
281
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
|
282
|
+
|
283
|
+
interface _UntagResourceResponseSuccess
|
284
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
|
285
|
+
end
|
286
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PI/Client.html#untag_resource-instance_method
|
287
|
+
def untag_resource: (
|
288
|
+
service_type: ("RDS" | "DOCDB"),
|
289
|
+
resource_arn: ::String,
|
290
|
+
tag_keys: Array[::String]
|
291
|
+
) -> _UntagResourceResponseSuccess
|
292
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
|
293
|
+
end
|
294
|
+
end
|
295
|
+
end
|
296
|
+
|
data/sig/errors.rbs
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module PI
|
10
|
+
module Errors
|
11
|
+
class ServiceError < ::Aws::Errors::ServiceError
|
12
|
+
end
|
13
|
+
|
14
|
+
class InternalServiceError < ::Aws::Errors::ServiceError
|
15
|
+
def message: () -> ::String
|
16
|
+
end
|
17
|
+
class InvalidArgumentException < ::Aws::Errors::ServiceError
|
18
|
+
def message: () -> ::String
|
19
|
+
end
|
20
|
+
class NotAuthorizedException < ::Aws::Errors::ServiceError
|
21
|
+
def message: () -> ::String
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
data/sig/resource.rbs
ADDED
@@ -0,0 +1,80 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module PI
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PI/Resource.html
|
11
|
+
class Resource
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PI/Resource.html#initialize-instance_method
|
13
|
+
def initialize: (
|
14
|
+
?client: Client,
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?active_endpoint_cache: bool,
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
20
|
+
?client_side_monitoring: bool,
|
21
|
+
?client_side_monitoring_client_id: String,
|
22
|
+
?client_side_monitoring_host: String,
|
23
|
+
?client_side_monitoring_port: Integer,
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
25
|
+
?convert_params: bool,
|
26
|
+
?correct_clock_skew: bool,
|
27
|
+
?defaults_mode: String,
|
28
|
+
?disable_host_prefix_injection: bool,
|
29
|
+
?disable_request_compression: bool,
|
30
|
+
?endpoint: String,
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
34
|
+
?endpoint_discovery: bool,
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
36
|
+
?log_formatter: untyped,
|
37
|
+
?log_level: Symbol,
|
38
|
+
?logger: untyped,
|
39
|
+
?max_attempts: Integer,
|
40
|
+
?profile: String,
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
42
|
+
?retry_backoff: Proc,
|
43
|
+
?retry_base_delay: Float,
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
45
|
+
?retry_limit: Integer,
|
46
|
+
?retry_max_delay: Integer,
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
48
|
+
?sdk_ua_app_id: String,
|
49
|
+
?secret_access_key: String,
|
50
|
+
?session_token: String,
|
51
|
+
?simple_json: bool,
|
52
|
+
?stub_responses: untyped,
|
53
|
+
?token_provider: untyped,
|
54
|
+
?use_dualstack_endpoint: bool,
|
55
|
+
?use_fips_endpoint: bool,
|
56
|
+
?validate_params: bool,
|
57
|
+
?endpoint_provider: untyped,
|
58
|
+
?http_proxy: String,
|
59
|
+
?http_open_timeout: (Float | Integer),
|
60
|
+
?http_read_timeout: (Float | Integer),
|
61
|
+
?http_idle_timeout: (Float | Integer),
|
62
|
+
?http_continue_timeout: (Float | Integer),
|
63
|
+
?ssl_timeout: (Float | Integer | nil),
|
64
|
+
?http_wire_trace: bool,
|
65
|
+
?ssl_verify_peer: bool,
|
66
|
+
?ssl_ca_bundle: String,
|
67
|
+
?ssl_ca_directory: String,
|
68
|
+
?ssl_ca_store: String,
|
69
|
+
?on_chunk_received: Proc,
|
70
|
+
?on_chunk_sent: Proc,
|
71
|
+
?raise_response_errors: bool
|
72
|
+
) -> void
|
73
|
+
| (?Hash[Symbol, untyped]) -> void
|
74
|
+
|
75
|
+
def client: () -> Client
|
76
|
+
|
77
|
+
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|
data/sig/types.rbs
ADDED
@@ -0,0 +1,356 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws::PI
|
9
|
+
module Types
|
10
|
+
|
11
|
+
class AnalysisReport
|
12
|
+
attr_accessor analysis_report_id: ::String
|
13
|
+
attr_accessor identifier: ::String
|
14
|
+
attr_accessor service_type: ("RDS" | "DOCDB")
|
15
|
+
attr_accessor create_time: ::Time
|
16
|
+
attr_accessor start_time: ::Time
|
17
|
+
attr_accessor end_time: ::Time
|
18
|
+
attr_accessor status: ("RUNNING" | "SUCCEEDED" | "FAILED")
|
19
|
+
attr_accessor insights: ::Array[Types::Insight]
|
20
|
+
SENSITIVE: []
|
21
|
+
end
|
22
|
+
|
23
|
+
class AnalysisReportSummary
|
24
|
+
attr_accessor analysis_report_id: ::String
|
25
|
+
attr_accessor create_time: ::Time
|
26
|
+
attr_accessor start_time: ::Time
|
27
|
+
attr_accessor end_time: ::Time
|
28
|
+
attr_accessor status: ("RUNNING" | "SUCCEEDED" | "FAILED")
|
29
|
+
attr_accessor tags: ::Array[Types::Tag]
|
30
|
+
SENSITIVE: []
|
31
|
+
end
|
32
|
+
|
33
|
+
class CreatePerformanceAnalysisReportRequest
|
34
|
+
attr_accessor service_type: ("RDS" | "DOCDB")
|
35
|
+
attr_accessor identifier: ::String
|
36
|
+
attr_accessor start_time: ::Time
|
37
|
+
attr_accessor end_time: ::Time
|
38
|
+
attr_accessor tags: ::Array[Types::Tag]
|
39
|
+
SENSITIVE: []
|
40
|
+
end
|
41
|
+
|
42
|
+
class CreatePerformanceAnalysisReportResponse
|
43
|
+
attr_accessor analysis_report_id: ::String
|
44
|
+
SENSITIVE: []
|
45
|
+
end
|
46
|
+
|
47
|
+
class Data
|
48
|
+
attr_accessor performance_insights_metric: Types::PerformanceInsightsMetric
|
49
|
+
SENSITIVE: []
|
50
|
+
end
|
51
|
+
|
52
|
+
class DataPoint
|
53
|
+
attr_accessor timestamp: ::Time
|
54
|
+
attr_accessor value: ::Float
|
55
|
+
SENSITIVE: []
|
56
|
+
end
|
57
|
+
|
58
|
+
class DeletePerformanceAnalysisReportRequest
|
59
|
+
attr_accessor service_type: ("RDS" | "DOCDB")
|
60
|
+
attr_accessor identifier: ::String
|
61
|
+
attr_accessor analysis_report_id: ::String
|
62
|
+
SENSITIVE: []
|
63
|
+
end
|
64
|
+
|
65
|
+
class DeletePerformanceAnalysisReportResponse < Aws::EmptyStructure
|
66
|
+
end
|
67
|
+
|
68
|
+
class DescribeDimensionKeysRequest
|
69
|
+
attr_accessor service_type: ("RDS" | "DOCDB")
|
70
|
+
attr_accessor identifier: ::String
|
71
|
+
attr_accessor start_time: ::Time
|
72
|
+
attr_accessor end_time: ::Time
|
73
|
+
attr_accessor metric: ::String
|
74
|
+
attr_accessor period_in_seconds: ::Integer
|
75
|
+
attr_accessor group_by: Types::DimensionGroup
|
76
|
+
attr_accessor additional_metrics: ::Array[::String]
|
77
|
+
attr_accessor partition_by: Types::DimensionGroup
|
78
|
+
attr_accessor filter: ::Hash[::String, ::String]
|
79
|
+
attr_accessor max_results: ::Integer
|
80
|
+
attr_accessor next_token: ::String
|
81
|
+
SENSITIVE: []
|
82
|
+
end
|
83
|
+
|
84
|
+
class DescribeDimensionKeysResponse
|
85
|
+
attr_accessor aligned_start_time: ::Time
|
86
|
+
attr_accessor aligned_end_time: ::Time
|
87
|
+
attr_accessor partition_keys: ::Array[Types::ResponsePartitionKey]
|
88
|
+
attr_accessor keys: ::Array[Types::DimensionKeyDescription]
|
89
|
+
attr_accessor next_token: ::String
|
90
|
+
SENSITIVE: []
|
91
|
+
end
|
92
|
+
|
93
|
+
class DimensionDetail
|
94
|
+
attr_accessor identifier: ::String
|
95
|
+
SENSITIVE: []
|
96
|
+
end
|
97
|
+
|
98
|
+
class DimensionGroup
|
99
|
+
attr_accessor group: ::String
|
100
|
+
attr_accessor dimensions: ::Array[::String]
|
101
|
+
attr_accessor limit: ::Integer
|
102
|
+
SENSITIVE: []
|
103
|
+
end
|
104
|
+
|
105
|
+
class DimensionGroupDetail
|
106
|
+
attr_accessor group: ::String
|
107
|
+
attr_accessor dimensions: ::Array[Types::DimensionDetail]
|
108
|
+
SENSITIVE: []
|
109
|
+
end
|
110
|
+
|
111
|
+
class DimensionKeyDescription
|
112
|
+
attr_accessor dimensions: ::Hash[::String, ::String]
|
113
|
+
attr_accessor total: ::Float
|
114
|
+
attr_accessor additional_metrics: ::Hash[::String, ::Float]
|
115
|
+
attr_accessor partitions: ::Array[::Float]
|
116
|
+
SENSITIVE: []
|
117
|
+
end
|
118
|
+
|
119
|
+
class DimensionKeyDetail
|
120
|
+
attr_accessor value: ::String
|
121
|
+
attr_accessor dimension: ::String
|
122
|
+
attr_accessor status: ("AVAILABLE" | "PROCESSING" | "UNAVAILABLE")
|
123
|
+
SENSITIVE: []
|
124
|
+
end
|
125
|
+
|
126
|
+
class FeatureMetadata
|
127
|
+
attr_accessor status: ("ENABLED" | "DISABLED" | "UNSUPPORTED" | "ENABLED_PENDING_REBOOT" | "DISABLED_PENDING_REBOOT" | "UNKNOWN")
|
128
|
+
SENSITIVE: []
|
129
|
+
end
|
130
|
+
|
131
|
+
class GetDimensionKeyDetailsRequest
|
132
|
+
attr_accessor service_type: ("RDS" | "DOCDB")
|
133
|
+
attr_accessor identifier: ::String
|
134
|
+
attr_accessor group: ::String
|
135
|
+
attr_accessor group_identifier: ::String
|
136
|
+
attr_accessor requested_dimensions: ::Array[::String]
|
137
|
+
SENSITIVE: []
|
138
|
+
end
|
139
|
+
|
140
|
+
class GetDimensionKeyDetailsResponse
|
141
|
+
attr_accessor dimensions: ::Array[Types::DimensionKeyDetail]
|
142
|
+
SENSITIVE: []
|
143
|
+
end
|
144
|
+
|
145
|
+
class GetPerformanceAnalysisReportRequest
|
146
|
+
attr_accessor service_type: ("RDS" | "DOCDB")
|
147
|
+
attr_accessor identifier: ::String
|
148
|
+
attr_accessor analysis_report_id: ::String
|
149
|
+
attr_accessor text_format: ("PLAIN_TEXT" | "MARKDOWN")
|
150
|
+
attr_accessor accept_language: ("EN_US")
|
151
|
+
SENSITIVE: []
|
152
|
+
end
|
153
|
+
|
154
|
+
class GetPerformanceAnalysisReportResponse
|
155
|
+
attr_accessor analysis_report: Types::AnalysisReport
|
156
|
+
SENSITIVE: []
|
157
|
+
end
|
158
|
+
|
159
|
+
class GetResourceMetadataRequest
|
160
|
+
attr_accessor service_type: ("RDS" | "DOCDB")
|
161
|
+
attr_accessor identifier: ::String
|
162
|
+
SENSITIVE: []
|
163
|
+
end
|
164
|
+
|
165
|
+
class GetResourceMetadataResponse
|
166
|
+
attr_accessor identifier: ::String
|
167
|
+
attr_accessor features: ::Hash[::String, Types::FeatureMetadata]
|
168
|
+
SENSITIVE: []
|
169
|
+
end
|
170
|
+
|
171
|
+
class GetResourceMetricsRequest
|
172
|
+
attr_accessor service_type: ("RDS" | "DOCDB")
|
173
|
+
attr_accessor identifier: ::String
|
174
|
+
attr_accessor metric_queries: ::Array[Types::MetricQuery]
|
175
|
+
attr_accessor start_time: ::Time
|
176
|
+
attr_accessor end_time: ::Time
|
177
|
+
attr_accessor period_in_seconds: ::Integer
|
178
|
+
attr_accessor max_results: ::Integer
|
179
|
+
attr_accessor next_token: ::String
|
180
|
+
attr_accessor period_alignment: ("END_TIME" | "START_TIME")
|
181
|
+
SENSITIVE: []
|
182
|
+
end
|
183
|
+
|
184
|
+
class GetResourceMetricsResponse
|
185
|
+
attr_accessor aligned_start_time: ::Time
|
186
|
+
attr_accessor aligned_end_time: ::Time
|
187
|
+
attr_accessor identifier: ::String
|
188
|
+
attr_accessor metric_list: ::Array[Types::MetricKeyDataPoints]
|
189
|
+
attr_accessor next_token: ::String
|
190
|
+
SENSITIVE: []
|
191
|
+
end
|
192
|
+
|
193
|
+
class Insight
|
194
|
+
attr_accessor insight_id: ::String
|
195
|
+
attr_accessor insight_type: ::String
|
196
|
+
attr_accessor context: ("CAUSAL" | "CONTEXTUAL")
|
197
|
+
attr_accessor start_time: ::Time
|
198
|
+
attr_accessor end_time: ::Time
|
199
|
+
attr_accessor severity: ("LOW" | "MEDIUM" | "HIGH")
|
200
|
+
attr_accessor supporting_insights: ::Array[Types::Insight]
|
201
|
+
attr_accessor description: ::String
|
202
|
+
attr_accessor recommendations: ::Array[Types::Recommendation]
|
203
|
+
attr_accessor insight_data: ::Array[Types::Data]
|
204
|
+
attr_accessor baseline_data: ::Array[Types::Data]
|
205
|
+
SENSITIVE: [:description]
|
206
|
+
end
|
207
|
+
|
208
|
+
class InternalServiceError
|
209
|
+
attr_accessor message: ::String
|
210
|
+
SENSITIVE: []
|
211
|
+
end
|
212
|
+
|
213
|
+
class InvalidArgumentException
|
214
|
+
attr_accessor message: ::String
|
215
|
+
SENSITIVE: []
|
216
|
+
end
|
217
|
+
|
218
|
+
class ListAvailableResourceDimensionsRequest
|
219
|
+
attr_accessor service_type: ("RDS" | "DOCDB")
|
220
|
+
attr_accessor identifier: ::String
|
221
|
+
attr_accessor metrics: ::Array[::String]
|
222
|
+
attr_accessor max_results: ::Integer
|
223
|
+
attr_accessor next_token: ::String
|
224
|
+
SENSITIVE: []
|
225
|
+
end
|
226
|
+
|
227
|
+
class ListAvailableResourceDimensionsResponse
|
228
|
+
attr_accessor metric_dimensions: ::Array[Types::MetricDimensionGroups]
|
229
|
+
attr_accessor next_token: ::String
|
230
|
+
SENSITIVE: []
|
231
|
+
end
|
232
|
+
|
233
|
+
class ListAvailableResourceMetricsRequest
|
234
|
+
attr_accessor service_type: ("RDS" | "DOCDB")
|
235
|
+
attr_accessor identifier: ::String
|
236
|
+
attr_accessor metric_types: ::Array[::String]
|
237
|
+
attr_accessor next_token: ::String
|
238
|
+
attr_accessor max_results: ::Integer
|
239
|
+
SENSITIVE: []
|
240
|
+
end
|
241
|
+
|
242
|
+
class ListAvailableResourceMetricsResponse
|
243
|
+
attr_accessor metrics: ::Array[Types::ResponseResourceMetric]
|
244
|
+
attr_accessor next_token: ::String
|
245
|
+
SENSITIVE: []
|
246
|
+
end
|
247
|
+
|
248
|
+
class ListPerformanceAnalysisReportsRequest
|
249
|
+
attr_accessor service_type: ("RDS" | "DOCDB")
|
250
|
+
attr_accessor identifier: ::String
|
251
|
+
attr_accessor next_token: ::String
|
252
|
+
attr_accessor max_results: ::Integer
|
253
|
+
attr_accessor list_tags: bool
|
254
|
+
SENSITIVE: []
|
255
|
+
end
|
256
|
+
|
257
|
+
class ListPerformanceAnalysisReportsResponse
|
258
|
+
attr_accessor analysis_reports: ::Array[Types::AnalysisReportSummary]
|
259
|
+
attr_accessor next_token: ::String
|
260
|
+
SENSITIVE: []
|
261
|
+
end
|
262
|
+
|
263
|
+
class ListTagsForResourceRequest
|
264
|
+
attr_accessor service_type: ("RDS" | "DOCDB")
|
265
|
+
attr_accessor resource_arn: ::String
|
266
|
+
SENSITIVE: []
|
267
|
+
end
|
268
|
+
|
269
|
+
class ListTagsForResourceResponse
|
270
|
+
attr_accessor tags: ::Array[Types::Tag]
|
271
|
+
SENSITIVE: []
|
272
|
+
end
|
273
|
+
|
274
|
+
class MetricDimensionGroups
|
275
|
+
attr_accessor metric: ::String
|
276
|
+
attr_accessor groups: ::Array[Types::DimensionGroupDetail]
|
277
|
+
SENSITIVE: []
|
278
|
+
end
|
279
|
+
|
280
|
+
class MetricKeyDataPoints
|
281
|
+
attr_accessor key: Types::ResponseResourceMetricKey
|
282
|
+
attr_accessor data_points: ::Array[Types::DataPoint]
|
283
|
+
SENSITIVE: []
|
284
|
+
end
|
285
|
+
|
286
|
+
class MetricQuery
|
287
|
+
attr_accessor metric: ::String
|
288
|
+
attr_accessor group_by: Types::DimensionGroup
|
289
|
+
attr_accessor filter: ::Hash[::String, ::String]
|
290
|
+
SENSITIVE: []
|
291
|
+
end
|
292
|
+
|
293
|
+
class NotAuthorizedException
|
294
|
+
attr_accessor message: ::String
|
295
|
+
SENSITIVE: []
|
296
|
+
end
|
297
|
+
|
298
|
+
class PerformanceInsightsMetric
|
299
|
+
attr_accessor metric: ::String
|
300
|
+
attr_accessor display_name: ::String
|
301
|
+
attr_accessor dimensions: ::Hash[::String, ::String]
|
302
|
+
attr_accessor value: ::Float
|
303
|
+
SENSITIVE: []
|
304
|
+
end
|
305
|
+
|
306
|
+
class Recommendation
|
307
|
+
attr_accessor recommendation_id: ::String
|
308
|
+
attr_accessor recommendation_description: ::String
|
309
|
+
SENSITIVE: [:recommendation_description]
|
310
|
+
end
|
311
|
+
|
312
|
+
class ResponsePartitionKey
|
313
|
+
attr_accessor dimensions: ::Hash[::String, ::String]
|
314
|
+
SENSITIVE: []
|
315
|
+
end
|
316
|
+
|
317
|
+
class ResponseResourceMetric
|
318
|
+
attr_accessor metric: ::String
|
319
|
+
attr_accessor description: ::String
|
320
|
+
attr_accessor unit: ::String
|
321
|
+
SENSITIVE: []
|
322
|
+
end
|
323
|
+
|
324
|
+
class ResponseResourceMetricKey
|
325
|
+
attr_accessor metric: ::String
|
326
|
+
attr_accessor dimensions: ::Hash[::String, ::String]
|
327
|
+
SENSITIVE: []
|
328
|
+
end
|
329
|
+
|
330
|
+
class Tag
|
331
|
+
attr_accessor key: ::String
|
332
|
+
attr_accessor value: ::String
|
333
|
+
SENSITIVE: []
|
334
|
+
end
|
335
|
+
|
336
|
+
class TagResourceRequest
|
337
|
+
attr_accessor service_type: ("RDS" | "DOCDB")
|
338
|
+
attr_accessor resource_arn: ::String
|
339
|
+
attr_accessor tags: ::Array[Types::Tag]
|
340
|
+
SENSITIVE: []
|
341
|
+
end
|
342
|
+
|
343
|
+
class TagResourceResponse < Aws::EmptyStructure
|
344
|
+
end
|
345
|
+
|
346
|
+
class UntagResourceRequest
|
347
|
+
attr_accessor service_type: ("RDS" | "DOCDB")
|
348
|
+
attr_accessor resource_arn: ::String
|
349
|
+
attr_accessor tag_keys: ::Array[::String]
|
350
|
+
SENSITIVE: []
|
351
|
+
end
|
352
|
+
|
353
|
+
class UntagResourceResponse < Aws::EmptyStructure
|
354
|
+
end
|
355
|
+
end
|
356
|
+
end
|
data/sig/waiters.rbs
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module PI
|
10
|
+
module Waiters
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-pi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.54.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-04-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.191.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.191.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -66,13 +66,18 @@ files:
|
|
66
66
|
- lib/aws-sdk-pi/plugins/endpoints.rb
|
67
67
|
- lib/aws-sdk-pi/resource.rb
|
68
68
|
- lib/aws-sdk-pi/types.rb
|
69
|
+
- sig/client.rbs
|
70
|
+
- sig/errors.rbs
|
71
|
+
- sig/resource.rbs
|
72
|
+
- sig/types.rbs
|
73
|
+
- sig/waiters.rbs
|
69
74
|
homepage: https://github.com/aws/aws-sdk-ruby
|
70
75
|
licenses:
|
71
76
|
- Apache-2.0
|
72
77
|
metadata:
|
73
78
|
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-pi
|
74
79
|
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-pi/CHANGELOG.md
|
75
|
-
post_install_message:
|
80
|
+
post_install_message:
|
76
81
|
rdoc_options: []
|
77
82
|
require_paths:
|
78
83
|
- lib
|
@@ -87,8 +92,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
87
92
|
- !ruby/object:Gem::Version
|
88
93
|
version: '0'
|
89
94
|
requirements: []
|
90
|
-
rubygems_version: 3.
|
91
|
-
signing_key:
|
95
|
+
rubygems_version: 3.4.10
|
96
|
+
signing_key:
|
92
97
|
specification_version: 4
|
93
98
|
summary: AWS SDK for Ruby - AWS PI
|
94
99
|
test_files: []
|