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 [`DeletePublicKey`](crate::operation::delete_public_key::builders::DeletePublicKeyFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`id(impl Into<String>)`](crate::operation::delete_public_key::builders::DeletePublicKeyFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::delete_public_key::builders::DeletePublicKeyFluentBuilder::set_id): <p>The ID of the public key you want to remove from CloudFront.</p>
    ///   - [`if_match(impl Into<String>)`](crate::operation::delete_public_key::builders::DeletePublicKeyFluentBuilder::if_match) / [`set_if_match(Option<String>)`](crate::operation::delete_public_key::builders::DeletePublicKeyFluentBuilder::set_if_match): <p>The value of the <code>ETag</code> header that you received when retrieving the public key identity to delete. For example: <code>E2QWRUHAPOMQZL</code>.</p>
    /// - On success, responds with [`DeletePublicKeyOutput`](crate::operation::delete_public_key::DeletePublicKeyOutput)
    /// - On failure, responds with [`SdkError<DeletePublicKeyError>`](crate::operation::delete_public_key::DeletePublicKeyError)
    pub fn delete_public_key(
        &self,
    ) -> crate::operation::delete_public_key::builders::DeletePublicKeyFluentBuilder {
        crate::operation::delete_public_key::builders::DeletePublicKeyFluentBuilder::new(
            self.handle.clone(),
        )
    }
}