Struct aws_sdk_auditmanager::client::fluent_builders::CreateControl [−][src]
pub struct CreateControl<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CreateControl
.
Creates a new custom control in Audit Manager.
Implementations
impl<C, M, R> CreateControl<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateControl<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateControlOutput, SdkError<CreateControlError>> where
R::Policy: SmithyRetryPolicy<CreateControlInputOperationOutputAlias, CreateControlOutput, CreateControlError, CreateControlInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateControlOutput, SdkError<CreateControlError>> where
R::Policy: SmithyRetryPolicy<CreateControlInputOperationOutputAlias, CreateControlOutput, CreateControlError, CreateControlInputOperationRetryAlias>,
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 description of the control.
The description of the control.
The steps to follow to determine if the control is satisfied.
The steps to follow to determine if the control is satisfied.
The title of the action plan for remediating the control.
The title of the action plan for remediating the control.
The recommended actions to carry out if the control isn't fulfilled.
The recommended actions to carry out if the control isn't fulfilled.
Appends an item to controlMappingSources
.
To override the contents of this collection use set_control_mapping_sources
.
The data mapping sources for the control.
pub fn set_control_mapping_sources(
self,
input: Option<Vec<CreateControlMappingSource>>
) -> Self
pub fn set_control_mapping_sources(
self,
input: Option<Vec<CreateControlMappingSource>>
) -> Self
The data mapping sources for the control.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
The tags that are associated with the control.
The tags that are associated with the control.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreateControl<C, M, R>
impl<C, M, R> Unpin for CreateControl<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateControl<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