Table of Contents

Class CSMCallAttemptHandler

Namespace
Amazon.Runtime.Internal
Assembly
AWSSDK.Core.dll

The CSM handler has the logic for capturing data for CSM attempts when enabled.

public class CSMCallAttemptHandler : PipelineHandler, IPipelineHandler
Inheritance
CSMCallAttemptHandler
Implements
Inherited Members

Constructors

CSMCallAttemptHandler()

public CSMCallAttemptHandler()

Methods

CSMCallAttemptMetricsCapture(IRequestContext, IResponseContext)

Method that gets called in the final clause that captures data for each http request from the request and response context.

protected static void CSMCallAttemptMetricsCapture(IRequestContext requestContext, IResponseContext responseContext)

Parameters

requestContext IRequestContext
responseContext IResponseContext

InvokeAsync(IAsyncExecutionContext)

Invokes the CSM handler and captures data for the CSM attempts.

public override IAsyncResult InvokeAsync(IAsyncExecutionContext executionContext)

Parameters

executionContext IAsyncExecutionContext

Returns

IAsyncResult

InvokeAsyncCallback(IAsyncExecutionContext)

protected override void InvokeAsyncCallback(IAsyncExecutionContext executionContext)

Parameters

executionContext IAsyncExecutionContext

InvokeSync(IExecutionContext)

Invokes the CSM handler and captures data for the CSM attempts.

public override void InvokeSync(IExecutionContext executionContext)

Parameters

executionContext IExecutionContext

PreInvoke(IExecutionContext)

Executes the OnPreInvoke action as part of pre-invoke.

protected virtual void PreInvoke(IExecutionContext executionContext)

Parameters

executionContext IExecutionContext