How to use @aws-sdk/util-body-length-node - 9 common examples

To help you get started, we’ve selected a few @aws-sdk/util-body-length-node 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-s3-node / S3Configuration.ts View on Github external
httpHandler: {
    defaultProvider: (configuration: { keepAlive: boolean }) =>
      new __aws_sdk_node_http_handler.NodeHttpHandler(configuration)
  },
  handler: {
    defaultProvider: (configuration: {
      httpHandler: __aws_sdk_types.HttpHandler<_stream.Readable>;
      parser: __aws_sdk_types.ResponseParser<_stream.Readable>;
    }) =>
      __aws_sdk_core_handler.coreHandler(
        configuration.httpHandler,
        configuration.parser
      )
  },
  bodyLengthChecker: {
    defaultValue: __aws_sdk_util_body_length_node.calculateBodyLength
  },
  retryDecider: {},
  delayDecider: {},
  credentials: {
    defaultProvider: __aws_sdk_credential_provider_node.defaultProvider,
    normalize: (
      value:
        | __aws_sdk_types.Credentials
        | __aws_sdk_types.Provider<__aws_sdk_types.Credentials>
        | undefined
    ) => {
      if (typeof value === "object") {
        const promisified = Promise.resolve(value);
        return () => promisified;
      }
github aws / aws-sdk-js-v3 / packages / client-kms-node / KMSConfiguration.ts View on Github external
httpHandler: {
    defaultProvider: (configuration: { keepAlive: boolean }) =>
      new __aws_sdk_node_http_handler.NodeHttpHandler(configuration)
  },
  handler: {
    defaultProvider: (configuration: {
      httpHandler: __aws_sdk_types.HttpHandler<_stream.Readable>;
      parser: __aws_sdk_types.ResponseParser<_stream.Readable>;
    }) =>
      __aws_sdk_core_handler.coreHandler(
        configuration.httpHandler,
        configuration.parser
      )
  },
  bodyLengthChecker: {
    defaultValue: __aws_sdk_util_body_length_node.calculateBodyLength
  },
  retryDecider: {},
  delayDecider: {},
  credentials: {
    defaultProvider: __aws_sdk_credential_provider_node.defaultProvider,
    normalize: (
      value:
        | __aws_sdk_types.Credentials
        | __aws_sdk_types.Provider<__aws_sdk_types.Credentials>
        | undefined
    ) => {
      if (typeof value === "object") {
        const promisified = Promise.resolve(value);
        return () => promisified;
      }
github aws / aws-sdk-js-v3 / clients / node / client-rekognition-node / RekognitionConfiguration.ts View on Github external
httpHandler: {
    defaultProvider: (configuration: { keepAlive: boolean }) =>
      new __aws_sdk_node_http_handler.NodeHttpHandler(configuration)
  },
  handler: {
    defaultProvider: (configuration: {
      httpHandler: __aws_sdk_types.HttpHandler<_stream.Readable>;
      parser: __aws_sdk_types.ResponseParser<_stream.Readable>;
    }) =>
      __aws_sdk_core_handler.coreHandler(
        configuration.httpHandler,
        configuration.parser
      )
  },
  bodyLengthChecker: {
    defaultValue: __aws_sdk_util_body_length_node.calculateBodyLength
  },
  retryDecider: {},
  delayDecider: {},
  credentials: {
    defaultProvider: __aws_sdk_credential_provider_node.defaultProvider,
    normalize: (
      value:
        | __aws_sdk_types.Credentials
        | __aws_sdk_types.Provider<__aws_sdk_types.Credentials>
        | undefined
    ) => {
      if (typeof value === "object") {
        const promisified = Promise.resolve(value);
        return () => promisified;
      }
github aws / aws-sdk-js-v3 / packages / client-lambda-node / LambdaConfiguration.ts View on Github external
httpHandler: {
    defaultProvider: (configuration: { keepAlive: boolean }) =>
      new __aws_sdk_node_http_handler.NodeHttpHandler(configuration)
  },
  handler: {
    defaultProvider: (configuration: {
      httpHandler: __aws_sdk_types.HttpHandler<_stream.Readable>;
      parser: __aws_sdk_types.ResponseParser<_stream.Readable>;
    }) =>
      __aws_sdk_core_handler.coreHandler(
        configuration.httpHandler,
        configuration.parser
      )
  },
  bodyLengthChecker: {
    defaultValue: __aws_sdk_util_body_length_node.calculateBodyLength
  },
  retryDecider: {},
  delayDecider: {},
  credentials: {
    defaultProvider: __aws_sdk_credential_provider_node.defaultProvider,
    normalize: (
      value:
        | __aws_sdk_types.Credentials
        | __aws_sdk_types.Provider<__aws_sdk_types.Credentials>
        | undefined
    ) => {
      if (typeof value === "object") {
        const promisified = Promise.resolve(value);
        return () => promisified;
      }
github aws / aws-sdk-js-v3 / clients / node / client-codecommit-node / CodeCommitConfiguration.ts View on Github external
httpHandler: {
    defaultProvider: (configuration: { keepAlive: boolean }) =>
      new __aws_sdk_node_http_handler.NodeHttpHandler(configuration)
  },
  handler: {
    defaultProvider: (configuration: {
      httpHandler: __aws_sdk_types.HttpHandler<_stream.Readable>;
      parser: __aws_sdk_types.ResponseParser<_stream.Readable>;
    }) =>
      __aws_sdk_core_handler.coreHandler(
        configuration.httpHandler,
        configuration.parser
      )
  },
  bodyLengthChecker: {
    defaultValue: __aws_sdk_util_body_length_node.calculateBodyLength
  },
  retryDecider: {},
  delayDecider: {},
  credentials: {
    defaultProvider: __aws_sdk_credential_provider_node.defaultProvider,
    normalize: (
      value:
        | __aws_sdk_types.Credentials
        | __aws_sdk_types.Provider<__aws_sdk_types.Credentials>
        | undefined
    ) => {
      if (typeof value === "object") {
        const promisified = Promise.resolve(value);
        return () => promisified;
      }
github aws / aws-sdk-js-v3 / packages / client-sqs-node / SQSConfiguration.ts View on Github external
httpHandler: {
    defaultProvider: (configuration: { keepAlive: boolean }) =>
      new __aws_sdk_node_http_handler.NodeHttpHandler(configuration)
  },
  handler: {
    defaultProvider: (configuration: {
      httpHandler: __aws_sdk_types.HttpHandler<_stream.Readable>;
      parser: __aws_sdk_types.ResponseParser<_stream.Readable>;
    }) =>
      __aws_sdk_core_handler.coreHandler(
        configuration.httpHandler,
        configuration.parser
      )
  },
  bodyLengthChecker: {
    defaultValue: __aws_sdk_util_body_length_node.calculateBodyLength
  },
  retryDecider: {},
  delayDecider: {},
  credentials: {
    defaultProvider: __aws_sdk_credential_provider_node.defaultProvider,
    normalize: (
      value:
        | __aws_sdk_types.Credentials
        | __aws_sdk_types.Provider<__aws_sdk_types.Credentials>
        | undefined
    ) => {
      if (typeof value === "object") {
        const promisified = Promise.resolve(value);
        return () => promisified;
      }
github aws / aws-sdk-js-v3 / clients / node / client-cognito-identity-provider-node / CognitoIdentityProviderConfiguration.ts View on Github external
httpHandler: {
    defaultProvider: (configuration: { keepAlive: boolean }) =>
      new __aws_sdk_node_http_handler.NodeHttpHandler(configuration)
  },
  handler: {
    defaultProvider: (configuration: {
      httpHandler: __aws_sdk_types.HttpHandler<_stream.Readable>;
      parser: __aws_sdk_types.ResponseParser<_stream.Readable>;
    }) =>
      __aws_sdk_core_handler.coreHandler(
        configuration.httpHandler,
        configuration.parser
      )
  },
  bodyLengthChecker: {
    defaultValue: __aws_sdk_util_body_length_node.calculateBodyLength
  },
  retryDecider: {},
  delayDecider: {},
  credentials: {
    defaultProvider: __aws_sdk_credential_provider_node.defaultProvider,
    normalize: (
      value:
        | __aws_sdk_types.Credentials
        | __aws_sdk_types.Provider<__aws_sdk_types.Credentials>
        | undefined
    ) => {
      if (typeof value === "object") {
        const promisified = Promise.resolve(value);
        return () => promisified;
      }
github aws / aws-sdk-js-v3 / packages / client-xray-node / XRayConfiguration.ts View on Github external
httpHandler: {
    defaultProvider: (configuration: { keepAlive: boolean }) =>
      new __aws_sdk_node_http_handler.NodeHttpHandler(configuration)
  },
  handler: {
    defaultProvider: (configuration: {
      httpHandler: __aws_sdk_types.HttpHandler<_stream.Readable>;
      parser: __aws_sdk_types.ResponseParser<_stream.Readable>;
    }) =>
      __aws_sdk_core_handler.coreHandler(
        configuration.httpHandler,
        configuration.parser
      )
  },
  bodyLengthChecker: {
    defaultValue: __aws_sdk_util_body_length_node.calculateBodyLength
  },
  retryDecider: {},
  delayDecider: {},
  credentials: {
    defaultProvider: __aws_sdk_credential_provider_node.defaultProvider,
    normalize: (
      value:
        | __aws_sdk_types.Credentials
        | __aws_sdk_types.Provider<__aws_sdk_types.Credentials>
        | undefined
    ) => {
      if (typeof value === "object") {
        const promisified = Promise.resolve(value);
        return () => promisified;
      }
github aws / aws-sdk-js-v3 / packages / client-dynamodb-node / DynamoDBConfiguration.ts View on Github external
httpHandler: {
    defaultProvider: (configuration: { keepAlive: boolean }) =>
      new __aws_sdk_node_http_handler.NodeHttpHandler(configuration)
  },
  handler: {
    defaultProvider: (configuration: {
      httpHandler: __aws_sdk_types.HttpHandler<_stream.Readable>;
      parser: __aws_sdk_types.ResponseParser<_stream.Readable>;
    }) =>
      __aws_sdk_core_handler.coreHandler(
        configuration.httpHandler,
        configuration.parser
      )
  },
  bodyLengthChecker: {
    defaultValue: __aws_sdk_util_body_length_node.calculateBodyLength
  },
  retryDecider: {},
  delayDecider: {},
  credentials: {
    defaultProvider: __aws_sdk_credential_provider_node.defaultProvider,
    normalize: (
      value:
        | __aws_sdk_types.Credentials
        | __aws_sdk_types.Provider<__aws_sdk_types.Credentials>
        | undefined
    ) => {
      if (typeof value === "object") {
        const promisified = Promise.resolve(value);
        return () => promisified;
      }

@aws-sdk/util-body-length-node

Determines the length of a request body in node.js

Apache-2.0
Latest version published 1 year ago

Package Health Score

72 / 100
Full package analysis

Popular @aws-sdk/util-body-length-node functions

Similar packages