pub struct UpdateOriginAccessControl { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateOriginAccessControl
.
Updates a CloudFront origin access control.
Implementations§
source§impl UpdateOriginAccessControl
impl UpdateOriginAccessControl
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateOriginAccessControl, AwsResponseRetryClassifier>, SdkError<UpdateOriginAccessControlError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<UpdateOriginAccessControl, AwsResponseRetryClassifier>, SdkError<UpdateOriginAccessControlError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<UpdateOriginAccessControlOutput, SdkError<UpdateOriginAccessControlError>>
pub async fn send(
self
) -> Result<UpdateOriginAccessControlOutput, SdkError<UpdateOriginAccessControlError>>
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.
sourcepub fn origin_access_control_config(
self,
input: OriginAccessControlConfig
) -> Self
pub fn origin_access_control_config(
self,
input: OriginAccessControlConfig
) -> Self
An origin access control.
sourcepub fn set_origin_access_control_config(
self,
input: Option<OriginAccessControlConfig>
) -> Self
pub fn set_origin_access_control_config(
self,
input: Option<OriginAccessControlConfig>
) -> Self
An origin access control.
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The unique identifier of the origin access control that you are updating.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The unique identifier of the origin access control that you are updating.
sourcepub fn if_match(self, input: impl Into<String>) -> Self
pub fn if_match(self, input: impl Into<String>) -> Self
The current version (ETag
value) of the origin access control that you are updating.
sourcepub fn set_if_match(self, input: Option<String>) -> Self
pub fn set_if_match(self, input: Option<String>) -> Self
The current version (ETag
value) of the origin access control that you are updating.
Trait Implementations§
source§impl Clone for UpdateOriginAccessControl
impl Clone for UpdateOriginAccessControl
source§fn clone(&self) -> UpdateOriginAccessControl
fn clone(&self) -> UpdateOriginAccessControl
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more