# @types/aws-api-gateway-client

> TypeScript definitions for aws-api-gateway-client

Latest version **0.3.3** (published 2023-11-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/aws-api-gateway-client
pnpm add @types/aws-api-gateway-client
yarn add @types/aws-api-gateway-client
bun add @types/aws-api-gateway-client
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.3.3 |
| Published | 2023-11-06 |
| First published | 2022-04-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51464 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/aws-api-gateway-client
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/aws-api-gateway-client
- npm.io page: https://npm.io/package/@types/aws-api-gateway-client

## Recent versions

- 0.3.3 (latest) — 2023-11-06
- 0.3.0 (ts3.9) — 2022-04-18
- 0.3.2 — 2023-10-17
- 0.3.1 — 2023-09-22

## README

# Installation
> `npm install --save @types/aws-api-gateway-client`

# Summary
This package contains type definitions for aws-api-gateway-client (https://github.com/kndt84/aws-api-gateway-client).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/aws-api-gateway-client.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/aws-api-gateway-client/index.d.ts)
````ts
export interface ApiGatewayClientConfig {
    accessKey?: string | undefined;
    secretKey?: string | undefined;
    sessionToken?: string | undefined;
    region?: string | undefined;
    apiKey?: string | undefined;
    invokeUrl: string | undefined;
    service?: string | undefined;
    defaultContentType?: string | undefined;
    defaultAcceptType?: string | undefined;
    systemClockOffset?: number | undefined;
    headers?: Record<string, string | undefined>;
    host?: string | undefined;
}

export interface Response {
    data: unknown;
    status: number;
    statusText: string;
    headers: unknown;
    request?: unknown;
}

export interface ApiGatewayClient {
    invokeApi(
        params: Record<string, unknown>,
        pathTemplate: string,
        method: "GET" | "POST" | "DELETE" | "UPDATE",
        additionalParams?: {
            headers?: { [key: string]: unknown };
            queryParams?: { [key: string]: string | number | boolean };
            timeout?: number;
        },
        body?: string,
    ): Promise<Response>;
}

export const apigClientFactory: {
    newClient(apiGatewayClientConfig: ApiGatewayClientConfig): ApiGatewayClient;
};

export default apigClientFactory;

````

### Additional Details
 * Last updated: Mon, 06 Nov 2023 22:41:04 GMT
 * Dependencies: none

# Credits
These definitions were written by [Jussi Kinnula](https://github.com/jussikinnula).

---
_Source: https://npm.io/package/@types/aws-api-gateway-client · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
