Documentation

Overview

Package kms provides the client and types for making API requests to AWS Key Management Service.

AWS Key Management Service (AWS KMS) is an encryption and key management web service. This guide describes the AWS KMS operations that you can call programmatically. For general information about AWS KMS, see the AWS Key Management Service Developer Guide (https://docs.aws.amazon.com/kms/latest/developerguide/).

AWS provides SDKs that consist of libraries and sample code for various programming languages and platforms (Java, Ruby, .Net, macOS, Android, etc.). The SDKs provide a convenient way to create programmatic access to AWS KMS and other AWS services. For example, the SDKs take care of tasks such as signing requests (see below), managing errors, and retrying requests automatically. For more information about the AWS SDKs, including how to download and install them, see Tools for Amazon Web Services (http://aws.amazon.com/tools/).

We recommend that you use the AWS SDKs to make programmatic API calls to AWS KMS.

Clients must support TLS (Transport Layer Security) 1.0. We recommend TLS 1.2. Clients must also support cipher suites with Perfect Forward Secrecy (PFS) such as Ephemeral Diffie-Hellman (DHE) or Elliptic Curve Ephemeral Diffie-Hellman (ECDHE). Most modern systems such as Java 7 and later support these modes.

Signing Requests

Requests must be signed by using an access key ID and a secret access key. We strongly recommend that you do not use your AWS account (root) access key ID and secret key for everyday work with AWS KMS. Instead, use the access key ID and secret access key for an IAM user. You can also use the AWS Security Token Service to generate temporary security credentials that you can use to sign requests.

All AWS KMS operations require Signature Version 4 (https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html).

Logging API Requests

AWS KMS supports AWS CloudTrail, a service that logs AWS API calls and related events for your AWS account and delivers them to an Amazon S3 bucket that you specify. By using the information collected by CloudTrail, you can determine what requests were made to AWS KMS, who made the request, when it was made, and so on. To learn more about CloudTrail, including how to turn it on and find your log files, see the AWS CloudTrail User Guide (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/).

Additional Resources

For more information about credentials and request signing, see the following:

* AWS Security Credentials (https://docs.aws.amazon.com/general/latest/gr/aws-security-credentials.html)
- This topic provides general information about the types of credentials
used for accessing AWS.

* Temporary Security Credentials (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp.html)
- This section of the IAM User Guide describes how to create and use temporary
security credentials.

* Signature Version 4 Signing Process (https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html)
- This set of topics walks you through the process of signing a request
using an access key ID and a secret access key.

Commonly Used API Operations

Of the API operations discussed in this guide, the following will prove the most useful for most applications. You will likely perform operations other than these, such as creating keys and assigning policies, by using the console.

* Encrypt

* Decrypt

* GenerateDataKey

* GenerateDataKeyWithoutPlaintext

See https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01 for more information on this service.

See kms package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/kms/

Using the Client

To contact AWS Key Management Service with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the AWS Key Management Service client KMS for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/kms/#New

Index

Examples

Constants

View Source
const (
	// AlgorithmSpecRsaesPkcs1V15 is a AlgorithmSpec enum value
	AlgorithmSpecRsaesPkcs1V15 = "RSAES_PKCS1_V1_5"

	// AlgorithmSpecRsaesOaepSha1 is a AlgorithmSpec enum value
	AlgorithmSpecRsaesOaepSha1 = "RSAES_OAEP_SHA_1"

	// AlgorithmSpecRsaesOaepSha256 is a AlgorithmSpec enum value
	AlgorithmSpecRsaesOaepSha256 = "RSAES_OAEP_SHA_256"
)
View Source
const (
	// ConnectionErrorCodeTypeInvalidCredentials is a ConnectionErrorCodeType enum value
	ConnectionErrorCodeTypeInvalidCredentials = "INVALID_CREDENTIALS"

	// ConnectionErrorCodeTypeClusterNotFound is a ConnectionErrorCodeType enum value
	ConnectionErrorCodeTypeClusterNotFound = "CLUSTER_NOT_FOUND"

	// ConnectionErrorCodeTypeNetworkErrors is a ConnectionErrorCodeType enum value
	ConnectionErrorCodeTypeNetworkErrors = "NETWORK_ERRORS"

	// ConnectionErrorCodeTypeInternalError is a ConnectionErrorCodeType enum value
	ConnectionErrorCodeTypeInternalError = "INTERNAL_ERROR"

	// ConnectionErrorCodeTypeInsufficientCloudhsmHsms is a ConnectionErrorCodeType enum value
	ConnectionErrorCodeTypeInsufficientCloudhsmHsms = "INSUFFICIENT_CLOUDHSM_HSMS"

	// ConnectionErrorCodeTypeUserLockedOut is a ConnectionErrorCodeType enum value
	ConnectionErrorCodeTypeUserLockedOut = "USER_LOCKED_OUT"

	// ConnectionErrorCodeTypeUserNotFound is a ConnectionErrorCodeType enum value
	ConnectionErrorCodeTypeUserNotFound = "USER_NOT_FOUND"

	// ConnectionErrorCodeTypeUserLoggedIn is a ConnectionErrorCodeType enum value
	ConnectionErrorCodeTypeUserLoggedIn = "USER_LOGGED_IN"

	// ConnectionErrorCodeTypeSubnetNotFound is a ConnectionErrorCodeType enum value
	ConnectionErrorCodeTypeSubnetNotFound = "SUBNET_NOT_FOUND"
)
View Source
const (
	// ConnectionStateTypeConnected is a ConnectionStateType enum value
	ConnectionStateTypeConnected = "CONNECTED"

	// ConnectionStateTypeConnecting is a ConnectionStateType enum value
	ConnectionStateTypeConnecting = "CONNECTING"

	// ConnectionStateTypeFailed is a ConnectionStateType enum value
	ConnectionStateTypeFailed = "FAILED"

	// ConnectionStateTypeDisconnected is a ConnectionStateType enum value
	ConnectionStateTypeDisconnected = "DISCONNECTED"

	// ConnectionStateTypeDisconnecting is a ConnectionStateType enum value
	ConnectionStateTypeDisconnecting = "DISCONNECTING"
)
View Source
const (
	// CustomerMasterKeySpecRsa2048 is a CustomerMasterKeySpec enum value
	CustomerMasterKeySpecRsa2048 = "RSA_2048"

	// CustomerMasterKeySpecRsa3072 is a CustomerMasterKeySpec enum value
	CustomerMasterKeySpecRsa3072 = "RSA_3072"

	// CustomerMasterKeySpecRsa4096 is a CustomerMasterKeySpec enum value
	CustomerMasterKeySpecRsa4096 = "RSA_4096"

	// CustomerMasterKeySpecEccNistP256 is a CustomerMasterKeySpec enum value
	CustomerMasterKeySpecEccNistP256 = "ECC_NIST_P256"

	// CustomerMasterKeySpecEccNistP384 is a CustomerMasterKeySpec enum value
	CustomerMasterKeySpecEccNistP384 = "ECC_NIST_P384"

	// CustomerMasterKeySpecEccNistP521 is a CustomerMasterKeySpec enum value
	CustomerMasterKeySpecEccNistP521 = "ECC_NIST_P521"

	// CustomerMasterKeySpecEccSecgP256k1 is a CustomerMasterKeySpec enum value
	CustomerMasterKeySpecEccSecgP256k1 = "ECC_SECG_P256K1"

	// CustomerMasterKeySpecSymmetricDefault is a CustomerMasterKeySpec enum value
	CustomerMasterKeySpecSymmetricDefault = "SYMMETRIC_DEFAULT"
)
View Source
const (
	// DataKeyPairSpecRsa2048 is a DataKeyPairSpec enum value
	DataKeyPairSpecRsa2048 = "RSA_2048"

	// DataKeyPairSpecRsa3072 is a DataKeyPairSpec enum value
	DataKeyPairSpecRsa3072 = "RSA_3072"

	// DataKeyPairSpecRsa4096 is a DataKeyPairSpec enum value
	DataKeyPairSpecRsa4096 = "RSA_4096"

	// DataKeyPairSpecEccNistP256 is a DataKeyPairSpec enum value
	DataKeyPairSpecEccNistP256 = "ECC_NIST_P256"

	// DataKeyPairSpecEccNistP384 is a DataKeyPairSpec enum value
	DataKeyPairSpecEccNistP384 = "ECC_NIST_P384"

	// DataKeyPairSpecEccNistP521 is a DataKeyPairSpec enum value
	DataKeyPairSpecEccNistP521 = "ECC_NIST_P521"

	// DataKeyPairSpecEccSecgP256k1 is a DataKeyPairSpec enum value
	DataKeyPairSpecEccSecgP256k1 = "ECC_SECG_P256K1"
)
View Source
const (
	// DataKeySpecAes256 is a DataKeySpec enum value
	DataKeySpecAes256 = "AES_256"

	// DataKeySpecAes128 is a DataKeySpec enum value
	DataKeySpecAes128 = "AES_128"
)
View Source
const (
	// EncryptionAlgorithmSpecSymmetricDefault is a EncryptionAlgorithmSpec enum value
	EncryptionAlgorithmSpecSymmetricDefault = "SYMMETRIC_DEFAULT"

	// EncryptionAlgorithmSpecRsaesOaepSha1 is a EncryptionAlgorithmSpec enum value
	EncryptionAlgorithmSpecRsaesOaepSha1 = "RSAES_OAEP_SHA_1"

	// EncryptionAlgorithmSpecRsaesOaepSha256 is a EncryptionAlgorithmSpec enum value
	EncryptionAlgorithmSpecRsaesOaepSha256 = "RSAES_OAEP_SHA_256"
)
View Source
const (
	// ExpirationModelTypeKeyMaterialExpires is a ExpirationModelType enum value
	ExpirationModelTypeKeyMaterialExpires = "KEY_MATERIAL_EXPIRES"

	// ExpirationModelTypeKeyMaterialDoesNotExpire is a ExpirationModelType enum value
	ExpirationModelTypeKeyMaterialDoesNotExpire = "KEY_MATERIAL_DOES_NOT_EXPIRE"
)
View Source
const (
	// GrantOperationDecrypt is a GrantOperation enum value
	GrantOperationDecrypt = "Decrypt"

	// GrantOperationEncrypt is a GrantOperation enum value
	GrantOperationEncrypt = "Encrypt"

	// GrantOperationGenerateDataKey is a GrantOperation enum value
	GrantOperationGenerateDataKey = "GenerateDataKey"

	// GrantOperationGenerateDataKeyWithoutPlaintext is a GrantOperation enum value
	GrantOperationGenerateDataKeyWithoutPlaintext = "GenerateDataKeyWithoutPlaintext"

	// GrantOperationReEncryptFrom is a GrantOperation enum value
	GrantOperationReEncryptFrom = "ReEncryptFrom"

	// GrantOperationReEncryptTo is a GrantOperation enum value
	GrantOperationReEncryptTo = "ReEncryptTo"

	// GrantOperationSign is a GrantOperation enum value
	GrantOperationSign = "Sign"

	// GrantOperationVerify is a GrantOperation enum value
	GrantOperationVerify = "Verify"

	// GrantOperationGetPublicKey is a GrantOperation enum value
	GrantOperationGetPublicKey = "GetPublicKey"

	// GrantOperationCreateGrant is a GrantOperation enum value
	GrantOperationCreateGrant = "CreateGrant"

	// GrantOperationRetireGrant is a GrantOperation enum value
	GrantOperationRetireGrant = "RetireGrant"

	// GrantOperationDescribeKey is a GrantOperation enum value
	GrantOperationDescribeKey = "DescribeKey"

	// GrantOperationGenerateDataKeyPair is a GrantOperation enum value
	GrantOperationGenerateDataKeyPair = "GenerateDataKeyPair"

	// GrantOperationGenerateDataKeyPairWithoutPlaintext is a GrantOperation enum value
	GrantOperationGenerateDataKeyPairWithoutPlaintext = "GenerateDataKeyPairWithoutPlaintext"
)
View Source
const (
	// KeyManagerTypeAws is a KeyManagerType enum value
	KeyManagerTypeAws = "AWS"

	// KeyManagerTypeCustomer is a KeyManagerType enum value
	KeyManagerTypeCustomer = "CUSTOMER"
)
View Source
const (
	// KeyStateEnabled is a KeyState enum value
	KeyStateEnabled = "Enabled"

	// KeyStateDisabled is a KeyState enum value
	KeyStateDisabled = "Disabled"

	// KeyStatePendingDeletion is a KeyState enum value
	KeyStatePendingDeletion = "PendingDeletion"

	// KeyStatePendingImport is a KeyState enum value
	KeyStatePendingImport = "PendingImport"

	// KeyStateUnavailable is a KeyState enum value
	KeyStateUnavailable = "Unavailable"
)
View Source
const (
	// KeyUsageTypeSignVerify is a KeyUsageType enum value
	KeyUsageTypeSignVerify = "SIGN_VERIFY"

	// KeyUsageTypeEncryptDecrypt is a KeyUsageType enum value
	KeyUsageTypeEncryptDecrypt = "ENCRYPT_DECRYPT"
)
View Source
const (
	// MessageTypeRaw is a MessageType enum value
	MessageTypeRaw = "RAW"

	// MessageTypeDigest is a MessageType enum value
	MessageTypeDigest = "DIGEST"
)
View Source
const (
	// OriginTypeAwsKms is a OriginType enum value
	OriginTypeAwsKms = "AWS_KMS"

	// OriginTypeExternal is a OriginType enum value
	OriginTypeExternal = "EXTERNAL"

	// OriginTypeAwsCloudhsm is a OriginType enum value
	OriginTypeAwsCloudhsm = "AWS_CLOUDHSM"
)
View Source
const (
	// SigningAlgorithmSpecRsassaPssSha256 is a SigningAlgorithmSpec enum value
	SigningAlgorithmSpecRsassaPssSha256 = "RSASSA_PSS_SHA_256"

	// SigningAlgorithmSpecRsassaPssSha384 is a SigningAlgorithmSpec enum value
	SigningAlgorithmSpecRsassaPssSha384 = "RSASSA_PSS_SHA_384"

	// SigningAlgorithmSpecRsassaPssSha512 is a SigningAlgorithmSpec enum value
	SigningAlgorithmSpecRsassaPssSha512 = "RSASSA_PSS_SHA_512"

	// SigningAlgorithmSpecRsassaPkcs1V15Sha256 is a SigningAlgorithmSpec enum value
	SigningAlgorithmSpecRsassaPkcs1V15Sha256 = "RSASSA_PKCS1_V1_5_SHA_256"

	// SigningAlgorithmSpecRsassaPkcs1V15Sha384 is a SigningAlgorithmSpec enum value
	SigningAlgorithmSpecRsassaPkcs1V15Sha384 = "RSASSA_PKCS1_V1_5_SHA_384"

	// SigningAlgorithmSpecRsassaPkcs1V15Sha512 is a SigningAlgorithmSpec enum value
	SigningAlgorithmSpecRsassaPkcs1V15Sha512 = "RSASSA_PKCS1_V1_5_SHA_512"

	// SigningAlgorithmSpecEcdsaSha256 is a SigningAlgorithmSpec enum value
	SigningAlgorithmSpecEcdsaSha256 = "ECDSA_SHA_256"

	// SigningAlgorithmSpecEcdsaSha384 is a SigningAlgorithmSpec enum value
	SigningAlgorithmSpecEcdsaSha384 = "ECDSA_SHA_384"

	// SigningAlgorithmSpecEcdsaSha512 is a SigningAlgorithmSpec enum value
	SigningAlgorithmSpecEcdsaSha512 = "ECDSA_SHA_512"
)
View Source
const (

	// ErrCodeAlreadyExistsException for service response error code
	// "AlreadyExistsException".
	//
	// The request was rejected because it attempted to create a resource that already
	// exists.
	ErrCodeAlreadyExistsException = "AlreadyExistsException"

	// ErrCodeCloudHsmClusterInUseException for service response error code
	// "CloudHsmClusterInUseException".
	//
	// The request was rejected because the specified AWS CloudHSM cluster is already
	// associated with a custom key store or it shares a backup history with a cluster
	// that is associated with a custom key store. Each custom key store must be
	// associated with a different AWS CloudHSM cluster.
	//
	// Clusters that share a backup history have the same cluster certificate. To
	// view the cluster certificate of a cluster, use the DescribeClusters (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/API_DescribeClusters.html)
	// operation.
	ErrCodeCloudHsmClusterInUseException = "CloudHsmClusterInUseException"

	// ErrCodeCloudHsmClusterInvalidConfigurationException for service response error code
	// "CloudHsmClusterInvalidConfigurationException".
	//
	// The request was rejected because the associated AWS CloudHSM cluster did
	// not meet the configuration requirements for a custom key store.
	//
	//    * The cluster must be configured with private subnets in at least two
	//    different Availability Zones in the Region.
	//
	//    * The security group for the cluster (https://docs.aws.amazon.com/cloudhsm/latest/userguide/configure-sg.html)
	//    (cloudhsm-cluster-<cluster-id>-sg) must include inbound rules and outbound
	//    rules that allow TCP traffic on ports 2223-2225. The Source in the inbound
	//    rules and the Destination in the outbound rules must match the security
	//    group ID. These rules are set by default when you create the cluster.
	//    Do not delete or change them. To get information about a particular security
	//    group, use the DescribeSecurityGroups (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSecurityGroups.html)
	//    operation.
	//
	//    * The cluster must contain at least as many HSMs as the operation requires.
	//    To add HSMs, use the AWS CloudHSM CreateHsm (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/API_CreateHsm.html)
	//    operation. For the CreateCustomKeyStore, UpdateCustomKeyStore, and CreateKey
	//    operations, the AWS CloudHSM cluster must have at least two active HSMs,
	//    each in a different Availability Zone. For the ConnectCustomKeyStore operation,
	//    the AWS CloudHSM must contain at least one active HSM.
	//
	// For information about the requirements for an AWS CloudHSM cluster that is
	// associated with a custom key store, see Assemble the Prerequisites (https://docs.aws.amazon.com/kms/latest/developerguide/create-keystore.html#before-keystore)
	// in the AWS Key Management Service Developer Guide. For information about
	// creating a private subnet for an AWS CloudHSM cluster, see Create a Private
	// Subnet (https://docs.aws.amazon.com/cloudhsm/latest/userguide/create-subnets.html)
	// in the AWS CloudHSM User Guide. For information about cluster security groups,
	// see Configure a Default Security Group (https://docs.aws.amazon.com/cloudhsm/latest/userguide/configure-sg.html)
	// in the AWS CloudHSM User Guide .
	ErrCodeCloudHsmClusterInvalidConfigurationException = "CloudHsmClusterInvalidConfigurationException"

	// ErrCodeCloudHsmClusterNotActiveException for service response error code
	// "CloudHsmClusterNotActiveException".
	//
	// The request was rejected because the AWS CloudHSM cluster that is associated
	// with the custom key store is not active. Initialize and activate the cluster
	// and try the command again. For detailed instructions, see Getting Started
	// (https://docs.aws.amazon.com/cloudhsm/latest/userguide/getting-started.html)
	// in the AWS CloudHSM User Guide.
	ErrCodeCloudHsmClusterNotActiveException = "CloudHsmClusterNotActiveException"

	// ErrCodeCloudHsmClusterNotFoundException for service response error code
	// "CloudHsmClusterNotFoundException".
	//
	// The request was rejected because AWS KMS cannot find the AWS CloudHSM cluster
	// with the specified cluster ID. Retry the request with a different cluster
	// ID.
	ErrCodeCloudHsmClusterNotFoundException = "CloudHsmClusterNotFoundException"

	// ErrCodeCloudHsmClusterNotRelatedException for service response error code
	// "CloudHsmClusterNotRelatedException".
	//
	// The request was rejected because the specified AWS CloudHSM cluster has a
	// different cluster certificate than the original cluster. You cannot use the
	// operation to specify an unrelated cluster.
	//
	// Specify a cluster that shares a backup history with the original cluster.
	// This includes clusters that were created from a backup of the current cluster,
	// and clusters that were created from the same backup that produced the current
	// cluster.
	//
	// Clusters that share a backup history have the same cluster certificate. To
	// view the cluster certificate of a cluster, use the DescribeClusters (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/API_DescribeClusters.html)
	// operation.
	ErrCodeCloudHsmClusterNotRelatedException = "CloudHsmClusterNotRelatedException"

	// ErrCodeCustomKeyStoreHasCMKsException for service response error code
	// "CustomKeyStoreHasCMKsException".
	//
	// The request was rejected because the custom key store contains AWS KMS customer
	// master keys (CMKs). After verifying that you do not need to use the CMKs,
	// use the ScheduleKeyDeletion operation to delete the CMKs. After they are
	// deleted, you can delete the custom key store.
	ErrCodeCustomKeyStoreHasCMKsException = "CustomKeyStoreHasCMKsException"

	// ErrCodeCustomKeyStoreInvalidStateException for service response error code
	// "CustomKeyStoreInvalidStateException".
	//
	// The request was rejected because of the ConnectionState of the custom key
	// store. To get the ConnectionState of a custom key store, use the DescribeCustomKeyStores
	// operation.
	//
	// This exception is thrown under the following conditions:
	//
	//    * You requested the CreateKey or GenerateRandom operation in a custom
	//    key store that is not connected. These operations are valid only when
	//    the custom key store ConnectionState is CONNECTED.
	//
	//    * You requested the UpdateCustomKeyStore or DeleteCustomKeyStore operation
	//    on a custom key store that is not disconnected. This operation is valid
	//    only when the custom key store ConnectionState is DISCONNECTED.
	//
	//    * You requested the ConnectCustomKeyStore operation on a custom key store
	//    with a ConnectionState of DISCONNECTING or FAILED. This operation is valid
	//    for all other ConnectionState values.
	ErrCodeCustomKeyStoreInvalidStateException = "CustomKeyStoreInvalidStateException"

	// ErrCodeCustomKeyStoreNameInUseException for service response error code
	// "CustomKeyStoreNameInUseException".
	//
	// The request was rejected because the specified custom key store name is already
	// assigned to another custom key store in the account. Try again with a custom
	// key store name that is unique in the account.
	ErrCodeCustomKeyStoreNameInUseException = "CustomKeyStoreNameInUseException"

	// ErrCodeCustomKeyStoreNotFoundException for service response error code
	// "CustomKeyStoreNotFoundException".
	//
	// The request was rejected because AWS KMS cannot find a custom key store with
	// the specified key store name or ID.
	ErrCodeCustomKeyStoreNotFoundException = "CustomKeyStoreNotFoundException"

	// ErrCodeDependencyTimeoutException for service response error code
	// "DependencyTimeoutException".
	//
	// The system timed out while trying to fulfill the request. The request can
	// be retried.
	ErrCodeDependencyTimeoutException = "DependencyTimeoutException"

	// ErrCodeDisabledException for service response error code
	// "DisabledException".
	//
	// The request was rejected because the specified CMK is not enabled.
	ErrCodeDisabledException = "DisabledException"

	// ErrCodeExpiredImportTokenException for service response error code
	// "ExpiredImportTokenException".
	//
	// The request was rejected because the specified import token is expired. Use
	// GetParametersForImport to get a new import token and public key, use the
	// new public key to encrypt the key material, and then try the request again.
	ErrCodeExpiredImportTokenException = "ExpiredImportTokenException"

	// ErrCodeIncorrectKeyException for service response error code
	// "IncorrectKeyException".
	//
	// The request was rejected because the specified CMK cannot decrypt the data.
	// The KeyId in a Decrypt request and the SourceKeyId in a ReEncrypt request
	// must identify the same CMK that was used to encrypt the ciphertext.
	ErrCodeIncorrectKeyException = "IncorrectKeyException"

	// ErrCodeIncorrectKeyMaterialException for service response error code
	// "IncorrectKeyMaterialException".
	//
	// The request was rejected because the key material in the request is, expired,
	// invalid, or is not the same key material that was previously imported into
	// this customer master key (CMK).
	ErrCodeIncorrectKeyMaterialException = "IncorrectKeyMaterialException"

	// ErrCodeIncorrectTrustAnchorException for service response error code
	// "IncorrectTrustAnchorException".
	//
	// The request was rejected because the trust anchor certificate in the request
	// is not the trust anchor certificate for the specified AWS CloudHSM cluster.
	//
	// When you initialize the cluster (https://docs.aws.amazon.com/cloudhsm/latest/userguide/initialize-cluster.html#sign-csr),
	// you create the trust anchor certificate and save it in the customerCA.crt
	// file.
	ErrCodeIncorrectTrustAnchorException = "IncorrectTrustAnchorException"

	// ErrCodeInternalException for service response error code
	// "KMSInternalException".
	//
	// The request was rejected because an internal exception occurred. The request
	// can be retried.
	ErrCodeInternalException = "KMSInternalException"

	// ErrCodeInvalidAliasNameException for service response error code
	// "InvalidAliasNameException".
	//
	// The request was rejected because the specified alias name is not valid.
	ErrCodeInvalidAliasNameException = "InvalidAliasNameException"

	// ErrCodeInvalidArnException for service response error code
	// "InvalidArnException".
	//
	// The request was rejected because a specified ARN, or an ARN in a key policy,
	// is not valid.
	ErrCodeInvalidArnException = "InvalidArnException"

	// ErrCodeInvalidCiphertextException for service response error code
	// "InvalidCiphertextException".
	//
	// From the Decrypt or ReEncrypt operation, the request was rejected because
	// the specified ciphertext, or additional authenticated data incorporated into
	// the ciphertext, such as the encryption context, is corrupted, missing, or
	// otherwise invalid.
	//
	// From the ImportKeyMaterial operation, the request was rejected because AWS
	// KMS could not decrypt the encrypted (wrapped) key material.
	ErrCodeInvalidCiphertextException = "InvalidCiphertextException"

	// ErrCodeInvalidGrantIdException for service response error code
	// "InvalidGrantIdException".
	//
	// The request was rejected because the specified GrantId is not valid.
	ErrCodeInvalidGrantIdException = "InvalidGrantIdException"

	// ErrCodeInvalidGrantTokenException for service response error code
	// "InvalidGrantTokenException".
	//
	// The request was rejected because the specified grant token is not valid.
	ErrCodeInvalidGrantTokenException = "InvalidGrantTokenException"

	// ErrCodeInvalidImportTokenException for service response error code
	// "InvalidImportTokenException".
	//
	// The request was rejected because the provided import token is invalid or
	// is associated with a different customer master key (CMK).
	ErrCodeInvalidImportTokenException = "InvalidImportTokenException"

	// ErrCodeInvalidKeyUsageException for service response error code
	// "InvalidKeyUsageException".
	//
	// The request was rejected for one of the following reasons:
	//
	//    * The KeyUsage value of the CMK is incompatible with the API operation.
	//
	//    * The encryption algorithm or signing algorithm specified for the operation
	//    is incompatible with the type of key material in the CMK (CustomerMasterKeySpec).
	//
	// For encrypting, decrypting, re-encrypting, and generating data keys, the
	// KeyUsage must be ENCRYPT_DECRYPT. For signing and verifying, the KeyUsage
	// must be SIGN_VERIFY. To find the KeyUsage of a CMK, use the DescribeKey operation.
	//
	// To find the encryption or signing algorithms supported for a particular CMK,
	// use the DescribeKey operation.
	ErrCodeInvalidKeyUsageException = "InvalidKeyUsageException"

	// ErrCodeInvalidMarkerException for service response error code
	// "InvalidMarkerException".
	//
	// The request was rejected because the marker that specifies where pagination
	// should next begin is not valid.
	ErrCodeInvalidMarkerException = "InvalidMarkerException"

	// ErrCodeInvalidStateException for service response error code
	// "KMSInvalidStateException".
	//
	// The request was rejected because the state of the specified resource is not
	// valid for this request.
	//
	// For more information about how key state affects the use of a CMK, see How
	// Key State Affects Use of a Customer Master Key (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html)
	// in the AWS Key Management Service Developer Guide .
	ErrCodeInvalidStateException = "KMSInvalidStateException"

	// ErrCodeKMSInvalidSignatureException for service response error code
	// "KMSInvalidSignatureException".
	//
	// The request was rejected because the signature verification failed. Signature
	// verification fails when it cannot confirm that signature was produced by
	// signing the specified message with the specified CMK and signing algorithm.
	ErrCodeKMSInvalidSignatureException = "KMSInvalidSignatureException"

	// ErrCodeKeyUnavailableException for service response error code
	// "KeyUnavailableException".
	//
	// The request was rejected because the specified CMK was not available. You
	// can retry the request.
	ErrCodeKeyUnavailableException = "KeyUnavailableException"

	// ErrCodeLimitExceededException for service response error code
	// "LimitExceededException".
	//
	// The request was rejected because a quota was exceeded. For more information,
	// see Quotas (https://docs.aws.amazon.com/kms/latest/developerguide/limits.html)
	// in the AWS Key Management Service Developer Guide.
	ErrCodeLimitExceededException = "LimitExceededException"

	// ErrCodeMalformedPolicyDocumentException for service response error code
	// "MalformedPolicyDocumentException".
	//
	// The request was rejected because the specified policy is not syntactically
	// or semantically correct.
	ErrCodeMalformedPolicyDocumentException = "MalformedPolicyDocumentException"

	// ErrCodeNotFoundException for service response error code
	// "NotFoundException".
	//
	// The request was rejected because the specified entity or resource could not
	// be found.
	ErrCodeNotFoundException = "NotFoundException"

	// ErrCodeTagException for service response error code
	// "TagException".
	//
	// The request was rejected because one or more tags are not valid.
	ErrCodeTagException = "TagException"

	// ErrCodeUnsupportedOperationException for service response error code
	// "UnsupportedOperationException".
	//
	// The request was rejected because a specified parameter is not supported or
	// a specified resource is not valid for this operation.
	ErrCodeUnsupportedOperationException = "UnsupportedOperationException"
)
View Source
const (
	ServiceName = "kms"       // Name of service.
	EndpointsID = ServiceName // ID to lookup a service endpoint with.
	ServiceID   = "KMS"       // ServiceID is a unique identifier of a specific service.
)

    Service information constants

    View Source
    const (
    	// WrappingKeySpecRsa2048 is a WrappingKeySpec enum value
    	WrappingKeySpecRsa2048 = "RSA_2048"
    )

    Variables

    This section is empty.

    Functions

    func AlgorithmSpec_Values

    func AlgorithmSpec_Values() []string

      AlgorithmSpec_Values returns all elements of the AlgorithmSpec enum

      func ConnectionErrorCodeType_Values

      func ConnectionErrorCodeType_Values() []string

        ConnectionErrorCodeType_Values returns all elements of the ConnectionErrorCodeType enum

        func ConnectionStateType_Values

        func ConnectionStateType_Values() []string

          ConnectionStateType_Values returns all elements of the ConnectionStateType enum

          func CustomerMasterKeySpec_Values

          func CustomerMasterKeySpec_Values() []string

            CustomerMasterKeySpec_Values returns all elements of the CustomerMasterKeySpec enum

            func DataKeyPairSpec_Values

            func DataKeyPairSpec_Values() []string

              DataKeyPairSpec_Values returns all elements of the DataKeyPairSpec enum

              func DataKeySpec_Values

              func DataKeySpec_Values() []string

                DataKeySpec_Values returns all elements of the DataKeySpec enum

                func EncryptionAlgorithmSpec_Values

                func EncryptionAlgorithmSpec_Values() []string

                  EncryptionAlgorithmSpec_Values returns all elements of the EncryptionAlgorithmSpec enum

                  func ExpirationModelType_Values

                  func ExpirationModelType_Values() []string

                    ExpirationModelType_Values returns all elements of the ExpirationModelType enum

                    func GrantOperation_Values

                    func GrantOperation_Values() []string

                      GrantOperation_Values returns all elements of the GrantOperation enum

                      func KeyManagerType_Values

                      func KeyManagerType_Values() []string

                        KeyManagerType_Values returns all elements of the KeyManagerType enum

                        func KeyState_Values

                        func KeyState_Values() []string

                          KeyState_Values returns all elements of the KeyState enum

                          func KeyUsageType_Values

                          func KeyUsageType_Values() []string

                            KeyUsageType_Values returns all elements of the KeyUsageType enum

                            func MessageType_Values

                            func MessageType_Values() []string

                              MessageType_Values returns all elements of the MessageType enum

                              func OriginType_Values

                              func OriginType_Values() []string

                                OriginType_Values returns all elements of the OriginType enum

                                func SigningAlgorithmSpec_Values

                                func SigningAlgorithmSpec_Values() []string

                                  SigningAlgorithmSpec_Values returns all elements of the SigningAlgorithmSpec enum

                                  func WrappingKeySpec_Values

                                  func WrappingKeySpec_Values() []string

                                    WrappingKeySpec_Values returns all elements of the WrappingKeySpec enum

                                    Types

                                    type AliasListEntry

                                    type AliasListEntry struct {
                                    
                                    	// String that contains the key ARN.
                                    	AliasArn *string `min:"20" type:"string"`
                                    
                                    	// String that contains the alias. This value begins with alias/.
                                    	AliasName *string `min:"1" type:"string"`
                                    
                                    	CreationDate *time.Time `type:"timestamp"`
                                    
                                    	LastUpdatedDate *time.Time `type:"timestamp"`
                                    
                                    	// String that contains the key identifier referred to by the alias.
                                    	TargetKeyId *string `min:"1" type:"string"`
                                    	// contains filtered or unexported fields
                                    }

                                      Contains information about an alias.

                                      func (AliasListEntry) GoString

                                      func (s AliasListEntry) GoString() string

                                        GoString returns the string representation

                                        func (*AliasListEntry) SetAliasArn

                                        func (s *AliasListEntry) SetAliasArn(v string) *AliasListEntry

                                          SetAliasArn sets the AliasArn field's value.

                                          func (*AliasListEntry) SetAliasName

                                          func (s *AliasListEntry) SetAliasName(v string) *AliasListEntry

                                            SetAliasName sets the AliasName field's value.

                                            func (*AliasListEntry) SetCreationDate

                                            func (s *AliasListEntry) SetCreationDate(v time.Time) *AliasListEntry

                                              SetCreationDate sets the CreationDate field's value.

                                              func (*AliasListEntry) SetLastUpdatedDate

                                              func (s *AliasListEntry) SetLastUpdatedDate(v time.Time) *AliasListEntry

                                                SetLastUpdatedDate sets the LastUpdatedDate field's value.

                                                func (*AliasListEntry) SetTargetKeyId

                                                func (s *AliasListEntry) SetTargetKeyId(v string) *AliasListEntry

                                                  SetTargetKeyId sets the TargetKeyId field's value.

                                                  func (AliasListEntry) String

                                                  func (s AliasListEntry) String() string

                                                    String returns the string representation

                                                    type AlreadyExistsException

                                                    type AlreadyExistsException struct {
                                                    	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
                                                    
                                                    	Message_ *string `locationName:"message" type:"string"`
                                                    	// contains filtered or unexported fields
                                                    }

                                                      The request was rejected because it attempted to create a resource that already exists.

                                                      func (*AlreadyExistsException) Code

                                                      func (s *AlreadyExistsException) Code() string

                                                        Code returns the exception type name.

                                                        func (*AlreadyExistsException) Error

                                                        func (s *AlreadyExistsException) Error() string

                                                        func (AlreadyExistsException) GoString

                                                        func (s AlreadyExistsException) GoString() string

                                                          GoString returns the string representation

                                                          func (*AlreadyExistsException) Message

                                                          func (s *AlreadyExistsException) Message() string

                                                            Message returns the exception's message.

                                                            func (*AlreadyExistsException) OrigErr

                                                            func (s *AlreadyExistsException) OrigErr() error

                                                              OrigErr always returns nil, satisfies awserr.Error interface.

                                                              func (*AlreadyExistsException) RequestID

                                                              func (s *AlreadyExistsException) RequestID() string

                                                                RequestID returns the service's response RequestID for request.

                                                                func (*AlreadyExistsException) StatusCode

                                                                func (s *AlreadyExistsException) StatusCode() int

                                                                  Status code returns the HTTP status code for the request's response error.

                                                                  func (AlreadyExistsException) String

                                                                  func (s AlreadyExistsException) String() string

                                                                    String returns the string representation

                                                                    type CancelKeyDeletionInput

                                                                    type CancelKeyDeletionInput struct {
                                                                    
                                                                    	// The unique identifier for the customer master key (CMK) for which to cancel
                                                                    	// deletion.
                                                                    	//
                                                                    	// Specify the key ID or the Amazon Resource Name (ARN) of the CMK.
                                                                    	//
                                                                    	// For example:
                                                                    	//
                                                                    	//    * Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
                                                                    	//
                                                                    	//    * Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
                                                                    	//
                                                                    	// To get the key ID and key ARN for a CMK, use ListKeys or DescribeKey.
                                                                    	//
                                                                    	// KeyId is a required field
                                                                    	KeyId *string `min:"1" type:"string" required:"true"`
                                                                    	// contains filtered or unexported fields
                                                                    }

                                                                    func (CancelKeyDeletionInput) GoString

                                                                    func (s CancelKeyDeletionInput) GoString() string

                                                                      GoString returns the string representation

                                                                      func (*CancelKeyDeletionInput) SetKeyId

                                                                        SetKeyId sets the KeyId field's value.

                                                                        func (CancelKeyDeletionInput) String

                                                                        func (s CancelKeyDeletionInput) String() string

                                                                          String returns the string representation

                                                                          func (*CancelKeyDeletionInput) Validate

                                                                          func (s *CancelKeyDeletionInput) Validate() error

                                                                            Validate inspects the fields of the type to determine if they are valid.

                                                                            type CancelKeyDeletionOutput

                                                                            type CancelKeyDeletionOutput struct {
                                                                            
                                                                            	// The Amazon Resource Name (key ARN (https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id-key-ARN))
                                                                            	// of the CMK whose deletion is canceled.
                                                                            	KeyId *string `min:"1" type:"string"`
                                                                            	// contains filtered or unexported fields
                                                                            }

                                                                            func (CancelKeyDeletionOutput) GoString

                                                                            func (s CancelKeyDeletionOutput) GoString() string

                                                                              GoString returns the string representation

                                                                              func (*CancelKeyDeletionOutput) SetKeyId

                                                                                SetKeyId sets the KeyId field's value.

                                                                                func (CancelKeyDeletionOutput) String

                                                                                func (s CancelKeyDeletionOutput) String() string

                                                                                  String returns the string representation

                                                                                  type CloudHsmClusterInUseException

                                                                                  type CloudHsmClusterInUseException struct {
                                                                                  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
                                                                                  
                                                                                  	Message_ *string `locationName:"message" type:"string"`
                                                                                  	// contains filtered or unexported fields
                                                                                  }

                                                                                    The request was rejected because the specified AWS CloudHSM cluster is already associated with a custom key store or it shares a backup history with a cluster that is associated with a custom key store. Each custom key store must be associated with a different AWS CloudHSM cluster.

                                                                                    Clusters that share a backup history have the same cluster certificate. To view the cluster certificate of a cluster, use the DescribeClusters (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/API_DescribeClusters.html) operation.

                                                                                    func (*CloudHsmClusterInUseException) Code

                                                                                      Code returns the exception type name.

                                                                                      func (*CloudHsmClusterInUseException) Error

                                                                                      func (CloudHsmClusterInUseException) GoString

                                                                                        GoString returns the string representation

                                                                                        func (*CloudHsmClusterInUseException) Message

                                                                                          Message returns the exception's message.

                                                                                          func (*CloudHsmClusterInUseException) OrigErr

                                                                                          func (s *CloudHsmClusterInUseException) OrigErr() error

                                                                                            OrigErr always returns nil, satisfies awserr.Error interface.

                                                                                            func (*CloudHsmClusterInUseException) RequestID

                                                                                            func (s *CloudHsmClusterInUseException) RequestID() string

                                                                                              RequestID returns the service's response RequestID for request.

                                                                                              func (*CloudHsmClusterInUseException) StatusCode

                                                                                              func (s *CloudHsmClusterInUseException) StatusCode() int

                                                                                                Status code returns the HTTP status code for the request's response error.

                                                                                                func (CloudHsmClusterInUseException) String

                                                                                                  String returns the string representation

                                                                                                  type CloudHsmClusterInvalidConfigurationException

                                                                                                  type CloudHsmClusterInvalidConfigurationException struct {
                                                                                                  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
                                                                                                  
                                                                                                  	Message_ *string `locationName:"message" type:"string"`
                                                                                                  	// contains filtered or unexported fields
                                                                                                  }

                                                                                                    The request was rejected because the associated AWS CloudHSM cluster did not meet the configuration requirements for a custom key store.

                                                                                                    * The cluster must be configured with private subnets in at least two
                                                                                                    different Availability Zones in the Region.
                                                                                                    
                                                                                                    * The security group for the cluster (https://docs.aws.amazon.com/cloudhsm/latest/userguide/configure-sg.html)
                                                                                                    (cloudhsm-cluster-<cluster-id>-sg) must include inbound rules and outbound
                                                                                                    rules that allow TCP traffic on ports 2223-2225. The Source in the inbound
                                                                                                    rules and the Destination in the outbound rules must match the security
                                                                                                    group ID. These rules are set by default when you create the cluster.
                                                                                                    Do not delete or change them. To get information about a particular security
                                                                                                    group, use the DescribeSecurityGroups (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSecurityGroups.html)
                                                                                                    operation.
                                                                                                    
                                                                                                    * The cluster must contain at least as many HSMs as the operation requires.
                                                                                                    To add HSMs, use the AWS CloudHSM CreateHsm (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/API_CreateHsm.html)
                                                                                                    operation. For the CreateCustomKeyStore, UpdateCustomKeyStore, and CreateKey
                                                                                                    operations, the AWS CloudHSM cluster must have at least two active HSMs,
                                                                                                    each in a different Availability Zone. For the ConnectCustomKeyStore operation,
                                                                                                    the AWS CloudHSM must contain at least one active HSM.
                                                                                                    

                                                                                                    For information about the requirements for an AWS CloudHSM cluster that is associated with a custom key store, see Assemble the Prerequisites (https://docs.aws.amazon.com/kms/latest/developerguide/create-keystore.html#before-keystore) in the AWS Key Management Service Developer Guide. For information about creating a private subnet for an AWS CloudHSM cluster, see Create a Private Subnet (https://docs.aws.amazon.com/cloudhsm/latest/userguide/create-subnets.html) in the AWS CloudHSM User Guide. For information about cluster security groups, see Configure a Default Security Group (https://docs.aws.amazon.com/cloudhsm/latest/userguide/configure-sg.html) in the AWS CloudHSM User Guide .

                                                                                                    func (*CloudHsmClusterInvalidConfigurationException) Code

                                                                                                      Code returns the exception type name.

                                                                                                      func (*CloudHsmClusterInvalidConfigurationException) Error

                                                                                                      func (CloudHsmClusterInvalidConfigurationException) GoString

                                                                                                        GoString returns the string representation

                                                                                                        func (*CloudHsmClusterInvalidConfigurationException) Message

                                                                                                          Message returns the exception's message.

                                                                                                          func (*CloudHsmClusterInvalidConfigurationException) OrigErr

                                                                                                            OrigErr always returns nil, satisfies awserr.Error interface.

                                                                                                            func (*CloudHsmClusterInvalidConfigurationException) RequestID

                                                                                                              RequestID returns the service's response RequestID for request.

                                                                                                              func (*CloudHsmClusterInvalidConfigurationException) StatusCode

                                                                                                                Status code returns the HTTP status code for the request's response error.

                                                                                                                func (CloudHsmClusterInvalidConfigurationException) String

                                                                                                                  String returns the string representation

                                                                                                                  type CloudHsmClusterNotActiveException

                                                                                                                  type CloudHsmClusterNotActiveException struct {
                                                                                                                  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
                                                                                                                  
                                                                                                                  	Message_ *string `locationName:"message" type:"string"`
                                                                                                                  	// contains filtered or unexported fields
                                                                                                                  }

                                                                                                                    The request was rejected because the AWS CloudHSM cluster that is associated with the custom key store is not active. Initialize and activate the cluster and try the command again. For detailed instructions, see Getting Started (https://docs.aws.amazon.com/cloudhsm/latest/userguide/getting-started.html) in the AWS CloudHSM User Guide.

                                                                                                                    func (*CloudHsmClusterNotActiveException) Code

                                                                                                                      Code returns the exception type name.

                                                                                                                      func (*CloudHsmClusterNotActiveException) Error

                                                                                                                      func (CloudHsmClusterNotActiveException) GoString

                                                                                                                        GoString returns the string representation

                                                                                                                        func (*CloudHsmClusterNotActiveException) Message

                                                                                                                          Message returns the exception's message.

                                                                                                                          func (*CloudHsmClusterNotActiveException) OrigErr

                                                                                                                            OrigErr always returns nil, satisfies awserr.Error interface.

                                                                                                                            func (*CloudHsmClusterNotActiveException) RequestID

                                                                                                                              RequestID returns the service's response RequestID for request.

                                                                                                                              func (*CloudHsmClusterNotActiveException) StatusCode

                                                                                                                              func (s *CloudHsmClusterNotActiveException) StatusCode() int

                                                                                                                                Status code returns the HTTP status code for the request's response error.

                                                                                                                                func (CloudHsmClusterNotActiveException) String

                                                                                                                                  String returns the string representation

                                                                                                                                  type CloudHsmClusterNotFoundException

                                                                                                                                  type CloudHsmClusterNotFoundException struct {
                                                                                                                                  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
                                                                                                                                  
                                                                                                                                  	Message_ *string `locationName:"message" type:"string"`
                                                                                                                                  	// contains filtered or unexported fields
                                                                                                                                  }

                                                                                                                                    The request was rejected because AWS KMS cannot find the AWS CloudHSM cluster with the specified cluster ID. Retry the request with a different cluster ID.

                                                                                                                                    func (*CloudHsmClusterNotFoundException) Code

                                                                                                                                      Code returns the exception type name.

                                                                                                                                      func (*CloudHsmClusterNotFoundException) Error

                                                                                                                                      func (CloudHsmClusterNotFoundException) GoString

                                                                                                                                        GoString returns the string representation

                                                                                                                                        func (*CloudHsmClusterNotFoundException) Message

                                                                                                                                          Message returns the exception's message.

                                                                                                                                          func (*CloudHsmClusterNotFoundException) OrigErr

                                                                                                                                            OrigErr always returns nil, satisfies awserr.Error interface.

                                                                                                                                            func (*CloudHsmClusterNotFoundException) RequestID

                                                                                                                                              RequestID returns the service's response RequestID for request.

                                                                                                                                              func (*CloudHsmClusterNotFoundException) StatusCode

                                                                                                                                              func (s *CloudHsmClusterNotFoundException) StatusCode() int

                                                                                                                                                Status code returns the HTTP status code for the request's response error.

                                                                                                                                                func (CloudHsmClusterNotFoundException) String

                                                                                                                                                  String returns the string representation

                                                                                                                                                  type CloudHsmClusterNotRelatedException

                                                                                                                                                  type CloudHsmClusterNotRelatedException struct {
                                                                                                                                                  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
                                                                                                                                                  
                                                                                                                                                  	Message_ *string `locationName:"message" type:"string"`
                                                                                                                                                  	// contains filtered or unexported fields
                                                                                                                                                  }

                                                                                                                                                    The request was rejected because the specified AWS CloudHSM cluster has a different cluster certificate than the original cluster. You cannot use the operation to specify an unrelated cluster.

                                                                                                                                                    Specify a cluster that shares a backup history with the original cluster. This includes clusters that were created from a backup of the current cluster, and clusters that were created from the same backup that produced the current cluster.

                                                                                                                                                    Clusters that share a backup history have the same cluster certificate. To view the cluster certificate of a cluster, use the DescribeClusters (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/API_DescribeClusters.html) operation.

                                                                                                                                                    func (*CloudHsmClusterNotRelatedException) Code

                                                                                                                                                      Code returns the exception type name.

                                                                                                                                                      func (*CloudHsmClusterNotRelatedException) Error

                                                                                                                                                      func (CloudHsmClusterNotRelatedException) GoString

                                                                                                                                                        GoString returns the string representation

                                                                                                                                                        func (*CloudHsmClusterNotRelatedException) Message

                                                                                                                                                          Message returns the exception's message.

                                                                                                                                                          func (*CloudHsmClusterNotRelatedException) OrigErr

                                                                                                                                                            OrigErr always returns nil, satisfies awserr.Error interface.

                                                                                                                                                            func (*CloudHsmClusterNotRelatedException) RequestID

                                                                                                                                                              RequestID returns the service's response RequestID for request.

                                                                                                                                                              func (*CloudHsmClusterNotRelatedException) StatusCode

                                                                                                                                                              func (s *CloudHsmClusterNotRelatedException) StatusCode() int

                                                                                                                                                                Status code returns the HTTP status code for the request's response error.

                                                                                                                                                                func (CloudHsmClusterNotRelatedException) String

                                                                                                                                                                  String returns the string representation

                                                                                                                                                                  type ConnectCustomKeyStoreInput

                                                                                                                                                                  type ConnectCustomKeyStoreInput struct {
                                                                                                                                                                  
                                                                                                                                                                  	// Enter the key store ID of the custom key store that you want to connect.
                                                                                                                                                                  	// To find the ID of a custom key store, use the DescribeCustomKeyStores operation.
                                                                                                                                                                  	//
                                                                                                                                                                  	// CustomKeyStoreId is a required field
                                                                                                                                                                  	CustomKeyStoreId *string `min:"1" type:"string" required:"true"`
                                                                                                                                                                  	// contains filtered or unexported fields
                                                                                                                                                                  }

                                                                                                                                                                  func (ConnectCustomKeyStoreInput) GoString

                                                                                                                                                                  func (s ConnectCustomKeyStoreInput) GoString() string

                                                                                                                                                                    GoString returns the string representation

                                                                                                                                                                    func (*ConnectCustomKeyStoreInput) SetCustomKeyStoreId

                                                                                                                                                                      SetCustomKeyStoreId sets the CustomKeyStoreId field's value.

                                                                                                                                                                      func (ConnectCustomKeyStoreInput) String

                                                                                                                                                                        String returns the string representation

                                                                                                                                                                        func (*ConnectCustomKeyStoreInput) Validate

                                                                                                                                                                        func (s *ConnectCustomKeyStoreInput) Validate() error

                                                                                                                                                                          Validate inspects the fields of the type to determine if they are valid.

                                                                                                                                                                          type ConnectCustomKeyStoreOutput

                                                                                                                                                                          type ConnectCustomKeyStoreOutput struct {
                                                                                                                                                                          	// contains filtered or unexported fields
                                                                                                                                                                          }

                                                                                                                                                                          func (ConnectCustomKeyStoreOutput) GoString

                                                                                                                                                                          func (s ConnectCustomKeyStoreOutput) GoString() string

                                                                                                                                                                            GoString returns the string representation

                                                                                                                                                                            func (ConnectCustomKeyStoreOutput) String

                                                                                                                                                                              String returns the string representation

                                                                                                                                                                              type CreateAliasInput

                                                                                                                                                                              type CreateAliasInput struct {
                                                                                                                                                                              
                                                                                                                                                                              	// Specifies the alias name. This value must begin with alias/ followed by a
                                                                                                                                                                              	// name, such as alias/ExampleAlias.
                                                                                                                                                                              	//
                                                                                                                                                                              	// The AliasName value must be string of 1-256 characters. It can contain only
                                                                                                                                                                              	// alphanumeric characters, forward slashes (/), underscores (_), and dashes
                                                                                                                                                                              	// (-). The alias name cannot begin with alias/aws/. The alias/aws/ prefix is
                                                                                                                                                                              	// reserved for AWS managed CMKs (https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk).
                                                                                                                                                                              	//
                                                                                                                                                                              	// AliasName is a required field
                                                                                                                                                                              	AliasName *string `min:"1" type:"string" required:"true"`
                                                                                                                                                                              
                                                                                                                                                                              	// Associates the alias with the specified customer managed CMK (https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk).
                                                                                                                                                                              	// The CMK must be in the same AWS Region.
                                                                                                                                                                              	//
                                                                                                                                                                              	// A valid CMK ID is required. If you supply a null or empty string value, this
                                                                                                                                                                              	// operation returns an error.
                                                                                                                                                                              	//
                                                                                                                                                                              	// For help finding the key ID and ARN, see Finding the Key ID and ARN (https://docs.aws.amazon.com/kms/latest/developerguide/viewing-keys.html#find-cmk-id-arn)
                                                                                                                                                                              	// in the AWS Key Management Service Developer Guide.
                                                                                                                                                                              	//
                                                                                                                                                                              	// Specify the key ID or the Amazon Resource Name (ARN) of the CMK.
                                                                                                                                                                              	//
                                                                                                                                                                              	// For example:
                                                                                                                                                                              	//
                                                                                                                                                                              	//    * Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
                                                                                                                                                                              	//
                                                                                                                                                                              	//    * Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
                                                                                                                                                                              	//
                                                                                                                                                                              	// To get the key ID and key ARN for a CMK, use ListKeys or DescribeKey.
                                                                                                                                                                              	//
                                                                                                                                                                              	// TargetKeyId is a required field
                                                                                                                                                                              	TargetKeyId *string `min:"1" type:"string" required:"true"`
                                                                                                                                                                              	// contains filtered or unexported fields
                                                                                                                                                                              }

                                                                                                                                                                              func (CreateAliasInput) GoString

                                                                                                                                                                              func (s CreateAliasInput) GoString() string

                                                                                                                                                                                GoString returns the string representation

                                                                                                                                                                                func (*CreateAliasInput) SetAliasName

                                                                                                                                                                                func (s *CreateAliasInput) SetAliasName(v string) *CreateAliasInput

                                                                                                                                                                                  SetAliasName sets the AliasName field's value.

                                                                                                                                                                                  func (*CreateAliasInput) SetTargetKeyId

                                                                                                                                                                                  func (s *CreateAliasInput) SetTargetKeyId(v string) *CreateAliasInput

                                                                                                                                                                                    SetTargetKeyId sets the TargetKeyId field's value.

                                                                                                                                                                                    func (CreateAliasInput) String

                                                                                                                                                                                    func (s CreateAliasInput) String() string

                                                                                                                                                                                      String returns the string representation

                                                                                                                                                                                      func (*CreateAliasInput) Validate

                                                                                                                                                                                      func (s *CreateAliasInput) Validate() error

                                                                                                                                                                                        Validate inspects the fields of the type to determine if they are valid.

                                                                                                                                                                                        type CreateAliasOutput

                                                                                                                                                                                        type CreateAliasOutput struct {
                                                                                                                                                                                        	// contains filtered or unexported fields
                                                                                                                                                                                        }

                                                                                                                                                                                        func (CreateAliasOutput) GoString

                                                                                                                                                                                        func (s CreateAliasOutput) GoString() string

                                                                                                                                                                                          GoString returns the string representation

                                                                                                                                                                                          func (CreateAliasOutput) String

                                                                                                                                                                                          func (s CreateAliasOutput) String() string

                                                                                                                                                                                            String returns the string representation

                                                                                                                                                                                            type CreateCustomKeyStoreInput

                                                                                                                                                                                            type CreateCustomKeyStoreInput struct {
                                                                                                                                                                                            
                                                                                                                                                                                            	// Identifies the AWS CloudHSM cluster for the custom key store. Enter the cluster
                                                                                                                                                                                            	// ID of any active AWS CloudHSM cluster that is not already associated with
                                                                                                                                                                                            	// a custom key store. To find the cluster ID, use the DescribeClusters (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/API_DescribeClusters.html)
                                                                                                                                                                                            	// operation.
                                                                                                                                                                                            	//
                                                                                                                                                                                            	// CloudHsmClusterId is a required field
                                                                                                                                                                                            	CloudHsmClusterId *string `min:"19" type:"string" required:"true"`
                                                                                                                                                                                            
                                                                                                                                                                                            	// Specifies a friendly name for the custom key store. The name must be unique
                                                                                                                                                                                            	// in your AWS account.
                                                                                                                                                                                            	//
                                                                                                                                                                                            	// CustomKeyStoreName is a required field
                                                                                                                                                                                            	CustomKeyStoreName *string `min:"1" type:"string" required:"true"`
                                                                                                                                                                                            
                                                                                                                                                                                            	// Enter the password of the kmsuser crypto user (CU) account (https://docs.aws.amazon.com/kms/latest/developerguide/key-store-concepts.html#concept-kmsuser)
                                                                                                                                                                                            	// in the specified AWS CloudHSM cluster. AWS KMS logs into the cluster as this
                                                                                                                                                                                            	// user to manage key material on your behalf.
                                                                                                                                                                                            	//
                                                                                                                                                                                            	// The password must be a string of 7 to 32 characters. Its value is case sensitive.
                                                                                                                                                                                            	//
                                                                                                                                                                                            	// This parameter tells AWS KMS the kmsuser account password; it does not change
                                                                                                                                                                                            	// the password in the AWS CloudHSM cluster.
                                                                                                                                                                                            	//
                                                                                                                                                                                            	// KeyStorePassword is a required field
                                                                                                                                                                                            	KeyStorePassword *string `min:"7" type:"string" required:"true" sensitive:"true"`
                                                                                                                                                                                            
                                                                                                                                                                                            	// Enter the content of the trust anchor certificate for the cluster. This is
                                                                                                                                                                                            	// the content of the customerCA.crt file that you created when you initialized
                                                                                                                                                                                            	// the cluster (https://docs.aws.amazon.com/cloudhsm/latest/userguide/initialize-cluster.html).
                                                                                                                                                                                            	//
                                                                                                                                                                                            	// TrustAnchorCertificate is a required field
                                                                                                                                                                                            	TrustAnchorCertificate *string `min:"1" type:"string" required:"true"`
                                                                                                                                                                                            	// contains filtered or unexported fields
                                                                                                                                                                                            }

                                                                                                                                                                                            func (CreateCustomKeyStoreInput) GoString

                                                                                                                                                                                            func (s CreateCustomKeyStoreInput) GoString() string

                                                                                                                                                                                              GoString returns the string representation

                                                                                                                                                                                              func (*CreateCustomKeyStoreInput) SetCloudHsmClusterId

                                                                                                                                                                                              func (s *CreateCustomKeyStoreInput) SetCloudHsmClusterId(v string) *CreateCustomKeyStoreInput

                                                                                                                                                                                                SetCloudHsmClusterId sets the CloudHsmClusterId field's value.

                                                                                                                                                                                                func (*CreateCustomKeyStoreInput) SetCustomKeyStoreName

                                                                                                                                                                                                func (s *CreateCustomKeyStoreInput) SetCustomKeyStoreName(v string) *CreateCustomKeyStoreInput

                                                                                                                                                                                                  SetCustomKeyStoreName sets the CustomKeyStoreName field's value.

                                                                                                                                                                                                  func (*CreateCustomKeyStoreInput) SetKeyStorePassword

                                                                                                                                                                                                  func (s *CreateCustomKeyStoreInput) SetKeyStorePassword(v string) *CreateCustomKeyStoreInput

                                                                                                                                                                                                    SetKeyStorePassword sets the KeyStorePassword field's value.

                                                                                                                                                                                                    func (*CreateCustomKeyStoreInput) SetTrustAnchorCertificate

                                                                                                                                                                                                    func (s *CreateCustomKeyStoreInput) SetTrustAnchorCertificate(v string) *CreateCustomKeyStoreInput

                                                                                                                                                                                                      SetTrustAnchorCertificate sets the TrustAnchorCertificate field's value.

                                                                                                                                                                                                      func (CreateCustomKeyStoreInput) String

                                                                                                                                                                                                      func (s CreateCustomKeyStoreInput) String() string

                                                                                                                                                                                                        String returns the string representation

                                                                                                                                                                                                        func (*CreateCustomKeyStoreInput) Validate

                                                                                                                                                                                                        func (s *CreateCustomKeyStoreInput) Validate() error

                                                                                                                                                                                                          Validate inspects the fields of the type to determine if they are valid.

                                                                                                                                                                                                          type CreateCustomKeyStoreOutput

                                                                                                                                                                                                          type CreateCustomKeyStoreOutput struct {
                                                                                                                                                                                                          
                                                                                                                                                                                                          	// A unique identifier for the new custom key store.
                                                                                                                                                                                                          	CustomKeyStoreId *string `min:"1" type:"string"`
                                                                                                                                                                                                          	// contains filtered or unexported fields
                                                                                                                                                                                                          }

                                                                                                                                                                                                          func (CreateCustomKeyStoreOutput) GoString

                                                                                                                                                                                                          func (s CreateCustomKeyStoreOutput) GoString() string

                                                                                                                                                                                                            GoString returns the string representation

                                                                                                                                                                                                            func (*CreateCustomKeyStoreOutput) SetCustomKeyStoreId

                                                                                                                                                                                                              SetCustomKeyStoreId sets the CustomKeyStoreId field's value.

                                                                                                                                                                                                              func (CreateCustomKeyStoreOutput) String

                                                                                                                                                                                                                String returns the string representation

                                                                                                                                                                                                                type CreateGrantInput

                                                                                                                                                                                                                type CreateGrantInput struct {
                                                                                                                                                                                                                
                                                                                                                                                                                                                	// Allows a cryptographic operation (https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#cryptographic-operations)
                                                                                                                                                                                                                	// only when the encryption context matches or includes the encryption context
                                                                                                                                                                                                                	// specified in this structure. For more information about encryption context,
                                                                                                                                                                                                                	// see Encryption Context (https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context)
                                                                                                                                                                                                                	// in the AWS Key Management Service Developer Guide .
                                                                                                                                                                                                                	//
                                                                                                                                                                                                                	// Grant constraints are not applied to operations that do not support an encryption
                                                                                                                                                                                                                	// context, such as cryptographic operations with asymmetric CMKs and management
                                                                                                                                                                                                                	// operations, such as DescribeKey or RetireGrant.
                                                                                                                                                                                                                	Constraints *GrantConstraints `type:"structure"`
                                                                                                                                                                                                                
                                                                                                                                                                                                                	// A list of grant tokens.
                                                                                                                                                                                                                	//
                                                                                                                                                                                                                	// For more information, see Grant Tokens (https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#grant_token)
                                                                                                                                                                                                                	// in the AWS Key Management Service Developer Guide.
                                                                                                                                                                                                                	GrantTokens []*string `type:"list"`
                                                                                                                                                                                                                
                                                                                                                                                                                                                	// The principal that is given permission to perform the operations that the
                                                                                                                                                                                                                	// grant permits.
                                                                                                                                                                                                                	//
                                                                                                                                                                                                                	// To specify the principal, use the Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
                                                                                                                                                                                                                	// of an AWS principal. Valid AWS principals include AWS accounts (root), IAM
                                                                                                                                                                                                                	// users, IAM roles, federated users, and assumed role users. For examples of
                                                                                                                                                                                                                	// the ARN syntax to use for specifying a principal, see AWS Identity and Access
                                                                                                                                                                                                                	// Management (IAM) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-iam)
                                                                                                                                                                                                                	// in the Example ARNs section of the AWS General Reference.
                                                                                                                                                                                                                	//
                                                                                                                                                                                                                	// GranteePrincipal is a required field
                                                                                                                                                                                                                	GranteePrincipal *string `min:"1" type:"string" required:"true"`
                                                                                                                                                                                                                
                                                                                                                                                                                                                	// The unique identifier for the customer master key (CMK) that the grant applies
                                                                                                                                                                                                                	// to.
                                                                                                                                                                                                                	//
                                                                                                                                                                                                                	// Specify the key ID or the Amazon Resource Name (ARN) of the CMK. To specify
                                                                                                                                                                                                                	// a CMK in a different AWS account, you must use the key ARN.
                                                                                                                                                                                                                	//
                                                                                                                                                                                                                	// For example:
                                                                                                                                                                                                                	//
                                                                                                                                                                                                                	//    * Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
                                                                                                                                                                                                                	//
                                                                                                                                                                                                                	//    * Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
                                                                                                                                                                                                                	//
                                                                                                                                                                                                                	// To get the key ID and key ARN for a CMK, use ListKeys or DescribeKey.
                                                                                                                                                                                                                	//
                                                                                                                                                                                                                	// KeyId is a required field
                                                                                                                                                                                                                	KeyId *string `min:"1" type:"string" required:"true"`
                                                                                                                                                                                                                
                                                                                                                                                                                                                	// A friendly name for the grant. Use this value to prevent the unintended creation
                                                                                                                                                                                                                	// of duplicate grants when retrying this request.
                                                                                                                                                                                                                	//
                                                                                                                                                                                                                	// When this value is absent, all CreateGrant requests result in a new grant
                                                                                                                                                                                                                	// with a unique GrantId even if all the supplied parameters are identical.
                                                                                                                                                                                                                	// This can result in unintended duplicates when you retry the CreateGrant request.
                                                                                                                                                                                                                	//
                                                                                                                                                                                                                	// When this value is present, you can retry a CreateGrant request with identical
                                                                                                                                                                                                                	// parameters; if the grant already exists, the original GrantId is returned
                                                                                                                                                                                                                	// without creating a new grant. Note that the returned grant token is unique
                                                                                                                                                                                                                	// with every CreateGrant request, even when a duplicate GrantId is returned.
                                                                                                                                                                                                                	// All grant tokens for the same grant ID can be used interchangeably.
                                                                                                                                                                                                                	Name *string `min:"1" type:"string"`
                                                                                                                                                                                                                
                                                                                                                                                                                                                	// A list of operations that the grant permits.
                                                                                                                                                                                                                	//
                                                                                                                                                                                                                	// Operations is a required field
                                                                                                                                                                                                                	Operations []*string `type:"list" required:"true"`
                                                                                                                                                                                                                
                                                                                                                                                                                                                	// The principal that is given permission to retire the grant by using RetireGrant
                                                                                                                                                                                                                	// operation.
                                                                                                                                                                                                                	//
                                                                                                                                                                                                                	// To specify the principal, use the Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
                                                                                                                                                                                                                	// of an AWS principal. Valid AWS principals include AWS accounts (root), IAM
                                                                                                                                                                                                                	// users, federated users, and assumed role users. For examples of the ARN syntax
                                                                                                                                                                                                                	// to use for specifying a principal, see AWS Identity and Access Management
                                                                                                                                                                                                                	// (IAM) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-iam)
                                                                                                                                                                                                                	// in the Example ARNs section of the AWS General Reference.
                                                                                                                                                                                                                	RetiringPrincipal *string `min:"1" type:"string"`
                                                                                                                                                                                                                	// contains filtered or unexported fields
                                                                                                                                                                                                                }

                                                                                                                                                                                                                func (CreateGrantInput) GoString

                                                                                                                                                                                                                func (s CreateGrantInput) GoString() string

                                                                                                                                                                                                                  GoString returns the string representation

                                                                                                                                                                                                                  func (*CreateGrantInput) SetConstraints

                                                                                                                                                                                                                  func (s *CreateGrantInput) SetConstraints(v *GrantConstraints) *CreateGrantInput

                                                                                                                                                                                                                    SetConstraints sets the Constraints field's value.

                                                                                                                                                                                                                    func (*CreateGrantInput) SetGrantTokens

                                                                                                                                                                                                                    func (s *CreateGrantInput) SetGrantTokens(v []*string) *CreateGrantInput

                                                                                                                                                                                                                      SetGrantTokens sets the GrantTokens field's value.

                                                                                                                                                                                                                      func (*CreateGrantInput) SetGranteePrincipal

                                                                                                                                                                                                                      func (s *CreateGrantInput) SetGranteePrincipal(v string) *CreateGrantInput

                                                                                                                                                                                                                        SetGranteePrincipal sets the GranteePrincipal field's value.

                                                                                                                                                                                                                        func (*CreateGrantInput) SetKeyId

                                                                                                                                                                                                                        func (s *CreateGrantInput) SetKeyId(v string) *CreateGrantInput

                                                                                                                                                                                                                          SetKeyId sets the KeyId field's value.

                                                                                                                                                                                                                          func (*CreateGrantInput) SetName

                                                                                                                                                                                                                          func (s *CreateGrantInput) SetName(v string) *CreateGrantInput

                                                                                                                                                                                                                            SetName sets the Name field's value.

                                                                                                                                                                                                                            func (*CreateGrantInput) SetOperations

                                                                                                                                                                                                                            func (s *CreateGrantInput) SetOperations(v []*string) *CreateGrantInput

                                                                                                                                                                                                                              SetOperations sets the Operations field's value.

                                                                                                                                                                                                                              func (*CreateGrantInput) SetRetiringPrincipal

                                                                                                                                                                                                                              func (s *CreateGrantInput) SetRetiringPrincipal(v string) *CreateGrantInput

                                                                                                                                                                                                                                SetRetiringPrincipal sets the RetiringPrincipal field's value.

                                                                                                                                                                                                                                func (CreateGrantInput) String

                                                                                                                                                                                                                                func (s CreateGrantInput) String() string

                                                                                                                                                                                                                                  String returns the string representation

                                                                                                                                                                                                                                  func (*CreateGrantInput) Validate

                                                                                                                                                                                                                                  func (s *CreateGrantInput) Validate() error

                                                                                                                                                                                                                                    Validate inspects the fields of the type to determine if they are valid.

                                                                                                                                                                                                                                    type CreateGrantOutput

                                                                                                                                                                                                                                    type CreateGrantOutput struct {
                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                    	// The unique identifier for the grant.
                                                                                                                                                                                                                                    	//
                                                                                                                                                                                                                                    	// You can use the GrantId in a ListGrants, RetireGrant, or RevokeGrant operation.
                                                                                                                                                                                                                                    	GrantId *string `min:"1" type:"string"`
                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                    	// The grant token.
                                                                                                                                                                                                                                    	//
                                                                                                                                                                                                                                    	// For more information, see Grant Tokens (https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#grant_token)
                                                                                                                                                                                                                                    	// in the AWS Key Management Service Developer Guide.
                                                                                                                                                                                                                                    	GrantToken *string `min:"1" type:"string"`
                                                                                                                                                                                                                                    	// contains filtered or unexported fields
                                                                                                                                                                                                                                    }

                                                                                                                                                                                                                                    func (CreateGrantOutput) GoString

                                                                                                                                                                                                                                    func (s CreateGrantOutput) GoString() string

                                                                                                                                                                                                                                      GoString returns the string representation

                                                                                                                                                                                                                                      func (*CreateGrantOutput) SetGrantId

                                                                                                                                                                                                                                      func (s *CreateGrantOutput) SetGrantId(v string) *CreateGrantOutput

                                                                                                                                                                                                                                        SetGrantId sets the GrantId field's value.

                                                                                                                                                                                                                                        func (*CreateGrantOutput) SetGrantToken

                                                                                                                                                                                                                                        func (s *CreateGrantOutput) SetGrantToken(v string) *CreateGrantOutput

                                                                                                                                                                                                                                          SetGrantToken sets the GrantToken field's value.

                                                                                                                                                                                                                                          func (CreateGrantOutput) String

                                                                                                                                                                                                                                          func (s CreateGrantOutput) String() string

                                                                                                                                                                                                                                            String returns the string representation

                                                                                                                                                                                                                                            type CreateKeyInput

                                                                                                                                                                                                                                            type CreateKeyInput struct {
                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                            	// A flag to indicate whether to bypass the key policy lockout safety check.
                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                            	// Setting this value to true increases the risk that the CMK becomes unmanageable.
                                                                                                                                                                                                                                            	// Do not set this value to true indiscriminately.
                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                            	// For more information, refer to the scenario in the Default Key Policy (https://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html#key-policy-default-allow-root-enable-iam)
                                                                                                                                                                                                                                            	// section in the AWS Key Management Service Developer Guide .
                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                            	// Use this parameter only when you include a policy in the request and you
                                                                                                                                                                                                                                            	// intend to prevent the principal that is making the request from making a
                                                                                                                                                                                                                                            	// subsequent PutKeyPolicy request on the CMK.
                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                            	// The default value is false.
                                                                                                                                                                                                                                            	BypassPolicyLockoutSafetyCheck *bool `type:"boolean"`
                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                            	// Creates the CMK in the specified custom key store (https://docs.aws.amazon.com/kms/latest/developerguide/custom-key-store-overview.html)
                                                                                                                                                                                                                                            	// and the key material in its associated AWS CloudHSM cluster. To create a
                                                                                                                                                                                                                                            	// CMK in a custom key store, you must also specify the Origin parameter with
                                                                                                                                                                                                                                            	// a value of AWS_CLOUDHSM. The AWS CloudHSM cluster that is associated with
                                                                                                                                                                                                                                            	// the custom key store must have at least two active HSMs, each in a different
                                                                                                                                                                                                                                            	// Availability Zone in the Region.
                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                            	// This parameter is valid only for symmetric CMKs. You cannot create an asymmetric
                                                                                                                                                                                                                                            	// CMK in a custom key store.
                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                            	// To find the ID of a custom key store, use the DescribeCustomKeyStores operation.
                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                            	// The response includes the custom key store ID and the ID of the AWS CloudHSM
                                                                                                                                                                                                                                            	// cluster.
                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                            	// This operation is part of the Custom Key Store feature (https://docs.aws.amazon.com/kms/latest/developerguide/custom-key-store-overview.html)
                                                                                                                                                                                                                                            	// feature in AWS KMS, which combines the convenience and extensive integration
                                                                                                                                                                                                                                            	// of AWS KMS with the isolation and control of a single-tenant key store.
                                                                                                                                                                                                                                            	CustomKeyStoreId *string `min:"1" type:"string"`
                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                            	// Specifies the type of CMK to create. The default value, SYMMETRIC_DEFAULT,
                                                                                                                                                                                                                                            	// creates a CMK with a 256-bit symmetric key for encryption and decryption.
                                                                                                                                                                                                                                            	// For help choosing a key spec for your CMK, see How to Choose Your CMK Configuration
                                                                                                                                                                                                                                            	// (https://docs.aws.amazon.com/kms/latest/developerguide/symm-asymm-choose.html)
                                                                                                                                                                                                                                            	// in the AWS Key Management Service Developer Guide.
                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                            	// The CustomerMasterKeySpec determines whether the CMK contains a symmetric
                                                                                                                                                                                                                                            	// key or an asymmetric key pair. It also determines the encryption algorithms
                                                                                                                                                                                                                                            	// or signing algorithms that the CMK supports. You can't change the CustomerMasterKeySpec
                                                                                                                                                                                                                                            	// after the CMK is created. To further restrict the algorithms that can be
                                                                                                                                                                                                                                            	// used with the CMK, use a condition key in its key policy or IAM policy. For
                                                                                                                                                                                                                                            	// more information, see kms:EncryptionAlgorithm (https://docs.aws.amazon.com/kms/latest/developerguide/policy-conditions.html#conditions-kms-encryption-algorithm)
                                                                                                                                                                                                                                            	// or kms:Signing Algorithm (https://docs.aws.amazon.com/kms/latest/developerguide/policy-conditions.html#conditions-kms-signing-algorithm)
                                                                                                                                                                                                                                            	// in the AWS Key Management Service Developer Guide.
                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                            	// AWS services that are integrated with AWS KMS (http://aws.amazon.com/kms/features/#AWS_Service_Integration)
                                                                                                                                                                                                                                            	// use symmetric CMKs to protect your data. These services do not support asymmetric
                                                                                                                                                                                                                                            	// CMKs. For help determining whether a CMK is symmetric or asymmetric, see
                                                                                                                                                                                                                                            	// Identifying Symmetric and Asymmetric CMKs (https://docs.aws.amazon.com/kms/latest/developerguide/find-symm-asymm.html)
                                                                                                                                                                                                                                            	// in the AWS Key Management Service Developer Guide.
                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                            	// AWS KMS supports the following key specs for CMKs:
                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                            	//    * Symmetric key (default) SYMMETRIC_DEFAULT (AES-256-GCM)
                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                            	//    * Asymmetric RSA key pairs RSA_2048 RSA_3072 RSA_4096
                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                            	//    * Asymmetric NIST-recommended elliptic curve key pairs ECC_NIST_P256 (secp256r1)
                                                                                                                                                                                                                                            	//    ECC_NIST_P384 (secp384r1) ECC_NIST_P521 (secp521r1)
                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                            	//    * Other asymmetric elliptic curve key pairs ECC_SECG_P256K1 (secp256k1),
                                                                                                                                                                                                                                            	//    commonly used for cryptocurrencies.
                                                                                                                                                                                                                                            	CustomerMasterKeySpec *string `type:"string" enum:"CustomerMasterKeySpec"`
                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                            	// A description of the CMK.
                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                            	// Use a description that helps you decide whether the CMK is appropriate for
                                                                                                                                                                                                                                            	// a task.
                                                                                                                                                                                                                                            	Description *string `type:"string"`
                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                            	// Determines the cryptographic operations (https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#cryptographic-operations)
                                                                                                                                                                                                                                            	// for which you can use the CMK. The default value is ENCRYPT_DECRYPT. This
                                                                                                                                                                                                                                            	// parameter is required only for asymmetric CMKs. You can't change the KeyUsage
                                                                                                                                                                                                                                            	// value after the CMK is created.
                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                            	// Select only one valid value.
                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                            	//    * For symmetric CMKs, omit the parameter or specify ENCRYPT_DECRYPT.
                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                            	//    * For asymmetric CMKs with RSA key material, specify ENCRYPT_DECRYPT or
                                                                                                                                                                                                                                            	//    SIGN_VERIFY.
                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                            	//    * For asymmetric CMKs with ECC key material, specify SIGN_VERIFY.
                                                                                                                                                                                                                                            	KeyUsage *string `type:"string" enum:"KeyUsageType"`
                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                            	// The source of the key material for the CMK. You cannot change the origin
                                                                                                                                                                                                                                            	// after you create the CMK. The default is AWS_KMS, which means AWS KMS creates
                                                                                                                                                                                                                                            	// the key material.
                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                            	// When the parameter value is EXTERNAL, AWS KMS creates a CMK without key material
                                                                                                                                                                                                                                            	// so that you can import key material from your existing key management infrastructure.
                                                                                                                                                                                                                                            	// For more information about importing key material into AWS KMS, see Importing
                                                                                                                                                                                                                                            	// Key Material (https://docs.aws.amazon.com/kms/latest/developerguide/importing-keys.html)
                                                                                                                                                                                                                                            	// in the AWS Key Management Service Developer Guide. This value is valid only
                                                                                                                                                                                                                                            	// for symmetric CMKs.
                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                            	// When the parameter value is AWS_CLOUDHSM, AWS KMS creates the CMK in an AWS
                                                                                                                                                                                                                                            	// KMS custom key store (https://docs.aws.amazon.com/kms/latest/developerguide/custom-key-store-overview.html)
                                                                                                                                                                                                                                            	// and creates its key material in the associated AWS CloudHSM cluster. You
                                                                                                                                                                                                                                            	// must also use the CustomKeyStoreId parameter to identify the custom key store.
                                                                                                                                                                                                                                            	// This value is valid only for symmetric CMKs.
                                                                                                                                                                                                                                            	Origin *string `type:"string" enum:"OriginType"`
                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                            	// The key policy to attach to the CMK.
                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                            	// If you provide a key policy, it must meet the following criteria:
                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                            	//    * If you don't set BypassPolicyLockoutSafetyCheck to true, the key policy
                                                                                                                                                                                                                                            	//    must allow the principal that is making the CreateKey request to make
                                                                                                                                                                                                                                            	//    a subsequent PutKeyPolicy request on the CMK. This reduces the risk that
                                                                                                                                                                                                                                            	//    the CMK becomes unmanageable. For more information, refer to the scenario
                                                                                                                                                                                                                                            	//    in the Default Key Policy (https://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html#key-policy-default-allow-root-enable-iam)
                                                                                                                                                                                                                                            	//    section of the AWS Key Management Service Developer Guide .
                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                            	//    * Each statement in the key policy must contain one or more principals.
                                                                                                                                                                                                                                            	//    The principals in the key policy must exist and be visible to AWS KMS.
                                                                                                                                                                                                                                            	//    When you create a new AWS principal (for example, an IAM user or role),
                                                                                                                                                                                                                                            	//    you might need to enforce a delay before including the new principal in
                                                                                                                                                                                                                                            	//    a key policy because the new principal might not be immediately visible
                                                                                                                                                                                                                                            	//    to AWS KMS. For more information, see Changes that I make are not always
                                                                                                                                                                                                                                            	//    immediately visible (https://docs.aws.amazon.com/IAM/latest/UserGuide/troubleshoot_general.html#troubleshoot_general_eventual-consistency)
                                                                                                                                                                                                                                            	//    in the AWS Identity and Access Management User Guide.
                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                            	// If you do not provide a key policy, AWS KMS attaches a default key policy
                                                                                                                                                                                                                                            	// to the CMK. For more information, see Default Key Policy (https://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html#key-policy-default)
                                                                                                                                                                                                                                            	// in the AWS Key Management Service Developer Guide.
                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                            	// The key policy size quota is 32 kilobytes (32768 bytes).
                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                            	// For help writing and formatting a JSON policy document, see the IAM JSON
                                                                                                                                                                                                                                            	// Policy Reference (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies.html)
                                                                                                                                                                                                                                            	// in the IAM User Guide .
                                                                                                                                                                                                                                            	Policy *string `min:"1" type:"string"`
                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                            	// One or more tags. Each tag consists of a tag key and a tag value. Both the
                                                                                                                                                                                                                                            	// tag key and the tag value are required, but the tag value can be an empty
                                                                                                                                                                                                                                            	// (null) string.
                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                            	// When you add tags to an AWS resource, AWS generates a cost allocation report
                                                                                                                                                                                                                                            	// with usage and costs aggregated by tags. For information about adding, changing,
                                                                                                                                                                                                                                            	// deleting and listing tags for CMKs, see Tagging Keys (https://docs.aws.amazon.com/kms/latest/developerguide/tagging-keys.html).
                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                            	// Use this parameter to tag the CMK when it is created. To add tags to an existing
                                                                                                                                                                                                                                            	// CMK, use the TagResource operation.
                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                            	// To use this parameter, you must have kms:TagResource (https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html)
                                                                                                                                                                                                                                            	// permission in an IAM policy.
                                                                                                                                                                                                                                            	Tags []*Tag `type:"list"`
                                                                                                                                                                                                                                            	// contains filtered or unexported fields
                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                            func (CreateKeyInput) GoString

                                                                                                                                                                                                                                            func (s CreateKeyInput) GoString() string

                                                                                                                                                                                                                                              GoString returns the string representation

                                                                                                                                                                                                                                              func (*CreateKeyInput) SetBypassPolicyLockoutSafetyCheck

                                                                                                                                                                                                                                              func (s *CreateKeyInput) SetBypassPolicyLockoutSafetyCheck(v bool) *CreateKeyInput

                                                                                                                                                                                                                                                SetBypassPolicyLockoutSafetyCheck sets the BypassPolicyLockoutSafetyCheck field's value.

                                                                                                                                                                                                                                                func (*CreateKeyInput) SetCustomKeyStoreId

                                                                                                                                                                                                                                                func (s *CreateKeyInput) SetCustomKeyStoreId(v string) *CreateKeyInput

                                                                                                                                                                                                                                                  SetCustomKeyStoreId sets the CustomKeyStoreId field's value.

                                                                                                                                                                                                                                                  func (*CreateKeyInput) SetCustomerMasterKeySpec

                                                                                                                                                                                                                                                  func (s *CreateKeyInput) SetCustomerMasterKeySpec(v string) *CreateKeyInput

                                                                                                                                                                                                                                                    SetCustomerMasterKeySpec sets the CustomerMasterKeySpec field's value.

                                                                                                                                                                                                                                                    func (*CreateKeyInput) SetDescription

                                                                                                                                                                                                                                                    func (s *CreateKeyInput) SetDescription(v string) *CreateKeyInput

                                                                                                                                                                                                                                                      SetDescription sets the Description field's value.

                                                                                                                                                                                                                                                      func (*CreateKeyInput) SetKeyUsage

                                                                                                                                                                                                                                                      func (s *CreateKeyInput) SetKeyUsage(v string) *CreateKeyInput

                                                                                                                                                                                                                                                        SetKeyUsage sets the KeyUsage field's value.

                                                                                                                                                                                                                                                        func (*CreateKeyInput) SetOrigin

                                                                                                                                                                                                                                                        func (s *CreateKeyInput) SetOrigin(v string) *CreateKeyInput

                                                                                                                                                                                                                                                          SetOrigin sets the Origin field's value.

                                                                                                                                                                                                                                                          func (*CreateKeyInput) SetPolicy

                                                                                                                                                                                                                                                          func (s *CreateKeyInput) SetPolicy(v string) *CreateKeyInput

                                                                                                                                                                                                                                                            SetPolicy sets the Policy field's value.

                                                                                                                                                                                                                                                            func (*CreateKeyInput) SetTags

                                                                                                                                                                                                                                                            func (s *CreateKeyInput) SetTags(v []*Tag) *CreateKeyInput

                                                                                                                                                                                                                                                              SetTags sets the Tags field's value.

                                                                                                                                                                                                                                                              func (CreateKeyInput) String

                                                                                                                                                                                                                                                              func (s CreateKeyInput) String() string

                                                                                                                                                                                                                                                                String returns the string representation

                                                                                                                                                                                                                                                                func (*CreateKeyInput) Validate

                                                                                                                                                                                                                                                                func (s *CreateKeyInput) Validate() error

                                                                                                                                                                                                                                                                  Validate inspects the fields of the type to determine if they are valid.

                                                                                                                                                                                                                                                                  type CreateKeyOutput

                                                                                                                                                                                                                                                                  type CreateKeyOutput struct {
                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                  	// Metadata associated with the CMK.
                                                                                                                                                                                                                                                                  	KeyMetadata *KeyMetadata `type:"structure"`
                                                                                                                                                                                                                                                                  	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                  func (CreateKeyOutput) GoString

                                                                                                                                                                                                                                                                  func (s CreateKeyOutput) GoString() string

                                                                                                                                                                                                                                                                    GoString returns the string representation

                                                                                                                                                                                                                                                                    func (*CreateKeyOutput) SetKeyMetadata

                                                                                                                                                                                                                                                                    func (s *CreateKeyOutput) SetKeyMetadata(v *KeyMetadata) *CreateKeyOutput

                                                                                                                                                                                                                                                                      SetKeyMetadata sets the KeyMetadata field's value.

                                                                                                                                                                                                                                                                      func (CreateKeyOutput) String

                                                                                                                                                                                                                                                                      func (s CreateKeyOutput) String() string

                                                                                                                                                                                                                                                                        String returns the string representation

                                                                                                                                                                                                                                                                        type CustomKeyStoreHasCMKsException

                                                                                                                                                                                                                                                                        type CustomKeyStoreHasCMKsException struct {
                                                                                                                                                                                                                                                                        	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                        	Message_ *string `locationName:"message" type:"string"`
                                                                                                                                                                                                                                                                        	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                        }

                                                                                                                                                                                                                                                                          The request was rejected because the custom key store contains AWS KMS customer master keys (CMKs). After verifying that you do not need to use the CMKs, use the ScheduleKeyDeletion operation to delete the CMKs. After they are deleted, you can delete the custom key store.

                                                                                                                                                                                                                                                                          func (*CustomKeyStoreHasCMKsException) Code

                                                                                                                                                                                                                                                                            Code returns the exception type name.

                                                                                                                                                                                                                                                                            func (*CustomKeyStoreHasCMKsException) Error

                                                                                                                                                                                                                                                                            func (CustomKeyStoreHasCMKsException) GoString

                                                                                                                                                                                                                                                                              GoString returns the string representation

                                                                                                                                                                                                                                                                              func (*CustomKeyStoreHasCMKsException) Message

                                                                                                                                                                                                                                                                                Message returns the exception's message.

                                                                                                                                                                                                                                                                                func (*CustomKeyStoreHasCMKsException) OrigErr

                                                                                                                                                                                                                                                                                  OrigErr always returns nil, satisfies awserr.Error interface.

                                                                                                                                                                                                                                                                                  func (*CustomKeyStoreHasCMKsException) RequestID

                                                                                                                                                                                                                                                                                  func (s *CustomKeyStoreHasCMKsException) RequestID() string

                                                                                                                                                                                                                                                                                    RequestID returns the service's response RequestID for request.

                                                                                                                                                                                                                                                                                    func (*CustomKeyStoreHasCMKsException) StatusCode

                                                                                                                                                                                                                                                                                    func (s *CustomKeyStoreHasCMKsException) StatusCode() int

                                                                                                                                                                                                                                                                                      Status code returns the HTTP status code for the request's response error.

                                                                                                                                                                                                                                                                                      func (CustomKeyStoreHasCMKsException) String

                                                                                                                                                                                                                                                                                        String returns the string representation

                                                                                                                                                                                                                                                                                        type CustomKeyStoreInvalidStateException

                                                                                                                                                                                                                                                                                        type CustomKeyStoreInvalidStateException struct {
                                                                                                                                                                                                                                                                                        	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                        	Message_ *string `locationName:"message" type:"string"`
                                                                                                                                                                                                                                                                                        	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                        }

                                                                                                                                                                                                                                                                                          The request was rejected because of the ConnectionState of the custom key store. To get the ConnectionState of a custom key store, use the DescribeCustomKeyStores operation.

                                                                                                                                                                                                                                                                                          This exception is thrown under the following conditions:

                                                                                                                                                                                                                                                                                          * You requested the CreateKey or GenerateRandom operation in a custom
                                                                                                                                                                                                                                                                                          key store that is not connected. These operations are valid only when
                                                                                                                                                                                                                                                                                          the custom key store ConnectionState is CONNECTED.
                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                          * You requested the UpdateCustomKeyStore or DeleteCustomKeyStore operation
                                                                                                                                                                                                                                                                                          on a custom key store that is not disconnected. This operation is valid
                                                                                                                                                                                                                                                                                          only when the custom key store ConnectionState is DISCONNECTED.
                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                          * You requested the ConnectCustomKeyStore operation on a custom key store
                                                                                                                                                                                                                                                                                          with a ConnectionState of DISCONNECTING or FAILED. This operation is valid
                                                                                                                                                                                                                                                                                          for all other ConnectionState values.
                                                                                                                                                                                                                                                                                          

                                                                                                                                                                                                                                                                                          func (*CustomKeyStoreInvalidStateException) Code

                                                                                                                                                                                                                                                                                            Code returns the exception type name.

                                                                                                                                                                                                                                                                                            func (*CustomKeyStoreInvalidStateException) Error

                                                                                                                                                                                                                                                                                            func (CustomKeyStoreInvalidStateException) GoString

                                                                                                                                                                                                                                                                                              GoString returns the string representation

                                                                                                                                                                                                                                                                                              func (*CustomKeyStoreInvalidStateException) Message

                                                                                                                                                                                                                                                                                                Message returns the exception's message.

                                                                                                                                                                                                                                                                                                func (*CustomKeyStoreInvalidStateException) OrigErr

                                                                                                                                                                                                                                                                                                  OrigErr always returns nil, satisfies awserr.Error interface.

                                                                                                                                                                                                                                                                                                  func (*CustomKeyStoreInvalidStateException) RequestID

                                                                                                                                                                                                                                                                                                    RequestID returns the service's response RequestID for request.

                                                                                                                                                                                                                                                                                                    func (*CustomKeyStoreInvalidStateException) StatusCode

                                                                                                                                                                                                                                                                                                    func (s *CustomKeyStoreInvalidStateException) StatusCode() int

                                                                                                                                                                                                                                                                                                      Status code returns the HTTP status code for the request's response error.

                                                                                                                                                                                                                                                                                                      func (CustomKeyStoreInvalidStateException) String

                                                                                                                                                                                                                                                                                                        String returns the string representation

                                                                                                                                                                                                                                                                                                        type CustomKeyStoreNameInUseException

                                                                                                                                                                                                                                                                                                        type CustomKeyStoreNameInUseException struct {
                                                                                                                                                                                                                                                                                                        	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                        	Message_ *string `locationName:"message" type:"string"`
                                                                                                                                                                                                                                                                                                        	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                        }

                                                                                                                                                                                                                                                                                                          The request was rejected because the specified custom key store name is already assigned to another custom key store in the account. Try again with a custom key store name that is unique in the account.

                                                                                                                                                                                                                                                                                                          func (*CustomKeyStoreNameInUseException) Code

                                                                                                                                                                                                                                                                                                            Code returns the exception type name.

                                                                                                                                                                                                                                                                                                            func (*CustomKeyStoreNameInUseException) Error

                                                                                                                                                                                                                                                                                                            func (CustomKeyStoreNameInUseException) GoString

                                                                                                                                                                                                                                                                                                              GoString returns the string representation

                                                                                                                                                                                                                                                                                                              func (*CustomKeyStoreNameInUseException) Message

                                                                                                                                                                                                                                                                                                                Message returns the exception's message.

                                                                                                                                                                                                                                                                                                                func (*CustomKeyStoreNameInUseException) OrigErr

                                                                                                                                                                                                                                                                                                                  OrigErr always returns nil, satisfies awserr.Error interface.

                                                                                                                                                                                                                                                                                                                  func (*CustomKeyStoreNameInUseException) RequestID

                                                                                                                                                                                                                                                                                                                    RequestID returns the service's response RequestID for request.

                                                                                                                                                                                                                                                                                                                    func (*CustomKeyStoreNameInUseException) StatusCode

                                                                                                                                                                                                                                                                                                                    func (s *CustomKeyStoreNameInUseException) StatusCode() int

                                                                                                                                                                                                                                                                                                                      Status code returns the HTTP status code for the request's response error.

                                                                                                                                                                                                                                                                                                                      func (CustomKeyStoreNameInUseException) String

                                                                                                                                                                                                                                                                                                                        String returns the string representation

                                                                                                                                                                                                                                                                                                                        type CustomKeyStoreNotFoundException

                                                                                                                                                                                                                                                                                                                        type CustomKeyStoreNotFoundException struct {
                                                                                                                                                                                                                                                                                                                        	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                        	Message_ *string `locationName:"message" type:"string"`
                                                                                                                                                                                                                                                                                                                        	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                        }

                                                                                                                                                                                                                                                                                                                          The request was rejected because AWS KMS cannot find a custom key store with the specified key store name or ID.

                                                                                                                                                                                                                                                                                                                          func (*CustomKeyStoreNotFoundException) Code

                                                                                                                                                                                                                                                                                                                            Code returns the exception type name.

                                                                                                                                                                                                                                                                                                                            func (*CustomKeyStoreNotFoundException) Error

                                                                                                                                                                                                                                                                                                                            func (CustomKeyStoreNotFoundException) GoString

                                                                                                                                                                                                                                                                                                                              GoString returns the string representation

                                                                                                                                                                                                                                                                                                                              func (*CustomKeyStoreNotFoundException) Message

                                                                                                                                                                                                                                                                                                                                Message returns the exception's message.

                                                                                                                                                                                                                                                                                                                                func (*CustomKeyStoreNotFoundException) OrigErr

                                                                                                                                                                                                                                                                                                                                  OrigErr always returns nil, satisfies awserr.Error interface.

                                                                                                                                                                                                                                                                                                                                  func (*CustomKeyStoreNotFoundException) RequestID

                                                                                                                                                                                                                                                                                                                                  func (s *CustomKeyStoreNotFoundException) RequestID() string

                                                                                                                                                                                                                                                                                                                                    RequestID returns the service's response RequestID for request.

                                                                                                                                                                                                                                                                                                                                    func (*CustomKeyStoreNotFoundException) StatusCode

                                                                                                                                                                                                                                                                                                                                    func (s *CustomKeyStoreNotFoundException) StatusCode() int

                                                                                                                                                                                                                                                                                                                                      Status code returns the HTTP status code for the request's response error.

                                                                                                                                                                                                                                                                                                                                      func (CustomKeyStoreNotFoundException) String

                                                                                                                                                                                                                                                                                                                                        String returns the string representation

                                                                                                                                                                                                                                                                                                                                        type CustomKeyStoresListEntry

                                                                                                                                                                                                                                                                                                                                        type CustomKeyStoresListEntry struct {
                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                        	// A unique identifier for the AWS CloudHSM cluster that is associated with
                                                                                                                                                                                                                                                                                                                                        	// the custom key store.
                                                                                                                                                                                                                                                                                                                                        	CloudHsmClusterId *string `min:"19" type:"string"`
                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                        	// Describes the connection error. This field appears in the response only when
                                                                                                                                                                                                                                                                                                                                        	// the ConnectionState is FAILED. For help resolving these errors, see How to
                                                                                                                                                                                                                                                                                                                                        	// Fix a Connection Failure (https://docs.aws.amazon.com/kms/latest/developerguide/fix-keystore.html#fix-keystore-failed)
                                                                                                                                                                                                                                                                                                                                        	// in AWS Key Management Service Developer Guide.
                                                                                                                                                                                                                                                                                                                                        	//
                                                                                                                                                                                                                                                                                                                                        	// Valid values are:
                                                                                                                                                                                                                                                                                                                                        	//
                                                                                                                                                                                                                                                                                                                                        	//    * CLUSTER_NOT_FOUND - AWS KMS cannot find the AWS CloudHSM cluster with
                                                                                                                                                                                                                                                                                                                                        	//    the specified cluster ID.
                                                                                                                                                                                                                                                                                                                                        	//
                                                                                                                                                                                                                                                                                                                                        	//    * INSUFFICIENT_CLOUDHSM_HSMS - The associated AWS CloudHSM cluster does
                                                                                                                                                                                                                                                                                                                                        	//    not contain any active HSMs. To connect a custom key store to its AWS
                                                                                                                                                                                                                                                                                                                                        	//    CloudHSM cluster, the cluster must contain at least one active HSM.
                                                                                                                                                                                                                                                                                                                                        	//
                                                                                                                                                                                                                                                                                                                                        	//    * INTERNAL_ERROR - AWS KMS could not complete the request due to an internal
                                                                                                                                                                                                                                                                                                                                        	//    error. Retry the request. For ConnectCustomKeyStore requests, disconnect
                                                                                                                                                                                                                                                                                                                                        	//    the custom key store before trying to connect again.
                                                                                                                                                                                                                                                                                                                                        	//
                                                                                                                                                                                                                                                                                                                                        	//    * INVALID_CREDENTIALS - AWS KMS does not have the correct password for
                                                                                                                                                                                                                                                                                                                                        	//    the kmsuser crypto user in the AWS CloudHSM cluster. Before you can connect
                                                                                                                                                                                                                                                                                                                                        	//    your custom key store to its AWS CloudHSM cluster, you must change the
                                                                                                                                                                                                                                                                                                                                        	//    kmsuser account password and update the key store password value for the
                                                                                                                                                                                                                                                                                                                                        	//    custom key store.
                                                                                                                                                                                                                                                                                                                                        	//
                                                                                                                                                                                                                                                                                                                                        	//    * NETWORK_ERRORS - Network errors are preventing AWS KMS from connecting
                                                                                                                                                                                                                                                                                                                                        	//    to the custom key store.
                                                                                                                                                                                                                                                                                                                                        	//
                                                                                                                                                                                                                                                                                                                                        	//    * SUBNET_NOT_FOUND - A subnet in the AWS CloudHSM cluster configuration
                                                                                                                                                                                                                                                                                                                                        	//    was deleted. If AWS KMS cannot find all of the subnets in the cluster
                                                                                                                                                                                                                                                                                                                                        	//    configuration, attempts to connect the custom key store to the AWS CloudHSM
                                                                                                                                                                                                                                                                                                                                        	//    cluster fail. To fix this error, create a cluster from a recent backup
                                                                                                                                                                                                                                                                                                                                        	//    and associate it with your custom key store. (This process creates a new
                                                                                                                                                                                                                                                                                                                                        	//    cluster configuration with a VPC and private subnets.) For details, see
                                                                                                                                                                                                                                                                                                                                        	//    How to Fix a Connection Failure (https://docs.aws.amazon.com/kms/latest/developerguide/fix-keystore.html#fix-keystore-failed)
                                                                                                                                                                                                                                                                                                                                        	//    in the AWS Key Management Service Developer Guide.
                                                                                                                                                                                                                                                                                                                                        	//
                                                                                                                                                                                                                                                                                                                                        	//    * USER_LOCKED_OUT - The kmsuser CU account is locked out of the associated
                                                                                                                                                                                                                                                                                                                                        	//    AWS CloudHSM cluster due to too many failed password attempts. Before
                                                                                                                                                                                                                                                                                                                                        	//    you can connect your custom key store to its AWS CloudHSM cluster, you
                                                                                                                                                                                                                                                                                                                                        	//    must change the kmsuser account password and update the key store password
                                                                                                                                                                                                                                                                                                                                        	//    value for the custom key store.
                                                                                                                                                                                                                                                                                                                                        	//
                                                                                                                                                                                                                                                                                                                                        	//    * USER_LOGGED_IN - The kmsuser CU account is logged into the the associated
                                                                                                                                                                                                                                                                                                                                        	//    AWS CloudHSM cluster. This prevents AWS KMS from rotating the kmsuser
                                                                                                                                                                                                                                                                                                                                        	//    account password and logging into the cluster. Before you can connect
                                                                                                                                                                                                                                                                                                                                        	//    your custom key store to its AWS CloudHSM cluster, you must log the kmsuser
                                                                                                                                                                                                                                                                                                                                        	//    CU out of the cluster. If you changed the kmsuser password to log into
                                                                                                                                                                                                                                                                                                                                        	//    the cluster, you must also and update the key store password value for
                                                                                                                                                                                                                                                                                                                                        	//    the custom key store. For help, see How to Log Out and Reconnect (https://docs.aws.amazon.com/kms/latest/developerguide/fix-keystore.html#login-kmsuser-2)
                                                                                                                                                                                                                                                                                                                                        	//    in the AWS Key Management Service Developer Guide.
                                                                                                                                                                                                                                                                                                                                        	//
                                                                                                                                                                                                                                                                                                                                        	//    * USER_NOT_FOUND - AWS KMS cannot find a kmsuser CU account in the associated
                                                                                                                                                                                                                                                                                                                                        	//    AWS CloudHSM cluster. Before you can connect your custom key store to
                                                                                                                                                                                                                                                                                                                                        	//    its AWS CloudHSM cluster, you must create a kmsuser CU account in the
                                                                                                                                                                                                                                                                                                                                        	//    cluster, and then update the key store password value for the custom key
                                                                                                                                                                                                                                                                                                                                        	//    store.
                                                                                                                                                                                                                                                                                                                                        	ConnectionErrorCode *string `type:"string" enum:"ConnectionErrorCodeType"`
                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                        	// Indicates whether the custom key store is connected to its AWS CloudHSM cluster.
                                                                                                                                                                                                                                                                                                                                        	//
                                                                                                                                                                                                                                                                                                                                        	// You can create and use CMKs in your custom key stores only when its connection
                                                                                                                                                                                                                                                                                                                                        	// state is CONNECTED.
                                                                                                                                                                                                                                                                                                                                        	//
                                                                                                                                                                                                                                                                                                                                        	// The value is DISCONNECTED if the key store has never been connected or you
                                                                                                                                                                                                                                                                                                                                        	// use the DisconnectCustomKeyStore operation to disconnect it. If the value
                                                                                                                                                                                                                                                                                                                                        	// is CONNECTED but you are having trouble using the custom key store, make
                                                                                                                                                                                                                                                                                                                                        	// sure that its associated AWS CloudHSM cluster is active and contains at least
                                                                                                                                                                                                                                                                                                                                        	// one active HSM.
                                                                                                                                                                                                                                                                                                                                        	//
                                                                                                                                                                                                                                                                                                                                        	// A value of FAILED indicates that an attempt to connect was unsuccessful.
                                                                                                                                                                                                                                                                                                                                        	// The ConnectionErrorCode field in the response indicates the cause of the
                                                                                                                                                                                                                                                                                                                                        	// failure. For help resolving a connection failure, see Troubleshooting a Custom
                                                                                                                                                                                                                                                                                                                                        	// Key Store (https://docs.aws.amazon.com/kms/latest/developerguide/fix-keystore.html)
                                                                                                                                                                                                                                                                                                                                        	// in the AWS Key Management Service Developer Guide.
                                                                                                                                                                                                                                                                                                                                        	ConnectionState *string `type:"string" enum:"ConnectionStateType"`
                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                        	// The date and time when the custom key store was created.
                                                                                                                                                                                                                                                                                                                                        	CreationDate *time.Time `type:"timestamp"`
                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                        	// A unique identifier for the custom key store.
                                                                                                                                                                                                                                                                                                                                        	CustomKeyStoreId *string `min:"1" type:"string"`
                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                        	// The user-specified friendly name for the custom key store.
                                                                                                                                                                                                                                                                                                                                        	CustomKeyStoreName *string `min:"1" type:"string"`
                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                        	// The trust anchor certificate of the associated AWS CloudHSM cluster. When
                                                                                                                                                                                                                                                                                                                                        	// you initialize the cluster (https://docs.aws.amazon.com/cloudhsm/latest/userguide/initialize-cluster.html#sign-csr),
                                                                                                                                                                                                                                                                                                                                        	// you create this certificate and save it in the customerCA.crt file.
                                                                                                                                                                                                                                                                                                                                        	TrustAnchorCertificate *string `min:"1" type:"string"`
                                                                                                                                                                                                                                                                                                                                        	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                        }

                                                                                                                                                                                                                                                                                                                                          Contains information about each custom key store in the custom key store list.

                                                                                                                                                                                                                                                                                                                                          func (CustomKeyStoresListEntry) GoString

                                                                                                                                                                                                                                                                                                                                          func (s CustomKeyStoresListEntry) GoString() string

                                                                                                                                                                                                                                                                                                                                            GoString returns the string representation

                                                                                                                                                                                                                                                                                                                                            func (*CustomKeyStoresListEntry) SetCloudHsmClusterId

                                                                                                                                                                                                                                                                                                                                            func (s *CustomKeyStoresListEntry) SetCloudHsmClusterId(v string) *CustomKeyStoresListEntry

                                                                                                                                                                                                                                                                                                                                              SetCloudHsmClusterId sets the CloudHsmClusterId field's value.

                                                                                                                                                                                                                                                                                                                                              func (*CustomKeyStoresListEntry) SetConnectionErrorCode

                                                                                                                                                                                                                                                                                                                                              func (s *CustomKeyStoresListEntry) SetConnectionErrorCode(v string) *CustomKeyStoresListEntry

                                                                                                                                                                                                                                                                                                                                                SetConnectionErrorCode sets the ConnectionErrorCode field's value.

                                                                                                                                                                                                                                                                                                                                                func (*CustomKeyStoresListEntry) SetConnectionState

                                                                                                                                                                                                                                                                                                                                                func (s *CustomKeyStoresListEntry) SetConnectionState(v string) *CustomKeyStoresListEntry

                                                                                                                                                                                                                                                                                                                                                  SetConnectionState sets the ConnectionState field's value.

                                                                                                                                                                                                                                                                                                                                                  func (*CustomKeyStoresListEntry) SetCreationDate

                                                                                                                                                                                                                                                                                                                                                    SetCreationDate sets the CreationDate field's value.

                                                                                                                                                                                                                                                                                                                                                    func (*CustomKeyStoresListEntry) SetCustomKeyStoreId

                                                                                                                                                                                                                                                                                                                                                    func (s *CustomKeyStoresListEntry) SetCustomKeyStoreId(v string) *CustomKeyStoresListEntry

                                                                                                                                                                                                                                                                                                                                                      SetCustomKeyStoreId sets the CustomKeyStoreId field's value.

                                                                                                                                                                                                                                                                                                                                                      func (*CustomKeyStoresListEntry) SetCustomKeyStoreName

                                                                                                                                                                                                                                                                                                                                                      func (s *CustomKeyStoresListEntry) SetCustomKeyStoreName(v string) *CustomKeyStoresListEntry

                                                                                                                                                                                                                                                                                                                                                        SetCustomKeyStoreName sets the CustomKeyStoreName field's value.

                                                                                                                                                                                                                                                                                                                                                        func (*CustomKeyStoresListEntry) SetTrustAnchorCertificate

                                                                                                                                                                                                                                                                                                                                                        func (s *CustomKeyStoresListEntry) SetTrustAnchorCertificate(v string) *CustomKeyStoresListEntry

                                                                                                                                                                                                                                                                                                                                                          SetTrustAnchorCertificate sets the TrustAnchorCertificate field's value.

                                                                                                                                                                                                                                                                                                                                                          func (CustomKeyStoresListEntry) String

                                                                                                                                                                                                                                                                                                                                                          func (s CustomKeyStoresListEntry) String() string

                                                                                                                                                                                                                                                                                                                                                            String returns the string representation

                                                                                                                                                                                                                                                                                                                                                            type DecryptInput

                                                                                                                                                                                                                                                                                                                                                            type DecryptInput struct {
                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                            	// Ciphertext to be decrypted. The blob includes metadata.
                                                                                                                                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                                                                                                                                            	// CiphertextBlob is automatically base64 encoded/decoded by the SDK.
                                                                                                                                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                                                                                                                                            	// CiphertextBlob is a required field
                                                                                                                                                                                                                                                                                                                                                            	CiphertextBlob []byte `min:"1" type:"blob" required:"true"`
                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                            	// Specifies the encryption algorithm that will be used to decrypt the ciphertext.
                                                                                                                                                                                                                                                                                                                                                            	// Specify the same algorithm that was used to encrypt the data. If you specify
                                                                                                                                                                                                                                                                                                                                                            	// a different algorithm, the Decrypt operation fails.
                                                                                                                                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                                                                                                                                            	// This parameter is required only when the ciphertext was encrypted under an
                                                                                                                                                                                                                                                                                                                                                            	// asymmetric CMK. The default value, SYMMETRIC_DEFAULT, represents the only
                                                                                                                                                                                                                                                                                                                                                            	// supported algorithm that is valid for symmetric CMKs.
                                                                                                                                                                                                                                                                                                                                                            	EncryptionAlgorithm *string `type:"string" enum:"EncryptionAlgorithmSpec"`
                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                            	// Specifies the encryption context to use when decrypting the data. An encryption
                                                                                                                                                                                                                                                                                                                                                            	// context is valid only for cryptographic operations (https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#cryptographic-operations)
                                                                                                                                                                                                                                                                                                                                                            	// with a symmetric CMK. The standard asymmetric encryption algorithms that
                                                                                                                                                                                                                                                                                                                                                            	// AWS KMS uses do not support an encryption context.
                                                                                                                                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                                                                                                                                            	// An encryption context is a collection of non-secret key-value pairs that
                                                                                                                                                                                                                                                                                                                                                            	// represents additional authenticated data. When you use an encryption context
                                                                                                                                                                                                                                                                                                                                                            	// to encrypt data, you must specify the same (an exact case-sensitive match)
                                                                                                                                                                                                                                                                                                                                                            	// encryption context to decrypt the data. An encryption context is optional
                                                                                                                                                                                                                                                                                                                                                            	// when encrypting with a symmetric CMK, but it is highly recommended.
                                                                                                                                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                                                                                                                                            	// For more information, see Encryption Context (https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context)
                                                                                                                                                                                                                                                                                                                                                            	// in the AWS Key Management Service Developer Guide.
                                                                                                                                                                                                                                                                                                                                                            	EncryptionContext map[string]*string `type:"map"`
                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                            	// A list of grant tokens.
                                                                                                                                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                                                                                                                                            	// For more information, see Grant Tokens (https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#grant_token)
                                                                                                                                                                                                                                                                                                                                                            	// in the AWS Key Management Service Developer Guide.
                                                                                                                                                                                                                                                                                                                                                            	GrantTokens []*string `type:"list"`
                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                            	// Specifies the customer master key (CMK) that AWS KMS uses to decrypt the
                                                                                                                                                                                                                                                                                                                                                            	// ciphertext. Enter a key ID of the CMK that was used to encrypt the ciphertext.
                                                                                                                                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                                                                                                                                            	// This parameter is required only when the ciphertext was encrypted under an
                                                                                                                                                                                                                                                                                                                                                            	// asymmetric CMK. If you used a symmetric CMK, AWS KMS can get the CMK from
                                                                                                                                                                                                                                                                                                                                                            	// metadata that it adds to the symmetric ciphertext blob. However, it is always
                                                                                                                                                                                                                                                                                                                                                            	// recommended as a best practice. This practice ensures that you use the CMK
                                                                                                                                                                                                                                                                                                                                                            	// that you intend.
                                                                                                                                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                                                                                                                                            	// To specify a CMK, use its key ID, Amazon Resource Name (ARN), alias name,
                                                                                                                                                                                                                                                                                                                                                            	// or alias ARN. When using an alias name, prefix it with "alias/". To specify
                                                                                                                                                                                                                                                                                                                                                            	// a CMK in a different AWS account, you must use the key ARN or alias ARN.
                                                                                                                                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                                                                                                                                            	// For example:
                                                                                                                                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                                                                                                                                            	//    * Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
                                                                                                                                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                                                                                                                                            	//    * Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
                                                                                                                                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                                                                                                                                            	//    * Alias name: alias/ExampleAlias
                                                                                                                                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                                                                                                                                            	//    * Alias ARN: arn:aws:kms:us-east-2:111122223333:alias/ExampleAlias
                                                                                                                                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                                                                                                                                            	// To get the key ID and key ARN for a CMK, use ListKeys or DescribeKey. To
                                                                                                                                                                                                                                                                                                                                                            	// get the alias name and alias ARN, use ListAliases.
                                                                                                                                                                                                                                                                                                                                                            	KeyId *string `min:"1" type:"string"`
                                                                                                                                                                                                                                                                                                                                                            	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                                                                                                            func (DecryptInput) GoString

                                                                                                                                                                                                                                                                                                                                                            func (s DecryptInput) GoString() string

                                                                                                                                                                                                                                                                                                                                                              GoString returns the string representation

                                                                                                                                                                                                                                                                                                                                                              func (*DecryptInput) SetCiphertextBlob

                                                                                                                                                                                                                                                                                                                                                              func (s *DecryptInput) SetCiphertextBlob(v []byte) *DecryptInput

                                                                                                                                                                                                                                                                                                                                                                SetCiphertextBlob sets the CiphertextBlob field's value.

                                                                                                                                                                                                                                                                                                                                                                func (*DecryptInput) SetEncryptionAlgorithm

                                                                                                                                                                                                                                                                                                                                                                func (s *DecryptInput) SetEncryptionAlgorithm(v string) *DecryptInput

                                                                                                                                                                                                                                                                                                                                                                  SetEncryptionAlgorithm sets the EncryptionAlgorithm field's value.

                                                                                                                                                                                                                                                                                                                                                                  func (*DecryptInput) SetEncryptionContext

                                                                                                                                                                                                                                                                                                                                                                  func (s *DecryptInput) SetEncryptionContext(v map[string]*string) *DecryptInput

                                                                                                                                                                                                                                                                                                                                                                    SetEncryptionContext sets the EncryptionContext field's value.

                                                                                                                                                                                                                                                                                                                                                                    func (*DecryptInput) SetGrantTokens

                                                                                                                                                                                                                                                                                                                                                                    func (s *DecryptInput) SetGrantTokens(v []*string) *DecryptInput

                                                                                                                                                                                                                                                                                                                                                                      SetGrantTokens sets the GrantTokens field's value.

                                                                                                                                                                                                                                                                                                                                                                      func (*DecryptInput) SetKeyId

                                                                                                                                                                                                                                                                                                                                                                      func (s *DecryptInput) SetKeyId(v string) *DecryptInput

                                                                                                                                                                                                                                                                                                                                                                        SetKeyId sets the KeyId field's value.

                                                                                                                                                                                                                                                                                                                                                                        func (DecryptInput) String

                                                                                                                                                                                                                                                                                                                                                                        func (s DecryptInput) String() string

                                                                                                                                                                                                                                                                                                                                                                          String returns the string representation

                                                                                                                                                                                                                                                                                                                                                                          func (*DecryptInput) Validate

                                                                                                                                                                                                                                                                                                                                                                          func (s *DecryptInput) Validate() error

                                                                                                                                                                                                                                                                                                                                                                            Validate inspects the fields of the type to determine if they are valid.

                                                                                                                                                                                                                                                                                                                                                                            type DecryptOutput

                                                                                                                                                                                                                                                                                                                                                                            type DecryptOutput struct {
                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                            	// The encryption algorithm that was used to decrypt the ciphertext.
                                                                                                                                                                                                                                                                                                                                                                            	EncryptionAlgorithm *string `type:"string" enum:"EncryptionAlgorithmSpec"`
                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                            	// The Amazon Resource Name (key ARN (https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id-key-ARN))
                                                                                                                                                                                                                                                                                                                                                                            	// of the CMK that was used to decrypt the ciphertext.
                                                                                                                                                                                                                                                                                                                                                                            	KeyId *string `min:"1" type:"string"`
                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                            	// Decrypted plaintext data. When you use the HTTP API or the AWS CLI, the value
                                                                                                                                                                                                                                                                                                                                                                            	// is Base64-encoded. Otherwise, it is not Base64-encoded.
                                                                                                                                                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                                                                                                                                                            	// Plaintext is automatically base64 encoded/decoded by the SDK.
                                                                                                                                                                                                                                                                                                                                                                            	Plaintext []byte `min:"1" type:"blob" sensitive:"true"`
                                                                                                                                                                                                                                                                                                                                                                            	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                                                                                                                            func (DecryptOutput) GoString

                                                                                                                                                                                                                                                                                                                                                                            func (s DecryptOutput) GoString() string

                                                                                                                                                                                                                                                                                                                                                                              GoString returns the string representation

                                                                                                                                                                                                                                                                                                                                                                              func (*DecryptOutput) SetEncryptionAlgorithm

                                                                                                                                                                                                                                                                                                                                                                              func (s *DecryptOutput) SetEncryptionAlgorithm(v string) *DecryptOutput

                                                                                                                                                                                                                                                                                                                                                                                SetEncryptionAlgorithm sets the EncryptionAlgorithm field's value.

                                                                                                                                                                                                                                                                                                                                                                                func (*DecryptOutput) SetKeyId

                                                                                                                                                                                                                                                                                                                                                                                func (s *DecryptOutput) SetKeyId(v string) *DecryptOutput

                                                                                                                                                                                                                                                                                                                                                                                  SetKeyId sets the KeyId field's value.

                                                                                                                                                                                                                                                                                                                                                                                  func (*DecryptOutput) SetPlaintext

                                                                                                                                                                                                                                                                                                                                                                                  func (s *DecryptOutput) SetPlaintext(v []byte) *DecryptOutput

                                                                                                                                                                                                                                                                                                                                                                                    SetPlaintext sets the Plaintext field's value.

                                                                                                                                                                                                                                                                                                                                                                                    func (DecryptOutput) String

                                                                                                                                                                                                                                                                                                                                                                                    func (s DecryptOutput) String() string

                                                                                                                                                                                                                                                                                                                                                                                      String returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                      type DeleteAliasInput

                                                                                                                                                                                                                                                                                                                                                                                      type DeleteAliasInput struct {
                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                      	// The alias to be deleted. The alias name must begin with alias/ followed by
                                                                                                                                                                                                                                                                                                                                                                                      	// the alias name, such as alias/ExampleAlias.
                                                                                                                                                                                                                                                                                                                                                                                      	//
                                                                                                                                                                                                                                                                                                                                                                                      	// AliasName is a required field
                                                                                                                                                                                                                                                                                                                                                                                      	AliasName *string `min:"1" type:"string" required:"true"`
                                                                                                                                                                                                                                                                                                                                                                                      	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                      }

                                                                                                                                                                                                                                                                                                                                                                                      func (DeleteAliasInput) GoString

                                                                                                                                                                                                                                                                                                                                                                                      func (s DeleteAliasInput) GoString() string

                                                                                                                                                                                                                                                                                                                                                                                        GoString returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                        func (*DeleteAliasInput) SetAliasName

                                                                                                                                                                                                                                                                                                                                                                                        func (s *DeleteAliasInput) SetAliasName(v string) *DeleteAliasInput

                                                                                                                                                                                                                                                                                                                                                                                          SetAliasName sets the AliasName field's value.

                                                                                                                                                                                                                                                                                                                                                                                          func (DeleteAliasInput) String

                                                                                                                                                                                                                                                                                                                                                                                          func (s DeleteAliasInput) String() string

                                                                                                                                                                                                                                                                                                                                                                                            String returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                            func (*DeleteAliasInput) Validate

                                                                                                                                                                                                                                                                                                                                                                                            func (s *DeleteAliasInput) Validate() error

                                                                                                                                                                                                                                                                                                                                                                                              Validate inspects the fields of the type to determine if they are valid.

                                                                                                                                                                                                                                                                                                                                                                                              type DeleteAliasOutput

                                                                                                                                                                                                                                                                                                                                                                                              type DeleteAliasOutput struct {
                                                                                                                                                                                                                                                                                                                                                                                              	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                                                                                                                                              func (DeleteAliasOutput) GoString

                                                                                                                                                                                                                                                                                                                                                                                              func (s DeleteAliasOutput) GoString() string

                                                                                                                                                                                                                                                                                                                                                                                                GoString returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                func (DeleteAliasOutput) String

                                                                                                                                                                                                                                                                                                                                                                                                func (s DeleteAliasOutput) String() string

                                                                                                                                                                                                                                                                                                                                                                                                  String returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                  type DeleteCustomKeyStoreInput

                                                                                                                                                                                                                                                                                                                                                                                                  type DeleteCustomKeyStoreInput struct {
                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                  	// Enter the ID of the custom key store you want to delete. To find the ID of
                                                                                                                                                                                                                                                                                                                                                                                                  	// a custom key store, use the DescribeCustomKeyStores operation.
                                                                                                                                                                                                                                                                                                                                                                                                  	//
                                                                                                                                                                                                                                                                                                                                                                                                  	// CustomKeyStoreId is a required field
                                                                                                                                                                                                                                                                                                                                                                                                  	CustomKeyStoreId *string `min:"1" type:"string" required:"true"`
                                                                                                                                                                                                                                                                                                                                                                                                  	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                                                                                                  func (DeleteCustomKeyStoreInput) GoString

                                                                                                                                                                                                                                                                                                                                                                                                  func (s DeleteCustomKeyStoreInput) GoString() string

                                                                                                                                                                                                                                                                                                                                                                                                    GoString returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                    func (*DeleteCustomKeyStoreInput) SetCustomKeyStoreId

                                                                                                                                                                                                                                                                                                                                                                                                    func (s *DeleteCustomKeyStoreInput) SetCustomKeyStoreId(v string) *DeleteCustomKeyStoreInput

                                                                                                                                                                                                                                                                                                                                                                                                      SetCustomKeyStoreId sets the CustomKeyStoreId field's value.

                                                                                                                                                                                                                                                                                                                                                                                                      func (DeleteCustomKeyStoreInput) String

                                                                                                                                                                                                                                                                                                                                                                                                      func (s DeleteCustomKeyStoreInput) String() string

                                                                                                                                                                                                                                                                                                                                                                                                        String returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                        func (*DeleteCustomKeyStoreInput) Validate

                                                                                                                                                                                                                                                                                                                                                                                                        func (s *DeleteCustomKeyStoreInput) Validate() error

                                                                                                                                                                                                                                                                                                                                                                                                          Validate inspects the fields of the type to determine if they are valid.

                                                                                                                                                                                                                                                                                                                                                                                                          type DeleteCustomKeyStoreOutput

                                                                                                                                                                                                                                                                                                                                                                                                          type DeleteCustomKeyStoreOutput struct {
                                                                                                                                                                                                                                                                                                                                                                                                          	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                          }

                                                                                                                                                                                                                                                                                                                                                                                                          func (DeleteCustomKeyStoreOutput) GoString

                                                                                                                                                                                                                                                                                                                                                                                                          func (s DeleteCustomKeyStoreOutput) GoString() string

                                                                                                                                                                                                                                                                                                                                                                                                            GoString returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                            func (DeleteCustomKeyStoreOutput) String

                                                                                                                                                                                                                                                                                                                                                                                                              String returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                              type DeleteImportedKeyMaterialInput

                                                                                                                                                                                                                                                                                                                                                                                                              type DeleteImportedKeyMaterialInput struct {
                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                              	// Identifies the CMK from which you are deleting imported key material. The
                                                                                                                                                                                                                                                                                                                                                                                                              	// Origin of the CMK must be EXTERNAL.
                                                                                                                                                                                                                                                                                                                                                                                                              	//
                                                                                                                                                                                                                                                                                                                                                                                                              	// Specify the key ID or the Amazon Resource Name (ARN) of the CMK.
                                                                                                                                                                                                                                                                                                                                                                                                              	//
                                                                                                                                                                                                                                                                                                                                                                                                              	// For example:
                                                                                                                                                                                                                                                                                                                                                                                                              	//
                                                                                                                                                                                                                                                                                                                                                                                                              	//    * Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
                                                                                                                                                                                                                                                                                                                                                                                                              	//
                                                                                                                                                                                                                                                                                                                                                                                                              	//    * Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
                                                                                                                                                                                                                                                                                                                                                                                                              	//
                                                                                                                                                                                                                                                                                                                                                                                                              	// To get the key ID and key ARN for a CMK, use ListKeys or DescribeKey.
                                                                                                                                                                                                                                                                                                                                                                                                              	//
                                                                                                                                                                                                                                                                                                                                                                                                              	// KeyId is a required field
                                                                                                                                                                                                                                                                                                                                                                                                              	KeyId *string `min:"1" type:"string" required:"true"`
                                                                                                                                                                                                                                                                                                                                                                                                              	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                                                                                                                                                              func (DeleteImportedKeyMaterialInput) GoString

                                                                                                                                                                                                                                                                                                                                                                                                                GoString returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                                func (*DeleteImportedKeyMaterialInput) SetKeyId

                                                                                                                                                                                                                                                                                                                                                                                                                  SetKeyId sets the KeyId field's value.

                                                                                                                                                                                                                                                                                                                                                                                                                  func (DeleteImportedKeyMaterialInput) String

                                                                                                                                                                                                                                                                                                                                                                                                                    String returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                                    func (*DeleteImportedKeyMaterialInput) Validate

                                                                                                                                                                                                                                                                                                                                                                                                                    func (s *DeleteImportedKeyMaterialInput) Validate() error

                                                                                                                                                                                                                                                                                                                                                                                                                      Validate inspects the fields of the type to determine if they are valid.

                                                                                                                                                                                                                                                                                                                                                                                                                      type DeleteImportedKeyMaterialOutput

                                                                                                                                                                                                                                                                                                                                                                                                                      type DeleteImportedKeyMaterialOutput struct {
                                                                                                                                                                                                                                                                                                                                                                                                                      	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                      }

                                                                                                                                                                                                                                                                                                                                                                                                                      func (DeleteImportedKeyMaterialOutput) GoString

                                                                                                                                                                                                                                                                                                                                                                                                                        GoString returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                                        func (DeleteImportedKeyMaterialOutput) String

                                                                                                                                                                                                                                                                                                                                                                                                                          String returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                                          type DependencyTimeoutException

                                                                                                                                                                                                                                                                                                                                                                                                                          type DependencyTimeoutException struct {
                                                                                                                                                                                                                                                                                                                                                                                                                          	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                          	Message_ *string `locationName:"message" type:"string"`
                                                                                                                                                                                                                                                                                                                                                                                                                          	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                          }

                                                                                                                                                                                                                                                                                                                                                                                                                            The system timed out while trying to fulfill the request. The request can be retried.

                                                                                                                                                                                                                                                                                                                                                                                                                            func (*DependencyTimeoutException) Code

                                                                                                                                                                                                                                                                                                                                                                                                                              Code returns the exception type name.

                                                                                                                                                                                                                                                                                                                                                                                                                              func (*DependencyTimeoutException) Error

                                                                                                                                                                                                                                                                                                                                                                                                                              func (DependencyTimeoutException) GoString

                                                                                                                                                                                                                                                                                                                                                                                                                              func (s DependencyTimeoutException) GoString() string

                                                                                                                                                                                                                                                                                                                                                                                                                                GoString returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                                                func (*DependencyTimeoutException) Message

                                                                                                                                                                                                                                                                                                                                                                                                                                func (s *DependencyTimeoutException) Message() string

                                                                                                                                                                                                                                                                                                                                                                                                                                  Message returns the exception's message.

                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*DependencyTimeoutException) OrigErr

                                                                                                                                                                                                                                                                                                                                                                                                                                  func (s *DependencyTimeoutException) OrigErr() error

                                                                                                                                                                                                                                                                                                                                                                                                                                    OrigErr always returns nil, satisfies awserr.Error interface.

                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*DependencyTimeoutException) RequestID

                                                                                                                                                                                                                                                                                                                                                                                                                                    func (s *DependencyTimeoutException) RequestID() string

                                                                                                                                                                                                                                                                                                                                                                                                                                      RequestID returns the service's response RequestID for request.

                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*DependencyTimeoutException) StatusCode

                                                                                                                                                                                                                                                                                                                                                                                                                                      func (s *DependencyTimeoutException) StatusCode() int

                                                                                                                                                                                                                                                                                                                                                                                                                                        Status code returns the HTTP status code for the request's response error.

                                                                                                                                                                                                                                                                                                                                                                                                                                        func (DependencyTimeoutException) String

                                                                                                                                                                                                                                                                                                                                                                                                                                          String returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                                                          type DescribeCustomKeyStoresInput

                                                                                                                                                                                                                                                                                                                                                                                                                                          type DescribeCustomKeyStoresInput struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                          	// Gets only information about the specified custom key store. Enter the key
                                                                                                                                                                                                                                                                                                                                                                                                                                          	// store ID.
                                                                                                                                                                                                                                                                                                                                                                                                                                          	//
                                                                                                                                                                                                                                                                                                                                                                                                                                          	// By default, this operation gets information about all custom key stores in
                                                                                                                                                                                                                                                                                                                                                                                                                                          	// the account and region. To limit the output to a particular custom key store,
                                                                                                                                                                                                                                                                                                                                                                                                                                          	// you can use either the CustomKeyStoreId or CustomKeyStoreName parameter,
                                                                                                                                                                                                                                                                                                                                                                                                                                          	// but not both.
                                                                                                                                                                                                                                                                                                                                                                                                                                          	CustomKeyStoreId *string `min:"1" type:"string"`
                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                          	// Gets only information about the specified custom key store. Enter the friendly
                                                                                                                                                                                                                                                                                                                                                                                                                                          	// name of the custom key store.
                                                                                                                                                                                                                                                                                                                                                                                                                                          	//
                                                                                                                                                                                                                                                                                                                                                                                                                                          	// By default, this operation gets information about all custom key stores in
                                                                                                                                                                                                                                                                                                                                                                                                                                          	// the account and region. To limit the output to a particular custom key store,
                                                                                                                                                                                                                                                                                                                                                                                                                                          	// you can use either the CustomKeyStoreId or CustomKeyStoreName parameter,
                                                                                                                                                                                                                                                                                                                                                                                                                                          	// but not both.
                                                                                                                                                                                                                                                                                                                                                                                                                                          	CustomKeyStoreName *string `min:"1" type:"string"`
                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                          	// Use this parameter to specify the maximum number of items to return. When
                                                                                                                                                                                                                                                                                                                                                                                                                                          	// this value is present, AWS KMS does not return more than the specified number
                                                                                                                                                                                                                                                                                                                                                                                                                                          	// of items, but it might return fewer.
                                                                                                                                                                                                                                                                                                                                                                                                                                          	Limit *int64 `min:"1" type:"integer"`
                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                          	// Use this parameter in a subsequent request after you receive a response with
                                                                                                                                                                                                                                                                                                                                                                                                                                          	// truncated results. Set it to the value of NextMarker from the truncated response
                                                                                                                                                                                                                                                                                                                                                                                                                                          	// you just received.
                                                                                                                                                                                                                                                                                                                                                                                                                                          	Marker *string `min:"1" type:"string"`
                                                                                                                                                                                                                                                                                                                                                                                                                                          	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                          }

                                                                                                                                                                                                                                                                                                                                                                                                                                          func (DescribeCustomKeyStoresInput) GoString

                                                                                                                                                                                                                                                                                                                                                                                                                                          func (s DescribeCustomKeyStoresInput) GoString() string

                                                                                                                                                                                                                                                                                                                                                                                                                                            GoString returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*DescribeCustomKeyStoresInput) SetCustomKeyStoreId

                                                                                                                                                                                                                                                                                                                                                                                                                                              SetCustomKeyStoreId sets the CustomKeyStoreId field's value.

                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*DescribeCustomKeyStoresInput) SetCustomKeyStoreName

                                                                                                                                                                                                                                                                                                                                                                                                                                                SetCustomKeyStoreName sets the CustomKeyStoreName field's value.

                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*DescribeCustomKeyStoresInput) SetLimit

                                                                                                                                                                                                                                                                                                                                                                                                                                                  SetLimit sets the Limit field's value.

                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*DescribeCustomKeyStoresInput) SetMarker

                                                                                                                                                                                                                                                                                                                                                                                                                                                    SetMarker sets the Marker field's value.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (DescribeCustomKeyStoresInput) String

                                                                                                                                                                                                                                                                                                                                                                                                                                                      String returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*DescribeCustomKeyStoresInput) Validate

                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (s *DescribeCustomKeyStoresInput) Validate() error

                                                                                                                                                                                                                                                                                                                                                                                                                                                        Validate inspects the fields of the type to determine if they are valid.

                                                                                                                                                                                                                                                                                                                                                                                                                                                        type DescribeCustomKeyStoresOutput

                                                                                                                                                                                                                                                                                                                                                                                                                                                        type DescribeCustomKeyStoresOutput struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// Contains metadata about each custom key store.
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	CustomKeyStores []*CustomKeyStoresListEntry `type:"list"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// When Truncated is true, this element is present and contains the value to
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// use for the Marker parameter in a subsequent request.
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	NextMarker *string `min:"1" type:"string"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// A flag that indicates whether there are more items in the list. When this
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// value is true, the list in this response is truncated. To get more items,
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// pass the value of the NextMarker element in thisresponse to the Marker parameter
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// in a subsequent request.
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	Truncated *bool `type:"boolean"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                        }

                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (DescribeCustomKeyStoresOutput) GoString

                                                                                                                                                                                                                                                                                                                                                                                                                                                          GoString returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*DescribeCustomKeyStoresOutput) SetCustomKeyStores

                                                                                                                                                                                                                                                                                                                                                                                                                                                            SetCustomKeyStores sets the CustomKeyStores field's value.

                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*DescribeCustomKeyStoresOutput) SetNextMarker

                                                                                                                                                                                                                                                                                                                                                                                                                                                              SetNextMarker sets the NextMarker field's value.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*DescribeCustomKeyStoresOutput) SetTruncated

                                                                                                                                                                                                                                                                                                                                                                                                                                                                SetTruncated sets the Truncated field's value.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (DescribeCustomKeyStoresOutput) String

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  String returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type DescribeKeyInput

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type DescribeKeyInput struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// A list of grant tokens.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	//
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// For more information, see Grant Tokens (https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#grant_token)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// in the AWS Key Management Service Developer Guide.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	GrantTokens []*string `type:"list"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// Describes the specified customer master key (CMK).
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	//
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// If you specify a predefined AWS alias (an AWS alias with no key ID), KMS
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// associates the alias with an AWS managed CMK (https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#master_keys)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// and returns its KeyId and Arn in the response.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	//
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// To specify a CMK, use its key ID, Amazon Resource Name (ARN), alias name,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// or alias ARN. When using an alias name, prefix it with "alias/". To specify
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// a CMK in a different AWS account, you must use the key ARN or alias ARN.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	//
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// For example:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	//
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	//    * Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	//
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	//    * Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	//
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	//    * Alias name: alias/ExampleAlias
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	//
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	//    * Alias ARN: arn:aws:kms:us-east-2:111122223333:alias/ExampleAlias
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	//
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// To get the key ID and key ARN for a CMK, use ListKeys or DescribeKey. To
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// get the alias name and alias ARN, use ListAliases.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	//
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// KeyId is a required field
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	KeyId *string `min:"1" type:"string" required:"true"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (DescribeKeyInput) GoString

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (s DescribeKeyInput) GoString() string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    GoString returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*DescribeKeyInput) SetGrantTokens

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (s *DescribeKeyInput) SetGrantTokens(v []*string) *DescribeKeyInput

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      SetGrantTokens sets the GrantTokens field's value.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*DescribeKeyInput) SetKeyId

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (s *DescribeKeyInput) SetKeyId(v string) *DescribeKeyInput

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        SetKeyId sets the KeyId field's value.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (DescribeKeyInput) String

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (s DescribeKeyInput) String() string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          String returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*DescribeKeyInput) Validate

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (s *DescribeKeyInput) Validate() error

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Validate inspects the fields of the type to determine if they are valid.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type DescribeKeyOutput

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type DescribeKeyOutput struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// Metadata associated with the key.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	KeyMetadata *KeyMetadata `type:"structure"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (DescribeKeyOutput) GoString

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (s DescribeKeyOutput) GoString() string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              GoString returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*DescribeKeyOutput) SetKeyMetadata

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (s *DescribeKeyOutput) SetKeyMetadata(v *KeyMetadata) *DescribeKeyOutput

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                SetKeyMetadata sets the KeyMetadata field's value.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (DescribeKeyOutput) String

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (s DescribeKeyOutput) String() string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  String returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type DisableKeyInput

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type DisableKeyInput struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// A unique identifier for the customer master key (CMK).
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	//
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// Specify the key ID or the Amazon Resource Name (ARN) of the CMK.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	//
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// For example:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	//
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	//    * Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	//
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	//    * Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	//
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// To get the key ID and key ARN for a CMK, use ListKeys or DescribeKey.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	//
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// KeyId is a required field
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	KeyId *string `min:"1" type:"string" required:"true"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (DisableKeyInput) GoString

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (s DisableKeyInput) GoString() string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    GoString returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*DisableKeyInput) SetKeyId

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (s *DisableKeyInput) SetKeyId(v string) *DisableKeyInput

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      SetKeyId sets the KeyId field's value.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (DisableKeyInput) String

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (s DisableKeyInput) String() string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        String returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*DisableKeyInput) Validate

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (s *DisableKeyInput) Validate() error

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Validate inspects the fields of the type to determine if they are valid.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type DisableKeyOutput

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type DisableKeyOutput struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (DisableKeyOutput) GoString

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (s DisableKeyOutput) GoString() string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            GoString returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (DisableKeyOutput) String

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (s DisableKeyOutput) String() string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              String returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type DisableKeyRotationInput

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type DisableKeyRotationInput struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// Identifies a symmetric customer master key (CMK). You cannot enable or disable
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// automatic rotation of asymmetric CMKs (https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html#asymmetric-cmks),
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// CMKs with imported key material (https://docs.aws.amazon.com/kms/latest/developerguide/importing-keys.html),
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// or CMKs in a custom key store (https://docs.aws.amazon.com/kms/latest/developerguide/custom-key-store-overview.html).
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	//
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// Specify the key ID or the Amazon Resource Name (ARN) of the CMK.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	//
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// For example:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	//
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	//    * Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	//
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	//    * Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	//
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// To get the key ID and key ARN for a CMK, use ListKeys or DescribeKey.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	//
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// KeyId is a required field
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	KeyId *string `min:"1" type:"string" required:"true"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (DisableKeyRotationInput) GoString

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (s DisableKeyRotationInput) GoString() string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                GoString returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*DisableKeyRotationInput) SetKeyId

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  SetKeyId sets the KeyId field's value.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (DisableKeyRotationInput) String

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (s DisableKeyRotationInput) String() string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    String returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*DisableKeyRotationInput) Validate

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (s *DisableKeyRotationInput) Validate() error

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Validate inspects the fields of the type to determine if they are valid.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type DisableKeyRotationOutput

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type DisableKeyRotationOutput struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (DisableKeyRotationOutput) GoString

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (s DisableKeyRotationOutput) GoString() string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        GoString returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (DisableKeyRotationOutput) String

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (s DisableKeyRotationOutput) String() string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          String returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type DisabledException

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type DisabledException struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	Message_ *string `locationName:"message" type:"string"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The request was rejected because the specified CMK is not enabled.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*DisabledException) Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (s *DisabledException) Code() string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Code returns the exception type name.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*DisabledException) Error

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (s *DisabledException) Error() string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (DisabledException) GoString

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (s DisabledException) GoString() string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                GoString returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*DisabledException) Message

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (s *DisabledException) Message() string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Message returns the exception's message.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*DisabledException) OrigErr

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (s *DisabledException) OrigErr() error

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    OrigErr always returns nil, satisfies awserr.Error interface.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*DisabledException) RequestID

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (s *DisabledException) RequestID() string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      RequestID returns the service's response RequestID for request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*DisabledException) StatusCode

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (s *DisabledException) StatusCode() int

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Status code returns the HTTP status code for the request's response error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (DisabledException) String

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (s DisabledException) String() string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          String returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type DisconnectCustomKeyStoreInput

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type DisconnectCustomKeyStoreInput struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// Enter the ID of the custom key store you want to disconnect. To find the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// ID of a custom key store, use the DescribeCustomKeyStores operation.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	//
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// CustomKeyStoreId is a required field
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	CustomKeyStoreId *string `min:"1" type:"string" required:"true"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (DisconnectCustomKeyStoreInput) GoString

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            GoString returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*DisconnectCustomKeyStoreInput) SetCustomKeyStoreId

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              SetCustomKeyStoreId sets the CustomKeyStoreId field's value.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (DisconnectCustomKeyStoreInput) String

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                String returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*DisconnectCustomKeyStoreInput) Validate

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (s *DisconnectCustomKeyStoreInput) Validate() error

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Validate inspects the fields of the type to determine if they are valid.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type DisconnectCustomKeyStoreOutput

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type DisconnectCustomKeyStoreOutput struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (DisconnectCustomKeyStoreOutput) GoString

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    GoString returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (DisconnectCustomKeyStoreOutput) String

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      String returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type EnableKeyInput

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type EnableKeyInput struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// A unique identifier for the customer master key (CMK).
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	//
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// Specify the key ID or the Amazon Resource Name (ARN) of the CMK.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	//
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// For example:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	//
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	//    * Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	//
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	//    * Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	//
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// To get the key ID and key ARN for a CMK, use ListKeys or DescribeKey.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	//
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// KeyId is a required field
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	KeyId *string `min:"1" type:"string" required:"true"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (EnableKeyInput) GoString

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (s EnableKeyInput) GoString() string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        GoString returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*EnableKeyInput) SetKeyId

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (s *EnableKeyInput) SetKeyId(v string) *EnableKeyInput

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          SetKeyId sets the KeyId field's value.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (EnableKeyInput) String

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (s EnableKeyInput) String() string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            String returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*EnableKeyInput) Validate

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (s *EnableKeyInput) Validate() error

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Validate inspects the fields of the type to determine if they are valid.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type EnableKeyOutput

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type EnableKeyOutput struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (EnableKeyOutput) GoString

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (s EnableKeyOutput) GoString() string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                GoString returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (EnableKeyOutput) String

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (s EnableKeyOutput) String() string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  String returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type EnableKeyRotationInput

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type EnableKeyRotationInput struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// Identifies a symmetric customer master key (CMK). You cannot enable automatic
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// rotation of asymmetric CMKs, CMKs with imported key material, or CMKs in
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// a custom key store (https://docs.aws.amazon.com/kms/latest/developerguide/custom-key-store-overview.html).
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	//
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// Specify the key ID or the Amazon Resource Name (ARN) of the CMK.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	//
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// For example:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	//
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	//    * Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	//
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	//    * Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	//
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// To get the key ID and key ARN for a CMK, use ListKeys or DescribeKey.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	//
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// KeyId is a required field
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	KeyId *string `min:"1" type:"string" required:"true"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (EnableKeyRotationInput) GoString

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (s EnableKeyRotationInput) GoString() string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    GoString returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*EnableKeyRotationInput) SetKeyId

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      SetKeyId sets the KeyId field's value.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (EnableKeyRotationInput) String

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (s EnableKeyRotationInput) String() string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        String returns the string representation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*EnableKeyRotationInput) Validate

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (s *EnableKeyRotationInput) Validate() error

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Validate inspects the fields of the type to determine if they are valid.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type