aws-sdk-xray 1.28.0 → 1.34.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -16,6 +16,7 @@ module Aws::XRay
16
16
  Alias = Shapes::StructureShape.new(name: 'Alias')
17
17
  AliasList = Shapes::ListShape.new(name: 'AliasList')
18
18
  AliasNames = Shapes::ListShape.new(name: 'AliasNames')
19
+ AmazonResourceName = Shapes::StringShape.new(name: 'AmazonResourceName')
19
20
  AnnotationKey = Shapes::StringShape.new(name: 'AnnotationKey')
20
21
  AnnotationValue = Shapes::StructureShape.new(name: 'AnnotationValue')
21
22
  Annotations = Shapes::MapShape.new(name: 'Annotations')
@@ -96,9 +97,12 @@ module Aws::XRay
96
97
  Host = Shapes::StringShape.new(name: 'Host')
97
98
  Hostname = Shapes::StringShape.new(name: 'Hostname')
98
99
  Http = Shapes::StructureShape.new(name: 'Http')
100
+ InsightsConfiguration = Shapes::StructureShape.new(name: 'InsightsConfiguration')
99
101
  InstanceIdDetail = Shapes::StructureShape.new(name: 'InstanceIdDetail')
100
102
  Integer = Shapes::IntegerShape.new(name: 'Integer')
101
103
  InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
104
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
105
+ ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
102
106
  NullableBoolean = Shapes::BooleanShape.new(name: 'NullableBoolean')
103
107
  NullableDouble = Shapes::FloatShape.new(name: 'NullableDouble')
104
108
  NullableInteger = Shapes::IntegerShape.new(name: 'NullableInteger')
@@ -114,6 +118,7 @@ module Aws::XRay
114
118
  ReservoirSize = Shapes::IntegerShape.new(name: 'ReservoirSize')
115
119
  ResourceARN = Shapes::StringShape.new(name: 'ResourceARN')
116
120
  ResourceARNDetail = Shapes::StructureShape.new(name: 'ResourceARNDetail')
121
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
117
122
  ResponseTimeRootCause = Shapes::StructureShape.new(name: 'ResponseTimeRootCause')
118
123
  ResponseTimeRootCauseEntity = Shapes::StructureShape.new(name: 'ResponseTimeRootCauseEntity')
119
124
  ResponseTimeRootCauseEntityPath = Shapes::ListShape.new(name: 'ResponseTimeRootCauseEntityPath')
@@ -150,6 +155,13 @@ module Aws::XRay
150
155
  ServiceStatistics = Shapes::StructureShape.new(name: 'ServiceStatistics')
151
156
  ServiceType = Shapes::StringShape.new(name: 'ServiceType')
152
157
  String = Shapes::StringShape.new(name: 'String')
158
+ Tag = Shapes::StructureShape.new(name: 'Tag')
159
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
160
+ TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
161
+ TagList = Shapes::ListShape.new(name: 'TagList')
162
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
163
+ TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
164
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
153
165
  TelemetryRecord = Shapes::StructureShape.new(name: 'TelemetryRecord')
154
166
  TelemetryRecordList = Shapes::ListShape.new(name: 'TelemetryRecordList')
155
167
  ThrottledException = Shapes::StructureShape.new(name: 'ThrottledException')
@@ -157,6 +169,7 @@ module Aws::XRay
157
169
  TimeSeriesServiceStatistics = Shapes::StructureShape.new(name: 'TimeSeriesServiceStatistics')
158
170
  TimeSeriesServiceStatisticsList = Shapes::ListShape.new(name: 'TimeSeriesServiceStatisticsList')
159
171
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
172
+ TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
160
173
  Trace = Shapes::StructureShape.new(name: 'Trace')
161
174
  TraceAvailabilityZones = Shapes::ListShape.new(name: 'TraceAvailabilityZones')
162
175
  TraceId = Shapes::StringShape.new(name: 'TraceId')
@@ -176,6 +189,8 @@ module Aws::XRay
176
189
  UnprocessedTraceIdList = Shapes::ListShape.new(name: 'UnprocessedTraceIdList')
177
190
  UnprocessedTraceSegment = Shapes::StructureShape.new(name: 'UnprocessedTraceSegment')
178
191
  UnprocessedTraceSegmentList = Shapes::ListShape.new(name: 'UnprocessedTraceSegmentList')
192
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
193
+ UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
179
194
  UpdateGroupRequest = Shapes::StructureShape.new(name: 'UpdateGroupRequest')
180
195
  UpdateGroupResult = Shapes::StructureShape.new(name: 'UpdateGroupResult')
181
196
  UpdateSamplingRuleRequest = Shapes::StructureShape.new(name: 'UpdateSamplingRuleRequest')
@@ -226,12 +241,15 @@ module Aws::XRay
226
241
 
227
242
  CreateGroupRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupName, required: true, location_name: "GroupName"))
228
243
  CreateGroupRequest.add_member(:filter_expression, Shapes::ShapeRef.new(shape: FilterExpression, location_name: "FilterExpression"))
244
+ CreateGroupRequest.add_member(:insights_configuration, Shapes::ShapeRef.new(shape: InsightsConfiguration, location_name: "InsightsConfiguration"))
245
+ CreateGroupRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
229
246
  CreateGroupRequest.struct_class = Types::CreateGroupRequest
230
247
 
231
248
  CreateGroupResult.add_member(:group, Shapes::ShapeRef.new(shape: Group, location_name: "Group"))
232
249
  CreateGroupResult.struct_class = Types::CreateGroupResult
233
250
 
234
251
  CreateSamplingRuleRequest.add_member(:sampling_rule, Shapes::ShapeRef.new(shape: SamplingRule, required: true, location_name: "SamplingRule"))
252
+ CreateSamplingRuleRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
235
253
  CreateSamplingRuleRequest.struct_class = Types::CreateSamplingRuleRequest
236
254
 
237
255
  CreateSamplingRuleResult.add_member(:sampling_rule_record, Shapes::ShapeRef.new(shape: SamplingRuleRecord, location_name: "SamplingRuleRecord"))
@@ -422,11 +440,13 @@ module Aws::XRay
422
440
  Group.add_member(:group_name, Shapes::ShapeRef.new(shape: String, location_name: "GroupName"))
423
441
  Group.add_member(:group_arn, Shapes::ShapeRef.new(shape: String, location_name: "GroupARN"))
424
442
  Group.add_member(:filter_expression, Shapes::ShapeRef.new(shape: String, location_name: "FilterExpression"))
443
+ Group.add_member(:insights_configuration, Shapes::ShapeRef.new(shape: InsightsConfiguration, location_name: "InsightsConfiguration"))
425
444
  Group.struct_class = Types::Group
426
445
 
427
446
  GroupSummary.add_member(:group_name, Shapes::ShapeRef.new(shape: String, location_name: "GroupName"))
428
447
  GroupSummary.add_member(:group_arn, Shapes::ShapeRef.new(shape: String, location_name: "GroupARN"))
429
448
  GroupSummary.add_member(:filter_expression, Shapes::ShapeRef.new(shape: String, location_name: "FilterExpression"))
449
+ GroupSummary.add_member(:insights_configuration, Shapes::ShapeRef.new(shape: InsightsConfiguration, location_name: "InsightsConfiguration"))
430
450
  GroupSummary.struct_class = Types::GroupSummary
431
451
 
432
452
  GroupSummaryList.member = Shapes::ShapeRef.new(shape: GroupSummary)
@@ -444,12 +464,24 @@ module Aws::XRay
444
464
  Http.add_member(:client_ip, Shapes::ShapeRef.new(shape: String, location_name: "ClientIp"))
445
465
  Http.struct_class = Types::Http
446
466
 
467
+ InsightsConfiguration.add_member(:insights_enabled, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "InsightsEnabled"))
468
+ InsightsConfiguration.add_member(:notifications_enabled, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "NotificationsEnabled"))
469
+ InsightsConfiguration.struct_class = Types::InsightsConfiguration
470
+
447
471
  InstanceIdDetail.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "Id"))
448
472
  InstanceIdDetail.struct_class = Types::InstanceIdDetail
449
473
 
450
474
  InvalidRequestException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
451
475
  InvalidRequestException.struct_class = Types::InvalidRequestException
452
476
 
477
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceARN"))
478
+ ListTagsForResourceRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
479
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
480
+
481
+ ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
482
+ ListTagsForResourceResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
483
+ ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
484
+
453
485
  PutEncryptionConfigRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: EncryptionKeyId, location_name: "KeyId"))
454
486
  PutEncryptionConfigRequest.add_member(:type, Shapes::ShapeRef.new(shape: EncryptionType, required: true, location_name: "Type"))
455
487
  PutEncryptionConfigRequest.struct_class = Types::PutEncryptionConfigRequest
@@ -474,6 +506,10 @@ module Aws::XRay
474
506
  ResourceARNDetail.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "ARN"))
475
507
  ResourceARNDetail.struct_class = Types::ResourceARNDetail
476
508
 
509
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
510
+ ResourceNotFoundException.add_member(:resource_name, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "ResourceName"))
511
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
512
+
477
513
  ResponseTimeRootCause.add_member(:services, Shapes::ShapeRef.new(shape: ResponseTimeRootCauseServices, location_name: "Services"))
478
514
  ResponseTimeRootCause.add_member(:client_impacting, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "ClientImpacting"))
479
515
  ResponseTimeRootCause.struct_class = Types::ResponseTimeRootCause
@@ -614,6 +650,20 @@ module Aws::XRay
614
650
  ServiceStatistics.add_member(:total_response_time, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "TotalResponseTime"))
615
651
  ServiceStatistics.struct_class = Types::ServiceStatistics
616
652
 
653
+ Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
654
+ Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
655
+ Tag.struct_class = Types::Tag
656
+
657
+ TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
658
+
659
+ TagList.member = Shapes::ShapeRef.new(shape: Tag)
660
+
661
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceARN"))
662
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
663
+ TagResourceRequest.struct_class = Types::TagResourceRequest
664
+
665
+ TagResourceResponse.struct_class = Types::TagResourceResponse
666
+
617
667
  TelemetryRecord.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "Timestamp"))
618
668
  TelemetryRecord.add_member(:segments_received_count, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "SegmentsReceivedCount"))
619
669
  TelemetryRecord.add_member(:segments_sent_count, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "SegmentsSentCount"))
@@ -635,8 +685,13 @@ module Aws::XRay
635
685
 
636
686
  TimeSeriesServiceStatisticsList.member = Shapes::ShapeRef.new(shape: TimeSeriesServiceStatistics)
637
687
 
688
+ TooManyTagsException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
689
+ TooManyTagsException.add_member(:resource_name, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "ResourceName"))
690
+ TooManyTagsException.struct_class = Types::TooManyTagsException
691
+
638
692
  Trace.add_member(:id, Shapes::ShapeRef.new(shape: TraceId, location_name: "Id"))
639
693
  Trace.add_member(:duration, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "Duration"))
694
+ Trace.add_member(:limit_exceeded, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "LimitExceeded"))
640
695
  Trace.add_member(:segments, Shapes::ShapeRef.new(shape: SegmentList, location_name: "Segments"))
641
696
  Trace.struct_class = Types::Trace
642
697
 
@@ -698,9 +753,16 @@ module Aws::XRay
698
753
 
699
754
  UnprocessedTraceSegmentList.member = Shapes::ShapeRef.new(shape: UnprocessedTraceSegment)
700
755
 
756
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceARN"))
757
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "TagKeys"))
758
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
759
+
760
+ UntagResourceResponse.struct_class = Types::UntagResourceResponse
761
+
701
762
  UpdateGroupRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupName, location_name: "GroupName"))
702
763
  UpdateGroupRequest.add_member(:group_arn, Shapes::ShapeRef.new(shape: GroupARN, location_name: "GroupARN"))
703
764
  UpdateGroupRequest.add_member(:filter_expression, Shapes::ShapeRef.new(shape: FilterExpression, location_name: "FilterExpression"))
765
+ UpdateGroupRequest.add_member(:insights_configuration, Shapes::ShapeRef.new(shape: InsightsConfiguration, location_name: "InsightsConfiguration"))
704
766
  UpdateGroupRequest.struct_class = Types::UpdateGroupRequest
705
767
 
706
768
  UpdateGroupResult.add_member(:group, Shapes::ShapeRef.new(shape: Group, location_name: "Group"))
@@ -925,6 +987,17 @@ module Aws::XRay
925
987
  )
926
988
  end)
927
989
 
990
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
991
+ o.name = "ListTagsForResource"
992
+ o.http_method = "POST"
993
+ o.http_request_uri = "/ListTagsForResource"
994
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
995
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
996
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
997
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
998
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
999
+ end)
1000
+
928
1001
  api.add_operation(:put_encryption_config, Seahorse::Model::Operation.new.tap do |o|
929
1002
  o.name = "PutEncryptionConfig"
930
1003
  o.http_method = "POST"
@@ -955,6 +1028,29 @@ module Aws::XRay
955
1028
  o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
956
1029
  end)
957
1030
 
1031
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
1032
+ o.name = "TagResource"
1033
+ o.http_method = "POST"
1034
+ o.http_request_uri = "/TagResource"
1035
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
1036
+ o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
1037
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1038
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
1039
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1040
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
1041
+ end)
1042
+
1043
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
1044
+ o.name = "UntagResource"
1045
+ o.http_method = "POST"
1046
+ o.http_request_uri = "/UntagResource"
1047
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
1048
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
1049
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1050
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
1051
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1052
+ end)
1053
+
958
1054
  api.add_operation(:update_group, Seahorse::Model::Operation.new.tap do |o|
959
1055
  o.name = "UpdateGroup"
960
1056
  o.http_method = "POST"
@@ -28,8 +28,10 @@ module Aws::XRay
28
28
  #
29
29
  # ## Error Classes
30
30
  # * {InvalidRequestException}
31
+ # * {ResourceNotFoundException}
31
32
  # * {RuleLimitExceededException}
32
33
  # * {ThrottledException}
34
+ # * {TooManyTagsException}
33
35
  #
34
36
  # Additionally, error classes are dynamically generated for service errors based on the error code
35
37
  # if they are not defined above.
@@ -52,6 +54,26 @@ module Aws::XRay
52
54
  end
53
55
  end
54
56
 
57
+ class ResourceNotFoundException < ServiceError
58
+
59
+ # @param [Seahorse::Client::RequestContext] context
60
+ # @param [String] message
61
+ # @param [Aws::XRay::Types::ResourceNotFoundException] data
62
+ def initialize(context, message, data = Aws::EmptyStructure.new)
63
+ super(context, message, data)
64
+ end
65
+
66
+ # @return [String]
67
+ def message
68
+ @message || @data[:message]
69
+ end
70
+
71
+ # @return [String]
72
+ def resource_name
73
+ @data[:resource_name]
74
+ end
75
+ end
76
+
55
77
  class RuleLimitExceededException < ServiceError
56
78
 
57
79
  # @param [Seahorse::Client::RequestContext] context
@@ -82,5 +104,25 @@ module Aws::XRay
82
104
  end
83
105
  end
84
106
 
107
+ class TooManyTagsException < ServiceError
108
+
109
+ # @param [Seahorse::Client::RequestContext] context
110
+ # @param [String] message
111
+ # @param [Aws::XRay::Types::TooManyTagsException] data
112
+ def initialize(context, message, data = Aws::EmptyStructure.new)
113
+ super(context, message, data)
114
+ end
115
+
116
+ # @return [String]
117
+ def message
118
+ @message || @data[:message]
119
+ end
120
+
121
+ # @return [String]
122
+ def resource_name
123
+ @data[:resource_name]
124
+ end
125
+ end
126
+
85
127
  end
86
128
  end
@@ -35,7 +35,7 @@ module Aws::XRay
35
35
  end
36
36
 
37
37
  # Value of a segment annotation. Has one of three value types: Number,
38
- # Boolean or String.
38
+ # Boolean, or String.
39
39
  #
40
40
  # @!attribute [rw] number_value
41
41
  # Value for a Number annotation.
@@ -59,10 +59,10 @@ module Aws::XRay
59
59
  include Aws::Structure
60
60
  end
61
61
 
62
- # A list of availability zones corresponding to the segments in a trace.
62
+ # A list of Availability Zones corresponding to the segments in a trace.
63
63
  #
64
64
  # @!attribute [rw] name
65
- # The name of a corresponding availability zone.
65
+ # The name of a corresponding Availability Zone.
66
66
  # @return [String]
67
67
  #
68
68
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/AvailabilityZoneDetail AWS API Documentation
@@ -169,6 +169,16 @@ module Aws::XRay
169
169
  # {
170
170
  # group_name: "GroupName", # required
171
171
  # filter_expression: "FilterExpression",
172
+ # insights_configuration: {
173
+ # insights_enabled: false,
174
+ # notifications_enabled: false,
175
+ # },
176
+ # tags: [
177
+ # {
178
+ # key: "TagKey", # required
179
+ # value: "TagValue", # required
180
+ # },
181
+ # ],
172
182
  # }
173
183
  #
174
184
  # @!attribute [rw] group_name
@@ -180,19 +190,59 @@ module Aws::XRay
180
190
  # The filter expression defining criteria by which to group traces.
181
191
  # @return [String]
182
192
  #
193
+ # @!attribute [rw] insights_configuration
194
+ # The structure containing configurations related to insights.
195
+ #
196
+ # * The InsightsEnabled boolean can be set to true to enable insights
197
+ # for the new group or false to disable insights for the new group.
198
+ #
199
+ # * The NotifcationsEnabled boolean can be set to true to enable
200
+ # insights notifications for the new group. Notifications may only
201
+ # be enabled on a group with InsightsEnabled set to true.
202
+ # @return [Types::InsightsConfiguration]
203
+ #
204
+ # @!attribute [rw] tags
205
+ # A map that contains one or more tag keys and tag values to attach to
206
+ # an X-Ray group. For more information about ways to use tags, see
207
+ # [Tagging AWS resources][1] in the *AWS General Reference*.
208
+ #
209
+ # The following restrictions apply to tags:
210
+ #
211
+ # * Maximum number of user-applied tags per resource: 50
212
+ #
213
+ # * Maximum tag key length: 128 Unicode characters
214
+ #
215
+ # * Maximum tag value length: 256 Unicode characters
216
+ #
217
+ # * Valid values for key and value: a-z, A-Z, 0-9, space, and the
218
+ # following characters: \_ . : / = + - and @
219
+ #
220
+ # * Tag keys and values are case sensitive.
221
+ #
222
+ # * Don't use `aws:` as a prefix for keys; it's reserved for AWS
223
+ # use.
224
+ #
225
+ #
226
+ #
227
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
228
+ # @return [Array<Types::Tag>]
229
+ #
183
230
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/CreateGroupRequest AWS API Documentation
184
231
  #
185
232
  class CreateGroupRequest < Struct.new(
186
233
  :group_name,
187
- :filter_expression)
234
+ :filter_expression,
235
+ :insights_configuration,
236
+ :tags)
188
237
  SENSITIVE = []
189
238
  include Aws::Structure
190
239
  end
191
240
 
192
241
  # @!attribute [rw] group
193
242
  # The group that was created. Contains the name of the group that was
194
- # created, the ARN of the group that was generated based on the group
195
- # name, and the filter expression that was assigned to the group.
243
+ # created, the Amazon Resource Name (ARN) of the group that was
244
+ # generated based on the group name, the filter expression, and the
245
+ # insight configuration that was assigned to the group.
196
246
  # @return [Types::Group]
197
247
  #
198
248
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/CreateGroupResult AWS API Documentation
@@ -224,16 +274,49 @@ module Aws::XRay
224
274
  # "AttributeKey" => "AttributeValue",
225
275
  # },
226
276
  # },
277
+ # tags: [
278
+ # {
279
+ # key: "TagKey", # required
280
+ # value: "TagValue", # required
281
+ # },
282
+ # ],
227
283
  # }
228
284
  #
229
285
  # @!attribute [rw] sampling_rule
230
286
  # The rule definition.
231
287
  # @return [Types::SamplingRule]
232
288
  #
289
+ # @!attribute [rw] tags
290
+ # A map that contains one or more tag keys and tag values to attach to
291
+ # an X-Ray sampling rule. For more information about ways to use tags,
292
+ # see [Tagging AWS resources][1] in the *AWS General Reference*.
293
+ #
294
+ # The following restrictions apply to tags:
295
+ #
296
+ # * Maximum number of user-applied tags per resource: 50
297
+ #
298
+ # * Maximum tag key length: 128 Unicode characters
299
+ #
300
+ # * Maximum tag value length: 256 Unicode characters
301
+ #
302
+ # * Valid values for key and value: a-z, A-Z, 0-9, space, and the
303
+ # following characters: \_ . : / = + - and @
304
+ #
305
+ # * Tag keys and values are case sensitive.
306
+ #
307
+ # * Don't use `aws:` as a prefix for keys; it's reserved for AWS
308
+ # use.
309
+ #
310
+ #
311
+ #
312
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
313
+ # @return [Array<Types::Tag>]
314
+ #
233
315
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/CreateSamplingRuleRequest AWS API Documentation
234
316
  #
235
317
  class CreateSamplingRuleRequest < Struct.new(
236
- :sampling_rule)
318
+ :sampling_rule,
319
+ :tags)
237
320
  SENSITIVE = []
238
321
  include Aws::Structure
239
322
  end
@@ -690,8 +773,8 @@ module Aws::XRay
690
773
 
691
774
  # @!attribute [rw] group
692
775
  # The group that was requested. Contains the name of the group, the
693
- # ARN of the group, and the filter expression that assigned to the
694
- # group.
776
+ # ARN of the group, the filter expression, and the insight
777
+ # configuration assigned to the group.
695
778
  # @return [Types::Group]
696
779
  #
697
780
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetGroupResult AWS API Documentation
@@ -886,11 +969,12 @@ module Aws::XRay
886
969
  # @return [Time]
887
970
  #
888
971
  # @!attribute [rw] group_name
889
- # The name of a group to generate a graph based on.
972
+ # The name of a group based on which you want to generate a graph.
890
973
  # @return [String]
891
974
  #
892
975
  # @!attribute [rw] group_arn
893
- # The ARN of a group to generate a graph based on.
976
+ # The Amazon Resource Name (ARN) of a group based on which you want to
977
+ # generate a graph.
894
978
  # @return [String]
895
979
  #
896
980
  # @!attribute [rw] next_token
@@ -971,7 +1055,8 @@ module Aws::XRay
971
1055
  # @return [String]
972
1056
  #
973
1057
  # @!attribute [rw] group_arn
974
- # The ARN of the group for which to pull statistics from.
1058
+ # The Amazon Resource Name (ARN) of the group for which to pull
1059
+ # statistics from.
975
1060
  # @return [String]
976
1061
  #
977
1062
  # @!attribute [rw] entity_selector_expression
@@ -1008,7 +1093,7 @@ module Aws::XRay
1008
1093
  #
1009
1094
  # @!attribute [rw] contains_old_group_versions
1010
1095
  # A flag indicating whether or not a group's filter expression has
1011
- # been consistent, or if a returned aggregation may show statistics
1096
+ # been consistent, or if a returned aggregation might show statistics
1012
1097
  # from an older version of the group's filter expression.
1013
1098
  # @return [Boolean]
1014
1099
  #
@@ -1103,7 +1188,7 @@ module Aws::XRay
1103
1188
  # @return [Boolean]
1104
1189
  #
1105
1190
  # @!attribute [rw] sampling_strategy
1106
- # A paramater to indicate whether to enable sampling on trace
1191
+ # A parameter to indicate whether to enable sampling on trace
1107
1192
  # summaries. Input parameters are Name and Value.
1108
1193
  # @return [Types::SamplingStrategy]
1109
1194
  #
@@ -1148,8 +1233,8 @@ module Aws::XRay
1148
1233
  # @!attribute [rw] next_token
1149
1234
  # If the requested time frame contained more than one page of results,
1150
1235
  # you can use this token to retrieve the next page. The first page
1151
- # contains the most most recent results, closest to the end of the
1152
- # time frame.
1236
+ # contains the most recent results, closest to the end of the time
1237
+ # frame.
1153
1238
  # @return [String]
1154
1239
  #
1155
1240
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetTraceSummariesResult AWS API Documentation
@@ -1170,19 +1255,31 @@ module Aws::XRay
1170
1255
  # @return [String]
1171
1256
  #
1172
1257
  # @!attribute [rw] group_arn
1173
- # The ARN of the group generated based on the GroupName.
1258
+ # The Amazon Resource Name (ARN) of the group generated based on the
1259
+ # GroupName.
1174
1260
  # @return [String]
1175
1261
  #
1176
1262
  # @!attribute [rw] filter_expression
1177
1263
  # The filter expression defining the parameters to include traces.
1178
1264
  # @return [String]
1179
1265
  #
1266
+ # @!attribute [rw] insights_configuration
1267
+ # The structure containing configurations related to insights.
1268
+ #
1269
+ # * The InsightsEnabled boolean can be set to true to enable insights
1270
+ # for the group or false to disable insights for the group.
1271
+ #
1272
+ # * The NotifcationsEnabled boolean can be set to true to enable
1273
+ # insights notifications through Amazon EventBridge for the group.
1274
+ # @return [Types::InsightsConfiguration]
1275
+ #
1180
1276
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/Group AWS API Documentation
1181
1277
  #
1182
1278
  class Group < Struct.new(
1183
1279
  :group_name,
1184
1280
  :group_arn,
1185
- :filter_expression)
1281
+ :filter_expression,
1282
+ :insights_configuration)
1186
1283
  SENSITIVE = []
1187
1284
  include Aws::Structure
1188
1285
  end
@@ -1201,12 +1298,24 @@ module Aws::XRay
1201
1298
  # The filter expression defining the parameters to include traces.
1202
1299
  # @return [String]
1203
1300
  #
1301
+ # @!attribute [rw] insights_configuration
1302
+ # The structure containing configurations related to insights.
1303
+ #
1304
+ # * The InsightsEnabled boolean can be set to true to enable insights
1305
+ # for the group or false to disable insights for the group.
1306
+ #
1307
+ # * The NotificationsEnabled boolean can be set to true to enable
1308
+ # insights notifications. Notifications can only be enabled on a
1309
+ # group with InsightsEnabled set to true.
1310
+ # @return [Types::InsightsConfiguration]
1311
+ #
1204
1312
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GroupSummary AWS API Documentation
1205
1313
  #
1206
1314
  class GroupSummary < Struct.new(
1207
1315
  :group_name,
1208
1316
  :group_arn,
1209
- :filter_expression)
1317
+ :filter_expression,
1318
+ :insights_configuration)
1210
1319
  SENSITIVE = []
1211
1320
  include Aws::Structure
1212
1321
  end
@@ -1266,6 +1375,36 @@ module Aws::XRay
1266
1375
  include Aws::Structure
1267
1376
  end
1268
1377
 
1378
+ # The structure containing configurations related to insights.
1379
+ #
1380
+ # @note When making an API call, you may pass InsightsConfiguration
1381
+ # data as a hash:
1382
+ #
1383
+ # {
1384
+ # insights_enabled: false,
1385
+ # notifications_enabled: false,
1386
+ # }
1387
+ #
1388
+ # @!attribute [rw] insights_enabled
1389
+ # Set the InsightsEnabled value to true to enable insights or false to
1390
+ # disable insights.
1391
+ # @return [Boolean]
1392
+ #
1393
+ # @!attribute [rw] notifications_enabled
1394
+ # Set the NotificationsEnabled value to true to enable insights
1395
+ # notifications. Notifications can only be enabled on a group with
1396
+ # InsightsEnabled set to true.
1397
+ # @return [Boolean]
1398
+ #
1399
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/InsightsConfiguration AWS API Documentation
1400
+ #
1401
+ class InsightsConfiguration < Struct.new(
1402
+ :insights_enabled,
1403
+ :notifications_enabled)
1404
+ SENSITIVE = []
1405
+ include Aws::Structure
1406
+ end
1407
+
1269
1408
  # A list of EC2 instance IDs corresponding to the segments in a trace.
1270
1409
  #
1271
1410
  # @!attribute [rw] id
@@ -1293,6 +1432,53 @@ module Aws::XRay
1293
1432
  include Aws::Structure
1294
1433
  end
1295
1434
 
1435
+ # @note When making an API call, you may pass ListTagsForResourceRequest
1436
+ # data as a hash:
1437
+ #
1438
+ # {
1439
+ # resource_arn: "AmazonResourceName", # required
1440
+ # next_token: "String",
1441
+ # }
1442
+ #
1443
+ # @!attribute [rw] resource_arn
1444
+ # The Amazon Resource Number (ARN) of an X-Ray group or sampling rule.
1445
+ # @return [String]
1446
+ #
1447
+ # @!attribute [rw] next_token
1448
+ # A pagination token. If multiple pages of results are returned, use
1449
+ # the `NextToken` value returned with the current page of results as
1450
+ # the value of this parameter to get the next page of results.
1451
+ # @return [String]
1452
+ #
1453
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/ListTagsForResourceRequest AWS API Documentation
1454
+ #
1455
+ class ListTagsForResourceRequest < Struct.new(
1456
+ :resource_arn,
1457
+ :next_token)
1458
+ SENSITIVE = []
1459
+ include Aws::Structure
1460
+ end
1461
+
1462
+ # @!attribute [rw] tags
1463
+ # A list of tags, as key and value pairs, that is associated with the
1464
+ # specified X-Ray group or sampling rule.
1465
+ # @return [Array<Types::Tag>]
1466
+ #
1467
+ # @!attribute [rw] next_token
1468
+ # A pagination token. If multiple pages of results are returned, use
1469
+ # the `NextToken` value returned with the current page of results to
1470
+ # get the next page of results.
1471
+ # @return [String]
1472
+ #
1473
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/ListTagsForResourceResponse AWS API Documentation
1474
+ #
1475
+ class ListTagsForResourceResponse < Struct.new(
1476
+ :tags,
1477
+ :next_token)
1478
+ SENSITIVE = []
1479
+ include Aws::Structure
1480
+ end
1481
+
1296
1482
  # @note When making an API call, you may pass PutEncryptionConfigRequest
1297
1483
  # data as a hash:
1298
1484
  #
@@ -1444,6 +1630,24 @@ module Aws::XRay
1444
1630
  include Aws::Structure
1445
1631
  end
1446
1632
 
1633
+ # The resource was not found. Verify that the name or Amazon Resource
1634
+ # Name (ARN) of the resource is correct.
1635
+ #
1636
+ # @!attribute [rw] message
1637
+ # @return [String]
1638
+ #
1639
+ # @!attribute [rw] resource_name
1640
+ # @return [String]
1641
+ #
1642
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/ResourceNotFoundException AWS API Documentation
1643
+ #
1644
+ class ResourceNotFoundException < Struct.new(
1645
+ :message,
1646
+ :resource_name)
1647
+ SENSITIVE = []
1648
+ include Aws::Structure
1649
+ end
1650
+
1447
1651
  # The root cause information for a response time warning.
1448
1652
  #
1449
1653
  # @!attribute [rw] services
@@ -1472,7 +1676,7 @@ module Aws::XRay
1472
1676
  # @return [String]
1473
1677
  #
1474
1678
  # @!attribute [rw] coverage
1475
- # The types and messages of the exceptions.
1679
+ # The type and messages of the exceptions.
1476
1680
  # @return [Float]
1477
1681
  #
1478
1682
  # @!attribute [rw] remote
@@ -1788,7 +1992,7 @@ module Aws::XRay
1788
1992
  end
1789
1993
 
1790
1994
  # Aggregated request sampling data for a sampling rule across all
1791
- # services for a 10 second window.
1995
+ # services for a 10-second window.
1792
1996
  #
1793
1997
  # @!attribute [rw] rule_name
1794
1998
  # The name of the sampling rule.
@@ -1917,7 +2121,8 @@ module Aws::XRay
1917
2121
  # @return [Float]
1918
2122
  #
1919
2123
  # @!attribute [rw] reservoir_quota
1920
- # The number of requests per second that X-Ray allocated this service.
2124
+ # The number of requests per second that X-Ray allocated for this
2125
+ # service.
1921
2126
  # @return [Integer]
1922
2127
  #
1923
2128
  # @!attribute [rw] reservoir_quota_ttl
@@ -1971,8 +2176,8 @@ module Aws::XRay
1971
2176
  end
1972
2177
 
1973
2178
  # Information about an application that processed requests, users that
1974
- # made requests, or downstream services, resources and applications that
1975
- # an application used.
2179
+ # made requests, or downstream services, resources, and applications
2180
+ # that an application used.
1976
2181
  #
1977
2182
  # @!attribute [rw] reference_id
1978
2183
  # Identifier for the service. Unique within the service map.
@@ -1999,7 +2204,7 @@ module Aws::XRay
1999
2204
  # The type of service.
2000
2205
  #
2001
2206
  # * AWS Resource - The type of an AWS resource. For example,
2002
- # `AWS::EC2::Instance` for a application running on Amazon EC2 or
2207
+ # `AWS::EC2::Instance` for an application running on Amazon EC2 or
2003
2208
  # `AWS::DynamoDB::Table` for an Amazon DynamoDB table that the
2004
2209
  # application used.
2005
2210
  #
@@ -2121,6 +2326,111 @@ module Aws::XRay
2121
2326
  include Aws::Structure
2122
2327
  end
2123
2328
 
2329
+ # A map that contains tag keys and tag values to attach to an AWS X-Ray
2330
+ # group or sampling rule. For more information about ways to use tags,
2331
+ # see [Tagging AWS resources][1] in the *AWS General Reference*.
2332
+ #
2333
+ # The following restrictions apply to tags:
2334
+ #
2335
+ # * Maximum number of user-applied tags per resource: 50
2336
+ #
2337
+ # * Tag keys and values are case sensitive.
2338
+ #
2339
+ # * Don't use `aws:` as a prefix for keys; it's reserved for AWS use.
2340
+ # You cannot edit or delete system tags.
2341
+ #
2342
+ #
2343
+ #
2344
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
2345
+ #
2346
+ # @note When making an API call, you may pass Tag
2347
+ # data as a hash:
2348
+ #
2349
+ # {
2350
+ # key: "TagKey", # required
2351
+ # value: "TagValue", # required
2352
+ # }
2353
+ #
2354
+ # @!attribute [rw] key
2355
+ # A tag key, such as `Stage` or `Name`. A tag key cannot be empty. The
2356
+ # key can be a maximum of 128 characters, and can contain only Unicode
2357
+ # letters, numbers, or separators, or the following special
2358
+ # characters: `+ - = . _ : /`
2359
+ # @return [String]
2360
+ #
2361
+ # @!attribute [rw] value
2362
+ # An optional tag value, such as `Production` or `test-only`. The
2363
+ # value can be a maximum of 255 characters, and contain only Unicode
2364
+ # letters, numbers, or separators, or the following special
2365
+ # characters: `+ - = . _ : /`
2366
+ # @return [String]
2367
+ #
2368
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/Tag AWS API Documentation
2369
+ #
2370
+ class Tag < Struct.new(
2371
+ :key,
2372
+ :value)
2373
+ SENSITIVE = []
2374
+ include Aws::Structure
2375
+ end
2376
+
2377
+ # @note When making an API call, you may pass TagResourceRequest
2378
+ # data as a hash:
2379
+ #
2380
+ # {
2381
+ # resource_arn: "AmazonResourceName", # required
2382
+ # tags: [ # required
2383
+ # {
2384
+ # key: "TagKey", # required
2385
+ # value: "TagValue", # required
2386
+ # },
2387
+ # ],
2388
+ # }
2389
+ #
2390
+ # @!attribute [rw] resource_arn
2391
+ # The Amazon Resource Number (ARN) of an X-Ray group or sampling rule.
2392
+ # @return [String]
2393
+ #
2394
+ # @!attribute [rw] tags
2395
+ # A map that contains one or more tag keys and tag values to attach to
2396
+ # an X-Ray group or sampling rule. For more information about ways to
2397
+ # use tags, see [Tagging AWS resources][1] in the *AWS General
2398
+ # Reference*.
2399
+ #
2400
+ # The following restrictions apply to tags:
2401
+ #
2402
+ # * Maximum number of user-applied tags per resource: 50
2403
+ #
2404
+ # * Maximum tag key length: 128 Unicode characters
2405
+ #
2406
+ # * Maximum tag value length: 256 Unicode characters
2407
+ #
2408
+ # * Valid values for key and value: a-z, A-Z, 0-9, space, and the
2409
+ # following characters: \_ . : / = + - and @
2410
+ #
2411
+ # * Tag keys and values are case sensitive.
2412
+ #
2413
+ # * Don't use `aws:` as a prefix for keys; it's reserved for AWS
2414
+ # use. You cannot edit or delete system tags.
2415
+ #
2416
+ #
2417
+ #
2418
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
2419
+ # @return [Array<Types::Tag>]
2420
+ #
2421
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/TagResourceRequest AWS API Documentation
2422
+ #
2423
+ class TagResourceRequest < Struct.new(
2424
+ :resource_arn,
2425
+ :tags)
2426
+ SENSITIVE = []
2427
+ include Aws::Structure
2428
+ end
2429
+
2430
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/TagResourceResponse AWS API Documentation
2431
+ #
2432
+ class TagResourceResponse < Aws::EmptyStructure; end
2433
+
2124
2434
  # @note When making an API call, you may pass TelemetryRecord
2125
2435
  # data as a hash:
2126
2436
  #
@@ -2213,6 +2523,24 @@ module Aws::XRay
2213
2523
  include Aws::Structure
2214
2524
  end
2215
2525
 
2526
+ # You have exceeded the maximum number of tags you can apply to this
2527
+ # resource.
2528
+ #
2529
+ # @!attribute [rw] message
2530
+ # @return [String]
2531
+ #
2532
+ # @!attribute [rw] resource_name
2533
+ # @return [String]
2534
+ #
2535
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/TooManyTagsException AWS API Documentation
2536
+ #
2537
+ class TooManyTagsException < Struct.new(
2538
+ :message,
2539
+ :resource_name)
2540
+ SENSITIVE = []
2541
+ include Aws::Structure
2542
+ end
2543
+
2216
2544
  # A collection of segment documents with matching trace IDs.
2217
2545
  #
2218
2546
  # @!attribute [rw] id
@@ -2225,6 +2553,16 @@ module Aws::XRay
2225
2553
  # segment and the end time of the last segment that completed.
2226
2554
  # @return [Float]
2227
2555
  #
2556
+ # @!attribute [rw] limit_exceeded
2557
+ # LimitExceeded is set to true when the trace has exceeded one of the
2558
+ # defined quotas. For more information about quotas, see [AWS X-Ray
2559
+ # endpoints and quotas][1].
2560
+ #
2561
+ #
2562
+ #
2563
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/xray.html
2564
+ # @return [Boolean]
2565
+ #
2228
2566
  # @!attribute [rw] segments
2229
2567
  # Segment documents for the segments and subsegments that comprise the
2230
2568
  # trace.
@@ -2235,6 +2573,7 @@ module Aws::XRay
2235
2573
  class Trace < Struct.new(
2236
2574
  :id,
2237
2575
  :duration,
2576
+ :limit_exceeded,
2238
2577
  :segments)
2239
2578
  SENSITIVE = []
2240
2579
  include Aws::Structure
@@ -2303,7 +2642,7 @@ module Aws::XRay
2303
2642
  # @return [Array<Types::InstanceIdDetail>]
2304
2643
  #
2305
2644
  # @!attribute [rw] availability_zones
2306
- # A list of availability zones for any zone corresponding to the trace
2645
+ # A list of Availability Zones for any zone corresponding to the trace
2307
2646
  # segments.
2308
2647
  # @return [Array<Types::AvailabilityZoneDetail>]
2309
2648
  #
@@ -2312,8 +2651,8 @@ module Aws::XRay
2312
2651
  # @return [Types::ServiceId]
2313
2652
  #
2314
2653
  # @!attribute [rw] fault_root_causes
2315
- # A collection of FaultRootCause structures corresponding to the the
2316
- # trace segments.
2654
+ # A collection of FaultRootCause structures corresponding to the trace
2655
+ # segments.
2317
2656
  # @return [Array<Types::FaultRootCause>]
2318
2657
  #
2319
2658
  # @!attribute [rw] error_root_causes
@@ -2429,6 +2768,36 @@ module Aws::XRay
2429
2768
  include Aws::Structure
2430
2769
  end
2431
2770
 
2771
+ # @note When making an API call, you may pass UntagResourceRequest
2772
+ # data as a hash:
2773
+ #
2774
+ # {
2775
+ # resource_arn: "AmazonResourceName", # required
2776
+ # tag_keys: ["TagKey"], # required
2777
+ # }
2778
+ #
2779
+ # @!attribute [rw] resource_arn
2780
+ # The Amazon Resource Number (ARN) of an X-Ray group or sampling rule.
2781
+ # @return [String]
2782
+ #
2783
+ # @!attribute [rw] tag_keys
2784
+ # Keys for one or more tags that you want to remove from an X-Ray
2785
+ # group or sampling rule.
2786
+ # @return [Array<String>]
2787
+ #
2788
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/UntagResourceRequest AWS API Documentation
2789
+ #
2790
+ class UntagResourceRequest < Struct.new(
2791
+ :resource_arn,
2792
+ :tag_keys)
2793
+ SENSITIVE = []
2794
+ include Aws::Structure
2795
+ end
2796
+
2797
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/UntagResourceResponse AWS API Documentation
2798
+ #
2799
+ class UntagResourceResponse < Aws::EmptyStructure; end
2800
+
2432
2801
  # @note When making an API call, you may pass UpdateGroupRequest
2433
2802
  # data as a hash:
2434
2803
  #
@@ -2436,6 +2805,10 @@ module Aws::XRay
2436
2805
  # group_name: "GroupName",
2437
2806
  # group_arn: "GroupARN",
2438
2807
  # filter_expression: "FilterExpression",
2808
+ # insights_configuration: {
2809
+ # insights_enabled: false,
2810
+ # notifications_enabled: false,
2811
+ # },
2439
2812
  # }
2440
2813
  #
2441
2814
  # @!attribute [rw] group_name
@@ -2451,20 +2824,33 @@ module Aws::XRay
2451
2824
  # traces.
2452
2825
  # @return [String]
2453
2826
  #
2827
+ # @!attribute [rw] insights_configuration
2828
+ # The structure containing configurations related to insights.
2829
+ #
2830
+ # * The InsightsEnabled boolean can be set to true to enable insights
2831
+ # for the group or false to disable insights for the group.
2832
+ #
2833
+ # * The NotifcationsEnabled boolean can be set to true to enable
2834
+ # insights notifications for the group. Notifications can only be
2835
+ # enabled on a group with InsightsEnabled set to true.
2836
+ # @return [Types::InsightsConfiguration]
2837
+ #
2454
2838
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/UpdateGroupRequest AWS API Documentation
2455
2839
  #
2456
2840
  class UpdateGroupRequest < Struct.new(
2457
2841
  :group_name,
2458
2842
  :group_arn,
2459
- :filter_expression)
2843
+ :filter_expression,
2844
+ :insights_configuration)
2460
2845
  SENSITIVE = []
2461
2846
  include Aws::Structure
2462
2847
  end
2463
2848
 
2464
2849
  # @!attribute [rw] group
2465
2850
  # The group that was updated. Contains the name of the group that was
2466
- # updated, the ARN of the group that was updated, and the updated
2467
- # filter expression assigned to the group.
2851
+ # updated, the ARN of the group that was updated, the updated filter
2852
+ # expression, and the updated insight configuration assigned to the
2853
+ # group.
2468
2854
  # @return [Types::Group]
2469
2855
  #
2470
2856
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/UpdateGroupResult AWS API Documentation