aws-sdk-cloudfront 1.116.0

AWS SDK for Amazon CloudFront
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetConnectionFunction`](crate::operation::get_connection_function::builders::GetConnectionFunctionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`GetConnectionFunctionOutput`](crate::operation::get_connection_function::GetConnectionFunctionOutput) with field(s):
    ///   - [`connection_function_code(Option<Blob>)`](crate::operation::get_connection_function::GetConnectionFunctionOutput::connection_function_code): <p>The connection function's code.</p>
    ///   - [`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>
    ///   - [`content_type(Option<String>)`](crate::operation::get_connection_function::GetConnectionFunctionOutput::content_type): <p>The connection function's content type.</p>
    /// - On failure, responds with [`SdkError<GetConnectionFunctionError>`](crate::operation::get_connection_function::GetConnectionFunctionError)
    pub fn get_connection_function(&self) -> crate::operation::get_connection_function::builders::GetConnectionFunctionFluentBuilder {
        crate::operation::get_connection_function::builders::GetConnectionFunctionFluentBuilder::new(self.handle.clone())
    }
}