Skip to content

Commit f28a13d

Browse files
Adding SDK reference examples for Amazon ECS operations.
This change is only for updating the model regexp of CopySource which is not for validation but only for documentation and user guide change. Doc only update for Route 53 Domains that fixes several customer-reported issues
1 parent b96f81b commit f28a13d

File tree

18 files changed

+1078
-1073
lines changed

18 files changed

+1078
-1073
lines changed

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.11.477
1+
1.11.478

generated/smoke-tests/codepipeline/CodePipelineSmokeTests.cpp

+10-9
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#include <aws/testing/AwsTestHelpers.h>
1818
#include <aws/codepipeline/CodePipelineClient.h>
1919
#include <aws/codepipeline/model/GetPipelineRequest.h>
20+
#include <aws/core/utils/memory/stl/AWSString.h>
2021
#include <aws/codepipeline/model/ListPipelinesRequest.h>
2122

2223
namespace CodePipelineSmokeTest{
@@ -31,7 +32,7 @@ class CodePipelineSmokeTestSuite : public Aws::Testing::AwsCppSdkGTestSuite {
3132
static const char ALLOCATION_TAG[];
3233
};
3334
const char CodePipelineSmokeTestSuite::ALLOCATION_TAG[] = "CodePipelineSmokeTest";
34-
TEST_F(CodePipelineSmokeTestSuite, GetPipelineFailure )
35+
TEST_F(CodePipelineSmokeTestSuite, ListPipelinesSuccess )
3536
{
3637
Aws::CodePipeline::CodePipelineClientConfiguration clientConfiguration;
3738
clientConfiguration.region = "us-west-2";
@@ -40,12 +41,11 @@ TEST_F(CodePipelineSmokeTestSuite, GetPipelineFailure )
4041
auto clientSp = Aws::MakeShared<CodePipelineClient>(ALLOCATION_TAG, clientConfiguration);
4142
//populate input params
4243

43-
GetPipelineRequest input;
44-
input.SetName("fake-pipeline");
45-
auto outcome = clientSp->GetPipeline(input);
46-
EXPECT_FALSE( outcome.IsSuccess());
44+
ListPipelinesRequest input;
45+
auto outcome = clientSp->ListPipelines(input);
46+
EXPECT_TRUE( outcome.IsSuccess());
4747
}
48-
TEST_F(CodePipelineSmokeTestSuite, ListPipelinesSuccess )
48+
TEST_F(CodePipelineSmokeTestSuite, GetPipelineFailure )
4949
{
5050
Aws::CodePipeline::CodePipelineClientConfiguration clientConfiguration;
5151
clientConfiguration.region = "us-west-2";
@@ -54,8 +54,9 @@ TEST_F(CodePipelineSmokeTestSuite, ListPipelinesSuccess )
5454
auto clientSp = Aws::MakeShared<CodePipelineClient>(ALLOCATION_TAG, clientConfiguration);
5555
//populate input params
5656

57-
ListPipelinesRequest input;
58-
auto outcome = clientSp->ListPipelines(input);
59-
EXPECT_TRUE( outcome.IsSuccess());
57+
GetPipelineRequest input;
58+
input.SetName("fake-pipeline");
59+
auto outcome = clientSp->GetPipeline(input);
60+
EXPECT_FALSE( outcome.IsSuccess());
6061
}
6162
}

generated/smoke-tests/route53/Route53SmokeTests.cpp

+9-10
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
#include <aws/route53/Route53Client.h>
1919
#include <aws/route53/model/GetHostedZoneRequest.h>
2020
#include <aws/route53/model/ListHostedZonesRequest.h>
21-
#include <aws/core/utils/memory/stl/AWSString.h>
2221

2322
namespace Route53SmokeTest{
2423
using namespace Aws::Auth;
@@ -32,7 +31,7 @@ class Route53SmokeTestSuite : public Aws::Testing::AwsCppSdkGTestSuite {
3231
static const char ALLOCATION_TAG[];
3332
};
3433
const char Route53SmokeTestSuite::ALLOCATION_TAG[] = "Route53SmokeTest";
35-
TEST_F(Route53SmokeTestSuite, ListHostedZonesSuccess )
34+
TEST_F(Route53SmokeTestSuite, GetHostedZoneFailure )
3635
{
3736
Aws::Route53::Route53ClientConfiguration clientConfiguration;
3837
clientConfiguration.region = "us-east-1";
@@ -41,11 +40,12 @@ TEST_F(Route53SmokeTestSuite, ListHostedZonesSuccess )
4140
auto clientSp = Aws::MakeShared<Route53Client>(ALLOCATION_TAG, clientConfiguration);
4241
//populate input params
4342

44-
ListHostedZonesRequest input;
45-
auto outcome = clientSp->ListHostedZones(input);
46-
EXPECT_TRUE( outcome.IsSuccess());
43+
GetHostedZoneRequest input;
44+
input.SetId("fake-zone");
45+
auto outcome = clientSp->GetHostedZone(input);
46+
EXPECT_FALSE( outcome.IsSuccess());
4747
}
48-
TEST_F(Route53SmokeTestSuite, GetHostedZoneFailure )
48+
TEST_F(Route53SmokeTestSuite, ListHostedZonesSuccess )
4949
{
5050
Aws::Route53::Route53ClientConfiguration clientConfiguration;
5151
clientConfiguration.region = "us-east-1";
@@ -54,9 +54,8 @@ TEST_F(Route53SmokeTestSuite, GetHostedZoneFailure )
5454
auto clientSp = Aws::MakeShared<Route53Client>(ALLOCATION_TAG, clientConfiguration);
5555
//populate input params
5656

57-
GetHostedZoneRequest input;
58-
input.SetId("fake-zone");
59-
auto outcome = clientSp->GetHostedZone(input);
60-
EXPECT_FALSE( outcome.IsSuccess());
57+
ListHostedZonesRequest input;
58+
auto outcome = clientSp->ListHostedZones(input);
59+
EXPECT_TRUE( outcome.IsSuccess());
6160
}
6261
}

generated/smoke-tests/ssm-quicksetup/SSMQuickSetupSmokeTests.cpp

+11-10
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,10 @@
1515
#include <algorithm>
1616
#include <aws/testing/AwsCppSdkGTestSuite.h>
1717
#include <aws/testing/AwsTestHelpers.h>
18-
#include <aws/ssm-quicksetup/model/GetConfigurationManagerRequest.h>
1918
#include <aws/ssm-quicksetup/model/ListConfigurationManagersRequest.h>
19+
#include <aws/ssm-quicksetup/model/GetConfigurationManagerRequest.h>
2020
#include <aws/ssm-quicksetup/SSMQuickSetupClient.h>
21+
#include <aws/core/utils/memory/stl/AWSString.h>
2122

2223
namespace SSMQuickSetupSmokeTest{
2324
using namespace Aws::Auth;
@@ -31,7 +32,7 @@ class SSMQuickSetupSmokeTestSuite : public Aws::Testing::AwsCppSdkGTestSuite {
3132
static const char ALLOCATION_TAG[];
3233
};
3334
const char SSMQuickSetupSmokeTestSuite::ALLOCATION_TAG[] = "SSMQuickSetupSmokeTest";
34-
TEST_F(SSMQuickSetupSmokeTestSuite, GetConfigurationManagerFailure )
35+
TEST_F(SSMQuickSetupSmokeTestSuite, ListConfigurationManagersSuccess )
3536
{
3637
Aws::SSMQuickSetup::SSMQuickSetupClientConfiguration clientConfiguration;
3738
clientConfiguration.region = "us-east-1";
@@ -40,12 +41,11 @@ TEST_F(SSMQuickSetupSmokeTestSuite, GetConfigurationManagerFailure )
4041
auto clientSp = Aws::MakeShared<SSMQuickSetupClient>(ALLOCATION_TAG, clientConfiguration);
4142
//populate input params
4243

43-
GetConfigurationManagerRequest input;
44-
input.SetManagerArn("arn:aws:ssm-quicksetup:us-east-1:602768233532:configuration-manager/7cac1a1b-64a9-4c9a-97e8-8c68928b8f13");
45-
auto outcome = clientSp->GetConfigurationManager(input);
46-
EXPECT_FALSE( outcome.IsSuccess());
44+
ListConfigurationManagersRequest input;
45+
auto outcome = clientSp->ListConfigurationManagers(input);
46+
EXPECT_TRUE( outcome.IsSuccess());
4747
}
48-
TEST_F(SSMQuickSetupSmokeTestSuite, ListConfigurationManagersSuccess )
48+
TEST_F(SSMQuickSetupSmokeTestSuite, GetConfigurationManagerFailure )
4949
{
5050
Aws::SSMQuickSetup::SSMQuickSetupClientConfiguration clientConfiguration;
5151
clientConfiguration.region = "us-east-1";
@@ -54,8 +54,9 @@ TEST_F(SSMQuickSetupSmokeTestSuite, ListConfigurationManagersSuccess )
5454
auto clientSp = Aws::MakeShared<SSMQuickSetupClient>(ALLOCATION_TAG, clientConfiguration);
5555
//populate input params
5656

57-
ListConfigurationManagersRequest input;
58-
auto outcome = clientSp->ListConfigurationManagers(input);
59-
EXPECT_TRUE( outcome.IsSuccess());
57+
GetConfigurationManagerRequest input;
58+
input.SetManagerArn("arn:aws:ssm-quicksetup:us-east-1:602768233532:configuration-manager/7cac1a1b-64a9-4c9a-97e8-8c68928b8f13");
59+
auto outcome = clientSp->GetConfigurationManager(input);
60+
EXPECT_FALSE( outcome.IsSuccess());
6061
}
6162
}

generated/src/aws-cpp-sdk-ecs/include/aws/ecs/ECSClient.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1105,7 +1105,7 @@ namespace ECS
11051105

11061106
/**
11071107
* <p>This operation lists all the service deployments that meet the specified
1108-
* filter criteria.</p> <p>A service deployment happens when you release a softwre
1108+
* filter criteria.</p> <p>A service deployment happens when you release a software
11091109
* update for the service. You route traffic from the running service revisions to
11101110
* the new service revison and control the number of running tasks. </p> <p>This
11111111
* API returns the values that you use for the request parameters in <a

generated/src/aws-cpp-sdk-ecs/include/aws/ecs/model/AwsVpcConfiguration.h

+4-5
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ namespace Model
4545
///@{
4646
/**
4747
* <p>The IDs of the subnets associated with the task or service. There's a limit
48-
* of 16 subnets that can be specified per <code>awsvpcConfiguration</code>.</p>
49-
* <p>All specified subnets must be from the same VPC.</p>
48+
* of 16 subnets that can be specified.</p> <p>All specified subnets must be
49+
* from the same VPC.</p>
5050
*/
5151
inline const Aws::Vector<Aws::String>& GetSubnets() const{ return m_subnets; }
5252
inline bool SubnetsHasBeenSet() const { return m_subnetsHasBeenSet; }
@@ -63,9 +63,8 @@ namespace Model
6363
/**
6464
* <p>The IDs of the security groups associated with the task or service. If you
6565
* don't specify a security group, the default security group for the VPC is used.
66-
* There's a limit of 5 security groups that can be specified per
67-
* <code>awsvpcConfiguration</code>.</p> <p>All specified security groups
68-
* must be from the same VPC.</p>
66+
* There's a limit of 5 security groups that can be specified.</p> <p>All
67+
* specified security groups must be from the same VPC.</p>
6968
*/
7069
inline const Aws::Vector<Aws::String>& GetSecurityGroups() const{ return m_securityGroups; }
7170
inline bool SecurityGroupsHasBeenSet() const { return m_securityGroupsHasBeenSet; }

generated/src/aws-cpp-sdk-route53domains/include/aws/route53domains/model/BillingRecord.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ namespace Model
7272

7373
///@{
7474
/**
75-
* <p>The ID of the invoice that is associated with the billing record.</p>
75+
* <p>Deprecated property. This field is retained in report structure for backwards
76+
* compatibility, but will appear blank.</p>
7677
*/
7778
inline const Aws::String& GetInvoiceId() const{ return m_invoiceId; }
7879
inline bool InvoiceIdHasBeenSet() const { return m_invoiceIdHasBeenSet; }

0 commit comments

Comments
 (0)