aws-sdk-xray 1.104.0 → 1.106.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d21a67cdc04822a27c96ad73fb22cb5c262da158f5d9cc11dc04739b82202d82
4
- data.tar.gz: 125ce0b95ea884939bb977d60e80c6ef5d3895daeb58a93a835bae58646b633b
3
+ metadata.gz: bf65b54f752aafde0b3d923bd49f1f79f733fd426e06d4dfe7baf42725250948
4
+ data.tar.gz: 162de6ebb1ac84d40585e43b2baac13383fc5930112050a5b0bcb14b243685b9
5
5
  SHA512:
6
- metadata.gz: 8be4d7c1588fee8be7ed6f2b2367fe0d23291b8f1cf7418b99897d168f8a13c1a8f26463efe33a639be381ec70974b6bf9e780d86c2600ac6419797c2f2f8dac
7
- data.tar.gz: 54797a06d6d56846909d7217f4d2df0d5611a67d25f6778816d1793e242f9a43673324a69c8790df0c2fb4cea6098479bc2f7ee587c3b16868bf8325ef41f76d
6
+ metadata.gz: 538b02e1b788624231098a3ebc0fff6a0dba2d57e8a5b933f9435ff82e227ac40460c0856c3987b2c5c4e0bf63cc565345d6ef8cdffd02545bbd107e870ae215
7
+ data.tar.gz: 9c69ae207a13bec0ac92e048e82dd821db34a2bb21b3a0a8908eaeebe194a4fa329547a422cb427362def81384e416eabf1eac6157c3ffea33db30d734581f07
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.106.0 (2026-10-20)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.105.0 (2026-10-19)
10
+ ------------------
11
+
12
+ * Feature - Adds support for encrypting the Transaction Search spans log group with a customer managed AWS KMS key. Pass the key ARN in the new CloudWatchLogsConfiguration.SpansLogGroupKmsKeyId field of UpdateTraceSegmentDestination. X-Ray applies the key when it creates the log group.
13
+
4
14
  1.104.0 (2026-09-11)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.104.0
1
+ 1.106.0
@@ -199,13 +199,20 @@ module Aws::XRay
199
199
  # the required types.
200
200
  #
201
201
  # @option options [Boolean] :correct_clock_skew (true)
202
- # Used only in `standard` and `adaptive` retry modes. Specifies whether to apply
203
- # a clock skew correction and retry requests with skewed client clocks.
202
+ # Used only in `standard` and `adaptive` retry modes. Specifies whether
203
+ # to apply a clock skew correction and retry requests with skewed client
204
+ # clocks. Takes effect only when `disable_clock_skew_correction` is not set.
204
205
  #
205
206
  # @option options [String] :defaults_mode ("legacy")
206
207
  # See {Aws::DefaultsModeConfiguration} for a list of the
207
208
  # accepted modes and the configuration defaults that are included.
208
209
  #
210
+ # @option options [Boolean] :disable_clock_skew_correction
211
+ # Used only in `standard` and `adaptive` retry modes. When `true`, the
212
+ # SDK does not apply a clock skew correction, does not update its stored
213
+ # skew from responses, and does not retry clock skew errors. Clock skew
214
+ # correction is enabled by default.
215
+ #
209
216
  # @option options [Boolean] :disable_host_prefix_injection (false)
210
217
  # When `true`, the SDK will not prepend the modeled host prefix to the endpoint.
211
218
  #
@@ -2754,6 +2761,11 @@ module Aws::XRay
2754
2761
  # @option params [String] :destination
2755
2762
  # The configured destination of trace segments.
2756
2763
  #
2764
+ # @option params [Types::CloudWatchLogsConfiguration] :cloud_watch_logs_configuration
2765
+ # Specifies settings for the CloudWatch Logs log groups that X-Ray
2766
+ # creates for Transaction Search. Specify this only when `Destination`
2767
+ # is `CloudWatchLogs`.
2768
+ #
2757
2769
  # @return [Types::UpdateTraceSegmentDestinationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2758
2770
  #
2759
2771
  # * {Types::UpdateTraceSegmentDestinationResult#destination #destination} => String
@@ -2763,6 +2775,9 @@ module Aws::XRay
2763
2775
  #
2764
2776
  # resp = client.update_trace_segment_destination({
2765
2777
  # destination: "XRay", # accepts XRay, CloudWatchLogs
2778
+ # cloud_watch_logs_configuration: {
2779
+ # spans_log_group_kms_key_id: "KmsKeyId",
2780
+ # },
2766
2781
  # })
2767
2782
  #
2768
2783
  # @example Response structure
@@ -2797,7 +2812,7 @@ module Aws::XRay
2797
2812
  tracer: tracer
2798
2813
  )
2799
2814
  context[:gem_name] = 'aws-sdk-xray'
2800
- context[:gem_version] = '1.104.0'
2815
+ context[:gem_version] = '1.106.0'
2801
2816
  Seahorse::Client::Request.new(handlers, context)
2802
2817
  end
2803
2818
 
@@ -36,6 +36,7 @@ module Aws::XRay
36
36
  CancelTraceRetrievalRequest = Shapes::StructureShape.new(name: 'CancelTraceRetrievalRequest')
37
37
  CancelTraceRetrievalResult = Shapes::StructureShape.new(name: 'CancelTraceRetrievalResult')
38
38
  ClientID = Shapes::StringShape.new(name: 'ClientID')
39
+ CloudWatchLogsConfiguration = Shapes::StructureShape.new(name: 'CloudWatchLogsConfiguration')
39
40
  CooldownWindowMinutes = Shapes::IntegerShape.new(name: 'CooldownWindowMinutes')
40
41
  CreateGroupRequest = Shapes::StructureShape.new(name: 'CreateGroupRequest')
41
42
  CreateGroupResult = Shapes::StructureShape.new(name: 'CreateGroupResult')
@@ -149,6 +150,7 @@ module Aws::XRay
149
150
  Integer = Shapes::IntegerShape.new(name: 'Integer')
150
151
  InvalidPolicyRevisionIdException = Shapes::StructureShape.new(name: 'InvalidPolicyRevisionIdException')
151
152
  InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
153
+ KmsKeyId = Shapes::StringShape.new(name: 'KmsKeyId')
152
154
  LinksList = Shapes::ListShape.new(name: 'LinksList')
153
155
  ListResourcePoliciesRequest = Shapes::StructureShape.new(name: 'ListResourcePoliciesRequest')
154
156
  ListResourcePoliciesResult = Shapes::StructureShape.new(name: 'ListResourcePoliciesResult')
@@ -345,6 +347,9 @@ module Aws::XRay
345
347
 
346
348
  CancelTraceRetrievalResult.struct_class = Types::CancelTraceRetrievalResult
347
349
 
350
+ CloudWatchLogsConfiguration.add_member(:spans_log_group_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "SpansLogGroupKmsKeyId"))
351
+ CloudWatchLogsConfiguration.struct_class = Types::CloudWatchLogsConfiguration
352
+
348
353
  CreateGroupRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupName, required: true, location_name: "GroupName"))
349
354
  CreateGroupRequest.add_member(:filter_expression, Shapes::ShapeRef.new(shape: FilterExpression, location_name: "FilterExpression"))
350
355
  CreateGroupRequest.add_member(:insights_configuration, Shapes::ShapeRef.new(shape: InsightsConfiguration, location_name: "InsightsConfiguration"))
@@ -1167,6 +1172,7 @@ module Aws::XRay
1167
1172
  UpdateSamplingRuleResult.struct_class = Types::UpdateSamplingRuleResult
1168
1173
 
1169
1174
  UpdateTraceSegmentDestinationRequest.add_member(:destination, Shapes::ShapeRef.new(shape: TraceSegmentDestination, location_name: "Destination"))
1175
+ UpdateTraceSegmentDestinationRequest.add_member(:cloud_watch_logs_configuration, Shapes::ShapeRef.new(shape: CloudWatchLogsConfiguration, location_name: "CloudWatchLogsConfiguration"))
1170
1176
  UpdateTraceSegmentDestinationRequest.struct_class = Types::UpdateTraceSegmentDestinationRequest
1171
1177
 
1172
1178
  UpdateTraceSegmentDestinationResult.add_member(:destination, Shapes::ShapeRef.new(shape: TraceSegmentDestination, location_name: "Destination"))
@@ -173,6 +173,40 @@ module Aws::XRay
173
173
  #
174
174
  class CancelTraceRetrievalResult < Aws::EmptyStructure; end
175
175
 
176
+ # Contains the settings for the CloudWatch Logs log groups that X-Ray
177
+ # creates for Transaction Search.
178
+ #
179
+ # @!attribute [rw] spans_log_group_kms_key_id
180
+ # The ARN of an AWS Key Management Service (AWS KMS) key that you
181
+ # create and manage, in the same account and Region, used to encrypt
182
+ # the `aws/spans` log group. Key IDs and alias ARNs are not supported.
183
+ #
184
+ # X-Ray applies the key only when it creates `aws/spans`. If the
185
+ # account already has an `aws/spans` log group, X-Ray fails the
186
+ # request with an `InvalidRequestException` and does not change the
187
+ # log group. To enable Transaction Search with the existing log group
188
+ # as it is, call `UpdateTraceSegmentDestination` again without
189
+ # `SpansLogGroupKmsKeyId`. To set or change the key of the existing
190
+ # log group, use the CloudWatch Logs `AssociateKmsKey` operation.
191
+ #
192
+ # You need `kms:DescribeKey` permission on the key, and the key policy
193
+ # must allow CloudWatch Logs to use the key. For more information, see
194
+ # [Encrypt log data in CloudWatch Logs using AWS Key Management
195
+ # Service][1].
196
+ #
197
+ #
198
+ #
199
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/encrypt-log-data-kms.html
200
+ # @return [String]
201
+ #
202
+ # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/CloudWatchLogsConfiguration AWS API Documentation
203
+ #
204
+ class CloudWatchLogsConfiguration < Struct.new(
205
+ :spans_log_group_kms_key_id)
206
+ SENSITIVE = []
207
+ include Aws::Structure
208
+ end
209
+
176
210
  # @!attribute [rw] group_name
177
211
  # The case-sensitive name of the new group. Default is a reserved name
178
212
  # and names must be unique.
@@ -3909,10 +3943,17 @@ module Aws::XRay
3909
3943
  # The configured destination of trace segments.
3910
3944
  # @return [String]
3911
3945
  #
3946
+ # @!attribute [rw] cloud_watch_logs_configuration
3947
+ # Specifies settings for the CloudWatch Logs log groups that X-Ray
3948
+ # creates for Transaction Search. Specify this only when `Destination`
3949
+ # is `CloudWatchLogs`.
3950
+ # @return [Types::CloudWatchLogsConfiguration]
3951
+ #
3912
3952
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/UpdateTraceSegmentDestinationRequest AWS API Documentation
3913
3953
  #
3914
3954
  class UpdateTraceSegmentDestinationRequest < Struct.new(
3915
- :destination)
3955
+ :destination,
3956
+ :cloud_watch_logs_configuration)
3916
3957
  SENSITIVE = []
3917
3958
  include Aws::Structure
3918
3959
  end
data/lib/aws-sdk-xray.rb CHANGED
@@ -54,7 +54,7 @@ module Aws::XRay
54
54
  autoload :EndpointProvider, 'aws-sdk-xray/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-xray/endpoints'
56
56
 
57
- GEM_VERSION = '1.104.0'
57
+ GEM_VERSION = '1.106.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -27,6 +27,7 @@ module Aws
27
27
  ?convert_params: bool,
28
28
  ?correct_clock_skew: bool,
29
29
  ?defaults_mode: String,
30
+ ?disable_clock_skew_correction: bool,
30
31
  ?disable_host_prefix_injection: bool,
31
32
  ?disable_request_compression: bool,
32
33
  ?endpoint: String,
@@ -637,7 +638,10 @@ module Aws
637
638
  end
638
639
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#update_trace_segment_destination-instance_method
639
640
  def update_trace_segment_destination: (
640
- ?destination: ("XRay" | "CloudWatchLogs")
641
+ ?destination: ("XRay" | "CloudWatchLogs"),
642
+ ?cloud_watch_logs_configuration: {
643
+ spans_log_group_kms_key_id: ::String?
644
+ }
641
645
  ) -> _UpdateTraceSegmentDestinationResponseSuccess
642
646
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateTraceSegmentDestinationResponseSuccess
643
647
  end
data/sig/errors.rbs CHANGED
@@ -11,35 +11,35 @@ module Aws
11
11
  class ServiceError < ::Aws::Errors::ServiceError
12
12
  end
13
13
 
14
- class InvalidPolicyRevisionIdException < ::Aws::Errors::ServiceError
14
+ class InvalidPolicyRevisionIdException < ServiceError
15
15
  def message: () -> ::String
16
16
  end
17
- class InvalidRequestException < ::Aws::Errors::ServiceError
17
+ class InvalidRequestException < ServiceError
18
18
  def message: () -> ::String
19
19
  end
20
- class LockoutPreventionException < ::Aws::Errors::ServiceError
20
+ class LockoutPreventionException < ServiceError
21
21
  def message: () -> ::String
22
22
  end
23
- class MalformedPolicyDocumentException < ::Aws::Errors::ServiceError
23
+ class MalformedPolicyDocumentException < ServiceError
24
24
  def message: () -> ::String
25
25
  end
26
- class PolicyCountLimitExceededException < ::Aws::Errors::ServiceError
26
+ class PolicyCountLimitExceededException < ServiceError
27
27
  def message: () -> ::String
28
28
  end
29
- class PolicySizeLimitExceededException < ::Aws::Errors::ServiceError
29
+ class PolicySizeLimitExceededException < ServiceError
30
30
  def message: () -> ::String
31
31
  end
32
- class ResourceNotFoundException < ::Aws::Errors::ServiceError
32
+ class ResourceNotFoundException < ServiceError
33
33
  def message: () -> ::String
34
34
  def resource_name: () -> ::String
35
35
  end
36
- class RuleLimitExceededException < ::Aws::Errors::ServiceError
36
+ class RuleLimitExceededException < ServiceError
37
37
  def message: () -> ::String
38
38
  end
39
- class ThrottledException < ::Aws::Errors::ServiceError
39
+ class ThrottledException < ServiceError
40
40
  def message: () -> ::String
41
41
  end
42
- class TooManyTagsException < ::Aws::Errors::ServiceError
42
+ class TooManyTagsException < ServiceError
43
43
  def message: () -> ::String
44
44
  def resource_name: () -> ::String
45
45
  end
data/sig/resource.rbs CHANGED
@@ -27,6 +27,7 @@ module Aws
27
27
  ?convert_params: bool,
28
28
  ?correct_clock_skew: bool,
29
29
  ?defaults_mode: String,
30
+ ?disable_clock_skew_correction: bool,
30
31
  ?disable_host_prefix_injection: bool,
31
32
  ?disable_request_compression: bool,
32
33
  ?endpoint: String,
data/sig/types.rbs CHANGED
@@ -63,6 +63,11 @@ module Aws::XRay
63
63
  class CancelTraceRetrievalResult < Aws::EmptyStructure
64
64
  end
65
65
 
66
+ class CloudWatchLogsConfiguration
67
+ attr_accessor spans_log_group_kms_key_id: ::String
68
+ SENSITIVE: []
69
+ end
70
+
66
71
  class CreateGroupRequest
67
72
  attr_accessor group_name: ::String
68
73
  attr_accessor filter_expression: ::String
@@ -1067,6 +1072,7 @@ module Aws::XRay
1067
1072
 
1068
1073
  class UpdateTraceSegmentDestinationRequest
1069
1074
  attr_accessor destination: ("XRay" | "CloudWatchLogs")
1075
+ attr_accessor cloud_watch_logs_configuration: Types::CloudWatchLogsConfiguration
1070
1076
  SENSITIVE: []
1071
1077
  end
1072
1078
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-xray
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.104.0
4
+ version: 1.106.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -18,7 +18,7 @@ dependencies:
18
18
  version: '3'
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 3.256.0
21
+ version: 3.258.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  version: '3'
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: 3.256.0
31
+ version: 3.258.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement