#[non_exhaustive]pub struct DeleteStackInstancesInput { /* private fields */ }Implementations§
source§impl DeleteStackInstancesInput
impl DeleteStackInstancesInput
sourcepub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<DeleteStackInstances, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<DeleteStackInstances, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DeleteStackInstances>
Examples found in repository?
3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DeleteStackInstances,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DeleteStackInstancesError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// 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](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::DeleteStackInstancesOutput,
aws_smithy_http::result::SdkError<crate::error::DeleteStackInstancesError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DeleteStackInstancesInput.
source§impl DeleteStackInstancesInput
impl DeleteStackInstancesInput
sourcepub fn stack_set_name(&self) -> Option<&str>
pub fn stack_set_name(&self) -> Option<&str>
The name or unique ID of the stack set that you want to delete stack instances for.
sourcepub fn accounts(&self) -> Option<&[String]>
pub fn accounts(&self) -> Option<&[String]>
[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) -> Option<&DeploymentTargets>
pub fn deployment_targets(&self) -> Option<&DeploymentTargets>
[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) -> Option<&[String]>
pub fn regions(&self) -> Option<&[String]>
The Amazon Web Services Regions where you want to delete stack set instances.
sourcepub fn operation_preferences(&self) -> Option<&StackSetOperationPreferences>
pub fn operation_preferences(&self) -> Option<&StackSetOperationPreferences>
Preferences for how CloudFormation performs this stack set operation.
sourcepub fn retain_stacks(&self) -> bool
pub fn retain_stacks(&self) -> bool
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) -> Option<&str>
pub fn operation_id(&self) -> Option<&str>
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) -> Option<&CallAs>
pub fn call_as(&self) -> Option<&CallAs>
[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.
Trait Implementations§
source§impl Clone for DeleteStackInstancesInput
impl Clone for DeleteStackInstancesInput
source§fn clone(&self) -> DeleteStackInstancesInput
fn clone(&self) -> DeleteStackInstancesInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more