/*
* 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.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 BCL45 || 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.
///
/// 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
DeleteObjectResponse DeleteObject(DeleteObjectRequest request);
///
/// Initiates the asynchronous execution of the DeleteObject operation.
///
///
/// Container for the necessary parameters to execute the DeleteObject operation on AmazonMediaStoreDataClient.
/// 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 EndDeleteObject
/// operation.
/// REST API Reference for DeleteObject Operation
IAsyncResult BeginDeleteObject(DeleteObjectRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the DeleteObject operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteObject.
///
/// Returns a DeleteObjectResult from MediaStoreData.
/// REST API Reference for DeleteObject Operation
DeleteObjectResponse EndDeleteObject(IAsyncResult asyncResult);
#endregion
#region DescribeObject
///
/// Gets the headers for an object at the specified path.
///
/// Container for the necessary parameters to execute the DescribeObject service method.
///
/// 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
DescribeObjectResponse DescribeObject(DescribeObjectRequest request);
///
/// Initiates the asynchronous execution of the DescribeObject operation.
///
///
/// Container for the necessary parameters to execute the DescribeObject operation on AmazonMediaStoreDataClient.
/// 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 EndDescribeObject
/// operation.
/// REST API Reference for DescribeObject Operation
IAsyncResult BeginDescribeObject(DescribeObjectRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the DescribeObject operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeObject.
///
/// Returns a DescribeObjectResult from MediaStoreData.
/// REST API Reference for DescribeObject Operation
DescribeObjectResponse EndDescribeObject(IAsyncResult asyncResult);
#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.
///
/// 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
GetObjectResponse GetObject(GetObjectRequest request);
///
/// Initiates the asynchronous execution of the GetObject operation.
///
///
/// Container for the necessary parameters to execute the GetObject operation on AmazonMediaStoreDataClient.
/// 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 EndGetObject
/// operation.
/// REST API Reference for GetObject Operation
IAsyncResult BeginGetObject(GetObjectRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the GetObject operation.
///
///
/// The IAsyncResult returned by the call to BeginGetObject.
///
/// Returns a GetObjectResult from MediaStoreData.
/// REST API Reference for GetObject Operation
GetObjectResponse EndGetObject(IAsyncResult asyncResult);
#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.
///
/// 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
ListItemsResponse ListItems(ListItemsRequest request);
///
/// Initiates the asynchronous execution of the ListItems operation.
///
///
/// Container for the necessary parameters to execute the ListItems operation on AmazonMediaStoreDataClient.
/// 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 EndListItems
/// operation.
/// REST API Reference for ListItems Operation
IAsyncResult BeginListItems(ListItemsRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the ListItems operation.
///
///
/// The IAsyncResult returned by the call to BeginListItems.
///
/// Returns a ListItemsResult from MediaStoreData.
/// REST API Reference for ListItems Operation
ListItemsResponse EndListItems(IAsyncResult asyncResult);
#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.
///
/// 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
PutObjectResponse PutObject(PutObjectRequest request);
///
/// Initiates the asynchronous execution of the PutObject operation.
///
///
/// Container for the necessary parameters to execute the PutObject operation on AmazonMediaStoreDataClient.
/// 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 EndPutObject
/// operation.
/// REST API Reference for PutObject Operation
IAsyncResult BeginPutObject(PutObjectRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the PutObject operation.
///
///
/// The IAsyncResult returned by the call to BeginPutObject.
///
/// Returns a PutObjectResult from MediaStoreData.
/// REST API Reference for PutObject Operation
PutObjectResponse EndPutObject(IAsyncResult asyncResult);
#endregion
}
}