@datafire/amazonaws_kms
v5.0.0
Published
DataFire integration for AWS Key Management Service
Downloads
1
Readme
@datafire/amazonaws_kms
Client library for AWS Key Management Service
Installation and Usage
npm install --save @datafire/amazonaws_kms
let amazonaws_kms = require('@datafire/amazonaws_kms').create({
accessKeyId: "",
secretAccessKey: "",
region: ""
});
amazonaws_kms.CancelKeyDeletion({
"KeyId": ""
}).then(data => {
console.log(data);
});
Description
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. AWS provides SDKs that consist of libraries and sample code for various programming languages and platforms (Java, Ruby, .Net, iOS, 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. 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, or you can 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. 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. Additional Resources For more information about credentials and request signing, see the following: AWS Security Credentials - This topic provides general information about the types of credentials used for accessing AWS. Temporary Security Credentials - This section of the IAM User Guide describes how to create and use temporary security credentials. Signature Version 4 Signing Process - 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 APIs Of the APIs discussed in this guide, the following will prove the most useful for most applications. You will likely perform actions other than these, such as creating keys and assigning policies, by using the console. Encrypt Decrypt GenerateDataKey GenerateDataKeyWithoutPlaintext
Actions
CancelKeyDeletion
amazonaws_kms.CancelKeyDeletion({
"KeyId": ""
}, context)
Input
- input
object
- KeyId required KeyIdType
Output
- output CancelKeyDeletionResponse
CreateAlias
amazonaws_kms.CreateAlias({
"AliasName": "",
"TargetKeyId": ""
}, context)
Input
- input
object
- AliasName required AliasNameType
- TargetKeyId required KeyIdType
Output
Output schema unknown
CreateGrant
amazonaws_kms.CreateGrant({
"KeyId": "",
"GranteePrincipal": "",
"Operations": []
}, context)
Input
- input
object
- Constraints GrantConstraints
- GrantTokens GrantTokenList
- GranteePrincipal required PrincipalIdType
- KeyId required KeyIdType
- Name GrantNameType
- Operations required GrantOperationList
- RetiringPrincipal PrincipalIdType
Output
- output CreateGrantResponse
CreateKey
amazonaws_kms.CreateKey({}, context)
Input
- input
object
- BypassPolicyLockoutSafetyCheck BooleanType
- Description DescriptionType
- KeyUsage KeyUsageType
- Origin OriginType
- Policy PolicyType
- Tags TagList
Output
- output CreateKeyResponse
Decrypt
amazonaws_kms.Decrypt({
"CiphertextBlob": ""
}, context)
Input
- input
object
- CiphertextBlob required CiphertextType
- EncryptionContext EncryptionContextType
- GrantTokens GrantTokenList
Output
- output DecryptResponse
DeleteAlias
amazonaws_kms.DeleteAlias({
"AliasName": ""
}, context)
Input
- input
object
- AliasName required AliasNameType
Output
Output schema unknown
DeleteImportedKeyMaterial
amazonaws_kms.DeleteImportedKeyMaterial({
"KeyId": ""
}, context)
Input
- input
object
- KeyId required KeyIdType
Output
Output schema unknown
DescribeKey
amazonaws_kms.DescribeKey({
"KeyId": ""
}, context)
Input
- input
object
- GrantTokens GrantTokenList
- KeyId required KeyIdType
Output
- output DescribeKeyResponse
DisableKey
amazonaws_kms.DisableKey({
"KeyId": ""
}, context)
Input
- input
object
- KeyId required KeyIdType
Output
Output schema unknown
DisableKeyRotation
amazonaws_kms.DisableKeyRotation({
"KeyId": ""
}, context)
Input
- input
object
- KeyId required KeyIdType
Output
Output schema unknown
EnableKey
amazonaws_kms.EnableKey({
"KeyId": ""
}, context)
Input
- input
object
- KeyId required KeyIdType
Output
Output schema unknown
EnableKeyRotation
amazonaws_kms.EnableKeyRotation({
"KeyId": ""
}, context)
Input
- input
object
- KeyId required KeyIdType
Output
Output schema unknown
Encrypt
amazonaws_kms.Encrypt({
"KeyId": "",
"Plaintext": ""
}, context)
Input
- input
object
- EncryptionContext EncryptionContextType
- GrantTokens GrantTokenList
- KeyId required KeyIdType
- Plaintext required PlaintextType
Output
- output EncryptResponse
GenerateDataKey
amazonaws_kms.GenerateDataKey({
"KeyId": ""
}, context)
Input
- input
object
- EncryptionContext EncryptionContextType
- GrantTokens GrantTokenList
- KeyId required KeyIdType
- KeySpec DataKeySpec
- NumberOfBytes NumberOfBytesType
Output
- output GenerateDataKeyResponse
GenerateDataKeyWithoutPlaintext
amazonaws_kms.GenerateDataKeyWithoutPlaintext({
"KeyId": ""
}, context)
Input
- input
object
- EncryptionContext EncryptionContextType
- GrantTokens GrantTokenList
- KeyId required KeyIdType
- KeySpec DataKeySpec
- NumberOfBytes NumberOfBytesType
Output
GenerateRandom
amazonaws_kms.GenerateRandom({}, context)
Input
- input
object
- NumberOfBytes NumberOfBytesType
Output
- output GenerateRandomResponse
GetKeyPolicy
amazonaws_kms.GetKeyPolicy({
"KeyId": "",
"PolicyName": ""
}, context)
Input
- input
object
- KeyId required KeyIdType
- PolicyName required PolicyNameType
Output
- output GetKeyPolicyResponse
GetKeyRotationStatus
amazonaws_kms.GetKeyRotationStatus({
"KeyId": ""
}, context)
Input
- input
object
- KeyId required KeyIdType
Output
- output GetKeyRotationStatusResponse
GetParametersForImport
amazonaws_kms.GetParametersForImport({
"KeyId": "",
"WrappingAlgorithm": "",
"WrappingKeySpec": ""
}, context)
Input
- input
object
- KeyId required KeyIdType
- WrappingAlgorithm required AlgorithmSpec
- WrappingKeySpec required WrappingKeySpec
Output
ImportKeyMaterial
amazonaws_kms.ImportKeyMaterial({
"KeyId": "",
"ImportToken": "",
"EncryptedKeyMaterial": ""
}, context)
Input
- input
object
- EncryptedKeyMaterial required CiphertextType
- ExpirationModel ExpirationModelType
- ImportToken required CiphertextType
- KeyId required KeyIdType
- ValidTo DateType
Output
- output ImportKeyMaterialResponse
ListAliases
amazonaws_kms.ListAliases({}, context)
Input
- input
object
- Limit
string
- Marker
string
- Limit LimitType
- Marker MarkerType
- Limit
Output
- output ListAliasesResponse
ListGrants
amazonaws_kms.ListGrants({
"KeyId": ""
}, context)
Input
- input
object
- Limit
string
- Marker
string
- KeyId required KeyIdType
- Limit LimitType
- Marker MarkerType
- Limit
Output
- output ListGrantsResponse
ListKeyPolicies
amazonaws_kms.ListKeyPolicies({
"KeyId": ""
}, context)
Input
- input
object
- Limit
string
- Marker
string
- KeyId required KeyIdType
- Limit LimitType
- Marker MarkerType
- Limit
Output
- output ListKeyPoliciesResponse
ListKeys
amazonaws_kms.ListKeys({}, context)
Input
- input
object
- Limit
string
- Marker
string
- Limit LimitType
- Marker MarkerType
- Limit
Output
- output ListKeysResponse
ListResourceTags
amazonaws_kms.ListResourceTags({
"KeyId": ""
}, context)
Input
- input
object
- KeyId required KeyIdType
- Limit LimitType
- Marker MarkerType
Output
- output ListResourceTagsResponse
ListRetirableGrants
amazonaws_kms.ListRetirableGrants({
"RetiringPrincipal": ""
}, context)
Input
- input
object
- Limit LimitType
- Marker MarkerType
- RetiringPrincipal required PrincipalIdType
Output
- output ListGrantsResponse
PutKeyPolicy
amazonaws_kms.PutKeyPolicy({
"KeyId": "",
"PolicyName": "",
"Policy": ""
}, context)
Input
- input
object
- BypassPolicyLockoutSafetyCheck BooleanType
- KeyId required KeyIdType
- Policy required PolicyType
- PolicyName required PolicyNameType
Output
Output schema unknown
ReEncrypt
amazonaws_kms.ReEncrypt({
"CiphertextBlob": "",
"DestinationKeyId": ""
}, context)
Input
- input
object
- CiphertextBlob required CiphertextType
- DestinationEncryptionContext EncryptionContextType
- DestinationKeyId required KeyIdType
- GrantTokens GrantTokenList
- SourceEncryptionContext EncryptionContextType
Output
- output ReEncryptResponse
RetireGrant
amazonaws_kms.RetireGrant({}, context)
Input
- input
object
- GrantId GrantIdType
- GrantToken GrantTokenType
- KeyId KeyIdType
Output
Output schema unknown
RevokeGrant
amazonaws_kms.RevokeGrant({
"KeyId": "",
"GrantId": ""
}, context)
Input
- input
object
- GrantId required GrantIdType
- KeyId required KeyIdType
Output
Output schema unknown
ScheduleKeyDeletion
amazonaws_kms.ScheduleKeyDeletion({
"KeyId": ""
}, context)
Input
- input
object
- KeyId required KeyIdType
- PendingWindowInDays PendingWindowInDaysType
Output
- output ScheduleKeyDeletionResponse
TagResource
amazonaws_kms.TagResource({
"KeyId": "",
"Tags": []
}, context)
Input
Output
Output schema unknown
UntagResource
amazonaws_kms.UntagResource({
"KeyId": "",
"TagKeys": []
}, context)
Input
- input
object
- KeyId required KeyIdType
- TagKeys required TagKeyList
Output
Output schema unknown
UpdateAlias
amazonaws_kms.UpdateAlias({
"AliasName": "",
"TargetKeyId": ""
}, context)
Input
- input
object
- AliasName required AliasNameType
- TargetKeyId required KeyIdType
Output
Output schema unknown
UpdateKeyDescription
amazonaws_kms.UpdateKeyDescription({
"KeyId": "",
"Description": ""
}, context)
Input
- input
object
- Description required DescriptionType
- KeyId required KeyIdType
Output
Output schema unknown
Definitions
AWSAccountIdType
- AWSAccountIdType
string
AlgorithmSpec
- AlgorithmSpec
string
(values: RSAES_PKCS1_V1_5, RSAES_OAEP_SHA_1, RSAES_OAEP_SHA_256)
AliasList
- AliasList
array
- items AliasListEntry
AliasListEntry
- AliasListEntry
object
: Contains information about an alias.- AliasArn ArnType
- AliasName AliasNameType
- TargetKeyId KeyIdType
AliasNameType
- AliasNameType
string
AlreadyExistsException
- AlreadyExistsException
object
: The request was rejected because it attempted to create a resource that already exists.- message ErrorMessageType
ArnType
- ArnType
string
BooleanType
- BooleanType
boolean
CancelKeyDeletionRequest
- CancelKeyDeletionRequest
object
- KeyId required KeyIdType
CancelKeyDeletionResponse
- CancelKeyDeletionResponse
object
- KeyId KeyIdType
CiphertextType
- CiphertextType
string
CreateAliasRequest
- CreateAliasRequest
object
- AliasName required AliasNameType
- TargetKeyId required KeyIdType
CreateGrantRequest
- CreateGrantRequest
object
- Constraints GrantConstraints
- GrantTokens GrantTokenList
- GranteePrincipal required PrincipalIdType
- KeyId required KeyIdType
- Name GrantNameType
- Operations required GrantOperationList
- RetiringPrincipal PrincipalIdType
CreateGrantResponse
- CreateGrantResponse
object
- GrantId GrantIdType
- GrantToken GrantTokenType
CreateKeyRequest
- CreateKeyRequest
object
- BypassPolicyLockoutSafetyCheck BooleanType
- Description DescriptionType
- KeyUsage KeyUsageType
- Origin OriginType
- Policy PolicyType
- Tags TagList
CreateKeyResponse
- CreateKeyResponse
object
- KeyMetadata KeyMetadata
DataKeySpec
- DataKeySpec
string
(values: AES_256, AES_128)
DateType
- DateType
string
DecryptRequest
- DecryptRequest
object
- CiphertextBlob required CiphertextType
- EncryptionContext EncryptionContextType
- GrantTokens GrantTokenList
DecryptResponse
- DecryptResponse
object
- KeyId KeyIdType
- Plaintext PlaintextType
DeleteAliasRequest
- DeleteAliasRequest
object
- AliasName required AliasNameType
DeleteImportedKeyMaterialRequest
- DeleteImportedKeyMaterialRequest
object
- KeyId required KeyIdType
DependencyTimeoutException
- DependencyTimeoutException
object
: The system timed out while trying to fulfill the request. The request can be retried.- message ErrorMessageType
DescribeKeyRequest
- DescribeKeyRequest
object
- GrantTokens GrantTokenList
- KeyId required KeyIdType
DescribeKeyResponse
- DescribeKeyResponse
object
- KeyMetadata KeyMetadata
DescriptionType
- DescriptionType
string
DisableKeyRequest
- DisableKeyRequest
object
- KeyId required KeyIdType
DisableKeyRotationRequest
- DisableKeyRotationRequest
object
- KeyId required KeyIdType
DisabledException
- DisabledException
object
: The request was rejected because the specified CMK is not enabled.- message ErrorMessageType
EnableKeyRequest
- EnableKeyRequest
object
- KeyId required KeyIdType
EnableKeyRotationRequest
- EnableKeyRotationRequest
object
- KeyId required KeyIdType
EncryptRequest
- EncryptRequest
object
- EncryptionContext EncryptionContextType
- GrantTokens GrantTokenList
- KeyId required KeyIdType
- Plaintext required PlaintextType
EncryptResponse
- EncryptResponse
object
- CiphertextBlob CiphertextType
- KeyId KeyIdType
EncryptionContextKey
- EncryptionContextKey
string
EncryptionContextType
- EncryptionContextType
array
- items
object
- items
EncryptionContextValue
- EncryptionContextValue
string
ErrorMessageType
- ErrorMessageType
string
ExpirationModelType
- ExpirationModelType
string
(values: KEY_MATERIAL_EXPIRES, KEY_MATERIAL_DOES_NOT_EXPIRE)
ExpiredImportTokenException
- ExpiredImportTokenException
object
: The request was rejected because the provided 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.- message ErrorMessageType
GenerateDataKeyRequest
- GenerateDataKeyRequest
object
- EncryptionContext EncryptionContextType
- GrantTokens GrantTokenList
- KeyId required KeyIdType
- KeySpec DataKeySpec
- NumberOfBytes NumberOfBytesType
GenerateDataKeyResponse
- GenerateDataKeyResponse
object
- CiphertextBlob CiphertextType
- KeyId KeyIdType
- Plaintext PlaintextType
GenerateDataKeyWithoutPlaintextRequest
- GenerateDataKeyWithoutPlaintextRequest
object
- EncryptionContext EncryptionContextType
- GrantTokens GrantTokenList
- KeyId required KeyIdType
- KeySpec DataKeySpec
- NumberOfBytes NumberOfBytesType
GenerateDataKeyWithoutPlaintextResponse
- GenerateDataKeyWithoutPlaintextResponse
object
- CiphertextBlob CiphertextType
- KeyId KeyIdType
GenerateRandomRequest
- GenerateRandomRequest
object
- NumberOfBytes NumberOfBytesType
GenerateRandomResponse
- GenerateRandomResponse
object
- Plaintext PlaintextType
GetKeyPolicyRequest
- GetKeyPolicyRequest
object
- KeyId required KeyIdType
- PolicyName required PolicyNameType
GetKeyPolicyResponse
- GetKeyPolicyResponse
object
- Policy PolicyType
GetKeyRotationStatusRequest
- GetKeyRotationStatusRequest
object
- KeyId required KeyIdType
GetKeyRotationStatusResponse
- GetKeyRotationStatusResponse
object
- KeyRotationEnabled BooleanType
GetParametersForImportRequest
- GetParametersForImportRequest
object
- KeyId required KeyIdType
- WrappingAlgorithm required AlgorithmSpec
- WrappingKeySpec required WrappingKeySpec
GetParametersForImportResponse
- GetParametersForImportResponse
object
- ImportToken CiphertextType
- KeyId KeyIdType
- ParametersValidTo DateType
- PublicKey PlaintextType
GrantConstraints
- GrantConstraints
object
: A structure that you can use to allow certain operations in the grant only when the desired encryption context is present. For more information about encryption context, see Encryption Context in the AWS Key Management Service Developer Guide. Grant constraints apply only to operations that accept encryption context as input. For example, the DescribeKey operation does not accept encryption context as input. A grant that allows the DescribeKey operation does so regardless of the grant constraints. In constrast, the Encrypt operation accepts encryption context as input. A grant that allows the Encrypt operation does so only when the encryption context of the Encrypt operation satisfies the grant constraints.- EncryptionContextEquals EncryptionContextType
- EncryptionContextSubset EncryptionContextType
GrantIdType
- GrantIdType
string
GrantList
- GrantList
array
- items GrantListEntry
GrantListEntry
- GrantListEntry
object
: Contains information about an entry in a list of grants.- Constraints GrantConstraints
- CreationDate DateType
- GrantId GrantIdType
- GranteePrincipal PrincipalIdType
- IssuingAccount PrincipalIdType
- KeyId KeyIdType
- Name GrantNameType
- Operations GrantOperationList
- RetiringPrincipal PrincipalIdType
GrantNameType
- GrantNameType
string
GrantOperation
- GrantOperation
string
(values: Decrypt, Encrypt, GenerateDataKey, GenerateDataKeyWithoutPlaintext, ReEncryptFrom, ReEncryptTo, CreateGrant, RetireGrant, DescribeKey)
GrantOperationList
- GrantOperationList
array
- items GrantOperation
GrantTokenList
- GrantTokenList
array
- items GrantTokenType
GrantTokenType
- GrantTokenType
string
ImportKeyMaterialRequest
- ImportKeyMaterialRequest
object
- EncryptedKeyMaterial required CiphertextType
- ExpirationModel ExpirationModelType
- ImportToken required CiphertextType
- KeyId required KeyIdType
- ValidTo DateType
ImportKeyMaterialResponse
- ImportKeyMaterialResponse
object
IncorrectKeyMaterialException
- IncorrectKeyMaterialException
object
: The request was rejected because the provided key material is invalid or is not the same key material that was previously imported into this customer master key (CMK).- message ErrorMessageType
InvalidAliasNameException
- InvalidAliasNameException
object
: The request was rejected because the specified alias name is not valid.- message ErrorMessageType
InvalidArnException
- InvalidArnException
object
: The request was rejected because a specified ARN was not valid.- message ErrorMessageType
InvalidCiphertextException
- InvalidCiphertextException
object
: 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.- message ErrorMessageType
InvalidGrantIdException
- InvalidGrantIdException
object
: The request was rejected because the specified GrantId is not valid.- message ErrorMessageType
InvalidGrantTokenException
- InvalidGrantTokenException
object
: The request was rejected because the specified grant token is not valid.- message ErrorMessageType
InvalidImportTokenException
- InvalidImportTokenException
object
: The request was rejected because the provided import token is invalid or is associated with a different customer master key (CMK).- message ErrorMessageType
InvalidKeyUsageException
- InvalidKeyUsageException
object
: The request was rejected because the specified KeySpec value is not valid.- message ErrorMessageType
InvalidMarkerException
- InvalidMarkerException
object
: The request was rejected because the marker that specifies where pagination should next begin is not valid.- message ErrorMessageType
KMSInternalException
- KMSInternalException
object
: The request was rejected because an internal exception occurred. The request can be retried.- message ErrorMessageType
KMSInvalidStateException
- KMSInvalidStateException
object
: 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 in the AWS Key Management Service Developer Guide.- message ErrorMessageType
KeyIdType
- KeyIdType
string
KeyList
- KeyList
array
- items KeyListEntry
KeyListEntry
- KeyListEntry
object
: Contains information about each entry in the key list.
KeyManagerType
- KeyManagerType
string
(values: AWS, CUSTOMER)
KeyMetadata
- KeyMetadata
object
: Contains metadata about a customer master key (CMK). This data type is used as a response element for the CreateKey and DescribeKey operations.- AWSAccountId AWSAccountIdType
- Arn ArnType
- CreationDate DateType
- DeletionDate DateType
- Description DescriptionType
- Enabled BooleanType
- ExpirationModel ExpirationModelType
- KeyId required KeyIdType
- KeyManager KeyManagerType
- KeyState KeyState
- KeyUsage KeyUsageType
- Origin OriginType
- ValidTo DateType
KeyState
- KeyState
string
(values: Enabled, Disabled, PendingDeletion, PendingImport)
KeyUnavailableException
- KeyUnavailableException
object
: The request was rejected because the specified CMK was not available. The request can be retried.- message ErrorMessageType
KeyUsageType
- KeyUsageType
string
(values: ENCRYPT_DECRYPT)
LimitExceededException
- LimitExceededException
object
: The request was rejected because a limit was exceeded. For more information, see Limits in the AWS Key Management Service Developer Guide.- message ErrorMessageType
LimitType
- LimitType
integer
ListAliasesRequest
- ListAliasesRequest
object
- Limit LimitType
- Marker MarkerType
ListAliasesResponse
- ListAliasesResponse
object
- Aliases AliasList
- NextMarker MarkerType
- Truncated BooleanType
ListGrantsRequest
- ListGrantsRequest
object
- KeyId required KeyIdType
- Limit LimitType
- Marker MarkerType
ListGrantsResponse
- ListGrantsResponse
object
- Grants GrantList
- NextMarker MarkerType
- Truncated BooleanType
ListKeyPoliciesRequest
- ListKeyPoliciesRequest
object
- KeyId required KeyIdType
- Limit LimitType
- Marker MarkerType
ListKeyPoliciesResponse
- ListKeyPoliciesResponse
object
- NextMarker MarkerType
- PolicyNames PolicyNameList
- Truncated BooleanType
ListKeysRequest
- ListKeysRequest
object
- Limit LimitType
- Marker MarkerType
ListKeysResponse
- ListKeysResponse
object
- Keys KeyList
- NextMarker MarkerType
- Truncated BooleanType
ListResourceTagsRequest
- ListResourceTagsRequest
object
- KeyId required KeyIdType
- Limit LimitType
- Marker MarkerType
ListResourceTagsResponse
- ListResourceTagsResponse
object
- NextMarker MarkerType
- Tags TagList
- Truncated BooleanType
ListRetirableGrantsRequest
- ListRetirableGrantsRequest
object
- Limit LimitType
- Marker MarkerType
- RetiringPrincipal required PrincipalIdType
MalformedPolicyDocumentException
- MalformedPolicyDocumentException
object
: The request was rejected because the specified policy is not syntactically or semantically correct.- message ErrorMessageType
MarkerType
- MarkerType
string
NotFoundException
- NotFoundException
object
: The request was rejected because the specified entity or resource could not be found.- message ErrorMessageType
NumberOfBytesType
- NumberOfBytesType
integer
OriginType
- OriginType
string
(values: AWS_KMS, EXTERNAL)
PendingWindowInDaysType
- PendingWindowInDaysType
integer
PlaintextType
- PlaintextType
string
PolicyNameList
- PolicyNameList
array
- items PolicyNameType
PolicyNameType
- PolicyNameType
string
PolicyType
- PolicyType
string
PrincipalIdType
- PrincipalIdType
string
PutKeyPolicyRequest
- PutKeyPolicyRequest
object
- BypassPolicyLockoutSafetyCheck BooleanType
- KeyId required KeyIdType
- Policy required PolicyType
- PolicyName required PolicyNameType
ReEncryptRequest
- ReEncryptRequest
object
- CiphertextBlob required CiphertextType
- DestinationEncryptionContext EncryptionContextType
- DestinationKeyId required KeyIdType
- GrantTokens GrantTokenList
- SourceEncryptionContext EncryptionContextType
ReEncryptResponse
- ReEncryptResponse
object
- CiphertextBlob CiphertextType
- KeyId KeyIdType
- SourceKeyId KeyIdType
RetireGrantRequest
- RetireGrantRequest
object
- GrantId GrantIdType
- GrantToken GrantTokenType
- KeyId KeyIdType
RevokeGrantRequest
- RevokeGrantRequest
object
- GrantId required GrantIdType
- KeyId required KeyIdType
ScheduleKeyDeletionRequest
- ScheduleKeyDeletionRequest
object
- KeyId required KeyIdType
- PendingWindowInDays PendingWindowInDaysType
ScheduleKeyDeletionResponse
Tag
- Tag
object
: A key-value pair. A tag consists of a tag key and a tag value. Tag keys and tag values are both required, but tag values can be empty (null) strings. For information about the rules that apply to tag keys and tag values, see User-Defined Tag Restrictions in the AWS Billing and Cost Management User Guide.- TagKey required TagKeyType
- TagValue required TagValueType
TagException
- TagException
object
: The request was rejected because one or more tags are not valid.- message ErrorMessageType
TagKeyList
- TagKeyList
array
- items TagKeyType
TagKeyType
- TagKeyType
string
TagList
- TagList
array
- items Tag
TagResourceRequest
TagValueType
- TagValueType
string
UnsupportedOperationException
- UnsupportedOperationException
object
: The request was rejected because a specified parameter is not supported or a specified resource is not valid for this operation.- message ErrorMessageType
UntagResourceRequest
- UntagResourceRequest
object
- KeyId required KeyIdType
- TagKeys required TagKeyList
UpdateAliasRequest
- UpdateAliasRequest
object
- AliasName required AliasNameType
- TargetKeyId required KeyIdType
UpdateKeyDescriptionRequest
- UpdateKeyDescriptionRequest
object
- Description required DescriptionType
- KeyId required KeyIdType
WrappingKeySpec
- WrappingKeySpec
string
(values: RSA_2048)