Skip to content

Create Folder

quicksight_create_folder R Documentation

Creates an empty shared folder

Description

Creates an empty shared folder.

Usage

quicksight_create_folder(AwsAccountId, FolderId, Name, FolderType,
  ParentFolderArn, Permissions, Tags, SharingModel)

Arguments

AwsAccountId

[required] The ID for the Amazon Web Services account where you want to create the folder.

FolderId

[required] The ID of the folder.

Name

The name of the folder.

FolderType

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

ParentFolderArn

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

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

Permissions

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

To specify no permissions, omit Permissions.

Tags

Tags for the folder.

SharingModel

An optional parameter that determines the sharing scope of the folder. The default value for this parameter is ACCOUNT.

Value

A list with the following syntax:

list(
  Status = 123,
  Arn = "string",
  FolderId = "string",
  RequestId = "string"
)

Request syntax

svc$create_folder(
  AwsAccountId = "string",
  FolderId = "string",
  Name = "string",
  FolderType = "SHARED"|"RESTRICTED",
  ParentFolderArn = "string",
  Permissions = list(
    list(
      Principal = "string",
      Actions = list(
        "string"
      )
    )
  ),
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  ),
  SharingModel = "ACCOUNT"|"NAMESPACE"
)