aws-sdk-medialive 1.89.0

AWS SDK for AWS Elemental MediaLive
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateSdiSource`](crate::operation::create_sdi_source::builders::CreateSdiSourceFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`mode(SdiSourceMode)`](crate::operation::create_sdi_source::builders::CreateSdiSourceFluentBuilder::mode) / [`set_mode(Option<SdiSourceMode>)`](crate::operation::create_sdi_source::builders::CreateSdiSourceFluentBuilder::set_mode):<br>required: **false**<br>Applies only if the type is QUAD. Specify the mode for handling the quad-link signal: QUADRANT or INTERLEAVE.<br>
    ///   - [`name(impl Into<String>)`](crate::operation::create_sdi_source::builders::CreateSdiSourceFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_sdi_source::builders::CreateSdiSourceFluentBuilder::set_name):<br>required: **false**<br>Specify a name that is unique in the AWS account. We recommend you assign a name that describes the source, for example curling-cameraA. Names are case-sensitive.<br>
    ///   - [`request_id(impl Into<String>)`](crate::operation::create_sdi_source::builders::CreateSdiSourceFluentBuilder::request_id) / [`set_request_id(Option<String>)`](crate::operation::create_sdi_source::builders::CreateSdiSourceFluentBuilder::set_request_id):<br>required: **false**<br>An ID that you assign to a create request. This ID ensures idempotency when creating resources.<br>
    ///   - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_sdi_source::builders::CreateSdiSourceFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_sdi_source::builders::CreateSdiSourceFluentBuilder::set_tags):<br>required: **false**<br>A collection of key-value pairs.<br>
    ///   - [`r#type(SdiSourceType)`](crate::operation::create_sdi_source::builders::CreateSdiSourceFluentBuilder::type) / [`set_type(Option<SdiSourceType>)`](crate::operation::create_sdi_source::builders::CreateSdiSourceFluentBuilder::set_type):<br>required: **false**<br>Specify the type of the SDI source: SINGLE: The source is a single-link source. QUAD: The source is one part of a quad-link source.<br>
    /// - On success, responds with [`CreateSdiSourceOutput`](crate::operation::create_sdi_source::CreateSdiSourceOutput) with field(s):
    ///   - [`sdi_source(Option<SdiSource>)`](crate::operation::create_sdi_source::CreateSdiSourceOutput::sdi_source): Settings for the SDI source.
    /// - On failure, responds with [`SdkError<CreateSdiSourceError>`](crate::operation::create_sdi_source::CreateSdiSourceError)
    pub fn create_sdi_source(&self) -> crate::operation::create_sdi_source::builders::CreateSdiSourceFluentBuilder {
        crate::operation::create_sdi_source::builders::CreateSdiSourceFluentBuilder::new(self.handle.clone())
    }
}