aws-sdk-pi 1.56.0 → 1.58.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 +25 -14
- data/lib/aws-sdk-pi/client_api.rb +18 -11
- data/lib/aws-sdk-pi/types.rb +13 -1
- data/lib/aws-sdk-pi.rb +1 -1
- data/sig/client.rbs +2 -1
- data/sig/types.rbs +1 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 36d996e0a8e11c75d3b1867d039f8eba10e41a02f95623ce267502ec47d9327d
|
4
|
+
data.tar.gz: ec6ef169f696f34eb02e8a7c16ac215b266c6354bd2472e7b46881fd4c03add5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95a36c1875c7c134de92c723d49165e69567872940902b340b8f9e3268242745d28b230dafe8455af2e66b7c5c1bbe59d4a76192e2b8d58fca9620ab18a8fd39
|
7
|
+
data.tar.gz: ff64c106988b6eb0e748eceb5eafb7fe342b1def9fea54e4b8d427dbc7e000ddeee32285b1694006c39fd7203a4ae17c18f7e132c08120230a562254b4aeff85
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.58.0 (2024-06-05)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.57.0 (2024-05-21)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Performance Insights added a new input parameter called AuthorizedActions to support the fine-grained access feature. Performance Insights also restricted the acceptable input characters.
|
13
|
+
|
4
14
|
1.56.0 (2024-05-13)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.58.0
|
data/lib/aws-sdk-pi/client.rb
CHANGED
@@ -655,18 +655,18 @@ module Aws::PI
|
|
655
655
|
# metric: "RequestString", # required
|
656
656
|
# period_in_seconds: 1,
|
657
657
|
# group_by: { # required
|
658
|
-
# group: "
|
659
|
-
# dimensions: ["
|
658
|
+
# group: "SanitizedString", # required
|
659
|
+
# dimensions: ["SanitizedString"],
|
660
660
|
# limit: 1,
|
661
661
|
# },
|
662
|
-
# additional_metrics: ["
|
662
|
+
# additional_metrics: ["SanitizedString"],
|
663
663
|
# partition_by: {
|
664
|
-
# group: "
|
665
|
-
# dimensions: ["
|
664
|
+
# group: "SanitizedString", # required
|
665
|
+
# dimensions: ["SanitizedString"],
|
666
666
|
# limit: 1,
|
667
667
|
# },
|
668
668
|
# filter: {
|
669
|
-
# "
|
669
|
+
# "SanitizedString" => "RequestString",
|
670
670
|
# },
|
671
671
|
# max_results: 1,
|
672
672
|
# next_token: "NextToken",
|
@@ -757,7 +757,7 @@ module Aws::PI
|
|
757
757
|
# identifier: "IdentifierString", # required
|
758
758
|
# group: "RequestString", # required
|
759
759
|
# group_identifier: "RequestString", # required
|
760
|
-
# requested_dimensions: ["
|
760
|
+
# requested_dimensions: ["SanitizedString"],
|
761
761
|
# })
|
762
762
|
#
|
763
763
|
# @example Response structure
|
@@ -1012,14 +1012,14 @@ module Aws::PI
|
|
1012
1012
|
# identifier: "IdentifierString", # required
|
1013
1013
|
# metric_queries: [ # required
|
1014
1014
|
# {
|
1015
|
-
# metric: "
|
1015
|
+
# metric: "SanitizedString", # required
|
1016
1016
|
# group_by: {
|
1017
|
-
# group: "
|
1018
|
-
# dimensions: ["
|
1017
|
+
# group: "SanitizedString", # required
|
1018
|
+
# dimensions: ["SanitizedString"],
|
1019
1019
|
# limit: 1,
|
1020
1020
|
# },
|
1021
1021
|
# filter: {
|
1022
|
-
# "
|
1022
|
+
# "SanitizedString" => "RequestString",
|
1023
1023
|
# },
|
1024
1024
|
# },
|
1025
1025
|
# ],
|
@@ -1083,6 +1083,16 @@ module Aws::PI
|
|
1083
1083
|
# parameter is specified, the response includes only records beyond the
|
1084
1084
|
# token, up to the value specified by `MaxRecords`.
|
1085
1085
|
#
|
1086
|
+
# @option params [Array<String>] :authorized_actions
|
1087
|
+
# The actions to discover the dimensions you are authorized to access.
|
1088
|
+
# If you specify multiple actions, then the response will contain the
|
1089
|
+
# dimensions common for all the actions.
|
1090
|
+
#
|
1091
|
+
# When you don't specify this request parameter or provide an empty
|
1092
|
+
# list, the response contains all the available dimensions for the
|
1093
|
+
# target database engine whether or not you are authorized to access
|
1094
|
+
# them.
|
1095
|
+
#
|
1086
1096
|
# @return [Types::ListAvailableResourceDimensionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1087
1097
|
#
|
1088
1098
|
# * {Types::ListAvailableResourceDimensionsResponse#metric_dimensions #metric_dimensions} => Array<Types::MetricDimensionGroups>
|
@@ -1095,9 +1105,10 @@ module Aws::PI
|
|
1095
1105
|
# resp = client.list_available_resource_dimensions({
|
1096
1106
|
# service_type: "RDS", # required, accepts RDS, DOCDB
|
1097
1107
|
# identifier: "IdentifierString", # required
|
1098
|
-
# metrics: ["
|
1108
|
+
# metrics: ["SanitizedString"], # required
|
1099
1109
|
# max_results: 1,
|
1100
1110
|
# next_token: "NextToken",
|
1111
|
+
# authorized_actions: ["DescribeDimensionKeys"], # accepts DescribeDimensionKeys, GetDimensionKeyDetails, GetResourceMetrics
|
1101
1112
|
# })
|
1102
1113
|
#
|
1103
1114
|
# @example Response structure
|
@@ -1169,7 +1180,7 @@ module Aws::PI
|
|
1169
1180
|
# resp = client.list_available_resource_metrics({
|
1170
1181
|
# service_type: "RDS", # required, accepts RDS, DOCDB
|
1171
1182
|
# identifier: "IdentifierString", # required
|
1172
|
-
# metric_types: ["
|
1183
|
+
# metric_types: ["SanitizedString"], # required
|
1173
1184
|
# next_token: "NextToken",
|
1174
1185
|
# max_results: 1,
|
1175
1186
|
# })
|
@@ -1401,7 +1412,7 @@ module Aws::PI
|
|
1401
1412
|
params: params,
|
1402
1413
|
config: config)
|
1403
1414
|
context[:gem_name] = 'aws-sdk-pi'
|
1404
|
-
context[:gem_version] = '1.
|
1415
|
+
context[:gem_version] = '1.58.0'
|
1405
1416
|
Seahorse::Client::Request.new(handlers, context)
|
1406
1417
|
end
|
1407
1418
|
|
@@ -22,6 +22,7 @@ module Aws::PI
|
|
22
22
|
AnalysisReportSummary = Shapes::StructureShape.new(name: 'AnalysisReportSummary')
|
23
23
|
AnalysisReportSummaryList = Shapes::ListShape.new(name: 'AnalysisReportSummaryList')
|
24
24
|
AnalysisStatus = Shapes::StringShape.new(name: 'AnalysisStatus')
|
25
|
+
AuthorizedActionsList = Shapes::ListShape.new(name: 'AuthorizedActionsList')
|
25
26
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
26
27
|
ContextType = Shapes::StringShape.new(name: 'ContextType')
|
27
28
|
CreatePerformanceAnalysisReportRequest = Shapes::StructureShape.new(name: 'CreatePerformanceAnalysisReportRequest')
|
@@ -54,6 +55,7 @@ module Aws::PI
|
|
54
55
|
FeatureMetadata = Shapes::StructureShape.new(name: 'FeatureMetadata')
|
55
56
|
FeatureMetadataMap = Shapes::MapShape.new(name: 'FeatureMetadataMap')
|
56
57
|
FeatureStatus = Shapes::StringShape.new(name: 'FeatureStatus')
|
58
|
+
FineGrainedAction = Shapes::StringShape.new(name: 'FineGrainedAction')
|
57
59
|
GetDimensionKeyDetailsRequest = Shapes::StructureShape.new(name: 'GetDimensionKeyDetailsRequest')
|
58
60
|
GetDimensionKeyDetailsResponse = Shapes::StructureShape.new(name: 'GetDimensionKeyDetailsResponse')
|
59
61
|
GetPerformanceAnalysisReportRequest = Shapes::StructureShape.new(name: 'GetPerformanceAnalysisReportRequest')
|
@@ -96,13 +98,14 @@ module Aws::PI
|
|
96
98
|
Recommendation = Shapes::StructureShape.new(name: 'Recommendation')
|
97
99
|
RecommendationList = Shapes::ListShape.new(name: 'RecommendationList')
|
98
100
|
RequestString = Shapes::StringShape.new(name: 'RequestString')
|
99
|
-
RequestStringList = Shapes::ListShape.new(name: 'RequestStringList')
|
100
101
|
RequestedDimensionList = Shapes::ListShape.new(name: 'RequestedDimensionList')
|
101
102
|
ResponsePartitionKey = Shapes::StructureShape.new(name: 'ResponsePartitionKey')
|
102
103
|
ResponsePartitionKeyList = Shapes::ListShape.new(name: 'ResponsePartitionKeyList')
|
103
104
|
ResponseResourceMetric = Shapes::StructureShape.new(name: 'ResponseResourceMetric')
|
104
105
|
ResponseResourceMetricKey = Shapes::StructureShape.new(name: 'ResponseResourceMetricKey')
|
105
106
|
ResponseResourceMetricList = Shapes::ListShape.new(name: 'ResponseResourceMetricList')
|
107
|
+
SanitizedString = Shapes::StringShape.new(name: 'SanitizedString')
|
108
|
+
SanitizedStringList = Shapes::ListShape.new(name: 'SanitizedStringList')
|
106
109
|
ServiceType = Shapes::StringShape.new(name: 'ServiceType')
|
107
110
|
Severity = Shapes::StringShape.new(name: 'Severity')
|
108
111
|
String = Shapes::StringShape.new(name: 'String')
|
@@ -117,7 +120,7 @@ module Aws::PI
|
|
117
120
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
118
121
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
119
122
|
|
120
|
-
AdditionalMetricsList.member = Shapes::ShapeRef.new(shape:
|
123
|
+
AdditionalMetricsList.member = Shapes::ShapeRef.new(shape: SanitizedString)
|
121
124
|
|
122
125
|
AdditionalMetricsMap.key = Shapes::ShapeRef.new(shape: RequestString)
|
123
126
|
AdditionalMetricsMap.value = Shapes::ShapeRef.new(shape: Double)
|
@@ -142,6 +145,8 @@ module Aws::PI
|
|
142
145
|
|
143
146
|
AnalysisReportSummaryList.member = Shapes::ShapeRef.new(shape: AnalysisReportSummary)
|
144
147
|
|
148
|
+
AuthorizedActionsList.member = Shapes::ShapeRef.new(shape: FineGrainedAction)
|
149
|
+
|
145
150
|
CreatePerformanceAnalysisReportRequest.add_member(:service_type, Shapes::ShapeRef.new(shape: ServiceType, required: true, location_name: "ServiceType"))
|
146
151
|
CreatePerformanceAnalysisReportRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: IdentifierString, required: true, location_name: "Identifier"))
|
147
152
|
CreatePerformanceAnalysisReportRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: ISOTimestamp, required: true, location_name: "StartTime"))
|
@@ -199,8 +204,8 @@ module Aws::PI
|
|
199
204
|
|
200
205
|
DimensionDetailList.member = Shapes::ShapeRef.new(shape: DimensionDetail)
|
201
206
|
|
202
|
-
DimensionGroup.add_member(:group, Shapes::ShapeRef.new(shape:
|
203
|
-
DimensionGroup.add_member(:dimensions, Shapes::ShapeRef.new(shape:
|
207
|
+
DimensionGroup.add_member(:group, Shapes::ShapeRef.new(shape: SanitizedString, required: true, location_name: "Group"))
|
208
|
+
DimensionGroup.add_member(:dimensions, Shapes::ShapeRef.new(shape: SanitizedStringList, location_name: "Dimensions"))
|
204
209
|
DimensionGroup.add_member(:limit, Shapes::ShapeRef.new(shape: Limit, location_name: "Limit"))
|
205
210
|
DimensionGroup.struct_class = Types::DimensionGroup
|
206
211
|
|
@@ -228,7 +233,7 @@ module Aws::PI
|
|
228
233
|
DimensionMap.key = Shapes::ShapeRef.new(shape: RequestString)
|
229
234
|
DimensionMap.value = Shapes::ShapeRef.new(shape: RequestString)
|
230
235
|
|
231
|
-
DimensionsMetricList.member = Shapes::ShapeRef.new(shape:
|
236
|
+
DimensionsMetricList.member = Shapes::ShapeRef.new(shape: SanitizedString)
|
232
237
|
|
233
238
|
FeatureMetadata.add_member(:status, Shapes::ShapeRef.new(shape: FeatureStatus, location_name: "Status"))
|
234
239
|
FeatureMetadata.struct_class = Types::FeatureMetadata
|
@@ -308,6 +313,7 @@ module Aws::PI
|
|
308
313
|
ListAvailableResourceDimensionsRequest.add_member(:metrics, Shapes::ShapeRef.new(shape: DimensionsMetricList, required: true, location_name: "Metrics"))
|
309
314
|
ListAvailableResourceDimensionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
310
315
|
ListAvailableResourceDimensionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
316
|
+
ListAvailableResourceDimensionsRequest.add_member(:authorized_actions, Shapes::ShapeRef.new(shape: AuthorizedActionsList, location_name: "AuthorizedActions"))
|
311
317
|
ListAvailableResourceDimensionsRequest.struct_class = Types::ListAvailableResourceDimensionsRequest
|
312
318
|
|
313
319
|
ListAvailableResourceDimensionsResponse.add_member(:metric_dimensions, Shapes::ShapeRef.new(shape: MetricDimensionsList, location_name: "MetricDimensions"))
|
@@ -355,17 +361,17 @@ module Aws::PI
|
|
355
361
|
|
356
362
|
MetricKeyDataPointsList.member = Shapes::ShapeRef.new(shape: MetricKeyDataPoints)
|
357
363
|
|
358
|
-
MetricQuery.add_member(:metric, Shapes::ShapeRef.new(shape:
|
364
|
+
MetricQuery.add_member(:metric, Shapes::ShapeRef.new(shape: SanitizedString, required: true, location_name: "Metric"))
|
359
365
|
MetricQuery.add_member(:group_by, Shapes::ShapeRef.new(shape: DimensionGroup, location_name: "GroupBy"))
|
360
366
|
MetricQuery.add_member(:filter, Shapes::ShapeRef.new(shape: MetricQueryFilterMap, location_name: "Filter"))
|
361
367
|
MetricQuery.struct_class = Types::MetricQuery
|
362
368
|
|
363
|
-
MetricQueryFilterMap.key = Shapes::ShapeRef.new(shape:
|
369
|
+
MetricQueryFilterMap.key = Shapes::ShapeRef.new(shape: SanitizedString)
|
364
370
|
MetricQueryFilterMap.value = Shapes::ShapeRef.new(shape: RequestString)
|
365
371
|
|
366
372
|
MetricQueryList.member = Shapes::ShapeRef.new(shape: MetricQuery)
|
367
373
|
|
368
|
-
MetricTypeList.member = Shapes::ShapeRef.new(shape:
|
374
|
+
MetricTypeList.member = Shapes::ShapeRef.new(shape: SanitizedString)
|
369
375
|
|
370
376
|
MetricValuesList.member = Shapes::ShapeRef.new(shape: Double)
|
371
377
|
|
@@ -384,9 +390,7 @@ module Aws::PI
|
|
384
390
|
|
385
391
|
RecommendationList.member = Shapes::ShapeRef.new(shape: Recommendation)
|
386
392
|
|
387
|
-
|
388
|
-
|
389
|
-
RequestedDimensionList.member = Shapes::ShapeRef.new(shape: RequestString)
|
393
|
+
RequestedDimensionList.member = Shapes::ShapeRef.new(shape: SanitizedString)
|
390
394
|
|
391
395
|
ResponsePartitionKey.add_member(:dimensions, Shapes::ShapeRef.new(shape: DimensionMap, required: true, location_name: "Dimensions"))
|
392
396
|
ResponsePartitionKey.struct_class = Types::ResponsePartitionKey
|
@@ -404,6 +408,8 @@ module Aws::PI
|
|
404
408
|
|
405
409
|
ResponseResourceMetricList.member = Shapes::ShapeRef.new(shape: ResponseResourceMetric)
|
406
410
|
|
411
|
+
SanitizedStringList.member = Shapes::ShapeRef.new(shape: SanitizedString)
|
412
|
+
|
407
413
|
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
|
408
414
|
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
|
409
415
|
Tag.struct_class = Types::Tag
|
@@ -437,6 +443,7 @@ module Aws::PI
|
|
437
443
|
"endpointPrefix" => "pi",
|
438
444
|
"jsonVersion" => "1.1",
|
439
445
|
"protocol" => "json",
|
446
|
+
"protocols" => ["json"],
|
440
447
|
"serviceAbbreviation" => "AWS PI",
|
441
448
|
"serviceFullName" => "AWS Performance Insights",
|
442
449
|
"serviceId" => "PI",
|
data/lib/aws-sdk-pi/types.rb
CHANGED
@@ -1211,6 +1211,17 @@ module Aws::PI
|
|
1211
1211
|
# the token, up to the value specified by `MaxRecords`.
|
1212
1212
|
# @return [String]
|
1213
1213
|
#
|
1214
|
+
# @!attribute [rw] authorized_actions
|
1215
|
+
# The actions to discover the dimensions you are authorized to access.
|
1216
|
+
# If you specify multiple actions, then the response will contain the
|
1217
|
+
# dimensions common for all the actions.
|
1218
|
+
#
|
1219
|
+
# When you don't specify this request parameter or provide an empty
|
1220
|
+
# list, the response contains all the available dimensions for the
|
1221
|
+
# target database engine whether or not you are authorized to access
|
1222
|
+
# them.
|
1223
|
+
# @return [Array<String>]
|
1224
|
+
#
|
1214
1225
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/ListAvailableResourceDimensionsRequest AWS API Documentation
|
1215
1226
|
#
|
1216
1227
|
class ListAvailableResourceDimensionsRequest < Struct.new(
|
@@ -1218,7 +1229,8 @@ module Aws::PI
|
|
1218
1229
|
:identifier,
|
1219
1230
|
:metrics,
|
1220
1231
|
:max_results,
|
1221
|
-
:next_token
|
1232
|
+
:next_token,
|
1233
|
+
:authorized_actions)
|
1222
1234
|
SENSITIVE = []
|
1223
1235
|
include Aws::Structure
|
1224
1236
|
end
|
data/lib/aws-sdk-pi.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -219,7 +219,8 @@ module Aws
|
|
219
219
|
identifier: ::String,
|
220
220
|
metrics: Array[::String],
|
221
221
|
?max_results: ::Integer,
|
222
|
-
?next_token: ::String
|
222
|
+
?next_token: ::String,
|
223
|
+
?authorized_actions: Array[("DescribeDimensionKeys" | "GetDimensionKeyDetails" | "GetResourceMetrics")]
|
223
224
|
) -> _ListAvailableResourceDimensionsResponseSuccess
|
224
225
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAvailableResourceDimensionsResponseSuccess
|
225
226
|
|
data/sig/types.rbs
CHANGED
@@ -221,6 +221,7 @@ module Aws::PI
|
|
221
221
|
attr_accessor metrics: ::Array[::String]
|
222
222
|
attr_accessor max_results: ::Integer
|
223
223
|
attr_accessor next_token: ::String
|
224
|
+
attr_accessor authorized_actions: ::Array[("DescribeDimensionKeys" | "GetDimensionKeyDetails" | "GetResourceMetrics")]
|
224
225
|
SENSITIVE: []
|
225
226
|
end
|
226
227
|
|
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.58.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-05
|
11
|
+
date: 2024-06-05 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.197.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.197.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|