libZSservicesZSamazonka-datasyncZSamazonka-datasync
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.DataSync.Types.LocationFilter

Description

 
Synopsis

Documentation

data LocationFilter Source #

You can use API filters to narrow down the list of resources returned by ListLocations. For example, to retrieve all your Amazon S3 locations, you can use ListLocations with filter name LocationType S3 and Operator Equals.

See: newLocationFilter smart constructor.

Constructors

LocationFilter' 

Fields

  • name :: LocationFilterName

    The name of the filter being used. Each API call supports a list of filters that are available for it (for example, LocationType for ListLocations).

  • values :: [Text]

    The values that you want to filter for. For example, you might want to display only Amazon S3 locations.

  • operator :: Operator

    The operator that is used to compare filter values (for example, Equals or Contains). For more about API filtering operators, see API filters for ListTasks and ListLocations.

Instances

Instances details
Eq LocationFilter Source # 
Instance details

Defined in Amazonka.DataSync.Types.LocationFilter

Read LocationFilter Source # 
Instance details

Defined in Amazonka.DataSync.Types.LocationFilter

Show LocationFilter Source # 
Instance details

Defined in Amazonka.DataSync.Types.LocationFilter

Generic LocationFilter Source # 
Instance details

Defined in Amazonka.DataSync.Types.LocationFilter

Associated Types

type Rep LocationFilter :: Type -> Type #

NFData LocationFilter Source # 
Instance details

Defined in Amazonka.DataSync.Types.LocationFilter

Methods

rnf :: LocationFilter -> () #

Hashable LocationFilter Source # 
Instance details

Defined in Amazonka.DataSync.Types.LocationFilter

ToJSON LocationFilter Source # 
Instance details

Defined in Amazonka.DataSync.Types.LocationFilter

type Rep LocationFilter Source # 
Instance details

Defined in Amazonka.DataSync.Types.LocationFilter

type Rep LocationFilter = D1 ('MetaData "LocationFilter" "Amazonka.DataSync.Types.LocationFilter" "libZSservicesZSamazonka-datasyncZSamazonka-datasync" 'False) (C1 ('MetaCons "LocationFilter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 LocationFilterName) :*: (S1 ('MetaSel ('Just "values") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "operator") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Operator))))

newLocationFilter Source #

Create a value of LocationFilter 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:name:LocationFilter', locationFilter_name - The name of the filter being used. Each API call supports a list of filters that are available for it (for example, LocationType for ListLocations).

$sel:values:LocationFilter', locationFilter_values - The values that you want to filter for. For example, you might want to display only Amazon S3 locations.

$sel:operator:LocationFilter', locationFilter_operator - The operator that is used to compare filter values (for example, Equals or Contains). For more about API filtering operators, see API filters for ListTasks and ListLocations.

locationFilter_name :: Lens' LocationFilter LocationFilterName Source #

The name of the filter being used. Each API call supports a list of filters that are available for it (for example, LocationType for ListLocations).

locationFilter_values :: Lens' LocationFilter [Text] Source #

The values that you want to filter for. For example, you might want to display only Amazon S3 locations.

locationFilter_operator :: Lens' LocationFilter Operator Source #

The operator that is used to compare filter values (for example, Equals or Contains). For more about API filtering operators, see API filters for ListTasks and ListLocations.