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 |
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
- data AssociateTrackerConsumer = AssociateTrackerConsumer' {
- consumerArn :: Text
- trackerName :: Text
- newAssociateTrackerConsumer :: Text -> Text -> AssociateTrackerConsumer
- associateTrackerConsumer_consumerArn :: Lens' AssociateTrackerConsumer Text
- associateTrackerConsumer_trackerName :: Lens' AssociateTrackerConsumer Text
- data AssociateTrackerConsumerResponse = AssociateTrackerConsumerResponse' {
- httpStatus :: Int
- newAssociateTrackerConsumerResponse :: Int -> AssociateTrackerConsumerResponse
- associateTrackerConsumerResponse_httpStatus :: Lens' AssociateTrackerConsumerResponse Int
Creating a Request
data AssociateTrackerConsumer Source #
See: newAssociateTrackerConsumer
smart constructor.
AssociateTrackerConsumer' | |
|
Instances
newAssociateTrackerConsumer Source #
:: Text | |
-> Text | |
-> AssociateTrackerConsumer |
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.
AssociateTrackerConsumerResponse' | |
|
Instances
Generic AssociateTrackerConsumerResponse Source # | |
Read AssociateTrackerConsumerResponse Source # | |
Show AssociateTrackerConsumerResponse Source # | |
NFData AssociateTrackerConsumerResponse Source # | |
Defined in Amazonka.Location.AssociateTrackerConsumer rnf :: AssociateTrackerConsumerResponse -> () # | |
Eq AssociateTrackerConsumerResponse Source # | |
type Rep AssociateTrackerConsumerResponse Source # | |
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
associateTrackerConsumerResponse_httpStatus :: Lens' AssociateTrackerConsumerResponse Int Source #
The response's http status code.