Struct aws_sdk_backup::client::fluent_builders::CreateFramework
source · [−]pub struct CreateFramework<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateFramework
.
Creates a framework with one or more controls. A framework is a collection of controls that you can use to evaluate your backup practices. By using pre-built customizable controls to define your policies, you can evaluate whether your backup practices comply with your policies and which resources are not yet in compliance.
Implementations
impl<C, M, R> CreateFramework<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateFramework<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateFrameworkOutput, SdkError<CreateFrameworkError>> where
R::Policy: SmithyRetryPolicy<CreateFrameworkInputOperationOutputAlias, CreateFrameworkOutput, CreateFrameworkError, CreateFrameworkInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateFrameworkOutput, SdkError<CreateFrameworkError>> where
R::Policy: SmithyRetryPolicy<CreateFrameworkInputOperationOutputAlias, CreateFrameworkOutput, CreateFrameworkError, CreateFrameworkInputOperationRetryAlias>,
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 unique name of the framework. The name must be between 1 and 256 characters, starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_).
The unique name of the framework. The name must be between 1 and 256 characters, starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_).
An optional description of the framework with a maximum of 1,024 characters.
An optional description of the framework with a maximum of 1,024 characters.
Appends an item to FrameworkControls
.
To override the contents of this collection use set_framework_controls
.
A list of the controls that make up the framework. Each control in the list has a name, input parameters, and scope.
A list of the controls that make up the framework. Each control in the list has a name, input parameters, and scope.
A customer-chosen string that you can use to distinguish between otherwise identical calls to CreateFrameworkInput
. Retrying a successful request with the same idempotency token results in a success message with no action taken.
A customer-chosen string that you can use to distinguish between otherwise identical calls to CreateFrameworkInput
. Retrying a successful request with the same idempotency token results in a success message with no action taken.
Adds a key-value pair to FrameworkTags
.
To override the contents of this collection use set_framework_tags
.
Metadata that you can assign to help organize the frameworks that you create. Each tag is a key-value pair.
Metadata that you can assign to help organize the frameworks that you create. Each tag is a key-value pair.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreateFramework<C, M, R>
impl<C, M, R> Send for CreateFramework<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateFramework<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateFramework<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateFramework<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