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

Description

Creates an Amazon QuickSight group.

The permissions resource is arn:aws:quicksight:us-east-1:<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. Currently, you should set this to default.

Instances

Instances details
Eq CreateGroup Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroup

Read CreateGroup Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroup

Show CreateGroup Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroup

Generic CreateGroup Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroup

Associated Types

type Rep CreateGroup :: Type -> Type #

NFData CreateGroup Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroup

Methods

rnf :: CreateGroup -> () #

Hashable CreateGroup Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroup

ToJSON CreateGroup Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroup

AWSRequest CreateGroup Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroup

Associated Types

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

type Rep CreateGroup Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroup

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

Defined in Amazonka.QuickSight.CreateGroup

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:

$sel:description:CreateGroup', createGroup_description - A description for the group that you want to create.

$sel:groupName:CreateGroup', createGroup_groupName - A name for the group that you want to create.

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

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

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

Destructuring the Response

data CreateGroupResponse Source #

The response object for this operation.

See: newCreateGroupResponse smart constructor.

Constructors

CreateGroupResponse' 

Fields

Instances

Instances details
Eq CreateGroupResponse Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroup

Read CreateGroupResponse Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroup

Show CreateGroupResponse Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroup

Generic CreateGroupResponse Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroup

Associated Types

type Rep CreateGroupResponse :: Type -> Type #

NFData CreateGroupResponse Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroup

Methods

rnf :: CreateGroupResponse -> () #

type Rep CreateGroupResponse Source # 
Instance details

Defined in Amazonka.QuickSight.CreateGroup

type Rep CreateGroupResponse = D1 ('MetaData "CreateGroupResponse" "Amazonka.QuickSight.CreateGroup" "libZSservicesZSamazonka-quicksightZSamazonka-quicksight" 'False) (C1 ('MetaCons "CreateGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "requestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "group'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Group)) :*: 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:requestId:CreateGroupResponse', createGroupResponse_requestId - The Amazon Web Services request ID for this operation.

$sel:group':CreateGroupResponse', createGroupResponse_group - The name of the group.

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