Class: Aws::SageMaker::Types::CapacityReservationDetail

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

Overview

Details about a SageMaker Capacity Reservation. A SageMaker Capacity Reservation reserves a number of instances of one instance type in one Availability Zone for a period of time.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#availability_zone ⇒ String

The name of the Availability Zone of the reserved instances, for example us-east-1a. Availability Zone names can map to different physical zones in different accounts. To identify the same zone across accounts, use AvailabilityZoneId.

Returns:

  • (String)


5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 5492

class CapacityReservationDetail < Struct.new(
  :sm_capacity_reservation_arn,
  :sm_capacity_reservation_id,
  :owner,
  :status,
  :instance_type,
  :availability_zone,
  :availability_zone_id,
  :total_instance_count,
  :start_time,
  :end_time,
  :creation_time)
  SENSITIVE = []
  include Aws::Structure
end

#availability_zone_id ⇒ String

The ID of the Availability Zone of the reserved instances, for example use1-az1. An Availability Zone ID identifies the same physical zone in every account.

Returns:

  • (String)


5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 5492

class CapacityReservationDetail < Struct.new(
  :sm_capacity_reservation_arn,
  :sm_capacity_reservation_id,
  :owner,
  :status,
  :instance_type,
  :availability_zone,
  :availability_zone_id,
  :total_instance_count,
  :start_time,
  :end_time,
  :creation_time)
  SENSITIVE = []
  include Aws::Structure
end

#creation_time ⇒ Time

The time when the SageMaker Capacity Reservation was created.

Returns:

  • (Time)


5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 5492

class CapacityReservationDetail < Struct.new(
  :sm_capacity_reservation_arn,
  :sm_capacity_reservation_id,
  :owner,
  :status,
  :instance_type,
  :availability_zone,
  :availability_zone_id,
  :total_instance_count,
  :start_time,
  :end_time,
  :creation_time)
  SENSITIVE = []
  include Aws::Structure
end

#end_time ⇒ Time

The time when the SageMaker Capacity Reservation ends. This value is not returned if the reservation has no end time.

Returns:

  • (Time)


5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 5492

class CapacityReservationDetail < Struct.new(
  :sm_capacity_reservation_arn,
  :sm_capacity_reservation_id,
  :owner,
  :status,
  :instance_type,
  :availability_zone,
  :availability_zone_id,
  :total_instance_count,
  :start_time,
  :end_time,
  :creation_time)
  SENSITIVE = []
  include Aws::Structure
end

#instance_type ⇒ String

The SageMaker AI instance type of the reserved instances, for example ml.p5.48xlarge.

Returns:

  • (String)


5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 5492

class CapacityReservationDetail < Struct.new(
  :sm_capacity_reservation_arn,
  :sm_capacity_reservation_id,
  :owner,
  :status,
  :instance_type,
  :availability_zone,
  :availability_zone_id,
  :total_instance_count,
  :start_time,
  :end_time,
  :creation_time)
  SENSITIVE = []
  include Aws::Structure
end

#owner ⇒ String

The ID of the Amazon Web Services account that owns the SageMaker Capacity Reservation.

Returns:

  • (String)


5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 5492

class CapacityReservationDetail < Struct.new(
  :sm_capacity_reservation_arn,
  :sm_capacity_reservation_id,
  :owner,
  :status,
  :instance_type,
  :availability_zone,
  :availability_zone_id,
  :total_instance_count,
  :start_time,
  :end_time,
  :creation_time)
  SENSITIVE = []
  include Aws::Structure
end

#sm_capacity_reservation_arn ⇒ String

The Amazon Resource Name (ARN) of the SageMaker Capacity Reservation.

Returns:

  • (String)


5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 5492

class CapacityReservationDetail < Struct.new(
  :sm_capacity_reservation_arn,
  :sm_capacity_reservation_id,
  :owner,
  :status,
  :instance_type,
  :availability_zone,
  :availability_zone_id,
  :total_instance_count,
  :start_time,
  :end_time,
  :creation_time)
  SENSITIVE = []
  include Aws::Structure
end

#sm_capacity_reservation_id ⇒ String

The ID of the SageMaker Capacity Reservation. The ID is the last part of the ARN and starts with smcr-.

Returns:

  • (String)


5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 5492

class CapacityReservationDetail < Struct.new(
  :sm_capacity_reservation_arn,
  :sm_capacity_reservation_id,
  :owner,
  :status,
  :instance_type,
  :availability_zone,
  :availability_zone_id,
  :total_instance_count,
  :start_time,
  :end_time,
  :creation_time)
  SENSITIVE = []
  include Aws::Structure
end

#start_time ⇒ Time

The time when the reserved instances become available.

Returns:

  • (Time)


5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 5492

class CapacityReservationDetail < Struct.new(
  :sm_capacity_reservation_arn,
  :sm_capacity_reservation_id,
  :owner,
  :status,
  :instance_type,
  :availability_zone,
  :availability_zone_id,
  :total_instance_count,
  :start_time,
  :end_time,
  :creation_time)
  SENSITIVE = []
  include Aws::Structure
end

#status ⇒ String

The status of the SageMaker Capacity Reservation. SageMaker AI sets the status from the start and end times of the reservation. Valid values:

Scheduled

The current time is before StartTime.

Active

The current time is between StartTime and EndTime. You can use the reserved instances.

Expired

The current time is at or after EndTime.

Returns:

  • (String)


5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 5492

class CapacityReservationDetail < Struct.new(
  :sm_capacity_reservation_arn,
  :sm_capacity_reservation_id,
  :owner,
  :status,
  :instance_type,
  :availability_zone,
  :availability_zone_id,
  :total_instance_count,
  :start_time,
  :end_time,
  :creation_time)
  SENSITIVE = []
  include Aws::Structure
end

#total_instance_count ⇒ Integer

The number of instances in the SageMaker Capacity Reservation.

Returns:

  • (Integer)


5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 5492

class CapacityReservationDetail < Struct.new(
  :sm_capacity_reservation_arn,
  :sm_capacity_reservation_id,
  :owner,
  :status,
  :instance_type,
  :availability_zone,
  :availability_zone_id,
  :total_instance_count,
  :start_time,
  :end_time,
  :creation_time)
  SENSITIVE = []
  include Aws::Structure
end