aws-sdk-xray 1.30.0 → 1.31.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 148e67874ae72172fec882d39a03713374f1d4d58fb7a6495db6e6fa897ff7ed
4
- data.tar.gz: 9cc7515f5d69b5697cbd04f03caa70ac3993ea75a83eaac0dc033c13f824843f
3
+ metadata.gz: b9c0d6b30d70d6dcaefb746f1a6d85df64e41f48da28f4cf1cdc2786bf358102
4
+ data.tar.gz: 1bc745026a09a9b8181132104171ff7fa1bceb8406ce83d1299c847309e800d0
5
5
  SHA512:
6
- metadata.gz: b2bf67c93f7496342d677d288e5dce6d6589f2dcd38007ab965ad756e331954f5e918811a8c2d3058028e961d9ff08351bd01cde3ace0068c092cf076eb0e86a
7
- data.tar.gz: aae18e051156876ae0e544241e1a7ec49c2bb0dcaf53c101aedee3c456e69c06875ece78425c3bc6e8fa2c21c1da8bd9bc7a13c8f6a0d5771802a9be8ceddcb8
6
+ metadata.gz: 8c776fbd24ec59683b7fb646d67be462a73a12ec05fef58c2b29cae46f12c38f757fbd87781fdef381646e193e8cd095763014224ec5244d407e46b1dd696418
7
+ data.tar.gz: 6b31baa1314f1418cdd36a5b7752c9d8c95948ec7eba7d3ee7ed334317a0c3734f6cd3ff18a0b4c186a89ac5e2a944c5b510bc09884c2bff2aa0c8335d5d5c52
@@ -47,6 +47,6 @@ require_relative 'aws-sdk-xray/customizations'
47
47
  # @!group service
48
48
  module Aws::XRay
49
49
 
50
- GEM_VERSION = '1.30.0'
50
+ GEM_VERSION = '1.31.0'
51
51
 
52
52
  end
@@ -382,7 +382,34 @@ module Aws::XRay
382
382
  # @option params [String] :filter_expression
383
383
  # The filter expression defining criteria by which to group traces.
384
384
  #
385
+ # @option params [Types::InsightsConfiguration] :insights_configuration
386
+ # The structure containing configurations related to insights. The
387
+ # InsightsEnabled boolean can be set to true to enable insights for the
388
+ # new group or false to disable insights for the new group.
389
+ #
385
390
  # @option params [Array<Types::Tag>] :tags
391
+ # A map that contains one or more tag keys and tag values to attach to
392
+ # an X-Ray group. For more information about ways to use tags, see
393
+ # [Tagging AWS resources][1] in the *AWS General Reference*.
394
+ #
395
+ # The following restrictions apply to tags:
396
+ #
397
+ # * Maximum number of user-applied tags per resource: 50
398
+ #
399
+ # * Maximum tag key length: 128 Unicode characters
400
+ #
401
+ # * Maximum tag value length: 256 Unicode characters
402
+ #
403
+ # * Valid values for key and value: a-z, A-Z, 0-9, space, and the
404
+ # following characters: \_ . : / = + - and @
405
+ #
406
+ # * Tag keys and values are case sensitive.
407
+ #
408
+ # * Don't use `aws:` as a prefix for keys; it's reserved for AWS use.
409
+ #
410
+ #
411
+ #
412
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
386
413
  #
387
414
  # @return [Types::CreateGroupResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
388
415
  #
@@ -393,6 +420,9 @@ module Aws::XRay
393
420
  # resp = client.create_group({
394
421
  # group_name: "GroupName", # required
395
422
  # filter_expression: "FilterExpression",
423
+ # insights_configuration: {
424
+ # insights_enabled: false,
425
+ # },
396
426
  # tags: [
397
427
  # {
398
428
  # key: "TagKey", # required
@@ -406,6 +436,7 @@ module Aws::XRay
406
436
  # resp.group.group_name #=> String
407
437
  # resp.group.group_arn #=> String
408
438
  # resp.group.filter_expression #=> String
439
+ # resp.group.insights_configuration.insights_enabled #=> Boolean
409
440
  #
410
441
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/CreateGroup AWS API Documentation
411
442
  #
@@ -429,6 +460,28 @@ module Aws::XRay
429
460
  # The rule definition.
430
461
  #
431
462
  # @option params [Array<Types::Tag>] :tags
463
+ # A map that contains one or more tag keys and tag values to attach to
464
+ # an X-Ray sampling rule. For more information about ways to use tags,
465
+ # see [Tagging AWS resources][1] in the *AWS General Reference*.
466
+ #
467
+ # The following restrictions apply to tags:
468
+ #
469
+ # * Maximum number of user-applied tags per resource: 50
470
+ #
471
+ # * Maximum tag key length: 128 Unicode characters
472
+ #
473
+ # * Maximum tag value length: 256 Unicode characters
474
+ #
475
+ # * Valid values for key and value: a-z, A-Z, 0-9, space, and the
476
+ # following characters: \_ . : / = + - and @
477
+ #
478
+ # * Tag keys and values are case sensitive.
479
+ #
480
+ # * Don't use `aws:` as a prefix for keys; it's reserved for AWS use.
481
+ #
482
+ #
483
+ #
484
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
432
485
  #
433
486
  # @return [Types::CreateSamplingRuleResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
434
487
  #
@@ -610,6 +663,7 @@ module Aws::XRay
610
663
  # resp.group.group_name #=> String
611
664
  # resp.group.group_arn #=> String
612
665
  # resp.group.filter_expression #=> String
666
+ # resp.group.insights_configuration.insights_enabled #=> Boolean
613
667
  #
614
668
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetGroup AWS API Documentation
615
669
  #
@@ -644,6 +698,7 @@ module Aws::XRay
644
698
  # resp.groups[0].group_name #=> String
645
699
  # resp.groups[0].group_arn #=> String
646
700
  # resp.groups[0].filter_expression #=> String
701
+ # resp.groups[0].insights_configuration.insights_enabled #=> Boolean
647
702
  # resp.next_token #=> String
648
703
  #
649
704
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetGroups AWS API Documentation
@@ -1242,9 +1297,16 @@ module Aws::XRay
1242
1297
  req.send_request(options)
1243
1298
  end
1244
1299
 
1300
+ # Returns a list of tags that are applied to the specified AWS X-Ray
1301
+ # group or sampling rule.
1302
+ #
1245
1303
  # @option params [required, String] :resource_arn
1304
+ # The Amazon Resource Number (ARN) of an X-Ray group or sampling rule.
1246
1305
  #
1247
1306
  # @option params [String] :next_token
1307
+ # A pagination token. If multiple pages of results are returned, use the
1308
+ # `NextToken` value returned with the current page of results as the
1309
+ # value of this parameter to get the next page of results.
1248
1310
  #
1249
1311
  # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1250
1312
  #
@@ -1451,9 +1513,36 @@ module Aws::XRay
1451
1513
  req.send_request(options)
1452
1514
  end
1453
1515
 
1516
+ # Applies tags to an existing AWS X-Ray group or sampling rule.
1517
+ #
1454
1518
  # @option params [required, String] :resource_arn
1519
+ # The Amazon Resource Number (ARN) of an X-Ray group or sampling rule.
1455
1520
  #
1456
1521
  # @option params [required, Array<Types::Tag>] :tags
1522
+ # A map that contains one or more tag keys and tag values to attach to
1523
+ # an X-Ray group or sampling rule. For more information about ways to
1524
+ # use tags, see [Tagging AWS resources][1] in the *AWS General
1525
+ # Reference*.
1526
+ #
1527
+ # The following restrictions apply to tags:
1528
+ #
1529
+ # * Maximum number of user-applied tags per resource: 50
1530
+ #
1531
+ # * Maximum tag key length: 128 Unicode characters
1532
+ #
1533
+ # * Maximum tag value length: 256 Unicode characters
1534
+ #
1535
+ # * Valid values for key and value: a-z, A-Z, 0-9, space, and the
1536
+ # following characters: \_ . : / = + - and @
1537
+ #
1538
+ # * Tag keys and values are case sensitive.
1539
+ #
1540
+ # * Don't use `aws:` as a prefix for keys; it's reserved for AWS use.
1541
+ # You cannot edit or delete system tags.
1542
+ #
1543
+ #
1544
+ #
1545
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
1457
1546
  #
1458
1547
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1459
1548
  #
@@ -1478,9 +1567,15 @@ module Aws::XRay
1478
1567
  req.send_request(options)
1479
1568
  end
1480
1569
 
1570
+ # Removes tags from an AWS X-Ray group or sampling rule. You cannot edit
1571
+ # or delete system tags (those with an `aws:` prefix).
1572
+ #
1481
1573
  # @option params [required, String] :resource_arn
1574
+ # The Amazon Resource Number (ARN) of an X-Ray group or sampling rule.
1482
1575
  #
1483
1576
  # @option params [required, Array<String>] :tag_keys
1577
+ # Keys for one or more tags that you want to remove from an X-Ray group
1578
+ # or sampling rule.
1484
1579
  #
1485
1580
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1486
1581
  #
@@ -1512,6 +1607,11 @@ module Aws::XRay
1512
1607
  # The updated filter expression defining criteria by which to group
1513
1608
  # traces.
1514
1609
  #
1610
+ # @option params [Types::InsightsConfiguration] :insights_configuration
1611
+ # The structure containing configurations related to insights. The
1612
+ # InsightsEnabled boolean can be set to true to enable insights for the
1613
+ # group or false to disable insights for the group.
1614
+ #
1515
1615
  # @return [Types::UpdateGroupResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1516
1616
  #
1517
1617
  # * {Types::UpdateGroupResult#group #group} => Types::Group
@@ -1522,6 +1622,9 @@ module Aws::XRay
1522
1622
  # group_name: "GroupName",
1523
1623
  # group_arn: "GroupARN",
1524
1624
  # filter_expression: "FilterExpression",
1625
+ # insights_configuration: {
1626
+ # insights_enabled: false,
1627
+ # },
1525
1628
  # })
1526
1629
  #
1527
1630
  # @example Response structure
@@ -1529,6 +1632,7 @@ module Aws::XRay
1529
1632
  # resp.group.group_name #=> String
1530
1633
  # resp.group.group_arn #=> String
1531
1634
  # resp.group.filter_expression #=> String
1635
+ # resp.group.insights_configuration.insights_enabled #=> Boolean
1532
1636
  #
1533
1637
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/UpdateGroup AWS API Documentation
1534
1638
  #
@@ -1610,7 +1714,7 @@ module Aws::XRay
1610
1714
  params: params,
1611
1715
  config: config)
1612
1716
  context[:gem_name] = 'aws-sdk-xray'
1613
- context[:gem_version] = '1.30.0'
1717
+ context[:gem_version] = '1.31.0'
1614
1718
  Seahorse::Client::Request.new(handlers, context)
1615
1719
  end
1616
1720
 
@@ -97,6 +97,7 @@ module Aws::XRay
97
97
  Host = Shapes::StringShape.new(name: 'Host')
98
98
  Hostname = Shapes::StringShape.new(name: 'Hostname')
99
99
  Http = Shapes::StructureShape.new(name: 'Http')
100
+ InsightsConfiguration = Shapes::StructureShape.new(name: 'InsightsConfiguration')
100
101
  InstanceIdDetail = Shapes::StructureShape.new(name: 'InstanceIdDetail')
101
102
  Integer = Shapes::IntegerShape.new(name: 'Integer')
102
103
  InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
@@ -240,6 +241,7 @@ module Aws::XRay
240
241
 
241
242
  CreateGroupRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupName, required: true, location_name: "GroupName"))
242
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"))
243
245
  CreateGroupRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
244
246
  CreateGroupRequest.struct_class = Types::CreateGroupRequest
245
247
 
@@ -438,11 +440,13 @@ module Aws::XRay
438
440
  Group.add_member(:group_name, Shapes::ShapeRef.new(shape: String, location_name: "GroupName"))
439
441
  Group.add_member(:group_arn, Shapes::ShapeRef.new(shape: String, location_name: "GroupARN"))
440
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"))
441
444
  Group.struct_class = Types::Group
442
445
 
443
446
  GroupSummary.add_member(:group_name, Shapes::ShapeRef.new(shape: String, location_name: "GroupName"))
444
447
  GroupSummary.add_member(:group_arn, Shapes::ShapeRef.new(shape: String, location_name: "GroupARN"))
445
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"))
446
450
  GroupSummary.struct_class = Types::GroupSummary
447
451
 
448
452
  GroupSummaryList.member = Shapes::ShapeRef.new(shape: GroupSummary)
@@ -460,6 +464,9 @@ module Aws::XRay
460
464
  Http.add_member(:client_ip, Shapes::ShapeRef.new(shape: String, location_name: "ClientIp"))
461
465
  Http.struct_class = Types::Http
462
466
 
467
+ InsightsConfiguration.add_member(:insights_enabled, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "InsightsEnabled"))
468
+ InsightsConfiguration.struct_class = Types::InsightsConfiguration
469
+
463
470
  InstanceIdDetail.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "Id"))
464
471
  InstanceIdDetail.struct_class = Types::InstanceIdDetail
465
472
 
@@ -753,6 +760,7 @@ module Aws::XRay
753
760
  UpdateGroupRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupName, location_name: "GroupName"))
754
761
  UpdateGroupRequest.add_member(:group_arn, Shapes::ShapeRef.new(shape: GroupARN, location_name: "GroupARN"))
755
762
  UpdateGroupRequest.add_member(:filter_expression, Shapes::ShapeRef.new(shape: FilterExpression, location_name: "FilterExpression"))
763
+ UpdateGroupRequest.add_member(:insights_configuration, Shapes::ShapeRef.new(shape: InsightsConfiguration, location_name: "InsightsConfiguration"))
756
764
  UpdateGroupRequest.struct_class = Types::UpdateGroupRequest
757
765
 
758
766
  UpdateGroupResult.add_member(:group, Shapes::ShapeRef.new(shape: Group, location_name: "Group"))
@@ -169,6 +169,9 @@ module Aws::XRay
169
169
  # {
170
170
  # group_name: "GroupName", # required
171
171
  # filter_expression: "FilterExpression",
172
+ # insights_configuration: {
173
+ # insights_enabled: false,
174
+ # },
172
175
  # tags: [
173
176
  # {
174
177
  # key: "TagKey", # required
@@ -186,7 +189,36 @@ module Aws::XRay
186
189
  # The filter expression defining criteria by which to group traces.
187
190
  # @return [String]
188
191
  #
192
+ # @!attribute [rw] insights_configuration
193
+ # The structure containing configurations related to insights. The
194
+ # InsightsEnabled boolean can be set to true to enable insights for
195
+ # the new group or false to disable insights for the new group.
196
+ # @return [Types::InsightsConfiguration]
197
+ #
189
198
  # @!attribute [rw] tags
199
+ # A map that contains one or more tag keys and tag values to attach to
200
+ # an X-Ray group. For more information about ways to use tags, see
201
+ # [Tagging AWS resources][1] in the *AWS General Reference*.
202
+ #
203
+ # The following restrictions apply to tags:
204
+ #
205
+ # * Maximum number of user-applied tags per resource: 50
206
+ #
207
+ # * Maximum tag key length: 128 Unicode characters
208
+ #
209
+ # * Maximum tag value length: 256 Unicode characters
210
+ #
211
+ # * Valid values for key and value: a-z, A-Z, 0-9, space, and the
212
+ # following characters: \_ . : / = + - and @
213
+ #
214
+ # * Tag keys and values are case sensitive.
215
+ #
216
+ # * Don't use `aws:` as a prefix for keys; it's reserved for AWS
217
+ # use.
218
+ #
219
+ #
220
+ #
221
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
190
222
  # @return [Array<Types::Tag>]
191
223
  #
192
224
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/CreateGroupRequest AWS API Documentation
@@ -194,6 +226,7 @@ module Aws::XRay
194
226
  class CreateGroupRequest < Struct.new(
195
227
  :group_name,
196
228
  :filter_expression,
229
+ :insights_configuration,
197
230
  :tags)
198
231
  SENSITIVE = []
199
232
  include Aws::Structure
@@ -202,7 +235,8 @@ module Aws::XRay
202
235
  # @!attribute [rw] group
203
236
  # The group that was created. Contains the name of the group that was
204
237
  # created, the ARN of the group that was generated based on the group
205
- # name, and the filter expression that was assigned to the group.
238
+ # name, the filter expression, and the insight configuration that was
239
+ # assigned to the group.
206
240
  # @return [Types::Group]
207
241
  #
208
242
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/CreateGroupResult AWS API Documentation
@@ -247,6 +281,29 @@ module Aws::XRay
247
281
  # @return [Types::SamplingRule]
248
282
  #
249
283
  # @!attribute [rw] tags
284
+ # A map that contains one or more tag keys and tag values to attach to
285
+ # an X-Ray sampling rule. For more information about ways to use tags,
286
+ # see [Tagging AWS resources][1] in the *AWS General Reference*.
287
+ #
288
+ # The following restrictions apply to tags:
289
+ #
290
+ # * Maximum number of user-applied tags per resource: 50
291
+ #
292
+ # * Maximum tag key length: 128 Unicode characters
293
+ #
294
+ # * Maximum tag value length: 256 Unicode characters
295
+ #
296
+ # * Valid values for key and value: a-z, A-Z, 0-9, space, and the
297
+ # following characters: \_ . : / = + - and @
298
+ #
299
+ # * Tag keys and values are case sensitive.
300
+ #
301
+ # * Don't use `aws:` as a prefix for keys; it's reserved for AWS
302
+ # use.
303
+ #
304
+ #
305
+ #
306
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
250
307
  # @return [Array<Types::Tag>]
251
308
  #
252
309
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/CreateSamplingRuleRequest AWS API Documentation
@@ -1197,12 +1254,19 @@ module Aws::XRay
1197
1254
  # The filter expression defining the parameters to include traces.
1198
1255
  # @return [String]
1199
1256
  #
1257
+ # @!attribute [rw] insights_configuration
1258
+ # The structure containing configurations related to insights. The
1259
+ # InsightsEnabled boolean can be set to true to enable insights for
1260
+ # the group or false to disable insights for the group.
1261
+ # @return [Types::InsightsConfiguration]
1262
+ #
1200
1263
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/Group AWS API Documentation
1201
1264
  #
1202
1265
  class Group < Struct.new(
1203
1266
  :group_name,
1204
1267
  :group_arn,
1205
- :filter_expression)
1268
+ :filter_expression,
1269
+ :insights_configuration)
1206
1270
  SENSITIVE = []
1207
1271
  include Aws::Structure
1208
1272
  end
@@ -1221,12 +1285,19 @@ module Aws::XRay
1221
1285
  # The filter expression defining the parameters to include traces.
1222
1286
  # @return [String]
1223
1287
  #
1288
+ # @!attribute [rw] insights_configuration
1289
+ # The structure containing configurations related to insights. The
1290
+ # InsightsEnabled boolean can be set to true to enable insights for
1291
+ # the groups or false to disable insights for the groups.
1292
+ # @return [Types::InsightsConfiguration]
1293
+ #
1224
1294
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GroupSummary AWS API Documentation
1225
1295
  #
1226
1296
  class GroupSummary < Struct.new(
1227
1297
  :group_name,
1228
1298
  :group_arn,
1229
- :filter_expression)
1299
+ :filter_expression,
1300
+ :insights_configuration)
1230
1301
  SENSITIVE = []
1231
1302
  include Aws::Structure
1232
1303
  end
@@ -1286,6 +1357,28 @@ module Aws::XRay
1286
1357
  include Aws::Structure
1287
1358
  end
1288
1359
 
1360
+ # The structure containing configurations related to insights.
1361
+ #
1362
+ # @note When making an API call, you may pass InsightsConfiguration
1363
+ # data as a hash:
1364
+ #
1365
+ # {
1366
+ # insights_enabled: false,
1367
+ # }
1368
+ #
1369
+ # @!attribute [rw] insights_enabled
1370
+ # Set the InsightsEnabled value to true to enable insights or false to
1371
+ # disable insights.
1372
+ # @return [Boolean]
1373
+ #
1374
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/InsightsConfiguration AWS API Documentation
1375
+ #
1376
+ class InsightsConfiguration < Struct.new(
1377
+ :insights_enabled)
1378
+ SENSITIVE = []
1379
+ include Aws::Structure
1380
+ end
1381
+
1289
1382
  # A list of EC2 instance IDs corresponding to the segments in a trace.
1290
1383
  #
1291
1384
  # @!attribute [rw] id
@@ -1322,9 +1415,13 @@ module Aws::XRay
1322
1415
  # }
1323
1416
  #
1324
1417
  # @!attribute [rw] resource_arn
1418
+ # The Amazon Resource Number (ARN) of an X-Ray group or sampling rule.
1325
1419
  # @return [String]
1326
1420
  #
1327
1421
  # @!attribute [rw] next_token
1422
+ # A pagination token. If multiple pages of results are returned, use
1423
+ # the `NextToken` value returned with the current page of results as
1424
+ # the value of this parameter to get the next page of results.
1328
1425
  # @return [String]
1329
1426
  #
1330
1427
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/ListTagsForResourceRequest AWS API Documentation
@@ -1337,9 +1434,14 @@ module Aws::XRay
1337
1434
  end
1338
1435
 
1339
1436
  # @!attribute [rw] tags
1437
+ # A list of tags, as key and value pairs, that is associated with the
1438
+ # specified X-Ray group or sampling rule.
1340
1439
  # @return [Array<Types::Tag>]
1341
1440
  #
1342
1441
  # @!attribute [rw] next_token
1442
+ # A pagination token. If multiple pages of results are returned, use
1443
+ # the `NextToken` value returned with the current page of results to
1444
+ # get the next page of results.
1343
1445
  # @return [String]
1344
1446
  #
1345
1447
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/ListTagsForResourceResponse AWS API Documentation
@@ -1502,6 +1604,9 @@ module Aws::XRay
1502
1604
  include Aws::Structure
1503
1605
  end
1504
1606
 
1607
+ # The resource was not found. Verify that the name or ARN of the
1608
+ # resource is correct.
1609
+ #
1505
1610
  # @!attribute [rw] message
1506
1611
  # @return [String]
1507
1612
  #
@@ -2194,6 +2299,23 @@ module Aws::XRay
2194
2299
  include Aws::Structure
2195
2300
  end
2196
2301
 
2302
+ # A map that contains tag keys and tag values to attach to an AWS X-Ray
2303
+ # group or sampling rule. For more information about ways to use tags,
2304
+ # see [Tagging AWS resources][1] in the *AWS General Reference*.
2305
+ #
2306
+ # The following restrictions apply to tags:
2307
+ #
2308
+ # * Maximum number of user-applied tags per resource: 50
2309
+ #
2310
+ # * Tag keys and values are case sensitive.
2311
+ #
2312
+ # * Don't use `aws:` as a prefix for keys; it's reserved for AWS use.
2313
+ # You cannot edit or delete system tags.
2314
+ #
2315
+ #
2316
+ #
2317
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
2318
+ #
2197
2319
  # @note When making an API call, you may pass Tag
2198
2320
  # data as a hash:
2199
2321
  #
@@ -2203,9 +2325,17 @@ module Aws::XRay
2203
2325
  # }
2204
2326
  #
2205
2327
  # @!attribute [rw] key
2328
+ # A tag key, such as `Stage` or `Name`. A tag key cannot be empty. The
2329
+ # key can be a maximum of 128 characters, and can contain only Unicode
2330
+ # letters, numbers, or separators, or the following special
2331
+ # characters: `+ - = . _ : /`
2206
2332
  # @return [String]
2207
2333
  #
2208
2334
  # @!attribute [rw] value
2335
+ # An optional tag value, such as `Production` or `test-only`. The
2336
+ # value can be a maximum of 255 characters, and contain only Unicode
2337
+ # letters, numbers, or separators, or the following special
2338
+ # characters: `+ - = . _ : /`
2209
2339
  # @return [String]
2210
2340
  #
2211
2341
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/Tag AWS API Documentation
@@ -2231,9 +2361,34 @@ module Aws::XRay
2231
2361
  # }
2232
2362
  #
2233
2363
  # @!attribute [rw] resource_arn
2364
+ # The Amazon Resource Number (ARN) of an X-Ray group or sampling rule.
2234
2365
  # @return [String]
2235
2366
  #
2236
2367
  # @!attribute [rw] tags
2368
+ # A map that contains one or more tag keys and tag values to attach to
2369
+ # an X-Ray group or sampling rule. For more information about ways to
2370
+ # use tags, see [Tagging AWS resources][1] in the *AWS General
2371
+ # Reference*.
2372
+ #
2373
+ # The following restrictions apply to tags:
2374
+ #
2375
+ # * Maximum number of user-applied tags per resource: 50
2376
+ #
2377
+ # * Maximum tag key length: 128 Unicode characters
2378
+ #
2379
+ # * Maximum tag value length: 256 Unicode characters
2380
+ #
2381
+ # * Valid values for key and value: a-z, A-Z, 0-9, space, and the
2382
+ # following characters: \_ . : / = + - and @
2383
+ #
2384
+ # * Tag keys and values are case sensitive.
2385
+ #
2386
+ # * Don't use `aws:` as a prefix for keys; it's reserved for AWS
2387
+ # use. You cannot edit or delete system tags.
2388
+ #
2389
+ #
2390
+ #
2391
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
2237
2392
  # @return [Array<Types::Tag>]
2238
2393
  #
2239
2394
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/TagResourceRequest AWS API Documentation
@@ -2341,6 +2496,9 @@ module Aws::XRay
2341
2496
  include Aws::Structure
2342
2497
  end
2343
2498
 
2499
+ # You have exceeded the maximum number of tags you can apply to this
2500
+ # resource.
2501
+ #
2344
2502
  # @!attribute [rw] message
2345
2503
  # @return [String]
2346
2504
  #
@@ -2581,9 +2739,12 @@ module Aws::XRay
2581
2739
  # }
2582
2740
  #
2583
2741
  # @!attribute [rw] resource_arn
2742
+ # The Amazon Resource Number (ARN) of an X-Ray group or sampling rule.
2584
2743
  # @return [String]
2585
2744
  #
2586
2745
  # @!attribute [rw] tag_keys
2746
+ # Keys for one or more tags that you want to remove from an X-Ray
2747
+ # group or sampling rule.
2587
2748
  # @return [Array<String>]
2588
2749
  #
2589
2750
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/UntagResourceRequest AWS API Documentation
@@ -2606,6 +2767,9 @@ module Aws::XRay
2606
2767
  # group_name: "GroupName",
2607
2768
  # group_arn: "GroupARN",
2608
2769
  # filter_expression: "FilterExpression",
2770
+ # insights_configuration: {
2771
+ # insights_enabled: false,
2772
+ # },
2609
2773
  # }
2610
2774
  #
2611
2775
  # @!attribute [rw] group_name
@@ -2621,20 +2785,28 @@ module Aws::XRay
2621
2785
  # traces.
2622
2786
  # @return [String]
2623
2787
  #
2788
+ # @!attribute [rw] insights_configuration
2789
+ # The structure containing configurations related to insights. The
2790
+ # InsightsEnabled boolean can be set to true to enable insights for
2791
+ # the group or false to disable insights for the group.
2792
+ # @return [Types::InsightsConfiguration]
2793
+ #
2624
2794
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/UpdateGroupRequest AWS API Documentation
2625
2795
  #
2626
2796
  class UpdateGroupRequest < Struct.new(
2627
2797
  :group_name,
2628
2798
  :group_arn,
2629
- :filter_expression)
2799
+ :filter_expression,
2800
+ :insights_configuration)
2630
2801
  SENSITIVE = []
2631
2802
  include Aws::Structure
2632
2803
  end
2633
2804
 
2634
2805
  # @!attribute [rw] group
2635
2806
  # The group that was updated. Contains the name of the group that was
2636
- # updated, the ARN of the group that was updated, and the updated
2637
- # filter expression assigned to the group.
2807
+ # updated, the ARN of the group that was updated, the updated filter
2808
+ # expression, and the updated insight configuration assigned to the
2809
+ # group.
2638
2810
  # @return [Types::Group]
2639
2811
  #
2640
2812
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/UpdateGroupResult AWS API Documentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-xray
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.30.0
4
+ version: 1.31.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-25 00:00:00.000000000 Z
11
+ date: 2020-09-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core