Class: Aws::SageMaker::Types::StopInferenceExperimentRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::SageMaker::Types::StopInferenceExperimentRequest
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-sagemaker/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#desired_model_variants ⇒ Array<Types::ModelVariantConfig>
An array of
ModelVariantConfigobjects. -
#desired_state ⇒ String
The desired state of the experiment after stopping.
-
#model_variant_actions ⇒ Hash<String,String>
Array of key-value pairs, with names of variants mapped to actions.
-
#name ⇒ String
The name of the inference experiment to stop.
-
#reason ⇒ String
The reason for stopping the experiment.
Instance Attribute Details
#desired_model_variants ⇒ Array<Types::ModelVariantConfig>
An array of ModelVariantConfig objects. There is one for each variant that you want to deploy after the inference experiment stops. Each ModelVariantConfig describes the infrastructure configuration for deploying the corresponding variant.
48466 48467 48468 48469 48470 48471 48472 48473 48474 |
# File 'lib/aws-sdk-sagemaker/types.rb', line 48466 class StopInferenceExperimentRequest < Struct.new( :name, :model_variant_actions, :desired_model_variants, :desired_state, :reason) SENSITIVE = [] include Aws::Structure end |
#desired_state ⇒ String
The desired state of the experiment after stopping. The possible states are the following:
-
Completed: The experiment completed successfully -
Cancelled: The experiment was canceled
48466 48467 48468 48469 48470 48471 48472 48473 48474 |
# File 'lib/aws-sdk-sagemaker/types.rb', line 48466 class StopInferenceExperimentRequest < Struct.new( :name, :model_variant_actions, :desired_model_variants, :desired_state, :reason) SENSITIVE = [] include Aws::Structure end |
#model_variant_actions ⇒ Hash<String,String>
Array of key-value pairs, with names of variants mapped to actions. The possible actions are the following:
-
Promote- Promote the shadow variant to a production variant -
Remove- Delete the variant -
Retain- Keep the variant as it is
48466 48467 48468 48469 48470 48471 48472 48473 48474 |
# File 'lib/aws-sdk-sagemaker/types.rb', line 48466 class StopInferenceExperimentRequest < Struct.new( :name, :model_variant_actions, :desired_model_variants, :desired_state, :reason) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The name of the inference experiment to stop.
48466 48467 48468 48469 48470 48471 48472 48473 48474 |
# File 'lib/aws-sdk-sagemaker/types.rb', line 48466 class StopInferenceExperimentRequest < Struct.new( :name, :model_variant_actions, :desired_model_variants, :desired_state, :reason) SENSITIVE = [] include Aws::Structure end |
#reason ⇒ String
The reason for stopping the experiment.
48466 48467 48468 48469 48470 48471 48472 48473 48474 |
# File 'lib/aws-sdk-sagemaker/types.rb', line 48466 class StopInferenceExperimentRequest < Struct.new( :name, :model_variant_actions, :desired_model_variants, :desired_state, :reason) SENSITIVE = [] include Aws::Structure end |