@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
@@ -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 { DeleteComponentInput, DeleteComponentOutput } from "../models/models_0";
4
+ import { ProtonClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ProtonClient";
5
+ export interface DeleteComponentCommandInput extends DeleteComponentInput {
6
+ }
7
+ export interface DeleteComponentCommandOutput extends DeleteComponentOutput, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Delete an Proton component resource.</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, DeleteComponentCommand } from "@aws-sdk/client-proton"; // ES Modules import
18
+ * // const { ProtonClient, DeleteComponentCommand } = require("@aws-sdk/client-proton"); // CommonJS import
19
+ * const client = new ProtonClient(config);
20
+ * const command = new DeleteComponentCommand(input);
21
+ * const response = await client.send(command);
22
+ * ```
23
+ *
24
+ * @see {@link DeleteComponentCommandInput} for command's `input` shape.
25
+ * @see {@link DeleteComponentCommandOutput} for command's `response` shape.
26
+ * @see {@link ProtonClientResolvedConfig | config} for ProtonClient's `config` shape.
27
+ *
28
+ */
29
+ export declare class DeleteComponentCommand extends $Command<DeleteComponentCommandInput, DeleteComponentCommandOutput, ProtonClientResolvedConfig> {
30
+ readonly input: DeleteComponentCommandInput;
31
+ constructor(input: DeleteComponentCommandInput);
32
+ /**
33
+ * @internal
34
+ */
35
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ProtonClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteComponentCommandInput, DeleteComponentCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -7,7 +7,13 @@ export interface DeleteServiceCommandInput extends DeleteServiceInput {
7
7
  export interface DeleteServiceCommandOutput extends DeleteServiceOutput, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Delete a service.</p>
10
+ * <p>Delete a service, with its instances and pipeline.</p>
11
+ * <note>
12
+ * <p>You can't delete a service if it has any service instances that have components attached to them.</p>
13
+ * <p>For more information about components, see
14
+ * <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-components.html">Proton components</a> in the
15
+ * <i>Proton Administrator Guide</i>.</p>
16
+ * </note>
11
17
  * @example
12
18
  * Use a bare-bones client and the command you need to make an API call.
13
19
  * ```javascript
@@ -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 { GetComponentInput, GetComponentOutput } from "../models/models_0";
4
+ import { ProtonClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ProtonClient";
5
+ export interface GetComponentCommandInput extends GetComponentInput {
6
+ }
7
+ export interface GetComponentCommandOutput extends GetComponentOutput, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Get detailed data for a component.</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, GetComponentCommand } from "@aws-sdk/client-proton"; // ES Modules import
18
+ * // const { ProtonClient, GetComponentCommand } = require("@aws-sdk/client-proton"); // CommonJS import
19
+ * const client = new ProtonClient(config);
20
+ * const command = new GetComponentCommand(input);
21
+ * const response = await client.send(command);
22
+ * ```
23
+ *
24
+ * @see {@link GetComponentCommandInput} for command's `input` shape.
25
+ * @see {@link GetComponentCommandOutput} for command's `response` shape.
26
+ * @see {@link ProtonClientResolvedConfig | config} for ProtonClient's `config` shape.
27
+ *
28
+ */
29
+ export declare class GetComponentCommand extends $Command<GetComponentCommandInput, GetComponentCommandOutput, ProtonClientResolvedConfig> {
30
+ readonly input: GetComponentCommandInput;
31
+ constructor(input: GetComponentCommandInput);
32
+ /**
33
+ * @internal
34
+ */
35
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ProtonClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetComponentCommandInput, GetComponentCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -7,7 +7,7 @@ export interface GetEnvironmentAccountConnectionCommandInput extends GetEnvironm
7
7
  export interface GetEnvironmentAccountConnectionCommandOutput extends GetEnvironmentAccountConnectionOutput, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>In an environment account, view the detail data for an environment account connection.</p>
10
+ * <p>In an environment account, get the detailed data for an environment account connection.</p>
11
11
  * <p>For more information, see <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-env-account-connections.html">Environment account
12
12
  * connections</a> in the <i>Proton Administrator guide</i>.</p>
13
13
  * @example
@@ -7,7 +7,7 @@ export interface GetEnvironmentCommandInput extends GetEnvironmentInput {
7
7
  export interface GetEnvironmentCommandOutput extends GetEnvironmentOutput, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Get detail data for an environment.</p>
10
+ * <p>Get detailed data for an environment.</p>
11
11
  * @example
12
12
  * Use a bare-bones client and the command you need to make an API call.
13
13
  * ```javascript
@@ -7,7 +7,7 @@ export interface GetEnvironmentTemplateCommandInput extends GetEnvironmentTempla
7
7
  export interface GetEnvironmentTemplateCommandOutput extends GetEnvironmentTemplateOutput, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Get detail data for an environment template.</p>
10
+ * <p>Get detailed data for an environment template.</p>
11
11
  * @example
12
12
  * Use a bare-bones client and the command you need to make an API call.
13
13
  * ```javascript
@@ -7,7 +7,7 @@ export interface GetEnvironmentTemplateVersionCommandInput extends GetEnvironmen
7
7
  export interface GetEnvironmentTemplateVersionCommandOutput extends GetEnvironmentTemplateVersionOutput, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>View detail data for a major or minor version of an environment template.</p>
10
+ * <p>Get detailed data for a major or minor version of an environment template.</p>
11
11
  * @example
12
12
  * Use a bare-bones client and the command you need to make an API call.
13
13
  * ```javascript
@@ -7,7 +7,7 @@ export interface GetServiceCommandInput extends GetServiceInput {
7
7
  export interface GetServiceCommandOutput extends GetServiceOutput, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Get detail data for a service.</p>
10
+ * <p>Get detailed data for a service.</p>
11
11
  * @example
12
12
  * Use a bare-bones client and the command you need to make an API call.
13
13
  * ```javascript
@@ -7,7 +7,7 @@ export interface GetServiceInstanceCommandInput extends GetServiceInstanceInput
7
7
  export interface GetServiceInstanceCommandOutput extends GetServiceInstanceOutput, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <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>
10
+ * <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>
11
11
  * @example
12
12
  * Use a bare-bones client and the command you need to make an API call.
13
13
  * ```javascript
@@ -7,7 +7,7 @@ export interface GetServiceTemplateCommandInput extends GetServiceTemplateInput
7
7
  export interface GetServiceTemplateCommandOutput extends GetServiceTemplateOutput, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Get detail data for a service template.</p>
10
+ * <p>Get detailed data for a service template.</p>
11
11
  * @example
12
12
  * Use a bare-bones client and the command you need to make an API call.
13
13
  * ```javascript
@@ -7,7 +7,7 @@ export interface GetServiceTemplateVersionCommandInput extends GetServiceTemplat
7
7
  export interface GetServiceTemplateVersionCommandOutput extends GetServiceTemplateVersionOutput, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>View detail data for a major or minor version of a service template.</p>
10
+ * <p>Get detailed data for a major or minor version of a service template.</p>
11
11
  * @example
12
12
  * Use a bare-bones client and the command you need to make an API call.
13
13
  * ```javascript
@@ -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 { ListComponentOutputsInput, ListComponentOutputsOutput } from "../models/models_0";
4
+ import { ProtonClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ProtonClient";
5
+ export interface ListComponentOutputsCommandInput extends ListComponentOutputsInput {
6
+ }
7
+ export interface ListComponentOutputsCommandOutput extends ListComponentOutputsOutput, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Get a list of component Infrastructure as Code (IaC) outputs.</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, ListComponentOutputsCommand } from "@aws-sdk/client-proton"; // ES Modules import
18
+ * // const { ProtonClient, ListComponentOutputsCommand } = require("@aws-sdk/client-proton"); // CommonJS import
19
+ * const client = new ProtonClient(config);
20
+ * const command = new ListComponentOutputsCommand(input);
21
+ * const response = await client.send(command);
22
+ * ```
23
+ *
24
+ * @see {@link ListComponentOutputsCommandInput} for command's `input` shape.
25
+ * @see {@link ListComponentOutputsCommandOutput} for command's `response` shape.
26
+ * @see {@link ProtonClientResolvedConfig | config} for ProtonClient's `config` shape.
27
+ *
28
+ */
29
+ export declare class ListComponentOutputsCommand extends $Command<ListComponentOutputsCommandInput, ListComponentOutputsCommandOutput, ProtonClientResolvedConfig> {
30
+ readonly input: ListComponentOutputsCommandInput;
31
+ constructor(input: ListComponentOutputsCommandInput);
32
+ /**
33
+ * @internal
34
+ */
35
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ProtonClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListComponentOutputsCommandInput, ListComponentOutputsCommandOutput>;
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 { ListComponentProvisionedResourcesInput, ListComponentProvisionedResourcesOutput } from "../models/models_0";
4
+ import { ProtonClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ProtonClient";
5
+ export interface ListComponentProvisionedResourcesCommandInput extends ListComponentProvisionedResourcesInput {
6
+ }
7
+ export interface ListComponentProvisionedResourcesCommandOutput extends ListComponentProvisionedResourcesOutput, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>List provisioned resources for a component with details.</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, ListComponentProvisionedResourcesCommand } from "@aws-sdk/client-proton"; // ES Modules import
18
+ * // const { ProtonClient, ListComponentProvisionedResourcesCommand } = require("@aws-sdk/client-proton"); // CommonJS import
19
+ * const client = new ProtonClient(config);
20
+ * const command = new ListComponentProvisionedResourcesCommand(input);
21
+ * const response = await client.send(command);
22
+ * ```
23
+ *
24
+ * @see {@link ListComponentProvisionedResourcesCommandInput} for command's `input` shape.
25
+ * @see {@link ListComponentProvisionedResourcesCommandOutput} for command's `response` shape.
26
+ * @see {@link ProtonClientResolvedConfig | config} for ProtonClient's `config` shape.
27
+ *
28
+ */
29
+ export declare class ListComponentProvisionedResourcesCommand extends $Command<ListComponentProvisionedResourcesCommandInput, ListComponentProvisionedResourcesCommandOutput, ProtonClientResolvedConfig> {
30
+ readonly input: ListComponentProvisionedResourcesCommandInput;
31
+ constructor(input: ListComponentProvisionedResourcesCommandInput);
32
+ /**
33
+ * @internal
34
+ */
35
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ProtonClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListComponentProvisionedResourcesCommandInput, ListComponentProvisionedResourcesCommandOutput>;
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 { ListComponentsInput, ListComponentsOutput } from "../models/models_0";
4
+ import { ProtonClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ProtonClient";
5
+ export interface ListComponentsCommandInput extends ListComponentsInput {
6
+ }
7
+ export interface ListComponentsCommandOutput extends ListComponentsOutput, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>List components with summary data. You can filter the result list by environment, service, or a single 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, ListComponentsCommand } from "@aws-sdk/client-proton"; // ES Modules import
18
+ * // const { ProtonClient, ListComponentsCommand } = require("@aws-sdk/client-proton"); // CommonJS import
19
+ * const client = new ProtonClient(config);
20
+ * const command = new ListComponentsCommand(input);
21
+ * const response = await client.send(command);
22
+ * ```
23
+ *
24
+ * @see {@link ListComponentsCommandInput} for command's `input` shape.
25
+ * @see {@link ListComponentsCommandOutput} for command's `response` shape.
26
+ * @see {@link ProtonClientResolvedConfig | config} for ProtonClient's `config` shape.
27
+ *
28
+ */
29
+ export declare class ListComponentsCommand extends $Command<ListComponentsCommandInput, ListComponentsCommandOutput, ProtonClientResolvedConfig> {
30
+ readonly input: ListComponentsCommandInput;
31
+ constructor(input: ListComponentsCommandInput);
32
+ /**
33
+ * @internal
34
+ */
35
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ProtonClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListComponentsCommandInput, ListComponentsCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -7,7 +7,7 @@ export interface ListServiceInstanceOutputsCommandInput extends ListServiceInsta
7
7
  export interface ListServiceInstanceOutputsCommandOutput extends ListServiceInstanceOutputsOutput, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>View a list service instance infrastructure as code outputs with detail data.</p>
10
+ * <p>Get a list service of instance Infrastructure as Code (IaC) outputs.</p>
11
11
  * @example
12
12
  * Use a bare-bones client and the command you need to make an API call.
13
13
  * ```javascript
@@ -7,7 +7,7 @@ export interface ListServiceInstancesCommandInput extends ListServiceInstancesIn
7
7
  export interface ListServiceInstancesCommandOutput extends ListServiceInstancesOutput, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>List service instances with summaries of detail data.</p>
10
+ * <p>List service instances with summary data.</p>
11
11
  * @example
12
12
  * Use a bare-bones client and the command you need to make an API call.
13
13
  * ```javascript
@@ -7,7 +7,7 @@ export interface ListServicePipelineOutputsCommandInput extends ListServicePipel
7
7
  export interface ListServicePipelineOutputsCommandOutput extends ListServicePipelineOutputsOutput, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>View a list service pipeline infrastructure as code outputs with detail.</p>
10
+ * <p>Get a list of service pipeline Infrastructure as Code (IaC) outputs.</p>
11
11
  * @example
12
12
  * Use a bare-bones client and the command you need to make an API call.
13
13
  * ```javascript
@@ -0,0 +1,43 @@
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 { UpdateComponentInput, UpdateComponentOutput } from "../models/models_0";
4
+ import { ProtonClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ProtonClient";
5
+ export interface UpdateComponentCommandInput extends UpdateComponentInput {
6
+ }
7
+ export interface UpdateComponentCommandOutput extends UpdateComponentOutput, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Update a component.</p>
11
+ * <p>There are a few modes for updating a component. The <code>deploymentType</code> field defines the mode.</p>
12
+ * <note>
13
+ * <p>You can't update a component while its deployment status, or the deployment status of a service instance attached to it, is
14
+ * <code>IN_PROGRESS</code>.</p>
15
+ * </note>
16
+ * <p>For more information about components, see
17
+ * <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-components.html">Proton components</a> in the
18
+ * <i>Proton Administrator Guide</i>.</p>
19
+ * @example
20
+ * Use a bare-bones client and the command you need to make an API call.
21
+ * ```javascript
22
+ * import { ProtonClient, UpdateComponentCommand } from "@aws-sdk/client-proton"; // ES Modules import
23
+ * // const { ProtonClient, UpdateComponentCommand } = require("@aws-sdk/client-proton"); // CommonJS import
24
+ * const client = new ProtonClient(config);
25
+ * const command = new UpdateComponentCommand(input);
26
+ * const response = await client.send(command);
27
+ * ```
28
+ *
29
+ * @see {@link UpdateComponentCommandInput} for command's `input` shape.
30
+ * @see {@link UpdateComponentCommandOutput} for command's `response` shape.
31
+ * @see {@link ProtonClientResolvedConfig | config} for ProtonClient's `config` shape.
32
+ *
33
+ */
34
+ export declare class UpdateComponentCommand extends $Command<UpdateComponentCommandInput, UpdateComponentCommandOutput, ProtonClientResolvedConfig> {
35
+ readonly input: UpdateComponentCommandInput;
36
+ constructor(input: UpdateComponentCommandInput);
37
+ /**
38
+ * @internal
39
+ */
40
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ProtonClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateComponentCommandInput, UpdateComponentCommandOutput>;
41
+ private serialize;
42
+ private deserialize;
43
+ }
@@ -13,6 +13,12 @@ export interface UpdateServiceCommandOutput extends UpdateServiceOutput, __Metad
13
13
  * </note>
14
14
  * <p>Use the <code>description</code> parameter to modify the description.</p>
15
15
  * <p>Edit the <code>spec</code> parameter to add or delete instances.</p>
16
+ * <note>
17
+ * <p>You can't delete a service instance (remove it from the spec) if it has an attached component.</p>
18
+ * <p>For more information about components, see
19
+ * <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-components.html">Proton components</a> in the
20
+ * <i>Proton Administrator Guide</i>.</p>
21
+ * </note>
16
22
  * @example
17
23
  * Use a bare-bones client and the command you need to make an API call.
18
24
  * ```javascript
@@ -8,40 +8,14 @@ export interface UpdateServiceInstanceCommandOutput extends UpdateServiceInstanc
8
8
  }
9
9
  /**
10
10
  * <p>Update a service instance.</p>
11
- * <p>There are four modes for updating a service instance. The <code>deploymentType</code> field defines the mode.</p>
12
- * <dl>
13
- * <dt/>
14
- * <dd>
15
- * <p>
16
- * <code>NONE</code>
17
- * </p>
18
- * <p>In this mode, a deployment <i>doesn't</i> occur. Only the requested metadata parameters are updated.</p>
19
- * </dd>
20
- * <dt/>
21
- * <dd>
22
- * <p>
23
- * <code>CURRENT_VERSION</code>
24
- * </p>
25
- * <p>In this mode, the service instance is deployed and updated with the new spec that you provide. Only requested parameters are updated.
26
- * <i>Don’t</i> include minor or major version parameters when you use this <code>deployment-type</code>.</p>
27
- * </dd>
28
- * <dt/>
29
- * <dd>
30
- * <p>
31
- * <code>MINOR_VERSION</code>
32
- * </p>
33
- * <p>In this mode, the service instance is deployed and updated with the published, recommended (latest) minor version of the current major version
34
- * in use, by default. You can also specify a different minor version of the current major version in use.</p>
35
- * </dd>
36
- * <dt/>
37
- * <dd>
38
- * <p>
39
- * <code>MAJOR_VERSION</code>
40
- * </p>
41
- * <p>In this mode, the service instance is deployed and updated with the published, recommended (latest) major and minor version of the current
42
- * 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>
43
- * </dd>
44
- * </dl>
11
+ * <p>There are a few modes for updating a service instance. The <code>deploymentType</code> field defines the mode.</p>
12
+ * <note>
13
+ * <p>You can't update a service instance while its deployment status, or the deployment status of a component attached to it, is
14
+ * <code>IN_PROGRESS</code>.</p>
15
+ * <p>For more information about components, see
16
+ * <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-components.html">Proton components</a> in the
17
+ * <i>Proton Administrator Guide</i>.</p>
18
+ * </note>
45
19
  * @example
46
20
  * Use a bare-bones client and the command you need to make an API call.
47
21
  * ```javascript
@@ -1,7 +1,9 @@
1
1
  export * from "./AcceptEnvironmentAccountConnectionCommand";
2
+ export * from "./CancelComponentDeploymentCommand";
2
3
  export * from "./CancelEnvironmentDeploymentCommand";
3
4
  export * from "./CancelServiceInstanceDeploymentCommand";
4
5
  export * from "./CancelServicePipelineDeploymentCommand";
6
+ export * from "./CreateComponentCommand";
5
7
  export * from "./CreateEnvironmentAccountConnectionCommand";
6
8
  export * from "./CreateEnvironmentCommand";
7
9
  export * from "./CreateEnvironmentTemplateCommand";
@@ -11,6 +13,7 @@ export * from "./CreateServiceCommand";
11
13
  export * from "./CreateServiceTemplateCommand";
12
14
  export * from "./CreateServiceTemplateVersionCommand";
13
15
  export * from "./CreateTemplateSyncConfigCommand";
16
+ export * from "./DeleteComponentCommand";
14
17
  export * from "./DeleteEnvironmentAccountConnectionCommand";
15
18
  export * from "./DeleteEnvironmentCommand";
16
19
  export * from "./DeleteEnvironmentTemplateCommand";
@@ -21,6 +24,7 @@ export * from "./DeleteServiceTemplateCommand";
21
24
  export * from "./DeleteServiceTemplateVersionCommand";
22
25
  export * from "./DeleteTemplateSyncConfigCommand";
23
26
  export * from "./GetAccountSettingsCommand";
27
+ export * from "./GetComponentCommand";
24
28
  export * from "./GetEnvironmentAccountConnectionCommand";
25
29
  export * from "./GetEnvironmentCommand";
26
30
  export * from "./GetEnvironmentTemplateCommand";
@@ -33,6 +37,9 @@ export * from "./GetServiceTemplateCommand";
33
37
  export * from "./GetServiceTemplateVersionCommand";
34
38
  export * from "./GetTemplateSyncConfigCommand";
35
39
  export * from "./GetTemplateSyncStatusCommand";
40
+ export * from "./ListComponentOutputsCommand";
41
+ export * from "./ListComponentProvisionedResourcesCommand";
42
+ export * from "./ListComponentsCommand";
36
43
  export * from "./ListEnvironmentAccountConnectionsCommand";
37
44
  export * from "./ListEnvironmentOutputsCommand";
38
45
  export * from "./ListEnvironmentProvisionedResourcesCommand";
@@ -55,6 +62,7 @@ export * from "./RejectEnvironmentAccountConnectionCommand";
55
62
  export * from "./TagResourceCommand";
56
63
  export * from "./UntagResourceCommand";
57
64
  export * from "./UpdateAccountSettingsCommand";
65
+ export * from "./UpdateComponentCommand";
58
66
  export * from "./UpdateEnvironmentAccountConnectionCommand";
59
67
  export * from "./UpdateEnvironmentCommand";
60
68
  export * from "./UpdateEnvironmentTemplateCommand";