libZSservicesZSamazonka-iot1click-projectsZSamazonka-iot1click-projects
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.IoT1ClickProjects.AssociateDeviceWithPlacement

Description

Associates a physical device with a placement.

Synopsis

Creating a Request

data AssociateDeviceWithPlacement Source #

See: newAssociateDeviceWithPlacement smart constructor.

Constructors

AssociateDeviceWithPlacement' 

Fields

  • projectName :: Text

    The name of the project containing the placement in which to associate the device.

  • placementName :: Text

    The name of the placement in which to associate the device.

  • deviceId :: Text

    The ID of the physical device to be associated with the given placement in the project. Note that a mandatory 4 character prefix is required for all deviceId values.

  • deviceTemplateName :: Text

    The device template name to associate with the device ID.

Instances

Instances details
Eq AssociateDeviceWithPlacement Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.AssociateDeviceWithPlacement

Read AssociateDeviceWithPlacement Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.AssociateDeviceWithPlacement

Show AssociateDeviceWithPlacement Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.AssociateDeviceWithPlacement

Generic AssociateDeviceWithPlacement Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.AssociateDeviceWithPlacement

Associated Types

type Rep AssociateDeviceWithPlacement :: Type -> Type #

NFData AssociateDeviceWithPlacement Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.AssociateDeviceWithPlacement

Hashable AssociateDeviceWithPlacement Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.AssociateDeviceWithPlacement

ToJSON AssociateDeviceWithPlacement Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.AssociateDeviceWithPlacement

AWSRequest AssociateDeviceWithPlacement Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.AssociateDeviceWithPlacement

ToHeaders AssociateDeviceWithPlacement Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.AssociateDeviceWithPlacement

ToPath AssociateDeviceWithPlacement Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.AssociateDeviceWithPlacement

ToQuery AssociateDeviceWithPlacement Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.AssociateDeviceWithPlacement

type Rep AssociateDeviceWithPlacement Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.AssociateDeviceWithPlacement

type Rep AssociateDeviceWithPlacement = D1 ('MetaData "AssociateDeviceWithPlacement" "Amazonka.IoT1ClickProjects.AssociateDeviceWithPlacement" "libZSservicesZSamazonka-iot1click-projectsZSamazonka-iot1click-projects" 'False) (C1 ('MetaCons "AssociateDeviceWithPlacement'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "projectName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "placementName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "deviceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "deviceTemplateName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse AssociateDeviceWithPlacement Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.AssociateDeviceWithPlacement

newAssociateDeviceWithPlacement Source #

Create a value of AssociateDeviceWithPlacement 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:projectName:AssociateDeviceWithPlacement', associateDeviceWithPlacement_projectName - The name of the project containing the placement in which to associate the device.

$sel:placementName:AssociateDeviceWithPlacement', associateDeviceWithPlacement_placementName - The name of the placement in which to associate the device.

$sel:deviceId:AssociateDeviceWithPlacement', associateDeviceWithPlacement_deviceId - The ID of the physical device to be associated with the given placement in the project. Note that a mandatory 4 character prefix is required for all deviceId values.

$sel:deviceTemplateName:AssociateDeviceWithPlacement', associateDeviceWithPlacement_deviceTemplateName - The device template name to associate with the device ID.

Request Lenses

associateDeviceWithPlacement_projectName :: Lens' AssociateDeviceWithPlacement Text Source #

The name of the project containing the placement in which to associate the device.

associateDeviceWithPlacement_placementName :: Lens' AssociateDeviceWithPlacement Text Source #

The name of the placement in which to associate the device.

associateDeviceWithPlacement_deviceId :: Lens' AssociateDeviceWithPlacement Text Source #

The ID of the physical device to be associated with the given placement in the project. Note that a mandatory 4 character prefix is required for all deviceId values.

associateDeviceWithPlacement_deviceTemplateName :: Lens' AssociateDeviceWithPlacement Text Source #

The device template name to associate with the device ID.

Destructuring the Response

data AssociateDeviceWithPlacementResponse Source #

Constructors

AssociateDeviceWithPlacementResponse' 

Fields

Instances

Instances details
Eq AssociateDeviceWithPlacementResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.AssociateDeviceWithPlacement

Read AssociateDeviceWithPlacementResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.AssociateDeviceWithPlacement

Show AssociateDeviceWithPlacementResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.AssociateDeviceWithPlacement

Generic AssociateDeviceWithPlacementResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.AssociateDeviceWithPlacement

NFData AssociateDeviceWithPlacementResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.AssociateDeviceWithPlacement

type Rep AssociateDeviceWithPlacementResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.AssociateDeviceWithPlacement

type Rep AssociateDeviceWithPlacementResponse = D1 ('MetaData "AssociateDeviceWithPlacementResponse" "Amazonka.IoT1ClickProjects.AssociateDeviceWithPlacement" "libZSservicesZSamazonka-iot1click-projectsZSamazonka-iot1click-projects" 'False) (C1 ('MetaCons "AssociateDeviceWithPlacementResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newAssociateDeviceWithPlacementResponse Source #

Create a value of AssociateDeviceWithPlacementResponse 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:AssociateDeviceWithPlacementResponse', associateDeviceWithPlacementResponse_httpStatus - The response's http status code.

Response Lenses