aws-sdk-pi 1.47.0 → 1.49.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 +390 -6
- data/lib/aws-sdk-pi/client_api.rb +250 -5
- data/lib/aws-sdk-pi/endpoints.rb +98 -0
- data/lib/aws-sdk-pi/plugins/endpoints.rb +14 -0
- data/lib/aws-sdk-pi/types.rb +585 -0
- data/lib/aws-sdk-pi.rb +2 -2
- metadata +2 -2
@@ -13,13 +13,30 @@ module Aws::PI
|
|
13
13
|
|
14
14
|
include Seahorse::Model
|
15
15
|
|
16
|
+
AcceptLanguage = Shapes::StringShape.new(name: 'AcceptLanguage')
|
16
17
|
AdditionalMetricsList = Shapes::ListShape.new(name: 'AdditionalMetricsList')
|
17
18
|
AdditionalMetricsMap = Shapes::MapShape.new(name: 'AdditionalMetricsMap')
|
19
|
+
AmazonResourceName = Shapes::StringShape.new(name: 'AmazonResourceName')
|
20
|
+
AnalysisReport = Shapes::StructureShape.new(name: 'AnalysisReport')
|
21
|
+
AnalysisReportId = Shapes::StringShape.new(name: 'AnalysisReportId')
|
22
|
+
AnalysisReportSummary = Shapes::StructureShape.new(name: 'AnalysisReportSummary')
|
23
|
+
AnalysisReportSummaryList = Shapes::ListShape.new(name: 'AnalysisReportSummaryList')
|
24
|
+
AnalysisStatus = Shapes::StringShape.new(name: 'AnalysisStatus')
|
25
|
+
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
26
|
+
ContextType = Shapes::StringShape.new(name: 'ContextType')
|
27
|
+
CreatePerformanceAnalysisReportRequest = Shapes::StructureShape.new(name: 'CreatePerformanceAnalysisReportRequest')
|
28
|
+
CreatePerformanceAnalysisReportResponse = Shapes::StructureShape.new(name: 'CreatePerformanceAnalysisReportResponse')
|
29
|
+
Data = Shapes::StructureShape.new(name: 'Data')
|
30
|
+
DataList = Shapes::ListShape.new(name: 'DataList')
|
18
31
|
DataPoint = Shapes::StructureShape.new(name: 'DataPoint')
|
19
32
|
DataPointsList = Shapes::ListShape.new(name: 'DataPointsList')
|
33
|
+
DeletePerformanceAnalysisReportRequest = Shapes::StructureShape.new(name: 'DeletePerformanceAnalysisReportRequest')
|
34
|
+
DeletePerformanceAnalysisReportResponse = Shapes::StructureShape.new(name: 'DeletePerformanceAnalysisReportResponse')
|
20
35
|
DescribeDimensionKeysRequest = Shapes::StructureShape.new(name: 'DescribeDimensionKeysRequest')
|
21
36
|
DescribeDimensionKeysResponse = Shapes::StructureShape.new(name: 'DescribeDimensionKeysResponse')
|
22
37
|
Description = Shapes::StringShape.new(name: 'Description')
|
38
|
+
DescriptiveMap = Shapes::MapShape.new(name: 'DescriptiveMap')
|
39
|
+
DescriptiveString = Shapes::StringShape.new(name: 'DescriptiveString')
|
23
40
|
DetailStatus = Shapes::StringShape.new(name: 'DetailStatus')
|
24
41
|
DimensionDetail = Shapes::StructureShape.new(name: 'DimensionDetail')
|
25
42
|
DimensionDetailList = Shapes::ListShape.new(name: 'DimensionDetailList')
|
@@ -39,12 +56,16 @@ module Aws::PI
|
|
39
56
|
FeatureStatus = Shapes::StringShape.new(name: 'FeatureStatus')
|
40
57
|
GetDimensionKeyDetailsRequest = Shapes::StructureShape.new(name: 'GetDimensionKeyDetailsRequest')
|
41
58
|
GetDimensionKeyDetailsResponse = Shapes::StructureShape.new(name: 'GetDimensionKeyDetailsResponse')
|
59
|
+
GetPerformanceAnalysisReportRequest = Shapes::StructureShape.new(name: 'GetPerformanceAnalysisReportRequest')
|
60
|
+
GetPerformanceAnalysisReportResponse = Shapes::StructureShape.new(name: 'GetPerformanceAnalysisReportResponse')
|
42
61
|
GetResourceMetadataRequest = Shapes::StructureShape.new(name: 'GetResourceMetadataRequest')
|
43
62
|
GetResourceMetadataResponse = Shapes::StructureShape.new(name: 'GetResourceMetadataResponse')
|
44
63
|
GetResourceMetricsRequest = Shapes::StructureShape.new(name: 'GetResourceMetricsRequest')
|
45
64
|
GetResourceMetricsResponse = Shapes::StructureShape.new(name: 'GetResourceMetricsResponse')
|
46
65
|
ISOTimestamp = Shapes::TimestampShape.new(name: 'ISOTimestamp')
|
47
66
|
IdentifierString = Shapes::StringShape.new(name: 'IdentifierString')
|
67
|
+
Insight = Shapes::StructureShape.new(name: 'Insight')
|
68
|
+
InsightList = Shapes::ListShape.new(name: 'InsightList')
|
48
69
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
49
70
|
InternalServiceError = Shapes::StructureShape.new(name: 'InternalServiceError')
|
50
71
|
InvalidArgumentException = Shapes::StructureShape.new(name: 'InvalidArgumentException')
|
@@ -53,6 +74,11 @@ module Aws::PI
|
|
53
74
|
ListAvailableResourceDimensionsResponse = Shapes::StructureShape.new(name: 'ListAvailableResourceDimensionsResponse')
|
54
75
|
ListAvailableResourceMetricsRequest = Shapes::StructureShape.new(name: 'ListAvailableResourceMetricsRequest')
|
55
76
|
ListAvailableResourceMetricsResponse = Shapes::StructureShape.new(name: 'ListAvailableResourceMetricsResponse')
|
77
|
+
ListPerformanceAnalysisReportsRequest = Shapes::StructureShape.new(name: 'ListPerformanceAnalysisReportsRequest')
|
78
|
+
ListPerformanceAnalysisReportsResponse = Shapes::StructureShape.new(name: 'ListPerformanceAnalysisReportsResponse')
|
79
|
+
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
80
|
+
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
81
|
+
MarkdownString = Shapes::StringShape.new(name: 'MarkdownString')
|
56
82
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
57
83
|
MetricDimensionGroups = Shapes::StructureShape.new(name: 'MetricDimensionGroups')
|
58
84
|
MetricDimensionsList = Shapes::ListShape.new(name: 'MetricDimensionsList')
|
@@ -65,7 +91,10 @@ module Aws::PI
|
|
65
91
|
MetricValuesList = Shapes::ListShape.new(name: 'MetricValuesList')
|
66
92
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
67
93
|
NotAuthorizedException = Shapes::StructureShape.new(name: 'NotAuthorizedException')
|
94
|
+
PerformanceInsightsMetric = Shapes::StructureShape.new(name: 'PerformanceInsightsMetric')
|
68
95
|
PeriodAlignment = Shapes::StringShape.new(name: 'PeriodAlignment')
|
96
|
+
Recommendation = Shapes::StructureShape.new(name: 'Recommendation')
|
97
|
+
RecommendationList = Shapes::ListShape.new(name: 'RecommendationList')
|
69
98
|
RequestString = Shapes::StringShape.new(name: 'RequestString')
|
70
99
|
RequestStringList = Shapes::ListShape.new(name: 'RequestStringList')
|
71
100
|
RequestedDimensionList = Shapes::ListShape.new(name: 'RequestedDimensionList')
|
@@ -75,21 +104,74 @@ module Aws::PI
|
|
75
104
|
ResponseResourceMetricKey = Shapes::StructureShape.new(name: 'ResponseResourceMetricKey')
|
76
105
|
ResponseResourceMetricList = Shapes::ListShape.new(name: 'ResponseResourceMetricList')
|
77
106
|
ServiceType = Shapes::StringShape.new(name: 'ServiceType')
|
107
|
+
Severity = Shapes::StringShape.new(name: 'Severity')
|
78
108
|
String = Shapes::StringShape.new(name: 'String')
|
109
|
+
Tag = Shapes::StructureShape.new(name: 'Tag')
|
110
|
+
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
111
|
+
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
112
|
+
TagList = Shapes::ListShape.new(name: 'TagList')
|
113
|
+
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
114
|
+
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
115
|
+
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
116
|
+
TextFormat = Shapes::StringShape.new(name: 'TextFormat')
|
117
|
+
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
118
|
+
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
79
119
|
|
80
120
|
AdditionalMetricsList.member = Shapes::ShapeRef.new(shape: RequestString)
|
81
121
|
|
82
122
|
AdditionalMetricsMap.key = Shapes::ShapeRef.new(shape: RequestString)
|
83
123
|
AdditionalMetricsMap.value = Shapes::ShapeRef.new(shape: Double)
|
84
124
|
|
125
|
+
AnalysisReport.add_member(:analysis_report_id, Shapes::ShapeRef.new(shape: AnalysisReportId, required: true, location_name: "AnalysisReportId"))
|
126
|
+
AnalysisReport.add_member(:identifier, Shapes::ShapeRef.new(shape: IdentifierString, location_name: "Identifier"))
|
127
|
+
AnalysisReport.add_member(:service_type, Shapes::ShapeRef.new(shape: ServiceType, location_name: "ServiceType"))
|
128
|
+
AnalysisReport.add_member(:create_time, Shapes::ShapeRef.new(shape: ISOTimestamp, location_name: "CreateTime"))
|
129
|
+
AnalysisReport.add_member(:start_time, Shapes::ShapeRef.new(shape: ISOTimestamp, location_name: "StartTime"))
|
130
|
+
AnalysisReport.add_member(:end_time, Shapes::ShapeRef.new(shape: ISOTimestamp, location_name: "EndTime"))
|
131
|
+
AnalysisReport.add_member(:status, Shapes::ShapeRef.new(shape: AnalysisStatus, location_name: "Status"))
|
132
|
+
AnalysisReport.add_member(:insights, Shapes::ShapeRef.new(shape: InsightList, location_name: "Insights"))
|
133
|
+
AnalysisReport.struct_class = Types::AnalysisReport
|
134
|
+
|
135
|
+
AnalysisReportSummary.add_member(:analysis_report_id, Shapes::ShapeRef.new(shape: String, location_name: "AnalysisReportId"))
|
136
|
+
AnalysisReportSummary.add_member(:create_time, Shapes::ShapeRef.new(shape: ISOTimestamp, location_name: "CreateTime"))
|
137
|
+
AnalysisReportSummary.add_member(:start_time, Shapes::ShapeRef.new(shape: ISOTimestamp, location_name: "StartTime"))
|
138
|
+
AnalysisReportSummary.add_member(:end_time, Shapes::ShapeRef.new(shape: ISOTimestamp, location_name: "EndTime"))
|
139
|
+
AnalysisReportSummary.add_member(:status, Shapes::ShapeRef.new(shape: AnalysisStatus, location_name: "Status"))
|
140
|
+
AnalysisReportSummary.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
141
|
+
AnalysisReportSummary.struct_class = Types::AnalysisReportSummary
|
142
|
+
|
143
|
+
AnalysisReportSummaryList.member = Shapes::ShapeRef.new(shape: AnalysisReportSummary)
|
144
|
+
|
145
|
+
CreatePerformanceAnalysisReportRequest.add_member(:service_type, Shapes::ShapeRef.new(shape: ServiceType, required: true, location_name: "ServiceType"))
|
146
|
+
CreatePerformanceAnalysisReportRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: IdentifierString, required: true, location_name: "Identifier"))
|
147
|
+
CreatePerformanceAnalysisReportRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: ISOTimestamp, required: true, location_name: "StartTime"))
|
148
|
+
CreatePerformanceAnalysisReportRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: ISOTimestamp, required: true, location_name: "EndTime"))
|
149
|
+
CreatePerformanceAnalysisReportRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
150
|
+
CreatePerformanceAnalysisReportRequest.struct_class = Types::CreatePerformanceAnalysisReportRequest
|
151
|
+
|
152
|
+
CreatePerformanceAnalysisReportResponse.add_member(:analysis_report_id, Shapes::ShapeRef.new(shape: AnalysisReportId, location_name: "AnalysisReportId"))
|
153
|
+
CreatePerformanceAnalysisReportResponse.struct_class = Types::CreatePerformanceAnalysisReportResponse
|
154
|
+
|
155
|
+
Data.add_member(:performance_insights_metric, Shapes::ShapeRef.new(shape: PerformanceInsightsMetric, location_name: "PerformanceInsightsMetric"))
|
156
|
+
Data.struct_class = Types::Data
|
157
|
+
|
158
|
+
DataList.member = Shapes::ShapeRef.new(shape: Data)
|
159
|
+
|
85
160
|
DataPoint.add_member(:timestamp, Shapes::ShapeRef.new(shape: ISOTimestamp, required: true, location_name: "Timestamp"))
|
86
161
|
DataPoint.add_member(:value, Shapes::ShapeRef.new(shape: Double, required: true, location_name: "Value"))
|
87
162
|
DataPoint.struct_class = Types::DataPoint
|
88
163
|
|
89
164
|
DataPointsList.member = Shapes::ShapeRef.new(shape: DataPoint)
|
90
165
|
|
166
|
+
DeletePerformanceAnalysisReportRequest.add_member(:service_type, Shapes::ShapeRef.new(shape: ServiceType, required: true, location_name: "ServiceType"))
|
167
|
+
DeletePerformanceAnalysisReportRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: IdentifierString, required: true, location_name: "Identifier"))
|
168
|
+
DeletePerformanceAnalysisReportRequest.add_member(:analysis_report_id, Shapes::ShapeRef.new(shape: AnalysisReportId, required: true, location_name: "AnalysisReportId"))
|
169
|
+
DeletePerformanceAnalysisReportRequest.struct_class = Types::DeletePerformanceAnalysisReportRequest
|
170
|
+
|
171
|
+
DeletePerformanceAnalysisReportResponse.struct_class = Types::DeletePerformanceAnalysisReportResponse
|
172
|
+
|
91
173
|
DescribeDimensionKeysRequest.add_member(:service_type, Shapes::ShapeRef.new(shape: ServiceType, required: true, location_name: "ServiceType"))
|
92
|
-
DescribeDimensionKeysRequest.add_member(:identifier, Shapes::ShapeRef.new(shape:
|
174
|
+
DescribeDimensionKeysRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: IdentifierString, required: true, location_name: "Identifier"))
|
93
175
|
DescribeDimensionKeysRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: ISOTimestamp, required: true, location_name: "StartTime"))
|
94
176
|
DescribeDimensionKeysRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: ISOTimestamp, required: true, location_name: "EndTime"))
|
95
177
|
DescribeDimensionKeysRequest.add_member(:metric, Shapes::ShapeRef.new(shape: RequestString, required: true, location_name: "Metric"))
|
@@ -109,6 +191,9 @@ module Aws::PI
|
|
109
191
|
DescribeDimensionKeysResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
110
192
|
DescribeDimensionKeysResponse.struct_class = Types::DescribeDimensionKeysResponse
|
111
193
|
|
194
|
+
DescriptiveMap.key = Shapes::ShapeRef.new(shape: DescriptiveString)
|
195
|
+
DescriptiveMap.value = Shapes::ShapeRef.new(shape: DescriptiveString)
|
196
|
+
|
112
197
|
DimensionDetail.add_member(:identifier, Shapes::ShapeRef.new(shape: String, location_name: "Identifier"))
|
113
198
|
DimensionDetail.struct_class = Types::DimensionDetail
|
114
199
|
|
@@ -161,8 +246,18 @@ module Aws::PI
|
|
161
246
|
GetDimensionKeyDetailsResponse.add_member(:dimensions, Shapes::ShapeRef.new(shape: DimensionKeyDetailList, location_name: "Dimensions"))
|
162
247
|
GetDimensionKeyDetailsResponse.struct_class = Types::GetDimensionKeyDetailsResponse
|
163
248
|
|
249
|
+
GetPerformanceAnalysisReportRequest.add_member(:service_type, Shapes::ShapeRef.new(shape: ServiceType, required: true, location_name: "ServiceType"))
|
250
|
+
GetPerformanceAnalysisReportRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: IdentifierString, required: true, location_name: "Identifier"))
|
251
|
+
GetPerformanceAnalysisReportRequest.add_member(:analysis_report_id, Shapes::ShapeRef.new(shape: AnalysisReportId, required: true, location_name: "AnalysisReportId"))
|
252
|
+
GetPerformanceAnalysisReportRequest.add_member(:text_format, Shapes::ShapeRef.new(shape: TextFormat, location_name: "TextFormat"))
|
253
|
+
GetPerformanceAnalysisReportRequest.add_member(:accept_language, Shapes::ShapeRef.new(shape: AcceptLanguage, location_name: "AcceptLanguage"))
|
254
|
+
GetPerformanceAnalysisReportRequest.struct_class = Types::GetPerformanceAnalysisReportRequest
|
255
|
+
|
256
|
+
GetPerformanceAnalysisReportResponse.add_member(:analysis_report, Shapes::ShapeRef.new(shape: AnalysisReport, location_name: "AnalysisReport"))
|
257
|
+
GetPerformanceAnalysisReportResponse.struct_class = Types::GetPerformanceAnalysisReportResponse
|
258
|
+
|
164
259
|
GetResourceMetadataRequest.add_member(:service_type, Shapes::ShapeRef.new(shape: ServiceType, required: true, location_name: "ServiceType"))
|
165
|
-
GetResourceMetadataRequest.add_member(:identifier, Shapes::ShapeRef.new(shape:
|
260
|
+
GetResourceMetadataRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: IdentifierString, required: true, location_name: "Identifier"))
|
166
261
|
GetResourceMetadataRequest.struct_class = Types::GetResourceMetadataRequest
|
167
262
|
|
168
263
|
GetResourceMetadataResponse.add_member(:identifier, Shapes::ShapeRef.new(shape: String, location_name: "Identifier"))
|
@@ -170,7 +265,7 @@ module Aws::PI
|
|
170
265
|
GetResourceMetadataResponse.struct_class = Types::GetResourceMetadataResponse
|
171
266
|
|
172
267
|
GetResourceMetricsRequest.add_member(:service_type, Shapes::ShapeRef.new(shape: ServiceType, required: true, location_name: "ServiceType"))
|
173
|
-
GetResourceMetricsRequest.add_member(:identifier, Shapes::ShapeRef.new(shape:
|
268
|
+
GetResourceMetricsRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: IdentifierString, required: true, location_name: "Identifier"))
|
174
269
|
GetResourceMetricsRequest.add_member(:metric_queries, Shapes::ShapeRef.new(shape: MetricQueryList, required: true, location_name: "MetricQueries"))
|
175
270
|
GetResourceMetricsRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: ISOTimestamp, required: true, location_name: "StartTime"))
|
176
271
|
GetResourceMetricsRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: ISOTimestamp, required: true, location_name: "EndTime"))
|
@@ -187,6 +282,21 @@ module Aws::PI
|
|
187
282
|
GetResourceMetricsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
188
283
|
GetResourceMetricsResponse.struct_class = Types::GetResourceMetricsResponse
|
189
284
|
|
285
|
+
Insight.add_member(:insight_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "InsightId"))
|
286
|
+
Insight.add_member(:insight_type, Shapes::ShapeRef.new(shape: String, location_name: "InsightType"))
|
287
|
+
Insight.add_member(:context, Shapes::ShapeRef.new(shape: ContextType, location_name: "Context"))
|
288
|
+
Insight.add_member(:start_time, Shapes::ShapeRef.new(shape: ISOTimestamp, location_name: "StartTime"))
|
289
|
+
Insight.add_member(:end_time, Shapes::ShapeRef.new(shape: ISOTimestamp, location_name: "EndTime"))
|
290
|
+
Insight.add_member(:severity, Shapes::ShapeRef.new(shape: Severity, location_name: "Severity"))
|
291
|
+
Insight.add_member(:supporting_insights, Shapes::ShapeRef.new(shape: InsightList, location_name: "SupportingInsights"))
|
292
|
+
Insight.add_member(:description, Shapes::ShapeRef.new(shape: MarkdownString, location_name: "Description"))
|
293
|
+
Insight.add_member(:recommendations, Shapes::ShapeRef.new(shape: RecommendationList, location_name: "Recommendations"))
|
294
|
+
Insight.add_member(:insight_data, Shapes::ShapeRef.new(shape: DataList, location_name: "InsightData"))
|
295
|
+
Insight.add_member(:baseline_data, Shapes::ShapeRef.new(shape: DataList, location_name: "BaselineData"))
|
296
|
+
Insight.struct_class = Types::Insight
|
297
|
+
|
298
|
+
InsightList.member = Shapes::ShapeRef.new(shape: Insight)
|
299
|
+
|
190
300
|
InternalServiceError.add_member(:message, Shapes::ShapeRef.new(shape: ErrorString, location_name: "Message"))
|
191
301
|
InternalServiceError.struct_class = Types::InternalServiceError
|
192
302
|
|
@@ -194,7 +304,7 @@ module Aws::PI
|
|
194
304
|
InvalidArgumentException.struct_class = Types::InvalidArgumentException
|
195
305
|
|
196
306
|
ListAvailableResourceDimensionsRequest.add_member(:service_type, Shapes::ShapeRef.new(shape: ServiceType, required: true, location_name: "ServiceType"))
|
197
|
-
ListAvailableResourceDimensionsRequest.add_member(:identifier, Shapes::ShapeRef.new(shape:
|
307
|
+
ListAvailableResourceDimensionsRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: IdentifierString, required: true, location_name: "Identifier"))
|
198
308
|
ListAvailableResourceDimensionsRequest.add_member(:metrics, Shapes::ShapeRef.new(shape: DimensionsMetricList, required: true, location_name: "Metrics"))
|
199
309
|
ListAvailableResourceDimensionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
200
310
|
ListAvailableResourceDimensionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
@@ -205,7 +315,7 @@ module Aws::PI
|
|
205
315
|
ListAvailableResourceDimensionsResponse.struct_class = Types::ListAvailableResourceDimensionsResponse
|
206
316
|
|
207
317
|
ListAvailableResourceMetricsRequest.add_member(:service_type, Shapes::ShapeRef.new(shape: ServiceType, required: true, location_name: "ServiceType"))
|
208
|
-
ListAvailableResourceMetricsRequest.add_member(:identifier, Shapes::ShapeRef.new(shape:
|
318
|
+
ListAvailableResourceMetricsRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: IdentifierString, required: true, location_name: "Identifier"))
|
209
319
|
ListAvailableResourceMetricsRequest.add_member(:metric_types, Shapes::ShapeRef.new(shape: MetricTypeList, required: true, location_name: "MetricTypes"))
|
210
320
|
ListAvailableResourceMetricsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
211
321
|
ListAvailableResourceMetricsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
@@ -215,6 +325,24 @@ module Aws::PI
|
|
215
325
|
ListAvailableResourceMetricsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
216
326
|
ListAvailableResourceMetricsResponse.struct_class = Types::ListAvailableResourceMetricsResponse
|
217
327
|
|
328
|
+
ListPerformanceAnalysisReportsRequest.add_member(:service_type, Shapes::ShapeRef.new(shape: ServiceType, required: true, location_name: "ServiceType"))
|
329
|
+
ListPerformanceAnalysisReportsRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: IdentifierString, required: true, location_name: "Identifier"))
|
330
|
+
ListPerformanceAnalysisReportsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
331
|
+
ListPerformanceAnalysisReportsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
332
|
+
ListPerformanceAnalysisReportsRequest.add_member(:list_tags, Shapes::ShapeRef.new(shape: Boolean, location_name: "ListTags"))
|
333
|
+
ListPerformanceAnalysisReportsRequest.struct_class = Types::ListPerformanceAnalysisReportsRequest
|
334
|
+
|
335
|
+
ListPerformanceAnalysisReportsResponse.add_member(:analysis_reports, Shapes::ShapeRef.new(shape: AnalysisReportSummaryList, location_name: "AnalysisReports"))
|
336
|
+
ListPerformanceAnalysisReportsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
337
|
+
ListPerformanceAnalysisReportsResponse.struct_class = Types::ListPerformanceAnalysisReportsResponse
|
338
|
+
|
339
|
+
ListTagsForResourceRequest.add_member(:service_type, Shapes::ShapeRef.new(shape: ServiceType, required: true, location_name: "ServiceType"))
|
340
|
+
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceARN"))
|
341
|
+
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
342
|
+
|
343
|
+
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
344
|
+
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
345
|
+
|
218
346
|
MetricDimensionGroups.add_member(:metric, Shapes::ShapeRef.new(shape: String, location_name: "Metric"))
|
219
347
|
MetricDimensionGroups.add_member(:groups, Shapes::ShapeRef.new(shape: DimensionGroupDetailList, location_name: "Groups"))
|
220
348
|
MetricDimensionGroups.struct_class = Types::MetricDimensionGroups
|
@@ -244,6 +372,18 @@ module Aws::PI
|
|
244
372
|
NotAuthorizedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorString, location_name: "Message"))
|
245
373
|
NotAuthorizedException.struct_class = Types::NotAuthorizedException
|
246
374
|
|
375
|
+
PerformanceInsightsMetric.add_member(:metric, Shapes::ShapeRef.new(shape: DescriptiveString, location_name: "Metric"))
|
376
|
+
PerformanceInsightsMetric.add_member(:display_name, Shapes::ShapeRef.new(shape: DescriptiveString, location_name: "DisplayName"))
|
377
|
+
PerformanceInsightsMetric.add_member(:dimensions, Shapes::ShapeRef.new(shape: DescriptiveMap, location_name: "Dimensions"))
|
378
|
+
PerformanceInsightsMetric.add_member(:value, Shapes::ShapeRef.new(shape: Double, location_name: "Value"))
|
379
|
+
PerformanceInsightsMetric.struct_class = Types::PerformanceInsightsMetric
|
380
|
+
|
381
|
+
Recommendation.add_member(:recommendation_id, Shapes::ShapeRef.new(shape: String, location_name: "RecommendationId"))
|
382
|
+
Recommendation.add_member(:recommendation_description, Shapes::ShapeRef.new(shape: MarkdownString, location_name: "RecommendationDescription"))
|
383
|
+
Recommendation.struct_class = Types::Recommendation
|
384
|
+
|
385
|
+
RecommendationList.member = Shapes::ShapeRef.new(shape: Recommendation)
|
386
|
+
|
247
387
|
RequestStringList.member = Shapes::ShapeRef.new(shape: RequestString)
|
248
388
|
|
249
389
|
RequestedDimensionList.member = Shapes::ShapeRef.new(shape: RequestString)
|
@@ -264,6 +404,28 @@ module Aws::PI
|
|
264
404
|
|
265
405
|
ResponseResourceMetricList.member = Shapes::ShapeRef.new(shape: ResponseResourceMetric)
|
266
406
|
|
407
|
+
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
|
408
|
+
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
|
409
|
+
Tag.struct_class = Types::Tag
|
410
|
+
|
411
|
+
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
412
|
+
|
413
|
+
TagList.member = Shapes::ShapeRef.new(shape: Tag)
|
414
|
+
|
415
|
+
TagResourceRequest.add_member(:service_type, Shapes::ShapeRef.new(shape: ServiceType, required: true, location_name: "ServiceType"))
|
416
|
+
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceARN"))
|
417
|
+
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
|
418
|
+
TagResourceRequest.struct_class = Types::TagResourceRequest
|
419
|
+
|
420
|
+
TagResourceResponse.struct_class = Types::TagResourceResponse
|
421
|
+
|
422
|
+
UntagResourceRequest.add_member(:service_type, Shapes::ShapeRef.new(shape: ServiceType, required: true, location_name: "ServiceType"))
|
423
|
+
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceARN"))
|
424
|
+
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "TagKeys"))
|
425
|
+
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
426
|
+
|
427
|
+
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
428
|
+
|
267
429
|
|
268
430
|
# @api private
|
269
431
|
API = Seahorse::Model::Api.new.tap do |api|
|
@@ -284,6 +446,28 @@ module Aws::PI
|
|
284
446
|
"uid" => "pi-2018-02-27",
|
285
447
|
}
|
286
448
|
|
449
|
+
api.add_operation(:create_performance_analysis_report, Seahorse::Model::Operation.new.tap do |o|
|
450
|
+
o.name = "CreatePerformanceAnalysisReport"
|
451
|
+
o.http_method = "POST"
|
452
|
+
o.http_request_uri = "/"
|
453
|
+
o.input = Shapes::ShapeRef.new(shape: CreatePerformanceAnalysisReportRequest)
|
454
|
+
o.output = Shapes::ShapeRef.new(shape: CreatePerformanceAnalysisReportResponse)
|
455
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
|
456
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
|
457
|
+
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
458
|
+
end)
|
459
|
+
|
460
|
+
api.add_operation(:delete_performance_analysis_report, Seahorse::Model::Operation.new.tap do |o|
|
461
|
+
o.name = "DeletePerformanceAnalysisReport"
|
462
|
+
o.http_method = "POST"
|
463
|
+
o.http_request_uri = "/"
|
464
|
+
o.input = Shapes::ShapeRef.new(shape: DeletePerformanceAnalysisReportRequest)
|
465
|
+
o.output = Shapes::ShapeRef.new(shape: DeletePerformanceAnalysisReportResponse)
|
466
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
|
467
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
|
468
|
+
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
469
|
+
end)
|
470
|
+
|
287
471
|
api.add_operation(:describe_dimension_keys, Seahorse::Model::Operation.new.tap do |o|
|
288
472
|
o.name = "DescribeDimensionKeys"
|
289
473
|
o.http_method = "POST"
|
@@ -312,6 +496,17 @@ module Aws::PI
|
|
312
496
|
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
313
497
|
end)
|
314
498
|
|
499
|
+
api.add_operation(:get_performance_analysis_report, Seahorse::Model::Operation.new.tap do |o|
|
500
|
+
o.name = "GetPerformanceAnalysisReport"
|
501
|
+
o.http_method = "POST"
|
502
|
+
o.http_request_uri = "/"
|
503
|
+
o.input = Shapes::ShapeRef.new(shape: GetPerformanceAnalysisReportRequest)
|
504
|
+
o.output = Shapes::ShapeRef.new(shape: GetPerformanceAnalysisReportResponse)
|
505
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
|
506
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
|
507
|
+
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
508
|
+
end)
|
509
|
+
|
315
510
|
api.add_operation(:get_resource_metadata, Seahorse::Model::Operation.new.tap do |o|
|
316
511
|
o.name = "GetResourceMetadata"
|
317
512
|
o.http_method = "POST"
|
@@ -373,6 +568,56 @@ module Aws::PI
|
|
373
568
|
}
|
374
569
|
)
|
375
570
|
end)
|
571
|
+
|
572
|
+
api.add_operation(:list_performance_analysis_reports, Seahorse::Model::Operation.new.tap do |o|
|
573
|
+
o.name = "ListPerformanceAnalysisReports"
|
574
|
+
o.http_method = "POST"
|
575
|
+
o.http_request_uri = "/"
|
576
|
+
o.input = Shapes::ShapeRef.new(shape: ListPerformanceAnalysisReportsRequest)
|
577
|
+
o.output = Shapes::ShapeRef.new(shape: ListPerformanceAnalysisReportsResponse)
|
578
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
|
579
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
|
580
|
+
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
581
|
+
o[:pager] = Aws::Pager.new(
|
582
|
+
limit_key: "max_results",
|
583
|
+
tokens: {
|
584
|
+
"next_token" => "next_token"
|
585
|
+
}
|
586
|
+
)
|
587
|
+
end)
|
588
|
+
|
589
|
+
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
590
|
+
o.name = "ListTagsForResource"
|
591
|
+
o.http_method = "POST"
|
592
|
+
o.http_request_uri = "/"
|
593
|
+
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
|
594
|
+
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
595
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
|
596
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
|
597
|
+
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
598
|
+
end)
|
599
|
+
|
600
|
+
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
601
|
+
o.name = "TagResource"
|
602
|
+
o.http_method = "POST"
|
603
|
+
o.http_request_uri = "/"
|
604
|
+
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
605
|
+
o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
|
606
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
|
607
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
|
608
|
+
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
609
|
+
end)
|
610
|
+
|
611
|
+
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
612
|
+
o.name = "UntagResource"
|
613
|
+
o.http_method = "POST"
|
614
|
+
o.http_request_uri = "/"
|
615
|
+
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
616
|
+
o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
|
617
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
|
618
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
|
619
|
+
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
620
|
+
end)
|
376
621
|
end
|
377
622
|
|
378
623
|
end
|
data/lib/aws-sdk-pi/endpoints.rb
CHANGED
@@ -12,6 +12,34 @@ module Aws::PI
|
|
12
12
|
# @api private
|
13
13
|
module Endpoints
|
14
14
|
|
15
|
+
class CreatePerformanceAnalysisReport
|
16
|
+
def self.build(context)
|
17
|
+
unless context.config.regional_endpoint
|
18
|
+
endpoint = context.config.endpoint.to_s
|
19
|
+
end
|
20
|
+
Aws::PI::EndpointParameters.new(
|
21
|
+
region: context.config.region,
|
22
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
23
|
+
use_fips: context.config.use_fips_endpoint,
|
24
|
+
endpoint: endpoint,
|
25
|
+
)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
class DeletePerformanceAnalysisReport
|
30
|
+
def self.build(context)
|
31
|
+
unless context.config.regional_endpoint
|
32
|
+
endpoint = context.config.endpoint.to_s
|
33
|
+
end
|
34
|
+
Aws::PI::EndpointParameters.new(
|
35
|
+
region: context.config.region,
|
36
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
37
|
+
use_fips: context.config.use_fips_endpoint,
|
38
|
+
endpoint: endpoint,
|
39
|
+
)
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
15
43
|
class DescribeDimensionKeys
|
16
44
|
def self.build(context)
|
17
45
|
unless context.config.regional_endpoint
|
@@ -40,6 +68,20 @@ module Aws::PI
|
|
40
68
|
end
|
41
69
|
end
|
42
70
|
|
71
|
+
class GetPerformanceAnalysisReport
|
72
|
+
def self.build(context)
|
73
|
+
unless context.config.regional_endpoint
|
74
|
+
endpoint = context.config.endpoint.to_s
|
75
|
+
end
|
76
|
+
Aws::PI::EndpointParameters.new(
|
77
|
+
region: context.config.region,
|
78
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
79
|
+
use_fips: context.config.use_fips_endpoint,
|
80
|
+
endpoint: endpoint,
|
81
|
+
)
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
43
85
|
class GetResourceMetadata
|
44
86
|
def self.build(context)
|
45
87
|
unless context.config.regional_endpoint
|
@@ -96,5 +138,61 @@ module Aws::PI
|
|
96
138
|
end
|
97
139
|
end
|
98
140
|
|
141
|
+
class ListPerformanceAnalysisReports
|
142
|
+
def self.build(context)
|
143
|
+
unless context.config.regional_endpoint
|
144
|
+
endpoint = context.config.endpoint.to_s
|
145
|
+
end
|
146
|
+
Aws::PI::EndpointParameters.new(
|
147
|
+
region: context.config.region,
|
148
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
149
|
+
use_fips: context.config.use_fips_endpoint,
|
150
|
+
endpoint: endpoint,
|
151
|
+
)
|
152
|
+
end
|
153
|
+
end
|
154
|
+
|
155
|
+
class ListTagsForResource
|
156
|
+
def self.build(context)
|
157
|
+
unless context.config.regional_endpoint
|
158
|
+
endpoint = context.config.endpoint.to_s
|
159
|
+
end
|
160
|
+
Aws::PI::EndpointParameters.new(
|
161
|
+
region: context.config.region,
|
162
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
163
|
+
use_fips: context.config.use_fips_endpoint,
|
164
|
+
endpoint: endpoint,
|
165
|
+
)
|
166
|
+
end
|
167
|
+
end
|
168
|
+
|
169
|
+
class TagResource
|
170
|
+
def self.build(context)
|
171
|
+
unless context.config.regional_endpoint
|
172
|
+
endpoint = context.config.endpoint.to_s
|
173
|
+
end
|
174
|
+
Aws::PI::EndpointParameters.new(
|
175
|
+
region: context.config.region,
|
176
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
177
|
+
use_fips: context.config.use_fips_endpoint,
|
178
|
+
endpoint: endpoint,
|
179
|
+
)
|
180
|
+
end
|
181
|
+
end
|
182
|
+
|
183
|
+
class UntagResource
|
184
|
+
def self.build(context)
|
185
|
+
unless context.config.regional_endpoint
|
186
|
+
endpoint = context.config.endpoint.to_s
|
187
|
+
end
|
188
|
+
Aws::PI::EndpointParameters.new(
|
189
|
+
region: context.config.region,
|
190
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
191
|
+
use_fips: context.config.use_fips_endpoint,
|
192
|
+
endpoint: endpoint,
|
193
|
+
)
|
194
|
+
end
|
195
|
+
end
|
196
|
+
|
99
197
|
end
|
100
198
|
end
|
@@ -56,10 +56,16 @@ module Aws::PI
|
|
56
56
|
|
57
57
|
def parameters_for_operation(context)
|
58
58
|
case context.operation_name
|
59
|
+
when :create_performance_analysis_report
|
60
|
+
Aws::PI::Endpoints::CreatePerformanceAnalysisReport.build(context)
|
61
|
+
when :delete_performance_analysis_report
|
62
|
+
Aws::PI::Endpoints::DeletePerformanceAnalysisReport.build(context)
|
59
63
|
when :describe_dimension_keys
|
60
64
|
Aws::PI::Endpoints::DescribeDimensionKeys.build(context)
|
61
65
|
when :get_dimension_key_details
|
62
66
|
Aws::PI::Endpoints::GetDimensionKeyDetails.build(context)
|
67
|
+
when :get_performance_analysis_report
|
68
|
+
Aws::PI::Endpoints::GetPerformanceAnalysisReport.build(context)
|
63
69
|
when :get_resource_metadata
|
64
70
|
Aws::PI::Endpoints::GetResourceMetadata.build(context)
|
65
71
|
when :get_resource_metrics
|
@@ -68,6 +74,14 @@ module Aws::PI
|
|
68
74
|
Aws::PI::Endpoints::ListAvailableResourceDimensions.build(context)
|
69
75
|
when :list_available_resource_metrics
|
70
76
|
Aws::PI::Endpoints::ListAvailableResourceMetrics.build(context)
|
77
|
+
when :list_performance_analysis_reports
|
78
|
+
Aws::PI::Endpoints::ListPerformanceAnalysisReports.build(context)
|
79
|
+
when :list_tags_for_resource
|
80
|
+
Aws::PI::Endpoints::ListTagsForResource.build(context)
|
81
|
+
when :tag_resource
|
82
|
+
Aws::PI::Endpoints::TagResource.build(context)
|
83
|
+
when :untag_resource
|
84
|
+
Aws::PI::Endpoints::UntagResource.build(context)
|
71
85
|
end
|
72
86
|
end
|
73
87
|
end
|