#[non_exhaustive]pub struct StackSetOperationSummary {
pub operation_id: Option<String>,
pub action: Option<StackSetOperationAction>,
pub status: Option<StackSetOperationStatus>,
pub creation_timestamp: Option<DateTime>,
pub end_timestamp: Option<DateTime>,
pub status_reason: Option<String>,
}
Expand description
The structures that contain summary information about the specified operation.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.operation_id: Option<String>
The unique ID of the stack set operation.
action: Option<StackSetOperationAction>
The type of operation: CREATE
, UPDATE
, or DELETE
. Create and delete operations affect only the specified stack instances that are associated with the specified stack set. Update operations affect both the stack set itself and all associated stack set instances.
status: Option<StackSetOperationStatus>
The overall status of the operation.
-
FAILED
: The operation exceeded the specified failure tolerance. The failure tolerance value that you've set for an operation is applied for each Region during stack create and update operations. If the number of failed stacks within a Region exceeds the failure tolerance, the status of the operation in the Region is set toFAILED
. This in turn sets the status of the operation as a whole toFAILED
, and CloudFormation cancels the operation in any remaining Regions. -
QUEUED
: [Service-managed permissions] For automatic deployments that require a sequence of operations, the operation is queued to be performed. For more information, see the stack set operation status codes in the CloudFormation User Guide. -
RUNNING
: The operation is currently being performed. -
STOPPED
: The user has canceled the operation. -
STOPPING
: The operation is in the process of stopping, at user request. -
SUCCEEDED
: The operation completed creating or updating all the specified stacks without exceeding the failure tolerance for the operation.
creation_timestamp: Option<DateTime>
The time at which the operation was initiated. Note that the creation times for the stack set operation might differ from the creation time of the individual stacks themselves. This is because CloudFormation needs to perform preparatory work for the operation, such as dispatching the work to the requested Regions, before actually creating the first stacks.
end_timestamp: Option<DateTime>
The time at which the stack set operation ended, across all accounts and Regions specified. Note that this doesn't necessarily mean that the stack set operation was successful, or even attempted, in each account or Region.
status_reason: Option<String>
The status of the operation in details.
Implementations
sourceimpl StackSetOperationSummary
impl StackSetOperationSummary
sourcepub fn operation_id(&self) -> Option<&str>
pub fn operation_id(&self) -> Option<&str>
The unique ID of the stack set operation.
sourcepub fn action(&self) -> Option<&StackSetOperationAction>
pub fn action(&self) -> Option<&StackSetOperationAction>
The type of operation: CREATE
, UPDATE
, or DELETE
. Create and delete operations affect only the specified stack instances that are associated with the specified stack set. Update operations affect both the stack set itself and all associated stack set instances.
sourcepub fn status(&self) -> Option<&StackSetOperationStatus>
pub fn status(&self) -> Option<&StackSetOperationStatus>
The overall status of the operation.
-
FAILED
: The operation exceeded the specified failure tolerance. The failure tolerance value that you've set for an operation is applied for each Region during stack create and update operations. If the number of failed stacks within a Region exceeds the failure tolerance, the status of the operation in the Region is set toFAILED
. This in turn sets the status of the operation as a whole toFAILED
, and CloudFormation cancels the operation in any remaining Regions. -
QUEUED
: [Service-managed permissions] For automatic deployments that require a sequence of operations, the operation is queued to be performed. For more information, see the stack set operation status codes in the CloudFormation User Guide. -
RUNNING
: The operation is currently being performed. -
STOPPED
: The user has canceled the operation. -
STOPPING
: The operation is in the process of stopping, at user request. -
SUCCEEDED
: The operation completed creating or updating all the specified stacks without exceeding the failure tolerance for the operation.
sourcepub fn creation_timestamp(&self) -> Option<&DateTime>
pub fn creation_timestamp(&self) -> Option<&DateTime>
The time at which the operation was initiated. Note that the creation times for the stack set operation might differ from the creation time of the individual stacks themselves. This is because CloudFormation needs to perform preparatory work for the operation, such as dispatching the work to the requested Regions, before actually creating the first stacks.
sourcepub fn end_timestamp(&self) -> Option<&DateTime>
pub fn end_timestamp(&self) -> Option<&DateTime>
The time at which the stack set operation ended, across all accounts and Regions specified. Note that this doesn't necessarily mean that the stack set operation was successful, or even attempted, in each account or Region.
sourcepub fn status_reason(&self) -> Option<&str>
pub fn status_reason(&self) -> Option<&str>
The status of the operation in details.
sourceimpl StackSetOperationSummary
impl StackSetOperationSummary
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture StackSetOperationSummary
Trait Implementations
sourceimpl Clone for StackSetOperationSummary
impl Clone for StackSetOperationSummary
sourcefn clone(&self) -> StackSetOperationSummary
fn clone(&self) -> StackSetOperationSummary
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for StackSetOperationSummary
impl Debug for StackSetOperationSummary
sourceimpl PartialEq<StackSetOperationSummary> for StackSetOperationSummary
impl PartialEq<StackSetOperationSummary> for StackSetOperationSummary
sourcefn eq(&self, other: &StackSetOperationSummary) -> bool
fn eq(&self, other: &StackSetOperationSummary) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &StackSetOperationSummary) -> bool
fn ne(&self, other: &StackSetOperationSummary) -> bool
This method tests for !=
.
impl StructuralPartialEq for StackSetOperationSummary
Auto Trait Implementations
impl RefUnwindSafe for StackSetOperationSummary
impl Send for StackSetOperationSummary
impl Sync for StackSetOperationSummary
impl Unpin for StackSetOperationSummary
impl UnwindSafe for StackSetOperationSummary
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more