amazonka-codestar-notifications-2.0: Amazon CodeStar Notifications 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.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 Chatbot 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
ToJSON 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 #

Read ListTargetsFilter Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.Types.ListTargetsFilter

Show ListTargetsFilter Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.Types.ListTargetsFilter

NFData ListTargetsFilter Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.Types.ListTargetsFilter

Methods

rnf :: ListTargetsFilter -> () #

Eq ListTargetsFilter Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.Types.ListTargetsFilter

Hashable 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" "amazonka-codestar-notifications-2.0-1YU4g2Ny2gz2roMHW6JQnw" '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.