| 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 |
Amazonka.Location.DisassociateTrackerConsumer
Description
Removes the association between a tracker resource and a geofence collection.
Once you unlink a tracker resource from a geofence collection, the tracker positions will no longer be automatically evaluated against geofences.
Synopsis
- data DisassociateTrackerConsumer = DisassociateTrackerConsumer' {
- consumerArn :: Text
- trackerName :: Text
- newDisassociateTrackerConsumer :: Text -> Text -> DisassociateTrackerConsumer
- disassociateTrackerConsumer_consumerArn :: Lens' DisassociateTrackerConsumer Text
- disassociateTrackerConsumer_trackerName :: Lens' DisassociateTrackerConsumer Text
- data DisassociateTrackerConsumerResponse = DisassociateTrackerConsumerResponse' {
- httpStatus :: Int
- newDisassociateTrackerConsumerResponse :: Int -> DisassociateTrackerConsumerResponse
- disassociateTrackerConsumerResponse_httpStatus :: Lens' DisassociateTrackerConsumerResponse Int
Creating a Request
data DisassociateTrackerConsumer Source #
See: newDisassociateTrackerConsumer smart constructor.
Constructors
| DisassociateTrackerConsumer' | |
Fields
| |
Instances
newDisassociateTrackerConsumer Source #
Arguments
| :: Text | |
| -> Text | |
| -> DisassociateTrackerConsumer |
Create a value of DisassociateTrackerConsumer 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:DisassociateTrackerConsumer', disassociateTrackerConsumer_consumerArn - The Amazon Resource Name (ARN) for the geofence collection to be
disassociated from the tracker resource. Used when you need to specify a
resource across all AWS.
- Format example:
arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollectionConsumer
DisassociateTrackerConsumer, disassociateTrackerConsumer_trackerName - The name of the tracker resource to be dissociated from the consumer.
Request Lenses
disassociateTrackerConsumer_consumerArn :: Lens' DisassociateTrackerConsumer Text Source #
The Amazon Resource Name (ARN) for the geofence collection to be disassociated from the tracker resource. Used when you need to specify a resource across all AWS.
- Format example:
arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollectionConsumer
disassociateTrackerConsumer_trackerName :: Lens' DisassociateTrackerConsumer Text Source #
The name of the tracker resource to be dissociated from the consumer.
Destructuring the Response
data DisassociateTrackerConsumerResponse Source #
See: newDisassociateTrackerConsumerResponse smart constructor.
Constructors
| DisassociateTrackerConsumerResponse' | |
Fields
| |
Instances
newDisassociateTrackerConsumerResponse Source #
Arguments
| :: Int | |
| -> DisassociateTrackerConsumerResponse |
Create a value of DisassociateTrackerConsumerResponse 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:DisassociateTrackerConsumerResponse', disassociateTrackerConsumerResponse_httpStatus - The response's http status code.
Response Lenses
disassociateTrackerConsumerResponse_httpStatus :: Lens' DisassociateTrackerConsumerResponse Int Source #
The response's http status code.