Struct rusoto_kms::ReEncryptRequest
[−]
[src]
pub struct ReEncryptRequest { pub ciphertext_blob: Vec<u8>, pub destination_encryption_context: Option<HashMap<String, String>>, pub destination_key_id: String, pub grant_tokens: Option<Vec<String>>, pub source_encryption_context: Option<HashMap<String, String>>, }
Fields
ciphertext_blob: Vec<u8>
Ciphertext of the data to reencrypt.
destination_encryption_context: Option<HashMap<String, String>>
Encryption context to use when the data is reencrypted.
destination_key_id: String
A unique identifier for the CMK to use to reencrypt the data. This value can be a globally unique identifier, a fully specified ARN to either an alias or a key, or an alias name prefixed by "alias/".
-
Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012
-
Alias ARN Example - arn:aws:kms:us-east-1:123456789012:alias/MyAliasName
-
Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012
-
Alias Name Example - alias/MyAliasName
grant_tokens: Option<Vec<String>>
A list of grant tokens.
For more information, see Grant Tokens in the AWS Key Management Service Developer Guide.
source_encryption_context: Option<HashMap<String, String>>
Encryption context used to encrypt and decrypt the data specified in the CiphertextBlob
parameter.
Trait Implementations
impl Default for ReEncryptRequest
[src]
fn default() -> ReEncryptRequest
Returns the "default value" for a type. Read more
impl Debug for ReEncryptRequest
[src]
impl Clone for ReEncryptRequest
[src]
fn clone(&self) -> ReEncryptRequest
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more