@aws-sdk/client-redshift 3.758.0 → 3.772.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.
Files changed (2) hide show
  1. package/dist-cjs/index.js +31 -37
  2. package/package.json +3 -3
package/dist-cjs/index.js CHANGED
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
19
19
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
20
 
21
21
  // src/index.ts
22
- var src_exports = {};
23
- __export(src_exports, {
22
+ var index_exports = {};
23
+ __export(index_exports, {
24
24
  AcceptReservedNodeExchangeCommand: () => AcceptReservedNodeExchangeCommand,
25
25
  AccessToClusterDeniedFault: () => AccessToClusterDeniedFault,
26
26
  AccessToSnapshotDeniedFault: () => AccessToSnapshotDeniedFault,
@@ -414,7 +414,7 @@ __export(src_exports, {
414
414
  waitUntilClusterRestored: () => waitUntilClusterRestored,
415
415
  waitUntilSnapshotAvailable: () => waitUntilSnapshotAvailable
416
416
  });
417
- module.exports = __toCommonJS(src_exports);
417
+ module.exports = __toCommonJS(index_exports);
418
418
 
419
419
  // src/RedshiftClient.ts
420
420
  var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
@@ -541,9 +541,9 @@ var RedshiftClient = class extends import_smithy_client.Client {
541
541
  this.middlewareStack.use(
542
542
  (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
543
543
  httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultRedshiftHttpAuthSchemeParametersProvider,
544
- identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
544
+ identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
545
545
  "aws.auth#sigv4": config.credentials
546
- })
546
+ }), "identityProviderConfigProvider")
547
547
  })
548
548
  );
549
549
  this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
@@ -2277,26 +2277,22 @@ var ServiceAuthorization = {
2277
2277
  var LakeFormationScopeUnion;
2278
2278
  ((LakeFormationScopeUnion2) => {
2279
2279
  LakeFormationScopeUnion2.visit = /* @__PURE__ */ __name((value, visitor) => {
2280
- if (value.LakeFormationQuery !== void 0)
2281
- return visitor.LakeFormationQuery(value.LakeFormationQuery);
2280
+ if (value.LakeFormationQuery !== void 0) return visitor.LakeFormationQuery(value.LakeFormationQuery);
2282
2281
  return visitor._(value.$unknown[0], value.$unknown[1]);
2283
2282
  }, "visit");
2284
2283
  })(LakeFormationScopeUnion || (LakeFormationScopeUnion = {}));
2285
2284
  var S3AccessGrantsScopeUnion;
2286
2285
  ((S3AccessGrantsScopeUnion2) => {
2287
2286
  S3AccessGrantsScopeUnion2.visit = /* @__PURE__ */ __name((value, visitor) => {
2288
- if (value.ReadWriteAccess !== void 0)
2289
- return visitor.ReadWriteAccess(value.ReadWriteAccess);
2287
+ if (value.ReadWriteAccess !== void 0) return visitor.ReadWriteAccess(value.ReadWriteAccess);
2290
2288
  return visitor._(value.$unknown[0], value.$unknown[1]);
2291
2289
  }, "visit");
2292
2290
  })(S3AccessGrantsScopeUnion || (S3AccessGrantsScopeUnion = {}));
2293
2291
  var ServiceIntegrationsUnion;
2294
2292
  ((ServiceIntegrationsUnion3) => {
2295
2293
  ServiceIntegrationsUnion3.visit = /* @__PURE__ */ __name((value, visitor) => {
2296
- if (value.LakeFormation !== void 0)
2297
- return visitor.LakeFormation(value.LakeFormation);
2298
- if (value.S3AccessGrants !== void 0)
2299
- return visitor.S3AccessGrants(value.S3AccessGrants);
2294
+ if (value.LakeFormation !== void 0) return visitor.LakeFormation(value.LakeFormation);
2295
+ if (value.S3AccessGrants !== void 0) return visitor.S3AccessGrants(value.S3AccessGrants);
2300
2296
  return visitor._(value.$unknown[0], value.$unknown[1]);
2301
2297
  }, "visit");
2302
2298
  })(ServiceIntegrationsUnion || (ServiceIntegrationsUnion = {}));
@@ -2913,10 +2909,8 @@ var UsageLimitNotFoundFault = class _UsageLimitNotFoundFault extends RedshiftSer
2913
2909
  var NamespaceIdentifierUnion;
2914
2910
  ((NamespaceIdentifierUnion3) => {
2915
2911
  NamespaceIdentifierUnion3.visit = /* @__PURE__ */ __name((value, visitor) => {
2916
- if (value.ServerlessIdentifier !== void 0)
2917
- return visitor.ServerlessIdentifier(value.ServerlessIdentifier);
2918
- if (value.ProvisionedIdentifier !== void 0)
2919
- return visitor.ProvisionedIdentifier(value.ProvisionedIdentifier);
2912
+ if (value.ServerlessIdentifier !== void 0) return visitor.ServerlessIdentifier(value.ServerlessIdentifier);
2913
+ if (value.ProvisionedIdentifier !== void 0) return visitor.ProvisionedIdentifier(value.ProvisionedIdentifier);
2920
2914
  return visitor._(value.$unknown[0], value.$unknown[1]);
2921
2915
  }, "visit");
2922
2916
  })(NamespaceIdentifierUnion || (NamespaceIdentifierUnion = {}));
@@ -10532,16 +10526,16 @@ var se_LakeFormationQuery = /* @__PURE__ */ __name((input, context) => {
10532
10526
  var se_LakeFormationScopeUnion = /* @__PURE__ */ __name((input, context) => {
10533
10527
  const entries = {};
10534
10528
  LakeFormationScopeUnion.visit(input, {
10535
- LakeFormationQuery: (value) => {
10529
+ LakeFormationQuery: /* @__PURE__ */ __name((value) => {
10536
10530
  const memberEntries = se_LakeFormationQuery(value, context);
10537
10531
  Object.entries(memberEntries).forEach(([key, value2]) => {
10538
10532
  const loc = `LakeFormationQuery.${key}`;
10539
10533
  entries[loc] = value2;
10540
10534
  });
10541
- },
10542
- _: (name, value) => {
10535
+ }, "LakeFormationQuery"),
10536
+ _: /* @__PURE__ */ __name((name, value) => {
10543
10537
  entries[name] = value;
10544
- }
10538
+ }, "_")
10545
10539
  });
10546
10540
  return entries;
10547
10541
  }, "se_LakeFormationScopeUnion");
@@ -11034,23 +11028,23 @@ var se_ModifyUsageLimitMessage = /* @__PURE__ */ __name((input, context) => {
11034
11028
  var se_NamespaceIdentifierUnion = /* @__PURE__ */ __name((input, context) => {
11035
11029
  const entries = {};
11036
11030
  NamespaceIdentifierUnion.visit(input, {
11037
- ServerlessIdentifier: (value) => {
11031
+ ServerlessIdentifier: /* @__PURE__ */ __name((value) => {
11038
11032
  const memberEntries = se_ServerlessIdentifier(value, context);
11039
11033
  Object.entries(memberEntries).forEach(([key, value2]) => {
11040
11034
  const loc = `ServerlessIdentifier.${key}`;
11041
11035
  entries[loc] = value2;
11042
11036
  });
11043
- },
11044
- ProvisionedIdentifier: (value) => {
11037
+ }, "ServerlessIdentifier"),
11038
+ ProvisionedIdentifier: /* @__PURE__ */ __name((value) => {
11045
11039
  const memberEntries = se_ProvisionedIdentifier(value, context);
11046
11040
  Object.entries(memberEntries).forEach(([key, value2]) => {
11047
11041
  const loc = `ProvisionedIdentifier.${key}`;
11048
11042
  entries[loc] = value2;
11049
11043
  });
11050
- },
11051
- _: (name, value) => {
11044
+ }, "ProvisionedIdentifier"),
11045
+ _: /* @__PURE__ */ __name((name, value) => {
11052
11046
  entries[name] = value;
11053
- }
11047
+ }, "_")
11054
11048
  });
11055
11049
  return entries;
11056
11050
  }, "se_NamespaceIdentifierUnion");
@@ -11511,16 +11505,16 @@ var se_RotateEncryptionKeyMessage = /* @__PURE__ */ __name((input, context) => {
11511
11505
  var se_S3AccessGrantsScopeUnion = /* @__PURE__ */ __name((input, context) => {
11512
11506
  const entries = {};
11513
11507
  S3AccessGrantsScopeUnion.visit(input, {
11514
- ReadWriteAccess: (value) => {
11508
+ ReadWriteAccess: /* @__PURE__ */ __name((value) => {
11515
11509
  const memberEntries = se_ReadWriteAccess(value, context);
11516
11510
  Object.entries(memberEntries).forEach(([key, value2]) => {
11517
11511
  const loc = `ReadWriteAccess.${key}`;
11518
11512
  entries[loc] = value2;
11519
11513
  });
11520
- },
11521
- _: (name, value) => {
11514
+ }, "ReadWriteAccess"),
11515
+ _: /* @__PURE__ */ __name((name, value) => {
11522
11516
  entries[name] = value;
11523
- }
11517
+ }, "_")
11524
11518
  });
11525
11519
  return entries;
11526
11520
  }, "se_S3AccessGrantsScopeUnion");
@@ -11636,7 +11630,7 @@ var se_ServiceIntegrationList = /* @__PURE__ */ __name((input, context) => {
11636
11630
  var se_ServiceIntegrationsUnion = /* @__PURE__ */ __name((input, context) => {
11637
11631
  const entries = {};
11638
11632
  ServiceIntegrationsUnion.visit(input, {
11639
- LakeFormation: (value) => {
11633
+ LakeFormation: /* @__PURE__ */ __name((value) => {
11640
11634
  const memberEntries = se_LakeFormationServiceIntegrations(value, context);
11641
11635
  if (value?.length === 0) {
11642
11636
  entries.LakeFormation = [];
@@ -11645,8 +11639,8 @@ var se_ServiceIntegrationsUnion = /* @__PURE__ */ __name((input, context) => {
11645
11639
  const loc = `LakeFormation.${key}`;
11646
11640
  entries[loc] = value2;
11647
11641
  });
11648
- },
11649
- S3AccessGrants: (value) => {
11642
+ }, "LakeFormation"),
11643
+ S3AccessGrants: /* @__PURE__ */ __name((value) => {
11650
11644
  const memberEntries = se_S3AccessGrantsServiceIntegrations(value, context);
11651
11645
  if (value?.length === 0) {
11652
11646
  entries.S3AccessGrants = [];
@@ -11655,10 +11649,10 @@ var se_ServiceIntegrationsUnion = /* @__PURE__ */ __name((input, context) => {
11655
11649
  const loc = `S3AccessGrants.${key}`;
11656
11650
  entries[loc] = value2;
11657
11651
  });
11658
- },
11659
- _: (name, value) => {
11652
+ }, "S3AccessGrants"),
11653
+ _: /* @__PURE__ */ __name((name, value) => {
11660
11654
  entries[name] = value;
11661
- }
11655
+ }, "_")
11662
11656
  });
11663
11657
  return entries;
11664
11658
  }, "se_ServiceIntegrationsUnion");
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-redshift",
3
3
  "description": "AWS SDK for JavaScript Redshift Client for Node.js, Browser and React Native",
4
- "version": "3.758.0",
4
+ "version": "3.772.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",
@@ -21,10 +21,10 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.758.0",
24
- "@aws-sdk/credential-provider-node": "3.758.0",
24
+ "@aws-sdk/credential-provider-node": "3.772.0",
25
25
  "@aws-sdk/middleware-host-header": "3.734.0",
26
26
  "@aws-sdk/middleware-logger": "3.734.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.734.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.772.0",
28
28
  "@aws-sdk/middleware-user-agent": "3.758.0",
29
29
  "@aws-sdk/region-config-resolver": "3.734.0",
30
30
  "@aws-sdk/types": "3.734.0",