/**
* 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 PrivateNetworks
{
/**
* Amazon Web Services Private 5G is a managed service that makes it easy to
* deploy, operate, and scale your own private mobile network at your on-premises
* location. Private 5G provides the pre-configured hardware and software for
* mobile networks, helps automate setup, and scales capacity on demand to support
* additional devices as needed.
*/
class AWS_PRIVATENETWORKS_API PrivateNetworksClient : 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 PrivateNetworksClientConfiguration ClientConfigurationType;
typedef PrivateNetworksEndpointProvider 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.
*/
PrivateNetworksClient(const Aws::PrivateNetworks::PrivateNetworksClientConfiguration& clientConfiguration = Aws::PrivateNetworks::PrivateNetworksClientConfiguration(),
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.
*/
PrivateNetworksClient(const Aws::Auth::AWSCredentials& credentials,
std::shared_ptr endpointProvider = Aws::MakeShared(ALLOCATION_TAG),
const Aws::PrivateNetworks::PrivateNetworksClientConfiguration& clientConfiguration = Aws::PrivateNetworks::PrivateNetworksClientConfiguration());
/**
* 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
*/
PrivateNetworksClient(const std::shared_ptr& credentialsProvider,
std::shared_ptr endpointProvider = Aws::MakeShared(ALLOCATION_TAG),
const Aws::PrivateNetworks::PrivateNetworksClientConfiguration& clientConfiguration = Aws::PrivateNetworks::PrivateNetworksClientConfiguration());
/* 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.
*/
PrivateNetworksClient(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.
*/
PrivateNetworksClient(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
*/
PrivateNetworksClient(const std::shared_ptr& credentialsProvider,
const Aws::Client::ClientConfiguration& clientConfiguration);
/* End of legacy constructors due deprecation */
virtual ~PrivateNetworksClient();
/**
* Acknowledges that the specified network order was received.
See
* Also:
AWS
* API Reference
*/
virtual Model::AcknowledgeOrderReceiptOutcome AcknowledgeOrderReceipt(const Model::AcknowledgeOrderReceiptRequest& request) const;
/**
* A Callable wrapper for AcknowledgeOrderReceipt that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::AcknowledgeOrderReceiptOutcomeCallable AcknowledgeOrderReceiptCallable(const AcknowledgeOrderReceiptRequestT& request) const
{
return SubmitCallable(&PrivateNetworksClient::AcknowledgeOrderReceipt, request);
}
/**
* An Async wrapper for AcknowledgeOrderReceipt that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void AcknowledgeOrderReceiptAsync(const AcknowledgeOrderReceiptRequestT& request, const AcknowledgeOrderReceiptResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&PrivateNetworksClient::AcknowledgeOrderReceipt, request, handler, context);
}
/**
* Activates the specified device identifier.
See Also:
AWS
* API Reference
*/
virtual Model::ActivateDeviceIdentifierOutcome ActivateDeviceIdentifier(const Model::ActivateDeviceIdentifierRequest& request) const;
/**
* A Callable wrapper for ActivateDeviceIdentifier that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ActivateDeviceIdentifierOutcomeCallable ActivateDeviceIdentifierCallable(const ActivateDeviceIdentifierRequestT& request) const
{
return SubmitCallable(&PrivateNetworksClient::ActivateDeviceIdentifier, request);
}
/**
* An Async wrapper for ActivateDeviceIdentifier that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ActivateDeviceIdentifierAsync(const ActivateDeviceIdentifierRequestT& request, const ActivateDeviceIdentifierResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&PrivateNetworksClient::ActivateDeviceIdentifier, request, handler, context);
}
/**
* Activates the specified network site.
See Also:
AWS
* API Reference
*/
virtual Model::ActivateNetworkSiteOutcome ActivateNetworkSite(const Model::ActivateNetworkSiteRequest& request) const;
/**
* A Callable wrapper for ActivateNetworkSite that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ActivateNetworkSiteOutcomeCallable ActivateNetworkSiteCallable(const ActivateNetworkSiteRequestT& request) const
{
return SubmitCallable(&PrivateNetworksClient::ActivateNetworkSite, request);
}
/**
* An Async wrapper for ActivateNetworkSite that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ActivateNetworkSiteAsync(const ActivateNetworkSiteRequestT& request, const ActivateNetworkSiteResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&PrivateNetworksClient::ActivateNetworkSite, request, handler, context);
}
/**
* Configures the specified network resource.
Use this action to
* specify the geographic position of the hardware. You must provide Certified
* Professional Installer (CPI) credentials in the request so that we can obtain
* spectrum grants. For more information, see Radio
* units in the Amazon Web Services Private 5G User Guide.
*
See Also:
AWS
* API Reference
*/
virtual Model::ConfigureAccessPointOutcome ConfigureAccessPoint(const Model::ConfigureAccessPointRequest& request) const;
/**
* A Callable wrapper for ConfigureAccessPoint that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ConfigureAccessPointOutcomeCallable ConfigureAccessPointCallable(const ConfigureAccessPointRequestT& request) const
{
return SubmitCallable(&PrivateNetworksClient::ConfigureAccessPoint, request);
}
/**
* An Async wrapper for ConfigureAccessPoint that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ConfigureAccessPointAsync(const ConfigureAccessPointRequestT& request, const ConfigureAccessPointResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&PrivateNetworksClient::ConfigureAccessPoint, request, handler, context);
}
/**
* Creates a network.
See Also:
AWS
* API Reference
*/
virtual Model::CreateNetworkOutcome CreateNetwork(const Model::CreateNetworkRequest& request) const;
/**
* A Callable wrapper for CreateNetwork that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::CreateNetworkOutcomeCallable CreateNetworkCallable(const CreateNetworkRequestT& request) const
{
return SubmitCallable(&PrivateNetworksClient::CreateNetwork, request);
}
/**
* An Async wrapper for CreateNetwork that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void CreateNetworkAsync(const CreateNetworkRequestT& request, const CreateNetworkResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&PrivateNetworksClient::CreateNetwork, request, handler, context);
}
/**
* Creates a network site.
See Also:
AWS
* API Reference
*/
virtual Model::CreateNetworkSiteOutcome CreateNetworkSite(const Model::CreateNetworkSiteRequest& request) const;
/**
* A Callable wrapper for CreateNetworkSite that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::CreateNetworkSiteOutcomeCallable CreateNetworkSiteCallable(const CreateNetworkSiteRequestT& request) const
{
return SubmitCallable(&PrivateNetworksClient::CreateNetworkSite, request);
}
/**
* An Async wrapper for CreateNetworkSite that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void CreateNetworkSiteAsync(const CreateNetworkSiteRequestT& request, const CreateNetworkSiteResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&PrivateNetworksClient::CreateNetworkSite, request, handler, context);
}
/**
* Deactivates the specified device identifier.
See Also:
AWS
* API Reference
*/
virtual Model::DeactivateDeviceIdentifierOutcome DeactivateDeviceIdentifier(const Model::DeactivateDeviceIdentifierRequest& request) const;
/**
* A Callable wrapper for DeactivateDeviceIdentifier that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DeactivateDeviceIdentifierOutcomeCallable DeactivateDeviceIdentifierCallable(const DeactivateDeviceIdentifierRequestT& request) const
{
return SubmitCallable(&PrivateNetworksClient::DeactivateDeviceIdentifier, request);
}
/**
* An Async wrapper for DeactivateDeviceIdentifier that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DeactivateDeviceIdentifierAsync(const DeactivateDeviceIdentifierRequestT& request, const DeactivateDeviceIdentifierResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&PrivateNetworksClient::DeactivateDeviceIdentifier, request, handler, context);
}
/**
* Deletes the specified network. You must delete network sites before you
* delete the network. For more information, see DeleteNetworkSite
* in the API Reference for Amazon Web Services Private 5G.
See
* Also:
AWS
* API Reference
*/
virtual Model::DeleteNetworkOutcome DeleteNetwork(const Model::DeleteNetworkRequest& request) const;
/**
* A Callable wrapper for DeleteNetwork that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DeleteNetworkOutcomeCallable DeleteNetworkCallable(const DeleteNetworkRequestT& request) const
{
return SubmitCallable(&PrivateNetworksClient::DeleteNetwork, request);
}
/**
* An Async wrapper for DeleteNetwork that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DeleteNetworkAsync(const DeleteNetworkRequestT& request, const DeleteNetworkResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&PrivateNetworksClient::DeleteNetwork, request, handler, context);
}
/**
* Deletes the specified network site. Return the hardware after you delete the
* network site. You are responsible for minimum charges. For more information, see
* Hardware
* returns in the Amazon Web Services Private 5G User Guide.
*
See Also:
AWS
* API Reference
*/
virtual Model::DeleteNetworkSiteOutcome DeleteNetworkSite(const Model::DeleteNetworkSiteRequest& request) const;
/**
* A Callable wrapper for DeleteNetworkSite that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DeleteNetworkSiteOutcomeCallable DeleteNetworkSiteCallable(const DeleteNetworkSiteRequestT& request) const
{
return SubmitCallable(&PrivateNetworksClient::DeleteNetworkSite, request);
}
/**
* An Async wrapper for DeleteNetworkSite that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DeleteNetworkSiteAsync(const DeleteNetworkSiteRequestT& request, const DeleteNetworkSiteResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&PrivateNetworksClient::DeleteNetworkSite, request, handler, context);
}
/**
* Gets the specified device identifier.
See Also:
AWS
* API Reference
*/
virtual Model::GetDeviceIdentifierOutcome GetDeviceIdentifier(const Model::GetDeviceIdentifierRequest& request) const;
/**
* A Callable wrapper for GetDeviceIdentifier that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetDeviceIdentifierOutcomeCallable GetDeviceIdentifierCallable(const GetDeviceIdentifierRequestT& request) const
{
return SubmitCallable(&PrivateNetworksClient::GetDeviceIdentifier, request);
}
/**
* An Async wrapper for GetDeviceIdentifier that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetDeviceIdentifierAsync(const GetDeviceIdentifierRequestT& request, const GetDeviceIdentifierResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&PrivateNetworksClient::GetDeviceIdentifier, request, handler, context);
}
/**
* Gets the specified network.
See Also:
AWS
* API Reference
*/
virtual Model::GetNetworkOutcome GetNetwork(const Model::GetNetworkRequest& request) const;
/**
* A Callable wrapper for GetNetwork that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetNetworkOutcomeCallable GetNetworkCallable(const GetNetworkRequestT& request) const
{
return SubmitCallable(&PrivateNetworksClient::GetNetwork, request);
}
/**
* An Async wrapper for GetNetwork that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetNetworkAsync(const GetNetworkRequestT& request, const GetNetworkResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&PrivateNetworksClient::GetNetwork, request, handler, context);
}
/**
* Gets the specified network resource.
See Also:
AWS
* API Reference
*/
virtual Model::GetNetworkResourceOutcome GetNetworkResource(const Model::GetNetworkResourceRequest& request) const;
/**
* A Callable wrapper for GetNetworkResource that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetNetworkResourceOutcomeCallable GetNetworkResourceCallable(const GetNetworkResourceRequestT& request) const
{
return SubmitCallable(&PrivateNetworksClient::GetNetworkResource, request);
}
/**
* An Async wrapper for GetNetworkResource that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetNetworkResourceAsync(const GetNetworkResourceRequestT& request, const GetNetworkResourceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&PrivateNetworksClient::GetNetworkResource, request, handler, context);
}
/**
* Gets the specified network site.
See Also:
AWS
* API Reference
*/
virtual Model::GetNetworkSiteOutcome GetNetworkSite(const Model::GetNetworkSiteRequest& request) const;
/**
* A Callable wrapper for GetNetworkSite that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetNetworkSiteOutcomeCallable GetNetworkSiteCallable(const GetNetworkSiteRequestT& request) const
{
return SubmitCallable(&PrivateNetworksClient::GetNetworkSite, request);
}
/**
* An Async wrapper for GetNetworkSite that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetNetworkSiteAsync(const GetNetworkSiteRequestT& request, const GetNetworkSiteResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&PrivateNetworksClient::GetNetworkSite, request, handler, context);
}
/**
* Gets 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(&PrivateNetworksClient::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(&PrivateNetworksClient::GetOrder, request, handler, context);
}
/**
* Lists device identifiers. Add filters to your request to return a more
* specific list of results. Use filters to match the Amazon Resource Name (ARN) of
* an order, the status of device identifiers, or the ARN of the traffic group.
* If you specify multiple filters, filters are joined with an OR, and the
* request returns results that match all of the specified filters.
See
* Also:
AWS
* API Reference
*/
virtual Model::ListDeviceIdentifiersOutcome ListDeviceIdentifiers(const Model::ListDeviceIdentifiersRequest& request) const;
/**
* A Callable wrapper for ListDeviceIdentifiers that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListDeviceIdentifiersOutcomeCallable ListDeviceIdentifiersCallable(const ListDeviceIdentifiersRequestT& request) const
{
return SubmitCallable(&PrivateNetworksClient::ListDeviceIdentifiers, request);
}
/**
* An Async wrapper for ListDeviceIdentifiers that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListDeviceIdentifiersAsync(const ListDeviceIdentifiersRequestT& request, const ListDeviceIdentifiersResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&PrivateNetworksClient::ListDeviceIdentifiers, request, handler, context);
}
/**
* Lists network resources. Add filters to your request to return a more
* specific list of results. Use filters to match the Amazon Resource Name (ARN) of
* an order or the status of network resources.
If you specify multiple
* filters, filters are joined with an OR, and the request returns results that
* match all of the specified filters.
See Also:
AWS
* API Reference
*/
virtual Model::ListNetworkResourcesOutcome ListNetworkResources(const Model::ListNetworkResourcesRequest& request) const;
/**
* A Callable wrapper for ListNetworkResources that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListNetworkResourcesOutcomeCallable ListNetworkResourcesCallable(const ListNetworkResourcesRequestT& request) const
{
return SubmitCallable(&PrivateNetworksClient::ListNetworkResources, request);
}
/**
* An Async wrapper for ListNetworkResources that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListNetworkResourcesAsync(const ListNetworkResourcesRequestT& request, const ListNetworkResourcesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&PrivateNetworksClient::ListNetworkResources, request, handler, context);
}
/**
* Lists network sites. Add filters to your request to return a more specific
* list of results. Use filters to match the status of the network
* site.
See Also:
AWS
* API Reference
*/
virtual Model::ListNetworkSitesOutcome ListNetworkSites(const Model::ListNetworkSitesRequest& request) const;
/**
* A Callable wrapper for ListNetworkSites that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListNetworkSitesOutcomeCallable ListNetworkSitesCallable(const ListNetworkSitesRequestT& request) const
{
return SubmitCallable(&PrivateNetworksClient::ListNetworkSites, request);
}
/**
* An Async wrapper for ListNetworkSites that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListNetworkSitesAsync(const ListNetworkSitesRequestT& request, const ListNetworkSitesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&PrivateNetworksClient::ListNetworkSites, request, handler, context);
}
/**
* Lists networks. Add filters to your request to return a more specific list of
* results. Use filters to match the status of the network.
See
* Also:
AWS
* API Reference
*/
virtual Model::ListNetworksOutcome ListNetworks(const Model::ListNetworksRequest& request) const;
/**
* A Callable wrapper for ListNetworks that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListNetworksOutcomeCallable ListNetworksCallable(const ListNetworksRequestT& request) const
{
return SubmitCallable(&PrivateNetworksClient::ListNetworks, request);
}
/**
* An Async wrapper for ListNetworks that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListNetworksAsync(const ListNetworksRequestT& request, const ListNetworksResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&PrivateNetworksClient::ListNetworks, request, handler, context);
}
/**
* Lists orders. Add filters to your request to return a more specific list of
* results. Use filters to match the Amazon Resource Name (ARN) of the network site
* or the status of the order.
If you specify multiple filters, filters are
* joined with an OR, and the request returns results that match all of the
* specified filters.
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(&PrivateNetworksClient::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(&PrivateNetworksClient::ListOrders, 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(&PrivateNetworksClient::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(&PrivateNetworksClient::ListTagsForResource, request, handler, context);
}
/**
* Checks the health of the service.
See Also:
AWS
* API Reference
*/
virtual Model::PingOutcome Ping() const;
/**
* A Callable wrapper for Ping that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::PingOutcomeCallable PingCallable() const
{
return SubmitCallable(&PrivateNetworksClient::Ping);
}
/**
* An Async wrapper for Ping that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void PingAsync(const PingResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&PrivateNetworksClient::Ping, handler, context);
}
/**
* Use this action to do the following tasks:
-
Update the
* duration and renewal status of the commitment period for a radio unit. The
* update goes into effect immediately.
-
Request a replacement for
* a network resource.
-
Request that you return a network
* resource.
After you submit a request to replace or return a
* network resource, the status of the network resource changes to
* CREATING_SHIPPING_LABEL
. The shipping label is available when the
* status of the network resource is PENDING_RETURN
. After the network
* resource is successfully returned, its status changes to DELETED
.
* For more information, see Return
* a radio unit.
See Also:
AWS
* API Reference
*/
virtual Model::StartNetworkResourceUpdateOutcome StartNetworkResourceUpdate(const Model::StartNetworkResourceUpdateRequest& request) const;
/**
* A Callable wrapper for StartNetworkResourceUpdate that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::StartNetworkResourceUpdateOutcomeCallable StartNetworkResourceUpdateCallable(const StartNetworkResourceUpdateRequestT& request) const
{
return SubmitCallable(&PrivateNetworksClient::StartNetworkResourceUpdate, request);
}
/**
* An Async wrapper for StartNetworkResourceUpdate that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void StartNetworkResourceUpdateAsync(const StartNetworkResourceUpdateRequestT& request, const StartNetworkResourceUpdateResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&PrivateNetworksClient::StartNetworkResourceUpdate, 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(&PrivateNetworksClient::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(&PrivateNetworksClient::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(&PrivateNetworksClient::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(&PrivateNetworksClient::UntagResource, request, handler, context);
}
/**
* Updates the specified network site.
See Also:
AWS
* API Reference
*/
virtual Model::UpdateNetworkSiteOutcome UpdateNetworkSite(const Model::UpdateNetworkSiteRequest& request) const;
/**
* A Callable wrapper for UpdateNetworkSite that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::UpdateNetworkSiteOutcomeCallable UpdateNetworkSiteCallable(const UpdateNetworkSiteRequestT& request) const
{
return SubmitCallable(&PrivateNetworksClient::UpdateNetworkSite, request);
}
/**
* An Async wrapper for UpdateNetworkSite that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void UpdateNetworkSiteAsync(const UpdateNetworkSiteRequestT& request, const UpdateNetworkSiteResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&PrivateNetworksClient::UpdateNetworkSite, request, handler, context);
}
/**
* Updates the specified network site plan.
See Also:
AWS
* API Reference
*/
virtual Model::UpdateNetworkSitePlanOutcome UpdateNetworkSitePlan(const Model::UpdateNetworkSitePlanRequest& request) const;
/**
* A Callable wrapper for UpdateNetworkSitePlan that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::UpdateNetworkSitePlanOutcomeCallable UpdateNetworkSitePlanCallable(const UpdateNetworkSitePlanRequestT& request) const
{
return SubmitCallable(&PrivateNetworksClient::UpdateNetworkSitePlan, request);
}
/**
* An Async wrapper for UpdateNetworkSitePlan that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void UpdateNetworkSitePlanAsync(const UpdateNetworkSitePlanRequestT& request, const UpdateNetworkSitePlanResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&PrivateNetworksClient::UpdateNetworkSitePlan, request, handler, context);
}
void OverrideEndpoint(const Aws::String& endpoint);
std::shared_ptr& accessEndpointProvider();
private:
friend class Aws::Client::ClientWithAsyncTemplateMethods;
void init(const PrivateNetworksClientConfiguration& clientConfiguration);
PrivateNetworksClientConfiguration m_clientConfiguration;
std::shared_ptr m_executor;
std::shared_ptr m_endpointProvider;
};
} // namespace PrivateNetworks
} // namespace Aws