Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Updates the specified properties of a given map resource.
Synopsis
- data UpdateMap = UpdateMap' {}
- newUpdateMap :: Text -> UpdateMap
- updateMap_pricingPlan :: Lens' UpdateMap (Maybe PricingPlan)
- updateMap_description :: Lens' UpdateMap (Maybe Text)
- updateMap_mapName :: Lens' UpdateMap Text
- data UpdateMapResponse = UpdateMapResponse' {
- httpStatus :: Int
- mapArn :: Text
- mapName :: Text
- updateTime :: POSIX
- newUpdateMapResponse :: Int -> Text -> Text -> UTCTime -> UpdateMapResponse
- updateMapResponse_httpStatus :: Lens' UpdateMapResponse Int
- updateMapResponse_mapArn :: Lens' UpdateMapResponse Text
- updateMapResponse_mapName :: Lens' UpdateMapResponse Text
- updateMapResponse_updateTime :: Lens' UpdateMapResponse UTCTime
Creating a Request
See: newUpdateMap
smart constructor.
UpdateMap' | |
|
Instances
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.
Destructuring the Response
data UpdateMapResponse Source #
See: newUpdateMapResponse
smart constructor.
UpdateMapResponse' | |
|
Instances
:: Int | |
-> Text | |
-> Text | |
-> UTCTime | |
-> UpdateMapResponse |
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
.