Class: Aws::Glacier::Types::ListJobsInput

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

Overview

Note:

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

{
  account_id: "string", # required
  vault_name: "string", # required
  limit: 1,
  marker: "string",
  statuscode: "string",
  completed: "string",
}

Provides options for retrieving a job list for an Amazon S3 Glacier vault.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#account_idString

The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID.

Returns:

  • (String)


1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 1942

class ListJobsInput < Struct.new(
  :account_id,
  :vault_name,
  :limit,
  :marker,
  :statuscode,
  :completed)
  SENSITIVE = []
  include Aws::Structure
end

#completedString

The state of the jobs to return. You can specify true or false.

Returns:

  • (String)


1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 1942

class ListJobsInput < Struct.new(
  :account_id,
  :vault_name,
  :limit,
  :marker,
  :statuscode,
  :completed)
  SENSITIVE = []
  include Aws::Structure
end

#limitInteger

The maximum number of jobs to be returned. The default limit is 50. The number of jobs returned might be fewer than the specified limit, but the number of returned jobs never exceeds the limit.

Returns:

  • (Integer)


1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 1942

class ListJobsInput < Struct.new(
  :account_id,
  :vault_name,
  :limit,
  :marker,
  :statuscode,
  :completed)
  SENSITIVE = []
  include Aws::Structure
end

#markerString

An opaque string used for pagination. This value specifies the job at which the listing of jobs should begin. Get the marker value from a previous List Jobs response. You only need to include the marker if you are continuing the pagination of results started in a previous List Jobs request.

Returns:

  • (String)


1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 1942

class ListJobsInput < Struct.new(
  :account_id,
  :vault_name,
  :limit,
  :marker,
  :statuscode,
  :completed)
  SENSITIVE = []
  include Aws::Structure
end

#statuscodeString

The type of job status to return. You can specify the following values: InProgress, Succeeded, or Failed.

Returns:

  • (String)


1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 1942

class ListJobsInput < Struct.new(
  :account_id,
  :vault_name,
  :limit,
  :marker,
  :statuscode,
  :completed)
  SENSITIVE = []
  include Aws::Structure
end

#vault_nameString

The name of the vault.

Returns:

  • (String)


1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 1942

class ListJobsInput < Struct.new(
  :account_id,
  :vault_name,
  :limit,
  :marker,
  :statuscode,
  :completed)
  SENSITIVE = []
  include Aws::Structure
end