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

Description

 
Synopsis

Documentation

data TaskFilter Source #

You can use API filters to narrow down the list of resources returned by ListTasks. For example, to retrieve all tasks on a source location, you can use ListTasks with filter name LocationId and Operator Equals with the ARN for the location.

See: newTaskFilter smart constructor.

Constructors

TaskFilter' 

Fields

  • name :: TaskFilterName

    The name of the filter being used. Each API call supports a list of filters that are available for it. For example, LocationId for ListTasks.

  • values :: [Text]

    The values that you want to filter for. For example, you might want to display only tasks for a specific destination location.

  • 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 TaskFilter Source # 
Instance details

Defined in Amazonka.DataSync.Types.TaskFilter

Read TaskFilter Source # 
Instance details

Defined in Amazonka.DataSync.Types.TaskFilter

Show TaskFilter Source # 
Instance details

Defined in Amazonka.DataSync.Types.TaskFilter

Generic TaskFilter Source # 
Instance details

Defined in Amazonka.DataSync.Types.TaskFilter

Associated Types

type Rep TaskFilter :: Type -> Type #

NFData TaskFilter Source # 
Instance details

Defined in Amazonka.DataSync.Types.TaskFilter

Methods

rnf :: TaskFilter -> () #

Hashable TaskFilter Source # 
Instance details

Defined in Amazonka.DataSync.Types.TaskFilter

ToJSON TaskFilter Source # 
Instance details

Defined in Amazonka.DataSync.Types.TaskFilter

type Rep TaskFilter Source # 
Instance details

Defined in Amazonka.DataSync.Types.TaskFilter

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

newTaskFilter Source #

Create a value of TaskFilter 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:TaskFilter', taskFilter_name - The name of the filter being used. Each API call supports a list of filters that are available for it. For example, LocationId for ListTasks.

$sel:values:TaskFilter', taskFilter_values - The values that you want to filter for. For example, you might want to display only tasks for a specific destination location.

$sel:operator:TaskFilter', taskFilter_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.

taskFilter_name :: Lens' TaskFilter TaskFilterName Source #

The name of the filter being used. Each API call supports a list of filters that are available for it. For example, LocationId for ListTasks.

taskFilter_values :: Lens' TaskFilter [Text] Source #

The values that you want to filter for. For example, you might want to display only tasks for a specific destination location.

taskFilter_operator :: Lens' TaskFilter 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.