@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
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,12 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ??
30
+ new protocols_1.AwsJson1_1Protocol({
31
+ defaultNamespace: "com.amazonaws.redshiftserverless",
32
+ serviceTarget: "RedshiftServerless",
33
+ awsQueryCompatible: false,
34
+ }),
28
35
  serviceId: config?.serviceId ?? "Redshift Serverless",
29
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
7
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
9
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
10
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -28,6 +29,7 @@ export class RedshiftServerlessClient extends __Client {
28
29
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
29
30
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
30
31
  this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
31
33
  this.middlewareStack.use(getUserAgentPlugin(this.config));
32
34
  this.middlewareStack.use(getRetryPlugin(this.config));
33
35
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -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_ConvertRecoveryPointToSnapshotCommand, se_ConvertRecoveryPointToSnapshotCommand, } from "../protocols/Aws_json1_1";
4
+ import { ConvertRecoveryPointToSnapshot } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ConvertRecoveryPointToSnapshotCommand 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", "ConvertRecoveryPointToSnapshot", {})
17
13
  .n("RedshiftServerlessClient", "ConvertRecoveryPointToSnapshotCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ConvertRecoveryPointToSnapshotCommand)
20
- .de(de_ConvertRecoveryPointToSnapshotCommand)
14
+ .sc(ConvertRecoveryPointToSnapshot)
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_CreateCustomDomainAssociationCommand, se_CreateCustomDomainAssociationCommand, } from "../protocols/Aws_json1_1";
4
+ import { CreateCustomDomainAssociation } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateCustomDomainAssociationCommand 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", "CreateCustomDomainAssociation", {})
17
13
  .n("RedshiftServerlessClient", "CreateCustomDomainAssociationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateCustomDomainAssociationCommand)
20
- .de(de_CreateCustomDomainAssociationCommand)
14
+ .sc(CreateCustomDomainAssociation)
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_CreateEndpointAccessCommand, se_CreateEndpointAccessCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateEndpointAccess } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateEndpointAccessCommand 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", "CreateEndpointAccess", {})
17
13
  .n("RedshiftServerlessClient", "CreateEndpointAccessCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateEndpointAccessCommand)
20
- .de(de_CreateEndpointAccessCommand)
14
+ .sc(CreateEndpointAccess)
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 { CreateNamespaceRequestFilterSensitiveLog, CreateNamespaceResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_CreateNamespaceCommand, se_CreateNamespaceCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateNamespace } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class CreateNamespaceCommand 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", "CreateNamespace", {})
18
13
  .n("RedshiftServerlessClient", "CreateNamespaceCommand")
19
- .f(CreateNamespaceRequestFilterSensitiveLog, CreateNamespaceResponseFilterSensitiveLog)
20
- .ser(se_CreateNamespaceCommand)
21
- .de(de_CreateNamespaceCommand)
14
+ .sc(CreateNamespace)
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_CreateReservationCommand, se_CreateReservationCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateReservation } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateReservationCommand 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", "CreateReservation", {})
17
13
  .n("RedshiftServerlessClient", "CreateReservationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateReservationCommand)
20
- .de(de_CreateReservationCommand)
14
+ .sc(CreateReservation)
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_CreateScheduledActionCommand, se_CreateScheduledActionCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateScheduledAction } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateScheduledActionCommand 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", "CreateScheduledAction", {})
17
13
  .n("RedshiftServerlessClient", "CreateScheduledActionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateScheduledActionCommand)
20
- .de(de_CreateScheduledActionCommand)
14
+ .sc(CreateScheduledAction)
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_CreateSnapshotCommand, se_CreateSnapshotCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateSnapshot } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateSnapshotCommand 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", "CreateSnapshot", {})
17
13
  .n("RedshiftServerlessClient", "CreateSnapshotCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateSnapshotCommand)
20
- .de(de_CreateSnapshotCommand)
14
+ .sc(CreateSnapshot)
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_CreateSnapshotCopyConfigurationCommand, se_CreateSnapshotCopyConfigurationCommand, } from "../protocols/Aws_json1_1";
4
+ import { CreateSnapshotCopyConfiguration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateSnapshotCopyConfigurationCommand 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", "CreateSnapshotCopyConfiguration", {})
17
13
  .n("RedshiftServerlessClient", "CreateSnapshotCopyConfigurationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateSnapshotCopyConfigurationCommand)
20
- .de(de_CreateSnapshotCopyConfigurationCommand)
14
+ .sc(CreateSnapshotCopyConfiguration)
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_CreateUsageLimitCommand, se_CreateUsageLimitCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateUsageLimit } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateUsageLimitCommand 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", "CreateUsageLimit", {})
17
13
  .n("RedshiftServerlessClient", "CreateUsageLimitCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateUsageLimitCommand)
20
- .de(de_CreateUsageLimitCommand)
14
+ .sc(CreateUsageLimit)
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_CreateWorkgroupCommand, se_CreateWorkgroupCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateWorkgroup } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateWorkgroupCommand 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", "CreateWorkgroup", {})
17
13
  .n("RedshiftServerlessClient", "CreateWorkgroupCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateWorkgroupCommand)
20
- .de(de_CreateWorkgroupCommand)
14
+ .sc(CreateWorkgroup)
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_DeleteCustomDomainAssociationCommand, se_DeleteCustomDomainAssociationCommand, } from "../protocols/Aws_json1_1";
4
+ import { DeleteCustomDomainAssociation } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteCustomDomainAssociationCommand 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", "DeleteCustomDomainAssociation", {})
17
13
  .n("RedshiftServerlessClient", "DeleteCustomDomainAssociationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteCustomDomainAssociationCommand)
20
- .de(de_DeleteCustomDomainAssociationCommand)
14
+ .sc(DeleteCustomDomainAssociation)
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_DeleteEndpointAccessCommand, se_DeleteEndpointAccessCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteEndpointAccess } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteEndpointAccessCommand 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", "DeleteEndpointAccess", {})
17
13
  .n("RedshiftServerlessClient", "DeleteEndpointAccessCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteEndpointAccessCommand)
20
- .de(de_DeleteEndpointAccessCommand)
14
+ .sc(DeleteEndpointAccess)
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 { DeleteNamespaceResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_DeleteNamespaceCommand, se_DeleteNamespaceCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteNamespace } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class DeleteNamespaceCommand 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", "DeleteNamespace", {})
18
13
  .n("RedshiftServerlessClient", "DeleteNamespaceCommand")
19
- .f(void 0, DeleteNamespaceResponseFilterSensitiveLog)
20
- .ser(se_DeleteNamespaceCommand)
21
- .de(de_DeleteNamespaceCommand)
14
+ .sc(DeleteNamespace)
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_DeleteResourcePolicyCommand, se_DeleteResourcePolicyCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteResourcePolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteResourcePolicyCommand 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", "DeleteResourcePolicy", {})
17
13
  .n("RedshiftServerlessClient", "DeleteResourcePolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteResourcePolicyCommand)
20
- .de(de_DeleteResourcePolicyCommand)
14
+ .sc(DeleteResourcePolicy)
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_DeleteScheduledActionCommand, se_DeleteScheduledActionCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteScheduledAction } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteScheduledActionCommand 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", "DeleteScheduledAction", {})
17
13
  .n("RedshiftServerlessClient", "DeleteScheduledActionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteScheduledActionCommand)
20
- .de(de_DeleteScheduledActionCommand)
14
+ .sc(DeleteScheduledAction)
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_DeleteSnapshotCommand, se_DeleteSnapshotCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteSnapshot } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteSnapshotCommand 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", "DeleteSnapshot", {})
17
13
  .n("RedshiftServerlessClient", "DeleteSnapshotCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteSnapshotCommand)
20
- .de(de_DeleteSnapshotCommand)
14
+ .sc(DeleteSnapshot)
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_DeleteSnapshotCopyConfigurationCommand, se_DeleteSnapshotCopyConfigurationCommand, } from "../protocols/Aws_json1_1";
4
+ import { DeleteSnapshotCopyConfiguration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteSnapshotCopyConfigurationCommand 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", "DeleteSnapshotCopyConfiguration", {})
17
13
  .n("RedshiftServerlessClient", "DeleteSnapshotCopyConfigurationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteSnapshotCopyConfigurationCommand)
20
- .de(de_DeleteSnapshotCopyConfigurationCommand)
14
+ .sc(DeleteSnapshotCopyConfiguration)
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_DeleteUsageLimitCommand, se_DeleteUsageLimitCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteUsageLimit } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteUsageLimitCommand 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", "DeleteUsageLimit", {})
17
13
  .n("RedshiftServerlessClient", "DeleteUsageLimitCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteUsageLimitCommand)
20
- .de(de_DeleteUsageLimitCommand)
14
+ .sc(DeleteUsageLimit)
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_DeleteWorkgroupCommand, se_DeleteWorkgroupCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteWorkgroup } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteWorkgroupCommand 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", "DeleteWorkgroup", {})
17
13
  .n("RedshiftServerlessClient", "DeleteWorkgroupCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteWorkgroupCommand)
20
- .de(de_DeleteWorkgroupCommand)
14
+ .sc(DeleteWorkgroup)
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 { GetCredentialsResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_GetCredentialsCommand, se_GetCredentialsCommand } from "../protocols/Aws_json1_1";
4
+ import { GetCredentials } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class GetCredentialsCommand 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", "GetCredentials", {})
18
13
  .n("RedshiftServerlessClient", "GetCredentialsCommand")
19
- .f(void 0, GetCredentialsResponseFilterSensitiveLog)
20
- .ser(se_GetCredentialsCommand)
21
- .de(de_GetCredentialsCommand)
14
+ .sc(GetCredentials)
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_GetCustomDomainAssociationCommand, se_GetCustomDomainAssociationCommand } from "../protocols/Aws_json1_1";
4
+ import { GetCustomDomainAssociation } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetCustomDomainAssociationCommand 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", "GetCustomDomainAssociation", {})
17
13
  .n("RedshiftServerlessClient", "GetCustomDomainAssociationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetCustomDomainAssociationCommand)
20
- .de(de_GetCustomDomainAssociationCommand)
14
+ .sc(GetCustomDomainAssociation)
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_GetEndpointAccessCommand, se_GetEndpointAccessCommand } from "../protocols/Aws_json1_1";
4
+ import { GetEndpointAccess } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetEndpointAccessCommand 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", "GetEndpointAccess", {})
17
13
  .n("RedshiftServerlessClient", "GetEndpointAccessCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetEndpointAccessCommand)
20
- .de(de_GetEndpointAccessCommand)
14
+ .sc(GetEndpointAccess)
21
15
  .build() {
22
16
  }