Skip to content

Commit bb1fdce

Browse files
author
aws-sdk-cpp-automation
committed
STS now supports assume role with Web Identity using JWT token length upto 20000 characters
AWS DMS added support of TLS for Kafka endpoint. Added Describe endpoint setting API for DMS endpoints.
1 parent c339864 commit bb1fdce

25 files changed

+2240
-66
lines changed

aws-cpp-sdk-core/include/aws/core/VersionConfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
* SPDX-License-Identifier: Apache-2.0.
44
*/
55

6-
#define AWS_SDK_VERSION_STRING "1.8.185"
6+
#define AWS_SDK_VERSION_STRING "1.8.186"

aws-cpp-sdk-dms/include/aws/dms/DatabaseMigrationServiceClient.h

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
#include <aws/dms/model/DescribeApplicableIndividualAssessmentsResult.h>
3232
#include <aws/dms/model/DescribeCertificatesResult.h>
3333
#include <aws/dms/model/DescribeConnectionsResult.h>
34+
#include <aws/dms/model/DescribeEndpointSettingsResult.h>
3435
#include <aws/dms/model/DescribeEndpointTypesResult.h>
3536
#include <aws/dms/model/DescribeEndpointsResult.h>
3637
#include <aws/dms/model/DescribeEventCategoriesResult.h>
@@ -124,6 +125,7 @@ namespace Model
124125
class DescribeApplicableIndividualAssessmentsRequest;
125126
class DescribeCertificatesRequest;
126127
class DescribeConnectionsRequest;
128+
class DescribeEndpointSettingsRequest;
127129
class DescribeEndpointTypesRequest;
128130
class DescribeEndpointsRequest;
129131
class DescribeEventCategoriesRequest;
@@ -179,6 +181,7 @@ namespace Model
179181
typedef Aws::Utils::Outcome<DescribeApplicableIndividualAssessmentsResult, DatabaseMigrationServiceError> DescribeApplicableIndividualAssessmentsOutcome;
180182
typedef Aws::Utils::Outcome<DescribeCertificatesResult, DatabaseMigrationServiceError> DescribeCertificatesOutcome;
181183
typedef Aws::Utils::Outcome<DescribeConnectionsResult, DatabaseMigrationServiceError> DescribeConnectionsOutcome;
184+
typedef Aws::Utils::Outcome<DescribeEndpointSettingsResult, DatabaseMigrationServiceError> DescribeEndpointSettingsOutcome;
182185
typedef Aws::Utils::Outcome<DescribeEndpointTypesResult, DatabaseMigrationServiceError> DescribeEndpointTypesOutcome;
183186
typedef Aws::Utils::Outcome<DescribeEndpointsResult, DatabaseMigrationServiceError> DescribeEndpointsOutcome;
184187
typedef Aws::Utils::Outcome<DescribeEventCategoriesResult, DatabaseMigrationServiceError> DescribeEventCategoriesOutcome;
@@ -234,6 +237,7 @@ namespace Model
234237
typedef std::future<DescribeApplicableIndividualAssessmentsOutcome> DescribeApplicableIndividualAssessmentsOutcomeCallable;
235238
typedef std::future<DescribeCertificatesOutcome> DescribeCertificatesOutcomeCallable;
236239
typedef std::future<DescribeConnectionsOutcome> DescribeConnectionsOutcomeCallable;
240+
typedef std::future<DescribeEndpointSettingsOutcome> DescribeEndpointSettingsOutcomeCallable;
237241
typedef std::future<DescribeEndpointTypesOutcome> DescribeEndpointTypesOutcomeCallable;
238242
typedef std::future<DescribeEndpointsOutcome> DescribeEndpointsOutcomeCallable;
239243
typedef std::future<DescribeEventCategoriesOutcome> DescribeEventCategoriesOutcomeCallable;
@@ -292,6 +296,7 @@ namespace Model
292296
typedef std::function<void(const DatabaseMigrationServiceClient*, const Model::DescribeApplicableIndividualAssessmentsRequest&, const Model::DescribeApplicableIndividualAssessmentsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeApplicableIndividualAssessmentsResponseReceivedHandler;
293297
typedef std::function<void(const DatabaseMigrationServiceClient*, const Model::DescribeCertificatesRequest&, const Model::DescribeCertificatesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeCertificatesResponseReceivedHandler;
294298
typedef std::function<void(const DatabaseMigrationServiceClient*, const Model::DescribeConnectionsRequest&, const Model::DescribeConnectionsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeConnectionsResponseReceivedHandler;
299+
typedef std::function<void(const DatabaseMigrationServiceClient*, const Model::DescribeEndpointSettingsRequest&, const Model::DescribeEndpointSettingsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeEndpointSettingsResponseReceivedHandler;
295300
typedef std::function<void(const DatabaseMigrationServiceClient*, const Model::DescribeEndpointTypesRequest&, const Model::DescribeEndpointTypesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeEndpointTypesResponseReceivedHandler;
296301
typedef std::function<void(const DatabaseMigrationServiceClient*, const Model::DescribeEndpointsRequest&, const Model::DescribeEndpointsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeEndpointsResponseReceivedHandler;
297302
typedef std::function<void(const DatabaseMigrationServiceClient*, const Model::DescribeEventCategoriesRequest&, const Model::DescribeEventCategoriesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeEventCategoriesResponseReceivedHandler;
@@ -1074,6 +1079,34 @@ namespace Model
10741079
*/
10751080
virtual void DescribeConnectionsAsync(const Model::DescribeConnectionsRequest& request, const DescribeConnectionsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
10761081

1082+
/**
1083+
* <p>Returns information about the possible endpoint settings available when you
1084+
* create an endpoint for a specific database engine.</p><p><h3>See Also:</h3> <a
1085+
* href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEndpointSettings">AWS
1086+
* API Reference</a></p>
1087+
*/
1088+
virtual Model::DescribeEndpointSettingsOutcome DescribeEndpointSettings(const Model::DescribeEndpointSettingsRequest& request) const;
1089+
1090+
/**
1091+
* <p>Returns information about the possible endpoint settings available when you
1092+
* create an endpoint for a specific database engine.</p><p><h3>See Also:</h3> <a
1093+
* href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEndpointSettings">AWS
1094+
* API Reference</a></p>
1095+
*
1096+
* returns a future to the operation so that it can be executed in parallel to other requests.
1097+
*/
1098+
virtual Model::DescribeEndpointSettingsOutcomeCallable DescribeEndpointSettingsCallable(const Model::DescribeEndpointSettingsRequest& request) const;
1099+
1100+
/**
1101+
* <p>Returns information about the possible endpoint settings available when you
1102+
* create an endpoint for a specific database engine.</p><p><h3>See Also:</h3> <a
1103+
* href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEndpointSettings">AWS
1104+
* API Reference</a></p>
1105+
*
1106+
* Queues the request into a thread executor and triggers associated callback when operation has finished.
1107+
*/
1108+
virtual void DescribeEndpointSettingsAsync(const Model::DescribeEndpointSettingsRequest& request, const DescribeEndpointSettingsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
1109+
10771110
/**
10781111
* <p>Returns information about the type of endpoints available.</p><p><h3>See
10791112
* Also:</h3> <a
@@ -2176,6 +2209,7 @@ namespace Model
21762209
void DescribeApplicableIndividualAssessmentsAsyncHelper(const Model::DescribeApplicableIndividualAssessmentsRequest& request, const DescribeApplicableIndividualAssessmentsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
21772210
void DescribeCertificatesAsyncHelper(const Model::DescribeCertificatesRequest& request, const DescribeCertificatesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
21782211
void DescribeConnectionsAsyncHelper(const Model::DescribeConnectionsRequest& request, const DescribeConnectionsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
2212+
void DescribeEndpointSettingsAsyncHelper(const Model::DescribeEndpointSettingsRequest& request, const DescribeEndpointSettingsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
21792213
void DescribeEndpointTypesAsyncHelper(const Model::DescribeEndpointTypesRequest& request, const DescribeEndpointTypesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
21802214
void DescribeEndpointsAsyncHelper(const Model::DescribeEndpointsRequest& request, const DescribeEndpointsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
21812215
void DescribeEventCategoriesAsyncHelper(const Model::DescribeEventCategoriesRequest& request, const DescribeEventCategoriesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
Lines changed: 181 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,181 @@
1+
/**
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
* SPDX-License-Identifier: Apache-2.0.
4+
*/
5+
6+
#pragma once
7+
#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8+
#include <aws/dms/DatabaseMigrationServiceRequest.h>
9+
#include <aws/core/utils/memory/stl/AWSString.h>
10+
#include <utility>
11+
12+
namespace Aws
13+
{
14+
namespace DatabaseMigrationService
15+
{
16+
namespace Model
17+
{
18+
19+
/**
20+
*/
21+
class AWS_DATABASEMIGRATIONSERVICE_API DescribeEndpointSettingsRequest : public DatabaseMigrationServiceRequest
22+
{
23+
public:
24+
DescribeEndpointSettingsRequest();
25+
26+
// Service request name is the Operation name which will send this request out,
27+
// each operation should has unique request name, so that we can get operation's name from this request.
28+
// Note: this is not true for response, multiple operations may have the same response name,
29+
// so we can not get operation's name from response.
30+
inline virtual const char* GetServiceRequestName() const override { return "DescribeEndpointSettings"; }
31+
32+
Aws::String SerializePayload() const override;
33+
34+
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35+
36+
37+
/**
38+
* <p>The databse engine used for your source or target endpoint.</p>
39+
*/
40+
inline const Aws::String& GetEngineName() const{ return m_engineName; }
41+
42+
/**
43+
* <p>The databse engine used for your source or target endpoint.</p>
44+
*/
45+
inline bool EngineNameHasBeenSet() const { return m_engineNameHasBeenSet; }
46+
47+
/**
48+
* <p>The databse engine used for your source or target endpoint.</p>
49+
*/
50+
inline void SetEngineName(const Aws::String& value) { m_engineNameHasBeenSet = true; m_engineName = value; }
51+
52+
/**
53+
* <p>The databse engine used for your source or target endpoint.</p>
54+
*/
55+
inline void SetEngineName(Aws::String&& value) { m_engineNameHasBeenSet = true; m_engineName = std::move(value); }
56+
57+
/**
58+
* <p>The databse engine used for your source or target endpoint.</p>
59+
*/
60+
inline void SetEngineName(const char* value) { m_engineNameHasBeenSet = true; m_engineName.assign(value); }
61+
62+
/**
63+
* <p>The databse engine used for your source or target endpoint.</p>
64+
*/
65+
inline DescribeEndpointSettingsRequest& WithEngineName(const Aws::String& value) { SetEngineName(value); return *this;}
66+
67+
/**
68+
* <p>The databse engine used for your source or target endpoint.</p>
69+
*/
70+
inline DescribeEndpointSettingsRequest& WithEngineName(Aws::String&& value) { SetEngineName(std::move(value)); return *this;}
71+
72+
/**
73+
* <p>The databse engine used for your source or target endpoint.</p>
74+
*/
75+
inline DescribeEndpointSettingsRequest& WithEngineName(const char* value) { SetEngineName(value); return *this;}
76+
77+
78+
/**
79+
* <p>The maximum number of records to include in the response. If more records
80+
* exist than the specified <code>MaxRecords</code> value, a pagination token
81+
* called a marker is included in the response so that the remaining results can be
82+
* retrieved.</p>
83+
*/
84+
inline int GetMaxRecords() const{ return m_maxRecords; }
85+
86+
/**
87+
* <p>The maximum number of records to include in the response. If more records
88+
* exist than the specified <code>MaxRecords</code> value, a pagination token
89+
* called a marker is included in the response so that the remaining results can be
90+
* retrieved.</p>
91+
*/
92+
inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
93+
94+
/**
95+
* <p>The maximum number of records to include in the response. If more records
96+
* exist than the specified <code>MaxRecords</code> value, a pagination token
97+
* called a marker is included in the response so that the remaining results can be
98+
* retrieved.</p>
99+
*/
100+
inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
101+
102+
/**
103+
* <p>The maximum number of records to include in the response. If more records
104+
* exist than the specified <code>MaxRecords</code> value, a pagination token
105+
* called a marker is included in the response so that the remaining results can be
106+
* retrieved.</p>
107+
*/
108+
inline DescribeEndpointSettingsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
109+
110+
111+
/**
112+
* <p>An optional pagination token provided by a previous request. If this
113+
* parameter is specified, the response includes only records beyond the marker, up
114+
* to the value specified by <code>MaxRecords</code>.</p>
115+
*/
116+
inline const Aws::String& GetMarker() const{ return m_marker; }
117+
118+
/**
119+
* <p>An optional pagination token provided by a previous request. If this
120+
* parameter is specified, the response includes only records beyond the marker, up
121+
* to the value specified by <code>MaxRecords</code>.</p>
122+
*/
123+
inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
124+
125+
/**
126+
* <p>An optional pagination token provided by a previous request. If this
127+
* parameter is specified, the response includes only records beyond the marker, up
128+
* to the value specified by <code>MaxRecords</code>.</p>
129+
*/
130+
inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
131+
132+
/**
133+
* <p>An optional pagination token provided by a previous request. If this
134+
* parameter is specified, the response includes only records beyond the marker, up
135+
* to the value specified by <code>MaxRecords</code>.</p>
136+
*/
137+
inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
138+
139+
/**
140+
* <p>An optional pagination token provided by a previous request. If this
141+
* parameter is specified, the response includes only records beyond the marker, up
142+
* to the value specified by <code>MaxRecords</code>.</p>
143+
*/
144+
inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
145+
146+
/**
147+
* <p>An optional pagination token provided by a previous request. If this
148+
* parameter is specified, the response includes only records beyond the marker, up
149+
* to the value specified by <code>MaxRecords</code>.</p>
150+
*/
151+
inline DescribeEndpointSettingsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
152+
153+
/**
154+
* <p>An optional pagination token provided by a previous request. If this
155+
* parameter is specified, the response includes only records beyond the marker, up
156+
* to the value specified by <code>MaxRecords</code>.</p>
157+
*/
158+
inline DescribeEndpointSettingsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
159+
160+
/**
161+
* <p>An optional pagination token provided by a previous request. If this
162+
* parameter is specified, the response includes only records beyond the marker, up
163+
* to the value specified by <code>MaxRecords</code>.</p>
164+
*/
165+
inline DescribeEndpointSettingsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
166+
167+
private:
168+
169+
Aws::String m_engineName;
170+
bool m_engineNameHasBeenSet;
171+
172+
int m_maxRecords;
173+
bool m_maxRecordsHasBeenSet;
174+
175+
Aws::String m_marker;
176+
bool m_markerHasBeenSet;
177+
};
178+
179+
} // namespace Model
180+
} // namespace DatabaseMigrationService
181+
} // namespace Aws

0 commit comments

Comments
 (0)