Struct aws_sdk_cloudfront::client::fluent_builders::CreateCloudFrontOriginAccessIdentity [−][src]
pub struct CreateCloudFrontOriginAccessIdentity<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CreateCloudFrontOriginAccessIdentity
.
Creates a new origin access identity. If you're using Amazon S3 for your origin, you can use an origin access identity to require users to access your content using a CloudFront URL instead of the Amazon S3 URL. For more information about how to use origin access identities, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.
Implementations
impl<C, M, R> CreateCloudFrontOriginAccessIdentity<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateCloudFrontOriginAccessIdentity<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateCloudFrontOriginAccessIdentityOutput, SdkError<CreateCloudFrontOriginAccessIdentityError>> where
R::Policy: SmithyRetryPolicy<CreateCloudFrontOriginAccessIdentityInputOperationOutputAlias, CreateCloudFrontOriginAccessIdentityOutput, CreateCloudFrontOriginAccessIdentityError, CreateCloudFrontOriginAccessIdentityInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateCloudFrontOriginAccessIdentityOutput, SdkError<CreateCloudFrontOriginAccessIdentityError>> where
R::Policy: SmithyRetryPolicy<CreateCloudFrontOriginAccessIdentityInputOperationOutputAlias, CreateCloudFrontOriginAccessIdentityOutput, CreateCloudFrontOriginAccessIdentityError, CreateCloudFrontOriginAccessIdentityInputOperationRetryAlias>,
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.
pub fn cloud_front_origin_access_identity_config(
self,
inp: CloudFrontOriginAccessIdentityConfig
) -> Self
pub fn cloud_front_origin_access_identity_config(
self,
inp: CloudFrontOriginAccessIdentityConfig
) -> Self
The current configuration information for the identity.
pub fn set_cloud_front_origin_access_identity_config(
self,
input: Option<CloudFrontOriginAccessIdentityConfig>
) -> Self
pub fn set_cloud_front_origin_access_identity_config(
self,
input: Option<CloudFrontOriginAccessIdentityConfig>
) -> Self
The current configuration information for the identity.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for CreateCloudFrontOriginAccessIdentity<C, M, R>
impl<C, M, R> Send for CreateCloudFrontOriginAccessIdentity<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateCloudFrontOriginAccessIdentity<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateCloudFrontOriginAccessIdentity<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for CreateCloudFrontOriginAccessIdentity<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