aws-sdk-kms 1.103.0 → 1.104.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: 229aaad60e5f6baf55a4f3d2aab7a5423fec7645afb6a4614f983f77ea6a20fa
4
- data.tar.gz: 85e63690b08a5ecc2f1670a922b5f83240dda980d1914586c1bc2912b55b6604
3
+ metadata.gz: '078565816f5e2b8088394a3ad96087913c750455d6d152add0d12a1003a43939'
4
+ data.tar.gz: cc7e1460281395c5073cbaa6d3b3f3d1ad8fbeb5f3b74e28bfaefddd94eb8712
5
5
  SHA512:
6
- metadata.gz: 6838464aaa5690cd56e97ed47421e94e2601e3d01c5e1814ecc810c85633f114dfa0331f7ecf205106ee540046a6a677ffeebbcbc3dd72600057cd4f938cb52a
7
- data.tar.gz: ec060b617a644f72d4301645fab8cf00602832816d6ed71ef79a3916f9ea02382402ab3c0d63007ef9b1e1fa7545b06f860f4104d0c177db55e70741b06f42c8
6
+ metadata.gz: 414d53c3331e7333e29e8eef5d8f3ef0c9a6c5964cd4dc2eb3d2545b2ba010d85af5450f1f8a44e0e8314bb4dc184821c6e1ea8873ac685d1f4ca36ad16c1064
7
+ data.tar.gz: 7c28a1ccc919555dce3593a571df81b744bee10e01552310a6f895c04bb583b791dfca939ca9255bd409ccf55fb42852927b061ea8b0bbedb61f4f24a2500ae5
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.104.0 (2025-06-06)
5
+ ------------------
6
+
7
+ * Feature - Remove unpopulated KeyMaterialId from Encrypt Response
8
+
4
9
  1.103.0 (2025-06-05)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.103.0
1
+ 1.104.0
@@ -4582,7 +4582,6 @@ module Aws::KMS
4582
4582
  # * {Types::EncryptResponse#ciphertext_blob #ciphertext_blob} => String
4583
4583
  # * {Types::EncryptResponse#key_id #key_id} => String
4584
4584
  # * {Types::EncryptResponse#encryption_algorithm #encryption_algorithm} => String
4585
- # * {Types::EncryptResponse#key_material_id #key_material_id} => String
4586
4585
  #
4587
4586
  #
4588
4587
  # @example Example: To encrypt data with a symmetric encryption KMS key
@@ -4637,7 +4636,6 @@ module Aws::KMS
4637
4636
  # resp.ciphertext_blob #=> String
4638
4637
  # resp.key_id #=> String
4639
4638
  # resp.encryption_algorithm #=> String, one of "SYMMETRIC_DEFAULT", "RSAES_OAEP_SHA_1", "RSAES_OAEP_SHA_256", "SM2PKE"
4640
- # resp.key_material_id #=> String
4641
4639
  #
4642
4640
  # @see http://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/Encrypt AWS API Documentation
4643
4641
  #
@@ -10932,7 +10930,7 @@ module Aws::KMS
10932
10930
  tracer: tracer
10933
10931
  )
10934
10932
  context[:gem_name] = 'aws-sdk-kms'
10935
- context[:gem_version] = '1.103.0'
10933
+ context[:gem_version] = '1.104.0'
10936
10934
  Seahorse::Client::Request.new(handlers, context)
10937
10935
  end
10938
10936
 
@@ -473,7 +473,6 @@ module Aws::KMS
473
473
  EncryptResponse.add_member(:ciphertext_blob, Shapes::ShapeRef.new(shape: CiphertextType, location_name: "CiphertextBlob"))
474
474
  EncryptResponse.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
475
475
  EncryptResponse.add_member(:encryption_algorithm, Shapes::ShapeRef.new(shape: EncryptionAlgorithmSpec, location_name: "EncryptionAlgorithm"))
476
- EncryptResponse.add_member(:key_material_id, Shapes::ShapeRef.new(shape: BackingKeyIdType, location_name: "KeyMaterialId"))
477
476
  EncryptResponse.struct_class = Types::EncryptResponse
478
477
 
479
478
  EncryptionAlgorithmSpecList.member = Shapes::ShapeRef.new(shape: EncryptionAlgorithmSpec)
@@ -1703,7 +1703,8 @@ module Aws::KMS
1703
1703
  # @!attribute [rw] key_material_id
1704
1704
  # The identifier of the key material used to decrypt the ciphertext.
1705
1705
  # This field is present only when the operation uses a symmetric
1706
- # encryption KMS key.
1706
+ # encryption KMS key. This field is omitted if the request includes
1707
+ # the `Recipient` parameter.
1707
1708
  # @return [String]
1708
1709
  #
1709
1710
  # @see http://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DecryptResponse AWS API Documentation
@@ -2457,19 +2458,12 @@ module Aws::KMS
2457
2458
  # The encryption algorithm that was used to encrypt the plaintext.
2458
2459
  # @return [String]
2459
2460
  #
2460
- # @!attribute [rw] key_material_id
2461
- # The identifier of the key material used to encrypt the ciphertext.
2462
- # This field is present only when the operation uses a symmetric
2463
- # encryption KMS key.
2464
- # @return [String]
2465
- #
2466
2461
  # @see http://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/EncryptResponse AWS API Documentation
2467
2462
  #
2468
2463
  class EncryptResponse < Struct.new(
2469
2464
  :ciphertext_blob,
2470
2465
  :key_id,
2471
- :encryption_algorithm,
2472
- :key_material_id)
2466
+ :encryption_algorithm)
2473
2467
  SENSITIVE = []
2474
2468
  include Aws::Structure
2475
2469
  end
@@ -2677,6 +2671,8 @@ module Aws::KMS
2677
2671
  #
2678
2672
  # @!attribute [rw] key_material_id
2679
2673
  # The identifier of the key material used to encrypt the private key.
2674
+ # This field is omitted if the request includes the `Recipient`
2675
+ # parameter.
2680
2676
  # @return [String]
2681
2677
  #
2682
2678
  # @see http://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateDataKeyPairResponse AWS API Documentation
@@ -3017,6 +3013,8 @@ module Aws::KMS
3017
3013
  #
3018
3014
  # @!attribute [rw] key_material_id
3019
3015
  # The identifier of the key material used to encrypt the data key.
3016
+ # This field is omitted if the request includes the `Recipient`
3017
+ # parameter.
3020
3018
  # @return [String]
3021
3019
  #
3022
3020
  # @see http://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateDataKeyResponse AWS API Documentation
data/lib/aws-sdk-kms.rb CHANGED
@@ -54,7 +54,7 @@ module Aws::KMS
54
54
  autoload :EndpointProvider, 'aws-sdk-kms/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-kms/endpoints'
56
56
 
57
- GEM_VERSION = '1.103.0'
57
+ GEM_VERSION = '1.104.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -309,7 +309,6 @@ module Aws
309
309
  def ciphertext_blob: () -> ::String
310
310
  def key_id: () -> ::String
311
311
  def encryption_algorithm: () -> ("SYMMETRIC_DEFAULT" | "RSAES_OAEP_SHA_1" | "RSAES_OAEP_SHA_256" | "SM2PKE")
312
- def key_material_id: () -> ::String
313
312
  end
314
313
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#encrypt-instance_method
315
314
  def encrypt: (
data/sig/types.rbs CHANGED
@@ -314,7 +314,6 @@ module Aws::KMS
314
314
  attr_accessor ciphertext_blob: ::String
315
315
  attr_accessor key_id: ::String
316
316
  attr_accessor encryption_algorithm: ("SYMMETRIC_DEFAULT" | "RSAES_OAEP_SHA_1" | "RSAES_OAEP_SHA_256" | "SM2PKE")
317
- attr_accessor key_material_id: ::String
318
317
  SENSITIVE: []
319
318
  end
320
319
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-kms
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.103.0
4
+ version: 1.104.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services