pub struct CreateBackupSelection<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateBackupSelection
.
Creates a JSON document that specifies a set of resources to assign to a backup plan. For examples, see Assigning resources programmatically.
Implementations
impl<C, M, R> CreateBackupSelection<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateBackupSelection<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateBackupSelectionOutput, SdkError<CreateBackupSelectionError>> where
R::Policy: SmithyRetryPolicy<CreateBackupSelectionInputOperationOutputAlias, CreateBackupSelectionOutput, CreateBackupSelectionError, CreateBackupSelectionInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateBackupSelectionOutput, SdkError<CreateBackupSelectionError>> where
R::Policy: SmithyRetryPolicy<CreateBackupSelectionInputOperationOutputAlias, CreateBackupSelectionOutput, CreateBackupSelectionError, CreateBackupSelectionInputOperationRetryAlias>,
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.
Uniquely identifies the backup plan to be associated with the selection of resources.
Uniquely identifies the backup plan to be associated with the selection of resources.
Specifies the body of a request to assign a set of resources to a backup plan.
Specifies the body of a request to assign a set of resources to a backup plan.
A unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice. This parameter is optional.
If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.
A unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice. This parameter is optional.
If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreateBackupSelection<C, M, R>
impl<C, M, R> Send for CreateBackupSelection<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateBackupSelection<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateBackupSelection<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateBackupSelection<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