libZSservicesZSamazonka-cognito-identityZSamazonka-cognito-identity
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.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
Eq RulesConfigurationType Source # 
Instance details

Defined in Amazonka.CognitoIdentity.Types.RulesConfigurationType

Read RulesConfigurationType Source # 
Instance details

Defined in Amazonka.CognitoIdentity.Types.RulesConfigurationType

Show 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 #

NFData RulesConfigurationType Source # 
Instance details

Defined in Amazonka.CognitoIdentity.Types.RulesConfigurationType

Methods

rnf :: RulesConfigurationType -> () #

Hashable RulesConfigurationType Source # 
Instance details

Defined in Amazonka.CognitoIdentity.Types.RulesConfigurationType

ToJSON RulesConfigurationType Source # 
Instance details

Defined in Amazonka.CognitoIdentity.Types.RulesConfigurationType

FromJSON 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" "libZSservicesZSamazonka-cognito-identityZSamazonka-cognito-identity" '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.