Struct aws_sdk_apigateway::operation::delete_deployment::builders::DeleteDeploymentFluentBuilder
source · pub struct DeleteDeploymentFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to DeleteDeployment.
Deletes a Deployment resource. Deleting a deployment will only succeed if there are no Stage resources associated with it.
Implementations§
source§impl DeleteDeploymentFluentBuilder
impl DeleteDeploymentFluentBuilder
sourcepub fn as_input(&self) -> &DeleteDeploymentInputBuilder
pub fn as_input(&self) -> &DeleteDeploymentInputBuilder
Access the DeleteDeployment as a reference.
sourcepub async fn send(
self
) -> Result<DeleteDeploymentOutput, SdkError<DeleteDeploymentError, HttpResponse>>
pub async fn send( self ) -> Result<DeleteDeploymentOutput, SdkError<DeleteDeploymentError, 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<DeleteDeploymentOutput, DeleteDeploymentError, Self>
pub fn customize( self ) -> CustomizableOperation<DeleteDeploymentOutput, DeleteDeploymentError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn rest_api_id(self, input: impl Into<String>) -> Self
pub fn rest_api_id(self, input: impl Into<String>) -> Self
The string identifier of the associated RestApi.
sourcepub fn set_rest_api_id(self, input: Option<String>) -> Self
pub fn set_rest_api_id(self, input: Option<String>) -> Self
The string identifier of the associated RestApi.
sourcepub fn get_rest_api_id(&self) -> &Option<String>
pub fn get_rest_api_id(&self) -> &Option<String>
The string identifier of the associated RestApi.
sourcepub fn deployment_id(self, input: impl Into<String>) -> Self
pub fn deployment_id(self, input: impl Into<String>) -> Self
The identifier of the Deployment resource to delete.
sourcepub fn set_deployment_id(self, input: Option<String>) -> Self
pub fn set_deployment_id(self, input: Option<String>) -> Self
The identifier of the Deployment resource to delete.
sourcepub fn get_deployment_id(&self) -> &Option<String>
pub fn get_deployment_id(&self) -> &Option<String>
The identifier of the Deployment resource to delete.
Trait Implementations§
source§impl Clone for DeleteDeploymentFluentBuilder
impl Clone for DeleteDeploymentFluentBuilder
source§fn clone(&self) -> DeleteDeploymentFluentBuilder
fn clone(&self) -> DeleteDeploymentFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more