Struct aws_sdk_kms::output::GetParametersForImportOutput
source · [−]#[non_exhaustive]pub struct GetParametersForImportOutput {
pub key_id: Option<String>,
pub import_token: Option<Blob>,
pub public_key: Option<Blob>,
pub parameters_valid_to: Option<DateTime>,
}Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.key_id: Option<String>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.
import_token: Option<Blob>The import token to send in a subsequent ImportKeyMaterial request.
public_key: Option<Blob>The public key to use to encrypt the key material before importing it with ImportKeyMaterial.
parameters_valid_to: Option<DateTime>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.
Implementations
sourceimpl GetParametersForImportOutput
impl GetParametersForImportOutput
sourcepub fn key_id(&self) -> Option<&str>
pub fn key_id(&self) -> Option<&str>
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.
sourcepub fn import_token(&self) -> Option<&Blob>
pub fn import_token(&self) -> Option<&Blob>
The import token to send in a subsequent ImportKeyMaterial request.
sourcepub fn public_key(&self) -> Option<&Blob>
pub fn public_key(&self) -> Option<&Blob>
The public key to use to encrypt the key material before importing it with ImportKeyMaterial.
sourcepub fn parameters_valid_to(&self) -> Option<&DateTime>
pub fn parameters_valid_to(&self) -> Option<&DateTime>
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.
sourceimpl GetParametersForImportOutput
impl GetParametersForImportOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GetParametersForImportOutput
Trait Implementations
sourceimpl Clone for GetParametersForImportOutput
impl Clone for GetParametersForImportOutput
sourcefn clone(&self) -> GetParametersForImportOutput
fn clone(&self) -> GetParametersForImportOutput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for GetParametersForImportOutput
impl Debug for GetParametersForImportOutput
sourceimpl PartialEq<GetParametersForImportOutput> for GetParametersForImportOutput
impl PartialEq<GetParametersForImportOutput> for GetParametersForImportOutput
sourcefn eq(&self, other: &GetParametersForImportOutput) -> bool
fn eq(&self, other: &GetParametersForImportOutput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &GetParametersForImportOutput) -> bool
fn ne(&self, other: &GetParametersForImportOutput) -> bool
This method tests for !=.
impl StructuralPartialEq for GetParametersForImportOutput
Auto Trait Implementations
impl RefUnwindSafe for GetParametersForImportOutput
impl Send for GetParametersForImportOutput
impl Sync for GetParametersForImportOutput
impl Unpin for GetParametersForImportOutput
impl UnwindSafe for GetParametersForImportOutput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more