/** * 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 Schemas { /** *

Amazon EventBridge Schema Registry

*/ class AWS_SCHEMAS_API SchemasClient : 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 SchemasClientConfiguration ClientConfigurationType; typedef SchemasEndpointProvider 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. */ SchemasClient(const Aws::Schemas::SchemasClientConfiguration& clientConfiguration = Aws::Schemas::SchemasClientConfiguration(), 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. */ SchemasClient(const Aws::Auth::AWSCredentials& credentials, std::shared_ptr endpointProvider = Aws::MakeShared(ALLOCATION_TAG), const Aws::Schemas::SchemasClientConfiguration& clientConfiguration = Aws::Schemas::SchemasClientConfiguration()); /** * 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 */ SchemasClient(const std::shared_ptr& credentialsProvider, std::shared_ptr endpointProvider = Aws::MakeShared(ALLOCATION_TAG), const Aws::Schemas::SchemasClientConfiguration& clientConfiguration = Aws::Schemas::SchemasClientConfiguration()); /* 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. */ SchemasClient(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. */ SchemasClient(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 */ SchemasClient(const std::shared_ptr& credentialsProvider, const Aws::Client::ClientConfiguration& clientConfiguration); /* End of legacy constructors due deprecation */ virtual ~SchemasClient(); /** *

Creates a discoverer.

See Also:

AWS * API Reference

*/ virtual Model::CreateDiscovererOutcome CreateDiscoverer(const Model::CreateDiscovererRequest& request) const; /** * A Callable wrapper for CreateDiscoverer that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::CreateDiscovererOutcomeCallable CreateDiscovererCallable(const CreateDiscovererRequestT& request) const { return SubmitCallable(&SchemasClient::CreateDiscoverer, request); } /** * An Async wrapper for CreateDiscoverer that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void CreateDiscovererAsync(const CreateDiscovererRequestT& request, const CreateDiscovererResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SchemasClient::CreateDiscoverer, request, handler, context); } /** *

Creates a registry.

See Also:

AWS * API Reference

*/ virtual Model::CreateRegistryOutcome CreateRegistry(const Model::CreateRegistryRequest& request) const; /** * A Callable wrapper for CreateRegistry that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::CreateRegistryOutcomeCallable CreateRegistryCallable(const CreateRegistryRequestT& request) const { return SubmitCallable(&SchemasClient::CreateRegistry, request); } /** * An Async wrapper for CreateRegistry that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void CreateRegistryAsync(const CreateRegistryRequestT& request, const CreateRegistryResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SchemasClient::CreateRegistry, request, handler, context); } /** *

Creates a schema definition.

Inactive schemas will be deleted * after two years.

See Also:

AWS * API Reference

*/ virtual Model::CreateSchemaOutcome CreateSchema(const Model::CreateSchemaRequest& request) const; /** * A Callable wrapper for CreateSchema that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::CreateSchemaOutcomeCallable CreateSchemaCallable(const CreateSchemaRequestT& request) const { return SubmitCallable(&SchemasClient::CreateSchema, request); } /** * An Async wrapper for CreateSchema that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void CreateSchemaAsync(const CreateSchemaRequestT& request, const CreateSchemaResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SchemasClient::CreateSchema, request, handler, context); } /** *

Deletes a discoverer.

See Also:

AWS * API Reference

*/ virtual Model::DeleteDiscovererOutcome DeleteDiscoverer(const Model::DeleteDiscovererRequest& request) const; /** * A Callable wrapper for DeleteDiscoverer that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DeleteDiscovererOutcomeCallable DeleteDiscovererCallable(const DeleteDiscovererRequestT& request) const { return SubmitCallable(&SchemasClient::DeleteDiscoverer, request); } /** * An Async wrapper for DeleteDiscoverer that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DeleteDiscovererAsync(const DeleteDiscovererRequestT& request, const DeleteDiscovererResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SchemasClient::DeleteDiscoverer, request, handler, context); } /** *

Deletes a Registry.

See Also:

AWS * API Reference

*/ virtual Model::DeleteRegistryOutcome DeleteRegistry(const Model::DeleteRegistryRequest& request) const; /** * A Callable wrapper for DeleteRegistry that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DeleteRegistryOutcomeCallable DeleteRegistryCallable(const DeleteRegistryRequestT& request) const { return SubmitCallable(&SchemasClient::DeleteRegistry, request); } /** * An Async wrapper for DeleteRegistry that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DeleteRegistryAsync(const DeleteRegistryRequestT& request, const DeleteRegistryResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SchemasClient::DeleteRegistry, request, handler, context); } /** *

Delete the resource-based policy attached to the specified * registry.

See Also:

AWS * API Reference

*/ virtual Model::DeleteResourcePolicyOutcome DeleteResourcePolicy(const Model::DeleteResourcePolicyRequest& request) const; /** * A Callable wrapper for DeleteResourcePolicy that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DeleteResourcePolicyOutcomeCallable DeleteResourcePolicyCallable(const DeleteResourcePolicyRequestT& request) const { return SubmitCallable(&SchemasClient::DeleteResourcePolicy, request); } /** * An Async wrapper for DeleteResourcePolicy that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DeleteResourcePolicyAsync(const DeleteResourcePolicyRequestT& request, const DeleteResourcePolicyResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SchemasClient::DeleteResourcePolicy, request, handler, context); } /** *

Delete a schema definition.

See Also:

AWS * API Reference

*/ virtual Model::DeleteSchemaOutcome DeleteSchema(const Model::DeleteSchemaRequest& request) const; /** * A Callable wrapper for DeleteSchema that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DeleteSchemaOutcomeCallable DeleteSchemaCallable(const DeleteSchemaRequestT& request) const { return SubmitCallable(&SchemasClient::DeleteSchema, request); } /** * An Async wrapper for DeleteSchema that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DeleteSchemaAsync(const DeleteSchemaRequestT& request, const DeleteSchemaResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SchemasClient::DeleteSchema, request, handler, context); } /** *

Delete the schema version definition

See Also:

AWS * API Reference

*/ virtual Model::DeleteSchemaVersionOutcome DeleteSchemaVersion(const Model::DeleteSchemaVersionRequest& request) const; /** * A Callable wrapper for DeleteSchemaVersion that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DeleteSchemaVersionOutcomeCallable DeleteSchemaVersionCallable(const DeleteSchemaVersionRequestT& request) const { return SubmitCallable(&SchemasClient::DeleteSchemaVersion, request); } /** * An Async wrapper for DeleteSchemaVersion that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DeleteSchemaVersionAsync(const DeleteSchemaVersionRequestT& request, const DeleteSchemaVersionResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SchemasClient::DeleteSchemaVersion, request, handler, context); } /** *

Describe the code binding URI.

See Also:

AWS * API Reference

*/ virtual Model::DescribeCodeBindingOutcome DescribeCodeBinding(const Model::DescribeCodeBindingRequest& request) const; /** * A Callable wrapper for DescribeCodeBinding that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DescribeCodeBindingOutcomeCallable DescribeCodeBindingCallable(const DescribeCodeBindingRequestT& request) const { return SubmitCallable(&SchemasClient::DescribeCodeBinding, request); } /** * An Async wrapper for DescribeCodeBinding that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DescribeCodeBindingAsync(const DescribeCodeBindingRequestT& request, const DescribeCodeBindingResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SchemasClient::DescribeCodeBinding, request, handler, context); } /** *

Describes the discoverer.

See Also:

AWS * API Reference

*/ virtual Model::DescribeDiscovererOutcome DescribeDiscoverer(const Model::DescribeDiscovererRequest& request) const; /** * A Callable wrapper for DescribeDiscoverer that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DescribeDiscovererOutcomeCallable DescribeDiscovererCallable(const DescribeDiscovererRequestT& request) const { return SubmitCallable(&SchemasClient::DescribeDiscoverer, request); } /** * An Async wrapper for DescribeDiscoverer that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DescribeDiscovererAsync(const DescribeDiscovererRequestT& request, const DescribeDiscovererResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SchemasClient::DescribeDiscoverer, request, handler, context); } /** *

Describes the registry.

See Also:

AWS * API Reference

*/ virtual Model::DescribeRegistryOutcome DescribeRegistry(const Model::DescribeRegistryRequest& request) const; /** * A Callable wrapper for DescribeRegistry that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DescribeRegistryOutcomeCallable DescribeRegistryCallable(const DescribeRegistryRequestT& request) const { return SubmitCallable(&SchemasClient::DescribeRegistry, request); } /** * An Async wrapper for DescribeRegistry that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DescribeRegistryAsync(const DescribeRegistryRequestT& request, const DescribeRegistryResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SchemasClient::DescribeRegistry, request, handler, context); } /** *

Retrieve the schema definition.

See Also:

AWS * API Reference

*/ virtual Model::DescribeSchemaOutcome DescribeSchema(const Model::DescribeSchemaRequest& request) const; /** * A Callable wrapper for DescribeSchema that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DescribeSchemaOutcomeCallable DescribeSchemaCallable(const DescribeSchemaRequestT& request) const { return SubmitCallable(&SchemasClient::DescribeSchema, request); } /** * An Async wrapper for DescribeSchema that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DescribeSchemaAsync(const DescribeSchemaRequestT& request, const DescribeSchemaResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SchemasClient::DescribeSchema, request, handler, context); } /** * */ virtual Model::ExportSchemaOutcome ExportSchema(const Model::ExportSchemaRequest& request) const; /** * A Callable wrapper for ExportSchema that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::ExportSchemaOutcomeCallable ExportSchemaCallable(const ExportSchemaRequestT& request) const { return SubmitCallable(&SchemasClient::ExportSchema, request); } /** * An Async wrapper for ExportSchema that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void ExportSchemaAsync(const ExportSchemaRequestT& request, const ExportSchemaResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SchemasClient::ExportSchema, request, handler, context); } /** *

Get the code binding source URI.

See Also:

AWS * API Reference

*/ virtual Model::GetCodeBindingSourceOutcome GetCodeBindingSource(const Model::GetCodeBindingSourceRequest& request) const; /** * A Callable wrapper for GetCodeBindingSource that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::GetCodeBindingSourceOutcomeCallable GetCodeBindingSourceCallable(const GetCodeBindingSourceRequestT& request) const { return SubmitCallable(&SchemasClient::GetCodeBindingSource, request); } /** * An Async wrapper for GetCodeBindingSource that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void GetCodeBindingSourceAsync(const GetCodeBindingSourceRequestT& request, const GetCodeBindingSourceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SchemasClient::GetCodeBindingSource, request, handler, context); } /** *

Get the discovered schema that was generated based on sampled * events.

See Also:

AWS * API Reference

*/ virtual Model::GetDiscoveredSchemaOutcome GetDiscoveredSchema(const Model::GetDiscoveredSchemaRequest& request) const; /** * A Callable wrapper for GetDiscoveredSchema that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::GetDiscoveredSchemaOutcomeCallable GetDiscoveredSchemaCallable(const GetDiscoveredSchemaRequestT& request) const { return SubmitCallable(&SchemasClient::GetDiscoveredSchema, request); } /** * An Async wrapper for GetDiscoveredSchema that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void GetDiscoveredSchemaAsync(const GetDiscoveredSchemaRequestT& request, const GetDiscoveredSchemaResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SchemasClient::GetDiscoveredSchema, request, handler, context); } /** *

Retrieves the resource-based policy attached to a given * registry.

See Also:

AWS * API Reference

*/ virtual Model::GetResourcePolicyOutcome GetResourcePolicy(const Model::GetResourcePolicyRequest& request) const; /** * A Callable wrapper for GetResourcePolicy that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::GetResourcePolicyOutcomeCallable GetResourcePolicyCallable(const GetResourcePolicyRequestT& request) const { return SubmitCallable(&SchemasClient::GetResourcePolicy, request); } /** * An Async wrapper for GetResourcePolicy that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void GetResourcePolicyAsync(const GetResourcePolicyRequestT& request, const GetResourcePolicyResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SchemasClient::GetResourcePolicy, request, handler, context); } /** *

List the discoverers.

See Also:

AWS * API Reference

*/ virtual Model::ListDiscoverersOutcome ListDiscoverers(const Model::ListDiscoverersRequest& request) const; /** * A Callable wrapper for ListDiscoverers that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::ListDiscoverersOutcomeCallable ListDiscoverersCallable(const ListDiscoverersRequestT& request) const { return SubmitCallable(&SchemasClient::ListDiscoverers, request); } /** * An Async wrapper for ListDiscoverers that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void ListDiscoverersAsync(const ListDiscoverersRequestT& request, const ListDiscoverersResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SchemasClient::ListDiscoverers, request, handler, context); } /** *

List the registries.

See Also:

AWS * API Reference

*/ virtual Model::ListRegistriesOutcome ListRegistries(const Model::ListRegistriesRequest& request) const; /** * A Callable wrapper for ListRegistries that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::ListRegistriesOutcomeCallable ListRegistriesCallable(const ListRegistriesRequestT& request) const { return SubmitCallable(&SchemasClient::ListRegistries, request); } /** * An Async wrapper for ListRegistries that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void ListRegistriesAsync(const ListRegistriesRequestT& request, const ListRegistriesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SchemasClient::ListRegistries, request, handler, context); } /** *

Provides a list of the schema versions and related information.

See * Also:

AWS * API Reference

*/ virtual Model::ListSchemaVersionsOutcome ListSchemaVersions(const Model::ListSchemaVersionsRequest& request) const; /** * A Callable wrapper for ListSchemaVersions that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::ListSchemaVersionsOutcomeCallable ListSchemaVersionsCallable(const ListSchemaVersionsRequestT& request) const { return SubmitCallable(&SchemasClient::ListSchemaVersions, request); } /** * An Async wrapper for ListSchemaVersions that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void ListSchemaVersionsAsync(const ListSchemaVersionsRequestT& request, const ListSchemaVersionsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SchemasClient::ListSchemaVersions, request, handler, context); } /** *

List the schemas.

See Also:

AWS * API Reference

*/ virtual Model::ListSchemasOutcome ListSchemas(const Model::ListSchemasRequest& request) const; /** * A Callable wrapper for ListSchemas that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::ListSchemasOutcomeCallable ListSchemasCallable(const ListSchemasRequestT& request) const { return SubmitCallable(&SchemasClient::ListSchemas, request); } /** * An Async wrapper for ListSchemas that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void ListSchemasAsync(const ListSchemasRequestT& request, const ListSchemasResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SchemasClient::ListSchemas, request, handler, context); } /** *

Get tags for 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(&SchemasClient::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(&SchemasClient::ListTagsForResource, request, handler, context); } /** *

Put code binding URI

See Also:

AWS * API Reference

*/ virtual Model::PutCodeBindingOutcome PutCodeBinding(const Model::PutCodeBindingRequest& request) const; /** * A Callable wrapper for PutCodeBinding that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::PutCodeBindingOutcomeCallable PutCodeBindingCallable(const PutCodeBindingRequestT& request) const { return SubmitCallable(&SchemasClient::PutCodeBinding, request); } /** * An Async wrapper for PutCodeBinding that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void PutCodeBindingAsync(const PutCodeBindingRequestT& request, const PutCodeBindingResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SchemasClient::PutCodeBinding, request, handler, context); } /** *

The name of the policy.

See Also:

AWS * API Reference

*/ virtual Model::PutResourcePolicyOutcome PutResourcePolicy(const Model::PutResourcePolicyRequest& request) const; /** * A Callable wrapper for PutResourcePolicy that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::PutResourcePolicyOutcomeCallable PutResourcePolicyCallable(const PutResourcePolicyRequestT& request) const { return SubmitCallable(&SchemasClient::PutResourcePolicy, request); } /** * An Async wrapper for PutResourcePolicy that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void PutResourcePolicyAsync(const PutResourcePolicyRequestT& request, const PutResourcePolicyResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SchemasClient::PutResourcePolicy, request, handler, context); } /** *

Search the schemas

See Also:

AWS * API Reference

*/ virtual Model::SearchSchemasOutcome SearchSchemas(const Model::SearchSchemasRequest& request) const; /** * A Callable wrapper for SearchSchemas that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::SearchSchemasOutcomeCallable SearchSchemasCallable(const SearchSchemasRequestT& request) const { return SubmitCallable(&SchemasClient::SearchSchemas, request); } /** * An Async wrapper for SearchSchemas that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void SearchSchemasAsync(const SearchSchemasRequestT& request, const SearchSchemasResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SchemasClient::SearchSchemas, request, handler, context); } /** *

Starts the discoverer

See Also:

AWS * API Reference

*/ virtual Model::StartDiscovererOutcome StartDiscoverer(const Model::StartDiscovererRequest& request) const; /** * A Callable wrapper for StartDiscoverer that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::StartDiscovererOutcomeCallable StartDiscovererCallable(const StartDiscovererRequestT& request) const { return SubmitCallable(&SchemasClient::StartDiscoverer, request); } /** * An Async wrapper for StartDiscoverer that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void StartDiscovererAsync(const StartDiscovererRequestT& request, const StartDiscovererResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SchemasClient::StartDiscoverer, request, handler, context); } /** *

Stops the discoverer

See Also:

AWS * API Reference

*/ virtual Model::StopDiscovererOutcome StopDiscoverer(const Model::StopDiscovererRequest& request) const; /** * A Callable wrapper for StopDiscoverer that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::StopDiscovererOutcomeCallable StopDiscovererCallable(const StopDiscovererRequestT& request) const { return SubmitCallable(&SchemasClient::StopDiscoverer, request); } /** * An Async wrapper for StopDiscoverer that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void StopDiscovererAsync(const StopDiscovererRequestT& request, const StopDiscovererResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SchemasClient::StopDiscoverer, request, handler, context); } /** *

Add tags to a 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(&SchemasClient::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(&SchemasClient::TagResource, request, handler, context); } /** *

Removes tags from a 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(&SchemasClient::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(&SchemasClient::UntagResource, request, handler, context); } /** *

Updates the discoverer

See Also:

AWS * API Reference

*/ virtual Model::UpdateDiscovererOutcome UpdateDiscoverer(const Model::UpdateDiscovererRequest& request) const; /** * A Callable wrapper for UpdateDiscoverer that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::UpdateDiscovererOutcomeCallable UpdateDiscovererCallable(const UpdateDiscovererRequestT& request) const { return SubmitCallable(&SchemasClient::UpdateDiscoverer, request); } /** * An Async wrapper for UpdateDiscoverer that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void UpdateDiscovererAsync(const UpdateDiscovererRequestT& request, const UpdateDiscovererResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SchemasClient::UpdateDiscoverer, request, handler, context); } /** *

Updates a registry.

See Also:

AWS * API Reference

*/ virtual Model::UpdateRegistryOutcome UpdateRegistry(const Model::UpdateRegistryRequest& request) const; /** * A Callable wrapper for UpdateRegistry that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::UpdateRegistryOutcomeCallable UpdateRegistryCallable(const UpdateRegistryRequestT& request) const { return SubmitCallable(&SchemasClient::UpdateRegistry, request); } /** * An Async wrapper for UpdateRegistry that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void UpdateRegistryAsync(const UpdateRegistryRequestT& request, const UpdateRegistryResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SchemasClient::UpdateRegistry, request, handler, context); } /** *

Updates the schema definition

Inactive schemas will be deleted * after two years.

See Also:

AWS * API Reference

*/ virtual Model::UpdateSchemaOutcome UpdateSchema(const Model::UpdateSchemaRequest& request) const; /** * A Callable wrapper for UpdateSchema that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::UpdateSchemaOutcomeCallable UpdateSchemaCallable(const UpdateSchemaRequestT& request) const { return SubmitCallable(&SchemasClient::UpdateSchema, request); } /** * An Async wrapper for UpdateSchema that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void UpdateSchemaAsync(const UpdateSchemaRequestT& request, const UpdateSchemaResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SchemasClient::UpdateSchema, request, handler, context); } void OverrideEndpoint(const Aws::String& endpoint); std::shared_ptr& accessEndpointProvider(); private: friend class Aws::Client::ClientWithAsyncTemplateMethods; void init(const SchemasClientConfiguration& clientConfiguration); SchemasClientConfiguration m_clientConfiguration; std::shared_ptr m_executor; std::shared_ptr m_endpointProvider; }; } // namespace Schemas } // namespace Aws