#[non_exhaustive]pub struct UpdateCloudFrontOriginAccessIdentityInput { /* private fields */ }Expand description
The request to update an origin access identity.
Implementations§
source§impl UpdateCloudFrontOriginAccessIdentityInput
impl UpdateCloudFrontOriginAccessIdentityInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateCloudFrontOriginAccessIdentity, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateCloudFrontOriginAccessIdentity, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateCloudFrontOriginAccessIdentity>
Examples found in repository?
src/client.rs (line 8660)
8644 8645 8646 8647 8648 8649 8650 8651 8652 8653 8654 8655 8656 8657 8658 8659 8660 8661 8662 8663 8664 8665 8666 8667 8668 8669 8670 8671 8672 8673 8674 8675 8676 8677 8678 8679 8680 8681 8682 8683 8684 8685 8686 8687 8688 8689 8690
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateCloudFrontOriginAccessIdentity,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<
crate::error::UpdateCloudFrontOriginAccessIdentityError,
>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// 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](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::UpdateCloudFrontOriginAccessIdentityOutput,
aws_smithy_http::result::SdkError<
crate::error::UpdateCloudFrontOriginAccessIdentityError,
>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateCloudFrontOriginAccessIdentityInput.
source§impl UpdateCloudFrontOriginAccessIdentityInput
impl UpdateCloudFrontOriginAccessIdentityInput
sourcepub fn cloud_front_origin_access_identity_config(
&self
) -> Option<&CloudFrontOriginAccessIdentityConfig>
pub fn cloud_front_origin_access_identity_config(
&self
) -> Option<&CloudFrontOriginAccessIdentityConfig>
The identity's configuration information.
Trait Implementations§
source§impl Clone for UpdateCloudFrontOriginAccessIdentityInput
impl Clone for UpdateCloudFrontOriginAccessIdentityInput
source§fn clone(&self) -> UpdateCloudFrontOriginAccessIdentityInput
fn clone(&self) -> UpdateCloudFrontOriginAccessIdentityInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more