#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for DeleteStackInstancesInput
Implementations
sourceimpl Builder
impl Builder
sourcepub fn stack_set_name(self, input: impl Into<String>) -> Self
pub fn stack_set_name(self, input: impl Into<String>) -> Self
The name or unique ID of the stack set that you want to delete stack instances for.
sourcepub fn set_stack_set_name(self, input: Option<String>) -> Self
pub fn set_stack_set_name(self, input: Option<String>) -> Self
The name or unique ID of the stack set that you want to delete stack instances for.
sourcepub fn accounts(self, input: impl Into<String>) -> Self
pub fn accounts(self, input: impl Into<String>) -> Self
Appends an item to accounts
.
To override the contents of this collection use set_accounts
.
[Self-managed permissions] The names of the Amazon Web Services accounts that you want to delete stack instances for.
You can specify Accounts
or DeploymentTargets
, but not both.
sourcepub fn set_accounts(self, input: Option<Vec<String>>) -> Self
pub fn set_accounts(self, input: Option<Vec<String>>) -> Self
[Self-managed permissions] The names of the Amazon Web Services accounts that you want to delete stack instances for.
You can specify Accounts
or DeploymentTargets
, but not both.
sourcepub fn deployment_targets(self, input: DeploymentTargets) -> Self
pub fn deployment_targets(self, input: DeploymentTargets) -> Self
[Service-managed permissions] The Organizations accounts from which to delete stack instances.
You can specify Accounts
or DeploymentTargets
, but not both.
sourcepub fn set_deployment_targets(self, input: Option<DeploymentTargets>) -> Self
pub fn set_deployment_targets(self, input: Option<DeploymentTargets>) -> Self
[Service-managed permissions] The Organizations accounts from which to delete stack instances.
You can specify Accounts
or DeploymentTargets
, but not both.
sourcepub fn regions(self, input: impl Into<String>) -> Self
pub fn regions(self, input: impl Into<String>) -> Self
Appends an item to regions
.
To override the contents of this collection use set_regions
.
The Amazon Web Services Regions where you want to delete stack set instances.
sourcepub fn set_regions(self, input: Option<Vec<String>>) -> Self
pub fn set_regions(self, input: Option<Vec<String>>) -> Self
The Amazon Web Services Regions where you want to delete stack set instances.
sourcepub fn operation_preferences(self, input: StackSetOperationPreferences) -> Self
pub fn operation_preferences(self, input: StackSetOperationPreferences) -> Self
Preferences for how CloudFormation performs this stack set operation.
sourcepub fn set_operation_preferences(
self,
input: Option<StackSetOperationPreferences>
) -> Self
pub fn set_operation_preferences(
self,
input: Option<StackSetOperationPreferences>
) -> Self
Preferences for how CloudFormation performs this stack set operation.
sourcepub fn retain_stacks(self, input: bool) -> Self
pub fn retain_stacks(self, input: bool) -> Self
Removes the stack instances from the specified stack set, but doesn't delete the stacks. You can't reassociate a retained stack or add an existing, saved stack to a new stack set.
For more information, see Stack set operation options.
sourcepub fn set_retain_stacks(self, input: Option<bool>) -> Self
pub fn set_retain_stacks(self, input: Option<bool>) -> Self
Removes the stack instances from the specified stack set, but doesn't delete the stacks. You can't reassociate a retained stack or add an existing, saved stack to a new stack set.
For more information, see Stack set operation options.
sourcepub fn operation_id(self, input: impl Into<String>) -> Self
pub fn operation_id(self, input: impl Into<String>) -> Self
The unique identifier for this stack set operation.
If you don't specify an operation ID, the SDK generates one automatically.
The operation ID also functions as an idempotency token, to ensure that CloudFormation performs the stack set operation only once, even if you retry the request multiple times. You can retry stack set operation requests to ensure that CloudFormation successfully received them.
Repeating this stack set operation with a new operation ID retries all stack instances whose status is OUTDATED
.
sourcepub fn set_operation_id(self, input: Option<String>) -> Self
pub fn set_operation_id(self, input: Option<String>) -> Self
The unique identifier for this stack set operation.
If you don't specify an operation ID, the SDK generates one automatically.
The operation ID also functions as an idempotency token, to ensure that CloudFormation performs the stack set operation only once, even if you retry the request multiple times. You can retry stack set operation requests to ensure that CloudFormation successfully received them.
Repeating this stack set operation with a new operation ID retries all stack instances whose status is OUTDATED
.
sourcepub fn call_as(self, input: CallAs) -> Self
pub fn call_as(self, input: CallAs) -> Self
[Service-managed permissions] Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account.
By default, SELF
is specified. Use SELF
for stack sets with self-managed permissions.
-
If you are signed in to the management account, specify
SELF
. -
If you are signed in to a delegated administrator account, specify
DELEGATED_ADMIN
.Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide.
sourcepub fn set_call_as(self, input: Option<CallAs>) -> Self
pub fn set_call_as(self, input: Option<CallAs>) -> Self
[Service-managed permissions] Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account.
By default, SELF
is specified. Use SELF
for stack sets with self-managed permissions.
-
If you are signed in to the management account, specify
SELF
. -
If you are signed in to a delegated administrator account, specify
DELEGATED_ADMIN
.Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide.
sourcepub fn build(self) -> Result<DeleteStackInstancesInput, BuildError>
pub fn build(self) -> Result<DeleteStackInstancesInput, BuildError>
Consumes the builder and constructs a DeleteStackInstancesInput
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
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