Class: Aws::Keyspaces::Types::CreateTypeRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-keyspaces/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#field_definitionsArray<Types::FieldDefinition>

The field definitions, consisting of names and types, that define this type.

Returns:



687
688
689
690
691
692
693
# File 'lib/aws-sdk-keyspaces/types.rb', line 687

class CreateTypeRequest < Struct.new(
  :keyspace_name,
  :type_name,
  :field_definitions)
  SENSITIVE = []
  include Aws::Structure
end

#keyspace_nameString

The name of the keyspace.

Returns:

  • (String)


687
688
689
690
691
692
693
# File 'lib/aws-sdk-keyspaces/types.rb', line 687

class CreateTypeRequest < Struct.new(
  :keyspace_name,
  :type_name,
  :field_definitions)
  SENSITIVE = []
  include Aws::Structure
end

#type_nameString

The name of the user-defined type.

UDT names must contain 48 characters or less, must begin with an alphabetic character, and can only contain alpha-numeric characters and underscores. Amazon Keyspaces converts upper case characters automatically into lower case characters.

Alternatively, you can declare a UDT name in double quotes. When declaring a UDT name inside double quotes, Amazon Keyspaces preserves upper casing and allows special characters.

You can also use double quotes as part of the name when you create the UDT, but you must escape each double quote character with an additional double quote character.

Returns:

  • (String)


687
688
689
690
691
692
693
# File 'lib/aws-sdk-keyspaces/types.rb', line 687

class CreateTypeRequest < Struct.new(
  :keyspace_name,
  :type_name,
  :field_definitions)
  SENSITIVE = []
  include Aws::Structure
end