Module: Aws::KMS::ClientApi Private

Includes:
Seahorse::Model
Defined in:
lib/aws-sdk-kms/client_api.rb

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Constant Summary collapse

AWSAccountIdType =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'AWSAccountIdType')
AlgorithmSpec =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'AlgorithmSpec')
AliasList =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::ListShape.new(name: 'AliasList')
AliasListEntry =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'AliasListEntry')
AliasNameType =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'AliasNameType')
AlreadyExistsException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'AlreadyExistsException')
ArnType =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'ArnType')
BooleanType =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::BooleanShape.new(name: 'BooleanType')
CancelKeyDeletionRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'CancelKeyDeletionRequest')
CancelKeyDeletionResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'CancelKeyDeletionResponse')
CiphertextType =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::BlobShape.new(name: 'CiphertextType')
CloudHsmClusterIdType =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'CloudHsmClusterIdType')
CloudHsmClusterInUseException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'CloudHsmClusterInUseException')
CloudHsmClusterInvalidConfigurationException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'CloudHsmClusterInvalidConfigurationException')
CloudHsmClusterNotActiveException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'CloudHsmClusterNotActiveException')
CloudHsmClusterNotFoundException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'CloudHsmClusterNotFoundException')
CloudHsmClusterNotRelatedException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'CloudHsmClusterNotRelatedException')
ConnectCustomKeyStoreRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ConnectCustomKeyStoreRequest')
ConnectCustomKeyStoreResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ConnectCustomKeyStoreResponse')
ConnectionErrorCodeType =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'ConnectionErrorCodeType')
ConnectionStateType =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'ConnectionStateType')
CreateAliasRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'CreateAliasRequest')
CreateCustomKeyStoreRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'CreateCustomKeyStoreRequest')
CreateCustomKeyStoreResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'CreateCustomKeyStoreResponse')
CreateGrantRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'CreateGrantRequest')
CreateGrantResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'CreateGrantResponse')
CreateKeyRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'CreateKeyRequest')
CreateKeyResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'CreateKeyResponse')
CustomKeyStoreHasCMKsException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'CustomKeyStoreHasCMKsException')
CustomKeyStoreIdType =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'CustomKeyStoreIdType')
CustomKeyStoreInvalidStateException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'CustomKeyStoreInvalidStateException')
CustomKeyStoreNameInUseException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'CustomKeyStoreNameInUseException')
CustomKeyStoreNameType =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'CustomKeyStoreNameType')
CustomKeyStoreNotFoundException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'CustomKeyStoreNotFoundException')
CustomKeyStoresList =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::ListShape.new(name: 'CustomKeyStoresList')
CustomKeyStoresListEntry =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'CustomKeyStoresListEntry')
DataKeySpec =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'DataKeySpec')
DateType =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::TimestampShape.new(name: 'DateType')
DecryptRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'DecryptRequest')
DecryptResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'DecryptResponse')
DeleteAliasRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'DeleteAliasRequest')
DeleteCustomKeyStoreRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'DeleteCustomKeyStoreRequest')
DeleteCustomKeyStoreResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'DeleteCustomKeyStoreResponse')
DeleteImportedKeyMaterialRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'DeleteImportedKeyMaterialRequest')
DependencyTimeoutException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'DependencyTimeoutException')
DescribeCustomKeyStoresRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'DescribeCustomKeyStoresRequest')
DescribeCustomKeyStoresResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'DescribeCustomKeyStoresResponse')
DescribeKeyRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'DescribeKeyRequest')
DescribeKeyResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'DescribeKeyResponse')
DescriptionType =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'DescriptionType')
DisableKeyRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'DisableKeyRequest')
DisableKeyRotationRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'DisableKeyRotationRequest')
DisabledException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'DisabledException')
DisconnectCustomKeyStoreRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'DisconnectCustomKeyStoreRequest')
DisconnectCustomKeyStoreResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'DisconnectCustomKeyStoreResponse')
EnableKeyRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'EnableKeyRequest')
EnableKeyRotationRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'EnableKeyRotationRequest')
EncryptRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'EncryptRequest')
EncryptResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'EncryptResponse')
EncryptionContextKey =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'EncryptionContextKey')
EncryptionContextType =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::MapShape.new(name: 'EncryptionContextType')
EncryptionContextValue =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'EncryptionContextValue')
ErrorMessageType =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'ErrorMessageType')
ExpirationModelType =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'ExpirationModelType')
ExpiredImportTokenException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ExpiredImportTokenException')
GenerateDataKeyRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'GenerateDataKeyRequest')
GenerateDataKeyResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'GenerateDataKeyResponse')
GenerateDataKeyWithoutPlaintextRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'GenerateDataKeyWithoutPlaintextRequest')
GenerateDataKeyWithoutPlaintextResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'GenerateDataKeyWithoutPlaintextResponse')
GenerateRandomRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'GenerateRandomRequest')
GenerateRandomResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'GenerateRandomResponse')
GetKeyPolicyRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'GetKeyPolicyRequest')
GetKeyPolicyResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'GetKeyPolicyResponse')
GetKeyRotationStatusRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'GetKeyRotationStatusRequest')
GetKeyRotationStatusResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'GetKeyRotationStatusResponse')
GetParametersForImportRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'GetParametersForImportRequest')
GetParametersForImportResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'GetParametersForImportResponse')
GrantConstraints =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'GrantConstraints')
GrantIdType =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'GrantIdType')
GrantList =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::ListShape.new(name: 'GrantList')
GrantListEntry =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'GrantListEntry')
GrantNameType =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'GrantNameType')
GrantOperation =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'GrantOperation')
GrantOperationList =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::ListShape.new(name: 'GrantOperationList')
GrantTokenList =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::ListShape.new(name: 'GrantTokenList')
GrantTokenType =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'GrantTokenType')
ImportKeyMaterialRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ImportKeyMaterialRequest')
ImportKeyMaterialResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ImportKeyMaterialResponse')
IncorrectKeyMaterialException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'IncorrectKeyMaterialException')
IncorrectTrustAnchorException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'IncorrectTrustAnchorException')
InvalidAliasNameException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'InvalidAliasNameException')
InvalidArnException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'InvalidArnException')
InvalidCiphertextException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'InvalidCiphertextException')
InvalidGrantIdException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'InvalidGrantIdException')
InvalidGrantTokenException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'InvalidGrantTokenException')
InvalidImportTokenException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'InvalidImportTokenException')
InvalidKeyUsageException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'InvalidKeyUsageException')
InvalidMarkerException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'InvalidMarkerException')
KMSInternalException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'KMSInternalException')
KMSInvalidStateException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'KMSInvalidStateException')
KeyIdType =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'KeyIdType')
KeyList =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::ListShape.new(name: 'KeyList')
KeyListEntry =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'KeyListEntry')
KeyManagerType =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'KeyManagerType')
KeyMetadata =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'KeyMetadata')
KeyState =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'KeyState')
KeyStorePasswordType =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'KeyStorePasswordType')
KeyUnavailableException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'KeyUnavailableException')
KeyUsageType =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'KeyUsageType')
LimitExceededException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'LimitExceededException')
LimitType =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::IntegerShape.new(name: 'LimitType')
ListAliasesRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ListAliasesRequest')
ListAliasesResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ListAliasesResponse')
ListGrantsRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ListGrantsRequest')
ListGrantsResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ListGrantsResponse')
ListKeyPoliciesRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ListKeyPoliciesRequest')
ListKeyPoliciesResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ListKeyPoliciesResponse')
ListKeysRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ListKeysRequest')
ListKeysResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ListKeysResponse')
ListResourceTagsRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ListResourceTagsRequest')
ListResourceTagsResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ListResourceTagsResponse')
ListRetirableGrantsRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ListRetirableGrantsRequest')
MalformedPolicyDocumentException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'MalformedPolicyDocumentException')
MarkerType =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'MarkerType')
NotFoundException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'NotFoundException')
NumberOfBytesType =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::IntegerShape.new(name: 'NumberOfBytesType')
OriginType =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'OriginType')
PendingWindowInDaysType =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::IntegerShape.new(name: 'PendingWindowInDaysType')
PlaintextType =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::BlobShape.new(name: 'PlaintextType')
PolicyNameList =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::ListShape.new(name: 'PolicyNameList')
PolicyNameType =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'PolicyNameType')
PolicyType =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'PolicyType')
PrincipalIdType =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'PrincipalIdType')
PutKeyPolicyRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'PutKeyPolicyRequest')
ReEncryptRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ReEncryptRequest')
ReEncryptResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ReEncryptResponse')
RetireGrantRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'RetireGrantRequest')
RevokeGrantRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'RevokeGrantRequest')
ScheduleKeyDeletionRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ScheduleKeyDeletionRequest')
ScheduleKeyDeletionResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ScheduleKeyDeletionResponse')
Tag =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'Tag')
TagException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'TagException')
TagKeyList =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::ListShape.new(name: 'TagKeyList')
TagKeyType =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'TagKeyType')
TagList =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::ListShape.new(name: 'TagList')
TagResourceRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'TagResourceRequest')
TagValueType =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'TagValueType')
TrustAnchorCertificateType =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'TrustAnchorCertificateType')
UnsupportedOperationException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'UnsupportedOperationException')
UntagResourceRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'UntagResourceRequest')
UpdateAliasRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'UpdateAliasRequest')
UpdateCustomKeyStoreRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'UpdateCustomKeyStoreRequest')
UpdateCustomKeyStoreResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'UpdateCustomKeyStoreResponse')
UpdateKeyDescriptionRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'UpdateKeyDescriptionRequest')
WrappingKeySpec =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'WrappingKeySpec')
API =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Seahorse::Model::Api.new.tap do |api|

  api.version = "2014-11-01"

  api. = {
    "apiVersion" => "2014-11-01",
    "endpointPrefix" => "kms",
    "jsonVersion" => "1.1",
    "protocol" => "json",
    "serviceAbbreviation" => "KMS",
    "serviceFullName" => "AWS Key Management Service",
    "serviceId" => "KMS",
    "signatureVersion" => "v4",
    "targetPrefix" => "TrentService",
    "uid" => "kms-2014-11-01",
  }

  api.add_operation(:cancel_key_deletion, Seahorse::Model::Operation.new.tap do |o|
    o.name = "CancelKeyDeletion"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: CancelKeyDeletionRequest)
    o.output = Shapes::ShapeRef.new(shape: CancelKeyDeletionResponse)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
    o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
  end)

  api.add_operation(:connect_custom_key_store, Seahorse::Model::Operation.new.tap do |o|
    o.name = "ConnectCustomKeyStore"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: ConnectCustomKeyStoreRequest)
    o.output = Shapes::ShapeRef.new(shape: ConnectCustomKeyStoreResponse)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmClusterNotActiveException)
    o.errors << Shapes::ShapeRef.new(shape: CustomKeyStoreInvalidStateException)
    o.errors << Shapes::ShapeRef.new(shape: CustomKeyStoreNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmClusterInvalidConfigurationException)
  end)

  api.add_operation(:create_alias, Seahorse::Model::Operation.new.tap do |o|
    o.name = "CreateAlias"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: CreateAliasRequest)
    o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
    o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
    o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidAliasNameException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
    o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
  end)

  api.add_operation(:create_custom_key_store, Seahorse::Model::Operation.new.tap do |o|
    o.name = "CreateCustomKeyStore"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: CreateCustomKeyStoreRequest)
    o.output = Shapes::ShapeRef.new(shape: CreateCustomKeyStoreResponse)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmClusterInUseException)
    o.errors << Shapes::ShapeRef.new(shape: CustomKeyStoreNameInUseException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmClusterNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmClusterNotActiveException)
    o.errors << Shapes::ShapeRef.new(shape: IncorrectTrustAnchorException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmClusterInvalidConfigurationException)
  end)

  api.add_operation(:create_grant, Seahorse::Model::Operation.new.tap do |o|
    o.name = "CreateGrant"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: CreateGrantRequest)
    o.output = Shapes::ShapeRef.new(shape: CreateGrantResponse)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: DisabledException)
    o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidGrantTokenException)
    o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
  end)

  api.add_operation(:create_key, Seahorse::Model::Operation.new.tap do |o|
    o.name = "CreateKey"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: CreateKeyRequest)
    o.output = Shapes::ShapeRef.new(shape: CreateKeyResponse)
    o.errors << Shapes::ShapeRef.new(shape: MalformedPolicyDocumentException)
    o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
    o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
    o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
    o.errors << Shapes::ShapeRef.new(shape: TagException)
    o.errors << Shapes::ShapeRef.new(shape: CustomKeyStoreNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: CustomKeyStoreInvalidStateException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmClusterInvalidConfigurationException)
  end)

  api.add_operation(:decrypt, Seahorse::Model::Operation.new.tap do |o|
    o.name = "Decrypt"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: DecryptRequest)
    o.output = Shapes::ShapeRef.new(shape: DecryptResponse)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: DisabledException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidCiphertextException)
    o.errors << Shapes::ShapeRef.new(shape: KeyUnavailableException)
    o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidGrantTokenException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
  end)

  api.add_operation(:delete_alias, Seahorse::Model::Operation.new.tap do |o|
    o.name = "DeleteAlias"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: DeleteAliasRequest)
    o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
    o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
  end)

  api.add_operation(:delete_custom_key_store, Seahorse::Model::Operation.new.tap do |o|
    o.name = "DeleteCustomKeyStore"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: DeleteCustomKeyStoreRequest)
    o.output = Shapes::ShapeRef.new(shape: DeleteCustomKeyStoreResponse)
    o.errors << Shapes::ShapeRef.new(shape: CustomKeyStoreHasCMKsException)
    o.errors << Shapes::ShapeRef.new(shape: CustomKeyStoreInvalidStateException)
    o.errors << Shapes::ShapeRef.new(shape: CustomKeyStoreNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
  end)

  api.add_operation(:delete_imported_key_material, Seahorse::Model::Operation.new.tap do |o|
    o.name = "DeleteImportedKeyMaterial"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: DeleteImportedKeyMaterialRequest)
    o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
    o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
    o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
    o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
  end)

  api.add_operation(:describe_custom_key_stores, Seahorse::Model::Operation.new.tap do |o|
    o.name = "DescribeCustomKeyStores"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: DescribeCustomKeyStoresRequest)
    o.output = Shapes::ShapeRef.new(shape: DescribeCustomKeyStoresResponse)
    o.errors << Shapes::ShapeRef.new(shape: CustomKeyStoreNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
  end)

  api.add_operation(:describe_key, Seahorse::Model::Operation.new.tap do |o|
    o.name = "DescribeKey"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: DescribeKeyRequest)
    o.output = Shapes::ShapeRef.new(shape: DescribeKeyResponse)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
    o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
  end)

  api.add_operation(:disable_key, Seahorse::Model::Operation.new.tap do |o|
    o.name = "DisableKey"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: DisableKeyRequest)
    o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
    o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
  end)

  api.add_operation(:disable_key_rotation, Seahorse::Model::Operation.new.tap do |o|
    o.name = "DisableKeyRotation"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: DisableKeyRotationRequest)
    o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: DisabledException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
    o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
    o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
  end)

  api.add_operation(:disconnect_custom_key_store, Seahorse::Model::Operation.new.tap do |o|
    o.name = "DisconnectCustomKeyStore"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: DisconnectCustomKeyStoreRequest)
    o.output = Shapes::ShapeRef.new(shape: DisconnectCustomKeyStoreResponse)
    o.errors << Shapes::ShapeRef.new(shape: CustomKeyStoreInvalidStateException)
    o.errors << Shapes::ShapeRef.new(shape: CustomKeyStoreNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
  end)

  api.add_operation(:enable_key, Seahorse::Model::Operation.new.tap do |o|
    o.name = "EnableKey"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: EnableKeyRequest)
    o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
    o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
    o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
  end)

  api.add_operation(:enable_key_rotation, Seahorse::Model::Operation.new.tap do |o|
    o.name = "EnableKeyRotation"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: EnableKeyRotationRequest)
    o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: DisabledException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
    o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
    o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
  end)

  api.add_operation(:encrypt, Seahorse::Model::Operation.new.tap do |o|
    o.name = "Encrypt"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: EncryptRequest)
    o.output = Shapes::ShapeRef.new(shape: EncryptResponse)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: DisabledException)
    o.errors << Shapes::ShapeRef.new(shape: KeyUnavailableException)
    o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidKeyUsageException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidGrantTokenException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
  end)

  api.add_operation(:generate_data_key, Seahorse::Model::Operation.new.tap do |o|
    o.name = "GenerateDataKey"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: GenerateDataKeyRequest)
    o.output = Shapes::ShapeRef.new(shape: GenerateDataKeyResponse)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: DisabledException)
    o.errors << Shapes::ShapeRef.new(shape: KeyUnavailableException)
    o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidKeyUsageException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidGrantTokenException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
  end)

  api.add_operation(:generate_data_key_without_plaintext, Seahorse::Model::Operation.new.tap do |o|
    o.name = "GenerateDataKeyWithoutPlaintext"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: GenerateDataKeyWithoutPlaintextRequest)
    o.output = Shapes::ShapeRef.new(shape: GenerateDataKeyWithoutPlaintextResponse)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: DisabledException)
    o.errors << Shapes::ShapeRef.new(shape: KeyUnavailableException)
    o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidKeyUsageException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidGrantTokenException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
  end)

  api.add_operation(:generate_random, Seahorse::Model::Operation.new.tap do |o|
    o.name = "GenerateRandom"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: GenerateRandomRequest)
    o.output = Shapes::ShapeRef.new(shape: GenerateRandomResponse)
    o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
    o.errors << Shapes::ShapeRef.new(shape: CustomKeyStoreNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: CustomKeyStoreInvalidStateException)
  end)

  api.add_operation(:get_key_policy, Seahorse::Model::Operation.new.tap do |o|
    o.name = "GetKeyPolicy"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: GetKeyPolicyRequest)
    o.output = Shapes::ShapeRef.new(shape: GetKeyPolicyResponse)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
    o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
  end)

  api.add_operation(:get_key_rotation_status, Seahorse::Model::Operation.new.tap do |o|
    o.name = "GetKeyRotationStatus"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: GetKeyRotationStatusRequest)
    o.output = Shapes::ShapeRef.new(shape: GetKeyRotationStatusResponse)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
    o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
    o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
  end)

  api.add_operation(:get_parameters_for_import, Seahorse::Model::Operation.new.tap do |o|
    o.name = "GetParametersForImport"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: GetParametersForImportRequest)
    o.output = Shapes::ShapeRef.new(shape: GetParametersForImportResponse)
    o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
    o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
    o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
  end)

  api.add_operation(:import_key_material, Seahorse::Model::Operation.new.tap do |o|
    o.name = "ImportKeyMaterial"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: ImportKeyMaterialRequest)
    o.output = Shapes::ShapeRef.new(shape: ImportKeyMaterialResponse)
    o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
    o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
    o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidCiphertextException)
    o.errors << Shapes::ShapeRef.new(shape: IncorrectKeyMaterialException)
    o.errors << Shapes::ShapeRef.new(shape: ExpiredImportTokenException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidImportTokenException)
  end)

  api.add_operation(:list_aliases, Seahorse::Model::Operation.new.tap do |o|
    o.name = "ListAliases"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: ListAliasesRequest)
    o.output = Shapes::ShapeRef.new(shape: ListAliasesResponse)
    o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidMarkerException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o[:pager] = Aws::Pager.new(
      more_results: "truncated",
      limit_key: "limit",
      tokens: {
        "next_marker" => "marker"
      }
    )
  end)

  api.add_operation(:list_grants, Seahorse::Model::Operation.new.tap do |o|
    o.name = "ListGrants"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: ListGrantsRequest)
    o.output = Shapes::ShapeRef.new(shape: ListGrantsResponse)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidMarkerException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
    o[:pager] = Aws::Pager.new(
      more_results: "truncated",
      limit_key: "limit",
      tokens: {
        "next_marker" => "marker"
      }
    )
  end)

  api.add_operation(:list_key_policies, Seahorse::Model::Operation.new.tap do |o|
    o.name = "ListKeyPolicies"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: ListKeyPoliciesRequest)
    o.output = Shapes::ShapeRef.new(shape: ListKeyPoliciesResponse)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
    o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
    o[:pager] = Aws::Pager.new(
      more_results: "truncated",
      limit_key: "limit",
      tokens: {
        "next_marker" => "marker"
      }
    )
  end)

  api.add_operation(:list_keys, Seahorse::Model::Operation.new.tap do |o|
    o.name = "ListKeys"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: ListKeysRequest)
    o.output = Shapes::ShapeRef.new(shape: ListKeysResponse)
    o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidMarkerException)
    o[:pager] = Aws::Pager.new(
      more_results: "truncated",
      limit_key: "limit",
      tokens: {
        "next_marker" => "marker"
      }
    )
  end)

  api.add_operation(:list_resource_tags, Seahorse::Model::Operation.new.tap do |o|
    o.name = "ListResourceTags"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: ListResourceTagsRequest)
    o.output = Shapes::ShapeRef.new(shape: ListResourceTagsResponse)
    o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidMarkerException)
  end)

  api.add_operation(:list_retirable_grants, Seahorse::Model::Operation.new.tap do |o|
    o.name = "ListRetirableGrants"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: ListRetirableGrantsRequest)
    o.output = Shapes::ShapeRef.new(shape: ListGrantsResponse)
    o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidMarkerException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
  end)

  api.add_operation(:put_key_policy, Seahorse::Model::Operation.new.tap do |o|
    o.name = "PutKeyPolicy"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: PutKeyPolicyRequest)
    o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
    o.errors << Shapes::ShapeRef.new(shape: MalformedPolicyDocumentException)
    o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
    o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
    o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
  end)

  api.add_operation(:re_encrypt, Seahorse::Model::Operation.new.tap do |o|
    o.name = "ReEncrypt"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: ReEncryptRequest)
    o.output = Shapes::ShapeRef.new(shape: ReEncryptResponse)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: DisabledException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidCiphertextException)
    o.errors << Shapes::ShapeRef.new(shape: KeyUnavailableException)
    o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidKeyUsageException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidGrantTokenException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
  end)

  api.add_operation(:retire_grant, Seahorse::Model::Operation.new.tap do |o|
    o.name = "RetireGrant"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: RetireGrantRequest)
    o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
    o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidGrantTokenException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidGrantIdException)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
  end)

  api.add_operation(:revoke_grant, Seahorse::Model::Operation.new.tap do |o|
    o.name = "RevokeGrant"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: RevokeGrantRequest)
    o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidGrantIdException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
  end)

  api.add_operation(:schedule_key_deletion, Seahorse::Model::Operation.new.tap do |o|
    o.name = "ScheduleKeyDeletion"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: ScheduleKeyDeletionRequest)
    o.output = Shapes::ShapeRef.new(shape: ScheduleKeyDeletionResponse)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
    o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
  end)

  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
    o.name = "TagResource"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
    o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
    o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
    o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
    o.errors << Shapes::ShapeRef.new(shape: TagException)
  end)

  api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
    o.name = "UntagResource"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
    o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
    o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
    o.errors << Shapes::ShapeRef.new(shape: TagException)
  end)

  api.add_operation(:update_alias, Seahorse::Model::Operation.new.tap do |o|
    o.name = "UpdateAlias"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: UpdateAliasRequest)
    o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
    o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
  end)

  api.add_operation(:update_custom_key_store, Seahorse::Model::Operation.new.tap do |o|
    o.name = "UpdateCustomKeyStore"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: UpdateCustomKeyStoreRequest)
    o.output = Shapes::ShapeRef.new(shape: UpdateCustomKeyStoreResponse)
    o.errors << Shapes::ShapeRef.new(shape: CustomKeyStoreNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmClusterNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmClusterNotRelatedException)
    o.errors << Shapes::ShapeRef.new(shape: CustomKeyStoreInvalidStateException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmClusterNotActiveException)
    o.errors << Shapes::ShapeRef.new(shape: CloudHsmClusterInvalidConfigurationException)
  end)

  api.add_operation(:update_key_description, Seahorse::Model::Operation.new.tap do |o|
    o.name = "UpdateKeyDescription"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: UpdateKeyDescriptionRequest)
    o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
    o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
  end)
end