Struct aws_sdk_accessanalyzer::client::fluent_builders::CreateAccessPreview [−][src]
pub struct CreateAccessPreview<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CreateAccessPreview
.
Creates an access preview that allows you to preview IAM Access Analyzer findings for your resource before deploying resource permissions.
Implementations
impl<C, M, R> CreateAccessPreview<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateAccessPreview<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateAccessPreviewOutput, SdkError<CreateAccessPreviewError>> where
R::Policy: SmithyRetryPolicy<CreateAccessPreviewInputOperationOutputAlias, CreateAccessPreviewOutput, CreateAccessPreviewError, CreateAccessPreviewInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateAccessPreviewOutput, SdkError<CreateAccessPreviewError>> where
R::Policy: SmithyRetryPolicy<CreateAccessPreviewInputOperationOutputAlias, CreateAccessPreviewOutput, CreateAccessPreviewError, CreateAccessPreviewInputOperationRetryAlias>,
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 ARN of
the account analyzer used to generate the access preview. You can only create an
access preview for analyzers with an Account
type and Active
status.
The ARN of
the account analyzer used to generate the access preview. You can only create an
access preview for analyzers with an Account
type and Active
status.
Adds a key-value pair to configurations
.
To override the contents of this collection use set_configurations
.
Access control configuration for your resource that is used to generate the access preview. The access preview includes findings for external access allowed to the resource with the proposed access control configuration. The configuration must contain exactly one element.
Access control configuration for your resource that is used to generate the access preview. The access preview includes findings for external access allowed to the resource with the proposed access control configuration. The configuration must contain exactly one element.
A client token.
A client token.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for CreateAccessPreview<C, M, R>
impl<C, M, R> Send for CreateAccessPreview<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateAccessPreview<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateAccessPreview<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for CreateAccessPreview<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