Struct aws_sdk_iot::types::IndexingFilter
source · #[non_exhaustive]pub struct IndexingFilter {
pub named_shadow_names: Option<Vec<String>>,
pub geo_locations: Option<Vec<GeoLocationTarget>>,
}
Expand description
Provides additional selections for named shadows and geolocation data.
To add named shadows to your fleet indexing configuration, set namedShadowIndexingMode
to be ON and specify your shadow names in namedShadowNames
filter.
To add geolocation data to your fleet indexing configuration:
-
If you store geolocation data in a class/unnamed shadow, set
thingIndexingMode
to beREGISTRY_AND_SHADOW
and specify your geolocation data ingeoLocations
filter. -
If you store geolocation data in a named shadow, set
namedShadowIndexingMode
to beON
, add the shadow name innamedShadowNames
filter, and specify your geolocation data ingeoLocations
filter. For more information, see Managing fleet indexing.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.named_shadow_names: Option<Vec<String>>
The shadow names that you select to index. The default maximum number of shadow names for indexing is 10. To increase the limit, see Amazon Web Services IoT Device Management Quotas in the Amazon Web Services General Reference.
geo_locations: Option<Vec<GeoLocationTarget>>
The list of geolocation targets that you select to index. The default maximum number of geolocation targets for indexing is 1
. To increase the limit, see Amazon Web Services IoT Device Management Quotas in the Amazon Web Services General Reference.
Implementations§
source§impl IndexingFilter
impl IndexingFilter
sourcepub fn named_shadow_names(&self) -> &[String]
pub fn named_shadow_names(&self) -> &[String]
The shadow names that you select to index. The default maximum number of shadow names for indexing is 10. To increase the limit, see Amazon Web Services IoT Device Management Quotas in the Amazon Web Services General Reference.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .named_shadow_names.is_none()
.
sourcepub fn geo_locations(&self) -> &[GeoLocationTarget]
pub fn geo_locations(&self) -> &[GeoLocationTarget]
The list of geolocation targets that you select to index. The default maximum number of geolocation targets for indexing is 1
. To increase the limit, see Amazon Web Services IoT Device Management Quotas in the Amazon Web Services General Reference.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .geo_locations.is_none()
.
source§impl IndexingFilter
impl IndexingFilter
sourcepub fn builder() -> IndexingFilterBuilder
pub fn builder() -> IndexingFilterBuilder
Creates a new builder-style object to manufacture IndexingFilter
.
Trait Implementations§
source§impl Clone for IndexingFilter
impl Clone for IndexingFilter
source§fn clone(&self) -> IndexingFilter
fn clone(&self) -> IndexingFilter
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for IndexingFilter
impl Debug for IndexingFilter
source§impl PartialEq for IndexingFilter
impl PartialEq for IndexingFilter
source§fn eq(&self, other: &IndexingFilter) -> bool
fn eq(&self, other: &IndexingFilter) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for IndexingFilter
Auto Trait Implementations§
impl Freeze for IndexingFilter
impl RefUnwindSafe for IndexingFilter
impl Send for IndexingFilter
impl Sync for IndexingFilter
impl Unpin for IndexingFilter
impl UnwindSafe for IndexingFilter
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more