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

Class: Aws::Redshift::Types::SnapshotSortingEntity

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

Overview

Note:

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

{
  attribute: "SOURCE_TYPE", # required, accepts SOURCE_TYPE, TOTAL_SIZE, CREATE_TIME
  sort_order: "ASC", # accepts ASC, DESC
}

Describes a sorting entity

Instance Attribute Summary collapse

Instance Attribute Details

#attributeString

The category for sorting the snapshots.

Returns:

  • (String)


8495
8496
8497
8498
8499
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 8495

class SnapshotSortingEntity < Struct.new(
  :attribute,
  :sort_order)
  include Aws::Structure
end

#sort_orderString

The order for listing the attributes.

Returns:

  • (String)


8495
8496
8497
8498
8499
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 8495

class SnapshotSortingEntity < Struct.new(
  :attribute,
  :sort_order)
  include Aws::Structure
end