Skip to content

Commit

Permalink
add requestless default APIs for calls that support it
Browse files Browse the repository at this point in the history
  • Loading branch information
sbiscigl committed Jun 21, 2024
1 parent 6007886 commit ff61797
Show file tree
Hide file tree
Showing 675 changed files with 10,053 additions and 7,468 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -360,13 +360,13 @@ namespace MigrationHub
* href="http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListApplicationStates">AWS
* API Reference</a></p>
*/
virtual Model::ListApplicationStatesOutcome ListApplicationStates(const Model::ListApplicationStatesRequest& request) const;
virtual Model::ListApplicationStatesOutcome ListApplicationStates(const Model::ListApplicationStatesRequest& request = {}) const;

/**
* A Callable wrapper for ListApplicationStates that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template<typename ListApplicationStatesRequestT = Model::ListApplicationStatesRequest>
Model::ListApplicationStatesOutcomeCallable ListApplicationStatesCallable(const ListApplicationStatesRequestT& request) const
Model::ListApplicationStatesOutcomeCallable ListApplicationStatesCallable(const ListApplicationStatesRequestT& request = {}) const
{
return SubmitCallable(&MigrationHubClient::ListApplicationStates, request);
}
Expand All @@ -375,7 +375,7 @@ namespace MigrationHub
* An Async wrapper for ListApplicationStates that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template<typename ListApplicationStatesRequestT = Model::ListApplicationStatesRequest>
void ListApplicationStatesAsync(const ListApplicationStatesRequestT& request, const ListApplicationStatesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
void ListApplicationStatesAsync(const ListApplicationStatesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const ListApplicationStatesRequestT& request = {}) const
{
return SubmitAsync(&MigrationHubClient::ListApplicationStates, request, handler, context);
}
Expand Down Expand Up @@ -446,13 +446,13 @@ namespace MigrationHub
* href="http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListMigrationTasks">AWS
* API Reference</a></p>
*/
virtual Model::ListMigrationTasksOutcome ListMigrationTasks(const Model::ListMigrationTasksRequest& request) const;
virtual Model::ListMigrationTasksOutcome ListMigrationTasks(const Model::ListMigrationTasksRequest& request = {}) const;

/**
* A Callable wrapper for ListMigrationTasks that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template<typename ListMigrationTasksRequestT = Model::ListMigrationTasksRequest>
Model::ListMigrationTasksOutcomeCallable ListMigrationTasksCallable(const ListMigrationTasksRequestT& request) const
Model::ListMigrationTasksOutcomeCallable ListMigrationTasksCallable(const ListMigrationTasksRequestT& request = {}) const
{
return SubmitCallable(&MigrationHubClient::ListMigrationTasks, request);
}
Expand All @@ -461,7 +461,7 @@ namespace MigrationHub
* An Async wrapper for ListMigrationTasks that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template<typename ListMigrationTasksRequestT = Model::ListMigrationTasksRequest>
void ListMigrationTasksAsync(const ListMigrationTasksRequestT& request, const ListMigrationTasksResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
void ListMigrationTasksAsync(const ListMigrationTasksResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const ListMigrationTasksRequestT& request = {}) const
{
return SubmitAsync(&MigrationHubClient::ListMigrationTasks, request, handler, context);
}
Expand All @@ -472,13 +472,13 @@ namespace MigrationHub
* href="http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListProgressUpdateStreams">AWS
* API Reference</a></p>
*/
virtual Model::ListProgressUpdateStreamsOutcome ListProgressUpdateStreams(const Model::ListProgressUpdateStreamsRequest& request) const;
virtual Model::ListProgressUpdateStreamsOutcome ListProgressUpdateStreams(const Model::ListProgressUpdateStreamsRequest& request = {}) const;

/**
* A Callable wrapper for ListProgressUpdateStreams that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template<typename ListProgressUpdateStreamsRequestT = Model::ListProgressUpdateStreamsRequest>
Model::ListProgressUpdateStreamsOutcomeCallable ListProgressUpdateStreamsCallable(const ListProgressUpdateStreamsRequestT& request) const
Model::ListProgressUpdateStreamsOutcomeCallable ListProgressUpdateStreamsCallable(const ListProgressUpdateStreamsRequestT& request = {}) const
{
return SubmitCallable(&MigrationHubClient::ListProgressUpdateStreams, request);
}
Expand All @@ -487,7 +487,7 @@ namespace MigrationHub
* An Async wrapper for ListProgressUpdateStreams that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template<typename ListProgressUpdateStreamsRequestT = Model::ListProgressUpdateStreamsRequest>
void ListProgressUpdateStreamsAsync(const ListProgressUpdateStreamsRequestT& request, const ListProgressUpdateStreamsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
void ListProgressUpdateStreamsAsync(const ListProgressUpdateStreamsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const ListProgressUpdateStreamsRequestT& request = {}) const
{
return SubmitAsync(&MigrationHubClient::ListProgressUpdateStreams, request, handler, context);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@
#include <aws/AWSMigrationHub/model/NotifyApplicationStateResult.h>
#include <aws/AWSMigrationHub/model/NotifyMigrationTaskStateResult.h>
#include <aws/AWSMigrationHub/model/PutResourceAttributesResult.h>
#include <aws/AWSMigrationHub/model/ListMigrationTasksRequest.h>
#include <aws/AWSMigrationHub/model/ListApplicationStatesRequest.h>
#include <aws/AWSMigrationHub/model/ListProgressUpdateStreamsRequest.h>
/* End of service model headers required in MigrationHubClient header */

namespace Aws
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -698,13 +698,13 @@ namespace AccessAnalyzer
* href="http://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/ListAnalyzers">AWS
* API Reference</a></p>
*/
virtual Model::ListAnalyzersOutcome ListAnalyzers(const Model::ListAnalyzersRequest& request) const;
virtual Model::ListAnalyzersOutcome ListAnalyzers(const Model::ListAnalyzersRequest& request = {}) const;

/**
* A Callable wrapper for ListAnalyzers that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template<typename ListAnalyzersRequestT = Model::ListAnalyzersRequest>
Model::ListAnalyzersOutcomeCallable ListAnalyzersCallable(const ListAnalyzersRequestT& request) const
Model::ListAnalyzersOutcomeCallable ListAnalyzersCallable(const ListAnalyzersRequestT& request = {}) const
{
return SubmitCallable(&AccessAnalyzerClient::ListAnalyzers, request);
}
Expand All @@ -713,7 +713,7 @@ namespace AccessAnalyzer
* An Async wrapper for ListAnalyzers that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template<typename ListAnalyzersRequestT = Model::ListAnalyzersRequest>
void ListAnalyzersAsync(const ListAnalyzersRequestT& request, const ListAnalyzersResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
void ListAnalyzersAsync(const ListAnalyzersResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const ListAnalyzersRequestT& request = {}) const
{
return SubmitAsync(&AccessAnalyzerClient::ListAnalyzers, request, handler, context);
}
Expand Down Expand Up @@ -816,13 +816,13 @@ namespace AccessAnalyzer
* href="http://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/ListPolicyGenerations">AWS
* API Reference</a></p>
*/
virtual Model::ListPolicyGenerationsOutcome ListPolicyGenerations(const Model::ListPolicyGenerationsRequest& request) const;
virtual Model::ListPolicyGenerationsOutcome ListPolicyGenerations(const Model::ListPolicyGenerationsRequest& request = {}) const;

/**
* A Callable wrapper for ListPolicyGenerations that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template<typename ListPolicyGenerationsRequestT = Model::ListPolicyGenerationsRequest>
Model::ListPolicyGenerationsOutcomeCallable ListPolicyGenerationsCallable(const ListPolicyGenerationsRequestT& request) const
Model::ListPolicyGenerationsOutcomeCallable ListPolicyGenerationsCallable(const ListPolicyGenerationsRequestT& request = {}) const
{
return SubmitCallable(&AccessAnalyzerClient::ListPolicyGenerations, request);
}
Expand All @@ -831,7 +831,7 @@ namespace AccessAnalyzer
* An Async wrapper for ListPolicyGenerations that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template<typename ListPolicyGenerationsRequestT = Model::ListPolicyGenerationsRequest>
void ListPolicyGenerationsAsync(const ListPolicyGenerationsRequestT& request, const ListPolicyGenerationsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
void ListPolicyGenerationsAsync(const ListPolicyGenerationsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const ListPolicyGenerationsRequestT& request = {}) const
{
return SubmitAsync(&AccessAnalyzerClient::ListPolicyGenerations, request, handler, context);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@
#include <aws/accessanalyzer/model/TagResourceResult.h>
#include <aws/accessanalyzer/model/UntagResourceResult.h>
#include <aws/accessanalyzer/model/ValidatePolicyResult.h>
#include <aws/accessanalyzer/model/ListAnalyzersRequest.h>
#include <aws/accessanalyzer/model/ListPolicyGenerationsRequest.h>
#include <aws/core/NoResult.h>
/* End of service model headers required in AccessAnalyzerClient header */

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -235,13 +235,13 @@ namespace Account
* href="http://docs.aws.amazon.com/goto/WebAPI/account-2021-02-01/GetContactInformation">AWS
* API Reference</a></p>
*/
virtual Model::GetContactInformationOutcome GetContactInformation(const Model::GetContactInformationRequest& request) const;
virtual Model::GetContactInformationOutcome GetContactInformation(const Model::GetContactInformationRequest& request = {}) const;

/**
* A Callable wrapper for GetContactInformation that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template<typename GetContactInformationRequestT = Model::GetContactInformationRequest>
Model::GetContactInformationOutcomeCallable GetContactInformationCallable(const GetContactInformationRequestT& request) const
Model::GetContactInformationOutcomeCallable GetContactInformationCallable(const GetContactInformationRequestT& request = {}) const
{
return SubmitCallable(&AccountClient::GetContactInformation, request);
}
Expand All @@ -250,7 +250,7 @@ namespace Account
* An Async wrapper for GetContactInformation that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template<typename GetContactInformationRequestT = Model::GetContactInformationRequest>
void GetContactInformationAsync(const GetContactInformationRequestT& request, const GetContactInformationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
void GetContactInformationAsync(const GetContactInformationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const GetContactInformationRequestT& request = {}) const
{
return SubmitAsync(&AccountClient::GetContactInformation, request, handler, context);
}
Expand Down Expand Up @@ -315,13 +315,13 @@ namespace Account
* href="http://docs.aws.amazon.com/goto/WebAPI/account-2021-02-01/ListRegions">AWS
* API Reference</a></p>
*/
virtual Model::ListRegionsOutcome ListRegions(const Model::ListRegionsRequest& request) const;
virtual Model::ListRegionsOutcome ListRegions(const Model::ListRegionsRequest& request = {}) const;

/**
* A Callable wrapper for ListRegions that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template<typename ListRegionsRequestT = Model::ListRegionsRequest>
Model::ListRegionsOutcomeCallable ListRegionsCallable(const ListRegionsRequestT& request) const
Model::ListRegionsOutcomeCallable ListRegionsCallable(const ListRegionsRequestT& request = {}) const
{
return SubmitCallable(&AccountClient::ListRegions, request);
}
Expand All @@ -330,7 +330,7 @@ namespace Account
* An Async wrapper for ListRegions that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template<typename ListRegionsRequestT = Model::ListRegionsRequest>
void ListRegionsAsync(const ListRegionsRequestT& request, const ListRegionsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
void ListRegionsAsync(const ListRegionsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const ListRegionsRequestT& request = {}) const
{
return SubmitAsync(&AccountClient::ListRegions, request, handler, context);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
#include <aws/account/model/GetRegionOptStatusResult.h>
#include <aws/account/model/ListRegionsResult.h>
#include <aws/account/model/StartPrimaryEmailUpdateResult.h>
#include <aws/account/model/GetContactInformationRequest.h>
#include <aws/account/model/ListRegionsRequest.h>
#include <aws/core/NoResult.h>
/* End of service model headers required in AccountClient header */

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -708,13 +708,13 @@ namespace ACMPCA
* href="http://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/ListCertificateAuthorities">AWS
* API Reference</a></p>
*/
virtual Model::ListCertificateAuthoritiesOutcome ListCertificateAuthorities(const Model::ListCertificateAuthoritiesRequest& request) const;
virtual Model::ListCertificateAuthoritiesOutcome ListCertificateAuthorities(const Model::ListCertificateAuthoritiesRequest& request = {}) const;

/**
* A Callable wrapper for ListCertificateAuthorities that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template<typename ListCertificateAuthoritiesRequestT = Model::ListCertificateAuthoritiesRequest>
Model::ListCertificateAuthoritiesOutcomeCallable ListCertificateAuthoritiesCallable(const ListCertificateAuthoritiesRequestT& request) const
Model::ListCertificateAuthoritiesOutcomeCallable ListCertificateAuthoritiesCallable(const ListCertificateAuthoritiesRequestT& request = {}) const
{
return SubmitCallable(&ACMPCAClient::ListCertificateAuthorities, request);
}
Expand All @@ -723,7 +723,7 @@ namespace ACMPCA
* An Async wrapper for ListCertificateAuthorities that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template<typename ListCertificateAuthoritiesRequestT = Model::ListCertificateAuthoritiesRequest>
void ListCertificateAuthoritiesAsync(const ListCertificateAuthoritiesRequestT& request, const ListCertificateAuthoritiesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
void ListCertificateAuthoritiesAsync(const ListCertificateAuthoritiesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const ListCertificateAuthoritiesRequestT& request = {}) const
{
return SubmitAsync(&ACMPCAClient::ListCertificateAuthorities, request, handler, context);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#include <aws/acm-pca/model/ListCertificateAuthoritiesResult.h>
#include <aws/acm-pca/model/ListPermissionsResult.h>
#include <aws/acm-pca/model/ListTagsResult.h>
#include <aws/acm-pca/model/ListCertificateAuthoritiesRequest.h>
#include <aws/core/NoResult.h>
/* End of service model headers required in ACMPCAClient header */

Expand Down
7 changes: 3 additions & 4 deletions generated/src/aws-cpp-sdk-acm/include/aws/acm/ACMClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include <aws/core/client/AWSClientAsyncCRTP.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <aws/acm/ACMServiceClientModel.h>
#include <aws/acm/model/GetAccountConfigurationRequest.h>

namespace Aws
{
Expand Down Expand Up @@ -348,13 +347,13 @@ namespace ACM
* href="http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListCertificates">AWS
* API Reference</a></p>
*/
virtual Model::ListCertificatesOutcome ListCertificates(const Model::ListCertificatesRequest& request) const;
virtual Model::ListCertificatesOutcome ListCertificates(const Model::ListCertificatesRequest& request = {}) const;

/**
* A Callable wrapper for ListCertificates that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template<typename ListCertificatesRequestT = Model::ListCertificatesRequest>
Model::ListCertificatesOutcomeCallable ListCertificatesCallable(const ListCertificatesRequestT& request) const
Model::ListCertificatesOutcomeCallable ListCertificatesCallable(const ListCertificatesRequestT& request = {}) const
{
return SubmitCallable(&ACMClient::ListCertificates, request);
}
Expand All @@ -363,7 +362,7 @@ namespace ACM
* An Async wrapper for ListCertificates that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template<typename ListCertificatesRequestT = Model::ListCertificatesRequest>
void ListCertificatesAsync(const ListCertificatesRequestT& request, const ListCertificatesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
void ListCertificatesAsync(const ListCertificatesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const ListCertificatesRequestT& request = {}) const
{
return SubmitAsync(&ACMClient::ListCertificates, request, handler, context);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
#include <aws/acm/model/ListCertificatesResult.h>
#include <aws/acm/model/ListTagsForCertificateResult.h>
#include <aws/acm/model/RequestCertificateResult.h>
#include <aws/acm/model/GetAccountConfigurationRequest.h>
#include <aws/acm/model/ListCertificatesRequest.h>
#include <aws/core/NoResult.h>
/* End of service model headers required in ACMClient header */

Expand Down
Loading

0 comments on commit ff61797

Please sign in to comment.