pub struct RejectResourceShareInvitation<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to RejectResourceShareInvitation
.
Rejects an invitation to a resource share from another Amazon Web Services account.
Implementations
impl<C, M, R> RejectResourceShareInvitation<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> RejectResourceShareInvitation<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<RejectResourceShareInvitationOutput, SdkError<RejectResourceShareInvitationError>> where
R::Policy: SmithyRetryPolicy<RejectResourceShareInvitationInputOperationOutputAlias, RejectResourceShareInvitationOutput, RejectResourceShareInvitationError, RejectResourceShareInvitationInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<RejectResourceShareInvitationOutput, SdkError<RejectResourceShareInvitationError>> where
R::Policy: SmithyRetryPolicy<RejectResourceShareInvitationInputOperationOutputAlias, RejectResourceShareInvitationOutput, RejectResourceShareInvitationError, RejectResourceShareInvitationInputOperationRetryAlias>,
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.
Specifies the Amazon Resoure Name (ARN) of the invitation that you want to reject.
Specifies the Amazon Resoure Name (ARN) of the invitation that you want to reject.
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.
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.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for RejectResourceShareInvitation<C, M, R>
impl<C, M, R> Send for RejectResourceShareInvitation<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for RejectResourceShareInvitation<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for RejectResourceShareInvitation<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for RejectResourceShareInvitation<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more