aws-sdk-xray 1.26.0 → 1.32.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-xray.rb +5 -2
- data/lib/aws-sdk-xray/client.rb +229 -9
- 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: df453301bf1b2cb34ea25f1a0ec7a8dcc5f21331127600b1da8ea92dade5984c
|
4
|
+
data.tar.gz: f74152b8a41ba3739054ee2ed00c08b9875c4a3bfa4042e33b3f2fad60ab5d30
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c8e24b999f14412d68fd4230e5443cb456f76c9225532f488338ec210590c48578a87477357520e42d21713f79ea1f298c6499c18ad1578270aac090bbf42ad
|
7
|
+
data.tar.gz: f8e962e7d588013a9ffd2c950aae16581d2b7407db0974573dfab3997c05e8290de19db0971fb25c76eb27a953c0a18f90b6f8cf9b4ac828ecee44899083b04c
|
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.32.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:
|
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
26
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
30
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
31
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
29
32
|
|
@@ -69,6 +72,7 @@ module Aws::XRay
|
|
69
72
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
70
73
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
71
74
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
72
76
|
add_plugin(Aws::Plugins::SignatureV4)
|
73
77
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
74
78
|
|
@@ -81,13 +85,28 @@ module Aws::XRay
|
|
81
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
82
86
|
# credentials.
|
83
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
|
+
#
|
84
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
85
103
|
# from an EC2 IMDS on an EC2 instance.
|
86
104
|
#
|
87
|
-
# * `Aws::
|
88
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
89
107
|
#
|
90
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
91
110
|
#
|
92
111
|
# When `:credentials` are not configured directly, the following
|
93
112
|
# locations will be searched for credentials:
|
@@ -97,10 +116,10 @@ module Aws::XRay
|
|
97
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
98
117
|
# * `~/.aws/credentials`
|
99
118
|
# * `~/.aws/config`
|
100
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
101
|
-
# very aggressive. Construct and pass an instance of
|
102
|
-
# `Aws::InstanceProfileCredentails`
|
103
|
-
# 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.
|
104
123
|
#
|
105
124
|
# @option options [required, String] :region
|
106
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -161,7 +180,7 @@ module Aws::XRay
|
|
161
180
|
# @option options [String] :endpoint
|
162
181
|
# The client endpoint is normally constructed from the `:region`
|
163
182
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be a valid HTTP(S) URI.
|
183
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
165
184
|
#
|
166
185
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
186
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -363,6 +382,35 @@ module Aws::XRay
|
|
363
382
|
# @option params [String] :filter_expression
|
364
383
|
# The filter expression defining criteria by which to group traces.
|
365
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
|
+
#
|
366
414
|
# @return [Types::CreateGroupResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
367
415
|
#
|
368
416
|
# * {Types::CreateGroupResult#group #group} => Types::Group
|
@@ -372,6 +420,15 @@ module Aws::XRay
|
|
372
420
|
# resp = client.create_group({
|
373
421
|
# group_name: "GroupName", # required
|
374
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
|
+
# ],
|
375
432
|
# })
|
376
433
|
#
|
377
434
|
# @example Response structure
|
@@ -379,6 +436,7 @@ module Aws::XRay
|
|
379
436
|
# resp.group.group_name #=> String
|
380
437
|
# resp.group.group_arn #=> String
|
381
438
|
# resp.group.filter_expression #=> String
|
439
|
+
# resp.group.insights_configuration.insights_enabled #=> Boolean
|
382
440
|
#
|
383
441
|
# @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/CreateGroup AWS API Documentation
|
384
442
|
#
|
@@ -401,6 +459,30 @@ module Aws::XRay
|
|
401
459
|
# @option params [required, Types::SamplingRule] :sampling_rule
|
402
460
|
# The rule definition.
|
403
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
|
+
#
|
404
486
|
# @return [Types::CreateSamplingRuleResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
405
487
|
#
|
406
488
|
# * {Types::CreateSamplingRuleResult#sampling_rule_record #sampling_rule_record} => Types::SamplingRuleRecord
|
@@ -425,6 +507,12 @@ module Aws::XRay
|
|
425
507
|
# "AttributeKey" => "AttributeValue",
|
426
508
|
# },
|
427
509
|
# },
|
510
|
+
# tags: [
|
511
|
+
# {
|
512
|
+
# key: "TagKey", # required
|
513
|
+
# value: "TagValue", # required
|
514
|
+
# },
|
515
|
+
# ],
|
428
516
|
# })
|
429
517
|
#
|
430
518
|
# @example Response structure
|
@@ -575,6 +663,7 @@ module Aws::XRay
|
|
575
663
|
# resp.group.group_name #=> String
|
576
664
|
# resp.group.group_arn #=> String
|
577
665
|
# resp.group.filter_expression #=> String
|
666
|
+
# resp.group.insights_configuration.insights_enabled #=> Boolean
|
578
667
|
#
|
579
668
|
# @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetGroup AWS API Documentation
|
580
669
|
#
|
@@ -609,6 +698,7 @@ module Aws::XRay
|
|
609
698
|
# resp.groups[0].group_name #=> String
|
610
699
|
# resp.groups[0].group_arn #=> String
|
611
700
|
# resp.groups[0].filter_expression #=> String
|
701
|
+
# resp.groups[0].insights_configuration.insights_enabled #=> Boolean
|
612
702
|
# resp.next_token #=> String
|
613
703
|
#
|
614
704
|
# @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetGroups AWS API Documentation
|
@@ -1207,6 +1297,45 @@ module Aws::XRay
|
|
1207
1297
|
req.send_request(options)
|
1208
1298
|
end
|
1209
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
|
+
|
1210
1339
|
# Updates the encryption configuration for X-Ray data.
|
1211
1340
|
#
|
1212
1341
|
# @option params [String] :key_id
|
@@ -1384,6 +1513,88 @@ module Aws::XRay
|
|
1384
1513
|
req.send_request(options)
|
1385
1514
|
end
|
1386
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
|
+
|
1387
1598
|
# Updates a group resource.
|
1388
1599
|
#
|
1389
1600
|
# @option params [String] :group_name
|
@@ -1396,6 +1607,11 @@ module Aws::XRay
|
|
1396
1607
|
# The updated filter expression defining criteria by which to group
|
1397
1608
|
# traces.
|
1398
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
|
+
#
|
1399
1615
|
# @return [Types::UpdateGroupResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1400
1616
|
#
|
1401
1617
|
# * {Types::UpdateGroupResult#group #group} => Types::Group
|
@@ -1406,6 +1622,9 @@ module Aws::XRay
|
|
1406
1622
|
# group_name: "GroupName",
|
1407
1623
|
# group_arn: "GroupARN",
|
1408
1624
|
# filter_expression: "FilterExpression",
|
1625
|
+
# insights_configuration: {
|
1626
|
+
# insights_enabled: false,
|
1627
|
+
# },
|
1409
1628
|
# })
|
1410
1629
|
#
|
1411
1630
|
# @example Response structure
|
@@ -1413,6 +1632,7 @@ module Aws::XRay
|
|
1413
1632
|
# resp.group.group_name #=> String
|
1414
1633
|
# resp.group.group_arn #=> String
|
1415
1634
|
# resp.group.filter_expression #=> String
|
1635
|
+
# resp.group.insights_configuration.insights_enabled #=> Boolean
|
1416
1636
|
#
|
1417
1637
|
# @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/UpdateGroup AWS API Documentation
|
1418
1638
|
#
|
@@ -1494,7 +1714,7 @@ module Aws::XRay
|
|
1494
1714
|
params: params,
|
1495
1715
|
config: config)
|
1496
1716
|
context[:gem_name] = 'aws-sdk-xray'
|
1497
|
-
context[:gem_version] = '1.
|
1717
|
+
context[:gem_version] = '1.32.0'
|
1498
1718
|
Seahorse::Client::Request.new(handlers, context)
|
1499
1719
|
end
|
1500
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"
|