Skip to content

CreateTypeRequest

Source code in docs_src/capo_keyspaces/types/create_type_request.py
class CreateTypeRequest(TypedDict, closed=True):
    keyspace_name: "capo_keyspaces.types.keyspace_name.KeyspaceName"
    """<p> The name of the keyspace. </p>"""
    type_name: "capo_keyspaces.types.type_name.TypeName"
    """<p> The name of the user-defined type. </p> <p>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. </p> <p>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.</p> <p>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.</p>"""
    field_definitions: "capo_keyspaces.types.field_list.FieldList"
    """<p> The field definitions, consisting of names and types, that define this type. </p>"""

field_definitions instance-attribute

field_definitions: FieldList

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

keyspace_name instance-attribute

keyspace_name: KeyspaceName

The name of the keyspace.

type_name instance-attribute

type_name: TypeName

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.