Class: Aws::SageMaker::Types::CreateContextRequest

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

{
  context_name: "ExperimentEntityName", # required
  source: { # required
    source_uri: "String2048", # required
    source_type: "String256",
    source_id: "String256",
  },
  context_type: "String256", # required
  description: "ExperimentDescription",
  properties: {
    "StringParameterValue" => "StringParameterValue",
  },
  tags: [
    {
      key: "TagKey", # required
      value: "TagValue", # required
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#context_nameString

The name of the context. Must be unique to your account in an Amazon Web Services Region.

Returns:

  • (String)


5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 5457

class CreateContextRequest < Struct.new(
  :context_name,
  :source,
  :context_type,
  :description,
  :properties,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#context_typeString

The context type.

Returns:

  • (String)


5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 5457

class CreateContextRequest < Struct.new(
  :context_name,
  :source,
  :context_type,
  :description,
  :properties,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

The description of the context.

Returns:

  • (String)


5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 5457

class CreateContextRequest < Struct.new(
  :context_name,
  :source,
  :context_type,
  :description,
  :properties,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#propertiesHash<String,String>

A list of properties to add to the context.

Returns:

  • (Hash<String,String>)


5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 5457

class CreateContextRequest < Struct.new(
  :context_name,
  :source,
  :context_type,
  :description,
  :properties,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#sourceTypes::ContextSource

The source type, ID, and URI.



5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 5457

class CreateContextRequest < Struct.new(
  :context_name,
  :source,
  :context_type,
  :description,
  :properties,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

A list of tags to apply to the context.

Returns:



5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 5457

class CreateContextRequest < Struct.new(
  :context_name,
  :source,
  :context_type,
  :description,
  :properties,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end