@aws-sdk/client-redshift 3.699.0 → 3.705.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 (46) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +249 -27
  3. package/dist-es/Redshift.js +4 -0
  4. package/dist-es/commands/DeregisterNamespaceCommand.js +22 -0
  5. package/dist-es/commands/RegisterNamespaceCommand.js +22 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/models_0.js +13 -0
  8. package/dist-es/models/models_1.js +4 -0
  9. package/dist-es/protocols/Aws_query.js +191 -28
  10. package/dist-types/Redshift.d.ts +14 -0
  11. package/dist-types/RedshiftClient.d.ts +4 -2
  12. package/dist-types/commands/AssociateDataShareConsumerCommand.d.ts +1 -0
  13. package/dist-types/commands/AuthorizeDataShareCommand.d.ts +1 -0
  14. package/dist-types/commands/CreateClusterCommand.d.ts +22 -0
  15. package/dist-types/commands/DeauthorizeDataShareCommand.d.ts +1 -0
  16. package/dist-types/commands/DeregisterNamespaceCommand.d.ts +93 -0
  17. package/dist-types/commands/DescribeAccountAttributesCommand.d.ts +2 -1
  18. package/dist-types/commands/DescribeAuthenticationProfilesCommand.d.ts +1 -1
  19. package/dist-types/commands/DescribeClusterDbRevisionsCommand.d.ts +2 -1
  20. package/dist-types/commands/DescribeClusterParameterGroupsCommand.d.ts +2 -1
  21. package/dist-types/commands/DescribeDataSharesCommand.d.ts +1 -0
  22. package/dist-types/commands/DescribeDataSharesForConsumerCommand.d.ts +1 -0
  23. package/dist-types/commands/DescribeDataSharesForProducerCommand.d.ts +1 -0
  24. package/dist-types/commands/DisassociateDataShareConsumerCommand.d.ts +1 -0
  25. package/dist-types/commands/ModifyClusterCommand.d.ts +22 -0
  26. package/dist-types/commands/ModifyClusterSubnetGroupCommand.d.ts +22 -0
  27. package/dist-types/commands/RegisterNamespaceCommand.d.ts +92 -0
  28. package/dist-types/commands/RejectDataShareCommand.d.ts +1 -0
  29. package/dist-types/commands/RestoreFromClusterSnapshotCommand.d.ts +22 -0
  30. package/dist-types/commands/index.d.ts +2 -0
  31. package/dist-types/models/models_0.d.ts +64 -79
  32. package/dist-types/models/models_1.d.ts +171 -1
  33. package/dist-types/protocols/Aws_query.d.ts +18 -0
  34. package/dist-types/ts3.4/Redshift.d.ts +34 -0
  35. package/dist-types/ts3.4/RedshiftClient.d.ts +12 -0
  36. package/dist-types/ts3.4/commands/DeregisterNamespaceCommand.d.ts +49 -0
  37. package/dist-types/ts3.4/commands/DescribeAccountAttributesCommand.d.ts +2 -4
  38. package/dist-types/ts3.4/commands/DescribeAuthenticationProfilesCommand.d.ts +1 -1
  39. package/dist-types/ts3.4/commands/DescribeClusterDbRevisionsCommand.d.ts +2 -4
  40. package/dist-types/ts3.4/commands/DescribeClusterParameterGroupsCommand.d.ts +2 -4
  41. package/dist-types/ts3.4/commands/RegisterNamespaceCommand.d.ts +51 -0
  42. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  43. package/dist-types/ts3.4/models/models_0.d.ts +40 -18
  44. package/dist-types/ts3.4/models/models_1.d.ts +39 -0
  45. package/dist-types/ts3.4/protocols/Aws_query.d.ts +24 -0
  46. package/package.json +1 -1
package/README.md CHANGED
@@ -623,6 +623,14 @@ DeleteUsageLimit
623
623
 
624
624
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/redshift/command/DeleteUsageLimitCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-redshift/Interface/DeleteUsageLimitCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-redshift/Interface/DeleteUsageLimitCommandOutput/)
625
625
 
626
+ </details>
627
+ <details>
628
+ <summary>
629
+ DeregisterNamespace
630
+ </summary>
631
+
632
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/redshift/command/DeregisterNamespaceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-redshift/Interface/DeregisterNamespaceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-redshift/Interface/DeregisterNamespaceCommandOutput/)
633
+
626
634
  </details>
627
635
  <details>
628
636
  <summary>
@@ -1231,6 +1239,14 @@ RebootCluster
1231
1239
 
1232
1240
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/redshift/command/RebootClusterCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-redshift/Interface/RebootClusterCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-redshift/Interface/RebootClusterCommandOutput/)
1233
1241
 
1242
+ </details>
1243
+ <details>
1244
+ <summary>
1245
+ RegisterNamespace
1246
+ </summary>
1247
+
1248
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/redshift/command/RegisterNamespaceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-redshift/Interface/RegisterNamespaceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-redshift/Interface/RegisterNamespaceCommandOutput/)
1249
+
1234
1250
  </details>
1235
1251
  <details>
1236
1252
  <summary>
package/dist-cjs/index.js CHANGED
@@ -95,6 +95,7 @@ __export(src_exports, {
95
95
  DataShareStatus: () => DataShareStatus,
96
96
  DataShareStatusForConsumer: () => DataShareStatusForConsumer,
97
97
  DataShareStatusForProducer: () => DataShareStatusForProducer,
98
+ DataShareType: () => DataShareType,
98
99
  DeauthorizeDataShareCommand: () => DeauthorizeDataShareCommand,
99
100
  DeleteAuthenticationProfileCommand: () => DeleteAuthenticationProfileCommand,
100
101
  DeleteClusterCommand: () => DeleteClusterCommand,
@@ -120,6 +121,7 @@ __export(src_exports, {
120
121
  DependentServiceAccessDeniedFault: () => DependentServiceAccessDeniedFault,
121
122
  DependentServiceRequestThrottlingFault: () => DependentServiceRequestThrottlingFault,
122
123
  DependentServiceUnavailableFault: () => DependentServiceUnavailableFault,
124
+ DeregisterNamespaceCommand: () => DeregisterNamespaceCommand,
123
125
  DescribeAccountAttributesCommand: () => DescribeAccountAttributesCommand,
124
126
  DescribeAuthenticationProfilesCommand: () => DescribeAuthenticationProfilesCommand,
125
127
  DescribeClusterDbRevisionsCommand: () => DescribeClusterDbRevisionsCommand,
@@ -264,6 +266,8 @@ __export(src_exports, {
264
266
  ModifySnapshotCopyRetentionPeriodResultFilterSensitiveLog: () => ModifySnapshotCopyRetentionPeriodResultFilterSensitiveLog,
265
267
  ModifySnapshotScheduleCommand: () => ModifySnapshotScheduleCommand,
266
268
  ModifyUsageLimitCommand: () => ModifyUsageLimitCommand,
269
+ NamespaceIdentifierUnion: () => NamespaceIdentifierUnion,
270
+ NamespaceRegistrationStatus: () => NamespaceRegistrationStatus,
267
271
  NodeConfigurationOptionsFilterName: () => NodeConfigurationOptionsFilterName,
268
272
  NumberOfNodesPerClusterLimitExceededFault: () => NumberOfNodesPerClusterLimitExceededFault,
269
273
  NumberOfNodesQuotaExceededFault: () => NumberOfNodesQuotaExceededFault,
@@ -285,6 +289,7 @@ __export(src_exports, {
285
289
  RedshiftIdcApplicationNotExistsFault: () => RedshiftIdcApplicationNotExistsFault,
286
290
  RedshiftIdcApplicationQuotaExceededFault: () => RedshiftIdcApplicationQuotaExceededFault,
287
291
  RedshiftServiceException: () => RedshiftServiceException,
292
+ RegisterNamespaceCommand: () => RegisterNamespaceCommand,
288
293
  RejectDataShareCommand: () => RejectDataShareCommand,
289
294
  ReservedNodeAlreadyExistsFault: () => ReservedNodeAlreadyExistsFault,
290
295
  ReservedNodeAlreadyMigratedFault: () => ReservedNodeAlreadyMigratedFault,
@@ -810,6 +815,9 @@ var DataShareStatus = {
810
815
  PENDING_AUTHORIZATION: "PENDING_AUTHORIZATION",
811
816
  REJECTED: "REJECTED"
812
817
  };
818
+ var DataShareType = {
819
+ INTERNAL: "INTERNAL"
820
+ };
813
821
  var _InvalidDataShareFault = class _InvalidDataShareFault extends RedshiftServiceException {
814
822
  /**
815
823
  * @internal
@@ -2774,6 +2782,16 @@ var _UsageLimitNotFoundFault = class _UsageLimitNotFoundFault extends RedshiftSe
2774
2782
  };
2775
2783
  __name(_UsageLimitNotFoundFault, "UsageLimitNotFoundFault");
2776
2784
  var UsageLimitNotFoundFault = _UsageLimitNotFoundFault;
2785
+ var NamespaceIdentifierUnion;
2786
+ ((NamespaceIdentifierUnion3) => {
2787
+ NamespaceIdentifierUnion3.visit = /* @__PURE__ */ __name((value, visitor) => {
2788
+ if (value.ServerlessIdentifier !== void 0)
2789
+ return visitor.ServerlessIdentifier(value.ServerlessIdentifier);
2790
+ if (value.ProvisionedIdentifier !== void 0)
2791
+ return visitor.ProvisionedIdentifier(value.ProvisionedIdentifier);
2792
+ return visitor._(value.$unknown[0], value.$unknown[1]);
2793
+ }, "visit");
2794
+ })(NamespaceIdentifierUnion || (NamespaceIdentifierUnion = {}));
2777
2795
  var PendingModifiedValuesFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2778
2796
  ...obj,
2779
2797
  ...obj.MasterUserPassword && { MasterUserPassword: import_smithy_client.SENSITIVE_STRING }
@@ -2811,6 +2829,10 @@ var DeleteClusterResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2811
2829
 
2812
2830
  // src/models/models_1.ts
2813
2831
 
2832
+ var NamespaceRegistrationStatus = {
2833
+ DEREGISTERING: "Deregistering",
2834
+ REGISTERING: "Registering"
2835
+ };
2814
2836
  var SnapshotAttributeToSortBy = {
2815
2837
  CREATE_TIME: "CREATE_TIME",
2816
2838
  SOURCE_TYPE: "SOURCE_TYPE",
@@ -3793,6 +3815,16 @@ var se_DeleteUsageLimitCommand = /* @__PURE__ */ __name(async (input, context) =
3793
3815
  });
3794
3816
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
3795
3817
  }, "se_DeleteUsageLimitCommand");
3818
+ var se_DeregisterNamespaceCommand = /* @__PURE__ */ __name(async (input, context) => {
3819
+ const headers = SHARED_HEADERS;
3820
+ let body;
3821
+ body = buildFormUrlencodedString({
3822
+ ...se_DeregisterNamespaceInputMessage(input, context),
3823
+ [_A]: _DN,
3824
+ [_V]: _
3825
+ });
3826
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
3827
+ }, "se_DeregisterNamespaceCommand");
3796
3828
  var se_DescribeAccountAttributesCommand = /* @__PURE__ */ __name(async (input, context) => {
3797
3829
  const headers = SHARED_HEADERS;
3798
3830
  let body;
@@ -4551,6 +4583,16 @@ var se_RebootClusterCommand = /* @__PURE__ */ __name(async (input, context) => {
4551
4583
  });
4552
4584
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
4553
4585
  }, "se_RebootClusterCommand");
4586
+ var se_RegisterNamespaceCommand = /* @__PURE__ */ __name(async (input, context) => {
4587
+ const headers = SHARED_HEADERS;
4588
+ let body;
4589
+ body = buildFormUrlencodedString({
4590
+ ...se_RegisterNamespaceInputMessage(input, context),
4591
+ [_A]: _RN,
4592
+ [_V]: _
4593
+ });
4594
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
4595
+ }, "se_RegisterNamespaceCommand");
4554
4596
  var se_RejectDataShareCommand = /* @__PURE__ */ __name(async (input, context) => {
4555
4597
  const headers = SHARED_HEADERS;
4556
4598
  let body;
@@ -5266,6 +5308,19 @@ var de_DeleteUsageLimitCommand = /* @__PURE__ */ __name(async (output, context)
5266
5308
  };
5267
5309
  return response;
5268
5310
  }, "de_DeleteUsageLimitCommand");
5311
+ var de_DeregisterNamespaceCommand = /* @__PURE__ */ __name(async (output, context) => {
5312
+ if (output.statusCode >= 300) {
5313
+ return de_CommandError(output, context);
5314
+ }
5315
+ const data = await (0, import_core2.parseXmlBody)(output.body, context);
5316
+ let contents = {};
5317
+ contents = de_DeregisterNamespaceOutputMessage(data.DeregisterNamespaceResult, context);
5318
+ const response = {
5319
+ $metadata: deserializeMetadata(output),
5320
+ ...contents
5321
+ };
5322
+ return response;
5323
+ }, "de_DeregisterNamespaceCommand");
5269
5324
  var de_DescribeAccountAttributesCommand = /* @__PURE__ */ __name(async (output, context) => {
5270
5325
  if (output.statusCode >= 300) {
5271
5326
  return de_CommandError(output, context);
@@ -6254,6 +6309,19 @@ var de_RebootClusterCommand = /* @__PURE__ */ __name(async (output, context) =>
6254
6309
  };
6255
6310
  return response;
6256
6311
  }, "de_RebootClusterCommand");
6312
+ var de_RegisterNamespaceCommand = /* @__PURE__ */ __name(async (output, context) => {
6313
+ if (output.statusCode >= 300) {
6314
+ return de_CommandError(output, context);
6315
+ }
6316
+ const data = await (0, import_core2.parseXmlBody)(output.body, context);
6317
+ let contents = {};
6318
+ contents = de_RegisterNamespaceOutputMessage(data.RegisterNamespaceResult, context);
6319
+ const response = {
6320
+ $metadata: deserializeMetadata(output),
6321
+ ...contents
6322
+ };
6323
+ return response;
6324
+ }, "de_RegisterNamespaceCommand");
6257
6325
  var de_RejectDataShareCommand = /* @__PURE__ */ __name(async (output, context) => {
6258
6326
  if (output.statusCode >= 300) {
6259
6327
  return de_CommandError(output, context);
@@ -8324,6 +8392,18 @@ var se_ClusterSecurityGroupNameList = /* @__PURE__ */ __name((input, context) =>
8324
8392
  }
8325
8393
  return entries;
8326
8394
  }, "se_ClusterSecurityGroupNameList");
8395
+ var se_ConsumerIdentifierList = /* @__PURE__ */ __name((input, context) => {
8396
+ const entries = {};
8397
+ let counter = 1;
8398
+ for (const entry of input) {
8399
+ if (entry === null) {
8400
+ continue;
8401
+ }
8402
+ entries[`member.${counter}`] = entry;
8403
+ counter++;
8404
+ }
8405
+ return entries;
8406
+ }, "se_ConsumerIdentifierList");
8327
8407
  var se_CopyClusterSnapshotMessage = /* @__PURE__ */ __name((input, context) => {
8328
8408
  const entries = {};
8329
8409
  if (input[_SSI] != null) {
@@ -8911,8 +8991,8 @@ var se_CreateSnapshotScheduleMessage = /* @__PURE__ */ __name((input, context) =
8911
8991
  var se_CreateTagsMessage = /* @__PURE__ */ __name((input, context) => {
8912
8992
  var _a;
8913
8993
  const entries = {};
8914
- if (input[_RN] != null) {
8915
- entries[_RN] = input[_RN];
8994
+ if (input[_RNe] != null) {
8995
+ entries[_RNe] = input[_RNe];
8916
8996
  }
8917
8997
  if (input[_T] != null) {
8918
8998
  const memberEntries = se_TagList(input[_T], context);
@@ -9133,8 +9213,8 @@ var se_DeleteSnapshotScheduleMessage = /* @__PURE__ */ __name((input, context) =
9133
9213
  var se_DeleteTagsMessage = /* @__PURE__ */ __name((input, context) => {
9134
9214
  var _a;
9135
9215
  const entries = {};
9136
- if (input[_RN] != null) {
9137
- entries[_RN] = input[_RN];
9216
+ if (input[_RNe] != null) {
9217
+ entries[_RNe] = input[_RNe];
9138
9218
  }
9139
9219
  if (input[_TK] != null) {
9140
9220
  const memberEntries = se_TagKeyList(input[_TK], context);
@@ -9155,6 +9235,28 @@ var se_DeleteUsageLimitMessage = /* @__PURE__ */ __name((input, context) => {
9155
9235
  }
9156
9236
  return entries;
9157
9237
  }, "se_DeleteUsageLimitMessage");
9238
+ var se_DeregisterNamespaceInputMessage = /* @__PURE__ */ __name((input, context) => {
9239
+ var _a;
9240
+ const entries = {};
9241
+ if (input[_NIa] != null) {
9242
+ const memberEntries = se_NamespaceIdentifierUnion(input[_NIa], context);
9243
+ Object.entries(memberEntries).forEach(([key, value]) => {
9244
+ const loc = `NamespaceIdentifier.${key}`;
9245
+ entries[loc] = value;
9246
+ });
9247
+ }
9248
+ if (input[_CIon] != null) {
9249
+ const memberEntries = se_ConsumerIdentifierList(input[_CIon], context);
9250
+ if (((_a = input[_CIon]) == null ? void 0 : _a.length) === 0) {
9251
+ entries.ConsumerIdentifiers = [];
9252
+ }
9253
+ Object.entries(memberEntries).forEach(([key, value]) => {
9254
+ const loc = `ConsumerIdentifiers.${key}`;
9255
+ entries[loc] = value;
9256
+ });
9257
+ }
9258
+ return entries;
9259
+ }, "se_DeregisterNamespaceInputMessage");
9158
9260
  var se_DescribeAccountAttributesMessage = /* @__PURE__ */ __name((input, context) => {
9159
9261
  var _a;
9160
9262
  const entries = {};
@@ -9837,8 +9939,8 @@ var se_DescribePartnersInputMessage = /* @__PURE__ */ __name((input, context) =>
9837
9939
  if (input[_CIl] != null) {
9838
9940
  entries[_CIl] = input[_CIl];
9839
9941
  }
9840
- if (input[_DN] != null) {
9841
- entries[_DN] = input[_DN];
9942
+ if (input[_DNa] != null) {
9943
+ entries[_DNa] = input[_DNa];
9842
9944
  }
9843
9945
  if (input[_PN] != null) {
9844
9946
  entries[_PN] = input[_PN];
@@ -10033,8 +10135,8 @@ var se_DescribeTableRestoreStatusMessage = /* @__PURE__ */ __name((input, contex
10033
10135
  var se_DescribeTagsMessage = /* @__PURE__ */ __name((input, context) => {
10034
10136
  var _a, _b;
10035
10137
  const entries = {};
10036
- if (input[_RN] != null) {
10037
- entries[_RN] = input[_RN];
10138
+ if (input[_RNe] != null) {
10139
+ entries[_RNe] = input[_RNe];
10038
10140
  }
10039
10141
  if (input[_RT] != null) {
10040
10142
  entries[_RT] = input[_RT];
@@ -10829,6 +10931,29 @@ var se_ModifyUsageLimitMessage = /* @__PURE__ */ __name((input, context) => {
10829
10931
  }
10830
10932
  return entries;
10831
10933
  }, "se_ModifyUsageLimitMessage");
10934
+ var se_NamespaceIdentifierUnion = /* @__PURE__ */ __name((input, context) => {
10935
+ const entries = {};
10936
+ NamespaceIdentifierUnion.visit(input, {
10937
+ ServerlessIdentifier: (value) => {
10938
+ const memberEntries = se_ServerlessIdentifier(value, context);
10939
+ Object.entries(memberEntries).forEach(([key, value2]) => {
10940
+ const loc = `ServerlessIdentifier.${key}`;
10941
+ entries[loc] = value2;
10942
+ });
10943
+ },
10944
+ ProvisionedIdentifier: (value) => {
10945
+ const memberEntries = se_ProvisionedIdentifier(value, context);
10946
+ Object.entries(memberEntries).forEach(([key, value2]) => {
10947
+ const loc = `ProvisionedIdentifier.${key}`;
10948
+ entries[loc] = value2;
10949
+ });
10950
+ },
10951
+ _: (name, value) => {
10952
+ entries[name] = value;
10953
+ }
10954
+ });
10955
+ return entries;
10956
+ }, "se_NamespaceIdentifierUnion");
10832
10957
  var se_NodeConfigurationOptionsFilter = /* @__PURE__ */ __name((input, context) => {
10833
10958
  var _a;
10834
10959
  const entries = {};
@@ -10919,8 +11044,8 @@ var se_PartnerIntegrationInputMessage = /* @__PURE__ */ __name((input, context)
10919
11044
  if (input[_CIl] != null) {
10920
11045
  entries[_CIl] = input[_CIl];
10921
11046
  }
10922
- if (input[_DN] != null) {
10923
- entries[_DN] = input[_DN];
11047
+ if (input[_DNa] != null) {
11048
+ entries[_DNa] = input[_DNa];
10924
11049
  }
10925
11050
  if (input[_PN] != null) {
10926
11051
  entries[_PN] = input[_PN];
@@ -10934,6 +11059,13 @@ var se_PauseClusterMessage = /* @__PURE__ */ __name((input, context) => {
10934
11059
  }
10935
11060
  return entries;
10936
11061
  }, "se_PauseClusterMessage");
11062
+ var se_ProvisionedIdentifier = /* @__PURE__ */ __name((input, context) => {
11063
+ const entries = {};
11064
+ if (input[_CIl] != null) {
11065
+ entries[_CIl] = input[_CIl];
11066
+ }
11067
+ return entries;
11068
+ }, "se_ProvisionedIdentifier");
10937
11069
  var se_PurchaseReservedNodeOfferingMessage = /* @__PURE__ */ __name((input, context) => {
10938
11070
  const entries = {};
10939
11071
  if (input[_RNOI] != null) {
@@ -10968,6 +11100,28 @@ var se_RebootClusterMessage = /* @__PURE__ */ __name((input, context) => {
10968
11100
  }
10969
11101
  return entries;
10970
11102
  }, "se_RebootClusterMessage");
11103
+ var se_RegisterNamespaceInputMessage = /* @__PURE__ */ __name((input, context) => {
11104
+ var _a;
11105
+ const entries = {};
11106
+ if (input[_NIa] != null) {
11107
+ const memberEntries = se_NamespaceIdentifierUnion(input[_NIa], context);
11108
+ Object.entries(memberEntries).forEach(([key, value]) => {
11109
+ const loc = `NamespaceIdentifier.${key}`;
11110
+ entries[loc] = value;
11111
+ });
11112
+ }
11113
+ if (input[_CIon] != null) {
11114
+ const memberEntries = se_ConsumerIdentifierList(input[_CIon], context);
11115
+ if (((_a = input[_CIon]) == null ? void 0 : _a.length) === 0) {
11116
+ entries.ConsumerIdentifiers = [];
11117
+ }
11118
+ Object.entries(memberEntries).forEach(([key, value]) => {
11119
+ const loc = `ConsumerIdentifiers.${key}`;
11120
+ entries[loc] = value;
11121
+ });
11122
+ }
11123
+ return entries;
11124
+ }, "se_RegisterNamespaceInputMessage");
10971
11125
  var se_RejectDataShareMessage = /* @__PURE__ */ __name((input, context) => {
10972
11126
  const entries = {};
10973
11127
  if (input[_DSAa] != null) {
@@ -11360,6 +11514,16 @@ var se_ScheduleDefinitionList = /* @__PURE__ */ __name((input, context) => {
11360
11514
  }
11361
11515
  return entries;
11362
11516
  }, "se_ScheduleDefinitionList");
11517
+ var se_ServerlessIdentifier = /* @__PURE__ */ __name((input, context) => {
11518
+ const entries = {};
11519
+ if (input[_NIa] != null) {
11520
+ entries[_NIa] = input[_NIa];
11521
+ }
11522
+ if (input[_WI] != null) {
11523
+ entries[_WI] = input[_WI];
11524
+ }
11525
+ return entries;
11526
+ }, "se_ServerlessIdentifier");
11363
11527
  var se_ServiceIntegrationList = /* @__PURE__ */ __name((input, context) => {
11364
11528
  const entries = {};
11365
11529
  let counter = 1;
@@ -11522,8 +11686,8 @@ var se_UpdatePartnerStatusInputMessage = /* @__PURE__ */ __name((input, context)
11522
11686
  if (input[_CIl] != null) {
11523
11687
  entries[_CIl] = input[_CIl];
11524
11688
  }
11525
- if (input[_DN] != null) {
11526
- entries[_DN] = input[_DN];
11689
+ if (input[_DNa] != null) {
11690
+ entries[_DNa] = input[_DNa];
11527
11691
  }
11528
11692
  if (input[_PN] != null) {
11529
11693
  entries[_PN] = input[_PN];
@@ -12721,6 +12885,9 @@ var de_DataShare = /* @__PURE__ */ __name((output, context) => {
12721
12885
  if (output[_MB] != null) {
12722
12886
  contents[_MB] = (0, import_smithy_client.expectString)(output[_MB]);
12723
12887
  }
12888
+ if (output[_DST] != null) {
12889
+ contents[_DST] = (0, import_smithy_client.expectString)(output[_DST]);
12890
+ }
12724
12891
  return contents;
12725
12892
  }, "de_DataShare");
12726
12893
  var de_DataShareAssociation = /* @__PURE__ */ __name((output, context) => {
@@ -12855,6 +13022,13 @@ var de_DependentServiceUnavailableFault = /* @__PURE__ */ __name((output, contex
12855
13022
  }
12856
13023
  return contents;
12857
13024
  }, "de_DependentServiceUnavailableFault");
13025
+ var de_DeregisterNamespaceOutputMessage = /* @__PURE__ */ __name((output, context) => {
13026
+ const contents = {};
13027
+ if (output[_St] != null) {
13028
+ contents[_St] = (0, import_smithy_client.expectString)(output[_St]);
13029
+ }
13030
+ return contents;
13031
+ }, "de_DeregisterNamespaceOutputMessage");
12858
13032
  var de_DescribeAuthenticationProfilesResult = /* @__PURE__ */ __name((output, context) => {
12859
13033
  const contents = {};
12860
13034
  if (output.AuthenticationProfiles === "") {
@@ -14294,8 +14468,8 @@ var de_ParametersList = /* @__PURE__ */ __name((output, context) => {
14294
14468
  }, "de_ParametersList");
14295
14469
  var de_PartnerIntegrationInfo = /* @__PURE__ */ __name((output, context) => {
14296
14470
  const contents = {};
14297
- if (output[_DN] != null) {
14298
- contents[_DN] = (0, import_smithy_client.expectString)(output[_DN]);
14471
+ if (output[_DNa] != null) {
14472
+ contents[_DNa] = (0, import_smithy_client.expectString)(output[_DNa]);
14299
14473
  }
14300
14474
  if (output[_PN] != null) {
14301
14475
  contents[_PN] = (0, import_smithy_client.expectString)(output[_PN]);
@@ -14321,8 +14495,8 @@ var de_PartnerIntegrationInfoList = /* @__PURE__ */ __name((output, context) =>
14321
14495
  }, "de_PartnerIntegrationInfoList");
14322
14496
  var de_PartnerIntegrationOutputMessage = /* @__PURE__ */ __name((output, context) => {
14323
14497
  const contents = {};
14324
- if (output[_DN] != null) {
14325
- contents[_DN] = (0, import_smithy_client.expectString)(output[_DN]);
14498
+ if (output[_DNa] != null) {
14499
+ contents[_DNa] = (0, import_smithy_client.expectString)(output[_DNa]);
14326
14500
  }
14327
14501
  if (output[_PN] != null) {
14328
14502
  contents[_PN] = (0, import_smithy_client.expectString)(output[_PN]);
@@ -14394,8 +14568,8 @@ var de_PendingModifiedValues = /* @__PURE__ */ __name((output, context) => {
14394
14568
  }, "de_PendingModifiedValues");
14395
14569
  var de_PurchaseReservedNodeOfferingResult = /* @__PURE__ */ __name((output, context) => {
14396
14570
  const contents = {};
14397
- if (output[_RNe] != null) {
14398
- contents[_RNe] = de_ReservedNode(output[_RNe], context);
14571
+ if (output[_RNes] != null) {
14572
+ contents[_RNes] = de_ReservedNode(output[_RNes], context);
14399
14573
  }
14400
14574
  return contents;
14401
14575
  }, "de_PurchaseReservedNodeOfferingResult");
@@ -14584,6 +14758,13 @@ var de_ReferenceLinkList = /* @__PURE__ */ __name((output, context) => {
14584
14758
  return de_ReferenceLink(entry, context);
14585
14759
  });
14586
14760
  }, "de_ReferenceLinkList");
14761
+ var de_RegisterNamespaceOutputMessage = /* @__PURE__ */ __name((output, context) => {
14762
+ const contents = {};
14763
+ if (output[_St] != null) {
14764
+ contents[_St] = (0, import_smithy_client.expectString)(output[_St]);
14765
+ }
14766
+ return contents;
14767
+ }, "de_RegisterNamespaceOutputMessage");
14587
14768
  var de_ReservedNode = /* @__PURE__ */ __name((output, context) => {
14588
14769
  const contents = {};
14589
14770
  if (output[_RNI] != null) {
@@ -14786,9 +14967,9 @@ var de_ReservedNodesMessage = /* @__PURE__ */ __name((output, context) => {
14786
14967
  contents[_M] = (0, import_smithy_client.expectString)(output[_M]);
14787
14968
  }
14788
14969
  if (output.ReservedNodes === "") {
14789
- contents[_RNes] = [];
14790
- } else if (output[_RNes] != null && output[_RNes][_RNe] != null) {
14791
- contents[_RNes] = de_ReservedNodeList((0, import_smithy_client.getArrayIfSingleItem)(output[_RNes][_RNe]), context);
14970
+ contents[_RNese] = [];
14971
+ } else if (output[_RNese] != null && output[_RNese][_RNes] != null) {
14972
+ contents[_RNese] = de_ReservedNodeList((0, import_smithy_client.getArrayIfSingleItem)(output[_RNese][_RNes]), context);
14792
14973
  }
14793
14974
  return contents;
14794
14975
  }, "de_ReservedNodesMessage");
@@ -15682,8 +15863,8 @@ var de_TaggedResource = /* @__PURE__ */ __name((output, context) => {
15682
15863
  if (output[_Ta] != null) {
15683
15864
  contents[_Ta] = de_Tag(output[_Ta], context);
15684
15865
  }
15685
- if (output[_RN] != null) {
15686
- contents[_RN] = (0, import_smithy_client.expectString)(output[_RN]);
15866
+ if (output[_RNe] != null) {
15867
+ contents[_RNe] = (0, import_smithy_client.expectString)(output[_RNe]);
15687
15868
  }
15688
15869
  if (output[_RT] != null) {
15689
15870
  contents[_RT] = (0, import_smithy_client.expectString)(output[_RT]);
@@ -16024,6 +16205,7 @@ var _CIDRIP = "CIDRIP";
16024
16205
  var _CIR = "ClusterIamRole";
16025
16206
  var _CIl = "ClusterIdentifier";
16026
16207
  var _CIo = "ConsumerIdentifier";
16208
+ var _CIon = "ConsumerIdentifiers";
16027
16209
  var _CN = "ClusterNodes";
16028
16210
  var _CNA = "ClusterNamespaceArn";
16029
16211
  var _CPG = "ClusterParameterGroups";
@@ -16113,8 +16295,9 @@ var _DMI = "DeferMaintenanceIdentifier";
16113
16295
  var _DMST = "DeferMaintenanceStartTime";
16114
16296
  var _DMW = "DeferredMaintenanceWindows";
16115
16297
  var _DMWe = "DeferredMaintenanceWindow";
16116
- var _DN = "DatabaseName";
16298
+ var _DN = "DeregisterNamespace";
16117
16299
  var _DNCO = "DescribeNodeConfigurationOptions";
16300
+ var _DNa = "DatabaseName";
16118
16301
  var _DNb = "DbName";
16119
16302
  var _DOCO = "DescribeOrderableClusterOptions";
16120
16303
  var _DP = "DeletePartner";
@@ -16141,6 +16324,7 @@ var _DSCG = "DeleteSnapshotCopyGrant";
16141
16324
  var _DSCGe = "DescribeSnapshotCopyGrants";
16142
16325
  var _DSS = "DeleteSnapshotSchedule";
16143
16326
  var _DSSe = "DescribeSnapshotSchedules";
16327
+ var _DST = "DataShareType";
16144
16328
  var _DSa = "DataShares";
16145
16329
  var _DSi = "DisassociateSchedule";
16146
16330
  var _DSu = "DurationSeconds";
@@ -16322,6 +16506,7 @@ var _NCO = "NodeConfigurationOption";
16322
16506
  var _NCOL = "NodeConfigurationOptionList";
16323
16507
  var _NI = "NextInvocations";
16324
16508
  var _NII = "NetworkInterfaceId";
16509
+ var _NIa = "NamespaceIdentifier";
16325
16510
  var _NIe = "NetworkInterfaces";
16326
16511
  var _NIet = "NetworkInterface";
16327
16512
  var _NMWST = "NextMaintenanceWindowStartTime";
@@ -16392,7 +16577,7 @@ var _RIAe = "RedshiftIdcApplications";
16392
16577
  var _RIR = "RemoveIamRoles";
16393
16578
  var _RL = "ReferenceLinks";
16394
16579
  var _RLe = "ReferenceLink";
16395
- var _RN = "ResourceName";
16580
+ var _RN = "RegisterNamespace";
16396
16581
  var _RNCO = "ReservedNodeConfigurationOption";
16397
16582
  var _RNCOL = "ReservedNodeConfigurationOptionList";
16398
16583
  var _RNERI = "ReservedNodeExchangeRequestId";
@@ -16404,8 +16589,9 @@ var _RNOI = "ReservedNodeOfferingId";
16404
16589
  var _RNOT = "ReservedNodeOfferingType";
16405
16590
  var _RNOe = "ReservedNodeOffering";
16406
16591
  var _RNT = "RestorableNodeTypes";
16407
- var _RNe = "ReservedNode";
16408
- var _RNes = "ReservedNodes";
16592
+ var _RNe = "ResourceName";
16593
+ var _RNes = "ReservedNode";
16594
+ var _RNese = "ReservedNodes";
16409
16595
  var _RO = "ResourceOwner";
16410
16596
  var _RP = "RetentionPeriod";
16411
16597
  var _RPe = "ResourcePolicy";
@@ -16552,6 +16738,7 @@ var _VSGIp = "VpcSecurityGroupId";
16552
16738
  var _VSGp = "VpcSecurityGroup";
16553
16739
  var _Va = "Values";
16554
16740
  var _Val = "Value";
16741
+ var _WI = "WorkgroupIdentifier";
16555
16742
  var _e = "entry";
16556
16743
  var _i = "item";
16557
16744
  var _m = "message";
@@ -17264,6 +17451,20 @@ var _DeleteUsageLimitCommand = class _DeleteUsageLimitCommand extends import_smi
17264
17451
  __name(_DeleteUsageLimitCommand, "DeleteUsageLimitCommand");
17265
17452
  var DeleteUsageLimitCommand = _DeleteUsageLimitCommand;
17266
17453
 
17454
+ // src/commands/DeregisterNamespaceCommand.ts
17455
+
17456
+
17457
+
17458
+ var _DeregisterNamespaceCommand = class _DeregisterNamespaceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
17459
+ return [
17460
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
17461
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
17462
+ ];
17463
+ }).s("RedshiftServiceVersion20121201", "DeregisterNamespace", {}).n("RedshiftClient", "DeregisterNamespaceCommand").f(void 0, void 0).ser(se_DeregisterNamespaceCommand).de(de_DeregisterNamespaceCommand).build() {
17464
+ };
17465
+ __name(_DeregisterNamespaceCommand, "DeregisterNamespaceCommand");
17466
+ var DeregisterNamespaceCommand = _DeregisterNamespaceCommand;
17467
+
17267
17468
  // src/commands/DescribeAccountAttributesCommand.ts
17268
17469
 
17269
17470
 
@@ -18328,6 +18529,20 @@ var _RebootClusterCommand = class _RebootClusterCommand extends import_smithy_cl
18328
18529
  __name(_RebootClusterCommand, "RebootClusterCommand");
18329
18530
  var RebootClusterCommand = _RebootClusterCommand;
18330
18531
 
18532
+ // src/commands/RegisterNamespaceCommand.ts
18533
+
18534
+
18535
+
18536
+ var _RegisterNamespaceCommand = class _RegisterNamespaceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
18537
+ return [
18538
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
18539
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
18540
+ ];
18541
+ }).s("RedshiftServiceVersion20121201", "RegisterNamespace", {}).n("RedshiftClient", "RegisterNamespaceCommand").f(void 0, void 0).ser(se_RegisterNamespaceCommand).de(de_RegisterNamespaceCommand).build() {
18542
+ };
18543
+ __name(_RegisterNamespaceCommand, "RegisterNamespaceCommand");
18544
+ var RegisterNamespaceCommand = _RegisterNamespaceCommand;
18545
+
18331
18546
  // src/commands/RejectDataShareCommand.ts
18332
18547
 
18333
18548
 
@@ -18534,6 +18749,7 @@ var commands = {
18534
18749
  DeleteSnapshotScheduleCommand,
18535
18750
  DeleteTagsCommand,
18536
18751
  DeleteUsageLimitCommand,
18752
+ DeregisterNamespaceCommand,
18537
18753
  DescribeAccountAttributesCommand,
18538
18754
  DescribeAuthenticationProfilesCommand,
18539
18755
  DescribeClusterDbRevisionsCommand,
@@ -18610,6 +18826,7 @@ var commands = {
18610
18826
  PurchaseReservedNodeOfferingCommand,
18611
18827
  PutResourcePolicyCommand,
18612
18828
  RebootClusterCommand,
18829
+ RegisterNamespaceCommand,
18613
18830
  RejectDataShareCommand,
18614
18831
  ResetClusterParameterGroupCommand,
18615
18832
  ResizeClusterCommand,
@@ -19068,6 +19285,7 @@ var waitUntilSnapshotAvailable = /* @__PURE__ */ __name(async (params, input) =>
19068
19285
  DeleteSnapshotScheduleCommand,
19069
19286
  DeleteTagsCommand,
19070
19287
  DeleteUsageLimitCommand,
19288
+ DeregisterNamespaceCommand,
19071
19289
  DescribeAccountAttributesCommand,
19072
19290
  DescribeAuthenticationProfilesCommand,
19073
19291
  DescribeClusterDbRevisionsCommand,
@@ -19144,6 +19362,7 @@ var waitUntilSnapshotAvailable = /* @__PURE__ */ __name(async (params, input) =>
19144
19362
  PurchaseReservedNodeOfferingCommand,
19145
19363
  PutResourcePolicyCommand,
19146
19364
  RebootClusterCommand,
19365
+ RegisterNamespaceCommand,
19147
19366
  RejectDataShareCommand,
19148
19367
  ResetClusterParameterGroupCommand,
19149
19368
  ResizeClusterCommand,
@@ -19217,6 +19436,7 @@ var waitUntilSnapshotAvailable = /* @__PURE__ */ __name(async (params, input) =>
19217
19436
  AquaConfigurationStatus,
19218
19437
  AquaStatus,
19219
19438
  DataShareStatus,
19439
+ DataShareType,
19220
19440
  InvalidDataShareFault,
19221
19441
  InvalidNamespaceFault,
19222
19442
  ScheduleState,
@@ -19343,6 +19563,7 @@ var waitUntilSnapshotAvailable = /* @__PURE__ */ __name(async (params, input) =>
19343
19563
  SnapshotCopyGrantNotFoundFault,
19344
19564
  InvalidClusterSnapshotScheduleStateFault,
19345
19565
  UsageLimitNotFoundFault,
19566
+ NamespaceIdentifierUnion,
19346
19567
  PendingModifiedValuesFilterSensitiveLog,
19347
19568
  ClusterFilterSensitiveLog,
19348
19569
  ClusterCredentialsFilterSensitiveLog,
@@ -19351,6 +19572,7 @@ var waitUntilSnapshotAvailable = /* @__PURE__ */ __name(async (params, input) =>
19351
19572
  CreateClusterMessageFilterSensitiveLog,
19352
19573
  CreateClusterResultFilterSensitiveLog,
19353
19574
  DeleteClusterResultFilterSensitiveLog,
19575
+ NamespaceRegistrationStatus,
19354
19576
  SnapshotAttributeToSortBy,
19355
19577
  SortByOrder,
19356
19578
  SourceType,
@@ -49,6 +49,7 @@ import { DeleteSnapshotCopyGrantCommand, } from "./commands/DeleteSnapshotCopyGr
49
49
  import { DeleteSnapshotScheduleCommand, } from "./commands/DeleteSnapshotScheduleCommand";
50
50
  import { DeleteTagsCommand } from "./commands/DeleteTagsCommand";
51
51
  import { DeleteUsageLimitCommand, } from "./commands/DeleteUsageLimitCommand";
52
+ import { DeregisterNamespaceCommand, } from "./commands/DeregisterNamespaceCommand";
52
53
  import { DescribeAccountAttributesCommand, } from "./commands/DescribeAccountAttributesCommand";
53
54
  import { DescribeAuthenticationProfilesCommand, } from "./commands/DescribeAuthenticationProfilesCommand";
54
55
  import { DescribeClusterDbRevisionsCommand, } from "./commands/DescribeClusterDbRevisionsCommand";
@@ -125,6 +126,7 @@ import { PauseClusterCommand, } from "./commands/PauseClusterCommand";
125
126
  import { PurchaseReservedNodeOfferingCommand, } from "./commands/PurchaseReservedNodeOfferingCommand";
126
127
  import { PutResourcePolicyCommand, } from "./commands/PutResourcePolicyCommand";
127
128
  import { RebootClusterCommand, } from "./commands/RebootClusterCommand";
129
+ import { RegisterNamespaceCommand, } from "./commands/RegisterNamespaceCommand";
128
130
  import { RejectDataShareCommand, } from "./commands/RejectDataShareCommand";
129
131
  import { ResetClusterParameterGroupCommand, } from "./commands/ResetClusterParameterGroupCommand";
130
132
  import { ResizeClusterCommand, } from "./commands/ResizeClusterCommand";
@@ -188,6 +190,7 @@ const commands = {
188
190
  DeleteSnapshotScheduleCommand,
189
191
  DeleteTagsCommand,
190
192
  DeleteUsageLimitCommand,
193
+ DeregisterNamespaceCommand,
191
194
  DescribeAccountAttributesCommand,
192
195
  DescribeAuthenticationProfilesCommand,
193
196
  DescribeClusterDbRevisionsCommand,
@@ -264,6 +267,7 @@ const commands = {
264
267
  PurchaseReservedNodeOfferingCommand,
265
268
  PutResourcePolicyCommand,
266
269
  RebootClusterCommand,
270
+ RegisterNamespaceCommand,
267
271
  RejectDataShareCommand,
268
272
  ResetClusterParameterGroupCommand,
269
273
  ResizeClusterCommand,
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DeregisterNamespaceCommand, se_DeregisterNamespaceCommand } from "../protocols/Aws_query";
6
+ export { $Command };
7
+ export class DeregisterNamespaceCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("RedshiftServiceVersion20121201", "DeregisterNamespace", {})
17
+ .n("RedshiftClient", "DeregisterNamespaceCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_DeregisterNamespaceCommand)
20
+ .de(de_DeregisterNamespaceCommand)
21
+ .build() {
22
+ }