Struct aws_sdk_cloudcontrol::operation::cancel_resource_request::builders::CancelResourceRequestFluentBuilder
source · pub struct CancelResourceRequestFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to CancelResourceRequest.
Cancels the specified resource operation request. For more information, see Canceling resource operation requests in the Amazon Web Services Cloud Control API User Guide.
Only resource operations requests with a status of PENDING or IN_PROGRESS can be canceled.
Implementations§
source§impl CancelResourceRequestFluentBuilder
impl CancelResourceRequestFluentBuilder
sourcepub fn as_input(&self) -> &CancelResourceRequestInputBuilder
pub fn as_input(&self) -> &CancelResourceRequestInputBuilder
Access the CancelResourceRequest as a reference.
sourcepub async fn send(
self
) -> Result<CancelResourceRequestOutput, SdkError<CancelResourceRequestError, HttpResponse>>
pub async fn send( self ) -> Result<CancelResourceRequestOutput, SdkError<CancelResourceRequestError, 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<CancelResourceRequestOutput, CancelResourceRequestError, Self>
pub fn customize( self ) -> CustomizableOperation<CancelResourceRequestOutput, CancelResourceRequestError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn request_token(self, input: impl Into<String>) -> Self
pub fn request_token(self, input: impl Into<String>) -> Self
The RequestToken of the ProgressEvent object returned by the resource operation request.
sourcepub fn set_request_token(self, input: Option<String>) -> Self
pub fn set_request_token(self, input: Option<String>) -> Self
The RequestToken of the ProgressEvent object returned by the resource operation request.
sourcepub fn get_request_token(&self) -> &Option<String>
pub fn get_request_token(&self) -> &Option<String>
The RequestToken of the ProgressEvent object returned by the resource operation request.
Trait Implementations§
source§impl Clone for CancelResourceRequestFluentBuilder
impl Clone for CancelResourceRequestFluentBuilder
source§fn clone(&self) -> CancelResourceRequestFluentBuilder
fn clone(&self) -> CancelResourceRequestFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more