/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the schemas-2019-12-02.normal.json service model. */ using System; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using Amazon.Runtime; using Amazon.Schemas.Model; namespace Amazon.Schemas { /// /// Interface for accessing Schemas /// /// Amazon EventBridge Schema Registry /// public partial interface IAmazonSchemas : IAmazonService, IDisposable { #if AWS_ASYNC_ENUMERABLES_API /// /// Paginators for the service /// ISchemasPaginatorFactory Paginators { get; } #endif #region CreateDiscoverer /// /// Creates a discoverer. /// /// Container for the necessary parameters to execute the CreateDiscoverer service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateDiscoverer service method, as returned by Schemas. /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for CreateDiscoverer Operation Task CreateDiscovererAsync(CreateDiscovererRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateRegistry /// /// Creates a registry. /// /// Container for the necessary parameters to execute the CreateRegistry service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateRegistry service method, as returned by Schemas. /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for CreateRegistry Operation Task CreateRegistryAsync(CreateRegistryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateSchema /// /// Creates a schema definition. /// /// /// /// Inactive schemas will be deleted after two years. /// /// /// /// Container for the necessary parameters to execute the CreateSchema service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateSchema service method, as returned by Schemas. /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for CreateSchema Operation Task CreateSchemaAsync(CreateSchemaRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteDiscoverer /// /// Deletes a discoverer. /// /// Container for the necessary parameters to execute the DeleteDiscoverer service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteDiscoverer service method, as returned by Schemas. /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for DeleteDiscoverer Operation Task DeleteDiscovererAsync(DeleteDiscovererRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteRegistry /// /// Deletes a Registry. /// /// Container for the necessary parameters to execute the DeleteRegistry service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteRegistry service method, as returned by Schemas. /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for DeleteRegistry Operation Task DeleteRegistryAsync(DeleteRegistryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteResourcePolicy /// /// Delete the resource-based policy attached to the specified registry. /// /// Container for the necessary parameters to execute the DeleteResourcePolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteResourcePolicy service method, as returned by Schemas. /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for DeleteResourcePolicy Operation Task DeleteResourcePolicyAsync(DeleteResourcePolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteSchema /// /// Delete a schema definition. /// /// Container for the necessary parameters to execute the DeleteSchema service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteSchema service method, as returned by Schemas. /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for DeleteSchema Operation Task DeleteSchemaAsync(DeleteSchemaRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteSchemaVersion /// /// Delete the schema version definition /// /// Container for the necessary parameters to execute the DeleteSchemaVersion service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteSchemaVersion service method, as returned by Schemas. /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for DeleteSchemaVersion Operation Task DeleteSchemaVersionAsync(DeleteSchemaVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeCodeBinding /// /// Describe the code binding URI. /// /// Container for the necessary parameters to execute the DescribeCodeBinding service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeCodeBinding service method, as returned by Schemas. /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for DescribeCodeBinding Operation Task DescribeCodeBindingAsync(DescribeCodeBindingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeDiscoverer /// /// Describes the discoverer. /// /// Container for the necessary parameters to execute the DescribeDiscoverer service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeDiscoverer service method, as returned by Schemas. /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for DescribeDiscoverer Operation Task DescribeDiscovererAsync(DescribeDiscovererRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeRegistry /// /// Describes the registry. /// /// Container for the necessary parameters to execute the DescribeRegistry service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeRegistry service method, as returned by Schemas. /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for DescribeRegistry Operation Task DescribeRegistryAsync(DescribeRegistryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeSchema /// /// Retrieve the schema definition. /// /// Container for the necessary parameters to execute the DescribeSchema service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeSchema service method, as returned by Schemas. /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for DescribeSchema Operation Task DescribeSchemaAsync(DescribeSchemaRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ExportSchema /// /// /// /// Container for the necessary parameters to execute the ExportSchema service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ExportSchema service method, as returned by Schemas. /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for ExportSchema Operation Task ExportSchemaAsync(ExportSchemaRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetCodeBindingSource /// /// Get the code binding source URI. /// /// Container for the necessary parameters to execute the GetCodeBindingSource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetCodeBindingSource service method, as returned by Schemas. /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for GetCodeBindingSource Operation Task GetCodeBindingSourceAsync(GetCodeBindingSourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetDiscoveredSchema /// /// Get the discovered schema that was generated based on sampled events. /// /// Container for the necessary parameters to execute the GetDiscoveredSchema service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetDiscoveredSchema service method, as returned by Schemas. /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for GetDiscoveredSchema Operation Task GetDiscoveredSchemaAsync(GetDiscoveredSchemaRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetResourcePolicy /// /// Retrieves the resource-based policy attached to a given registry. /// /// Container for the necessary parameters to execute the GetResourcePolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetResourcePolicy service method, as returned by Schemas. /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for GetResourcePolicy Operation Task GetResourcePolicyAsync(GetResourcePolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListDiscoverers /// /// List the discoverers. /// /// Container for the necessary parameters to execute the ListDiscoverers service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListDiscoverers service method, as returned by Schemas. /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for ListDiscoverers Operation Task ListDiscoverersAsync(ListDiscoverersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListRegistries /// /// List the registries. /// /// Container for the necessary parameters to execute the ListRegistries service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListRegistries service method, as returned by Schemas. /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for ListRegistries Operation Task ListRegistriesAsync(ListRegistriesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListSchemas /// /// List the schemas. /// /// Container for the necessary parameters to execute the ListSchemas service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListSchemas service method, as returned by Schemas. /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for ListSchemas Operation Task ListSchemasAsync(ListSchemasRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListSchemaVersions /// /// Provides a list of the schema versions and related information. /// /// Container for the necessary parameters to execute the ListSchemaVersions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListSchemaVersions service method, as returned by Schemas. /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for ListSchemaVersions Operation Task ListSchemaVersionsAsync(ListSchemaVersionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListTagsForResource /// /// Get tags for resource. /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListTagsForResource service method, as returned by Schemas. /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for ListTagsForResource Operation Task ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region PutCodeBinding /// /// Put code binding URI /// /// Container for the necessary parameters to execute the PutCodeBinding service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PutCodeBinding service method, as returned by Schemas. /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for PutCodeBinding Operation Task PutCodeBindingAsync(PutCodeBindingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region PutResourcePolicy /// /// The name of the policy. /// /// Container for the necessary parameters to execute the PutResourcePolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PutResourcePolicy service method, as returned by Schemas. /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for PutResourcePolicy Operation Task PutResourcePolicyAsync(PutResourcePolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region SearchSchemas /// /// Search the schemas /// /// Container for the necessary parameters to execute the SearchSchemas service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the SearchSchemas service method, as returned by Schemas. /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for SearchSchemas Operation Task SearchSchemasAsync(SearchSchemasRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region StartDiscoverer /// /// Starts the discoverer /// /// Container for the necessary parameters to execute the StartDiscoverer service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StartDiscoverer service method, as returned by Schemas. /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for StartDiscoverer Operation Task StartDiscovererAsync(StartDiscovererRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region StopDiscoverer /// /// Stops the discoverer /// /// Container for the necessary parameters to execute the StopDiscoverer service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StopDiscoverer service method, as returned by Schemas. /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for StopDiscoverer Operation Task StopDiscovererAsync(StopDiscovererRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region TagResource /// /// Add tags to a resource. /// /// Container for the necessary parameters to execute the TagResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the TagResource service method, as returned by Schemas. /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for TagResource Operation Task TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UntagResource /// /// Removes tags from a resource. /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UntagResource service method, as returned by Schemas. /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for UntagResource Operation Task UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateDiscoverer /// /// Updates the discoverer /// /// Container for the necessary parameters to execute the UpdateDiscoverer service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateDiscoverer service method, as returned by Schemas. /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for UpdateDiscoverer Operation Task UpdateDiscovererAsync(UpdateDiscovererRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateRegistry /// /// Updates a registry. /// /// Container for the necessary parameters to execute the UpdateRegistry service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateRegistry service method, as returned by Schemas. /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for UpdateRegistry Operation Task UpdateRegistryAsync(UpdateRegistryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateSchema /// /// Updates the schema definition /// /// /// /// Inactive schemas will be deleted after two years. /// /// /// /// Container for the necessary parameters to execute the UpdateSchema service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateSchema service method, as returned by Schemas. /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for UpdateSchema Operation Task UpdateSchemaAsync(UpdateSchemaRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion } }