#[non_exhaustive]pub struct GenerateDataKeyPairWithoutPlaintextOutput {
pub private_key_ciphertext_blob: Option<Blob>,
pub public_key: Option<Blob>,
pub key_id: Option<String>,
pub key_pair_spec: Option<DataKeyPairSpec>,
/* private fields */
}
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.private_key_ciphertext_blob: Option<Blob>
The encrypted copy of the private key. When you use the HTTP API or the Amazon Web Services CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.
public_key: Option<Blob>
The public key (in plaintext). When you use the HTTP API or the Amazon Web Services CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.
key_id: Option<String>
The Amazon Resource Name (key ARN) of the KMS key that encrypted the private key.
key_pair_spec: Option<DataKeyPairSpec>
The type of data key pair that was generated.
Implementations§
Source§impl GenerateDataKeyPairWithoutPlaintextOutput
impl GenerateDataKeyPairWithoutPlaintextOutput
Sourcepub fn private_key_ciphertext_blob(&self) -> Option<&Blob>
pub fn private_key_ciphertext_blob(&self) -> Option<&Blob>
The encrypted copy of the private key. When you use the HTTP API or the Amazon Web Services CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.
Sourcepub fn public_key(&self) -> Option<&Blob>
pub fn public_key(&self) -> Option<&Blob>
The public key (in plaintext). When you use the HTTP API or the Amazon Web Services CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.
Sourcepub fn key_id(&self) -> Option<&str>
pub fn key_id(&self) -> Option<&str>
The Amazon Resource Name (key ARN) of the KMS key that encrypted the private key.
Sourcepub fn key_pair_spec(&self) -> Option<&DataKeyPairSpec>
pub fn key_pair_spec(&self) -> Option<&DataKeyPairSpec>
The type of data key pair that was generated.
Source§impl GenerateDataKeyPairWithoutPlaintextOutput
impl GenerateDataKeyPairWithoutPlaintextOutput
Sourcepub fn builder() -> GenerateDataKeyPairWithoutPlaintextOutputBuilder
pub fn builder() -> GenerateDataKeyPairWithoutPlaintextOutputBuilder
Creates a new builder-style object to manufacture GenerateDataKeyPairWithoutPlaintextOutput
.
Trait Implementations§
Source§impl Clone for GenerateDataKeyPairWithoutPlaintextOutput
impl Clone for GenerateDataKeyPairWithoutPlaintextOutput
Source§fn clone(&self) -> GenerateDataKeyPairWithoutPlaintextOutput
fn clone(&self) -> GenerateDataKeyPairWithoutPlaintextOutput
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl PartialEq for GenerateDataKeyPairWithoutPlaintextOutput
impl PartialEq for GenerateDataKeyPairWithoutPlaintextOutput
Source§fn eq(&self, other: &GenerateDataKeyPairWithoutPlaintextOutput) -> bool
fn eq(&self, other: &GenerateDataKeyPairWithoutPlaintextOutput) -> bool
self
and other
values to be equal, and is used by ==
.Source§impl RequestId for GenerateDataKeyPairWithoutPlaintextOutput
impl RequestId for GenerateDataKeyPairWithoutPlaintextOutput
Source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for GenerateDataKeyPairWithoutPlaintextOutput
Auto Trait Implementations§
impl Freeze for GenerateDataKeyPairWithoutPlaintextOutput
impl RefUnwindSafe for GenerateDataKeyPairWithoutPlaintextOutput
impl Send for GenerateDataKeyPairWithoutPlaintextOutput
impl Sync for GenerateDataKeyPairWithoutPlaintextOutput
impl Unpin for GenerateDataKeyPairWithoutPlaintextOutput
impl UnwindSafe for GenerateDataKeyPairWithoutPlaintextOutput
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more