AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

ListJobsInput

import "github.com/aws/aws-sdk-go/service/glacier"

type ListJobsInput struct { AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"` Completed *string `location:"querystring" locationName:"completed" type:"string"` Limit *string `location:"querystring" locationName:"limit" type:"string"` Marker *string `location:"querystring" locationName:"marker" type:"string"` Statuscode *string `location:"querystring" locationName:"statuscode" type:"string"` VaultName *string `location:"uri" locationName:"vaultName" type:"string" required:"true"` }

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

AccountId

Type: *string

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 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.

AccountId is a required field

Completed

Type: *string

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

Limit

Type: *string

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.

Marker

Type: *string

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.

Statuscode

Type: *string

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

VaultName

Type: *string

The name of the vault.

VaultName is a required field

Method

GoString

func (s ListJobsInput) GoString() string

GoString returns the string representation

SetAccountId

func (s *ListJobsInput) SetAccountId(v string) *ListJobsInput

SetAccountId sets the AccountId field's value.

SetCompleted

func (s *ListJobsInput) SetCompleted(v string) *ListJobsInput

SetCompleted sets the Completed field's value.

SetLimit

func (s *ListJobsInput) SetLimit(v string) *ListJobsInput

SetLimit sets the Limit field's value.

SetMarker

func (s *ListJobsInput) SetMarker(v string) *ListJobsInput

SetMarker sets the Marker field's value.

SetStatuscode

func (s *ListJobsInput) SetStatuscode(v string) *ListJobsInput

SetStatuscode sets the Statuscode field's value.

SetVaultName

func (s *ListJobsInput) SetVaultName(v string) *ListJobsInput

SetVaultName sets the VaultName field's value.

String

func (s ListJobsInput) String() string

String returns the string representation

Validate

func (s *ListJobsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: