Struct aws_sdk_ram::client::fluent_builders::DisassociateResourceSharePermission [−][src]
pub struct DisassociateResourceSharePermission<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to DisassociateResourceSharePermission
.
Disassociates an RAM permission from a resource share. Permission changes take effect immediately. You can remove a RAM permission from a resource share only if there are currently no resources of the relevant resource type currently attached to the resource share.
Implementations
impl<C, M, R> DisassociateResourceSharePermission<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DisassociateResourceSharePermission<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DisassociateResourceSharePermissionOutput, SdkError<DisassociateResourceSharePermissionError>> where
R::Policy: SmithyRetryPolicy<DisassociateResourceSharePermissionInputOperationOutputAlias, DisassociateResourceSharePermissionOutput, DisassociateResourceSharePermissionError, DisassociateResourceSharePermissionInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DisassociateResourceSharePermissionOutput, SdkError<DisassociateResourceSharePermissionError>> where
R::Policy: SmithyRetryPolicy<DisassociateResourceSharePermissionInputOperationOutputAlias, DisassociateResourceSharePermissionOutput, DisassociateResourceSharePermissionError, DisassociateResourceSharePermissionInputOperationRetryAlias>,
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 resource share from which you want to disassociate a permission.
The Amazon Resoure Name (ARN) of the resource share from which you want to disassociate a permission.
The Amazon Resoure Name (ARN) of the permission to disassociate from the resource share. Changes to permissions take effect immediately.
The Amazon Resoure Name (ARN) of the permission to disassociate from the resource share. Changes to permissions take effect immediately.
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 DisassociateResourceSharePermission<C, M, R>
impl<C, M, R> Send for DisassociateResourceSharePermission<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DisassociateResourceSharePermission<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DisassociateResourceSharePermission<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for DisassociateResourceSharePermission<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