Skip to content

Create Folder

workdocs_create_folder R Documentation

Creates a folder with the specified name and parent folder

Description

Creates a folder with the specified name and parent folder.

Usage

workdocs_create_folder(AuthenticationToken, Name, ParentFolderId)

Arguments

AuthenticationToken

Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

Name

The name of the new folder.

ParentFolderId

[required] The ID of the parent folder.

Value

A list with the following syntax:

list(
  Metadata = list(
    Id = "string",
    Name = "string",
    CreatorId = "string",
    ParentFolderId = "string",
    CreatedTimestamp = as.POSIXct(
      "2015-01-01"
    ),
    ModifiedTimestamp = as.POSIXct(
      "2015-01-01"
    ),
    ResourceState = "ACTIVE"|"RESTORING"|"RECYCLING"|"RECYCLED",
    Signature = "string",
    Labels = list(
      "string"
    ),
    Size = 123,
    LatestVersionSize = 123
  )
)

Request syntax

svc$create_folder(
  AuthenticationToken = "string",
  Name = "string",
  ParentFolderId = "string"
)