aws_sdk_iotwireless/client/
associate_wireless_gateway_with_certificate.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 [`AssociateWirelessGatewayWithCertificate`](crate::operation::associate_wireless_gateway_with_certificate::builders::AssociateWirelessGatewayWithCertificateFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`id(impl Into<String>)`](crate::operation::associate_wireless_gateway_with_certificate::builders::AssociateWirelessGatewayWithCertificateFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::associate_wireless_gateway_with_certificate::builders::AssociateWirelessGatewayWithCertificateFluentBuilder::set_id):<br>required: **true**<br><p>The ID of the resource to update.</p><br>
7    ///   - [`iot_certificate_id(impl Into<String>)`](crate::operation::associate_wireless_gateway_with_certificate::builders::AssociateWirelessGatewayWithCertificateFluentBuilder::iot_certificate_id) / [`set_iot_certificate_id(Option<String>)`](crate::operation::associate_wireless_gateway_with_certificate::builders::AssociateWirelessGatewayWithCertificateFluentBuilder::set_iot_certificate_id):<br>required: **true**<br><p>The ID of the certificate to associate with the wireless gateway.</p><br>
8    /// - On success, responds with [`AssociateWirelessGatewayWithCertificateOutput`](crate::operation::associate_wireless_gateway_with_certificate::AssociateWirelessGatewayWithCertificateOutput) with field(s):
9    ///   - [`iot_certificate_id(Option<String>)`](crate::operation::associate_wireless_gateway_with_certificate::AssociateWirelessGatewayWithCertificateOutput::iot_certificate_id): <p>The ID of the certificate associated with the wireless gateway.</p>
10    /// - On failure, responds with [`SdkError<AssociateWirelessGatewayWithCertificateError>`](crate::operation::associate_wireless_gateway_with_certificate::AssociateWirelessGatewayWithCertificateError)
11    pub fn associate_wireless_gateway_with_certificate(
12        &self,
13    ) -> crate::operation::associate_wireless_gateway_with_certificate::builders::AssociateWirelessGatewayWithCertificateFluentBuilder {
14        crate::operation::associate_wireless_gateway_with_certificate::builders::AssociateWirelessGatewayWithCertificateFluentBuilder::new(
15            self.handle.clone(),
16        )
17    }
18}