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.CreateDevice

Description

Creates a new device in a global network. If you specify both a site ID and a location, the location of the site is used for visualization in the Network Manager console.

Synopsis

Creating a Request

data CreateDevice Source #

See: newCreateDevice smart constructor.

Constructors

CreateDevice' 

Fields

Instances

Instances details
Eq CreateDevice Source # 
Instance details

Defined in Amazonka.NetworkManager.CreateDevice

Show CreateDevice Source # 
Instance details

Defined in Amazonka.NetworkManager.CreateDevice

Generic CreateDevice Source # 
Instance details

Defined in Amazonka.NetworkManager.CreateDevice

Associated Types

type Rep CreateDevice :: Type -> Type #

NFData CreateDevice Source # 
Instance details

Defined in Amazonka.NetworkManager.CreateDevice

Methods

rnf :: CreateDevice -> () #

Hashable CreateDevice Source # 
Instance details

Defined in Amazonka.NetworkManager.CreateDevice

ToJSON CreateDevice Source # 
Instance details

Defined in Amazonka.NetworkManager.CreateDevice

AWSRequest CreateDevice Source # 
Instance details

Defined in Amazonka.NetworkManager.CreateDevice

Associated Types

type AWSResponse CreateDevice #

ToHeaders CreateDevice Source # 
Instance details

Defined in Amazonka.NetworkManager.CreateDevice

ToPath CreateDevice Source # 
Instance details

Defined in Amazonka.NetworkManager.CreateDevice

ToQuery CreateDevice Source # 
Instance details

Defined in Amazonka.NetworkManager.CreateDevice

type Rep CreateDevice Source # 
Instance details

Defined in Amazonka.NetworkManager.CreateDevice

type AWSResponse CreateDevice Source # 
Instance details

Defined in Amazonka.NetworkManager.CreateDevice

newCreateDevice Source #

Create a value of CreateDevice 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:CreateDevice', createDevice_vendor - The vendor of the device.

Length Constraints: Maximum length of 128 characters.

$sel:location:CreateDevice', createDevice_location - The location of the device.

$sel:aWSLocation:CreateDevice', createDevice_aWSLocation - The AWS location of the device.

$sel:model:CreateDevice', createDevice_model - The model of the device.

Length Constraints: Maximum length of 128 characters.

$sel:type':CreateDevice', createDevice_type - The type of the device.

$sel:serialNumber:CreateDevice', createDevice_serialNumber - The serial number of the device.

Length Constraints: Maximum length of 128 characters.

$sel:siteId:CreateDevice', createDevice_siteId - The ID of the site.

$sel:description:CreateDevice', createDevice_description - A description of the device.

Length Constraints: Maximum length of 256 characters.

$sel:tags:CreateDevice', createDevice_tags - The tags to apply to the resource during creation.

$sel:globalNetworkId:CreateDevice', createDevice_globalNetworkId - The ID of the global network.

Request Lenses

createDevice_vendor :: Lens' CreateDevice (Maybe Text) Source #

The vendor of the device.

Length Constraints: Maximum length of 128 characters.

createDevice_model :: Lens' CreateDevice (Maybe Text) Source #

The model of the device.

Length Constraints: Maximum length of 128 characters.

createDevice_type :: Lens' CreateDevice (Maybe Text) Source #

The type of the device.

createDevice_serialNumber :: Lens' CreateDevice (Maybe Text) Source #

The serial number of the device.

Length Constraints: Maximum length of 128 characters.

createDevice_description :: Lens' CreateDevice (Maybe Text) Source #

A description of the device.

Length Constraints: Maximum length of 256 characters.

createDevice_tags :: Lens' CreateDevice (Maybe [Tag]) Source #

The tags to apply to the resource during creation.

Destructuring the Response

data CreateDeviceResponse Source #

See: newCreateDeviceResponse smart constructor.

Constructors

CreateDeviceResponse' 

Fields

newCreateDeviceResponse Source #

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

$sel:httpStatus:CreateDeviceResponse', createDeviceResponse_httpStatus - The response's http status code.

Response Lenses