Struct aws_sdk_signer::operation::revoke_signing_profile::builders::RevokeSigningProfileFluentBuilder
source · pub struct RevokeSigningProfileFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to RevokeSigningProfile
.
Changes the state of a signing profile to REVOKED. This indicates that signatures generated using the signing profile after an effective start date are no longer valid.
Implementations§
source§impl RevokeSigningProfileFluentBuilder
impl RevokeSigningProfileFluentBuilder
sourcepub fn as_input(&self) -> &RevokeSigningProfileInputBuilder
pub fn as_input(&self) -> &RevokeSigningProfileInputBuilder
Access the RevokeSigningProfile as a reference.
sourcepub async fn send(
self
) -> Result<RevokeSigningProfileOutput, SdkError<RevokeSigningProfileError, HttpResponse>>
pub async fn send( self ) -> Result<RevokeSigningProfileOutput, SdkError<RevokeSigningProfileError, 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<RevokeSigningProfileOutput, RevokeSigningProfileError, Self>
pub fn customize( self ) -> CustomizableOperation<RevokeSigningProfileOutput, RevokeSigningProfileError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn profile_name(self, input: impl Into<String>) -> Self
pub fn profile_name(self, input: impl Into<String>) -> Self
The name of the signing profile to be revoked.
sourcepub fn set_profile_name(self, input: Option<String>) -> Self
pub fn set_profile_name(self, input: Option<String>) -> Self
The name of the signing profile to be revoked.
sourcepub fn get_profile_name(&self) -> &Option<String>
pub fn get_profile_name(&self) -> &Option<String>
The name of the signing profile to be revoked.
sourcepub fn profile_version(self, input: impl Into<String>) -> Self
pub fn profile_version(self, input: impl Into<String>) -> Self
The version of the signing profile to be revoked.
sourcepub fn set_profile_version(self, input: Option<String>) -> Self
pub fn set_profile_version(self, input: Option<String>) -> Self
The version of the signing profile to be revoked.
sourcepub fn get_profile_version(&self) -> &Option<String>
pub fn get_profile_version(&self) -> &Option<String>
The version of the signing profile to be revoked.
sourcepub fn reason(self, input: impl Into<String>) -> Self
pub fn reason(self, input: impl Into<String>) -> Self
The reason for revoking a signing profile.
sourcepub fn set_reason(self, input: Option<String>) -> Self
pub fn set_reason(self, input: Option<String>) -> Self
The reason for revoking a signing profile.
sourcepub fn get_reason(&self) -> &Option<String>
pub fn get_reason(&self) -> &Option<String>
The reason for revoking a signing profile.
sourcepub fn effective_time(self, input: DateTime) -> Self
pub fn effective_time(self, input: DateTime) -> Self
A timestamp for when revocation of a Signing Profile should become effective. Signatures generated using the signing profile after this timestamp are not trusted.
sourcepub fn set_effective_time(self, input: Option<DateTime>) -> Self
pub fn set_effective_time(self, input: Option<DateTime>) -> Self
A timestamp for when revocation of a Signing Profile should become effective. Signatures generated using the signing profile after this timestamp are not trusted.
sourcepub fn get_effective_time(&self) -> &Option<DateTime>
pub fn get_effective_time(&self) -> &Option<DateTime>
A timestamp for when revocation of a Signing Profile should become effective. Signatures generated using the signing profile after this timestamp are not trusted.
Trait Implementations§
source§impl Clone for RevokeSigningProfileFluentBuilder
impl Clone for RevokeSigningProfileFluentBuilder
source§fn clone(&self) -> RevokeSigningProfileFluentBuilder
fn clone(&self) -> RevokeSigningProfileFluentBuilder
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 RevokeSigningProfileFluentBuilder
impl !RefUnwindSafe for RevokeSigningProfileFluentBuilder
impl Send for RevokeSigningProfileFluentBuilder
impl Sync for RevokeSigningProfileFluentBuilder
impl Unpin for RevokeSigningProfileFluentBuilder
impl !UnwindSafe for RevokeSigningProfileFluentBuilder
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