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 [`AssociateCustomerGateway`](crate::operation::associate_customer_gateway::builders::AssociateCustomerGatewayFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`customer_gateway_arn(impl Into<String>)`](crate::operation::associate_customer_gateway::builders::AssociateCustomerGatewayFluentBuilder::customer_gateway_arn) / [`set_customer_gateway_arn(Option<String>)`](crate::operation::associate_customer_gateway::builders::AssociateCustomerGatewayFluentBuilder::set_customer_gateway_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the customer gateway.</p><br>
    ///   - [`global_network_id(impl Into<String>)`](crate::operation::associate_customer_gateway::builders::AssociateCustomerGatewayFluentBuilder::global_network_id) / [`set_global_network_id(Option<String>)`](crate::operation::associate_customer_gateway::builders::AssociateCustomerGatewayFluentBuilder::set_global_network_id):<br>required: **true**<br><p>The ID of the global network.</p><br>
    ///   - [`device_id(impl Into<String>)`](crate::operation::associate_customer_gateway::builders::AssociateCustomerGatewayFluentBuilder::device_id) / [`set_device_id(Option<String>)`](crate::operation::associate_customer_gateway::builders::AssociateCustomerGatewayFluentBuilder::set_device_id):<br>required: **true**<br><p>The ID of the device.</p><br>
    ///   - [`link_id(impl Into<String>)`](crate::operation::associate_customer_gateway::builders::AssociateCustomerGatewayFluentBuilder::link_id) / [`set_link_id(Option<String>)`](crate::operation::associate_customer_gateway::builders::AssociateCustomerGatewayFluentBuilder::set_link_id):<br>required: **false**<br><p>The ID of the link.</p><br>
    /// - On success, responds with [`AssociateCustomerGatewayOutput`](crate::operation::associate_customer_gateway::AssociateCustomerGatewayOutput) with field(s):
    ///   - [`customer_gateway_association(Option<CustomerGatewayAssociation>)`](crate::operation::associate_customer_gateway::AssociateCustomerGatewayOutput::customer_gateway_association): <p>The customer gateway association.</p>
    /// - On failure, responds with [`SdkError<AssociateCustomerGatewayError>`](crate::operation::associate_customer_gateway::AssociateCustomerGatewayError)
    pub fn associate_customer_gateway(&self) -> crate::operation::associate_customer_gateway::builders::AssociateCustomerGatewayFluentBuilder {
        crate::operation::associate_customer_gateway::builders::AssociateCustomerGatewayFluentBuilder::new(self.handle.clone())
    }
}