libZSservicesZSamazonka-quicksightZSamazonka-quicksight
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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. Currently, you should set this to default.

Instances

Instances details
Eq CreateGroupMembership Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroupMembership

Read CreateGroupMembership Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroupMembership

Show CreateGroupMembership Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroupMembership

Generic CreateGroupMembership Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroupMembership

Associated Types

type Rep CreateGroupMembership :: Type -> Type #

NFData CreateGroupMembership Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroupMembership

Methods

rnf :: CreateGroupMembership -> () #

Hashable CreateGroupMembership Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroupMembership

ToJSON CreateGroupMembership Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroupMembership

AWSRequest CreateGroupMembership Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroupMembership

Associated Types

type AWSResponse 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

type Rep CreateGroupMembership Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroupMembership

type Rep CreateGroupMembership = D1 ('MetaData "CreateGroupMembership" "Amazonka.QuickSight.CreateGroupMembership" "libZSservicesZSamazonka-quicksightZSamazonka-quicksight" '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))))
type AWSResponse CreateGroupMembership Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroupMembership

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:

$sel:memberName:CreateGroupMembership', createGroupMembership_memberName - The name of the user that you want to add to the group membership.

$sel:groupName:CreateGroupMembership', createGroupMembership_groupName - The name of the group that you want to add the user to.

$sel:awsAccountId: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.

$sel:namespace:CreateGroupMembership', createGroupMembership_namespace - The namespace. Currently, you should set this to default.

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. Currently, you should set this to default.

Destructuring the Response

data CreateGroupMembershipResponse Source #

See: newCreateGroupMembershipResponse smart constructor.

Constructors

CreateGroupMembershipResponse' 

Fields

Instances

Instances details
Eq CreateGroupMembershipResponse Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroupMembership

Read CreateGroupMembershipResponse Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroupMembership

Show CreateGroupMembershipResponse Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroupMembership

Generic CreateGroupMembershipResponse Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroupMembership

Associated Types

type Rep CreateGroupMembershipResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-quicksightZSamazonka-quicksight" 'False) (C1 ('MetaCons "CreateGroupMembershipResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "requestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "groupMember") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe GroupMember)) :*: 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:requestId:CreateGroupMembershipResponse', createGroupMembershipResponse_requestId - The Amazon Web Services request ID for this operation.

$sel:groupMember:CreateGroupMembershipResponse', createGroupMembershipResponse_groupMember - The group member.

$sel:status: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.