Class: Aws::Backup::Types::ListBackupJobSummariesInput

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#account_idString

Returns the job count for the specified account.

If the request is sent from a member account or an account not part of Amazon Web Services Organizations, jobs within requestor’s account will be returned.

Root, admin, and delegated administrator accounts can use the value ANY to return job counts from every account in the organization.

‘AGGREGATE_ALL` aggregates job counts from all accounts within the authenticated organization, then returns the sum.

Returns:

  • (String)


4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
# File 'lib/aws-sdk-backup/types.rb', line 4507

class ListBackupJobSummariesInput < Struct.new(
  :account_id,
  :state,
  :resource_type,
  :message_category,
  :aggregation_period,
  :max_results,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end

#aggregation_periodString

The period for the returned results.

  • ‘ONE_DAY` - The daily job count for the prior 14 days.

  • ‘SEVEN_DAYS` - The aggregated job count for the prior 7 days.

  • ‘FOURTEEN_DAYS` - The aggregated job count for prior 14 days.

Returns:

  • (String)


4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
# File 'lib/aws-sdk-backup/types.rb', line 4507

class ListBackupJobSummariesInput < Struct.new(
  :account_id,
  :state,
  :resource_type,
  :message_category,
  :aggregation_period,
  :max_results,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end

#max_resultsInteger

The maximum number of items to be returned.

The value is an integer. Range of accepted values is from 1 to 500.

Returns:

  • (Integer)


4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
# File 'lib/aws-sdk-backup/types.rb', line 4507

class ListBackupJobSummariesInput < Struct.new(
  :account_id,
  :state,
  :resource_type,
  :message_category,
  :aggregation_period,
  :max_results,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end

#message_categoryString

This parameter returns the job count for the specified message category.

Example accepted strings include ‘AccessDenied`, `Success`, and `InvalidParameters`. See [Monitoring] for a list of accepted MessageCategory strings.

The the value ANY returns count of all message categories.

‘AGGREGATE_ALL` aggregates job counts for all message categories and returns the sum.

[1]: docs.aws.amazon.com/aws-backup/latest/devguide/monitoring.html

Returns:

  • (String)


4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
# File 'lib/aws-sdk-backup/types.rb', line 4507

class ListBackupJobSummariesInput < Struct.new(
  :account_id,
  :state,
  :resource_type,
  :message_category,
  :aggregation_period,
  :max_results,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end

#next_tokenString

The next item following a partial list of returned resources. For example, if a request is made to return ‘MaxResults` number of resources, `NextToken` allows you to return more items in your list starting at the location pointed to by the next token.

Returns:

  • (String)


4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
# File 'lib/aws-sdk-backup/types.rb', line 4507

class ListBackupJobSummariesInput < Struct.new(
  :account_id,
  :state,
  :resource_type,
  :message_category,
  :aggregation_period,
  :max_results,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end

#resource_typeString

Returns the job count for the specified resource type. Use request ‘GetSupportedResourceTypes` to obtain strings for supported resource types.

The the value ANY returns count of all resource types.

‘AGGREGATE_ALL` aggregates job counts for all resource types and returns the sum.

The type of Amazon Web Services resource to be backed up; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.

Returns:

  • (String)


4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
# File 'lib/aws-sdk-backup/types.rb', line 4507

class ListBackupJobSummariesInput < Struct.new(
  :account_id,
  :state,
  :resource_type,
  :message_category,
  :aggregation_period,
  :max_results,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end

#stateString

This parameter returns the job count for jobs with the specified state.

The the value ANY returns count of all states.

‘AGGREGATE_ALL` aggregates job counts for all states and returns the sum.

‘Completed with issues` is a status found only in the Backup console. For API, this status refers to jobs with a state of `COMPLETED` and a `MessageCategory` with a value other than `SUCCESS`; that is, the status is completed but comes with a status message. To obtain the job count for `Completed with issues`, run two GET requests, and subtract the second, smaller number:

GET /audit/backup-job-summaries?AggregationPeriod=FOURTEEN_DAYS&amp;State=COMPLETED

GET /audit/backup-job-summaries?AggregationPeriod=FOURTEEN_DAYS&amp;MessageCategory=SUCCESS&amp;State=COMPLETED

Returns:

  • (String)


4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
# File 'lib/aws-sdk-backup/types.rb', line 4507

class ListBackupJobSummariesInput < Struct.new(
  :account_id,
  :state,
  :resource_type,
  :message_category,
  :aggregation_period,
  :max_results,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end