@aws-sdk/client-redshift-serverless 3.927.0 → 3.928.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 (87) hide show
  1. package/dist-cjs/index.js +2135 -2484
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/RedshiftServerlessClient.js +2 -0
  4. package/dist-es/commands/ConvertRecoveryPointToSnapshotCommand.js +3 -9
  5. package/dist-es/commands/CreateCustomDomainAssociationCommand.js +3 -9
  6. package/dist-es/commands/CreateEndpointAccessCommand.js +3 -9
  7. package/dist-es/commands/CreateNamespaceCommand.js +3 -10
  8. package/dist-es/commands/CreateReservationCommand.js +3 -9
  9. package/dist-es/commands/CreateScheduledActionCommand.js +3 -9
  10. package/dist-es/commands/CreateSnapshotCommand.js +3 -9
  11. package/dist-es/commands/CreateSnapshotCopyConfigurationCommand.js +3 -9
  12. package/dist-es/commands/CreateUsageLimitCommand.js +3 -9
  13. package/dist-es/commands/CreateWorkgroupCommand.js +3 -9
  14. package/dist-es/commands/DeleteCustomDomainAssociationCommand.js +3 -9
  15. package/dist-es/commands/DeleteEndpointAccessCommand.js +3 -9
  16. package/dist-es/commands/DeleteNamespaceCommand.js +3 -10
  17. package/dist-es/commands/DeleteResourcePolicyCommand.js +3 -9
  18. package/dist-es/commands/DeleteScheduledActionCommand.js +3 -9
  19. package/dist-es/commands/DeleteSnapshotCommand.js +3 -9
  20. package/dist-es/commands/DeleteSnapshotCopyConfigurationCommand.js +3 -9
  21. package/dist-es/commands/DeleteUsageLimitCommand.js +3 -9
  22. package/dist-es/commands/DeleteWorkgroupCommand.js +3 -9
  23. package/dist-es/commands/GetCredentialsCommand.js +3 -10
  24. package/dist-es/commands/GetCustomDomainAssociationCommand.js +3 -9
  25. package/dist-es/commands/GetEndpointAccessCommand.js +3 -9
  26. package/dist-es/commands/GetNamespaceCommand.js +3 -10
  27. package/dist-es/commands/GetRecoveryPointCommand.js +3 -9
  28. package/dist-es/commands/GetReservationCommand.js +3 -9
  29. package/dist-es/commands/GetReservationOfferingCommand.js +3 -9
  30. package/dist-es/commands/GetResourcePolicyCommand.js +3 -9
  31. package/dist-es/commands/GetScheduledActionCommand.js +3 -9
  32. package/dist-es/commands/GetSnapshotCommand.js +3 -9
  33. package/dist-es/commands/GetTableRestoreStatusCommand.js +3 -9
  34. package/dist-es/commands/GetTrackCommand.js +3 -9
  35. package/dist-es/commands/GetUsageLimitCommand.js +3 -9
  36. package/dist-es/commands/GetWorkgroupCommand.js +3 -9
  37. package/dist-es/commands/ListCustomDomainAssociationsCommand.js +3 -9
  38. package/dist-es/commands/ListEndpointAccessCommand.js +3 -9
  39. package/dist-es/commands/ListManagedWorkgroupsCommand.js +3 -9
  40. package/dist-es/commands/ListNamespacesCommand.js +3 -10
  41. package/dist-es/commands/ListRecoveryPointsCommand.js +3 -9
  42. package/dist-es/commands/ListReservationOfferingsCommand.js +3 -9
  43. package/dist-es/commands/ListReservationsCommand.js +3 -9
  44. package/dist-es/commands/ListScheduledActionsCommand.js +3 -9
  45. package/dist-es/commands/ListSnapshotCopyConfigurationsCommand.js +3 -9
  46. package/dist-es/commands/ListSnapshotsCommand.js +3 -9
  47. package/dist-es/commands/ListTableRestoreStatusCommand.js +3 -9
  48. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  49. package/dist-es/commands/ListTracksCommand.js +3 -9
  50. package/dist-es/commands/ListUsageLimitsCommand.js +3 -9
  51. package/dist-es/commands/ListWorkgroupsCommand.js +3 -9
  52. package/dist-es/commands/PutResourcePolicyCommand.js +3 -9
  53. package/dist-es/commands/RestoreFromRecoveryPointCommand.js +3 -10
  54. package/dist-es/commands/RestoreFromSnapshotCommand.js +3 -10
  55. package/dist-es/commands/RestoreTableFromRecoveryPointCommand.js +3 -9
  56. package/dist-es/commands/RestoreTableFromSnapshotCommand.js +3 -9
  57. package/dist-es/commands/TagResourceCommand.js +3 -9
  58. package/dist-es/commands/UntagResourceCommand.js +3 -9
  59. package/dist-es/commands/UpdateCustomDomainAssociationCommand.js +3 -9
  60. package/dist-es/commands/UpdateEndpointAccessCommand.js +3 -9
  61. package/dist-es/commands/UpdateNamespaceCommand.js +3 -10
  62. package/dist-es/commands/UpdateScheduledActionCommand.js +3 -9
  63. package/dist-es/commands/UpdateSnapshotCommand.js +3 -9
  64. package/dist-es/commands/UpdateSnapshotCopyConfigurationCommand.js +3 -9
  65. package/dist-es/commands/UpdateUsageLimitCommand.js +3 -9
  66. package/dist-es/commands/UpdateWorkgroupCommand.js +3 -9
  67. package/dist-es/models/models_0.js +0 -48
  68. package/dist-es/runtimeConfig.shared.js +7 -0
  69. package/dist-es/schemas/schemas_0.js +1984 -0
  70. package/dist-types/RedshiftServerlessClient.d.ts +10 -1
  71. package/dist-types/models/models_0.d.ts +0 -44
  72. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  73. package/dist-types/runtimeConfig.d.ts +1 -0
  74. package/dist-types/runtimeConfig.native.d.ts +1 -0
  75. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  76. package/dist-types/schemas/schemas_0.d.ts +261 -0
  77. package/dist-types/ts3.4/RedshiftServerlessClient.d.ts +4 -0
  78. package/dist-types/ts3.4/models/models_0.d.ts +0 -31
  79. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  80. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  81. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  82. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  83. package/dist-types/ts3.4/schemas/schemas_0.d.ts +267 -0
  84. package/package.json +5 -6
  85. package/dist-es/protocols/Aws_json1_1.js +0 -1956
  86. package/dist-types/protocols/Aws_json1_1.d.ts +0 -569
  87. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -761
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListTracksCommand, se_ListTracksCommand } from "../protocols/Aws_json1_1";
4
+ import { ListTracks } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListTracksCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("RedshiftServerless", "ListTracks", {})
17
13
  .n("RedshiftServerlessClient", "ListTracksCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListTracksCommand)
20
- .de(de_ListTracksCommand)
14
+ .sc(ListTracks)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListUsageLimitsCommand, se_ListUsageLimitsCommand } from "../protocols/Aws_json1_1";
4
+ import { ListUsageLimits } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListUsageLimitsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("RedshiftServerless", "ListUsageLimits", {})
17
13
  .n("RedshiftServerlessClient", "ListUsageLimitsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListUsageLimitsCommand)
20
- .de(de_ListUsageLimitsCommand)
14
+ .sc(ListUsageLimits)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListWorkgroupsCommand, se_ListWorkgroupsCommand } from "../protocols/Aws_json1_1";
4
+ import { ListWorkgroups } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListWorkgroupsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("RedshiftServerless", "ListWorkgroups", {})
17
13
  .n("RedshiftServerlessClient", "ListWorkgroupsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListWorkgroupsCommand)
20
- .de(de_ListWorkgroupsCommand)
14
+ .sc(ListWorkgroups)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_PutResourcePolicyCommand, se_PutResourcePolicyCommand } from "../protocols/Aws_json1_1";
4
+ import { PutResourcePolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PutResourcePolicyCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("RedshiftServerless", "PutResourcePolicy", {})
17
13
  .n("RedshiftServerlessClient", "PutResourcePolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PutResourcePolicyCommand)
20
- .de(de_PutResourcePolicyCommand)
14
+ .sc(PutResourcePolicy)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { RestoreFromRecoveryPointResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_RestoreFromRecoveryPointCommand, se_RestoreFromRecoveryPointCommand } from "../protocols/Aws_json1_1";
4
+ import { RestoreFromRecoveryPoint } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class RestoreFromRecoveryPointCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("RedshiftServerless", "RestoreFromRecoveryPoint", {})
18
13
  .n("RedshiftServerlessClient", "RestoreFromRecoveryPointCommand")
19
- .f(void 0, RestoreFromRecoveryPointResponseFilterSensitiveLog)
20
- .ser(se_RestoreFromRecoveryPointCommand)
21
- .de(de_RestoreFromRecoveryPointCommand)
14
+ .sc(RestoreFromRecoveryPoint)
22
15
  .build() {
23
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { RestoreFromSnapshotResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_RestoreFromSnapshotCommand, se_RestoreFromSnapshotCommand } from "../protocols/Aws_json1_1";
4
+ import { RestoreFromSnapshot } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class RestoreFromSnapshotCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("RedshiftServerless", "RestoreFromSnapshot", {})
18
13
  .n("RedshiftServerlessClient", "RestoreFromSnapshotCommand")
19
- .f(void 0, RestoreFromSnapshotResponseFilterSensitiveLog)
20
- .ser(se_RestoreFromSnapshotCommand)
21
- .de(de_RestoreFromSnapshotCommand)
14
+ .sc(RestoreFromSnapshot)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_RestoreTableFromRecoveryPointCommand, se_RestoreTableFromRecoveryPointCommand, } from "../protocols/Aws_json1_1";
4
+ import { RestoreTableFromRecoveryPoint } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RestoreTableFromRecoveryPointCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("RedshiftServerless", "RestoreTableFromRecoveryPoint", {})
17
13
  .n("RedshiftServerlessClient", "RestoreTableFromRecoveryPointCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RestoreTableFromRecoveryPointCommand)
20
- .de(de_RestoreTableFromRecoveryPointCommand)
14
+ .sc(RestoreTableFromRecoveryPoint)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_RestoreTableFromSnapshotCommand, se_RestoreTableFromSnapshotCommand } from "../protocols/Aws_json1_1";
4
+ import { RestoreTableFromSnapshot } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RestoreTableFromSnapshotCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("RedshiftServerless", "RestoreTableFromSnapshot", {})
17
13
  .n("RedshiftServerlessClient", "RestoreTableFromSnapshotCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RestoreTableFromSnapshotCommand)
20
- .de(de_RestoreTableFromSnapshotCommand)
14
+ .sc(RestoreTableFromSnapshot)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_json1_1";
4
+ import { TagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class TagResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("RedshiftServerless", "TagResource", {})
17
13
  .n("RedshiftServerlessClient", "TagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_TagResourceCommand)
20
- .de(de_TagResourceCommand)
14
+ .sc(TagResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_json1_1";
4
+ import { UntagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UntagResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("RedshiftServerless", "UntagResource", {})
17
13
  .n("RedshiftServerlessClient", "UntagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UntagResourceCommand)
20
- .de(de_UntagResourceCommand)
14
+ .sc(UntagResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateCustomDomainAssociationCommand, se_UpdateCustomDomainAssociationCommand, } from "../protocols/Aws_json1_1";
4
+ import { UpdateCustomDomainAssociation } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateCustomDomainAssociationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("RedshiftServerless", "UpdateCustomDomainAssociation", {})
17
13
  .n("RedshiftServerlessClient", "UpdateCustomDomainAssociationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateCustomDomainAssociationCommand)
20
- .de(de_UpdateCustomDomainAssociationCommand)
14
+ .sc(UpdateCustomDomainAssociation)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateEndpointAccessCommand, se_UpdateEndpointAccessCommand } from "../protocols/Aws_json1_1";
4
+ import { UpdateEndpointAccess } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateEndpointAccessCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("RedshiftServerless", "UpdateEndpointAccess", {})
17
13
  .n("RedshiftServerlessClient", "UpdateEndpointAccessCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateEndpointAccessCommand)
20
- .de(de_UpdateEndpointAccessCommand)
14
+ .sc(UpdateEndpointAccess)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { UpdateNamespaceRequestFilterSensitiveLog, UpdateNamespaceResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_UpdateNamespaceCommand, se_UpdateNamespaceCommand } from "../protocols/Aws_json1_1";
4
+ import { UpdateNamespace } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class UpdateNamespaceCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("RedshiftServerless", "UpdateNamespace", {})
18
13
  .n("RedshiftServerlessClient", "UpdateNamespaceCommand")
19
- .f(UpdateNamespaceRequestFilterSensitiveLog, UpdateNamespaceResponseFilterSensitiveLog)
20
- .ser(se_UpdateNamespaceCommand)
21
- .de(de_UpdateNamespaceCommand)
14
+ .sc(UpdateNamespace)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateScheduledActionCommand, se_UpdateScheduledActionCommand } from "../protocols/Aws_json1_1";
4
+ import { UpdateScheduledAction } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateScheduledActionCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("RedshiftServerless", "UpdateScheduledAction", {})
17
13
  .n("RedshiftServerlessClient", "UpdateScheduledActionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateScheduledActionCommand)
20
- .de(de_UpdateScheduledActionCommand)
14
+ .sc(UpdateScheduledAction)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateSnapshotCommand, se_UpdateSnapshotCommand } from "../protocols/Aws_json1_1";
4
+ import { UpdateSnapshot } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateSnapshotCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("RedshiftServerless", "UpdateSnapshot", {})
17
13
  .n("RedshiftServerlessClient", "UpdateSnapshotCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateSnapshotCommand)
20
- .de(de_UpdateSnapshotCommand)
14
+ .sc(UpdateSnapshot)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateSnapshotCopyConfigurationCommand, se_UpdateSnapshotCopyConfigurationCommand, } from "../protocols/Aws_json1_1";
4
+ import { UpdateSnapshotCopyConfiguration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateSnapshotCopyConfigurationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("RedshiftServerless", "UpdateSnapshotCopyConfiguration", {})
17
13
  .n("RedshiftServerlessClient", "UpdateSnapshotCopyConfigurationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateSnapshotCopyConfigurationCommand)
20
- .de(de_UpdateSnapshotCopyConfigurationCommand)
14
+ .sc(UpdateSnapshotCopyConfiguration)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateUsageLimitCommand, se_UpdateUsageLimitCommand } from "../protocols/Aws_json1_1";
4
+ import { UpdateUsageLimit } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateUsageLimitCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("RedshiftServerless", "UpdateUsageLimit", {})
17
13
  .n("RedshiftServerlessClient", "UpdateUsageLimitCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateUsageLimitCommand)
20
- .de(de_UpdateUsageLimitCommand)
14
+ .sc(UpdateUsageLimit)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateWorkgroupCommand, se_UpdateWorkgroupCommand } from "../protocols/Aws_json1_1";
4
+ import { UpdateWorkgroup } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateWorkgroupCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("RedshiftServerless", "UpdateWorkgroup", {})
17
13
  .n("RedshiftServerlessClient", "UpdateWorkgroupCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateWorkgroupCommand)
20
- .de(de_UpdateWorkgroupCommand)
14
+ .sc(UpdateWorkgroup)
21
15
  .build() {
22
16
  }
@@ -1,4 +1,3 @@
1
- import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
1
  import { RedshiftServerlessServiceException as __BaseException } from "./RedshiftServerlessServiceException";
3
2
  export class AccessDeniedException extends __BaseException {
4
3
  name = "AccessDeniedException";
@@ -218,50 +217,3 @@ export const ManagedWorkgroupStatus = {
218
217
  MODIFYING: "MODIFYING",
219
218
  NOT_AVAILABLE: "NOT_AVAILABLE",
220
219
  };
221
- export const CreateNamespaceRequestFilterSensitiveLog = (obj) => ({
222
- ...obj,
223
- ...(obj.adminUsername && { adminUsername: SENSITIVE_STRING }),
224
- ...(obj.adminUserPassword && { adminUserPassword: SENSITIVE_STRING }),
225
- });
226
- export const NamespaceFilterSensitiveLog = (obj) => ({
227
- ...obj,
228
- ...(obj.adminUsername && { adminUsername: SENSITIVE_STRING }),
229
- });
230
- export const CreateNamespaceResponseFilterSensitiveLog = (obj) => ({
231
- ...obj,
232
- ...(obj.namespace && { namespace: NamespaceFilterSensitiveLog(obj.namespace) }),
233
- });
234
- export const DeleteNamespaceResponseFilterSensitiveLog = (obj) => ({
235
- ...obj,
236
- ...(obj.namespace && { namespace: NamespaceFilterSensitiveLog(obj.namespace) }),
237
- });
238
- export const GetCredentialsResponseFilterSensitiveLog = (obj) => ({
239
- ...obj,
240
- ...(obj.dbUser && { dbUser: SENSITIVE_STRING }),
241
- ...(obj.dbPassword && { dbPassword: SENSITIVE_STRING }),
242
- });
243
- export const GetNamespaceResponseFilterSensitiveLog = (obj) => ({
244
- ...obj,
245
- ...(obj.namespace && { namespace: NamespaceFilterSensitiveLog(obj.namespace) }),
246
- });
247
- export const ListNamespacesResponseFilterSensitiveLog = (obj) => ({
248
- ...obj,
249
- ...(obj.namespaces && { namespaces: obj.namespaces.map((item) => NamespaceFilterSensitiveLog(item)) }),
250
- });
251
- export const UpdateNamespaceRequestFilterSensitiveLog = (obj) => ({
252
- ...obj,
253
- ...(obj.adminUserPassword && { adminUserPassword: SENSITIVE_STRING }),
254
- ...(obj.adminUsername && { adminUsername: SENSITIVE_STRING }),
255
- });
256
- export const UpdateNamespaceResponseFilterSensitiveLog = (obj) => ({
257
- ...obj,
258
- ...(obj.namespace && { namespace: NamespaceFilterSensitiveLog(obj.namespace) }),
259
- });
260
- export const RestoreFromRecoveryPointResponseFilterSensitiveLog = (obj) => ({
261
- ...obj,
262
- ...(obj.namespace && { namespace: NamespaceFilterSensitiveLog(obj.namespace) }),
263
- });
264
- export const RestoreFromSnapshotResponseFilterSensitiveLog = (obj) => ({
265
- ...obj,
266
- ...(obj.namespace && { namespace: NamespaceFilterSensitiveLog(obj.namespace) }),
267
- });
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
2
3
  import { NoOpLogger } from "@smithy/smithy-client";
3
4
  import { parseUrl } from "@smithy/url-parser";
4
5
  import { fromBase64, toBase64 } from "@smithy/util-base64";
@@ -22,6 +23,12 @@ export const getRuntimeConfig = (config) => {
22
23
  },
23
24
  ],
24
25
  logger: config?.logger ?? new NoOpLogger(),
26
+ protocol: config?.protocol ??
27
+ new AwsJson1_1Protocol({
28
+ defaultNamespace: "com.amazonaws.redshiftserverless",
29
+ serviceTarget: "RedshiftServerless",
30
+ awsQueryCompatible: false,
31
+ }),
25
32
  serviceId: config?.serviceId ?? "Redshift Serverless",
26
33
  urlParser: config?.urlParser ?? parseUrl,
27
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,