aws-sdk-dsql 1.9.0 → 1.10.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: 3ecc5074f03f4e0faedcc34bf17cb86ddd965c9e3bd2a708889069febcdf20c3
4
- data.tar.gz: d5c32129b43da188c45c1db729dd314d7ce2f537627d130358edcd318af55a61
3
+ metadata.gz: cc8d5b3c263fe1f336a3f125d35c0a0c10b56c1d3e56c11e130a719aaea66e64
4
+ data.tar.gz: 9933555f230dbf4930e11a45ab55c94844353356a4c2292d07511f563fea7008
5
5
  SHA512:
6
- metadata.gz: 9944304dbdbd74326ee6542be90a0d80847c3bdbbabcf40e252e4341918342d64e1edb0854a9c3e1b7170f388d41b8adfc242fc87946003026c06eb1d634fe00
7
- data.tar.gz: 890c6e9e99a0e15931bfc378914394141b1a7c116f02cf4a949d5cfede982159afbcb84dd14452aceb4e80f259d39946b16e33ce8e16f6387fcf38fac2560ff1
6
+ metadata.gz: 6f0931eea9b2b8292bbfb52e972363689f6226a768f19b37bb903f5aa37b75d39b0812f9892ecc8e3ae89576f8f5591d77a1140b107e3e2c405b93b5f6f112f9
7
+ data.tar.gz: a75e4f4edb3a70ef5dcb8211fe2df0db196791ec30f147517856cf062cdcb4b2a8e70d170d1e3e8dd7c57bb704d80c4ec54744c6686a43e8d5184d89147fa3dc
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.10.0 (2025-05-22)
5
+ ------------------
6
+
7
+ * Feature - Features: support for customer managed encryption keys
8
+
4
9
  1.9.0 (2025-05-19)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.9.0
1
+ 1.10.0
@@ -533,6 +533,11 @@ module Aws::DSQL
533
533
  # If enabled, you can't delete your cluster. You must first disable
534
534
  # this property before you can delete your cluster.
535
535
  #
536
+ # @option params [String] :kms_encryption_key
537
+ # The KMS key that encrypts and protects the data on your cluster. You
538
+ # can specify the ARN, ID, or alias of an existing key or have Amazon
539
+ # Web Services create a default key for you.
540
+ #
536
541
  # @option params [Hash<String,String>] :tags
537
542
  # A map of key and value pairs to use to tag your cluster.
538
543
  #
@@ -561,6 +566,7 @@ module Aws::DSQL
561
566
  # * {Types::CreateClusterOutput#status #status} => String
562
567
  # * {Types::CreateClusterOutput#creation_time #creation_time} => Time
563
568
  # * {Types::CreateClusterOutput#multi_region_properties #multi_region_properties} => Types::MultiRegionProperties
569
+ # * {Types::CreateClusterOutput#encryption_details #encryption_details} => Types::EncryptionDetails
564
570
  # * {Types::CreateClusterOutput#deletion_protection_enabled #deletion_protection_enabled} => Boolean
565
571
  #
566
572
  #
@@ -577,6 +583,7 @@ module Aws::DSQL
577
583
  #
578
584
  # resp = client.create_cluster({
579
585
  # deletion_protection_enabled: false,
586
+ # kms_encryption_key: "KmsEncryptionKey",
580
587
  # tags: {
581
588
  # "TagKey" => "TagValue",
582
589
  # },
@@ -596,6 +603,9 @@ module Aws::DSQL
596
603
  # resp.multi_region_properties.witness_region #=> String
597
604
  # resp.multi_region_properties.clusters #=> Array
598
605
  # resp.multi_region_properties.clusters[0] #=> String
606
+ # resp.encryption_details.encryption_type #=> String, one of "AWS_OWNED_KMS_KEY", "CUSTOMER_MANAGED_KMS_KEY"
607
+ # resp.encryption_details.kms_key_arn #=> String
608
+ # resp.encryption_details.encryption_status #=> String, one of "ENABLED", "UPDATING", "KMS_KEY_INACCESSIBLE", "ENABLING"
599
609
  # resp.deletion_protection_enabled #=> Boolean
600
610
  #
601
611
  # @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/CreateCluster AWS API Documentation
@@ -677,6 +687,7 @@ module Aws::DSQL
677
687
  # * {Types::GetClusterOutput#deletion_protection_enabled #deletion_protection_enabled} => Boolean
678
688
  # * {Types::GetClusterOutput#multi_region_properties #multi_region_properties} => Types::MultiRegionProperties
679
689
  # * {Types::GetClusterOutput#tags #tags} => Hash&lt;String,String&gt;
690
+ # * {Types::GetClusterOutput#encryption_details #encryption_details} => Types::EncryptionDetails
680
691
  #
681
692
  #
682
693
  # @example Example: Get Cluster
@@ -703,6 +714,9 @@ module Aws::DSQL
703
714
  # resp.multi_region_properties.clusters[0] #=> String
704
715
  # resp.tags #=> Hash
705
716
  # resp.tags["TagKey"] #=> String
717
+ # resp.encryption_details.encryption_type #=> String, one of "AWS_OWNED_KMS_KEY", "CUSTOMER_MANAGED_KMS_KEY"
718
+ # resp.encryption_details.kms_key_arn #=> String
719
+ # resp.encryption_details.encryption_status #=> String, one of "ENABLED", "UPDATING", "KMS_KEY_INACCESSIBLE", "ENABLING"
706
720
  #
707
721
  #
708
722
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -994,6 +1008,11 @@ module Aws::DSQL
994
1008
  # @option params [Boolean] :deletion_protection_enabled
995
1009
  # Specifies whether to enable deletion protection in your cluster.
996
1010
  #
1011
+ # @option params [String] :kms_encryption_key
1012
+ # The KMS key that encrypts and protects the data on your cluster. You
1013
+ # can specify the ARN, ID, or alias of an existing key or have Amazon
1014
+ # Web Services create a default key for you.
1015
+ #
997
1016
  # @option params [String] :client_token
998
1017
  # A unique, case-sensitive identifier that you provide to ensure the
999
1018
  # idempotency of the request. Idempotency ensures that an API request
@@ -1032,6 +1051,7 @@ module Aws::DSQL
1032
1051
  # resp = client.update_cluster({
1033
1052
  # identifier: "ClusterId", # required
1034
1053
  # deletion_protection_enabled: false,
1054
+ # kms_encryption_key: "KmsEncryptionKey",
1035
1055
  # client_token: "ClientToken",
1036
1056
  # multi_region_properties: {
1037
1057
  # witness_region: "Region",
@@ -1073,7 +1093,7 @@ module Aws::DSQL
1073
1093
  tracer: tracer
1074
1094
  )
1075
1095
  context[:gem_name] = 'aws-sdk-dsql'
1076
- context[:gem_version] = '1.9.0'
1096
+ context[:gem_version] = '1.10.0'
1077
1097
  Seahorse::Client::Request.new(handlers, context)
1078
1098
  end
1079
1099
 
@@ -30,12 +30,17 @@ module Aws::DSQL
30
30
  DeleteClusterInput = Shapes::StructureShape.new(name: 'DeleteClusterInput')
31
31
  DeleteClusterOutput = Shapes::StructureShape.new(name: 'DeleteClusterOutput')
32
32
  DeletionProtectionEnabled = Shapes::BooleanShape.new(name: 'DeletionProtectionEnabled')
33
+ EncryptionDetails = Shapes::StructureShape.new(name: 'EncryptionDetails')
34
+ EncryptionStatus = Shapes::StringShape.new(name: 'EncryptionStatus')
35
+ EncryptionType = Shapes::StringShape.new(name: 'EncryptionType')
33
36
  GetClusterInput = Shapes::StructureShape.new(name: 'GetClusterInput')
34
37
  GetClusterOutput = Shapes::StructureShape.new(name: 'GetClusterOutput')
35
38
  GetVpcEndpointServiceNameInput = Shapes::StructureShape.new(name: 'GetVpcEndpointServiceNameInput')
36
39
  GetVpcEndpointServiceNameOutput = Shapes::StructureShape.new(name: 'GetVpcEndpointServiceNameOutput')
37
40
  Integer = Shapes::IntegerShape.new(name: 'Integer')
38
41
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
42
+ KmsEncryptionKey = Shapes::StringShape.new(name: 'KmsEncryptionKey')
43
+ KmsKeyArn = Shapes::StringShape.new(name: 'KmsKeyArn')
39
44
  ListClustersInput = Shapes::StructureShape.new(name: 'ListClustersInput')
40
45
  ListClustersOutput = Shapes::StructureShape.new(name: 'ListClustersOutput')
41
46
  ListTagsForResourceInput = Shapes::StructureShape.new(name: 'ListTagsForResourceInput')
@@ -79,6 +84,7 @@ module Aws::DSQL
79
84
  ConflictException.struct_class = Types::ConflictException
80
85
 
81
86
  CreateClusterInput.add_member(:deletion_protection_enabled, Shapes::ShapeRef.new(shape: DeletionProtectionEnabled, location_name: "deletionProtectionEnabled"))
87
+ CreateClusterInput.add_member(:kms_encryption_key, Shapes::ShapeRef.new(shape: KmsEncryptionKey, location_name: "kmsEncryptionKey"))
82
88
  CreateClusterInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
83
89
  CreateClusterInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
84
90
  CreateClusterInput.add_member(:multi_region_properties, Shapes::ShapeRef.new(shape: MultiRegionProperties, location_name: "multiRegionProperties"))
@@ -89,6 +95,7 @@ module Aws::DSQL
89
95
  CreateClusterOutput.add_member(:status, Shapes::ShapeRef.new(shape: ClusterStatus, required: true, location_name: "status"))
90
96
  CreateClusterOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: ClusterCreationTime, required: true, location_name: "creationTime"))
91
97
  CreateClusterOutput.add_member(:multi_region_properties, Shapes::ShapeRef.new(shape: MultiRegionProperties, location_name: "multiRegionProperties"))
98
+ CreateClusterOutput.add_member(:encryption_details, Shapes::ShapeRef.new(shape: EncryptionDetails, location_name: "encryptionDetails"))
92
99
  CreateClusterOutput.add_member(:deletion_protection_enabled, Shapes::ShapeRef.new(shape: DeletionProtectionEnabled, required: true, location_name: "deletionProtectionEnabled"))
93
100
  CreateClusterOutput.struct_class = Types::CreateClusterOutput
94
101
 
@@ -102,6 +109,11 @@ module Aws::DSQL
102
109
  DeleteClusterOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: ClusterCreationTime, required: true, location_name: "creationTime"))
103
110
  DeleteClusterOutput.struct_class = Types::DeleteClusterOutput
104
111
 
112
+ EncryptionDetails.add_member(:encryption_type, Shapes::ShapeRef.new(shape: EncryptionType, required: true, location_name: "encryptionType"))
113
+ EncryptionDetails.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "kmsKeyArn"))
114
+ EncryptionDetails.add_member(:encryption_status, Shapes::ShapeRef.new(shape: EncryptionStatus, required: true, location_name: "encryptionStatus"))
115
+ EncryptionDetails.struct_class = Types::EncryptionDetails
116
+
105
117
  GetClusterInput.add_member(:identifier, Shapes::ShapeRef.new(shape: ClusterId, required: true, location: "uri", location_name: "identifier"))
106
118
  GetClusterInput.struct_class = Types::GetClusterInput
107
119
 
@@ -112,6 +124,7 @@ module Aws::DSQL
112
124
  GetClusterOutput.add_member(:deletion_protection_enabled, Shapes::ShapeRef.new(shape: DeletionProtectionEnabled, required: true, location_name: "deletionProtectionEnabled"))
113
125
  GetClusterOutput.add_member(:multi_region_properties, Shapes::ShapeRef.new(shape: MultiRegionProperties, location_name: "multiRegionProperties"))
114
126
  GetClusterOutput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
127
+ GetClusterOutput.add_member(:encryption_details, Shapes::ShapeRef.new(shape: EncryptionDetails, location_name: "encryptionDetails"))
115
128
  GetClusterOutput.struct_class = Types::GetClusterOutput
116
129
 
117
130
  GetVpcEndpointServiceNameInput.add_member(:identifier, Shapes::ShapeRef.new(shape: ClusterId, required: true, location: "uri", location_name: "identifier"))
@@ -175,6 +188,7 @@ module Aws::DSQL
175
188
 
176
189
  UpdateClusterInput.add_member(:identifier, Shapes::ShapeRef.new(shape: ClusterId, required: true, location: "uri", location_name: "identifier"))
177
190
  UpdateClusterInput.add_member(:deletion_protection_enabled, Shapes::ShapeRef.new(shape: DeletionProtectionEnabled, location_name: "deletionProtectionEnabled"))
191
+ UpdateClusterInput.add_member(:kms_encryption_key, Shapes::ShapeRef.new(shape: KmsEncryptionKey, location_name: "kmsEncryptionKey"))
178
192
  UpdateClusterInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
179
193
  UpdateClusterInput.add_member(:multi_region_properties, Shapes::ShapeRef.new(shape: MultiRegionProperties, location_name: "multiRegionProperties"))
180
194
  UpdateClusterInput.struct_class = Types::UpdateClusterInput
@@ -70,6 +70,12 @@ module Aws::DSQL
70
70
  # this property before you can delete your cluster.
71
71
  # @return [Boolean]
72
72
  #
73
+ # @!attribute [rw] kms_encryption_key
74
+ # The KMS key that encrypts and protects the data on your cluster. You
75
+ # can specify the ARN, ID, or alias of an existing key or have Amazon
76
+ # Web Services create a default key for you.
77
+ # @return [String]
78
+ #
73
79
  # @!attribute [rw] tags
74
80
  # A map of key and value pairs to use to tag your cluster.
75
81
  # @return [Hash<String,String>]
@@ -98,6 +104,7 @@ module Aws::DSQL
98
104
  #
99
105
  class CreateClusterInput < Struct.new(
100
106
  :deletion_protection_enabled,
107
+ :kms_encryption_key,
101
108
  :tags,
102
109
  :client_token,
103
110
  :multi_region_properties)
@@ -128,6 +135,12 @@ module Aws::DSQL
128
135
  # cluster creation
129
136
  # @return [Types::MultiRegionProperties]
130
137
  #
138
+ # @!attribute [rw] encryption_details
139
+ # The encryption configuration for the cluster that was specified
140
+ # during the creation process, including the KMS key identifier and
141
+ # encryption state.
142
+ # @return [Types::EncryptionDetails]
143
+ #
131
144
  # @!attribute [rw] deletion_protection_enabled
132
145
  # Whether deletion protection is enabled on this cluster.
133
146
  # @return [Boolean]
@@ -140,6 +153,7 @@ module Aws::DSQL
140
153
  :status,
141
154
  :creation_time,
142
155
  :multi_region_properties,
156
+ :encryption_details,
143
157
  :deletion_protection_enabled)
144
158
  SENSITIVE = []
145
159
  include Aws::Structure
@@ -202,6 +216,31 @@ module Aws::DSQL
202
216
  include Aws::Structure
203
217
  end
204
218
 
219
+ # Configuration details about encryption for the cluster including the
220
+ # KMS key ARN, encryption type, and encryption status.
221
+ #
222
+ # @!attribute [rw] encryption_type
223
+ # The type of encryption that protects the data on your cluster.
224
+ # @return [String]
225
+ #
226
+ # @!attribute [rw] kms_key_arn
227
+ # The ARN of the KMS key that encrypts data in the cluster.
228
+ # @return [String]
229
+ #
230
+ # @!attribute [rw] encryption_status
231
+ # The status of encryption for the cluster.
232
+ # @return [String]
233
+ #
234
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/EncryptionDetails AWS API Documentation
235
+ #
236
+ class EncryptionDetails < Struct.new(
237
+ :encryption_type,
238
+ :kms_key_arn,
239
+ :encryption_status)
240
+ SENSITIVE = []
241
+ include Aws::Structure
242
+ end
243
+
205
244
  # @!attribute [rw] identifier
206
245
  # The ID of the cluster to retrieve.
207
246
  # @return [String]
@@ -245,6 +284,10 @@ module Aws::DSQL
245
284
  # Map of tags.
246
285
  # @return [Hash<String,String>]
247
286
  #
287
+ # @!attribute [rw] encryption_details
288
+ # The current encryption configuration details for the cluster.
289
+ # @return [Types::EncryptionDetails]
290
+ #
248
291
  # @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/GetClusterOutput AWS API Documentation
249
292
  #
250
293
  class GetClusterOutput < Struct.new(
@@ -254,7 +297,8 @@ module Aws::DSQL
254
297
  :creation_time,
255
298
  :deletion_protection_enabled,
256
299
  :multi_region_properties,
257
- :tags)
300
+ :tags,
301
+ :encryption_details)
258
302
  SENSITIVE = []
259
303
  include Aws::Structure
260
304
  end
@@ -518,6 +562,12 @@ module Aws::DSQL
518
562
  # Specifies whether to enable deletion protection in your cluster.
519
563
  # @return [Boolean]
520
564
  #
565
+ # @!attribute [rw] kms_encryption_key
566
+ # The KMS key that encrypts and protects the data on your cluster. You
567
+ # can specify the ARN, ID, or alias of an existing key or have Amazon
568
+ # Web Services create a default key for you.
569
+ # @return [String]
570
+ #
521
571
  # @!attribute [rw] client_token
522
572
  # A unique, case-sensitive identifier that you provide to ensure the
523
573
  # idempotency of the request. Idempotency ensures that an API request
@@ -543,6 +593,7 @@ module Aws::DSQL
543
593
  class UpdateClusterInput < Struct.new(
544
594
  :identifier,
545
595
  :deletion_protection_enabled,
596
+ :kms_encryption_key,
546
597
  :client_token,
547
598
  :multi_region_properties)
548
599
  SENSITIVE = []
data/lib/aws-sdk-dsql.rb CHANGED
@@ -55,7 +55,7 @@ module Aws::DSQL
55
55
  autoload :EndpointProvider, 'aws-sdk-dsql/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-dsql/endpoints'
57
57
 
58
- GEM_VERSION = '1.9.0'
58
+ GEM_VERSION = '1.10.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -84,11 +84,13 @@ module Aws
84
84
  def status: () -> ("CREATING" | "ACTIVE" | "IDLE" | "INACTIVE" | "UPDATING" | "DELETING" | "DELETED" | "FAILED" | "PENDING_SETUP" | "PENDING_DELETE")
85
85
  def creation_time: () -> ::Time
86
86
  def multi_region_properties: () -> Types::MultiRegionProperties
87
+ def encryption_details: () -> Types::EncryptionDetails
87
88
  def deletion_protection_enabled: () -> bool
88
89
  end
89
90
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DSQL/Client.html#create_cluster-instance_method
90
91
  def create_cluster: (
91
92
  ?deletion_protection_enabled: bool,
93
+ ?kms_encryption_key: ::String,
92
94
  ?tags: Hash[::String, ::String],
93
95
  ?client_token: ::String,
94
96
  ?multi_region_properties: {
@@ -121,6 +123,7 @@ module Aws
121
123
  def deletion_protection_enabled: () -> bool
122
124
  def multi_region_properties: () -> Types::MultiRegionProperties
123
125
  def tags: () -> ::Hash[::String, ::String]
126
+ def encryption_details: () -> Types::EncryptionDetails
124
127
  end
125
128
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DSQL/Client.html#get_cluster-instance_method
126
129
  def get_cluster: (
@@ -185,6 +188,7 @@ module Aws
185
188
  def update_cluster: (
186
189
  identifier: ::String,
187
190
  ?deletion_protection_enabled: bool,
191
+ ?kms_encryption_key: ::String,
188
192
  ?client_token: ::String,
189
193
  ?multi_region_properties: {
190
194
  witness_region: ::String?,
data/sig/types.rbs CHANGED
@@ -28,6 +28,7 @@ module Aws::DSQL
28
28
 
29
29
  class CreateClusterInput
30
30
  attr_accessor deletion_protection_enabled: bool
31
+ attr_accessor kms_encryption_key: ::String
31
32
  attr_accessor tags: ::Hash[::String, ::String]
32
33
  attr_accessor client_token: ::String
33
34
  attr_accessor multi_region_properties: Types::MultiRegionProperties
@@ -40,6 +41,7 @@ module Aws::DSQL
40
41
  attr_accessor status: ("CREATING" | "ACTIVE" | "IDLE" | "INACTIVE" | "UPDATING" | "DELETING" | "DELETED" | "FAILED" | "PENDING_SETUP" | "PENDING_DELETE")
41
42
  attr_accessor creation_time: ::Time
42
43
  attr_accessor multi_region_properties: Types::MultiRegionProperties
44
+ attr_accessor encryption_details: Types::EncryptionDetails
43
45
  attr_accessor deletion_protection_enabled: bool
44
46
  SENSITIVE: []
45
47
  end
@@ -58,6 +60,13 @@ module Aws::DSQL
58
60
  SENSITIVE: []
59
61
  end
60
62
 
63
+ class EncryptionDetails
64
+ attr_accessor encryption_type: ("AWS_OWNED_KMS_KEY" | "CUSTOMER_MANAGED_KMS_KEY")
65
+ attr_accessor kms_key_arn: ::String
66
+ attr_accessor encryption_status: ("ENABLED" | "UPDATING" | "KMS_KEY_INACCESSIBLE" | "ENABLING")
67
+ SENSITIVE: []
68
+ end
69
+
61
70
  class GetClusterInput
62
71
  attr_accessor identifier: ::String
63
72
  SENSITIVE: []
@@ -71,6 +80,7 @@ module Aws::DSQL
71
80
  attr_accessor deletion_protection_enabled: bool
72
81
  attr_accessor multi_region_properties: Types::MultiRegionProperties
73
82
  attr_accessor tags: ::Hash[::String, ::String]
83
+ attr_accessor encryption_details: Types::EncryptionDetails
74
84
  SENSITIVE: []
75
85
  end
76
86
 
@@ -157,6 +167,7 @@ module Aws::DSQL
157
167
  class UpdateClusterInput
158
168
  attr_accessor identifier: ::String
159
169
  attr_accessor deletion_protection_enabled: bool
170
+ attr_accessor kms_encryption_key: ::String
160
171
  attr_accessor client_token: ::String
161
172
  attr_accessor multi_region_properties: Types::MultiRegionProperties
162
173
  SENSITIVE: []
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-dsql
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.0
4
+ version: 1.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services