Struct aws_sdk_cloudformation::operation::detect_stack_resource_drift::builders::DetectStackResourceDriftFluentBuilder
source · pub struct DetectStackResourceDriftFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DetectStackResourceDrift
.
Returns information about whether a resource's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. This information includes actual and expected property values for resources in which CloudFormation detects drift. Only resource properties explicitly defined in the stack template are checked for drift. For more information about stack and resource drift, see Detecting Unregulated Configuration Changes to Stacks and Resources.
Use DetectStackResourceDrift
to detect drift on individual resources, or DetectStackDrift
to detect drift on all resources in a given stack that support drift detection.
Resources that don't currently support drift detection can't be checked. For a list of resources that support drift detection, see Resources that Support Drift Detection.
Implementations§
source§impl DetectStackResourceDriftFluentBuilder
impl DetectStackResourceDriftFluentBuilder
sourcepub fn as_input(&self) -> &DetectStackResourceDriftInputBuilder
pub fn as_input(&self) -> &DetectStackResourceDriftInputBuilder
Access the DetectStackResourceDrift as a reference.
sourcepub async fn send(
self
) -> Result<DetectStackResourceDriftOutput, SdkError<DetectStackResourceDriftError, HttpResponse>>
pub async fn send( self ) -> Result<DetectStackResourceDriftOutput, SdkError<DetectStackResourceDriftError, 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<DetectStackResourceDriftOutput, DetectStackResourceDriftError, Self>
pub fn customize( self ) -> CustomizableOperation<DetectStackResourceDriftOutput, DetectStackResourceDriftError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn stack_name(self, input: impl Into<String>) -> Self
pub fn stack_name(self, input: impl Into<String>) -> Self
The name of the stack to which the resource belongs.
sourcepub fn set_stack_name(self, input: Option<String>) -> Self
pub fn set_stack_name(self, input: Option<String>) -> Self
The name of the stack to which the resource belongs.
sourcepub fn get_stack_name(&self) -> &Option<String>
pub fn get_stack_name(&self) -> &Option<String>
The name of the stack to which the resource belongs.
sourcepub fn logical_resource_id(self, input: impl Into<String>) -> Self
pub fn logical_resource_id(self, input: impl Into<String>) -> Self
The logical name of the resource for which to return drift information.
sourcepub fn set_logical_resource_id(self, input: Option<String>) -> Self
pub fn set_logical_resource_id(self, input: Option<String>) -> Self
The logical name of the resource for which to return drift information.
sourcepub fn get_logical_resource_id(&self) -> &Option<String>
pub fn get_logical_resource_id(&self) -> &Option<String>
The logical name of the resource for which to return drift information.
Trait Implementations§
source§impl Clone for DetectStackResourceDriftFluentBuilder
impl Clone for DetectStackResourceDriftFluentBuilder
source§fn clone(&self) -> DetectStackResourceDriftFluentBuilder
fn clone(&self) -> DetectStackResourceDriftFluentBuilder
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 DetectStackResourceDriftFluentBuilder
impl !RefUnwindSafe for DetectStackResourceDriftFluentBuilder
impl Send for DetectStackResourceDriftFluentBuilder
impl Sync for DetectStackResourceDriftFluentBuilder
impl Unpin for DetectStackResourceDriftFluentBuilder
impl !UnwindSafe for DetectStackResourceDriftFluentBuilder
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