aws-sdk-mediaconnect 1.109.0

AWS SDK for AWS MediaConnect
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateGateway`](crate::operation::create_gateway::builders::CreateGatewayFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`egress_cidr_blocks(impl Into<String>)`](crate::operation::create_gateway::builders::CreateGatewayFluentBuilder::egress_cidr_blocks) / [`set_egress_cidr_blocks(Option<Vec::<String>>)`](crate::operation::create_gateway::builders::CreateGatewayFluentBuilder::set_egress_cidr_blocks):<br>required: **true**<br><p>The range of IP addresses that are allowed to contribute content or initiate output requests for flows communicating with this gateway. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.</p><br>
    ///   - [`name(impl Into<String>)`](crate::operation::create_gateway::builders::CreateGatewayFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_gateway::builders::CreateGatewayFluentBuilder::set_name):<br>required: **true**<br><p>The name of the gateway. This name can not be modified after the gateway is created.</p><br>
    ///   - [`networks(GatewayNetwork)`](crate::operation::create_gateway::builders::CreateGatewayFluentBuilder::networks) / [`set_networks(Option<Vec::<GatewayNetwork>>)`](crate::operation::create_gateway::builders::CreateGatewayFluentBuilder::set_networks):<br>required: **true**<br><p>The list of networks that you want to add to the gateway.</p><br>
    /// - On success, responds with [`CreateGatewayOutput`](crate::operation::create_gateway::CreateGatewayOutput) with field(s):
    ///   - [`gateway(Option<Gateway>)`](crate::operation::create_gateway::CreateGatewayOutput::gateway): <p>The gateway that you created.</p>
    /// - On failure, responds with [`SdkError<CreateGatewayError>`](crate::operation::create_gateway::CreateGatewayError)
    pub fn create_gateway(&self) -> crate::operation::create_gateway::builders::CreateGatewayFluentBuilder {
        crate::operation::create_gateway::builders::CreateGatewayFluentBuilder::new(self.handle.clone())
    }
}