class
Amazonite::DynamoDB::GlobalSecondaryIndexDescription
- Amazonite::DynamoDB::GlobalSecondaryIndexDescription
- Reference
- Object
Overview
Represents the properties of a global secondary index.
Included Modules
- JSON::Serializable
Defined in:
dynamodb/global_secondary_index_description.crConstructors
- .new(pull : JSON::PullParser)
- .new(index_name : String | Nil = nil, key_schema : Array(KeySchemaElement) | Nil = nil, projection : Projection | Nil = nil, index_status : IndexStatus | Nil = nil, backfilling : Bool | Nil = nil, provisioned_throughput : ProvisionedThroughputDescription | Nil = nil, index_size_bytes : Int64 | Nil = nil, item_count : Int64 | Nil = nil, index_arn : String | Nil = nil, on_demand_throughput : OnDemandThroughput | Nil = nil, warm_throughput : GlobalSecondaryIndexWarmThroughputDescription | Nil = nil)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#backfilling : Bool | Nil
Indicates whether the index is currently backfilling.
-
#backfilling=(backfilling : Bool | Nil)
Indicates whether the index is currently backfilling.
-
#hash(hasher)
See
Object#hash(hasher) -
#index_arn : String | Nil
The Amazon Resource Name (ARN) that uniquely identifies the index.
-
#index_arn=(index_arn : String | Nil)
The Amazon Resource Name (ARN) that uniquely identifies the index.
-
#index_name : String | Nil
The name of the global secondary index.
-
#index_name=(index_name : String | Nil)
The name of the global secondary index.
-
#index_size_bytes : Int64 | Nil
The total size of the specified index, in bytes.
-
#index_size_bytes=(index_size_bytes : Int64 | Nil)
The total size of the specified index, in bytes.
-
#index_status : IndexStatus | Nil
The current state of the global secondary index:
-
#index_status=(index_status : IndexStatus | Nil)
The current state of the global secondary index:
-
#item_count : Int64 | Nil
The number of items in the specified index.
-
#item_count=(item_count : Int64 | Nil)
The number of items in the specified index.
-
#key_schema : Array(KeySchemaElement) | Nil
The complete key schema for a global secondary index, which consists of one or more pairs of attribute names and key types:
-
#key_schema=(key_schema : Array(KeySchemaElement) | Nil)
The complete key schema for a global secondary index, which consists of one or more pairs of attribute names and key types:
-
#on_demand_throughput : OnDemandThroughput | Nil
The maximum number of read and write units for the specified global secondary index.
-
#on_demand_throughput=(on_demand_throughput : OnDemandThroughput | Nil)
The maximum number of read and write units for the specified global secondary index.
-
#projection : Projection | Nil
Represents attributes that are copied (projected) from the table into the global secondary index.
-
#projection=(projection : Projection | Nil)
Represents attributes that are copied (projected) from the table into the global secondary index.
-
#provisioned_throughput : ProvisionedThroughputDescription | Nil
Represents the provisioned throughput settings for the specified global secondary index.
-
#provisioned_throughput=(provisioned_throughput : ProvisionedThroughputDescription | Nil)
Represents the provisioned throughput settings for the specified global secondary index.
- #validate! : Nil
-
#warm_throughput : GlobalSecondaryIndexWarmThroughputDescription | Nil
Represents the warm throughput value (in read units per second and write units per second) for the specified secondary index.
-
#warm_throughput=(warm_throughput : GlobalSecondaryIndexWarmThroughputDescription | Nil)
Represents the warm throughput value (in read units per second and write units per second) for the specified secondary index.
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
Indicates whether the index is currently backfilling. Backfilling is the process of reading
items from the table and determining whether they can be added to the index. (Not all items will
qualify: For example, a partition key cannot have any duplicate values.) If an item can be added
to the index, DynamoDB will do so. After all items have been processed, the backfilling
operation is complete and Backfilling is false.
You can delete an index that is being created during the Backfilling phase when IndexStatus
is set to CREATING and Backfilling is true. You can't delete the index that is being created
when IndexStatus is set to CREATING and Backfilling is false.
For indexes that were created during a CreateTable operation, the Backfilling attribute does
not appear in the DescribeTable output.
Indicates whether the index is currently backfilling. Backfilling is the process of reading
items from the table and determining whether they can be added to the index. (Not all items will
qualify: For example, a partition key cannot have any duplicate values.) If an item can be added
to the index, DynamoDB will do so. After all items have been processed, the backfilling
operation is complete and Backfilling is false.
You can delete an index that is being created during the Backfilling phase when IndexStatus
is set to CREATING and Backfilling is true. You can't delete the index that is being created
when IndexStatus is set to CREATING and Backfilling is false.
For indexes that were created during a CreateTable operation, the Backfilling attribute does
not appear in the DescribeTable output.
The Amazon Resource Name (ARN) that uniquely identifies the index.
The total size of the specified index, in bytes. DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value.
The total size of the specified index, in bytes. DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value.
The current state of the global secondary index:
-
CREATING- The index is being created. -
UPDATING- The index is being updated. -
DELETING- The index is being deleted. -
ACTIVE- The index is ready for use.
The current state of the global secondary index:
-
CREATING- The index is being created. -
UPDATING- The index is being updated. -
DELETING- The index is being deleted. -
ACTIVE- The index is ready for use.
The number of items in the specified index. DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value.
The number of items in the specified index. DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value.
The complete key schema for a global secondary index, which consists of one or more pairs of attribute names and key types:
-
HASH- partition key -
RANGE- sort key
The partition key of an item is also known as its hash attribute. The term "hash attribute" derives from DynamoDB's usage of an internal hash function to evenly distribute data items across partitions, based on their partition key values.
The sort key of an item is also known as its range attribute. The term "range attribute" derives from the way DynamoDB stores items with the same partition key physically close together, in sorted order by the sort key value.
The complete key schema for a global secondary index, which consists of one or more pairs of attribute names and key types:
-
HASH- partition key -
RANGE- sort key
The partition key of an item is also known as its hash attribute. The term "hash attribute" derives from DynamoDB's usage of an internal hash function to evenly distribute data items across partitions, based on their partition key values.
The sort key of an item is also known as its range attribute. The term "range attribute" derives from the way DynamoDB stores items with the same partition key physically close together, in sorted order by the sort key value.
The maximum number of read and write units for the specified global secondary index. If you use
this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both.
The maximum number of read and write units for the specified global secondary index. If you use
this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both.
Represents attributes that are copied (projected) from the table into the global secondary index. These are in addition to the primary key attributes and index key attributes, which are automatically projected.
Represents attributes that are copied (projected) from the table into the global secondary index. These are in addition to the primary key attributes and index key attributes, which are automatically projected.
Represents the provisioned throughput settings for the specified global secondary index.
For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.
Represents the provisioned throughput settings for the specified global secondary index.
For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.
Represents the warm throughput value (in read units per second and write units per second) for the specified secondary index.
Represents the warm throughput value (in read units per second and write units per second) for the specified secondary index.