class Amazonite::Kms::GetParametersForImportResponse

Included Modules

Defined in:

kms/get_parameters_for_import_response.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(key_id : String | Nil = nil, import_token : Bytes | Nil = nil, public_key : Bytes | Nil = nil, parameters_valid_to : Time | Nil = nil) #

[View source]
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def import_token : Bytes | Nil #

The import token to send in a subsequent ImportKeyMaterial request.


[View source]
def import_token=(import_token : Bytes | Nil) #

The import token to send in a subsequent ImportKeyMaterial request.


[View source]
def key_id : String | Nil #

The Amazon Resource Name (key ARN) of the KMS key to use in a subsequent ImportKeyMaterial request. This is the same KMS key specified in the GetParametersForImport request.


[View source]
def key_id=(key_id : String | Nil) #

The Amazon Resource Name (key ARN) of the KMS key to use in a subsequent ImportKeyMaterial request. This is the same KMS key specified in the GetParametersForImport request.


[View source]
def parameters_valid_to : Time | Nil #

The time at which the import token and public key are no longer valid. After this time, you cannot use them to make an ImportKeyMaterial request and you must send another GetParametersForImport request to get new ones.


[View source]
def parameters_valid_to=(parameters_valid_to : Time | Nil) #

The time at which the import token and public key are no longer valid. After this time, you cannot use them to make an ImportKeyMaterial request and you must send another GetParametersForImport request to get new ones.


[View source]
def public_key : Bytes | Nil #

The public key to use to encrypt the key material before importing it with ImportKeyMaterial.


[View source]
def public_key=(public_key : Bytes | Nil) #

The public key to use to encrypt the key material before importing it with ImportKeyMaterial.


[View source]
def validate! : Nil #

[View source]