amazonka-location-2.0: Amazon Location Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Location.AssociateTrackerConsumer

Description

Creates an association between a geofence collection and a tracker resource. This allows the tracker resource to communicate location data to the linked geofence collection.

You can associate up to five geofence collections to each tracker resource.

Currently not supported — Cross-account configurations, such as creating associations between a tracker resource in one account and a geofence collection in another account.

Synopsis

Creating a Request

data AssociateTrackerConsumer Source #

See: newAssociateTrackerConsumer smart constructor.

Constructors

AssociateTrackerConsumer' 

Fields

  • consumerArn :: Text

    The Amazon Resource Name (ARN) for the geofence collection to be associated to tracker resource. Used when you need to specify a resource across all AWS.

    • Format example: arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollectionConsumer
  • trackerName :: Text

    The name of the tracker resource to be associated with a geofence collection.

Instances

Instances details
ToJSON AssociateTrackerConsumer Source # 
Instance details

Defined in Amazonka.Location.AssociateTrackerConsumer

ToHeaders AssociateTrackerConsumer Source # 
Instance details

Defined in Amazonka.Location.AssociateTrackerConsumer

ToPath AssociateTrackerConsumer Source # 
Instance details

Defined in Amazonka.Location.AssociateTrackerConsumer

ToQuery AssociateTrackerConsumer Source # 
Instance details

Defined in Amazonka.Location.AssociateTrackerConsumer

AWSRequest AssociateTrackerConsumer Source # 
Instance details

Defined in Amazonka.Location.AssociateTrackerConsumer

Generic AssociateTrackerConsumer Source # 
Instance details

Defined in Amazonka.Location.AssociateTrackerConsumer

Associated Types

type Rep AssociateTrackerConsumer :: Type -> Type #

Read AssociateTrackerConsumer Source # 
Instance details

Defined in Amazonka.Location.AssociateTrackerConsumer

Show AssociateTrackerConsumer Source # 
Instance details

Defined in Amazonka.Location.AssociateTrackerConsumer

NFData AssociateTrackerConsumer Source # 
Instance details

Defined in Amazonka.Location.AssociateTrackerConsumer

Eq AssociateTrackerConsumer Source # 
Instance details

Defined in Amazonka.Location.AssociateTrackerConsumer

Hashable AssociateTrackerConsumer Source # 
Instance details

Defined in Amazonka.Location.AssociateTrackerConsumer

type AWSResponse AssociateTrackerConsumer Source # 
Instance details

Defined in Amazonka.Location.AssociateTrackerConsumer

type Rep AssociateTrackerConsumer Source # 
Instance details

Defined in Amazonka.Location.AssociateTrackerConsumer

type Rep AssociateTrackerConsumer = D1 ('MetaData "AssociateTrackerConsumer" "Amazonka.Location.AssociateTrackerConsumer" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'False) (C1 ('MetaCons "AssociateTrackerConsumer'" 'PrefixI 'True) (S1 ('MetaSel ('Just "consumerArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "trackerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newAssociateTrackerConsumer Source #

Create a value of AssociateTrackerConsumer 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:consumerArn:AssociateTrackerConsumer', associateTrackerConsumer_consumerArn - The Amazon Resource Name (ARN) for the geofence collection to be associated to tracker resource. Used when you need to specify a resource across all AWS.

  • Format example: arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollectionConsumer

AssociateTrackerConsumer, associateTrackerConsumer_trackerName - The name of the tracker resource to be associated with a geofence collection.

Request Lenses

associateTrackerConsumer_consumerArn :: Lens' AssociateTrackerConsumer Text Source #

The Amazon Resource Name (ARN) for the geofence collection to be associated to tracker resource. Used when you need to specify a resource across all AWS.

  • Format example: arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollectionConsumer

associateTrackerConsumer_trackerName :: Lens' AssociateTrackerConsumer Text Source #

The name of the tracker resource to be associated with a geofence collection.

Destructuring the Response

data AssociateTrackerConsumerResponse Source #

See: newAssociateTrackerConsumerResponse smart constructor.

Constructors

AssociateTrackerConsumerResponse' 

Fields

Instances

Instances details
Generic AssociateTrackerConsumerResponse Source # 
Instance details

Defined in Amazonka.Location.AssociateTrackerConsumer

Associated Types

type Rep AssociateTrackerConsumerResponse :: Type -> Type #

Read AssociateTrackerConsumerResponse Source # 
Instance details

Defined in Amazonka.Location.AssociateTrackerConsumer

Show AssociateTrackerConsumerResponse Source # 
Instance details

Defined in Amazonka.Location.AssociateTrackerConsumer

NFData AssociateTrackerConsumerResponse Source # 
Instance details

Defined in Amazonka.Location.AssociateTrackerConsumer

Eq AssociateTrackerConsumerResponse Source # 
Instance details

Defined in Amazonka.Location.AssociateTrackerConsumer

type Rep AssociateTrackerConsumerResponse Source # 
Instance details

Defined in Amazonka.Location.AssociateTrackerConsumer

type Rep AssociateTrackerConsumerResponse = D1 ('MetaData "AssociateTrackerConsumerResponse" "Amazonka.Location.AssociateTrackerConsumer" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'False) (C1 ('MetaCons "AssociateTrackerConsumerResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newAssociateTrackerConsumerResponse Source #

Create a value of AssociateTrackerConsumerResponse 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:AssociateTrackerConsumerResponse', associateTrackerConsumerResponse_httpStatus - The response's http status code.

Response Lenses