aws_sdk_cloudfront/client/
delete_cloud_front_origin_access_identity.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`DeleteCloudFrontOriginAccessIdentity`](crate::operation::delete_cloud_front_origin_access_identity::builders::DeleteCloudFrontOriginAccessIdentityFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`id(impl Into<String>)`](crate::operation::delete_cloud_front_origin_access_identity::builders::DeleteCloudFrontOriginAccessIdentityFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::delete_cloud_front_origin_access_identity::builders::DeleteCloudFrontOriginAccessIdentityFluentBuilder::set_id):<br>required: **true**<br><p>The origin access identity's ID.</p><br>
7    ///   - [`if_match(impl Into<String>)`](crate::operation::delete_cloud_front_origin_access_identity::builders::DeleteCloudFrontOriginAccessIdentityFluentBuilder::if_match) / [`set_if_match(Option<String>)`](crate::operation::delete_cloud_front_origin_access_identity::builders::DeleteCloudFrontOriginAccessIdentityFluentBuilder::set_if_match):<br>required: **false**<br><p>The value of the <code>ETag</code> header you received from a previous <code>GET</code> or <code>PUT</code> request. For example: <code>E2QWRUHAPOMQZL</code>.</p><br>
8    /// - On success, responds with [`DeleteCloudFrontOriginAccessIdentityOutput`](crate::operation::delete_cloud_front_origin_access_identity::DeleteCloudFrontOriginAccessIdentityOutput)
9    /// - On failure, responds with [`SdkError<DeleteCloudFrontOriginAccessIdentityError>`](crate::operation::delete_cloud_front_origin_access_identity::DeleteCloudFrontOriginAccessIdentityError)
10    pub fn delete_cloud_front_origin_access_identity(
11        &self,
12    ) -> crate::operation::delete_cloud_front_origin_access_identity::builders::DeleteCloudFrontOriginAccessIdentityFluentBuilder {
13        crate::operation::delete_cloud_front_origin_access_identity::builders::DeleteCloudFrontOriginAccessIdentityFluentBuilder::new(
14            self.handle.clone(),
15        )
16    }
17}