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 [`TestConnectionFunction`](crate::operation::test_connection_function::builders::TestConnectionFunctionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`id(impl Into<String>)`](crate::operation::test_connection_function::builders::TestConnectionFunctionFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::test_connection_function::builders::TestConnectionFunctionFluentBuilder::set_id):<br>required: **true**<br><p>The connection function ID.</p><br>
    ///   - [`if_match(impl Into<String>)`](crate::operation::test_connection_function::builders::TestConnectionFunctionFluentBuilder::if_match) / [`set_if_match(Option<String>)`](crate::operation::test_connection_function::builders::TestConnectionFunctionFluentBuilder::set_if_match):<br>required: **true**<br><p>The current version (<code>ETag</code> value) of the connection function.</p><br>
    ///   - [`stage(FunctionStage)`](crate::operation::test_connection_function::builders::TestConnectionFunctionFluentBuilder::stage) / [`set_stage(Option<FunctionStage>)`](crate::operation::test_connection_function::builders::TestConnectionFunctionFluentBuilder::set_stage):<br>required: **false**<br><p>The connection function stage.</p><br>
    ///   - [`connection_object(Blob)`](crate::operation::test_connection_function::builders::TestConnectionFunctionFluentBuilder::connection_object) / [`set_connection_object(Option<Blob>)`](crate::operation::test_connection_function::builders::TestConnectionFunctionFluentBuilder::set_connection_object):<br>required: **true**<br><p>The connection object.</p><br>
    /// - On success, responds with [`TestConnectionFunctionOutput`](crate::operation::test_connection_function::TestConnectionFunctionOutput) with field(s):
    ///   - [`connection_function_test_result(Option<ConnectionFunctionTestResult>)`](crate::operation::test_connection_function::TestConnectionFunctionOutput::connection_function_test_result): <p>The connection function test result.</p>
    /// - On failure, responds with [`SdkError<TestConnectionFunctionError>`](crate::operation::test_connection_function::TestConnectionFunctionError)
    pub fn test_connection_function(&self) -> crate::operation::test_connection_function::builders::TestConnectionFunctionFluentBuilder {
        crate::operation::test_connection_function::builders::TestConnectionFunctionFluentBuilder::new(self.handle.clone())
    }
}