pub struct DeleteStackFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to DeleteStack.
Deletes a specified stack. You must first delete all instances, layers, and apps or deregister registered instances. For more information, see Shut Down a Stack.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
Implementations§
source§impl DeleteStackFluentBuilder
impl DeleteStackFluentBuilder
sourcepub fn as_input(&self) -> &DeleteStackInputBuilder
pub fn as_input(&self) -> &DeleteStackInputBuilder
Access the DeleteStack as a reference.
sourcepub async fn send(
self
) -> Result<DeleteStackOutput, SdkError<DeleteStackError, HttpResponse>>
pub async fn send( self ) -> Result<DeleteStackOutput, SdkError<DeleteStackError, HttpResponse>>
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, which can be set when configuring the client.
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DeleteStackOutput, DeleteStackError, Self>, SdkError<DeleteStackError>>
pub async fn customize( self ) -> Result<CustomizableOperation<DeleteStackOutput, DeleteStackError, Self>, SdkError<DeleteStackError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn set_stack_id(self, input: Option<String>) -> Self
pub fn set_stack_id(self, input: Option<String>) -> Self
The stack ID.
sourcepub fn get_stack_id(&self) -> &Option<String>
pub fn get_stack_id(&self) -> &Option<String>
The stack ID.
Trait Implementations§
source§impl Clone for DeleteStackFluentBuilder
impl Clone for DeleteStackFluentBuilder
source§fn clone(&self) -> DeleteStackFluentBuilder
fn clone(&self) -> DeleteStackFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more