@aws-sdk/client-launch-wizard 3.443.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 (127) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +272 -0
  3. package/dist-cjs/LaunchWizard.js +27 -0
  4. package/dist-cjs/LaunchWizardClient.js +43 -0
  5. package/dist-cjs/commands/CreateDeploymentCommand.js +52 -0
  6. package/dist-cjs/commands/DeleteDeploymentCommand.js +51 -0
  7. package/dist-cjs/commands/GetDeploymentCommand.js +52 -0
  8. package/dist-cjs/commands/GetWorkloadCommand.js +51 -0
  9. package/dist-cjs/commands/ListDeploymentEventsCommand.js +51 -0
  10. package/dist-cjs/commands/ListDeploymentsCommand.js +51 -0
  11. package/dist-cjs/commands/ListWorkloadDeploymentPatternsCommand.js +51 -0
  12. package/dist-cjs/commands/ListWorkloadsCommand.js +51 -0
  13. package/dist-cjs/commands/index.js +11 -0
  14. package/dist-cjs/endpoint/EndpointParameters.js +12 -0
  15. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  16. package/dist-cjs/endpoint/ruleset.js +7 -0
  17. package/dist-cjs/extensionConfiguration.js +2 -0
  18. package/dist-cjs/index.js +12 -0
  19. package/dist-cjs/models/LaunchWizardServiceException.js +12 -0
  20. package/dist-cjs/models/index.js +4 -0
  21. package/dist-cjs/models/models_0.js +109 -0
  22. package/dist-cjs/pagination/Interfaces.js +2 -0
  23. package/dist-cjs/pagination/ListDeploymentEventsPaginator.js +29 -0
  24. package/dist-cjs/pagination/ListDeploymentsPaginator.js +29 -0
  25. package/dist-cjs/pagination/ListWorkloadDeploymentPatternsPaginator.js +29 -0
  26. package/dist-cjs/pagination/ListWorkloadsPaginator.js +29 -0
  27. package/dist-cjs/pagination/index.js +8 -0
  28. package/dist-cjs/protocols/Aws_restJson1.js +661 -0
  29. package/dist-cjs/runtimeConfig.browser.js +39 -0
  30. package/dist-cjs/runtimeConfig.js +50 -0
  31. package/dist-cjs/runtimeConfig.native.js +15 -0
  32. package/dist-cjs/runtimeConfig.shared.js +24 -0
  33. package/dist-cjs/runtimeExtensions.js +22 -0
  34. package/dist-es/LaunchWizard.js +23 -0
  35. package/dist-es/LaunchWizardClient.js +39 -0
  36. package/dist-es/commands/CreateDeploymentCommand.js +48 -0
  37. package/dist-es/commands/DeleteDeploymentCommand.js +47 -0
  38. package/dist-es/commands/GetDeploymentCommand.js +48 -0
  39. package/dist-es/commands/GetWorkloadCommand.js +47 -0
  40. package/dist-es/commands/ListDeploymentEventsCommand.js +47 -0
  41. package/dist-es/commands/ListDeploymentsCommand.js +47 -0
  42. package/dist-es/commands/ListWorkloadDeploymentPatternsCommand.js +47 -0
  43. package/dist-es/commands/ListWorkloadsCommand.js +47 -0
  44. package/dist-es/commands/index.js +8 -0
  45. package/dist-es/endpoint/EndpointParameters.js +8 -0
  46. package/dist-es/endpoint/endpointResolver.js +8 -0
  47. package/dist-es/endpoint/ruleset.js +4 -0
  48. package/dist-es/extensionConfiguration.js +1 -0
  49. package/dist-es/index.js +7 -0
  50. package/dist-es/models/LaunchWizardServiceException.js +8 -0
  51. package/dist-es/models/index.js +1 -0
  52. package/dist-es/models/models_0.js +99 -0
  53. package/dist-es/pagination/Interfaces.js +1 -0
  54. package/dist-es/pagination/ListDeploymentEventsPaginator.js +25 -0
  55. package/dist-es/pagination/ListDeploymentsPaginator.js +25 -0
  56. package/dist-es/pagination/ListWorkloadDeploymentPatternsPaginator.js +25 -0
  57. package/dist-es/pagination/ListWorkloadsPaginator.js +25 -0
  58. package/dist-es/pagination/index.js +5 -0
  59. package/dist-es/protocols/Aws_restJson1.js +642 -0
  60. package/dist-es/runtimeConfig.browser.js +34 -0
  61. package/dist-es/runtimeConfig.js +45 -0
  62. package/dist-es/runtimeConfig.native.js +11 -0
  63. package/dist-es/runtimeConfig.shared.js +20 -0
  64. package/dist-es/runtimeExtensions.js +18 -0
  65. package/dist-types/LaunchWizard.d.ts +69 -0
  66. package/dist-types/LaunchWizardClient.d.ts +180 -0
  67. package/dist-types/commands/CreateDeploymentCommand.d.ts +95 -0
  68. package/dist-types/commands/DeleteDeploymentCommand.d.ts +84 -0
  69. package/dist-types/commands/GetDeploymentCommand.d.ts +95 -0
  70. package/dist-types/commands/GetWorkloadCommand.d.ts +91 -0
  71. package/dist-types/commands/ListDeploymentEventsCommand.d.ts +94 -0
  72. package/dist-types/commands/ListDeploymentsCommand.d.ts +99 -0
  73. package/dist-types/commands/ListWorkloadDeploymentPatternsCommand.d.ts +96 -0
  74. package/dist-types/commands/ListWorkloadsCommand.d.ts +87 -0
  75. package/dist-types/commands/index.d.ts +8 -0
  76. package/dist-types/endpoint/EndpointParameters.d.ts +22 -0
  77. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  78. package/dist-types/endpoint/ruleset.d.ts +2 -0
  79. package/dist-types/extensionConfiguration.d.ts +8 -0
  80. package/dist-types/index.d.ts +16 -0
  81. package/dist-types/models/LaunchWizardServiceException.d.ts +13 -0
  82. package/dist-types/models/index.d.ts +1 -0
  83. package/dist-types/models/models_0.d.ts +652 -0
  84. package/dist-types/pagination/Interfaces.d.ts +8 -0
  85. package/dist-types/pagination/ListDeploymentEventsPaginator.d.ts +7 -0
  86. package/dist-types/pagination/ListDeploymentsPaginator.d.ts +7 -0
  87. package/dist-types/pagination/ListWorkloadDeploymentPatternsPaginator.d.ts +7 -0
  88. package/dist-types/pagination/ListWorkloadsPaginator.d.ts +7 -0
  89. package/dist-types/pagination/index.d.ts +5 -0
  90. package/dist-types/protocols/Aws_restJson1.d.ts +74 -0
  91. package/dist-types/runtimeConfig.browser.d.ts +46 -0
  92. package/dist-types/runtimeConfig.d.ts +46 -0
  93. package/dist-types/runtimeConfig.native.d.ts +45 -0
  94. package/dist-types/runtimeConfig.shared.d.ts +19 -0
  95. package/dist-types/runtimeExtensions.d.ts +17 -0
  96. package/dist-types/ts3.4/LaunchWizard.d.ts +143 -0
  97. package/dist-types/ts3.4/LaunchWizardClient.d.ts +167 -0
  98. package/dist-types/ts3.4/commands/CreateDeploymentCommand.d.ts +38 -0
  99. package/dist-types/ts3.4/commands/DeleteDeploymentCommand.d.ts +38 -0
  100. package/dist-types/ts3.4/commands/GetDeploymentCommand.d.ts +35 -0
  101. package/dist-types/ts3.4/commands/GetWorkloadCommand.d.ts +35 -0
  102. package/dist-types/ts3.4/commands/ListDeploymentEventsCommand.d.ts +42 -0
  103. package/dist-types/ts3.4/commands/ListDeploymentsCommand.d.ts +38 -0
  104. package/dist-types/ts3.4/commands/ListWorkloadDeploymentPatternsCommand.d.ts +42 -0
  105. package/dist-types/ts3.4/commands/ListWorkloadsCommand.d.ts +35 -0
  106. package/dist-types/ts3.4/commands/index.d.ts +8 -0
  107. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -0
  108. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  109. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  110. package/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
  111. package/dist-types/ts3.4/index.d.ts +8 -0
  112. package/dist-types/ts3.4/models/LaunchWizardServiceException.d.ts +8 -0
  113. package/dist-types/ts3.4/models/index.d.ts +1 -0
  114. package/dist-types/ts3.4/models/models_0.d.ts +201 -0
  115. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  116. package/dist-types/ts3.4/pagination/ListDeploymentEventsPaginator.d.ts +11 -0
  117. package/dist-types/ts3.4/pagination/ListDeploymentsPaginator.d.ts +11 -0
  118. package/dist-types/ts3.4/pagination/ListWorkloadDeploymentPatternsPaginator.d.ts +11 -0
  119. package/dist-types/ts3.4/pagination/ListWorkloadsPaginator.d.ts +11 -0
  120. package/dist-types/ts3.4/pagination/index.d.ts +5 -0
  121. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +101 -0
  122. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +97 -0
  123. package/dist-types/ts3.4/runtimeConfig.d.ts +97 -0
  124. package/dist-types/ts3.4/runtimeConfig.native.d.ts +88 -0
  125. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -0
  126. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  127. package/package.json +102 -0
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetDeploymentCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const models_0_1 = require("../models/models_0");
10
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
+ class GetDeploymentCommand extends smithy_client_1.Command {
12
+ static getEndpointParameterInstructions() {
13
+ return {
14
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
+ Endpoint: { type: "builtInParams", name: "endpoint" },
16
+ Region: { type: "builtInParams", name: "region" },
17
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
+ };
19
+ }
20
+ constructor(input) {
21
+ super();
22
+ this.input = input;
23
+ }
24
+ resolveMiddleware(clientStack, configuration, options) {
25
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetDeploymentCommand.getEndpointParameterInstructions()));
27
+ const stack = clientStack.concat(this.middlewareStack);
28
+ const { logger } = configuration;
29
+ const clientName = "LaunchWizardClient";
30
+ const commandName = "GetDeploymentCommand";
31
+ const handlerExecutionContext = {
32
+ logger,
33
+ clientName,
34
+ commandName,
35
+ inputFilterSensitiveLog: (_) => _,
36
+ outputFilterSensitiveLog: models_0_1.GetDeploymentOutputFilterSensitiveLog,
37
+ [types_1.SMITHY_CONTEXT_KEY]: {
38
+ service: "LaunchWizard",
39
+ operation: "GetDeployment",
40
+ },
41
+ };
42
+ const { requestHandler } = configuration;
43
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
+ }
45
+ serialize(input, context) {
46
+ return (0, Aws_restJson1_1.se_GetDeploymentCommand)(input, context);
47
+ }
48
+ deserialize(output, context) {
49
+ return (0, Aws_restJson1_1.de_GetDeploymentCommand)(output, context);
50
+ }
51
+ }
52
+ exports.GetDeploymentCommand = GetDeploymentCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetWorkloadCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class GetWorkloadCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetWorkloadCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "LaunchWizardClient";
29
+ const commandName = "GetWorkloadCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "LaunchWizard",
38
+ operation: "GetWorkload",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_restJson1_1.se_GetWorkloadCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_restJson1_1.de_GetWorkloadCommand)(output, context);
49
+ }
50
+ }
51
+ exports.GetWorkloadCommand = GetWorkloadCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListDeploymentEventsCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class ListDeploymentEventsCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListDeploymentEventsCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "LaunchWizardClient";
29
+ const commandName = "ListDeploymentEventsCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "LaunchWizard",
38
+ operation: "ListDeploymentEvents",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_restJson1_1.se_ListDeploymentEventsCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_restJson1_1.de_ListDeploymentEventsCommand)(output, context);
49
+ }
50
+ }
51
+ exports.ListDeploymentEventsCommand = ListDeploymentEventsCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListDeploymentsCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class ListDeploymentsCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListDeploymentsCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "LaunchWizardClient";
29
+ const commandName = "ListDeploymentsCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "LaunchWizard",
38
+ operation: "ListDeployments",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_restJson1_1.se_ListDeploymentsCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_restJson1_1.de_ListDeploymentsCommand)(output, context);
49
+ }
50
+ }
51
+ exports.ListDeploymentsCommand = ListDeploymentsCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListWorkloadDeploymentPatternsCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class ListWorkloadDeploymentPatternsCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListWorkloadDeploymentPatternsCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "LaunchWizardClient";
29
+ const commandName = "ListWorkloadDeploymentPatternsCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "LaunchWizard",
38
+ operation: "ListWorkloadDeploymentPatterns",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_restJson1_1.se_ListWorkloadDeploymentPatternsCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_restJson1_1.de_ListWorkloadDeploymentPatternsCommand)(output, context);
49
+ }
50
+ }
51
+ exports.ListWorkloadDeploymentPatternsCommand = ListWorkloadDeploymentPatternsCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListWorkloadsCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class ListWorkloadsCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListWorkloadsCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "LaunchWizardClient";
29
+ const commandName = "ListWorkloadsCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "LaunchWizard",
38
+ operation: "ListWorkloads",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_restJson1_1.se_ListWorkloadsCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_restJson1_1.de_ListWorkloadsCommand)(output, context);
49
+ }
50
+ }
51
+ exports.ListWorkloadsCommand = ListWorkloadsCommand;
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./CreateDeploymentCommand"), exports);
5
+ tslib_1.__exportStar(require("./DeleteDeploymentCommand"), exports);
6
+ tslib_1.__exportStar(require("./GetDeploymentCommand"), exports);
7
+ tslib_1.__exportStar(require("./GetWorkloadCommand"), exports);
8
+ tslib_1.__exportStar(require("./ListDeploymentEventsCommand"), exports);
9
+ tslib_1.__exportStar(require("./ListDeploymentsCommand"), exports);
10
+ tslib_1.__exportStar(require("./ListWorkloadDeploymentPatternsCommand"), exports);
11
+ tslib_1.__exportStar(require("./ListWorkloadsCommand"), exports);
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.resolveClientEndpointParameters = void 0;
4
+ const resolveClientEndpointParameters = (options) => {
5
+ return {
6
+ ...options,
7
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
8
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
9
+ defaultSigningName: "launchwizard",
10
+ };
11
+ };
12
+ exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.defaultEndpointResolver = void 0;
4
+ const util_endpoints_1 = require("@smithy/util-endpoints");
5
+ const ruleset_1 = require("./ruleset");
6
+ const defaultEndpointResolver = (endpointParams, context = {}) => {
7
+ return (0, util_endpoints_1.resolveEndpoint)(ruleset_1.ruleSet, {
8
+ endpointParams: endpointParams,
9
+ logger: context.logger,
10
+ });
11
+ };
12
+ exports.defaultEndpointResolver = defaultEndpointResolver;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ruleSet = void 0;
4
+ const s = "required", t = "fn", u = "argv", v = "ref";
5
+ const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "String" }, i = { [s]: true, "default": false, "type": "Boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
6
+ const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }], type: f }, { rules: [{ conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ rules: [{ endpoint: { url: "https://launchwizard-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ rules: [{ endpoint: { url: "https://launchwizard-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ rules: [{ endpoint: { url: "https://launchwizard.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { rules: [{ endpoint: { url: "https://launchwizard.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
7
+ exports.ruleSet = _data;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LaunchWizardServiceException = void 0;
4
+ const tslib_1 = require("tslib");
5
+ tslib_1.__exportStar(require("./LaunchWizardClient"), exports);
6
+ tslib_1.__exportStar(require("./LaunchWizard"), exports);
7
+ tslib_1.__exportStar(require("./commands"), exports);
8
+ tslib_1.__exportStar(require("./pagination"), exports);
9
+ tslib_1.__exportStar(require("./models"), exports);
10
+ require("@aws-sdk/util-endpoints");
11
+ var LaunchWizardServiceException_1 = require("./models/LaunchWizardServiceException");
12
+ Object.defineProperty(exports, "LaunchWizardServiceException", { enumerable: true, get: function () { return LaunchWizardServiceException_1.LaunchWizardServiceException; } });
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LaunchWizardServiceException = exports.__ServiceException = void 0;
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
+ Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
+ class LaunchWizardServiceException extends smithy_client_1.ServiceException {
7
+ constructor(options) {
8
+ super(options);
9
+ Object.setPrototypeOf(this, LaunchWizardServiceException.prototype);
10
+ }
11
+ }
12
+ exports.LaunchWizardServiceException = LaunchWizardServiceException;
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./models_0"), exports);
@@ -0,0 +1,109 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetDeploymentOutputFilterSensitiveLog = exports.DeploymentDataFilterSensitiveLog = exports.CreateDeploymentInputFilterSensitiveLog = exports.WorkloadDeploymentPatternStatus = exports.WorkloadStatus = exports.DeploymentFilterKey = exports.EventStatus = exports.DeploymentStatus = exports.ValidationException = exports.ResourceNotFoundException = exports.ResourceLimitException = exports.InternalServerException = void 0;
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
+ const LaunchWizardServiceException_1 = require("./LaunchWizardServiceException");
6
+ class InternalServerException extends LaunchWizardServiceException_1.LaunchWizardServiceException {
7
+ constructor(opts) {
8
+ super({
9
+ name: "InternalServerException",
10
+ $fault: "server",
11
+ ...opts,
12
+ });
13
+ this.name = "InternalServerException";
14
+ this.$fault = "server";
15
+ Object.setPrototypeOf(this, InternalServerException.prototype);
16
+ }
17
+ }
18
+ exports.InternalServerException = InternalServerException;
19
+ class ResourceLimitException extends LaunchWizardServiceException_1.LaunchWizardServiceException {
20
+ constructor(opts) {
21
+ super({
22
+ name: "ResourceLimitException",
23
+ $fault: "client",
24
+ ...opts,
25
+ });
26
+ this.name = "ResourceLimitException";
27
+ this.$fault = "client";
28
+ Object.setPrototypeOf(this, ResourceLimitException.prototype);
29
+ }
30
+ }
31
+ exports.ResourceLimitException = ResourceLimitException;
32
+ class ResourceNotFoundException extends LaunchWizardServiceException_1.LaunchWizardServiceException {
33
+ constructor(opts) {
34
+ super({
35
+ name: "ResourceNotFoundException",
36
+ $fault: "client",
37
+ ...opts,
38
+ });
39
+ this.name = "ResourceNotFoundException";
40
+ this.$fault = "client";
41
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
42
+ }
43
+ }
44
+ exports.ResourceNotFoundException = ResourceNotFoundException;
45
+ class ValidationException extends LaunchWizardServiceException_1.LaunchWizardServiceException {
46
+ constructor(opts) {
47
+ super({
48
+ name: "ValidationException",
49
+ $fault: "client",
50
+ ...opts,
51
+ });
52
+ this.name = "ValidationException";
53
+ this.$fault = "client";
54
+ Object.setPrototypeOf(this, ValidationException.prototype);
55
+ }
56
+ }
57
+ exports.ValidationException = ValidationException;
58
+ exports.DeploymentStatus = {
59
+ COMPLETED: "COMPLETED",
60
+ CREATING: "CREATING",
61
+ DELETED: "DELETED",
62
+ DELETE_FAILED: "DELETE_FAILED",
63
+ DELETE_INITIATING: "DELETE_INITIATING",
64
+ DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
65
+ FAILED: "FAILED",
66
+ IN_PROGRESS: "IN_PROGRESS",
67
+ VALIDATING: "VALIDATING",
68
+ };
69
+ exports.EventStatus = {
70
+ CANCELED: "CANCELED",
71
+ CANCELING: "CANCELING",
72
+ COMPLETED: "COMPLETED",
73
+ CREATED: "CREATED",
74
+ FAILED: "FAILED",
75
+ IN_PROGRESS: "IN_PROGRESS",
76
+ PENDING: "PENDING",
77
+ TIMED_OUT: "TIMED_OUT",
78
+ };
79
+ exports.DeploymentFilterKey = {
80
+ DEPLOYMENT_STATUS: "DEPLOYMENT_STATUS",
81
+ WORKLOAD_NAME: "WORKLOAD_NAME",
82
+ };
83
+ exports.WorkloadStatus = {
84
+ ACTIVE: "ACTIVE",
85
+ DELETED: "DELETED",
86
+ DISABLED: "DISABLED",
87
+ INACTIVE: "INACTIVE",
88
+ };
89
+ exports.WorkloadDeploymentPatternStatus = {
90
+ ACTIVE: "ACTIVE",
91
+ DELETED: "DELETED",
92
+ DISABLED: "DISABLED",
93
+ INACTIVE: "INACTIVE",
94
+ };
95
+ const CreateDeploymentInputFilterSensitiveLog = (obj) => ({
96
+ ...obj,
97
+ ...(obj.specifications && { specifications: smithy_client_1.SENSITIVE_STRING }),
98
+ });
99
+ exports.CreateDeploymentInputFilterSensitiveLog = CreateDeploymentInputFilterSensitiveLog;
100
+ const DeploymentDataFilterSensitiveLog = (obj) => ({
101
+ ...obj,
102
+ ...(obj.specifications && { specifications: smithy_client_1.SENSITIVE_STRING }),
103
+ });
104
+ exports.DeploymentDataFilterSensitiveLog = DeploymentDataFilterSensitiveLog;
105
+ const GetDeploymentOutputFilterSensitiveLog = (obj) => ({
106
+ ...obj,
107
+ ...(obj.deployment && { deployment: (0, exports.DeploymentDataFilterSensitiveLog)(obj.deployment) }),
108
+ });
109
+ exports.GetDeploymentOutputFilterSensitiveLog = GetDeploymentOutputFilterSensitiveLog;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListDeploymentEvents = void 0;
4
+ const ListDeploymentEventsCommand_1 = require("../commands/ListDeploymentEventsCommand");
5
+ const LaunchWizardClient_1 = require("../LaunchWizardClient");
6
+ const makePagedClientRequest = async (client, input, ...args) => {
7
+ return await client.send(new ListDeploymentEventsCommand_1.ListDeploymentEventsCommand(input), ...args);
8
+ };
9
+ async function* paginateListDeploymentEvents(config, input, ...additionalArguments) {
10
+ let token = config.startingToken || undefined;
11
+ let hasNext = true;
12
+ let page;
13
+ while (hasNext) {
14
+ input.nextToken = token;
15
+ input["maxResults"] = config.pageSize;
16
+ if (config.client instanceof LaunchWizardClient_1.LaunchWizardClient) {
17
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
+ }
19
+ else {
20
+ throw new Error("Invalid client, expected LaunchWizard | LaunchWizardClient");
21
+ }
22
+ yield page;
23
+ const prevToken = token;
24
+ token = page.nextToken;
25
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
+ }
27
+ return undefined;
28
+ }
29
+ exports.paginateListDeploymentEvents = paginateListDeploymentEvents;
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListDeployments = void 0;
4
+ const ListDeploymentsCommand_1 = require("../commands/ListDeploymentsCommand");
5
+ const LaunchWizardClient_1 = require("../LaunchWizardClient");
6
+ const makePagedClientRequest = async (client, input, ...args) => {
7
+ return await client.send(new ListDeploymentsCommand_1.ListDeploymentsCommand(input), ...args);
8
+ };
9
+ async function* paginateListDeployments(config, input, ...additionalArguments) {
10
+ let token = config.startingToken || undefined;
11
+ let hasNext = true;
12
+ let page;
13
+ while (hasNext) {
14
+ input.nextToken = token;
15
+ input["maxResults"] = config.pageSize;
16
+ if (config.client instanceof LaunchWizardClient_1.LaunchWizardClient) {
17
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
+ }
19
+ else {
20
+ throw new Error("Invalid client, expected LaunchWizard | LaunchWizardClient");
21
+ }
22
+ yield page;
23
+ const prevToken = token;
24
+ token = page.nextToken;
25
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
+ }
27
+ return undefined;
28
+ }
29
+ exports.paginateListDeployments = paginateListDeployments;
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListWorkloadDeploymentPatterns = void 0;
4
+ const ListWorkloadDeploymentPatternsCommand_1 = require("../commands/ListWorkloadDeploymentPatternsCommand");
5
+ const LaunchWizardClient_1 = require("../LaunchWizardClient");
6
+ const makePagedClientRequest = async (client, input, ...args) => {
7
+ return await client.send(new ListWorkloadDeploymentPatternsCommand_1.ListWorkloadDeploymentPatternsCommand(input), ...args);
8
+ };
9
+ async function* paginateListWorkloadDeploymentPatterns(config, input, ...additionalArguments) {
10
+ let token = config.startingToken || undefined;
11
+ let hasNext = true;
12
+ let page;
13
+ while (hasNext) {
14
+ input.nextToken = token;
15
+ input["maxResults"] = config.pageSize;
16
+ if (config.client instanceof LaunchWizardClient_1.LaunchWizardClient) {
17
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
+ }
19
+ else {
20
+ throw new Error("Invalid client, expected LaunchWizard | LaunchWizardClient");
21
+ }
22
+ yield page;
23
+ const prevToken = token;
24
+ token = page.nextToken;
25
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
+ }
27
+ return undefined;
28
+ }
29
+ exports.paginateListWorkloadDeploymentPatterns = paginateListWorkloadDeploymentPatterns;
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListWorkloads = void 0;
4
+ const ListWorkloadsCommand_1 = require("../commands/ListWorkloadsCommand");
5
+ const LaunchWizardClient_1 = require("../LaunchWizardClient");
6
+ const makePagedClientRequest = async (client, input, ...args) => {
7
+ return await client.send(new ListWorkloadsCommand_1.ListWorkloadsCommand(input), ...args);
8
+ };
9
+ async function* paginateListWorkloads(config, input, ...additionalArguments) {
10
+ let token = config.startingToken || undefined;
11
+ let hasNext = true;
12
+ let page;
13
+ while (hasNext) {
14
+ input.nextToken = token;
15
+ input["maxResults"] = config.pageSize;
16
+ if (config.client instanceof LaunchWizardClient_1.LaunchWizardClient) {
17
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
+ }
19
+ else {
20
+ throw new Error("Invalid client, expected LaunchWizard | LaunchWizardClient");
21
+ }
22
+ yield page;
23
+ const prevToken = token;
24
+ token = page.nextToken;
25
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
+ }
27
+ return undefined;
28
+ }
29
+ exports.paginateListWorkloads = paginateListWorkloads;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./Interfaces"), exports);
5
+ tslib_1.__exportStar(require("./ListDeploymentEventsPaginator"), exports);
6
+ tslib_1.__exportStar(require("./ListDeploymentsPaginator"), exports);
7
+ tslib_1.__exportStar(require("./ListWorkloadDeploymentPatternsPaginator"), exports);
8
+ tslib_1.__exportStar(require("./ListWorkloadsPaginator"), exports);