@aws-sdk/client-proton 3.363.0 → 3.370.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -0
- package/dist-cjs/Proton.js +6 -0
- package/dist-cjs/commands/DeleteDeploymentCommand.js +47 -0
- package/dist-cjs/commands/GetDeploymentCommand.js +47 -0
- package/dist-cjs/commands/ListDeploymentsCommand.js +46 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/models/models_0.js +74 -3
- package/dist-cjs/pagination/ListDeploymentsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_0.js +297 -4
- package/dist-es/Proton.js +6 -0
- package/dist-es/commands/DeleteDeploymentCommand.js +43 -0
- package/dist-es/commands/GetDeploymentCommand.js +43 -0
- package/dist-es/commands/ListDeploymentsCommand.js +42 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +63 -0
- package/dist-es/pagination/ListDeploymentsPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_0.js +288 -1
- package/dist-types/Proton.d.ts +21 -0
- package/dist-types/ProtonClient.d.ts +5 -2
- package/dist-types/commands/CancelComponentDeploymentCommand.d.ts +2 -0
- package/dist-types/commands/CancelEnvironmentDeploymentCommand.d.ts +2 -0
- package/dist-types/commands/CancelServiceInstanceDeploymentCommand.d.ts +2 -0
- package/dist-types/commands/CancelServicePipelineDeploymentCommand.d.ts +2 -0
- package/dist-types/commands/CreateComponentCommand.d.ts +2 -0
- package/dist-types/commands/CreateEnvironmentCommand.d.ts +2 -0
- package/dist-types/commands/CreateServiceCommand.d.ts +2 -0
- package/dist-types/commands/CreateServiceInstanceCommand.d.ts +2 -0
- package/dist-types/commands/CreateTemplateSyncConfigCommand.d.ts +5 -8
- package/dist-types/commands/DeleteComponentCommand.d.ts +2 -0
- package/dist-types/commands/DeleteDeploymentCommand.d.ts +167 -0
- package/dist-types/commands/DeleteEnvironmentCommand.d.ts +2 -0
- package/dist-types/commands/DeleteServiceCommand.d.ts +2 -0
- package/dist-types/commands/GetComponentCommand.d.ts +2 -0
- package/dist-types/commands/GetDeploymentCommand.d.ts +171 -0
- package/dist-types/commands/GetEnvironmentCommand.d.ts +2 -0
- package/dist-types/commands/GetResourcesSummaryCommand.d.ts +7 -11
- package/dist-types/commands/GetServiceCommand.d.ts +2 -0
- package/dist-types/commands/GetServiceInstanceCommand.d.ts +2 -0
- package/dist-types/commands/ListComponentOutputsCommand.d.ts +1 -0
- package/dist-types/commands/ListComponentsCommand.d.ts +2 -0
- package/dist-types/commands/ListDeploymentsCommand.d.ts +112 -0
- package/dist-types/commands/ListEnvironmentOutputsCommand.d.ts +1 -0
- package/dist-types/commands/ListEnvironmentsCommand.d.ts +2 -0
- package/dist-types/commands/ListServiceInstanceOutputsCommand.d.ts +1 -0
- package/dist-types/commands/ListServiceInstancesCommand.d.ts +2 -0
- package/dist-types/commands/ListServicePipelineOutputsCommand.d.ts +1 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/dist-types/commands/NotifyResourceDeploymentStatusChangeCommand.d.ts +2 -4
- package/dist-types/commands/TagResourceCommand.d.ts +3 -4
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -4
- package/dist-types/commands/UpdateComponentCommand.d.ts +2 -0
- package/dist-types/commands/UpdateEnvironmentCommand.d.ts +2 -0
- package/dist-types/commands/UpdateServiceCommand.d.ts +2 -0
- package/dist-types/commands/UpdateServiceInstanceCommand.d.ts +2 -0
- package/dist-types/commands/UpdateServicePipelineCommand.d.ts +2 -0
- package/dist-types/commands/UpdateTemplateSyncConfigCommand.d.ts +3 -4
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +544 -23
- package/dist-types/pagination/ListDeploymentsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +27 -0
- package/dist-types/ts3.4/Proton.d.ts +51 -0
- package/dist-types/ts3.4/ProtonClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/DeleteDeploymentCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetDeploymentCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListDeploymentsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +191 -0
- package/dist-types/ts3.4/pagination/ListDeploymentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +36 -0
- package/package.json +17 -18
|
@@ -26,6 +26,7 @@ import { CreateServiceTemplateCommandInput, CreateServiceTemplateCommandOutput }
|
|
|
26
26
|
import { CreateServiceTemplateVersionCommandInput, CreateServiceTemplateVersionCommandOutput } from "./commands/CreateServiceTemplateVersionCommand";
|
|
27
27
|
import { CreateTemplateSyncConfigCommandInput, CreateTemplateSyncConfigCommandOutput } from "./commands/CreateTemplateSyncConfigCommand";
|
|
28
28
|
import { DeleteComponentCommandInput, DeleteComponentCommandOutput } from "./commands/DeleteComponentCommand";
|
|
29
|
+
import { DeleteDeploymentCommandInput, DeleteDeploymentCommandOutput } from "./commands/DeleteDeploymentCommand";
|
|
29
30
|
import { DeleteEnvironmentAccountConnectionCommandInput, DeleteEnvironmentAccountConnectionCommandOutput } from "./commands/DeleteEnvironmentAccountConnectionCommand";
|
|
30
31
|
import { DeleteEnvironmentCommandInput, DeleteEnvironmentCommandOutput } from "./commands/DeleteEnvironmentCommand";
|
|
31
32
|
import { DeleteEnvironmentTemplateCommandInput, DeleteEnvironmentTemplateCommandOutput } from "./commands/DeleteEnvironmentTemplateCommand";
|
|
@@ -38,6 +39,7 @@ import { DeleteServiceTemplateVersionCommandInput, DeleteServiceTemplateVersionC
|
|
|
38
39
|
import { DeleteTemplateSyncConfigCommandInput, DeleteTemplateSyncConfigCommandOutput } from "./commands/DeleteTemplateSyncConfigCommand";
|
|
39
40
|
import { GetAccountSettingsCommandInput, GetAccountSettingsCommandOutput } from "./commands/GetAccountSettingsCommand";
|
|
40
41
|
import { GetComponentCommandInput, GetComponentCommandOutput } from "./commands/GetComponentCommand";
|
|
42
|
+
import { GetDeploymentCommandInput, GetDeploymentCommandOutput } from "./commands/GetDeploymentCommand";
|
|
41
43
|
import { GetEnvironmentAccountConnectionCommandInput, GetEnvironmentAccountConnectionCommandOutput } from "./commands/GetEnvironmentAccountConnectionCommand";
|
|
42
44
|
import { GetEnvironmentCommandInput, GetEnvironmentCommandOutput } from "./commands/GetEnvironmentCommand";
|
|
43
45
|
import { GetEnvironmentTemplateCommandInput, GetEnvironmentTemplateCommandOutput } from "./commands/GetEnvironmentTemplateCommand";
|
|
@@ -57,6 +59,7 @@ import { GetTemplateSyncStatusCommandInput, GetTemplateSyncStatusCommandOutput }
|
|
|
57
59
|
import { ListComponentOutputsCommandInput, ListComponentOutputsCommandOutput } from "./commands/ListComponentOutputsCommand";
|
|
58
60
|
import { ListComponentProvisionedResourcesCommandInput, ListComponentProvisionedResourcesCommandOutput } from "./commands/ListComponentProvisionedResourcesCommand";
|
|
59
61
|
import { ListComponentsCommandInput, ListComponentsCommandOutput } from "./commands/ListComponentsCommand";
|
|
62
|
+
import { ListDeploymentsCommandInput, ListDeploymentsCommandOutput } from "./commands/ListDeploymentsCommand";
|
|
60
63
|
import { ListEnvironmentAccountConnectionsCommandInput, ListEnvironmentAccountConnectionsCommandOutput } from "./commands/ListEnvironmentAccountConnectionsCommand";
|
|
61
64
|
import { ListEnvironmentOutputsCommandInput, ListEnvironmentOutputsCommandOutput } from "./commands/ListEnvironmentOutputsCommand";
|
|
62
65
|
import { ListEnvironmentProvisionedResourcesCommandInput, ListEnvironmentProvisionedResourcesCommandOutput } from "./commands/ListEnvironmentProvisionedResourcesCommand";
|
|
@@ -97,11 +100,11 @@ export { __Client };
|
|
|
97
100
|
/**
|
|
98
101
|
* @public
|
|
99
102
|
*/
|
|
100
|
-
export type ServiceInputTypes = AcceptEnvironmentAccountConnectionCommandInput | CancelComponentDeploymentCommandInput | CancelEnvironmentDeploymentCommandInput | CancelServiceInstanceDeploymentCommandInput | CancelServicePipelineDeploymentCommandInput | CreateComponentCommandInput | CreateEnvironmentAccountConnectionCommandInput | CreateEnvironmentCommandInput | CreateEnvironmentTemplateCommandInput | CreateEnvironmentTemplateVersionCommandInput | CreateRepositoryCommandInput | CreateServiceCommandInput | CreateServiceInstanceCommandInput | CreateServiceSyncConfigCommandInput | CreateServiceTemplateCommandInput | CreateServiceTemplateVersionCommandInput | CreateTemplateSyncConfigCommandInput | DeleteComponentCommandInput | DeleteEnvironmentAccountConnectionCommandInput | DeleteEnvironmentCommandInput | DeleteEnvironmentTemplateCommandInput | DeleteEnvironmentTemplateVersionCommandInput | DeleteRepositoryCommandInput | DeleteServiceCommandInput | DeleteServiceSyncConfigCommandInput | DeleteServiceTemplateCommandInput | DeleteServiceTemplateVersionCommandInput | DeleteTemplateSyncConfigCommandInput | GetAccountSettingsCommandInput | GetComponentCommandInput | GetEnvironmentAccountConnectionCommandInput | GetEnvironmentCommandInput | GetEnvironmentTemplateCommandInput | GetEnvironmentTemplateVersionCommandInput | GetRepositoryCommandInput | GetRepositorySyncStatusCommandInput | GetResourcesSummaryCommandInput | GetServiceCommandInput | GetServiceInstanceCommandInput | GetServiceInstanceSyncStatusCommandInput | GetServiceSyncBlockerSummaryCommandInput | GetServiceSyncConfigCommandInput | 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 | UpdateServiceSyncBlockerCommandInput | UpdateServiceSyncConfigCommandInput | UpdateServiceTemplateCommandInput | UpdateServiceTemplateVersionCommandInput | UpdateTemplateSyncConfigCommandInput;
|
|
103
|
+
export type ServiceInputTypes = AcceptEnvironmentAccountConnectionCommandInput | CancelComponentDeploymentCommandInput | CancelEnvironmentDeploymentCommandInput | CancelServiceInstanceDeploymentCommandInput | CancelServicePipelineDeploymentCommandInput | CreateComponentCommandInput | CreateEnvironmentAccountConnectionCommandInput | CreateEnvironmentCommandInput | CreateEnvironmentTemplateCommandInput | CreateEnvironmentTemplateVersionCommandInput | CreateRepositoryCommandInput | CreateServiceCommandInput | CreateServiceInstanceCommandInput | CreateServiceSyncConfigCommandInput | CreateServiceTemplateCommandInput | CreateServiceTemplateVersionCommandInput | CreateTemplateSyncConfigCommandInput | DeleteComponentCommandInput | DeleteDeploymentCommandInput | DeleteEnvironmentAccountConnectionCommandInput | DeleteEnvironmentCommandInput | DeleteEnvironmentTemplateCommandInput | DeleteEnvironmentTemplateVersionCommandInput | DeleteRepositoryCommandInput | DeleteServiceCommandInput | DeleteServiceSyncConfigCommandInput | DeleteServiceTemplateCommandInput | DeleteServiceTemplateVersionCommandInput | DeleteTemplateSyncConfigCommandInput | GetAccountSettingsCommandInput | GetComponentCommandInput | GetDeploymentCommandInput | GetEnvironmentAccountConnectionCommandInput | GetEnvironmentCommandInput | GetEnvironmentTemplateCommandInput | GetEnvironmentTemplateVersionCommandInput | GetRepositoryCommandInput | GetRepositorySyncStatusCommandInput | GetResourcesSummaryCommandInput | GetServiceCommandInput | GetServiceInstanceCommandInput | GetServiceInstanceSyncStatusCommandInput | GetServiceSyncBlockerSummaryCommandInput | GetServiceSyncConfigCommandInput | GetServiceTemplateCommandInput | GetServiceTemplateVersionCommandInput | GetTemplateSyncConfigCommandInput | GetTemplateSyncStatusCommandInput | ListComponentOutputsCommandInput | ListComponentProvisionedResourcesCommandInput | ListComponentsCommandInput | ListDeploymentsCommandInput | 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 | UpdateServiceSyncBlockerCommandInput | UpdateServiceSyncConfigCommandInput | UpdateServiceTemplateCommandInput | UpdateServiceTemplateVersionCommandInput | UpdateTemplateSyncConfigCommandInput;
|
|
101
104
|
/**
|
|
102
105
|
* @public
|
|
103
106
|
*/
|
|
104
|
-
export type ServiceOutputTypes = AcceptEnvironmentAccountConnectionCommandOutput | CancelComponentDeploymentCommandOutput | CancelEnvironmentDeploymentCommandOutput | CancelServiceInstanceDeploymentCommandOutput | CancelServicePipelineDeploymentCommandOutput | CreateComponentCommandOutput | CreateEnvironmentAccountConnectionCommandOutput | CreateEnvironmentCommandOutput | CreateEnvironmentTemplateCommandOutput | CreateEnvironmentTemplateVersionCommandOutput | CreateRepositoryCommandOutput | CreateServiceCommandOutput | CreateServiceInstanceCommandOutput | CreateServiceSyncConfigCommandOutput | CreateServiceTemplateCommandOutput | CreateServiceTemplateVersionCommandOutput | CreateTemplateSyncConfigCommandOutput | DeleteComponentCommandOutput | DeleteEnvironmentAccountConnectionCommandOutput | DeleteEnvironmentCommandOutput | DeleteEnvironmentTemplateCommandOutput | DeleteEnvironmentTemplateVersionCommandOutput | DeleteRepositoryCommandOutput | DeleteServiceCommandOutput | DeleteServiceSyncConfigCommandOutput | DeleteServiceTemplateCommandOutput | DeleteServiceTemplateVersionCommandOutput | DeleteTemplateSyncConfigCommandOutput | GetAccountSettingsCommandOutput | GetComponentCommandOutput | GetEnvironmentAccountConnectionCommandOutput | GetEnvironmentCommandOutput | GetEnvironmentTemplateCommandOutput | GetEnvironmentTemplateVersionCommandOutput | GetRepositoryCommandOutput | GetRepositorySyncStatusCommandOutput | GetResourcesSummaryCommandOutput | GetServiceCommandOutput | GetServiceInstanceCommandOutput | GetServiceInstanceSyncStatusCommandOutput | GetServiceSyncBlockerSummaryCommandOutput | GetServiceSyncConfigCommandOutput | 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 | UpdateServiceSyncBlockerCommandOutput | UpdateServiceSyncConfigCommandOutput | UpdateServiceTemplateCommandOutput | UpdateServiceTemplateVersionCommandOutput | UpdateTemplateSyncConfigCommandOutput;
|
|
107
|
+
export type ServiceOutputTypes = AcceptEnvironmentAccountConnectionCommandOutput | CancelComponentDeploymentCommandOutput | CancelEnvironmentDeploymentCommandOutput | CancelServiceInstanceDeploymentCommandOutput | CancelServicePipelineDeploymentCommandOutput | CreateComponentCommandOutput | CreateEnvironmentAccountConnectionCommandOutput | CreateEnvironmentCommandOutput | CreateEnvironmentTemplateCommandOutput | CreateEnvironmentTemplateVersionCommandOutput | CreateRepositoryCommandOutput | CreateServiceCommandOutput | CreateServiceInstanceCommandOutput | CreateServiceSyncConfigCommandOutput | CreateServiceTemplateCommandOutput | CreateServiceTemplateVersionCommandOutput | CreateTemplateSyncConfigCommandOutput | DeleteComponentCommandOutput | DeleteDeploymentCommandOutput | DeleteEnvironmentAccountConnectionCommandOutput | DeleteEnvironmentCommandOutput | DeleteEnvironmentTemplateCommandOutput | DeleteEnvironmentTemplateVersionCommandOutput | DeleteRepositoryCommandOutput | DeleteServiceCommandOutput | DeleteServiceSyncConfigCommandOutput | DeleteServiceTemplateCommandOutput | DeleteServiceTemplateVersionCommandOutput | DeleteTemplateSyncConfigCommandOutput | GetAccountSettingsCommandOutput | GetComponentCommandOutput | GetDeploymentCommandOutput | GetEnvironmentAccountConnectionCommandOutput | GetEnvironmentCommandOutput | GetEnvironmentTemplateCommandOutput | GetEnvironmentTemplateVersionCommandOutput | GetRepositoryCommandOutput | GetRepositorySyncStatusCommandOutput | GetResourcesSummaryCommandOutput | GetServiceCommandOutput | GetServiceInstanceCommandOutput | GetServiceInstanceSyncStatusCommandOutput | GetServiceSyncBlockerSummaryCommandOutput | GetServiceSyncConfigCommandOutput | GetServiceTemplateCommandOutput | GetServiceTemplateVersionCommandOutput | GetTemplateSyncConfigCommandOutput | GetTemplateSyncStatusCommandOutput | ListComponentOutputsCommandOutput | ListComponentProvisionedResourcesCommandOutput | ListComponentsCommandOutput | ListDeploymentsCommandOutput | 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 | UpdateServiceSyncBlockerCommandOutput | UpdateServiceSyncConfigCommandOutput | UpdateServiceTemplateCommandOutput | UpdateServiceTemplateVersionCommandOutput | UpdateTemplateSyncConfigCommandOutput;
|
|
105
108
|
/**
|
|
106
109
|
* @public
|
|
107
110
|
*/
|
|
@@ -54,6 +54,8 @@ export interface CancelComponentDeploymentCommandOutput extends CancelComponentD
|
|
|
54
54
|
* // deploymentStatusMessage: "STRING_VALUE",
|
|
55
55
|
* // serviceSpec: "STRING_VALUE",
|
|
56
56
|
* // lastClientRequestToken: "STRING_VALUE",
|
|
57
|
+
* // lastAttemptedDeploymentId: "STRING_VALUE",
|
|
58
|
+
* // lastSucceededDeploymentId: "STRING_VALUE",
|
|
57
59
|
* // },
|
|
58
60
|
* // };
|
|
59
61
|
*
|
|
@@ -76,6 +76,8 @@ export interface CancelEnvironmentDeploymentCommandOutput extends CancelEnvironm
|
|
|
76
76
|
* // },
|
|
77
77
|
* // componentRoleArn: "STRING_VALUE",
|
|
78
78
|
* // codebuildRoleArn: "STRING_VALUE",
|
|
79
|
+
* // lastAttemptedDeploymentId: "STRING_VALUE",
|
|
80
|
+
* // lastSucceededDeploymentId: "STRING_VALUE",
|
|
79
81
|
* // },
|
|
80
82
|
* // };
|
|
81
83
|
*
|
|
@@ -70,6 +70,8 @@ export interface CancelServiceInstanceDeploymentCommandOutput extends CancelServ
|
|
|
70
70
|
* // deploymentStatusMessage: "STRING_VALUE",
|
|
71
71
|
* // spec: "STRING_VALUE",
|
|
72
72
|
* // lastClientRequestToken: "STRING_VALUE",
|
|
73
|
+
* // lastAttemptedDeploymentId: "STRING_VALUE",
|
|
74
|
+
* // lastSucceededDeploymentId: "STRING_VALUE",
|
|
73
75
|
* // },
|
|
74
76
|
* // };
|
|
75
77
|
*
|
|
@@ -65,6 +65,8 @@ export interface CancelServicePipelineDeploymentCommandOutput extends CancelServ
|
|
|
65
65
|
* // deploymentStatus: "STRING_VALUE", // required
|
|
66
66
|
* // deploymentStatusMessage: "STRING_VALUE",
|
|
67
67
|
* // spec: "STRING_VALUE",
|
|
68
|
+
* // lastAttemptedDeploymentId: "STRING_VALUE",
|
|
69
|
+
* // lastSucceededDeploymentId: "STRING_VALUE",
|
|
68
70
|
* // },
|
|
69
71
|
* // };
|
|
70
72
|
*
|
|
@@ -68,6 +68,8 @@ export interface CreateComponentCommandOutput extends CreateComponentOutput, __M
|
|
|
68
68
|
* // deploymentStatusMessage: "STRING_VALUE",
|
|
69
69
|
* // serviceSpec: "STRING_VALUE",
|
|
70
70
|
* // lastClientRequestToken: "STRING_VALUE",
|
|
71
|
+
* // lastAttemptedDeploymentId: "STRING_VALUE",
|
|
72
|
+
* // lastSucceededDeploymentId: "STRING_VALUE",
|
|
71
73
|
* // },
|
|
72
74
|
* // };
|
|
73
75
|
*
|
|
@@ -96,6 +96,8 @@ export interface CreateEnvironmentCommandOutput extends CreateEnvironmentOutput,
|
|
|
96
96
|
* // },
|
|
97
97
|
* // componentRoleArn: "STRING_VALUE",
|
|
98
98
|
* // codebuildRoleArn: "STRING_VALUE",
|
|
99
|
+
* // lastAttemptedDeploymentId: "STRING_VALUE",
|
|
100
|
+
* // lastSucceededDeploymentId: "STRING_VALUE",
|
|
99
101
|
* // },
|
|
100
102
|
* // };
|
|
101
103
|
*
|
|
@@ -74,6 +74,8 @@ export interface CreateServiceCommandOutput extends CreateServiceOutput, __Metad
|
|
|
74
74
|
* // deploymentStatus: "STRING_VALUE", // required
|
|
75
75
|
* // deploymentStatusMessage: "STRING_VALUE",
|
|
76
76
|
* // spec: "STRING_VALUE",
|
|
77
|
+
* // lastAttemptedDeploymentId: "STRING_VALUE",
|
|
78
|
+
* // lastSucceededDeploymentId: "STRING_VALUE",
|
|
77
79
|
* // },
|
|
78
80
|
* // repositoryConnectionArn: "STRING_VALUE",
|
|
79
81
|
* // repositoryId: "STRING_VALUE",
|
|
@@ -62,6 +62,8 @@ export interface CreateServiceInstanceCommandOutput extends CreateServiceInstanc
|
|
|
62
62
|
* // deploymentStatusMessage: "STRING_VALUE",
|
|
63
63
|
* // spec: "STRING_VALUE",
|
|
64
64
|
* // lastClientRequestToken: "STRING_VALUE",
|
|
65
|
+
* // lastAttemptedDeploymentId: "STRING_VALUE",
|
|
66
|
+
* // lastSucceededDeploymentId: "STRING_VALUE",
|
|
65
67
|
* // },
|
|
66
68
|
* // };
|
|
67
69
|
*
|
|
@@ -23,14 +23,11 @@ export interface CreateTemplateSyncConfigCommandOutput extends CreateTemplateSyn
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Set up a template to create new template versions automatically by tracking a linked
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
* of its template is created, if the version doesn’t already exist. For more information, see
|
|
32
|
-
* <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-template-sync-configs.html">Template
|
|
33
|
-
* sync configurations</a> in the <i>Proton User Guide</i>.</p>
|
|
26
|
+
* <p>Set up a template to create new template versions automatically by tracking a linked repository. A linked repository is a repository that has
|
|
27
|
+
* been registered with Proton. For more information, see <a>CreateRepository</a>.</p>
|
|
28
|
+
* <p>When a commit is pushed to your linked repository, Proton checks for changes to your repository template bundles. If it detects a template
|
|
29
|
+
* bundle change, a new major or minor version of its template is created, if the version doesn’t already exist. For more information, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-template-sync-configs.html">Template sync configurations</a> in the <i>Proton
|
|
30
|
+
* User Guide</i>.</p>
|
|
34
31
|
* @example
|
|
35
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
36
33
|
* ```javascript
|
|
@@ -54,6 +54,8 @@ export interface DeleteComponentCommandOutput extends DeleteComponentOutput, __M
|
|
|
54
54
|
* // deploymentStatusMessage: "STRING_VALUE",
|
|
55
55
|
* // serviceSpec: "STRING_VALUE",
|
|
56
56
|
* // lastClientRequestToken: "STRING_VALUE",
|
|
57
|
+
* // lastAttemptedDeploymentId: "STRING_VALUE",
|
|
58
|
+
* // lastSucceededDeploymentId: "STRING_VALUE",
|
|
57
59
|
* // },
|
|
58
60
|
* // };
|
|
59
61
|
*
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { DeleteDeploymentInput, DeleteDeploymentOutput } from "../models/models_0";
|
|
5
|
+
import { ProtonClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ProtonClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteDeploymentCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteDeploymentCommandInput extends DeleteDeploymentInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteDeploymentCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteDeploymentCommandOutput extends DeleteDeploymentOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Delete the deployment.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { ProtonClient, DeleteDeploymentCommand } from "@aws-sdk/client-proton"; // ES Modules import
|
|
31
|
+
* // const { ProtonClient, DeleteDeploymentCommand } = require("@aws-sdk/client-proton"); // CommonJS import
|
|
32
|
+
* const client = new ProtonClient(config);
|
|
33
|
+
* const input = { // DeleteDeploymentInput
|
|
34
|
+
* id: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
36
|
+
* const command = new DeleteDeploymentCommand(input);
|
|
37
|
+
* const response = await client.send(command);
|
|
38
|
+
* // { // DeleteDeploymentOutput
|
|
39
|
+
* // deployment: { // Deployment
|
|
40
|
+
* // id: "STRING_VALUE", // required
|
|
41
|
+
* // arn: "STRING_VALUE", // required
|
|
42
|
+
* // targetArn: "STRING_VALUE", // required
|
|
43
|
+
* // targetResourceCreatedAt: new Date("TIMESTAMP"), // required
|
|
44
|
+
* // targetResourceType: "STRING_VALUE", // required
|
|
45
|
+
* // environmentName: "STRING_VALUE", // required
|
|
46
|
+
* // serviceName: "STRING_VALUE",
|
|
47
|
+
* // serviceInstanceName: "STRING_VALUE",
|
|
48
|
+
* // componentName: "STRING_VALUE",
|
|
49
|
+
* // deploymentStatus: "STRING_VALUE", // required
|
|
50
|
+
* // deploymentStatusMessage: "STRING_VALUE",
|
|
51
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
52
|
+
* // lastModifiedAt: new Date("TIMESTAMP"), // required
|
|
53
|
+
* // completedAt: new Date("TIMESTAMP"),
|
|
54
|
+
* // lastAttemptedDeploymentId: "STRING_VALUE",
|
|
55
|
+
* // lastSucceededDeploymentId: "STRING_VALUE",
|
|
56
|
+
* // initialState: { // DeploymentState Union: only one key present
|
|
57
|
+
* // serviceInstance: { // ServiceInstanceState
|
|
58
|
+
* // spec: "STRING_VALUE", // required
|
|
59
|
+
* // templateName: "STRING_VALUE", // required
|
|
60
|
+
* // templateMajorVersion: "STRING_VALUE", // required
|
|
61
|
+
* // templateMinorVersion: "STRING_VALUE", // required
|
|
62
|
+
* // lastSuccessfulComponentDeploymentIds: [ // ComponentDeploymentIdList
|
|
63
|
+
* // "STRING_VALUE",
|
|
64
|
+
* // ],
|
|
65
|
+
* // lastSuccessfulEnvironmentDeploymentId: "STRING_VALUE",
|
|
66
|
+
* // lastSuccessfulServicePipelineDeploymentId: "STRING_VALUE",
|
|
67
|
+
* // },
|
|
68
|
+
* // environment: { // EnvironmentState
|
|
69
|
+
* // spec: "STRING_VALUE",
|
|
70
|
+
* // templateName: "STRING_VALUE", // required
|
|
71
|
+
* // templateMajorVersion: "STRING_VALUE", // required
|
|
72
|
+
* // templateMinorVersion: "STRING_VALUE", // required
|
|
73
|
+
* // },
|
|
74
|
+
* // servicePipeline: { // ServicePipelineState
|
|
75
|
+
* // spec: "STRING_VALUE",
|
|
76
|
+
* // templateName: "STRING_VALUE", // required
|
|
77
|
+
* // templateMajorVersion: "STRING_VALUE", // required
|
|
78
|
+
* // templateMinorVersion: "STRING_VALUE", // required
|
|
79
|
+
* // },
|
|
80
|
+
* // component: { // ComponentState
|
|
81
|
+
* // serviceName: "STRING_VALUE",
|
|
82
|
+
* // serviceInstanceName: "STRING_VALUE",
|
|
83
|
+
* // serviceSpec: "STRING_VALUE",
|
|
84
|
+
* // templateFile: "STRING_VALUE",
|
|
85
|
+
* // },
|
|
86
|
+
* // },
|
|
87
|
+
* // targetState: {// Union: only one key present
|
|
88
|
+
* // serviceInstance: {
|
|
89
|
+
* // spec: "STRING_VALUE", // required
|
|
90
|
+
* // templateName: "STRING_VALUE", // required
|
|
91
|
+
* // templateMajorVersion: "STRING_VALUE", // required
|
|
92
|
+
* // templateMinorVersion: "STRING_VALUE", // required
|
|
93
|
+
* // lastSuccessfulComponentDeploymentIds: [
|
|
94
|
+
* // "STRING_VALUE",
|
|
95
|
+
* // ],
|
|
96
|
+
* // lastSuccessfulEnvironmentDeploymentId: "STRING_VALUE",
|
|
97
|
+
* // lastSuccessfulServicePipelineDeploymentId: "STRING_VALUE",
|
|
98
|
+
* // },
|
|
99
|
+
* // environment: {
|
|
100
|
+
* // spec: "STRING_VALUE",
|
|
101
|
+
* // templateName: "STRING_VALUE", // required
|
|
102
|
+
* // templateMajorVersion: "STRING_VALUE", // required
|
|
103
|
+
* // templateMinorVersion: "STRING_VALUE", // required
|
|
104
|
+
* // },
|
|
105
|
+
* // servicePipeline: {
|
|
106
|
+
* // spec: "STRING_VALUE",
|
|
107
|
+
* // templateName: "STRING_VALUE", // required
|
|
108
|
+
* // templateMajorVersion: "STRING_VALUE", // required
|
|
109
|
+
* // templateMinorVersion: "STRING_VALUE", // required
|
|
110
|
+
* // },
|
|
111
|
+
* // component: {
|
|
112
|
+
* // serviceName: "STRING_VALUE",
|
|
113
|
+
* // serviceInstanceName: "STRING_VALUE",
|
|
114
|
+
* // serviceSpec: "STRING_VALUE",
|
|
115
|
+
* // templateFile: "STRING_VALUE",
|
|
116
|
+
* // },
|
|
117
|
+
* // },
|
|
118
|
+
* // },
|
|
119
|
+
* // };
|
|
120
|
+
*
|
|
121
|
+
* ```
|
|
122
|
+
*
|
|
123
|
+
* @param DeleteDeploymentCommandInput - {@link DeleteDeploymentCommandInput}
|
|
124
|
+
* @returns {@link DeleteDeploymentCommandOutput}
|
|
125
|
+
* @see {@link DeleteDeploymentCommandInput} for command's `input` shape.
|
|
126
|
+
* @see {@link DeleteDeploymentCommandOutput} for command's `response` shape.
|
|
127
|
+
* @see {@link ProtonClientResolvedConfig | config} for ProtonClient's `config` shape.
|
|
128
|
+
*
|
|
129
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
130
|
+
* <p>There <i>isn't</i> sufficient access for performing this action.</p>
|
|
131
|
+
*
|
|
132
|
+
* @throws {@link InternalServerException} (server fault)
|
|
133
|
+
* <p>The request failed to register with the service.</p>
|
|
134
|
+
*
|
|
135
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
136
|
+
* <p>The requested resource <i>wasn't</i> found.</p>
|
|
137
|
+
*
|
|
138
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
139
|
+
* <p>The request was denied due to request throttling.</p>
|
|
140
|
+
*
|
|
141
|
+
* @throws {@link ValidationException} (client fault)
|
|
142
|
+
* <p>The input is invalid or an out-of-range value was supplied for the input parameter.</p>
|
|
143
|
+
*
|
|
144
|
+
* @throws {@link ProtonServiceException}
|
|
145
|
+
* <p>Base exception class for all service exceptions from Proton service.</p>
|
|
146
|
+
*
|
|
147
|
+
*/
|
|
148
|
+
export declare class DeleteDeploymentCommand extends $Command<DeleteDeploymentCommandInput, DeleteDeploymentCommandOutput, ProtonClientResolvedConfig> {
|
|
149
|
+
readonly input: DeleteDeploymentCommandInput;
|
|
150
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
151
|
+
/**
|
|
152
|
+
* @public
|
|
153
|
+
*/
|
|
154
|
+
constructor(input: DeleteDeploymentCommandInput);
|
|
155
|
+
/**
|
|
156
|
+
* @internal
|
|
157
|
+
*/
|
|
158
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ProtonClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteDeploymentCommandInput, DeleteDeploymentCommandOutput>;
|
|
159
|
+
/**
|
|
160
|
+
* @internal
|
|
161
|
+
*/
|
|
162
|
+
private serialize;
|
|
163
|
+
/**
|
|
164
|
+
* @internal
|
|
165
|
+
*/
|
|
166
|
+
private deserialize;
|
|
167
|
+
}
|
|
@@ -61,6 +61,8 @@ export interface DeleteEnvironmentCommandOutput extends DeleteEnvironmentOutput,
|
|
|
61
61
|
* // },
|
|
62
62
|
* // componentRoleArn: "STRING_VALUE",
|
|
63
63
|
* // codebuildRoleArn: "STRING_VALUE",
|
|
64
|
+
* // lastAttemptedDeploymentId: "STRING_VALUE",
|
|
65
|
+
* // lastSucceededDeploymentId: "STRING_VALUE",
|
|
64
66
|
* // },
|
|
65
67
|
* // };
|
|
66
68
|
*
|
|
@@ -64,6 +64,8 @@ export interface DeleteServiceCommandOutput extends DeleteServiceOutput, __Metad
|
|
|
64
64
|
* // deploymentStatus: "STRING_VALUE", // required
|
|
65
65
|
* // deploymentStatusMessage: "STRING_VALUE",
|
|
66
66
|
* // spec: "STRING_VALUE",
|
|
67
|
+
* // lastAttemptedDeploymentId: "STRING_VALUE",
|
|
68
|
+
* // lastSucceededDeploymentId: "STRING_VALUE",
|
|
67
69
|
* // },
|
|
68
70
|
* // repositoryConnectionArn: "STRING_VALUE",
|
|
69
71
|
* // repositoryId: "STRING_VALUE",
|
|
@@ -54,6 +54,8 @@ export interface GetComponentCommandOutput extends GetComponentOutput, __Metadat
|
|
|
54
54
|
* // deploymentStatusMessage: "STRING_VALUE",
|
|
55
55
|
* // serviceSpec: "STRING_VALUE",
|
|
56
56
|
* // lastClientRequestToken: "STRING_VALUE",
|
|
57
|
+
* // lastAttemptedDeploymentId: "STRING_VALUE",
|
|
58
|
+
* // lastSucceededDeploymentId: "STRING_VALUE",
|
|
57
59
|
* // },
|
|
58
60
|
* // };
|
|
59
61
|
*
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { GetDeploymentInput, GetDeploymentOutput } from "../models/models_0";
|
|
5
|
+
import { ProtonClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ProtonClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetDeploymentCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetDeploymentCommandInput extends GetDeploymentInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetDeploymentCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetDeploymentCommandOutput extends GetDeploymentOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Get detailed data for a deployment.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { ProtonClient, GetDeploymentCommand } from "@aws-sdk/client-proton"; // ES Modules import
|
|
31
|
+
* // const { ProtonClient, GetDeploymentCommand } = require("@aws-sdk/client-proton"); // CommonJS import
|
|
32
|
+
* const client = new ProtonClient(config);
|
|
33
|
+
* const input = { // GetDeploymentInput
|
|
34
|
+
* id: "STRING_VALUE", // required
|
|
35
|
+
* environmentName: "STRING_VALUE",
|
|
36
|
+
* serviceName: "STRING_VALUE",
|
|
37
|
+
* serviceInstanceName: "STRING_VALUE",
|
|
38
|
+
* componentName: "STRING_VALUE",
|
|
39
|
+
* };
|
|
40
|
+
* const command = new GetDeploymentCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // GetDeploymentOutput
|
|
43
|
+
* // deployment: { // Deployment
|
|
44
|
+
* // id: "STRING_VALUE", // required
|
|
45
|
+
* // arn: "STRING_VALUE", // required
|
|
46
|
+
* // targetArn: "STRING_VALUE", // required
|
|
47
|
+
* // targetResourceCreatedAt: new Date("TIMESTAMP"), // required
|
|
48
|
+
* // targetResourceType: "STRING_VALUE", // required
|
|
49
|
+
* // environmentName: "STRING_VALUE", // required
|
|
50
|
+
* // serviceName: "STRING_VALUE",
|
|
51
|
+
* // serviceInstanceName: "STRING_VALUE",
|
|
52
|
+
* // componentName: "STRING_VALUE",
|
|
53
|
+
* // deploymentStatus: "STRING_VALUE", // required
|
|
54
|
+
* // deploymentStatusMessage: "STRING_VALUE",
|
|
55
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
56
|
+
* // lastModifiedAt: new Date("TIMESTAMP"), // required
|
|
57
|
+
* // completedAt: new Date("TIMESTAMP"),
|
|
58
|
+
* // lastAttemptedDeploymentId: "STRING_VALUE",
|
|
59
|
+
* // lastSucceededDeploymentId: "STRING_VALUE",
|
|
60
|
+
* // initialState: { // DeploymentState Union: only one key present
|
|
61
|
+
* // serviceInstance: { // ServiceInstanceState
|
|
62
|
+
* // spec: "STRING_VALUE", // required
|
|
63
|
+
* // templateName: "STRING_VALUE", // required
|
|
64
|
+
* // templateMajorVersion: "STRING_VALUE", // required
|
|
65
|
+
* // templateMinorVersion: "STRING_VALUE", // required
|
|
66
|
+
* // lastSuccessfulComponentDeploymentIds: [ // ComponentDeploymentIdList
|
|
67
|
+
* // "STRING_VALUE",
|
|
68
|
+
* // ],
|
|
69
|
+
* // lastSuccessfulEnvironmentDeploymentId: "STRING_VALUE",
|
|
70
|
+
* // lastSuccessfulServicePipelineDeploymentId: "STRING_VALUE",
|
|
71
|
+
* // },
|
|
72
|
+
* // environment: { // EnvironmentState
|
|
73
|
+
* // spec: "STRING_VALUE",
|
|
74
|
+
* // templateName: "STRING_VALUE", // required
|
|
75
|
+
* // templateMajorVersion: "STRING_VALUE", // required
|
|
76
|
+
* // templateMinorVersion: "STRING_VALUE", // required
|
|
77
|
+
* // },
|
|
78
|
+
* // servicePipeline: { // ServicePipelineState
|
|
79
|
+
* // spec: "STRING_VALUE",
|
|
80
|
+
* // templateName: "STRING_VALUE", // required
|
|
81
|
+
* // templateMajorVersion: "STRING_VALUE", // required
|
|
82
|
+
* // templateMinorVersion: "STRING_VALUE", // required
|
|
83
|
+
* // },
|
|
84
|
+
* // component: { // ComponentState
|
|
85
|
+
* // serviceName: "STRING_VALUE",
|
|
86
|
+
* // serviceInstanceName: "STRING_VALUE",
|
|
87
|
+
* // serviceSpec: "STRING_VALUE",
|
|
88
|
+
* // templateFile: "STRING_VALUE",
|
|
89
|
+
* // },
|
|
90
|
+
* // },
|
|
91
|
+
* // targetState: {// Union: only one key present
|
|
92
|
+
* // serviceInstance: {
|
|
93
|
+
* // spec: "STRING_VALUE", // required
|
|
94
|
+
* // templateName: "STRING_VALUE", // required
|
|
95
|
+
* // templateMajorVersion: "STRING_VALUE", // required
|
|
96
|
+
* // templateMinorVersion: "STRING_VALUE", // required
|
|
97
|
+
* // lastSuccessfulComponentDeploymentIds: [
|
|
98
|
+
* // "STRING_VALUE",
|
|
99
|
+
* // ],
|
|
100
|
+
* // lastSuccessfulEnvironmentDeploymentId: "STRING_VALUE",
|
|
101
|
+
* // lastSuccessfulServicePipelineDeploymentId: "STRING_VALUE",
|
|
102
|
+
* // },
|
|
103
|
+
* // environment: {
|
|
104
|
+
* // spec: "STRING_VALUE",
|
|
105
|
+
* // templateName: "STRING_VALUE", // required
|
|
106
|
+
* // templateMajorVersion: "STRING_VALUE", // required
|
|
107
|
+
* // templateMinorVersion: "STRING_VALUE", // required
|
|
108
|
+
* // },
|
|
109
|
+
* // servicePipeline: {
|
|
110
|
+
* // spec: "STRING_VALUE",
|
|
111
|
+
* // templateName: "STRING_VALUE", // required
|
|
112
|
+
* // templateMajorVersion: "STRING_VALUE", // required
|
|
113
|
+
* // templateMinorVersion: "STRING_VALUE", // required
|
|
114
|
+
* // },
|
|
115
|
+
* // component: {
|
|
116
|
+
* // serviceName: "STRING_VALUE",
|
|
117
|
+
* // serviceInstanceName: "STRING_VALUE",
|
|
118
|
+
* // serviceSpec: "STRING_VALUE",
|
|
119
|
+
* // templateFile: "STRING_VALUE",
|
|
120
|
+
* // },
|
|
121
|
+
* // },
|
|
122
|
+
* // },
|
|
123
|
+
* // };
|
|
124
|
+
*
|
|
125
|
+
* ```
|
|
126
|
+
*
|
|
127
|
+
* @param GetDeploymentCommandInput - {@link GetDeploymentCommandInput}
|
|
128
|
+
* @returns {@link GetDeploymentCommandOutput}
|
|
129
|
+
* @see {@link GetDeploymentCommandInput} for command's `input` shape.
|
|
130
|
+
* @see {@link GetDeploymentCommandOutput} for command's `response` shape.
|
|
131
|
+
* @see {@link ProtonClientResolvedConfig | config} for ProtonClient's `config` shape.
|
|
132
|
+
*
|
|
133
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
134
|
+
* <p>There <i>isn't</i> sufficient access for performing this action.</p>
|
|
135
|
+
*
|
|
136
|
+
* @throws {@link InternalServerException} (server fault)
|
|
137
|
+
* <p>The request failed to register with the service.</p>
|
|
138
|
+
*
|
|
139
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
140
|
+
* <p>The requested resource <i>wasn't</i> found.</p>
|
|
141
|
+
*
|
|
142
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
143
|
+
* <p>The request was denied due to request throttling.</p>
|
|
144
|
+
*
|
|
145
|
+
* @throws {@link ValidationException} (client fault)
|
|
146
|
+
* <p>The input is invalid or an out-of-range value was supplied for the input parameter.</p>
|
|
147
|
+
*
|
|
148
|
+
* @throws {@link ProtonServiceException}
|
|
149
|
+
* <p>Base exception class for all service exceptions from Proton service.</p>
|
|
150
|
+
*
|
|
151
|
+
*/
|
|
152
|
+
export declare class GetDeploymentCommand extends $Command<GetDeploymentCommandInput, GetDeploymentCommandOutput, ProtonClientResolvedConfig> {
|
|
153
|
+
readonly input: GetDeploymentCommandInput;
|
|
154
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
155
|
+
/**
|
|
156
|
+
* @public
|
|
157
|
+
*/
|
|
158
|
+
constructor(input: GetDeploymentCommandInput);
|
|
159
|
+
/**
|
|
160
|
+
* @internal
|
|
161
|
+
*/
|
|
162
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ProtonClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetDeploymentCommandInput, GetDeploymentCommandOutput>;
|
|
163
|
+
/**
|
|
164
|
+
* @internal
|
|
165
|
+
*/
|
|
166
|
+
private serialize;
|
|
167
|
+
/**
|
|
168
|
+
* @internal
|
|
169
|
+
*/
|
|
170
|
+
private deserialize;
|
|
171
|
+
}
|
|
@@ -61,6 +61,8 @@ export interface GetEnvironmentCommandOutput extends GetEnvironmentOutput, __Met
|
|
|
61
61
|
* // },
|
|
62
62
|
* // componentRoleArn: "STRING_VALUE",
|
|
63
63
|
* // codebuildRoleArn: "STRING_VALUE",
|
|
64
|
+
* // lastAttemptedDeploymentId: "STRING_VALUE",
|
|
65
|
+
* // lastSucceededDeploymentId: "STRING_VALUE",
|
|
64
66
|
* // },
|
|
65
67
|
* // };
|
|
66
68
|
*
|
|
@@ -24,17 +24,13 @@ export interface GetResourcesSummaryCommandOutput extends GetResourcesSummaryOut
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Get counts of Proton resources.</p>
|
|
27
|
-
* <p>For infrastructure-provisioning resources (environments, services, service instances,
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
* environments, and service templates return less information - see the <code>components</code>,
|
|
35
|
-
* <code>environments</code>, and <code>serviceTemplates</code> field descriptions.</p>
|
|
36
|
-
* <p>For context, the action also returns the total number of each type of Proton template in the
|
|
37
|
-
* Amazon Web Services account.</p>
|
|
27
|
+
* <p>For infrastructure-provisioning resources (environments, services, service instances, pipelines), the action returns staleness counts. A
|
|
28
|
+
* resource is stale when it's behind the recommended version of the Proton template that it uses and it needs an update to become current.</p>
|
|
29
|
+
* <p>The action returns staleness counts (counts of resources that are up-to-date, behind a template major version, or behind a template minor
|
|
30
|
+
* version), the total number of resources, and the number of resources that are in a failed state, grouped by resource type. Components,
|
|
31
|
+
* environments, and service templates return less information - see the <code>components</code>, <code>environments</code>, and
|
|
32
|
+
* <code>serviceTemplates</code> field descriptions.</p>
|
|
33
|
+
* <p>For context, the action also returns the total number of each type of Proton template in the Amazon Web Services account.</p>
|
|
38
34
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/monitoring-dashboard.html">Proton dashboard</a> in the
|
|
39
35
|
* <i>Proton User Guide</i>.</p>
|
|
40
36
|
* @example
|
|
@@ -57,6 +57,8 @@ export interface GetServiceCommandOutput extends GetServiceOutput, __MetadataBea
|
|
|
57
57
|
* // deploymentStatus: "STRING_VALUE", // required
|
|
58
58
|
* // deploymentStatusMessage: "STRING_VALUE",
|
|
59
59
|
* // spec: "STRING_VALUE",
|
|
60
|
+
* // lastAttemptedDeploymentId: "STRING_VALUE",
|
|
61
|
+
* // lastSucceededDeploymentId: "STRING_VALUE",
|
|
60
62
|
* // },
|
|
61
63
|
* // repositoryConnectionArn: "STRING_VALUE",
|
|
62
64
|
* // repositoryId: "STRING_VALUE",
|
|
@@ -53,6 +53,8 @@ export interface GetServiceInstanceCommandOutput extends GetServiceInstanceOutpu
|
|
|
53
53
|
* // deploymentStatusMessage: "STRING_VALUE",
|
|
54
54
|
* // spec: "STRING_VALUE",
|
|
55
55
|
* // lastClientRequestToken: "STRING_VALUE",
|
|
56
|
+
* // lastAttemptedDeploymentId: "STRING_VALUE",
|
|
57
|
+
* // lastSucceededDeploymentId: "STRING_VALUE",
|
|
56
58
|
* // },
|
|
57
59
|
* // };
|
|
58
60
|
*
|
|
@@ -36,6 +36,7 @@ export interface ListComponentOutputsCommandOutput extends ListComponentOutputsO
|
|
|
36
36
|
* const input = { // ListComponentOutputsInput
|
|
37
37
|
* componentName: "STRING_VALUE", // required
|
|
38
38
|
* nextToken: "STRING_VALUE",
|
|
39
|
+
* deploymentId: "STRING_VALUE",
|
|
39
40
|
* };
|
|
40
41
|
* const command = new ListComponentOutputsCommand(input);
|
|
41
42
|
* const response = await client.send(command);
|
|
@@ -57,6 +57,8 @@ export interface ListComponentsCommandOutput extends ListComponentsOutput, __Met
|
|
|
57
57
|
* // lastDeploymentSucceededAt: new Date("TIMESTAMP"),
|
|
58
58
|
* // deploymentStatus: "STRING_VALUE", // required
|
|
59
59
|
* // deploymentStatusMessage: "STRING_VALUE",
|
|
60
|
+
* // lastAttemptedDeploymentId: "STRING_VALUE",
|
|
61
|
+
* // lastSucceededDeploymentId: "STRING_VALUE",
|
|
60
62
|
* // },
|
|
61
63
|
* // ],
|
|
62
64
|
* // };
|