libZSservicesZSamazonka-locationZSamazonka-location
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Location.UpdateGeofenceCollection

Description

Updates the specified properties of a given geofence collection.

Synopsis

Creating a Request

data UpdateGeofenceCollection Source #

See: newUpdateGeofenceCollection smart constructor.

Constructors

UpdateGeofenceCollection' 

Fields

  • pricingPlan :: Maybe PricingPlan

    Updates the pricing plan for the geofence collection.

    For more information about each pricing plan option restrictions, see Amazon Location Service pricing.

  • pricingPlanDataSource :: Maybe Text

    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.

  • description :: Maybe Text

    Updates the description for the geofence collection.

  • collectionName :: Text

    The name of the geofence collection to update.

Instances

Instances details
Eq UpdateGeofenceCollection Source # 
Instance details

Defined in Amazonka.Location.UpdateGeofenceCollection

Read UpdateGeofenceCollection Source # 
Instance details

Defined in Amazonka.Location.UpdateGeofenceCollection

Show UpdateGeofenceCollection Source # 
Instance details

Defined in Amazonka.Location.UpdateGeofenceCollection

Generic UpdateGeofenceCollection Source # 
Instance details

Defined in Amazonka.Location.UpdateGeofenceCollection

Associated Types

type Rep UpdateGeofenceCollection :: Type -> Type #

NFData UpdateGeofenceCollection Source # 
Instance details

Defined in Amazonka.Location.UpdateGeofenceCollection

Hashable UpdateGeofenceCollection Source # 
Instance details

Defined in Amazonka.Location.UpdateGeofenceCollection

ToJSON UpdateGeofenceCollection Source # 
Instance details

Defined in Amazonka.Location.UpdateGeofenceCollection

AWSRequest UpdateGeofenceCollection Source # 
Instance details

Defined in Amazonka.Location.UpdateGeofenceCollection

ToHeaders UpdateGeofenceCollection Source # 
Instance details

Defined in Amazonka.Location.UpdateGeofenceCollection

ToPath UpdateGeofenceCollection Source # 
Instance details

Defined in Amazonka.Location.UpdateGeofenceCollection

ToQuery UpdateGeofenceCollection Source # 
Instance details

Defined in Amazonka.Location.UpdateGeofenceCollection

type Rep UpdateGeofenceCollection Source # 
Instance details

Defined in Amazonka.Location.UpdateGeofenceCollection

type Rep UpdateGeofenceCollection = D1 ('MetaData "UpdateGeofenceCollection" "Amazonka.Location.UpdateGeofenceCollection" "libZSservicesZSamazonka-locationZSamazonka-location" 'False) (C1 ('MetaCons "UpdateGeofenceCollection'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "pricingPlan") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PricingPlan)) :*: S1 ('MetaSel ('Just "pricingPlanDataSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "collectionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdateGeofenceCollection Source # 
Instance details

Defined in Amazonka.Location.UpdateGeofenceCollection

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.

Constructors

UpdateGeofenceCollectionResponse' 

Fields

  • httpStatus :: Int

    The response's http status code.

  • collectionArn :: Text

    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
  • collectionName :: Text

    The name of the updated geofence collection.

  • updateTime :: POSIX

    The time when the geofence collection was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ

Instances

Instances details
Eq UpdateGeofenceCollectionResponse Source # 
Instance details

Defined in Amazonka.Location.UpdateGeofenceCollection

Read UpdateGeofenceCollectionResponse Source # 
Instance details

Defined in Amazonka.Location.UpdateGeofenceCollection

Show UpdateGeofenceCollectionResponse Source # 
Instance details

Defined in Amazonka.Location.UpdateGeofenceCollection

Generic UpdateGeofenceCollectionResponse Source # 
Instance details

Defined in Amazonka.Location.UpdateGeofenceCollection

Associated Types

type Rep UpdateGeofenceCollectionResponse :: Type -> Type #

NFData UpdateGeofenceCollectionResponse Source # 
Instance details

Defined in Amazonka.Location.UpdateGeofenceCollection

type Rep UpdateGeofenceCollectionResponse Source # 
Instance details

Defined in Amazonka.Location.UpdateGeofenceCollection

type Rep UpdateGeofenceCollectionResponse = D1 ('MetaData "UpdateGeofenceCollectionResponse" "Amazonka.Location.UpdateGeofenceCollection" "libZSservicesZSamazonka-locationZSamazonka-location" 'False) (C1 ('MetaCons "UpdateGeofenceCollectionResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "collectionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "collectionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "updateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX))))

newUpdateGeofenceCollectionResponse Source #

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_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_updateTime :: Lens' UpdateGeofenceCollectionResponse UTCTime Source #

The time when the geofence collection was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ