Skip to content

Commit 0dad0a2

Browse files
author
aws-sdk-cpp-automation
committed
This release adds support for SMB location type.
This release allows users to enable RDS Data API while creating Aurora Serverless databases.
1 parent 5386982 commit 0dad0a2

34 files changed

+2934
-288
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
@@ -13,4 +13,4 @@
1313
* permissions and limitations under the License.
1414
*/
1515

16-
#define AWS_SDK_VERSION_STRING "1.7.167"
16+
#define AWS_SDK_VERSION_STRING "1.7.168"

aws-cpp-sdk-datasync/include/aws/datasync/DataSyncClient.h

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
#include <aws/datasync/model/CreateLocationEfsResult.h>
2727
#include <aws/datasync/model/CreateLocationNfsResult.h>
2828
#include <aws/datasync/model/CreateLocationS3Result.h>
29+
#include <aws/datasync/model/CreateLocationSmbResult.h>
2930
#include <aws/datasync/model/CreateTaskResult.h>
3031
#include <aws/datasync/model/DeleteAgentResult.h>
3132
#include <aws/datasync/model/DeleteLocationResult.h>
@@ -34,6 +35,7 @@
3435
#include <aws/datasync/model/DescribeLocationEfsResult.h>
3536
#include <aws/datasync/model/DescribeLocationNfsResult.h>
3637
#include <aws/datasync/model/DescribeLocationS3Result.h>
38+
#include <aws/datasync/model/DescribeLocationSmbResult.h>
3739
#include <aws/datasync/model/DescribeTaskResult.h>
3840
#include <aws/datasync/model/DescribeTaskExecutionResult.h>
3941
#include <aws/datasync/model/ListAgentsResult.h>
@@ -90,6 +92,7 @@ namespace Model
9092
class CreateLocationEfsRequest;
9193
class CreateLocationNfsRequest;
9294
class CreateLocationS3Request;
95+
class CreateLocationSmbRequest;
9396
class CreateTaskRequest;
9497
class DeleteAgentRequest;
9598
class DeleteLocationRequest;
@@ -98,6 +101,7 @@ namespace Model
98101
class DescribeLocationEfsRequest;
99102
class DescribeLocationNfsRequest;
100103
class DescribeLocationS3Request;
104+
class DescribeLocationSmbRequest;
101105
class DescribeTaskRequest;
102106
class DescribeTaskExecutionRequest;
103107
class ListAgentsRequest;
@@ -116,6 +120,7 @@ namespace Model
116120
typedef Aws::Utils::Outcome<CreateLocationEfsResult, Aws::Client::AWSError<DataSyncErrors>> CreateLocationEfsOutcome;
117121
typedef Aws::Utils::Outcome<CreateLocationNfsResult, Aws::Client::AWSError<DataSyncErrors>> CreateLocationNfsOutcome;
118122
typedef Aws::Utils::Outcome<CreateLocationS3Result, Aws::Client::AWSError<DataSyncErrors>> CreateLocationS3Outcome;
123+
typedef Aws::Utils::Outcome<CreateLocationSmbResult, Aws::Client::AWSError<DataSyncErrors>> CreateLocationSmbOutcome;
119124
typedef Aws::Utils::Outcome<CreateTaskResult, Aws::Client::AWSError<DataSyncErrors>> CreateTaskOutcome;
120125
typedef Aws::Utils::Outcome<DeleteAgentResult, Aws::Client::AWSError<DataSyncErrors>> DeleteAgentOutcome;
121126
typedef Aws::Utils::Outcome<DeleteLocationResult, Aws::Client::AWSError<DataSyncErrors>> DeleteLocationOutcome;
@@ -124,6 +129,7 @@ namespace Model
124129
typedef Aws::Utils::Outcome<DescribeLocationEfsResult, Aws::Client::AWSError<DataSyncErrors>> DescribeLocationEfsOutcome;
125130
typedef Aws::Utils::Outcome<DescribeLocationNfsResult, Aws::Client::AWSError<DataSyncErrors>> DescribeLocationNfsOutcome;
126131
typedef Aws::Utils::Outcome<DescribeLocationS3Result, Aws::Client::AWSError<DataSyncErrors>> DescribeLocationS3Outcome;
132+
typedef Aws::Utils::Outcome<DescribeLocationSmbResult, Aws::Client::AWSError<DataSyncErrors>> DescribeLocationSmbOutcome;
127133
typedef Aws::Utils::Outcome<DescribeTaskResult, Aws::Client::AWSError<DataSyncErrors>> DescribeTaskOutcome;
128134
typedef Aws::Utils::Outcome<DescribeTaskExecutionResult, Aws::Client::AWSError<DataSyncErrors>> DescribeTaskExecutionOutcome;
129135
typedef Aws::Utils::Outcome<ListAgentsResult, Aws::Client::AWSError<DataSyncErrors>> ListAgentsOutcome;
@@ -142,6 +148,7 @@ namespace Model
142148
typedef std::future<CreateLocationEfsOutcome> CreateLocationEfsOutcomeCallable;
143149
typedef std::future<CreateLocationNfsOutcome> CreateLocationNfsOutcomeCallable;
144150
typedef std::future<CreateLocationS3Outcome> CreateLocationS3OutcomeCallable;
151+
typedef std::future<CreateLocationSmbOutcome> CreateLocationSmbOutcomeCallable;
145152
typedef std::future<CreateTaskOutcome> CreateTaskOutcomeCallable;
146153
typedef std::future<DeleteAgentOutcome> DeleteAgentOutcomeCallable;
147154
typedef std::future<DeleteLocationOutcome> DeleteLocationOutcomeCallable;
@@ -150,6 +157,7 @@ namespace Model
150157
typedef std::future<DescribeLocationEfsOutcome> DescribeLocationEfsOutcomeCallable;
151158
typedef std::future<DescribeLocationNfsOutcome> DescribeLocationNfsOutcomeCallable;
152159
typedef std::future<DescribeLocationS3Outcome> DescribeLocationS3OutcomeCallable;
160+
typedef std::future<DescribeLocationSmbOutcome> DescribeLocationSmbOutcomeCallable;
153161
typedef std::future<DescribeTaskOutcome> DescribeTaskOutcomeCallable;
154162
typedef std::future<DescribeTaskExecutionOutcome> DescribeTaskExecutionOutcomeCallable;
155163
typedef std::future<ListAgentsOutcome> ListAgentsOutcomeCallable;
@@ -171,6 +179,7 @@ namespace Model
171179
typedef std::function<void(const DataSyncClient*, const Model::CreateLocationEfsRequest&, const Model::CreateLocationEfsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > CreateLocationEfsResponseReceivedHandler;
172180
typedef std::function<void(const DataSyncClient*, const Model::CreateLocationNfsRequest&, const Model::CreateLocationNfsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > CreateLocationNfsResponseReceivedHandler;
173181
typedef std::function<void(const DataSyncClient*, const Model::CreateLocationS3Request&, const Model::CreateLocationS3Outcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > CreateLocationS3ResponseReceivedHandler;
182+
typedef std::function<void(const DataSyncClient*, const Model::CreateLocationSmbRequest&, const Model::CreateLocationSmbOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > CreateLocationSmbResponseReceivedHandler;
174183
typedef std::function<void(const DataSyncClient*, const Model::CreateTaskRequest&, const Model::CreateTaskOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > CreateTaskResponseReceivedHandler;
175184
typedef std::function<void(const DataSyncClient*, const Model::DeleteAgentRequest&, const Model::DeleteAgentOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteAgentResponseReceivedHandler;
176185
typedef std::function<void(const DataSyncClient*, const Model::DeleteLocationRequest&, const Model::DeleteLocationOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteLocationResponseReceivedHandler;
@@ -179,6 +188,7 @@ namespace Model
179188
typedef std::function<void(const DataSyncClient*, const Model::DescribeLocationEfsRequest&, const Model::DescribeLocationEfsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeLocationEfsResponseReceivedHandler;
180189
typedef std::function<void(const DataSyncClient*, const Model::DescribeLocationNfsRequest&, const Model::DescribeLocationNfsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeLocationNfsResponseReceivedHandler;
181190
typedef std::function<void(const DataSyncClient*, const Model::DescribeLocationS3Request&, const Model::DescribeLocationS3Outcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeLocationS3ResponseReceivedHandler;
191+
typedef std::function<void(const DataSyncClient*, const Model::DescribeLocationSmbRequest&, const Model::DescribeLocationSmbOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeLocationSmbResponseReceivedHandler;
182192
typedef std::function<void(const DataSyncClient*, const Model::DescribeTaskRequest&, const Model::DescribeTaskOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeTaskResponseReceivedHandler;
183193
typedef std::function<void(const DataSyncClient*, const Model::DescribeTaskExecutionRequest&, const Model::DescribeTaskExecutionOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeTaskExecutionResponseReceivedHandler;
184194
typedef std::function<void(const DataSyncClient*, const Model::ListAgentsRequest&, const Model::ListAgentsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListAgentsResponseReceivedHandler;
@@ -444,6 +454,34 @@ namespace Model
444454
*/
445455
virtual void CreateLocationS3Async(const Model::CreateLocationS3Request& request, const CreateLocationS3ResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
446456

457+
/**
458+
* <p>Creates an endpoint for a Server Message Block (SMB) file
459+
* system.</p><p><h3>See Also:</h3> <a
460+
* href="http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationSmb">AWS
461+
* API Reference</a></p>
462+
*/
463+
virtual Model::CreateLocationSmbOutcome CreateLocationSmb(const Model::CreateLocationSmbRequest& request) const;
464+
465+
/**
466+
* <p>Creates an endpoint for a Server Message Block (SMB) file
467+
* system.</p><p><h3>See Also:</h3> <a
468+
* href="http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationSmb">AWS
469+
* API Reference</a></p>
470+
*
471+
* returns a future to the operation so that it can be executed in parallel to other requests.
472+
*/
473+
virtual Model::CreateLocationSmbOutcomeCallable CreateLocationSmbCallable(const Model::CreateLocationSmbRequest& request) const;
474+
475+
/**
476+
* <p>Creates an endpoint for a Server Message Block (SMB) file
477+
* system.</p><p><h3>See Also:</h3> <a
478+
* href="http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationSmb">AWS
479+
* API Reference</a></p>
480+
*
481+
* Queues the request into a thread executor and triggers associated callback when operation has finished.
482+
*/
483+
virtual void CreateLocationSmbAsync(const Model::CreateLocationSmbRequest& request, const CreateLocationSmbResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
484+
447485
/**
448486
* <p>Creates a task. A task is a set of two locations (source and destination) and
449487
* a set of Options that you use to control the behavior of a task. If you don't
@@ -713,6 +751,34 @@ namespace Model
713751
*/
714752
virtual void DescribeLocationS3Async(const Model::DescribeLocationS3Request& request, const DescribeLocationS3ResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
715753

754+
/**
755+
* <p>Returns metadata, such as the path and user information about a SMB
756+
* location.</p><p><h3>See Also:</h3> <a
757+
* href="http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationSmb">AWS
758+
* API Reference</a></p>
759+
*/
760+
virtual Model::DescribeLocationSmbOutcome DescribeLocationSmb(const Model::DescribeLocationSmbRequest& request) const;
761+
762+
/**
763+
* <p>Returns metadata, such as the path and user information about a SMB
764+
* location.</p><p><h3>See Also:</h3> <a
765+
* href="http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationSmb">AWS
766+
* API Reference</a></p>
767+
*
768+
* returns a future to the operation so that it can be executed in parallel to other requests.
769+
*/
770+
virtual Model::DescribeLocationSmbOutcomeCallable DescribeLocationSmbCallable(const Model::DescribeLocationSmbRequest& request) const;
771+
772+
/**
773+
* <p>Returns metadata, such as the path and user information about a SMB
774+
* location.</p><p><h3>See Also:</h3> <a
775+
* href="http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationSmb">AWS
776+
* API Reference</a></p>
777+
*
778+
* Queues the request into a thread executor and triggers associated callback when operation has finished.
779+
*/
780+
virtual void DescribeLocationSmbAsync(const Model::DescribeLocationSmbRequest& request, const DescribeLocationSmbResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
781+
716782
/**
717783
* <p>Returns metadata about a task.</p><p><h3>See Also:</h3> <a
718784
* href="http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeTask">AWS
@@ -1079,6 +1145,7 @@ namespace Model
10791145
void CreateLocationEfsAsyncHelper(const Model::CreateLocationEfsRequest& request, const CreateLocationEfsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
10801146
void CreateLocationNfsAsyncHelper(const Model::CreateLocationNfsRequest& request, const CreateLocationNfsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
10811147
void CreateLocationS3AsyncHelper(const Model::CreateLocationS3Request& request, const CreateLocationS3ResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1148+
void CreateLocationSmbAsyncHelper(const Model::CreateLocationSmbRequest& request, const CreateLocationSmbResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
10821149
void CreateTaskAsyncHelper(const Model::CreateTaskRequest& request, const CreateTaskResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
10831150
void DeleteAgentAsyncHelper(const Model::DeleteAgentRequest& request, const DeleteAgentResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
10841151
void DeleteLocationAsyncHelper(const Model::DeleteLocationRequest& request, const DeleteLocationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
@@ -1087,6 +1154,7 @@ namespace Model
10871154
void DescribeLocationEfsAsyncHelper(const Model::DescribeLocationEfsRequest& request, const DescribeLocationEfsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
10881155
void DescribeLocationNfsAsyncHelper(const Model::DescribeLocationNfsRequest& request, const DescribeLocationNfsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
10891156
void DescribeLocationS3AsyncHelper(const Model::DescribeLocationS3Request& request, const DescribeLocationS3ResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1157+
void DescribeLocationSmbAsyncHelper(const Model::DescribeLocationSmbRequest& request, const DescribeLocationSmbResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
10901158
void DescribeTaskAsyncHelper(const Model::DescribeTaskRequest& request, const DescribeTaskResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
10911159
void DescribeTaskExecutionAsyncHelper(const Model::DescribeTaskExecutionRequest& request, const DescribeTaskExecutionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
10921160
void ListAgentsAsyncHelper(const Model::ListAgentsRequest& request, const ListAgentsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;

0 commit comments

Comments
 (0)