@aws-sdk/client-proton 3.369.0 → 3.377.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.
- package/README.md +24 -0
- package/dist-cjs/Proton.js +6 -0
- package/dist-cjs/commands/DeleteDeploymentCommand.js +47 -0
- package/dist-cjs/commands/GetDeploymentCommand.js +47 -0
- package/dist-cjs/commands/ListDeploymentsCommand.js +46 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/models/models_0.js +74 -3
- package/dist-cjs/pagination/ListDeploymentsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_0.js +297 -4
- package/dist-es/Proton.js +6 -0
- package/dist-es/commands/DeleteDeploymentCommand.js +43 -0
- package/dist-es/commands/GetDeploymentCommand.js +43 -0
- package/dist-es/commands/ListDeploymentsCommand.js +42 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +63 -0
- package/dist-es/pagination/ListDeploymentsPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_0.js +288 -1
- package/dist-types/Proton.d.ts +21 -0
- package/dist-types/ProtonClient.d.ts +5 -2
- package/dist-types/commands/CancelComponentDeploymentCommand.d.ts +2 -0
- package/dist-types/commands/CancelEnvironmentDeploymentCommand.d.ts +2 -0
- package/dist-types/commands/CancelServiceInstanceDeploymentCommand.d.ts +2 -0
- package/dist-types/commands/CancelServicePipelineDeploymentCommand.d.ts +2 -0
- package/dist-types/commands/CreateComponentCommand.d.ts +2 -0
- package/dist-types/commands/CreateEnvironmentCommand.d.ts +2 -0
- package/dist-types/commands/CreateServiceCommand.d.ts +2 -0
- package/dist-types/commands/CreateServiceInstanceCommand.d.ts +2 -0
- package/dist-types/commands/CreateTemplateSyncConfigCommand.d.ts +5 -8
- package/dist-types/commands/DeleteComponentCommand.d.ts +2 -0
- package/dist-types/commands/DeleteDeploymentCommand.d.ts +167 -0
- package/dist-types/commands/DeleteEnvironmentCommand.d.ts +2 -0
- package/dist-types/commands/DeleteServiceCommand.d.ts +2 -0
- package/dist-types/commands/GetComponentCommand.d.ts +2 -0
- package/dist-types/commands/GetDeploymentCommand.d.ts +171 -0
- package/dist-types/commands/GetEnvironmentCommand.d.ts +2 -0
- package/dist-types/commands/GetResourcesSummaryCommand.d.ts +7 -11
- package/dist-types/commands/GetServiceCommand.d.ts +2 -0
- package/dist-types/commands/GetServiceInstanceCommand.d.ts +2 -0
- package/dist-types/commands/ListComponentOutputsCommand.d.ts +1 -0
- package/dist-types/commands/ListComponentsCommand.d.ts +2 -0
- package/dist-types/commands/ListDeploymentsCommand.d.ts +112 -0
- package/dist-types/commands/ListEnvironmentOutputsCommand.d.ts +1 -0
- package/dist-types/commands/ListEnvironmentsCommand.d.ts +2 -0
- package/dist-types/commands/ListServiceInstanceOutputsCommand.d.ts +1 -0
- package/dist-types/commands/ListServiceInstancesCommand.d.ts +2 -0
- package/dist-types/commands/ListServicePipelineOutputsCommand.d.ts +1 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/dist-types/commands/NotifyResourceDeploymentStatusChangeCommand.d.ts +2 -4
- package/dist-types/commands/TagResourceCommand.d.ts +3 -4
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -4
- package/dist-types/commands/UpdateComponentCommand.d.ts +2 -0
- package/dist-types/commands/UpdateEnvironmentCommand.d.ts +2 -0
- package/dist-types/commands/UpdateServiceCommand.d.ts +2 -0
- package/dist-types/commands/UpdateServiceInstanceCommand.d.ts +2 -0
- package/dist-types/commands/UpdateServicePipelineCommand.d.ts +2 -0
- package/dist-types/commands/UpdateTemplateSyncConfigCommand.d.ts +3 -4
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +544 -23
- package/dist-types/pagination/ListDeploymentsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +27 -0
- package/dist-types/ts3.4/Proton.d.ts +51 -0
- package/dist-types/ts3.4/ProtonClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/DeleteDeploymentCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetDeploymentCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListDeploymentsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +191 -0
- package/dist-types/ts3.4/pagination/ListDeploymentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +36 -0
- package/package.json +16 -17
package/README.md
CHANGED
|
@@ -474,6 +474,14 @@ DeleteComponent
|
|
|
474
474
|
|
|
475
475
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-proton/classes/deletecomponentcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-proton/interfaces/deletecomponentcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-proton/interfaces/deletecomponentcommandoutput.html)
|
|
476
476
|
|
|
477
|
+
</details>
|
|
478
|
+
<details>
|
|
479
|
+
<summary>
|
|
480
|
+
DeleteDeployment
|
|
481
|
+
</summary>
|
|
482
|
+
|
|
483
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-proton/classes/deletedeploymentcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-proton/interfaces/deletedeploymentcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-proton/interfaces/deletedeploymentcommandoutput.html)
|
|
484
|
+
|
|
477
485
|
</details>
|
|
478
486
|
<details>
|
|
479
487
|
<summary>
|
|
@@ -570,6 +578,14 @@ GetComponent
|
|
|
570
578
|
|
|
571
579
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-proton/classes/getcomponentcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-proton/interfaces/getcomponentcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-proton/interfaces/getcomponentcommandoutput.html)
|
|
572
580
|
|
|
581
|
+
</details>
|
|
582
|
+
<details>
|
|
583
|
+
<summary>
|
|
584
|
+
GetDeployment
|
|
585
|
+
</summary>
|
|
586
|
+
|
|
587
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-proton/classes/getdeploymentcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-proton/interfaces/getdeploymentcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-proton/interfaces/getdeploymentcommandoutput.html)
|
|
588
|
+
|
|
573
589
|
</details>
|
|
574
590
|
<details>
|
|
575
591
|
<summary>
|
|
@@ -722,6 +738,14 @@ ListComponents
|
|
|
722
738
|
|
|
723
739
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-proton/classes/listcomponentscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-proton/interfaces/listcomponentscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-proton/interfaces/listcomponentscommandoutput.html)
|
|
724
740
|
|
|
741
|
+
</details>
|
|
742
|
+
<details>
|
|
743
|
+
<summary>
|
|
744
|
+
ListDeployments
|
|
745
|
+
</summary>
|
|
746
|
+
|
|
747
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-proton/classes/listdeploymentscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-proton/interfaces/listdeploymentscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-proton/interfaces/listdeploymentscommandoutput.html)
|
|
748
|
+
|
|
725
749
|
</details>
|
|
726
750
|
<details>
|
|
727
751
|
<summary>
|
package/dist-cjs/Proton.js
CHANGED
|
@@ -20,6 +20,7 @@ const CreateServiceTemplateCommand_1 = require("./commands/CreateServiceTemplate
|
|
|
20
20
|
const CreateServiceTemplateVersionCommand_1 = require("./commands/CreateServiceTemplateVersionCommand");
|
|
21
21
|
const CreateTemplateSyncConfigCommand_1 = require("./commands/CreateTemplateSyncConfigCommand");
|
|
22
22
|
const DeleteComponentCommand_1 = require("./commands/DeleteComponentCommand");
|
|
23
|
+
const DeleteDeploymentCommand_1 = require("./commands/DeleteDeploymentCommand");
|
|
23
24
|
const DeleteEnvironmentAccountConnectionCommand_1 = require("./commands/DeleteEnvironmentAccountConnectionCommand");
|
|
24
25
|
const DeleteEnvironmentCommand_1 = require("./commands/DeleteEnvironmentCommand");
|
|
25
26
|
const DeleteEnvironmentTemplateCommand_1 = require("./commands/DeleteEnvironmentTemplateCommand");
|
|
@@ -32,6 +33,7 @@ const DeleteServiceTemplateVersionCommand_1 = require("./commands/DeleteServiceT
|
|
|
32
33
|
const DeleteTemplateSyncConfigCommand_1 = require("./commands/DeleteTemplateSyncConfigCommand");
|
|
33
34
|
const GetAccountSettingsCommand_1 = require("./commands/GetAccountSettingsCommand");
|
|
34
35
|
const GetComponentCommand_1 = require("./commands/GetComponentCommand");
|
|
36
|
+
const GetDeploymentCommand_1 = require("./commands/GetDeploymentCommand");
|
|
35
37
|
const GetEnvironmentAccountConnectionCommand_1 = require("./commands/GetEnvironmentAccountConnectionCommand");
|
|
36
38
|
const GetEnvironmentCommand_1 = require("./commands/GetEnvironmentCommand");
|
|
37
39
|
const GetEnvironmentTemplateCommand_1 = require("./commands/GetEnvironmentTemplateCommand");
|
|
@@ -51,6 +53,7 @@ const GetTemplateSyncStatusCommand_1 = require("./commands/GetTemplateSyncStatus
|
|
|
51
53
|
const ListComponentOutputsCommand_1 = require("./commands/ListComponentOutputsCommand");
|
|
52
54
|
const ListComponentProvisionedResourcesCommand_1 = require("./commands/ListComponentProvisionedResourcesCommand");
|
|
53
55
|
const ListComponentsCommand_1 = require("./commands/ListComponentsCommand");
|
|
56
|
+
const ListDeploymentsCommand_1 = require("./commands/ListDeploymentsCommand");
|
|
54
57
|
const ListEnvironmentAccountConnectionsCommand_1 = require("./commands/ListEnvironmentAccountConnectionsCommand");
|
|
55
58
|
const ListEnvironmentOutputsCommand_1 = require("./commands/ListEnvironmentOutputsCommand");
|
|
56
59
|
const ListEnvironmentProvisionedResourcesCommand_1 = require("./commands/ListEnvironmentProvisionedResourcesCommand");
|
|
@@ -106,6 +109,7 @@ const commands = {
|
|
|
106
109
|
CreateServiceTemplateVersionCommand: CreateServiceTemplateVersionCommand_1.CreateServiceTemplateVersionCommand,
|
|
107
110
|
CreateTemplateSyncConfigCommand: CreateTemplateSyncConfigCommand_1.CreateTemplateSyncConfigCommand,
|
|
108
111
|
DeleteComponentCommand: DeleteComponentCommand_1.DeleteComponentCommand,
|
|
112
|
+
DeleteDeploymentCommand: DeleteDeploymentCommand_1.DeleteDeploymentCommand,
|
|
109
113
|
DeleteEnvironmentCommand: DeleteEnvironmentCommand_1.DeleteEnvironmentCommand,
|
|
110
114
|
DeleteEnvironmentAccountConnectionCommand: DeleteEnvironmentAccountConnectionCommand_1.DeleteEnvironmentAccountConnectionCommand,
|
|
111
115
|
DeleteEnvironmentTemplateCommand: DeleteEnvironmentTemplateCommand_1.DeleteEnvironmentTemplateCommand,
|
|
@@ -118,6 +122,7 @@ const commands = {
|
|
|
118
122
|
DeleteTemplateSyncConfigCommand: DeleteTemplateSyncConfigCommand_1.DeleteTemplateSyncConfigCommand,
|
|
119
123
|
GetAccountSettingsCommand: GetAccountSettingsCommand_1.GetAccountSettingsCommand,
|
|
120
124
|
GetComponentCommand: GetComponentCommand_1.GetComponentCommand,
|
|
125
|
+
GetDeploymentCommand: GetDeploymentCommand_1.GetDeploymentCommand,
|
|
121
126
|
GetEnvironmentCommand: GetEnvironmentCommand_1.GetEnvironmentCommand,
|
|
122
127
|
GetEnvironmentAccountConnectionCommand: GetEnvironmentAccountConnectionCommand_1.GetEnvironmentAccountConnectionCommand,
|
|
123
128
|
GetEnvironmentTemplateCommand: GetEnvironmentTemplateCommand_1.GetEnvironmentTemplateCommand,
|
|
@@ -137,6 +142,7 @@ const commands = {
|
|
|
137
142
|
ListComponentOutputsCommand: ListComponentOutputsCommand_1.ListComponentOutputsCommand,
|
|
138
143
|
ListComponentProvisionedResourcesCommand: ListComponentProvisionedResourcesCommand_1.ListComponentProvisionedResourcesCommand,
|
|
139
144
|
ListComponentsCommand: ListComponentsCommand_1.ListComponentsCommand,
|
|
145
|
+
ListDeploymentsCommand: ListDeploymentsCommand_1.ListDeploymentsCommand,
|
|
140
146
|
ListEnvironmentAccountConnectionsCommand: ListEnvironmentAccountConnectionsCommand_1.ListEnvironmentAccountConnectionsCommand,
|
|
141
147
|
ListEnvironmentOutputsCommand: ListEnvironmentOutputsCommand_1.ListEnvironmentOutputsCommand,
|
|
142
148
|
ListEnvironmentProvisionedResourcesCommand: ListEnvironmentProvisionedResourcesCommand_1.ListEnvironmentProvisionedResourcesCommand,
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteDeploymentCommand = 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 models_0_1 = require("../models/models_0");
|
|
9
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
10
|
+
class DeleteDeploymentCommand 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, DeleteDeploymentCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "ProtonClient";
|
|
29
|
+
const commandName = "DeleteDeploymentCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: models_0_1.DeleteDeploymentOutputFilterSensitiveLog,
|
|
36
|
+
};
|
|
37
|
+
const { requestHandler } = configuration;
|
|
38
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
39
|
+
}
|
|
40
|
+
serialize(input, context) {
|
|
41
|
+
return (0, Aws_json1_0_1.se_DeleteDeploymentCommand)(input, context);
|
|
42
|
+
}
|
|
43
|
+
deserialize(output, context) {
|
|
44
|
+
return (0, Aws_json1_0_1.de_DeleteDeploymentCommand)(output, context);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.DeleteDeploymentCommand = DeleteDeploymentCommand;
|
|
@@ -0,0 +1,47 @@
|
|
|
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 models_0_1 = require("../models/models_0");
|
|
9
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
10
|
+
class GetDeploymentCommand 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, GetDeploymentCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "ProtonClient";
|
|
29
|
+
const commandName = "GetDeploymentCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: models_0_1.GetDeploymentOutputFilterSensitiveLog,
|
|
36
|
+
};
|
|
37
|
+
const { requestHandler } = configuration;
|
|
38
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
39
|
+
}
|
|
40
|
+
serialize(input, context) {
|
|
41
|
+
return (0, Aws_json1_0_1.se_GetDeploymentCommand)(input, context);
|
|
42
|
+
}
|
|
43
|
+
deserialize(output, context) {
|
|
44
|
+
return (0, Aws_json1_0_1.de_GetDeploymentCommand)(output, context);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.GetDeploymentCommand = GetDeploymentCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
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 Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
9
|
+
class ListDeploymentsCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListDeploymentsCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "ProtonClient";
|
|
28
|
+
const commandName = "ListDeploymentsCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_json1_0_1.se_ListDeploymentsCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_json1_0_1.de_ListDeploymentsCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.ListDeploymentsCommand = ListDeploymentsCommand;
|
|
@@ -19,6 +19,7 @@ tslib_1.__exportStar(require("./CreateServiceTemplateCommand"), exports);
|
|
|
19
19
|
tslib_1.__exportStar(require("./CreateServiceTemplateVersionCommand"), exports);
|
|
20
20
|
tslib_1.__exportStar(require("./CreateTemplateSyncConfigCommand"), exports);
|
|
21
21
|
tslib_1.__exportStar(require("./DeleteComponentCommand"), exports);
|
|
22
|
+
tslib_1.__exportStar(require("./DeleteDeploymentCommand"), exports);
|
|
22
23
|
tslib_1.__exportStar(require("./DeleteEnvironmentAccountConnectionCommand"), exports);
|
|
23
24
|
tslib_1.__exportStar(require("./DeleteEnvironmentCommand"), exports);
|
|
24
25
|
tslib_1.__exportStar(require("./DeleteEnvironmentTemplateCommand"), exports);
|
|
@@ -31,6 +32,7 @@ tslib_1.__exportStar(require("./DeleteServiceTemplateVersionCommand"), exports);
|
|
|
31
32
|
tslib_1.__exportStar(require("./DeleteTemplateSyncConfigCommand"), exports);
|
|
32
33
|
tslib_1.__exportStar(require("./GetAccountSettingsCommand"), exports);
|
|
33
34
|
tslib_1.__exportStar(require("./GetComponentCommand"), exports);
|
|
35
|
+
tslib_1.__exportStar(require("./GetDeploymentCommand"), exports);
|
|
34
36
|
tslib_1.__exportStar(require("./GetEnvironmentAccountConnectionCommand"), exports);
|
|
35
37
|
tslib_1.__exportStar(require("./GetEnvironmentCommand"), exports);
|
|
36
38
|
tslib_1.__exportStar(require("./GetEnvironmentTemplateCommand"), exports);
|
|
@@ -50,6 +52,7 @@ tslib_1.__exportStar(require("./GetTemplateSyncStatusCommand"), exports);
|
|
|
50
52
|
tslib_1.__exportStar(require("./ListComponentOutputsCommand"), exports);
|
|
51
53
|
tslib_1.__exportStar(require("./ListComponentProvisionedResourcesCommand"), exports);
|
|
52
54
|
tslib_1.__exportStar(require("./ListComponentsCommand"), exports);
|
|
55
|
+
tslib_1.__exportStar(require("./ListDeploymentsCommand"), exports);
|
|
53
56
|
tslib_1.__exportStar(require("./ListEnvironmentAccountConnectionsCommand"), exports);
|
|
54
57
|
tslib_1.__exportStar(require("./ListEnvironmentOutputsCommand"), exports);
|
|
55
58
|
tslib_1.__exportStar(require("./ListEnvironmentProvisionedResourcesCommand"), exports);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.UpdateServiceTemplateVersionOutputFilterSensitiveLog = exports.UpdateServiceTemplateVersionInputFilterSensitiveLog = exports.ListServiceTemplateVersionsOutputFilterSensitiveLog = exports.ServiceTemplateVersionSummaryFilterSensitiveLog = exports.GetServiceTemplateVersionOutputFilterSensitiveLog = exports.DeleteServiceTemplateVersionOutputFilterSensitiveLog = exports.CreateServiceTemplateVersionOutputFilterSensitiveLog = exports.ServiceTemplateVersionFilterSensitiveLog = exports.CreateServiceTemplateVersionInputFilterSensitiveLog = exports.UpdateServiceTemplateOutputFilterSensitiveLog = exports.UpdateServiceTemplateInputFilterSensitiveLog = exports.ListServiceTemplatesOutputFilterSensitiveLog = exports.ServiceTemplateSummaryFilterSensitiveLog = void 0;
|
|
3
|
+
exports.ComponentStateFilterSensitiveLog = exports.UpdateComponentOutputFilterSensitiveLog = exports.UpdateComponentInputFilterSensitiveLog = exports.ListComponentsOutputFilterSensitiveLog = exports.ComponentSummaryFilterSensitiveLog = exports.GetComponentOutputFilterSensitiveLog = exports.DeleteComponentOutputFilterSensitiveLog = exports.CreateComponentOutputFilterSensitiveLog = exports.CreateComponentInputFilterSensitiveLog = exports.ListComponentOutputsOutputFilterSensitiveLog = exports.OutputFilterSensitiveLog = exports.CancelServicePipelineDeploymentOutputFilterSensitiveLog = exports.ServicePipelineFilterSensitiveLog = exports.CancelServiceInstanceDeploymentOutputFilterSensitiveLog = exports.ServiceInstanceFilterSensitiveLog = exports.CancelEnvironmentDeploymentOutputFilterSensitiveLog = exports.EnvironmentFilterSensitiveLog = exports.CancelComponentDeploymentOutputFilterSensitiveLog = exports.ComponentFilterSensitiveLog = exports.ServiceTemplateSupportedComponentSourceType = exports.BlockerType = exports.BlockerStatus = exports.ServiceStatus = exports.SortOrder = exports.ListServiceInstancesSortBy = exports.ListServiceInstancesFilterBy = exports.ResourceDeploymentStatus = exports.TemplateType = exports.ResourceSyncStatus = exports.RepositorySyncStatus = exports.SyncType = exports.TemplateVersionStatus = exports.TemplateVersionSourceInput = exports.DeploymentUpdateType = exports.EnvironmentAccountConnectionRequesterAccountType = exports.DeploymentTargetResourceType = exports.DeploymentState = exports.ComponentDeploymentUpdateType = exports.ServiceQuotaExceededException = exports.ProvisionedResourceEngine = exports.Provisioning = exports.DeploymentStatus = exports.RepositoryProvider = exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.AccessDeniedException = exports.EnvironmentAccountConnectionStatus = void 0;
|
|
4
|
+
exports.DeleteServiceOutputFilterSensitiveLog = exports.CreateServiceOutputFilterSensitiveLog = exports.ServiceFilterSensitiveLog = exports.CreateServiceInputFilterSensitiveLog = exports.UpdateServicePipelineOutputFilterSensitiveLog = exports.UpdateServicePipelineInputFilterSensitiveLog = exports.ListServicePipelineOutputsOutputFilterSensitiveLog = exports.UpdateServiceInstanceOutputFilterSensitiveLog = exports.UpdateServiceInstanceInputFilterSensitiveLog = exports.ListServiceInstancesOutputFilterSensitiveLog = exports.ServiceInstanceSummaryFilterSensitiveLog = exports.GetServiceInstanceOutputFilterSensitiveLog = exports.CreateServiceInstanceOutputFilterSensitiveLog = exports.CreateServiceInstanceInputFilterSensitiveLog = exports.ListServiceInstanceOutputsOutputFilterSensitiveLog = exports.NotifyResourceDeploymentStatusChangeInputFilterSensitiveLog = exports.UpdateEnvironmentTemplateVersionOutputFilterSensitiveLog = exports.UpdateEnvironmentTemplateVersionInputFilterSensitiveLog = exports.ListEnvironmentTemplateVersionsOutputFilterSensitiveLog = exports.EnvironmentTemplateVersionSummaryFilterSensitiveLog = exports.GetEnvironmentTemplateVersionOutputFilterSensitiveLog = exports.DeleteEnvironmentTemplateVersionOutputFilterSensitiveLog = exports.CreateEnvironmentTemplateVersionOutputFilterSensitiveLog = exports.EnvironmentTemplateVersionFilterSensitiveLog = exports.CreateEnvironmentTemplateVersionInputFilterSensitiveLog = exports.UpdateEnvironmentTemplateOutputFilterSensitiveLog = exports.UpdateEnvironmentTemplateInputFilterSensitiveLog = exports.ListEnvironmentTemplatesOutputFilterSensitiveLog = exports.EnvironmentTemplateSummaryFilterSensitiveLog = exports.GetEnvironmentTemplateOutputFilterSensitiveLog = exports.DeleteEnvironmentTemplateOutputFilterSensitiveLog = exports.CreateEnvironmentTemplateOutputFilterSensitiveLog = exports.EnvironmentTemplateFilterSensitiveLog = exports.CreateEnvironmentTemplateInputFilterSensitiveLog = exports.UpdateEnvironmentOutputFilterSensitiveLog = exports.UpdateEnvironmentInputFilterSensitiveLog = exports.ListEnvironmentsOutputFilterSensitiveLog = exports.EnvironmentSummaryFilterSensitiveLog = exports.GetEnvironmentOutputFilterSensitiveLog = exports.DeleteEnvironmentOutputFilterSensitiveLog = exports.CreateEnvironmentOutputFilterSensitiveLog = exports.CreateEnvironmentInputFilterSensitiveLog = exports.ListEnvironmentOutputsOutputFilterSensitiveLog = exports.GetDeploymentOutputFilterSensitiveLog = exports.DeleteDeploymentOutputFilterSensitiveLog = exports.DeploymentFilterSensitiveLog = exports.DeploymentStateFilterSensitiveLog = exports.ServicePipelineStateFilterSensitiveLog = exports.ServiceInstanceStateFilterSensitiveLog = exports.EnvironmentStateFilterSensitiveLog = void 0;
|
|
5
|
+
exports.UpdateServiceTemplateVersionOutputFilterSensitiveLog = exports.UpdateServiceTemplateVersionInputFilterSensitiveLog = exports.ListServiceTemplateVersionsOutputFilterSensitiveLog = exports.ServiceTemplateVersionSummaryFilterSensitiveLog = exports.GetServiceTemplateVersionOutputFilterSensitiveLog = exports.DeleteServiceTemplateVersionOutputFilterSensitiveLog = exports.CreateServiceTemplateVersionOutputFilterSensitiveLog = exports.ServiceTemplateVersionFilterSensitiveLog = exports.CreateServiceTemplateVersionInputFilterSensitiveLog = exports.UpdateServiceTemplateOutputFilterSensitiveLog = exports.UpdateServiceTemplateInputFilterSensitiveLog = exports.ListServiceTemplatesOutputFilterSensitiveLog = exports.ServiceTemplateSummaryFilterSensitiveLog = exports.GetServiceTemplateOutputFilterSensitiveLog = exports.DeleteServiceTemplateOutputFilterSensitiveLog = exports.CreateServiceTemplateOutputFilterSensitiveLog = exports.ServiceTemplateFilterSensitiveLog = exports.CreateServiceTemplateInputFilterSensitiveLog = exports.UpdateServiceOutputFilterSensitiveLog = exports.UpdateServiceInputFilterSensitiveLog = exports.ListServicesOutputFilterSensitiveLog = exports.ServiceSummaryFilterSensitiveLog = exports.GetServiceOutputFilterSensitiveLog = void 0;
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
const ProtonServiceException_1 = require("./ProtonServiceException");
|
|
8
8
|
exports.EnvironmentAccountConnectionStatus = {
|
|
@@ -131,6 +131,26 @@ exports.ComponentDeploymentUpdateType = {
|
|
|
131
131
|
CURRENT_VERSION: "CURRENT_VERSION",
|
|
132
132
|
NONE: "NONE",
|
|
133
133
|
};
|
|
134
|
+
var DeploymentState;
|
|
135
|
+
(function (DeploymentState) {
|
|
136
|
+
DeploymentState.visit = (value, visitor) => {
|
|
137
|
+
if (value.serviceInstance !== undefined)
|
|
138
|
+
return visitor.serviceInstance(value.serviceInstance);
|
|
139
|
+
if (value.environment !== undefined)
|
|
140
|
+
return visitor.environment(value.environment);
|
|
141
|
+
if (value.servicePipeline !== undefined)
|
|
142
|
+
return visitor.servicePipeline(value.servicePipeline);
|
|
143
|
+
if (value.component !== undefined)
|
|
144
|
+
return visitor.component(value.component);
|
|
145
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
146
|
+
};
|
|
147
|
+
})(DeploymentState = exports.DeploymentState || (exports.DeploymentState = {}));
|
|
148
|
+
exports.DeploymentTargetResourceType = {
|
|
149
|
+
COMPONENT: "COMPONENT",
|
|
150
|
+
ENVIRONMENT: "ENVIRONMENT",
|
|
151
|
+
SERVICE_INSTANCE: "SERVICE_INSTANCE",
|
|
152
|
+
SERVICE_PIPELINE: "SERVICE_PIPELINE",
|
|
153
|
+
};
|
|
134
154
|
exports.EnvironmentAccountConnectionRequesterAccountType = {
|
|
135
155
|
ENVIRONMENT_ACCOUNT: "ENVIRONMENT_ACCOUNT",
|
|
136
156
|
MANAGEMENT_ACCOUNT: "MANAGEMENT_ACCOUNT",
|
|
@@ -332,6 +352,57 @@ const UpdateComponentOutputFilterSensitiveLog = (obj) => ({
|
|
|
332
352
|
...(obj.component && { component: (0, exports.ComponentFilterSensitiveLog)(obj.component) }),
|
|
333
353
|
});
|
|
334
354
|
exports.UpdateComponentOutputFilterSensitiveLog = UpdateComponentOutputFilterSensitiveLog;
|
|
355
|
+
const ComponentStateFilterSensitiveLog = (obj) => ({
|
|
356
|
+
...obj,
|
|
357
|
+
...(obj.serviceSpec && { serviceSpec: smithy_client_1.SENSITIVE_STRING }),
|
|
358
|
+
...(obj.templateFile && { templateFile: smithy_client_1.SENSITIVE_STRING }),
|
|
359
|
+
});
|
|
360
|
+
exports.ComponentStateFilterSensitiveLog = ComponentStateFilterSensitiveLog;
|
|
361
|
+
const EnvironmentStateFilterSensitiveLog = (obj) => ({
|
|
362
|
+
...obj,
|
|
363
|
+
...(obj.spec && { spec: smithy_client_1.SENSITIVE_STRING }),
|
|
364
|
+
});
|
|
365
|
+
exports.EnvironmentStateFilterSensitiveLog = EnvironmentStateFilterSensitiveLog;
|
|
366
|
+
const ServiceInstanceStateFilterSensitiveLog = (obj) => ({
|
|
367
|
+
...obj,
|
|
368
|
+
...(obj.spec && { spec: smithy_client_1.SENSITIVE_STRING }),
|
|
369
|
+
});
|
|
370
|
+
exports.ServiceInstanceStateFilterSensitiveLog = ServiceInstanceStateFilterSensitiveLog;
|
|
371
|
+
const ServicePipelineStateFilterSensitiveLog = (obj) => ({
|
|
372
|
+
...obj,
|
|
373
|
+
...(obj.spec && { spec: smithy_client_1.SENSITIVE_STRING }),
|
|
374
|
+
});
|
|
375
|
+
exports.ServicePipelineStateFilterSensitiveLog = ServicePipelineStateFilterSensitiveLog;
|
|
376
|
+
const DeploymentStateFilterSensitiveLog = (obj) => {
|
|
377
|
+
if (obj.serviceInstance !== undefined)
|
|
378
|
+
return { serviceInstance: (0, exports.ServiceInstanceStateFilterSensitiveLog)(obj.serviceInstance) };
|
|
379
|
+
if (obj.environment !== undefined)
|
|
380
|
+
return { environment: (0, exports.EnvironmentStateFilterSensitiveLog)(obj.environment) };
|
|
381
|
+
if (obj.servicePipeline !== undefined)
|
|
382
|
+
return { servicePipeline: (0, exports.ServicePipelineStateFilterSensitiveLog)(obj.servicePipeline) };
|
|
383
|
+
if (obj.component !== undefined)
|
|
384
|
+
return { component: (0, exports.ComponentStateFilterSensitiveLog)(obj.component) };
|
|
385
|
+
if (obj.$unknown !== undefined)
|
|
386
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
387
|
+
};
|
|
388
|
+
exports.DeploymentStateFilterSensitiveLog = DeploymentStateFilterSensitiveLog;
|
|
389
|
+
const DeploymentFilterSensitiveLog = (obj) => ({
|
|
390
|
+
...obj,
|
|
391
|
+
...(obj.deploymentStatusMessage && { deploymentStatusMessage: smithy_client_1.SENSITIVE_STRING }),
|
|
392
|
+
...(obj.initialState && { initialState: (0, exports.DeploymentStateFilterSensitiveLog)(obj.initialState) }),
|
|
393
|
+
...(obj.targetState && { targetState: (0, exports.DeploymentStateFilterSensitiveLog)(obj.targetState) }),
|
|
394
|
+
});
|
|
395
|
+
exports.DeploymentFilterSensitiveLog = DeploymentFilterSensitiveLog;
|
|
396
|
+
const DeleteDeploymentOutputFilterSensitiveLog = (obj) => ({
|
|
397
|
+
...obj,
|
|
398
|
+
...(obj.deployment && { deployment: (0, exports.DeploymentFilterSensitiveLog)(obj.deployment) }),
|
|
399
|
+
});
|
|
400
|
+
exports.DeleteDeploymentOutputFilterSensitiveLog = DeleteDeploymentOutputFilterSensitiveLog;
|
|
401
|
+
const GetDeploymentOutputFilterSensitiveLog = (obj) => ({
|
|
402
|
+
...obj,
|
|
403
|
+
...(obj.deployment && { deployment: (0, exports.DeploymentFilterSensitiveLog)(obj.deployment) }),
|
|
404
|
+
});
|
|
405
|
+
exports.GetDeploymentOutputFilterSensitiveLog = GetDeploymentOutputFilterSensitiveLog;
|
|
335
406
|
const ListEnvironmentOutputsOutputFilterSensitiveLog = (obj) => ({
|
|
336
407
|
...obj,
|
|
337
408
|
...(obj.outputs && { outputs: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -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 ProtonClient_1 = require("../ProtonClient");
|
|
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 ProtonClient_1.ProtonClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected Proton | ProtonClient");
|
|
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;
|
|
@@ -5,6 +5,7 @@ tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
|
5
5
|
tslib_1.__exportStar(require("./ListComponentOutputsPaginator"), exports);
|
|
6
6
|
tslib_1.__exportStar(require("./ListComponentProvisionedResourcesPaginator"), exports);
|
|
7
7
|
tslib_1.__exportStar(require("./ListComponentsPaginator"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./ListDeploymentsPaginator"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./ListEnvironmentAccountConnectionsPaginator"), exports);
|
|
9
10
|
tslib_1.__exportStar(require("./ListEnvironmentOutputsPaginator"), exports);
|
|
10
11
|
tslib_1.__exportStar(require("./ListEnvironmentProvisionedResourcesPaginator"), exports);
|