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 place index resource.
Synopsis
- data UpdatePlaceIndex = UpdatePlaceIndex' {}
- newUpdatePlaceIndex :: Text -> UpdatePlaceIndex
- updatePlaceIndex_pricingPlan :: Lens' UpdatePlaceIndex (Maybe PricingPlan)
- updatePlaceIndex_dataSourceConfiguration :: Lens' UpdatePlaceIndex (Maybe DataSourceConfiguration)
- updatePlaceIndex_description :: Lens' UpdatePlaceIndex (Maybe Text)
- updatePlaceIndex_indexName :: Lens' UpdatePlaceIndex Text
- data UpdatePlaceIndexResponse = UpdatePlaceIndexResponse' {
- httpStatus :: Int
- indexArn :: Text
- indexName :: Text
- updateTime :: POSIX
- 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.
UpdatePlaceIndex' | |
|
Instances
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:pricingPlan:UpdatePlaceIndex'
, updatePlaceIndex_pricingPlan
- Updates the pricing plan for the place index resource.
For more information about each pricing plan option restrictions, see Amazon Location Service pricing.
$sel:dataSourceConfiguration:UpdatePlaceIndex'
, updatePlaceIndex_dataSourceConfiguration
- Updates the data storage option for the place index resource.
$sel:description:UpdatePlaceIndex'
, updatePlaceIndex_description
- Updates the description for the place index resource.
$sel:indexName:UpdatePlaceIndex'
, updatePlaceIndex_indexName
- The name of the place index resource to update.
Request Lenses
updatePlaceIndex_pricingPlan :: Lens' UpdatePlaceIndex (Maybe PricingPlan) Source #
Updates the pricing plan for the place index resource.
For more information about each pricing plan option restrictions, see Amazon Location Service pricing.
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_indexName :: Lens' UpdatePlaceIndex Text Source #
The name of the place index resource to update.
Destructuring the Response
data UpdatePlaceIndexResponse Source #
See: newUpdatePlaceIndexResponse
smart constructor.
UpdatePlaceIndexResponse' | |
|
Instances
newUpdatePlaceIndexResponse Source #
:: 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
$sel:indexName:UpdatePlaceIndex'
, updatePlaceIndexResponse_indexName
- The name of the updated place index resource.
$sel:updateTime: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
.