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

Description

You can use this operation to use default (username and clientID) attribute or custom attribute mappings.

Synopsis

Creating a Request

data SetPrincipalTagAttributeMap Source #

See: newSetPrincipalTagAttributeMap smart constructor.

Constructors

SetPrincipalTagAttributeMap' 

Fields

Instances

Instances details
ToJSON SetPrincipalTagAttributeMap Source # 
Instance details

Defined in Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap

ToHeaders SetPrincipalTagAttributeMap Source # 
Instance details

Defined in Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap

ToPath SetPrincipalTagAttributeMap Source # 
Instance details

Defined in Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap

ToQuery SetPrincipalTagAttributeMap Source # 
Instance details

Defined in Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap

AWSRequest SetPrincipalTagAttributeMap Source # 
Instance details

Defined in Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap

Generic SetPrincipalTagAttributeMap Source # 
Instance details

Defined in Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap

Associated Types

type Rep SetPrincipalTagAttributeMap :: Type -> Type #

Read SetPrincipalTagAttributeMap Source # 
Instance details

Defined in Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap

Show SetPrincipalTagAttributeMap Source # 
Instance details

Defined in Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap

NFData SetPrincipalTagAttributeMap Source # 
Instance details

Defined in Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap

Eq SetPrincipalTagAttributeMap Source # 
Instance details

Defined in Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap

Hashable SetPrincipalTagAttributeMap Source # 
Instance details

Defined in Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap

type AWSResponse SetPrincipalTagAttributeMap Source # 
Instance details

Defined in Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap

type Rep SetPrincipalTagAttributeMap Source # 
Instance details

Defined in Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap

type Rep SetPrincipalTagAttributeMap = D1 ('MetaData "SetPrincipalTagAttributeMap" "Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap" "amazonka-cognito-identity-2.0-9cap08KVWNhAJ5mbkAF9NH" 'False) (C1 ('MetaCons "SetPrincipalTagAttributeMap'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "principalTags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "useDefaults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "identityPoolId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "identityProviderName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newSetPrincipalTagAttributeMap Source #

Create a value of SetPrincipalTagAttributeMap 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:

SetPrincipalTagAttributeMap, setPrincipalTagAttributeMap_principalTags - You can use this operation to add principal tags.

SetPrincipalTagAttributeMap, setPrincipalTagAttributeMap_useDefaults - You can use this operation to use default (username and clientID) attribute mappings.

SetPrincipalTagAttributeMap, setPrincipalTagAttributeMap_identityPoolId - The ID of the Identity Pool you want to set attribute mappings for.

SetPrincipalTagAttributeMap, setPrincipalTagAttributeMap_identityProviderName - The provider name you want to use for attribute mappings.

Request Lenses

setPrincipalTagAttributeMap_useDefaults :: Lens' SetPrincipalTagAttributeMap (Maybe Bool) Source #

You can use this operation to use default (username and clientID) attribute mappings.

setPrincipalTagAttributeMap_identityPoolId :: Lens' SetPrincipalTagAttributeMap Text Source #

The ID of the Identity Pool you want to set attribute mappings for.

setPrincipalTagAttributeMap_identityProviderName :: Lens' SetPrincipalTagAttributeMap Text Source #

The provider name you want to use for attribute mappings.

Destructuring the Response

data SetPrincipalTagAttributeMapResponse Source #

Constructors

SetPrincipalTagAttributeMapResponse' 

Fields

Instances

Instances details
Generic SetPrincipalTagAttributeMapResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap

Read SetPrincipalTagAttributeMapResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap

Show SetPrincipalTagAttributeMapResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap

NFData SetPrincipalTagAttributeMapResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap

Eq SetPrincipalTagAttributeMapResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap

type Rep SetPrincipalTagAttributeMapResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap

type Rep SetPrincipalTagAttributeMapResponse = D1 ('MetaData "SetPrincipalTagAttributeMapResponse" "Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap" "amazonka-cognito-identity-2.0-9cap08KVWNhAJ5mbkAF9NH" 'False) (C1 ('MetaCons "SetPrincipalTagAttributeMapResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "identityPoolId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "identityProviderName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "principalTags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: (S1 ('MetaSel ('Just "useDefaults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newSetPrincipalTagAttributeMapResponse Source #

Create a value of SetPrincipalTagAttributeMapResponse 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:

SetPrincipalTagAttributeMap, setPrincipalTagAttributeMapResponse_identityPoolId - The ID of the Identity Pool you want to set attribute mappings for.

SetPrincipalTagAttributeMap, setPrincipalTagAttributeMapResponse_identityProviderName - The provider name you want to use for attribute mappings.

SetPrincipalTagAttributeMap, setPrincipalTagAttributeMapResponse_principalTags - You can use this operation to add principal tags. The PrincipalTagsoperation enables you to reference user attributes in your IAM permissions policy.

SetPrincipalTagAttributeMap, setPrincipalTagAttributeMapResponse_useDefaults - You can use this operation to select default (username and clientID) attribute mappings.

$sel:httpStatus:SetPrincipalTagAttributeMapResponse', setPrincipalTagAttributeMapResponse_httpStatus - The response's http status code.

Response Lenses

setPrincipalTagAttributeMapResponse_identityPoolId :: Lens' SetPrincipalTagAttributeMapResponse (Maybe Text) Source #

The ID of the Identity Pool you want to set attribute mappings for.

setPrincipalTagAttributeMapResponse_principalTags :: Lens' SetPrincipalTagAttributeMapResponse (Maybe (HashMap Text Text)) Source #

You can use this operation to add principal tags. The PrincipalTagsoperation enables you to reference user attributes in your IAM permissions policy.

setPrincipalTagAttributeMapResponse_useDefaults :: Lens' SetPrincipalTagAttributeMapResponse (Maybe Bool) Source #

You can use this operation to select default (username and clientID) attribute mappings.