Class: Aws::SageMaker::Types::CapacityReservationEndpointsAssociation

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

Overview

The association between the SageMaker AI endpoints in your account and a SageMaker Capacity Reservation, through one ML capacity reservation. To use the reserved instances for an endpoint, specify the ML capacity reservation ARN in the MlReservationArn field of ProductionVariantCapacityReservationConfig when you call CreateEndpointConfig.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#associated_time ⇒ Time

The time when SageMaker AI started the current association. This time resets when you add the association again after it was removed or after it failed.

Returns:

  • (Time)


5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 5722

class CapacityReservationEndpointsAssociation < Struct.new(
  :ml_reservation_id,
  :status,
  :match_criteria,
  :endpoint_sharing,
  :ml_reservation_arn,
  :failure_reason,
  :associated_time)
  SENSITIVE = []
  include Aws::Structure
end

#endpoint_sharing ⇒ String

Whether one endpoint or multiple endpoints can use the ML capacity reservation. Valid values:

SingleEndpoint

Only one endpoint can use the ML capacity reservation.

MultipleEndpoints

Multiple endpoints can use the ML capacity reservation.

Returns:

  • (String)


5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 5722

class CapacityReservationEndpointsAssociation < Struct.new(
  :ml_reservation_id,
  :status,
  :match_criteria,
  :endpoint_sharing,
  :ml_reservation_arn,
  :failure_reason,
  :associated_time)
  SENSITIVE = []
  include Aws::Structure
end

#failure_reason ⇒ String

The reason that the most recent attempt to add or remove the association failed. This value is returned only when the most recent attempt failed. After a failure to add the association, the status is Inactive. After a failure to remove the association, the status is Active.

Returns:

  • (String)


5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 5722

class CapacityReservationEndpointsAssociation < Struct.new(
  :ml_reservation_id,
  :status,
  :match_criteria,
  :endpoint_sharing,
  :ml_reservation_arn,
  :failure_reason,
  :associated_time)
  SENSITIVE = []
  include Aws::Structure
end

#match_criteria ⇒ String

How endpoints in your account match the ML capacity reservation. Valid values:

Open

Endpoints in your account use the ML capacity reservation automatically when their instance type matches. You don't specify the ML capacity reservation ARN when you create the endpoint.

Targeted

An endpoint uses the ML capacity reservation only when you specify its ARN when you create or update the endpoint.

Returns:

  • (String)


5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 5722

class CapacityReservationEndpointsAssociation < Struct.new(
  :ml_reservation_id,
  :status,
  :match_criteria,
  :endpoint_sharing,
  :ml_reservation_arn,
  :failure_reason,
  :associated_time)
  SENSITIVE = []
  include Aws::Structure
end

#ml_reservation_arn ⇒ String

The Amazon Resource Name (ARN) of the ML capacity reservation. Specify this ARN in CreateEndpointConfig to use the reserved instances for an endpoint. For a new ML capacity reservation, this value is returned when the status is Active.

Returns:

  • (String)


5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 5722

class CapacityReservationEndpointsAssociation < Struct.new(
  :ml_reservation_id,
  :status,
  :match_criteria,
  :endpoint_sharing,
  :ml_reservation_arn,
  :failure_reason,
  :associated_time)
  SENSITIVE = []
  include Aws::Structure
end

#ml_reservation_id ⇒ String

The name of the ML capacity reservation. The name is the last part of the ML capacity reservation ARN.

Returns:

  • (String)


5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 5722

class CapacityReservationEndpointsAssociation < Struct.new(
  :ml_reservation_id,
  :status,
  :match_criteria,
  :endpoint_sharing,
  :ml_reservation_arn,
  :failure_reason,
  :associated_time)
  SENSITIVE = []
  include Aws::Structure
end

#status ⇒ String

The status of the association. Valid values:

Pending

SageMaker AI is adding or removing the association.

Active

The resources are associated with the SageMaker Capacity Reservation and can use its instances.

Inactive

The resources are not associated with the SageMaker Capacity Reservation.

Returns:

  • (String)


5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 5722

class CapacityReservationEndpointsAssociation < Struct.new(
  :ml_reservation_id,
  :status,
  :match_criteria,
  :endpoint_sharing,
  :ml_reservation_arn,
  :failure_reason,
  :associated_time)
  SENSITIVE = []
  include Aws::Structure
end