aws-sdk-xray 1.24.0 → 1.30.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 +5 -5
- data/lib/aws-sdk-xray.rb +4 -2
- data/lib/aws-sdk-xray/client.rb +127 -11
- data/lib/aws-sdk-xray/client_api.rb +88 -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 +258 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 148e67874ae72172fec882d39a03713374f1d4d58fb7a6495db6e6fa897ff7ed
|
4
|
+
data.tar.gz: 9cc7515f5d69b5697cbd04f03caa70ac3993ea75a83eaac0dc033c13f824843f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2bf67c93f7496342d677d288e5dce6d6589f2dcd38007ab965ad756e331954f5e918811a8c2d3058028e961d9ff08351bd01cde3ace0068c092cf076eb0e86a
|
7
|
+
data.tar.gz: aae18e051156876ae0e544241e1a7ec49c2bb0dcaf53c101aedee3c456e69c06875ece78425c3bc6e8fa2c21c1da8bd9bc7a13c8f6a0d5771802a9be8ceddcb8
|
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:
|
@@ -42,9 +44,9 @@ require_relative 'aws-sdk-xray/customizations'
|
|
42
44
|
#
|
43
45
|
# See {Errors} for more information.
|
44
46
|
#
|
45
|
-
#
|
47
|
+
# @!group service
|
46
48
|
module Aws::XRay
|
47
49
|
|
48
|
-
GEM_VERSION = '1.
|
50
|
+
GEM_VERSION = '1.30.0'
|
49
51
|
|
50
52
|
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,15 +116,15 @@ 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
|
107
126
|
# used to determine the service `:endpoint`. When not passed,
|
108
|
-
# a default `:region` is
|
127
|
+
# a default `:region` is searched for in the following locations:
|
109
128
|
#
|
110
129
|
# * `Aws.config[:region]`
|
111
130
|
# * `ENV['AWS_REGION']`
|
@@ -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
|
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
|
@@ -176,7 +195,7 @@ module Aws::XRay
|
|
176
195
|
# requests fetching endpoints information. Defaults to 60 sec.
|
177
196
|
#
|
178
197
|
# @option options [Boolean] :endpoint_discovery (false)
|
179
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
198
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
180
199
|
#
|
181
200
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
182
201
|
# The log formatter.
|
@@ -363,6 +382,8 @@ 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 [Array<Types::Tag>] :tags
|
386
|
+
#
|
366
387
|
# @return [Types::CreateGroupResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
367
388
|
#
|
368
389
|
# * {Types::CreateGroupResult#group #group} => Types::Group
|
@@ -372,6 +393,12 @@ module Aws::XRay
|
|
372
393
|
# resp = client.create_group({
|
373
394
|
# group_name: "GroupName", # required
|
374
395
|
# filter_expression: "FilterExpression",
|
396
|
+
# tags: [
|
397
|
+
# {
|
398
|
+
# key: "TagKey", # required
|
399
|
+
# value: "TagValue", # required
|
400
|
+
# },
|
401
|
+
# ],
|
375
402
|
# })
|
376
403
|
#
|
377
404
|
# @example Response structure
|
@@ -401,6 +428,8 @@ module Aws::XRay
|
|
401
428
|
# @option params [required, Types::SamplingRule] :sampling_rule
|
402
429
|
# The rule definition.
|
403
430
|
#
|
431
|
+
# @option params [Array<Types::Tag>] :tags
|
432
|
+
#
|
404
433
|
# @return [Types::CreateSamplingRuleResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
405
434
|
#
|
406
435
|
# * {Types::CreateSamplingRuleResult#sampling_rule_record #sampling_rule_record} => Types::SamplingRuleRecord
|
@@ -425,6 +454,12 @@ module Aws::XRay
|
|
425
454
|
# "AttributeKey" => "AttributeValue",
|
426
455
|
# },
|
427
456
|
# },
|
457
|
+
# tags: [
|
458
|
+
# {
|
459
|
+
# key: "TagKey", # required
|
460
|
+
# value: "TagValue", # required
|
461
|
+
# },
|
462
|
+
# ],
|
428
463
|
# })
|
429
464
|
#
|
430
465
|
# @example Response structure
|
@@ -1207,6 +1242,38 @@ module Aws::XRay
|
|
1207
1242
|
req.send_request(options)
|
1208
1243
|
end
|
1209
1244
|
|
1245
|
+
# @option params [required, String] :resource_arn
|
1246
|
+
#
|
1247
|
+
# @option params [String] :next_token
|
1248
|
+
#
|
1249
|
+
# @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1250
|
+
#
|
1251
|
+
# * {Types::ListTagsForResourceResponse#tags #tags} => Array<Types::Tag>
|
1252
|
+
# * {Types::ListTagsForResourceResponse#next_token #next_token} => String
|
1253
|
+
#
|
1254
|
+
# @example Request syntax with placeholder values
|
1255
|
+
#
|
1256
|
+
# resp = client.list_tags_for_resource({
|
1257
|
+
# resource_arn: "AmazonResourceName", # required
|
1258
|
+
# next_token: "String",
|
1259
|
+
# })
|
1260
|
+
#
|
1261
|
+
# @example Response structure
|
1262
|
+
#
|
1263
|
+
# resp.tags #=> Array
|
1264
|
+
# resp.tags[0].key #=> String
|
1265
|
+
# resp.tags[0].value #=> String
|
1266
|
+
# resp.next_token #=> String
|
1267
|
+
#
|
1268
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/ListTagsForResource AWS API Documentation
|
1269
|
+
#
|
1270
|
+
# @overload list_tags_for_resource(params = {})
|
1271
|
+
# @param [Hash] params ({})
|
1272
|
+
def list_tags_for_resource(params = {}, options = {})
|
1273
|
+
req = build_request(:list_tags_for_resource, params)
|
1274
|
+
req.send_request(options)
|
1275
|
+
end
|
1276
|
+
|
1210
1277
|
# Updates the encryption configuration for X-Ray data.
|
1211
1278
|
#
|
1212
1279
|
# @option params [String] :key_id
|
@@ -1384,6 +1451,55 @@ module Aws::XRay
|
|
1384
1451
|
req.send_request(options)
|
1385
1452
|
end
|
1386
1453
|
|
1454
|
+
# @option params [required, String] :resource_arn
|
1455
|
+
#
|
1456
|
+
# @option params [required, Array<Types::Tag>] :tags
|
1457
|
+
#
|
1458
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1459
|
+
#
|
1460
|
+
# @example Request syntax with placeholder values
|
1461
|
+
#
|
1462
|
+
# resp = client.tag_resource({
|
1463
|
+
# resource_arn: "AmazonResourceName", # required
|
1464
|
+
# tags: [ # required
|
1465
|
+
# {
|
1466
|
+
# key: "TagKey", # required
|
1467
|
+
# value: "TagValue", # required
|
1468
|
+
# },
|
1469
|
+
# ],
|
1470
|
+
# })
|
1471
|
+
#
|
1472
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/TagResource AWS API Documentation
|
1473
|
+
#
|
1474
|
+
# @overload tag_resource(params = {})
|
1475
|
+
# @param [Hash] params ({})
|
1476
|
+
def tag_resource(params = {}, options = {})
|
1477
|
+
req = build_request(:tag_resource, params)
|
1478
|
+
req.send_request(options)
|
1479
|
+
end
|
1480
|
+
|
1481
|
+
# @option params [required, String] :resource_arn
|
1482
|
+
#
|
1483
|
+
# @option params [required, Array<String>] :tag_keys
|
1484
|
+
#
|
1485
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1486
|
+
#
|
1487
|
+
# @example Request syntax with placeholder values
|
1488
|
+
#
|
1489
|
+
# resp = client.untag_resource({
|
1490
|
+
# resource_arn: "AmazonResourceName", # required
|
1491
|
+
# tag_keys: ["TagKey"], # required
|
1492
|
+
# })
|
1493
|
+
#
|
1494
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/UntagResource AWS API Documentation
|
1495
|
+
#
|
1496
|
+
# @overload untag_resource(params = {})
|
1497
|
+
# @param [Hash] params ({})
|
1498
|
+
def untag_resource(params = {}, options = {})
|
1499
|
+
req = build_request(:untag_resource, params)
|
1500
|
+
req.send_request(options)
|
1501
|
+
end
|
1502
|
+
|
1387
1503
|
# Updates a group resource.
|
1388
1504
|
#
|
1389
1505
|
# @option params [String] :group_name
|
@@ -1494,7 +1610,7 @@ module Aws::XRay
|
|
1494
1610
|
params: params,
|
1495
1611
|
config: config)
|
1496
1612
|
context[:gem_name] = 'aws-sdk-xray'
|
1497
|
-
context[:gem_version] = '1.
|
1613
|
+
context[:gem_version] = '1.30.0'
|
1498
1614
|
Seahorse::Client::Request.new(handlers, context)
|
1499
1615
|
end
|
1500
1616
|
|
@@ -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')
|
@@ -97,6 +100,8 @@ module Aws::XRay
|
|
97
100
|
InstanceIdDetail = Shapes::StructureShape.new(name: 'InstanceIdDetail')
|
98
101
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
99
102
|
InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
|
103
|
+
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
104
|
+
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
100
105
|
NullableBoolean = Shapes::BooleanShape.new(name: 'NullableBoolean')
|
101
106
|
NullableDouble = Shapes::FloatShape.new(name: 'NullableDouble')
|
102
107
|
NullableInteger = Shapes::IntegerShape.new(name: 'NullableInteger')
|
@@ -112,6 +117,7 @@ module Aws::XRay
|
|
112
117
|
ReservoirSize = Shapes::IntegerShape.new(name: 'ReservoirSize')
|
113
118
|
ResourceARN = Shapes::StringShape.new(name: 'ResourceARN')
|
114
119
|
ResourceARNDetail = Shapes::StructureShape.new(name: 'ResourceARNDetail')
|
120
|
+
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
115
121
|
ResponseTimeRootCause = Shapes::StructureShape.new(name: 'ResponseTimeRootCause')
|
116
122
|
ResponseTimeRootCauseEntity = Shapes::StructureShape.new(name: 'ResponseTimeRootCauseEntity')
|
117
123
|
ResponseTimeRootCauseEntityPath = Shapes::ListShape.new(name: 'ResponseTimeRootCauseEntityPath')
|
@@ -148,6 +154,13 @@ module Aws::XRay
|
|
148
154
|
ServiceStatistics = Shapes::StructureShape.new(name: 'ServiceStatistics')
|
149
155
|
ServiceType = Shapes::StringShape.new(name: 'ServiceType')
|
150
156
|
String = Shapes::StringShape.new(name: 'String')
|
157
|
+
Tag = Shapes::StructureShape.new(name: 'Tag')
|
158
|
+
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
159
|
+
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
160
|
+
TagList = Shapes::ListShape.new(name: 'TagList')
|
161
|
+
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
162
|
+
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
163
|
+
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
151
164
|
TelemetryRecord = Shapes::StructureShape.new(name: 'TelemetryRecord')
|
152
165
|
TelemetryRecordList = Shapes::ListShape.new(name: 'TelemetryRecordList')
|
153
166
|
ThrottledException = Shapes::StructureShape.new(name: 'ThrottledException')
|
@@ -155,6 +168,7 @@ module Aws::XRay
|
|
155
168
|
TimeSeriesServiceStatistics = Shapes::StructureShape.new(name: 'TimeSeriesServiceStatistics')
|
156
169
|
TimeSeriesServiceStatisticsList = Shapes::ListShape.new(name: 'TimeSeriesServiceStatisticsList')
|
157
170
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
171
|
+
TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
|
158
172
|
Trace = Shapes::StructureShape.new(name: 'Trace')
|
159
173
|
TraceAvailabilityZones = Shapes::ListShape.new(name: 'TraceAvailabilityZones')
|
160
174
|
TraceId = Shapes::StringShape.new(name: 'TraceId')
|
@@ -174,6 +188,8 @@ module Aws::XRay
|
|
174
188
|
UnprocessedTraceIdList = Shapes::ListShape.new(name: 'UnprocessedTraceIdList')
|
175
189
|
UnprocessedTraceSegment = Shapes::StructureShape.new(name: 'UnprocessedTraceSegment')
|
176
190
|
UnprocessedTraceSegmentList = Shapes::ListShape.new(name: 'UnprocessedTraceSegmentList')
|
191
|
+
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
192
|
+
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
177
193
|
UpdateGroupRequest = Shapes::StructureShape.new(name: 'UpdateGroupRequest')
|
178
194
|
UpdateGroupResult = Shapes::StructureShape.new(name: 'UpdateGroupResult')
|
179
195
|
UpdateSamplingRuleRequest = Shapes::StructureShape.new(name: 'UpdateSamplingRuleRequest')
|
@@ -224,12 +240,14 @@ module Aws::XRay
|
|
224
240
|
|
225
241
|
CreateGroupRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupName, required: true, location_name: "GroupName"))
|
226
242
|
CreateGroupRequest.add_member(:filter_expression, Shapes::ShapeRef.new(shape: FilterExpression, location_name: "FilterExpression"))
|
243
|
+
CreateGroupRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
227
244
|
CreateGroupRequest.struct_class = Types::CreateGroupRequest
|
228
245
|
|
229
246
|
CreateGroupResult.add_member(:group, Shapes::ShapeRef.new(shape: Group, location_name: "Group"))
|
230
247
|
CreateGroupResult.struct_class = Types::CreateGroupResult
|
231
248
|
|
232
249
|
CreateSamplingRuleRequest.add_member(:sampling_rule, Shapes::ShapeRef.new(shape: SamplingRule, required: true, location_name: "SamplingRule"))
|
250
|
+
CreateSamplingRuleRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
233
251
|
CreateSamplingRuleRequest.struct_class = Types::CreateSamplingRuleRequest
|
234
252
|
|
235
253
|
CreateSamplingRuleResult.add_member(:sampling_rule_record, Shapes::ShapeRef.new(shape: SamplingRuleRecord, location_name: "SamplingRuleRecord"))
|
@@ -448,6 +466,14 @@ module Aws::XRay
|
|
448
466
|
InvalidRequestException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
449
467
|
InvalidRequestException.struct_class = Types::InvalidRequestException
|
450
468
|
|
469
|
+
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceARN"))
|
470
|
+
ListTagsForResourceRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
471
|
+
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
472
|
+
|
473
|
+
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
474
|
+
ListTagsForResourceResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
475
|
+
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
476
|
+
|
451
477
|
PutEncryptionConfigRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: EncryptionKeyId, location_name: "KeyId"))
|
452
478
|
PutEncryptionConfigRequest.add_member(:type, Shapes::ShapeRef.new(shape: EncryptionType, required: true, location_name: "Type"))
|
453
479
|
PutEncryptionConfigRequest.struct_class = Types::PutEncryptionConfigRequest
|
@@ -472,6 +498,10 @@ module Aws::XRay
|
|
472
498
|
ResourceARNDetail.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "ARN"))
|
473
499
|
ResourceARNDetail.struct_class = Types::ResourceARNDetail
|
474
500
|
|
501
|
+
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
502
|
+
ResourceNotFoundException.add_member(:resource_name, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "ResourceName"))
|
503
|
+
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
504
|
+
|
475
505
|
ResponseTimeRootCause.add_member(:services, Shapes::ShapeRef.new(shape: ResponseTimeRootCauseServices, location_name: "Services"))
|
476
506
|
ResponseTimeRootCause.add_member(:client_impacting, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "ClientImpacting"))
|
477
507
|
ResponseTimeRootCause.struct_class = Types::ResponseTimeRootCause
|
@@ -612,6 +642,20 @@ module Aws::XRay
|
|
612
642
|
ServiceStatistics.add_member(:total_response_time, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "TotalResponseTime"))
|
613
643
|
ServiceStatistics.struct_class = Types::ServiceStatistics
|
614
644
|
|
645
|
+
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
|
646
|
+
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
|
647
|
+
Tag.struct_class = Types::Tag
|
648
|
+
|
649
|
+
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
650
|
+
|
651
|
+
TagList.member = Shapes::ShapeRef.new(shape: Tag)
|
652
|
+
|
653
|
+
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceARN"))
|
654
|
+
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
|
655
|
+
TagResourceRequest.struct_class = Types::TagResourceRequest
|
656
|
+
|
657
|
+
TagResourceResponse.struct_class = Types::TagResourceResponse
|
658
|
+
|
615
659
|
TelemetryRecord.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "Timestamp"))
|
616
660
|
TelemetryRecord.add_member(:segments_received_count, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "SegmentsReceivedCount"))
|
617
661
|
TelemetryRecord.add_member(:segments_sent_count, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "SegmentsSentCount"))
|
@@ -633,6 +677,10 @@ module Aws::XRay
|
|
633
677
|
|
634
678
|
TimeSeriesServiceStatisticsList.member = Shapes::ShapeRef.new(shape: TimeSeriesServiceStatistics)
|
635
679
|
|
680
|
+
TooManyTagsException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
681
|
+
TooManyTagsException.add_member(:resource_name, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "ResourceName"))
|
682
|
+
TooManyTagsException.struct_class = Types::TooManyTagsException
|
683
|
+
|
636
684
|
Trace.add_member(:id, Shapes::ShapeRef.new(shape: TraceId, location_name: "Id"))
|
637
685
|
Trace.add_member(:duration, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "Duration"))
|
638
686
|
Trace.add_member(:segments, Shapes::ShapeRef.new(shape: SegmentList, location_name: "Segments"))
|
@@ -696,6 +744,12 @@ module Aws::XRay
|
|
696
744
|
|
697
745
|
UnprocessedTraceSegmentList.member = Shapes::ShapeRef.new(shape: UnprocessedTraceSegment)
|
698
746
|
|
747
|
+
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceARN"))
|
748
|
+
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "TagKeys"))
|
749
|
+
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
750
|
+
|
751
|
+
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
752
|
+
|
699
753
|
UpdateGroupRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupName, location_name: "GroupName"))
|
700
754
|
UpdateGroupRequest.add_member(:group_arn, Shapes::ShapeRef.new(shape: GroupARN, location_name: "GroupARN"))
|
701
755
|
UpdateGroupRequest.add_member(:filter_expression, Shapes::ShapeRef.new(shape: FilterExpression, location_name: "FilterExpression"))
|
@@ -923,6 +977,17 @@ module Aws::XRay
|
|
923
977
|
)
|
924
978
|
end)
|
925
979
|
|
980
|
+
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
981
|
+
o.name = "ListTagsForResource"
|
982
|
+
o.http_method = "POST"
|
983
|
+
o.http_request_uri = "/ListTagsForResource"
|
984
|
+
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
|
985
|
+
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
986
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
987
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
988
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
989
|
+
end)
|
990
|
+
|
926
991
|
api.add_operation(:put_encryption_config, Seahorse::Model::Operation.new.tap do |o|
|
927
992
|
o.name = "PutEncryptionConfig"
|
928
993
|
o.http_method = "POST"
|
@@ -953,6 +1018,29 @@ module Aws::XRay
|
|
953
1018
|
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
954
1019
|
end)
|
955
1020
|
|
1021
|
+
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
1022
|
+
o.name = "TagResource"
|
1023
|
+
o.http_method = "POST"
|
1024
|
+
o.http_request_uri = "/TagResource"
|
1025
|
+
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
1026
|
+
o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
|
1027
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1028
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
1029
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1030
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
|
1031
|
+
end)
|
1032
|
+
|
1033
|
+
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
1034
|
+
o.name = "UntagResource"
|
1035
|
+
o.http_method = "POST"
|
1036
|
+
o.http_request_uri = "/UntagResource"
|
1037
|
+
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
1038
|
+
o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
|
1039
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1040
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
1041
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1042
|
+
end)
|
1043
|
+
|
956
1044
|
api.add_operation(:update_group, Seahorse::Model::Operation.new.tap do |o|
|
957
1045
|
o.name = "UpdateGroup"
|
958
1046
|
o.http_method = "POST"
|