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

fix: enums and field names

No related merge requests found
Showing with 4 additions and 4 deletions
+4 -4
......@@ -34,7 +34,7 @@ message Table {
};
// 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 = 0;
UNKNOWN = 1;
......@@ -51,12 +51,12 @@ message Table {
string region = 2;
repeated GlobalSecondaryIndex global_secondary_indexes = 3;
Throughput provisioned_throughput = 4;
TableStatus status = 5;
Status status = 5;
}
// Represents the current GSI state
message GlobalSecondaryIndex {
enum IndexStatus {
enum Status {
// Unspecified indicates GSI status could not be found.
UNSPECIFIED = 0;
UNKNOWN = 1;
......@@ -67,7 +67,7 @@ message GlobalSecondaryIndex {
}
string name = 1;
Throughput provisioned_throughput = 2;
IndexStatus status = 3;
Status status = 3;
}
// 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