aws-sdk-xray 1.27.1 → 1.33.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.
- checksums.yaml +4 -4
- data/lib/aws-sdk-xray.rb +5 -2
- data/lib/aws-sdk-xray/client.rb +226 -8
- data/lib/aws-sdk-xray/client_api.rb +96 -0
- data/lib/aws-sdk-xray/errors.rb +44 -0
- data/lib/aws-sdk-xray/resource.rb +2 -0
- data/lib/aws-sdk-xray/types.rb +436 -8
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ebba8f1051d572baf59542ca288fc9015455e459c71d356ee0dc494aa918cc7
|
4
|
+
data.tar.gz: 817588d72be2005e8f2e3952346d8edab5adb8699b2b47f50c012c88c2399355
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 894370f442dbf90dd2115dfadb7b67f4e445208f575a23f7c91c36a2056b5b09048ddadfda53c240a71f367d89ac4c297a9376e6f5c10a04300ac8344a22b9e8
|
7
|
+
data.tar.gz: 0ce607b4212224c2b47722c8026529aa5aa81bbdad057cd84acd80d689255230f616f3d6575b6a2f1fda9155d5f7f61c4e8a7aecfccf5c8d501ef1d96cdc4ce0
|
data/lib/aws-sdk-xray.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -5,6 +7,7 @@
|
|
5
7
|
#
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
10
|
+
|
8
11
|
require 'aws-sdk-core'
|
9
12
|
require 'aws-sigv4'
|
10
13
|
|
@@ -42,9 +45,9 @@ require_relative 'aws-sdk-xray/customizations'
|
|
42
45
|
#
|
43
46
|
# See {Errors} for more information.
|
44
47
|
#
|
45
|
-
#
|
48
|
+
# @!group service
|
46
49
|
module Aws::XRay
|
47
50
|
|
48
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.33.0'
|
49
52
|
|
50
53
|
end
|
data/lib/aws-sdk-xray/client.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -83,13 +85,28 @@ module Aws::XRay
|
|
83
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
84
86
|
# credentials.
|
85
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
86
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
87
103
|
# from an EC2 IMDS on an EC2 instance.
|
88
104
|
#
|
89
|
-
# * `Aws::
|
90
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
91
107
|
#
|
92
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
93
110
|
#
|
94
111
|
# When `:credentials` are not configured directly, the following
|
95
112
|
# locations will be searched for credentials:
|
@@ -99,10 +116,10 @@ module Aws::XRay
|
|
99
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
100
117
|
# * `~/.aws/credentials`
|
101
118
|
# * `~/.aws/config`
|
102
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
103
|
-
# very aggressive. Construct and pass an instance of
|
104
|
-
# `Aws::InstanceProfileCredentails`
|
105
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
106
123
|
#
|
107
124
|
# @option options [required, String] :region
|
108
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -365,6 +382,35 @@ module Aws::XRay
|
|
365
382
|
# @option params [String] :filter_expression
|
366
383
|
# The filter expression defining criteria by which to group traces.
|
367
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
|
+
#
|
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
|
413
|
+
#
|
368
414
|
# @return [Types::CreateGroupResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
369
415
|
#
|
370
416
|
# * {Types::CreateGroupResult#group #group} => Types::Group
|
@@ -374,6 +420,15 @@ module Aws::XRay
|
|
374
420
|
# resp = client.create_group({
|
375
421
|
# group_name: "GroupName", # required
|
376
422
|
# filter_expression: "FilterExpression",
|
423
|
+
# insights_configuration: {
|
424
|
+
# insights_enabled: false,
|
425
|
+
# },
|
426
|
+
# tags: [
|
427
|
+
# {
|
428
|
+
# key: "TagKey", # required
|
429
|
+
# value: "TagValue", # required
|
430
|
+
# },
|
431
|
+
# ],
|
377
432
|
# })
|
378
433
|
#
|
379
434
|
# @example Response structure
|
@@ -381,6 +436,7 @@ module Aws::XRay
|
|
381
436
|
# resp.group.group_name #=> String
|
382
437
|
# resp.group.group_arn #=> String
|
383
438
|
# resp.group.filter_expression #=> String
|
439
|
+
# resp.group.insights_configuration.insights_enabled #=> Boolean
|
384
440
|
#
|
385
441
|
# @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/CreateGroup AWS API Documentation
|
386
442
|
#
|
@@ -403,6 +459,30 @@ module Aws::XRay
|
|
403
459
|
# @option params [required, Types::SamplingRule] :sampling_rule
|
404
460
|
# The rule definition.
|
405
461
|
#
|
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
|
485
|
+
#
|
406
486
|
# @return [Types::CreateSamplingRuleResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
407
487
|
#
|
408
488
|
# * {Types::CreateSamplingRuleResult#sampling_rule_record #sampling_rule_record} => Types::SamplingRuleRecord
|
@@ -427,6 +507,12 @@ module Aws::XRay
|
|
427
507
|
# "AttributeKey" => "AttributeValue",
|
428
508
|
# },
|
429
509
|
# },
|
510
|
+
# tags: [
|
511
|
+
# {
|
512
|
+
# key: "TagKey", # required
|
513
|
+
# value: "TagValue", # required
|
514
|
+
# },
|
515
|
+
# ],
|
430
516
|
# })
|
431
517
|
#
|
432
518
|
# @example Response structure
|
@@ -577,6 +663,7 @@ module Aws::XRay
|
|
577
663
|
# resp.group.group_name #=> String
|
578
664
|
# resp.group.group_arn #=> String
|
579
665
|
# resp.group.filter_expression #=> String
|
666
|
+
# resp.group.insights_configuration.insights_enabled #=> Boolean
|
580
667
|
#
|
581
668
|
# @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetGroup AWS API Documentation
|
582
669
|
#
|
@@ -611,6 +698,7 @@ module Aws::XRay
|
|
611
698
|
# resp.groups[0].group_name #=> String
|
612
699
|
# resp.groups[0].group_arn #=> String
|
613
700
|
# resp.groups[0].filter_expression #=> String
|
701
|
+
# resp.groups[0].insights_configuration.insights_enabled #=> Boolean
|
614
702
|
# resp.next_token #=> String
|
615
703
|
#
|
616
704
|
# @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetGroups AWS API Documentation
|
@@ -1209,6 +1297,45 @@ module Aws::XRay
|
|
1209
1297
|
req.send_request(options)
|
1210
1298
|
end
|
1211
1299
|
|
1300
|
+
# Returns a list of tags that are applied to the specified AWS X-Ray
|
1301
|
+
# group or sampling rule.
|
1302
|
+
#
|
1303
|
+
# @option params [required, String] :resource_arn
|
1304
|
+
# The Amazon Resource Number (ARN) of an X-Ray group or sampling rule.
|
1305
|
+
#
|
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.
|
1310
|
+
#
|
1311
|
+
# @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1312
|
+
#
|
1313
|
+
# * {Types::ListTagsForResourceResponse#tags #tags} => Array<Types::Tag>
|
1314
|
+
# * {Types::ListTagsForResourceResponse#next_token #next_token} => String
|
1315
|
+
#
|
1316
|
+
# @example Request syntax with placeholder values
|
1317
|
+
#
|
1318
|
+
# resp = client.list_tags_for_resource({
|
1319
|
+
# resource_arn: "AmazonResourceName", # required
|
1320
|
+
# next_token: "String",
|
1321
|
+
# })
|
1322
|
+
#
|
1323
|
+
# @example Response structure
|
1324
|
+
#
|
1325
|
+
# resp.tags #=> Array
|
1326
|
+
# resp.tags[0].key #=> String
|
1327
|
+
# resp.tags[0].value #=> String
|
1328
|
+
# resp.next_token #=> String
|
1329
|
+
#
|
1330
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/ListTagsForResource AWS API Documentation
|
1331
|
+
#
|
1332
|
+
# @overload list_tags_for_resource(params = {})
|
1333
|
+
# @param [Hash] params ({})
|
1334
|
+
def list_tags_for_resource(params = {}, options = {})
|
1335
|
+
req = build_request(:list_tags_for_resource, params)
|
1336
|
+
req.send_request(options)
|
1337
|
+
end
|
1338
|
+
|
1212
1339
|
# Updates the encryption configuration for X-Ray data.
|
1213
1340
|
#
|
1214
1341
|
# @option params [String] :key_id
|
@@ -1386,6 +1513,88 @@ module Aws::XRay
|
|
1386
1513
|
req.send_request(options)
|
1387
1514
|
end
|
1388
1515
|
|
1516
|
+
# Applies tags to an existing AWS X-Ray group or sampling rule.
|
1517
|
+
#
|
1518
|
+
# @option params [required, String] :resource_arn
|
1519
|
+
# The Amazon Resource Number (ARN) of an X-Ray group or sampling rule.
|
1520
|
+
#
|
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
|
1546
|
+
#
|
1547
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1548
|
+
#
|
1549
|
+
# @example Request syntax with placeholder values
|
1550
|
+
#
|
1551
|
+
# resp = client.tag_resource({
|
1552
|
+
# resource_arn: "AmazonResourceName", # required
|
1553
|
+
# tags: [ # required
|
1554
|
+
# {
|
1555
|
+
# key: "TagKey", # required
|
1556
|
+
# value: "TagValue", # required
|
1557
|
+
# },
|
1558
|
+
# ],
|
1559
|
+
# })
|
1560
|
+
#
|
1561
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/TagResource AWS API Documentation
|
1562
|
+
#
|
1563
|
+
# @overload tag_resource(params = {})
|
1564
|
+
# @param [Hash] params ({})
|
1565
|
+
def tag_resource(params = {}, options = {})
|
1566
|
+
req = build_request(:tag_resource, params)
|
1567
|
+
req.send_request(options)
|
1568
|
+
end
|
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
|
+
#
|
1573
|
+
# @option params [required, String] :resource_arn
|
1574
|
+
# The Amazon Resource Number (ARN) of an X-Ray group or sampling rule.
|
1575
|
+
#
|
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.
|
1579
|
+
#
|
1580
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1581
|
+
#
|
1582
|
+
# @example Request syntax with placeholder values
|
1583
|
+
#
|
1584
|
+
# resp = client.untag_resource({
|
1585
|
+
# resource_arn: "AmazonResourceName", # required
|
1586
|
+
# tag_keys: ["TagKey"], # required
|
1587
|
+
# })
|
1588
|
+
#
|
1589
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/UntagResource AWS API Documentation
|
1590
|
+
#
|
1591
|
+
# @overload untag_resource(params = {})
|
1592
|
+
# @param [Hash] params ({})
|
1593
|
+
def untag_resource(params = {}, options = {})
|
1594
|
+
req = build_request(:untag_resource, params)
|
1595
|
+
req.send_request(options)
|
1596
|
+
end
|
1597
|
+
|
1389
1598
|
# Updates a group resource.
|
1390
1599
|
#
|
1391
1600
|
# @option params [String] :group_name
|
@@ -1398,6 +1607,11 @@ module Aws::XRay
|
|
1398
1607
|
# The updated filter expression defining criteria by which to group
|
1399
1608
|
# traces.
|
1400
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
|
+
#
|
1401
1615
|
# @return [Types::UpdateGroupResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1402
1616
|
#
|
1403
1617
|
# * {Types::UpdateGroupResult#group #group} => Types::Group
|
@@ -1408,6 +1622,9 @@ module Aws::XRay
|
|
1408
1622
|
# group_name: "GroupName",
|
1409
1623
|
# group_arn: "GroupARN",
|
1410
1624
|
# filter_expression: "FilterExpression",
|
1625
|
+
# insights_configuration: {
|
1626
|
+
# insights_enabled: false,
|
1627
|
+
# },
|
1411
1628
|
# })
|
1412
1629
|
#
|
1413
1630
|
# @example Response structure
|
@@ -1415,6 +1632,7 @@ module Aws::XRay
|
|
1415
1632
|
# resp.group.group_name #=> String
|
1416
1633
|
# resp.group.group_arn #=> String
|
1417
1634
|
# resp.group.filter_expression #=> String
|
1635
|
+
# resp.group.insights_configuration.insights_enabled #=> Boolean
|
1418
1636
|
#
|
1419
1637
|
# @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/UpdateGroup AWS API Documentation
|
1420
1638
|
#
|
@@ -1496,7 +1714,7 @@ module Aws::XRay
|
|
1496
1714
|
params: params,
|
1497
1715
|
config: config)
|
1498
1716
|
context[:gem_name] = 'aws-sdk-xray'
|
1499
|
-
context[:gem_version] = '1.
|
1717
|
+
context[:gem_version] = '1.33.0'
|
1500
1718
|
Seahorse::Client::Request.new(handlers, context)
|
1501
1719
|
end
|
1502
1720
|
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -14,6 +16,7 @@ module Aws::XRay
|
|
14
16
|
Alias = Shapes::StructureShape.new(name: 'Alias')
|
15
17
|
AliasList = Shapes::ListShape.new(name: 'AliasList')
|
16
18
|
AliasNames = Shapes::ListShape.new(name: 'AliasNames')
|
19
|
+
AmazonResourceName = Shapes::StringShape.new(name: 'AmazonResourceName')
|
17
20
|
AnnotationKey = Shapes::StringShape.new(name: 'AnnotationKey')
|
18
21
|
AnnotationValue = Shapes::StructureShape.new(name: 'AnnotationValue')
|
19
22
|
Annotations = Shapes::MapShape.new(name: 'Annotations')
|
@@ -94,9 +97,12 @@ module Aws::XRay
|
|
94
97
|
Host = Shapes::StringShape.new(name: 'Host')
|
95
98
|
Hostname = Shapes::StringShape.new(name: 'Hostname')
|
96
99
|
Http = Shapes::StructureShape.new(name: 'Http')
|
100
|
+
InsightsConfiguration = Shapes::StructureShape.new(name: 'InsightsConfiguration')
|
97
101
|
InstanceIdDetail = Shapes::StructureShape.new(name: 'InstanceIdDetail')
|
98
102
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
99
103
|
InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
|
104
|
+
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
105
|
+
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
100
106
|
NullableBoolean = Shapes::BooleanShape.new(name: 'NullableBoolean')
|
101
107
|
NullableDouble = Shapes::FloatShape.new(name: 'NullableDouble')
|
102
108
|
NullableInteger = Shapes::IntegerShape.new(name: 'NullableInteger')
|
@@ -112,6 +118,7 @@ module Aws::XRay
|
|
112
118
|
ReservoirSize = Shapes::IntegerShape.new(name: 'ReservoirSize')
|
113
119
|
ResourceARN = Shapes::StringShape.new(name: 'ResourceARN')
|
114
120
|
ResourceARNDetail = Shapes::StructureShape.new(name: 'ResourceARNDetail')
|
121
|
+
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
115
122
|
ResponseTimeRootCause = Shapes::StructureShape.new(name: 'ResponseTimeRootCause')
|
116
123
|
ResponseTimeRootCauseEntity = Shapes::StructureShape.new(name: 'ResponseTimeRootCauseEntity')
|
117
124
|
ResponseTimeRootCauseEntityPath = Shapes::ListShape.new(name: 'ResponseTimeRootCauseEntityPath')
|
@@ -148,6 +155,13 @@ module Aws::XRay
|
|
148
155
|
ServiceStatistics = Shapes::StructureShape.new(name: 'ServiceStatistics')
|
149
156
|
ServiceType = Shapes::StringShape.new(name: 'ServiceType')
|
150
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')
|
151
165
|
TelemetryRecord = Shapes::StructureShape.new(name: 'TelemetryRecord')
|
152
166
|
TelemetryRecordList = Shapes::ListShape.new(name: 'TelemetryRecordList')
|
153
167
|
ThrottledException = Shapes::StructureShape.new(name: 'ThrottledException')
|
@@ -155,6 +169,7 @@ module Aws::XRay
|
|
155
169
|
TimeSeriesServiceStatistics = Shapes::StructureShape.new(name: 'TimeSeriesServiceStatistics')
|
156
170
|
TimeSeriesServiceStatisticsList = Shapes::ListShape.new(name: 'TimeSeriesServiceStatisticsList')
|
157
171
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
172
|
+
TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
|
158
173
|
Trace = Shapes::StructureShape.new(name: 'Trace')
|
159
174
|
TraceAvailabilityZones = Shapes::ListShape.new(name: 'TraceAvailabilityZones')
|
160
175
|
TraceId = Shapes::StringShape.new(name: 'TraceId')
|
@@ -174,6 +189,8 @@ module Aws::XRay
|
|
174
189
|
UnprocessedTraceIdList = Shapes::ListShape.new(name: 'UnprocessedTraceIdList')
|
175
190
|
UnprocessedTraceSegment = Shapes::StructureShape.new(name: 'UnprocessedTraceSegment')
|
176
191
|
UnprocessedTraceSegmentList = Shapes::ListShape.new(name: 'UnprocessedTraceSegmentList')
|
192
|
+
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
193
|
+
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
177
194
|
UpdateGroupRequest = Shapes::StructureShape.new(name: 'UpdateGroupRequest')
|
178
195
|
UpdateGroupResult = Shapes::StructureShape.new(name: 'UpdateGroupResult')
|
179
196
|
UpdateSamplingRuleRequest = Shapes::StructureShape.new(name: 'UpdateSamplingRuleRequest')
|
@@ -224,12 +241,15 @@ module Aws::XRay
|
|
224
241
|
|
225
242
|
CreateGroupRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupName, required: true, location_name: "GroupName"))
|
226
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"))
|
227
246
|
CreateGroupRequest.struct_class = Types::CreateGroupRequest
|
228
247
|
|
229
248
|
CreateGroupResult.add_member(:group, Shapes::ShapeRef.new(shape: Group, location_name: "Group"))
|
230
249
|
CreateGroupResult.struct_class = Types::CreateGroupResult
|
231
250
|
|
232
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"))
|
233
253
|
CreateSamplingRuleRequest.struct_class = Types::CreateSamplingRuleRequest
|
234
254
|
|
235
255
|
CreateSamplingRuleResult.add_member(:sampling_rule_record, Shapes::ShapeRef.new(shape: SamplingRuleRecord, location_name: "SamplingRuleRecord"))
|
@@ -420,11 +440,13 @@ module Aws::XRay
|
|
420
440
|
Group.add_member(:group_name, Shapes::ShapeRef.new(shape: String, location_name: "GroupName"))
|
421
441
|
Group.add_member(:group_arn, Shapes::ShapeRef.new(shape: String, location_name: "GroupARN"))
|
422
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"))
|
423
444
|
Group.struct_class = Types::Group
|
424
445
|
|
425
446
|
GroupSummary.add_member(:group_name, Shapes::ShapeRef.new(shape: String, location_name: "GroupName"))
|
426
447
|
GroupSummary.add_member(:group_arn, Shapes::ShapeRef.new(shape: String, location_name: "GroupARN"))
|
427
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"))
|
428
450
|
GroupSummary.struct_class = Types::GroupSummary
|
429
451
|
|
430
452
|
GroupSummaryList.member = Shapes::ShapeRef.new(shape: GroupSummary)
|
@@ -442,12 +464,23 @@ module Aws::XRay
|
|
442
464
|
Http.add_member(:client_ip, Shapes::ShapeRef.new(shape: String, location_name: "ClientIp"))
|
443
465
|
Http.struct_class = Types::Http
|
444
466
|
|
467
|
+
InsightsConfiguration.add_member(:insights_enabled, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "InsightsEnabled"))
|
468
|
+
InsightsConfiguration.struct_class = Types::InsightsConfiguration
|
469
|
+
|
445
470
|
InstanceIdDetail.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "Id"))
|
446
471
|
InstanceIdDetail.struct_class = Types::InstanceIdDetail
|
447
472
|
|
448
473
|
InvalidRequestException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
449
474
|
InvalidRequestException.struct_class = Types::InvalidRequestException
|
450
475
|
|
476
|
+
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceARN"))
|
477
|
+
ListTagsForResourceRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
478
|
+
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
479
|
+
|
480
|
+
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
481
|
+
ListTagsForResourceResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
482
|
+
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
483
|
+
|
451
484
|
PutEncryptionConfigRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: EncryptionKeyId, location_name: "KeyId"))
|
452
485
|
PutEncryptionConfigRequest.add_member(:type, Shapes::ShapeRef.new(shape: EncryptionType, required: true, location_name: "Type"))
|
453
486
|
PutEncryptionConfigRequest.struct_class = Types::PutEncryptionConfigRequest
|
@@ -472,6 +505,10 @@ module Aws::XRay
|
|
472
505
|
ResourceARNDetail.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "ARN"))
|
473
506
|
ResourceARNDetail.struct_class = Types::ResourceARNDetail
|
474
507
|
|
508
|
+
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
509
|
+
ResourceNotFoundException.add_member(:resource_name, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "ResourceName"))
|
510
|
+
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
511
|
+
|
475
512
|
ResponseTimeRootCause.add_member(:services, Shapes::ShapeRef.new(shape: ResponseTimeRootCauseServices, location_name: "Services"))
|
476
513
|
ResponseTimeRootCause.add_member(:client_impacting, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "ClientImpacting"))
|
477
514
|
ResponseTimeRootCause.struct_class = Types::ResponseTimeRootCause
|
@@ -612,6 +649,20 @@ module Aws::XRay
|
|
612
649
|
ServiceStatistics.add_member(:total_response_time, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "TotalResponseTime"))
|
613
650
|
ServiceStatistics.struct_class = Types::ServiceStatistics
|
614
651
|
|
652
|
+
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
|
653
|
+
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
|
654
|
+
Tag.struct_class = Types::Tag
|
655
|
+
|
656
|
+
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
657
|
+
|
658
|
+
TagList.member = Shapes::ShapeRef.new(shape: Tag)
|
659
|
+
|
660
|
+
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceARN"))
|
661
|
+
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
|
662
|
+
TagResourceRequest.struct_class = Types::TagResourceRequest
|
663
|
+
|
664
|
+
TagResourceResponse.struct_class = Types::TagResourceResponse
|
665
|
+
|
615
666
|
TelemetryRecord.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "Timestamp"))
|
616
667
|
TelemetryRecord.add_member(:segments_received_count, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "SegmentsReceivedCount"))
|
617
668
|
TelemetryRecord.add_member(:segments_sent_count, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "SegmentsSentCount"))
|
@@ -633,6 +684,10 @@ module Aws::XRay
|
|
633
684
|
|
634
685
|
TimeSeriesServiceStatisticsList.member = Shapes::ShapeRef.new(shape: TimeSeriesServiceStatistics)
|
635
686
|
|
687
|
+
TooManyTagsException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
688
|
+
TooManyTagsException.add_member(:resource_name, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "ResourceName"))
|
689
|
+
TooManyTagsException.struct_class = Types::TooManyTagsException
|
690
|
+
|
636
691
|
Trace.add_member(:id, Shapes::ShapeRef.new(shape: TraceId, location_name: "Id"))
|
637
692
|
Trace.add_member(:duration, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "Duration"))
|
638
693
|
Trace.add_member(:segments, Shapes::ShapeRef.new(shape: SegmentList, location_name: "Segments"))
|
@@ -696,9 +751,16 @@ module Aws::XRay
|
|
696
751
|
|
697
752
|
UnprocessedTraceSegmentList.member = Shapes::ShapeRef.new(shape: UnprocessedTraceSegment)
|
698
753
|
|
754
|
+
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceARN"))
|
755
|
+
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "TagKeys"))
|
756
|
+
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
757
|
+
|
758
|
+
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
759
|
+
|
699
760
|
UpdateGroupRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupName, location_name: "GroupName"))
|
700
761
|
UpdateGroupRequest.add_member(:group_arn, Shapes::ShapeRef.new(shape: GroupARN, location_name: "GroupARN"))
|
701
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"))
|
702
764
|
UpdateGroupRequest.struct_class = Types::UpdateGroupRequest
|
703
765
|
|
704
766
|
UpdateGroupResult.add_member(:group, Shapes::ShapeRef.new(shape: Group, location_name: "Group"))
|
@@ -923,6 +985,17 @@ module Aws::XRay
|
|
923
985
|
)
|
924
986
|
end)
|
925
987
|
|
988
|
+
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
989
|
+
o.name = "ListTagsForResource"
|
990
|
+
o.http_method = "POST"
|
991
|
+
o.http_request_uri = "/ListTagsForResource"
|
992
|
+
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
|
993
|
+
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
994
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
995
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
996
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
997
|
+
end)
|
998
|
+
|
926
999
|
api.add_operation(:put_encryption_config, Seahorse::Model::Operation.new.tap do |o|
|
927
1000
|
o.name = "PutEncryptionConfig"
|
928
1001
|
o.http_method = "POST"
|
@@ -953,6 +1026,29 @@ module Aws::XRay
|
|
953
1026
|
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
954
1027
|
end)
|
955
1028
|
|
1029
|
+
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
1030
|
+
o.name = "TagResource"
|
1031
|
+
o.http_method = "POST"
|
1032
|
+
o.http_request_uri = "/TagResource"
|
1033
|
+
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
1034
|
+
o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
|
1035
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1036
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
1037
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1038
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
|
1039
|
+
end)
|
1040
|
+
|
1041
|
+
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
1042
|
+
o.name = "UntagResource"
|
1043
|
+
o.http_method = "POST"
|
1044
|
+
o.http_request_uri = "/UntagResource"
|
1045
|
+
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
1046
|
+
o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
|
1047
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1048
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
1049
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1050
|
+
end)
|
1051
|
+
|
956
1052
|
api.add_operation(:update_group, Seahorse::Model::Operation.new.tap do |o|
|
957
1053
|
o.name = "UpdateGroup"
|
958
1054
|
o.http_method = "POST"
|