@aws-sdk/client-redshift-serverless 3.929.0 → 3.931.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.
package/dist-cjs/index.js CHANGED
@@ -245,24 +245,6 @@ const OfferingType = {
245
245
  ALL_UPFRONT: "ALL_UPFRONT",
246
246
  NO_UPFRONT: "NO_UPFRONT",
247
247
  };
248
- exports.Schedule = void 0;
249
- (function (Schedule) {
250
- Schedule.visit = (value, visitor) => {
251
- if (value.at !== undefined)
252
- return visitor.at(value.at);
253
- if (value.cron !== undefined)
254
- return visitor.cron(value.cron);
255
- return visitor._(value.$unknown[0], value.$unknown[1]);
256
- };
257
- })(exports.Schedule || (exports.Schedule = {}));
258
- exports.TargetAction = void 0;
259
- (function (TargetAction) {
260
- TargetAction.visit = (value, visitor) => {
261
- if (value.createSnapshot !== undefined)
262
- return visitor.createSnapshot(value.createSnapshot);
263
- return visitor._(value.$unknown[0], value.$unknown[1]);
264
- };
265
- })(exports.TargetAction || (exports.TargetAction = {}));
266
248
  const State = {
267
249
  ACTIVE: "ACTIVE",
268
250
  DISABLED: "DISABLED",
@@ -127,24 +127,6 @@ export const OfferingType = {
127
127
  ALL_UPFRONT: "ALL_UPFRONT",
128
128
  NO_UPFRONT: "NO_UPFRONT",
129
129
  };
130
- export var Schedule;
131
- (function (Schedule) {
132
- Schedule.visit = (value, visitor) => {
133
- if (value.at !== undefined)
134
- return visitor.at(value.at);
135
- if (value.cron !== undefined)
136
- return visitor.cron(value.cron);
137
- return visitor._(value.$unknown[0], value.$unknown[1]);
138
- };
139
- })(Schedule || (Schedule = {}));
140
- export var TargetAction;
141
- (function (TargetAction) {
142
- TargetAction.visit = (value, visitor) => {
143
- if (value.createSnapshot !== undefined)
144
- return visitor.createSnapshot(value.createSnapshot);
145
- return visitor._(value.$unknown[0], value.$unknown[1]);
146
- };
147
- })(TargetAction || (TargetAction = {}));
148
130
  export const State = {
149
131
  ACTIVE: "ACTIVE",
150
132
  DISABLED: "DISABLED",
@@ -923,12 +923,15 @@ export declare namespace Schedule {
923
923
  cron?: never;
924
924
  $unknown: [string, any];
925
925
  }
926
+ /**
927
+ * @deprecated unused in schema-serde mode.
928
+ *
929
+ */
926
930
  interface Visitor<T> {
927
931
  at: (value: Date) => T;
928
932
  cron: (value: string) => T;
929
933
  _: (name: string, value: any) => T;
930
934
  }
931
- const visit: <T>(value: Schedule, visitor: Visitor<T>) => T;
932
935
  }
933
936
  /**
934
937
  * <p>The parameters that you can use to configure a <a href="https://docs.aws.amazon.com/redshift-serverless/latest/APIReference/API_CreateScheduledAction.html">scheduled action</a> to create a snapshot. For more information about creating a scheduled action, see
@@ -986,11 +989,14 @@ export declare namespace TargetAction {
986
989
  createSnapshot?: never;
987
990
  $unknown: [string, any];
988
991
  }
992
+ /**
993
+ * @deprecated unused in schema-serde mode.
994
+ *
995
+ */
989
996
  interface Visitor<T> {
990
997
  createSnapshot: (value: CreateSnapshotScheduleActionParameters) => T;
991
998
  _: (name: string, value: any) => T;
992
999
  }
993
- const visit: <T>(value: TargetAction, visitor: Visitor<T>) => T;
994
1000
  }
995
1001
  /**
996
1002
  * @public
@@ -266,7 +266,6 @@ export declare namespace Schedule {
266
266
  cron: (value: string) => T;
267
267
  _: (name: string, value: any) => T;
268
268
  }
269
- const visit: <T>(value: Schedule, visitor: Visitor<T>) => T;
270
269
  }
271
270
  export interface CreateSnapshotScheduleActionParameters {
272
271
  namespaceName: string | undefined;
@@ -290,7 +289,6 @@ export declare namespace TargetAction {
290
289
  createSnapshot: (value: CreateSnapshotScheduleActionParameters) => T;
291
290
  _: (name: string, value: any) => T;
292
291
  }
293
- const visit: <T>(value: TargetAction, visitor: Visitor<T>) => T;
294
292
  }
295
293
  export interface CreateScheduledActionRequest {
296
294
  scheduledActionName: string | undefined;
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.929.0",
4
+ "version": "3.931.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-redshift-serverless",
@@ -20,41 +20,41 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.928.0",
24
- "@aws-sdk/credential-provider-node": "3.929.0",
25
- "@aws-sdk/middleware-host-header": "3.922.0",
26
- "@aws-sdk/middleware-logger": "3.922.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.922.0",
28
- "@aws-sdk/middleware-user-agent": "3.928.0",
29
- "@aws-sdk/region-config-resolver": "3.925.0",
30
- "@aws-sdk/types": "3.922.0",
31
- "@aws-sdk/util-endpoints": "3.922.0",
32
- "@aws-sdk/util-user-agent-browser": "3.922.0",
33
- "@aws-sdk/util-user-agent-node": "3.928.0",
34
- "@smithy/config-resolver": "^4.4.2",
35
- "@smithy/core": "^3.17.2",
36
- "@smithy/fetch-http-handler": "^5.3.5",
37
- "@smithy/hash-node": "^4.2.4",
38
- "@smithy/invalid-dependency": "^4.2.4",
39
- "@smithy/middleware-content-length": "^4.2.4",
40
- "@smithy/middleware-endpoint": "^4.3.6",
41
- "@smithy/middleware-retry": "^4.4.6",
42
- "@smithy/middleware-serde": "^4.2.4",
43
- "@smithy/middleware-stack": "^4.2.4",
44
- "@smithy/node-config-provider": "^4.3.4",
45
- "@smithy/node-http-handler": "^4.4.4",
46
- "@smithy/protocol-http": "^5.3.4",
47
- "@smithy/smithy-client": "^4.9.2",
48
- "@smithy/types": "^4.8.1",
49
- "@smithy/url-parser": "^4.2.4",
23
+ "@aws-sdk/core": "3.931.0",
24
+ "@aws-sdk/credential-provider-node": "3.931.0",
25
+ "@aws-sdk/middleware-host-header": "3.930.0",
26
+ "@aws-sdk/middleware-logger": "3.930.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.930.0",
28
+ "@aws-sdk/middleware-user-agent": "3.931.0",
29
+ "@aws-sdk/region-config-resolver": "3.930.0",
30
+ "@aws-sdk/types": "3.930.0",
31
+ "@aws-sdk/util-endpoints": "3.930.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.930.0",
33
+ "@aws-sdk/util-user-agent-node": "3.931.0",
34
+ "@smithy/config-resolver": "^4.4.3",
35
+ "@smithy/core": "^3.18.2",
36
+ "@smithy/fetch-http-handler": "^5.3.6",
37
+ "@smithy/hash-node": "^4.2.5",
38
+ "@smithy/invalid-dependency": "^4.2.5",
39
+ "@smithy/middleware-content-length": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.9",
41
+ "@smithy/middleware-retry": "^4.4.9",
42
+ "@smithy/middleware-serde": "^4.2.5",
43
+ "@smithy/middleware-stack": "^4.2.5",
44
+ "@smithy/node-config-provider": "^4.3.5",
45
+ "@smithy/node-http-handler": "^4.4.5",
46
+ "@smithy/protocol-http": "^5.3.5",
47
+ "@smithy/smithy-client": "^4.9.5",
48
+ "@smithy/types": "^4.9.0",
49
+ "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.5",
54
- "@smithy/util-defaults-mode-node": "^4.2.8",
55
- "@smithy/util-endpoints": "^3.2.4",
56
- "@smithy/util-middleware": "^4.2.4",
57
- "@smithy/util-retry": "^4.2.4",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.8",
54
+ "@smithy/util-defaults-mode-node": "^4.2.11",
55
+ "@smithy/util-endpoints": "^3.2.5",
56
+ "@smithy/util-middleware": "^4.2.5",
57
+ "@smithy/util-retry": "^4.2.5",
58
58
  "@smithy/util-utf8": "^4.2.0",
59
59
  "tslib": "^2.6.2"
60
60
  },