libZSservicesZSamazonka-locationZSamazonka-location
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.Location.UpdateMap

Description

Updates the specified properties of a given map resource.

Synopsis

Creating a Request

data UpdateMap Source #

See: newUpdateMap smart constructor.

Constructors

UpdateMap' 

Fields

Instances

Instances details
Eq UpdateMap Source # 
Instance details

Defined in Amazonka.Location.UpdateMap

Read UpdateMap Source # 
Instance details

Defined in Amazonka.Location.UpdateMap

Show UpdateMap Source # 
Instance details

Defined in Amazonka.Location.UpdateMap

Generic UpdateMap Source # 
Instance details

Defined in Amazonka.Location.UpdateMap

Associated Types

type Rep UpdateMap :: Type -> Type #

NFData UpdateMap Source # 
Instance details

Defined in Amazonka.Location.UpdateMap

Methods

rnf :: UpdateMap -> () #

Hashable UpdateMap Source # 
Instance details

Defined in Amazonka.Location.UpdateMap

ToJSON UpdateMap Source # 
Instance details

Defined in Amazonka.Location.UpdateMap

AWSRequest UpdateMap Source # 
Instance details

Defined in Amazonka.Location.UpdateMap

Associated Types

type AWSResponse UpdateMap #

ToHeaders UpdateMap Source # 
Instance details

Defined in Amazonka.Location.UpdateMap

Methods

toHeaders :: UpdateMap -> [Header] #

ToPath UpdateMap Source # 
Instance details

Defined in Amazonka.Location.UpdateMap

ToQuery UpdateMap Source # 
Instance details

Defined in Amazonka.Location.UpdateMap

type Rep UpdateMap Source # 
Instance details

Defined in Amazonka.Location.UpdateMap

type Rep UpdateMap = D1 ('MetaData "UpdateMap" "Amazonka.Location.UpdateMap" "libZSservicesZSamazonka-locationZSamazonka-location" 'False) (C1 ('MetaCons "UpdateMap'" 'PrefixI 'True) (S1 ('MetaSel ('Just "pricingPlan") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PricingPlan)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "mapName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdateMap Source # 
Instance details

Defined in Amazonka.Location.UpdateMap

newUpdateMap Source #

Create a value of UpdateMap 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:pricingPlan:UpdateMap', updateMap_pricingPlan - Updates the pricing plan for the map resource.

For more information about each pricing plan option restrictions, see Amazon Location Service pricing.

$sel:description:UpdateMap', updateMap_description - Updates the description for the map resource.

$sel:mapName:UpdateMap', updateMap_mapName - The name of the map resource to update.

Request Lenses

updateMap_pricingPlan :: Lens' UpdateMap (Maybe PricingPlan) Source #

Updates the pricing plan for the map resource.

For more information about each pricing plan option restrictions, see Amazon Location Service pricing.

updateMap_description :: Lens' UpdateMap (Maybe Text) Source #

Updates the description for the map resource.

updateMap_mapName :: Lens' UpdateMap Text Source #

The name of the map resource to update.

Destructuring the Response

data UpdateMapResponse Source #

See: newUpdateMapResponse smart constructor.

Constructors

UpdateMapResponse' 

Fields

  • httpStatus :: Int

    The response's http status code.

  • mapArn :: Text

    The Amazon Resource Name (ARN) of the updated map resource. Used to specify a resource across AWS.

    • Format example: arn:aws:geo:region:account-id:maps/ExampleMap
  • mapName :: Text

    The name of the updated map resource.

  • updateTime :: POSIX

    The timestamp for when the map resource was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

Instances

Instances details
Eq UpdateMapResponse Source # 
Instance details

Defined in Amazonka.Location.UpdateMap

Read UpdateMapResponse Source # 
Instance details

Defined in Amazonka.Location.UpdateMap

Show UpdateMapResponse Source # 
Instance details

Defined in Amazonka.Location.UpdateMap

Generic UpdateMapResponse Source # 
Instance details

Defined in Amazonka.Location.UpdateMap

Associated Types

type Rep UpdateMapResponse :: Type -> Type #

NFData UpdateMapResponse Source # 
Instance details

Defined in Amazonka.Location.UpdateMap

Methods

rnf :: UpdateMapResponse -> () #

type Rep UpdateMapResponse Source # 
Instance details

Defined in Amazonka.Location.UpdateMap

type Rep UpdateMapResponse = D1 ('MetaData "UpdateMapResponse" "Amazonka.Location.UpdateMap" "libZSservicesZSamazonka-locationZSamazonka-location" 'False) (C1 ('MetaCons "UpdateMapResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "mapArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "mapName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "updateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX))))

newUpdateMapResponse Source #

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

$sel:mapArn:UpdateMapResponse', updateMapResponse_mapArn - The Amazon Resource Name (ARN) of the updated map resource. Used to specify a resource across AWS.

  • Format example: arn:aws:geo:region:account-id:maps/ExampleMap

$sel:mapName:UpdateMap', updateMapResponse_mapName - The name of the updated map resource.

$sel:updateTime:UpdateMapResponse', updateMapResponse_updateTime - The timestamp for when the map resource was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

Response Lenses

updateMapResponse_httpStatus :: Lens' UpdateMapResponse Int Source #

The response's http status code.

updateMapResponse_mapArn :: Lens' UpdateMapResponse Text Source #

The Amazon Resource Name (ARN) of the updated map resource. Used to specify a resource across AWS.

  • Format example: arn:aws:geo:region:account-id:maps/ExampleMap

updateMapResponse_mapName :: Lens' UpdateMapResponse Text Source #

The name of the updated map resource.

updateMapResponse_updateTime :: Lens' UpdateMapResponse UTCTime Source #

The timestamp for when the map resource was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.