Struct aws_sdk_storagegateway::operation::delete_gateway::builders::DeleteGatewayFluentBuilder
source · pub struct DeleteGatewayFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to DeleteGateway.
Deletes a gateway. To specify which gateway to delete, use the Amazon Resource Name (ARN) of the gateway in your request. The operation deletes the gateway; however, it does not delete the gateway virtual machine (VM) from your host computer.
After you delete a gateway, you cannot reactivate it. Completed snapshots of the gateway volumes are not deleted upon deleting the gateway, however, pending snapshots will not complete. After you delete a gateway, your next step is to remove it from your environment.
You no longer pay software charges after the gateway is deleted; however, your existing Amazon EBS snapshots persist and you will continue to be billed for these snapshots. You can choose to remove all remaining Amazon EBS snapshots by canceling your Amazon EC2 subscription. If you prefer not to cancel your Amazon EC2 subscription, you can delete your snapshots using the Amazon EC2 console. For more information, see the Storage Gateway detail page.
Implementations§
source§impl DeleteGatewayFluentBuilder
impl DeleteGatewayFluentBuilder
sourcepub fn as_input(&self) -> &DeleteGatewayInputBuilder
pub fn as_input(&self) -> &DeleteGatewayInputBuilder
Access the DeleteGateway as a reference.
sourcepub async fn send(
self
) -> Result<DeleteGatewayOutput, SdkError<DeleteGatewayError, HttpResponse>>
pub async fn send( self ) -> Result<DeleteGatewayOutput, SdkError<DeleteGatewayError, 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 fn customize(
self
) -> CustomizableOperation<DeleteGatewayOutput, DeleteGatewayError, Self>
pub fn customize( self ) -> CustomizableOperation<DeleteGatewayOutput, DeleteGatewayError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn gateway_arn(self, input: impl Into<String>) -> Self
pub fn gateway_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.
sourcepub fn set_gateway_arn(self, input: Option<String>) -> Self
pub fn set_gateway_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.
sourcepub fn get_gateway_arn(&self) -> &Option<String>
pub fn get_gateway_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.
Trait Implementations§
source§impl Clone for DeleteGatewayFluentBuilder
impl Clone for DeleteGatewayFluentBuilder
source§fn clone(&self) -> DeleteGatewayFluentBuilder
fn clone(&self) -> DeleteGatewayFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more