Struct aws_sdk_accessanalyzer::client::fluent_builders::StartPolicyGeneration [−][src]
pub struct StartPolicyGeneration<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to StartPolicyGeneration
.
Starts the policy generation request.
Implementations
impl<C, M, R> StartPolicyGeneration<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> StartPolicyGeneration<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<StartPolicyGenerationOutput, SdkError<StartPolicyGenerationError>> where
R::Policy: SmithyRetryPolicy<StartPolicyGenerationInputOperationOutputAlias, StartPolicyGenerationOutput, StartPolicyGenerationError, StartPolicyGenerationInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<StartPolicyGenerationOutput, SdkError<StartPolicyGenerationError>> where
R::Policy: SmithyRetryPolicy<StartPolicyGenerationInputOperationOutputAlias, StartPolicyGenerationOutput, StartPolicyGenerationError, StartPolicyGenerationInputOperationRetryAlias>,
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.
Contains the ARN of the IAM entity (user or role) for which you are generating a policy.
Contains the ARN of the IAM entity (user or role) for which you are generating a policy.
A CloudTrailDetails
object that contains details about a Trail
that you want to analyze to generate policies.
A CloudTrailDetails
object that contains details about a Trail
that you want to analyze to generate policies.
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries with the same client token return the result from the original successful request and they have no additional effect.
If you do not specify a client token, one is automatically generated by the Amazon Web Services SDK.
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries with the same client token return the result from the original successful request and they have no additional effect.
If you do not specify a client token, one is automatically generated by the Amazon Web Services SDK.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for StartPolicyGeneration<C, M, R>
impl<C, M, R> Send for StartPolicyGeneration<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for StartPolicyGeneration<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for StartPolicyGeneration<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for StartPolicyGeneration<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