aws-sdk-cloudwatchrum 1.49.0 → 1.50.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.
@@ -23,6 +23,7 @@ module Aws::CloudWatchRUM
23
23
  AppMonitorDomainList = Shapes::ListShape.new(name: 'AppMonitorDomainList')
24
24
  AppMonitorId = Shapes::StringShape.new(name: 'AppMonitorId')
25
25
  AppMonitorName = Shapes::StringShape.new(name: 'AppMonitorName')
26
+ AppMonitorPlatform = Shapes::StringShape.new(name: 'AppMonitorPlatform')
26
27
  AppMonitorSummary = Shapes::StructureShape.new(name: 'AppMonitorSummary')
27
28
  AppMonitorSummaryList = Shapes::ListShape.new(name: 'AppMonitorSummaryList')
28
29
  Arn = Shapes::StringShape.new(name: 'Arn')
@@ -150,50 +151,52 @@ module Aws::CloudWatchRUM
150
151
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
151
152
  AccessDeniedException.struct_class = Types::AccessDeniedException
152
153
 
153
- AppMonitor.add_member(:app_monitor_configuration, Shapes::ShapeRef.new(shape: AppMonitorConfiguration, location_name: "AppMonitorConfiguration"))
154
- AppMonitor.add_member(:created, Shapes::ShapeRef.new(shape: ISOTimestampString, location_name: "Created"))
155
- AppMonitor.add_member(:custom_events, Shapes::ShapeRef.new(shape: CustomEvents, location_name: "CustomEvents"))
156
- AppMonitor.add_member(:data_storage, Shapes::ShapeRef.new(shape: DataStorage, location_name: "DataStorage"))
157
- AppMonitor.add_member(:deobfuscation_configuration, Shapes::ShapeRef.new(shape: DeobfuscationConfiguration, location_name: "DeobfuscationConfiguration"))
154
+ AppMonitor.add_member(:name, Shapes::ShapeRef.new(shape: AppMonitorName, location_name: "Name"))
158
155
  AppMonitor.add_member(:domain, Shapes::ShapeRef.new(shape: AppMonitorDomain, location_name: "Domain"))
159
156
  AppMonitor.add_member(:domain_list, Shapes::ShapeRef.new(shape: AppMonitorDomainList, location_name: "DomainList"))
160
157
  AppMonitor.add_member(:id, Shapes::ShapeRef.new(shape: AppMonitorId, location_name: "Id"))
158
+ AppMonitor.add_member(:created, Shapes::ShapeRef.new(shape: ISOTimestampString, location_name: "Created"))
161
159
  AppMonitor.add_member(:last_modified, Shapes::ShapeRef.new(shape: ISOTimestampString, location_name: "LastModified"))
162
- AppMonitor.add_member(:name, Shapes::ShapeRef.new(shape: AppMonitorName, location_name: "Name"))
163
- AppMonitor.add_member(:state, Shapes::ShapeRef.new(shape: StateEnum, location_name: "State"))
164
160
  AppMonitor.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
161
+ AppMonitor.add_member(:state, Shapes::ShapeRef.new(shape: StateEnum, location_name: "State"))
162
+ AppMonitor.add_member(:app_monitor_configuration, Shapes::ShapeRef.new(shape: AppMonitorConfiguration, location_name: "AppMonitorConfiguration"))
163
+ AppMonitor.add_member(:data_storage, Shapes::ShapeRef.new(shape: DataStorage, location_name: "DataStorage"))
164
+ AppMonitor.add_member(:custom_events, Shapes::ShapeRef.new(shape: CustomEvents, location_name: "CustomEvents"))
165
+ AppMonitor.add_member(:deobfuscation_configuration, Shapes::ShapeRef.new(shape: DeobfuscationConfiguration, location_name: "DeobfuscationConfiguration"))
166
+ AppMonitor.add_member(:platform, Shapes::ShapeRef.new(shape: AppMonitorPlatform, location_name: "Platform"))
165
167
  AppMonitor.struct_class = Types::AppMonitor
166
168
 
167
- AppMonitorConfiguration.add_member(:allow_cookies, Shapes::ShapeRef.new(shape: Boolean, location_name: "AllowCookies"))
168
- AppMonitorConfiguration.add_member(:enable_x_ray, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableXRay"))
169
- AppMonitorConfiguration.add_member(:excluded_pages, Shapes::ShapeRef.new(shape: Pages, location_name: "ExcludedPages"))
170
- AppMonitorConfiguration.add_member(:favorite_pages, Shapes::ShapeRef.new(shape: FavoritePages, location_name: "FavoritePages"))
171
- AppMonitorConfiguration.add_member(:guest_role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "GuestRoleArn"))
172
169
  AppMonitorConfiguration.add_member(:identity_pool_id, Shapes::ShapeRef.new(shape: IdentityPoolId, location_name: "IdentityPoolId"))
170
+ AppMonitorConfiguration.add_member(:excluded_pages, Shapes::ShapeRef.new(shape: Pages, location_name: "ExcludedPages"))
173
171
  AppMonitorConfiguration.add_member(:included_pages, Shapes::ShapeRef.new(shape: Pages, location_name: "IncludedPages"))
172
+ AppMonitorConfiguration.add_member(:favorite_pages, Shapes::ShapeRef.new(shape: FavoritePages, location_name: "FavoritePages"))
174
173
  AppMonitorConfiguration.add_member(:session_sample_rate, Shapes::ShapeRef.new(shape: SessionSampleRate, location_name: "SessionSampleRate"))
174
+ AppMonitorConfiguration.add_member(:guest_role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "GuestRoleArn"))
175
+ AppMonitorConfiguration.add_member(:allow_cookies, Shapes::ShapeRef.new(shape: Boolean, location_name: "AllowCookies"))
175
176
  AppMonitorConfiguration.add_member(:telemetries, Shapes::ShapeRef.new(shape: Telemetries, location_name: "Telemetries"))
177
+ AppMonitorConfiguration.add_member(:enable_x_ray, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableXRay"))
176
178
  AppMonitorConfiguration.struct_class = Types::AppMonitorConfiguration
177
179
 
178
- AppMonitorDetails.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
179
180
  AppMonitorDetails.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
181
+ AppMonitorDetails.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
180
182
  AppMonitorDetails.add_member(:version, Shapes::ShapeRef.new(shape: String, location_name: "version"))
181
183
  AppMonitorDetails.struct_class = Types::AppMonitorDetails
182
184
 
183
185
  AppMonitorDomainList.member = Shapes::ShapeRef.new(shape: AppMonitorDomain)
184
186
 
185
- AppMonitorSummary.add_member(:created, Shapes::ShapeRef.new(shape: ISOTimestampString, location_name: "Created"))
187
+ AppMonitorSummary.add_member(:name, Shapes::ShapeRef.new(shape: AppMonitorName, location_name: "Name"))
186
188
  AppMonitorSummary.add_member(:id, Shapes::ShapeRef.new(shape: AppMonitorId, location_name: "Id"))
189
+ AppMonitorSummary.add_member(:created, Shapes::ShapeRef.new(shape: ISOTimestampString, location_name: "Created"))
187
190
  AppMonitorSummary.add_member(:last_modified, Shapes::ShapeRef.new(shape: ISOTimestampString, location_name: "LastModified"))
188
- AppMonitorSummary.add_member(:name, Shapes::ShapeRef.new(shape: AppMonitorName, location_name: "Name"))
189
191
  AppMonitorSummary.add_member(:state, Shapes::ShapeRef.new(shape: StateEnum, location_name: "State"))
192
+ AppMonitorSummary.add_member(:platform, Shapes::ShapeRef.new(shape: AppMonitorPlatform, location_name: "Platform"))
190
193
  AppMonitorSummary.struct_class = Types::AppMonitorSummary
191
194
 
192
195
  AppMonitorSummaryList.member = Shapes::ShapeRef.new(shape: AppMonitorSummary)
193
196
 
197
+ BatchCreateRumMetricDefinitionsError.add_member(:metric_definition, Shapes::ShapeRef.new(shape: MetricDefinitionRequest, required: true, location_name: "MetricDefinition"))
194
198
  BatchCreateRumMetricDefinitionsError.add_member(:error_code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ErrorCode"))
195
199
  BatchCreateRumMetricDefinitionsError.add_member(:error_message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ErrorMessage"))
196
- BatchCreateRumMetricDefinitionsError.add_member(:metric_definition, Shapes::ShapeRef.new(shape: MetricDefinitionRequest, required: true, location_name: "MetricDefinition"))
197
200
  BatchCreateRumMetricDefinitionsError.struct_class = Types::BatchCreateRumMetricDefinitionsError
198
201
 
199
202
  BatchCreateRumMetricDefinitionsErrors.member = Shapes::ShapeRef.new(shape: BatchCreateRumMetricDefinitionsError)
@@ -208,9 +211,9 @@ module Aws::CloudWatchRUM
208
211
  BatchCreateRumMetricDefinitionsResponse.add_member(:metric_definitions, Shapes::ShapeRef.new(shape: MetricDefinitions, location_name: "MetricDefinitions"))
209
212
  BatchCreateRumMetricDefinitionsResponse.struct_class = Types::BatchCreateRumMetricDefinitionsResponse
210
213
 
214
+ BatchDeleteRumMetricDefinitionsError.add_member(:metric_definition_id, Shapes::ShapeRef.new(shape: MetricDefinitionId, required: true, location_name: "MetricDefinitionId"))
211
215
  BatchDeleteRumMetricDefinitionsError.add_member(:error_code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ErrorCode"))
212
216
  BatchDeleteRumMetricDefinitionsError.add_member(:error_message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ErrorMessage"))
213
- BatchDeleteRumMetricDefinitionsError.add_member(:metric_definition_id, Shapes::ShapeRef.new(shape: MetricDefinitionId, required: true, location_name: "MetricDefinitionId"))
214
217
  BatchDeleteRumMetricDefinitionsError.struct_class = Types::BatchDeleteRumMetricDefinitionsError
215
218
 
216
219
  BatchDeleteRumMetricDefinitionsErrors.member = Shapes::ShapeRef.new(shape: BatchDeleteRumMetricDefinitionsError)
@@ -241,14 +244,15 @@ module Aws::CloudWatchRUM
241
244
  ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "resourceType"))
242
245
  ConflictException.struct_class = Types::ConflictException
243
246
 
244
- CreateAppMonitorRequest.add_member(:app_monitor_configuration, Shapes::ShapeRef.new(shape: AppMonitorConfiguration, location_name: "AppMonitorConfiguration"))
245
- CreateAppMonitorRequest.add_member(:custom_events, Shapes::ShapeRef.new(shape: CustomEvents, location_name: "CustomEvents"))
246
- CreateAppMonitorRequest.add_member(:cw_log_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "CwLogEnabled"))
247
- CreateAppMonitorRequest.add_member(:deobfuscation_configuration, Shapes::ShapeRef.new(shape: DeobfuscationConfiguration, location_name: "DeobfuscationConfiguration"))
247
+ CreateAppMonitorRequest.add_member(:name, Shapes::ShapeRef.new(shape: AppMonitorName, required: true, location_name: "Name"))
248
248
  CreateAppMonitorRequest.add_member(:domain, Shapes::ShapeRef.new(shape: AppMonitorDomain, location_name: "Domain"))
249
249
  CreateAppMonitorRequest.add_member(:domain_list, Shapes::ShapeRef.new(shape: AppMonitorDomainList, location_name: "DomainList"))
250
- CreateAppMonitorRequest.add_member(:name, Shapes::ShapeRef.new(shape: AppMonitorName, required: true, location_name: "Name"))
251
250
  CreateAppMonitorRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
251
+ CreateAppMonitorRequest.add_member(:app_monitor_configuration, Shapes::ShapeRef.new(shape: AppMonitorConfiguration, location_name: "AppMonitorConfiguration"))
252
+ CreateAppMonitorRequest.add_member(:cw_log_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "CwLogEnabled"))
253
+ CreateAppMonitorRequest.add_member(:custom_events, Shapes::ShapeRef.new(shape: CustomEvents, location_name: "CustomEvents"))
254
+ CreateAppMonitorRequest.add_member(:deobfuscation_configuration, Shapes::ShapeRef.new(shape: DeobfuscationConfiguration, location_name: "DeobfuscationConfiguration"))
255
+ CreateAppMonitorRequest.add_member(:platform, Shapes::ShapeRef.new(shape: AppMonitorPlatform, location_name: "Platform"))
252
256
  CreateAppMonitorRequest.struct_class = Types::CreateAppMonitorRequest
253
257
 
254
258
  CreateAppMonitorResponse.add_member(:id, Shapes::ShapeRef.new(shape: AppMonitorId, location_name: "Id"))
@@ -293,11 +297,11 @@ module Aws::CloudWatchRUM
293
297
 
294
298
  FavoritePages.member = Shapes::ShapeRef.new(shape: String)
295
299
 
300
+ GetAppMonitorDataRequest.add_member(:name, Shapes::ShapeRef.new(shape: AppMonitorName, required: true, location: "uri", location_name: "Name"))
301
+ GetAppMonitorDataRequest.add_member(:time_range, Shapes::ShapeRef.new(shape: TimeRange, required: true, location_name: "TimeRange"))
296
302
  GetAppMonitorDataRequest.add_member(:filters, Shapes::ShapeRef.new(shape: QueryFilters, location_name: "Filters"))
297
303
  GetAppMonitorDataRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxQueryResults, location_name: "MaxResults"))
298
- GetAppMonitorDataRequest.add_member(:name, Shapes::ShapeRef.new(shape: AppMonitorName, required: true, location: "uri", location_name: "Name"))
299
304
  GetAppMonitorDataRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
300
- GetAppMonitorDataRequest.add_member(:time_range, Shapes::ShapeRef.new(shape: TimeRange, required: true, location_name: "TimeRange"))
301
305
  GetAppMonitorDataRequest.struct_class = Types::GetAppMonitorDataRequest
302
306
 
303
307
  GetAppMonitorDataResponse.add_member(:events, Shapes::ShapeRef.new(shape: EventDataList, location_name: "Events"))
@@ -324,16 +328,16 @@ module Aws::CloudWatchRUM
324
328
  InvalidPolicyRevisionIdException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
325
329
  InvalidPolicyRevisionIdException.struct_class = Types::InvalidPolicyRevisionIdException
326
330
 
327
- JavaScriptSourceMaps.add_member(:s3_uri, Shapes::ShapeRef.new(shape: DeobfuscationS3Uri, location_name: "S3Uri"))
328
331
  JavaScriptSourceMaps.add_member(:status, Shapes::ShapeRef.new(shape: DeobfuscationStatus, required: true, location_name: "Status"))
332
+ JavaScriptSourceMaps.add_member(:s3_uri, Shapes::ShapeRef.new(shape: DeobfuscationS3Uri, location_name: "S3Uri"))
329
333
  JavaScriptSourceMaps.struct_class = Types::JavaScriptSourceMaps
330
334
 
331
335
  ListAppMonitorsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsInteger, location: "querystring", location_name: "maxResults"))
332
336
  ListAppMonitorsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
333
337
  ListAppMonitorsRequest.struct_class = Types::ListAppMonitorsRequest
334
338
 
335
- ListAppMonitorsResponse.add_member(:app_monitor_summaries, Shapes::ShapeRef.new(shape: AppMonitorSummaryList, location_name: "AppMonitorSummaries"))
336
339
  ListAppMonitorsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
340
+ ListAppMonitorsResponse.add_member(:app_monitor_summaries, Shapes::ShapeRef.new(shape: AppMonitorSummaryList, location_name: "AppMonitorSummaries"))
337
341
  ListAppMonitorsResponse.struct_class = Types::ListAppMonitorsResponse
338
342
 
339
343
  ListRumMetricsDestinationsRequest.add_member(:app_monitor_name, Shapes::ShapeRef.new(shape: AppMonitorName, required: true, location: "uri", location_name: "AppMonitorName"))
@@ -355,23 +359,23 @@ module Aws::CloudWatchRUM
355
359
  MalformedPolicyDocumentException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
356
360
  MalformedPolicyDocumentException.struct_class = Types::MalformedPolicyDocumentException
357
361
 
358
- MetricDefinition.add_member(:dimension_keys, Shapes::ShapeRef.new(shape: DimensionKeysMap, location_name: "DimensionKeys"))
359
- MetricDefinition.add_member(:event_pattern, Shapes::ShapeRef.new(shape: EventPattern, location_name: "EventPattern"))
360
362
  MetricDefinition.add_member(:metric_definition_id, Shapes::ShapeRef.new(shape: MetricDefinitionId, required: true, location_name: "MetricDefinitionId"))
361
363
  MetricDefinition.add_member(:name, Shapes::ShapeRef.new(shape: MetricName, required: true, location_name: "Name"))
362
- MetricDefinition.add_member(:namespace, Shapes::ShapeRef.new(shape: Namespace, location_name: "Namespace"))
363
- MetricDefinition.add_member(:unit_label, Shapes::ShapeRef.new(shape: UnitLabel, location_name: "UnitLabel"))
364
364
  MetricDefinition.add_member(:value_key, Shapes::ShapeRef.new(shape: ValueKey, location_name: "ValueKey"))
365
+ MetricDefinition.add_member(:unit_label, Shapes::ShapeRef.new(shape: UnitLabel, location_name: "UnitLabel"))
366
+ MetricDefinition.add_member(:dimension_keys, Shapes::ShapeRef.new(shape: DimensionKeysMap, location_name: "DimensionKeys"))
367
+ MetricDefinition.add_member(:event_pattern, Shapes::ShapeRef.new(shape: EventPattern, location_name: "EventPattern"))
368
+ MetricDefinition.add_member(:namespace, Shapes::ShapeRef.new(shape: Namespace, location_name: "Namespace"))
365
369
  MetricDefinition.struct_class = Types::MetricDefinition
366
370
 
367
371
  MetricDefinitionIds.member = Shapes::ShapeRef.new(shape: MetricDefinitionId)
368
372
 
373
+ MetricDefinitionRequest.add_member(:name, Shapes::ShapeRef.new(shape: MetricName, required: true, location_name: "Name"))
374
+ MetricDefinitionRequest.add_member(:value_key, Shapes::ShapeRef.new(shape: ValueKey, location_name: "ValueKey"))
375
+ MetricDefinitionRequest.add_member(:unit_label, Shapes::ShapeRef.new(shape: UnitLabel, location_name: "UnitLabel"))
369
376
  MetricDefinitionRequest.add_member(:dimension_keys, Shapes::ShapeRef.new(shape: DimensionKeysMap, location_name: "DimensionKeys"))
370
377
  MetricDefinitionRequest.add_member(:event_pattern, Shapes::ShapeRef.new(shape: EventPattern, location_name: "EventPattern"))
371
- MetricDefinitionRequest.add_member(:name, Shapes::ShapeRef.new(shape: MetricName, required: true, location_name: "Name"))
372
378
  MetricDefinitionRequest.add_member(:namespace, Shapes::ShapeRef.new(shape: Namespace, location_name: "Namespace"))
373
- MetricDefinitionRequest.add_member(:unit_label, Shapes::ShapeRef.new(shape: UnitLabel, location_name: "UnitLabel"))
374
- MetricDefinitionRequest.add_member(:value_key, Shapes::ShapeRef.new(shape: ValueKey, location_name: "ValueKey"))
375
379
  MetricDefinitionRequest.struct_class = Types::MetricDefinitionRequest
376
380
 
377
381
  MetricDefinitions.member = Shapes::ShapeRef.new(shape: MetricDefinition)
@@ -402,12 +406,12 @@ module Aws::CloudWatchRUM
402
406
  PutResourcePolicyResponse.add_member(:policy_revision_id, Shapes::ShapeRef.new(shape: PolicyRevisionId, location_name: "PolicyRevisionId"))
403
407
  PutResourcePolicyResponse.struct_class = Types::PutResourcePolicyResponse
404
408
 
405
- PutRumEventsRequest.add_member(:alias, Shapes::ShapeRef.new(shape: Alias, location_name: "Alias"))
406
- PutRumEventsRequest.add_member(:app_monitor_details, Shapes::ShapeRef.new(shape: AppMonitorDetails, required: true, location_name: "AppMonitorDetails"))
407
- PutRumEventsRequest.add_member(:batch_id, Shapes::ShapeRef.new(shape: PutRumEventsRequestBatchIdString, required: true, location_name: "BatchId"))
408
409
  PutRumEventsRequest.add_member(:id, Shapes::ShapeRef.new(shape: PutRumEventsRequestIdString, required: true, location: "uri", location_name: "Id"))
409
- PutRumEventsRequest.add_member(:rum_events, Shapes::ShapeRef.new(shape: RumEventList, required: true, location_name: "RumEvents"))
410
+ PutRumEventsRequest.add_member(:batch_id, Shapes::ShapeRef.new(shape: PutRumEventsRequestBatchIdString, required: true, location_name: "BatchId"))
411
+ PutRumEventsRequest.add_member(:app_monitor_details, Shapes::ShapeRef.new(shape: AppMonitorDetails, required: true, location_name: "AppMonitorDetails"))
410
412
  PutRumEventsRequest.add_member(:user_details, Shapes::ShapeRef.new(shape: UserDetails, required: true, location_name: "UserDetails"))
413
+ PutRumEventsRequest.add_member(:rum_events, Shapes::ShapeRef.new(shape: RumEventList, required: true, location_name: "RumEvents"))
414
+ PutRumEventsRequest.add_member(:alias, Shapes::ShapeRef.new(shape: Alias, location_name: "Alias"))
411
415
  PutRumEventsRequest.struct_class = Types::PutRumEventsRequest
412
416
 
413
417
  PutRumEventsResponse.struct_class = Types::PutRumEventsResponse
@@ -433,11 +437,11 @@ module Aws::CloudWatchRUM
433
437
  ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "resourceType"))
434
438
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
435
439
 
436
- RumEvent.add_member(:details, Shapes::ShapeRef.new(shape: JsonValue, required: true, location_name: "details", metadata: {"jsonvalue" => true}))
437
440
  RumEvent.add_member(:id, Shapes::ShapeRef.new(shape: RumEventIdString, required: true, location_name: "id"))
438
- RumEvent.add_member(:metadata, Shapes::ShapeRef.new(shape: JsonValue, location_name: "metadata", metadata: {"jsonvalue" => true}))
439
441
  RumEvent.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "timestamp"))
440
442
  RumEvent.add_member(:type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "type"))
443
+ RumEvent.add_member(:metadata, Shapes::ShapeRef.new(shape: JsonValue, location_name: "metadata", metadata: {"jsonvalue" => true}))
444
+ RumEvent.add_member(:details, Shapes::ShapeRef.new(shape: JsonValue, required: true, location_name: "details", metadata: {"jsonvalue" => true}))
441
445
  RumEvent.struct_class = Types::RumEvent
442
446
 
443
447
  RumEventList.member = Shapes::ShapeRef.new(shape: RumEvent)
@@ -459,9 +463,9 @@ module Aws::CloudWatchRUM
459
463
  Telemetries.member = Shapes::ShapeRef.new(shape: Telemetry)
460
464
 
461
465
  ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
466
+ ThrottlingException.add_member(:service_code, Shapes::ShapeRef.new(shape: String, location_name: "serviceCode"))
462
467
  ThrottlingException.add_member(:quota_code, Shapes::ShapeRef.new(shape: String, location_name: "quotaCode"))
463
468
  ThrottlingException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: Integer, location: "header", location_name: "Retry-After"))
464
- ThrottlingException.add_member(:service_code, Shapes::ShapeRef.new(shape: String, location_name: "serviceCode"))
465
469
  ThrottlingException.struct_class = Types::ThrottlingException
466
470
 
467
471
  TimeRange.add_member(:after, Shapes::ShapeRef.new(shape: QueryTimestamp, required: true, location_name: "After"))
@@ -474,13 +478,13 @@ module Aws::CloudWatchRUM
474
478
 
475
479
  UntagResourceResponse.struct_class = Types::UntagResourceResponse
476
480
 
481
+ UpdateAppMonitorRequest.add_member(:name, Shapes::ShapeRef.new(shape: AppMonitorName, required: true, location: "uri", location_name: "Name"))
482
+ UpdateAppMonitorRequest.add_member(:domain, Shapes::ShapeRef.new(shape: AppMonitorDomain, location_name: "Domain"))
483
+ UpdateAppMonitorRequest.add_member(:domain_list, Shapes::ShapeRef.new(shape: AppMonitorDomainList, location_name: "DomainList"))
477
484
  UpdateAppMonitorRequest.add_member(:app_monitor_configuration, Shapes::ShapeRef.new(shape: AppMonitorConfiguration, location_name: "AppMonitorConfiguration"))
478
- UpdateAppMonitorRequest.add_member(:custom_events, Shapes::ShapeRef.new(shape: CustomEvents, location_name: "CustomEvents"))
479
485
  UpdateAppMonitorRequest.add_member(:cw_log_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "CwLogEnabled"))
486
+ UpdateAppMonitorRequest.add_member(:custom_events, Shapes::ShapeRef.new(shape: CustomEvents, location_name: "CustomEvents"))
480
487
  UpdateAppMonitorRequest.add_member(:deobfuscation_configuration, Shapes::ShapeRef.new(shape: DeobfuscationConfiguration, location_name: "DeobfuscationConfiguration"))
481
- UpdateAppMonitorRequest.add_member(:domain, Shapes::ShapeRef.new(shape: AppMonitorDomain, location_name: "Domain"))
482
- UpdateAppMonitorRequest.add_member(:domain_list, Shapes::ShapeRef.new(shape: AppMonitorDomainList, location_name: "DomainList"))
483
- UpdateAppMonitorRequest.add_member(:name, Shapes::ShapeRef.new(shape: AppMonitorName, required: true, location: "uri", location_name: "Name"))
484
488
  UpdateAppMonitorRequest.struct_class = Types::UpdateAppMonitorRequest
485
489
 
486
490
  UpdateAppMonitorResponse.struct_class = Types::UpdateAppMonitorResponse
@@ -494,8 +498,8 @@ module Aws::CloudWatchRUM
494
498
 
495
499
  UpdateRumMetricDefinitionResponse.struct_class = Types::UpdateRumMetricDefinitionResponse
496
500
 
497
- UserDetails.add_member(:session_id, Shapes::ShapeRef.new(shape: UserDetailsSessionIdString, location_name: "sessionId"))
498
501
  UserDetails.add_member(:user_id, Shapes::ShapeRef.new(shape: UserDetailsUserIdString, location_name: "userId"))
502
+ UserDetails.add_member(:session_id, Shapes::ShapeRef.new(shape: UserDetailsSessionIdString, location_name: "sessionId"))
499
503
  UserDetails.struct_class = Types::UserDetails
500
504
 
501
505
  ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
@@ -511,7 +515,6 @@ module Aws::CloudWatchRUM
511
515
  "apiVersion" => "2018-05-10",
512
516
  "auth" => ["aws.auth#sigv4"],
513
517
  "endpointPrefix" => "rum",
514
- "jsonVersion" => "1.1",
515
518
  "protocol" => "rest-json",
516
519
  "protocols" => ["rest-json"],
517
520
  "serviceFullName" => "CloudWatch RUM",
@@ -732,8 +735,8 @@ module Aws::CloudWatchRUM
732
735
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
733
736
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
734
737
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
735
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
736
738
  o.errors << Shapes::ShapeRef.new(shape: MalformedPolicyDocumentException)
739
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
737
740
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
738
741
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
739
742
  end)
@@ -223,6 +223,11 @@ module Aws::CloudWatchRUM
223
223
  @message || @data[:message]
224
224
  end
225
225
 
226
+ # @return [String]
227
+ def service_code
228
+ @data[:service_code]
229
+ end
230
+
226
231
  # @return [String]
227
232
  def quota_code
228
233
  @data[:quota_code]
@@ -233,11 +238,6 @@ module Aws::CloudWatchRUM
233
238
  @data[:retry_after_seconds]
234
239
  end
235
240
 
236
- # @return [String]
237
- def service_code
238
- @data[:service_code]
239
- end
240
-
241
241
  def retryable?
242
242
  true
243
243
  end