amazonka-quicksight-2.0: Amazon QuickSight 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.QuickSight.CreateGroupMembership

Description

Adds an Amazon QuickSight user to an Amazon QuickSight group.

Synopsis

Creating a Request

data CreateGroupMembership Source #

See: newCreateGroupMembership smart constructor.

Constructors

CreateGroupMembership' 

Fields

  • memberName :: Text

    The name of the user that you want to add to the group membership.

  • groupName :: Text

    The name of the group that you want to add the user to.

  • awsAccountId :: Text

    The ID for the Amazon Web Services account that the group is in. Currently, you use the ID for the Amazon Web Services account that contains your Amazon QuickSight account.

  • namespace :: Text

    The namespace that you want the user to be a part of.

Instances

Instances details
ToJSON CreateGroupMembership Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroupMembership

ToHeaders CreateGroupMembership Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroupMembership

ToPath CreateGroupMembership Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroupMembership

ToQuery CreateGroupMembership Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroupMembership

AWSRequest CreateGroupMembership Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroupMembership

Associated Types

type AWSResponse CreateGroupMembership #

Generic CreateGroupMembership Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroupMembership

Associated Types

type Rep CreateGroupMembership :: Type -> Type #

Read CreateGroupMembership Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroupMembership

Show CreateGroupMembership Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroupMembership

NFData CreateGroupMembership Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroupMembership

Methods

rnf :: CreateGroupMembership -> () #

Eq CreateGroupMembership Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroupMembership

Hashable CreateGroupMembership Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroupMembership

type AWSResponse CreateGroupMembership Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroupMembership

type Rep CreateGroupMembership Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroupMembership

type Rep CreateGroupMembership = D1 ('MetaData "CreateGroupMembership" "Amazonka.QuickSight.CreateGroupMembership" "amazonka-quicksight-2.0-9P6nV9koXl6GTlt8ZjS7C9" 'False) (C1 ('MetaCons "CreateGroupMembership'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "memberName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "groupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "awsAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "namespace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

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_memberName - The name of the user that you want to add to the group membership.

CreateGroupMembership, createGroupMembership_groupName - The name of the group that you want to add the user to.

CreateGroupMembership, createGroupMembership_awsAccountId - The ID for the Amazon Web Services account that the group is in. Currently, you use the ID for the Amazon Web Services account that contains your Amazon QuickSight account.

CreateGroupMembership, createGroupMembership_namespace - The namespace that you want the user to be a part of.

Request Lenses

createGroupMembership_memberName :: Lens' CreateGroupMembership Text Source #

The name of the user that you want to add to the group membership.

createGroupMembership_groupName :: Lens' CreateGroupMembership Text Source #

The name of the group that you want to add the user to.

createGroupMembership_awsAccountId :: Lens' CreateGroupMembership Text Source #

The ID for the Amazon Web Services account that the group is in. Currently, you use the ID for the Amazon Web Services account that contains your Amazon QuickSight account.

createGroupMembership_namespace :: Lens' CreateGroupMembership Text Source #

The namespace that you want the user to be a part of.

Destructuring the Response

data CreateGroupMembershipResponse Source #

See: newCreateGroupMembershipResponse smart constructor.

Constructors

CreateGroupMembershipResponse' 

Fields

Instances

Instances details
Generic CreateGroupMembershipResponse Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroupMembership

Associated Types

type Rep CreateGroupMembershipResponse :: Type -> Type #

Read CreateGroupMembershipResponse Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroupMembership

Show CreateGroupMembershipResponse Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroupMembership

NFData CreateGroupMembershipResponse Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroupMembership

Eq CreateGroupMembershipResponse Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroupMembership

type Rep CreateGroupMembershipResponse Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroupMembership

type Rep CreateGroupMembershipResponse = D1 ('MetaData "CreateGroupMembershipResponse" "Amazonka.QuickSight.CreateGroupMembership" "amazonka-quicksight-2.0-9P6nV9koXl6GTlt8ZjS7C9" 'False) (C1 ('MetaCons "CreateGroupMembershipResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "groupMember") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe GroupMember)) :*: (S1 ('MetaSel ('Just "requestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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:groupMember:CreateGroupMembershipResponse', createGroupMembershipResponse_groupMember - The group member.

$sel:requestId:CreateGroupMembershipResponse', createGroupMembershipResponse_requestId - The Amazon Web Services request ID for this operation.

CreateGroupMembershipResponse, createGroupMembershipResponse_status - The HTTP status of the request.

Response Lenses

createGroupMembershipResponse_requestId :: Lens' CreateGroupMembershipResponse (Maybe Text) Source #

The Amazon Web Services request ID for this operation.