aws-sdk-pi 1.55.0 → 1.57.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: 1bb29212d6590fa1c1fefeb83314dabc18a5712c09650d56e6f46d24bf26a25e
4
- data.tar.gz: fede389f2ea94133f2c601640cae3a717162678a73bc8316064215c5bbe1ef62
3
+ metadata.gz: 953793b9bc3026b5f4ea41f57c53bb263720ee199cabe70fbab3dcdd4f8e26b2
4
+ data.tar.gz: 57125ee813f84b5184683541f1a28d6eba5a4df1049a606a16acf4d8f2fd636a
5
5
  SHA512:
6
- metadata.gz: 8c3bf0faae2b03357f90608457c599f780ef5bee177de2fc94752817bc9c2644b16a86a48234d28c1e747b6020471b20b09562c54d34de0488b2197734c36684
7
- data.tar.gz: 12f133cccd517d267e1504a1874e82467b3cd44578fe81dec70cddcf4fcd172eccf6cfcaa199b383ca870b6f5b77ab7ccafa43abdf06f2716290230a3b712a2b
6
+ metadata.gz: c50f89ec9a4548813a423c5c76c664d9820259998930c892df1338b45475924d9a9e350520ec180f066b62b7ac103f1ed0f0f9cdd3e4a0c2c3bc7a3e6bf15939
7
+ data.tar.gz: e87fb004ddc9117a500226d5397218942e3f3fb45966725062e60bfbdb2e8b69222f827e4e1fdbd92e68656d94eb00688567faee1f89607f5a7e22646d102be8
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
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
+
9
+ 1.56.0 (2024-05-13)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.55.0 (2024-04-25)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.55.0
1
+ 1.57.0
@@ -301,8 +301,9 @@ module Aws::PI
301
301
  #
302
302
  # @option options [String] :sdk_ua_app_id
303
303
  # A unique and opaque application ID that is appended to the
304
- # User-Agent header as app/<sdk_ua_app_id>. It should have a
305
- # maximum length of 50.
304
+ # User-Agent header as app/sdk_ua_app_id. It should have a
305
+ # maximum length of 50. This variable is sourced from environment
306
+ # variable AWS_SDK_UA_APP_ID or the shared config profile attribute sdk_ua_app_id.
306
307
  #
307
308
  # @option options [String] :secret_access_key
308
309
  #
@@ -654,18 +655,18 @@ module Aws::PI
654
655
  # metric: "RequestString", # required
655
656
  # period_in_seconds: 1,
656
657
  # group_by: { # required
657
- # group: "RequestString", # required
658
- # dimensions: ["RequestString"],
658
+ # group: "SanitizedString", # required
659
+ # dimensions: ["SanitizedString"],
659
660
  # limit: 1,
660
661
  # },
661
- # additional_metrics: ["RequestString"],
662
+ # additional_metrics: ["SanitizedString"],
662
663
  # partition_by: {
663
- # group: "RequestString", # required
664
- # dimensions: ["RequestString"],
664
+ # group: "SanitizedString", # required
665
+ # dimensions: ["SanitizedString"],
665
666
  # limit: 1,
666
667
  # },
667
668
  # filter: {
668
- # "RequestString" => "RequestString",
669
+ # "SanitizedString" => "RequestString",
669
670
  # },
670
671
  # max_results: 1,
671
672
  # next_token: "NextToken",
@@ -756,7 +757,7 @@ module Aws::PI
756
757
  # identifier: "IdentifierString", # required
757
758
  # group: "RequestString", # required
758
759
  # group_identifier: "RequestString", # required
759
- # requested_dimensions: ["RequestString"],
760
+ # requested_dimensions: ["SanitizedString"],
760
761
  # })
761
762
  #
762
763
  # @example Response structure
@@ -1011,14 +1012,14 @@ module Aws::PI
1011
1012
  # identifier: "IdentifierString", # required
1012
1013
  # metric_queries: [ # required
1013
1014
  # {
1014
- # metric: "RequestString", # required
1015
+ # metric: "SanitizedString", # required
1015
1016
  # group_by: {
1016
- # group: "RequestString", # required
1017
- # dimensions: ["RequestString"],
1017
+ # group: "SanitizedString", # required
1018
+ # dimensions: ["SanitizedString"],
1018
1019
  # limit: 1,
1019
1020
  # },
1020
1021
  # filter: {
1021
- # "RequestString" => "RequestString",
1022
+ # "SanitizedString" => "RequestString",
1022
1023
  # },
1023
1024
  # },
1024
1025
  # ],
@@ -1082,6 +1083,16 @@ module Aws::PI
1082
1083
  # parameter is specified, the response includes only records beyond the
1083
1084
  # token, up to the value specified by `MaxRecords`.
1084
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
+ #
1085
1096
  # @return [Types::ListAvailableResourceDimensionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1086
1097
  #
1087
1098
  # * {Types::ListAvailableResourceDimensionsResponse#metric_dimensions #metric_dimensions} => Array&lt;Types::MetricDimensionGroups&gt;
@@ -1094,9 +1105,10 @@ module Aws::PI
1094
1105
  # resp = client.list_available_resource_dimensions({
1095
1106
  # service_type: "RDS", # required, accepts RDS, DOCDB
1096
1107
  # identifier: "IdentifierString", # required
1097
- # metrics: ["RequestString"], # required
1108
+ # metrics: ["SanitizedString"], # required
1098
1109
  # max_results: 1,
1099
1110
  # next_token: "NextToken",
1111
+ # authorized_actions: ["DescribeDimensionKeys"], # accepts DescribeDimensionKeys, GetDimensionKeyDetails, GetResourceMetrics
1100
1112
  # })
1101
1113
  #
1102
1114
  # @example Response structure
@@ -1168,7 +1180,7 @@ module Aws::PI
1168
1180
  # resp = client.list_available_resource_metrics({
1169
1181
  # service_type: "RDS", # required, accepts RDS, DOCDB
1170
1182
  # identifier: "IdentifierString", # required
1171
- # metric_types: ["RequestString"], # required
1183
+ # metric_types: ["SanitizedString"], # required
1172
1184
  # next_token: "NextToken",
1173
1185
  # max_results: 1,
1174
1186
  # })
@@ -1400,7 +1412,7 @@ module Aws::PI
1400
1412
  params: params,
1401
1413
  config: config)
1402
1414
  context[:gem_name] = 'aws-sdk-pi'
1403
- context[:gem_version] = '1.55.0'
1415
+ context[:gem_version] = '1.57.0'
1404
1416
  Seahorse::Client::Request.new(handlers, context)
1405
1417
  end
1406
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.55.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.55.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-04-25 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