| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap
Description
You can use this operation to use default (username and clientID) attribute or custom attribute mappings.
Synopsis
- data SetPrincipalTagAttributeMap = SetPrincipalTagAttributeMap' {}
- newSetPrincipalTagAttributeMap :: Text -> Text -> SetPrincipalTagAttributeMap
- setPrincipalTagAttributeMap_principalTags :: Lens' SetPrincipalTagAttributeMap (Maybe (HashMap Text Text))
- setPrincipalTagAttributeMap_useDefaults :: Lens' SetPrincipalTagAttributeMap (Maybe Bool)
- setPrincipalTagAttributeMap_identityPoolId :: Lens' SetPrincipalTagAttributeMap Text
- setPrincipalTagAttributeMap_identityProviderName :: Lens' SetPrincipalTagAttributeMap Text
- data SetPrincipalTagAttributeMapResponse = SetPrincipalTagAttributeMapResponse' {}
- newSetPrincipalTagAttributeMapResponse :: Int -> SetPrincipalTagAttributeMapResponse
- setPrincipalTagAttributeMapResponse_identityPoolId :: Lens' SetPrincipalTagAttributeMapResponse (Maybe Text)
- setPrincipalTagAttributeMapResponse_identityProviderName :: Lens' SetPrincipalTagAttributeMapResponse (Maybe Text)
- setPrincipalTagAttributeMapResponse_principalTags :: Lens' SetPrincipalTagAttributeMapResponse (Maybe (HashMap Text Text))
- setPrincipalTagAttributeMapResponse_useDefaults :: Lens' SetPrincipalTagAttributeMapResponse (Maybe Bool)
- setPrincipalTagAttributeMapResponse_httpStatus :: Lens' SetPrincipalTagAttributeMapResponse Int
Creating a Request
data SetPrincipalTagAttributeMap Source #
See: newSetPrincipalTagAttributeMap smart constructor.
Constructors
| SetPrincipalTagAttributeMap' | |
Fields
| |
Instances
newSetPrincipalTagAttributeMap Source #
Arguments
| :: Text | |
| -> Text | |
| -> SetPrincipalTagAttributeMap |
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_principalTags :: Lens' SetPrincipalTagAttributeMap (Maybe (HashMap Text Text)) Source #
You can use this operation to add principal tags.
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 #
See: newSetPrincipalTagAttributeMapResponse smart constructor.
Constructors
| SetPrincipalTagAttributeMapResponse' | |
Fields
| |
Instances
newSetPrincipalTagAttributeMapResponse Source #
Arguments
| :: Int | |
| -> SetPrincipalTagAttributeMapResponse |
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_identityProviderName :: Lens' SetPrincipalTagAttributeMapResponse (Maybe Text) Source #
The provider name you want to use for attribute mappings.
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.
setPrincipalTagAttributeMapResponse_httpStatus :: Lens' SetPrincipalTagAttributeMapResponse Int Source #
The response's http status code.