libZSservicesZSamazonka-networkmanagerZSamazonka-networkmanager
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq UpdateDevice Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateDevice

Show UpdateDevice Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateDevice

Generic UpdateDevice Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateDevice

Associated Types

type Rep UpdateDevice :: Type -> Type #

NFData UpdateDevice Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateDevice

Methods

rnf :: UpdateDevice -> () #

Hashable UpdateDevice Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateDevice

ToJSON UpdateDevice Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateDevice

AWSRequest UpdateDevice Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateDevice

Associated Types

type AWSResponse 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

type Rep UpdateDevice Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateDevice

type AWSResponse 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:

$sel:vendor:UpdateDevice', updateDevice_vendor - The vendor of the device.

Length Constraints: Maximum length of 128 characters.

$sel:location:UpdateDevice', updateDevice_location - Undocumented member.

$sel:aWSLocation:UpdateDevice', updateDevice_aWSLocation - The AWS location of the device.

$sel:model:UpdateDevice', updateDevice_model - The model of the device.

Length Constraints: Maximum length of 128 characters.

$sel:type':UpdateDevice', updateDevice_type - The type of the device.

$sel:serialNumber:UpdateDevice', updateDevice_serialNumber - The serial number of the device.

Length Constraints: Maximum length of 128 characters.

$sel:siteId:UpdateDevice', updateDevice_siteId - The ID of the site.

$sel:description:UpdateDevice', updateDevice_description - A description of the device.

Length Constraints: Maximum length of 256 characters.

$sel:globalNetworkId:UpdateDevice', updateDevice_globalNetworkId - The ID of the global network.

$sel:deviceId:UpdateDevice', updateDevice_deviceId - The ID of the device.

Request Lenses

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

The vendor of the device.

Length Constraints: Maximum length of 128 characters.

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

The model of the device.

Length Constraints: Maximum length of 128 characters.

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

The type of the device.

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

The serial number of the device.

Length Constraints: Maximum length of 128 characters.

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

A description of the device.

Length Constraints: Maximum length of 256 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