amazonka-datasync-2.0: Amazon DataSync SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.DataSync.Types.LocationFilter

Description

 
Synopsis

Documentation

data LocationFilter Source #

Narrow down the list of resources returned by ListLocations. For example, to see all your Amazon S3 locations, create a filter using "Name": "LocationType", "Operator": "Equals", and "Values": "S3".

For more information, see filtering resources.

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).

Instances

Instances details
ToJSON 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 #

Read LocationFilter Source # 
Instance details

Defined in Amazonka.DataSync.Types.LocationFilter

Show LocationFilter Source # 
Instance details

Defined in Amazonka.DataSync.Types.LocationFilter

NFData LocationFilter Source # 
Instance details

Defined in Amazonka.DataSync.Types.LocationFilter

Methods

rnf :: LocationFilter -> () #

Eq LocationFilter Source # 
Instance details

Defined in Amazonka.DataSync.Types.LocationFilter

Hashable 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" "amazonka-datasync-2.0-LCcm4ddRe2z4CES4wun76Z" '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).

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).