| 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.IdentityStore.GetGroupMembershipId
Description
Retrieves the MembershipId in an identity store.
Synopsis
- data GetGroupMembershipId = GetGroupMembershipId' {}
- newGetGroupMembershipId :: Text -> Text -> MemberId -> GetGroupMembershipId
- getGroupMembershipId_identityStoreId :: Lens' GetGroupMembershipId Text
- getGroupMembershipId_groupId :: Lens' GetGroupMembershipId Text
- getGroupMembershipId_memberId :: Lens' GetGroupMembershipId MemberId
- data GetGroupMembershipIdResponse = GetGroupMembershipIdResponse' {
- httpStatus :: Int
- membershipId :: Text
- identityStoreId :: Text
- newGetGroupMembershipIdResponse :: Int -> Text -> Text -> GetGroupMembershipIdResponse
- getGroupMembershipIdResponse_httpStatus :: Lens' GetGroupMembershipIdResponse Int
- getGroupMembershipIdResponse_membershipId :: Lens' GetGroupMembershipIdResponse Text
- getGroupMembershipIdResponse_identityStoreId :: Lens' GetGroupMembershipIdResponse Text
Creating a Request
data GetGroupMembershipId Source #
See: newGetGroupMembershipId smart constructor.
Constructors
| GetGroupMembershipId' | |
Fields
| |
Instances
newGetGroupMembershipId Source #
Arguments
| :: Text | |
| -> Text | |
| -> MemberId | |
| -> GetGroupMembershipId |
Create a value of GetGroupMembershipId 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:
GetGroupMembershipId, getGroupMembershipId_identityStoreId - The globally unique identifier for the identity store.
GetGroupMembershipId, getGroupMembershipId_groupId - The identifier for a group in the identity store.
GetGroupMembershipId, getGroupMembershipId_memberId - An object that contains the identifier of a group member. Setting the
UserID field to the specific identifier for a user indicates that the
user is a member of the group.
Request Lenses
getGroupMembershipId_identityStoreId :: Lens' GetGroupMembershipId Text Source #
The globally unique identifier for the identity store.
getGroupMembershipId_groupId :: Lens' GetGroupMembershipId Text Source #
The identifier for a group in the identity store.
getGroupMembershipId_memberId :: Lens' GetGroupMembershipId MemberId Source #
An object that contains the identifier of a group member. Setting the
UserID field to the specific identifier for a user indicates that the
user is a member of the group.
Destructuring the Response
data GetGroupMembershipIdResponse Source #
See: newGetGroupMembershipIdResponse smart constructor.
Constructors
| GetGroupMembershipIdResponse' | |
Fields
| |
Instances
newGetGroupMembershipIdResponse Source #
Arguments
| :: Int | |
| -> Text | |
| -> Text | |
| -> GetGroupMembershipIdResponse |
Create a value of GetGroupMembershipIdResponse 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:httpStatus:GetGroupMembershipIdResponse', getGroupMembershipIdResponse_httpStatus - The response's http status code.
GetGroupMembershipIdResponse, getGroupMembershipIdResponse_membershipId - The identifier for a GroupMembership in an identity store.
GetGroupMembershipId, getGroupMembershipIdResponse_identityStoreId - The globally unique identifier for the identity store.
Response Lenses
getGroupMembershipIdResponse_httpStatus :: Lens' GetGroupMembershipIdResponse Int Source #
The response's http status code.
getGroupMembershipIdResponse_membershipId :: Lens' GetGroupMembershipIdResponse Text Source #
The identifier for a GroupMembership in an identity store.
getGroupMembershipIdResponse_identityStoreId :: Lens' GetGroupMembershipIdResponse Text Source #
The globally unique identifier for the identity store.