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 |
Updates the specified properties of a given geofence collection.
Synopsis
- data UpdateGeofenceCollection = UpdateGeofenceCollection' {}
- newUpdateGeofenceCollection :: Text -> UpdateGeofenceCollection
- updateGeofenceCollection_description :: Lens' UpdateGeofenceCollection (Maybe Text)
- updateGeofenceCollection_pricingPlan :: Lens' UpdateGeofenceCollection (Maybe PricingPlan)
- updateGeofenceCollection_pricingPlanDataSource :: Lens' UpdateGeofenceCollection (Maybe Text)
- updateGeofenceCollection_collectionName :: Lens' UpdateGeofenceCollection Text
- data UpdateGeofenceCollectionResponse = UpdateGeofenceCollectionResponse' {}
- 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:
UpdateGeofenceCollection
, updateGeofenceCollection_description
- Updates the description for the geofence collection.
UpdateGeofenceCollection
, updateGeofenceCollection_pricingPlan
- No longer used. If included, the only allowed value is
RequestBasedUsage
.
UpdateGeofenceCollection
, updateGeofenceCollection_pricingPlanDataSource
- This parameter is no longer used.
UpdateGeofenceCollection
, updateGeofenceCollection_collectionName
- The name of the geofence collection to update.
Request Lenses
updateGeofenceCollection_description :: Lens' UpdateGeofenceCollection (Maybe Text) Source #
Updates the description for the geofence collection.
updateGeofenceCollection_pricingPlan :: Lens' UpdateGeofenceCollection (Maybe PricingPlan) Source #
No longer used. If included, the only allowed value is
RequestBasedUsage
.
updateGeofenceCollection_pricingPlanDataSource :: Lens' UpdateGeofenceCollection (Maybe Text) Source #
This parameter is no longer used.
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
UpdateGeofenceCollection
, updateGeofenceCollectionResponse_collectionName
- The name of the updated geofence collection.
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