| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.IoTWireless.AssociateWirelessGatewayWithCertificate
Description
Associates a wireless gateway with a certificate.
Synopsis
- data AssociateWirelessGatewayWithCertificate = AssociateWirelessGatewayWithCertificate' {
- id :: Text
- iotCertificateId :: Text
- newAssociateWirelessGatewayWithCertificate :: Text -> Text -> AssociateWirelessGatewayWithCertificate
- associateWirelessGatewayWithCertificate_id :: Lens' AssociateWirelessGatewayWithCertificate Text
- associateWirelessGatewayWithCertificate_iotCertificateId :: Lens' AssociateWirelessGatewayWithCertificate Text
- data AssociateWirelessGatewayWithCertificateResponse = AssociateWirelessGatewayWithCertificateResponse' {}
- newAssociateWirelessGatewayWithCertificateResponse :: Int -> AssociateWirelessGatewayWithCertificateResponse
- associateWirelessGatewayWithCertificateResponse_iotCertificateId :: Lens' AssociateWirelessGatewayWithCertificateResponse (Maybe Text)
- associateWirelessGatewayWithCertificateResponse_httpStatus :: Lens' AssociateWirelessGatewayWithCertificateResponse Int
Creating a Request
data AssociateWirelessGatewayWithCertificate Source #
See: newAssociateWirelessGatewayWithCertificate smart constructor.
Constructors
| AssociateWirelessGatewayWithCertificate' | |
Fields
| |
Instances
newAssociateWirelessGatewayWithCertificate Source #
Arguments
| :: Text | |
| -> Text | |
| -> AssociateWirelessGatewayWithCertificate |
Create a value of AssociateWirelessGatewayWithCertificate with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
AssociateWirelessGatewayWithCertificate, associateWirelessGatewayWithCertificate_id - The ID of the resource to update.
AssociateWirelessGatewayWithCertificate, associateWirelessGatewayWithCertificate_iotCertificateId - The ID of the certificate to associate with the wireless gateway.
Request Lenses
associateWirelessGatewayWithCertificate_id :: Lens' AssociateWirelessGatewayWithCertificate Text Source #
The ID of the resource to update.
associateWirelessGatewayWithCertificate_iotCertificateId :: Lens' AssociateWirelessGatewayWithCertificate Text Source #
The ID of the certificate to associate with the wireless gateway.
Destructuring the Response
data AssociateWirelessGatewayWithCertificateResponse Source #
See: newAssociateWirelessGatewayWithCertificateResponse smart constructor.
Constructors
| AssociateWirelessGatewayWithCertificateResponse' | |
Fields
| |
Instances
newAssociateWirelessGatewayWithCertificateResponse Source #
Arguments
| :: Int |
|
| -> AssociateWirelessGatewayWithCertificateResponse |
Create a value of AssociateWirelessGatewayWithCertificateResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
AssociateWirelessGatewayWithCertificate, associateWirelessGatewayWithCertificateResponse_iotCertificateId - The ID of the certificate associated with the wireless gateway.
$sel:httpStatus:AssociateWirelessGatewayWithCertificateResponse', associateWirelessGatewayWithCertificateResponse_httpStatus - The response's http status code.
Response Lenses
associateWirelessGatewayWithCertificateResponse_iotCertificateId :: Lens' AssociateWirelessGatewayWithCertificateResponse (Maybe Text) Source #
The ID of the certificate associated with the wireless gateway.
associateWirelessGatewayWithCertificateResponse_httpStatus :: Lens' AssociateWirelessGatewayWithCertificateResponse Int Source #
The response's http status code.