/*
* 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 appfabric-2023-05-19.normal.json service model.
*/
using System;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.AppFabric.Model;
namespace Amazon.AppFabric
{
///
/// Interface for accessing AppFabric
///
/// Amazon Web Services AppFabric quickly connects software as a service (SaaS) applications
/// across your organization. This allows IT and security teams to easily manage and secure
/// applications using a standard schema, and employees can complete everyday tasks faster
/// using generative artificial intelligence (AI). You can use these APIs to complete
/// AppFabric tasks, such as setting up audit log ingestions or viewing user access. For
/// more information about AppFabric, including the required permissions to use the service,
/// see the Amazon
/// Web Services AppFabric Administration Guide. For more information about using
/// the Command Line Interface (CLI) to manage your AppFabric resources, see the AppFabric
/// section of the CLI Reference.
///
public partial interface IAmazonAppFabric : IAmazonService, IDisposable
{
#if AWS_ASYNC_ENUMERABLES_API
///
/// Paginators for the service
///
IAppFabricPaginatorFactory Paginators { get; }
#endif
#region BatchGetUserAccessTasks
///
/// Gets user access details in a batch request.
///
///
///
/// This action polls data from the tasks that are kicked off by the StartUserAccessTasks
/// action.
///
///
/// Container for the necessary parameters to execute the BatchGetUserAccessTasks service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the BatchGetUserAccessTasks service method, as returned by AppFabric.
///
/// You are not authorized to perform this operation.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// The specified resource does not exist.
///
///
/// The request rate exceeds the limit.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for BatchGetUserAccessTasks Operation
Task BatchGetUserAccessTasksAsync(BatchGetUserAccessTasksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ConnectAppAuthorization
///
/// Establishes a connection between Amazon Web Services AppFabric and an application,
/// which allows AppFabric to call the APIs of the application.
///
/// Container for the necessary parameters to execute the ConnectAppAuthorization service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ConnectAppAuthorization service method, as returned by AppFabric.
///
/// You are not authorized to perform this operation.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// The specified resource does not exist.
///
///
/// The request rate exceeds the limit.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for ConnectAppAuthorization Operation
Task ConnectAppAuthorizationAsync(ConnectAppAuthorizationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateAppAuthorization
///
/// Creates an app authorization within an app bundle, which allows AppFabric to connect
/// to an application.
///
/// Container for the necessary parameters to execute the CreateAppAuthorization service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateAppAuthorization service method, as returned by AppFabric.
///
/// You are not authorized to perform this operation.
///
///
/// The request has created a conflict. Check the request parameters and try again.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// The specified resource does not exist.
///
///
/// The request exceeds a service quota.
///
///
/// The request rate exceeds the limit.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for CreateAppAuthorization Operation
Task CreateAppAuthorizationAsync(CreateAppAuthorizationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateAppBundle
///
/// Creates an app bundle to collect data from an application using AppFabric.
///
/// Container for the necessary parameters to execute the CreateAppBundle service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateAppBundle service method, as returned by AppFabric.
///
/// You are not authorized to perform this operation.
///
///
/// The request has created a conflict. Check the request parameters and try again.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// The request exceeds a service quota.
///
///
/// The request rate exceeds the limit.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for CreateAppBundle Operation
Task CreateAppBundleAsync(CreateAppBundleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateIngestion
///
/// Creates a data ingestion for an application.
///
/// Container for the necessary parameters to execute the CreateIngestion service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateIngestion service method, as returned by AppFabric.
///
/// You are not authorized to perform this operation.
///
///
/// The request has created a conflict. Check the request parameters and try again.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// The request exceeds a service quota.
///
///
/// The request rate exceeds the limit.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for CreateIngestion Operation
Task CreateIngestionAsync(CreateIngestionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateIngestionDestination
///
/// Creates an ingestion destination, which specifies how an application's ingested data
/// is processed by Amazon Web Services AppFabric and where it's delivered.
///
/// Container for the necessary parameters to execute the CreateIngestionDestination service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateIngestionDestination service method, as returned by AppFabric.
///
/// You are not authorized to perform this operation.
///
///
/// The request has created a conflict. Check the request parameters and try again.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// The request exceeds a service quota.
///
///
/// The request rate exceeds the limit.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for CreateIngestionDestination Operation
Task CreateIngestionDestinationAsync(CreateIngestionDestinationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteAppAuthorization
///
/// Deletes an app authorization. You must delete the associated ingestion before you
/// can delete an app authorization.
///
/// Container for the necessary parameters to execute the DeleteAppAuthorization service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteAppAuthorization service method, as returned by AppFabric.
///
/// You are not authorized to perform this operation.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// The specified resource does not exist.
///
///
/// The request rate exceeds the limit.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for DeleteAppAuthorization Operation
Task DeleteAppAuthorizationAsync(DeleteAppAuthorizationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteAppBundle
///
/// Deletes an app bundle. You must delete all associated app authorizations before you
/// can delete an app bundle.
///
/// Container for the necessary parameters to execute the DeleteAppBundle service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteAppBundle service method, as returned by AppFabric.
///
/// You are not authorized to perform this operation.
///
///
/// The request has created a conflict. Check the request parameters and try again.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// The request rate exceeds the limit.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for DeleteAppBundle Operation
Task DeleteAppBundleAsync(DeleteAppBundleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteIngestion
///
/// Deletes an ingestion. You must stop (disable) the ingestion and you must delete all
/// associated ingestion destinations before you can delete an app ingestion.
///
/// Container for the necessary parameters to execute the DeleteIngestion service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteIngestion service method, as returned by AppFabric.
///
/// You are not authorized to perform this operation.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// The specified resource does not exist.
///
///
/// The request rate exceeds the limit.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for DeleteIngestion Operation
Task DeleteIngestionAsync(DeleteIngestionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteIngestionDestination
///
/// Deletes an ingestion destination.
///
///
///
/// This deletes the association between an ingestion and it's destination. It doesn't
/// delete previously ingested data or the storage destination, such as the Amazon S3
/// bucket where the data is delivered. If the ingestion destination is deleted while
/// the associated ingestion is enabled, the ingestion will fail and is eventually disabled.
///
///
/// Container for the necessary parameters to execute the DeleteIngestionDestination service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteIngestionDestination service method, as returned by AppFabric.
///
/// You are not authorized to perform this operation.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// The specified resource does not exist.
///
///
/// The request rate exceeds the limit.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for DeleteIngestionDestination Operation
Task DeleteIngestionDestinationAsync(DeleteIngestionDestinationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetAppAuthorization
///
/// Returns information about an app authorization.
///
/// Container for the necessary parameters to execute the GetAppAuthorization service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetAppAuthorization service method, as returned by AppFabric.
///
/// You are not authorized to perform this operation.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// The specified resource does not exist.
///
///
/// The request rate exceeds the limit.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for GetAppAuthorization Operation
Task GetAppAuthorizationAsync(GetAppAuthorizationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetAppBundle
///
/// Returns information about an app bundle.
///
/// Container for the necessary parameters to execute the GetAppBundle service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetAppBundle service method, as returned by AppFabric.
///
/// You are not authorized to perform this operation.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// The specified resource does not exist.
///
///
/// The request rate exceeds the limit.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for GetAppBundle Operation
Task GetAppBundleAsync(GetAppBundleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetIngestion
///
/// Returns information about an ingestion.
///
/// Container for the necessary parameters to execute the GetIngestion service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetIngestion service method, as returned by AppFabric.
///
/// You are not authorized to perform this operation.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// The specified resource does not exist.
///
///
/// The request rate exceeds the limit.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for GetIngestion Operation
Task GetIngestionAsync(GetIngestionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetIngestionDestination
///
/// Returns information about an ingestion destination.
///
/// Container for the necessary parameters to execute the GetIngestionDestination service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetIngestionDestination service method, as returned by AppFabric.
///
/// You are not authorized to perform this operation.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// The specified resource does not exist.
///
///
/// The request rate exceeds the limit.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for GetIngestionDestination Operation
Task GetIngestionDestinationAsync(GetIngestionDestinationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListAppAuthorizations
///
/// Returns a list of all app authorizations configured for an app bundle.
///
/// Container for the necessary parameters to execute the ListAppAuthorizations service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListAppAuthorizations service method, as returned by AppFabric.
///
/// You are not authorized to perform this operation.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// The specified resource does not exist.
///
///
/// The request rate exceeds the limit.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for ListAppAuthorizations Operation
Task ListAppAuthorizationsAsync(ListAppAuthorizationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListAppBundles
///
/// Returns a list of app bundles.
///
/// Container for the necessary parameters to execute the ListAppBundles service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListAppBundles service method, as returned by AppFabric.
///
/// You are not authorized to perform this operation.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// The request rate exceeds the limit.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for ListAppBundles Operation
Task ListAppBundlesAsync(ListAppBundlesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListIngestionDestinations
///
/// Returns a list of all ingestion destinations configured for an ingestion.
///
/// Container for the necessary parameters to execute the ListIngestionDestinations service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListIngestionDestinations service method, as returned by AppFabric.
///
/// You are not authorized to perform this operation.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// The specified resource does not exist.
///
///
/// The request rate exceeds the limit.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for ListIngestionDestinations Operation
Task ListIngestionDestinationsAsync(ListIngestionDestinationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListIngestions
///
/// Returns a list of all ingestions configured for an app bundle.
///
/// Container for the necessary parameters to execute the ListIngestions service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListIngestions service method, as returned by AppFabric.
///
/// You are not authorized to perform this operation.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// The specified resource does not exist.
///
///
/// The request rate exceeds the limit.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for ListIngestions Operation
Task ListIngestionsAsync(ListIngestionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListTagsForResource
///
/// Returns a list of tags for a 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 AppFabric.
///
/// You are not authorized to perform this operation.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// The specified resource does not exist.
///
///
/// The request rate exceeds the limit.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for ListTagsForResource Operation
Task ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StartIngestion
///
/// Starts (enables) an ingestion, which collects data from an application.
///
/// Container for the necessary parameters to execute the StartIngestion service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StartIngestion service method, as returned by AppFabric.
///
/// You are not authorized to perform this operation.
///
///
/// The request has created a conflict. Check the request parameters and try again.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// The specified resource does not exist.
///
///
/// The request rate exceeds the limit.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for StartIngestion Operation
Task StartIngestionAsync(StartIngestionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StartUserAccessTasks
///
/// Starts the tasks to search user access status for a specific email address.
///
///
///
/// The tasks are stopped when the user access status data is found. The tasks are terminated
/// when the API calls to the application time out.
///
///
/// Container for the necessary parameters to execute the StartUserAccessTasks service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StartUserAccessTasks service method, as returned by AppFabric.
///
/// You are not authorized to perform this operation.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// The specified resource does not exist.
///
///
/// The request rate exceeds the limit.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for StartUserAccessTasks Operation
Task StartUserAccessTasksAsync(StartUserAccessTasksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StopIngestion
///
/// Stops (disables) an ingestion.
///
/// Container for the necessary parameters to execute the StopIngestion service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StopIngestion service method, as returned by AppFabric.
///
/// You are not authorized to perform this operation.
///
///
/// The request has created a conflict. Check the request parameters and try again.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// The specified resource does not exist.
///
///
/// The request rate exceeds the limit.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for StopIngestion Operation
Task StopIngestionAsync(StopIngestionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region TagResource
///
/// Assigns one or more tags (key-value pairs) 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 AppFabric.
///
/// You are not authorized to perform this operation.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// The specified resource does not exist.
///
///
/// The request rate exceeds the limit.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for TagResource Operation
Task TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UntagResource
///
/// Removes a tag or tags from a resource.
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UntagResource service method, as returned by AppFabric.
///
/// You are not authorized to perform this operation.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// The specified resource does not exist.
///
///
/// The request rate exceeds the limit.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for UntagResource Operation
Task UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateAppAuthorization
///
/// Updates an app authorization within an app bundle, which allows AppFabric to connect
/// to an application.
///
///
///
/// If the app authorization was in a connected
state, updating the app authorization
/// will set it back to a PendingConnect
state.
///
///
/// Container for the necessary parameters to execute the UpdateAppAuthorization service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateAppAuthorization service method, as returned by AppFabric.
///
/// You are not authorized to perform this operation.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// The specified resource does not exist.
///
///
/// The request rate exceeds the limit.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for UpdateAppAuthorization Operation
Task UpdateAppAuthorizationAsync(UpdateAppAuthorizationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateIngestionDestination
///
/// Updates an ingestion destination, which specifies how an application's ingested data
/// is processed by Amazon Web Services AppFabric and where it's delivered.
///
/// Container for the necessary parameters to execute the UpdateIngestionDestination service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateIngestionDestination service method, as returned by AppFabric.
///
/// You are not authorized to perform this operation.
///
///
/// The request has created a conflict. Check the request parameters and try again.
///
///
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
///
///
/// The specified resource does not exist.
///
///
/// The request exceeds a service quota.
///
///
/// The request rate exceeds the limit.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for UpdateIngestionDestination Operation
Task UpdateIngestionDestinationAsync(UpdateIngestionDestinationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
}
}