aws-sdk-pi 1.51.0 → 1.53.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c267a7993b77372436f59ee23edba560f65c8bd14be4698d3128802f911d7b61
4
- data.tar.gz: 7e1aa5ca5cc1d93a5a37fc4fc6ace959d49e8956263b67a4bfb1617d057f78a1
3
+ metadata.gz: fae9c2d48c20da534600534a7a138f3b2f270c70c9501a6eff3d5d20b5d491f0
4
+ data.tar.gz: 01b4afb8c502d5fbac5467745fb7849160207ca83d50ea7c949a73fa827a80f6
5
5
  SHA512:
6
- metadata.gz: ed1a082cbc2a1cbc14c7266f3d71efc293214abcc4cedd3c31f04567274f1f08d1635bb24745ad15b352cc0b7009861ba4d0e7ecdb6ac4ef042944e22dc70b63
7
- data.tar.gz: 5dd1c5651040a1668822d845c84470fcc7a2398f4878d7a7be2ff19f9f854a3781467022a45bcb7ba5bae02b01cba158998ef5b98f9b2a003fbeba040fdd30be
6
+ metadata.gz: 65ae74bdc784080342f8eab844ce9360e4143d387249aa4a42020333923afd0e6fca372be483e2a172c4d76e07a4eb58a31d676851db3e1a604481e474deac80
7
+ data.tar.gz: 511430b87c0ae4e776dee35bd9003cf677ad98d212572ffe082f0532454c5d10291211eaecf1f5eac130b46ae6a780bc2e97e7a7c655adf703d7d8772bdc1ead
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.53.0 (2024-01-26)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.52.0 (2023-11-28)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.51.0 (2023-11-22)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.51.0
1
+ 1.53.0
@@ -1372,7 +1372,7 @@ module Aws::PI
1372
1372
  params: params,
1373
1373
  config: config)
1374
1374
  context[:gem_name] = 'aws-sdk-pi'
1375
- context[:gem_version] = '1.51.0'
1375
+ context[:gem_version] = '1.53.0'
1376
1376
  Seahorse::Client::Request.new(handlers, context)
1377
1377
  end
1378
1378
 
@@ -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 '\
@@ -25,16 +26,17 @@ module Aws::PI
25
26
  # @api private
26
27
  class Handler < Seahorse::Client::Handler
27
28
  def call(context)
28
- # If endpoint was discovered, do not resolve or apply the endpoint.
29
29
  unless context[:discovered_endpoint]
30
30
  params = parameters_for_operation(context)
31
31
  endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
32
 
33
33
  context.http_request.endpoint = endpoint.url
34
34
  apply_endpoint_headers(context, endpoint.headers)
35
+
36
+ context[:endpoint_params] = params
37
+ context[:endpoint_properties] = endpoint.properties
35
38
  end
36
39
 
37
- context[:endpoint_params] = params
38
40
  context[:auth_scheme] =
39
41
  Aws::Endpoints.resolve_auth_scheme(context, endpoint)
40
42
 
data/lib/aws-sdk-pi.rb CHANGED
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-pi/customizations'
52
52
  # @!group service
53
53
  module Aws::PI
54
54
 
55
- GEM_VERSION = '1.51.0'
55
+ GEM_VERSION = '1.53.0'
56
56
 
57
57
  end
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.51.0
4
+ version: 1.53.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: 2023-11-22 00:00:00.000000000 Z
11
+ date: 2024-01-26 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.188.0
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.188.0
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.1.6
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: []