#[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>,
pub status_details: Option<StackSetOperationStatusDetails>,
pub operation_preferences: Option<StackSetOperationPreferences>,
}
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.
status_details: Option<StackSetOperationStatusDetails>
Detailed information about the stack set operation.
operation_preferences: Option<StackSetOperationPreferences>
The user-specified preferences for how CloudFormation performs a stack set operation.
For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.
Implementations§
source§impl 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.
sourcepub fn status_details(&self) -> Option<&StackSetOperationStatusDetails>
pub fn status_details(&self) -> Option<&StackSetOperationStatusDetails>
Detailed information about the stack set operation.
sourcepub fn operation_preferences(&self) -> Option<&StackSetOperationPreferences>
pub fn operation_preferences(&self) -> Option<&StackSetOperationPreferences>
The user-specified preferences for how CloudFormation performs a stack set operation.
For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.
source§impl StackSetOperationSummary
impl StackSetOperationSummary
sourcepub fn builder() -> StackSetOperationSummaryBuilder
pub fn builder() -> StackSetOperationSummaryBuilder
Creates a new builder-style object to manufacture StackSetOperationSummary
.
Trait Implementations§
source§impl Clone for StackSetOperationSummary
impl Clone for StackSetOperationSummary
source§fn clone(&self) -> StackSetOperationSummary
fn clone(&self) -> StackSetOperationSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StackSetOperationSummary
impl Debug for StackSetOperationSummary
source§impl PartialEq for StackSetOperationSummary
impl PartialEq for StackSetOperationSummary
source§fn eq(&self, other: &StackSetOperationSummary) -> bool
fn eq(&self, other: &StackSetOperationSummary) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StackSetOperationSummary
Auto Trait Implementations§
impl Freeze for StackSetOperationSummary
impl RefUnwindSafe for StackSetOperationSummary
impl Send for StackSetOperationSummary
impl Sync for StackSetOperationSummary
impl Unpin for StackSetOperationSummary
impl UnwindSafe for StackSetOperationSummary
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