/**
* 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 AppRegistry
{
/**
* Amazon Web Services Service Catalog AppRegistry enables organizations to
* understand the application context of their Amazon Web Services resources.
* AppRegistry provides a repository of your applications, their resources, and the
* application metadata that you use within your enterprise.
*/
class AWS_APPREGISTRY_API AppRegistryClient : 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 AppRegistryClientConfiguration ClientConfigurationType;
typedef AppRegistryEndpointProvider 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.
*/
AppRegistryClient(const Aws::AppRegistry::AppRegistryClientConfiguration& clientConfiguration = Aws::AppRegistry::AppRegistryClientConfiguration(),
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.
*/
AppRegistryClient(const Aws::Auth::AWSCredentials& credentials,
std::shared_ptr endpointProvider = Aws::MakeShared(ALLOCATION_TAG),
const Aws::AppRegistry::AppRegistryClientConfiguration& clientConfiguration = Aws::AppRegistry::AppRegistryClientConfiguration());
/**
* 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
*/
AppRegistryClient(const std::shared_ptr& credentialsProvider,
std::shared_ptr endpointProvider = Aws::MakeShared(ALLOCATION_TAG),
const Aws::AppRegistry::AppRegistryClientConfiguration& clientConfiguration = Aws::AppRegistry::AppRegistryClientConfiguration());
/* 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.
*/
AppRegistryClient(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.
*/
AppRegistryClient(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
*/
AppRegistryClient(const std::shared_ptr& credentialsProvider,
const Aws::Client::ClientConfiguration& clientConfiguration);
/* End of legacy constructors due deprecation */
virtual ~AppRegistryClient();
/**
* Associates an attribute group with an application to augment the
* application's metadata with the group's attributes. This feature enables
* applications to be described with user-defined details that are
* machine-readable, such as third-party integrations.
See Also:
* AWS
* API Reference
*/
virtual Model::AssociateAttributeGroupOutcome AssociateAttributeGroup(const Model::AssociateAttributeGroupRequest& request) const;
/**
* A Callable wrapper for AssociateAttributeGroup that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::AssociateAttributeGroupOutcomeCallable AssociateAttributeGroupCallable(const AssociateAttributeGroupRequestT& request) const
{
return SubmitCallable(&AppRegistryClient::AssociateAttributeGroup, request);
}
/**
* An Async wrapper for AssociateAttributeGroup that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void AssociateAttributeGroupAsync(const AssociateAttributeGroupRequestT& request, const AssociateAttributeGroupResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AppRegistryClient::AssociateAttributeGroup, request, handler, context);
}
/**
* Associates a resource with an application. The resource can be specified by
* its ARN or name. The application can be specified by ARN, ID, or name.
*
See Also:
AWS
* API Reference
*/
virtual Model::AssociateResourceOutcome AssociateResource(const Model::AssociateResourceRequest& request) const;
/**
* A Callable wrapper for AssociateResource that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::AssociateResourceOutcomeCallable AssociateResourceCallable(const AssociateResourceRequestT& request) const
{
return SubmitCallable(&AppRegistryClient::AssociateResource, request);
}
/**
* An Async wrapper for AssociateResource that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void AssociateResourceAsync(const AssociateResourceRequestT& request, const AssociateResourceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AppRegistryClient::AssociateResource, request, handler, context);
}
/**
* Creates a new application that is the top-level node in a hierarchy of
* related cloud resource abstractions.
See Also:
AWS
* API Reference
*/
virtual Model::CreateApplicationOutcome CreateApplication(const Model::CreateApplicationRequest& request) const;
/**
* A Callable wrapper for CreateApplication that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::CreateApplicationOutcomeCallable CreateApplicationCallable(const CreateApplicationRequestT& request) const
{
return SubmitCallable(&AppRegistryClient::CreateApplication, request);
}
/**
* An Async wrapper for CreateApplication that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void CreateApplicationAsync(const CreateApplicationRequestT& request, const CreateApplicationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AppRegistryClient::CreateApplication, request, handler, context);
}
/**
* Creates a new attribute group as a container for user-defined attributes.
* This feature enables users to have full control over their cloud application's
* metadata in a rich machine-readable format to facilitate integration with
* automated workflows and third-party tools.
See Also:
AWS
* API Reference
*/
virtual Model::CreateAttributeGroupOutcome CreateAttributeGroup(const Model::CreateAttributeGroupRequest& request) const;
/**
* A Callable wrapper for CreateAttributeGroup that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::CreateAttributeGroupOutcomeCallable CreateAttributeGroupCallable(const CreateAttributeGroupRequestT& request) const
{
return SubmitCallable(&AppRegistryClient::CreateAttributeGroup, request);
}
/**
* An Async wrapper for CreateAttributeGroup that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void CreateAttributeGroupAsync(const CreateAttributeGroupRequestT& request, const CreateAttributeGroupResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AppRegistryClient::CreateAttributeGroup, request, handler, context);
}
/**
* Deletes an application that is specified either by its application ID, name,
* or ARN. All associated attribute groups and resources must be disassociated from
* it before deleting an application.
See Also:
AWS
* API Reference
*/
virtual Model::DeleteApplicationOutcome DeleteApplication(const Model::DeleteApplicationRequest& request) const;
/**
* A Callable wrapper for DeleteApplication that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DeleteApplicationOutcomeCallable DeleteApplicationCallable(const DeleteApplicationRequestT& request) const
{
return SubmitCallable(&AppRegistryClient::DeleteApplication, request);
}
/**
* An Async wrapper for DeleteApplication that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DeleteApplicationAsync(const DeleteApplicationRequestT& request, const DeleteApplicationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AppRegistryClient::DeleteApplication, request, handler, context);
}
/**
* Deletes an attribute group, specified either by its attribute group ID, name,
* or ARN.
See Also:
AWS
* API Reference
*/
virtual Model::DeleteAttributeGroupOutcome DeleteAttributeGroup(const Model::DeleteAttributeGroupRequest& request) const;
/**
* A Callable wrapper for DeleteAttributeGroup that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DeleteAttributeGroupOutcomeCallable DeleteAttributeGroupCallable(const DeleteAttributeGroupRequestT& request) const
{
return SubmitCallable(&AppRegistryClient::DeleteAttributeGroup, request);
}
/**
* An Async wrapper for DeleteAttributeGroup that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DeleteAttributeGroupAsync(const DeleteAttributeGroupRequestT& request, const DeleteAttributeGroupResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AppRegistryClient::DeleteAttributeGroup, request, handler, context);
}
/**
* Disassociates an attribute group from an application to remove the extra
* attributes contained in the attribute group from the application's metadata.
* This operation reverts AssociateAttributeGroup
.
See
* Also:
AWS
* API Reference
*/
virtual Model::DisassociateAttributeGroupOutcome DisassociateAttributeGroup(const Model::DisassociateAttributeGroupRequest& request) const;
/**
* A Callable wrapper for DisassociateAttributeGroup that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DisassociateAttributeGroupOutcomeCallable DisassociateAttributeGroupCallable(const DisassociateAttributeGroupRequestT& request) const
{
return SubmitCallable(&AppRegistryClient::DisassociateAttributeGroup, request);
}
/**
* An Async wrapper for DisassociateAttributeGroup that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DisassociateAttributeGroupAsync(const DisassociateAttributeGroupRequestT& request, const DisassociateAttributeGroupResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AppRegistryClient::DisassociateAttributeGroup, request, handler, context);
}
/**
* Disassociates a resource from application. Both the resource and the
* application can be specified either by ID or name.
See Also:
AWS
* API Reference
*/
virtual Model::DisassociateResourceOutcome DisassociateResource(const Model::DisassociateResourceRequest& request) const;
/**
* A Callable wrapper for DisassociateResource that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DisassociateResourceOutcomeCallable DisassociateResourceCallable(const DisassociateResourceRequestT& request) const
{
return SubmitCallable(&AppRegistryClient::DisassociateResource, request);
}
/**
* An Async wrapper for DisassociateResource that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DisassociateResourceAsync(const DisassociateResourceRequestT& request, const DisassociateResourceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AppRegistryClient::DisassociateResource, request, handler, context);
}
/**
* Retrieves metadata information about one of your applications. The
* application can be specified by its ARN, ID, or name (which is unique within one
* account in one region at a given point in time). Specify by ARN or ID in
* automated workflows if you want to make sure that the exact same application is
* returned or a ResourceNotFoundException
is thrown, avoiding the ABA
* addressing problem.
See Also:
AWS
* API Reference
*/
virtual Model::GetApplicationOutcome GetApplication(const Model::GetApplicationRequest& request) const;
/**
* A Callable wrapper for GetApplication that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetApplicationOutcomeCallable GetApplicationCallable(const GetApplicationRequestT& request) const
{
return SubmitCallable(&AppRegistryClient::GetApplication, request);
}
/**
* An Async wrapper for GetApplication that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetApplicationAsync(const GetApplicationRequestT& request, const GetApplicationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AppRegistryClient::GetApplication, request, handler, context);
}
/**
* Gets the resource associated with the application.
See Also:
* AWS
* API Reference
*/
virtual Model::GetAssociatedResourceOutcome GetAssociatedResource(const Model::GetAssociatedResourceRequest& request) const;
/**
* A Callable wrapper for GetAssociatedResource that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetAssociatedResourceOutcomeCallable GetAssociatedResourceCallable(const GetAssociatedResourceRequestT& request) const
{
return SubmitCallable(&AppRegistryClient::GetAssociatedResource, request);
}
/**
* An Async wrapper for GetAssociatedResource that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetAssociatedResourceAsync(const GetAssociatedResourceRequestT& request, const GetAssociatedResourceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AppRegistryClient::GetAssociatedResource, request, handler, context);
}
/**
* Retrieves an attribute group by its ARN, ID, or name. The attribute group
* can be specified by its ARN, ID, or name.
See Also:
AWS
* API Reference
*/
virtual Model::GetAttributeGroupOutcome GetAttributeGroup(const Model::GetAttributeGroupRequest& request) const;
/**
* A Callable wrapper for GetAttributeGroup that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetAttributeGroupOutcomeCallable GetAttributeGroupCallable(const GetAttributeGroupRequestT& request) const
{
return SubmitCallable(&AppRegistryClient::GetAttributeGroup, request);
}
/**
* An Async wrapper for GetAttributeGroup that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetAttributeGroupAsync(const GetAttributeGroupRequestT& request, const GetAttributeGroupResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AppRegistryClient::GetAttributeGroup, request, handler, context);
}
/**
* Retrieves a TagKey
configuration from an account.
*
See Also:
AWS
* API Reference
*/
virtual Model::GetConfigurationOutcome GetConfiguration() const;
/**
* A Callable wrapper for GetConfiguration that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetConfigurationOutcomeCallable GetConfigurationCallable() const
{
return SubmitCallable(&AppRegistryClient::GetConfiguration);
}
/**
* An Async wrapper for GetConfiguration that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetConfigurationAsync(const GetConfigurationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AppRegistryClient::GetConfiguration, handler, context);
}
/**
* Retrieves a list of all of your applications. Results are
* paginated.
See Also:
AWS
* API Reference
*/
virtual Model::ListApplicationsOutcome ListApplications(const Model::ListApplicationsRequest& request) const;
/**
* A Callable wrapper for ListApplications that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListApplicationsOutcomeCallable ListApplicationsCallable(const ListApplicationsRequestT& request) const
{
return SubmitCallable(&AppRegistryClient::ListApplications, request);
}
/**
* An Async wrapper for ListApplications that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListApplicationsAsync(const ListApplicationsRequestT& request, const ListApplicationsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AppRegistryClient::ListApplications, request, handler, context);
}
/**
* Lists all attribute groups that are associated with specified application.
* Results are paginated.
See Also:
AWS
* API Reference
*/
virtual Model::ListAssociatedAttributeGroupsOutcome ListAssociatedAttributeGroups(const Model::ListAssociatedAttributeGroupsRequest& request) const;
/**
* A Callable wrapper for ListAssociatedAttributeGroups that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListAssociatedAttributeGroupsOutcomeCallable ListAssociatedAttributeGroupsCallable(const ListAssociatedAttributeGroupsRequestT& request) const
{
return SubmitCallable(&AppRegistryClient::ListAssociatedAttributeGroups, request);
}
/**
* An Async wrapper for ListAssociatedAttributeGroups that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListAssociatedAttributeGroupsAsync(const ListAssociatedAttributeGroupsRequestT& request, const ListAssociatedAttributeGroupsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AppRegistryClient::ListAssociatedAttributeGroups, request, handler, context);
}
/**
* Lists all of the resources that are associated with the specified
* application. Results are paginated.
If you share an application,
* and a consumer account associates a tag query to the application, all of the
* users who can access the application can also view the tag values in all
* accounts that are associated with it using this API.
See
* Also:
AWS
* API Reference
*/
virtual Model::ListAssociatedResourcesOutcome ListAssociatedResources(const Model::ListAssociatedResourcesRequest& request) const;
/**
* A Callable wrapper for ListAssociatedResources that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListAssociatedResourcesOutcomeCallable ListAssociatedResourcesCallable(const ListAssociatedResourcesRequestT& request) const
{
return SubmitCallable(&AppRegistryClient::ListAssociatedResources, request);
}
/**
* An Async wrapper for ListAssociatedResources that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListAssociatedResourcesAsync(const ListAssociatedResourcesRequestT& request, const ListAssociatedResourcesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AppRegistryClient::ListAssociatedResources, request, handler, context);
}
/**
* Lists all attribute groups which you have access to. Results are
* paginated.
See Also:
AWS
* API Reference
*/
virtual Model::ListAttributeGroupsOutcome ListAttributeGroups(const Model::ListAttributeGroupsRequest& request) const;
/**
* A Callable wrapper for ListAttributeGroups that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListAttributeGroupsOutcomeCallable ListAttributeGroupsCallable(const ListAttributeGroupsRequestT& request) const
{
return SubmitCallable(&AppRegistryClient::ListAttributeGroups, request);
}
/**
* An Async wrapper for ListAttributeGroups that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListAttributeGroupsAsync(const ListAttributeGroupsRequestT& request, const ListAttributeGroupsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AppRegistryClient::ListAttributeGroups, request, handler, context);
}
/**
* Lists the details of all attribute groups associated with a specific
* application. The results display in pages.
See Also:
AWS
* API Reference
*/
virtual Model::ListAttributeGroupsForApplicationOutcome ListAttributeGroupsForApplication(const Model::ListAttributeGroupsForApplicationRequest& request) const;
/**
* A Callable wrapper for ListAttributeGroupsForApplication that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListAttributeGroupsForApplicationOutcomeCallable ListAttributeGroupsForApplicationCallable(const ListAttributeGroupsForApplicationRequestT& request) const
{
return SubmitCallable(&AppRegistryClient::ListAttributeGroupsForApplication, request);
}
/**
* An Async wrapper for ListAttributeGroupsForApplication that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListAttributeGroupsForApplicationAsync(const ListAttributeGroupsForApplicationRequestT& request, const ListAttributeGroupsForApplicationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AppRegistryClient::ListAttributeGroupsForApplication, request, handler, context);
}
/**
* Lists all of the tags on the 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(&AppRegistryClient::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(&AppRegistryClient::ListTagsForResource, request, handler, context);
}
/**
* Associates a TagKey
configuration to an account.
See
* Also:
AWS
* API Reference
*/
virtual Model::PutConfigurationOutcome PutConfiguration(const Model::PutConfigurationRequest& request) const;
/**
* A Callable wrapper for PutConfiguration that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::PutConfigurationOutcomeCallable PutConfigurationCallable(const PutConfigurationRequestT& request) const
{
return SubmitCallable(&AppRegistryClient::PutConfiguration, request);
}
/**
* An Async wrapper for PutConfiguration that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void PutConfigurationAsync(const PutConfigurationRequestT& request, const PutConfigurationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AppRegistryClient::PutConfiguration, request, handler, context);
}
/**
* Syncs the resource with current AppRegistry records.
Specifically, the
* resource’s AppRegistry system tags sync with its associated application. We
* remove the resource's AppRegistry system tags if it does not associate with the
* application. The caller must have permissions to read and update the
* resource.
See Also:
AWS
* API Reference
*/
virtual Model::SyncResourceOutcome SyncResource(const Model::SyncResourceRequest& request) const;
/**
* A Callable wrapper for SyncResource that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::SyncResourceOutcomeCallable SyncResourceCallable(const SyncResourceRequestT& request) const
{
return SubmitCallable(&AppRegistryClient::SyncResource, request);
}
/**
* An Async wrapper for SyncResource that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void SyncResourceAsync(const SyncResourceRequestT& request, const SyncResourceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AppRegistryClient::SyncResource, request, handler, context);
}
/**
* Assigns one or more tags (key-value pairs) to the specified resource.
* Each tag consists of a key and an optional value. If a tag with the same key
* is already associated with the resource, this action updates its value.
* This operation returns an empty response if the call was
* successful.
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(&AppRegistryClient::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(&AppRegistryClient::TagResource, request, handler, context);
}
/**
* Removes tags from a resource.
This operation returns an empty response
* if the call was successful.
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(&AppRegistryClient::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(&AppRegistryClient::UntagResource, request, handler, context);
}
/**
* Updates an existing application with new attributes.
See Also:
* AWS
* API Reference
*/
virtual Model::UpdateApplicationOutcome UpdateApplication(const Model::UpdateApplicationRequest& request) const;
/**
* A Callable wrapper for UpdateApplication that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::UpdateApplicationOutcomeCallable UpdateApplicationCallable(const UpdateApplicationRequestT& request) const
{
return SubmitCallable(&AppRegistryClient::UpdateApplication, request);
}
/**
* An Async wrapper for UpdateApplication that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void UpdateApplicationAsync(const UpdateApplicationRequestT& request, const UpdateApplicationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AppRegistryClient::UpdateApplication, request, handler, context);
}
/**
* Updates an existing attribute group with new details.
See
* Also:
AWS
* API Reference
*/
virtual Model::UpdateAttributeGroupOutcome UpdateAttributeGroup(const Model::UpdateAttributeGroupRequest& request) const;
/**
* A Callable wrapper for UpdateAttributeGroup that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::UpdateAttributeGroupOutcomeCallable UpdateAttributeGroupCallable(const UpdateAttributeGroupRequestT& request) const
{
return SubmitCallable(&AppRegistryClient::UpdateAttributeGroup, request);
}
/**
* An Async wrapper for UpdateAttributeGroup that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void UpdateAttributeGroupAsync(const UpdateAttributeGroupRequestT& request, const UpdateAttributeGroupResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AppRegistryClient::UpdateAttributeGroup, request, handler, context);
}
void OverrideEndpoint(const Aws::String& endpoint);
std::shared_ptr& accessEndpointProvider();
private:
friend class Aws::Client::ClientWithAsyncTemplateMethods;
void init(const AppRegistryClientConfiguration& clientConfiguration);
AppRegistryClientConfiguration m_clientConfiguration;
std::shared_ptr m_executor;
std::shared_ptr m_endpointProvider;
};
} // namespace AppRegistry
} // namespace Aws