/* * 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 kafkaconnect-2021-09-14.normal.json service model. */ using System; using System.Collections.Generic; using System.Net; using Amazon.KafkaConnect.Model; using Amazon.KafkaConnect.Model.Internal.MarshallTransformations; using Amazon.KafkaConnect.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.KafkaConnect { /// /// Implementation for accessing KafkaConnect /// /// /// public partial class AmazonKafkaConnectClient : AmazonServiceClient, IAmazonKafkaConnect { private static IServiceMetadata serviceMetadata = new AmazonKafkaConnectMetadata(); #if BCL45 || AWS_ASYNC_ENUMERABLES_API private IKafkaConnectPaginatorFactory _paginators; /// /// Paginators for the service /// public IKafkaConnectPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new KafkaConnectPaginatorFactory(this); } return this._paginators; } } #endif #region Constructors /// /// Constructs AmazonKafkaConnectClient 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 AmazonKafkaConnectClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonKafkaConnectConfig()) { } /// /// Constructs AmazonKafkaConnectClient 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 AmazonKafkaConnectClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonKafkaConnectConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonKafkaConnectClient 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 AmazonKafkaConnectClient Configuration Object public AmazonKafkaConnectClient(AmazonKafkaConnectConfig config) : base(FallbackCredentialsFactory.GetCredentials(config), config){} /// /// Constructs AmazonKafkaConnectClient with AWS Credentials /// /// AWS Credentials public AmazonKafkaConnectClient(AWSCredentials credentials) : this(credentials, new AmazonKafkaConnectConfig()) { } /// /// Constructs AmazonKafkaConnectClient with AWS Credentials /// /// AWS Credentials /// The region to connect. public AmazonKafkaConnectClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonKafkaConnectConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonKafkaConnectClient with AWS Credentials and an /// AmazonKafkaConnectClient Configuration object. /// /// AWS Credentials /// The AmazonKafkaConnectClient Configuration Object public AmazonKafkaConnectClient(AWSCredentials credentials, AmazonKafkaConnectConfig clientConfig) : base(credentials, clientConfig) { } /// /// Constructs AmazonKafkaConnectClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key public AmazonKafkaConnectClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonKafkaConnectConfig()) { } /// /// Constructs AmazonKafkaConnectClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// The region to connect. public AmazonKafkaConnectClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonKafkaConnectConfig() {RegionEndpoint=region}) { } /// /// Constructs AmazonKafkaConnectClient with AWS Access Key ID, AWS Secret Key and an /// AmazonKafkaConnectClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// The AmazonKafkaConnectClient Configuration Object public AmazonKafkaConnectClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonKafkaConnectConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// /// Constructs AmazonKafkaConnectClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token public AmazonKafkaConnectClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonKafkaConnectConfig()) { } /// /// Constructs AmazonKafkaConnectClient 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 AmazonKafkaConnectClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonKafkaConnectConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonKafkaConnectClient with AWS Access Key ID, AWS Secret Key and an /// AmazonKafkaConnectClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The AmazonKafkaConnectClient Configuration Object public AmazonKafkaConnectClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonKafkaConnectConfig 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 AmazonKafkaConnectEndpointResolver()); } /// /// 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 CreateConnector /// /// Creates a connector using the specified properties. /// /// Container for the necessary parameters to execute the CreateConnector service method. /// /// The response from the CreateConnector service method, as returned by KafkaConnect. /// /// HTTP Status Code 400: Bad request due to incorrect input. Correct your request and /// then retry it. /// /// /// HTTP Status Code 409: Conflict. A resource with this name already exists. Retry your /// request with another name. /// /// /// HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your /// request. /// /// /// HTTP Status Code 500: Unexpected internal server error. Retrying your request might /// resolve the issue. /// /// /// HTTP Status Code 404: Resource not found due to incorrect input. Correct your request /// and then retry it. /// /// /// HTTP Status Code 503: Service Unavailable. Retrying your request in some time might /// resolve the issue. /// /// /// HTTP Status Code 429: Limit exceeded. Resource limit reached. /// /// /// HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated. /// /// REST API Reference for CreateConnector Operation public virtual CreateConnectorResponse CreateConnector(CreateConnectorRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateConnectorRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateConnectorResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateConnector operation. /// /// /// Container for the necessary parameters to execute the CreateConnector operation on AmazonKafkaConnectClient. /// 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 EndCreateConnector /// operation. /// REST API Reference for CreateConnector Operation public virtual IAsyncResult BeginCreateConnector(CreateConnectorRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateConnectorRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateConnectorResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateConnector operation. /// /// /// The IAsyncResult returned by the call to BeginCreateConnector. /// /// Returns a CreateConnectorResult from KafkaConnect. /// REST API Reference for CreateConnector Operation public virtual CreateConnectorResponse EndCreateConnector(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateCustomPlugin /// /// Creates a custom plugin using the specified properties. /// /// Container for the necessary parameters to execute the CreateCustomPlugin service method. /// /// The response from the CreateCustomPlugin service method, as returned by KafkaConnect. /// /// HTTP Status Code 400: Bad request due to incorrect input. Correct your request and /// then retry it. /// /// /// HTTP Status Code 409: Conflict. A resource with this name already exists. Retry your /// request with another name. /// /// /// HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your /// request. /// /// /// HTTP Status Code 500: Unexpected internal server error. Retrying your request might /// resolve the issue. /// /// /// HTTP Status Code 404: Resource not found due to incorrect input. Correct your request /// and then retry it. /// /// /// HTTP Status Code 503: Service Unavailable. Retrying your request in some time might /// resolve the issue. /// /// /// HTTP Status Code 429: Limit exceeded. Resource limit reached. /// /// /// HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated. /// /// REST API Reference for CreateCustomPlugin Operation public virtual CreateCustomPluginResponse CreateCustomPlugin(CreateCustomPluginRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateCustomPluginRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateCustomPluginResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateCustomPlugin operation. /// /// /// Container for the necessary parameters to execute the CreateCustomPlugin operation on AmazonKafkaConnectClient. /// 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 EndCreateCustomPlugin /// operation. /// REST API Reference for CreateCustomPlugin Operation public virtual IAsyncResult BeginCreateCustomPlugin(CreateCustomPluginRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateCustomPluginRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateCustomPluginResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateCustomPlugin operation. /// /// /// The IAsyncResult returned by the call to BeginCreateCustomPlugin. /// /// Returns a CreateCustomPluginResult from KafkaConnect. /// REST API Reference for CreateCustomPlugin Operation public virtual CreateCustomPluginResponse EndCreateCustomPlugin(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateWorkerConfiguration /// /// Creates a worker configuration using the specified properties. /// /// Container for the necessary parameters to execute the CreateWorkerConfiguration service method. /// /// The response from the CreateWorkerConfiguration service method, as returned by KafkaConnect. /// /// HTTP Status Code 400: Bad request due to incorrect input. Correct your request and /// then retry it. /// /// /// HTTP Status Code 409: Conflict. A resource with this name already exists. Retry your /// request with another name. /// /// /// HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your /// request. /// /// /// HTTP Status Code 500: Unexpected internal server error. Retrying your request might /// resolve the issue. /// /// /// HTTP Status Code 404: Resource not found due to incorrect input. Correct your request /// and then retry it. /// /// /// HTTP Status Code 503: Service Unavailable. Retrying your request in some time might /// resolve the issue. /// /// /// HTTP Status Code 429: Limit exceeded. Resource limit reached. /// /// /// HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated. /// /// REST API Reference for CreateWorkerConfiguration Operation public virtual CreateWorkerConfigurationResponse CreateWorkerConfiguration(CreateWorkerConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateWorkerConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateWorkerConfigurationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateWorkerConfiguration operation. /// /// /// Container for the necessary parameters to execute the CreateWorkerConfiguration operation on AmazonKafkaConnectClient. /// 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 EndCreateWorkerConfiguration /// operation. /// REST API Reference for CreateWorkerConfiguration Operation public virtual IAsyncResult BeginCreateWorkerConfiguration(CreateWorkerConfigurationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateWorkerConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateWorkerConfigurationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateWorkerConfiguration operation. /// /// /// The IAsyncResult returned by the call to BeginCreateWorkerConfiguration. /// /// Returns a CreateWorkerConfigurationResult from KafkaConnect. /// REST API Reference for CreateWorkerConfiguration Operation public virtual CreateWorkerConfigurationResponse EndCreateWorkerConfiguration(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteConnector /// /// Deletes the specified connector. /// /// Container for the necessary parameters to execute the DeleteConnector service method. /// /// The response from the DeleteConnector service method, as returned by KafkaConnect. /// /// HTTP Status Code 400: Bad request due to incorrect input. Correct your request and /// then retry it. /// /// /// HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your /// request. /// /// /// HTTP Status Code 500: Unexpected internal server error. Retrying your request might /// resolve the issue. /// /// /// HTTP Status Code 404: Resource not found due to incorrect input. Correct your request /// and then retry it. /// /// /// HTTP Status Code 503: Service Unavailable. Retrying your request in some time might /// resolve the issue. /// /// /// HTTP Status Code 429: Limit exceeded. Resource limit reached. /// /// /// HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated. /// /// REST API Reference for DeleteConnector Operation public virtual DeleteConnectorResponse DeleteConnector(DeleteConnectorRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteConnectorRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteConnectorResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteConnector operation. /// /// /// Container for the necessary parameters to execute the DeleteConnector operation on AmazonKafkaConnectClient. /// 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 EndDeleteConnector /// operation. /// REST API Reference for DeleteConnector Operation public virtual IAsyncResult BeginDeleteConnector(DeleteConnectorRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteConnectorRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteConnectorResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteConnector operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteConnector. /// /// Returns a DeleteConnectorResult from KafkaConnect. /// REST API Reference for DeleteConnector Operation public virtual DeleteConnectorResponse EndDeleteConnector(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteCustomPlugin /// /// Deletes a custom plugin. /// /// Container for the necessary parameters to execute the DeleteCustomPlugin service method. /// /// The response from the DeleteCustomPlugin service method, as returned by KafkaConnect. /// /// HTTP Status Code 400: Bad request due to incorrect input. Correct your request and /// then retry it. /// /// /// HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your /// request. /// /// /// HTTP Status Code 500: Unexpected internal server error. Retrying your request might /// resolve the issue. /// /// /// HTTP Status Code 404: Resource not found due to incorrect input. Correct your request /// and then retry it. /// /// /// HTTP Status Code 503: Service Unavailable. Retrying your request in some time might /// resolve the issue. /// /// /// HTTP Status Code 429: Limit exceeded. Resource limit reached. /// /// /// HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated. /// /// REST API Reference for DeleteCustomPlugin Operation public virtual DeleteCustomPluginResponse DeleteCustomPlugin(DeleteCustomPluginRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteCustomPluginRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteCustomPluginResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteCustomPlugin operation. /// /// /// Container for the necessary parameters to execute the DeleteCustomPlugin operation on AmazonKafkaConnectClient. /// 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 EndDeleteCustomPlugin /// operation. /// REST API Reference for DeleteCustomPlugin Operation public virtual IAsyncResult BeginDeleteCustomPlugin(DeleteCustomPluginRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteCustomPluginRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteCustomPluginResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteCustomPlugin operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteCustomPlugin. /// /// Returns a DeleteCustomPluginResult from KafkaConnect. /// REST API Reference for DeleteCustomPlugin Operation public virtual DeleteCustomPluginResponse EndDeleteCustomPlugin(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeConnector /// /// Returns summary information about the connector. /// /// Container for the necessary parameters to execute the DescribeConnector service method. /// /// The response from the DescribeConnector service method, as returned by KafkaConnect. /// /// HTTP Status Code 400: Bad request due to incorrect input. Correct your request and /// then retry it. /// /// /// HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your /// request. /// /// /// HTTP Status Code 500: Unexpected internal server error. Retrying your request might /// resolve the issue. /// /// /// HTTP Status Code 404: Resource not found due to incorrect input. Correct your request /// and then retry it. /// /// /// HTTP Status Code 503: Service Unavailable. Retrying your request in some time might /// resolve the issue. /// /// /// HTTP Status Code 429: Limit exceeded. Resource limit reached. /// /// /// HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated. /// /// REST API Reference for DescribeConnector Operation public virtual DescribeConnectorResponse DescribeConnector(DescribeConnectorRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeConnectorRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeConnectorResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeConnector operation. /// /// /// Container for the necessary parameters to execute the DescribeConnector operation on AmazonKafkaConnectClient. /// 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 EndDescribeConnector /// operation. /// REST API Reference for DescribeConnector Operation public virtual IAsyncResult BeginDescribeConnector(DescribeConnectorRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeConnectorRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeConnectorResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeConnector operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeConnector. /// /// Returns a DescribeConnectorResult from KafkaConnect. /// REST API Reference for DescribeConnector Operation public virtual DescribeConnectorResponse EndDescribeConnector(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeCustomPlugin /// /// A summary description of the custom plugin. /// /// Container for the necessary parameters to execute the DescribeCustomPlugin service method. /// /// The response from the DescribeCustomPlugin service method, as returned by KafkaConnect. /// /// HTTP Status Code 400: Bad request due to incorrect input. Correct your request and /// then retry it. /// /// /// HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your /// request. /// /// /// HTTP Status Code 500: Unexpected internal server error. Retrying your request might /// resolve the issue. /// /// /// HTTP Status Code 404: Resource not found due to incorrect input. Correct your request /// and then retry it. /// /// /// HTTP Status Code 503: Service Unavailable. Retrying your request in some time might /// resolve the issue. /// /// /// HTTP Status Code 429: Limit exceeded. Resource limit reached. /// /// /// HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated. /// /// REST API Reference for DescribeCustomPlugin Operation public virtual DescribeCustomPluginResponse DescribeCustomPlugin(DescribeCustomPluginRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeCustomPluginRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeCustomPluginResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeCustomPlugin operation. /// /// /// Container for the necessary parameters to execute the DescribeCustomPlugin operation on AmazonKafkaConnectClient. /// 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 EndDescribeCustomPlugin /// operation. /// REST API Reference for DescribeCustomPlugin Operation public virtual IAsyncResult BeginDescribeCustomPlugin(DescribeCustomPluginRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeCustomPluginRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeCustomPluginResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeCustomPlugin operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeCustomPlugin. /// /// Returns a DescribeCustomPluginResult from KafkaConnect. /// REST API Reference for DescribeCustomPlugin Operation public virtual DescribeCustomPluginResponse EndDescribeCustomPlugin(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeWorkerConfiguration /// /// Returns information about a worker configuration. /// /// Container for the necessary parameters to execute the DescribeWorkerConfiguration service method. /// /// The response from the DescribeWorkerConfiguration service method, as returned by KafkaConnect. /// /// HTTP Status Code 400: Bad request due to incorrect input. Correct your request and /// then retry it. /// /// /// HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your /// request. /// /// /// HTTP Status Code 500: Unexpected internal server error. Retrying your request might /// resolve the issue. /// /// /// HTTP Status Code 404: Resource not found due to incorrect input. Correct your request /// and then retry it. /// /// /// HTTP Status Code 503: Service Unavailable. Retrying your request in some time might /// resolve the issue. /// /// /// HTTP Status Code 429: Limit exceeded. Resource limit reached. /// /// /// HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated. /// /// REST API Reference for DescribeWorkerConfiguration Operation public virtual DescribeWorkerConfigurationResponse DescribeWorkerConfiguration(DescribeWorkerConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeWorkerConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeWorkerConfigurationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeWorkerConfiguration operation. /// /// /// Container for the necessary parameters to execute the DescribeWorkerConfiguration operation on AmazonKafkaConnectClient. /// 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 EndDescribeWorkerConfiguration /// operation. /// REST API Reference for DescribeWorkerConfiguration Operation public virtual IAsyncResult BeginDescribeWorkerConfiguration(DescribeWorkerConfigurationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeWorkerConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeWorkerConfigurationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeWorkerConfiguration operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeWorkerConfiguration. /// /// Returns a DescribeWorkerConfigurationResult from KafkaConnect. /// REST API Reference for DescribeWorkerConfiguration Operation public virtual DescribeWorkerConfigurationResponse EndDescribeWorkerConfiguration(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListConnectors /// /// Returns a list of all the connectors in this account and Region. The list is limited /// to connectors whose name starts with the specified prefix. The response also includes /// a description of each of the listed connectors. /// /// Container for the necessary parameters to execute the ListConnectors service method. /// /// The response from the ListConnectors service method, as returned by KafkaConnect. /// /// HTTP Status Code 400: Bad request due to incorrect input. Correct your request and /// then retry it. /// /// /// HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your /// request. /// /// /// HTTP Status Code 500: Unexpected internal server error. Retrying your request might /// resolve the issue. /// /// /// HTTP Status Code 404: Resource not found due to incorrect input. Correct your request /// and then retry it. /// /// /// HTTP Status Code 503: Service Unavailable. Retrying your request in some time might /// resolve the issue. /// /// /// HTTP Status Code 429: Limit exceeded. Resource limit reached. /// /// /// HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated. /// /// REST API Reference for ListConnectors Operation public virtual ListConnectorsResponse ListConnectors(ListConnectorsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListConnectorsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListConnectorsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListConnectors operation. /// /// /// Container for the necessary parameters to execute the ListConnectors operation on AmazonKafkaConnectClient. /// 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 EndListConnectors /// operation. /// REST API Reference for ListConnectors Operation public virtual IAsyncResult BeginListConnectors(ListConnectorsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListConnectorsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListConnectorsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListConnectors operation. /// /// /// The IAsyncResult returned by the call to BeginListConnectors. /// /// Returns a ListConnectorsResult from KafkaConnect. /// REST API Reference for ListConnectors Operation public virtual ListConnectorsResponse EndListConnectors(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListCustomPlugins /// /// Returns a list of all of the custom plugins in this account and Region. /// /// Container for the necessary parameters to execute the ListCustomPlugins service method. /// /// The response from the ListCustomPlugins service method, as returned by KafkaConnect. /// /// HTTP Status Code 400: Bad request due to incorrect input. Correct your request and /// then retry it. /// /// /// HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your /// request. /// /// /// HTTP Status Code 500: Unexpected internal server error. Retrying your request might /// resolve the issue. /// /// /// HTTP Status Code 404: Resource not found due to incorrect input. Correct your request /// and then retry it. /// /// /// HTTP Status Code 503: Service Unavailable. Retrying your request in some time might /// resolve the issue. /// /// /// HTTP Status Code 429: Limit exceeded. Resource limit reached. /// /// /// HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated. /// /// REST API Reference for ListCustomPlugins Operation public virtual ListCustomPluginsResponse ListCustomPlugins(ListCustomPluginsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListCustomPluginsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListCustomPluginsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListCustomPlugins operation. /// /// /// Container for the necessary parameters to execute the ListCustomPlugins operation on AmazonKafkaConnectClient. /// 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 EndListCustomPlugins /// operation. /// REST API Reference for ListCustomPlugins Operation public virtual IAsyncResult BeginListCustomPlugins(ListCustomPluginsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListCustomPluginsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListCustomPluginsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListCustomPlugins operation. /// /// /// The IAsyncResult returned by the call to BeginListCustomPlugins. /// /// Returns a ListCustomPluginsResult from KafkaConnect. /// REST API Reference for ListCustomPlugins Operation public virtual ListCustomPluginsResponse EndListCustomPlugins(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListWorkerConfigurations /// /// Returns a list of all of the worker configurations in this account and Region. /// /// Container for the necessary parameters to execute the ListWorkerConfigurations service method. /// /// The response from the ListWorkerConfigurations service method, as returned by KafkaConnect. /// /// HTTP Status Code 400: Bad request due to incorrect input. Correct your request and /// then retry it. /// /// /// HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your /// request. /// /// /// HTTP Status Code 500: Unexpected internal server error. Retrying your request might /// resolve the issue. /// /// /// HTTP Status Code 404: Resource not found due to incorrect input. Correct your request /// and then retry it. /// /// /// HTTP Status Code 503: Service Unavailable. Retrying your request in some time might /// resolve the issue. /// /// /// HTTP Status Code 429: Limit exceeded. Resource limit reached. /// /// /// HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated. /// /// REST API Reference for ListWorkerConfigurations Operation public virtual ListWorkerConfigurationsResponse ListWorkerConfigurations(ListWorkerConfigurationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListWorkerConfigurationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListWorkerConfigurationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListWorkerConfigurations operation. /// /// /// Container for the necessary parameters to execute the ListWorkerConfigurations operation on AmazonKafkaConnectClient. /// 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 EndListWorkerConfigurations /// operation. /// REST API Reference for ListWorkerConfigurations Operation public virtual IAsyncResult BeginListWorkerConfigurations(ListWorkerConfigurationsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListWorkerConfigurationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListWorkerConfigurationsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListWorkerConfigurations operation. /// /// /// The IAsyncResult returned by the call to BeginListWorkerConfigurations. /// /// Returns a ListWorkerConfigurationsResult from KafkaConnect. /// REST API Reference for ListWorkerConfigurations Operation public virtual ListWorkerConfigurationsResponse EndListWorkerConfigurations(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateConnector /// /// Updates the specified connector. /// /// Container for the necessary parameters to execute the UpdateConnector service method. /// /// The response from the UpdateConnector service method, as returned by KafkaConnect. /// /// HTTP Status Code 400: Bad request due to incorrect input. Correct your request and /// then retry it. /// /// /// HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your /// request. /// /// /// HTTP Status Code 500: Unexpected internal server error. Retrying your request might /// resolve the issue. /// /// /// HTTP Status Code 404: Resource not found due to incorrect input. Correct your request /// and then retry it. /// /// /// HTTP Status Code 503: Service Unavailable. Retrying your request in some time might /// resolve the issue. /// /// /// HTTP Status Code 429: Limit exceeded. Resource limit reached. /// /// /// HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated. /// /// REST API Reference for UpdateConnector Operation public virtual UpdateConnectorResponse UpdateConnector(UpdateConnectorRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateConnectorRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateConnectorResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateConnector operation. /// /// /// Container for the necessary parameters to execute the UpdateConnector operation on AmazonKafkaConnectClient. /// 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 EndUpdateConnector /// operation. /// REST API Reference for UpdateConnector Operation public virtual IAsyncResult BeginUpdateConnector(UpdateConnectorRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateConnectorRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateConnectorResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateConnector operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateConnector. /// /// Returns a UpdateConnectorResult from KafkaConnect. /// REST API Reference for UpdateConnector Operation public virtual UpdateConnectorResponse EndUpdateConnector(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion } }