Class: Aws::SageMaker::Types::CreateEndpointInput

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 CreateEndpointInput data as a hash:

{
  endpoint_name: "EndpointName", # required
  endpoint_config_name: "EndpointConfigName", # required
  deployment_config: {
    blue_green_update_policy: { # required
      traffic_routing_configuration: { # required
        type: "ALL_AT_ONCE", # required, accepts ALL_AT_ONCE, CANARY, LINEAR
        wait_interval_in_seconds: 1, # required
        canary_size: {
          type: "INSTANCE_COUNT", # required, accepts INSTANCE_COUNT, CAPACITY_PERCENT
          value: 1, # required
        },
        linear_step_size: {
          type: "INSTANCE_COUNT", # required, accepts INSTANCE_COUNT, CAPACITY_PERCENT
          value: 1, # required
        },
      },
      termination_wait_in_seconds: 1,
      maximum_execution_timeout_in_seconds: 1,
    },
    auto_rollback_configuration: {
      alarms: [
        {
          alarm_name: "AlarmName",
        },
      ],
    },
  },
  tags: [
    {
      key: "TagKey", # required
      value: "TagValue", # required
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#deployment_configTypes::DeploymentConfig

The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.



6379
6380
6381
6382
6383
6384
6385
6386
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 6379

class CreateEndpointInput < Struct.new(
  :endpoint_name,
  :endpoint_config_name,
  :deployment_config,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#endpoint_config_nameString

The name of an endpoint configuration. For more information, see CreateEndpointConfig.

Returns:

  • (String)


6379
6380
6381
6382
6383
6384
6385
6386
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 6379

class CreateEndpointInput < Struct.new(
  :endpoint_name,
  :endpoint_config_name,
  :deployment_config,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#endpoint_nameString

The name of the endpoint.The name must be unique within an Amazon Web Services Region in your Amazon Web Services account. The name is case-insensitive in CreateEndpoint, but the case is preserved and must be matched in .

Returns:

  • (String)


6379
6380
6381
6382
6383
6384
6385
6386
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 6379

class CreateEndpointInput < Struct.new(
  :endpoint_name,
  :endpoint_config_name,
  :deployment_config,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources.

Returns:



6379
6380
6381
6382
6383
6384
6385
6386
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 6379

class CreateEndpointInput < Struct.new(
  :endpoint_name,
  :endpoint_config_name,
  :deployment_config,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end