Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Client<Input, Output, ResolvedClientConfiguration, HandlerOptions, ClientInput, ClientOutput, ResolvedClientConfiguration>

A general interface for service clients, idempotent to browser or node clients This type corresponds to SmithyClient(https://github.com/aws/aws-sdk-js-v3/blob/main/packages/smithy-client/src/client.ts). It's provided for using without importing the SmithyClient class.

Type parameters

Hierarchy

  • Client

Implements

  • Client<ClientInput, ClientOutput, ResolvedClientConfiguration>

Implemented by

Index

Constructors

Properties

Constructors

constructor

  • new Client(config: ResolvedClientConfiguration): Client
  • Parameters

    • config: ResolvedClientConfiguration

    Returns Client

Properties

Readonly config

config: ResolvedClientConfiguration

destroy

  • destroy(): void
  • Returns void

middlewareStack

middlewareStack: MiddlewareStack<ClientInput, ClientOutput>

send

  • Type parameters

    • InputType: ClientInput

    • OutputType: ClientOutput

    Parameters

    Returns Promise<OutputType>

  • Type parameters

    • InputType: ClientInput

    • OutputType: ClientOutput

    Parameters

    Returns void

  • Type parameters

    • InputType: ClientInput

    • OutputType: ClientOutput

    Parameters

    Returns void