| 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.GetPrincipalTagAttributeMap
Description
Use GetPrincipalTagAttributeMap to list all mappings between
PrincipalTags and user attributes.
Synopsis
- data GetPrincipalTagAttributeMap = GetPrincipalTagAttributeMap' {}
- newGetPrincipalTagAttributeMap :: Text -> Text -> GetPrincipalTagAttributeMap
- getPrincipalTagAttributeMap_identityPoolId :: Lens' GetPrincipalTagAttributeMap Text
- getPrincipalTagAttributeMap_identityProviderName :: Lens' GetPrincipalTagAttributeMap Text
- data GetPrincipalTagAttributeMapResponse = GetPrincipalTagAttributeMapResponse' {}
- newGetPrincipalTagAttributeMapResponse :: Int -> GetPrincipalTagAttributeMapResponse
- getPrincipalTagAttributeMapResponse_identityPoolId :: Lens' GetPrincipalTagAttributeMapResponse (Maybe Text)
- getPrincipalTagAttributeMapResponse_identityProviderName :: Lens' GetPrincipalTagAttributeMapResponse (Maybe Text)
- getPrincipalTagAttributeMapResponse_principalTags :: Lens' GetPrincipalTagAttributeMapResponse (Maybe (HashMap Text Text))
- getPrincipalTagAttributeMapResponse_useDefaults :: Lens' GetPrincipalTagAttributeMapResponse (Maybe Bool)
- getPrincipalTagAttributeMapResponse_httpStatus :: Lens' GetPrincipalTagAttributeMapResponse Int
Creating a Request
data GetPrincipalTagAttributeMap Source #
See: newGetPrincipalTagAttributeMap smart constructor.
Constructors
| GetPrincipalTagAttributeMap' | |
Fields
| |
Instances
newGetPrincipalTagAttributeMap Source #
Arguments
| :: Text | |
| -> Text | |
| -> GetPrincipalTagAttributeMap |
Create a value of GetPrincipalTagAttributeMap 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:
GetPrincipalTagAttributeMap, getPrincipalTagAttributeMap_identityPoolId - You can use this operation to get the ID of the Identity Pool you setup
attribute mappings for.
GetPrincipalTagAttributeMap, getPrincipalTagAttributeMap_identityProviderName - You can use this operation to get the provider name.
Request Lenses
getPrincipalTagAttributeMap_identityPoolId :: Lens' GetPrincipalTagAttributeMap Text Source #
You can use this operation to get the ID of the Identity Pool you setup attribute mappings for.
getPrincipalTagAttributeMap_identityProviderName :: Lens' GetPrincipalTagAttributeMap Text Source #
You can use this operation to get the provider name.
Destructuring the Response
data GetPrincipalTagAttributeMapResponse Source #
See: newGetPrincipalTagAttributeMapResponse smart constructor.
Constructors
| GetPrincipalTagAttributeMapResponse' | |
Fields
| |
Instances
newGetPrincipalTagAttributeMapResponse Source #
Arguments
| :: Int | |
| -> GetPrincipalTagAttributeMapResponse |
Create a value of GetPrincipalTagAttributeMapResponse 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:
GetPrincipalTagAttributeMap, getPrincipalTagAttributeMapResponse_identityPoolId - You can use this operation to get the ID of the Identity Pool you setup
attribute mappings for.
GetPrincipalTagAttributeMap, getPrincipalTagAttributeMapResponse_identityProviderName - You can use this operation to get the provider name.
$sel:principalTags:GetPrincipalTagAttributeMapResponse', getPrincipalTagAttributeMapResponse_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:GetPrincipalTagAttributeMapResponse', getPrincipalTagAttributeMapResponse_useDefaults - You can use this operation to list
$sel:httpStatus:GetPrincipalTagAttributeMapResponse', getPrincipalTagAttributeMapResponse_httpStatus - The response's http status code.
Response Lenses
getPrincipalTagAttributeMapResponse_identityPoolId :: Lens' GetPrincipalTagAttributeMapResponse (Maybe Text) Source #
You can use this operation to get the ID of the Identity Pool you setup attribute mappings for.
getPrincipalTagAttributeMapResponse_identityProviderName :: Lens' GetPrincipalTagAttributeMapResponse (Maybe Text) Source #
You can use this operation to get the provider name.
getPrincipalTagAttributeMapResponse_principalTags :: Lens' GetPrincipalTagAttributeMapResponse (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.
getPrincipalTagAttributeMapResponse_useDefaults :: Lens' GetPrincipalTagAttributeMapResponse (Maybe Bool) Source #
You can use this operation to list
getPrincipalTagAttributeMapResponse_httpStatus :: Lens' GetPrincipalTagAttributeMapResponse Int Source #
The response's http status code.