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.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
Eq SetPrincipalTagAttributeMap Source # 
Instance details

Defined in Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap

Read SetPrincipalTagAttributeMap Source # 
Instance details

Defined in Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap

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

NFData SetPrincipalTagAttributeMap Source # 
Instance details

Defined in Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap

Hashable SetPrincipalTagAttributeMap Source # 
Instance details

Defined in Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap

ToJSON SetPrincipalTagAttributeMap Source # 
Instance details

Defined in Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap

AWSRequest 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

type Rep SetPrincipalTagAttributeMap Source # 
Instance details

Defined in Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap

type Rep SetPrincipalTagAttributeMap = D1 ('MetaData "SetPrincipalTagAttributeMap" "Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap" "libZSservicesZSamazonka-cognito-identityZSamazonka-cognito-identity" '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))))
type AWSResponse SetPrincipalTagAttributeMap Source # 
Instance details

Defined in Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap

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:

$sel:principalTags:SetPrincipalTagAttributeMap', setPrincipalTagAttributeMap_principalTags - You can use this operation to add principal tags.

$sel:useDefaults:SetPrincipalTagAttributeMap', setPrincipalTagAttributeMap_useDefaults - You can use this operation to use default (username and clientID) attribute mappings.

$sel:identityPoolId:SetPrincipalTagAttributeMap', setPrincipalTagAttributeMap_identityPoolId - The ID of the Identity Pool you want to set attribute mappings for.

$sel:identityProviderName: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
Eq 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

Generic SetPrincipalTagAttributeMapResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap

NFData 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" "libZSservicesZSamazonka-cognito-identityZSamazonka-cognito-identity" '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:

$sel:identityPoolId:SetPrincipalTagAttributeMap', setPrincipalTagAttributeMapResponse_identityPoolId - The ID of the Identity Pool you want to set attribute mappings for.

$sel:identityProviderName:SetPrincipalTagAttributeMap', setPrincipalTagAttributeMapResponse_identityProviderName - The provider name you want to use for attribute mappings.

$sel:principalTags: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.

$sel:useDefaults: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.