Class: Aws::EC2::Types::GetCapacityReservationUsageResult

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#available_instance_countInteger

The remaining capacity. Indicates the number of instances that can be launched in the Capacity Reservation.

Returns:

  • (Integer)


26367
26368
26369
26370
26371
26372
26373
26374
26375
26376
26377
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 26367

class GetCapacityReservationUsageResult < Struct.new(
  :next_token,
  :capacity_reservation_id,
  :instance_type,
  :total_instance_count,
  :available_instance_count,
  :state,
  :instance_usages)
  SENSITIVE = []
  include Aws::Structure
end

#capacity_reservation_idString

The ID of the Capacity Reservation.

Returns:

  • (String)


26367
26368
26369
26370
26371
26372
26373
26374
26375
26376
26377
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 26367

class GetCapacityReservationUsageResult < Struct.new(
  :next_token,
  :capacity_reservation_id,
  :instance_type,
  :total_instance_count,
  :available_instance_count,
  :state,
  :instance_usages)
  SENSITIVE = []
  include Aws::Structure
end

#instance_typeString

The type of instance for which the Capacity Reservation reserves capacity.

Returns:

  • (String)


26367
26368
26369
26370
26371
26372
26373
26374
26375
26376
26377
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 26367

class GetCapacityReservationUsageResult < Struct.new(
  :next_token,
  :capacity_reservation_id,
  :instance_type,
  :total_instance_count,
  :available_instance_count,
  :state,
  :instance_usages)
  SENSITIVE = []
  include Aws::Structure
end

#instance_usagesArray<Types::InstanceUsage>

Information about the Capacity Reservation usage.

Returns:



26367
26368
26369
26370
26371
26372
26373
26374
26375
26376
26377
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 26367

class GetCapacityReservationUsageResult < Struct.new(
  :next_token,
  :capacity_reservation_id,
  :instance_type,
  :total_instance_count,
  :available_instance_count,
  :state,
  :instance_usages)
  SENSITIVE = []
  include Aws::Structure
end

#next_tokenString

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

Returns:

  • (String)


26367
26368
26369
26370
26371
26372
26373
26374
26375
26376
26377
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 26367

class GetCapacityReservationUsageResult < Struct.new(
  :next_token,
  :capacity_reservation_id,
  :instance_type,
  :total_instance_count,
  :available_instance_count,
  :state,
  :instance_usages)
  SENSITIVE = []
  include Aws::Structure
end

#stateString

The current state of the Capacity Reservation. A Capacity Reservation can be in one of the following states:

  • active - The Capacity Reservation is active and the capacity is available for your use.

  • expired - The Capacity Reservation expired automatically at the date and time specified in your request. The reserved capacity is no longer available for your use.

  • cancelled - The Capacity Reservation was manually cancelled. The reserved capacity is no longer available for your use.

  • pending - The Capacity Reservation request was successful but the capacity provisioning is still pending.

  • failed - The Capacity Reservation request has failed. A request might fail due to invalid request parameters, capacity constraints, or instance limit constraints. Failed requests are retained for 60 minutes.

Returns:

  • (String)


26367
26368
26369
26370
26371
26372
26373
26374
26375
26376
26377
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 26367

class GetCapacityReservationUsageResult < Struct.new(
  :next_token,
  :capacity_reservation_id,
  :instance_type,
  :total_instance_count,
  :available_instance_count,
  :state,
  :instance_usages)
  SENSITIVE = []
  include Aws::Structure
end

#total_instance_countInteger

The number of instances for which the Capacity Reservation reserves capacity.

Returns:

  • (Integer)


26367
26368
26369
26370
26371
26372
26373
26374
26375
26376
26377
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 26367

class GetCapacityReservationUsageResult < Struct.new(
  :next_token,
  :capacity_reservation_id,
  :instance_type,
  :total_instance_count,
  :available_instance_count,
  :state,
  :instance_usages)
  SENSITIVE = []
  include Aws::Structure
end