You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::CloudWatchLogs::Types::DescribeExportTasksRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb

Overview

Note:

When making an API call, you may pass DescribeExportTasksRequest data as a hash:

{
  task_id: "ExportTaskId",
  status_code: "CANCELLED", # accepts CANCELLED, COMPLETED, FAILED, PENDING, PENDING_CANCEL, RUNNING
  next_token: "NextToken",
  limit: 1,
}

Instance Attribute Summary collapse

Instance Attribute Details

#limitInteger

The maximum number of items returned. If you don't specify a value, the default is up to 50 items.

Returns:

  • (Integer)


419
420
421
422
423
424
425
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 419

class DescribeExportTasksRequest < Struct.new(
  :task_id,
  :status_code,
  :next_token,
  :limit)
  include Aws::Structure
end

#next_tokenString

The token for the next set of items to return. (You received this token from a previous call.)

Returns:

  • (String)


419
420
421
422
423
424
425
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 419

class DescribeExportTasksRequest < Struct.new(
  :task_id,
  :status_code,
  :next_token,
  :limit)
  include Aws::Structure
end

#status_codeString

The status code of the export task. Specifying a status code filters the results to zero or more export tasks.

Returns:

  • (String)


419
420
421
422
423
424
425
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 419

class DescribeExportTasksRequest < Struct.new(
  :task_id,
  :status_code,
  :next_token,
  :limit)
  include Aws::Structure
end

#task_idString

The ID of the export task. Specifying a task ID filters the results to zero or one export tasks.

Returns:

  • (String)


419
420
421
422
423
424
425
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 419

class DescribeExportTasksRequest < Struct.new(
  :task_id,
  :status_code,
  :next_token,
  :limit)
  include Aws::Structure
end