/*
* 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 bearer-token-auth-test-2022-03-21.normal.json service model.
*/
using System;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.BearerTokenAuthTest.Model;
namespace Amazon.BearerTokenAuthTest
{
///
/// Interface for accessing BearerTokenAuthTest
///
///
///
public partial interface IAmazonBearerTokenAuthTest : IAmazonService, IDisposable
{
#region InheritBearerAuthOperation
///
/// Request that inherits the bearer signature version set at the Service
///
/// Container for the necessary parameters to execute the InheritBearerAuthOperation service method.
///
/// The response from the InheritBearerAuthOperation service method, as returned by BearerTokenAuthTest.
/// REST API Reference for InheritBearerAuthOperation Operation
InheritBearerAuthOperationResponse InheritBearerAuthOperation(InheritBearerAuthOperationRequest request);
///
/// Initiates the asynchronous execution of the InheritBearerAuthOperation operation.
///
///
/// Container for the necessary parameters to execute the InheritBearerAuthOperation operation on AmazonBearerTokenAuthTestClient.
/// 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 EndInheritBearerAuthOperation
/// operation.
/// REST API Reference for InheritBearerAuthOperation Operation
IAsyncResult BeginInheritBearerAuthOperation(InheritBearerAuthOperationRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the InheritBearerAuthOperation operation.
///
///
/// The IAsyncResult returned by the call to BeginInheritBearerAuthOperation.
///
/// Returns a InheritBearerAuthOperationResult from BearerTokenAuthTest.
/// REST API Reference for InheritBearerAuthOperation Operation
InheritBearerAuthOperationResponse EndInheritBearerAuthOperation(IAsyncResult asyncResult);
#endregion
#region OverrideAuthToSigV4Operation
///
/// An operation that overrides auth to Sigv4.
///
/// Container for the necessary parameters to execute the OverrideAuthToSigV4Operation service method.
///
/// The response from the OverrideAuthToSigV4Operation service method, as returned by BearerTokenAuthTest.
/// REST API Reference for OverrideAuthToSigV4Operation Operation
OverrideAuthToSigV4OperationResponse OverrideAuthToSigV4Operation(OverrideAuthToSigV4OperationRequest request);
///
/// Initiates the asynchronous execution of the OverrideAuthToSigV4Operation operation.
///
///
/// Container for the necessary parameters to execute the OverrideAuthToSigV4Operation operation on AmazonBearerTokenAuthTestClient.
/// 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 EndOverrideAuthToSigV4Operation
/// operation.
/// REST API Reference for OverrideAuthToSigV4Operation Operation
IAsyncResult BeginOverrideAuthToSigV4Operation(OverrideAuthToSigV4OperationRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the OverrideAuthToSigV4Operation operation.
///
///
/// The IAsyncResult returned by the call to BeginOverrideAuthToSigV4Operation.
///
/// Returns a OverrideAuthToSigV4OperationResult from BearerTokenAuthTest.
/// REST API Reference for OverrideAuthToSigV4Operation Operation
OverrideAuthToSigV4OperationResponse EndOverrideAuthToSigV4Operation(IAsyncResult asyncResult);
#endregion
}
}