Struct aws_sdk_cloudformation::operation::deactivate_type::builders::DeactivateTypeFluentBuilder
source · pub struct DeactivateTypeFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DeactivateType
.
Deactivates a public extension that was previously activated in this account and Region.
Once deactivated, an extension can't be used in any CloudFormation operation. This includes stack update operations where the stack template includes the extension, even if no updates are being made to the extension. In addition, deactivated extensions aren't automatically updated if a new version of the extension is released.
Implementations§
source§impl DeactivateTypeFluentBuilder
impl DeactivateTypeFluentBuilder
sourcepub fn as_input(&self) -> &DeactivateTypeInputBuilder
pub fn as_input(&self) -> &DeactivateTypeInputBuilder
Access the DeactivateType as a reference.
sourcepub async fn send(
self
) -> Result<DeactivateTypeOutput, SdkError<DeactivateTypeError, HttpResponse>>
pub async fn send( self ) -> Result<DeactivateTypeOutput, SdkError<DeactivateTypeError, 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<DeactivateTypeOutput, DeactivateTypeError, Self>
pub fn customize( self ) -> CustomizableOperation<DeactivateTypeOutput, DeactivateTypeError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn type_name(self, input: impl Into<String>) -> Self
pub fn type_name(self, input: impl Into<String>) -> Self
The type name of the extension, in this account and Region. If you specified a type name alias when enabling the extension, use the type name alias.
Conditional: You must specify either Arn
, or TypeName
and Type
.
sourcepub fn set_type_name(self, input: Option<String>) -> Self
pub fn set_type_name(self, input: Option<String>) -> Self
The type name of the extension, in this account and Region. If you specified a type name alias when enabling the extension, use the type name alias.
Conditional: You must specify either Arn
, or TypeName
and Type
.
sourcepub fn get_type_name(&self) -> &Option<String>
pub fn get_type_name(&self) -> &Option<String>
The type name of the extension, in this account and Region. If you specified a type name alias when enabling the extension, use the type name alias.
Conditional: You must specify either Arn
, or TypeName
and Type
.
sourcepub fn type(self, input: ThirdPartyType) -> Self
pub fn type(self, input: ThirdPartyType) -> Self
The extension type.
Conditional: You must specify either Arn
, or TypeName
and Type
.
sourcepub fn set_type(self, input: Option<ThirdPartyType>) -> Self
pub fn set_type(self, input: Option<ThirdPartyType>) -> Self
The extension type.
Conditional: You must specify either Arn
, or TypeName
and Type
.
sourcepub fn get_type(&self) -> &Option<ThirdPartyType>
pub fn get_type(&self) -> &Option<ThirdPartyType>
The extension type.
Conditional: You must specify either Arn
, or TypeName
and Type
.
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) for the extension, in this account and Region.
Conditional: You must specify either Arn
, or TypeName
and Type
.
Trait Implementations§
source§impl Clone for DeactivateTypeFluentBuilder
impl Clone for DeactivateTypeFluentBuilder
source§fn clone(&self) -> DeactivateTypeFluentBuilder
fn clone(&self) -> DeactivateTypeFluentBuilder
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 DeactivateTypeFluentBuilder
impl !RefUnwindSafe for DeactivateTypeFluentBuilder
impl Send for DeactivateTypeFluentBuilder
impl Sync for DeactivateTypeFluentBuilder
impl Unpin for DeactivateTypeFluentBuilder
impl !UnwindSafe for DeactivateTypeFluentBuilder
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