amazonka-location-2.0: Amazon Location Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
ToJSON UpdateMap Source # 
Instance details

Defined in Amazonka.Location.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

AWSRequest UpdateMap Source # 
Instance details

Defined in Amazonka.Location.UpdateMap

Associated Types

type AWSResponse UpdateMap #

Generic UpdateMap Source # 
Instance details

Defined in Amazonka.Location.UpdateMap

Associated Types

type Rep UpdateMap :: Type -> Type #

Read UpdateMap Source # 
Instance details

Defined in Amazonka.Location.UpdateMap

Show UpdateMap Source # 
Instance details

Defined in Amazonka.Location.UpdateMap

NFData UpdateMap Source # 
Instance details

Defined in Amazonka.Location.UpdateMap

Methods

rnf :: UpdateMap -> () #

Eq UpdateMap Source # 
Instance details

Defined in Amazonka.Location.UpdateMap

Hashable UpdateMap Source # 
Instance details

Defined in Amazonka.Location.UpdateMap

type AWSResponse 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" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'False) (C1 ('MetaCons "UpdateMap'" 'PrefixI 'True) (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "pricingPlan") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PricingPlan)) :*: S1 ('MetaSel ('Just "mapName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newUpdateMap Source #

Arguments

:: Text

UpdateMap

-> UpdateMap 

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:

UpdateMap, updateMap_description - Updates the description for the map resource.

UpdateMap, updateMap_pricingPlan - No longer used. If included, the only allowed value is RequestBasedUsage.

UpdateMap, updateMap_mapName - The name of the map resource to update.

Request Lenses

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

Updates the description for the map resource.

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

No longer used. If included, the only allowed value is RequestBasedUsage.

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:map/ExampleMap
  • mapName :: Text

    The name of the updated map resource.

  • updateTime :: ISO8601

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

Instances

Instances details
Generic UpdateMapResponse Source # 
Instance details

Defined in Amazonka.Location.UpdateMap

Associated Types

type Rep UpdateMapResponse :: Type -> Type #

Read UpdateMapResponse Source # 
Instance details

Defined in Amazonka.Location.UpdateMap

Show UpdateMapResponse Source # 
Instance details

Defined in Amazonka.Location.UpdateMap

NFData UpdateMapResponse Source # 
Instance details

Defined in Amazonka.Location.UpdateMap

Methods

rnf :: UpdateMapResponse -> () #

Eq UpdateMapResponse Source # 
Instance details

Defined in Amazonka.Location.UpdateMap

type Rep UpdateMapResponse Source # 
Instance details

Defined in Amazonka.Location.UpdateMap

type Rep UpdateMapResponse = D1 ('MetaData "UpdateMapResponse" "Amazonka.Location.UpdateMap" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" '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 ISO8601))))

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:map/ExampleMap

UpdateMap, updateMapResponse_mapName - The name of the updated map resource.

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:map/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.