Skip to content

Commit

Permalink
Add support to toggle outbound IPv6 traffic on canaries connected to …
Browse files Browse the repository at this point in the history
…dualstack subnets. This behavior can be controlled via the new Ipv6AllowedForDualStack parameter of the VpcConfig input object in CreateCanary and UpdateCanary APIs.

This release adds support for AWS Mainframe Modernization(M2) Service to allow specifying network type(ipv4, dual) for the environment instances. For dual network type, m2 environment applications will serve both IPv4 and IPv6 requests, whereas for ipv4 it will serve only IPv4 requests.
Add support for searching backups
Added support for enableFaultInjection task definition parameter which can be used to enable Fault Injection feature on ECS tasks.
This feature allows AWS Batch on Amazon EKS to support configuration of Pod Annotations, overriding Namespace on which the Batch job's Pod runs on, and allows Subpath and Persistent Volume claim to be set for AWS Batch on Amazon EKS jobs.
AWS CodePipeline V2 type pipelines now support Managed Compute Rule.
Adds support for OriginReadTimeout and OriginKeepaliveTimeout to create CloudFront Distributions with VPC Origins.
Add Support for Backup Indexing
Update endpoint configuration.
Add support for SQL compute configuration for StartAudienceGenerationJob API.
  • Loading branch information
aws-sdk-cpp-automation committed Dec 17, 2024
1 parent 2fb8f55 commit ce85f9b
Show file tree
Hide file tree
Showing 228 changed files with 18,596 additions and 1,535 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.468
1.11.469
19 changes: 9 additions & 10 deletions generated/smoke-tests/acm/ACMSmokeTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#include <aws/acm/model/ListCertificatesRequest.h>
#include <aws/acm/ACMClient.h>
#include <aws/acm/model/GetCertificateRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>

namespace ACMSmokeTest{
using namespace Aws::Auth;
Expand All @@ -32,7 +31,7 @@ class ACMSmokeTestSuite : public Aws::Testing::AwsCppSdkGTestSuite {
static const char ALLOCATION_TAG[];
};
const char ACMSmokeTestSuite::ALLOCATION_TAG[] = "ACMSmokeTest";
TEST_F(ACMSmokeTestSuite, ListCertificatesSuccess )
TEST_F(ACMSmokeTestSuite, GetCertificateFailure )
{
Aws::ACM::ACMClientConfiguration clientConfiguration;
clientConfiguration.region = "us-west-2";
Expand All @@ -41,11 +40,12 @@ TEST_F(ACMSmokeTestSuite, ListCertificatesSuccess )
auto clientSp = Aws::MakeShared<ACMClient>(ALLOCATION_TAG, clientConfiguration);
//populate input params

ListCertificatesRequest input;
auto outcome = clientSp->ListCertificates(input);
EXPECT_TRUE( outcome.IsSuccess());
GetCertificateRequest input;
input.SetCertificateArn("arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012");
auto outcome = clientSp->GetCertificate(input);
EXPECT_FALSE( outcome.IsSuccess());
}
TEST_F(ACMSmokeTestSuite, GetCertificateFailure )
TEST_F(ACMSmokeTestSuite, ListCertificatesSuccess )
{
Aws::ACM::ACMClientConfiguration clientConfiguration;
clientConfiguration.region = "us-west-2";
Expand All @@ -54,9 +54,8 @@ TEST_F(ACMSmokeTestSuite, GetCertificateFailure )
auto clientSp = Aws::MakeShared<ACMClient>(ALLOCATION_TAG, clientConfiguration);
//populate input params

GetCertificateRequest input;
input.SetCertificateArn("arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012");
auto outcome = clientSp->GetCertificate(input);
EXPECT_FALSE( outcome.IsSuccess());
ListCertificatesRequest input;
auto outcome = clientSp->ListCertificates(input);
EXPECT_TRUE( 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());
}
}
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: 9 additions & 10 deletions generated/smoke-tests/eventbridge/EventBridgeSmokeTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#include <aws/eventbridge/EventBridgeClient.h>
#include <aws/eventbridge/model/ListRulesRequest.h>
#include <aws/eventbridge/model/DescribeRuleRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>

namespace EventBridgeSmokeTest{
using namespace Aws::Auth;
Expand All @@ -32,7 +31,7 @@ class EventBridgeSmokeTestSuite : public Aws::Testing::AwsCppSdkGTestSuite {
static const char ALLOCATION_TAG[];
};
const char EventBridgeSmokeTestSuite::ALLOCATION_TAG[] = "EventBridgeSmokeTest";
TEST_F(EventBridgeSmokeTestSuite, ListRulesSuccess )
TEST_F(EventBridgeSmokeTestSuite, DescribeRuleFailure )
{
Aws::EventBridge::EventBridgeClientConfiguration clientConfiguration;
clientConfiguration.region = "us-west-2";
Expand All @@ -41,11 +40,12 @@ TEST_F(EventBridgeSmokeTestSuite, ListRulesSuccess )
auto clientSp = Aws::MakeShared<EventBridgeClient>(ALLOCATION_TAG, clientConfiguration);
//populate input params

ListRulesRequest input;
auto outcome = clientSp->ListRules(input);
EXPECT_TRUE( outcome.IsSuccess());
DescribeRuleRequest input;
input.SetName("fake-rule");
auto outcome = clientSp->DescribeRule(input);
EXPECT_FALSE( outcome.IsSuccess());
}
TEST_F(EventBridgeSmokeTestSuite, DescribeRuleFailure )
TEST_F(EventBridgeSmokeTestSuite, ListRulesSuccess )
{
Aws::EventBridge::EventBridgeClientConfiguration clientConfiguration;
clientConfiguration.region = "us-west-2";
Expand All @@ -54,9 +54,8 @@ TEST_F(EventBridgeSmokeTestSuite, DescribeRuleFailure )
auto clientSp = Aws::MakeShared<EventBridgeClient>(ALLOCATION_TAG, clientConfiguration);
//populate input params

DescribeRuleRequest input;
input.SetName("fake-rule");
auto outcome = clientSp->DescribeRule(input);
EXPECT_FALSE( outcome.IsSuccess());
ListRulesRequest input;
auto outcome = clientSp->ListRules(input);
EXPECT_TRUE( outcome.IsSuccess());
}
}
19 changes: 9 additions & 10 deletions generated/smoke-tests/kinesis/KinesisSmokeTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#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 @@ -32,7 +31,7 @@ class KinesisSmokeTestSuite : public Aws::Testing::AwsCppSdkGTestSuite {
static const char ALLOCATION_TAG[];
};
const char KinesisSmokeTestSuite::ALLOCATION_TAG[] = "KinesisSmokeTest";
TEST_F(KinesisSmokeTestSuite, ListStreamsSuccess )
TEST_F(KinesisSmokeTestSuite, DescribeStreamFailure )
{
Aws::Kinesis::KinesisClientConfiguration clientConfiguration;
clientConfiguration.region = "us-west-2";
Expand All @@ -41,11 +40,12 @@ 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());
}
TEST_F(KinesisSmokeTestSuite, DescribeStreamFailure )
TEST_F(KinesisSmokeTestSuite, ListStreamsSuccess )
{
Aws::Kinesis::KinesisClientConfiguration clientConfiguration;
clientConfiguration.region = "us-west-2";
Expand All @@ -54,9 +54,8 @@ 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());
}
}
21 changes: 11 additions & 10 deletions generated/smoke-tests/logs/CloudWatchLogsSmokeTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#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 @@ -31,7 +32,7 @@ class CloudWatchLogsSmokeTestSuite : public Aws::Testing::AwsCppSdkGTestSuite {
static const char ALLOCATION_TAG[];
};
const char CloudWatchLogsSmokeTestSuite::ALLOCATION_TAG[] = "CloudWatchLogsSmokeTest";
TEST_F(CloudWatchLogsSmokeTestSuite, GetLogEventsFailure )
TEST_F(CloudWatchLogsSmokeTestSuite, DescribeLogGroupsSuccess )
{
Aws::CloudWatchLogs::CloudWatchLogsClientConfiguration clientConfiguration;
clientConfiguration.region = "us-west-2";
Expand All @@ -40,13 +41,11 @@ 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());
}
TEST_F(CloudWatchLogsSmokeTestSuite, DescribeLogGroupsSuccess )
TEST_F(CloudWatchLogsSmokeTestSuite, GetLogEventsFailure )
{
Aws::CloudWatchLogs::CloudWatchLogsClientConfiguration clientConfiguration;
clientConfiguration.region = "us-west-2";
Expand All @@ -55,8 +54,10 @@ 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());
}
}
19 changes: 10 additions & 9 deletions generated/smoke-tests/rds/RDSSmokeTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include <aws/rds/model/DescribeDBEngineVersionsRequest.h>
#include <aws/rds/model/DescribeDBInstancesRequest.h>
#include <aws/rds/RDSClient.h>
#include <aws/core/utils/memory/stl/AWSString.h>

namespace RDSSmokeTest{
using namespace Aws::Auth;
Expand All @@ -31,7 +32,7 @@ class RDSSmokeTestSuite : public Aws::Testing::AwsCppSdkGTestSuite {
static const char ALLOCATION_TAG[];
};
const char RDSSmokeTestSuite::ALLOCATION_TAG[] = "RDSSmokeTest";
TEST_F(RDSSmokeTestSuite, DescribeDBInstancesFailure )
TEST_F(RDSSmokeTestSuite, DescribeDBEngineVersionsSuccess )
{
Aws::RDS::RDSClientConfiguration clientConfiguration;
clientConfiguration.region = "us-west-2";
Expand All @@ -40,12 +41,11 @@ TEST_F(RDSSmokeTestSuite, DescribeDBInstancesFailure )
auto clientSp = Aws::MakeShared<RDSClient>(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(RDSSmokeTestSuite, DescribeDBEngineVersionsSuccess )
TEST_F(RDSSmokeTestSuite, DescribeDBInstancesFailure )
{
Aws::RDS::RDSClientConfiguration clientConfiguration;
clientConfiguration.region = "us-west-2";
Expand All @@ -54,8 +54,9 @@ TEST_F(RDSSmokeTestSuite, DescribeDBEngineVersionsSuccess )
auto clientSp = Aws::MakeShared<RDSClient>(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());
}
}
19 changes: 10 additions & 9 deletions generated/smoke-tests/route53/Route53SmokeTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include <aws/route53/Route53Client.h>
#include <aws/route53/model/GetHostedZoneRequest.h>
#include <aws/route53/model/ListHostedZonesRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>

namespace Route53SmokeTest{
using namespace Aws::Auth;
Expand All @@ -31,7 +32,7 @@ class Route53SmokeTestSuite : public Aws::Testing::AwsCppSdkGTestSuite {
static const char ALLOCATION_TAG[];
};
const char Route53SmokeTestSuite::ALLOCATION_TAG[] = "Route53SmokeTest";
TEST_F(Route53SmokeTestSuite, GetHostedZoneFailure )
TEST_F(Route53SmokeTestSuite, ListHostedZonesSuccess )
{
Aws::Route53::Route53ClientConfiguration clientConfiguration;
clientConfiguration.region = "us-east-1";
Expand All @@ -40,12 +41,11 @@ TEST_F(Route53SmokeTestSuite, GetHostedZoneFailure )
auto clientSp = Aws::MakeShared<Route53Client>(ALLOCATION_TAG, clientConfiguration);
//populate input params

GetHostedZoneRequest input;
input.SetId("fake-zone");
auto outcome = clientSp->GetHostedZone(input);
EXPECT_FALSE( outcome.IsSuccess());
ListHostedZonesRequest input;
auto outcome = clientSp->ListHostedZones(input);
EXPECT_TRUE( outcome.IsSuccess());
}
TEST_F(Route53SmokeTestSuite, ListHostedZonesSuccess )
TEST_F(Route53SmokeTestSuite, GetHostedZoneFailure )
{
Aws::Route53::Route53ClientConfiguration clientConfiguration;
clientConfiguration.region = "us-east-1";
Expand All @@ -54,8 +54,9 @@ TEST_F(Route53SmokeTestSuite, ListHostedZonesSuccess )
auto clientSp = Aws::MakeShared<Route53Client>(ALLOCATION_TAG, clientConfiguration);
//populate input params

ListHostedZonesRequest input;
auto outcome = clientSp->ListHostedZones(input);
EXPECT_TRUE( outcome.IsSuccess());
GetHostedZoneRequest input;
input.SetId("fake-zone");
auto outcome = clientSp->GetHostedZone(input);
EXPECT_FALSE( outcome.IsSuccess());
}
}
Loading

0 comments on commit ce85f9b

Please sign in to comment.