/*
* 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 s3outposts-2017-07-25.normal.json service model.
*/
using System;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.S3Outposts.Model;
namespace Amazon.S3Outposts
{
///
/// Interface for accessing S3Outposts
///
/// Amazon S3 on Outposts provides access to S3 on Outposts operations.
///
public partial interface IAmazonS3Outposts : IAmazonService, IDisposable
{
#if AWS_ASYNC_ENUMERABLES_API
///
/// Paginators for the service
///
IS3OutpostsPaginatorFactory Paginators { get; }
#endif
#region CreateEndpoint
///
/// Creates an endpoint and associates it with the specified Outpost.
///
///
///
/// It can take up to 5 minutes for this action to finish.
///
///
///
/// Related actions include:
///
///
///
/// Container for the necessary parameters to execute the CreateEndpoint service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateEndpoint service method, as returned by S3Outposts.
///
/// Access was denied for this action.
///
///
/// There was a conflict with this action, and it could not be completed.
///
///
/// There was an exception with the internal server.
///
///
/// The service link connection to your Outposts home Region is down. Check your connection
/// and try again.
///
///
/// The requested resource was not found.
///
///
/// The request was denied due to request throttling.
///
///
/// There was an exception validating this data.
///
/// REST API Reference for CreateEndpoint Operation
Task CreateEndpointAsync(CreateEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteEndpoint
///
/// Deletes an endpoint.
///
///
///
/// It can take up to 5 minutes for this action to finish.
///
///
///
/// Related actions include:
///
///
///
/// Container for the necessary parameters to execute the DeleteEndpoint service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteEndpoint service method, as returned by S3Outposts.
///
/// Access was denied for this action.
///
///
/// There was an exception with the internal server.
///
///
/// The service link connection to your Outposts home Region is down. Check your connection
/// and try again.
///
///
/// The requested resource was not found.
///
///
/// The request was denied due to request throttling.
///
///
/// There was an exception validating this data.
///
/// REST API Reference for DeleteEndpoint Operation
Task DeleteEndpointAsync(DeleteEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListEndpoints
///
/// Lists endpoints associated with the specified Outpost.
///
///
///
/// Related actions include:
///
///
///
/// Container for the necessary parameters to execute the ListEndpoints service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListEndpoints service method, as returned by S3Outposts.
///
/// Access was denied for this action.
///
///
/// There was an exception with the internal server.
///
///
/// The requested resource was not found.
///
///
/// The request was denied due to request throttling.
///
///
/// There was an exception validating this data.
///
/// REST API Reference for ListEndpoints Operation
Task ListEndpointsAsync(ListEndpointsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListOutpostsWithS3
///
/// Lists the Outposts with S3 on Outposts capacity for your Amazon Web Services account.
/// Includes S3 on Outposts that you have access to as the Outposts owner, or as a shared
/// user from Resource Access Manager (RAM).
///
/// Container for the necessary parameters to execute the ListOutpostsWithS3 service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListOutpostsWithS3 service method, as returned by S3Outposts.
///
/// Access was denied for this action.
///
///
/// There was an exception with the internal server.
///
///
/// The request was denied due to request throttling.
///
///
/// There was an exception validating this data.
///
/// REST API Reference for ListOutpostsWithS3 Operation
Task ListOutpostsWithS3Async(ListOutpostsWithS3Request request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListSharedEndpoints
///
/// Lists all endpoints associated with an Outpost that has been shared by Amazon Web
/// Services Resource Access Manager (RAM).
///
///
///
/// Related actions include:
///
///
///
/// Container for the necessary parameters to execute the ListSharedEndpoints service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListSharedEndpoints service method, as returned by S3Outposts.
///
/// Access was denied for this action.
///
///
/// There was an exception with the internal server.
///
///
/// The requested resource was not found.
///
///
/// The request was denied due to request throttling.
///
///
/// There was an exception validating this data.
///
/// REST API Reference for ListSharedEndpoints Operation
Task ListSharedEndpointsAsync(ListSharedEndpointsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
}
}