Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
GetPrincipalTagAttributeMap' | |
|
Instances
newGetPrincipalTagAttributeMap Source #
:: 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:
$sel:identityPoolId:GetPrincipalTagAttributeMap'
, getPrincipalTagAttributeMap_identityPoolId
- You can use this operation to get the ID of the Identity Pool you setup
attribute mappings for.
$sel:identityProviderName: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.
GetPrincipalTagAttributeMapResponse' | |
|
Instances
newGetPrincipalTagAttributeMapResponse Source #
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:
$sel:identityPoolId:GetPrincipalTagAttributeMap'
, getPrincipalTagAttributeMapResponse_identityPoolId
- You can use this operation to get the ID of the Identity Pool you setup
attribute mappings for.
$sel:identityProviderName: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
PrincipalTags
operation 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
PrincipalTags
operation 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.