Commit 67451924 authored by Angela Nguyen's avatar Angela Nguyen
Browse files

fix: enums and field names

parent 598ea1e8
Showing with 4 additions and 4 deletions
+4 -4
...@@ -34,7 +34,7 @@ message Table { ...@@ -34,7 +34,7 @@ message Table {
}; };
// https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_TableDescription.html // https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_TableDescription.html
enum TableStatus { enum Status {
// Unspecified status indicates the table status could not be found. // Unspecified status indicates the table status could not be found.
UNSPECIFIED = 0; UNSPECIFIED = 0;
UNKNOWN = 1; UNKNOWN = 1;
...@@ -51,12 +51,12 @@ message Table { ...@@ -51,12 +51,12 @@ message Table {
string region = 2; string region = 2;
repeated GlobalSecondaryIndex global_secondary_indexes = 3; repeated GlobalSecondaryIndex global_secondary_indexes = 3;
Throughput provisioned_throughput = 4; Throughput provisioned_throughput = 4;
TableStatus status = 5; Status status = 5;
} }
// Represents the current GSI state // Represents the current GSI state
message GlobalSecondaryIndex { message GlobalSecondaryIndex {
enum IndexStatus { enum Status {
// Unspecified indicates GSI status could not be found. // Unspecified indicates GSI status could not be found.
UNSPECIFIED = 0; UNSPECIFIED = 0;
UNKNOWN = 1; UNKNOWN = 1;
...@@ -67,7 +67,7 @@ message GlobalSecondaryIndex { ...@@ -67,7 +67,7 @@ message GlobalSecondaryIndex {
} }
string name = 1; string name = 1;
Throughput provisioned_throughput = 2; Throughput provisioned_throughput = 2;
IndexStatus status = 3; Status status = 3;
} }
// Represents an Update action on a GSI, which changes the provisioned capacity. // Represents an Update action on a GSI, which changes the provisioned capacity.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment