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.CreateGroup

Description

Use the CreateGroup operation to create a group in Amazon QuickSight. You can create up to 10,000 groups in a namespace. If you want to create more than 10,000 groups in a namespace, contact AWS Support.

The permissions resource is arn:aws:quicksight:<your-region>:<relevant-aws-account-id>:group/default/<group-name> .

The response is a group object.

Synopsis

Creating a Request

data CreateGroup Source #

The request object for this operation.

See: newCreateGroup smart constructor.

Constructors

CreateGroup' 

Fields

  • description :: Maybe Text

    A description for the group that you want to create.

  • groupName :: Text

    A name for the group that you want to create.

  • 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 group to be a part of.

Instances

Instances details
ToJSON CreateGroup Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroup

ToHeaders CreateGroup Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroup

Methods

toHeaders :: CreateGroup -> [Header] #

ToPath CreateGroup Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroup

ToQuery CreateGroup Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroup

AWSRequest CreateGroup Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroup

Associated Types

type AWSResponse CreateGroup #

Generic CreateGroup Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroup

Associated Types

type Rep CreateGroup :: Type -> Type #

Read CreateGroup Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroup

Show CreateGroup Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroup

NFData CreateGroup Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroup

Methods

rnf :: CreateGroup -> () #

Eq CreateGroup Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroup

Hashable CreateGroup Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroup

type AWSResponse CreateGroup Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroup

type Rep CreateGroup Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroup

type Rep CreateGroup = D1 ('MetaData "CreateGroup" "Amazonka.QuickSight.CreateGroup" "amazonka-quicksight-2.0-9P6nV9koXl6GTlt8ZjS7C9" 'False) (C1 ('MetaCons "CreateGroup'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe 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))))

newCreateGroup Source #

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

CreateGroup, createGroup_description - A description for the group that you want to create.

CreateGroup, createGroup_groupName - A name for the group that you want to create.

CreateGroup, createGroup_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.

CreateGroup, createGroup_namespace - The namespace that you want the group to be a part of.

Request Lenses

createGroup_description :: Lens' CreateGroup (Maybe Text) Source #

A description for the group that you want to create.

createGroup_groupName :: Lens' CreateGroup Text Source #

A name for the group that you want to create.

createGroup_awsAccountId :: Lens' CreateGroup 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.

createGroup_namespace :: Lens' CreateGroup Text Source #

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

Destructuring the Response

data CreateGroupResponse Source #

The response object for this operation.

See: newCreateGroupResponse smart constructor.

Constructors

CreateGroupResponse' 

Fields

Instances

Instances details
Generic CreateGroupResponse Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroup

Associated Types

type Rep CreateGroupResponse :: Type -> Type #

Read CreateGroupResponse Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroup

Show CreateGroupResponse Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroup

NFData CreateGroupResponse Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroup

Methods

rnf :: CreateGroupResponse -> () #

Eq CreateGroupResponse Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroup

type Rep CreateGroupResponse Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroup

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

newCreateGroupResponse Source #

Create a value of CreateGroupResponse 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:group':CreateGroupResponse', createGroupResponse_group - The name of the group.

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

CreateGroupResponse, createGroupResponse_status - The HTTP status of the request.

Response Lenses

createGroupResponse_requestId :: Lens' CreateGroupResponse (Maybe Text) Source #

The Amazon Web Services request ID for this operation.