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

Description

Updates a placement with the given attributes. To clear an attribute, pass an empty value (i.e., "").

Synopsis

Creating a Request

data UpdatePlacement Source #

See: newUpdatePlacement smart constructor.

Constructors

UpdatePlacement' 

Fields

Instances

Instances details
Eq UpdatePlacement Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.UpdatePlacement

Read UpdatePlacement Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.UpdatePlacement

Show UpdatePlacement Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.UpdatePlacement

Generic UpdatePlacement Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.UpdatePlacement

Associated Types

type Rep UpdatePlacement :: Type -> Type #

NFData UpdatePlacement Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.UpdatePlacement

Methods

rnf :: UpdatePlacement -> () #

Hashable UpdatePlacement Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.UpdatePlacement

ToJSON UpdatePlacement Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.UpdatePlacement

AWSRequest UpdatePlacement Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.UpdatePlacement

Associated Types

type AWSResponse UpdatePlacement #

ToHeaders UpdatePlacement Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.UpdatePlacement

ToPath UpdatePlacement Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.UpdatePlacement

ToQuery UpdatePlacement Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.UpdatePlacement

type Rep UpdatePlacement Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.UpdatePlacement

type Rep UpdatePlacement = D1 ('MetaData "UpdatePlacement" "Amazonka.IoT1ClickProjects.UpdatePlacement" "libZSservicesZSamazonka-iot1click-projectsZSamazonka-iot1click-projects" 'False) (C1 ('MetaCons "UpdatePlacement'" '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 UpdatePlacement Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.UpdatePlacement

newUpdatePlacement Source #

Create a value of UpdatePlacement 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:UpdatePlacement', updatePlacement_attributes - The user-defined object of attributes used to update the placement. The maximum number of key/value pairs is 50.

$sel:placementName:UpdatePlacement', updatePlacement_placementName - The name of the placement to update.

$sel:projectName:UpdatePlacement', updatePlacement_projectName - The name of the project containing the placement to be updated.

Request Lenses

updatePlacement_attributes :: Lens' UpdatePlacement (Maybe (HashMap Text Text)) Source #

The user-defined object of attributes used to update the placement. The maximum number of key/value pairs is 50.

updatePlacement_placementName :: Lens' UpdatePlacement Text Source #

The name of the placement to update.

updatePlacement_projectName :: Lens' UpdatePlacement Text Source #

The name of the project containing the placement to be updated.

Destructuring the Response

data UpdatePlacementResponse Source #

See: newUpdatePlacementResponse smart constructor.

Constructors

UpdatePlacementResponse' 

Fields

Instances

Instances details
Eq UpdatePlacementResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.UpdatePlacement

Read UpdatePlacementResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.UpdatePlacement

Show UpdatePlacementResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.UpdatePlacement

Generic UpdatePlacementResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.UpdatePlacement

Associated Types

type Rep UpdatePlacementResponse :: Type -> Type #

NFData UpdatePlacementResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.UpdatePlacement

Methods

rnf :: UpdatePlacementResponse -> () #

type Rep UpdatePlacementResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.UpdatePlacement

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

newUpdatePlacementResponse Source #

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

Response Lenses