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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


1047
1048
1049
1050
1051
1052
# File 'lib/aws-sdk-personalize/types.rb', line 1047

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

#schemaString

A schema in Avro JSON format.

Returns:

  • (String)


1047
1048
1049
1050
1051
1052
# File 'lib/aws-sdk-personalize/types.rb', line 1047

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