SIGN IN SIGN UP

Welcome to the AWS Code Examples Repository. This repo contains code examples used in the AWS documentation, AWS SDK Developer Guides, and more. For more information, see the Readme.md file below.

0 0 1 Java
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
/*
* Test types are indicated by the test label ending.
*
* _1_ Requires credentials, permissions, and AWS resources.
* _2_ Requires credentials and permissions.
* _3_ Does not require credentials.
*
*/
#include <gtest/gtest.h>
#include <fstream>
#include "dynamodb_gtests.h"
#include "dynamodb_samples.h"
namespace AwsDocTest {
// NOLINTNEXTLINE (readability-named-parameter)
TEST_F(DynamoDB_GTests, update_table_2_) {
bool result = createSimpleTable();
ASSERT_TRUE(result) << preconditionError();
result = AwsDoc::DynamoDB::updateTable(SIMPLE_TABLE_NAME, 7, 7,
*s_clientConfig);
ASSERT_TRUE(result);
}
} // AwsDocTest