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
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name for the schema.

Returns:

  • (String)


1121
1122
1123
1124
1125
1126
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 1121

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

#schemaString

A schema in Avro JSON format.

Returns:

  • (String)


1121
1122
1123
1124
1125
1126
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 1121

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