libZSservicesZSamazonka-ssmZSamazonka-ssm
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SSM.Types.InventoryFilter

Description

 
Synopsis

Documentation

data InventoryFilter Source #

One or more filters. Use a filter to return a more specific list of results.

See: newInventoryFilter smart constructor.

Constructors

InventoryFilter' 

Fields

  • type' :: Maybe InventoryQueryOperatorType

    The type of filter.

    The Exists filter must be used with aggregators. For more information, see Aggregating inventory data in the Amazon Web Services Systems Manager User Guide.

  • key :: Text

    The name of the filter key.

  • values :: NonEmpty Text

    Inventory filter values. Example: inventory filter where instance IDs are specified as values Key=AWS:InstanceInformation.InstanceId,Values= i-a12b3c4d5e6g, i-1a2b3c4d5e6,Type=Equal.

Instances

Instances details
Eq InventoryFilter Source # 
Instance details

Defined in Amazonka.SSM.Types.InventoryFilter

Read InventoryFilter Source # 
Instance details

Defined in Amazonka.SSM.Types.InventoryFilter

Show InventoryFilter Source # 
Instance details

Defined in Amazonka.SSM.Types.InventoryFilter

Generic InventoryFilter Source # 
Instance details

Defined in Amazonka.SSM.Types.InventoryFilter

Associated Types

type Rep InventoryFilter :: Type -> Type #

NFData InventoryFilter Source # 
Instance details

Defined in Amazonka.SSM.Types.InventoryFilter

Methods

rnf :: InventoryFilter -> () #

Hashable InventoryFilter Source # 
Instance details

Defined in Amazonka.SSM.Types.InventoryFilter

ToJSON InventoryFilter Source # 
Instance details

Defined in Amazonka.SSM.Types.InventoryFilter

type Rep InventoryFilter Source # 
Instance details

Defined in Amazonka.SSM.Types.InventoryFilter

type Rep InventoryFilter = D1 ('MetaData "InventoryFilter" "Amazonka.SSM.Types.InventoryFilter" "libZSservicesZSamazonka-ssmZSamazonka-ssm" 'False) (C1 ('MetaCons "InventoryFilter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InventoryQueryOperatorType)) :*: (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "values") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text)))))

newInventoryFilter Source #

Create a value of InventoryFilter 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:type':InventoryFilter', inventoryFilter_type - The type of filter.

The Exists filter must be used with aggregators. For more information, see Aggregating inventory data in the Amazon Web Services Systems Manager User Guide.

$sel:key:InventoryFilter', inventoryFilter_key - The name of the filter key.

$sel:values:InventoryFilter', inventoryFilter_values - Inventory filter values. Example: inventory filter where instance IDs are specified as values Key=AWS:InstanceInformation.InstanceId,Values= i-a12b3c4d5e6g, i-1a2b3c4d5e6,Type=Equal.

inventoryFilter_type :: Lens' InventoryFilter (Maybe InventoryQueryOperatorType) Source #

The type of filter.

The Exists filter must be used with aggregators. For more information, see Aggregating inventory data in the Amazon Web Services Systems Manager User Guide.

inventoryFilter_key :: Lens' InventoryFilter Text Source #

The name of the filter key.

inventoryFilter_values :: Lens' InventoryFilter (NonEmpty Text) Source #

Inventory filter values. Example: inventory filter where instance IDs are specified as values Key=AWS:InstanceInformation.InstanceId,Values= i-a12b3c4d5e6g, i-1a2b3c4d5e6,Type=Equal.