aws_sdk_cloudfront/client/
get_connection_function.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 [`GetConnectionFunction`](crate::operation::get_connection_function::builders::GetConnectionFunctionFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`identifier(impl Into<String>)`](crate::operation::get_connection_function::builders::GetConnectionFunctionFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::get_connection_function::builders::GetConnectionFunctionFluentBuilder::set_identifier):<br>required: **true**<br><p>The connection function's identifier.</p><br>
7    ///   - [`stage(FunctionStage)`](crate::operation::get_connection_function::builders::GetConnectionFunctionFluentBuilder::stage) / [`set_stage(Option<FunctionStage>)`](crate::operation::get_connection_function::builders::GetConnectionFunctionFluentBuilder::set_stage):<br>required: **false**<br><p>The connection function's stage.</p><br>
8    /// - On success, responds with [`GetConnectionFunctionOutput`](crate::operation::get_connection_function::GetConnectionFunctionOutput) with field(s):
9    ///   - [`connection_function_code(Option<Blob>)`](crate::operation::get_connection_function::GetConnectionFunctionOutput::connection_function_code): <p>The connection function's code.</p>
10    ///   - [`e_tag(Option<String>)`](crate::operation::get_connection_function::GetConnectionFunctionOutput::e_tag): <p>The version identifier for the current version of the connection function.</p>
11    ///   - [`content_type(Option<String>)`](crate::operation::get_connection_function::GetConnectionFunctionOutput::content_type): <p>The connection function's content type.</p>
12    /// - On failure, responds with [`SdkError<GetConnectionFunctionError>`](crate::operation::get_connection_function::GetConnectionFunctionError)
13    pub fn get_connection_function(&self) -> crate::operation::get_connection_function::builders::GetConnectionFunctionFluentBuilder {
14        crate::operation::get_connection_function::builders::GetConnectionFunctionFluentBuilder::new(self.handle.clone())
15    }
16}