/*
* 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.Collections.Generic;
using System.Net;
using Amazon.Schemas.Model;
using Amazon.Schemas.Model.Internal.MarshallTransformations;
using Amazon.Schemas.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.Schemas
{
///
/// Implementation for accessing Schemas
///
/// Amazon EventBridge Schema Registry
///
public partial class AmazonSchemasClient : AmazonServiceClient, IAmazonSchemas
{
private static IServiceMetadata serviceMetadata = new AmazonSchemasMetadata();
#if BCL45 || AWS_ASYNC_ENUMERABLES_API
private ISchemasPaginatorFactory _paginators;
///
/// Paginators for the service
///
public ISchemasPaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new SchemasPaginatorFactory(this);
}
return this._paginators;
}
}
#endif
#region Constructors
///
/// Constructs AmazonSchemasClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
public AmazonSchemasClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonSchemasConfig()) { }
///
/// Constructs AmazonSchemasClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
/// The region to connect.
public AmazonSchemasClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonSchemasConfig{RegionEndpoint = region}) { }
///
/// Constructs AmazonSchemasClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
/// The AmazonSchemasClient Configuration Object
public AmazonSchemasClient(AmazonSchemasConfig config)
: base(FallbackCredentialsFactory.GetCredentials(config), config){}
///
/// Constructs AmazonSchemasClient with AWS Credentials
///
/// AWS Credentials
public AmazonSchemasClient(AWSCredentials credentials)
: this(credentials, new AmazonSchemasConfig())
{
}
///
/// Constructs AmazonSchemasClient with AWS Credentials
///
/// AWS Credentials
/// The region to connect.
public AmazonSchemasClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonSchemasConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonSchemasClient with AWS Credentials and an
/// AmazonSchemasClient Configuration object.
///
/// AWS Credentials
/// The AmazonSchemasClient Configuration Object
public AmazonSchemasClient(AWSCredentials credentials, AmazonSchemasConfig clientConfig)
: base(credentials, clientConfig)
{
}
///
/// Constructs AmazonSchemasClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
public AmazonSchemasClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonSchemasConfig())
{
}
///
/// Constructs AmazonSchemasClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The region to connect.
public AmazonSchemasClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonSchemasConfig() {RegionEndpoint=region})
{
}
///
/// Constructs AmazonSchemasClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonSchemasClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The AmazonSchemasClient Configuration Object
public AmazonSchemasClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonSchemasConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
///
/// Constructs AmazonSchemasClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
public AmazonSchemasClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonSchemasConfig())
{
}
///
/// Constructs AmazonSchemasClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The region to connect.
public AmazonSchemasClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonSchemasConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonSchemasClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonSchemasClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The AmazonSchemasClient Configuration Object
public AmazonSchemasClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonSchemasConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
{
}
#endregion
#region Overrides
///
/// Creates the signer for the service.
///
protected override AbstractAWSSigner CreateSigner()
{
return new AWS4Signer();
}
///
/// Customize the pipeline
///
///
protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline)
{
pipeline.RemoveHandler();
pipeline.AddHandlerAfter(new AmazonSchemasEndpointResolver());
}
///
/// Capture metadata for the service.
///
protected override IServiceMetadata ServiceMetadata
{
get
{
return serviceMetadata;
}
}
#endregion
#region Dispose
///
/// Disposes the service client.
///
protected override void Dispose(bool disposing)
{
base.Dispose(disposing);
}
#endregion
#region CreateDiscoverer
///
/// Creates a discoverer.
///
/// Container for the necessary parameters to execute the CreateDiscoverer service method.
///
/// The response from the CreateDiscoverer service method, as returned by Schemas.
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
/// REST API Reference for CreateDiscoverer Operation
public virtual CreateDiscovererResponse CreateDiscoverer(CreateDiscovererRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDiscovererRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDiscovererResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateDiscoverer operation.
///
///
/// Container for the necessary parameters to execute the CreateDiscoverer operation on AmazonSchemasClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateDiscoverer
/// operation.
/// REST API Reference for CreateDiscoverer Operation
public virtual IAsyncResult BeginCreateDiscoverer(CreateDiscovererRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDiscovererRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDiscovererResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateDiscoverer operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateDiscoverer.
///
/// Returns a CreateDiscovererResult from Schemas.
/// REST API Reference for CreateDiscoverer Operation
public virtual CreateDiscovererResponse EndCreateDiscoverer(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateRegistry
///
/// Creates a registry.
///
/// Container for the necessary parameters to execute the CreateRegistry service method.
///
/// The response from the CreateRegistry service method, as returned by Schemas.
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
/// REST API Reference for CreateRegistry Operation
public virtual CreateRegistryResponse CreateRegistry(CreateRegistryRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateRegistryRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateRegistryResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateRegistry operation.
///
///
/// Container for the necessary parameters to execute the CreateRegistry operation on AmazonSchemasClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateRegistry
/// operation.
/// REST API Reference for CreateRegistry Operation
public virtual IAsyncResult BeginCreateRegistry(CreateRegistryRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateRegistryRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateRegistryResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateRegistry operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateRegistry.
///
/// Returns a CreateRegistryResult from Schemas.
/// REST API Reference for CreateRegistry Operation
public virtual CreateRegistryResponse EndCreateRegistry(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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.
///
/// The response from the CreateSchema service method, as returned by Schemas.
///
///
///
///
///
///
///
///
///
///
///
///
/// REST API Reference for CreateSchema Operation
public virtual CreateSchemaResponse CreateSchema(CreateSchemaRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateSchemaRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateSchemaResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateSchema operation.
///
///
/// Container for the necessary parameters to execute the CreateSchema operation on AmazonSchemasClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateSchema
/// operation.
/// REST API Reference for CreateSchema Operation
public virtual IAsyncResult BeginCreateSchema(CreateSchemaRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateSchemaRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateSchemaResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateSchema operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateSchema.
///
/// Returns a CreateSchemaResult from Schemas.
/// REST API Reference for CreateSchema Operation
public virtual CreateSchemaResponse EndCreateSchema(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteDiscoverer
///
/// Deletes a discoverer.
///
/// Container for the necessary parameters to execute the DeleteDiscoverer service method.
///
/// The response from the DeleteDiscoverer service method, as returned by Schemas.
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
/// REST API Reference for DeleteDiscoverer Operation
public virtual DeleteDiscovererResponse DeleteDiscoverer(DeleteDiscovererRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDiscovererRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDiscovererResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteDiscoverer operation.
///
///
/// Container for the necessary parameters to execute the DeleteDiscoverer operation on AmazonSchemasClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteDiscoverer
/// operation.
/// REST API Reference for DeleteDiscoverer Operation
public virtual IAsyncResult BeginDeleteDiscoverer(DeleteDiscovererRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDiscovererRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDiscovererResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteDiscoverer operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteDiscoverer.
///
/// Returns a DeleteDiscovererResult from Schemas.
/// REST API Reference for DeleteDiscoverer Operation
public virtual DeleteDiscovererResponse EndDeleteDiscoverer(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteRegistry
///
/// Deletes a Registry.
///
/// Container for the necessary parameters to execute the DeleteRegistry service method.
///
/// The response from the DeleteRegistry service method, as returned by Schemas.
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
/// REST API Reference for DeleteRegistry Operation
public virtual DeleteRegistryResponse DeleteRegistry(DeleteRegistryRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteRegistryRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteRegistryResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteRegistry operation.
///
///
/// Container for the necessary parameters to execute the DeleteRegistry operation on AmazonSchemasClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteRegistry
/// operation.
/// REST API Reference for DeleteRegistry Operation
public virtual IAsyncResult BeginDeleteRegistry(DeleteRegistryRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteRegistryRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteRegistryResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteRegistry operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteRegistry.
///
/// Returns a DeleteRegistryResult from Schemas.
/// REST API Reference for DeleteRegistry Operation
public virtual DeleteRegistryResponse EndDeleteRegistry(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteResourcePolicy
///
/// Delete the resource-based policy attached to the specified registry.
///
/// Container for the necessary parameters to execute the DeleteResourcePolicy service method.
///
/// The response from the DeleteResourcePolicy service method, as returned by Schemas.
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
/// REST API Reference for DeleteResourcePolicy Operation
public virtual DeleteResourcePolicyResponse DeleteResourcePolicy(DeleteResourcePolicyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteResourcePolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteResourcePolicyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteResourcePolicy operation.
///
///
/// Container for the necessary parameters to execute the DeleteResourcePolicy operation on AmazonSchemasClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteResourcePolicy
/// operation.
/// REST API Reference for DeleteResourcePolicy Operation
public virtual IAsyncResult BeginDeleteResourcePolicy(DeleteResourcePolicyRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteResourcePolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteResourcePolicyResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteResourcePolicy operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteResourcePolicy.
///
/// Returns a DeleteResourcePolicyResult from Schemas.
/// REST API Reference for DeleteResourcePolicy Operation
public virtual DeleteResourcePolicyResponse EndDeleteResourcePolicy(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteSchema
///
/// Delete a schema definition.
///
/// Container for the necessary parameters to execute the DeleteSchema service method.
///
/// The response from the DeleteSchema service method, as returned by Schemas.
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
/// REST API Reference for DeleteSchema Operation
public virtual DeleteSchemaResponse DeleteSchema(DeleteSchemaRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteSchemaRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteSchemaResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteSchema operation.
///
///
/// Container for the necessary parameters to execute the DeleteSchema operation on AmazonSchemasClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteSchema
/// operation.
/// REST API Reference for DeleteSchema Operation
public virtual IAsyncResult BeginDeleteSchema(DeleteSchemaRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteSchemaRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteSchemaResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteSchema operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteSchema.
///
/// Returns a DeleteSchemaResult from Schemas.
/// REST API Reference for DeleteSchema Operation
public virtual DeleteSchemaResponse EndDeleteSchema(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteSchemaVersion
///
/// Delete the schema version definition
///
/// Container for the necessary parameters to execute the DeleteSchemaVersion service method.
///
/// The response from the DeleteSchemaVersion service method, as returned by Schemas.
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
/// REST API Reference for DeleteSchemaVersion Operation
public virtual DeleteSchemaVersionResponse DeleteSchemaVersion(DeleteSchemaVersionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteSchemaVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteSchemaVersionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteSchemaVersion operation.
///
///
/// Container for the necessary parameters to execute the DeleteSchemaVersion operation on AmazonSchemasClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteSchemaVersion
/// operation.
/// REST API Reference for DeleteSchemaVersion Operation
public virtual IAsyncResult BeginDeleteSchemaVersion(DeleteSchemaVersionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteSchemaVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteSchemaVersionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteSchemaVersion operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteSchemaVersion.
///
/// Returns a DeleteSchemaVersionResult from Schemas.
/// REST API Reference for DeleteSchemaVersion Operation
public virtual DeleteSchemaVersionResponse EndDeleteSchemaVersion(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeCodeBinding
///
/// Describe the code binding URI.
///
/// Container for the necessary parameters to execute the DescribeCodeBinding service method.
///
/// The response from the DescribeCodeBinding service method, as returned by Schemas.
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
/// REST API Reference for DescribeCodeBinding Operation
public virtual DescribeCodeBindingResponse DescribeCodeBinding(DescribeCodeBindingRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeCodeBindingRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeCodeBindingResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeCodeBinding operation.
///
///
/// Container for the necessary parameters to execute the DescribeCodeBinding operation on AmazonSchemasClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeCodeBinding
/// operation.
/// REST API Reference for DescribeCodeBinding Operation
public virtual IAsyncResult BeginDescribeCodeBinding(DescribeCodeBindingRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeCodeBindingRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeCodeBindingResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeCodeBinding operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeCodeBinding.
///
/// Returns a DescribeCodeBindingResult from Schemas.
/// REST API Reference for DescribeCodeBinding Operation
public virtual DescribeCodeBindingResponse EndDescribeCodeBinding(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeDiscoverer
///
/// Describes the discoverer.
///
/// Container for the necessary parameters to execute the DescribeDiscoverer service method.
///
/// The response from the DescribeDiscoverer service method, as returned by Schemas.
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
/// REST API Reference for DescribeDiscoverer Operation
public virtual DescribeDiscovererResponse DescribeDiscoverer(DescribeDiscovererRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDiscovererRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDiscovererResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeDiscoverer operation.
///
///
/// Container for the necessary parameters to execute the DescribeDiscoverer operation on AmazonSchemasClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeDiscoverer
/// operation.
/// REST API Reference for DescribeDiscoverer Operation
public virtual IAsyncResult BeginDescribeDiscoverer(DescribeDiscovererRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDiscovererRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDiscovererResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeDiscoverer operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeDiscoverer.
///
/// Returns a DescribeDiscovererResult from Schemas.
/// REST API Reference for DescribeDiscoverer Operation
public virtual DescribeDiscovererResponse EndDescribeDiscoverer(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeRegistry
///
/// Describes the registry.
///
/// Container for the necessary parameters to execute the DescribeRegistry service method.
///
/// The response from the DescribeRegistry service method, as returned by Schemas.
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
/// REST API Reference for DescribeRegistry Operation
public virtual DescribeRegistryResponse DescribeRegistry(DescribeRegistryRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeRegistryRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeRegistryResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeRegistry operation.
///
///
/// Container for the necessary parameters to execute the DescribeRegistry operation on AmazonSchemasClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeRegistry
/// operation.
/// REST API Reference for DescribeRegistry Operation
public virtual IAsyncResult BeginDescribeRegistry(DescribeRegistryRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeRegistryRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeRegistryResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeRegistry operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeRegistry.
///
/// Returns a DescribeRegistryResult from Schemas.
/// REST API Reference for DescribeRegistry Operation
public virtual DescribeRegistryResponse EndDescribeRegistry(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeSchema
///
/// Retrieve the schema definition.
///
/// Container for the necessary parameters to execute the DescribeSchema service method.
///
/// The response from the DescribeSchema service method, as returned by Schemas.
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
/// REST API Reference for DescribeSchema Operation
public virtual DescribeSchemaResponse DescribeSchema(DescribeSchemaRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeSchemaRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeSchemaResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeSchema operation.
///
///
/// Container for the necessary parameters to execute the DescribeSchema operation on AmazonSchemasClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeSchema
/// operation.
/// REST API Reference for DescribeSchema Operation
public virtual IAsyncResult BeginDescribeSchema(DescribeSchemaRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeSchemaRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeSchemaResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeSchema operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeSchema.
///
/// Returns a DescribeSchemaResult from Schemas.
/// REST API Reference for DescribeSchema Operation
public virtual DescribeSchemaResponse EndDescribeSchema(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ExportSchema
///
///
///
/// Container for the necessary parameters to execute the ExportSchema service method.
///
/// The response from the ExportSchema service method, as returned by Schemas.
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
/// REST API Reference for ExportSchema Operation
public virtual ExportSchemaResponse ExportSchema(ExportSchemaRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ExportSchemaRequestMarshaller.Instance;
options.ResponseUnmarshaller = ExportSchemaResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ExportSchema operation.
///
///
/// Container for the necessary parameters to execute the ExportSchema operation on AmazonSchemasClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndExportSchema
/// operation.
/// REST API Reference for ExportSchema Operation
public virtual IAsyncResult BeginExportSchema(ExportSchemaRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ExportSchemaRequestMarshaller.Instance;
options.ResponseUnmarshaller = ExportSchemaResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ExportSchema operation.
///
///
/// The IAsyncResult returned by the call to BeginExportSchema.
///
/// Returns a ExportSchemaResult from Schemas.
/// REST API Reference for ExportSchema Operation
public virtual ExportSchemaResponse EndExportSchema(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetCodeBindingSource
///
/// Get the code binding source URI.
///
/// Container for the necessary parameters to execute the GetCodeBindingSource service method.
///
/// The response from the GetCodeBindingSource service method, as returned by Schemas.
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
/// REST API Reference for GetCodeBindingSource Operation
public virtual GetCodeBindingSourceResponse GetCodeBindingSource(GetCodeBindingSourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetCodeBindingSourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetCodeBindingSourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetCodeBindingSource operation.
///
///
/// Container for the necessary parameters to execute the GetCodeBindingSource operation on AmazonSchemasClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetCodeBindingSource
/// operation.
/// REST API Reference for GetCodeBindingSource Operation
public virtual IAsyncResult BeginGetCodeBindingSource(GetCodeBindingSourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetCodeBindingSourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetCodeBindingSourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetCodeBindingSource operation.
///
///
/// The IAsyncResult returned by the call to BeginGetCodeBindingSource.
///
/// Returns a GetCodeBindingSourceResult from Schemas.
/// REST API Reference for GetCodeBindingSource Operation
public virtual GetCodeBindingSourceResponse EndGetCodeBindingSource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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.
///
/// The response from the GetDiscoveredSchema service method, as returned by Schemas.
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
/// REST API Reference for GetDiscoveredSchema Operation
public virtual GetDiscoveredSchemaResponse GetDiscoveredSchema(GetDiscoveredSchemaRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDiscoveredSchemaRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDiscoveredSchemaResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetDiscoveredSchema operation.
///
///
/// Container for the necessary parameters to execute the GetDiscoveredSchema operation on AmazonSchemasClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetDiscoveredSchema
/// operation.
/// REST API Reference for GetDiscoveredSchema Operation
public virtual IAsyncResult BeginGetDiscoveredSchema(GetDiscoveredSchemaRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDiscoveredSchemaRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDiscoveredSchemaResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetDiscoveredSchema operation.
///
///
/// The IAsyncResult returned by the call to BeginGetDiscoveredSchema.
///
/// Returns a GetDiscoveredSchemaResult from Schemas.
/// REST API Reference for GetDiscoveredSchema Operation
public virtual GetDiscoveredSchemaResponse EndGetDiscoveredSchema(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetResourcePolicy
///
/// Retrieves the resource-based policy attached to a given registry.
///
/// Container for the necessary parameters to execute the GetResourcePolicy service method.
///
/// The response from the GetResourcePolicy service method, as returned by Schemas.
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
/// REST API Reference for GetResourcePolicy Operation
public virtual GetResourcePolicyResponse GetResourcePolicy(GetResourcePolicyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetResourcePolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetResourcePolicyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetResourcePolicy operation.
///
///
/// Container for the necessary parameters to execute the GetResourcePolicy operation on AmazonSchemasClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetResourcePolicy
/// operation.
/// REST API Reference for GetResourcePolicy Operation
public virtual IAsyncResult BeginGetResourcePolicy(GetResourcePolicyRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetResourcePolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetResourcePolicyResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetResourcePolicy operation.
///
///
/// The IAsyncResult returned by the call to BeginGetResourcePolicy.
///
/// Returns a GetResourcePolicyResult from Schemas.
/// REST API Reference for GetResourcePolicy Operation
public virtual GetResourcePolicyResponse EndGetResourcePolicy(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListDiscoverers
///
/// List the discoverers.
///
/// Container for the necessary parameters to execute the ListDiscoverers service method.
///
/// The response from the ListDiscoverers service method, as returned by Schemas.
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
/// REST API Reference for ListDiscoverers Operation
public virtual ListDiscoverersResponse ListDiscoverers(ListDiscoverersRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDiscoverersRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDiscoverersResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListDiscoverers operation.
///
///
/// Container for the necessary parameters to execute the ListDiscoverers operation on AmazonSchemasClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListDiscoverers
/// operation.
/// REST API Reference for ListDiscoverers Operation
public virtual IAsyncResult BeginListDiscoverers(ListDiscoverersRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDiscoverersRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDiscoverersResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListDiscoverers operation.
///
///
/// The IAsyncResult returned by the call to BeginListDiscoverers.
///
/// Returns a ListDiscoverersResult from Schemas.
/// REST API Reference for ListDiscoverers Operation
public virtual ListDiscoverersResponse EndListDiscoverers(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListRegistries
///
/// List the registries.
///
/// Container for the necessary parameters to execute the ListRegistries service method.
///
/// The response from the ListRegistries service method, as returned by Schemas.
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
/// REST API Reference for ListRegistries Operation
public virtual ListRegistriesResponse ListRegistries(ListRegistriesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListRegistriesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListRegistriesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListRegistries operation.
///
///
/// Container for the necessary parameters to execute the ListRegistries operation on AmazonSchemasClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListRegistries
/// operation.
/// REST API Reference for ListRegistries Operation
public virtual IAsyncResult BeginListRegistries(ListRegistriesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListRegistriesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListRegistriesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListRegistries operation.
///
///
/// The IAsyncResult returned by the call to BeginListRegistries.
///
/// Returns a ListRegistriesResult from Schemas.
/// REST API Reference for ListRegistries Operation
public virtual ListRegistriesResponse EndListRegistries(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListSchemas
///
/// List the schemas.
///
/// Container for the necessary parameters to execute the ListSchemas service method.
///
/// The response from the ListSchemas service method, as returned by Schemas.
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
/// REST API Reference for ListSchemas Operation
public virtual ListSchemasResponse ListSchemas(ListSchemasRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSchemasRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSchemasResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListSchemas operation.
///
///
/// Container for the necessary parameters to execute the ListSchemas operation on AmazonSchemasClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListSchemas
/// operation.
/// REST API Reference for ListSchemas Operation
public virtual IAsyncResult BeginListSchemas(ListSchemasRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSchemasRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSchemasResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListSchemas operation.
///
///
/// The IAsyncResult returned by the call to BeginListSchemas.
///
/// Returns a ListSchemasResult from Schemas.
/// REST API Reference for ListSchemas Operation
public virtual ListSchemasResponse EndListSchemas(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListSchemaVersions
///
/// Provides a list of the schema versions and related information.
///
/// Container for the necessary parameters to execute the ListSchemaVersions service method.
///
/// The response from the ListSchemaVersions service method, as returned by Schemas.
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
/// REST API Reference for ListSchemaVersions Operation
public virtual ListSchemaVersionsResponse ListSchemaVersions(ListSchemaVersionsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSchemaVersionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSchemaVersionsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListSchemaVersions operation.
///
///
/// Container for the necessary parameters to execute the ListSchemaVersions operation on AmazonSchemasClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListSchemaVersions
/// operation.
/// REST API Reference for ListSchemaVersions Operation
public virtual IAsyncResult BeginListSchemaVersions(ListSchemaVersionsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSchemaVersionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSchemaVersionsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListSchemaVersions operation.
///
///
/// The IAsyncResult returned by the call to BeginListSchemaVersions.
///
/// Returns a ListSchemaVersionsResult from Schemas.
/// REST API Reference for ListSchemaVersions Operation
public virtual ListSchemaVersionsResponse EndListSchemaVersions(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListTagsForResource
///
/// Get tags for resource.
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// The response from the ListTagsForResource service method, as returned by Schemas.
///
///
///
///
///
///
///
///
///
///
///
///
/// REST API Reference for ListTagsForResource Operation
public virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListTagsForResource operation.
///
///
/// Container for the necessary parameters to execute the ListTagsForResource operation on AmazonSchemasClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTagsForResource
/// operation.
/// REST API Reference for ListTagsForResource Operation
public virtual IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListTagsForResource operation.
///
///
/// The IAsyncResult returned by the call to BeginListTagsForResource.
///
/// Returns a ListTagsForResourceResult from Schemas.
/// REST API Reference for ListTagsForResource Operation
public virtual ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region PutCodeBinding
///
/// Put code binding URI
///
/// Container for the necessary parameters to execute the PutCodeBinding service method.
///
/// The response from the PutCodeBinding service method, as returned by Schemas.
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
/// REST API Reference for PutCodeBinding Operation
public virtual PutCodeBindingResponse PutCodeBinding(PutCodeBindingRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutCodeBindingRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutCodeBindingResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the PutCodeBinding operation.
///
///
/// Container for the necessary parameters to execute the PutCodeBinding operation on AmazonSchemasClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndPutCodeBinding
/// operation.
/// REST API Reference for PutCodeBinding Operation
public virtual IAsyncResult BeginPutCodeBinding(PutCodeBindingRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutCodeBindingRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutCodeBindingResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the PutCodeBinding operation.
///
///
/// The IAsyncResult returned by the call to BeginPutCodeBinding.
///
/// Returns a PutCodeBindingResult from Schemas.
/// REST API Reference for PutCodeBinding Operation
public virtual PutCodeBindingResponse EndPutCodeBinding(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region PutResourcePolicy
///
/// The name of the policy.
///
/// Container for the necessary parameters to execute the PutResourcePolicy service method.
///
/// The response from the PutResourcePolicy service method, as returned by Schemas.
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
/// REST API Reference for PutResourcePolicy Operation
public virtual PutResourcePolicyResponse PutResourcePolicy(PutResourcePolicyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutResourcePolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutResourcePolicyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the PutResourcePolicy operation.
///
///
/// Container for the necessary parameters to execute the PutResourcePolicy operation on AmazonSchemasClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndPutResourcePolicy
/// operation.
/// REST API Reference for PutResourcePolicy Operation
public virtual IAsyncResult BeginPutResourcePolicy(PutResourcePolicyRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutResourcePolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutResourcePolicyResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the PutResourcePolicy operation.
///
///
/// The IAsyncResult returned by the call to BeginPutResourcePolicy.
///
/// Returns a PutResourcePolicyResult from Schemas.
/// REST API Reference for PutResourcePolicy Operation
public virtual PutResourcePolicyResponse EndPutResourcePolicy(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region SearchSchemas
///
/// Search the schemas
///
/// Container for the necessary parameters to execute the SearchSchemas service method.
///
/// The response from the SearchSchemas service method, as returned by Schemas.
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
/// REST API Reference for SearchSchemas Operation
public virtual SearchSchemasResponse SearchSchemas(SearchSchemasRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = SearchSchemasRequestMarshaller.Instance;
options.ResponseUnmarshaller = SearchSchemasResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the SearchSchemas operation.
///
///
/// Container for the necessary parameters to execute the SearchSchemas operation on AmazonSchemasClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndSearchSchemas
/// operation.
/// REST API Reference for SearchSchemas Operation
public virtual IAsyncResult BeginSearchSchemas(SearchSchemasRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = SearchSchemasRequestMarshaller.Instance;
options.ResponseUnmarshaller = SearchSchemasResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the SearchSchemas operation.
///
///
/// The IAsyncResult returned by the call to BeginSearchSchemas.
///
/// Returns a SearchSchemasResult from Schemas.
/// REST API Reference for SearchSchemas Operation
public virtual SearchSchemasResponse EndSearchSchemas(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region StartDiscoverer
///
/// Starts the discoverer
///
/// Container for the necessary parameters to execute the StartDiscoverer service method.
///
/// The response from the StartDiscoverer service method, as returned by Schemas.
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
/// REST API Reference for StartDiscoverer Operation
public virtual StartDiscovererResponse StartDiscoverer(StartDiscovererRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartDiscovererRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartDiscovererResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the StartDiscoverer operation.
///
///
/// Container for the necessary parameters to execute the StartDiscoverer operation on AmazonSchemasClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStartDiscoverer
/// operation.
/// REST API Reference for StartDiscoverer Operation
public virtual IAsyncResult BeginStartDiscoverer(StartDiscovererRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartDiscovererRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartDiscovererResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the StartDiscoverer operation.
///
///
/// The IAsyncResult returned by the call to BeginStartDiscoverer.
///
/// Returns a StartDiscovererResult from Schemas.
/// REST API Reference for StartDiscoverer Operation
public virtual StartDiscovererResponse EndStartDiscoverer(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region StopDiscoverer
///
/// Stops the discoverer
///
/// Container for the necessary parameters to execute the StopDiscoverer service method.
///
/// The response from the StopDiscoverer service method, as returned by Schemas.
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
/// REST API Reference for StopDiscoverer Operation
public virtual StopDiscovererResponse StopDiscoverer(StopDiscovererRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StopDiscovererRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopDiscovererResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the StopDiscoverer operation.
///
///
/// Container for the necessary parameters to execute the StopDiscoverer operation on AmazonSchemasClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStopDiscoverer
/// operation.
/// REST API Reference for StopDiscoverer Operation
public virtual IAsyncResult BeginStopDiscoverer(StopDiscovererRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = StopDiscovererRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopDiscovererResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the StopDiscoverer operation.
///
///
/// The IAsyncResult returned by the call to BeginStopDiscoverer.
///
/// Returns a StopDiscovererResult from Schemas.
/// REST API Reference for StopDiscoverer Operation
public virtual StopDiscovererResponse EndStopDiscoverer(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region TagResource
///
/// Add tags to a resource.
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// The response from the TagResource service method, as returned by Schemas.
///
///
///
///
///
///
///
///
///
///
///
///
/// REST API Reference for TagResource Operation
public virtual TagResourceResponse TagResource(TagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the TagResource operation.
///
///
/// Container for the necessary parameters to execute the TagResource operation on AmazonSchemasClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTagResource
/// operation.
/// REST API Reference for TagResource Operation
public virtual IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the TagResource operation.
///
///
/// The IAsyncResult returned by the call to BeginTagResource.
///
/// Returns a TagResourceResult from Schemas.
/// REST API Reference for TagResource Operation
public virtual TagResourceResponse EndTagResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UntagResource
///
/// Removes tags from a resource.
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// The response from the UntagResource service method, as returned by Schemas.
///
///
///
///
///
///
///
///
///
///
///
///
/// REST API Reference for UntagResource Operation
public virtual UntagResourceResponse UntagResource(UntagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UntagResource operation.
///
///
/// Container for the necessary parameters to execute the UntagResource operation on AmazonSchemasClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUntagResource
/// operation.
/// REST API Reference for UntagResource Operation
public virtual IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UntagResource operation.
///
///
/// The IAsyncResult returned by the call to BeginUntagResource.
///
/// Returns a UntagResourceResult from Schemas.
/// REST API Reference for UntagResource Operation
public virtual UntagResourceResponse EndUntagResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateDiscoverer
///
/// Updates the discoverer
///
/// Container for the necessary parameters to execute the UpdateDiscoverer service method.
///
/// The response from the UpdateDiscoverer service method, as returned by Schemas.
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
/// REST API Reference for UpdateDiscoverer Operation
public virtual UpdateDiscovererResponse UpdateDiscoverer(UpdateDiscovererRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDiscovererRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDiscovererResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateDiscoverer operation.
///
///
/// Container for the necessary parameters to execute the UpdateDiscoverer operation on AmazonSchemasClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateDiscoverer
/// operation.
/// REST API Reference for UpdateDiscoverer Operation
public virtual IAsyncResult BeginUpdateDiscoverer(UpdateDiscovererRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDiscovererRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDiscovererResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateDiscoverer operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateDiscoverer.
///
/// Returns a UpdateDiscovererResult from Schemas.
/// REST API Reference for UpdateDiscoverer Operation
public virtual UpdateDiscovererResponse EndUpdateDiscoverer(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateRegistry
///
/// Updates a registry.
///
/// Container for the necessary parameters to execute the UpdateRegistry service method.
///
/// The response from the UpdateRegistry service method, as returned by Schemas.
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
/// REST API Reference for UpdateRegistry Operation
public virtual UpdateRegistryResponse UpdateRegistry(UpdateRegistryRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateRegistryRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateRegistryResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateRegistry operation.
///
///
/// Container for the necessary parameters to execute the UpdateRegistry operation on AmazonSchemasClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateRegistry
/// operation.
/// REST API Reference for UpdateRegistry Operation
public virtual IAsyncResult BeginUpdateRegistry(UpdateRegistryRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateRegistryRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateRegistryResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateRegistry operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateRegistry.
///
/// Returns a UpdateRegistryResult from Schemas.
/// REST API Reference for UpdateRegistry Operation
public virtual UpdateRegistryResponse EndUpdateRegistry(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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.
///
/// The response from the UpdateSchema service method, as returned by Schemas.
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
/// REST API Reference for UpdateSchema Operation
public virtual UpdateSchemaResponse UpdateSchema(UpdateSchemaRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateSchemaRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateSchemaResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateSchema operation.
///
///
/// Container for the necessary parameters to execute the UpdateSchema operation on AmazonSchemasClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateSchema
/// operation.
/// REST API Reference for UpdateSchema Operation
public virtual IAsyncResult BeginUpdateSchema(UpdateSchemaRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateSchemaRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateSchemaResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateSchema operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateSchema.
///
/// Returns a UpdateSchemaResult from Schemas.
/// REST API Reference for UpdateSchema Operation
public virtual UpdateSchemaResponse EndUpdateSchema(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
}
}