Struct aws_sdk_ram::client::fluent_builders::AcceptResourceShareInvitation [−][src]
pub struct AcceptResourceShareInvitation<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to AcceptResourceShareInvitation
.
Accepts an invitation to a resource share from another Amazon Web Services account. After you accept the invitation, the resources included in the resource share are available to interact with in the relevant Amazon Web Services Management Consoles and tools.
Implementations
impl<C, M, R> AcceptResourceShareInvitation<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> AcceptResourceShareInvitation<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<AcceptResourceShareInvitationOutput, SdkError<AcceptResourceShareInvitationError>> where
R::Policy: SmithyRetryPolicy<AcceptResourceShareInvitationInputOperationOutputAlias, AcceptResourceShareInvitationOutput, AcceptResourceShareInvitationError, AcceptResourceShareInvitationInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<AcceptResourceShareInvitationOutput, SdkError<AcceptResourceShareInvitationError>> where
R::Policy: SmithyRetryPolicy<AcceptResourceShareInvitationInputOperationOutputAlias, AcceptResourceShareInvitationOutput, AcceptResourceShareInvitationError, AcceptResourceShareInvitationInputOperationRetryAlias>,
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.
The Amazon Resoure Name (ARN) of the invitation that you want to accept.
The Amazon Resoure Name (ARN) of the invitation that you want to accept.
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 AcceptResourceShareInvitation<C, M, R>
impl<C, M, R> Send for AcceptResourceShareInvitation<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for AcceptResourceShareInvitation<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for AcceptResourceShareInvitation<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for AcceptResourceShareInvitation<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