Skip to content

Commit

Permalink
Releasing the support for simplified configuration and return of control
Browse files Browse the repository at this point in the history
This release adds support for Real-Time Collaboration and Shared Space for JupyterLab App on SageMaker Studio.
Route 53 Profiles allows you to apply a central DNS configuration across many VPCs regardless of account.
This release adds examples to several Cloud Map actions.
Updates description of schedule field for scheduled actions.
Adding support to TR-31/TR-34 exports for optional headers, allowing customers to add additional metadata (such as key version and KSN) when exporting keys from the service.
Adding new API to support remote directory listing using SFTP connector
Releasing the support for simplified configuration and return of control
  • Loading branch information
aws-sdk-cpp-automation committed Apr 22, 2024
1 parent b53b56b commit 8a621d7
Show file tree
Hide file tree
Showing 258 changed files with 23,875 additions and 3,358 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.311
1.11.312
Original file line number Diff line number Diff line change
Expand Up @@ -1301,6 +1301,58 @@ namespace Transfer
return SubmitAsync(&TransferClient::SendWorkflowStepState, request, handler, context);
}

/**
* <p>Retrieves a list of the contents of a directory from a remote SFTP server.
* You specify the connector ID, the output path, and the remote directory path.
* You can also specify the optional <code>MaxItems</code> value to control the
* maximum number of items that are listed from the remote directory. This API
* returns a list of all files and directories in the remote directory (up to the
* maximum value), but does not return files or folders in sub-directories. That
* is, it only returns a list of files and directories one-level deep.</p> <p>After
* you receive the listing file, you can provide the files that you want to
* transfer to the <code>RetrieveFilePaths</code> parameter of the
* <code>StartFileTransfer</code> API call.</p> <p>The naming convention for the
* output file is <code> <i>connector-ID</i>-<i>listing-ID</i>.json</code>. The
* output file contains the following information:</p> <ul> <li> <p>
* <code>filePath</code>: the complete path of a remote file, relative to the
* directory of the listing request for your SFTP connector on the remote
* server.</p> </li> <li> <p> <code>modifiedTimestamp</code>: the last time the
* file was modified, in UTC time format. This field is optional. If the remote
* file attributes don't contain a timestamp, it is omitted from the file
* listing.</p> </li> <li> <p> <code>size</code>: the size of the file, in bytes.
* This field is optional. If the remote file attributes don't contain a file size,
* it is omitted from the file listing.</p> </li> <li> <p> <code>path</code>: the
* complete path of a remote directory, relative to the directory of the listing
* request for your SFTP connector on the remote server.</p> </li> <li> <p>
* <code>truncated</code>: a flag indicating whether the list output contains all
* of the items contained in the remote directory or not. If your
* <code>Truncated</code> output value is true, you can increase the value provided
* in the optional <code>max-items</code> input attribute to be able to list more
* items (up to the maximum allowed list size of 10,000 items).</p> </li>
* </ul><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/StartDirectoryListing">AWS
* API Reference</a></p>
*/
virtual Model::StartDirectoryListingOutcome StartDirectoryListing(const Model::StartDirectoryListingRequest& request) const;

/**
* A Callable wrapper for StartDirectoryListing that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template<typename StartDirectoryListingRequestT = Model::StartDirectoryListingRequest>
Model::StartDirectoryListingOutcomeCallable StartDirectoryListingCallable(const StartDirectoryListingRequestT& request) const
{
return SubmitCallable(&TransferClient::StartDirectoryListing, request);
}

/**
* An Async wrapper for StartDirectoryListing that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template<typename StartDirectoryListingRequestT = Model::StartDirectoryListingRequest>
void StartDirectoryListingAsync(const StartDirectoryListingRequestT& request, const StartDirectoryListingResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
{
return SubmitAsync(&TransferClient::StartDirectoryListing, request, handler, context);
}

/**
* <p>Begins a file transfer between local Amazon Web Services storage and a remote
* AS2 or SFTP server.</p> <ul> <li> <p>For an AS2 connector, you specify the
Expand All @@ -1310,7 +1362,7 @@ namespace Transfer
* <code>ConnectorId</code>. Depending on the direction of the transfer, you also
* specify the following items:</p> <ul> <li> <p>If you are transferring file from
* a partner's SFTP server to Amazon Web Services storage, you specify one or more
* <code>RetreiveFilePaths</code> to identify the files you want to transfer, and a
* <code>RetrieveFilePaths</code> to identify the files you want to transfer, and a
* <code>LocalDirectoryPath</code> to specify the destination folder.</p> </li>
* <li> <p>If you are transferring file to a partner's SFTP server from Amazon Web
* Services storage, you specify one or more <code>SendFilePaths</code> to identify
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
#include <aws/awstransfer/model/ListUsersResult.h>
#include <aws/awstransfer/model/ListWorkflowsResult.h>
#include <aws/awstransfer/model/SendWorkflowStepStateResult.h>
#include <aws/awstransfer/model/StartDirectoryListingResult.h>
#include <aws/awstransfer/model/StartFileTransferResult.h>
#include <aws/awstransfer/model/TestConnectionResult.h>
#include <aws/awstransfer/model/TestIdentityProviderResult.h>
Expand Down Expand Up @@ -148,6 +149,7 @@ namespace Aws
class ListUsersRequest;
class ListWorkflowsRequest;
class SendWorkflowStepStateRequest;
class StartDirectoryListingRequest;
class StartFileTransferRequest;
class StartServerRequest;
class StopServerRequest;
Expand Down Expand Up @@ -210,6 +212,7 @@ namespace Aws
typedef Aws::Utils::Outcome<ListUsersResult, TransferError> ListUsersOutcome;
typedef Aws::Utils::Outcome<ListWorkflowsResult, TransferError> ListWorkflowsOutcome;
typedef Aws::Utils::Outcome<SendWorkflowStepStateResult, TransferError> SendWorkflowStepStateOutcome;
typedef Aws::Utils::Outcome<StartDirectoryListingResult, TransferError> StartDirectoryListingOutcome;
typedef Aws::Utils::Outcome<StartFileTransferResult, TransferError> StartFileTransferOutcome;
typedef Aws::Utils::Outcome<Aws::NoResult, TransferError> StartServerOutcome;
typedef Aws::Utils::Outcome<Aws::NoResult, TransferError> StopServerOutcome;
Expand Down Expand Up @@ -272,6 +275,7 @@ namespace Aws
typedef std::future<ListUsersOutcome> ListUsersOutcomeCallable;
typedef std::future<ListWorkflowsOutcome> ListWorkflowsOutcomeCallable;
typedef std::future<SendWorkflowStepStateOutcome> SendWorkflowStepStateOutcomeCallable;
typedef std::future<StartDirectoryListingOutcome> StartDirectoryListingOutcomeCallable;
typedef std::future<StartFileTransferOutcome> StartFileTransferOutcomeCallable;
typedef std::future<StartServerOutcome> StartServerOutcomeCallable;
typedef std::future<StopServerOutcome> StopServerOutcomeCallable;
Expand Down Expand Up @@ -337,6 +341,7 @@ namespace Aws
typedef std::function<void(const TransferClient*, const Model::ListUsersRequest&, const Model::ListUsersOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListUsersResponseReceivedHandler;
typedef std::function<void(const TransferClient*, const Model::ListWorkflowsRequest&, const Model::ListWorkflowsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListWorkflowsResponseReceivedHandler;
typedef std::function<void(const TransferClient*, const Model::SendWorkflowStepStateRequest&, const Model::SendWorkflowStepStateOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > SendWorkflowStepStateResponseReceivedHandler;
typedef std::function<void(const TransferClient*, const Model::StartDirectoryListingRequest&, const Model::StartDirectoryListingOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > StartDirectoryListingResponseReceivedHandler;
typedef std::function<void(const TransferClient*, const Model::StartFileTransferRequest&, const Model::StartFileTransferOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > StartFileTransferResponseReceivedHandler;
typedef std::function<void(const TransferClient*, const Model::StartServerRequest&, const Model::StartServerOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > StartServerResponseReceivedHandler;
typedef std::function<void(const TransferClient*, const Model::StopServerRequest&, const Model::StopServerOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > StopServerResponseReceivedHandler;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,56 +134,32 @@ namespace Model


/**
* <p>Specifies how this certificate is used. It can be used in the following
* ways:</p> <ul> <li> <p> <code>SIGNING</code>: For signing AS2 messages</p> </li>
* <li> <p> <code>ENCRYPTION</code>: For encrypting AS2 messages</p> </li> <li> <p>
* <code>TLS</code>: For securing AS2 communications sent over HTTPS</p> </li>
* </ul>
* <p>Specifies whether this certificate is used for signing or encryption.</p>
*/
inline const CertificateUsageType& GetUsage() const{ return m_usage; }

/**
* <p>Specifies how this certificate is used. It can be used in the following
* ways:</p> <ul> <li> <p> <code>SIGNING</code>: For signing AS2 messages</p> </li>
* <li> <p> <code>ENCRYPTION</code>: For encrypting AS2 messages</p> </li> <li> <p>
* <code>TLS</code>: For securing AS2 communications sent over HTTPS</p> </li>
* </ul>
* <p>Specifies whether this certificate is used for signing or encryption.</p>
*/
inline bool UsageHasBeenSet() const { return m_usageHasBeenSet; }

/**
* <p>Specifies how this certificate is used. It can be used in the following
* ways:</p> <ul> <li> <p> <code>SIGNING</code>: For signing AS2 messages</p> </li>
* <li> <p> <code>ENCRYPTION</code>: For encrypting AS2 messages</p> </li> <li> <p>
* <code>TLS</code>: For securing AS2 communications sent over HTTPS</p> </li>
* </ul>
* <p>Specifies whether this certificate is used for signing or encryption.</p>
*/
inline void SetUsage(const CertificateUsageType& value) { m_usageHasBeenSet = true; m_usage = value; }

/**
* <p>Specifies how this certificate is used. It can be used in the following
* ways:</p> <ul> <li> <p> <code>SIGNING</code>: For signing AS2 messages</p> </li>
* <li> <p> <code>ENCRYPTION</code>: For encrypting AS2 messages</p> </li> <li> <p>
* <code>TLS</code>: For securing AS2 communications sent over HTTPS</p> </li>
* </ul>
* <p>Specifies whether this certificate is used for signing or encryption.</p>
*/
inline void SetUsage(CertificateUsageType&& value) { m_usageHasBeenSet = true; m_usage = std::move(value); }

/**
* <p>Specifies how this certificate is used. It can be used in the following
* ways:</p> <ul> <li> <p> <code>SIGNING</code>: For signing AS2 messages</p> </li>
* <li> <p> <code>ENCRYPTION</code>: For encrypting AS2 messages</p> </li> <li> <p>
* <code>TLS</code>: For securing AS2 communications sent over HTTPS</p> </li>
* </ul>
* <p>Specifies whether this certificate is used for signing or encryption.</p>
*/
inline DescribedCertificate& WithUsage(const CertificateUsageType& value) { SetUsage(value); return *this;}

/**
* <p>Specifies how this certificate is used. It can be used in the following
* ways:</p> <ul> <li> <p> <code>SIGNING</code>: For signing AS2 messages</p> </li>
* <li> <p> <code>ENCRYPTION</code>: For encrypting AS2 messages</p> </li> <li> <p>
* <code>TLS</code>: For securing AS2 communications sent over HTTPS</p> </li>
* </ul>
* <p>Specifies whether this certificate is used for signing or encryption.</p>
*/
inline DescribedCertificate& WithUsage(CertificateUsageType&& value) { SetUsage(std::move(value)); return *this;}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,56 +39,32 @@ namespace Model


/**
* <p>Specifies how this certificate is used. It can be used in the following
* ways:</p> <ul> <li> <p> <code>SIGNING</code>: For signing AS2 messages</p> </li>
* <li> <p> <code>ENCRYPTION</code>: For encrypting AS2 messages</p> </li> <li> <p>
* <code>TLS</code>: For securing AS2 communications sent over HTTPS</p> </li>
* </ul>
* <p>Specifies whether this certificate is used for signing or encryption.</p>
*/
inline const CertificateUsageType& GetUsage() const{ return m_usage; }

/**
* <p>Specifies how this certificate is used. It can be used in the following
* ways:</p> <ul> <li> <p> <code>SIGNING</code>: For signing AS2 messages</p> </li>
* <li> <p> <code>ENCRYPTION</code>: For encrypting AS2 messages</p> </li> <li> <p>
* <code>TLS</code>: For securing AS2 communications sent over HTTPS</p> </li>
* </ul>
* <p>Specifies whether this certificate is used for signing or encryption.</p>
*/
inline bool UsageHasBeenSet() const { return m_usageHasBeenSet; }

/**
* <p>Specifies how this certificate is used. It can be used in the following
* ways:</p> <ul> <li> <p> <code>SIGNING</code>: For signing AS2 messages</p> </li>
* <li> <p> <code>ENCRYPTION</code>: For encrypting AS2 messages</p> </li> <li> <p>
* <code>TLS</code>: For securing AS2 communications sent over HTTPS</p> </li>
* </ul>
* <p>Specifies whether this certificate is used for signing or encryption.</p>
*/
inline void SetUsage(const CertificateUsageType& value) { m_usageHasBeenSet = true; m_usage = value; }

/**
* <p>Specifies how this certificate is used. It can be used in the following
* ways:</p> <ul> <li> <p> <code>SIGNING</code>: For signing AS2 messages</p> </li>
* <li> <p> <code>ENCRYPTION</code>: For encrypting AS2 messages</p> </li> <li> <p>
* <code>TLS</code>: For securing AS2 communications sent over HTTPS</p> </li>
* </ul>
* <p>Specifies whether this certificate is used for signing or encryption.</p>
*/
inline void SetUsage(CertificateUsageType&& value) { m_usageHasBeenSet = true; m_usage = std::move(value); }

/**
* <p>Specifies how this certificate is used. It can be used in the following
* ways:</p> <ul> <li> <p> <code>SIGNING</code>: For signing AS2 messages</p> </li>
* <li> <p> <code>ENCRYPTION</code>: For encrypting AS2 messages</p> </li> <li> <p>
* <code>TLS</code>: For securing AS2 communications sent over HTTPS</p> </li>
* </ul>
* <p>Specifies whether this certificate is used for signing or encryption.</p>
*/
inline ImportCertificateRequest& WithUsage(const CertificateUsageType& value) { SetUsage(value); return *this;}

/**
* <p>Specifies how this certificate is used. It can be used in the following
* ways:</p> <ul> <li> <p> <code>SIGNING</code>: For signing AS2 messages</p> </li>
* <li> <p> <code>ENCRYPTION</code>: For encrypting AS2 messages</p> </li> <li> <p>
* <code>TLS</code>: For securing AS2 communications sent over HTTPS</p> </li>
* </ul>
* <p>Specifies whether this certificate is used for signing or encryption.</p>
*/
inline ImportCertificateRequest& WithUsage(CertificateUsageType&& value) { SetUsage(std::move(value)); return *this;}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,56 +132,32 @@ namespace Model


/**
* <p>Specifies how this certificate is used. It can be used in the following
* ways:</p> <ul> <li> <p> <code>SIGNING</code>: For signing AS2 messages</p> </li>
* <li> <p> <code>ENCRYPTION</code>: For encrypting AS2 messages</p> </li> <li> <p>
* <code>TLS</code>: For securing AS2 communications sent over HTTPS</p> </li>
* </ul>
* <p>Specifies whether this certificate is used for signing or encryption.</p>
*/
inline const CertificateUsageType& GetUsage() const{ return m_usage; }

/**
* <p>Specifies how this certificate is used. It can be used in the following
* ways:</p> <ul> <li> <p> <code>SIGNING</code>: For signing AS2 messages</p> </li>
* <li> <p> <code>ENCRYPTION</code>: For encrypting AS2 messages</p> </li> <li> <p>
* <code>TLS</code>: For securing AS2 communications sent over HTTPS</p> </li>
* </ul>
* <p>Specifies whether this certificate is used for signing or encryption.</p>
*/
inline bool UsageHasBeenSet() const { return m_usageHasBeenSet; }

/**
* <p>Specifies how this certificate is used. It can be used in the following
* ways:</p> <ul> <li> <p> <code>SIGNING</code>: For signing AS2 messages</p> </li>
* <li> <p> <code>ENCRYPTION</code>: For encrypting AS2 messages</p> </li> <li> <p>
* <code>TLS</code>: For securing AS2 communications sent over HTTPS</p> </li>
* </ul>
* <p>Specifies whether this certificate is used for signing or encryption.</p>
*/
inline void SetUsage(const CertificateUsageType& value) { m_usageHasBeenSet = true; m_usage = value; }

/**
* <p>Specifies how this certificate is used. It can be used in the following
* ways:</p> <ul> <li> <p> <code>SIGNING</code>: For signing AS2 messages</p> </li>
* <li> <p> <code>ENCRYPTION</code>: For encrypting AS2 messages</p> </li> <li> <p>
* <code>TLS</code>: For securing AS2 communications sent over HTTPS</p> </li>
* </ul>
* <p>Specifies whether this certificate is used for signing or encryption.</p>
*/
inline void SetUsage(CertificateUsageType&& value) { m_usageHasBeenSet = true; m_usage = std::move(value); }

/**
* <p>Specifies how this certificate is used. It can be used in the following
* ways:</p> <ul> <li> <p> <code>SIGNING</code>: For signing AS2 messages</p> </li>
* <li> <p> <code>ENCRYPTION</code>: For encrypting AS2 messages</p> </li> <li> <p>
* <code>TLS</code>: For securing AS2 communications sent over HTTPS</p> </li>
* </ul>
* <p>Specifies whether this certificate is used for signing or encryption.</p>
*/
inline ListedCertificate& WithUsage(const CertificateUsageType& value) { SetUsage(value); return *this;}

/**
* <p>Specifies how this certificate is used. It can be used in the following
* ways:</p> <ul> <li> <p> <code>SIGNING</code>: For signing AS2 messages</p> </li>
* <li> <p> <code>ENCRYPTION</code>: For encrypting AS2 messages</p> </li> <li> <p>
* <code>TLS</code>: For securing AS2 communications sent over HTTPS</p> </li>
* </ul>
* <p>Specifies whether this certificate is used for signing or encryption.</p>
*/
inline ListedCertificate& WithUsage(CertificateUsageType&& value) { SetUsage(std::move(value)); return *this;}

Expand Down
Loading

0 comments on commit 8a621d7

Please sign in to comment.