Class: Aws::Personalize::Types::CreateSchemaRequest

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

Overview

Note:

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

{
  name: "Name", # required
  schema: "AvroSchema", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name for the schema.

Returns:

  • (String)


865
866
867
868
869
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 865

class CreateSchemaRequest < Struct.new(
  :name,
  :schema)
  include Aws::Structure
end

#schemaString

A schema in Avro JSON format.

Returns:

  • (String)


865
866
867
868
869
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 865

class CreateSchemaRequest < Struct.new(
  :name,
  :schema)
  include Aws::Structure
end