Table of Contents

Class CredentialsRetriever

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

This handler retrieved the AWS credentials to be used for the current call.

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

Constructors

CredentialsRetriever(AWSCredentials)

The constructor for CredentialsRetriever.

public CredentialsRetriever(AWSCredentials credentials)

Parameters

credentials AWSCredentials

An AWSCredentials instance.

Properties

Credentials

protected AWSCredentials Credentials { get; }

Property Value

AWSCredentials

Methods

InvokeAsync(IAsyncExecutionContext)

Calls pre invoke logic before calling the next handler in the pipeline.

public override IAsyncResult InvokeAsync(IAsyncExecutionContext executionContext)

Parameters

executionContext IAsyncExecutionContext

The execution context which contains both the requests and response context.

Returns

IAsyncResult

IAsyncResult which represent an async operation.

InvokeSync(IExecutionContext)

Calls pre invoke logic before calling the next handler in the pipeline.

public override void InvokeSync(IExecutionContext executionContext)

Parameters

executionContext IExecutionContext

The execution context which contains both the requests and response context.

PreInvoke(IExecutionContext)

Retrieves the credentials to be used for the current call before invoking the next handler.

protected virtual void PreInvoke(IExecutionContext executionContext)

Parameters

executionContext IExecutionContext