get_folder(**kwargs)¶Retrieves the metadata of the specified folder.
See also: AWS API Documentation
Request Syntax
response = client.get_folder(
    AuthenticationToken='string',
    FolderId='string',
    IncludeCustomMetadata=True|False
)
[REQUIRED]
The ID of the folder.
dict
Response Syntax
{
    'Metadata': {
        'Id': 'string',
        'Name': 'string',
        'CreatorId': 'string',
        'ParentFolderId': 'string',
        'CreatedTimestamp': datetime(2015, 1, 1),
        'ModifiedTimestamp': datetime(2015, 1, 1),
        'ResourceState': 'ACTIVE'|'RESTORING'|'RECYCLING'|'RECYCLED',
        'Signature': 'string',
        'Labels': [
            'string',
        ],
        'Size': 123,
        'LatestVersionSize': 123
    },
    'CustomMetadata': {
        'string': 'string'
    }
}
Response Structure
(dict) --
Metadata (dict) --
The metadata of the folder.
Id (string) --
The ID of the folder.
Name (string) --
The name of the folder.
CreatorId (string) --
The ID of the creator.
ParentFolderId (string) --
The ID of the parent folder.
CreatedTimestamp (datetime) --
The time when the folder was created.
ModifiedTimestamp (datetime) --
The time when the folder was updated.
ResourceState (string) --
The resource state of the folder.
Signature (string) --
The unique identifier created from the subfolders and documents of the folder.
Labels (list) --
List of labels on the folder.
Size (integer) --
The size of the folder metadata.
LatestVersionSize (integer) --
The size of the latest version of the folder metadata.
CustomMetadata (dict) --
The custom metadata on the folder.
Exceptions
WorkDocs.Client.exceptions.EntityNotExistsExceptionWorkDocs.Client.exceptions.UnauthorizedOperationExceptionWorkDocs.Client.exceptions.UnauthorizedResourceAccessExceptionWorkDocs.Client.exceptions.InvalidArgumentExceptionWorkDocs.Client.exceptions.FailedDependencyExceptionWorkDocs.Client.exceptions.ServiceUnavailableExceptionWorkDocs.Client.exceptions.ProhibitedStateException