1313#include < aws/core/utils/json/JsonSerializer.h>
1414#include < aws/awstransfer/model/CreateServerResult.h>
1515#include < aws/awstransfer/model/CreateUserResult.h>
16+ #include < aws/awstransfer/model/DescribeSecurityPolicyResult.h>
1617#include < aws/awstransfer/model/DescribeServerResult.h>
1718#include < aws/awstransfer/model/DescribeUserResult.h>
1819#include < aws/awstransfer/model/ImportSshPublicKeyResult.h>
20+ #include < aws/awstransfer/model/ListSecurityPoliciesResult.h>
1921#include < aws/awstransfer/model/ListServersResult.h>
2022#include < aws/awstransfer/model/ListTagsForResourceResult.h>
2123#include < aws/awstransfer/model/ListUsersResult.h>
@@ -67,9 +69,11 @@ namespace Model
6769 class DeleteServerRequest ;
6870 class DeleteSshPublicKeyRequest ;
6971 class DeleteUserRequest ;
72+ class DescribeSecurityPolicyRequest ;
7073 class DescribeServerRequest ;
7174 class DescribeUserRequest ;
7275 class ImportSshPublicKeyRequest ;
76+ class ListSecurityPoliciesRequest ;
7377 class ListServersRequest ;
7478 class ListTagsForResourceRequest ;
7579 class ListUsersRequest ;
@@ -86,9 +90,11 @@ namespace Model
8690 typedef Aws::Utils::Outcome<Aws::NoResult, TransferError> DeleteServerOutcome;
8791 typedef Aws::Utils::Outcome<Aws::NoResult, TransferError> DeleteSshPublicKeyOutcome;
8892 typedef Aws::Utils::Outcome<Aws::NoResult, TransferError> DeleteUserOutcome;
93+ typedef Aws::Utils::Outcome<DescribeSecurityPolicyResult, TransferError> DescribeSecurityPolicyOutcome;
8994 typedef Aws::Utils::Outcome<DescribeServerResult, TransferError> DescribeServerOutcome;
9095 typedef Aws::Utils::Outcome<DescribeUserResult, TransferError> DescribeUserOutcome;
9196 typedef Aws::Utils::Outcome<ImportSshPublicKeyResult, TransferError> ImportSshPublicKeyOutcome;
97+ typedef Aws::Utils::Outcome<ListSecurityPoliciesResult, TransferError> ListSecurityPoliciesOutcome;
9298 typedef Aws::Utils::Outcome<ListServersResult, TransferError> ListServersOutcome;
9399 typedef Aws::Utils::Outcome<ListTagsForResourceResult, TransferError> ListTagsForResourceOutcome;
94100 typedef Aws::Utils::Outcome<ListUsersResult, TransferError> ListUsersOutcome;
@@ -105,9 +111,11 @@ namespace Model
105111 typedef std::future<DeleteServerOutcome> DeleteServerOutcomeCallable;
106112 typedef std::future<DeleteSshPublicKeyOutcome> DeleteSshPublicKeyOutcomeCallable;
107113 typedef std::future<DeleteUserOutcome> DeleteUserOutcomeCallable;
114+ typedef std::future<DescribeSecurityPolicyOutcome> DescribeSecurityPolicyOutcomeCallable;
108115 typedef std::future<DescribeServerOutcome> DescribeServerOutcomeCallable;
109116 typedef std::future<DescribeUserOutcome> DescribeUserOutcomeCallable;
110117 typedef std::future<ImportSshPublicKeyOutcome> ImportSshPublicKeyOutcomeCallable;
118+ typedef std::future<ListSecurityPoliciesOutcome> ListSecurityPoliciesOutcomeCallable;
111119 typedef std::future<ListServersOutcome> ListServersOutcomeCallable;
112120 typedef std::future<ListTagsForResourceOutcome> ListTagsForResourceOutcomeCallable;
113121 typedef std::future<ListUsersOutcome> ListUsersOutcomeCallable;
@@ -127,9 +135,11 @@ namespace Model
127135 typedef std::function<void (const TransferClient*, const Model::DeleteServerRequest&, const Model::DeleteServerOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteServerResponseReceivedHandler;
128136 typedef std::function<void (const TransferClient*, const Model::DeleteSshPublicKeyRequest&, const Model::DeleteSshPublicKeyOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteSshPublicKeyResponseReceivedHandler;
129137 typedef std::function<void (const TransferClient*, const Model::DeleteUserRequest&, const Model::DeleteUserOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteUserResponseReceivedHandler;
138+ typedef std::function<void (const TransferClient*, const Model::DescribeSecurityPolicyRequest&, const Model::DescribeSecurityPolicyOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeSecurityPolicyResponseReceivedHandler;
130139 typedef std::function<void (const TransferClient*, const Model::DescribeServerRequest&, const Model::DescribeServerOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeServerResponseReceivedHandler;
131140 typedef std::function<void (const TransferClient*, const Model::DescribeUserRequest&, const Model::DescribeUserOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeUserResponseReceivedHandler;
132141 typedef std::function<void (const TransferClient*, const Model::ImportSshPublicKeyRequest&, const Model::ImportSshPublicKeyOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ImportSshPublicKeyResponseReceivedHandler;
142+ typedef std::function<void (const TransferClient*, const Model::ListSecurityPoliciesRequest&, const Model::ListSecurityPoliciesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListSecurityPoliciesResponseReceivedHandler;
133143 typedef std::function<void (const TransferClient*, const Model::ListServersRequest&, const Model::ListServersOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListServersResponseReceivedHandler;
134144 typedef std::function<void (const TransferClient*, const Model::ListTagsForResourceRequest&, const Model::ListTagsForResourceOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListTagsForResourceResponseReceivedHandler;
135145 typedef std::function<void (const TransferClient*, const Model::ListUsersRequest&, const Model::ListUsersOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListUsersResponseReceivedHandler;
@@ -143,7 +153,7 @@ namespace Model
143153
144154 /* *
145155 * <p>AWS Transfer Family is a fully managed service that enables the transfer of
146- * files over the the File Transfer Protocol (FTP), File Transfer Protocol over SSL
156+ * files over the File Transfer Protocol (FTP), File Transfer Protocol over SSL
147157 * (FTPS), or Secure Shell (SSH) File Transfer Protocol (SFTP) directly into and
148158 * out of Amazon Simple Storage Service (Amazon S3). AWS helps you seamlessly
149159 * migrate your file transfer workflows to AWS Transfer Family by integrating with
@@ -353,6 +363,43 @@ namespace Model
353363 */
354364 virtual void DeleteUserAsync (const Model::DeleteUserRequest& request, const DeleteUserResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr ) const ;
355365
366+ /* *
367+ * <p>Describes the security policy that is attached to your file transfer
368+ * protocol-enabled server. The response contains a description of the security
369+ * policy's properties. For more information about security policies, see <a
370+ * href="https://docs.aws.amazon.com/transfer/latest/userguide/security-policies.html">Working
371+ * with security policies</a>.</p><p><h3>See Also:</h3> <a
372+ * href="http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeSecurityPolicy">AWS
373+ * API Reference</a></p>
374+ */
375+ virtual Model::DescribeSecurityPolicyOutcome DescribeSecurityPolicy (const Model::DescribeSecurityPolicyRequest& request) const ;
376+
377+ /* *
378+ * <p>Describes the security policy that is attached to your file transfer
379+ * protocol-enabled server. The response contains a description of the security
380+ * policy's properties. For more information about security policies, see <a
381+ * href="https://docs.aws.amazon.com/transfer/latest/userguide/security-policies.html">Working
382+ * with security policies</a>.</p><p><h3>See Also:</h3> <a
383+ * href="http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeSecurityPolicy">AWS
384+ * API Reference</a></p>
385+ *
386+ * returns a future to the operation so that it can be executed in parallel to other requests.
387+ */
388+ virtual Model::DescribeSecurityPolicyOutcomeCallable DescribeSecurityPolicyCallable (const Model::DescribeSecurityPolicyRequest& request) const ;
389+
390+ /* *
391+ * <p>Describes the security policy that is attached to your file transfer
392+ * protocol-enabled server. The response contains a description of the security
393+ * policy's properties. For more information about security policies, see <a
394+ * href="https://docs.aws.amazon.com/transfer/latest/userguide/security-policies.html">Working
395+ * with security policies</a>.</p><p><h3>See Also:</h3> <a
396+ * href="http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeSecurityPolicy">AWS
397+ * API Reference</a></p>
398+ *
399+ * Queues the request into a thread executor and triggers associated callback when operation has finished.
400+ */
401+ virtual void DescribeSecurityPolicyAsync (const Model::DescribeSecurityPolicyRequest& request, const DescribeSecurityPolicyResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr ) const ;
402+
356403 /* *
357404 * <p>Describes a file transfer protocol-enabled server that you specify by passing
358405 * the <code>ServerId</code> parameter.</p> <p>The response contains a description
@@ -464,6 +511,34 @@ namespace Model
464511 */
465512 virtual void ImportSshPublicKeyAsync (const Model::ImportSshPublicKeyRequest& request, const ImportSshPublicKeyResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr ) const ;
466513
514+ /* *
515+ * <p>Lists the security policies that are attached to your file transfer
516+ * protocol-enabled servers.</p><p><h3>See Also:</h3> <a
517+ * href="http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ListSecurityPolicies">AWS
518+ * API Reference</a></p>
519+ */
520+ virtual Model::ListSecurityPoliciesOutcome ListSecurityPolicies (const Model::ListSecurityPoliciesRequest& request) const ;
521+
522+ /* *
523+ * <p>Lists the security policies that are attached to your file transfer
524+ * protocol-enabled servers.</p><p><h3>See Also:</h3> <a
525+ * href="http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ListSecurityPolicies">AWS
526+ * API Reference</a></p>
527+ *
528+ * returns a future to the operation so that it can be executed in parallel to other requests.
529+ */
530+ virtual Model::ListSecurityPoliciesOutcomeCallable ListSecurityPoliciesCallable (const Model::ListSecurityPoliciesRequest& request) const ;
531+
532+ /* *
533+ * <p>Lists the security policies that are attached to your file transfer
534+ * protocol-enabled servers.</p><p><h3>See Also:</h3> <a
535+ * href="http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ListSecurityPolicies">AWS
536+ * API Reference</a></p>
537+ *
538+ * Queues the request into a thread executor and triggers associated callback when operation has finished.
539+ */
540+ virtual void ListSecurityPoliciesAsync (const Model::ListSecurityPoliciesRequest& request, const ListSecurityPoliciesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr ) const ;
541+
467542 /* *
468543 * <p>Lists the file transfer protocol-enabled servers that are associated with
469544 * your AWS account.</p><p><h3>See Also:</h3> <a
@@ -831,9 +906,11 @@ namespace Model
831906 void DeleteServerAsyncHelper (const Model::DeleteServerRequest& request, const DeleteServerResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const ;
832907 void DeleteSshPublicKeyAsyncHelper (const Model::DeleteSshPublicKeyRequest& request, const DeleteSshPublicKeyResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const ;
833908 void DeleteUserAsyncHelper (const Model::DeleteUserRequest& request, const DeleteUserResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const ;
909+ void DescribeSecurityPolicyAsyncHelper (const Model::DescribeSecurityPolicyRequest& request, const DescribeSecurityPolicyResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const ;
834910 void DescribeServerAsyncHelper (const Model::DescribeServerRequest& request, const DescribeServerResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const ;
835911 void DescribeUserAsyncHelper (const Model::DescribeUserRequest& request, const DescribeUserResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const ;
836912 void ImportSshPublicKeyAsyncHelper (const Model::ImportSshPublicKeyRequest& request, const ImportSshPublicKeyResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const ;
913+ void ListSecurityPoliciesAsyncHelper (const Model::ListSecurityPoliciesRequest& request, const ListSecurityPoliciesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const ;
837914 void ListServersAsyncHelper (const Model::ListServersRequest& request, const ListServersResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const ;
838915 void ListTagsForResourceAsyncHelper (const Model::ListTagsForResourceRequest& request, const ListTagsForResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const ;
839916 void ListUsersAsyncHelper (const Model::ListUsersRequest& request, const ListUsersResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const ;
0 commit comments