aws_sdk_cloudfront/client/
delete_cloud_front_origin_access_identity.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteCloudFrontOriginAccessIdentity`](crate::operation::delete_cloud_front_origin_access_identity::builders::DeleteCloudFrontOriginAccessIdentityFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`DeleteCloudFrontOriginAccessIdentityOutput`](crate::operation::delete_cloud_front_origin_access_identity::DeleteCloudFrontOriginAccessIdentityOutput)
    /// - On failure, responds with [`SdkError<DeleteCloudFrontOriginAccessIdentityError>`](crate::operation::delete_cloud_front_origin_access_identity::DeleteCloudFrontOriginAccessIdentityError)
    pub fn delete_cloud_front_origin_access_identity(
        &self,
    ) -> crate::operation::delete_cloud_front_origin_access_identity::builders::DeleteCloudFrontOriginAccessIdentityFluentBuilder {
        crate::operation::delete_cloud_front_origin_access_identity::builders::DeleteCloudFrontOriginAccessIdentityFluentBuilder::new(
            self.handle.clone(),
        )
    }
}