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 |
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:
AssociateDeviceWithNetworkProfile
, associateDeviceWithNetworkProfile_deviceArn
- The device ARN.
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
Generic AssociateDeviceWithNetworkProfileResponse Source # | |
Read AssociateDeviceWithNetworkProfileResponse Source # | |
Show AssociateDeviceWithNetworkProfileResponse Source # | |
NFData AssociateDeviceWithNetworkProfileResponse Source # | |
Eq AssociateDeviceWithNetworkProfileResponse Source # | |
type Rep AssociateDeviceWithNetworkProfileResponse Source # | |
Defined in Amazonka.AlexaBusiness.AssociateDeviceWithNetworkProfile type Rep AssociateDeviceWithNetworkProfileResponse = D1 ('MetaData "AssociateDeviceWithNetworkProfileResponse" "Amazonka.AlexaBusiness.AssociateDeviceWithNetworkProfile" "amazonka-alexa-business-2.0-BWvKfxFukoyBarGovAkdOS" '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.