@aws-sdk/client-redshift-serverless 3.252.0 → 3.256.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2398,23 +2398,23 @@ const serializeAws_json1_1ListNamespacesRequest = (input, context) => {
2398
2398
  };
2399
2399
  const serializeAws_json1_1ListRecoveryPointsRequest = (input, context) => {
2400
2400
  return {
2401
- ...(input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000).toString() }),
2401
+ ...(input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000) }),
2402
2402
  ...(input.maxResults != null && { maxResults: input.maxResults }),
2403
2403
  ...(input.namespaceArn != null && { namespaceArn: input.namespaceArn }),
2404
2404
  ...(input.namespaceName != null && { namespaceName: input.namespaceName }),
2405
2405
  ...(input.nextToken != null && { nextToken: input.nextToken }),
2406
- ...(input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000).toString() }),
2406
+ ...(input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000) }),
2407
2407
  };
2408
2408
  };
2409
2409
  const serializeAws_json1_1ListSnapshotsRequest = (input, context) => {
2410
2410
  return {
2411
- ...(input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000).toString() }),
2411
+ ...(input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000) }),
2412
2412
  ...(input.maxResults != null && { maxResults: input.maxResults }),
2413
2413
  ...(input.namespaceArn != null && { namespaceArn: input.namespaceArn }),
2414
2414
  ...(input.namespaceName != null && { namespaceName: input.namespaceName }),
2415
2415
  ...(input.nextToken != null && { nextToken: input.nextToken }),
2416
2416
  ...(input.ownerAccount != null && { ownerAccount: input.ownerAccount }),
2417
- ...(input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000).toString() }),
2417
+ ...(input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000) }),
2418
2418
  };
2419
2419
  };
2420
2420
  const serializeAws_json1_1ListTableRestoreStatusRequest = (input, context) => {
@@ -2314,23 +2314,23 @@ const serializeAws_json1_1ListNamespacesRequest = (input, context) => {
2314
2314
  };
2315
2315
  const serializeAws_json1_1ListRecoveryPointsRequest = (input, context) => {
2316
2316
  return {
2317
- ...(input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000).toString() }),
2317
+ ...(input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000) }),
2318
2318
  ...(input.maxResults != null && { maxResults: input.maxResults }),
2319
2319
  ...(input.namespaceArn != null && { namespaceArn: input.namespaceArn }),
2320
2320
  ...(input.namespaceName != null && { namespaceName: input.namespaceName }),
2321
2321
  ...(input.nextToken != null && { nextToken: input.nextToken }),
2322
- ...(input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000).toString() }),
2322
+ ...(input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000) }),
2323
2323
  };
2324
2324
  };
2325
2325
  const serializeAws_json1_1ListSnapshotsRequest = (input, context) => {
2326
2326
  return {
2327
- ...(input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000).toString() }),
2327
+ ...(input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000) }),
2328
2328
  ...(input.maxResults != null && { maxResults: input.maxResults }),
2329
2329
  ...(input.namespaceArn != null && { namespaceArn: input.namespaceArn }),
2330
2330
  ...(input.namespaceName != null && { namespaceName: input.namespaceName }),
2331
2331
  ...(input.nextToken != null && { nextToken: input.nextToken }),
2332
2332
  ...(input.ownerAccount != null && { ownerAccount: input.ownerAccount }),
2333
- ...(input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000).toString() }),
2333
+ ...(input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000) }),
2334
2334
  };
2335
2335
  };
2336
2336
  const serializeAws_json1_1ListTableRestoreStatusRequest = (input, context) => {
@@ -5,8 +5,8 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
5
5
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
6
6
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
7
7
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
8
- import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
9
- import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
9
+ import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
10
10
  import { ConvertRecoveryPointToSnapshotCommandInput, ConvertRecoveryPointToSnapshotCommandOutput } from "./commands/ConvertRecoveryPointToSnapshotCommand";
11
11
  import { CreateEndpointAccessCommandInput, CreateEndpointAccessCommandOutput } from "./commands/CreateEndpointAccessCommand";
12
12
  import { CreateNamespaceCommandInput, CreateNamespaceCommandOutput } from "./commands/CreateNamespaceCommand";
@@ -56,11 +56,11 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
56
56
  */
57
57
  requestHandler?: __HttpHandler;
58
58
  /**
59
- * A constructor for a class implementing the {@link __Hash} interface
59
+ * A constructor for a class implementing the {@link __Checksum} interface
60
60
  * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
61
61
  * @internal
62
62
  */
63
- sha256?: __HashConstructor;
63
+ sha256?: __ChecksumConstructor | __HashConstructor;
64
64
  /**
65
65
  * The function that will be used to convert strings into HTTP endpoints.
66
66
  * @internal
@@ -146,9 +146,9 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
146
146
  */
147
147
  defaultUserAgentProvider?: Provider<__UserAgent>;
148
148
  /**
149
- * The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
149
+ * The {@link __DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
150
150
  */
151
- defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
151
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
152
152
  }
153
153
  declare type RedshiftServerlessClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
154
154
  /**
@@ -25,12 +25,13 @@ import {
25
25
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
26
26
  import {
27
27
  Client as __Client,
28
- DefaultsMode,
28
+ DefaultsMode as __DefaultsMode,
29
29
  SmithyConfiguration as __SmithyConfiguration,
30
30
  SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
31
31
  } from "@aws-sdk/smithy-client";
32
32
  import {
33
33
  BodyLengthCalculator as __BodyLengthCalculator,
34
+ ChecksumConstructor as __ChecksumConstructor,
34
35
  Credentials as __Credentials,
35
36
  Decoder as __Decoder,
36
37
  Encoder as __Encoder,
@@ -293,7 +294,7 @@ export declare type ServiceOutputTypes =
293
294
  export interface ClientDefaults
294
295
  extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
295
296
  requestHandler?: __HttpHandler;
296
- sha256?: __HashConstructor;
297
+ sha256?: __ChecksumConstructor | __HashConstructor;
297
298
  urlParser?: __UrlParser;
298
299
  bodyLengthChecker?: __BodyLengthCalculator;
299
300
  streamCollector?: __StreamCollector;
@@ -312,7 +313,7 @@ export interface ClientDefaults
312
313
  region?: string | __Provider<string>;
313
314
  credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
314
315
  defaultUserAgentProvider?: Provider<__UserAgent>;
315
- defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
316
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
316
317
  }
317
318
  declare type RedshiftServerlessClientConfigType = Partial<
318
319
  __SmithyConfiguration<__HttpHandlerOptions>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-redshift-serverless",
3
3
  "description": "AWS SDK for JavaScript Redshift Serverless Client for Node.js, Browser and React Native",
4
- "version": "3.252.0",
4
+ "version": "3.256.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,39 +18,39 @@
18
18
  "module": "./dist-es/index.js",
19
19
  "sideEffects": false,
20
20
  "dependencies": {
21
- "@aws-crypto/sha256-browser": "2.0.0",
22
- "@aws-crypto/sha256-js": "2.0.0",
23
- "@aws-sdk/client-sts": "3.252.0",
24
- "@aws-sdk/config-resolver": "3.234.0",
25
- "@aws-sdk/credential-provider-node": "3.252.0",
26
- "@aws-sdk/fetch-http-handler": "3.226.0",
27
- "@aws-sdk/hash-node": "3.226.0",
28
- "@aws-sdk/invalid-dependency": "3.226.0",
29
- "@aws-sdk/middleware-content-length": "3.226.0",
30
- "@aws-sdk/middleware-endpoint": "3.226.0",
31
- "@aws-sdk/middleware-host-header": "3.226.0",
32
- "@aws-sdk/middleware-logger": "3.226.0",
33
- "@aws-sdk/middleware-recursion-detection": "3.226.0",
34
- "@aws-sdk/middleware-retry": "3.235.0",
35
- "@aws-sdk/middleware-serde": "3.226.0",
36
- "@aws-sdk/middleware-signing": "3.226.0",
37
- "@aws-sdk/middleware-stack": "3.226.0",
38
- "@aws-sdk/middleware-user-agent": "3.226.0",
39
- "@aws-sdk/node-config-provider": "3.226.0",
40
- "@aws-sdk/node-http-handler": "3.226.0",
41
- "@aws-sdk/protocol-http": "3.226.0",
42
- "@aws-sdk/smithy-client": "3.234.0",
43
- "@aws-sdk/types": "3.226.0",
44
- "@aws-sdk/url-parser": "3.226.0",
21
+ "@aws-crypto/sha256-browser": "3.0.0",
22
+ "@aws-crypto/sha256-js": "3.0.0",
23
+ "@aws-sdk/client-sts": "3.256.0",
24
+ "@aws-sdk/config-resolver": "3.254.0",
25
+ "@aws-sdk/credential-provider-node": "3.256.0",
26
+ "@aws-sdk/fetch-http-handler": "3.254.0",
27
+ "@aws-sdk/hash-node": "3.254.0",
28
+ "@aws-sdk/invalid-dependency": "3.254.0",
29
+ "@aws-sdk/middleware-content-length": "3.254.0",
30
+ "@aws-sdk/middleware-endpoint": "3.254.0",
31
+ "@aws-sdk/middleware-host-header": "3.254.0",
32
+ "@aws-sdk/middleware-logger": "3.254.0",
33
+ "@aws-sdk/middleware-recursion-detection": "3.254.0",
34
+ "@aws-sdk/middleware-retry": "3.254.0",
35
+ "@aws-sdk/middleware-serde": "3.254.0",
36
+ "@aws-sdk/middleware-signing": "3.254.0",
37
+ "@aws-sdk/middleware-stack": "3.254.0",
38
+ "@aws-sdk/middleware-user-agent": "3.254.0",
39
+ "@aws-sdk/node-config-provider": "3.254.0",
40
+ "@aws-sdk/node-http-handler": "3.254.0",
41
+ "@aws-sdk/protocol-http": "3.254.0",
42
+ "@aws-sdk/smithy-client": "3.254.0",
43
+ "@aws-sdk/types": "3.254.0",
44
+ "@aws-sdk/url-parser": "3.254.0",
45
45
  "@aws-sdk/util-base64": "3.208.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.188.0",
47
47
  "@aws-sdk/util-body-length-node": "3.208.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.234.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.234.0",
50
- "@aws-sdk/util-endpoints": "3.245.0",
51
- "@aws-sdk/util-retry": "3.229.0",
52
- "@aws-sdk/util-user-agent-browser": "3.226.0",
53
- "@aws-sdk/util-user-agent-node": "3.226.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.254.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.254.0",
50
+ "@aws-sdk/util-endpoints": "3.254.0",
51
+ "@aws-sdk/util-retry": "3.254.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.254.0",
53
+ "@aws-sdk/util-user-agent-node": "3.254.0",
54
54
  "@aws-sdk/util-utf8-browser": "3.188.0",
55
55
  "@aws-sdk/util-utf8-node": "3.208.0",
56
56
  "tslib": "^2.3.1"