Skip to content

Commit

Permalink
Amazon Route 53 now supports the Mexico (Central) Region (mx-central-…
Browse files Browse the repository at this point in the history
…1) for latency records, geoproximity records, and private DNS for Amazon VPCs in that region

Amazon GameLift releases a new game session placement feature: PriorityConfigurationOverride. You can now override how a game session queue prioritizes placement locations for a single StartGameSessionPlacement request.
  • Loading branch information
aws-sdk-cpp-automation committed Jan 14, 2025
1 parent b813f79 commit 64d415e
Show file tree
Hide file tree
Showing 37 changed files with 1,529 additions and 1,064 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.484
1.11.485
19 changes: 10 additions & 9 deletions generated/smoke-tests/codepipeline/CodePipelineSmokeTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#include <aws/testing/AwsTestHelpers.h>
#include <aws/codepipeline/CodePipelineClient.h>
#include <aws/codepipeline/model/GetPipelineRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/codepipeline/model/ListPipelinesRequest.h>

namespace CodePipelineSmokeTest{
Expand All @@ -31,7 +32,7 @@ class CodePipelineSmokeTestSuite : public Aws::Testing::AwsCppSdkGTestSuite {
static const char ALLOCATION_TAG[];
};
const char CodePipelineSmokeTestSuite::ALLOCATION_TAG[] = "CodePipelineSmokeTest";
TEST_F(CodePipelineSmokeTestSuite, GetPipelineFailure )
TEST_F(CodePipelineSmokeTestSuite, ListPipelinesSuccess )
{
Aws::CodePipeline::CodePipelineClientConfiguration clientConfiguration;
clientConfiguration.region = "us-west-2";
Expand All @@ -40,12 +41,11 @@ TEST_F(CodePipelineSmokeTestSuite, GetPipelineFailure )
auto clientSp = Aws::MakeShared<CodePipelineClient>(ALLOCATION_TAG, clientConfiguration);
//populate input params

GetPipelineRequest input;
input.SetName("fake-pipeline");
auto outcome = clientSp->GetPipeline(input);
EXPECT_FALSE( outcome.IsSuccess());
ListPipelinesRequest input;
auto outcome = clientSp->ListPipelines(input);
EXPECT_TRUE( outcome.IsSuccess());
}
TEST_F(CodePipelineSmokeTestSuite, ListPipelinesSuccess )
TEST_F(CodePipelineSmokeTestSuite, GetPipelineFailure )
{
Aws::CodePipeline::CodePipelineClientConfiguration clientConfiguration;
clientConfiguration.region = "us-west-2";
Expand All @@ -54,8 +54,9 @@ TEST_F(CodePipelineSmokeTestSuite, ListPipelinesSuccess )
auto clientSp = Aws::MakeShared<CodePipelineClient>(ALLOCATION_TAG, clientConfiguration);
//populate input params

ListPipelinesRequest input;
auto outcome = clientSp->ListPipelines(input);
EXPECT_TRUE( outcome.IsSuccess());
GetPipelineRequest input;
input.SetName("fake-pipeline");
auto outcome = clientSp->GetPipeline(input);
EXPECT_FALSE( outcome.IsSuccess());
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class DirectoryServiceDataSmokeTestSuite : public Aws::Testing::AwsCppSdkGTestSu
static const char ALLOCATION_TAG[];
};
const char DirectoryServiceDataSmokeTestSuite::ALLOCATION_TAG[] = "DirectoryServiceDataSmokeTest";
TEST_F(DirectoryServiceDataSmokeTestSuite, DescribeUserFailure )
TEST_F(DirectoryServiceDataSmokeTestSuite, DescribeGroupFailure )
{
Aws::DirectoryServiceData::DirectoryServiceDataClientConfiguration clientConfiguration;
clientConfiguration.region = "us-west-2";
Expand All @@ -41,13 +41,13 @@ TEST_F(DirectoryServiceDataSmokeTestSuite, DescribeUserFailure )
auto clientSp = Aws::MakeShared<DirectoryServiceDataClient>(ALLOCATION_TAG, clientConfiguration);
//populate input params

DescribeUserRequest input;
DescribeGroupRequest input;
input.SetDirectoryId("d-1111111111");
input.SetSAMAccountName("test-user");
auto outcome = clientSp->DescribeUser(input);
input.SetSAMAccountName("test-group");
auto outcome = clientSp->DescribeGroup(input);
EXPECT_FALSE( outcome.IsSuccess());
}
TEST_F(DirectoryServiceDataSmokeTestSuite, DescribeGroupFailure )
TEST_F(DirectoryServiceDataSmokeTestSuite, DescribeUserFailure )
{
Aws::DirectoryServiceData::DirectoryServiceDataClientConfiguration clientConfiguration;
clientConfiguration.region = "us-west-2";
Expand All @@ -56,10 +56,10 @@ TEST_F(DirectoryServiceDataSmokeTestSuite, DescribeGroupFailure )
auto clientSp = Aws::MakeShared<DirectoryServiceDataClient>(ALLOCATION_TAG, clientConfiguration);
//populate input params

DescribeGroupRequest input;
DescribeUserRequest input;
input.SetDirectoryId("d-1111111111");
input.SetSAMAccountName("test-group");
auto outcome = clientSp->DescribeGroup(input);
input.SetSAMAccountName("test-user");
auto outcome = clientSp->DescribeUser(input);
EXPECT_FALSE( outcome.IsSuccess());
}
}
19 changes: 10 additions & 9 deletions generated/smoke-tests/docdb/DocDBSmokeTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include <aws/docdb/model/DescribeDBInstancesRequest.h>
#include <aws/docdb/model/DescribeDBEngineVersionsRequest.h>
#include <aws/docdb/DocDBClient.h>
#include <aws/core/utils/memory/stl/AWSString.h>

namespace DocDBSmokeTest{
using namespace Aws::Auth;
Expand All @@ -31,7 +32,7 @@ class DocDBSmokeTestSuite : public Aws::Testing::AwsCppSdkGTestSuite {
static const char ALLOCATION_TAG[];
};
const char DocDBSmokeTestSuite::ALLOCATION_TAG[] = "DocDBSmokeTest";
TEST_F(DocDBSmokeTestSuite, DescribeDBInstancesFailure )
TEST_F(DocDBSmokeTestSuite, DescribeDBEngineVersionsSuccess )
{
Aws::DocDB::DocDBClientConfiguration clientConfiguration;
clientConfiguration.region = "us-west-2";
Expand All @@ -40,12 +41,11 @@ TEST_F(DocDBSmokeTestSuite, DescribeDBInstancesFailure )
auto clientSp = Aws::MakeShared<DocDBClient>(ALLOCATION_TAG, clientConfiguration);
//populate input params

DescribeDBInstancesRequest input;
input.SetDBInstanceIdentifier("fake-id");
auto outcome = clientSp->DescribeDBInstances(input);
EXPECT_FALSE( outcome.IsSuccess());
DescribeDBEngineVersionsRequest input;
auto outcome = clientSp->DescribeDBEngineVersions(input);
EXPECT_TRUE( outcome.IsSuccess());
}
TEST_F(DocDBSmokeTestSuite, DescribeDBEngineVersionsSuccess )
TEST_F(DocDBSmokeTestSuite, DescribeDBInstancesFailure )
{
Aws::DocDB::DocDBClientConfiguration clientConfiguration;
clientConfiguration.region = "us-west-2";
Expand All @@ -54,8 +54,9 @@ TEST_F(DocDBSmokeTestSuite, DescribeDBEngineVersionsSuccess )
auto clientSp = Aws::MakeShared<DocDBClient>(ALLOCATION_TAG, clientConfiguration);
//populate input params

DescribeDBEngineVersionsRequest input;
auto outcome = clientSp->DescribeDBEngineVersions(input);
EXPECT_TRUE( outcome.IsSuccess());
DescribeDBInstancesRequest input;
input.SetDBInstanceIdentifier("fake-id");
auto outcome = clientSp->DescribeDBInstances(input);
EXPECT_FALSE( outcome.IsSuccess());
}
}
27 changes: 14 additions & 13 deletions generated/smoke-tests/ec2/EC2SmokeTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include <aws/ec2/model/DescribeInstancesRequest.h>
#include <aws/ec2/model/DescribeRegionsRequest.h>
#include <aws/ec2/EC2Client.h>
#include <aws/core/utils/memory/stl/AWSString.h>

namespace EC2SmokeTest{
using namespace Aws::Auth;
Expand All @@ -31,6 +32,19 @@ class EC2SmokeTestSuite : public Aws::Testing::AwsCppSdkGTestSuite {
static const char ALLOCATION_TAG[];
};
const char EC2SmokeTestSuite::ALLOCATION_TAG[] = "EC2SmokeTest";
TEST_F(EC2SmokeTestSuite, DescribeRegionsSuccess )
{
Aws::EC2::EC2ClientConfiguration clientConfiguration;
clientConfiguration.region = "us-west-2";
clientConfiguration.useFIPS = false;
clientConfiguration.useDualStack = false;
auto clientSp = Aws::MakeShared<EC2Client>(ALLOCATION_TAG, clientConfiguration);
//populate input params

DescribeRegionsRequest input;
auto outcome = clientSp->DescribeRegions(input);
EXPECT_TRUE( outcome.IsSuccess());
}
TEST_F(EC2SmokeTestSuite, DescribeInstancesFailure )
{
Aws::EC2::EC2ClientConfiguration clientConfiguration;
Expand All @@ -54,17 +68,4 @@ TEST_F(EC2SmokeTestSuite, DescribeInstancesFailure )
auto outcome = clientSp->DescribeInstances(input);
EXPECT_FALSE( outcome.IsSuccess());
}
TEST_F(EC2SmokeTestSuite, DescribeRegionsSuccess )
{
Aws::EC2::EC2ClientConfiguration clientConfiguration;
clientConfiguration.region = "us-west-2";
clientConfiguration.useFIPS = false;
clientConfiguration.useDualStack = false;
auto clientSp = Aws::MakeShared<EC2Client>(ALLOCATION_TAG, clientConfiguration);
//populate input params

DescribeRegionsRequest input;
auto outcome = clientSp->DescribeRegions(input);
EXPECT_TRUE( outcome.IsSuccess());
}
}
19 changes: 10 additions & 9 deletions generated/smoke-tests/elasticmapreduce/EMRSmokeTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include <aws/elasticmapreduce/model/DescribeClusterRequest.h>
#include <aws/elasticmapreduce/model/ListClustersRequest.h>
#include <aws/elasticmapreduce/EMRClient.h>
#include <aws/core/utils/memory/stl/AWSString.h>

namespace EMRSmokeTest{
using namespace Aws::Auth;
Expand All @@ -31,7 +32,7 @@ class EMRSmokeTestSuite : public Aws::Testing::AwsCppSdkGTestSuite {
static const char ALLOCATION_TAG[];
};
const char EMRSmokeTestSuite::ALLOCATION_TAG[] = "EMRSmokeTest";
TEST_F(EMRSmokeTestSuite, DescribeClusterFailure )
TEST_F(EMRSmokeTestSuite, ListClustersSuccess )
{
Aws::EMR::EMRClientConfiguration clientConfiguration;
clientConfiguration.region = "us-west-2";
Expand All @@ -40,12 +41,11 @@ TEST_F(EMRSmokeTestSuite, DescribeClusterFailure )
auto clientSp = Aws::MakeShared<EMRClient>(ALLOCATION_TAG, clientConfiguration);
//populate input params

DescribeClusterRequest input;
input.SetClusterId("fake_cluster");
auto outcome = clientSp->DescribeCluster(input);
EXPECT_FALSE( outcome.IsSuccess());
ListClustersRequest input;
auto outcome = clientSp->ListClusters(input);
EXPECT_TRUE( outcome.IsSuccess());
}
TEST_F(EMRSmokeTestSuite, ListClustersSuccess )
TEST_F(EMRSmokeTestSuite, DescribeClusterFailure )
{
Aws::EMR::EMRClientConfiguration clientConfiguration;
clientConfiguration.region = "us-west-2";
Expand All @@ -54,8 +54,9 @@ TEST_F(EMRSmokeTestSuite, ListClustersSuccess )
auto clientSp = Aws::MakeShared<EMRClient>(ALLOCATION_TAG, clientConfiguration);
//populate input params

ListClustersRequest input;
auto outcome = clientSp->ListClusters(input);
EXPECT_TRUE( outcome.IsSuccess());
DescribeClusterRequest input;
input.SetClusterId("fake_cluster");
auto outcome = clientSp->DescribeCluster(input);
EXPECT_FALSE( outcome.IsSuccess());
}
}
19 changes: 10 additions & 9 deletions generated/smoke-tests/kinesis/KinesisSmokeTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include <aws/kinesis/KinesisClient.h>
#include <aws/kinesis/model/ListStreamsRequest.h>
#include <aws/kinesis/model/DescribeStreamRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>

namespace KinesisSmokeTest{
using namespace Aws::Auth;
Expand All @@ -31,7 +32,7 @@ class KinesisSmokeTestSuite : public Aws::Testing::AwsCppSdkGTestSuite {
static const char ALLOCATION_TAG[];
};
const char KinesisSmokeTestSuite::ALLOCATION_TAG[] = "KinesisSmokeTest";
TEST_F(KinesisSmokeTestSuite, DescribeStreamFailure )
TEST_F(KinesisSmokeTestSuite, ListStreamsSuccess )
{
Aws::Kinesis::KinesisClientConfiguration clientConfiguration;
clientConfiguration.region = "us-west-2";
Expand All @@ -40,12 +41,11 @@ TEST_F(KinesisSmokeTestSuite, DescribeStreamFailure )
auto clientSp = Aws::MakeShared<KinesisClient>(ALLOCATION_TAG, clientConfiguration);
//populate input params

DescribeStreamRequest input;
input.SetStreamName("bogus-stream-name");
auto outcome = clientSp->DescribeStream(input);
EXPECT_FALSE( outcome.IsSuccess());
ListStreamsRequest input;
auto outcome = clientSp->ListStreams(input);
EXPECT_TRUE( outcome.IsSuccess());
}
TEST_F(KinesisSmokeTestSuite, ListStreamsSuccess )
TEST_F(KinesisSmokeTestSuite, DescribeStreamFailure )
{
Aws::Kinesis::KinesisClientConfiguration clientConfiguration;
clientConfiguration.region = "us-west-2";
Expand All @@ -54,8 +54,9 @@ TEST_F(KinesisSmokeTestSuite, ListStreamsSuccess )
auto clientSp = Aws::MakeShared<KinesisClient>(ALLOCATION_TAG, clientConfiguration);
//populate input params

ListStreamsRequest input;
auto outcome = clientSp->ListStreams(input);
EXPECT_TRUE( outcome.IsSuccess());
DescribeStreamRequest input;
input.SetStreamName("bogus-stream-name");
auto outcome = clientSp->DescribeStream(input);
EXPECT_FALSE( outcome.IsSuccess());
}
}
21 changes: 10 additions & 11 deletions generated/smoke-tests/logs/CloudWatchLogsSmokeTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#include <aws/logs/model/DescribeLogGroupsRequest.h>
#include <aws/logs/model/GetLogEventsRequest.h>
#include <aws/logs/CloudWatchLogsClient.h>
#include <aws/core/utils/memory/stl/AWSString.h>

namespace CloudWatchLogsSmokeTest{
using namespace Aws::Auth;
Expand All @@ -32,7 +31,7 @@ class CloudWatchLogsSmokeTestSuite : public Aws::Testing::AwsCppSdkGTestSuite {
static const char ALLOCATION_TAG[];
};
const char CloudWatchLogsSmokeTestSuite::ALLOCATION_TAG[] = "CloudWatchLogsSmokeTest";
TEST_F(CloudWatchLogsSmokeTestSuite, DescribeLogGroupsSuccess )
TEST_F(CloudWatchLogsSmokeTestSuite, GetLogEventsFailure )
{
Aws::CloudWatchLogs::CloudWatchLogsClientConfiguration clientConfiguration;
clientConfiguration.region = "us-west-2";
Expand All @@ -41,11 +40,13 @@ TEST_F(CloudWatchLogsSmokeTestSuite, DescribeLogGroupsSuccess )
auto clientSp = Aws::MakeShared<CloudWatchLogsClient>(ALLOCATION_TAG, clientConfiguration);
//populate input params

DescribeLogGroupsRequest input;
auto outcome = clientSp->DescribeLogGroups(input);
EXPECT_TRUE( outcome.IsSuccess());
GetLogEventsRequest input;
input.SetLogGroupName("fakegroup");
input.SetLogStreamName("fakestream");
auto outcome = clientSp->GetLogEvents(input);
EXPECT_FALSE( outcome.IsSuccess());
}
TEST_F(CloudWatchLogsSmokeTestSuite, GetLogEventsFailure )
TEST_F(CloudWatchLogsSmokeTestSuite, DescribeLogGroupsSuccess )
{
Aws::CloudWatchLogs::CloudWatchLogsClientConfiguration clientConfiguration;
clientConfiguration.region = "us-west-2";
Expand All @@ -54,10 +55,8 @@ TEST_F(CloudWatchLogsSmokeTestSuite, GetLogEventsFailure )
auto clientSp = Aws::MakeShared<CloudWatchLogsClient>(ALLOCATION_TAG, clientConfiguration);
//populate input params

GetLogEventsRequest input;
input.SetLogGroupName("fakegroup");
input.SetLogStreamName("fakestream");
auto outcome = clientSp->GetLogEvents(input);
EXPECT_FALSE( outcome.IsSuccess());
DescribeLogGroupsRequest input;
auto outcome = clientSp->DescribeLogGroups(input);
EXPECT_TRUE( outcome.IsSuccess());
}
}
19 changes: 10 additions & 9 deletions generated/smoke-tests/neptune/NeptuneSmokeTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include <aws/neptune/NeptuneClient.h>
#include <aws/neptune/model/DescribeDBInstancesRequest.h>
#include <aws/neptune/model/DescribeDBEngineVersionsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>

namespace NeptuneSmokeTest{
using namespace Aws::Auth;
Expand All @@ -31,7 +32,7 @@ class NeptuneSmokeTestSuite : public Aws::Testing::AwsCppSdkGTestSuite {
static const char ALLOCATION_TAG[];
};
const char NeptuneSmokeTestSuite::ALLOCATION_TAG[] = "NeptuneSmokeTest";
TEST_F(NeptuneSmokeTestSuite, DescribeDBInstancesFailure )
TEST_F(NeptuneSmokeTestSuite, DescribeDBEngineVersionsSuccess )
{
Aws::Neptune::NeptuneClientConfiguration clientConfiguration;
clientConfiguration.region = "us-west-2";
Expand All @@ -40,12 +41,11 @@ TEST_F(NeptuneSmokeTestSuite, DescribeDBInstancesFailure )
auto clientSp = Aws::MakeShared<NeptuneClient>(ALLOCATION_TAG, clientConfiguration);
//populate input params

DescribeDBInstancesRequest input;
input.SetDBInstanceIdentifier("fake-id");
auto outcome = clientSp->DescribeDBInstances(input);
EXPECT_FALSE( outcome.IsSuccess());
DescribeDBEngineVersionsRequest input;
auto outcome = clientSp->DescribeDBEngineVersions(input);
EXPECT_TRUE( outcome.IsSuccess());
}
TEST_F(NeptuneSmokeTestSuite, DescribeDBEngineVersionsSuccess )
TEST_F(NeptuneSmokeTestSuite, DescribeDBInstancesFailure )
{
Aws::Neptune::NeptuneClientConfiguration clientConfiguration;
clientConfiguration.region = "us-west-2";
Expand All @@ -54,8 +54,9 @@ TEST_F(NeptuneSmokeTestSuite, DescribeDBEngineVersionsSuccess )
auto clientSp = Aws::MakeShared<NeptuneClient>(ALLOCATION_TAG, clientConfiguration);
//populate input params

DescribeDBEngineVersionsRequest input;
auto outcome = clientSp->DescribeDBEngineVersions(input);
EXPECT_TRUE( outcome.IsSuccess());
DescribeDBInstancesRequest input;
input.SetDBInstanceIdentifier("fake-id");
auto outcome = clientSp->DescribeDBInstances(input);
EXPECT_FALSE( outcome.IsSuccess());
}
}
Loading

0 comments on commit 64d415e

Please sign in to comment.