#[non_exhaustive]pub struct ImportCertificateAuthorityCertificateInput {
pub certificate_authority_arn: Option<String>,
pub certificate: Option<Blob>,
pub certificate_chain: Option<Blob>,
}
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.The Amazon Resource Name (ARN) that was returned when you called CreateCertificateAuthority. This must be of the form:
arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012
certificate: Option<Blob>
The PEM-encoded certificate for a private CA. This may be a self-signed certificate in the case of a root CA, or it may be signed by another CA that you control.
certificate_chain: Option<Blob>
A PEM-encoded file that contains all of your certificates, other than the certificate you're importing, chaining up to your root CA. Your ACM Private CA-hosted or on-premises root certificate is the last in the chain, and each certificate in the chain signs the one preceding.
This parameter must be supplied when you import a subordinate CA. When you import a root CA, there is no chain.
Implementations
sourceimpl ImportCertificateAuthorityCertificateInput
impl ImportCertificateAuthorityCertificateInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ImportCertificateAuthorityCertificate, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ImportCertificateAuthorityCertificate, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<ImportCertificateAuthorityCertificate
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ImportCertificateAuthorityCertificateInput
sourceimpl ImportCertificateAuthorityCertificateInput
impl ImportCertificateAuthorityCertificateInput
The Amazon Resource Name (ARN) that was returned when you called CreateCertificateAuthority. This must be of the form:
arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012
sourcepub fn certificate(&self) -> Option<&Blob>
pub fn certificate(&self) -> Option<&Blob>
The PEM-encoded certificate for a private CA. This may be a self-signed certificate in the case of a root CA, or it may be signed by another CA that you control.
sourcepub fn certificate_chain(&self) -> Option<&Blob>
pub fn certificate_chain(&self) -> Option<&Blob>
A PEM-encoded file that contains all of your certificates, other than the certificate you're importing, chaining up to your root CA. Your ACM Private CA-hosted or on-premises root certificate is the last in the chain, and each certificate in the chain signs the one preceding.
This parameter must be supplied when you import a subordinate CA. When you import a root CA, there is no chain.
Trait Implementations
sourceimpl Clone for ImportCertificateAuthorityCertificateInput
impl Clone for ImportCertificateAuthorityCertificateInput
sourcefn clone(&self) -> ImportCertificateAuthorityCertificateInput
fn clone(&self) -> ImportCertificateAuthorityCertificateInput
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 PartialEq<ImportCertificateAuthorityCertificateInput> for ImportCertificateAuthorityCertificateInput
impl PartialEq<ImportCertificateAuthorityCertificateInput> for ImportCertificateAuthorityCertificateInput
sourcefn eq(&self, other: &ImportCertificateAuthorityCertificateInput) -> bool
fn eq(&self, other: &ImportCertificateAuthorityCertificateInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ImportCertificateAuthorityCertificateInput) -> bool
fn ne(&self, other: &ImportCertificateAuthorityCertificateInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for ImportCertificateAuthorityCertificateInput
Auto Trait Implementations
impl RefUnwindSafe for ImportCertificateAuthorityCertificateInput
impl Send for ImportCertificateAuthorityCertificateInput
impl Sync for ImportCertificateAuthorityCertificateInput
impl Unpin for ImportCertificateAuthorityCertificateInput
impl UnwindSafe for ImportCertificateAuthorityCertificateInput
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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