amazonka-identitystore-2.0: Amazon SSO Identity Store SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.IdentityStore.CreateGroupMembership

Description

Creates a relationship between a member and a group. The following identifiers must be specified: GroupId, IdentityStoreId, and MemberId.

Synopsis

Creating a Request

data CreateGroupMembership Source #

See: newCreateGroupMembership smart constructor.

Constructors

CreateGroupMembership' 

Fields

  • identityStoreId :: Text

    The globally unique identifier for the identity store.

  • groupId :: Text

    The identifier for a group in the identity store.

  • memberId :: 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.

Instances

Instances details
ToJSON CreateGroupMembership Source # 
Instance details

Defined in Amazonka.IdentityStore.CreateGroupMembership

ToHeaders CreateGroupMembership Source # 
Instance details

Defined in Amazonka.IdentityStore.CreateGroupMembership

ToPath CreateGroupMembership Source # 
Instance details

Defined in Amazonka.IdentityStore.CreateGroupMembership

ToQuery CreateGroupMembership Source # 
Instance details

Defined in Amazonka.IdentityStore.CreateGroupMembership

AWSRequest CreateGroupMembership Source # 
Instance details

Defined in Amazonka.IdentityStore.CreateGroupMembership

Associated Types

type AWSResponse CreateGroupMembership #

Generic CreateGroupMembership Source # 
Instance details

Defined in Amazonka.IdentityStore.CreateGroupMembership

Associated Types

type Rep CreateGroupMembership :: Type -> Type #

Read CreateGroupMembership Source # 
Instance details

Defined in Amazonka.IdentityStore.CreateGroupMembership

Show CreateGroupMembership Source # 
Instance details

Defined in Amazonka.IdentityStore.CreateGroupMembership

NFData CreateGroupMembership Source # 
Instance details

Defined in Amazonka.IdentityStore.CreateGroupMembership

Methods

rnf :: CreateGroupMembership -> () #

Eq CreateGroupMembership Source # 
Instance details

Defined in Amazonka.IdentityStore.CreateGroupMembership

Hashable CreateGroupMembership Source # 
Instance details

Defined in Amazonka.IdentityStore.CreateGroupMembership

type AWSResponse CreateGroupMembership Source # 
Instance details

Defined in Amazonka.IdentityStore.CreateGroupMembership

type Rep CreateGroupMembership Source # 
Instance details

Defined in Amazonka.IdentityStore.CreateGroupMembership

type Rep CreateGroupMembership = D1 ('MetaData "CreateGroupMembership" "Amazonka.IdentityStore.CreateGroupMembership" "amazonka-identitystore-2.0-FD6RUaLi6gx9YE16ATGTMj" 'False) (C1 ('MetaCons "CreateGroupMembership'" 'PrefixI 'True) (S1 ('MetaSel ('Just "identityStoreId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "groupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "memberId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 MemberId))))

newCreateGroupMembership Source #

Create a value of CreateGroupMembership 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:

CreateGroupMembership, createGroupMembership_identityStoreId - The globally unique identifier for the identity store.

CreateGroupMembership, createGroupMembership_groupId - The identifier for a group in the identity store.

CreateGroupMembership, createGroupMembership_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

createGroupMembership_identityStoreId :: Lens' CreateGroupMembership Text Source #

The globally unique identifier for the identity store.

createGroupMembership_groupId :: Lens' CreateGroupMembership Text Source #

The identifier for a group in the identity store.

createGroupMembership_memberId :: Lens' CreateGroupMembership 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 CreateGroupMembershipResponse Source #

See: newCreateGroupMembershipResponse smart constructor.

Constructors

CreateGroupMembershipResponse' 

Fields

Instances

Instances details
Generic CreateGroupMembershipResponse Source # 
Instance details

Defined in Amazonka.IdentityStore.CreateGroupMembership

Associated Types

type Rep CreateGroupMembershipResponse :: Type -> Type #

Read CreateGroupMembershipResponse Source # 
Instance details

Defined in Amazonka.IdentityStore.CreateGroupMembership

Show CreateGroupMembershipResponse Source # 
Instance details

Defined in Amazonka.IdentityStore.CreateGroupMembership

NFData CreateGroupMembershipResponse Source # 
Instance details

Defined in Amazonka.IdentityStore.CreateGroupMembership

Eq CreateGroupMembershipResponse Source # 
Instance details

Defined in Amazonka.IdentityStore.CreateGroupMembership

type Rep CreateGroupMembershipResponse Source # 
Instance details

Defined in Amazonka.IdentityStore.CreateGroupMembership

type Rep CreateGroupMembershipResponse = D1 ('MetaData "CreateGroupMembershipResponse" "Amazonka.IdentityStore.CreateGroupMembership" "amazonka-identitystore-2.0-FD6RUaLi6gx9YE16ATGTMj" 'False) (C1 ('MetaCons "CreateGroupMembershipResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "membershipId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "identityStoreId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newCreateGroupMembershipResponse Source #

Create a value of CreateGroupMembershipResponse 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:CreateGroupMembershipResponse', createGroupMembershipResponse_httpStatus - The response's http status code.

CreateGroupMembershipResponse, createGroupMembershipResponse_membershipId - The identifier for a newly created GroupMembership in an identity store.

CreateGroupMembership, createGroupMembershipResponse_identityStoreId - The globally unique identifier for the identity store.

Response Lenses

createGroupMembershipResponse_membershipId :: Lens' CreateGroupMembershipResponse Text Source #

The identifier for a newly created GroupMembership in an identity store.

createGroupMembershipResponse_identityStoreId :: Lens' CreateGroupMembershipResponse Text Source #

The globally unique identifier for the identity store.