| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Location.UpdateMap
Description
Updates the specified properties of a given map resource.
Synopsis
- data UpdateMap = UpdateMap' {}
- newUpdateMap :: Text -> UpdateMap
- updateMap_description :: Lens' UpdateMap (Maybe Text)
- updateMap_pricingPlan :: Lens' UpdateMap (Maybe PricingPlan)
- updateMap_mapName :: Lens' UpdateMap Text
- data UpdateMapResponse = UpdateMapResponse' {
- httpStatus :: Int
- mapArn :: Text
- mapName :: Text
- updateTime :: ISO8601
- 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.
Constructors
| UpdateMap' | |
Fields
| |
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:
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.
Destructuring the Response
data UpdateMapResponse Source #
See: newUpdateMapResponse smart constructor.
Constructors
| UpdateMapResponse' | |
Fields
| |
Instances
Arguments
| :: 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: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.