Table Of Contents

Feedback

User Guide

First time using the AWS CLI? See the User Guide for help getting started.

[ aws . mediastore-data ]

list-items

Description

Provides a list of metadata entries about folders and objects in the specified folder.

See also: AWS API Documentation

See 'aws help' for descriptions of global parameters.

Synopsis

  list-items
[--path <value>]
[--max-results <value>]
[--next-token <value>]
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]

Options

--path (string)

The path in the container from which to retrieve items. Format: folder name/folder name/file name

--max-results (integer)

The maximum results to return. The service might return fewer results.

--next-token (string)

The NextToken received in the ListItemsResponse for the same container and path. Tokens expire after 15 minutes.

--cli-input-json (string) Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values.

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.

See 'aws help' for descriptions of global parameters.

Output

Items -> (list)

Metadata entries for the folders and objects at the requested path.

(structure)

A metadata entry for a folder or object.

Name -> (string)

The name of the item.

Type -> (string)

The item type (folder or object).

ETag -> (string)

The ETag that represents a unique instance of the item.

LastModified -> (timestamp)

The date and time that the item was last modified.

ContentType -> (string)

The content type of the item.

ContentLength -> (long)

The length of the item in bytes.

NextToken -> (string)

The NextToken used to request the next page of results using list-items .