/*
* 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.Threading;
using System.Threading.Tasks;
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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the NoPayload service method, as returned by RestJsonTest.
/// REST API Reference for NoPayload Operation
Task NoPayloadAsync(NoPayloadRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region TestBlobPayload
///
/// Post a test blob payload request.
///
/// Container for the necessary parameters to execute the TestBlobPayload service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the TestBlobPayload service method, as returned by RestJsonTest.
/// REST API Reference for TestBlobPayload Operation
Task TestBlobPayloadAsync(TestBlobPayloadRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region TestBody
///
/// Post a test body request.
///
/// Container for the necessary parameters to execute the TestBody service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the TestBody service method, as returned by RestJsonTest.
/// REST API Reference for TestBody Operation
Task TestBodyAsync(TestBodyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region TestPayload
///
/// Post a test payload request.
///
/// Container for the necessary parameters to execute the TestPayload service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the TestPayload service method, as returned by RestJsonTest.
/// REST API Reference for TestPayload Operation
Task TestPayloadAsync(TestPayloadRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
}
}