/*
* 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 rest-json-test-2016-04-12.normal.json service model.
*/
using System;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.RestJsonTest.Model;
namespace Amazon.RestJsonTest
{
///
/// Interface for accessing RestJsonTest
///
///
///
public partial interface IAmazonRestJsonTest : IAmazonService, IDisposable
{
#region NoPayload
///
/// Request without a body
///
/// Container for the necessary parameters to execute the NoPayload service method.
///
/// The response from the NoPayload service method, as returned by RestJsonTest.
/// REST API Reference for NoPayload Operation
NoPayloadResponse NoPayload(NoPayloadRequest request);
///
/// Initiates the asynchronous execution of the NoPayload operation.
///
///
/// Container for the necessary parameters to execute the NoPayload operation on AmazonRestJsonTestClient.
/// 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 EndNoPayload
/// operation.
/// REST API Reference for NoPayload Operation
IAsyncResult BeginNoPayload(NoPayloadRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the NoPayload operation.
///
///
/// The IAsyncResult returned by the call to BeginNoPayload.
///
/// Returns a NoPayloadResult from RestJsonTest.
/// REST API Reference for NoPayload Operation
NoPayloadResponse EndNoPayload(IAsyncResult asyncResult);
#endregion
#region TestBlobPayload
///
/// Post a test blob payload request.
///
/// Container for the necessary parameters to execute the TestBlobPayload service method.
///
/// The response from the TestBlobPayload service method, as returned by RestJsonTest.
/// REST API Reference for TestBlobPayload Operation
TestBlobPayloadResponse TestBlobPayload(TestBlobPayloadRequest request);
///
/// Initiates the asynchronous execution of the TestBlobPayload operation.
///
///
/// Container for the necessary parameters to execute the TestBlobPayload operation on AmazonRestJsonTestClient.
/// 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 EndTestBlobPayload
/// operation.
/// REST API Reference for TestBlobPayload Operation
IAsyncResult BeginTestBlobPayload(TestBlobPayloadRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the TestBlobPayload operation.
///
///
/// The IAsyncResult returned by the call to BeginTestBlobPayload.
///
/// Returns a TestBlobPayloadResult from RestJsonTest.
/// REST API Reference for TestBlobPayload Operation
TestBlobPayloadResponse EndTestBlobPayload(IAsyncResult asyncResult);
#endregion
#region TestBody
///
/// Post a test body request.
///
/// Container for the necessary parameters to execute the TestBody service method.
///
/// The response from the TestBody service method, as returned by RestJsonTest.
/// REST API Reference for TestBody Operation
TestBodyResponse TestBody(TestBodyRequest request);
///
/// Initiates the asynchronous execution of the TestBody operation.
///
///
/// Container for the necessary parameters to execute the TestBody operation on AmazonRestJsonTestClient.
/// 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 EndTestBody
/// operation.
/// REST API Reference for TestBody Operation
IAsyncResult BeginTestBody(TestBodyRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the TestBody operation.
///
///
/// The IAsyncResult returned by the call to BeginTestBody.
///
/// Returns a TestBodyResult from RestJsonTest.
/// REST API Reference for TestBody Operation
TestBodyResponse EndTestBody(IAsyncResult asyncResult);
#endregion
#region TestPayload
///
/// Post a test payload request.
///
/// Container for the necessary parameters to execute the TestPayload service method.
///
/// The response from the TestPayload service method, as returned by RestJsonTest.
/// REST API Reference for TestPayload Operation
TestPayloadResponse TestPayload(TestPayloadRequest request);
///
/// Initiates the asynchronous execution of the TestPayload operation.
///
///
/// Container for the necessary parameters to execute the TestPayload operation on AmazonRestJsonTestClient.
/// 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 EndTestPayload
/// operation.
/// REST API Reference for TestPayload Operation
IAsyncResult BeginTestPayload(TestPayloadRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the TestPayload operation.
///
///
/// The IAsyncResult returned by the call to BeginTestPayload.
///
/// Returns a TestPayloadResult from RestJsonTest.
/// REST API Reference for TestPayload Operation
TestPayloadResponse EndTestPayload(IAsyncResult asyncResult);
#endregion
}
}