aws-sdk-cloudwatchrum 1.3.0 → 1.5.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-cloudwatchrum/client.rb +456 -2
- data/lib/aws-sdk-cloudwatchrum/client_api.rb +256 -1
- data/lib/aws-sdk-cloudwatchrum/types.rb +777 -9
- data/lib/aws-sdk-cloudwatchrum.rb +2 -2
- metadata +4 -4
@@ -23,6 +23,16 @@ module Aws::CloudWatchRUM
|
|
23
23
|
AppMonitorSummary = Shapes::StructureShape.new(name: 'AppMonitorSummary')
|
24
24
|
AppMonitorSummaryList = Shapes::ListShape.new(name: 'AppMonitorSummaryList')
|
25
25
|
Arn = Shapes::StringShape.new(name: 'Arn')
|
26
|
+
BatchCreateRumMetricDefinitionsError = Shapes::StructureShape.new(name: 'BatchCreateRumMetricDefinitionsError')
|
27
|
+
BatchCreateRumMetricDefinitionsErrors = Shapes::ListShape.new(name: 'BatchCreateRumMetricDefinitionsErrors')
|
28
|
+
BatchCreateRumMetricDefinitionsRequest = Shapes::StructureShape.new(name: 'BatchCreateRumMetricDefinitionsRequest')
|
29
|
+
BatchCreateRumMetricDefinitionsResponse = Shapes::StructureShape.new(name: 'BatchCreateRumMetricDefinitionsResponse')
|
30
|
+
BatchDeleteRumMetricDefinitionsError = Shapes::StructureShape.new(name: 'BatchDeleteRumMetricDefinitionsError')
|
31
|
+
BatchDeleteRumMetricDefinitionsErrors = Shapes::ListShape.new(name: 'BatchDeleteRumMetricDefinitionsErrors')
|
32
|
+
BatchDeleteRumMetricDefinitionsRequest = Shapes::StructureShape.new(name: 'BatchDeleteRumMetricDefinitionsRequest')
|
33
|
+
BatchDeleteRumMetricDefinitionsResponse = Shapes::StructureShape.new(name: 'BatchDeleteRumMetricDefinitionsResponse')
|
34
|
+
BatchGetRumMetricDefinitionsRequest = Shapes::StructureShape.new(name: 'BatchGetRumMetricDefinitionsRequest')
|
35
|
+
BatchGetRumMetricDefinitionsResponse = Shapes::StructureShape.new(name: 'BatchGetRumMetricDefinitionsResponse')
|
26
36
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
27
37
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
28
38
|
CreateAppMonitorRequest = Shapes::StructureShape.new(name: 'CreateAppMonitorRequest')
|
@@ -31,26 +41,49 @@ module Aws::CloudWatchRUM
|
|
31
41
|
DataStorage = Shapes::StructureShape.new(name: 'DataStorage')
|
32
42
|
DeleteAppMonitorRequest = Shapes::StructureShape.new(name: 'DeleteAppMonitorRequest')
|
33
43
|
DeleteAppMonitorResponse = Shapes::StructureShape.new(name: 'DeleteAppMonitorResponse')
|
44
|
+
DeleteRumMetricsDestinationRequest = Shapes::StructureShape.new(name: 'DeleteRumMetricsDestinationRequest')
|
45
|
+
DeleteRumMetricsDestinationResponse = Shapes::StructureShape.new(name: 'DeleteRumMetricsDestinationResponse')
|
46
|
+
DestinationArn = Shapes::StringShape.new(name: 'DestinationArn')
|
47
|
+
DimensionKey = Shapes::StringShape.new(name: 'DimensionKey')
|
48
|
+
DimensionKeysMap = Shapes::MapShape.new(name: 'DimensionKeysMap')
|
49
|
+
DimensionName = Shapes::StringShape.new(name: 'DimensionName')
|
34
50
|
EventData = Shapes::StringShape.new(name: 'EventData')
|
35
51
|
EventDataList = Shapes::ListShape.new(name: 'EventDataList')
|
52
|
+
EventPattern = Shapes::StringShape.new(name: 'EventPattern')
|
36
53
|
FavoritePages = Shapes::ListShape.new(name: 'FavoritePages')
|
37
54
|
GetAppMonitorDataRequest = Shapes::StructureShape.new(name: 'GetAppMonitorDataRequest')
|
38
55
|
GetAppMonitorDataResponse = Shapes::StructureShape.new(name: 'GetAppMonitorDataResponse')
|
39
56
|
GetAppMonitorRequest = Shapes::StructureShape.new(name: 'GetAppMonitorRequest')
|
40
57
|
GetAppMonitorResponse = Shapes::StructureShape.new(name: 'GetAppMonitorResponse')
|
41
58
|
ISOTimestampString = Shapes::StringShape.new(name: 'ISOTimestampString')
|
59
|
+
IamRoleArn = Shapes::StringShape.new(name: 'IamRoleArn')
|
42
60
|
IdentityPoolId = Shapes::StringShape.new(name: 'IdentityPoolId')
|
43
61
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
44
62
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
45
63
|
JsonValue = Shapes::StringShape.new(name: 'JsonValue')
|
46
64
|
ListAppMonitorsRequest = Shapes::StructureShape.new(name: 'ListAppMonitorsRequest')
|
47
65
|
ListAppMonitorsResponse = Shapes::StructureShape.new(name: 'ListAppMonitorsResponse')
|
66
|
+
ListRumMetricsDestinationsRequest = Shapes::StructureShape.new(name: 'ListRumMetricsDestinationsRequest')
|
67
|
+
ListRumMetricsDestinationsResponse = Shapes::StructureShape.new(name: 'ListRumMetricsDestinationsResponse')
|
48
68
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
49
69
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
50
70
|
MaxQueryResults = Shapes::IntegerShape.new(name: 'MaxQueryResults')
|
71
|
+
MaxResultsInteger = Shapes::IntegerShape.new(name: 'MaxResultsInteger')
|
72
|
+
MetricDefinition = Shapes::StructureShape.new(name: 'MetricDefinition')
|
73
|
+
MetricDefinitionId = Shapes::StringShape.new(name: 'MetricDefinitionId')
|
74
|
+
MetricDefinitionIds = Shapes::ListShape.new(name: 'MetricDefinitionIds')
|
75
|
+
MetricDefinitionRequest = Shapes::StructureShape.new(name: 'MetricDefinitionRequest')
|
76
|
+
MetricDefinitions = Shapes::ListShape.new(name: 'MetricDefinitions')
|
77
|
+
MetricDefinitionsRequest = Shapes::ListShape.new(name: 'MetricDefinitionsRequest')
|
78
|
+
MetricDestination = Shapes::StringShape.new(name: 'MetricDestination')
|
79
|
+
MetricDestinationSummary = Shapes::StructureShape.new(name: 'MetricDestinationSummary')
|
80
|
+
MetricDestinationSummaryList = Shapes::ListShape.new(name: 'MetricDestinationSummaryList')
|
81
|
+
MetricName = Shapes::StringShape.new(name: 'MetricName')
|
51
82
|
Pages = Shapes::ListShape.new(name: 'Pages')
|
52
83
|
PutRumEventsRequest = Shapes::StructureShape.new(name: 'PutRumEventsRequest')
|
53
84
|
PutRumEventsResponse = Shapes::StructureShape.new(name: 'PutRumEventsResponse')
|
85
|
+
PutRumMetricsDestinationRequest = Shapes::StructureShape.new(name: 'PutRumMetricsDestinationRequest')
|
86
|
+
PutRumMetricsDestinationResponse = Shapes::StructureShape.new(name: 'PutRumMetricsDestinationResponse')
|
54
87
|
QueryFilter = Shapes::StructureShape.new(name: 'QueryFilter')
|
55
88
|
QueryFilterKey = Shapes::StringShape.new(name: 'QueryFilterKey')
|
56
89
|
QueryFilterValue = Shapes::StringShape.new(name: 'QueryFilterValue')
|
@@ -76,13 +109,17 @@ module Aws::CloudWatchRUM
|
|
76
109
|
TimeRange = Shapes::StructureShape.new(name: 'TimeRange')
|
77
110
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
78
111
|
Token = Shapes::StringShape.new(name: 'Token')
|
112
|
+
UnitLabel = Shapes::StringShape.new(name: 'UnitLabel')
|
79
113
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
80
114
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
81
115
|
UpdateAppMonitorRequest = Shapes::StructureShape.new(name: 'UpdateAppMonitorRequest')
|
82
116
|
UpdateAppMonitorResponse = Shapes::StructureShape.new(name: 'UpdateAppMonitorResponse')
|
117
|
+
UpdateRumMetricDefinitionRequest = Shapes::StructureShape.new(name: 'UpdateRumMetricDefinitionRequest')
|
118
|
+
UpdateRumMetricDefinitionResponse = Shapes::StructureShape.new(name: 'UpdateRumMetricDefinitionResponse')
|
83
119
|
Url = Shapes::StringShape.new(name: 'Url')
|
84
120
|
UserDetails = Shapes::StructureShape.new(name: 'UserDetails')
|
85
121
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
122
|
+
ValueKey = Shapes::StringShape.new(name: 'ValueKey')
|
86
123
|
|
87
124
|
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
88
125
|
AccessDeniedException.struct_class = Types::AccessDeniedException
|
@@ -123,6 +160,51 @@ module Aws::CloudWatchRUM
|
|
123
160
|
|
124
161
|
AppMonitorSummaryList.member = Shapes::ShapeRef.new(shape: AppMonitorSummary)
|
125
162
|
|
163
|
+
BatchCreateRumMetricDefinitionsError.add_member(:error_code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ErrorCode"))
|
164
|
+
BatchCreateRumMetricDefinitionsError.add_member(:error_message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ErrorMessage"))
|
165
|
+
BatchCreateRumMetricDefinitionsError.add_member(:metric_definition, Shapes::ShapeRef.new(shape: MetricDefinitionRequest, required: true, location_name: "MetricDefinition"))
|
166
|
+
BatchCreateRumMetricDefinitionsError.struct_class = Types::BatchCreateRumMetricDefinitionsError
|
167
|
+
|
168
|
+
BatchCreateRumMetricDefinitionsErrors.member = Shapes::ShapeRef.new(shape: BatchCreateRumMetricDefinitionsError)
|
169
|
+
|
170
|
+
BatchCreateRumMetricDefinitionsRequest.add_member(:app_monitor_name, Shapes::ShapeRef.new(shape: AppMonitorName, required: true, location: "uri", location_name: "AppMonitorName"))
|
171
|
+
BatchCreateRumMetricDefinitionsRequest.add_member(:destination, Shapes::ShapeRef.new(shape: MetricDestination, required: true, location_name: "Destination"))
|
172
|
+
BatchCreateRumMetricDefinitionsRequest.add_member(:destination_arn, Shapes::ShapeRef.new(shape: DestinationArn, location_name: "DestinationArn"))
|
173
|
+
BatchCreateRumMetricDefinitionsRequest.add_member(:metric_definitions, Shapes::ShapeRef.new(shape: MetricDefinitionsRequest, required: true, location_name: "MetricDefinitions"))
|
174
|
+
BatchCreateRumMetricDefinitionsRequest.struct_class = Types::BatchCreateRumMetricDefinitionsRequest
|
175
|
+
|
176
|
+
BatchCreateRumMetricDefinitionsResponse.add_member(:errors, Shapes::ShapeRef.new(shape: BatchCreateRumMetricDefinitionsErrors, required: true, location_name: "Errors"))
|
177
|
+
BatchCreateRumMetricDefinitionsResponse.add_member(:metric_definitions, Shapes::ShapeRef.new(shape: MetricDefinitions, location_name: "MetricDefinitions"))
|
178
|
+
BatchCreateRumMetricDefinitionsResponse.struct_class = Types::BatchCreateRumMetricDefinitionsResponse
|
179
|
+
|
180
|
+
BatchDeleteRumMetricDefinitionsError.add_member(:error_code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ErrorCode"))
|
181
|
+
BatchDeleteRumMetricDefinitionsError.add_member(:error_message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ErrorMessage"))
|
182
|
+
BatchDeleteRumMetricDefinitionsError.add_member(:metric_definition_id, Shapes::ShapeRef.new(shape: MetricDefinitionId, required: true, location_name: "MetricDefinitionId"))
|
183
|
+
BatchDeleteRumMetricDefinitionsError.struct_class = Types::BatchDeleteRumMetricDefinitionsError
|
184
|
+
|
185
|
+
BatchDeleteRumMetricDefinitionsErrors.member = Shapes::ShapeRef.new(shape: BatchDeleteRumMetricDefinitionsError)
|
186
|
+
|
187
|
+
BatchDeleteRumMetricDefinitionsRequest.add_member(:app_monitor_name, Shapes::ShapeRef.new(shape: AppMonitorName, required: true, location: "uri", location_name: "AppMonitorName"))
|
188
|
+
BatchDeleteRumMetricDefinitionsRequest.add_member(:destination, Shapes::ShapeRef.new(shape: MetricDestination, required: true, location: "querystring", location_name: "destination"))
|
189
|
+
BatchDeleteRumMetricDefinitionsRequest.add_member(:destination_arn, Shapes::ShapeRef.new(shape: DestinationArn, location: "querystring", location_name: "destinationArn"))
|
190
|
+
BatchDeleteRumMetricDefinitionsRequest.add_member(:metric_definition_ids, Shapes::ShapeRef.new(shape: MetricDefinitionIds, required: true, location: "querystring", location_name: "metricDefinitionIds"))
|
191
|
+
BatchDeleteRumMetricDefinitionsRequest.struct_class = Types::BatchDeleteRumMetricDefinitionsRequest
|
192
|
+
|
193
|
+
BatchDeleteRumMetricDefinitionsResponse.add_member(:errors, Shapes::ShapeRef.new(shape: BatchDeleteRumMetricDefinitionsErrors, required: true, location_name: "Errors"))
|
194
|
+
BatchDeleteRumMetricDefinitionsResponse.add_member(:metric_definition_ids, Shapes::ShapeRef.new(shape: MetricDefinitionIds, location_name: "MetricDefinitionIds"))
|
195
|
+
BatchDeleteRumMetricDefinitionsResponse.struct_class = Types::BatchDeleteRumMetricDefinitionsResponse
|
196
|
+
|
197
|
+
BatchGetRumMetricDefinitionsRequest.add_member(:app_monitor_name, Shapes::ShapeRef.new(shape: AppMonitorName, required: true, location: "uri", location_name: "AppMonitorName"))
|
198
|
+
BatchGetRumMetricDefinitionsRequest.add_member(:destination, Shapes::ShapeRef.new(shape: MetricDestination, required: true, location: "querystring", location_name: "destination"))
|
199
|
+
BatchGetRumMetricDefinitionsRequest.add_member(:destination_arn, Shapes::ShapeRef.new(shape: DestinationArn, location: "querystring", location_name: "destinationArn"))
|
200
|
+
BatchGetRumMetricDefinitionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsInteger, location: "querystring", location_name: "maxResults"))
|
201
|
+
BatchGetRumMetricDefinitionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
|
202
|
+
BatchGetRumMetricDefinitionsRequest.struct_class = Types::BatchGetRumMetricDefinitionsRequest
|
203
|
+
|
204
|
+
BatchGetRumMetricDefinitionsResponse.add_member(:metric_definitions, Shapes::ShapeRef.new(shape: MetricDefinitions, location_name: "MetricDefinitions"))
|
205
|
+
BatchGetRumMetricDefinitionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
206
|
+
BatchGetRumMetricDefinitionsResponse.struct_class = Types::BatchGetRumMetricDefinitionsResponse
|
207
|
+
|
126
208
|
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
127
209
|
ConflictException.add_member(:resource_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceName"))
|
128
210
|
ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "resourceType"))
|
@@ -150,6 +232,16 @@ module Aws::CloudWatchRUM
|
|
150
232
|
|
151
233
|
DeleteAppMonitorResponse.struct_class = Types::DeleteAppMonitorResponse
|
152
234
|
|
235
|
+
DeleteRumMetricsDestinationRequest.add_member(:app_monitor_name, Shapes::ShapeRef.new(shape: AppMonitorName, required: true, location: "uri", location_name: "AppMonitorName"))
|
236
|
+
DeleteRumMetricsDestinationRequest.add_member(:destination, Shapes::ShapeRef.new(shape: MetricDestination, required: true, location: "querystring", location_name: "destination"))
|
237
|
+
DeleteRumMetricsDestinationRequest.add_member(:destination_arn, Shapes::ShapeRef.new(shape: DestinationArn, location: "querystring", location_name: "destinationArn"))
|
238
|
+
DeleteRumMetricsDestinationRequest.struct_class = Types::DeleteRumMetricsDestinationRequest
|
239
|
+
|
240
|
+
DeleteRumMetricsDestinationResponse.struct_class = Types::DeleteRumMetricsDestinationResponse
|
241
|
+
|
242
|
+
DimensionKeysMap.key = Shapes::ShapeRef.new(shape: DimensionKey)
|
243
|
+
DimensionKeysMap.value = Shapes::ShapeRef.new(shape: DimensionName)
|
244
|
+
|
153
245
|
EventDataList.member = Shapes::ShapeRef.new(shape: EventData)
|
154
246
|
|
155
247
|
FavoritePages.member = Shapes::ShapeRef.new(shape: String)
|
@@ -175,7 +267,7 @@ module Aws::CloudWatchRUM
|
|
175
267
|
InternalServerException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: Integer, location: "header", location_name: "Retry-After"))
|
176
268
|
InternalServerException.struct_class = Types::InternalServerException
|
177
269
|
|
178
|
-
ListAppMonitorsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape:
|
270
|
+
ListAppMonitorsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsInteger, location: "querystring", location_name: "maxResults"))
|
179
271
|
ListAppMonitorsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
|
180
272
|
ListAppMonitorsRequest.struct_class = Types::ListAppMonitorsRequest
|
181
273
|
|
@@ -183,6 +275,15 @@ module Aws::CloudWatchRUM
|
|
183
275
|
ListAppMonitorsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
184
276
|
ListAppMonitorsResponse.struct_class = Types::ListAppMonitorsResponse
|
185
277
|
|
278
|
+
ListRumMetricsDestinationsRequest.add_member(:app_monitor_name, Shapes::ShapeRef.new(shape: AppMonitorName, required: true, location: "uri", location_name: "AppMonitorName"))
|
279
|
+
ListRumMetricsDestinationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsInteger, location: "querystring", location_name: "maxResults"))
|
280
|
+
ListRumMetricsDestinationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
|
281
|
+
ListRumMetricsDestinationsRequest.struct_class = Types::ListRumMetricsDestinationsRequest
|
282
|
+
|
283
|
+
ListRumMetricsDestinationsResponse.add_member(:destinations, Shapes::ShapeRef.new(shape: MetricDestinationSummaryList, location_name: "Destinations"))
|
284
|
+
ListRumMetricsDestinationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
285
|
+
ListRumMetricsDestinationsResponse.struct_class = Types::ListRumMetricsDestinationsResponse
|
286
|
+
|
186
287
|
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "ResourceArn"))
|
187
288
|
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
188
289
|
|
@@ -190,6 +291,34 @@ module Aws::CloudWatchRUM
|
|
190
291
|
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "Tags"))
|
191
292
|
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
192
293
|
|
294
|
+
MetricDefinition.add_member(:dimension_keys, Shapes::ShapeRef.new(shape: DimensionKeysMap, location_name: "DimensionKeys"))
|
295
|
+
MetricDefinition.add_member(:event_pattern, Shapes::ShapeRef.new(shape: EventPattern, location_name: "EventPattern"))
|
296
|
+
MetricDefinition.add_member(:metric_definition_id, Shapes::ShapeRef.new(shape: MetricDefinitionId, required: true, location_name: "MetricDefinitionId"))
|
297
|
+
MetricDefinition.add_member(:name, Shapes::ShapeRef.new(shape: MetricName, required: true, location_name: "Name"))
|
298
|
+
MetricDefinition.add_member(:unit_label, Shapes::ShapeRef.new(shape: UnitLabel, location_name: "UnitLabel"))
|
299
|
+
MetricDefinition.add_member(:value_key, Shapes::ShapeRef.new(shape: ValueKey, location_name: "ValueKey"))
|
300
|
+
MetricDefinition.struct_class = Types::MetricDefinition
|
301
|
+
|
302
|
+
MetricDefinitionIds.member = Shapes::ShapeRef.new(shape: MetricDefinitionId)
|
303
|
+
|
304
|
+
MetricDefinitionRequest.add_member(:dimension_keys, Shapes::ShapeRef.new(shape: DimensionKeysMap, location_name: "DimensionKeys"))
|
305
|
+
MetricDefinitionRequest.add_member(:event_pattern, Shapes::ShapeRef.new(shape: EventPattern, location_name: "EventPattern"))
|
306
|
+
MetricDefinitionRequest.add_member(:name, Shapes::ShapeRef.new(shape: MetricName, required: true, location_name: "Name"))
|
307
|
+
MetricDefinitionRequest.add_member(:unit_label, Shapes::ShapeRef.new(shape: UnitLabel, location_name: "UnitLabel"))
|
308
|
+
MetricDefinitionRequest.add_member(:value_key, Shapes::ShapeRef.new(shape: ValueKey, location_name: "ValueKey"))
|
309
|
+
MetricDefinitionRequest.struct_class = Types::MetricDefinitionRequest
|
310
|
+
|
311
|
+
MetricDefinitions.member = Shapes::ShapeRef.new(shape: MetricDefinition)
|
312
|
+
|
313
|
+
MetricDefinitionsRequest.member = Shapes::ShapeRef.new(shape: MetricDefinitionRequest)
|
314
|
+
|
315
|
+
MetricDestinationSummary.add_member(:destination, Shapes::ShapeRef.new(shape: MetricDestination, location_name: "Destination"))
|
316
|
+
MetricDestinationSummary.add_member(:destination_arn, Shapes::ShapeRef.new(shape: DestinationArn, location_name: "DestinationArn"))
|
317
|
+
MetricDestinationSummary.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "IamRoleArn"))
|
318
|
+
MetricDestinationSummary.struct_class = Types::MetricDestinationSummary
|
319
|
+
|
320
|
+
MetricDestinationSummaryList.member = Shapes::ShapeRef.new(shape: MetricDestinationSummary)
|
321
|
+
|
193
322
|
Pages.member = Shapes::ShapeRef.new(shape: Url)
|
194
323
|
|
195
324
|
PutRumEventsRequest.add_member(:app_monitor_details, Shapes::ShapeRef.new(shape: AppMonitorDetails, required: true, location_name: "AppMonitorDetails"))
|
@@ -201,6 +330,14 @@ module Aws::CloudWatchRUM
|
|
201
330
|
|
202
331
|
PutRumEventsResponse.struct_class = Types::PutRumEventsResponse
|
203
332
|
|
333
|
+
PutRumMetricsDestinationRequest.add_member(:app_monitor_name, Shapes::ShapeRef.new(shape: AppMonitorName, required: true, location: "uri", location_name: "AppMonitorName"))
|
334
|
+
PutRumMetricsDestinationRequest.add_member(:destination, Shapes::ShapeRef.new(shape: MetricDestination, required: true, location_name: "Destination"))
|
335
|
+
PutRumMetricsDestinationRequest.add_member(:destination_arn, Shapes::ShapeRef.new(shape: DestinationArn, location_name: "DestinationArn"))
|
336
|
+
PutRumMetricsDestinationRequest.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "IamRoleArn"))
|
337
|
+
PutRumMetricsDestinationRequest.struct_class = Types::PutRumMetricsDestinationRequest
|
338
|
+
|
339
|
+
PutRumMetricsDestinationResponse.struct_class = Types::PutRumMetricsDestinationResponse
|
340
|
+
|
204
341
|
QueryFilter.add_member(:name, Shapes::ShapeRef.new(shape: QueryFilterKey, location_name: "Name"))
|
205
342
|
QueryFilter.add_member(:values, Shapes::ShapeRef.new(shape: QueryFilterValueList, location_name: "Values"))
|
206
343
|
QueryFilter.struct_class = Types::QueryFilter
|
@@ -263,6 +400,15 @@ module Aws::CloudWatchRUM
|
|
263
400
|
|
264
401
|
UpdateAppMonitorResponse.struct_class = Types::UpdateAppMonitorResponse
|
265
402
|
|
403
|
+
UpdateRumMetricDefinitionRequest.add_member(:app_monitor_name, Shapes::ShapeRef.new(shape: AppMonitorName, required: true, location: "uri", location_name: "AppMonitorName"))
|
404
|
+
UpdateRumMetricDefinitionRequest.add_member(:destination, Shapes::ShapeRef.new(shape: MetricDestination, required: true, location_name: "Destination"))
|
405
|
+
UpdateRumMetricDefinitionRequest.add_member(:destination_arn, Shapes::ShapeRef.new(shape: DestinationArn, location_name: "DestinationArn"))
|
406
|
+
UpdateRumMetricDefinitionRequest.add_member(:metric_definition, Shapes::ShapeRef.new(shape: MetricDefinitionRequest, required: true, location_name: "MetricDefinition"))
|
407
|
+
UpdateRumMetricDefinitionRequest.add_member(:metric_definition_id, Shapes::ShapeRef.new(shape: MetricDefinitionId, required: true, location_name: "MetricDefinitionId"))
|
408
|
+
UpdateRumMetricDefinitionRequest.struct_class = Types::UpdateRumMetricDefinitionRequest
|
409
|
+
|
410
|
+
UpdateRumMetricDefinitionResponse.struct_class = Types::UpdateRumMetricDefinitionResponse
|
411
|
+
|
266
412
|
UserDetails.add_member(:session_id, Shapes::ShapeRef.new(shape: String, location_name: "sessionId"))
|
267
413
|
UserDetails.add_member(:user_id, Shapes::ShapeRef.new(shape: String, location_name: "userId"))
|
268
414
|
UserDetails.struct_class = Types::UserDetails
|
@@ -288,6 +434,53 @@ module Aws::CloudWatchRUM
|
|
288
434
|
"uid" => "rum-2018-05-10",
|
289
435
|
}
|
290
436
|
|
437
|
+
api.add_operation(:batch_create_rum_metric_definitions, Seahorse::Model::Operation.new.tap do |o|
|
438
|
+
o.name = "BatchCreateRumMetricDefinitions"
|
439
|
+
o.http_method = "POST"
|
440
|
+
o.http_request_uri = "/rummetrics/{AppMonitorName}/metrics"
|
441
|
+
o.input = Shapes::ShapeRef.new(shape: BatchCreateRumMetricDefinitionsRequest)
|
442
|
+
o.output = Shapes::ShapeRef.new(shape: BatchCreateRumMetricDefinitionsResponse)
|
443
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
444
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
445
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
446
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
447
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
448
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
449
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
450
|
+
end)
|
451
|
+
|
452
|
+
api.add_operation(:batch_delete_rum_metric_definitions, Seahorse::Model::Operation.new.tap do |o|
|
453
|
+
o.name = "BatchDeleteRumMetricDefinitions"
|
454
|
+
o.http_method = "DELETE"
|
455
|
+
o.http_request_uri = "/rummetrics/{AppMonitorName}/metrics"
|
456
|
+
o.input = Shapes::ShapeRef.new(shape: BatchDeleteRumMetricDefinitionsRequest)
|
457
|
+
o.output = Shapes::ShapeRef.new(shape: BatchDeleteRumMetricDefinitionsResponse)
|
458
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
459
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
460
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
461
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
462
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
463
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
464
|
+
end)
|
465
|
+
|
466
|
+
api.add_operation(:batch_get_rum_metric_definitions, Seahorse::Model::Operation.new.tap do |o|
|
467
|
+
o.name = "BatchGetRumMetricDefinitions"
|
468
|
+
o.http_method = "GET"
|
469
|
+
o.http_request_uri = "/rummetrics/{AppMonitorName}/metrics"
|
470
|
+
o.input = Shapes::ShapeRef.new(shape: BatchGetRumMetricDefinitionsRequest)
|
471
|
+
o.output = Shapes::ShapeRef.new(shape: BatchGetRumMetricDefinitionsResponse)
|
472
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
473
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
474
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
475
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
476
|
+
o[:pager] = Aws::Pager.new(
|
477
|
+
limit_key: "max_results",
|
478
|
+
tokens: {
|
479
|
+
"next_token" => "next_token"
|
480
|
+
}
|
481
|
+
)
|
482
|
+
end)
|
483
|
+
|
291
484
|
api.add_operation(:create_app_monitor, Seahorse::Model::Operation.new.tap do |o|
|
292
485
|
o.name = "CreateAppMonitor"
|
293
486
|
o.http_method = "POST"
|
@@ -296,6 +489,7 @@ module Aws::CloudWatchRUM
|
|
296
489
|
o.output = Shapes::ShapeRef.new(shape: CreateAppMonitorResponse)
|
297
490
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
298
491
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
492
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
299
493
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
300
494
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
301
495
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
@@ -316,6 +510,20 @@ module Aws::CloudWatchRUM
|
|
316
510
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
317
511
|
end)
|
318
512
|
|
513
|
+
api.add_operation(:delete_rum_metrics_destination, Seahorse::Model::Operation.new.tap do |o|
|
514
|
+
o.name = "DeleteRumMetricsDestination"
|
515
|
+
o.http_method = "DELETE"
|
516
|
+
o.http_request_uri = "/rummetrics/{AppMonitorName}/metricsdestination"
|
517
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteRumMetricsDestinationRequest)
|
518
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteRumMetricsDestinationResponse)
|
519
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
520
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
521
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
522
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
523
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
524
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
525
|
+
end)
|
526
|
+
|
319
527
|
api.add_operation(:get_app_monitor, Seahorse::Model::Operation.new.tap do |o|
|
320
528
|
o.name = "GetAppMonitor"
|
321
529
|
o.http_method = "GET"
|
@@ -366,6 +574,24 @@ module Aws::CloudWatchRUM
|
|
366
574
|
)
|
367
575
|
end)
|
368
576
|
|
577
|
+
api.add_operation(:list_rum_metrics_destinations, Seahorse::Model::Operation.new.tap do |o|
|
578
|
+
o.name = "ListRumMetricsDestinations"
|
579
|
+
o.http_method = "GET"
|
580
|
+
o.http_request_uri = "/rummetrics/{AppMonitorName}/metricsdestination"
|
581
|
+
o.input = Shapes::ShapeRef.new(shape: ListRumMetricsDestinationsRequest)
|
582
|
+
o.output = Shapes::ShapeRef.new(shape: ListRumMetricsDestinationsResponse)
|
583
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
584
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
585
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
586
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
587
|
+
o[:pager] = Aws::Pager.new(
|
588
|
+
limit_key: "max_results",
|
589
|
+
tokens: {
|
590
|
+
"next_token" => "next_token"
|
591
|
+
}
|
592
|
+
)
|
593
|
+
end)
|
594
|
+
|
369
595
|
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
370
596
|
o.name = "ListTagsForResource"
|
371
597
|
o.http_method = "GET"
|
@@ -393,6 +619,20 @@ module Aws::CloudWatchRUM
|
|
393
619
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
394
620
|
end)
|
395
621
|
|
622
|
+
api.add_operation(:put_rum_metrics_destination, Seahorse::Model::Operation.new.tap do |o|
|
623
|
+
o.name = "PutRumMetricsDestination"
|
624
|
+
o.http_method = "POST"
|
625
|
+
o.http_request_uri = "/rummetrics/{AppMonitorName}/metricsdestination"
|
626
|
+
o.input = Shapes::ShapeRef.new(shape: PutRumMetricsDestinationRequest)
|
627
|
+
o.output = Shapes::ShapeRef.new(shape: PutRumMetricsDestinationResponse)
|
628
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
629
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
630
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
631
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
632
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
633
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
634
|
+
end)
|
635
|
+
|
396
636
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
397
637
|
o.name = "TagResource"
|
398
638
|
o.http_method = "POST"
|
@@ -428,6 +668,21 @@ module Aws::CloudWatchRUM
|
|
428
668
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
429
669
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
430
670
|
end)
|
671
|
+
|
672
|
+
api.add_operation(:update_rum_metric_definition, Seahorse::Model::Operation.new.tap do |o|
|
673
|
+
o.name = "UpdateRumMetricDefinition"
|
674
|
+
o.http_method = "PATCH"
|
675
|
+
o.http_request_uri = "/rummetrics/{AppMonitorName}/metrics"
|
676
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateRumMetricDefinitionRequest)
|
677
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateRumMetricDefinitionResponse)
|
678
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
679
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
680
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
681
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
682
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
683
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
684
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
685
|
+
end)
|
431
686
|
end
|
432
687
|
|
433
688
|
end
|