/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include
#include
#include
#include
#include
#include
namespace Aws
{
namespace Outposts
{
/**
* Amazon Web Services Outposts is a fully managed service that extends Amazon
* Web Services infrastructure, APIs, and tools to customer premises. By providing
* local access to Amazon Web Services managed infrastructure, Amazon Web Services
* Outposts enables customers to build and run applications on premises using the
* same programming interfaces as in Amazon Web Services Regions, while using local
* compute and storage resources for lower latency and local data processing
* needs.
*/
class AWS_OUTPOSTS_API OutpostsClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods
{
public:
typedef Aws::Client::AWSJsonClient BASECLASS;
static const char* SERVICE_NAME;
static const char* ALLOCATION_TAG;
typedef OutpostsClientConfiguration ClientConfigurationType;
typedef OutpostsEndpointProvider EndpointProviderType;
/**
* Initializes client to use DefaultCredentialProviderChain, with default http client factory, and optional client config. If client config
* is not specified, it will be initialized to default values.
*/
OutpostsClient(const Aws::Outposts::OutpostsClientConfiguration& clientConfiguration = Aws::Outposts::OutpostsClientConfiguration(),
std::shared_ptr endpointProvider = Aws::MakeShared(ALLOCATION_TAG));
/**
* Initializes client to use SimpleAWSCredentialsProvider, with default http client factory, and optional client config. If client config
* is not specified, it will be initialized to default values.
*/
OutpostsClient(const Aws::Auth::AWSCredentials& credentials,
std::shared_ptr endpointProvider = Aws::MakeShared(ALLOCATION_TAG),
const Aws::Outposts::OutpostsClientConfiguration& clientConfiguration = Aws::Outposts::OutpostsClientConfiguration());
/**
* Initializes client to use specified credentials provider with specified client config. If http client factory is not supplied,
* the default http client factory will be used
*/
OutpostsClient(const std::shared_ptr& credentialsProvider,
std::shared_ptr endpointProvider = Aws::MakeShared(ALLOCATION_TAG),
const Aws::Outposts::OutpostsClientConfiguration& clientConfiguration = Aws::Outposts::OutpostsClientConfiguration());
/* Legacy constructors due deprecation */
/**
* Initializes client to use DefaultCredentialProviderChain, with default http client factory, and optional client config. If client config
* is not specified, it will be initialized to default values.
*/
OutpostsClient(const Aws::Client::ClientConfiguration& clientConfiguration);
/**
* Initializes client to use SimpleAWSCredentialsProvider, with default http client factory, and optional client config. If client config
* is not specified, it will be initialized to default values.
*/
OutpostsClient(const Aws::Auth::AWSCredentials& credentials,
const Aws::Client::ClientConfiguration& clientConfiguration);
/**
* Initializes client to use specified credentials provider with specified client config. If http client factory is not supplied,
* the default http client factory will be used
*/
OutpostsClient(const std::shared_ptr& credentialsProvider,
const Aws::Client::ClientConfiguration& clientConfiguration);
/* End of legacy constructors due deprecation */
virtual ~OutpostsClient();
/**
* Cancels the specified order for an Outpost.
See Also:
AWS
* API Reference
*/
virtual Model::CancelOrderOutcome CancelOrder(const Model::CancelOrderRequest& request) const;
/**
* A Callable wrapper for CancelOrder that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::CancelOrderOutcomeCallable CancelOrderCallable(const CancelOrderRequestT& request) const
{
return SubmitCallable(&OutpostsClient::CancelOrder, request);
}
/**
* An Async wrapper for CancelOrder that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void CancelOrderAsync(const CancelOrderRequestT& request, const CancelOrderResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OutpostsClient::CancelOrder, request, handler, context);
}
/**
* Creates an order for an Outpost.
See Also:
AWS
* API Reference
*/
virtual Model::CreateOrderOutcome CreateOrder(const Model::CreateOrderRequest& request) const;
/**
* A Callable wrapper for CreateOrder that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::CreateOrderOutcomeCallable CreateOrderCallable(const CreateOrderRequestT& request) const
{
return SubmitCallable(&OutpostsClient::CreateOrder, request);
}
/**
* An Async wrapper for CreateOrder that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void CreateOrderAsync(const CreateOrderRequestT& request, const CreateOrderResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OutpostsClient::CreateOrder, request, handler, context);
}
/**
* Creates an Outpost.
You can specify either an Availability one or an
* AZ ID.
See Also:
AWS
* API Reference
*/
virtual Model::CreateOutpostOutcome CreateOutpost(const Model::CreateOutpostRequest& request) const;
/**
* A Callable wrapper for CreateOutpost that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::CreateOutpostOutcomeCallable CreateOutpostCallable(const CreateOutpostRequestT& request) const
{
return SubmitCallable(&OutpostsClient::CreateOutpost, request);
}
/**
* An Async wrapper for CreateOutpost that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void CreateOutpostAsync(const CreateOutpostRequestT& request, const CreateOutpostResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OutpostsClient::CreateOutpost, request, handler, context);
}
/**
* Creates a site for an Outpost.
See Also:
AWS
* API Reference
*/
virtual Model::CreateSiteOutcome CreateSite(const Model::CreateSiteRequest& request) const;
/**
* A Callable wrapper for CreateSite that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::CreateSiteOutcomeCallable CreateSiteCallable(const CreateSiteRequestT& request) const
{
return SubmitCallable(&OutpostsClient::CreateSite, request);
}
/**
* An Async wrapper for CreateSite that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void CreateSiteAsync(const CreateSiteRequestT& request, const CreateSiteResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OutpostsClient::CreateSite, request, handler, context);
}
/**
* Deletes the specified Outpost.
See Also:
AWS
* API Reference
*/
virtual Model::DeleteOutpostOutcome DeleteOutpost(const Model::DeleteOutpostRequest& request) const;
/**
* A Callable wrapper for DeleteOutpost that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DeleteOutpostOutcomeCallable DeleteOutpostCallable(const DeleteOutpostRequestT& request) const
{
return SubmitCallable(&OutpostsClient::DeleteOutpost, request);
}
/**
* An Async wrapper for DeleteOutpost that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DeleteOutpostAsync(const DeleteOutpostRequestT& request, const DeleteOutpostResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OutpostsClient::DeleteOutpost, request, handler, context);
}
/**
* Deletes the specified site.
See Also:
AWS
* API Reference
*/
virtual Model::DeleteSiteOutcome DeleteSite(const Model::DeleteSiteRequest& request) const;
/**
* A Callable wrapper for DeleteSite that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DeleteSiteOutcomeCallable DeleteSiteCallable(const DeleteSiteRequestT& request) const
{
return SubmitCallable(&OutpostsClient::DeleteSite, request);
}
/**
* An Async wrapper for DeleteSite that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DeleteSiteAsync(const DeleteSiteRequestT& request, const DeleteSiteResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OutpostsClient::DeleteSite, request, handler, context);
}
/**
* Gets information about the specified catalog item.
See Also:
* AWS
* API Reference
*/
virtual Model::GetCatalogItemOutcome GetCatalogItem(const Model::GetCatalogItemRequest& request) const;
/**
* A Callable wrapper for GetCatalogItem that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetCatalogItemOutcomeCallable GetCatalogItemCallable(const GetCatalogItemRequestT& request) const
{
return SubmitCallable(&OutpostsClient::GetCatalogItem, request);
}
/**
* An Async wrapper for GetCatalogItem that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetCatalogItemAsync(const GetCatalogItemRequestT& request, const GetCatalogItemResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OutpostsClient::GetCatalogItem, request, handler, context);
}
/**
* Amazon Web Services uses this action to install Outpost servers.
* Gets information about the specified connection.
Use
* CloudTrail to monitor this action or Amazon Web Services managed policy for
* Amazon Web Services Outposts to secure it. For more information, see
* Amazon Web Services managed policies for Amazon Web Services Outposts and
* Logging Amazon Web Services Outposts API calls with Amazon Web Services
* CloudTrail in the Amazon Web Services Outposts User Guide.
*
See Also:
AWS
* API Reference
*/
virtual Model::GetConnectionOutcome GetConnection(const Model::GetConnectionRequest& request) const;
/**
* A Callable wrapper for GetConnection that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetConnectionOutcomeCallable GetConnectionCallable(const GetConnectionRequestT& request) const
{
return SubmitCallable(&OutpostsClient::GetConnection, request);
}
/**
* An Async wrapper for GetConnection that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetConnectionAsync(const GetConnectionRequestT& request, const GetConnectionResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OutpostsClient::GetConnection, request, handler, context);
}
/**
* Gets information about the specified order.
See Also:
AWS
* API Reference
*/
virtual Model::GetOrderOutcome GetOrder(const Model::GetOrderRequest& request) const;
/**
* A Callable wrapper for GetOrder that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetOrderOutcomeCallable GetOrderCallable(const GetOrderRequestT& request) const
{
return SubmitCallable(&OutpostsClient::GetOrder, request);
}
/**
* An Async wrapper for GetOrder that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetOrderAsync(const GetOrderRequestT& request, const GetOrderResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OutpostsClient::GetOrder, request, handler, context);
}
/**
* Gets information about the specified Outpost.
See Also:
AWS
* API Reference
*/
virtual Model::GetOutpostOutcome GetOutpost(const Model::GetOutpostRequest& request) const;
/**
* A Callable wrapper for GetOutpost that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetOutpostOutcomeCallable GetOutpostCallable(const GetOutpostRequestT& request) const
{
return SubmitCallable(&OutpostsClient::GetOutpost, request);
}
/**
* An Async wrapper for GetOutpost that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetOutpostAsync(const GetOutpostRequestT& request, const GetOutpostResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OutpostsClient::GetOutpost, request, handler, context);
}
/**
* Gets the instance types for the specified Outpost.
See Also:
* AWS
* API Reference
*/
virtual Model::GetOutpostInstanceTypesOutcome GetOutpostInstanceTypes(const Model::GetOutpostInstanceTypesRequest& request) const;
/**
* A Callable wrapper for GetOutpostInstanceTypes that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetOutpostInstanceTypesOutcomeCallable GetOutpostInstanceTypesCallable(const GetOutpostInstanceTypesRequestT& request) const
{
return SubmitCallable(&OutpostsClient::GetOutpostInstanceTypes, request);
}
/**
* An Async wrapper for GetOutpostInstanceTypes that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetOutpostInstanceTypesAsync(const GetOutpostInstanceTypesRequestT& request, const GetOutpostInstanceTypesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OutpostsClient::GetOutpostInstanceTypes, request, handler, context);
}
/**
* Gets information about the specified Outpost site.
See Also:
* AWS
* API Reference
*/
virtual Model::GetSiteOutcome GetSite(const Model::GetSiteRequest& request) const;
/**
* A Callable wrapper for GetSite that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetSiteOutcomeCallable GetSiteCallable(const GetSiteRequestT& request) const
{
return SubmitCallable(&OutpostsClient::GetSite, request);
}
/**
* An Async wrapper for GetSite that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetSiteAsync(const GetSiteRequestT& request, const GetSiteResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OutpostsClient::GetSite, request, handler, context);
}
/**
* Gets the site address of the specified site.
See Also:
AWS
* API Reference
*/
virtual Model::GetSiteAddressOutcome GetSiteAddress(const Model::GetSiteAddressRequest& request) const;
/**
* A Callable wrapper for GetSiteAddress that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetSiteAddressOutcomeCallable GetSiteAddressCallable(const GetSiteAddressRequestT& request) const
{
return SubmitCallable(&OutpostsClient::GetSiteAddress, request);
}
/**
* An Async wrapper for GetSiteAddress that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetSiteAddressAsync(const GetSiteAddressRequestT& request, const GetSiteAddressResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OutpostsClient::GetSiteAddress, request, handler, context);
}
/**
* Lists the hardware assets for the specified Outpost.
Use filters to
* return specific results. If you specify multiple filters, the results include
* only the resources that match all of the specified filters. For a filter where
* you can specify multiple values, the results include items that match any of the
* values that you specify for the filter.
See Also:
AWS
* API Reference
*/
virtual Model::ListAssetsOutcome ListAssets(const Model::ListAssetsRequest& request) const;
/**
* A Callable wrapper for ListAssets that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListAssetsOutcomeCallable ListAssetsCallable(const ListAssetsRequestT& request) const
{
return SubmitCallable(&OutpostsClient::ListAssets, request);
}
/**
* An Async wrapper for ListAssets that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListAssetsAsync(const ListAssetsRequestT& request, const ListAssetsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OutpostsClient::ListAssets, request, handler, context);
}
/**
* Lists the items in the catalog.
Use filters to return specific
* results. If you specify multiple filters, the results include only the resources
* that match all of the specified filters. For a filter where you can specify
* multiple values, the results include items that match any of the values that you
* specify for the filter.
See Also:
AWS
* API Reference
*/
virtual Model::ListCatalogItemsOutcome ListCatalogItems(const Model::ListCatalogItemsRequest& request) const;
/**
* A Callable wrapper for ListCatalogItems that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListCatalogItemsOutcomeCallable ListCatalogItemsCallable(const ListCatalogItemsRequestT& request) const
{
return SubmitCallable(&OutpostsClient::ListCatalogItems, request);
}
/**
* An Async wrapper for ListCatalogItems that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListCatalogItemsAsync(const ListCatalogItemsRequestT& request, const ListCatalogItemsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OutpostsClient::ListCatalogItems, request, handler, context);
}
/**
* Lists the Outpost orders for your Amazon Web Services account.
See
* Also:
AWS
* API Reference
*/
virtual Model::ListOrdersOutcome ListOrders(const Model::ListOrdersRequest& request) const;
/**
* A Callable wrapper for ListOrders that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListOrdersOutcomeCallable ListOrdersCallable(const ListOrdersRequestT& request) const
{
return SubmitCallable(&OutpostsClient::ListOrders, request);
}
/**
* An Async wrapper for ListOrders that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListOrdersAsync(const ListOrdersRequestT& request, const ListOrdersResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OutpostsClient::ListOrders, request, handler, context);
}
/**
* Lists the Outposts for your Amazon Web Services account.
Use filters
* to return specific results. If you specify multiple filters, the results include
* only the resources that match all of the specified filters. For a filter where
* you can specify multiple values, the results include items that match any of the
* values that you specify for the filter.
See Also:
AWS
* API Reference
*/
virtual Model::ListOutpostsOutcome ListOutposts(const Model::ListOutpostsRequest& request) const;
/**
* A Callable wrapper for ListOutposts that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListOutpostsOutcomeCallable ListOutpostsCallable(const ListOutpostsRequestT& request) const
{
return SubmitCallable(&OutpostsClient::ListOutposts, request);
}
/**
* An Async wrapper for ListOutposts that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListOutpostsAsync(const ListOutpostsRequestT& request, const ListOutpostsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OutpostsClient::ListOutposts, request, handler, context);
}
/**
* Lists the Outpost sites for your Amazon Web Services account. Use filters to
* return specific results.
Use filters to return specific results. If you
* specify multiple filters, the results include only the resources that match all
* of the specified filters. For a filter where you can specify multiple values,
* the results include items that match any of the values that you specify for the
* filter.
See Also:
AWS
* API Reference
*/
virtual Model::ListSitesOutcome ListSites(const Model::ListSitesRequest& request) const;
/**
* A Callable wrapper for ListSites that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListSitesOutcomeCallable ListSitesCallable(const ListSitesRequestT& request) const
{
return SubmitCallable(&OutpostsClient::ListSites, request);
}
/**
* An Async wrapper for ListSites that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListSitesAsync(const ListSitesRequestT& request, const ListSitesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OutpostsClient::ListSites, request, handler, context);
}
/**
* Lists the tags for the specified resource.
See Also:
AWS
* API Reference
*/
virtual Model::ListTagsForResourceOutcome ListTagsForResource(const Model::ListTagsForResourceRequest& request) const;
/**
* A Callable wrapper for ListTagsForResource that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListTagsForResourceOutcomeCallable ListTagsForResourceCallable(const ListTagsForResourceRequestT& request) const
{
return SubmitCallable(&OutpostsClient::ListTagsForResource, request);
}
/**
* An Async wrapper for ListTagsForResource that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListTagsForResourceAsync(const ListTagsForResourceRequestT& request, const ListTagsForResourceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OutpostsClient::ListTagsForResource, request, handler, context);
}
/**
* Amazon Web Services uses this action to install Outpost servers.
* Starts the connection required for Outpost server installation.
* Use CloudTrail to monitor this action or Amazon Web Services managed policy
* for Amazon Web Services Outposts to secure it. For more information, see
* Amazon Web Services managed policies for Amazon Web Services Outposts and
* Logging Amazon Web Services Outposts API calls with Amazon Web Services
* CloudTrail in the Amazon Web Services Outposts User Guide.
*
See Also:
AWS
* API Reference
*/
virtual Model::StartConnectionOutcome StartConnection(const Model::StartConnectionRequest& request) const;
/**
* A Callable wrapper for StartConnection that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::StartConnectionOutcomeCallable StartConnectionCallable(const StartConnectionRequestT& request) const
{
return SubmitCallable(&OutpostsClient::StartConnection, request);
}
/**
* An Async wrapper for StartConnection that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void StartConnectionAsync(const StartConnectionRequestT& request, const StartConnectionResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OutpostsClient::StartConnection, request, handler, context);
}
/**
* Adds tags to the specified resource.
See Also:
AWS
* API Reference
*/
virtual Model::TagResourceOutcome TagResource(const Model::TagResourceRequest& request) const;
/**
* A Callable wrapper for TagResource that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::TagResourceOutcomeCallable TagResourceCallable(const TagResourceRequestT& request) const
{
return SubmitCallable(&OutpostsClient::TagResource, request);
}
/**
* An Async wrapper for TagResource that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void TagResourceAsync(const TagResourceRequestT& request, const TagResourceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OutpostsClient::TagResource, request, handler, context);
}
/**
* Removes tags from the specified resource.
See Also:
AWS
* API Reference
*/
virtual Model::UntagResourceOutcome UntagResource(const Model::UntagResourceRequest& request) const;
/**
* A Callable wrapper for UntagResource that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::UntagResourceOutcomeCallable UntagResourceCallable(const UntagResourceRequestT& request) const
{
return SubmitCallable(&OutpostsClient::UntagResource, request);
}
/**
* An Async wrapper for UntagResource that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void UntagResourceAsync(const UntagResourceRequestT& request, const UntagResourceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OutpostsClient::UntagResource, request, handler, context);
}
/**
* Updates an Outpost.
See Also:
AWS
* API Reference
*/
virtual Model::UpdateOutpostOutcome UpdateOutpost(const Model::UpdateOutpostRequest& request) const;
/**
* A Callable wrapper for UpdateOutpost that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::UpdateOutpostOutcomeCallable UpdateOutpostCallable(const UpdateOutpostRequestT& request) const
{
return SubmitCallable(&OutpostsClient::UpdateOutpost, request);
}
/**
* An Async wrapper for UpdateOutpost that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void UpdateOutpostAsync(const UpdateOutpostRequestT& request, const UpdateOutpostResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OutpostsClient::UpdateOutpost, request, handler, context);
}
/**
* Updates the specified site.
See Also:
AWS
* API Reference
*/
virtual Model::UpdateSiteOutcome UpdateSite(const Model::UpdateSiteRequest& request) const;
/**
* A Callable wrapper for UpdateSite that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::UpdateSiteOutcomeCallable UpdateSiteCallable(const UpdateSiteRequestT& request) const
{
return SubmitCallable(&OutpostsClient::UpdateSite, request);
}
/**
* An Async wrapper for UpdateSite that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void UpdateSiteAsync(const UpdateSiteRequestT& request, const UpdateSiteResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OutpostsClient::UpdateSite, request, handler, context);
}
/**
* Updates the address of the specified site.
You can't update a site
* address if there is an order in progress. You must wait for the order to
* complete or cancel the order.
You can update the operating address before
* you place an order at the site, or after all Outposts that belong to the site
* have been deactivated.
See Also:
AWS
* API Reference
*/
virtual Model::UpdateSiteAddressOutcome UpdateSiteAddress(const Model::UpdateSiteAddressRequest& request) const;
/**
* A Callable wrapper for UpdateSiteAddress that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::UpdateSiteAddressOutcomeCallable UpdateSiteAddressCallable(const UpdateSiteAddressRequestT& request) const
{
return SubmitCallable(&OutpostsClient::UpdateSiteAddress, request);
}
/**
* An Async wrapper for UpdateSiteAddress that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void UpdateSiteAddressAsync(const UpdateSiteAddressRequestT& request, const UpdateSiteAddressResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OutpostsClient::UpdateSiteAddress, request, handler, context);
}
/**
* Update the physical and logistical details for a rack at a site. For more
* information about hardware requirements for racks, see Network
* readiness checklist in the Amazon Web Services Outposts User Guide.
* To update a rack at a site with an order of IN_PROGRESS
, you
* must wait for the order to complete or cancel the order.
See
* Also:
AWS
* API Reference
*/
virtual Model::UpdateSiteRackPhysicalPropertiesOutcome UpdateSiteRackPhysicalProperties(const Model::UpdateSiteRackPhysicalPropertiesRequest& request) const;
/**
* A Callable wrapper for UpdateSiteRackPhysicalProperties that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::UpdateSiteRackPhysicalPropertiesOutcomeCallable UpdateSiteRackPhysicalPropertiesCallable(const UpdateSiteRackPhysicalPropertiesRequestT& request) const
{
return SubmitCallable(&OutpostsClient::UpdateSiteRackPhysicalProperties, request);
}
/**
* An Async wrapper for UpdateSiteRackPhysicalProperties that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void UpdateSiteRackPhysicalPropertiesAsync(const UpdateSiteRackPhysicalPropertiesRequestT& request, const UpdateSiteRackPhysicalPropertiesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OutpostsClient::UpdateSiteRackPhysicalProperties, request, handler, context);
}
void OverrideEndpoint(const Aws::String& endpoint);
std::shared_ptr& accessEndpointProvider();
private:
friend class Aws::Client::ClientWithAsyncTemplateMethods;
void init(const OutpostsClientConfiguration& clientConfiguration);
OutpostsClientConfiguration m_clientConfiguration;
std::shared_ptr m_executor;
std::shared_ptr m_endpointProvider;
};
} // namespace Outposts
} // namespace Aws