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 geofence collection.
Synopsis
- data UpdateGeofenceCollection = UpdateGeofenceCollection' {}
- newUpdateGeofenceCollection :: Text -> UpdateGeofenceCollection
- updateGeofenceCollection_pricingPlan :: Lens' UpdateGeofenceCollection (Maybe PricingPlan)
- updateGeofenceCollection_pricingPlanDataSource :: Lens' UpdateGeofenceCollection (Maybe Text)
- updateGeofenceCollection_description :: Lens' UpdateGeofenceCollection (Maybe Text)
- updateGeofenceCollection_collectionName :: Lens' UpdateGeofenceCollection Text
- data UpdateGeofenceCollectionResponse = UpdateGeofenceCollectionResponse' {
- httpStatus :: Int
- collectionArn :: Text
- collectionName :: Text
- updateTime :: POSIX
- newUpdateGeofenceCollectionResponse :: Int -> Text -> Text -> UTCTime -> UpdateGeofenceCollectionResponse
- updateGeofenceCollectionResponse_httpStatus :: Lens' UpdateGeofenceCollectionResponse Int
- updateGeofenceCollectionResponse_collectionArn :: Lens' UpdateGeofenceCollectionResponse Text
- updateGeofenceCollectionResponse_collectionName :: Lens' UpdateGeofenceCollectionResponse Text
- updateGeofenceCollectionResponse_updateTime :: Lens' UpdateGeofenceCollectionResponse UTCTime
Creating a Request
data UpdateGeofenceCollection Source #
See: newUpdateGeofenceCollection
smart constructor.
UpdateGeofenceCollection' | |
|
Instances
newUpdateGeofenceCollection Source #
Create a value of UpdateGeofenceCollection
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:UpdateGeofenceCollection'
, updateGeofenceCollection_pricingPlan
- Updates the pricing plan for the geofence collection.
For more information about each pricing plan option restrictions, see Amazon Location Service pricing.
$sel:pricingPlanDataSource:UpdateGeofenceCollection'
, updateGeofenceCollection_pricingPlanDataSource
- Updates the data provider for the geofence collection.
A required value for the following pricing plans: MobileAssetTracking
|
MobileAssetManagement
For more information about data providers and pricing plans, see the Amazon Location Service product page.
This can only be updated when updating the PricingPlan
in the same
request.
Amazon Location Service uses PricingPlanDataSource
to calculate
billing for your geofence collection. Your data won't be shared with
the data provider, and will remain in your AWS account and Region unless
you move it.
$sel:description:UpdateGeofenceCollection'
, updateGeofenceCollection_description
- Updates the description for the geofence collection.
$sel:collectionName:UpdateGeofenceCollection'
, updateGeofenceCollection_collectionName
- The name of the geofence collection to update.
Request Lenses
updateGeofenceCollection_pricingPlan :: Lens' UpdateGeofenceCollection (Maybe PricingPlan) Source #
Updates the pricing plan for the geofence collection.
For more information about each pricing plan option restrictions, see Amazon Location Service pricing.
updateGeofenceCollection_pricingPlanDataSource :: Lens' UpdateGeofenceCollection (Maybe Text) Source #
Updates the data provider for the geofence collection.
A required value for the following pricing plans: MobileAssetTracking
|
MobileAssetManagement
For more information about data providers and pricing plans, see the Amazon Location Service product page.
This can only be updated when updating the PricingPlan
in the same
request.
Amazon Location Service uses PricingPlanDataSource
to calculate
billing for your geofence collection. Your data won't be shared with
the data provider, and will remain in your AWS account and Region unless
you move it.
updateGeofenceCollection_description :: Lens' UpdateGeofenceCollection (Maybe Text) Source #
Updates the description for the geofence collection.
updateGeofenceCollection_collectionName :: Lens' UpdateGeofenceCollection Text Source #
The name of the geofence collection to update.
Destructuring the Response
data UpdateGeofenceCollectionResponse Source #
See: newUpdateGeofenceCollectionResponse
smart constructor.
UpdateGeofenceCollectionResponse' | |
|
Instances
newUpdateGeofenceCollectionResponse Source #
:: Int | |
-> Text | |
-> Text | |
-> UTCTime | |
-> UpdateGeofenceCollectionResponse |
Create a value of UpdateGeofenceCollectionResponse
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:UpdateGeofenceCollectionResponse'
, updateGeofenceCollectionResponse_httpStatus
- The response's http status code.
$sel:collectionArn:UpdateGeofenceCollectionResponse'
, updateGeofenceCollectionResponse_collectionArn
- The Amazon Resource Name (ARN) of the updated geofence collection. Used
to specify a resource across AWS.
- Format example:
arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollection
$sel:collectionName:UpdateGeofenceCollection'
, updateGeofenceCollectionResponse_collectionName
- The name of the updated geofence collection.
$sel:updateTime:UpdateGeofenceCollectionResponse'
, updateGeofenceCollectionResponse_updateTime
- The time when the geofence collection was last updated in
ISO 8601
format: YYYY-MM-DDThh:mm:ss.sssZ
Response Lenses
updateGeofenceCollectionResponse_httpStatus :: Lens' UpdateGeofenceCollectionResponse Int Source #
The response's http status code.
updateGeofenceCollectionResponse_collectionArn :: Lens' UpdateGeofenceCollectionResponse Text Source #
The Amazon Resource Name (ARN) of the updated geofence collection. Used to specify a resource across AWS.
- Format example:
arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollection
updateGeofenceCollectionResponse_collectionName :: Lens' UpdateGeofenceCollectionResponse Text Source #
The name of the updated geofence collection.
updateGeofenceCollectionResponse_updateTime :: Lens' UpdateGeofenceCollectionResponse UTCTime Source #
The time when the geofence collection was last updated in
ISO 8601
format: YYYY-MM-DDThh:mm:ss.sssZ