Skip to content

Commit e53cd19

Browse files
committed
Updates after review
1 parent a71163a commit e53cd19

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.doc_gen/metadata/dynamodb_metadata.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,6 @@ dynamodb_PutItem:
627627
versions:
628628
- sdk_version: 1
629629
github: cpp/example_code/dynamodb
630-
sdkguide:
631630
excerpts:
632631
- description:
633632
snippet_tags:
@@ -1119,11 +1118,13 @@ dynamodb_DeleteItem:
11191118
versions:
11201119
- sdk_version: 1
11211120
github: cpp/example_code/dynamodb
1122-
sdkguide:
11231121
excerpts:
11241122
- description:
11251123
snippet_tags:
11261124
- cpp.example_code.dynamodb.delete_item
1125+
- description: Code that waits for the table to become active.
1126+
snippet_tags:
1127+
- cpp.example_code.dynamodb.scenario.waitTableActive
11271128
Swift:
11281129
versions:
11291130
- sdk_version: 1
@@ -1790,7 +1791,6 @@ dynamodb_UpdateTable:
17901791
versions:
17911792
- sdk_version: 1
17921793
github: cpp/example_code/dynamodb
1793-
sdkguide:
17941794
excerpts:
17951795
- description:
17961796
snippet_tags:

aws-cli/bash-linux/s3/s3_getting_started.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function s3_getting_started() {
5151
echo "Welcome to the Amazon S3 getting started demo."
5252
echo_repeat "*" 88
5353
echo "A unique bucket will be created by appending a Universally Unique Identifier to a bucket name prefix."
54-
echo -n "Enter a prefix for the S3 bucket that will be used in this deemo: "
54+
echo -n "Enter a prefix for the S3 bucket that will be used in this demo: "
5555
get_input
5656
bucket_name_prefix=$get_input_result
5757
local bucket_name

cpp/example_code/dynamodb/delete_item.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,10 @@ bool AwsDoc::DynamoDB::deleteItem(const Aws::String &tableName,
5050
else {
5151
std::cerr << "Failed to delete item: " << outcome.GetError().GetMessage()
5252
<< std::endl;
53+
return false;
5354
}
5455

55-
return outcome.IsSuccess();
56+
return waitTableActive(tableName, dynamoClient);
5657
}
5758
// snippet-end:[cpp.example_code.dynamodb.delete_item]
5859

0 commit comments

Comments
 (0)