26
26
#include < aws/datasync/model/CreateLocationEfsResult.h>
27
27
#include < aws/datasync/model/CreateLocationNfsResult.h>
28
28
#include < aws/datasync/model/CreateLocationS3Result.h>
29
+ #include < aws/datasync/model/CreateLocationSmbResult.h>
29
30
#include < aws/datasync/model/CreateTaskResult.h>
30
31
#include < aws/datasync/model/DeleteAgentResult.h>
31
32
#include < aws/datasync/model/DeleteLocationResult.h>
34
35
#include < aws/datasync/model/DescribeLocationEfsResult.h>
35
36
#include < aws/datasync/model/DescribeLocationNfsResult.h>
36
37
#include < aws/datasync/model/DescribeLocationS3Result.h>
38
+ #include < aws/datasync/model/DescribeLocationSmbResult.h>
37
39
#include < aws/datasync/model/DescribeTaskResult.h>
38
40
#include < aws/datasync/model/DescribeTaskExecutionResult.h>
39
41
#include < aws/datasync/model/ListAgentsResult.h>
@@ -90,6 +92,7 @@ namespace Model
90
92
class CreateLocationEfsRequest ;
91
93
class CreateLocationNfsRequest ;
92
94
class CreateLocationS3Request ;
95
+ class CreateLocationSmbRequest ;
93
96
class CreateTaskRequest ;
94
97
class DeleteAgentRequest ;
95
98
class DeleteLocationRequest ;
@@ -98,6 +101,7 @@ namespace Model
98
101
class DescribeLocationEfsRequest ;
99
102
class DescribeLocationNfsRequest ;
100
103
class DescribeLocationS3Request ;
104
+ class DescribeLocationSmbRequest ;
101
105
class DescribeTaskRequest ;
102
106
class DescribeTaskExecutionRequest ;
103
107
class ListAgentsRequest ;
@@ -116,6 +120,7 @@ namespace Model
116
120
typedef Aws::Utils::Outcome<CreateLocationEfsResult, Aws::Client::AWSError<DataSyncErrors>> CreateLocationEfsOutcome;
117
121
typedef Aws::Utils::Outcome<CreateLocationNfsResult, Aws::Client::AWSError<DataSyncErrors>> CreateLocationNfsOutcome;
118
122
typedef Aws::Utils::Outcome<CreateLocationS3Result, Aws::Client::AWSError<DataSyncErrors>> CreateLocationS3Outcome;
123
+ typedef Aws::Utils::Outcome<CreateLocationSmbResult, Aws::Client::AWSError<DataSyncErrors>> CreateLocationSmbOutcome;
119
124
typedef Aws::Utils::Outcome<CreateTaskResult, Aws::Client::AWSError<DataSyncErrors>> CreateTaskOutcome;
120
125
typedef Aws::Utils::Outcome<DeleteAgentResult, Aws::Client::AWSError<DataSyncErrors>> DeleteAgentOutcome;
121
126
typedef Aws::Utils::Outcome<DeleteLocationResult, Aws::Client::AWSError<DataSyncErrors>> DeleteLocationOutcome;
@@ -124,6 +129,7 @@ namespace Model
124
129
typedef Aws::Utils::Outcome<DescribeLocationEfsResult, Aws::Client::AWSError<DataSyncErrors>> DescribeLocationEfsOutcome;
125
130
typedef Aws::Utils::Outcome<DescribeLocationNfsResult, Aws::Client::AWSError<DataSyncErrors>> DescribeLocationNfsOutcome;
126
131
typedef Aws::Utils::Outcome<DescribeLocationS3Result, Aws::Client::AWSError<DataSyncErrors>> DescribeLocationS3Outcome;
132
+ typedef Aws::Utils::Outcome<DescribeLocationSmbResult, Aws::Client::AWSError<DataSyncErrors>> DescribeLocationSmbOutcome;
127
133
typedef Aws::Utils::Outcome<DescribeTaskResult, Aws::Client::AWSError<DataSyncErrors>> DescribeTaskOutcome;
128
134
typedef Aws::Utils::Outcome<DescribeTaskExecutionResult, Aws::Client::AWSError<DataSyncErrors>> DescribeTaskExecutionOutcome;
129
135
typedef Aws::Utils::Outcome<ListAgentsResult, Aws::Client::AWSError<DataSyncErrors>> ListAgentsOutcome;
@@ -142,6 +148,7 @@ namespace Model
142
148
typedef std::future<CreateLocationEfsOutcome> CreateLocationEfsOutcomeCallable;
143
149
typedef std::future<CreateLocationNfsOutcome> CreateLocationNfsOutcomeCallable;
144
150
typedef std::future<CreateLocationS3Outcome> CreateLocationS3OutcomeCallable;
151
+ typedef std::future<CreateLocationSmbOutcome> CreateLocationSmbOutcomeCallable;
145
152
typedef std::future<CreateTaskOutcome> CreateTaskOutcomeCallable;
146
153
typedef std::future<DeleteAgentOutcome> DeleteAgentOutcomeCallable;
147
154
typedef std::future<DeleteLocationOutcome> DeleteLocationOutcomeCallable;
@@ -150,6 +157,7 @@ namespace Model
150
157
typedef std::future<DescribeLocationEfsOutcome> DescribeLocationEfsOutcomeCallable;
151
158
typedef std::future<DescribeLocationNfsOutcome> DescribeLocationNfsOutcomeCallable;
152
159
typedef std::future<DescribeLocationS3Outcome> DescribeLocationS3OutcomeCallable;
160
+ typedef std::future<DescribeLocationSmbOutcome> DescribeLocationSmbOutcomeCallable;
153
161
typedef std::future<DescribeTaskOutcome> DescribeTaskOutcomeCallable;
154
162
typedef std::future<DescribeTaskExecutionOutcome> DescribeTaskExecutionOutcomeCallable;
155
163
typedef std::future<ListAgentsOutcome> ListAgentsOutcomeCallable;
@@ -171,6 +179,7 @@ namespace Model
171
179
typedef std::function<void (const DataSyncClient*, const Model::CreateLocationEfsRequest&, const Model::CreateLocationEfsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > CreateLocationEfsResponseReceivedHandler;
172
180
typedef std::function<void (const DataSyncClient*, const Model::CreateLocationNfsRequest&, const Model::CreateLocationNfsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > CreateLocationNfsResponseReceivedHandler;
173
181
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;
174
183
typedef std::function<void (const DataSyncClient*, const Model::CreateTaskRequest&, const Model::CreateTaskOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > CreateTaskResponseReceivedHandler;
175
184
typedef std::function<void (const DataSyncClient*, const Model::DeleteAgentRequest&, const Model::DeleteAgentOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteAgentResponseReceivedHandler;
176
185
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
179
188
typedef std::function<void (const DataSyncClient*, const Model::DescribeLocationEfsRequest&, const Model::DescribeLocationEfsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeLocationEfsResponseReceivedHandler;
180
189
typedef std::function<void (const DataSyncClient*, const Model::DescribeLocationNfsRequest&, const Model::DescribeLocationNfsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeLocationNfsResponseReceivedHandler;
181
190
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;
182
192
typedef std::function<void (const DataSyncClient*, const Model::DescribeTaskRequest&, const Model::DescribeTaskOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeTaskResponseReceivedHandler;
183
193
typedef std::function<void (const DataSyncClient*, const Model::DescribeTaskExecutionRequest&, const Model::DescribeTaskExecutionOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeTaskExecutionResponseReceivedHandler;
184
194
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
444
454
*/
445
455
virtual void CreateLocationS3Async (const Model::CreateLocationS3Request& request, const CreateLocationS3ResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr ) const ;
446
456
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
+
447
485
/* *
448
486
* <p>Creates a task. A task is a set of two locations (source and destination) and
449
487
* a set of Options that you use to control the behavior of a task. If you don't
@@ -713,6 +751,34 @@ namespace Model
713
751
*/
714
752
virtual void DescribeLocationS3Async (const Model::DescribeLocationS3Request& request, const DescribeLocationS3ResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr ) const ;
715
753
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
+
716
782
/* *
717
783
* <p>Returns metadata about a task.</p><p><h3>See Also:</h3> <a
718
784
* href="http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeTask">AWS
@@ -1079,6 +1145,7 @@ namespace Model
1079
1145
void CreateLocationEfsAsyncHelper (const Model::CreateLocationEfsRequest& request, const CreateLocationEfsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const ;
1080
1146
void CreateLocationNfsAsyncHelper (const Model::CreateLocationNfsRequest& request, const CreateLocationNfsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const ;
1081
1147
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 ;
1082
1149
void CreateTaskAsyncHelper (const Model::CreateTaskRequest& request, const CreateTaskResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const ;
1083
1150
void DeleteAgentAsyncHelper (const Model::DeleteAgentRequest& request, const DeleteAgentResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const ;
1084
1151
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
1087
1154
void DescribeLocationEfsAsyncHelper (const Model::DescribeLocationEfsRequest& request, const DescribeLocationEfsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const ;
1088
1155
void DescribeLocationNfsAsyncHelper (const Model::DescribeLocationNfsRequest& request, const DescribeLocationNfsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const ;
1089
1156
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 ;
1090
1158
void DescribeTaskAsyncHelper (const Model::DescribeTaskRequest& request, const DescribeTaskResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const ;
1091
1159
void DescribeTaskExecutionAsyncHelper (const Model::DescribeTaskExecutionRequest& request, const DescribeTaskExecutionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const ;
1092
1160
void ListAgentsAsyncHelper (const Model::ListAgentsRequest& request, const ListAgentsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const ;
0 commit comments