aws_sdk_location/client/
associate_tracker_consumer.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`AssociateTrackerConsumer`](crate::operation::associate_tracker_consumer::builders::AssociateTrackerConsumerFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`tracker_name(impl Into<String>)`](crate::operation::associate_tracker_consumer::builders::AssociateTrackerConsumerFluentBuilder::tracker_name) / [`set_tracker_name(Option<String>)`](crate::operation::associate_tracker_consumer::builders::AssociateTrackerConsumerFluentBuilder::set_tracker_name):<br>required: **true**<br><p>The name of the tracker resource to be associated with a geofence collection.</p><br>
7    ///   - [`consumer_arn(impl Into<String>)`](crate::operation::associate_tracker_consumer::builders::AssociateTrackerConsumerFluentBuilder::consumer_arn) / [`set_consumer_arn(Option<String>)`](crate::operation::associate_tracker_consumer::builders::AssociateTrackerConsumerFluentBuilder::set_consumer_arn):<br>required: **true**<br><p>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 Amazon Web Services.</p> <ul>  <li>   <p>Format example: <code>arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollectionConsumer</code></p></li> </ul><br>
8    /// - On success, responds with [`AssociateTrackerConsumerOutput`](crate::operation::associate_tracker_consumer::AssociateTrackerConsumerOutput)
9    /// - On failure, responds with [`SdkError<AssociateTrackerConsumerError>`](crate::operation::associate_tracker_consumer::AssociateTrackerConsumerError)
10    pub fn associate_tracker_consumer(&self) -> crate::operation::associate_tracker_consumer::builders::AssociateTrackerConsumerFluentBuilder {
11        crate::operation::associate_tracker_consumer::builders::AssociateTrackerConsumerFluentBuilder::new(self.handle.clone())
12    }
13}