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

Description

Creates an empty placement.

Synopsis

Creating a Request

data CreatePlacement Source #

See: newCreatePlacement smart constructor.

Constructors

CreatePlacement' 

Fields

Instances

Instances details
Eq CreatePlacement Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.CreatePlacement

Read CreatePlacement Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.CreatePlacement

Show CreatePlacement Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.CreatePlacement

Generic CreatePlacement Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.CreatePlacement

Associated Types

type Rep CreatePlacement :: Type -> Type #

NFData CreatePlacement Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.CreatePlacement

Methods

rnf :: CreatePlacement -> () #

Hashable CreatePlacement Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.CreatePlacement

ToJSON CreatePlacement Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.CreatePlacement

AWSRequest CreatePlacement Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.CreatePlacement

Associated Types

type AWSResponse CreatePlacement #

ToHeaders CreatePlacement Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.CreatePlacement

ToPath CreatePlacement Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.CreatePlacement

ToQuery CreatePlacement Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.CreatePlacement

type Rep CreatePlacement Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.CreatePlacement

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

Defined in Amazonka.IoT1ClickProjects.CreatePlacement

newCreatePlacement Source #

Create a value of CreatePlacement 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:attributes:CreatePlacement', createPlacement_attributes - Optional user-defined key/value pairs providing contextual data (such as location or function) for the placement.

$sel:placementName:CreatePlacement', createPlacement_placementName - The name of the placement to be created.

$sel:projectName:CreatePlacement', createPlacement_projectName - The name of the project in which to create the placement.

Request Lenses

createPlacement_attributes :: Lens' CreatePlacement (Maybe (HashMap Text Text)) Source #

Optional user-defined key/value pairs providing contextual data (such as location or function) for the placement.

createPlacement_placementName :: Lens' CreatePlacement Text Source #

The name of the placement to be created.

createPlacement_projectName :: Lens' CreatePlacement Text Source #

The name of the project in which to create the placement.

Destructuring the Response

data CreatePlacementResponse Source #

See: newCreatePlacementResponse smart constructor.

Constructors

CreatePlacementResponse' 

Fields

Instances

Instances details
Eq CreatePlacementResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.CreatePlacement

Read CreatePlacementResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.CreatePlacement

Show CreatePlacementResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.CreatePlacement

Generic CreatePlacementResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.CreatePlacement

Associated Types

type Rep CreatePlacementResponse :: Type -> Type #

NFData CreatePlacementResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.CreatePlacement

Methods

rnf :: CreatePlacementResponse -> () #

type Rep CreatePlacementResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.CreatePlacement

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

newCreatePlacementResponse Source #

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

Response Lenses