libZSservicesZSamazonka-codestar-notificationsZSamazonka-codestar-notifications
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.CodeStarNotifications.Types.ListTargetsFilter

Description

 
Synopsis

Documentation

data ListTargetsFilter Source #

Information about a filter to apply to the list of returned targets. You can filter by target type, address, or status. For example, to filter results to notification rules that have active Amazon SNS topics as targets, you could specify a ListTargetsFilter Name as TargetType and a Value of SNS, and a Name of TARGET_STATUS and a Value of ACTIVE.

See: newListTargetsFilter smart constructor.

Constructors

ListTargetsFilter' 

Fields

  • name :: ListTargetsFilterName

    The name of the attribute you want to use to filter the returned targets.

  • value :: Text

    The value of the attribute you want to use to filter the returned targets. For example, if you specify SNS for the Target type, you could specify an Amazon Resource Name (ARN) for a topic as the value.

Instances

Instances details
Eq ListTargetsFilter Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.Types.ListTargetsFilter

Read ListTargetsFilter Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.Types.ListTargetsFilter

Show ListTargetsFilter Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.Types.ListTargetsFilter

Generic ListTargetsFilter Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.Types.ListTargetsFilter

Associated Types

type Rep ListTargetsFilter :: Type -> Type #

NFData ListTargetsFilter Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.Types.ListTargetsFilter

Methods

rnf :: ListTargetsFilter -> () #

Hashable ListTargetsFilter Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.Types.ListTargetsFilter

ToJSON ListTargetsFilter Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.Types.ListTargetsFilter

type Rep ListTargetsFilter Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.Types.ListTargetsFilter

type Rep ListTargetsFilter = D1 ('MetaData "ListTargetsFilter" "Amazonka.CodeStarNotifications.Types.ListTargetsFilter" "libZSservicesZSamazonka-codestar-notificationsZSamazonka-codestar-notifications" 'False) (C1 ('MetaCons "ListTargetsFilter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ListTargetsFilterName) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newListTargetsFilter Source #

Create a value of ListTargetsFilter 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:ListTargetsFilter', listTargetsFilter_name - The name of the attribute you want to use to filter the returned targets.

$sel:value:ListTargetsFilter', listTargetsFilter_value - The value of the attribute you want to use to filter the returned targets. For example, if you specify SNS for the Target type, you could specify an Amazon Resource Name (ARN) for a topic as the value.

listTargetsFilter_name :: Lens' ListTargetsFilter ListTargetsFilterName Source #

The name of the attribute you want to use to filter the returned targets.

listTargetsFilter_value :: Lens' ListTargetsFilter Text Source #

The value of the attribute you want to use to filter the returned targets. For example, if you specify SNS for the Target type, you could specify an Amazon Resource Name (ARN) for a topic as the value.