#[non_exhaustive]pub struct CreateKeysAndCertificateOutput {
pub certificate_arn: Option<String>,
pub certificate_id: Option<String>,
pub certificate_pem: Option<String>,
pub key_pair: Option<KeyPair>,
/* private fields */
}
Expand description
The output of the CreateKeysAndCertificate operation.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.certificate_arn: Option<String>
The ARN of the certificate.
certificate_id: Option<String>
The ID of the certificate. IoT issues a default subject name for the certificate (for example, IoT Certificate).
certificate_pem: Option<String>
The certificate data, in PEM format.
key_pair: Option<KeyPair>
The generated key pair.
Implementations§
source§impl CreateKeysAndCertificateOutput
impl CreateKeysAndCertificateOutput
sourcepub fn certificate_arn(&self) -> Option<&str>
pub fn certificate_arn(&self) -> Option<&str>
The ARN of the certificate.
sourcepub fn certificate_id(&self) -> Option<&str>
pub fn certificate_id(&self) -> Option<&str>
The ID of the certificate. IoT issues a default subject name for the certificate (for example, IoT Certificate).
sourcepub fn certificate_pem(&self) -> Option<&str>
pub fn certificate_pem(&self) -> Option<&str>
The certificate data, in PEM format.
source§impl CreateKeysAndCertificateOutput
impl CreateKeysAndCertificateOutput
sourcepub fn builder() -> CreateKeysAndCertificateOutputBuilder
pub fn builder() -> CreateKeysAndCertificateOutputBuilder
Creates a new builder-style object to manufacture CreateKeysAndCertificateOutput
.
Trait Implementations§
source§impl Clone for CreateKeysAndCertificateOutput
impl Clone for CreateKeysAndCertificateOutput
source§fn clone(&self) -> CreateKeysAndCertificateOutput
fn clone(&self) -> CreateKeysAndCertificateOutput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq for CreateKeysAndCertificateOutput
impl PartialEq for CreateKeysAndCertificateOutput
source§fn eq(&self, other: &CreateKeysAndCertificateOutput) -> bool
fn eq(&self, other: &CreateKeysAndCertificateOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for CreateKeysAndCertificateOutput
impl RequestId for CreateKeysAndCertificateOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None
if the service could not be reached.impl StructuralPartialEq for CreateKeysAndCertificateOutput
Auto Trait Implementations§
impl Freeze for CreateKeysAndCertificateOutput
impl RefUnwindSafe for CreateKeysAndCertificateOutput
impl Send for CreateKeysAndCertificateOutput
impl Sync for CreateKeysAndCertificateOutput
impl Unpin for CreateKeysAndCertificateOutput
impl UnwindSafe for CreateKeysAndCertificateOutput
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.