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 |
Amazonka.AlexaBusiness.AssociateDeviceWithNetworkProfile
Description
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.
Constructors
AssociateDeviceWithNetworkProfile' | |
Fields
|
Instances
newAssociateDeviceWithNetworkProfile Source #
Arguments
:: Text | |
-> Text | |
-> AssociateDeviceWithNetworkProfile |
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.
Constructors
AssociateDeviceWithNetworkProfileResponse' | |
Fields
|
Instances
newAssociateDeviceWithNetworkProfileResponse Source #
Arguments
:: Int | |
-> AssociateDeviceWithNetworkProfileResponse |
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.