amazonka-cognito-identity-2.0: Amazon Cognito Identity 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.CognitoIdentity.Types.RulesConfigurationType

Description

 
Synopsis

Documentation

data RulesConfigurationType Source #

A container for rules.

See: newRulesConfigurationType smart constructor.

Constructors

RulesConfigurationType' 

Fields

  • rules :: NonEmpty MappingRule

    An array of rules. You can specify up to 25 rules per identity provider.

    Rules are evaluated in order. The first one to match specifies the role.

Instances

Instances details
FromJSON RulesConfigurationType Source # 
Instance details

Defined in Amazonka.CognitoIdentity.Types.RulesConfigurationType

ToJSON RulesConfigurationType Source # 
Instance details

Defined in Amazonka.CognitoIdentity.Types.RulesConfigurationType

Generic RulesConfigurationType Source # 
Instance details

Defined in Amazonka.CognitoIdentity.Types.RulesConfigurationType

Associated Types

type Rep RulesConfigurationType :: Type -> Type #

Read RulesConfigurationType Source # 
Instance details

Defined in Amazonka.CognitoIdentity.Types.RulesConfigurationType

Show RulesConfigurationType Source # 
Instance details

Defined in Amazonka.CognitoIdentity.Types.RulesConfigurationType

NFData RulesConfigurationType Source # 
Instance details

Defined in Amazonka.CognitoIdentity.Types.RulesConfigurationType

Methods

rnf :: RulesConfigurationType -> () #

Eq RulesConfigurationType Source # 
Instance details

Defined in Amazonka.CognitoIdentity.Types.RulesConfigurationType

Hashable RulesConfigurationType Source # 
Instance details

Defined in Amazonka.CognitoIdentity.Types.RulesConfigurationType

type Rep RulesConfigurationType Source # 
Instance details

Defined in Amazonka.CognitoIdentity.Types.RulesConfigurationType

type Rep RulesConfigurationType = D1 ('MetaData "RulesConfigurationType" "Amazonka.CognitoIdentity.Types.RulesConfigurationType" "amazonka-cognito-identity-2.0-9cap08KVWNhAJ5mbkAF9NH" 'False) (C1 ('MetaCons "RulesConfigurationType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "rules") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty MappingRule))))

newRulesConfigurationType Source #

Create a value of RulesConfigurationType 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:rules:RulesConfigurationType', rulesConfigurationType_rules - An array of rules. You can specify up to 25 rules per identity provider.

Rules are evaluated in order. The first one to match specifies the role.

rulesConfigurationType_rules :: Lens' RulesConfigurationType (NonEmpty MappingRule) Source #

An array of rules. You can specify up to 25 rules per identity provider.

Rules are evaluated in order. The first one to match specifies the role.