Struct aws_sdk_ram::operation::delete_resource_share::builders::DeleteResourceShareInputBuilder
source · #[non_exhaustive]pub struct DeleteResourceShareInputBuilder { /* private fields */ }Expand description
A builder for DeleteResourceShareInput.
Implementations§
Specifies the Amazon Resource Name (ARN) of the resource share to delete.
This field is required.Specifies the Amazon Resource Name (ARN) of the resource share to delete.
Specifies the Amazon Resource Name (ARN) of the resource share to delete.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value..
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same ClientToken, but with different parameters, the retry fails with an IdempotentParameterMismatch error.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value..
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same ClientToken, but with different parameters, the retry fails with an IdempotentParameterMismatch error.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value..
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same ClientToken, but with different parameters, the retry fails with an IdempotentParameterMismatch error.
sourcepub fn build(self) -> Result<DeleteResourceShareInput, BuildError>
pub fn build(self) -> Result<DeleteResourceShareInput, BuildError>
Consumes the builder and constructs a DeleteResourceShareInput.
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeleteResourceShareOutput, SdkError<DeleteResourceShareError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeleteResourceShareOutput, SdkError<DeleteResourceShareError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§fn clone(&self) -> DeleteResourceShareInputBuilder
fn clone(&self) -> DeleteResourceShareInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§fn default() -> DeleteResourceShareInputBuilder
fn default() -> DeleteResourceShareInputBuilder
source§fn eq(&self, other: &DeleteResourceShareInputBuilder) -> bool
fn eq(&self, other: &DeleteResourceShareInputBuilder) -> bool
self and other values to be equal, and is used
by ==.