Class: Aws::MediaStoreData::Types::ListItemsRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-mediastoredata/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#max_resultsInteger

The maximum number of results to return per API request. For example, you submit a ‘ListItems` request with `MaxResults` set at

  1. Although 2,000 items match your request, the service returns no

more than the first 500 items. (The service also returns a ‘NextToken` value that you can use to fetch the next batch of results.) The service might return fewer results than the `MaxResults` value.

If ‘MaxResults` is not included in the request, the service defaults to pagination with a maximum of 1,000 results per page.

Returns:

  • (Integer)


295
296
297
298
299
300
301
# File 'lib/aws-sdk-mediastoredata/types.rb', line 295

class ListItemsRequest < Struct.new(
  :path,
  :max_results,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end

#next_tokenString

The token that identifies which batch of results that you want to see. For example, you submit a ‘ListItems` request with `MaxResults` set at 500. The service returns the first batch of results (up to 500) and a `NextToken` value. To see the next batch of results, you can submit the `ListItems` request a second time and specify the `NextToken` value.

Tokens expire after 15 minutes.

Returns:

  • (String)


295
296
297
298
299
300
301
# File 'lib/aws-sdk-mediastoredata/types.rb', line 295

class ListItemsRequest < Struct.new(
  :path,
  :max_results,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end

#pathString

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

Returns:

  • (String)


295
296
297
298
299
300
301
# File 'lib/aws-sdk-mediastoredata/types.rb', line 295

class ListItemsRequest < Struct.new(
  :path,
  :max_results,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end