Class: Aws::SageMaker::Types::AdditionalInferenceSpecificationDefinition

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

Overview

Note:

When making an API call, you may pass AdditionalInferenceSpecificationDefinition data as a hash:

{
  name: "EntityName", # required
  description: "EntityDescription",
  containers: [ # required
    {
      container_hostname: "ContainerHostname",
      image: "ContainerImage", # required
      image_digest: "ImageDigest",
      model_data_url: "Url",
      product_id: "ProductId",
      environment: {
        "EnvironmentKey" => "EnvironmentValue",
      },
      model_input: {
        data_input_config: "DataInputConfig", # required
      },
      framework: "String",
      framework_version: "FrameworkVersion",
      nearest_model_name: "String",
    },
  ],
  supported_transform_instance_types: ["ml.m4.xlarge"], # accepts ml.m4.xlarge, ml.m4.2xlarge, ml.m4.4xlarge, ml.m4.10xlarge, ml.m4.16xlarge, ml.c4.xlarge, ml.c4.2xlarge, ml.c4.4xlarge, ml.c4.8xlarge, ml.p2.xlarge, ml.p2.8xlarge, ml.p2.16xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.18xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.12xlarge, ml.m5.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge
  supported_realtime_inference_instance_types: ["ml.t2.medium"], # accepts ml.t2.medium, ml.t2.large, ml.t2.xlarge, ml.t2.2xlarge, ml.m4.xlarge, ml.m4.2xlarge, ml.m4.4xlarge, ml.m4.10xlarge, ml.m4.16xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.12xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.12xlarge, ml.m5d.24xlarge, ml.c4.large, ml.c4.xlarge, ml.c4.2xlarge, ml.c4.4xlarge, ml.c4.8xlarge, ml.p2.xlarge, ml.p2.8xlarge, ml.p2.16xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.18xlarge, ml.c5d.large, ml.c5d.xlarge, ml.c5d.2xlarge, ml.c5d.4xlarge, ml.c5d.9xlarge, ml.c5d.18xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.12xlarge, ml.r5.24xlarge, ml.r5d.large, ml.r5d.xlarge, ml.r5d.2xlarge, ml.r5d.4xlarge, ml.r5d.12xlarge, ml.r5d.24xlarge, ml.inf1.xlarge, ml.inf1.2xlarge, ml.inf1.6xlarge, ml.inf1.24xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.12xlarge, ml.g5.16xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.p4d.24xlarge
  supported_content_types: ["ContentType"],
  supported_response_mime_types: ["ResponseMIMEType"],
}

A structure of additional Inference Specification. Additional Inference Specification specifies details about inference jobs that can be run with models based on this model package

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#containersArray<Types::ModelPackageContainerDefinition>

The Amazon ECR registry path of the Docker image that contains the inference code.



275
276
277
278
279
280
281
282
283
284
285
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 275

class AdditionalInferenceSpecificationDefinition < Struct.new(
  :name,
  :description,
  :containers,
  :supported_transform_instance_types,
  :supported_realtime_inference_instance_types,
  :supported_content_types,
  :supported_response_mime_types)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

A description of the additional Inference specification

Returns:

  • (String)


275
276
277
278
279
280
281
282
283
284
285
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 275

class AdditionalInferenceSpecificationDefinition < Struct.new(
  :name,
  :description,
  :containers,
  :supported_transform_instance_types,
  :supported_realtime_inference_instance_types,
  :supported_content_types,
  :supported_response_mime_types)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

A unique name to identify the additional inference specification. The name must be unique within the list of your additional inference specifications for a particular model package.

Returns:

  • (String)


275
276
277
278
279
280
281
282
283
284
285
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 275

class AdditionalInferenceSpecificationDefinition < Struct.new(
  :name,
  :description,
  :containers,
  :supported_transform_instance_types,
  :supported_realtime_inference_instance_types,
  :supported_content_types,
  :supported_response_mime_types)
  SENSITIVE = []
  include Aws::Structure
end

#supported_content_typesArray<String>

The supported MIME types for the input data.

Returns:

  • (Array<String>)


275
276
277
278
279
280
281
282
283
284
285
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 275

class AdditionalInferenceSpecificationDefinition < Struct.new(
  :name,
  :description,
  :containers,
  :supported_transform_instance_types,
  :supported_realtime_inference_instance_types,
  :supported_content_types,
  :supported_response_mime_types)
  SENSITIVE = []
  include Aws::Structure
end

#supported_realtime_inference_instance_typesArray<String>

A list of the instance types that are used to generate inferences in real-time.

Returns:

  • (Array<String>)


275
276
277
278
279
280
281
282
283
284
285
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 275

class AdditionalInferenceSpecificationDefinition < Struct.new(
  :name,
  :description,
  :containers,
  :supported_transform_instance_types,
  :supported_realtime_inference_instance_types,
  :supported_content_types,
  :supported_response_mime_types)
  SENSITIVE = []
  include Aws::Structure
end

#supported_response_mime_typesArray<String>

The supported MIME types for the output data.

Returns:

  • (Array<String>)


275
276
277
278
279
280
281
282
283
284
285
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 275

class AdditionalInferenceSpecificationDefinition < Struct.new(
  :name,
  :description,
  :containers,
  :supported_transform_instance_types,
  :supported_realtime_inference_instance_types,
  :supported_content_types,
  :supported_response_mime_types)
  SENSITIVE = []
  include Aws::Structure
end

#supported_transform_instance_typesArray<String>

A list of the instance types on which a transformation job can be run or on which an endpoint can be deployed.

Returns:

  • (Array<String>)


275
276
277
278
279
280
281
282
283
284
285
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 275

class AdditionalInferenceSpecificationDefinition < Struct.new(
  :name,
  :description,
  :containers,
  :supported_transform_instance_types,
  :supported_realtime_inference_instance_types,
  :supported_content_types,
  :supported_response_mime_types)
  SENSITIVE = []
  include Aws::Structure
end