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 device with the specified network profile.
Synopsis
- data AssociateDeviceWithNetworkProfile = AssociateDeviceWithNetworkProfile' {}
- newAssociateDeviceWithNetworkProfile :: Text -> Text -> AssociateDeviceWithNetworkProfile
- associateDeviceWithNetworkProfile_deviceArn :: Lens' AssociateDeviceWithNetworkProfile Text
- associateDeviceWithNetworkProfile_networkProfileArn :: Lens' AssociateDeviceWithNetworkProfile Text
- data AssociateDeviceWithNetworkProfileResponse = AssociateDeviceWithNetworkProfileResponse' {
- httpStatus :: Int
- newAssociateDeviceWithNetworkProfileResponse :: Int -> AssociateDeviceWithNetworkProfileResponse
- associateDeviceWithNetworkProfileResponse_httpStatus :: Lens' AssociateDeviceWithNetworkProfileResponse Int
Creating a Request
data AssociateDeviceWithNetworkProfile Source #
See: newAssociateDeviceWithNetworkProfile
smart constructor.
AssociateDeviceWithNetworkProfile' | |
|
Instances
newAssociateDeviceWithNetworkProfile Source #
Create a value of AssociateDeviceWithNetworkProfile
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:deviceArn:AssociateDeviceWithNetworkProfile'
, associateDeviceWithNetworkProfile_deviceArn
- The device ARN.
$sel:networkProfileArn:AssociateDeviceWithNetworkProfile'
, associateDeviceWithNetworkProfile_networkProfileArn
- The ARN of the network profile to associate with a device.
Request Lenses
associateDeviceWithNetworkProfile_deviceArn :: Lens' AssociateDeviceWithNetworkProfile Text Source #
The device ARN.
associateDeviceWithNetworkProfile_networkProfileArn :: Lens' AssociateDeviceWithNetworkProfile Text Source #
The ARN of the network profile to associate with a device.
Destructuring the Response
data AssociateDeviceWithNetworkProfileResponse Source #
See: newAssociateDeviceWithNetworkProfileResponse
smart constructor.
AssociateDeviceWithNetworkProfileResponse' | |
|
Instances
Eq AssociateDeviceWithNetworkProfileResponse Source # | |
Read AssociateDeviceWithNetworkProfileResponse Source # | |
Show AssociateDeviceWithNetworkProfileResponse Source # | |
Generic AssociateDeviceWithNetworkProfileResponse Source # | |
NFData AssociateDeviceWithNetworkProfileResponse Source # | |
type Rep AssociateDeviceWithNetworkProfileResponse Source # | |
Defined in Amazonka.AlexaBusiness.AssociateDeviceWithNetworkProfile type Rep AssociateDeviceWithNetworkProfileResponse = D1 ('MetaData "AssociateDeviceWithNetworkProfileResponse" "Amazonka.AlexaBusiness.AssociateDeviceWithNetworkProfile" "libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business" 'False) (C1 ('MetaCons "AssociateDeviceWithNetworkProfileResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newAssociateDeviceWithNetworkProfileResponse Source #
Create a value of AssociateDeviceWithNetworkProfileResponse
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:httpStatus:AssociateDeviceWithNetworkProfileResponse'
, associateDeviceWithNetworkProfileResponse_httpStatus
- The response's http status code.
Response Lenses
associateDeviceWithNetworkProfileResponse_httpStatus :: Lens' AssociateDeviceWithNetworkProfileResponse Int Source #
The response's http status code.