aws-sdk-xray 1.103.0 → 1.105.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: 3b1cc0b3ac0cb68763ff830bf6157dbd5d0b94bf18e35137b3c1ae42d5fe689d
4
- data.tar.gz: 28fbbd1f8fb36c22604fa6abcf564bf27ad0738b8e48981af7432e0fe7d26483
3
+ metadata.gz: e4a07b75e0de1f0bd512b208a25477455d7c81330e69feb0a3877ff0070e71a6
4
+ data.tar.gz: f6f1c52d1a856f31dca1cb2751b2c5405a8f9d3bf2581908084703e8c7b4e42b
5
5
  SHA512:
6
- metadata.gz: b543c26785bbd9728e7866a82ddb21a13576ccd73dc98833edae64a183b40389b187930b9b096de8fb535b7b7692d9f857844f1681548371f1a631be32e41248
7
- data.tar.gz: 5985779d174ba8f92387fc59e677c9f5a4883e162d8ced1dc9cb7a6fe301f48012021d693c1d46890a02f77d9ad166bea18b7db0e5bbe23264c5fa9d54831eac
6
+ metadata.gz: 25316b8fc7f93601aec7a6112ee0124d059d740ae4c078ee8749c3ef576e3a981623127cafec2043af674730fcd4c7482092e7136a9ed17c275be3103d0b8161
7
+ data.tar.gz: 58da9c8380ceefd0ed39ad663cb3aee66c16dbc39e248fa8b932ccd2ce726c184541b9522e411769bd2be29c8baf9cae3d6c66a76f0b7db06b7ff1fbc6f0c0a7
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.105.0 (2026-10-19)
5
+ ------------------
6
+
7
+ * 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.
8
+
9
+ 1.104.0 (2026-09-11)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.103.0 (2026-09-09)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.103.0
1
+ 1.105.0
@@ -2754,6 +2754,11 @@ module Aws::XRay
2754
2754
  # @option params [String] :destination
2755
2755
  # The configured destination of trace segments.
2756
2756
  #
2757
+ # @option params [Types::CloudWatchLogsConfiguration] :cloud_watch_logs_configuration
2758
+ # Specifies settings for the CloudWatch Logs log groups that X-Ray
2759
+ # creates for Transaction Search. Specify this only when `Destination`
2760
+ # is `CloudWatchLogs`.
2761
+ #
2757
2762
  # @return [Types::UpdateTraceSegmentDestinationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2758
2763
  #
2759
2764
  # * {Types::UpdateTraceSegmentDestinationResult#destination #destination} => String
@@ -2763,6 +2768,9 @@ module Aws::XRay
2763
2768
  #
2764
2769
  # resp = client.update_trace_segment_destination({
2765
2770
  # destination: "XRay", # accepts XRay, CloudWatchLogs
2771
+ # cloud_watch_logs_configuration: {
2772
+ # spans_log_group_kms_key_id: "KmsKeyId",
2773
+ # },
2766
2774
  # })
2767
2775
  #
2768
2776
  # @example Response structure
@@ -2797,7 +2805,7 @@ module Aws::XRay
2797
2805
  tracer: tracer
2798
2806
  )
2799
2807
  context[:gem_name] = 'aws-sdk-xray'
2800
- context[:gem_version] = '1.103.0'
2808
+ context[:gem_version] = '1.105.0'
2801
2809
  Seahorse::Client::Request.new(handlers, context)
2802
2810
  end
2803
2811
 
@@ -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.103.0'
57
+ GEM_VERSION = '1.105.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -637,7 +637,10 @@ module Aws
637
637
  end
638
638
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/XRay/Client.html#update_trace_segment_destination-instance_method
639
639
  def update_trace_segment_destination: (
640
- ?destination: ("XRay" | "CloudWatchLogs")
640
+ ?destination: ("XRay" | "CloudWatchLogs"),
641
+ ?cloud_watch_logs_configuration: {
642
+ spans_log_group_kms_key_id: ::String?
643
+ }
641
644
  ) -> _UpdateTraceSegmentDestinationResponseSuccess
642
645
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateTraceSegmentDestinationResponseSuccess
643
646
  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/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.103.0
4
+ version: 1.105.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.255.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.255.0
31
+ version: 3.258.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement