/* * 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 appintegrations-2020-07-29.normal.json service model. */ using System; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using Amazon.Runtime; using Amazon.AppIntegrationsService.Model; namespace Amazon.AppIntegrationsService { /// /// Interface for accessing AppIntegrationsService /// /// The Amazon AppIntegrations service enables you to configure and reuse connections /// to external applications. /// /// /// /// For information about how you can use external applications with Amazon Connect, see /// Set up pre-built /// integrations and Deliver /// information to agents using Amazon Connect Wisdom in the Amazon Connect Administrator /// Guide. /// /// public partial interface IAmazonAppIntegrationsService : IAmazonService, IDisposable { #region CreateDataIntegration /// /// Creates and persists a DataIntegration resource. /// /// /// /// You cannot create a DataIntegration association for a DataIntegration that has been /// previously associated. Use a different DataIntegration, or recreate the DataIntegration /// using the CreateDataIntegration API. /// /// /// /// Container for the necessary parameters to execute the CreateDataIntegration service method. /// /// The response from the CreateDataIntegration service method, as returned by AppIntegrationsService. /// /// You do not have sufficient access to perform this action. /// /// /// A resource with the specified name already exists. /// /// /// Request processing failed due to an error or failure with the service. /// /// /// The request is not valid. /// /// /// The allowed quota for the resource has been exceeded. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for CreateDataIntegration Operation CreateDataIntegrationResponse CreateDataIntegration(CreateDataIntegrationRequest request); /// /// Creates and persists a DataIntegration resource. /// /// /// /// You cannot create a DataIntegration association for a DataIntegration that has been /// previously associated. Use a different DataIntegration, or recreate the DataIntegration /// using the CreateDataIntegration API. /// /// /// /// Container for the necessary parameters to execute the CreateDataIntegration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateDataIntegration service method, as returned by AppIntegrationsService. /// /// You do not have sufficient access to perform this action. /// /// /// A resource with the specified name already exists. /// /// /// Request processing failed due to an error or failure with the service. /// /// /// The request is not valid. /// /// /// The allowed quota for the resource has been exceeded. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for CreateDataIntegration Operation Task CreateDataIntegrationAsync(CreateDataIntegrationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateEventIntegration /// /// Creates an EventIntegration, given a specified name, description, and a reference /// to an Amazon EventBridge bus in your account and a partner event source that pushes /// events to that bus. No objects are created in the your account, only metadata that /// is persisted on the EventIntegration control plane. /// /// Container for the necessary parameters to execute the CreateEventIntegration service method. /// /// The response from the CreateEventIntegration service method, as returned by AppIntegrationsService. /// /// You do not have sufficient access to perform this action. /// /// /// A resource with the specified name already exists. /// /// /// Request processing failed due to an error or failure with the service. /// /// /// The request is not valid. /// /// /// The allowed quota for the resource has been exceeded. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for CreateEventIntegration Operation CreateEventIntegrationResponse CreateEventIntegration(CreateEventIntegrationRequest request); /// /// Creates an EventIntegration, given a specified name, description, and a reference /// to an Amazon EventBridge bus in your account and a partner event source that pushes /// events to that bus. No objects are created in the your account, only metadata that /// is persisted on the EventIntegration control plane. /// /// Container for the necessary parameters to execute the CreateEventIntegration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateEventIntegration service method, as returned by AppIntegrationsService. /// /// You do not have sufficient access to perform this action. /// /// /// A resource with the specified name already exists. /// /// /// Request processing failed due to an error or failure with the service. /// /// /// The request is not valid. /// /// /// The allowed quota for the resource has been exceeded. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for CreateEventIntegration Operation Task CreateEventIntegrationAsync(CreateEventIntegrationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteDataIntegration /// /// Deletes the DataIntegration. Only DataIntegrations that don't have any DataIntegrationAssociations /// can be deleted. Deleting a DataIntegration also deletes the underlying Amazon AppFlow /// flow and service linked role. /// /// /// /// You cannot create a DataIntegration association for a DataIntegration that has been /// previously associated. Use a different DataIntegration, or recreate the DataIntegration /// using the CreateDataIntegration /// API. /// /// /// /// Container for the necessary parameters to execute the DeleteDataIntegration service method. /// /// The response from the DeleteDataIntegration service method, as returned by AppIntegrationsService. /// /// You do not have sufficient access to perform this action. /// /// /// Request processing failed due to an error or failure with the service. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for DeleteDataIntegration Operation DeleteDataIntegrationResponse DeleteDataIntegration(DeleteDataIntegrationRequest request); /// /// Deletes the DataIntegration. Only DataIntegrations that don't have any DataIntegrationAssociations /// can be deleted. Deleting a DataIntegration also deletes the underlying Amazon AppFlow /// flow and service linked role. /// /// /// /// You cannot create a DataIntegration association for a DataIntegration that has been /// previously associated. Use a different DataIntegration, or recreate the DataIntegration /// using the CreateDataIntegration /// API. /// /// /// /// Container for the necessary parameters to execute the DeleteDataIntegration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteDataIntegration service method, as returned by AppIntegrationsService. /// /// You do not have sufficient access to perform this action. /// /// /// Request processing failed due to an error or failure with the service. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for DeleteDataIntegration Operation Task DeleteDataIntegrationAsync(DeleteDataIntegrationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteEventIntegration /// /// Deletes the specified existing event integration. If the event integration is associated /// with clients, the request is rejected. /// /// Container for the necessary parameters to execute the DeleteEventIntegration service method. /// /// The response from the DeleteEventIntegration service method, as returned by AppIntegrationsService. /// /// You do not have sufficient access to perform this action. /// /// /// Request processing failed due to an error or failure with the service. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for DeleteEventIntegration Operation DeleteEventIntegrationResponse DeleteEventIntegration(DeleteEventIntegrationRequest request); /// /// Deletes the specified existing event integration. If the event integration is associated /// with clients, the request is rejected. /// /// Container for the necessary parameters to execute the DeleteEventIntegration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteEventIntegration service method, as returned by AppIntegrationsService. /// /// You do not have sufficient access to perform this action. /// /// /// Request processing failed due to an error or failure with the service. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for DeleteEventIntegration Operation Task DeleteEventIntegrationAsync(DeleteEventIntegrationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetDataIntegration /// /// Returns information about the DataIntegration. /// /// /// /// You cannot create a DataIntegration association for a DataIntegration that has been /// previously associated. Use a different DataIntegration, or recreate the DataIntegration /// using the CreateDataIntegration /// API. /// /// /// /// Container for the necessary parameters to execute the GetDataIntegration service method. /// /// The response from the GetDataIntegration service method, as returned by AppIntegrationsService. /// /// You do not have sufficient access to perform this action. /// /// /// Request processing failed due to an error or failure with the service. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for GetDataIntegration Operation GetDataIntegrationResponse GetDataIntegration(GetDataIntegrationRequest request); /// /// Returns information about the DataIntegration. /// /// /// /// You cannot create a DataIntegration association for a DataIntegration that has been /// previously associated. Use a different DataIntegration, or recreate the DataIntegration /// using the CreateDataIntegration /// API. /// /// /// /// Container for the necessary parameters to execute the GetDataIntegration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetDataIntegration service method, as returned by AppIntegrationsService. /// /// You do not have sufficient access to perform this action. /// /// /// Request processing failed due to an error or failure with the service. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for GetDataIntegration Operation Task GetDataIntegrationAsync(GetDataIntegrationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetEventIntegration /// /// Returns information about the event integration. /// /// Container for the necessary parameters to execute the GetEventIntegration service method. /// /// The response from the GetEventIntegration service method, as returned by AppIntegrationsService. /// /// You do not have sufficient access to perform this action. /// /// /// Request processing failed due to an error or failure with the service. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for GetEventIntegration Operation GetEventIntegrationResponse GetEventIntegration(GetEventIntegrationRequest request); /// /// Returns information about the event integration. /// /// Container for the necessary parameters to execute the GetEventIntegration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetEventIntegration service method, as returned by AppIntegrationsService. /// /// You do not have sufficient access to perform this action. /// /// /// Request processing failed due to an error or failure with the service. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for GetEventIntegration Operation Task GetEventIntegrationAsync(GetEventIntegrationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListDataIntegrationAssociations /// /// Returns a paginated list of DataIntegration associations in the account. /// /// /// /// You cannot create a DataIntegration association for a DataIntegration that has been /// previously associated. Use a different DataIntegration, or recreate the DataIntegration /// using the CreateDataIntegration /// API. /// /// /// /// Container for the necessary parameters to execute the ListDataIntegrationAssociations service method. /// /// The response from the ListDataIntegrationAssociations service method, as returned by AppIntegrationsService. /// /// You do not have sufficient access to perform this action. /// /// /// Request processing failed due to an error or failure with the service. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for ListDataIntegrationAssociations Operation ListDataIntegrationAssociationsResponse ListDataIntegrationAssociations(ListDataIntegrationAssociationsRequest request); /// /// Returns a paginated list of DataIntegration associations in the account. /// /// /// /// You cannot create a DataIntegration association for a DataIntegration that has been /// previously associated. Use a different DataIntegration, or recreate the DataIntegration /// using the CreateDataIntegration /// API. /// /// /// /// Container for the necessary parameters to execute the ListDataIntegrationAssociations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListDataIntegrationAssociations service method, as returned by AppIntegrationsService. /// /// You do not have sufficient access to perform this action. /// /// /// Request processing failed due to an error or failure with the service. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for ListDataIntegrationAssociations Operation Task ListDataIntegrationAssociationsAsync(ListDataIntegrationAssociationsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListDataIntegrations /// /// Returns a paginated list of DataIntegrations in the account. /// /// /// /// You cannot create a DataIntegration association for a DataIntegration that has been /// previously associated. Use a different DataIntegration, or recreate the DataIntegration /// using the CreateDataIntegration /// API. /// /// /// /// Container for the necessary parameters to execute the ListDataIntegrations service method. /// /// The response from the ListDataIntegrations service method, as returned by AppIntegrationsService. /// /// You do not have sufficient access to perform this action. /// /// /// Request processing failed due to an error or failure with the service. /// /// /// The request is not valid. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for ListDataIntegrations Operation ListDataIntegrationsResponse ListDataIntegrations(ListDataIntegrationsRequest request); /// /// Returns a paginated list of DataIntegrations in the account. /// /// /// /// You cannot create a DataIntegration association for a DataIntegration that has been /// previously associated. Use a different DataIntegration, or recreate the DataIntegration /// using the CreateDataIntegration /// API. /// /// /// /// Container for the necessary parameters to execute the ListDataIntegrations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListDataIntegrations service method, as returned by AppIntegrationsService. /// /// You do not have sufficient access to perform this action. /// /// /// Request processing failed due to an error or failure with the service. /// /// /// The request is not valid. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for ListDataIntegrations Operation Task ListDataIntegrationsAsync(ListDataIntegrationsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListEventIntegrationAssociations /// /// Returns a paginated list of event integration associations in the account. /// /// Container for the necessary parameters to execute the ListEventIntegrationAssociations service method. /// /// The response from the ListEventIntegrationAssociations service method, as returned by AppIntegrationsService. /// /// You do not have sufficient access to perform this action. /// /// /// Request processing failed due to an error or failure with the service. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for ListEventIntegrationAssociations Operation ListEventIntegrationAssociationsResponse ListEventIntegrationAssociations(ListEventIntegrationAssociationsRequest request); /// /// Returns a paginated list of event integration associations in the account. /// /// Container for the necessary parameters to execute the ListEventIntegrationAssociations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListEventIntegrationAssociations service method, as returned by AppIntegrationsService. /// /// You do not have sufficient access to perform this action. /// /// /// Request processing failed due to an error or failure with the service. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for ListEventIntegrationAssociations Operation Task ListEventIntegrationAssociationsAsync(ListEventIntegrationAssociationsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListEventIntegrations /// /// Returns a paginated list of event integrations in the account. /// /// Container for the necessary parameters to execute the ListEventIntegrations service method. /// /// The response from the ListEventIntegrations service method, as returned by AppIntegrationsService. /// /// You do not have sufficient access to perform this action. /// /// /// Request processing failed due to an error or failure with the service. /// /// /// The request is not valid. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for ListEventIntegrations Operation ListEventIntegrationsResponse ListEventIntegrations(ListEventIntegrationsRequest request); /// /// Returns a paginated list of event integrations in the account. /// /// Container for the necessary parameters to execute the ListEventIntegrations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListEventIntegrations service method, as returned by AppIntegrationsService. /// /// You do not have sufficient access to perform this action. /// /// /// Request processing failed due to an error or failure with the service. /// /// /// The request is not valid. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for ListEventIntegrations Operation Task ListEventIntegrationsAsync(ListEventIntegrationsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListTagsForResource /// /// Lists the tags for the specified resource. /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// The response from the ListTagsForResource service method, as returned by AppIntegrationsService. /// /// Request processing failed due to an error or failure with the service. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for ListTagsForResource Operation ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request); /// /// Lists the tags for the specified resource. /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListTagsForResource service method, as returned by AppIntegrationsService. /// /// Request processing failed due to an error or failure with the service. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for ListTagsForResource Operation Task ListTagsForResourceAsync(ListTagsForResourceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region TagResource /// /// Adds the specified tags to the specified resource. /// /// Container for the necessary parameters to execute the TagResource service method. /// /// The response from the TagResource service method, as returned by AppIntegrationsService. /// /// Request processing failed due to an error or failure with the service. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for TagResource Operation TagResourceResponse TagResource(TagResourceRequest request); /// /// Adds the specified tags to the specified resource. /// /// Container for the necessary parameters to execute the TagResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the TagResource service method, as returned by AppIntegrationsService. /// /// Request processing failed due to an error or failure with the service. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for TagResource Operation Task TagResourceAsync(TagResourceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UntagResource /// /// Removes the specified tags from the specified resource. /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// The response from the UntagResource service method, as returned by AppIntegrationsService. /// /// Request processing failed due to an error or failure with the service. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for UntagResource Operation UntagResourceResponse UntagResource(UntagResourceRequest request); /// /// Removes the specified tags from the specified resource. /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UntagResource service method, as returned by AppIntegrationsService. /// /// Request processing failed due to an error or failure with the service. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for UntagResource Operation Task UntagResourceAsync(UntagResourceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateDataIntegration /// /// Updates the description of a DataIntegration. /// /// /// /// You cannot create a DataIntegration association for a DataIntegration that has been /// previously associated. Use a different DataIntegration, or recreate the DataIntegration /// using the CreateDataIntegration /// API. /// /// /// /// Container for the necessary parameters to execute the UpdateDataIntegration service method. /// /// The response from the UpdateDataIntegration service method, as returned by AppIntegrationsService. /// /// You do not have sufficient access to perform this action. /// /// /// Request processing failed due to an error or failure with the service. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for UpdateDataIntegration Operation UpdateDataIntegrationResponse UpdateDataIntegration(UpdateDataIntegrationRequest request); /// /// Updates the description of a DataIntegration. /// /// /// /// You cannot create a DataIntegration association for a DataIntegration that has been /// previously associated. Use a different DataIntegration, or recreate the DataIntegration /// using the CreateDataIntegration /// API. /// /// /// /// Container for the necessary parameters to execute the UpdateDataIntegration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateDataIntegration service method, as returned by AppIntegrationsService. /// /// You do not have sufficient access to perform this action. /// /// /// Request processing failed due to an error or failure with the service. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for UpdateDataIntegration Operation Task UpdateDataIntegrationAsync(UpdateDataIntegrationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateEventIntegration /// /// Updates the description of an event integration. /// /// Container for the necessary parameters to execute the UpdateEventIntegration service method. /// /// The response from the UpdateEventIntegration service method, as returned by AppIntegrationsService. /// /// You do not have sufficient access to perform this action. /// /// /// Request processing failed due to an error or failure with the service. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for UpdateEventIntegration Operation UpdateEventIntegrationResponse UpdateEventIntegration(UpdateEventIntegrationRequest request); /// /// Updates the description of an event integration. /// /// Container for the necessary parameters to execute the UpdateEventIntegration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateEventIntegration service method, as returned by AppIntegrationsService. /// /// You do not have sufficient access to perform this action. /// /// /// Request processing failed due to an error or failure with the service. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for UpdateEventIntegration Operation Task UpdateEventIntegrationAsync(UpdateEventIntegrationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion } }