Options
All
  • Public
  • Public/Protected
  • All
Menu

Module @aws-sdk/smithy-client

@aws-sdk/smithy-client

NPM version NPM downloads

An internal package

Usage

You probably shouldn't, at least directly.

Index

References

Classes

Interfaces

Type aliases

Variables

Functions

References

Client

Re-exports Client

Command

Re-exports Command

ConditionalLazyValueInstruction

Re-exports ConditionalLazyValueInstruction

ConditionalValueInstruction

Re-exports ConditionalValueInstruction

DefaultsMode

Re-exports DefaultsMode

DefaultsModeConfigs

Re-exports DefaultsModeConfigs

DocumentType

Re-exports DocumentType

ExceptionOptionType

Re-exports ExceptionOptionType

FilterStatus

Re-exports FilterStatus

FilterStatusSupplier

Re-exports FilterStatusSupplier

LazyJsonString

Re-exports LazyJsonString

LazyValueInstruction

Re-exports LazyValueInstruction

ObjectMappingInstruction

Re-exports ObjectMappingInstruction

ObjectMappingInstructions

Re-exports ObjectMappingInstructions

ResolvedDefaultsMode

Re-exports ResolvedDefaultsMode

SENSITIVE_STRING

Re-exports SENSITIVE_STRING

SdkError

Re-exports SdkError

ServiceException

Re-exports ServiceException

ServiceExceptionOptions

Re-exports ServiceExceptionOptions

SimpleValueInstruction

Re-exports SimpleValueInstruction

SmithyConfiguration

Re-exports SmithyConfiguration

SmithyException

Re-exports SmithyException

SmithyResolvedConfiguration

Re-exports SmithyResolvedConfiguration

StringWrapper

Re-exports StringWrapper

UnfilteredValue

Re-exports UnfilteredValue

Value

Re-exports Value

ValueFilteringFunction

Re-exports ValueFilteringFunction

ValueSupplier

Re-exports ValueSupplier

convertMap

Re-exports convertMap

dateToUtcString

Re-exports dateToUtcString

decorateServiceException

Re-exports decorateServiceException

emitWarningIfUnsupportedVersion

Re-exports emitWarningIfUnsupportedVersion

expectBoolean

Re-exports expectBoolean

expectByte

Re-exports expectByte

expectFloat32

Re-exports expectFloat32

expectInt

Re-exports expectInt

expectInt32

Re-exports expectInt32

expectLong

Re-exports expectLong

expectNonNull

Re-exports expectNonNull

expectNumber

Re-exports expectNumber

expectObject

Re-exports expectObject

expectShort

Re-exports expectShort

expectString

Re-exports expectString

expectUnion

Re-exports expectUnion

extendedEncodeURIComponent

Re-exports extendedEncodeURIComponent

getArrayIfSingleItem

Re-exports getArrayIfSingleItem

getValueFromTextNode

Re-exports getValueFromTextNode

handleFloat

Re-exports handleFloat

limitedParseDouble

Re-exports limitedParseDouble

limitedParseFloat

Re-exports limitedParseFloat

limitedParseFloat32

Re-exports limitedParseFloat32

loadConfigsForDefaultMode

Re-exports loadConfigsForDefaultMode

map

Re-exports map

parseBoolean

Re-exports parseBoolean

parseEpochTimestamp

Re-exports parseEpochTimestamp

parseRfc3339DateTime

Re-exports parseRfc3339DateTime

parseRfc7231DateTime

Re-exports parseRfc7231DateTime

resolvedPath

Re-exports resolvedPath

serializeFloat

Re-exports serializeFloat

splitEvery

Re-exports splitEvery

strictParseByte

Re-exports strictParseByte

strictParseDouble

Re-exports strictParseDouble

strictParseFloat

Re-exports strictParseFloat

strictParseFloat32

Re-exports strictParseFloat32

strictParseInt

Re-exports strictParseInt

strictParseInt32

Re-exports strictParseInt32

strictParseLong

Re-exports strictParseLong

strictParseShort

Re-exports strictParseShort

throwDefaultError

Re-exports throwDefaultError

Type aliases

ConditionalLazyValueInstruction

ConditionalLazyValueInstruction: [FilterStatusSupplier, ValueSupplier]

ConditionalValueInstruction

ConditionalValueInstruction: [ValueFilteringFunction, Value]

DefaultsMode

DefaultsMode: "standard" | "in-region" | "cross-region" | "mobile" | "auto" | "legacy"

Option determining how certain default configuration options are resolved in the SDK. It can be one of the value listed below:

  • "standard":

    The STANDARD mode provides the latest recommended default values that should be safe to run in most scenarios

    Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK

  • "in-region":

    The IN_REGION mode builds on the standard mode and includes optimization tailored for applications which call AWS services from within the same AWS region

    Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK

  • "cross-region":

    The CROSS_REGION mode builds on the standard mode and includes optimization tailored for applications which call AWS services in a different region

    Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK

  • "mobile":

    The MOBILE mode builds on the standard mode and includes optimization tailored for mobile applications

    Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK

  • "auto":

    The AUTO mode is an experimental mode that builds on the standard mode. The SDK will attempt to discover the execution environment to determine the appropriate settings automatically.

    Note that the auto detection is heuristics-based and does not guarantee 100% accuracy. STANDARD mode will be used if the execution environment cannot be determined. The auto detection might query EC2 Instance Metadata service, which might introduce latency. Therefore we recommend choosing an explicit defaults_mode instead if startup latency is critical to your application

  • "legacy":

    The LEGACY mode provides default settings that vary per SDK and were used prior to establishment of defaults_mode

default

"legacy"

ExceptionOptionType

ExceptionOptionType<ExceptionType, BaseExceptionType>: Omit<ExceptionType, Exclude<keyof BaseExceptionType, "$metadata">>

The type of the exception class constructor parameter. The returned type contains the properties in the ExceptionType but not in the BaseExceptionType. If the BaseExceptionType contains $metadata property, it's also included in the returned type.

internal

Type parameters

FilterStatus

FilterStatus: boolean | unknown | void

Filter is considered passed if

  1. It is a boolean true.
  2. It is not undefined and is itself truthy.
  3. It is undefined and the corresponding value is neither null nor undefined.

FilterStatusSupplier

FilterStatusSupplier: () => boolean

Supplies the filter check but not against any value as input.

Type declaration

    • (): boolean
    • Returns boolean

IntSize

IntSize: 32 | 16 | 8

LazyValueInstruction

LazyValueInstruction: [FilterStatus, ValueSupplier]

ObjectMappingInstruction

An instruction set for assigning a value to a target object.

ObjectMappingInstructions

ObjectMappingInstructions: Record<string, ObjectMappingInstruction>

A set of instructions for multiple keys. The aim is to provide a concise yet readable way to map and filter values onto a target object.

example
const example: ObjectMappingInstructions = {
  lazyValue1: [, () => 1],
  lazyValue2: [, () => 2],
  lazyValue3: [, () => 3],
  lazyConditionalValue1: [() => true, () => 4],
  lazyConditionalValue2: [() => true, () => 5],
  lazyConditionalValue3: [true, () => 6],
  lazyConditionalValue4: [false, () => 44],
  lazyConditionalValue5: [() => false, () => 55],
  lazyConditionalValue6: ["", () => 66],
  simpleValue1: [, 7],
  simpleValue2: [, 8],
  simpleValue3: [, 9],
  conditionalValue1: [() => true, 10],
  conditionalValue2: [() => true, 11],
  conditionalValue3: [{}, 12],
  conditionalValue4: [false, 110],
  conditionalValue5: [() => false, 121],
  conditionalValue6: ["", 132],
};

const exampleResult: Record<string, any> = {
  lazyValue1: 1,
  lazyValue2: 2,
  lazyValue3: 3,
  lazyConditionalValue1: 4,
  lazyConditionalValue2: 5,
  lazyConditionalValue3: 6,
  simpleValue1: 7,
  simpleValue2: 8,
  simpleValue3: 9,
  conditionalValue1: 10,
  conditionalValue2: 11,
  conditionalValue3: 12,
};

ResolvedDefaultsMode

ResolvedDefaultsMode: Exclude<DefaultsMode, "auto">
internal

SimpleValueInstruction

SimpleValueInstruction: [FilterStatus, Value]

SmithyResolvedConfiguration

SmithyResolvedConfiguration<HandlerOptions>: SmithyConfiguration<HandlerOptions>

Type parameters

  • HandlerOptions

UnfilteredValue

UnfilteredValue: any

non-array

Value

Value: any

A non-function value.

ValueFilteringFunction

ValueFilteringFunction: (value: any) => boolean

Filter check with the given value.

Type declaration

    • (value: any): boolean
    • Parameters

      • value: any

      Returns boolean

ValueSupplier

ValueSupplier: () => any

Supplies the value for lazy evaluation.

Type declaration

    • (): any
    • Returns any

Variables

Const ASC_TIME

ASC_TIME: RegExp = new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( [1-9]|\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? (\d{4})$/)

Const DAYS

DAYS: Array<String> = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"]

Const DAYS_IN_MONTH

DAYS_IN_MONTH: number[] = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]

Const FIFTY_YEARS_IN_MILLIS

FIFTY_YEARS_IN_MILLIS: number = 50 * 365 * 24 * 60 * 60 * 1000

Const IMF_FIXDATE

IMF_FIXDATE: RegExp = new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d{2}) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/)

Const MAX_FLOAT

MAX_FLOAT: number = Math.ceil(2 ** 127 * (2 - 2 ** -23))

Const MONTHS

MONTHS: Array<String> = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]

Const NUMBER_REGEX

NUMBER_REGEX: RegExp = /(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)|(-?Infinity)|(NaN)/g

Const RFC3339

RFC3339: RegExp = new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?[zZ]$/)

Const RFC_850_DATE

RFC_850_DATE: RegExp = new RegExp(/^(?:Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d{2})-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/)

Const SENSITIVE_STRING

SENSITIVE_STRING: "***SensitiveInformation***" = "***SensitiveInformation***"

Const expectInt

expectInt: expectLong = expectLong
deprecated

Use expectLong

Const handleFloat

handleFloat: limitedParseDouble = limitedParseDouble
deprecated

Use limitedParseDouble

Const limitedParseFloat

limitedParseFloat: limitedParseDouble = limitedParseDouble
deprecated

Use limitedParseDouble

Const strictParseFloat

strictParseFloat: strictParseDouble = strictParseDouble
deprecated

Use strictParseDouble

Const strictParseInt

strictParseInt: strictParseLong = strictParseLong
deprecated

Use strictParseLong

Let warningEmitted

warningEmitted: boolean = false

Functions

Const StringWrapper

Const adjustRfc850Year

  • adjustRfc850Year(input: Date): Date
  • Adjusts the year value found in RFC 850 dates according to the rules expressed in RFC7231, which state:

    Recipients of a timestamp value in rfc850-date format, which uses a two-digit year, MUST interpret a timestamp that appears to be more than 50 years in the future as representing the most recent year in the past that had the same last two digits.

    Parameters

    • input: Date

      a Date that assumes the two-digit year was in the future

    Returns Date

    a Date that is in the past if input is > 50 years in the future

Const buildDate

  • buildDate(year: number, month: number, day: number, time: RawTime): Date
  • Build a date from a numeric year, month, date, and an match with named groups "H", "m", s", and "frac", representing hours, minutes, seconds, and optional fractional seconds.

    Parameters

    • year: number

      numeric year

    • month: number

      numeric month, 1-indexed

    • day: number

      numeric year

    • time: RawTime

    Returns Date

Const castInt

  • castInt(value: number, size: IntSize): number

Private Const convertMap

  • convertMap(target: any): Record<string, any>

dateToUtcString

  • dateToUtcString(date: Date): string

Const decorateServiceException

  • decorateServiceException<E>(exception: E, additions?: Record<string, any>): E
  • This method inject unmodeled member to a deserialized SDK exception, and load the error message from different possible keys('message', 'Message').

    internal

    Type parameters

    Parameters

    • exception: E
    • Default value additions: Record<string, any> = {}

    Returns E

Const deserializeMetadata

Const emitWarningIfUnsupportedVersion

  • emitWarningIfUnsupportedVersion(version: string): void

Const expectBoolean

  • expectBoolean(value: any): boolean | undefined

Const expectByte

  • expectByte(value: any): number | undefined
  • Asserts a value is an 8-bit integer and returns it.

    Parameters

    • value: any

      A value that is expected to be an integer.

    Returns number | undefined

    The value if it's an integer, undefined if it's null/undefined, otherwise an error is thrown.

Const expectFloat32

  • expectFloat32(value: any): number | undefined
  • Asserts a value is a 32-bit float and returns it.

    Parameters

    • value: any

      A value that is expected to be a 32-bit float.

    Returns number | undefined

    The value if it's a float, undefined if it's null/undefined, otherwise an error is thrown.

Const expectInt32

  • expectInt32(value: any): number | undefined
  • Asserts a value is a 32-bit integer and returns it.

    Parameters

    • value: any

      A value that is expected to be an integer.

    Returns number | undefined

    The value if it's an integer, undefined if it's null/undefined, otherwise an error is thrown.

Const expectLong

  • expectLong(value: any): number | undefined
  • Asserts a value is an integer and returns it.

    Parameters

    • value: any

      A value that is expected to be an integer.

    Returns number | undefined

    The value if it's an integer, undefined if it's null/undefined, otherwise an error is thrown.

Const expectNonNull

  • expectNonNull<T>(value: T | null | undefined, location?: string): T
  • Asserts a value is not null or undefined and returns it, or throws an error.

    Type parameters

    • T

    Parameters

    • value: T | null | undefined

      A value that is expected to be defined

    • Optional location: string

      The location where we're expecting to find a defined object (optional)

    Returns T

    The value if it's not undefined, otherwise throws an error

Const expectNumber

  • expectNumber(value: any): number | undefined
  • Asserts a value is a number and returns it.

    Parameters

    • value: any

      A value that is expected to be a number.

    Returns number | undefined

    The value if it's a number, undefined if it's null/undefined, otherwise an error is thrown.

Const expectObject

  • expectObject(value: any): Record<string, any> | undefined
  • Asserts a value is an JSON-like object and returns it. This is expected to be used with values parsed from JSON (arrays, objects, numbers, strings, booleans).

    Parameters

    • value: any

      A value that is expected to be an object

    Returns Record<string, any> | undefined

    The value if it's an object, undefined if it's null/undefined, otherwise an error is thrown.

Const expectShort

  • expectShort(value: any): number | undefined
  • Asserts a value is a 16-bit integer and returns it.

    Parameters

    • value: any

      A value that is expected to be an integer.

    Returns number | undefined

    The value if it's an integer, undefined if it's null/undefined, otherwise an error is thrown.

Const expectSizedInt

  • expectSizedInt(value: any, size: IntSize): number | undefined

Const expectString

  • expectString(value: any): string | undefined
  • Asserts a value is a string and returns it.

    Parameters

    • value: any

      A value that is expected to be a string.

    Returns string | undefined

    The value if it's a string, undefined if it's null/undefined, otherwise an error is thrown.

Const expectUnion

  • expectUnion(value: unknown): Record<string, any> | undefined
  • Asserts a value is a JSON-like object with only one non-null/non-undefined key and returns it.

    Parameters

    • value: unknown

      A value that is expected to be an object with exactly one non-null, non-undefined key.

    Returns Record<string, any> | undefined

    the value if it's a union, undefined if it's null/undefined, otherwise an error is thrown.

extendedEncodeURIComponent

  • extendedEncodeURIComponent(str: string): string

Const getArrayIfSingleItem

  • getArrayIfSingleItem<T>(mayBeArray: T): T | T[]

Const getValueFromTextNode

  • getValueFromTextNode(obj: any): any

Const isLeapYear

  • isLeapYear(year: number): boolean

Const limitedParseDouble

  • limitedParseDouble(value: string | number): number | undefined
  • Asserts a value is a number and returns it. If the value is a string representation of a non-numeric number type (NaN, Infinity, -Infinity), the value will be parsed. Any other string value will result in an exception being thrown. Null or undefined will be returned as undefined. Any other type will result in an exception being thrown.

    Parameters

    • value: string | number

      A number or string representation of a non-numeric float.

    Returns number | undefined

    The value as a number, or undefined if it's null/undefined.

Const limitedParseFloat32

  • limitedParseFloat32(value: string | number): number | undefined
  • Asserts a value is a 32-bit float and returns it. If the value is a string representation of a non-numeric number type (NaN, Infinity, -Infinity), the value will be parsed. Any other string value will result in an exception being thrown. Null or undefined will be returned as undefined. Any other type will result in an exception being thrown.

    Parameters

    • value: string | number

      A number or string representation of a non-numeric float.

    Returns number | undefined

    The value as a number, or undefined if it's null/undefined.

Const loadConfigsForDefaultMode

Private map

Private Const mapWithFilter

Const parseBoolean

  • parseBoolean(value: string): boolean
  • Give an input string, strictly parses a boolean value.

    Parameters

    • value: string

      The boolean string to parse.

    Returns boolean

    true for "true", false for "false", otherwise an error is thrown.

Const parseDateValue

  • parseDateValue(value: string, type: string, lower: number, upper: number): number

Const parseEpochTimestamp

  • parseEpochTimestamp(value: unknown): Date | undefined
  • Parses a value into a Date. Returns undefined if the input is null or undefined, throws an error if the input is not a number or a parseable string.

    Input strings must be an integer or floating point number. Fractional seconds are supported.

    Parameters

    • value: unknown

      the value to parse

    Returns Date | undefined

    a Date or undefined

Const parseFloatString

  • parseFloatString(value: string): number

Const parseMilliseconds

  • parseMilliseconds(value: string | undefined): number

Const parseMonthByShortName

  • parseMonthByShortName(value: string): number

Const parseNumber

  • parseNumber(value: string): number

Const parseRfc3339DateTime

  • parseRfc3339DateTime(value: unknown): Date | undefined

Const parseRfc7231DateTime

  • parseRfc7231DateTime(value: unknown): Date | undefined

Const parseTwoDigitYear

  • parseTwoDigitYear(value: string): number
  • RFC 850 dates use a 2-digit year; start with the assumption that if it doesn't match the current year, then it's a date in the future, then let adjustRfc850Year adjust the final date back to the past if it's too far in the future.

    Example: in 2021, start with the assumption that '11' is '2111', and that '22' is '2022'. adjustRfc850Year will adjust '11' to 2011, (as 2111 is more than 50 years in the future), but keep '22' as 2022. in 2099, '11' will represent '2111', but '98' should be '2098'. There's no description of an RFC 850 date being considered too far in the past in RFC-7231, so it's entirely possible that 2011 is a valid interpretation of '11' in 2099.

    Parameters

    • value: string

      the 2 digit year to parse

    Returns number

    number a year that is equal to or greater than the current UTC year

Const resolvedPath

  • resolvedPath(resolvedPath: string, input: unknown, memberName: string, labelValueProvider: () => string | undefined, uriLabel: string, isGreedyLabel: boolean): string
  • Parameters

    • resolvedPath: string
    • input: unknown
    • memberName: string
    • labelValueProvider: () => string | undefined
        • (): string | undefined
        • Returns string | undefined

    • uriLabel: string
    • isGreedyLabel: boolean

    Returns string

Const serializeFloat

  • serializeFloat(value: number): string | number
  • Serializes a number, turning non-numeric values into strings.

    Parameters

    • value: number

      The number to serialize.

    Returns string | number

    A number, or a string if the given number was non-numeric.

splitEvery

  • splitEvery(value: string, delimiter: string, numDelimiters: number): Array<string>
  • Given an input string, splits based on the delimiter after a given number of delimiters has been encountered.

    Parameters

    • value: string

      The input string to split.

    • delimiter: string

      The delimiter to split on.

    • numDelimiters: number

      The number of delimiters to have encountered to split.

    Returns Array<string>

Const strictParseByte

  • strictParseByte(value: string | number): number | undefined
  • Parses a value into an 8-bit integer. If the value is null or undefined, undefined will be returned. If the value is a string, it will be parsed by parseFloat and the result will be asserted to be an integer. If the parsed value is not an integer, or the raw value is any type other than a string or number, an exception will be thrown.

    Parameters

    • value: string | number

      A number or string representation of an 8-bit integer.

    Returns number | undefined

    The value as a number, or undefined if it's null/undefined.

Const strictParseDouble

  • strictParseDouble(value: string | number): number | undefined
  • Parses a value into a double. If the value is null or undefined, undefined will be returned. If the value is a string, it will be parsed by the standard parseFloat with one exception: NaN may only be explicitly set as the string "NaN", any implicit Nan values will result in an error being thrown. If any other type is provided, an exception will be thrown.

    Parameters

    • value: string | number

      A number or string representation of a double.

    Returns number | undefined

    The value as a number, or undefined if it's null/undefined.

Const strictParseFloat32

  • strictParseFloat32(value: string | number): number | undefined
  • Parses a value into a float. If the value is null or undefined, undefined will be returned. If the value is a string, it will be parsed by the standard parseFloat with one exception: NaN may only be explicitly set as the string "NaN", any implicit Nan values will result in an error being thrown. If any other type is provided, an exception will be thrown.

    Parameters

    • value: string | number

      A number or string representation of a float.

    Returns number | undefined

    The value as a number, or undefined if it's null/undefined.

Const strictParseInt32

  • strictParseInt32(value: string | number): number | undefined
  • Parses a value into a 32-bit integer. If the value is null or undefined, undefined will be returned. If the value is a string, it will be parsed by parseFloat and the result will be asserted to be an integer. If the parsed value is not an integer, or the raw value is any type other than a string or number, an exception will be thrown.

    Parameters

    • value: string | number

      A number or string representation of a 32-bit integer.

    Returns number | undefined

    The value as a number, or undefined if it's null/undefined.

Const strictParseLong

  • strictParseLong(value: string | number): number | undefined
  • Parses a value into an integer. If the value is null or undefined, undefined will be returned. If the value is a string, it will be parsed by parseFloat and the result will be asserted to be an integer. If the parsed value is not an integer, or the raw value is any type other than a string or number, an exception will be thrown.

    Parameters

    • value: string | number

      A number or string representation of an integer.

    Returns number | undefined

    The value as a number, or undefined if it's null/undefined.

Const strictParseShort

  • strictParseShort(value: string | number): number | undefined
  • Parses a value into a 16-bit integer. If the value is null or undefined, undefined will be returned. If the value is a string, it will be parsed by parseFloat and the result will be asserted to be an integer. If the parsed value is not an integer, or the raw value is any type other than a string or number, an exception will be thrown.

    Parameters

    • value: string | number

      A number or string representation of a 16-bit integer.

    Returns number | undefined

    The value as a number, or undefined if it's null/undefined.

Const stripLeadingZeroes

  • stripLeadingZeroes(value: string): string

Private Const throwDefaultError

  • throwDefaultError(__namedParameters: { errorCode: any; exceptionCtor: any; output: any; parsedBody: any }): never
  • Always throws an error with the given {@param exceptionCtor} and other arguments. This is only called from an error handling code path.

    internal

    Parameters

    • __namedParameters: { errorCode: any; exceptionCtor: any; output: any; parsedBody: any }
      • errorCode: any
      • exceptionCtor: any
      • output: any
      • parsedBody: any

    Returns never

Const validateDayOfMonth

  • validateDayOfMonth(year: number, month: number, day: number): void