#[non_exhaustive]pub struct AwsDynamoDbTableGlobalSecondaryIndex {
pub backfilling: bool,
pub index_arn: Option<String>,
pub index_name: Option<String>,
pub index_size_bytes: i64,
pub index_status: Option<String>,
pub item_count: i32,
pub key_schema: Option<Vec<AwsDynamoDbTableKeySchema>>,
pub projection: Option<AwsDynamoDbTableProjection>,
pub provisioned_throughput: Option<AwsDynamoDbTableProvisionedThroughput>,
}
Expand description
Information abut a global secondary index for the table.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.backfilling: bool
Whether the index is currently backfilling.
index_arn: Option<String>
The ARN of the index.
index_name: Option<String>
The name of the index.
index_size_bytes: i64
The total size in bytes of the index.
index_status: Option<String>
The current status of the index.
-
ACTIVE
-
CREATING
-
DELETING
-
UPDATING
item_count: i32
The number of items in the index.
key_schema: Option<Vec<AwsDynamoDbTableKeySchema>>
The key schema for the index.
projection: Option<AwsDynamoDbTableProjection>
Attributes that are copied from the table into an index.
provisioned_throughput: Option<AwsDynamoDbTableProvisionedThroughput>
Information about the provisioned throughput settings for the indexes.
Implementations§
source§impl AwsDynamoDbTableGlobalSecondaryIndex
impl AwsDynamoDbTableGlobalSecondaryIndex
sourcepub fn backfilling(&self) -> bool
pub fn backfilling(&self) -> bool
Whether the index is currently backfilling.
sourcepub fn index_name(&self) -> Option<&str>
pub fn index_name(&self) -> Option<&str>
The name of the index.
sourcepub fn index_size_bytes(&self) -> i64
pub fn index_size_bytes(&self) -> i64
The total size in bytes of the index.
sourcepub fn index_status(&self) -> Option<&str>
pub fn index_status(&self) -> Option<&str>
The current status of the index.
-
ACTIVE
-
CREATING
-
DELETING
-
UPDATING
sourcepub fn item_count(&self) -> i32
pub fn item_count(&self) -> i32
The number of items in the index.
sourcepub fn key_schema(&self) -> Option<&[AwsDynamoDbTableKeySchema]>
pub fn key_schema(&self) -> Option<&[AwsDynamoDbTableKeySchema]>
The key schema for the index.
sourcepub fn projection(&self) -> Option<&AwsDynamoDbTableProjection>
pub fn projection(&self) -> Option<&AwsDynamoDbTableProjection>
Attributes that are copied from the table into an index.
sourcepub fn provisioned_throughput(
&self
) -> Option<&AwsDynamoDbTableProvisionedThroughput>
pub fn provisioned_throughput( &self ) -> Option<&AwsDynamoDbTableProvisionedThroughput>
Information about the provisioned throughput settings for the indexes.
source§impl AwsDynamoDbTableGlobalSecondaryIndex
impl AwsDynamoDbTableGlobalSecondaryIndex
sourcepub fn builder() -> AwsDynamoDbTableGlobalSecondaryIndexBuilder
pub fn builder() -> AwsDynamoDbTableGlobalSecondaryIndexBuilder
Creates a new builder-style object to manufacture AwsDynamoDbTableGlobalSecondaryIndex
.
Trait Implementations§
source§impl Clone for AwsDynamoDbTableGlobalSecondaryIndex
impl Clone for AwsDynamoDbTableGlobalSecondaryIndex
source§fn clone(&self) -> AwsDynamoDbTableGlobalSecondaryIndex
fn clone(&self) -> AwsDynamoDbTableGlobalSecondaryIndex
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<AwsDynamoDbTableGlobalSecondaryIndex> for AwsDynamoDbTableGlobalSecondaryIndex
impl PartialEq<AwsDynamoDbTableGlobalSecondaryIndex> for AwsDynamoDbTableGlobalSecondaryIndex
source§fn eq(&self, other: &AwsDynamoDbTableGlobalSecondaryIndex) -> bool
fn eq(&self, other: &AwsDynamoDbTableGlobalSecondaryIndex) -> bool
self
and other
values to be equal, and is used
by ==
.