@aws-sdk/client-proton 3.99.0 → 3.105.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 (96) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist-cjs/Proton.js +120 -0
  3. package/dist-cjs/ProtonClient.js +2 -0
  4. package/dist-cjs/commands/CancelComponentDeploymentCommand.js +36 -0
  5. package/dist-cjs/commands/CreateComponentCommand.js +36 -0
  6. package/dist-cjs/commands/DeleteComponentCommand.js +36 -0
  7. package/dist-cjs/commands/GetComponentCommand.js +36 -0
  8. package/dist-cjs/commands/ListComponentOutputsCommand.js +36 -0
  9. package/dist-cjs/commands/ListComponentProvisionedResourcesCommand.js +36 -0
  10. package/dist-cjs/commands/ListComponentsCommand.js +36 -0
  11. package/dist-cjs/commands/UpdateComponentCommand.js +36 -0
  12. package/dist-cjs/commands/index.js +8 -0
  13. package/dist-cjs/models/models_0.js +169 -33
  14. package/dist-cjs/pagination/ListComponentOutputsPaginator.js +35 -0
  15. package/dist-cjs/pagination/ListComponentProvisionedResourcesPaginator.js +35 -0
  16. package/dist-cjs/pagination/ListComponentsPaginator.js +36 -0
  17. package/dist-cjs/pagination/index.js +3 -0
  18. package/dist-cjs/protocols/Aws_json1_0.js +741 -34
  19. package/dist-cjs/waiters/index.js +2 -0
  20. package/dist-cjs/waiters/waitForComponentDeleted.js +39 -0
  21. package/dist-cjs/waiters/waitForComponentDeployed.js +45 -0
  22. package/dist-es/Proton.js +120 -0
  23. package/dist-es/ProtonClient.js +2 -0
  24. package/dist-es/commands/CancelComponentDeploymentCommand.js +39 -0
  25. package/dist-es/commands/CreateComponentCommand.js +39 -0
  26. package/dist-es/commands/DeleteComponentCommand.js +39 -0
  27. package/dist-es/commands/GetComponentCommand.js +39 -0
  28. package/dist-es/commands/ListComponentOutputsCommand.js +39 -0
  29. package/dist-es/commands/ListComponentProvisionedResourcesCommand.js +39 -0
  30. package/dist-es/commands/ListComponentsCommand.js +39 -0
  31. package/dist-es/commands/UpdateComponentCommand.js +39 -0
  32. package/dist-es/commands/index.js +8 -0
  33. package/dist-es/models/models_0.js +106 -25
  34. package/dist-es/pagination/ListComponentOutputsPaginator.js +74 -0
  35. package/dist-es/pagination/ListComponentProvisionedResourcesPaginator.js +74 -0
  36. package/dist-es/pagination/ListComponentsPaginator.js +75 -0
  37. package/dist-es/pagination/index.js +3 -0
  38. package/dist-es/protocols/Aws_json1_0.js +899 -77
  39. package/dist-es/waiters/index.js +2 -0
  40. package/dist-es/waiters/waitForComponentDeleted.js +54 -0
  41. package/dist-es/waiters/waitForComponentDeployed.js +60 -0
  42. package/dist-types/Proton.d.ts +117 -46
  43. package/dist-types/ProtonClient.d.ts +10 -2
  44. package/dist-types/commands/CancelComponentDeploymentCommand.d.ts +38 -0
  45. package/dist-types/commands/CreateComponentCommand.d.ts +38 -0
  46. package/dist-types/commands/DeleteComponentCommand.d.ts +38 -0
  47. package/dist-types/commands/DeleteServiceCommand.d.ts +7 -1
  48. package/dist-types/commands/GetComponentCommand.d.ts +38 -0
  49. package/dist-types/commands/GetEnvironmentAccountConnectionCommand.d.ts +1 -1
  50. package/dist-types/commands/GetEnvironmentCommand.d.ts +1 -1
  51. package/dist-types/commands/GetEnvironmentTemplateCommand.d.ts +1 -1
  52. package/dist-types/commands/GetEnvironmentTemplateVersionCommand.d.ts +1 -1
  53. package/dist-types/commands/GetServiceCommand.d.ts +1 -1
  54. package/dist-types/commands/GetServiceInstanceCommand.d.ts +1 -1
  55. package/dist-types/commands/GetServiceTemplateCommand.d.ts +1 -1
  56. package/dist-types/commands/GetServiceTemplateVersionCommand.d.ts +1 -1
  57. package/dist-types/commands/ListComponentOutputsCommand.d.ts +38 -0
  58. package/dist-types/commands/ListComponentProvisionedResourcesCommand.d.ts +38 -0
  59. package/dist-types/commands/ListComponentsCommand.d.ts +38 -0
  60. package/dist-types/commands/ListServiceInstanceOutputsCommand.d.ts +1 -1
  61. package/dist-types/commands/ListServiceInstancesCommand.d.ts +1 -1
  62. package/dist-types/commands/ListServicePipelineOutputsCommand.d.ts +1 -1
  63. package/dist-types/commands/UpdateComponentCommand.d.ts +43 -0
  64. package/dist-types/commands/UpdateServiceCommand.d.ts +6 -0
  65. package/dist-types/commands/UpdateServiceInstanceCommand.d.ts +8 -34
  66. package/dist-types/commands/index.d.ts +8 -0
  67. package/dist-types/models/models_0.d.ts +683 -124
  68. package/dist-types/pagination/ListComponentOutputsPaginator.d.ts +4 -0
  69. package/dist-types/pagination/ListComponentProvisionedResourcesPaginator.d.ts +4 -0
  70. package/dist-types/pagination/ListComponentsPaginator.d.ts +4 -0
  71. package/dist-types/pagination/index.d.ts +3 -0
  72. package/dist-types/protocols/Aws_json1_0.d.ts +24 -0
  73. package/dist-types/ts3.4/Proton.d.ts +40 -0
  74. package/dist-types/ts3.4/ProtonClient.d.ts +10 -2
  75. package/dist-types/ts3.4/commands/CancelComponentDeploymentCommand.d.ts +17 -0
  76. package/dist-types/ts3.4/commands/CreateComponentCommand.d.ts +17 -0
  77. package/dist-types/ts3.4/commands/DeleteComponentCommand.d.ts +17 -0
  78. package/dist-types/ts3.4/commands/GetComponentCommand.d.ts +17 -0
  79. package/dist-types/ts3.4/commands/ListComponentOutputsCommand.d.ts +17 -0
  80. package/dist-types/ts3.4/commands/ListComponentProvisionedResourcesCommand.d.ts +17 -0
  81. package/dist-types/ts3.4/commands/ListComponentsCommand.d.ts +17 -0
  82. package/dist-types/ts3.4/commands/UpdateComponentCommand.d.ts +17 -0
  83. package/dist-types/ts3.4/commands/index.d.ts +8 -0
  84. package/dist-types/ts3.4/models/models_0.d.ts +305 -40
  85. package/dist-types/ts3.4/pagination/ListComponentOutputsPaginator.d.ts +4 -0
  86. package/dist-types/ts3.4/pagination/ListComponentProvisionedResourcesPaginator.d.ts +4 -0
  87. package/dist-types/ts3.4/pagination/ListComponentsPaginator.d.ts +4 -0
  88. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  89. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +24 -0
  90. package/dist-types/ts3.4/waiters/index.d.ts +2 -0
  91. package/dist-types/ts3.4/waiters/waitForComponentDeleted.d.ts +7 -0
  92. package/dist-types/ts3.4/waiters/waitForComponentDeployed.d.ts +7 -0
  93. package/dist-types/waiters/index.d.ts +2 -0
  94. package/dist-types/waiters/waitForComponentDeleted.d.ts +14 -0
  95. package/dist-types/waiters/waitForComponentDeployed.d.ts +14 -0
  96. package/package.json +4 -3
@@ -1,3 +1,5 @@
1
+ export * from "./waitForComponentDeleted";
2
+ export * from "./waitForComponentDeployed";
1
3
  export * from "./waitForEnvironmentDeployed";
2
4
  export * from "./waitForEnvironmentTemplateVersionRegistered";
3
5
  export * from "./waitForServiceCreated";
@@ -0,0 +1,54 @@
1
+ import { __assign, __awaiter, __generator } from "tslib";
2
+ import { checkExceptions, createWaiter, WaiterState } from "@aws-sdk/util-waiter";
3
+ import { GetComponentCommand } from "../commands/GetComponentCommand";
4
+ var checkState = function (client, input) { return __awaiter(void 0, void 0, void 0, function () {
5
+ var reason, result_1, returnComparator, exception_1;
6
+ return __generator(this, function (_a) {
7
+ switch (_a.label) {
8
+ case 0:
9
+ _a.trys.push([0, 2, , 3]);
10
+ return [4, client.send(new GetComponentCommand(input))];
11
+ case 1:
12
+ result_1 = _a.sent();
13
+ reason = result_1;
14
+ try {
15
+ returnComparator = function () {
16
+ return result_1.component.deploymentStatus;
17
+ };
18
+ if (returnComparator() === "DELETE_FAILED") {
19
+ return [2, { state: WaiterState.FAILURE, reason: reason }];
20
+ }
21
+ }
22
+ catch (e) { }
23
+ return [3, 3];
24
+ case 2:
25
+ exception_1 = _a.sent();
26
+ reason = exception_1;
27
+ if (exception_1.name && exception_1.name == "ResourceNotFoundException") {
28
+ return [2, { state: WaiterState.SUCCESS, reason: reason }];
29
+ }
30
+ return [3, 3];
31
+ case 3: return [2, { state: WaiterState.RETRY, reason: reason }];
32
+ }
33
+ });
34
+ }); };
35
+ export var waitForComponentDeleted = function (params, input) { return __awaiter(void 0, void 0, void 0, function () {
36
+ var serviceDefaults;
37
+ return __generator(this, function (_a) {
38
+ serviceDefaults = { minDelay: 5, maxDelay: 4999 };
39
+ return [2, createWaiter(__assign(__assign({}, serviceDefaults), params), input, checkState)];
40
+ });
41
+ }); };
42
+ export var waitUntilComponentDeleted = function (params, input) { return __awaiter(void 0, void 0, void 0, function () {
43
+ var serviceDefaults, result;
44
+ return __generator(this, function (_a) {
45
+ switch (_a.label) {
46
+ case 0:
47
+ serviceDefaults = { minDelay: 5, maxDelay: 4999 };
48
+ return [4, createWaiter(__assign(__assign({}, serviceDefaults), params), input, checkState)];
49
+ case 1:
50
+ result = _a.sent();
51
+ return [2, checkExceptions(result)];
52
+ }
53
+ });
54
+ }); };
@@ -0,0 +1,60 @@
1
+ import { __assign, __awaiter, __generator } from "tslib";
2
+ import { checkExceptions, createWaiter, WaiterState } from "@aws-sdk/util-waiter";
3
+ import { GetComponentCommand } from "../commands/GetComponentCommand";
4
+ var checkState = function (client, input) { return __awaiter(void 0, void 0, void 0, function () {
5
+ var reason, result_1, returnComparator, returnComparator, exception_1;
6
+ return __generator(this, function (_a) {
7
+ switch (_a.label) {
8
+ case 0:
9
+ _a.trys.push([0, 2, , 3]);
10
+ return [4, client.send(new GetComponentCommand(input))];
11
+ case 1:
12
+ result_1 = _a.sent();
13
+ reason = result_1;
14
+ try {
15
+ returnComparator = function () {
16
+ return result_1.component.deploymentStatus;
17
+ };
18
+ if (returnComparator() === "SUCCEEDED") {
19
+ return [2, { state: WaiterState.SUCCESS, reason: reason }];
20
+ }
21
+ }
22
+ catch (e) { }
23
+ try {
24
+ returnComparator = function () {
25
+ return result_1.component.deploymentStatus;
26
+ };
27
+ if (returnComparator() === "FAILED") {
28
+ return [2, { state: WaiterState.FAILURE, reason: reason }];
29
+ }
30
+ }
31
+ catch (e) { }
32
+ return [3, 3];
33
+ case 2:
34
+ exception_1 = _a.sent();
35
+ reason = exception_1;
36
+ return [3, 3];
37
+ case 3: return [2, { state: WaiterState.RETRY, reason: reason }];
38
+ }
39
+ });
40
+ }); };
41
+ export var waitForComponentDeployed = function (params, input) { return __awaiter(void 0, void 0, void 0, function () {
42
+ var serviceDefaults;
43
+ return __generator(this, function (_a) {
44
+ serviceDefaults = { minDelay: 5, maxDelay: 4999 };
45
+ return [2, createWaiter(__assign(__assign({}, serviceDefaults), params), input, checkState)];
46
+ });
47
+ }); };
48
+ export var waitUntilComponentDeployed = function (params, input) { return __awaiter(void 0, void 0, void 0, function () {
49
+ var serviceDefaults, result;
50
+ return __generator(this, function (_a) {
51
+ switch (_a.label) {
52
+ case 0:
53
+ serviceDefaults = { minDelay: 5, maxDelay: 4999 };
54
+ return [4, createWaiter(__assign(__assign({}, serviceDefaults), params), input, checkState)];
55
+ case 1:
56
+ result = _a.sent();
57
+ return [2, checkExceptions(result)];
58
+ }
59
+ });
60
+ }); };
@@ -1,8 +1,10 @@
1
1
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
2
  import { AcceptEnvironmentAccountConnectionCommandInput, AcceptEnvironmentAccountConnectionCommandOutput } from "./commands/AcceptEnvironmentAccountConnectionCommand";
3
+ import { CancelComponentDeploymentCommandInput, CancelComponentDeploymentCommandOutput } from "./commands/CancelComponentDeploymentCommand";
3
4
  import { CancelEnvironmentDeploymentCommandInput, CancelEnvironmentDeploymentCommandOutput } from "./commands/CancelEnvironmentDeploymentCommand";
4
5
  import { CancelServiceInstanceDeploymentCommandInput, CancelServiceInstanceDeploymentCommandOutput } from "./commands/CancelServiceInstanceDeploymentCommand";
5
6
  import { CancelServicePipelineDeploymentCommandInput, CancelServicePipelineDeploymentCommandOutput } from "./commands/CancelServicePipelineDeploymentCommand";
7
+ import { CreateComponentCommandInput, CreateComponentCommandOutput } from "./commands/CreateComponentCommand";
6
8
  import { CreateEnvironmentAccountConnectionCommandInput, CreateEnvironmentAccountConnectionCommandOutput } from "./commands/CreateEnvironmentAccountConnectionCommand";
7
9
  import { CreateEnvironmentCommandInput, CreateEnvironmentCommandOutput } from "./commands/CreateEnvironmentCommand";
8
10
  import { CreateEnvironmentTemplateCommandInput, CreateEnvironmentTemplateCommandOutput } from "./commands/CreateEnvironmentTemplateCommand";
@@ -12,6 +14,7 @@ import { CreateServiceCommandInput, CreateServiceCommandOutput } from "./command
12
14
  import { CreateServiceTemplateCommandInput, CreateServiceTemplateCommandOutput } from "./commands/CreateServiceTemplateCommand";
13
15
  import { CreateServiceTemplateVersionCommandInput, CreateServiceTemplateVersionCommandOutput } from "./commands/CreateServiceTemplateVersionCommand";
14
16
  import { CreateTemplateSyncConfigCommandInput, CreateTemplateSyncConfigCommandOutput } from "./commands/CreateTemplateSyncConfigCommand";
17
+ import { DeleteComponentCommandInput, DeleteComponentCommandOutput } from "./commands/DeleteComponentCommand";
15
18
  import { DeleteEnvironmentAccountConnectionCommandInput, DeleteEnvironmentAccountConnectionCommandOutput } from "./commands/DeleteEnvironmentAccountConnectionCommand";
16
19
  import { DeleteEnvironmentCommandInput, DeleteEnvironmentCommandOutput } from "./commands/DeleteEnvironmentCommand";
17
20
  import { DeleteEnvironmentTemplateCommandInput, DeleteEnvironmentTemplateCommandOutput } from "./commands/DeleteEnvironmentTemplateCommand";
@@ -22,6 +25,7 @@ import { DeleteServiceTemplateCommandInput, DeleteServiceTemplateCommandOutput }
22
25
  import { DeleteServiceTemplateVersionCommandInput, DeleteServiceTemplateVersionCommandOutput } from "./commands/DeleteServiceTemplateVersionCommand";
23
26
  import { DeleteTemplateSyncConfigCommandInput, DeleteTemplateSyncConfigCommandOutput } from "./commands/DeleteTemplateSyncConfigCommand";
24
27
  import { GetAccountSettingsCommandInput, GetAccountSettingsCommandOutput } from "./commands/GetAccountSettingsCommand";
28
+ import { GetComponentCommandInput, GetComponentCommandOutput } from "./commands/GetComponentCommand";
25
29
  import { GetEnvironmentAccountConnectionCommandInput, GetEnvironmentAccountConnectionCommandOutput } from "./commands/GetEnvironmentAccountConnectionCommand";
26
30
  import { GetEnvironmentCommandInput, GetEnvironmentCommandOutput } from "./commands/GetEnvironmentCommand";
27
31
  import { GetEnvironmentTemplateCommandInput, GetEnvironmentTemplateCommandOutput } from "./commands/GetEnvironmentTemplateCommand";
@@ -34,6 +38,9 @@ import { GetServiceTemplateCommandInput, GetServiceTemplateCommandOutput } from
34
38
  import { GetServiceTemplateVersionCommandInput, GetServiceTemplateVersionCommandOutput } from "./commands/GetServiceTemplateVersionCommand";
35
39
  import { GetTemplateSyncConfigCommandInput, GetTemplateSyncConfigCommandOutput } from "./commands/GetTemplateSyncConfigCommand";
36
40
  import { GetTemplateSyncStatusCommandInput, GetTemplateSyncStatusCommandOutput } from "./commands/GetTemplateSyncStatusCommand";
41
+ import { ListComponentOutputsCommandInput, ListComponentOutputsCommandOutput } from "./commands/ListComponentOutputsCommand";
42
+ import { ListComponentProvisionedResourcesCommandInput, ListComponentProvisionedResourcesCommandOutput } from "./commands/ListComponentProvisionedResourcesCommand";
43
+ import { ListComponentsCommandInput, ListComponentsCommandOutput } from "./commands/ListComponentsCommand";
37
44
  import { ListEnvironmentAccountConnectionsCommandInput, ListEnvironmentAccountConnectionsCommandOutput } from "./commands/ListEnvironmentAccountConnectionsCommand";
38
45
  import { ListEnvironmentOutputsCommandInput, ListEnvironmentOutputsCommandOutput } from "./commands/ListEnvironmentOutputsCommand";
39
46
  import { ListEnvironmentProvisionedResourcesCommandInput, ListEnvironmentProvisionedResourcesCommandOutput } from "./commands/ListEnvironmentProvisionedResourcesCommand";
@@ -56,6 +63,7 @@ import { RejectEnvironmentAccountConnectionCommandInput, RejectEnvironmentAccoun
56
63
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
57
64
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
58
65
  import { UpdateAccountSettingsCommandInput, UpdateAccountSettingsCommandOutput } from "./commands/UpdateAccountSettingsCommand";
66
+ import { UpdateComponentCommandInput, UpdateComponentCommandOutput } from "./commands/UpdateComponentCommand";
59
67
  import { UpdateEnvironmentAccountConnectionCommandInput, UpdateEnvironmentAccountConnectionCommandOutput } from "./commands/UpdateEnvironmentAccountConnectionCommand";
60
68
  import { UpdateEnvironmentCommandInput, UpdateEnvironmentCommandOutput } from "./commands/UpdateEnvironmentCommand";
61
69
  import { UpdateEnvironmentTemplateCommandInput, UpdateEnvironmentTemplateCommandOutput } from "./commands/UpdateEnvironmentTemplateCommand";
@@ -199,6 +207,15 @@ export declare class Proton extends ProtonClient {
199
207
  acceptEnvironmentAccountConnection(args: AcceptEnvironmentAccountConnectionCommandInput, options?: __HttpHandlerOptions): Promise<AcceptEnvironmentAccountConnectionCommandOutput>;
200
208
  acceptEnvironmentAccountConnection(args: AcceptEnvironmentAccountConnectionCommandInput, cb: (err: any, data?: AcceptEnvironmentAccountConnectionCommandOutput) => void): void;
201
209
  acceptEnvironmentAccountConnection(args: AcceptEnvironmentAccountConnectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AcceptEnvironmentAccountConnectionCommandOutput) => void): void;
210
+ /**
211
+ * <p>Attempts to cancel a component deployment (for a component that is in the <code>IN_PROGRESS</code> deployment status).</p>
212
+ * <p>For more information about components, see
213
+ * <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-components.html">Proton components</a> in the
214
+ * <i>Proton Administrator Guide</i>.</p>
215
+ */
216
+ cancelComponentDeployment(args: CancelComponentDeploymentCommandInput, options?: __HttpHandlerOptions): Promise<CancelComponentDeploymentCommandOutput>;
217
+ cancelComponentDeployment(args: CancelComponentDeploymentCommandInput, cb: (err: any, data?: CancelComponentDeploymentCommandOutput) => void): void;
218
+ cancelComponentDeployment(args: CancelComponentDeploymentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelComponentDeploymentCommandOutput) => void): void;
202
219
  /**
203
220
  * <p>Attempts to cancel an environment deployment on an <a>UpdateEnvironment</a> action, if the deployment is <code>IN_PROGRESS</code>. For more
204
221
  * information, see <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-env-update.html">Update an environment</a> in the <i>Proton
@@ -260,6 +277,15 @@ export declare class Proton extends ProtonClient {
260
277
  cancelServicePipelineDeployment(args: CancelServicePipelineDeploymentCommandInput, options?: __HttpHandlerOptions): Promise<CancelServicePipelineDeploymentCommandOutput>;
261
278
  cancelServicePipelineDeployment(args: CancelServicePipelineDeploymentCommandInput, cb: (err: any, data?: CancelServicePipelineDeploymentCommandOutput) => void): void;
262
279
  cancelServicePipelineDeployment(args: CancelServicePipelineDeploymentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelServicePipelineDeploymentCommandOutput) => void): void;
280
+ /**
281
+ * <p>Create an Proton component. A component is an infrastructure extension for a service instance.</p>
282
+ * <p>For more information about components, see
283
+ * <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-components.html">Proton components</a> in the
284
+ * <i>Proton Administrator Guide</i>.</p>
285
+ */
286
+ createComponent(args: CreateComponentCommandInput, options?: __HttpHandlerOptions): Promise<CreateComponentCommandOutput>;
287
+ createComponent(args: CreateComponentCommandInput, cb: (err: any, data?: CreateComponentCommandOutput) => void): void;
288
+ createComponent(args: CreateComponentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateComponentCommandOutput) => void): void;
263
289
  /**
264
290
  * <p>Deploy a new environment. An Proton environment is created from an environment template that defines infrastructure and resources that can be
265
291
  * shared across services.</p>
@@ -363,6 +389,15 @@ export declare class Proton extends ProtonClient {
363
389
  createTemplateSyncConfig(args: CreateTemplateSyncConfigCommandInput, options?: __HttpHandlerOptions): Promise<CreateTemplateSyncConfigCommandOutput>;
364
390
  createTemplateSyncConfig(args: CreateTemplateSyncConfigCommandInput, cb: (err: any, data?: CreateTemplateSyncConfigCommandOutput) => void): void;
365
391
  createTemplateSyncConfig(args: CreateTemplateSyncConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateTemplateSyncConfigCommandOutput) => void): void;
392
+ /**
393
+ * <p>Delete an Proton component resource.</p>
394
+ * <p>For more information about components, see
395
+ * <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-components.html">Proton components</a> in the
396
+ * <i>Proton Administrator Guide</i>.</p>
397
+ */
398
+ deleteComponent(args: DeleteComponentCommandInput, options?: __HttpHandlerOptions): Promise<DeleteComponentCommandOutput>;
399
+ deleteComponent(args: DeleteComponentCommandInput, cb: (err: any, data?: DeleteComponentCommandOutput) => void): void;
400
+ deleteComponent(args: DeleteComponentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteComponentCommandOutput) => void): void;
366
401
  /**
367
402
  * <p>Delete an environment.</p>
368
403
  */
@@ -404,7 +439,13 @@ export declare class Proton extends ProtonClient {
404
439
  deleteRepository(args: DeleteRepositoryCommandInput, cb: (err: any, data?: DeleteRepositoryCommandOutput) => void): void;
405
440
  deleteRepository(args: DeleteRepositoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRepositoryCommandOutput) => void): void;
406
441
  /**
407
- * <p>Delete a service.</p>
442
+ * <p>Delete a service, with its instances and pipeline.</p>
443
+ * <note>
444
+ * <p>You can't delete a service if it has any service instances that have components attached to them.</p>
445
+ * <p>For more information about components, see
446
+ * <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-components.html">Proton components</a> in the
447
+ * <i>Proton Administrator Guide</i>.</p>
448
+ * </note>
408
449
  */
409
450
  deleteService(args: DeleteServiceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteServiceCommandOutput>;
410
451
  deleteService(args: DeleteServiceCommandInput, cb: (err: any, data?: DeleteServiceCommandOutput) => void): void;
@@ -439,13 +480,22 @@ export declare class Proton extends ProtonClient {
439
480
  getAccountSettings(args: GetAccountSettingsCommandInput, cb: (err: any, data?: GetAccountSettingsCommandOutput) => void): void;
440
481
  getAccountSettings(args: GetAccountSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAccountSettingsCommandOutput) => void): void;
441
482
  /**
442
- * <p>Get detail data for an environment.</p>
483
+ * <p>Get detailed data for a component.</p>
484
+ * <p>For more information about components, see
485
+ * <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-components.html">Proton components</a> in the
486
+ * <i>Proton Administrator Guide</i>.</p>
487
+ */
488
+ getComponent(args: GetComponentCommandInput, options?: __HttpHandlerOptions): Promise<GetComponentCommandOutput>;
489
+ getComponent(args: GetComponentCommandInput, cb: (err: any, data?: GetComponentCommandOutput) => void): void;
490
+ getComponent(args: GetComponentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetComponentCommandOutput) => void): void;
491
+ /**
492
+ * <p>Get detailed data for an environment.</p>
443
493
  */
444
494
  getEnvironment(args: GetEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<GetEnvironmentCommandOutput>;
445
495
  getEnvironment(args: GetEnvironmentCommandInput, cb: (err: any, data?: GetEnvironmentCommandOutput) => void): void;
446
496
  getEnvironment(args: GetEnvironmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEnvironmentCommandOutput) => void): void;
447
497
  /**
448
- * <p>In an environment account, view the detail data for an environment account connection.</p>
498
+ * <p>In an environment account, get the detailed data for an environment account connection.</p>
449
499
  * <p>For more information, see <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-env-account-connections.html">Environment account
450
500
  * connections</a> in the <i>Proton Administrator guide</i>.</p>
451
501
  */
@@ -453,13 +503,13 @@ export declare class Proton extends ProtonClient {
453
503
  getEnvironmentAccountConnection(args: GetEnvironmentAccountConnectionCommandInput, cb: (err: any, data?: GetEnvironmentAccountConnectionCommandOutput) => void): void;
454
504
  getEnvironmentAccountConnection(args: GetEnvironmentAccountConnectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEnvironmentAccountConnectionCommandOutput) => void): void;
455
505
  /**
456
- * <p>Get detail data for an environment template.</p>
506
+ * <p>Get detailed data for an environment template.</p>
457
507
  */
458
508
  getEnvironmentTemplate(args: GetEnvironmentTemplateCommandInput, options?: __HttpHandlerOptions): Promise<GetEnvironmentTemplateCommandOutput>;
459
509
  getEnvironmentTemplate(args: GetEnvironmentTemplateCommandInput, cb: (err: any, data?: GetEnvironmentTemplateCommandOutput) => void): void;
460
510
  getEnvironmentTemplate(args: GetEnvironmentTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEnvironmentTemplateCommandOutput) => void): void;
461
511
  /**
462
- * <p>View detail data for a major or minor version of an environment template.</p>
512
+ * <p>Get detailed data for a major or minor version of an environment template.</p>
463
513
  */
464
514
  getEnvironmentTemplateVersion(args: GetEnvironmentTemplateVersionCommandInput, options?: __HttpHandlerOptions): Promise<GetEnvironmentTemplateVersionCommandOutput>;
465
515
  getEnvironmentTemplateVersion(args: GetEnvironmentTemplateVersionCommandInput, cb: (err: any, data?: GetEnvironmentTemplateVersionCommandOutput) => void): void;
@@ -484,25 +534,25 @@ export declare class Proton extends ProtonClient {
484
534
  getRepositorySyncStatus(args: GetRepositorySyncStatusCommandInput, cb: (err: any, data?: GetRepositorySyncStatusCommandOutput) => void): void;
485
535
  getRepositorySyncStatus(args: GetRepositorySyncStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRepositorySyncStatusCommandOutput) => void): void;
486
536
  /**
487
- * <p>Get detail data for a service.</p>
537
+ * <p>Get detailed data for a service.</p>
488
538
  */
489
539
  getService(args: GetServiceCommandInput, options?: __HttpHandlerOptions): Promise<GetServiceCommandOutput>;
490
540
  getService(args: GetServiceCommandInput, cb: (err: any, data?: GetServiceCommandOutput) => void): void;
491
541
  getService(args: GetServiceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetServiceCommandOutput) => void): void;
492
542
  /**
493
- * <p>Get detail data for a service instance. A service instance is an instantiation of service template and it runs in a specific environment.</p>
543
+ * <p>Get detailed data for a service instance. A service instance is an instantiation of service template and it runs in a specific environment.</p>
494
544
  */
495
545
  getServiceInstance(args: GetServiceInstanceCommandInput, options?: __HttpHandlerOptions): Promise<GetServiceInstanceCommandOutput>;
496
546
  getServiceInstance(args: GetServiceInstanceCommandInput, cb: (err: any, data?: GetServiceInstanceCommandOutput) => void): void;
497
547
  getServiceInstance(args: GetServiceInstanceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetServiceInstanceCommandOutput) => void): void;
498
548
  /**
499
- * <p>Get detail data for a service template.</p>
549
+ * <p>Get detailed data for a service template.</p>
500
550
  */
501
551
  getServiceTemplate(args: GetServiceTemplateCommandInput, options?: __HttpHandlerOptions): Promise<GetServiceTemplateCommandOutput>;
502
552
  getServiceTemplate(args: GetServiceTemplateCommandInput, cb: (err: any, data?: GetServiceTemplateCommandOutput) => void): void;
503
553
  getServiceTemplate(args: GetServiceTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetServiceTemplateCommandOutput) => void): void;
504
554
  /**
505
- * <p>View detail data for a major or minor version of a service template.</p>
555
+ * <p>Get detailed data for a major or minor version of a service template.</p>
506
556
  */
507
557
  getServiceTemplateVersion(args: GetServiceTemplateVersionCommandInput, options?: __HttpHandlerOptions): Promise<GetServiceTemplateVersionCommandOutput>;
508
558
  getServiceTemplateVersion(args: GetServiceTemplateVersionCommandInput, cb: (err: any, data?: GetServiceTemplateVersionCommandOutput) => void): void;
@@ -519,6 +569,33 @@ export declare class Proton extends ProtonClient {
519
569
  getTemplateSyncStatus(args: GetTemplateSyncStatusCommandInput, options?: __HttpHandlerOptions): Promise<GetTemplateSyncStatusCommandOutput>;
520
570
  getTemplateSyncStatus(args: GetTemplateSyncStatusCommandInput, cb: (err: any, data?: GetTemplateSyncStatusCommandOutput) => void): void;
521
571
  getTemplateSyncStatus(args: GetTemplateSyncStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTemplateSyncStatusCommandOutput) => void): void;
572
+ /**
573
+ * <p>Get a list of component Infrastructure as Code (IaC) outputs.</p>
574
+ * <p>For more information about components, see
575
+ * <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-components.html">Proton components</a> in the
576
+ * <i>Proton Administrator Guide</i>.</p>
577
+ */
578
+ listComponentOutputs(args: ListComponentOutputsCommandInput, options?: __HttpHandlerOptions): Promise<ListComponentOutputsCommandOutput>;
579
+ listComponentOutputs(args: ListComponentOutputsCommandInput, cb: (err: any, data?: ListComponentOutputsCommandOutput) => void): void;
580
+ listComponentOutputs(args: ListComponentOutputsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListComponentOutputsCommandOutput) => void): void;
581
+ /**
582
+ * <p>List provisioned resources for a component with details.</p>
583
+ * <p>For more information about components, see
584
+ * <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-components.html">Proton components</a> in the
585
+ * <i>Proton Administrator Guide</i>.</p>
586
+ */
587
+ listComponentProvisionedResources(args: ListComponentProvisionedResourcesCommandInput, options?: __HttpHandlerOptions): Promise<ListComponentProvisionedResourcesCommandOutput>;
588
+ listComponentProvisionedResources(args: ListComponentProvisionedResourcesCommandInput, cb: (err: any, data?: ListComponentProvisionedResourcesCommandOutput) => void): void;
589
+ listComponentProvisionedResources(args: ListComponentProvisionedResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListComponentProvisionedResourcesCommandOutput) => void): void;
590
+ /**
591
+ * <p>List components with summary data. You can filter the result list by environment, service, or a single service instance.</p>
592
+ * <p>For more information about components, see
593
+ * <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-components.html">Proton components</a> in the
594
+ * <i>Proton Administrator Guide</i>.</p>
595
+ */
596
+ listComponents(args: ListComponentsCommandInput, options?: __HttpHandlerOptions): Promise<ListComponentsCommandOutput>;
597
+ listComponents(args: ListComponentsCommandInput, cb: (err: any, data?: ListComponentsCommandOutput) => void): void;
598
+ listComponents(args: ListComponentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListComponentsCommandOutput) => void): void;
522
599
  /**
523
600
  * <p>View a list of environment account connections.</p>
524
601
  * <p>For more information, see <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-env-account-connections.html">Environment account
@@ -570,7 +647,7 @@ export declare class Proton extends ProtonClient {
570
647
  listRepositorySyncDefinitions(args: ListRepositorySyncDefinitionsCommandInput, cb: (err: any, data?: ListRepositorySyncDefinitionsCommandOutput) => void): void;
571
648
  listRepositorySyncDefinitions(args: ListRepositorySyncDefinitionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRepositorySyncDefinitionsCommandOutput) => void): void;
572
649
  /**
573
- * <p>View a list service instance infrastructure as code outputs with detail data.</p>
650
+ * <p>Get a list service of instance Infrastructure as Code (IaC) outputs.</p>
574
651
  */
575
652
  listServiceInstanceOutputs(args: ListServiceInstanceOutputsCommandInput, options?: __HttpHandlerOptions): Promise<ListServiceInstanceOutputsCommandOutput>;
576
653
  listServiceInstanceOutputs(args: ListServiceInstanceOutputsCommandInput, cb: (err: any, data?: ListServiceInstanceOutputsCommandOutput) => void): void;
@@ -582,13 +659,13 @@ export declare class Proton extends ProtonClient {
582
659
  listServiceInstanceProvisionedResources(args: ListServiceInstanceProvisionedResourcesCommandInput, cb: (err: any, data?: ListServiceInstanceProvisionedResourcesCommandOutput) => void): void;
583
660
  listServiceInstanceProvisionedResources(args: ListServiceInstanceProvisionedResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListServiceInstanceProvisionedResourcesCommandOutput) => void): void;
584
661
  /**
585
- * <p>List service instances with summaries of detail data.</p>
662
+ * <p>List service instances with summary data.</p>
586
663
  */
587
664
  listServiceInstances(args: ListServiceInstancesCommandInput, options?: __HttpHandlerOptions): Promise<ListServiceInstancesCommandOutput>;
588
665
  listServiceInstances(args: ListServiceInstancesCommandInput, cb: (err: any, data?: ListServiceInstancesCommandOutput) => void): void;
589
666
  listServiceInstances(args: ListServiceInstancesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListServiceInstancesCommandOutput) => void): void;
590
667
  /**
591
- * <p>View a list service pipeline infrastructure as code outputs with detail.</p>
668
+ * <p>Get a list of service pipeline Infrastructure as Code (IaC) outputs.</p>
592
669
  */
593
670
  listServicePipelineOutputs(args: ListServicePipelineOutputsCommandInput, options?: __HttpHandlerOptions): Promise<ListServicePipelineOutputsCommandOutput>;
594
671
  listServicePipelineOutputs(args: ListServicePipelineOutputsCommandInput, cb: (err: any, data?: ListServicePipelineOutputsCommandOutput) => void): void;
@@ -661,6 +738,20 @@ export declare class Proton extends ProtonClient {
661
738
  updateAccountSettings(args: UpdateAccountSettingsCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAccountSettingsCommandOutput>;
662
739
  updateAccountSettings(args: UpdateAccountSettingsCommandInput, cb: (err: any, data?: UpdateAccountSettingsCommandOutput) => void): void;
663
740
  updateAccountSettings(args: UpdateAccountSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAccountSettingsCommandOutput) => void): void;
741
+ /**
742
+ * <p>Update a component.</p>
743
+ * <p>There are a few modes for updating a component. The <code>deploymentType</code> field defines the mode.</p>
744
+ * <note>
745
+ * <p>You can't update a component while its deployment status, or the deployment status of a service instance attached to it, is
746
+ * <code>IN_PROGRESS</code>.</p>
747
+ * </note>
748
+ * <p>For more information about components, see
749
+ * <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-components.html">Proton components</a> in the
750
+ * <i>Proton Administrator Guide</i>.</p>
751
+ */
752
+ updateComponent(args: UpdateComponentCommandInput, options?: __HttpHandlerOptions): Promise<UpdateComponentCommandOutput>;
753
+ updateComponent(args: UpdateComponentCommandInput, cb: (err: any, data?: UpdateComponentCommandOutput) => void): void;
754
+ updateComponent(args: UpdateComponentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateComponentCommandOutput) => void): void;
664
755
  /**
665
756
  * <p>Update an environment.</p>
666
757
  * <p>If the environment is associated with an environment account connection, <i>don't</i> update or include the
@@ -742,46 +833,26 @@ export declare class Proton extends ProtonClient {
742
833
  * </note>
743
834
  * <p>Use the <code>description</code> parameter to modify the description.</p>
744
835
  * <p>Edit the <code>spec</code> parameter to add or delete instances.</p>
836
+ * <note>
837
+ * <p>You can't delete a service instance (remove it from the spec) if it has an attached component.</p>
838
+ * <p>For more information about components, see
839
+ * <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-components.html">Proton components</a> in the
840
+ * <i>Proton Administrator Guide</i>.</p>
841
+ * </note>
745
842
  */
746
843
  updateService(args: UpdateServiceCommandInput, options?: __HttpHandlerOptions): Promise<UpdateServiceCommandOutput>;
747
844
  updateService(args: UpdateServiceCommandInput, cb: (err: any, data?: UpdateServiceCommandOutput) => void): void;
748
845
  updateService(args: UpdateServiceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateServiceCommandOutput) => void): void;
749
846
  /**
750
847
  * <p>Update a service instance.</p>
751
- * <p>There are four modes for updating a service instance. The <code>deploymentType</code> field defines the mode.</p>
752
- * <dl>
753
- * <dt/>
754
- * <dd>
755
- * <p>
756
- * <code>NONE</code>
757
- * </p>
758
- * <p>In this mode, a deployment <i>doesn't</i> occur. Only the requested metadata parameters are updated.</p>
759
- * </dd>
760
- * <dt/>
761
- * <dd>
762
- * <p>
763
- * <code>CURRENT_VERSION</code>
764
- * </p>
765
- * <p>In this mode, the service instance is deployed and updated with the new spec that you provide. Only requested parameters are updated.
766
- * <i>Don’t</i> include minor or major version parameters when you use this <code>deployment-type</code>.</p>
767
- * </dd>
768
- * <dt/>
769
- * <dd>
770
- * <p>
771
- * <code>MINOR_VERSION</code>
772
- * </p>
773
- * <p>In this mode, the service instance is deployed and updated with the published, recommended (latest) minor version of the current major version
774
- * in use, by default. You can also specify a different minor version of the current major version in use.</p>
775
- * </dd>
776
- * <dt/>
777
- * <dd>
778
- * <p>
779
- * <code>MAJOR_VERSION</code>
780
- * </p>
781
- * <p>In this mode, the service instance is deployed and updated with the published, recommended (latest) major and minor version of the current
782
- * template, by default. You can also specify a different major version that's higher than the major version in use and a minor version.</p>
783
- * </dd>
784
- * </dl>
848
+ * <p>There are a few modes for updating a service instance. The <code>deploymentType</code> field defines the mode.</p>
849
+ * <note>
850
+ * <p>You can't update a service instance while its deployment status, or the deployment status of a component attached to it, is
851
+ * <code>IN_PROGRESS</code>.</p>
852
+ * <p>For more information about components, see
853
+ * <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-components.html">Proton components</a> in the
854
+ * <i>Proton Administrator Guide</i>.</p>
855
+ * </note>
785
856
  */
786
857
  updateServiceInstance(args: UpdateServiceInstanceCommandInput, options?: __HttpHandlerOptions): Promise<UpdateServiceInstanceCommandOutput>;
787
858
  updateServiceInstance(args: UpdateServiceInstanceCommandInput, cb: (err: any, data?: UpdateServiceInstanceCommandOutput) => void): void;
@@ -7,9 +7,11 @@ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
7
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
8
  import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { AcceptEnvironmentAccountConnectionCommandInput, AcceptEnvironmentAccountConnectionCommandOutput } from "./commands/AcceptEnvironmentAccountConnectionCommand";
10
+ import { CancelComponentDeploymentCommandInput, CancelComponentDeploymentCommandOutput } from "./commands/CancelComponentDeploymentCommand";
10
11
  import { CancelEnvironmentDeploymentCommandInput, CancelEnvironmentDeploymentCommandOutput } from "./commands/CancelEnvironmentDeploymentCommand";
11
12
  import { CancelServiceInstanceDeploymentCommandInput, CancelServiceInstanceDeploymentCommandOutput } from "./commands/CancelServiceInstanceDeploymentCommand";
12
13
  import { CancelServicePipelineDeploymentCommandInput, CancelServicePipelineDeploymentCommandOutput } from "./commands/CancelServicePipelineDeploymentCommand";
14
+ import { CreateComponentCommandInput, CreateComponentCommandOutput } from "./commands/CreateComponentCommand";
13
15
  import { CreateEnvironmentAccountConnectionCommandInput, CreateEnvironmentAccountConnectionCommandOutput } from "./commands/CreateEnvironmentAccountConnectionCommand";
14
16
  import { CreateEnvironmentCommandInput, CreateEnvironmentCommandOutput } from "./commands/CreateEnvironmentCommand";
15
17
  import { CreateEnvironmentTemplateCommandInput, CreateEnvironmentTemplateCommandOutput } from "./commands/CreateEnvironmentTemplateCommand";
@@ -19,6 +21,7 @@ import { CreateServiceCommandInput, CreateServiceCommandOutput } from "./command
19
21
  import { CreateServiceTemplateCommandInput, CreateServiceTemplateCommandOutput } from "./commands/CreateServiceTemplateCommand";
20
22
  import { CreateServiceTemplateVersionCommandInput, CreateServiceTemplateVersionCommandOutput } from "./commands/CreateServiceTemplateVersionCommand";
21
23
  import { CreateTemplateSyncConfigCommandInput, CreateTemplateSyncConfigCommandOutput } from "./commands/CreateTemplateSyncConfigCommand";
24
+ import { DeleteComponentCommandInput, DeleteComponentCommandOutput } from "./commands/DeleteComponentCommand";
22
25
  import { DeleteEnvironmentAccountConnectionCommandInput, DeleteEnvironmentAccountConnectionCommandOutput } from "./commands/DeleteEnvironmentAccountConnectionCommand";
23
26
  import { DeleteEnvironmentCommandInput, DeleteEnvironmentCommandOutput } from "./commands/DeleteEnvironmentCommand";
24
27
  import { DeleteEnvironmentTemplateCommandInput, DeleteEnvironmentTemplateCommandOutput } from "./commands/DeleteEnvironmentTemplateCommand";
@@ -29,6 +32,7 @@ import { DeleteServiceTemplateCommandInput, DeleteServiceTemplateCommandOutput }
29
32
  import { DeleteServiceTemplateVersionCommandInput, DeleteServiceTemplateVersionCommandOutput } from "./commands/DeleteServiceTemplateVersionCommand";
30
33
  import { DeleteTemplateSyncConfigCommandInput, DeleteTemplateSyncConfigCommandOutput } from "./commands/DeleteTemplateSyncConfigCommand";
31
34
  import { GetAccountSettingsCommandInput, GetAccountSettingsCommandOutput } from "./commands/GetAccountSettingsCommand";
35
+ import { GetComponentCommandInput, GetComponentCommandOutput } from "./commands/GetComponentCommand";
32
36
  import { GetEnvironmentAccountConnectionCommandInput, GetEnvironmentAccountConnectionCommandOutput } from "./commands/GetEnvironmentAccountConnectionCommand";
33
37
  import { GetEnvironmentCommandInput, GetEnvironmentCommandOutput } from "./commands/GetEnvironmentCommand";
34
38
  import { GetEnvironmentTemplateCommandInput, GetEnvironmentTemplateCommandOutput } from "./commands/GetEnvironmentTemplateCommand";
@@ -41,6 +45,9 @@ import { GetServiceTemplateCommandInput, GetServiceTemplateCommandOutput } from
41
45
  import { GetServiceTemplateVersionCommandInput, GetServiceTemplateVersionCommandOutput } from "./commands/GetServiceTemplateVersionCommand";
42
46
  import { GetTemplateSyncConfigCommandInput, GetTemplateSyncConfigCommandOutput } from "./commands/GetTemplateSyncConfigCommand";
43
47
  import { GetTemplateSyncStatusCommandInput, GetTemplateSyncStatusCommandOutput } from "./commands/GetTemplateSyncStatusCommand";
48
+ import { ListComponentOutputsCommandInput, ListComponentOutputsCommandOutput } from "./commands/ListComponentOutputsCommand";
49
+ import { ListComponentProvisionedResourcesCommandInput, ListComponentProvisionedResourcesCommandOutput } from "./commands/ListComponentProvisionedResourcesCommand";
50
+ import { ListComponentsCommandInput, ListComponentsCommandOutput } from "./commands/ListComponentsCommand";
44
51
  import { ListEnvironmentAccountConnectionsCommandInput, ListEnvironmentAccountConnectionsCommandOutput } from "./commands/ListEnvironmentAccountConnectionsCommand";
45
52
  import { ListEnvironmentOutputsCommandInput, ListEnvironmentOutputsCommandOutput } from "./commands/ListEnvironmentOutputsCommand";
46
53
  import { ListEnvironmentProvisionedResourcesCommandInput, ListEnvironmentProvisionedResourcesCommandOutput } from "./commands/ListEnvironmentProvisionedResourcesCommand";
@@ -63,6 +70,7 @@ import { RejectEnvironmentAccountConnectionCommandInput, RejectEnvironmentAccoun
63
70
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
64
71
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
65
72
  import { UpdateAccountSettingsCommandInput, UpdateAccountSettingsCommandOutput } from "./commands/UpdateAccountSettingsCommand";
73
+ import { UpdateComponentCommandInput, UpdateComponentCommandOutput } from "./commands/UpdateComponentCommand";
66
74
  import { UpdateEnvironmentAccountConnectionCommandInput, UpdateEnvironmentAccountConnectionCommandOutput } from "./commands/UpdateEnvironmentAccountConnectionCommand";
67
75
  import { UpdateEnvironmentCommandInput, UpdateEnvironmentCommandOutput } from "./commands/UpdateEnvironmentCommand";
68
76
  import { UpdateEnvironmentTemplateCommandInput, UpdateEnvironmentTemplateCommandOutput } from "./commands/UpdateEnvironmentTemplateCommand";
@@ -73,8 +81,8 @@ import { UpdateServicePipelineCommandInput, UpdateServicePipelineCommandOutput }
73
81
  import { UpdateServiceTemplateCommandInput, UpdateServiceTemplateCommandOutput } from "./commands/UpdateServiceTemplateCommand";
74
82
  import { UpdateServiceTemplateVersionCommandInput, UpdateServiceTemplateVersionCommandOutput } from "./commands/UpdateServiceTemplateVersionCommand";
75
83
  import { UpdateTemplateSyncConfigCommandInput, UpdateTemplateSyncConfigCommandOutput } from "./commands/UpdateTemplateSyncConfigCommand";
76
- export declare type ServiceInputTypes = AcceptEnvironmentAccountConnectionCommandInput | CancelEnvironmentDeploymentCommandInput | CancelServiceInstanceDeploymentCommandInput | CancelServicePipelineDeploymentCommandInput | CreateEnvironmentAccountConnectionCommandInput | CreateEnvironmentCommandInput | CreateEnvironmentTemplateCommandInput | CreateEnvironmentTemplateVersionCommandInput | CreateRepositoryCommandInput | CreateServiceCommandInput | CreateServiceTemplateCommandInput | CreateServiceTemplateVersionCommandInput | CreateTemplateSyncConfigCommandInput | DeleteEnvironmentAccountConnectionCommandInput | DeleteEnvironmentCommandInput | DeleteEnvironmentTemplateCommandInput | DeleteEnvironmentTemplateVersionCommandInput | DeleteRepositoryCommandInput | DeleteServiceCommandInput | DeleteServiceTemplateCommandInput | DeleteServiceTemplateVersionCommandInput | DeleteTemplateSyncConfigCommandInput | GetAccountSettingsCommandInput | GetEnvironmentAccountConnectionCommandInput | GetEnvironmentCommandInput | GetEnvironmentTemplateCommandInput | GetEnvironmentTemplateVersionCommandInput | GetRepositoryCommandInput | GetRepositorySyncStatusCommandInput | GetServiceCommandInput | GetServiceInstanceCommandInput | GetServiceTemplateCommandInput | GetServiceTemplateVersionCommandInput | GetTemplateSyncConfigCommandInput | GetTemplateSyncStatusCommandInput | ListEnvironmentAccountConnectionsCommandInput | ListEnvironmentOutputsCommandInput | ListEnvironmentProvisionedResourcesCommandInput | ListEnvironmentTemplateVersionsCommandInput | ListEnvironmentTemplatesCommandInput | ListEnvironmentsCommandInput | ListRepositoriesCommandInput | ListRepositorySyncDefinitionsCommandInput | ListServiceInstanceOutputsCommandInput | ListServiceInstanceProvisionedResourcesCommandInput | ListServiceInstancesCommandInput | ListServicePipelineOutputsCommandInput | ListServicePipelineProvisionedResourcesCommandInput | ListServiceTemplateVersionsCommandInput | ListServiceTemplatesCommandInput | ListServicesCommandInput | ListTagsForResourceCommandInput | NotifyResourceDeploymentStatusChangeCommandInput | RejectEnvironmentAccountConnectionCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAccountSettingsCommandInput | UpdateEnvironmentAccountConnectionCommandInput | UpdateEnvironmentCommandInput | UpdateEnvironmentTemplateCommandInput | UpdateEnvironmentTemplateVersionCommandInput | UpdateServiceCommandInput | UpdateServiceInstanceCommandInput | UpdateServicePipelineCommandInput | UpdateServiceTemplateCommandInput | UpdateServiceTemplateVersionCommandInput | UpdateTemplateSyncConfigCommandInput;
77
- export declare type ServiceOutputTypes = AcceptEnvironmentAccountConnectionCommandOutput | CancelEnvironmentDeploymentCommandOutput | CancelServiceInstanceDeploymentCommandOutput | CancelServicePipelineDeploymentCommandOutput | CreateEnvironmentAccountConnectionCommandOutput | CreateEnvironmentCommandOutput | CreateEnvironmentTemplateCommandOutput | CreateEnvironmentTemplateVersionCommandOutput | CreateRepositoryCommandOutput | CreateServiceCommandOutput | CreateServiceTemplateCommandOutput | CreateServiceTemplateVersionCommandOutput | CreateTemplateSyncConfigCommandOutput | DeleteEnvironmentAccountConnectionCommandOutput | DeleteEnvironmentCommandOutput | DeleteEnvironmentTemplateCommandOutput | DeleteEnvironmentTemplateVersionCommandOutput | DeleteRepositoryCommandOutput | DeleteServiceCommandOutput | DeleteServiceTemplateCommandOutput | DeleteServiceTemplateVersionCommandOutput | DeleteTemplateSyncConfigCommandOutput | GetAccountSettingsCommandOutput | GetEnvironmentAccountConnectionCommandOutput | GetEnvironmentCommandOutput | GetEnvironmentTemplateCommandOutput | GetEnvironmentTemplateVersionCommandOutput | GetRepositoryCommandOutput | GetRepositorySyncStatusCommandOutput | GetServiceCommandOutput | GetServiceInstanceCommandOutput | GetServiceTemplateCommandOutput | GetServiceTemplateVersionCommandOutput | GetTemplateSyncConfigCommandOutput | GetTemplateSyncStatusCommandOutput | ListEnvironmentAccountConnectionsCommandOutput | ListEnvironmentOutputsCommandOutput | ListEnvironmentProvisionedResourcesCommandOutput | ListEnvironmentTemplateVersionsCommandOutput | ListEnvironmentTemplatesCommandOutput | ListEnvironmentsCommandOutput | ListRepositoriesCommandOutput | ListRepositorySyncDefinitionsCommandOutput | ListServiceInstanceOutputsCommandOutput | ListServiceInstanceProvisionedResourcesCommandOutput | ListServiceInstancesCommandOutput | ListServicePipelineOutputsCommandOutput | ListServicePipelineProvisionedResourcesCommandOutput | ListServiceTemplateVersionsCommandOutput | ListServiceTemplatesCommandOutput | ListServicesCommandOutput | ListTagsForResourceCommandOutput | NotifyResourceDeploymentStatusChangeCommandOutput | RejectEnvironmentAccountConnectionCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAccountSettingsCommandOutput | UpdateEnvironmentAccountConnectionCommandOutput | UpdateEnvironmentCommandOutput | UpdateEnvironmentTemplateCommandOutput | UpdateEnvironmentTemplateVersionCommandOutput | UpdateServiceCommandOutput | UpdateServiceInstanceCommandOutput | UpdateServicePipelineCommandOutput | UpdateServiceTemplateCommandOutput | UpdateServiceTemplateVersionCommandOutput | UpdateTemplateSyncConfigCommandOutput;
84
+ export declare type ServiceInputTypes = AcceptEnvironmentAccountConnectionCommandInput | CancelComponentDeploymentCommandInput | CancelEnvironmentDeploymentCommandInput | CancelServiceInstanceDeploymentCommandInput | CancelServicePipelineDeploymentCommandInput | CreateComponentCommandInput | CreateEnvironmentAccountConnectionCommandInput | CreateEnvironmentCommandInput | CreateEnvironmentTemplateCommandInput | CreateEnvironmentTemplateVersionCommandInput | CreateRepositoryCommandInput | CreateServiceCommandInput | CreateServiceTemplateCommandInput | CreateServiceTemplateVersionCommandInput | CreateTemplateSyncConfigCommandInput | DeleteComponentCommandInput | DeleteEnvironmentAccountConnectionCommandInput | DeleteEnvironmentCommandInput | DeleteEnvironmentTemplateCommandInput | DeleteEnvironmentTemplateVersionCommandInput | DeleteRepositoryCommandInput | DeleteServiceCommandInput | DeleteServiceTemplateCommandInput | DeleteServiceTemplateVersionCommandInput | DeleteTemplateSyncConfigCommandInput | GetAccountSettingsCommandInput | GetComponentCommandInput | GetEnvironmentAccountConnectionCommandInput | GetEnvironmentCommandInput | GetEnvironmentTemplateCommandInput | GetEnvironmentTemplateVersionCommandInput | GetRepositoryCommandInput | GetRepositorySyncStatusCommandInput | GetServiceCommandInput | GetServiceInstanceCommandInput | GetServiceTemplateCommandInput | GetServiceTemplateVersionCommandInput | GetTemplateSyncConfigCommandInput | GetTemplateSyncStatusCommandInput | ListComponentOutputsCommandInput | ListComponentProvisionedResourcesCommandInput | ListComponentsCommandInput | ListEnvironmentAccountConnectionsCommandInput | ListEnvironmentOutputsCommandInput | ListEnvironmentProvisionedResourcesCommandInput | ListEnvironmentTemplateVersionsCommandInput | ListEnvironmentTemplatesCommandInput | ListEnvironmentsCommandInput | ListRepositoriesCommandInput | ListRepositorySyncDefinitionsCommandInput | ListServiceInstanceOutputsCommandInput | ListServiceInstanceProvisionedResourcesCommandInput | ListServiceInstancesCommandInput | ListServicePipelineOutputsCommandInput | ListServicePipelineProvisionedResourcesCommandInput | ListServiceTemplateVersionsCommandInput | ListServiceTemplatesCommandInput | ListServicesCommandInput | ListTagsForResourceCommandInput | NotifyResourceDeploymentStatusChangeCommandInput | RejectEnvironmentAccountConnectionCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAccountSettingsCommandInput | UpdateComponentCommandInput | UpdateEnvironmentAccountConnectionCommandInput | UpdateEnvironmentCommandInput | UpdateEnvironmentTemplateCommandInput | UpdateEnvironmentTemplateVersionCommandInput | UpdateServiceCommandInput | UpdateServiceInstanceCommandInput | UpdateServicePipelineCommandInput | UpdateServiceTemplateCommandInput | UpdateServiceTemplateVersionCommandInput | UpdateTemplateSyncConfigCommandInput;
85
+ export declare type ServiceOutputTypes = AcceptEnvironmentAccountConnectionCommandOutput | CancelComponentDeploymentCommandOutput | CancelEnvironmentDeploymentCommandOutput | CancelServiceInstanceDeploymentCommandOutput | CancelServicePipelineDeploymentCommandOutput | CreateComponentCommandOutput | CreateEnvironmentAccountConnectionCommandOutput | CreateEnvironmentCommandOutput | CreateEnvironmentTemplateCommandOutput | CreateEnvironmentTemplateVersionCommandOutput | CreateRepositoryCommandOutput | CreateServiceCommandOutput | CreateServiceTemplateCommandOutput | CreateServiceTemplateVersionCommandOutput | CreateTemplateSyncConfigCommandOutput | DeleteComponentCommandOutput | DeleteEnvironmentAccountConnectionCommandOutput | DeleteEnvironmentCommandOutput | DeleteEnvironmentTemplateCommandOutput | DeleteEnvironmentTemplateVersionCommandOutput | DeleteRepositoryCommandOutput | DeleteServiceCommandOutput | DeleteServiceTemplateCommandOutput | DeleteServiceTemplateVersionCommandOutput | DeleteTemplateSyncConfigCommandOutput | GetAccountSettingsCommandOutput | GetComponentCommandOutput | GetEnvironmentAccountConnectionCommandOutput | GetEnvironmentCommandOutput | GetEnvironmentTemplateCommandOutput | GetEnvironmentTemplateVersionCommandOutput | GetRepositoryCommandOutput | GetRepositorySyncStatusCommandOutput | GetServiceCommandOutput | GetServiceInstanceCommandOutput | GetServiceTemplateCommandOutput | GetServiceTemplateVersionCommandOutput | GetTemplateSyncConfigCommandOutput | GetTemplateSyncStatusCommandOutput | ListComponentOutputsCommandOutput | ListComponentProvisionedResourcesCommandOutput | ListComponentsCommandOutput | ListEnvironmentAccountConnectionsCommandOutput | ListEnvironmentOutputsCommandOutput | ListEnvironmentProvisionedResourcesCommandOutput | ListEnvironmentTemplateVersionsCommandOutput | ListEnvironmentTemplatesCommandOutput | ListEnvironmentsCommandOutput | ListRepositoriesCommandOutput | ListRepositorySyncDefinitionsCommandOutput | ListServiceInstanceOutputsCommandOutput | ListServiceInstanceProvisionedResourcesCommandOutput | ListServiceInstancesCommandOutput | ListServicePipelineOutputsCommandOutput | ListServicePipelineProvisionedResourcesCommandOutput | ListServiceTemplateVersionsCommandOutput | ListServiceTemplatesCommandOutput | ListServicesCommandOutput | ListTagsForResourceCommandOutput | NotifyResourceDeploymentStatusChangeCommandOutput | RejectEnvironmentAccountConnectionCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAccountSettingsCommandOutput | UpdateComponentCommandOutput | UpdateEnvironmentAccountConnectionCommandOutput | UpdateEnvironmentCommandOutput | UpdateEnvironmentTemplateCommandOutput | UpdateEnvironmentTemplateVersionCommandOutput | UpdateServiceCommandOutput | UpdateServiceInstanceCommandOutput | UpdateServicePipelineCommandOutput | UpdateServiceTemplateCommandOutput | UpdateServiceTemplateVersionCommandOutput | UpdateTemplateSyncConfigCommandOutput;
78
86
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
79
87
  /**
80
88
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -0,0 +1,38 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { CancelComponentDeploymentInput, CancelComponentDeploymentOutput } from "../models/models_0";
4
+ import { ProtonClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ProtonClient";
5
+ export interface CancelComponentDeploymentCommandInput extends CancelComponentDeploymentInput {
6
+ }
7
+ export interface CancelComponentDeploymentCommandOutput extends CancelComponentDeploymentOutput, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Attempts to cancel a component deployment (for a component that is in the <code>IN_PROGRESS</code> deployment status).</p>
11
+ * <p>For more information about components, see
12
+ * <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-components.html">Proton components</a> in the
13
+ * <i>Proton Administrator Guide</i>.</p>
14
+ * @example
15
+ * Use a bare-bones client and the command you need to make an API call.
16
+ * ```javascript
17
+ * import { ProtonClient, CancelComponentDeploymentCommand } from "@aws-sdk/client-proton"; // ES Modules import
18
+ * // const { ProtonClient, CancelComponentDeploymentCommand } = require("@aws-sdk/client-proton"); // CommonJS import
19
+ * const client = new ProtonClient(config);
20
+ * const command = new CancelComponentDeploymentCommand(input);
21
+ * const response = await client.send(command);
22
+ * ```
23
+ *
24
+ * @see {@link CancelComponentDeploymentCommandInput} for command's `input` shape.
25
+ * @see {@link CancelComponentDeploymentCommandOutput} for command's `response` shape.
26
+ * @see {@link ProtonClientResolvedConfig | config} for ProtonClient's `config` shape.
27
+ *
28
+ */
29
+ export declare class CancelComponentDeploymentCommand extends $Command<CancelComponentDeploymentCommandInput, CancelComponentDeploymentCommandOutput, ProtonClientResolvedConfig> {
30
+ readonly input: CancelComponentDeploymentCommandInput;
31
+ constructor(input: CancelComponentDeploymentCommandInput);
32
+ /**
33
+ * @internal
34
+ */
35
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ProtonClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CancelComponentDeploymentCommandInput, CancelComponentDeploymentCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -0,0 +1,38 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { CreateComponentInput, CreateComponentOutput } from "../models/models_0";
4
+ import { ProtonClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ProtonClient";
5
+ export interface CreateComponentCommandInput extends CreateComponentInput {
6
+ }
7
+ export interface CreateComponentCommandOutput extends CreateComponentOutput, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Create an Proton component. A component is an infrastructure extension for a service instance.</p>
11
+ * <p>For more information about components, see
12
+ * <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-components.html">Proton components</a> in the
13
+ * <i>Proton Administrator Guide</i>.</p>
14
+ * @example
15
+ * Use a bare-bones client and the command you need to make an API call.
16
+ * ```javascript
17
+ * import { ProtonClient, CreateComponentCommand } from "@aws-sdk/client-proton"; // ES Modules import
18
+ * // const { ProtonClient, CreateComponentCommand } = require("@aws-sdk/client-proton"); // CommonJS import
19
+ * const client = new ProtonClient(config);
20
+ * const command = new CreateComponentCommand(input);
21
+ * const response = await client.send(command);
22
+ * ```
23
+ *
24
+ * @see {@link CreateComponentCommandInput} for command's `input` shape.
25
+ * @see {@link CreateComponentCommandOutput} for command's `response` shape.
26
+ * @see {@link ProtonClientResolvedConfig | config} for ProtonClient's `config` shape.
27
+ *
28
+ */
29
+ export declare class CreateComponentCommand extends $Command<CreateComponentCommandInput, CreateComponentCommandOutput, ProtonClientResolvedConfig> {
30
+ readonly input: CreateComponentCommandInput;
31
+ constructor(input: CreateComponentCommandInput);
32
+ /**
33
+ * @internal
34
+ */
35
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ProtonClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateComponentCommandInput, CreateComponentCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }