Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-keyspaces/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:


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

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

#keyspace_nameString

The name of the keyspace.

Returns:

  • (String)

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

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)

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

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