aws_sdk_cloudfront/client/
get_public_key_config.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 [`GetPublicKeyConfig`](crate::operation::get_public_key_config::builders::GetPublicKeyConfigFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`id(impl Into<String>)`](crate::operation::get_public_key_config::builders::GetPublicKeyConfigFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::get_public_key_config::builders::GetPublicKeyConfigFluentBuilder::set_id):<br>required: **true**<br><p>The identifier of the public key whose configuration you are getting.</p><br>
7    /// - On success, responds with [`GetPublicKeyConfigOutput`](crate::operation::get_public_key_config::GetPublicKeyConfigOutput) with field(s):
8    ///   - [`public_key_config(Option<PublicKeyConfig>)`](crate::operation::get_public_key_config::GetPublicKeyConfigOutput::public_key_config): <p>A public key configuration.</p>
9    ///   - [`e_tag(Option<String>)`](crate::operation::get_public_key_config::GetPublicKeyConfigOutput::e_tag): <p>The identifier for this version of the public key configuration.</p>
10    /// - On failure, responds with [`SdkError<GetPublicKeyConfigError>`](crate::operation::get_public_key_config::GetPublicKeyConfigError)
11    pub fn get_public_key_config(&self) -> crate::operation::get_public_key_config::builders::GetPublicKeyConfigFluentBuilder {
12        crate::operation::get_public_key_config::builders::GetPublicKeyConfigFluentBuilder::new(self.handle.clone())
13    }
14}