pub struct CreateSchedulingPolicy<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateSchedulingPolicy
.
Creates an Batch scheduling policy.
Implementations
impl<C, M, R> CreateSchedulingPolicy<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateSchedulingPolicy<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateSchedulingPolicyOutput, SdkError<CreateSchedulingPolicyError>> where
R::Policy: SmithyRetryPolicy<CreateSchedulingPolicyInputOperationOutputAlias, CreateSchedulingPolicyOutput, CreateSchedulingPolicyError, CreateSchedulingPolicyInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateSchedulingPolicyOutput, SdkError<CreateSchedulingPolicyError>> where
R::Policy: SmithyRetryPolicy<CreateSchedulingPolicyInputOperationOutputAlias, CreateSchedulingPolicyOutput, CreateSchedulingPolicyError, CreateSchedulingPolicyInputOperationRetryAlias>,
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 name of the scheduling policy. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
The name of the scheduling policy. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
The fair share policy of the scheduling policy.
The fair share policy of the scheduling policy.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
The tags that you apply to the scheduling policy to help you categorize and organize your resources. Each tag consists of a key and an optional value. For more information, see Tagging Amazon Web Services Resources in Amazon Web Services General Reference.
These tags can be updated or removed using the TagResource and UntagResource API operations.
The tags that you apply to the scheduling policy to help you categorize and organize your resources. Each tag consists of a key and an optional value. For more information, see Tagging Amazon Web Services Resources in Amazon Web Services General Reference.
These tags can be updated or removed using the TagResource and UntagResource API operations.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreateSchedulingPolicy<C, M, R>
impl<C, M, R> Send for CreateSchedulingPolicy<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateSchedulingPolicy<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateSchedulingPolicy<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateSchedulingPolicy<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