aws-sdk-pi 1.56.0 → 1.57.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 24b7f8ae7f406382378dc94be709b98fc4f5a2a3f01082e781c98b35c7d2bce1
4
- data.tar.gz: 50128a732598c121f44e9b87bc1ad4a5bcc25ae98d7ce9cec01cd744c96b07f5
3
+ metadata.gz: 953793b9bc3026b5f4ea41f57c53bb263720ee199cabe70fbab3dcdd4f8e26b2
4
+ data.tar.gz: 57125ee813f84b5184683541f1a28d6eba5a4df1049a606a16acf4d8f2fd636a
5
5
  SHA512:
6
- metadata.gz: 0e4b7b47087849e2d057641c782b1da5930d61ff16a7c0409341dfc73edf13c3f53dfe25487d0df287a1cc60437ac5f273c4ed9fcd0caa491b870ef1ae88435a
7
- data.tar.gz: 83f30e3e8b72290c3beb1cadaa34554201984203a96a7fb8a3393ebf9b1d751a370a1dccc96a978d4903d680f447e6c041010f7e8671d968e4f6f528b296c92c
6
+ metadata.gz: c50f89ec9a4548813a423c5c76c664d9820259998930c892df1338b45475924d9a9e350520ec180f066b62b7ac103f1ed0f0f9cdd3e4a0c2c3bc7a3e6bf15939
7
+ data.tar.gz: e87fb004ddc9117a500226d5397218942e3f3fb45966725062e60bfbdb2e8b69222f827e4e1fdbd92e68656d94eb00688567faee1f89607f5a7e22646d102be8
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.57.0 (2024-05-21)
5
+ ------------------
6
+
7
+ * 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.
8
+
4
9
  1.56.0 (2024-05-13)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.56.0
1
+ 1.57.0
@@ -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: "RequestString", # required
659
- # dimensions: ["RequestString"],
658
+ # group: "SanitizedString", # required
659
+ # dimensions: ["SanitizedString"],
660
660
  # limit: 1,
661
661
  # },
662
- # additional_metrics: ["RequestString"],
662
+ # additional_metrics: ["SanitizedString"],
663
663
  # partition_by: {
664
- # group: "RequestString", # required
665
- # dimensions: ["RequestString"],
664
+ # group: "SanitizedString", # required
665
+ # dimensions: ["SanitizedString"],
666
666
  # limit: 1,
667
667
  # },
668
668
  # filter: {
669
- # "RequestString" => "RequestString",
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: ["RequestString"],
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: "RequestString", # required
1015
+ # metric: "SanitizedString", # required
1016
1016
  # group_by: {
1017
- # group: "RequestString", # required
1018
- # dimensions: ["RequestString"],
1017
+ # group: "SanitizedString", # required
1018
+ # dimensions: ["SanitizedString"],
1019
1019
  # limit: 1,
1020
1020
  # },
1021
1021
  # filter: {
1022
- # "RequestString" => "RequestString",
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&lt;Types::MetricDimensionGroups&gt;
@@ -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: ["RequestString"], # required
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: ["RequestString"], # required
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.56.0'
1415
+ context[:gem_version] = '1.57.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: RequestString)
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: RequestString, required: true, location_name: "Group"))
203
- DimensionGroup.add_member(:dimensions, Shapes::ShapeRef.new(shape: RequestStringList, location_name: "Dimensions"))
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: RequestString)
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: RequestString, required: true, location_name: "Metric"))
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: RequestString)
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: RequestString)
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
- RequestStringList.member = Shapes::ShapeRef.new(shape: RequestString)
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",
@@ -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
@@ -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.56.0'
55
+ GEM_VERSION = '1.57.0'
56
56
 
57
57
  end
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.56.0
4
+ version: 1.57.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-13 00:00:00.000000000 Z
11
+ date: 2024-05-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core