All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.mediastoredata.AWSMediaStoreDataAsync Maven / Gradle / Ivy

/*
 * Copyright 2016-2021 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.
 */
package com.amazonaws.services.mediastoredata;

import javax.annotation.Generated;

import com.amazonaws.services.mediastoredata.model.*;

/**
 * Interface for accessing MediaStore Data asynchronously. Each asynchronous method will return a Java Future object
 * representing the asynchronous operation; overloads which accept an {@code AsyncHandler} can be used to receive
 * notification when an asynchronous operation completes.
 * 

* Note: Do not directly implement this interface, new methods are added to it regularly. Extend from * {@link com.amazonaws.services.mediastoredata.AbstractAWSMediaStoreDataAsync} instead. *

*

*

* 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. *

*/ @Generated("com.amazonaws:aws-java-sdk-code-generator") public interface AWSMediaStoreDataAsync extends AWSMediaStoreData { /** *

* Deletes an object at the specified path. *

* * @param deleteObjectRequest * @return A Java Future containing the result of the DeleteObject operation returned by the service. * @sample AWSMediaStoreDataAsync.DeleteObject * @see AWS * API Documentation */ java.util.concurrent.Future deleteObjectAsync(DeleteObjectRequest deleteObjectRequest); /** *

* Deletes an object at the specified path. *

* * @param deleteObjectRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the DeleteObject operation returned by the service. * @sample AWSMediaStoreDataAsyncHandler.DeleteObject * @see AWS * API Documentation */ java.util.concurrent.Future deleteObjectAsync(DeleteObjectRequest deleteObjectRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Gets the headers for an object at the specified path. *

* * @param describeObjectRequest * @return A Java Future containing the result of the DescribeObject operation returned by the service. * @sample AWSMediaStoreDataAsync.DescribeObject * @see AWS * API Documentation */ java.util.concurrent.Future describeObjectAsync(DescribeObjectRequest describeObjectRequest); /** *

* Gets the headers for an object at the specified path. *

* * @param describeObjectRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the DescribeObject operation returned by the service. * @sample AWSMediaStoreDataAsyncHandler.DescribeObject * @see AWS * API Documentation */ java.util.concurrent.Future describeObjectAsync(DescribeObjectRequest describeObjectRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* 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. *

* * @param getObjectRequest * @return A Java Future containing the result of the GetObject operation returned by the service. * @sample AWSMediaStoreDataAsync.GetObject * @see AWS API * Documentation */ java.util.concurrent.Future getObjectAsync(GetObjectRequest getObjectRequest); /** *

* 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. *

* * @param getObjectRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the GetObject operation returned by the service. * @sample AWSMediaStoreDataAsyncHandler.GetObject * @see AWS API * Documentation */ java.util.concurrent.Future getObjectAsync(GetObjectRequest getObjectRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Provides a list of metadata entries about folders and objects in the specified folder. *

* * @param listItemsRequest * @return A Java Future containing the result of the ListItems operation returned by the service. * @sample AWSMediaStoreDataAsync.ListItems * @see AWS API * Documentation */ java.util.concurrent.Future listItemsAsync(ListItemsRequest listItemsRequest); /** *

* Provides a list of metadata entries about folders and objects in the specified folder. *

* * @param listItemsRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the ListItems operation returned by the service. * @sample AWSMediaStoreDataAsyncHandler.ListItems * @see AWS API * Documentation */ java.util.concurrent.Future listItemsAsync(ListItemsRequest listItemsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* 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. *

* * @param putObjectRequest * @return A Java Future containing the result of the PutObject operation returned by the service. * @sample AWSMediaStoreDataAsync.PutObject * @see AWS API * Documentation */ java.util.concurrent.Future putObjectAsync(PutObjectRequest putObjectRequest); /** *

* 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. *

* * @param putObjectRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the PutObject operation returned by the service. * @sample AWSMediaStoreDataAsyncHandler.PutObject * @see AWS API * Documentation */ java.util.concurrent.Future putObjectAsync(PutObjectRequest putObjectRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy