#[non_exhaustive]pub struct DescribeChangeSetOutput {Show 21 fields
pub change_set_name: Option<String>,
pub change_set_id: Option<String>,
pub stack_id: Option<String>,
pub stack_name: Option<String>,
pub description: Option<String>,
pub parameters: Option<Vec<Parameter>>,
pub creation_time: Option<DateTime>,
pub execution_status: Option<ExecutionStatus>,
pub status: Option<ChangeSetStatus>,
pub status_reason: Option<String>,
pub notification_arns: Option<Vec<String>>,
pub rollback_configuration: Option<RollbackConfiguration>,
pub capabilities: Option<Vec<Capability>>,
pub tags: Option<Vec<Tag>>,
pub changes: Option<Vec<Change>>,
pub next_token: Option<String>,
pub include_nested_stacks: Option<bool>,
pub parent_change_set_id: Option<String>,
pub root_change_set_id: Option<String>,
pub on_stack_failure: Option<OnStackFailure>,
pub import_existing_resources: Option<bool>,
/* private fields */
}Expand description
The output for the DescribeChangeSet action.
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.change_set_name: Option<String>The name of the change set.
change_set_id: Option<String>The Amazon Resource Name (ARN) of the change set.
stack_id: Option<String>The Amazon Resource Name (ARN) of the stack that's associated with the change set.
stack_name: Option<String>The name of the stack that's associated with the change set.
description: Option<String>Information about the change set.
parameters: Option<Vec<Parameter>>A list of Parameter structures that describes the input parameters and their values used to create the change set. For more information, see the Parameter data type.
creation_time: Option<DateTime>The start time when the change set was created, in UTC.
execution_status: Option<ExecutionStatus>If the change set execution status is AVAILABLE, you can execute the change set. If you can't execute the change set, the status indicates why. For example, a change set might be in an UNAVAILABLE state because CloudFormation is still creating it or in an OBSOLETE state because the stack was already updated.
status: Option<ChangeSetStatus>The current status of the change set, such as CREATE_PENDING, CREATE_COMPLETE, or FAILED.
status_reason: Option<String>A description of the change set's status. For example, if your attempt to create a change set failed, CloudFormation shows the error message.
notification_arns: Option<Vec<String>>The ARNs of the Amazon SNS topics that will be associated with the stack if you execute the change set.
rollback_configuration: Option<RollbackConfiguration>The rollback triggers for CloudFormation to monitor during stack creation and updating operations, and for the specified monitoring period afterwards.
capabilities: Option<Vec<Capability>>If you execute the change set, the list of capabilities that were explicitly acknowledged when the change set was created.
If you execute the change set, the tags that will be associated with the stack.
changes: Option<Vec<Change>>A list of Change structures that describes the resources CloudFormation changes if you execute the change set.
next_token: Option<String>If the output exceeds 1 MB, a string that identifies the next page of changes. If there is no additional page, this value is null.
include_nested_stacks: Option<bool>Verifies if IncludeNestedStacks is set to True.
parent_change_set_id: Option<String>Specifies the change set ID of the parent change set in the current nested change set hierarchy.
root_change_set_id: Option<String>Specifies the change set ID of the root change set in the current nested change set hierarchy.
on_stack_failure: Option<OnStackFailure>Determines what action will be taken if stack creation fails. When this parameter is specified, the DisableRollback parameter to the ExecuteChangeSet API operation must not be specified. This must be one of these values:
-
DELETE- Deletes the change set if the stack creation fails. This is only valid when theChangeSetTypeparameter is set toCREATE. If the deletion of the stack fails, the status of the stack isDELETE_FAILED. -
DO_NOTHING- if the stack creation fails, do nothing. This is equivalent to specifyingtruefor theDisableRollbackparameter to the ExecuteChangeSet API operation. -
ROLLBACK- if the stack creation fails, roll back the stack. This is equivalent to specifyingfalsefor theDisableRollbackparameter to the ExecuteChangeSet API operation.
import_existing_resources: Option<bool>Indicates if the change set imports resources that already exist.
This parameter can only import resources that have custom names in templates. To import resources that do not accept custom names, such as EC2 instances, use the resource import feature instead.
Implementations§
Source§impl DescribeChangeSetOutput
impl DescribeChangeSetOutput
Sourcepub fn change_set_name(&self) -> Option<&str>
pub fn change_set_name(&self) -> Option<&str>
The name of the change set.
Sourcepub fn change_set_id(&self) -> Option<&str>
pub fn change_set_id(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the change set.
Sourcepub fn stack_id(&self) -> Option<&str>
pub fn stack_id(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the stack that's associated with the change set.
Sourcepub fn stack_name(&self) -> Option<&str>
pub fn stack_name(&self) -> Option<&str>
The name of the stack that's associated with the change set.
Sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
Information about the change set.
Sourcepub fn parameters(&self) -> &[Parameter]
pub fn parameters(&self) -> &[Parameter]
A list of Parameter structures that describes the input parameters and their values used to create the change set. For more information, see the Parameter data type.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .parameters.is_none().
Sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
The start time when the change set was created, in UTC.
Sourcepub fn execution_status(&self) -> Option<&ExecutionStatus>
pub fn execution_status(&self) -> Option<&ExecutionStatus>
If the change set execution status is AVAILABLE, you can execute the change set. If you can't execute the change set, the status indicates why. For example, a change set might be in an UNAVAILABLE state because CloudFormation is still creating it or in an OBSOLETE state because the stack was already updated.
Sourcepub fn status(&self) -> Option<&ChangeSetStatus>
pub fn status(&self) -> Option<&ChangeSetStatus>
The current status of the change set, such as CREATE_PENDING, CREATE_COMPLETE, or FAILED.
Sourcepub fn status_reason(&self) -> Option<&str>
pub fn status_reason(&self) -> Option<&str>
A description of the change set's status. For example, if your attempt to create a change set failed, CloudFormation shows the error message.
Sourcepub fn notification_arns(&self) -> &[String]
pub fn notification_arns(&self) -> &[String]
The ARNs of the Amazon SNS topics that will be associated with the stack if you execute the change set.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .notification_arns.is_none().
Sourcepub fn rollback_configuration(&self) -> Option<&RollbackConfiguration>
pub fn rollback_configuration(&self) -> Option<&RollbackConfiguration>
The rollback triggers for CloudFormation to monitor during stack creation and updating operations, and for the specified monitoring period afterwards.
Sourcepub fn capabilities(&self) -> &[Capability]
pub fn capabilities(&self) -> &[Capability]
If you execute the change set, the list of capabilities that were explicitly acknowledged when the change set was created.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .capabilities.is_none().
If you execute the change set, the tags that will be associated with the stack.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none().
Sourcepub fn changes(&self) -> &[Change]
pub fn changes(&self) -> &[Change]
A list of Change structures that describes the resources CloudFormation changes if you execute the change set.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .changes.is_none().
Sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
If the output exceeds 1 MB, a string that identifies the next page of changes. If there is no additional page, this value is null.
Sourcepub fn include_nested_stacks(&self) -> Option<bool>
pub fn include_nested_stacks(&self) -> Option<bool>
Verifies if IncludeNestedStacks is set to True.
Sourcepub fn parent_change_set_id(&self) -> Option<&str>
pub fn parent_change_set_id(&self) -> Option<&str>
Specifies the change set ID of the parent change set in the current nested change set hierarchy.
Sourcepub fn root_change_set_id(&self) -> Option<&str>
pub fn root_change_set_id(&self) -> Option<&str>
Specifies the change set ID of the root change set in the current nested change set hierarchy.
Sourcepub fn on_stack_failure(&self) -> Option<&OnStackFailure>
pub fn on_stack_failure(&self) -> Option<&OnStackFailure>
Determines what action will be taken if stack creation fails. When this parameter is specified, the DisableRollback parameter to the ExecuteChangeSet API operation must not be specified. This must be one of these values:
-
DELETE- Deletes the change set if the stack creation fails. This is only valid when theChangeSetTypeparameter is set toCREATE. If the deletion of the stack fails, the status of the stack isDELETE_FAILED. -
DO_NOTHING- if the stack creation fails, do nothing. This is equivalent to specifyingtruefor theDisableRollbackparameter to the ExecuteChangeSet API operation. -
ROLLBACK- if the stack creation fails, roll back the stack. This is equivalent to specifyingfalsefor theDisableRollbackparameter to the ExecuteChangeSet API operation.
Sourcepub fn import_existing_resources(&self) -> Option<bool>
pub fn import_existing_resources(&self) -> Option<bool>
Indicates if the change set imports resources that already exist.
This parameter can only import resources that have custom names in templates. To import resources that do not accept custom names, such as EC2 instances, use the resource import feature instead.
Source§impl DescribeChangeSetOutput
impl DescribeChangeSetOutput
Sourcepub fn builder() -> DescribeChangeSetOutputBuilder
pub fn builder() -> DescribeChangeSetOutputBuilder
Creates a new builder-style object to manufacture DescribeChangeSetOutput.
Trait Implementations§
Source§impl Clone for DescribeChangeSetOutput
impl Clone for DescribeChangeSetOutput
Source§fn clone(&self) -> DescribeChangeSetOutput
fn clone(&self) -> DescribeChangeSetOutput
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DescribeChangeSetOutput
impl Debug for DescribeChangeSetOutput
Source§impl PartialEq for DescribeChangeSetOutput
impl PartialEq for DescribeChangeSetOutput
Source§impl RequestId for DescribeChangeSetOutput
impl RequestId for DescribeChangeSetOutput
Source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.impl StructuralPartialEq for DescribeChangeSetOutput
Auto Trait Implementations§
impl Freeze for DescribeChangeSetOutput
impl RefUnwindSafe for DescribeChangeSetOutput
impl Send for DescribeChangeSetOutput
impl Sync for DescribeChangeSetOutput
impl Unpin for DescribeChangeSetOutput
impl UnwindSafe for DescribeChangeSetOutput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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 moreSource§impl<T> Paint for Twhere
T: ?Sized,
impl<T> Paint for Twhere
T: ?Sized,
Source§fn fg(&self, value: Color) -> Painted<&T>
fn fg(&self, value: Color) -> Painted<&T>
Returns a styled value derived from self with the foreground set to
value.
This method should be used rarely. Instead, prefer to use color-specific
builder methods like red() and
green(), which have the same functionality but are
pithier.
§Example
Set foreground color to white using fg():
use yansi::{Paint, Color};
painted.fg(Color::White);Set foreground color to white using white().
use yansi::Paint;
painted.white();Source§fn bright_black(&self) -> Painted<&T>
fn bright_black(&self) -> Painted<&T>
Source§fn bright_red(&self) -> Painted<&T>
fn bright_red(&self) -> Painted<&T>
Source§fn bright_green(&self) -> Painted<&T>
fn bright_green(&self) -> Painted<&T>
Source§fn bright_yellow(&self) -> Painted<&T>
fn bright_yellow(&self) -> Painted<&T>
Source§fn bright_blue(&self) -> Painted<&T>
fn bright_blue(&self) -> Painted<&T>
Source§fn bright_magenta(&self) -> Painted<&T>
fn bright_magenta(&self) -> Painted<&T>
Source§fn bright_cyan(&self) -> Painted<&T>
fn bright_cyan(&self) -> Painted<&T>
Source§fn bright_white(&self) -> Painted<&T>
fn bright_white(&self) -> Painted<&T>
Source§fn bg(&self, value: Color) -> Painted<&T>
fn bg(&self, value: Color) -> Painted<&T>
Returns a styled value derived from self with the background set to
value.
This method should be used rarely. Instead, prefer to use color-specific
builder methods like on_red() and
on_green(), which have the same functionality but
are pithier.
§Example
Set background color to red using fg():
use yansi::{Paint, Color};
painted.bg(Color::Red);Set background color to red using on_red().
use yansi::Paint;
painted.on_red();Source§fn on_primary(&self) -> Painted<&T>
fn on_primary(&self) -> Painted<&T>
Source§fn on_magenta(&self) -> Painted<&T>
fn on_magenta(&self) -> Painted<&T>
Source§fn on_bright_black(&self) -> Painted<&T>
fn on_bright_black(&self) -> Painted<&T>
Source§fn on_bright_red(&self) -> Painted<&T>
fn on_bright_red(&self) -> Painted<&T>
Source§fn on_bright_green(&self) -> Painted<&T>
fn on_bright_green(&self) -> Painted<&T>
Source§fn on_bright_yellow(&self) -> Painted<&T>
fn on_bright_yellow(&self) -> Painted<&T>
Source§fn on_bright_blue(&self) -> Painted<&T>
fn on_bright_blue(&self) -> Painted<&T>
Source§fn on_bright_magenta(&self) -> Painted<&T>
fn on_bright_magenta(&self) -> Painted<&T>
Source§fn on_bright_cyan(&self) -> Painted<&T>
fn on_bright_cyan(&self) -> Painted<&T>
Source§fn on_bright_white(&self) -> Painted<&T>
fn on_bright_white(&self) -> Painted<&T>
Source§fn attr(&self, value: Attribute) -> Painted<&T>
fn attr(&self, value: Attribute) -> Painted<&T>
Enables the styling Attribute value.
This method should be used rarely. Instead, prefer to use
attribute-specific builder methods like bold() and
underline(), which have the same functionality
but are pithier.
§Example
Make text bold using attr():
use yansi::{Paint, Attribute};
painted.attr(Attribute::Bold);Make text bold using using bold().
use yansi::Paint;
painted.bold();Source§fn rapid_blink(&self) -> Painted<&T>
fn rapid_blink(&self) -> Painted<&T>
Source§fn quirk(&self, value: Quirk) -> Painted<&T>
fn quirk(&self, value: Quirk) -> Painted<&T>
Enables the yansi Quirk value.
This method should be used rarely. Instead, prefer to use quirk-specific
builder methods like mask() and
wrap(), which have the same functionality but are
pithier.
§Example
Enable wrapping using .quirk():
use yansi::{Paint, Quirk};
painted.quirk(Quirk::Wrap);Enable wrapping using wrap().
use yansi::Paint;
painted.wrap();Source§fn clear(&self) -> Painted<&T>
👎Deprecated since 1.0.1: renamed to resetting() due to conflicts with Vec::clear().
The clear() method will be removed in a future release.
fn clear(&self) -> Painted<&T>
resetting() due to conflicts with Vec::clear().
The clear() method will be removed in a future release.Source§fn whenever(&self, value: Condition) -> Painted<&T>
fn whenever(&self, value: Condition) -> Painted<&T>
Conditionally enable styling based on whether the Condition value
applies. Replaces any previous condition.
See the crate level docs for more details.
§Example
Enable styling painted only when both stdout and stderr are TTYs:
use yansi::{Paint, Condition};
painted.red().on_yellow().whenever(Condition::STDOUTERR_ARE_TTY);