Struct aws_sdk_cloudformation::operation::describe_stack_drift_detection_status::builders::DescribeStackDriftDetectionStatusFluentBuilder
source · pub struct DescribeStackDriftDetectionStatusFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DescribeStackDriftDetectionStatus
.
Returns information about a stack drift detection operation. A stack drift detection operation detects whether a stack's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. A stack is considered to have drifted if one or more of its resources have drifted. For more information about stack and resource drift, see Detecting Unregulated Configuration Changes to Stacks and Resources.
Use DetectStackDrift
to initiate a stack drift detection operation. DetectStackDrift
returns a StackDriftDetectionId
you can use to monitor the progress of the operation using DescribeStackDriftDetectionStatus
. Once the drift detection operation has completed, use DescribeStackResourceDrifts
to return drift information about the stack and its resources.
Implementations§
source§impl DescribeStackDriftDetectionStatusFluentBuilder
impl DescribeStackDriftDetectionStatusFluentBuilder
sourcepub fn as_input(&self) -> &DescribeStackDriftDetectionStatusInputBuilder
pub fn as_input(&self) -> &DescribeStackDriftDetectionStatusInputBuilder
Access the DescribeStackDriftDetectionStatus as a reference.
sourcepub async fn send(
self
) -> Result<DescribeStackDriftDetectionStatusOutput, SdkError<DescribeStackDriftDetectionStatusError, HttpResponse>>
pub async fn send( self ) -> Result<DescribeStackDriftDetectionStatusOutput, SdkError<DescribeStackDriftDetectionStatusError, 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<DescribeStackDriftDetectionStatusOutput, DescribeStackDriftDetectionStatusError, Self>
pub fn customize( self ) -> CustomizableOperation<DescribeStackDriftDetectionStatusOutput, DescribeStackDriftDetectionStatusError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn stack_drift_detection_id(self, input: impl Into<String>) -> Self
pub fn stack_drift_detection_id(self, input: impl Into<String>) -> Self
The ID of the drift detection results of this operation.
CloudFormation generates new results, with a new drift detection ID, each time this operation is run. However, the number of drift results CloudFormation retains for any given stack, and for how long, may vary.
sourcepub fn set_stack_drift_detection_id(self, input: Option<String>) -> Self
pub fn set_stack_drift_detection_id(self, input: Option<String>) -> Self
The ID of the drift detection results of this operation.
CloudFormation generates new results, with a new drift detection ID, each time this operation is run. However, the number of drift results CloudFormation retains for any given stack, and for how long, may vary.
sourcepub fn get_stack_drift_detection_id(&self) -> &Option<String>
pub fn get_stack_drift_detection_id(&self) -> &Option<String>
The ID of the drift detection results of this operation.
CloudFormation generates new results, with a new drift detection ID, each time this operation is run. However, the number of drift results CloudFormation retains for any given stack, and for how long, may vary.
Trait Implementations§
source§impl Clone for DescribeStackDriftDetectionStatusFluentBuilder
impl Clone for DescribeStackDriftDetectionStatusFluentBuilder
source§fn clone(&self) -> DescribeStackDriftDetectionStatusFluentBuilder
fn clone(&self) -> DescribeStackDriftDetectionStatusFluentBuilder
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 DescribeStackDriftDetectionStatusFluentBuilder
impl !RefUnwindSafe for DescribeStackDriftDetectionStatusFluentBuilder
impl Send for DescribeStackDriftDetectionStatusFluentBuilder
impl Sync for DescribeStackDriftDetectionStatusFluentBuilder
impl Unpin for DescribeStackDriftDetectionStatusFluentBuilder
impl !UnwindSafe for DescribeStackDriftDetectionStatusFluentBuilder
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