Skip to content

DynamoDB Table Data Model Documentation

Table of Contents

Top

protos/clouddb/wire/aws/dynamodb/table.proto

DynamoDbArchivalSummary

Contains details of a table archival operation

Field Type Label Description
archival_backup_arn string The Amazon Resource Name (ARN) of the backup the table was archived to, when applicable in the archival reason AWS API field: ArchivalSummary -> ArchivalBackupArn
archival_date_time google.protobuf.Timestamp The date and time when table archival was initiated by DynamoDB, in UNIX epoch time format AWS API field: ArchivalSummary -> ArchivalDateTime
archival_reason DynamoDbArchivalSummary.ArchivalReason The reason DynamoDB archived the table AWS API field: ArchivalSummary -> ArchivalReason

DynamoDbAttributeDefinition

Represents an attribute for describing the key schema for the table and indexes.

Field Type Label Description
attribute_name string A name for the attribute. AWS API field: AttributeDefinition -> AttributeName
attribute_type DynamoDbAttributeDefinition.AttributeType The data type for the attribute AWS API field: AttributeDefinition -> AttributeType

DynamoDbAutoScalingPolicyDescription

Represents the properties of the scaling policy AWS data type: AutoScalingPolicyDescription

Field Type Label Description
policy_name string The name of the scaling policy. AWS API field: AutoScalingSettingsDescription -> PolicyName
target_tracking_scaling_policy_configuration DynamoDbAutoScalingTargetTrackingScalingPolicyConfigurationDescription Represents a target tracking scaling policy configuration AWS API field: AutoScalingSettingsDescription -> TargetTrackingScalingPolicyConfiguration

DynamoDbAutoScalingSettingsDescription

Represents the auto scaling settings for a global table or global secondary index AWS data type: AutoScalingSettingsDescription

Field Type Label Description
auto_scaling_disabled bool Disabled auto scaling for this global table or global secondary index AWS API field: AutoScalingDisabled
auto_scaling_role_arn string Role ARN used for configuring the auto scaling policy AWS API field: AutoScalingRoleArn
maximum_units int64 The maximum capacity units that a global table or global secondary index should be scaled up to AWS API field: MaximumUnits
minimum_units int64 The minimum capacity units that a global table or global secondary index should be scaled down to AWS API field: MinimumUnits
scaling_policies DynamoDbAutoScalingPolicyDescription repeated Represents the properties of the scaling policy AWS API field: ScalingPolicies

DynamoDbAutoScalingTargetTrackingScalingPolicyConfigurationDescription

Represents the properties of a target tracking scaling policy AWS data type: AutoScalingTargetTrackingScalingPolicyConfigurationDescription

Field Type Label Description
target_value double The target value for the metric. AWS API field: AutoScalingTargetTrackingScalingPolicyConfigurationDescription -> TargetValue
disable_scale_in bool Indicates whether scale in by the target tracking policy is disabled. If the value is true, scale in is disabled and the target tracking policy won't remove capacity from the scalable resource. Otherwise, scale in is enabled and the target tracking policy can remove capacity from the scalable resource. AWS API field: DisableScaleIn
scale_in_cooldown int32 The amount of time, in seconds, after a scale in activity completes before another scale in activity can start. The cooldown period is used to block subsequent scale in requests until it has expired. You should scale in conservatively to protect your application's availability. However, if another alarm triggers a scale out policy during the cooldown period after a scale-in, application auto scaling scales out your scalable target immediately. AWS API field: AutoScalingTargetTrackingScalingPolicyConfigurationDescription -> ScaleInCooldown
scale_out_cooldown int32 The amount of time, in seconds, after a scale out activity completes before another scale out activity can start. While the cooldown period is in effect, the capacity that has been added by the previous scale out event that initiated the cooldown is calculated as part of the desired capacity for the next scale out. You should continuously (but not excessively) scale out. AWS API field: AutoScalingTargetTrackingScalingPolicyConfigurationDescription - ScaleOutCooldown

DynamoDbBillingModeSummary

Contains the details for the read/write capacity mode.

Field Type Label Description
billing_mode DynamoDbBillingModeSummary.BillingMode Controls how you are charged for read and write throughput and how you manage capacity AWS API field: BillingModeSummary -> BillingMode
last_update_to_pay_per_request_date_time google.protobuf.Timestamp Represents the time when PAY_PER_REQUEST was last set as the read/write capacity mode AWS API field: BillingModeSummary -> LastUpdateToPayPerRequestDateTime

DynamoDbContinuousBackupsDescription

Represents the continuous backups and point in time recovery settings on the table

Fields extracted from: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ContinuousBackupsDescription.html

Field Type Label Description
continuous_backups_status DynamoDbContinuousBackupsDescription.ContinuousBackupsStatus AWS API field: ContinuousBackupsStatus
point_in_time_recovery_description DynamoDbPointInTimeRecoveryDescription AWS API field: PointInTimeRecoveryDescription

DynamoDbGlobalSecondaryIndexDescription

Describes a single global secondary index

Field Type Label Description
backfilling bool Backfilling occurs only when a new global secondary index is added to the table. It is the process by which DynamoDB populates the new index with data from the table. AWS API field: GlobalSecondaryIndexDescription -> Backfilling
index_arn string ARN that uniquely identifies this index AWS API field: GlobalSecondaryIndexDescription -> IndexArn
index_name string Name of the index AWS API field: GlobalSecondaryIndexDescription -> IndexName
index_size_bytes int64 Represents the total size of the index, in bytes (type long) DynamoDB updates this value approximately every six hours. AWS API field: GlobalSecondaryIndexDescription -> IndexSizeBytes
index_status DynamoDbGlobalSecondaryIndexDescription.IndexStatus The current status of the global secondary index AWS API field: GlobalSecondaryIndexDescription -> IndexStatus
item_count int64 The number of items in the global secondary index. AWS API field: GlobalSecondaryIndexDescription -> ItemCount
key_schema DynamoDbKeySchemaElement repeated Specifies the complete index key schema. AWS API field: GlobalSecondaryIndexDescription -> KeySchema
projection Projection Specifies attributes that are copied (projected) from the table into the index. AWS API field: GlobalSecondaryIndexDescription -> Projection
provisioned_throughput DynamoDbProvisionedThroughput The provisioned throughput settings for the global secondary index, consisting of read and write capacity units, along with data about increases and decreases. AWS API field: GlobalSecondaryIndexDescription -> ProvisionedThroughput

DynamoDbKeySchemaElement

A key schema specifies the attributes that make up the primary key of a table, or the key attributes of an index.

Field Type Label Description
attribute_name string Name of the attribute AWS Api field: KeySchemaElement -> AttributeName
type DynamoDbKeySchemaElement.KeyType The role that this key attribute will assume AWS Api field: KeySchemaElement -> KeyType

DynamoDbLocalSecondaryIndexDescription

Represents the properties of a local secondary index.

Field Type Label Description
index_name string Name of the local secondary index AWS API field: LocalSecondaryIndexDescription -> IndexName
index_arn string
key_schema DynamoDbKeySchemaElement repeated The primary key structure for the table. An array of KeySchemaElements AWS API field: LocalSecondaryIndexDescription -> KeySchema
projection Projection Specifies attributes that are copied (projected) from the table into the index. AWS API field: LocalSecondaryIndexDescription -> Projection
index_size_bytes int64 Represents the total size of the index, in bytes (type Long). DynamoDB updates this value approximately every 6 hours AWS API field: LocalSecondaryIndexDescription -> IndexSizeBytes
item_count int64 Represents the number of items in the index. DynamoDB updates this value approximately every six hours. AWS API field: LocalSecondaryIndexDescription -> ItemCount

DynamoDbPointInTimeRecoveryDescription

The description of the point in time settings applied to the table.

Fields extracted from: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_PointInTimeRecoveryDescription.html

Field Type Label Description
point_in_time_recovery_status DynamoDbPointInTimeRecoveryDescription.PointInTimeRecoveryStatus The current state of point in time recovery AWS API field: PointInTimeRecoveryStatus
earliest_restorable_date_time google.protobuf.Timestamp Specifies the earliest point in time you can restore your table to. AWS API field: EarliestRestorableDateTime
latest_restorable_date_time google.protobuf.Timestamp It's typically 5 minutes before the current time. AWS API field: LatestRestorableDateTime

DynamoDbProvisionedThroughput

Represents the provisioned throughput settings for a specified table or index

Field Type Label Description
read_capacity_units int64 The maximum number of strongly consistent reads consumed per second before DynamoDB returns a ThrottlingException AWS API field: ProvisionedThroughput -> ReadCapacityUnits
write_capacity_units int64 The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException. AWS API field: ProvisionedThroughput -> WriteCapacityUnits

DynamoDbProvisionedThroughputOverride

Field Type Label Description
read_capacity_units int64 Replica-specific provisioned throughput. If not described, uses the source table's provisioned throughput settings AWS API field: ReplicaDescription -> ProvisionedThroughputOverride (only has 1 parameter) -> ReadCapacityUnits

DynamoDbReplicaAutoScalingDescription

Field Type Label Description
global_secondary_indexes DynamoDbReplicaGlobalSecondaryIndexAutoScalingDescription repeated Replica-specific global secondary index auto scaling settings. AWS API field: ReplicaAutoScalingDescription -> GlobalSecondaryIndexes
region_name string The Region where the replica exists AWS API field: ReplicaAutoScalingDescription -> RegionName
replica_provisioned_read_capacity_auto_scaling_settings DynamoDbAutoScalingSettingsDescription Represents the auto scaling settings for a replicated global table AWS API field: ReplicaAutoScalingDescription -> ReplicaProvisionedReadCapacityAutoScalingSettings
replica_provisioned_write_capacity_auto_scaling_settings DynamoDbAutoScalingSettingsDescription Represents the auto scaling settings for a replicated global table AWS API field: ReplicaAutoScalingDescription -> ReplicaProvisionedWriteCapacityAutoScalingSettings
replica_status DynamoDbReplicaAutoScalingDescription.ReplicaStatus The current state of the replica: AWS API field: ReplicaAutoScalingDescription -> ReplicaStatus

DynamoDbReplicaDescription

Contains the details of the replica.

Field Type Label Description
global_secondary_indexes DynamoDbReplicaGlobalSecondaryIndexDescription repeated Replica-specific global secondary index settings. AWS API field: ReplicaDescription -> GlobalSecondaryIndexes
kms_master_key_id string The AWS KMS customer master key (CMK) of the replica that will be used for AWS KMS encryption AWS API field: ReplicaDescription -> KMSMasterKeyId
provisioned_throughput_override DynamoDbProvisionedThroughputOverride Replica-specific provisioned throughput. If not described, uses the source table's provisioned throughput settings AWS API field: ReplicaDescription -> ProvisionedThroughputOverride
region_name string Name of the region AWS API field: ReplicaDescription -> RegionName
replica_status DynamoDbReplicaDescription.ReplicaStatus The current state of the replica AWS API field: ReplicaDescription -> ReplicaStatus (same parameters as IndexStatus)
replica_status_description string Detailed information about the replica status AWS API field: ReplicaDescription -> ReplicaStatusDescription
replica_status_percent_progress string Specifies the progress of a Create, Update, or Delete action on the replica as a percentage AWS API field: ReplicaDescription -> ReplicaStatusPercentProgress

DynamoDbReplicaGlobalSecondaryIndexAutoScalingDescription

Represents the auto scaling configuration for a replica global secondary index.

Field Type Label Description
index_name string The name of the global secondary index. AWS API field: ReplicaGlobalSecondaryIndexAutoScalingDescription -> IndexName
index_status DynamoDbReplicaGlobalSecondaryIndexAutoScalingDescription.IndexStatus The current state of the replica global secondary index: AWS API field: ReplicaGlobalSecondaryIndexAutoScalingDescription -> IndexStatus
provisioned_read_capacity_auto_scaling_settings DynamoDbAutoScalingSettingsDescription Represents the auto scaling settings for a global table or global secondary index. AWS API field: ReplicaGlobalSecondaryIndexAutoScalingDescription -> ProvisionedReadCapacityAutoScalingSettings
provisioned_write_capacity_auto_scaling_settings DynamoDbAutoScalingSettingsDescription Represents the auto scaling settings for a global table or global secondary index. AWS API field: ReplicaGlobalSecondaryIndexAutoScalingDescription -> ProvisionedWriteCapacityAutoScalingSettings

DynamoDbReplicaGlobalSecondaryIndexDescription

Represents the properties of a replica global secondary index

Field Type Label Description
index_name string The name of the global secondary index AWS API field: ReplicaGlobalSecondaryIndexDescription -> IndexName
provisioned_throughput_override DynamoDbProvisionedThroughputOverride Replica-specific provisioned throughput settings AWS API field: ReplicaGlobalSecondaryIndexDescription -> ProvisionedThroughputOverride -> ReadCapacityUnits

DynamoDbRestoreSummary

Contains details for the restore.

Field Type Label Description
restore_date_time google.protobuf.Timestamp Point in time or source backup time. AWS API field: RestoreSummary -> RestoreDateTime
restore_in_progress bool Indicates if a restore is in progress or not AWS API field: RestoreSummary -> RestoreInProgress
source_backup_arn string The Amazon Resource Name (ARN) of the backup from which the table was restored AWS API field: RestoreSummary -> SourceBackupArn
source_table_arn string The ARN of the source table of the backup that is being restored AWS API field: RestoreSummary -> SourceTableArn

DynamoDbSSEDescription

The description of the server-side encryption status on the specified table

Field Type Label Description
inaccessible_encryption_date_time google.protobuf.Timestamp Indicates the time, in UNIX epoch date format, when DynamoDB detected that the table's AWS KMS key was inaccessible AWS API field: SSEDescription -> InaccessibleEncryptionDateTime
kms_master_key_arn string The AWS KMS customer master key (CMK) ARN used for the AWS KMS encryption AWS API field: SSEDescription -> KMSMasterKeyArn
sse_type DynamoDbSSEDescription.SSEType Server-side encryption type AWS API field: SSEDescription -> SSEType
status DynamoDbSSEDescription.SSEStatus Represents the current state of server-side encryption AWS API field: SSEDescription -> Status

DynamoDbStreamSpecification

Represents the DynamoDB Streams configuration for a table in DynamoDB.

Field Type Label Description
stream_enabled bool Indicates whether DynamoDB Streams is enabled (true) or disabled (false) on the table AWS API field: StreamSpecification -> StreamEnabled
stream_view_type DynamoDbStreamSpecification.ViewType When an item in the table is modified, StreamViewType determines what information is written to the stream for this table AWS API field: StreamSpecification -> StreamViewType

DynamoDbTableAutoScalingDescription

Represents the auto scaling configuration for a global table.

Field Type Label Description
replicas DynamoDbReplicaAutoScalingDescription repeated Represents replicas of the global table. AWS API field: TableAutoScalingDescription -> Replicas
table_name string AWS API field: TableAutoScalingDescription -> TableName
table_status DynamoDbTableAutoScalingDescription.TableStatus The current state of the table AWS API field: TableAutoScalingDescription -> TableStatus

DynamoDbTableSettings

AWS mutable configuration for a DynamoDb Table

Fields extracted from: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_TableDescription.html

Field Type Label Description
table_name string Name of the table AWS API field: TableName
table_arn string ARN that uniquely identifies the table AWS API field: TableArn
table_id string Unique identifier for the table for which the backup was created AWS API field: TableId
key_schema DynamoDbKeySchemaElement repeated The primary key structure for the table. AWS API field: KeySchema
table_status DynamoDbTableSettings.TableStatus Current state of the table AWS API field: TableStatus
local_secondary_indexes DynamoDbLocalSecondaryIndexDescription repeated Represents one or more local secondary indexes on the table. Each index is scoped to a given partition key value. AWS API field: LocalSecondaryIndexes
global_secondary_indexes DynamoDbGlobalSecondaryIndexDescription repeated The global secondary indexes, if any, on the table. Each index is scoped to a given partition key value. AWS API field: GlobalSecondaryIndexes
creation_date_time google.protobuf.Timestamp The date and time when the table was created, in UNIX AWS API field: CreationDateTime
item_count int64 The number of items in the specified table. DynamoDB updates this value approximately every six hours. AWS API field: ItemCount
latest_stream_arn string The Amazon Resource Name (ARN) that uniquely identifies the latest stream for this table. AWS API field: LatestStreamArn
latest_stream_label string A timestamp, in ISO 8601 format, for this stream. AWS API field: LatestStreamLabel
provisioned_throughput DynamoDbProvisionedThroughput The provisioned throughput settings for the table, consisting of read and write capacity units, along with data about increases and decreases. AWS API field: ProvisionedThroughput
replicas DynamoDbReplicaDescription repeated Represents replicas of the table. AWS API field: Replicas
archival_summary DynamoDbArchivalSummary Contains information about the table archive AWS API field: ArchivalSummary
attribute_definitions DynamoDbAttributeDefinition repeated An array of AttributeDefinition objects AWS API field: AttributeDefinitions
billing_mode_summary DynamoDbBillingModeSummary Contains the details for the read/write capacity mode AWS API field: BillingModeSummary
global_table_version string Represents the version of global tables in use, if the table is replicated across AWS Regions AWS API field: GlobalTableVersion
restore_summary DynamoDbRestoreSummary Contains details for the restore AWS API field: RestoreSummary
sse_description DynamoDbSSEDescription The description of the server-side encryption status on the specified table AWS API field: SSEDescription
stream_specification DynamoDbStreamSpecification The current DynamoDB Streams configuration for the table AWS API field: StreamSpecification
table_size_bytes int64 The total size of the specified table, in bytes. DynamoDB updates this value approximately every six hours AWS API field: TableSizeBytes
continuous_backups_description DynamoDbContinuousBackupsDescription Represents the continuous backups and point in time recovery settings on the table AWS API DataType: ContinuousBackupsDescription
time_to_live_description DynamoDbTimeToLiveDescription The description of the Time to Live (TTL) status on the specified table. AWS API DataType: TimeToLiveDescription
table_auto_scaling_description DynamoDbTableAutoScalingDescription Represent the TableReplicaAutoScaling for the table AWS API field: TableAutoScalingDescription Fields pulled from https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_TableAutoScalingDescription.html

DynamoDbTimeToLiveDescription

The description of the Time to Live (TTL) status on the specified table.

Fields extracted from: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_TimeToLiveDescription.html

Field Type Label Description
attribute_name string The name of the TTL attribute for items in the table. AWS API field: AttributeName
time_to_live_status DynamoDbTimeToLiveDescription.TimeToLiveStatus AWS API field: TimeToLiveStatus

Projection

Describes attributes that are copied (projected) from the table into an index.

Field Type Label Description
projection_type Projection.ProjectionType The set of attributes that are projected into the index: AWS API field: Projection -> ProjectionType
non_key_attributes string repeated A list of one or more non-key attribute names that are projected into the secondary index. AWS API field: Projection -> NonKeyAttributes

DynamoDbArchivalSummary.ArchivalReason

Reason for archived summary, currently only supports 1 value but they plan to add more

Name Number Description
UNKNOWN_ARCHIVAL_REASON 0
INACCESSIBLE_ENCRYPTION_CREDENTIALS 1

DynamoDbAttributeDefinition.AttributeType

Name Number Description
UNKNOWN_ATTRIBUTE_TYPE 0
S 1 String
N 2 Number
B 3 Binary

DynamoDbBillingModeSummary.BillingMode

Name Number Description
UNKNOWN_MODE 0
PROVISIONED 1
PAY_PER_REQUEST 2

DynamoDbContinuousBackupsDescription.ContinuousBackupsStatus

Describes all the states that the continuous backup config can be

Name Number Description
UNKNOWN_CONTINUOUS_BACKUPS_STATUS 0
ENABLED 1
DISABLED 2

DynamoDbGlobalSecondaryIndexDescription.IndexStatus

Describes all the states that a Dynamo DB table can be in at any point in time

Name Number Description
UNKNOWN_INDEX_STATUS 0
CREATING 1
UPDATING 2
DELETING 3
ACTIVE 4

DynamoDbKeySchemaElement.KeyType

Name Number Description
UNKNOWN_KEY_TYPE 0
HASH 1
RANGE 2

DynamoDbPointInTimeRecoveryDescription.PointInTimeRecoveryStatus

The current state of point in time recovery.

Name Number Description
UNKOWN_POINT_IN_TIME_RECOVERY_STATUS 0
ENABLING 1
ENABLED 2
DISABLED 3

DynamoDbReplicaAutoScalingDescription.ReplicaStatus

Describes all the states that a Dynamo DB table can be in at any point in time

Name Number Description
UNKNOWN_REPLICA_STATUS 0
CREATING 1
UPDATING 2
DELETING 3
ACTIVE 4
CREATION_FAILED 5

DynamoDbReplicaDescription.ReplicaStatus

Describes all the states that a Dynamo DB table can be in at any point in time

Name Number Description
UNKNOWN_REPLICA_STATUS 0
CREATING 1
UPDATING 2
DELETING 3
ACTIVE 4
CREATION_FAILED 5

DynamoDbReplicaGlobalSecondaryIndexAutoScalingDescription.IndexStatus

Describes all the states that a Dynamo DB table can be in at any point in time

Name Number Description
UNKNOWN_INDEX_STATUS 0
CREATING 1
UPDATING 2
DELETING 3
ACTIVE 4

DynamoDbSSEDescription.SSEStatus

5 valid values but only 2 are currently supported

Name Number Description
UNKNOWN_STATUS 0
ENABLED 1

DynamoDbSSEDescription.SSEType

AWS only supports 1 type currently

Name Number Description
UNKNOWN_TYPE 0
KMS 1
AES256 2

DynamoDbStreamSpecification.ViewType

Name Number Description
UNKNOWN_VIEW 0
KEYS_ONLY 1
NEW_IMAGE 2
OLD_IMAGE 3
NEW_AND_OLD_IMAGES 4

DynamoDbTableAutoScalingDescription.TableStatus

Describes all the states that a Dynamo DB table can be in at any point in time

Name Number Description
UNKNOWN_TABLE_STATUS 0
CREATING 1
UPDATING 2
DELETING 3
ACTIVE 4
INACCESSIBLE_ENCRYPTION_CREDENTIALS 5
ARCHIVING 6
ARCHIVED 7

DynamoDbTableSettings.TableStatus

Describes all the states that a Dynamo DB table can be in at any point in time

Name Number Description
UNKNOWN_TABLE_STATUS 0
CREATING 1
UPDATING 2
DELETING 3
ACTIVE 4
INACCESSIBLE_ENCRYPTION_CREDENTIALS 5
ARCHIVING 6
ARCHIVED 7

DynamoDbTimeToLiveDescription.TimeToLiveStatus

The TTL status for the table.

Name Number Description
UNKNOWN_TIME_TO_LIVE_STATUS 0
ENABLING 1
DISABLING 2
ENABLED 3
DISABLED 4

Projection.ProjectionType

Name Number Description
UNKNOWN_PROJECTION_TYPE 0
KEYS_ONLY 1
INCLUDE 2
ALL 3

Scalar Value Types

.proto Type Notes C++ Java Python Go C# PHP Ruby
double double double float float64 double float Float
float float float float float32 float float Float
int32 Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint32 instead. int32 int int int32 int integer Bignum or Fixnum (as required)
int64 Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint64 instead. int64 long int/long int64 long integer/string Bignum
uint32 Uses variable-length encoding. uint32 int int/long uint32 uint integer Bignum or Fixnum (as required)
uint64 Uses variable-length encoding. uint64 long int/long uint64 ulong integer/string Bignum or Fixnum (as required)
sint32 Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int32s. int32 int int int32 int integer Bignum or Fixnum (as required)
sint64 Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int64s. int64 long int/long int64 long integer/string Bignum
fixed32 Always four bytes. More efficient than uint32 if values are often greater than 2^28. uint32 int int uint32 uint integer Bignum or Fixnum (as required)
fixed64 Always eight bytes. More efficient than uint64 if values are often greater than 2^56. uint64 long int/long uint64 ulong integer/string Bignum
sfixed32 Always four bytes. int32 int int int32 int integer Bignum or Fixnum (as required)
sfixed64 Always eight bytes. int64 long int/long int64 long integer/string Bignum
bool bool boolean boolean bool bool boolean TrueClass/FalseClass
string A string must always contain UTF-8 encoded or 7-bit ASCII text. string String str/unicode string string string String (UTF-8)
bytes May contain any arbitrary sequence of bytes. string ByteString str []byte ByteString string String (ASCII-8BIT)