aws-sdk-kms 1.63.0 → 1.65.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -20,6 +20,7 @@ module Aws::KMS
20
20
  AliasNameType = Shapes::StringShape.new(name: 'AliasNameType')
21
21
  AlreadyExistsException = Shapes::StructureShape.new(name: 'AlreadyExistsException')
22
22
  ArnType = Shapes::StringShape.new(name: 'ArnType')
23
+ AttestationDocumentType = Shapes::BlobShape.new(name: 'AttestationDocumentType')
23
24
  BooleanType = Shapes::BooleanShape.new(name: 'BooleanType')
24
25
  CancelKeyDeletionRequest = Shapes::StructureShape.new(name: 'CancelKeyDeletionRequest')
25
26
  CancelKeyDeletionResponse = Shapes::StructureShape.new(name: 'CancelKeyDeletionResponse')
@@ -129,6 +130,7 @@ module Aws::KMS
129
130
  KMSInvalidMacException = Shapes::StructureShape.new(name: 'KMSInvalidMacException')
130
131
  KMSInvalidSignatureException = Shapes::StructureShape.new(name: 'KMSInvalidSignatureException')
131
132
  KMSInvalidStateException = Shapes::StructureShape.new(name: 'KMSInvalidStateException')
133
+ KeyEncryptionMechanism = Shapes::StringShape.new(name: 'KeyEncryptionMechanism')
132
134
  KeyIdType = Shapes::StringShape.new(name: 'KeyIdType')
133
135
  KeyList = Shapes::ListShape.new(name: 'KeyList')
134
136
  KeyListEntry = Shapes::StructureShape.new(name: 'KeyListEntry')
@@ -175,6 +177,7 @@ module Aws::KMS
175
177
  PutKeyPolicyRequest = Shapes::StructureShape.new(name: 'PutKeyPolicyRequest')
176
178
  ReEncryptRequest = Shapes::StructureShape.new(name: 'ReEncryptRequest')
177
179
  ReEncryptResponse = Shapes::StructureShape.new(name: 'ReEncryptResponse')
180
+ RecipientInfo = Shapes::StructureShape.new(name: 'RecipientInfo')
178
181
  RegionType = Shapes::StringShape.new(name: 'RegionType')
179
182
  ReplicateKeyRequest = Shapes::StructureShape.new(name: 'ReplicateKeyRequest')
180
183
  ReplicateKeyResponse = Shapes::StructureShape.new(name: 'ReplicateKeyResponse')
@@ -345,11 +348,13 @@ module Aws::KMS
345
348
  DecryptRequest.add_member(:grant_tokens, Shapes::ShapeRef.new(shape: GrantTokenList, location_name: "GrantTokens"))
346
349
  DecryptRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
347
350
  DecryptRequest.add_member(:encryption_algorithm, Shapes::ShapeRef.new(shape: EncryptionAlgorithmSpec, location_name: "EncryptionAlgorithm"))
351
+ DecryptRequest.add_member(:recipient, Shapes::ShapeRef.new(shape: RecipientInfo, location_name: "Recipient"))
348
352
  DecryptRequest.struct_class = Types::DecryptRequest
349
353
 
350
354
  DecryptResponse.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
351
355
  DecryptResponse.add_member(:plaintext, Shapes::ShapeRef.new(shape: PlaintextType, location_name: "Plaintext"))
352
356
  DecryptResponse.add_member(:encryption_algorithm, Shapes::ShapeRef.new(shape: EncryptionAlgorithmSpec, location_name: "EncryptionAlgorithm"))
357
+ DecryptResponse.add_member(:ciphertext_for_recipient, Shapes::ShapeRef.new(shape: CiphertextType, location_name: "CiphertextForRecipient"))
353
358
  DecryptResponse.struct_class = Types::DecryptResponse
354
359
 
355
360
  DeleteAliasRequest.add_member(:alias_name, Shapes::ShapeRef.new(shape: AliasNameType, required: true, location_name: "AliasName"))
@@ -428,6 +433,7 @@ module Aws::KMS
428
433
  GenerateDataKeyPairRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
429
434
  GenerateDataKeyPairRequest.add_member(:key_pair_spec, Shapes::ShapeRef.new(shape: DataKeyPairSpec, required: true, location_name: "KeyPairSpec"))
430
435
  GenerateDataKeyPairRequest.add_member(:grant_tokens, Shapes::ShapeRef.new(shape: GrantTokenList, location_name: "GrantTokens"))
436
+ GenerateDataKeyPairRequest.add_member(:recipient, Shapes::ShapeRef.new(shape: RecipientInfo, location_name: "Recipient"))
431
437
  GenerateDataKeyPairRequest.struct_class = Types::GenerateDataKeyPairRequest
432
438
 
433
439
  GenerateDataKeyPairResponse.add_member(:private_key_ciphertext_blob, Shapes::ShapeRef.new(shape: CiphertextType, location_name: "PrivateKeyCiphertextBlob"))
@@ -435,6 +441,7 @@ module Aws::KMS
435
441
  GenerateDataKeyPairResponse.add_member(:public_key, Shapes::ShapeRef.new(shape: PublicKeyType, location_name: "PublicKey"))
436
442
  GenerateDataKeyPairResponse.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
437
443
  GenerateDataKeyPairResponse.add_member(:key_pair_spec, Shapes::ShapeRef.new(shape: DataKeyPairSpec, location_name: "KeyPairSpec"))
444
+ GenerateDataKeyPairResponse.add_member(:ciphertext_for_recipient, Shapes::ShapeRef.new(shape: CiphertextType, location_name: "CiphertextForRecipient"))
438
445
  GenerateDataKeyPairResponse.struct_class = Types::GenerateDataKeyPairResponse
439
446
 
440
447
  GenerateDataKeyPairWithoutPlaintextRequest.add_member(:encryption_context, Shapes::ShapeRef.new(shape: EncryptionContextType, location_name: "EncryptionContext"))
@@ -454,11 +461,13 @@ module Aws::KMS
454
461
  GenerateDataKeyRequest.add_member(:number_of_bytes, Shapes::ShapeRef.new(shape: NumberOfBytesType, location_name: "NumberOfBytes"))
455
462
  GenerateDataKeyRequest.add_member(:key_spec, Shapes::ShapeRef.new(shape: DataKeySpec, location_name: "KeySpec"))
456
463
  GenerateDataKeyRequest.add_member(:grant_tokens, Shapes::ShapeRef.new(shape: GrantTokenList, location_name: "GrantTokens"))
464
+ GenerateDataKeyRequest.add_member(:recipient, Shapes::ShapeRef.new(shape: RecipientInfo, location_name: "Recipient"))
457
465
  GenerateDataKeyRequest.struct_class = Types::GenerateDataKeyRequest
458
466
 
459
467
  GenerateDataKeyResponse.add_member(:ciphertext_blob, Shapes::ShapeRef.new(shape: CiphertextType, location_name: "CiphertextBlob"))
460
468
  GenerateDataKeyResponse.add_member(:plaintext, Shapes::ShapeRef.new(shape: PlaintextType, location_name: "Plaintext"))
461
469
  GenerateDataKeyResponse.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
470
+ GenerateDataKeyResponse.add_member(:ciphertext_for_recipient, Shapes::ShapeRef.new(shape: CiphertextType, location_name: "CiphertextForRecipient"))
462
471
  GenerateDataKeyResponse.struct_class = Types::GenerateDataKeyResponse
463
472
 
464
473
  GenerateDataKeyWithoutPlaintextRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
@@ -485,9 +494,11 @@ module Aws::KMS
485
494
 
486
495
  GenerateRandomRequest.add_member(:number_of_bytes, Shapes::ShapeRef.new(shape: NumberOfBytesType, location_name: "NumberOfBytes"))
487
496
  GenerateRandomRequest.add_member(:custom_key_store_id, Shapes::ShapeRef.new(shape: CustomKeyStoreIdType, location_name: "CustomKeyStoreId"))
497
+ GenerateRandomRequest.add_member(:recipient, Shapes::ShapeRef.new(shape: RecipientInfo, location_name: "Recipient"))
488
498
  GenerateRandomRequest.struct_class = Types::GenerateRandomRequest
489
499
 
490
500
  GenerateRandomResponse.add_member(:plaintext, Shapes::ShapeRef.new(shape: PlaintextType, location_name: "Plaintext"))
501
+ GenerateRandomResponse.add_member(:ciphertext_for_recipient, Shapes::ShapeRef.new(shape: CiphertextType, location_name: "CiphertextForRecipient"))
491
502
  GenerateRandomResponse.struct_class = Types::GenerateRandomResponse
492
503
 
493
504
  GetKeyPolicyRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
@@ -740,6 +751,10 @@ module Aws::KMS
740
751
  ReEncryptResponse.add_member(:destination_encryption_algorithm, Shapes::ShapeRef.new(shape: EncryptionAlgorithmSpec, location_name: "DestinationEncryptionAlgorithm"))
741
752
  ReEncryptResponse.struct_class = Types::ReEncryptResponse
742
753
 
754
+ RecipientInfo.add_member(:key_encryption_algorithm, Shapes::ShapeRef.new(shape: KeyEncryptionMechanism, location_name: "KeyEncryptionAlgorithm"))
755
+ RecipientInfo.add_member(:attestation_document, Shapes::ShapeRef.new(shape: AttestationDocumentType, location_name: "AttestationDocument"))
756
+ RecipientInfo.struct_class = Types::RecipientInfo
757
+
743
758
  ReplicateKeyRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
744
759
  ReplicateKeyRequest.add_member(:replica_region, Shapes::ShapeRef.new(shape: RegionType, required: true, location_name: "ReplicaRegion"))
745
760
  ReplicateKeyRequest.add_member(:policy, Shapes::ShapeRef.new(shape: PolicyType, location_name: "Policy"))