/*
* 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 mediastore-data-2017-09-01.normal.json service model.
*/
using System;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.MediaStoreData.Model;
namespace Amazon.MediaStoreData
{
///
/// Interface for accessing MediaStoreData
///
/// An AWS Elemental MediaStore asset is an object, similar to an object in the Amazon
/// S3 service. Objects are the fundamental entities that are stored in AWS Elemental
/// MediaStore.
///
public partial interface IAmazonMediaStoreData : IAmazonService, IDisposable
{
#if AWS_ASYNC_ENUMERABLES_API
///
/// Paginators for the service
///
IMediaStoreDataPaginatorFactory Paginators { get; }
#endif
#region DeleteObject
///
/// Deletes an object at the specified path.
///
/// Container for the necessary parameters to execute the DeleteObject service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteObject service method, as returned by MediaStoreData.
///
/// The specified container was not found for the specified account.
///
///
/// The service is temporarily unavailable.
///
///
/// Could not perform an operation on an object that does not exist.
///
/// REST API Reference for DeleteObject Operation
Task DeleteObjectAsync(DeleteObjectRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeObject
///
/// Gets the headers for an object at the specified path.
///
/// Container for the necessary parameters to execute the DescribeObject service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeObject service method, as returned by MediaStoreData.
///
/// The specified container was not found for the specified account.
///
///
/// The service is temporarily unavailable.
///
///
/// Could not perform an operation on an object that does not exist.
///
/// REST API Reference for DescribeObject Operation
Task DescribeObjectAsync(DescribeObjectRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetObject
///
/// Downloads the object at the specified path. If the object’s upload availability is
/// set to streaming
, AWS Elemental MediaStore downloads the object even
/// if it’s still uploading the object.
///
/// Container for the necessary parameters to execute the GetObject service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetObject service method, as returned by MediaStoreData.
///
/// The specified container was not found for the specified account.
///
///
/// The service is temporarily unavailable.
///
///
/// Could not perform an operation on an object that does not exist.
///
///
/// The requested content range is not valid.
///
/// REST API Reference for GetObject Operation
Task GetObjectAsync(GetObjectRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListItems
///
/// Provides a list of metadata entries about folders and objects in the specified folder.
///
/// Container for the necessary parameters to execute the ListItems service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListItems service method, as returned by MediaStoreData.
///
/// The specified container was not found for the specified account.
///
///
/// The service is temporarily unavailable.
///
/// REST API Reference for ListItems Operation
Task ListItemsAsync(ListItemsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region PutObject
///
/// Uploads an object to the specified path. Object sizes are limited to 25 MB for standard
/// upload availability and 10 MB for streaming upload availability.
///
/// Container for the necessary parameters to execute the PutObject service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the PutObject service method, as returned by MediaStoreData.
///
/// The specified container was not found for the specified account.
///
///
/// The service is temporarily unavailable.
///
/// REST API Reference for PutObject Operation
Task PutObjectAsync(PutObjectRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
}
}