Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
AssociateWirelessGatewayWithCertificate' | |
|
Instances
newAssociateWirelessGatewayWithCertificate Source #
:: 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:
$sel:id:AssociateWirelessGatewayWithCertificate'
, associateWirelessGatewayWithCertificate_id
- The ID of the resource to update.
$sel:iotCertificateId: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.
AssociateWirelessGatewayWithCertificateResponse' | |
|
Instances
newAssociateWirelessGatewayWithCertificateResponse Source #
:: 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:
$sel:iotCertificateId: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.