@aws-sdk/client-launch-wizard 3.927.0 → 3.929.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 (36) hide show
  1. package/dist-cjs/index.js +478 -583
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/LaunchWizardClient.js +2 -0
  4. package/dist-es/commands/CreateDeploymentCommand.js +3 -10
  5. package/dist-es/commands/DeleteDeploymentCommand.js +3 -9
  6. package/dist-es/commands/GetDeploymentCommand.js +3 -10
  7. package/dist-es/commands/GetWorkloadCommand.js +3 -9
  8. package/dist-es/commands/GetWorkloadDeploymentPatternCommand.js +3 -9
  9. package/dist-es/commands/ListDeploymentEventsCommand.js +3 -9
  10. package/dist-es/commands/ListDeploymentsCommand.js +3 -9
  11. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  12. package/dist-es/commands/ListWorkloadDeploymentPatternsCommand.js +3 -9
  13. package/dist-es/commands/ListWorkloadsCommand.js +3 -9
  14. package/dist-es/commands/TagResourceCommand.js +3 -9
  15. package/dist-es/commands/UntagResourceCommand.js +3 -9
  16. package/dist-es/models/models_0.js +0 -13
  17. package/dist-es/runtimeConfig.shared.js +2 -0
  18. package/dist-es/schemas/schemas_0.js +446 -0
  19. package/dist-types/LaunchWizardClient.d.ts +10 -1
  20. package/dist-types/models/models_0.d.ts +0 -12
  21. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  22. package/dist-types/runtimeConfig.d.ts +1 -0
  23. package/dist-types/runtimeConfig.native.d.ts +1 -0
  24. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  25. package/dist-types/schemas/schemas_0.d.ts +65 -0
  26. package/dist-types/ts3.4/LaunchWizardClient.d.ts +4 -0
  27. package/dist-types/ts3.4/models/models_0.d.ts +0 -9
  28. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  29. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  30. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  31. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  32. package/dist-types/ts3.4/schemas/schemas_0.d.ts +71 -0
  33. package/package.json +5 -5
  34. package/dist-es/protocols/Aws_restJson1.js +0 -474
  35. package/dist-types/protocols/Aws_restJson1.d.ts +0 -110
  36. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -149
@@ -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,7 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.launchwizard" }),
28
30
  serviceId: config?.serviceId ?? "Launch Wizard",
29
31
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
32
  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 LaunchWizardClient 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,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 { CreateDeploymentInputFilterSensitiveLog, } from "../models/models_0";
6
- import { de_CreateDeploymentCommand, se_CreateDeploymentCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateDeployment } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class CreateDeploymentCommand 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("LaunchWizard", "CreateDeployment", {})
18
13
  .n("LaunchWizardClient", "CreateDeploymentCommand")
19
- .f(CreateDeploymentInputFilterSensitiveLog, void 0)
20
- .ser(se_CreateDeploymentCommand)
21
- .de(de_CreateDeploymentCommand)
14
+ .sc(CreateDeployment)
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_DeleteDeploymentCommand, se_DeleteDeploymentCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteDeployment } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteDeploymentCommand 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("LaunchWizard", "DeleteDeployment", {})
17
13
  .n("LaunchWizardClient", "DeleteDeploymentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteDeploymentCommand)
20
- .de(de_DeleteDeploymentCommand)
14
+ .sc(DeleteDeployment)
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 { GetDeploymentOutputFilterSensitiveLog } from "../models/models_0";
6
- import { de_GetDeploymentCommand, se_GetDeploymentCommand } from "../protocols/Aws_restJson1";
4
+ import { GetDeployment } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class GetDeploymentCommand 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("LaunchWizard", "GetDeployment", {})
18
13
  .n("LaunchWizardClient", "GetDeploymentCommand")
19
- .f(void 0, GetDeploymentOutputFilterSensitiveLog)
20
- .ser(se_GetDeploymentCommand)
21
- .de(de_GetDeploymentCommand)
14
+ .sc(GetDeployment)
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_GetWorkloadCommand, se_GetWorkloadCommand } from "../protocols/Aws_restJson1";
4
+ import { GetWorkload } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetWorkloadCommand 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("LaunchWizard", "GetWorkload", {})
17
13
  .n("LaunchWizardClient", "GetWorkloadCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetWorkloadCommand)
20
- .de(de_GetWorkloadCommand)
14
+ .sc(GetWorkload)
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_GetWorkloadDeploymentPatternCommand, se_GetWorkloadDeploymentPatternCommand, } from "../protocols/Aws_restJson1";
4
+ import { GetWorkloadDeploymentPattern } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetWorkloadDeploymentPatternCommand 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("LaunchWizard", "GetWorkloadDeploymentPattern", {})
17
13
  .n("LaunchWizardClient", "GetWorkloadDeploymentPatternCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetWorkloadDeploymentPatternCommand)
20
- .de(de_GetWorkloadDeploymentPatternCommand)
14
+ .sc(GetWorkloadDeploymentPattern)
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_ListDeploymentEventsCommand, se_ListDeploymentEventsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListDeploymentEvents } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListDeploymentEventsCommand 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("LaunchWizard", "ListDeploymentEvents", {})
17
13
  .n("LaunchWizardClient", "ListDeploymentEventsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListDeploymentEventsCommand)
20
- .de(de_ListDeploymentEventsCommand)
14
+ .sc(ListDeploymentEvents)
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_ListDeploymentsCommand, se_ListDeploymentsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListDeployments } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListDeploymentsCommand 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("LaunchWizard", "ListDeployments", {})
17
13
  .n("LaunchWizardClient", "ListDeploymentsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListDeploymentsCommand)
20
- .de(de_ListDeploymentsCommand)
14
+ .sc(ListDeployments)
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_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { ListTagsForResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListTagsForResourceCommand 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("LaunchWizard", "ListTagsForResource", {})
17
13
  .n("LaunchWizardClient", "ListTagsForResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListTagsForResourceCommand)
20
- .de(de_ListTagsForResourceCommand)
14
+ .sc(ListTagsForResource)
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_ListWorkloadDeploymentPatternsCommand, se_ListWorkloadDeploymentPatternsCommand, } from "../protocols/Aws_restJson1";
4
+ import { ListWorkloadDeploymentPatterns } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListWorkloadDeploymentPatternsCommand 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("LaunchWizard", "ListWorkloadDeploymentPatterns", {})
17
13
  .n("LaunchWizardClient", "ListWorkloadDeploymentPatternsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListWorkloadDeploymentPatternsCommand)
20
- .de(de_ListWorkloadDeploymentPatternsCommand)
14
+ .sc(ListWorkloadDeploymentPatterns)
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_ListWorkloadsCommand, se_ListWorkloadsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListWorkloads } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListWorkloadsCommand 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("LaunchWizard", "ListWorkloads", {})
17
13
  .n("LaunchWizardClient", "ListWorkloadsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListWorkloadsCommand)
20
- .de(de_ListWorkloadsCommand)
14
+ .sc(ListWorkloads)
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_restJson1";
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("LaunchWizard", "TagResource", {})
17
13
  .n("LaunchWizardClient", "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_restJson1";
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("LaunchWizard", "UntagResource", {})
17
13
  .n("LaunchWizardClient", "UntagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UntagResourceCommand)
20
- .de(de_UntagResourceCommand)
14
+ .sc(UntagResource)
21
15
  .build() {
22
16
  }
@@ -1,4 +1,3 @@
1
- import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
1
  import { LaunchWizardServiceException as __BaseException } from "./LaunchWizardServiceException";
3
2
  export class InternalServerException extends __BaseException {
4
3
  name = "InternalServerException";
@@ -85,15 +84,3 @@ export const WorkloadDeploymentPatternStatus = {
85
84
  DISABLED: "DISABLED",
86
85
  INACTIVE: "INACTIVE",
87
86
  };
88
- export const CreateDeploymentInputFilterSensitiveLog = (obj) => ({
89
- ...obj,
90
- ...(obj.specifications && { specifications: SENSITIVE_STRING }),
91
- });
92
- export const DeploymentDataFilterSensitiveLog = (obj) => ({
93
- ...obj,
94
- ...(obj.specifications && { specifications: SENSITIVE_STRING }),
95
- });
96
- export const GetDeploymentOutputFilterSensitiveLog = (obj) => ({
97
- ...obj,
98
- ...(obj.deployment && { deployment: DeploymentDataFilterSensitiveLog(obj.deployment) }),
99
- });
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsRestJsonProtocol } 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,7 @@ export const getRuntimeConfig = (config) => {
22
23
  },
23
24
  ],
24
25
  logger: config?.logger ?? new NoOpLogger(),
26
+ protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.launchwizard" }),
25
27
  serviceId: config?.serviceId ?? "Launch Wizard",
26
28
  urlParser: config?.urlParser ?? parseUrl,
27
29
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,