amazonka-networkmanager-2.0: Amazon Network Manager SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.NetworkManager.UpdateDevice

Description

Updates the details for an existing device. To remove information for any of the parameters, specify an empty string.

Synopsis

Creating a Request

data UpdateDevice Source #

See: newUpdateDevice smart constructor.

Constructors

UpdateDevice' 

Fields

Instances

Instances details
ToJSON UpdateDevice Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateDevice

ToHeaders UpdateDevice Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateDevice

ToPath UpdateDevice Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateDevice

ToQuery UpdateDevice Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateDevice

AWSRequest UpdateDevice Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateDevice

Associated Types

type AWSResponse UpdateDevice #

Generic UpdateDevice Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateDevice

Associated Types

type Rep UpdateDevice :: Type -> Type #

Show UpdateDevice Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateDevice

NFData UpdateDevice Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateDevice

Methods

rnf :: UpdateDevice -> () #

Eq UpdateDevice Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateDevice

Hashable UpdateDevice Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateDevice

type AWSResponse UpdateDevice Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateDevice

type Rep UpdateDevice Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateDevice

newUpdateDevice Source #

Create a value of UpdateDevice 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:

UpdateDevice, updateDevice_aWSLocation - The Amazon Web Services location of the device, if applicable. For an on-premises device, you can omit this parameter.

UpdateDevice, updateDevice_description - A description of the device.

Constraints: Maximum length of 256 characters.

UpdateDevice, updateDevice_location - Undocumented member.

UpdateDevice, updateDevice_model - The model of the device.

Constraints: Maximum length of 128 characters.

UpdateDevice, updateDevice_serialNumber - The serial number of the device.

Constraints: Maximum length of 128 characters.

UpdateDevice, updateDevice_siteId - The ID of the site.

UpdateDevice, updateDevice_type - The type of the device.

UpdateDevice, updateDevice_vendor - The vendor of the device.

Constraints: Maximum length of 128 characters.

UpdateDevice, updateDevice_globalNetworkId - The ID of the global network.

UpdateDevice, updateDevice_deviceId - The ID of the device.

Request Lenses

updateDevice_aWSLocation :: Lens' UpdateDevice (Maybe AWSLocation) Source #

The Amazon Web Services location of the device, if applicable. For an on-premises device, you can omit this parameter.

updateDevice_description :: Lens' UpdateDevice (Maybe Text) Source #

A description of the device.

Constraints: Maximum length of 256 characters.

updateDevice_model :: Lens' UpdateDevice (Maybe Text) Source #

The model of the device.

Constraints: Maximum length of 128 characters.

updateDevice_serialNumber :: Lens' UpdateDevice (Maybe Text) Source #

The serial number of the device.

Constraints: Maximum length of 128 characters.

updateDevice_type :: Lens' UpdateDevice (Maybe Text) Source #

The type of the device.

updateDevice_vendor :: Lens' UpdateDevice (Maybe Text) Source #

The vendor of the device.

Constraints: Maximum length of 128 characters.

Destructuring the Response

data UpdateDeviceResponse Source #

See: newUpdateDeviceResponse smart constructor.

Constructors

UpdateDeviceResponse' 

Fields

newUpdateDeviceResponse Source #

Create a value of UpdateDeviceResponse 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:device:UpdateDeviceResponse', updateDeviceResponse_device - Information about the device.

$sel:httpStatus:UpdateDeviceResponse', updateDeviceResponse_httpStatus - The response's http status code.

Response Lenses