CmdID

CmdID / aws / aws workdocs

aws workdocs create-folder

Creates a folder with the specified name and parent folder. AWS CLI reference

1 example 3 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To create a folder

The following create-folder example creates a folder.

aws workdocs create-folder --name documents --parent-folder-id 1ece93e5fe75315c7407c4967918b4fd9da87ddb2a588e67b7fdaf4a98fde678Identify
--nameThe name of the new folder.
--parent-folder-idThe ID of the parent folder.
Its output
{
    "Metadata": {
        "Id": "50893c0af679524d1a0e0651130ed6d073e1a05f95bd12c42dcde5d35634ed08",
        "Name": "documents",
        "CreatorId": "S-1-1-11-1111111111-2222222222-3333333333-3333&d-926726012c",
        "ParentFolderId": "1ece93e5fe75315c7407c4967918b4fd9da87ddb2a588e67b7fdaf4a98fde678",
        "CreatedTimestamp": 1534450467.622,
        "ModifiedTimestamp": 1534450467.622,
        "ResourceState": "ACTIVE",
        "Signature": "",
        "Size": 0,
        "LatestVersionSize": 0
    }
}

Options

3 in the AWS CLI reference
--authentication-tokenAmazon WorkDocs authentication token.
--nameThe name of the new folder.
--parent-folder-idThe ID of the parent folder.