aws_sdk_schemas/client/
get_code_binding_source.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 [`GetCodeBindingSource`](crate::operation::get_code_binding_source::builders::GetCodeBindingSourceFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`language(impl Into<String>)`](crate::operation::get_code_binding_source::builders::GetCodeBindingSourceFluentBuilder::language) / [`set_language(Option<String>)`](crate::operation::get_code_binding_source::builders::GetCodeBindingSourceFluentBuilder::set_language):<br>required: **true**<br><p>The language of the code binding.</p><br>
7    ///   - [`registry_name(impl Into<String>)`](crate::operation::get_code_binding_source::builders::GetCodeBindingSourceFluentBuilder::registry_name) / [`set_registry_name(Option<String>)`](crate::operation::get_code_binding_source::builders::GetCodeBindingSourceFluentBuilder::set_registry_name):<br>required: **true**<br><p>The name of the registry.</p><br>
8    ///   - [`schema_name(impl Into<String>)`](crate::operation::get_code_binding_source::builders::GetCodeBindingSourceFluentBuilder::schema_name) / [`set_schema_name(Option<String>)`](crate::operation::get_code_binding_source::builders::GetCodeBindingSourceFluentBuilder::set_schema_name):<br>required: **true**<br><p>The name of the schema.</p><br>
9    ///   - [`schema_version(impl Into<String>)`](crate::operation::get_code_binding_source::builders::GetCodeBindingSourceFluentBuilder::schema_version) / [`set_schema_version(Option<String>)`](crate::operation::get_code_binding_source::builders::GetCodeBindingSourceFluentBuilder::set_schema_version):<br>required: **false**<br><p>Specifying this limits the results to only this schema version.</p><br>
10    /// - On success, responds with [`GetCodeBindingSourceOutput`](crate::operation::get_code_binding_source::GetCodeBindingSourceOutput) with field(s):
11    ///   - [`body(Option<Blob>)`](crate::operation::get_code_binding_source::GetCodeBindingSourceOutput::body): (undocumented)
12    /// - On failure, responds with [`SdkError<GetCodeBindingSourceError>`](crate::operation::get_code_binding_source::GetCodeBindingSourceError)
13    pub fn get_code_binding_source(&self) -> crate::operation::get_code_binding_source::builders::GetCodeBindingSourceFluentBuilder {
14        crate::operation::get_code_binding_source::builders::GetCodeBindingSourceFluentBuilder::new(self.handle.clone())
15    }
16}