1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateWirelessGateway`](crate::operation::create_wireless_gateway::builders::CreateWirelessGatewayFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`name(impl Into<String>)`](crate::operation::create_wireless_gateway::builders::CreateWirelessGatewayFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_wireless_gateway::builders::CreateWirelessGatewayFluentBuilder::set_name):<br>required: **false**<br><p>The name of the new resource.</p><br>
    ///   - [`description(impl Into<String>)`](crate::operation::create_wireless_gateway::builders::CreateWirelessGatewayFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_wireless_gateway::builders::CreateWirelessGatewayFluentBuilder::set_description):<br>required: **false**<br><p>The description of the new resource.</p><br>
    ///   - [`lo_ra_wan(LoRaWanGateway)`](crate::operation::create_wireless_gateway::builders::CreateWirelessGatewayFluentBuilder::lo_ra_wan) / [`set_lo_ra_wan(Option<LoRaWanGateway>)`](crate::operation::create_wireless_gateway::builders::CreateWirelessGatewayFluentBuilder::set_lo_ra_wan):<br>required: **true**<br><p>The gateway configuration information to use to create the wireless gateway.</p><br>
    ///   - [`tags(Tag)`](crate::operation::create_wireless_gateway::builders::CreateWirelessGatewayFluentBuilder::tags) / [`set_tags(Option<Vec::<Tag>>)`](crate::operation::create_wireless_gateway::builders::CreateWirelessGatewayFluentBuilder::set_tags):<br>required: **false**<br><p>The tags to attach to the new wireless gateway. Tags are metadata that you can use to manage a resource.</p><br>
    ///   - [`client_request_token(impl Into<String>)`](crate::operation::create_wireless_gateway::builders::CreateWirelessGatewayFluentBuilder::client_request_token) / [`set_client_request_token(Option<String>)`](crate::operation::create_wireless_gateway::builders::CreateWirelessGatewayFluentBuilder::set_client_request_token):<br>required: **false**<br><p>Each resource must have a unique client request token. The client token is used to implement idempotency. It ensures that the request completes no more than one time. If you retry a request with the same token and the same parameters, the request will complete successfully. However, if you try to create a new resource using the same token but different parameters, an HTTP 409 conflict occurs. If you omit this value, AWS SDKs will automatically generate a unique client request. For more information about idempotency, see <a href="https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html">Ensuring idempotency in Amazon EC2 API requests</a>.</p><br>
    /// - On success, responds with [`CreateWirelessGatewayOutput`](crate::operation::create_wireless_gateway::CreateWirelessGatewayOutput) with field(s):
    ///   - [`arn(Option<String>)`](crate::operation::create_wireless_gateway::CreateWirelessGatewayOutput::arn): <p>The Amazon Resource Name of the new resource.</p>
    ///   - [`id(Option<String>)`](crate::operation::create_wireless_gateway::CreateWirelessGatewayOutput::id): <p>The ID of the new wireless gateway.</p>
    /// - On failure, responds with [`SdkError<CreateWirelessGatewayError>`](crate::operation::create_wireless_gateway::CreateWirelessGatewayError)
    pub fn create_wireless_gateway(&self) -> crate::operation::create_wireless_gateway::builders::CreateWirelessGatewayFluentBuilder {
        crate::operation::create_wireless_gateway::builders::CreateWirelessGatewayFluentBuilder::new(self.handle.clone())
    }
}