| 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.UpdatePlaceIndex
Description
Updates the specified properties of a given place index resource.
Synopsis
- data UpdatePlaceIndex = UpdatePlaceIndex' {}
- newUpdatePlaceIndex :: Text -> UpdatePlaceIndex
- updatePlaceIndex_dataSourceConfiguration :: Lens' UpdatePlaceIndex (Maybe DataSourceConfiguration)
- updatePlaceIndex_description :: Lens' UpdatePlaceIndex (Maybe Text)
- updatePlaceIndex_pricingPlan :: Lens' UpdatePlaceIndex (Maybe PricingPlan)
- updatePlaceIndex_indexName :: Lens' UpdatePlaceIndex Text
- data UpdatePlaceIndexResponse = UpdatePlaceIndexResponse' {
- httpStatus :: Int
- indexArn :: Text
- indexName :: Text
- updateTime :: ISO8601
- newUpdatePlaceIndexResponse :: Int -> Text -> Text -> UTCTime -> UpdatePlaceIndexResponse
- updatePlaceIndexResponse_httpStatus :: Lens' UpdatePlaceIndexResponse Int
- updatePlaceIndexResponse_indexArn :: Lens' UpdatePlaceIndexResponse Text
- updatePlaceIndexResponse_indexName :: Lens' UpdatePlaceIndexResponse Text
- updatePlaceIndexResponse_updateTime :: Lens' UpdatePlaceIndexResponse UTCTime
Creating a Request
data UpdatePlaceIndex Source #
See: newUpdatePlaceIndex smart constructor.
Constructors
| UpdatePlaceIndex' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> UpdatePlaceIndex |
Create a value of UpdatePlaceIndex 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:dataSourceConfiguration:UpdatePlaceIndex', updatePlaceIndex_dataSourceConfiguration - Updates the data storage option for the place index resource.
UpdatePlaceIndex, updatePlaceIndex_description - Updates the description for the place index resource.
UpdatePlaceIndex, updatePlaceIndex_pricingPlan - No longer used. If included, the only allowed value is
RequestBasedUsage.
UpdatePlaceIndex, updatePlaceIndex_indexName - The name of the place index resource to update.
Request Lenses
updatePlaceIndex_dataSourceConfiguration :: Lens' UpdatePlaceIndex (Maybe DataSourceConfiguration) Source #
Updates the data storage option for the place index resource.
updatePlaceIndex_description :: Lens' UpdatePlaceIndex (Maybe Text) Source #
Updates the description for the place index resource.
updatePlaceIndex_pricingPlan :: Lens' UpdatePlaceIndex (Maybe PricingPlan) Source #
No longer used. If included, the only allowed value is
RequestBasedUsage.
updatePlaceIndex_indexName :: Lens' UpdatePlaceIndex Text Source #
The name of the place index resource to update.
Destructuring the Response
data UpdatePlaceIndexResponse Source #
See: newUpdatePlaceIndexResponse smart constructor.
Constructors
| UpdatePlaceIndexResponse' | |
Fields
| |
Instances
newUpdatePlaceIndexResponse Source #
Arguments
| :: Int | |
| -> Text | |
| -> Text | |
| -> UTCTime | |
| -> UpdatePlaceIndexResponse |
Create a value of UpdatePlaceIndexResponse 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:UpdatePlaceIndexResponse', updatePlaceIndexResponse_httpStatus - The response's http status code.
$sel:indexArn:UpdatePlaceIndexResponse', updatePlaceIndexResponse_indexArn - The Amazon Resource Name (ARN) of the upated place index resource. Used
to specify a resource across AWS.
- Format example:
arn:aws:geo:region:account-id:place- index/ExamplePlaceIndex
UpdatePlaceIndex, updatePlaceIndexResponse_indexName - The name of the updated place index resource.
UpdatePlaceIndexResponse, updatePlaceIndexResponse_updateTime - The timestamp for when the place index resource was last updated in
ISO 8601
format: YYYY-MM-DDThh:mm:ss.sssZ.
Response Lenses
updatePlaceIndexResponse_httpStatus :: Lens' UpdatePlaceIndexResponse Int Source #
The response's http status code.
updatePlaceIndexResponse_indexArn :: Lens' UpdatePlaceIndexResponse Text Source #
The Amazon Resource Name (ARN) of the upated place index resource. Used to specify a resource across AWS.
- Format example:
arn:aws:geo:region:account-id:place- index/ExamplePlaceIndex
updatePlaceIndexResponse_indexName :: Lens' UpdatePlaceIndexResponse Text Source #
The name of the updated place index resource.
updatePlaceIndexResponse_updateTime :: Lens' UpdatePlaceIndexResponse UTCTime Source #
The timestamp for when the place index resource was last updated in
ISO 8601
format: YYYY-MM-DDThh:mm:ss.sssZ.