@aws-sdk/client-proton 3.180.0 → 3.181.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/CHANGELOG.md +17 -0
- package/README.md +1 -3
- package/dist-cjs/protocols/Aws_json1_0.js +84 -75
- package/dist-es/protocols/Aws_json1_0.js +91 -76
- package/dist-types/Proton.d.ts +78 -71
- package/dist-types/ProtonClient.d.ts +1 -3
- package/dist-types/commands/AcceptEnvironmentAccountConnectionCommand.d.ts +2 -2
- package/dist-types/commands/CancelComponentDeploymentCommand.d.ts +2 -2
- package/dist-types/commands/CancelEnvironmentDeploymentCommand.d.ts +2 -2
- package/dist-types/commands/CancelServiceInstanceDeploymentCommand.d.ts +2 -1
- package/dist-types/commands/CancelServicePipelineDeploymentCommand.d.ts +2 -1
- package/dist-types/commands/CreateComponentCommand.d.ts +2 -2
- package/dist-types/commands/CreateEnvironmentAccountConnectionCommand.d.ts +1 -1
- package/dist-types/commands/CreateEnvironmentCommand.d.ts +1 -1
- package/dist-types/commands/CreateEnvironmentTemplateCommand.d.ts +3 -3
- package/dist-types/commands/CreateRepositoryCommand.d.ts +6 -5
- package/dist-types/commands/CreateServiceCommand.d.ts +2 -3
- package/dist-types/commands/CreateServiceTemplateCommand.d.ts +2 -2
- package/dist-types/commands/CreateTemplateSyncConfigCommand.d.ts +5 -3
- package/dist-types/commands/DeleteComponentCommand.d.ts +2 -2
- package/dist-types/commands/DeleteEnvironmentAccountConnectionCommand.d.ts +2 -2
- package/dist-types/commands/DeleteServiceCommand.d.ts +2 -2
- package/dist-types/commands/GetAccountSettingsCommand.d.ts +1 -1
- package/dist-types/commands/GetComponentCommand.d.ts +2 -2
- package/dist-types/commands/GetEnvironmentAccountConnectionCommand.d.ts +2 -2
- package/dist-types/commands/GetRepositoryCommand.d.ts +1 -1
- package/dist-types/commands/GetRepositorySyncStatusCommand.d.ts +2 -2
- package/dist-types/commands/ListComponentOutputsCommand.d.ts +2 -2
- package/dist-types/commands/ListComponentProvisionedResourcesCommand.d.ts +2 -2
- package/dist-types/commands/ListComponentsCommand.d.ts +2 -2
- package/dist-types/commands/ListEnvironmentAccountConnectionsCommand.d.ts +2 -2
- package/dist-types/commands/ListRepositoriesCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
- package/dist-types/commands/NotifyResourceDeploymentStatusChangeCommand.d.ts +1 -1
- package/dist-types/commands/RejectEnvironmentAccountConnectionCommand.d.ts +2 -2
- package/dist-types/commands/TagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UpdateAccountSettingsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateComponentCommand.d.ts +2 -2
- package/dist-types/commands/UpdateEnvironmentAccountConnectionCommand.d.ts +2 -2
- package/dist-types/commands/UpdateEnvironmentCommand.d.ts +1 -1
- package/dist-types/commands/UpdateServiceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateServiceInstanceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateTemplateSyncConfigCommand.d.ts +3 -1
- package/dist-types/models/models_0.d.ts +102 -87
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/package.json +3 -3
|
@@ -57,8 +57,8 @@ export interface EnvironmentAccountConnection {
|
|
|
57
57
|
* <p>The environment account connection must have a <code>componentRoleArn</code> to allow directly defined components to be associated with any
|
|
58
58
|
* environments running in the account.</p>
|
|
59
59
|
* <p>For more information about components, see
|
|
60
|
-
* <a href="https://docs.aws.amazon.com/proton/latest/
|
|
61
|
-
* <i>Proton
|
|
60
|
+
* <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-components.html">Proton components</a> in the
|
|
61
|
+
* <i>Proton User Guide</i>.</p>
|
|
62
62
|
*/
|
|
63
63
|
componentRoleArn?: string;
|
|
64
64
|
}
|
|
@@ -144,11 +144,11 @@ export declare enum RepositoryProvider {
|
|
|
144
144
|
GITHUB_ENTERPRISE = "GITHUB_ENTERPRISE"
|
|
145
145
|
}
|
|
146
146
|
/**
|
|
147
|
-
* <p>Detail data for a repository branch.</p>
|
|
147
|
+
* <p>Detail data for a linked repository branch.</p>
|
|
148
148
|
*/
|
|
149
149
|
export interface RepositoryBranch {
|
|
150
150
|
/**
|
|
151
|
-
* <p>The Amazon Resource Name (ARN) of the repository
|
|
151
|
+
* <p>The Amazon Resource Name (ARN) of the linked repository.</p>
|
|
152
152
|
*/
|
|
153
153
|
arn: string | undefined;
|
|
154
154
|
/**
|
|
@@ -165,7 +165,7 @@ export interface RepositoryBranch {
|
|
|
165
165
|
branch: string | undefined;
|
|
166
166
|
}
|
|
167
167
|
/**
|
|
168
|
-
* <p>
|
|
168
|
+
* <p>Proton settings that are used for multiple services in the Amazon Web Services account.</p>
|
|
169
169
|
*/
|
|
170
170
|
export interface AccountSettings {
|
|
171
171
|
/**
|
|
@@ -174,8 +174,8 @@ export interface AccountSettings {
|
|
|
174
174
|
*/
|
|
175
175
|
pipelineServiceRoleArn?: string;
|
|
176
176
|
/**
|
|
177
|
-
* <p>The repository
|
|
178
|
-
*
|
|
177
|
+
* <p>The linked repository for pipeline provisioning. Required if you have environments configured for self-managed provisioning with services that include
|
|
178
|
+
* pipelines. A linked repository is a repository that has been registered with Proton. For more information, see <a>CreateRepository</a>.</p>
|
|
179
179
|
*/
|
|
180
180
|
pipelineProvisioningRepository?: RepositoryBranch;
|
|
181
181
|
}
|
|
@@ -188,7 +188,7 @@ export interface GetAccountSettingsOutput {
|
|
|
188
188
|
accountSettings?: AccountSettings;
|
|
189
189
|
}
|
|
190
190
|
/**
|
|
191
|
-
* <p>Detail input data for a repository branch.</p>
|
|
191
|
+
* <p>Detail input data for a linked repository branch.</p>
|
|
192
192
|
*/
|
|
193
193
|
export interface RepositoryBranchInput {
|
|
194
194
|
/**
|
|
@@ -208,13 +208,21 @@ export interface UpdateAccountSettingsInput {
|
|
|
208
208
|
/**
|
|
209
209
|
* <p>The Amazon Resource Name (ARN) of the service role you want to use for provisioning pipelines. Assumed by Proton for Amazon Web Services-managed provisioning, and by
|
|
210
210
|
* customer-owned automation for self-managed provisioning.</p>
|
|
211
|
+
* <p>To remove a previously configured ARN, specify an empty string.</p>
|
|
211
212
|
*/
|
|
212
213
|
pipelineServiceRoleArn?: string;
|
|
213
214
|
/**
|
|
214
|
-
* <p>A repository for pipeline provisioning. Specify it if you have environments configured for self-managed provisioning with services that include
|
|
215
|
-
* pipelines
|
|
215
|
+
* <p>A linked repository for pipeline provisioning. Specify it if you have environments configured for self-managed provisioning with services that include
|
|
216
|
+
* pipelines. A linked repository is a repository that has been registered with Proton. For more information, see <a>CreateRepository</a>.</p>
|
|
217
|
+
* <p>To remove a previously configured repository, set <code>deletePipelineProvisioningRepository</code> to <code>true</code>, and don't set
|
|
218
|
+
* <code>pipelineProvisioningRepository</code>.</p>
|
|
216
219
|
*/
|
|
217
220
|
pipelineProvisioningRepository?: RepositoryBranchInput;
|
|
221
|
+
/**
|
|
222
|
+
* <p>Set to <code>true</code> to remove a configured pipeline repository from the account settings. Don't set this field if you are updating the configured
|
|
223
|
+
* pipeline repository.</p>
|
|
224
|
+
*/
|
|
225
|
+
deletePipelineProvisioningRepository?: boolean;
|
|
218
226
|
}
|
|
219
227
|
export interface UpdateAccountSettingsOutput {
|
|
220
228
|
/**
|
|
@@ -241,8 +249,8 @@ export declare enum DeploymentStatus {
|
|
|
241
249
|
/**
|
|
242
250
|
* <p>Detailed data of an Proton component resource.</p>
|
|
243
251
|
* <p>For more information about components, see
|
|
244
|
-
* <a href="https://docs.aws.amazon.com/proton/latest/
|
|
245
|
-
* <i>Proton
|
|
252
|
+
* <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-components.html">Proton components</a> in the
|
|
253
|
+
* <i>Proton User Guide</i>.</p>
|
|
246
254
|
*/
|
|
247
255
|
export interface Component {
|
|
248
256
|
/**
|
|
@@ -382,7 +390,8 @@ export interface Environment {
|
|
|
382
390
|
*/
|
|
383
391
|
provisioning?: Provisioning | string;
|
|
384
392
|
/**
|
|
385
|
-
* <p>The
|
|
393
|
+
* <p>The linked repository that you use to host your rendered infrastructure templates for self-managed provisioning. A linked repository is a repository
|
|
394
|
+
* that has been registered with Proton. For more information, see <a>CreateRepository</a>.</p>
|
|
386
395
|
*/
|
|
387
396
|
provisioningRepository?: RepositoryBranch;
|
|
388
397
|
/**
|
|
@@ -390,8 +399,8 @@ export interface Environment {
|
|
|
390
399
|
* determines the scope of infrastructure that a component can provision.</p>
|
|
391
400
|
* <p>The environment must have a <code>componentRoleArn</code> to allow directly defined components to be associated with the environment.</p>
|
|
392
401
|
* <p>For more information about components, see
|
|
393
|
-
* <a href="https://docs.aws.amazon.com/proton/latest/
|
|
394
|
-
* <i>Proton
|
|
402
|
+
* <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-components.html">Proton components</a> in the
|
|
403
|
+
* <i>Proton User Guide</i>.</p>
|
|
395
404
|
*/
|
|
396
405
|
componentRoleArn?: string;
|
|
397
406
|
}
|
|
@@ -594,7 +603,7 @@ export interface ProvisionedResource {
|
|
|
594
603
|
/**
|
|
595
604
|
* <p>The resource provisioning engine. At this time, <code>CLOUDFORMATION</code> can be used for Amazon Web Services-managed provisioning, and <code>TERRAFORM</code> can
|
|
596
605
|
* be used for self-managed provisioning.</p>
|
|
597
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/proton/latest/
|
|
606
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-works-prov-methods.html#ag-works-prov-methods-self">Self-managed provisioning</a> in the <i>Proton User Guide</i>.</p>
|
|
598
607
|
*/
|
|
599
608
|
provisioningEngine?: ProvisionedResourceEngine | string;
|
|
600
609
|
}
|
|
@@ -665,7 +674,8 @@ export interface CreateComponentInput {
|
|
|
665
674
|
serviceSpec?: string;
|
|
666
675
|
/**
|
|
667
676
|
* <p>An optional list of metadata items that you can associate with the Proton component. A tag is a key-value pair.</p>
|
|
668
|
-
* <p>For more information, see <
|
|
677
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/resources.html">Proton resources and tagging</a> in the
|
|
678
|
+
* <i>Proton User Guide</i>.</p>
|
|
669
679
|
*/
|
|
670
680
|
tags?: Tag[];
|
|
671
681
|
}
|
|
@@ -676,8 +686,8 @@ export interface CreateComponentOutput {
|
|
|
676
686
|
component: Component | undefined;
|
|
677
687
|
}
|
|
678
688
|
/**
|
|
679
|
-
* <p>A quota was exceeded. For more information, see <a href="https://docs.aws.amazon.com/proton/latest/
|
|
680
|
-
*
|
|
689
|
+
* <p>A quota was exceeded. For more information, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-limits.html">Proton Quotas</a> in
|
|
690
|
+
* the <i>Proton User Guide</i>.</p>
|
|
681
691
|
*/
|
|
682
692
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
683
693
|
readonly name: "ServiceQuotaExceededException";
|
|
@@ -738,8 +748,8 @@ export interface ListComponentsInput {
|
|
|
738
748
|
/**
|
|
739
749
|
* <p>Summary data of an Proton component resource.</p>
|
|
740
750
|
* <p>For more information about components, see
|
|
741
|
-
* <a href="https://docs.aws.amazon.com/proton/latest/
|
|
742
|
-
* <i>Proton
|
|
751
|
+
* <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-components.html">Proton components</a> in the
|
|
752
|
+
* <i>Proton User Guide</i>.</p>
|
|
743
753
|
*/
|
|
744
754
|
export interface ComponentSummary {
|
|
745
755
|
/**
|
|
@@ -886,8 +896,8 @@ export interface CreateEnvironmentAccountConnectionInput {
|
|
|
886
896
|
environmentName: string | undefined;
|
|
887
897
|
/**
|
|
888
898
|
* <p>An optional list of metadata items that you can associate with the Proton environment account connection. A tag is a key-value pair.</p>
|
|
889
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/proton/latest/
|
|
890
|
-
* <i>Proton
|
|
899
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/resources.html">Proton resources and tagging</a> in the
|
|
900
|
+
* <i>Proton User Guide</i>.</p>
|
|
891
901
|
*/
|
|
892
902
|
tags?: Tag[];
|
|
893
903
|
/**
|
|
@@ -896,8 +906,8 @@ export interface CreateEnvironmentAccountConnectionInput {
|
|
|
896
906
|
* <p>You must specify <code>componentRoleArn</code> to allow directly defined components to be associated with any environments running in this
|
|
897
907
|
* account.</p>
|
|
898
908
|
* <p>For more information about components, see
|
|
899
|
-
* <a href="https://docs.aws.amazon.com/proton/latest/
|
|
900
|
-
* <i>Proton
|
|
909
|
+
* <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-components.html">Proton components</a> in the
|
|
910
|
+
* <i>Proton User Guide</i>.</p>
|
|
901
911
|
*/
|
|
902
912
|
componentRoleArn?: string;
|
|
903
913
|
}
|
|
@@ -1004,8 +1014,8 @@ export interface EnvironmentAccountConnectionSummary {
|
|
|
1004
1014
|
* <p>The environment account connection must have a <code>componentRoleArn</code> to allow directly defined components to be associated with any
|
|
1005
1015
|
* environments running in the account.</p>
|
|
1006
1016
|
* <p>For more information about components, see
|
|
1007
|
-
* <a href="https://docs.aws.amazon.com/proton/latest/
|
|
1008
|
-
* <i>Proton
|
|
1017
|
+
* <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-components.html">Proton components</a> in the
|
|
1018
|
+
* <i>Proton User Guide</i>.</p>
|
|
1009
1019
|
*/
|
|
1010
1020
|
componentRoleArn?: string;
|
|
1011
1021
|
}
|
|
@@ -1047,8 +1057,8 @@ export interface UpdateEnvironmentAccountConnectionInput {
|
|
|
1047
1057
|
* <p>The environment account connection must have a <code>componentRoleArn</code> to allow directly defined components to be associated with any
|
|
1048
1058
|
* environments running in the account.</p>
|
|
1049
1059
|
* <p>For more information about components, see
|
|
1050
|
-
* <a href="https://docs.aws.amazon.com/proton/latest/
|
|
1051
|
-
* <i>Proton
|
|
1060
|
+
* <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-components.html">Proton components</a> in the
|
|
1061
|
+
* <i>Proton User Guide</i>.</p>
|
|
1052
1062
|
*/
|
|
1053
1063
|
componentRoleArn?: string;
|
|
1054
1064
|
}
|
|
@@ -1108,7 +1118,7 @@ export interface CreateEnvironmentInput {
|
|
|
1108
1118
|
*/
|
|
1109
1119
|
name: string | undefined;
|
|
1110
1120
|
/**
|
|
1111
|
-
* <p>The name of the environment template. For more information, see <a href="https://docs.aws.amazon.com/proton/latest/
|
|
1121
|
+
* <p>The name of the environment template. For more information, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-templates.html">Environment Templates</a> in the <i>Proton User Guide</i>.</p>
|
|
1112
1122
|
*/
|
|
1113
1123
|
templateName: string | undefined;
|
|
1114
1124
|
/**
|
|
@@ -1124,7 +1134,7 @@ export interface CreateEnvironmentInput {
|
|
|
1124
1134
|
*/
|
|
1125
1135
|
description?: string;
|
|
1126
1136
|
/**
|
|
1127
|
-
* <p>A YAML formatted string that provides inputs as defined in the environment template bundle schema file. For more information, see <a href="https://docs.aws.amazon.com/proton/latest/
|
|
1137
|
+
* <p>A YAML formatted string that provides inputs as defined in the environment template bundle schema file. For more information, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-environments.html">Environments</a> in the <i>Proton User
|
|
1128
1138
|
* Guide</i>.</p>
|
|
1129
1139
|
*/
|
|
1130
1140
|
spec: string | undefined;
|
|
@@ -1136,19 +1146,21 @@ export interface CreateEnvironmentInput {
|
|
|
1136
1146
|
protonServiceRoleArn?: string;
|
|
1137
1147
|
/**
|
|
1138
1148
|
* <p>The ID of the environment account connection that you provide if you're provisioning your environment infrastructure resources to an environment
|
|
1139
|
-
* account. For more information, see <a href="https://docs.aws.amazon.com/proton/latest/
|
|
1140
|
-
* connections</a> in the <i>Proton
|
|
1149
|
+
* account. For more information, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-env-account-connections.html">Environment account
|
|
1150
|
+
* connections</a> in the <i>Proton User guide</i>.</p>
|
|
1141
1151
|
* <p>To use Amazon Web Services-managed provisioning for the environment, specify either the <code>environmentAccountConnectionId</code> or
|
|
1142
1152
|
* <code>protonServiceRoleArn</code> parameter and omit the <code>provisioningRepository</code> parameter.</p>
|
|
1143
1153
|
*/
|
|
1144
1154
|
environmentAccountConnectionId?: string;
|
|
1145
1155
|
/**
|
|
1146
1156
|
* <p>An optional list of metadata items that you can associate with the Proton environment. A tag is a key-value pair.</p>
|
|
1147
|
-
* <p>For more information, see <
|
|
1157
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/resources.html">Proton resources and tagging</a> in the
|
|
1158
|
+
* <i>Proton User Guide</i>.</p>
|
|
1148
1159
|
*/
|
|
1149
1160
|
tags?: Tag[];
|
|
1150
1161
|
/**
|
|
1151
|
-
* <p>The
|
|
1162
|
+
* <p>The linked repository that you use to host your rendered infrastructure templates for self-managed provisioning. A linked repository is a repository
|
|
1163
|
+
* that has been registered with Proton. For more information, see <a>CreateRepository</a>.</p>
|
|
1152
1164
|
* <p>To use self-managed provisioning for the environment, specify this parameter and omit the <code>environmentAccountConnectionId</code> and
|
|
1153
1165
|
* <code>protonServiceRoleArn</code> parameters.</p>
|
|
1154
1166
|
*/
|
|
@@ -1158,8 +1170,8 @@ export interface CreateEnvironmentInput {
|
|
|
1158
1170
|
* determines the scope of infrastructure that a component can provision.</p>
|
|
1159
1171
|
* <p>You must specify <code>componentRoleArn</code> to allow directly defined components to be associated with this environment.</p>
|
|
1160
1172
|
* <p>For more information about components, see
|
|
1161
|
-
* <a href="https://docs.aws.amazon.com/proton/latest/
|
|
1162
|
-
* <i>Proton
|
|
1173
|
+
* <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-components.html">Proton components</a> in the
|
|
1174
|
+
* <i>Proton User Guide</i>.</p>
|
|
1163
1175
|
*/
|
|
1164
1176
|
componentRoleArn?: string;
|
|
1165
1177
|
}
|
|
@@ -1290,8 +1302,8 @@ export interface EnvironmentSummary {
|
|
|
1290
1302
|
* determines the scope of infrastructure that a component can provision.</p>
|
|
1291
1303
|
* <p>The environment must have a <code>componentRoleArn</code> to allow directly defined components to be associated with the environment.</p>
|
|
1292
1304
|
* <p>For more information about components, see
|
|
1293
|
-
* <a href="https://docs.aws.amazon.com/proton/latest/
|
|
1294
|
-
* <i>Proton
|
|
1305
|
+
* <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-components.html">Proton components</a> in the
|
|
1306
|
+
* <i>Proton User Guide</i>.</p>
|
|
1295
1307
|
*/
|
|
1296
1308
|
componentRoleArn?: string;
|
|
1297
1309
|
}
|
|
@@ -1380,7 +1392,8 @@ export interface UpdateEnvironmentInput {
|
|
|
1380
1392
|
*/
|
|
1381
1393
|
environmentAccountConnectionId?: string;
|
|
1382
1394
|
/**
|
|
1383
|
-
* <p>The
|
|
1395
|
+
* <p>The linked repository that you use to host your rendered infrastructure templates for self-managed provisioning. A linked repository is a repository
|
|
1396
|
+
* that has been registered with Proton. For more information, see <a>CreateRepository</a>.</p>
|
|
1384
1397
|
*/
|
|
1385
1398
|
provisioningRepository?: RepositoryBranchInput;
|
|
1386
1399
|
/**
|
|
@@ -1388,8 +1401,8 @@ export interface UpdateEnvironmentInput {
|
|
|
1388
1401
|
* determines the scope of infrastructure that a component can provision.</p>
|
|
1389
1402
|
* <p>The environment must have a <code>componentRoleArn</code> to allow directly defined components to be associated with the environment.</p>
|
|
1390
1403
|
* <p>For more information about components, see
|
|
1391
|
-
* <a href="https://docs.aws.amazon.com/proton/latest/
|
|
1392
|
-
* <i>Proton
|
|
1404
|
+
* <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-components.html">Proton components</a> in the
|
|
1405
|
+
* <i>Proton User Guide</i>.</p>
|
|
1393
1406
|
*/
|
|
1394
1407
|
componentRoleArn?: string;
|
|
1395
1408
|
}
|
|
@@ -1422,7 +1435,8 @@ export interface CreateEnvironmentTemplateInput {
|
|
|
1422
1435
|
provisioning?: Provisioning | string;
|
|
1423
1436
|
/**
|
|
1424
1437
|
* <p>An optional list of metadata items that you can associate with the Proton environment template. A tag is a key-value pair.</p>
|
|
1425
|
-
* <p>For more information, see <
|
|
1438
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/resources.html">Proton resources and tagging</a> in the
|
|
1439
|
+
* <i>Proton User Guide</i>.</p>
|
|
1426
1440
|
*/
|
|
1427
1441
|
tags?: Tag[];
|
|
1428
1442
|
}
|
|
@@ -1636,7 +1650,8 @@ export interface CreateEnvironmentTemplateVersionInput {
|
|
|
1636
1650
|
source: TemplateVersionSourceInput | undefined;
|
|
1637
1651
|
/**
|
|
1638
1652
|
* <p>An optional list of metadata items that you can associate with the Proton environment template version. A tag is a key-value pair.</p>
|
|
1639
|
-
* <p>For more information, see <
|
|
1653
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/resources.html">Proton resources and tagging</a> in the
|
|
1654
|
+
* <i>Proton User Guide</i>.</p>
|
|
1640
1655
|
*/
|
|
1641
1656
|
tags?: Tag[];
|
|
1642
1657
|
}
|
|
@@ -1723,7 +1738,7 @@ export interface DeleteEnvironmentTemplateVersionOutput {
|
|
|
1723
1738
|
}
|
|
1724
1739
|
export interface GetEnvironmentTemplateVersionInput {
|
|
1725
1740
|
/**
|
|
1726
|
-
* <p>The name of the environment template a version of which you want to get detailed data for
|
|
1741
|
+
* <p>The name of the environment template a version of which you want to get detailed data for.</p>
|
|
1727
1742
|
*/
|
|
1728
1743
|
templateName: string | undefined;
|
|
1729
1744
|
/**
|
|
@@ -2087,7 +2102,7 @@ export interface ListRepositorySyncDefinitionsInput {
|
|
|
2087
2102
|
nextToken?: string;
|
|
2088
2103
|
}
|
|
2089
2104
|
/**
|
|
2090
|
-
* <p>
|
|
2105
|
+
* <p>A repository sync definition.</p>
|
|
2091
2106
|
*/
|
|
2092
2107
|
export interface RepositorySyncDefinition {
|
|
2093
2108
|
/**
|
|
@@ -2182,8 +2197,8 @@ export interface CreateRepositoryInput {
|
|
|
2182
2197
|
*/
|
|
2183
2198
|
name: string | undefined;
|
|
2184
2199
|
/**
|
|
2185
|
-
* <p>The Amazon Resource Name (ARN) of your
|
|
2186
|
-
*
|
|
2200
|
+
* <p>The Amazon Resource Name (ARN) of your AWS CodeStar connection that connects Proton to your repository provider account. For more information, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/setting-up-for-service.html">Setting up for Proton</a> in the <i>Proton User
|
|
2201
|
+
* Guide</i>.</p>
|
|
2187
2202
|
*/
|
|
2188
2203
|
connectionArn: string | undefined;
|
|
2189
2204
|
/**
|
|
@@ -2192,16 +2207,17 @@ export interface CreateRepositoryInput {
|
|
|
2192
2207
|
encryptionKey?: string;
|
|
2193
2208
|
/**
|
|
2194
2209
|
* <p>An optional list of metadata items that you can associate with the Proton repository. A tag is a key-value pair.</p>
|
|
2195
|
-
* <p>For more information, see <
|
|
2210
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/resources.html">Proton resources and tagging</a> in the
|
|
2211
|
+
* <i>Proton User Guide</i>.</p>
|
|
2196
2212
|
*/
|
|
2197
2213
|
tags?: Tag[];
|
|
2198
2214
|
}
|
|
2199
2215
|
/**
|
|
2200
|
-
* <p>Detailed data of a repository that has been registered with Proton.</p>
|
|
2216
|
+
* <p>Detailed data of a linked repository—a repository that has been registered with Proton.</p>
|
|
2201
2217
|
*/
|
|
2202
2218
|
export interface Repository {
|
|
2203
2219
|
/**
|
|
2204
|
-
* <p>The
|
|
2220
|
+
* <p>The Amazon Resource Name (ARN) of the linked repository.</p>
|
|
2205
2221
|
*/
|
|
2206
2222
|
arn: string | undefined;
|
|
2207
2223
|
/**
|
|
@@ -2213,7 +2229,7 @@ export interface Repository {
|
|
|
2213
2229
|
*/
|
|
2214
2230
|
name: string | undefined;
|
|
2215
2231
|
/**
|
|
2216
|
-
* <p>The
|
|
2232
|
+
* <p>The Amazon Resource Name (ARN) of your AWS CodeStar connection that connects Proton to your repository provider account.</p>
|
|
2217
2233
|
*/
|
|
2218
2234
|
connectionArn: string | undefined;
|
|
2219
2235
|
/**
|
|
@@ -2223,7 +2239,7 @@ export interface Repository {
|
|
|
2223
2239
|
}
|
|
2224
2240
|
export interface CreateRepositoryOutput {
|
|
2225
2241
|
/**
|
|
2226
|
-
* <p>The repository detail data that's returned by Proton.</p>
|
|
2242
|
+
* <p>The repository link's detail data that's returned by Proton.</p>
|
|
2227
2243
|
*/
|
|
2228
2244
|
repository: Repository | undefined;
|
|
2229
2245
|
}
|
|
@@ -2233,13 +2249,13 @@ export interface DeleteRepositoryInput {
|
|
|
2233
2249
|
*/
|
|
2234
2250
|
provider: RepositoryProvider | string | undefined;
|
|
2235
2251
|
/**
|
|
2236
|
-
* <p>The name
|
|
2252
|
+
* <p>The repository name.</p>
|
|
2237
2253
|
*/
|
|
2238
2254
|
name: string | undefined;
|
|
2239
2255
|
}
|
|
2240
2256
|
export interface DeleteRepositoryOutput {
|
|
2241
2257
|
/**
|
|
2242
|
-
* <p>The repository detail data that's returned by Proton.</p>
|
|
2258
|
+
* <p>The deleted repository link's detail data that's returned by Proton.</p>
|
|
2243
2259
|
*/
|
|
2244
2260
|
repository?: Repository;
|
|
2245
2261
|
}
|
|
@@ -2255,7 +2271,7 @@ export interface GetRepositoryInput {
|
|
|
2255
2271
|
}
|
|
2256
2272
|
export interface GetRepositoryOutput {
|
|
2257
2273
|
/**
|
|
2258
|
-
* <p>The repository detail data that's returned by Proton.</p>
|
|
2274
|
+
* <p>The repository link's detail data that's returned by Proton.</p>
|
|
2259
2275
|
*/
|
|
2260
2276
|
repository: Repository | undefined;
|
|
2261
2277
|
}
|
|
@@ -2270,11 +2286,11 @@ export interface ListRepositoriesInput {
|
|
|
2270
2286
|
maxResults?: number;
|
|
2271
2287
|
}
|
|
2272
2288
|
/**
|
|
2273
|
-
* <p>Summary data of a repository that has been registered with Proton.</p>
|
|
2289
|
+
* <p>Summary data of a linked repository—a repository that has been registered with Proton.</p>
|
|
2274
2290
|
*/
|
|
2275
2291
|
export interface RepositorySummary {
|
|
2276
2292
|
/**
|
|
2277
|
-
* <p>The Amazon Resource Name (ARN)
|
|
2293
|
+
* <p>The Amazon Resource Name (ARN) of the linked repository.</p>
|
|
2278
2294
|
*/
|
|
2279
2295
|
arn: string | undefined;
|
|
2280
2296
|
/**
|
|
@@ -2292,7 +2308,7 @@ export interface ListRepositoriesOutput {
|
|
|
2292
2308
|
*/
|
|
2293
2309
|
nextToken?: string;
|
|
2294
2310
|
/**
|
|
2295
|
-
* <p>An array of
|
|
2311
|
+
* <p>An array of repository links.</p>
|
|
2296
2312
|
*/
|
|
2297
2313
|
repositories: RepositorySummary[] | undefined;
|
|
2298
2314
|
}
|
|
@@ -2634,16 +2650,14 @@ export interface CreateServiceInput {
|
|
|
2634
2650
|
/**
|
|
2635
2651
|
* <p>A link to a spec file that provides inputs as defined in the service template bundle schema file. The spec file is in YAML format.
|
|
2636
2652
|
* <i>Don’t</i> include pipeline inputs in the spec if your service template <i>doesn’t</i> include a service pipeline. For
|
|
2637
|
-
* more information, see <a href="https://docs.aws.amazon.com/proton/latest/
|
|
2638
|
-
*
|
|
2639
|
-
* service</a> in the <i>Proton User Guide</i>.</p>
|
|
2653
|
+
* more information, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-create-svc.html">Create a service</a> in the <i>Proton
|
|
2654
|
+
* User Guide</i>.</p>
|
|
2640
2655
|
*/
|
|
2641
2656
|
spec: string | undefined;
|
|
2642
2657
|
/**
|
|
2643
|
-
* <p>The Amazon Resource Name (ARN) of the repository connection. For more information, see <a href="https://docs.aws.amazon.com/proton/latest/
|
|
2644
|
-
*
|
|
2645
|
-
*
|
|
2646
|
-
* <i>doesn't</i> include a service pipeline.</p>
|
|
2658
|
+
* <p>The Amazon Resource Name (ARN) of the repository connection. For more information, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/setting-up-for-service.html#setting-up-vcontrol">Setting up an AWS CodeStar connection</a> in the <i>Proton User
|
|
2659
|
+
* Guide</i>. <i>Don't</i> include this parameter if your service template <i>doesn't</i> include a service
|
|
2660
|
+
* pipeline.</p>
|
|
2647
2661
|
*/
|
|
2648
2662
|
repositoryConnectionArn?: string;
|
|
2649
2663
|
/**
|
|
@@ -2658,7 +2672,8 @@ export interface CreateServiceInput {
|
|
|
2658
2672
|
branchName?: string;
|
|
2659
2673
|
/**
|
|
2660
2674
|
* <p>An optional list of metadata items that you can associate with the Proton service. A tag is a key-value pair.</p>
|
|
2661
|
-
* <p>For more information, see <
|
|
2675
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/resources.html">Proton resources and tagging</a> in the
|
|
2676
|
+
* <i>Proton User Guide</i>.</p>
|
|
2662
2677
|
*/
|
|
2663
2678
|
tags?: Tag[];
|
|
2664
2679
|
}
|
|
@@ -2723,9 +2738,8 @@ export interface Service {
|
|
|
2723
2738
|
*/
|
|
2724
2739
|
pipeline?: ServicePipeline;
|
|
2725
2740
|
/**
|
|
2726
|
-
* <p>The Amazon Resource Name (ARN) of the repository connection. For more information, see <a href="https://docs.aws.amazon.com/proton/latest/
|
|
2727
|
-
*
|
|
2728
|
-
* Proton</a> in the <i>Proton User Guide</i>.</p>
|
|
2741
|
+
* <p>The Amazon Resource Name (ARN) of the repository connection. For more information, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/setting-up-for-service.html#setting-up-vcontrol">Setting up an AWS CodeStar connection</a> in the <i>Proton User
|
|
2742
|
+
* Guide</i>.</p>
|
|
2729
2743
|
*/
|
|
2730
2744
|
repositoryConnectionArn?: string;
|
|
2731
2745
|
/**
|
|
@@ -2835,8 +2849,7 @@ export interface UpdateServiceInput {
|
|
|
2835
2849
|
description?: string;
|
|
2836
2850
|
/**
|
|
2837
2851
|
* <p>Lists the service instances to add and the existing service instances to remain. Omit the existing service instances to delete from the list.
|
|
2838
|
-
* <i>Don't</i> include edits to the existing service instances or pipeline. For more information, see <
|
|
2839
|
-
* the <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-svc-update.html">Proton Administrator Guide</a> or the <a href="https://docs.aws.amazon.com/proton/latest/userguide/ug-svc-update.html">Proton User Guide</a>.</p>
|
|
2852
|
+
* <i>Don't</i> include edits to the existing service instances or pipeline. For more information, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-svc-update.html">Edit a service</a> in the <i>Proton User Guide</i>.</p>
|
|
2840
2853
|
*/
|
|
2841
2854
|
spec?: string;
|
|
2842
2855
|
}
|
|
@@ -2865,13 +2878,14 @@ export interface CreateServiceTemplateInput {
|
|
|
2865
2878
|
encryptionKey?: string;
|
|
2866
2879
|
/**
|
|
2867
2880
|
* <p>By default, Proton provides a service pipeline for your service. When this parameter is included, it indicates that an Proton service pipeline
|
|
2868
|
-
* <i>isn't</i> provided for your service. After it's included, it <i>can't</i> be changed. For more information, see <a href="https://docs.aws.amazon.com/proton/latest/
|
|
2869
|
-
* Guide</i>.</p>
|
|
2881
|
+
* <i>isn't</i> provided for your service. After it's included, it <i>can't</i> be changed. For more information, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-template-authoring.html#ag-template-bundles">Template bundles</a> in the <i>Proton
|
|
2882
|
+
* User Guide</i>.</p>
|
|
2870
2883
|
*/
|
|
2871
2884
|
pipelineProvisioning?: Provisioning | string;
|
|
2872
2885
|
/**
|
|
2873
2886
|
* <p>An optional list of metadata items that you can associate with the Proton service template. A tag is a key-value pair.</p>
|
|
2874
|
-
* <p>For more information, see <
|
|
2887
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/resources.html">Proton resources and tagging</a> in the
|
|
2888
|
+
* <i>Proton User Guide</i>.</p>
|
|
2875
2889
|
*/
|
|
2876
2890
|
tags?: Tag[];
|
|
2877
2891
|
}
|
|
@@ -3074,15 +3088,16 @@ export interface CreateServiceTemplateVersionInput {
|
|
|
3074
3088
|
compatibleEnvironmentTemplates: CompatibleEnvironmentTemplateInput[] | undefined;
|
|
3075
3089
|
/**
|
|
3076
3090
|
* <p>An optional list of metadata items that you can associate with the Proton service template version. A tag is a key-value pair.</p>
|
|
3077
|
-
* <p>For more information, see <
|
|
3091
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/resources.html">Proton resources and tagging</a> in the
|
|
3092
|
+
* <i>Proton User Guide</i>.</p>
|
|
3078
3093
|
*/
|
|
3079
3094
|
tags?: Tag[];
|
|
3080
3095
|
/**
|
|
3081
3096
|
* <p>An array of supported component sources. Components with supported sources can be attached to service instances based on this service template
|
|
3082
3097
|
* version.</p>
|
|
3083
3098
|
* <p>For more information about components, see
|
|
3084
|
-
* <a href="https://docs.aws.amazon.com/proton/latest/
|
|
3085
|
-
* <i>Proton
|
|
3099
|
+
* <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-components.html">Proton components</a> in the
|
|
3100
|
+
* <i>Proton User Guide</i>.</p>
|
|
3086
3101
|
*/
|
|
3087
3102
|
supportedComponentSources?: (ServiceTemplateSupportedComponentSourceType | string)[];
|
|
3088
3103
|
}
|
|
@@ -3155,8 +3170,8 @@ export interface ServiceTemplateVersion {
|
|
|
3155
3170
|
* <p>An array of supported component sources. Components with supported sources can be attached to service instances based on this service template
|
|
3156
3171
|
* version.</p>
|
|
3157
3172
|
* <p>For more information about components, see
|
|
3158
|
-
* <a href="https://docs.aws.amazon.com/proton/latest/
|
|
3159
|
-
* <i>Proton
|
|
3173
|
+
* <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-components.html">Proton components</a> in the
|
|
3174
|
+
* <i>Proton User Guide</i>.</p>
|
|
3160
3175
|
*/
|
|
3161
3176
|
supportedComponentSources?: (ServiceTemplateSupportedComponentSourceType | string)[];
|
|
3162
3177
|
}
|
|
@@ -3317,8 +3332,8 @@ export interface UpdateServiceTemplateVersionInput {
|
|
|
3317
3332
|
* change only affects later associations.</p>
|
|
3318
3333
|
* </note>
|
|
3319
3334
|
* <p>For more information about components, see
|
|
3320
|
-
* <a href="https://docs.aws.amazon.com/proton/latest/
|
|
3321
|
-
* <i>Proton
|
|
3335
|
+
* <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-components.html">Proton components</a> in the
|
|
3336
|
+
* <i>Proton User Guide</i>.</p>
|
|
3322
3337
|
*/
|
|
3323
3338
|
supportedComponentSources?: (ServiceTemplateSupportedComponentSourceType | string)[];
|
|
3324
3339
|
}
|
|
@@ -3354,11 +3369,11 @@ export interface CreateTemplateSyncConfigInput {
|
|
|
3354
3369
|
*/
|
|
3355
3370
|
repositoryProvider: RepositoryProvider | string | undefined;
|
|
3356
3371
|
/**
|
|
3357
|
-
* <p>The name
|
|
3372
|
+
* <p>The repository name (for example, <code>myrepos/myrepo</code>).</p>
|
|
3358
3373
|
*/
|
|
3359
3374
|
repositoryName: string | undefined;
|
|
3360
3375
|
/**
|
|
3361
|
-
* <p>The branch
|
|
3376
|
+
* <p>The repository branch for your template.</p>
|
|
3362
3377
|
*/
|
|
3363
3378
|
branch: string | undefined;
|
|
3364
3379
|
/**
|
|
@@ -3384,7 +3399,7 @@ export interface TemplateSyncConfig {
|
|
|
3384
3399
|
*/
|
|
3385
3400
|
repositoryProvider: RepositoryProvider | string | undefined;
|
|
3386
3401
|
/**
|
|
3387
|
-
* <p>The name
|
|
3402
|
+
* <p>The repository name (for example, <code>myrepos/myrepo</code>).</p>
|
|
3388
3403
|
*/
|
|
3389
3404
|
repositoryName: string | undefined;
|
|
3390
3405
|
/**
|
|
@@ -3448,11 +3463,11 @@ export interface UpdateTemplateSyncConfigInput {
|
|
|
3448
3463
|
*/
|
|
3449
3464
|
repositoryProvider: RepositoryProvider | string | undefined;
|
|
3450
3465
|
/**
|
|
3451
|
-
* <p>The name
|
|
3466
|
+
* <p>The repository name (for example, <code>myrepos/myrepo</code>).</p>
|
|
3452
3467
|
*/
|
|
3453
3468
|
repositoryName: string | undefined;
|
|
3454
3469
|
/**
|
|
3455
|
-
* <p>The repository branch.</p>
|
|
3470
|
+
* <p>The repository branch for your template.</p>
|
|
3456
3471
|
*/
|
|
3457
3472
|
branch: string | undefined;
|
|
3458
3473
|
/**
|
|
@@ -94,6 +94,7 @@ export interface RepositoryBranchInput {
|
|
|
94
94
|
export interface UpdateAccountSettingsInput {
|
|
95
95
|
pipelineServiceRoleArn?: string;
|
|
96
96
|
pipelineProvisioningRepository?: RepositoryBranchInput;
|
|
97
|
+
deletePipelineProvisioningRepository?: boolean;
|
|
97
98
|
}
|
|
98
99
|
export interface UpdateAccountSettingsOutput {
|
|
99
100
|
accountSettings: AccountSettings | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-proton",
|
|
3
3
|
"description": "AWS SDK for JavaScript Proton Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.181.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.181.0",
|
|
23
23
|
"@aws-sdk/config-resolver": "3.178.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.181.0",
|
|
25
25
|
"@aws-sdk/fetch-http-handler": "3.178.0",
|
|
26
26
|
"@aws-sdk/hash-node": "3.178.0",
|
|
27
27
|
"@aws-sdk/invalid-dependency": "3.178.0",
|