Class: Aws::Athena::Types::CapacityReservation

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

Overview

A reservation for a specified number of data processing units (DPUs). When a reservation is initially created, it has no DPUs. Athena allocates DPUs until the allocated amount equals the requested amount.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#allocated_dpusInteger

The number of data processing units currently allocated.

Returns:

  • (Integer)


475
476
477
478
479
480
481
482
483
484
485
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 475

class CapacityReservation < Struct.new(
  :name,
  :status,
  :target_dpus,
  :allocated_dpus,
  :last_allocation,
  :last_successful_allocation_time,
  :creation_time)
  SENSITIVE = []
  include Aws::Structure
end

#creation_timeTime

The time in UTC epoch millis when the capacity reservation was created.

Returns:

  • (Time)


475
476
477
478
479
480
481
482
483
484
485
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 475

class CapacityReservation < Struct.new(
  :name,
  :status,
  :target_dpus,
  :allocated_dpus,
  :last_allocation,
  :last_successful_allocation_time,
  :creation_time)
  SENSITIVE = []
  include Aws::Structure
end

#last_allocationTypes::CapacityAllocation

Contains the submission time of a single allocation request for a capacity reservation and the most recent status of the attempted allocation.



475
476
477
478
479
480
481
482
483
484
485
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 475

class CapacityReservation < Struct.new(
  :name,
  :status,
  :target_dpus,
  :allocated_dpus,
  :last_allocation,
  :last_successful_allocation_time,
  :creation_time)
  SENSITIVE = []
  include Aws::Structure
end

#last_successful_allocation_timeTime

The time of the most recent capacity allocation that succeeded.

Returns:

  • (Time)


475
476
477
478
479
480
481
482
483
484
485
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 475

class CapacityReservation < Struct.new(
  :name,
  :status,
  :target_dpus,
  :allocated_dpus,
  :last_allocation,
  :last_successful_allocation_time,
  :creation_time)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the capacity reservation.

Returns:

  • (String)


475
476
477
478
479
480
481
482
483
484
485
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 475

class CapacityReservation < Struct.new(
  :name,
  :status,
  :target_dpus,
  :allocated_dpus,
  :last_allocation,
  :last_successful_allocation_time,
  :creation_time)
  SENSITIVE = []
  include Aws::Structure
end

#statusString

The status of the capacity reservation.

Returns:

  • (String)


475
476
477
478
479
480
481
482
483
484
485
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 475

class CapacityReservation < Struct.new(
  :name,
  :status,
  :target_dpus,
  :allocated_dpus,
  :last_allocation,
  :last_successful_allocation_time,
  :creation_time)
  SENSITIVE = []
  include Aws::Structure
end

#target_dpusInteger

The number of data processing units requested.

Returns:

  • (Integer)


475
476
477
478
479
480
481
482
483
484
485
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 475

class CapacityReservation < Struct.new(
  :name,
  :status,
  :target_dpus,
  :allocated_dpus,
  :last_allocation,
  :last_successful_allocation_time,
  :creation_time)
  SENSITIVE = []
  include Aws::Structure
end