How to use the @aws-sdk/node-http-handler.NodeHttpHandler function in @aws-sdk/node-http-handler

To help you get started, we’ve selected a few @aws-sdk/node-http-handler examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github aws / aws-sdk-js-v3 / packages / client-sqs-node / SQSConfiguration.ts View on Github external
defaultProvider: (configuration: { keepAlive: boolean }) =>
      new __aws_sdk_node_http_handler.NodeHttpHandler(configuration)
  },
github aws / aws-sdk-js-v3 / clients / node / client-codecommit-node / CodeCommitConfiguration.ts View on Github external
defaultProvider: (configuration: { keepAlive: boolean }) =>
      new __aws_sdk_node_http_handler.NodeHttpHandler(configuration)
  },
github aws / aws-sdk-js-v3 / packages / client-kms-node / KMSConfiguration.ts View on Github external
defaultProvider: (configuration: { keepAlive: boolean }) =>
      new __aws_sdk_node_http_handler.NodeHttpHandler(configuration)
  },
github aws / aws-sdk-js-v3 / clients / node / client-cognito-identity-provider-node / CognitoIdentityProviderConfiguration.ts View on Github external
defaultProvider: (configuration: { keepAlive: boolean }) =>
      new __aws_sdk_node_http_handler.NodeHttpHandler(configuration)
  },
github aws / aws-sdk-js-v3 / packages / client-xray-node / XRayConfiguration.ts View on Github external
defaultProvider: (configuration: { keepAlive: boolean }) =>
      new __aws_sdk_node_http_handler.NodeHttpHandler(configuration)
  },
github aws / aws-sdk-js-v3 / packages / client-lambda-node / LambdaConfiguration.ts View on Github external
defaultProvider: (configuration: { keepAlive: boolean }) =>
      new __aws_sdk_node_http_handler.NodeHttpHandler(configuration)
  },
github aws / aws-sdk-js-v3 / packages / client-dynamodb-node / DynamoDBConfiguration.ts View on Github external
defaultProvider: (configuration: { keepAlive: boolean }) =>
      new __aws_sdk_node_http_handler.NodeHttpHandler(configuration)
  },
github aws / aws-sdk-js-v3 / packages / client-s3-node / S3Configuration.ts View on Github external
defaultProvider: (configuration: { keepAlive: boolean }) =>
      new __aws_sdk_node_http_handler.NodeHttpHandler(configuration)
  },
github aws / aws-sdk-js-v3 / clients / node / client-rekognition-node / RekognitionConfiguration.ts View on Github external
defaultProvider: (configuration: { keepAlive: boolean }) =>
      new __aws_sdk_node_http_handler.NodeHttpHandler(configuration)
  },
github aws / aws-sdk-js-v3 / clients / client-rds-data / runtimeConfig.ts View on Github external
import { defaultProvider as regionDefaultProvider } from "@aws-sdk/region-provider";
import { Hash } from "@aws-sdk/hash-node";
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
import { parseUrl } from "@aws-sdk/url-parser-node";
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
import { streamCollector } from "@aws-sdk/stream-collector-node";
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
import { name, version } from "./package.json";
import { ClientDefaults } from "./RDSDataClient";
import { ClientSharedValues } from "./runtimeConfig.shared";

export const ClientDefaultValues: Required = {
  ...ClientSharedValues,
  requestHandler: new NodeHttpHandler(),
  sha256: Hash.bind(null, "sha256"),
  urlParser: parseUrl,
  bodyLengthChecker: calculateBodyLength,
  streamCollector,
  base64Decoder: fromBase64,
  base64Encoder: toBase64,
  utf8Decoder: fromUtf8,
  utf8Encoder: toUtf8,
  defaultUserAgent: defaultUserAgent(name, version),
  signingName: "rds-data",
  credentialDefaultProvider,
  regionDefaultProvider,
};

@aws-sdk/node-http-handler

Provides a way to make requests

Apache-2.0
Latest version published 1 year ago

Package Health Score

72 / 100
Full package analysis

Similar packages