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

Description

Creates an empty shared folder.

Synopsis

Creating a Request

data CreateFolder Source #

See: newCreateFolder smart constructor.

Constructors

CreateFolder' 

Fields

Instances

Instances details
Eq CreateFolder Source # 
Instance details

Defined in Amazonka.QuickSight.CreateFolder

Read CreateFolder Source # 
Instance details

Defined in Amazonka.QuickSight.CreateFolder

Show CreateFolder Source # 
Instance details

Defined in Amazonka.QuickSight.CreateFolder

Generic CreateFolder Source # 
Instance details

Defined in Amazonka.QuickSight.CreateFolder

Associated Types

type Rep CreateFolder :: Type -> Type #

NFData CreateFolder Source # 
Instance details

Defined in Amazonka.QuickSight.CreateFolder

Methods

rnf :: CreateFolder -> () #

Hashable CreateFolder Source # 
Instance details

Defined in Amazonka.QuickSight.CreateFolder

ToJSON CreateFolder Source # 
Instance details

Defined in Amazonka.QuickSight.CreateFolder

AWSRequest CreateFolder Source # 
Instance details

Defined in Amazonka.QuickSight.CreateFolder

Associated Types

type AWSResponse CreateFolder #

ToHeaders CreateFolder Source # 
Instance details

Defined in Amazonka.QuickSight.CreateFolder

ToPath CreateFolder Source # 
Instance details

Defined in Amazonka.QuickSight.CreateFolder

ToQuery CreateFolder Source # 
Instance details

Defined in Amazonka.QuickSight.CreateFolder

type Rep CreateFolder Source # 
Instance details

Defined in Amazonka.QuickSight.CreateFolder

type AWSResponse CreateFolder Source # 
Instance details

Defined in Amazonka.QuickSight.CreateFolder

newCreateFolder Source #

Create a value of CreateFolder 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:parentFolderArn:CreateFolder', createFolder_parentFolderArn - The Amazon Resource Name (ARN) for the parent folder.

ParentFolderArn can be null. An empty parentFolderArn creates a root-level folder.

$sel:name:CreateFolder', createFolder_name - The name of the folder.

$sel:permissions:CreateFolder', createFolder_permissions - A structure that describes the principals and the resource-level permissions of a folder.

To specify no permissions, omit Permissions.

$sel:folderType:CreateFolder', createFolder_folderType - The type of folder. By default, folderType is SHARED.

$sel:tags:CreateFolder', createFolder_tags - Tags for the folder.

$sel:awsAccountId:CreateFolder', createFolder_awsAccountId - The AWS Account ID.

$sel:folderId:CreateFolder', createFolder_folderId - The folder ID.

Request Lenses

createFolder_parentFolderArn :: Lens' CreateFolder (Maybe Text) Source #

The Amazon Resource Name (ARN) for the parent folder.

ParentFolderArn can be null. An empty parentFolderArn creates a root-level folder.

createFolder_name :: Lens' CreateFolder (Maybe Text) Source #

The name of the folder.

createFolder_permissions :: Lens' CreateFolder (Maybe (NonEmpty ResourcePermission)) Source #

A structure that describes the principals and the resource-level permissions of a folder.

To specify no permissions, omit Permissions.

createFolder_folderType :: Lens' CreateFolder (Maybe FolderType) Source #

The type of folder. By default, folderType is SHARED.

Destructuring the Response

data CreateFolderResponse Source #

See: newCreateFolderResponse smart constructor.

Constructors

CreateFolderResponse' 

Fields

  • requestId :: Maybe Text

    The request ID for the newly created folder.

  • arn :: Maybe Text

    The Amazon Resource Name (ARN) for the newly created folder.

  • folderId :: Maybe Text

    The folder ID for the newly created folder.

  • status :: Int

    The status of the newly created folder. If succeeded, the status is SC_OK (200).

Instances

Instances details
Eq CreateFolderResponse Source # 
Instance details

Defined in Amazonka.QuickSight.CreateFolder

Read CreateFolderResponse Source # 
Instance details

Defined in Amazonka.QuickSight.CreateFolder

Show CreateFolderResponse Source # 
Instance details

Defined in Amazonka.QuickSight.CreateFolder

Generic CreateFolderResponse Source # 
Instance details

Defined in Amazonka.QuickSight.CreateFolder

Associated Types

type Rep CreateFolderResponse :: Type -> Type #

NFData CreateFolderResponse Source # 
Instance details

Defined in Amazonka.QuickSight.CreateFolder

Methods

rnf :: CreateFolderResponse -> () #

type Rep CreateFolderResponse Source # 
Instance details

Defined in Amazonka.QuickSight.CreateFolder

type Rep CreateFolderResponse = D1 ('MetaData "CreateFolderResponse" "Amazonka.QuickSight.CreateFolder" "libZSservicesZSamazonka-quicksightZSamazonka-quicksight" 'False) (C1 ('MetaCons "CreateFolderResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "requestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "folderId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newCreateFolderResponse Source #

Create a value of CreateFolderResponse 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:CreateFolderResponse', createFolderResponse_requestId - The request ID for the newly created folder.

$sel:arn:CreateFolderResponse', createFolderResponse_arn - The Amazon Resource Name (ARN) for the newly created folder.

$sel:folderId:CreateFolder', createFolderResponse_folderId - The folder ID for the newly created folder.

$sel:status:CreateFolderResponse', createFolderResponse_status - The status of the newly created folder. If succeeded, the status is SC_OK (200).

Response Lenses

createFolderResponse_requestId :: Lens' CreateFolderResponse (Maybe Text) Source #

The request ID for the newly created folder.

createFolderResponse_arn :: Lens' CreateFolderResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) for the newly created folder.

createFolderResponse_folderId :: Lens' CreateFolderResponse (Maybe Text) Source #

The folder ID for the newly created folder.

createFolderResponse_status :: Lens' CreateFolderResponse Int Source #

The status of the newly created folder. If succeeded, the status is SC_OK (200).