Struct aws_sdk_acmpca::operation::restore_certificate_authority::builders::RestoreCertificateAuthorityFluentBuilder
source · pub struct RestoreCertificateAuthorityFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to RestoreCertificateAuthority
.
Restores a certificate authority (CA) that is in the DELETED
state. You can restore a CA during the period that you defined in the PermanentDeletionTimeInDays parameter of the DeleteCertificateAuthority action. Currently, you can specify 7 to 30 days. If you did not specify a PermanentDeletionTimeInDays value, by default you can restore the CA at any time in a 30 day period. You can check the time remaining in the restoration period of a private CA in the DELETED
state by calling the DescribeCertificateAuthority or ListCertificateAuthorities actions. The status of a restored CA is set to its pre-deletion status when the RestoreCertificateAuthority action returns. To change its status to ACTIVE
, call the UpdateCertificateAuthority action. If the private CA was in the PENDING_CERTIFICATE
state at deletion, you must use the ImportCertificateAuthorityCertificate action to import a certificate authority into the private CA before it can be activated. You cannot restore a CA after the restoration period has ended.
Implementations§
source§impl RestoreCertificateAuthorityFluentBuilder
impl RestoreCertificateAuthorityFluentBuilder
sourcepub fn as_input(&self) -> &RestoreCertificateAuthorityInputBuilder
pub fn as_input(&self) -> &RestoreCertificateAuthorityInputBuilder
Access the RestoreCertificateAuthority as a reference.
sourcepub async fn send(
self
) -> Result<RestoreCertificateAuthorityOutput, SdkError<RestoreCertificateAuthorityError, HttpResponse>>
pub async fn send( self ) -> Result<RestoreCertificateAuthorityOutput, SdkError<RestoreCertificateAuthorityError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<RestoreCertificateAuthorityOutput, RestoreCertificateAuthorityError, Self>
pub fn customize( self ) -> CustomizableOperation<RestoreCertificateAuthorityOutput, RestoreCertificateAuthorityError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
The Amazon Resource Name (ARN) that was returned when you called the CreateCertificateAuthority action. This must be of the form:
arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012
The Amazon Resource Name (ARN) that was returned when you called the CreateCertificateAuthority action. This must be of the form:
arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012
The Amazon Resource Name (ARN) that was returned when you called the CreateCertificateAuthority action. This must be of the form:
arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012
Trait Implementations§
source§impl Clone for RestoreCertificateAuthorityFluentBuilder
impl Clone for RestoreCertificateAuthorityFluentBuilder
source§fn clone(&self) -> RestoreCertificateAuthorityFluentBuilder
fn clone(&self) -> RestoreCertificateAuthorityFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for RestoreCertificateAuthorityFluentBuilder
impl !RefUnwindSafe for RestoreCertificateAuthorityFluentBuilder
impl Send for RestoreCertificateAuthorityFluentBuilder
impl Sync for RestoreCertificateAuthorityFluentBuilder
impl Unpin for RestoreCertificateAuthorityFluentBuilder
impl !UnwindSafe for RestoreCertificateAuthorityFluentBuilder
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> 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