@aws-sdk/client-proton 3.211.0 → 3.212.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/dist-cjs/models/models_0.js +37 -5
- package/dist-cjs/protocols/Aws_json1_0.js +18 -0
- package/dist-es/models/models_0.js +31 -0
- package/dist-es/protocols/Aws_json1_0.js +18 -0
- package/dist-types/Proton.d.ts +11 -29
- package/dist-types/commands/CreateEnvironmentCommand.d.ts +3 -10
- package/dist-types/commands/ListServiceInstancesCommand.d.ts +1 -1
- package/dist-types/commands/NotifyResourceDeploymentStatusChangeCommand.d.ts +2 -13
- package/dist-types/commands/UpdateEnvironmentCommand.d.ts +5 -5
- package/dist-types/models/models_0.d.ts +86 -31
- package/dist-types/ts3.4/models/models_0.d.ts +35 -0
- package/package.json +29 -29
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.UntagResourceOutputFilterSensitiveLog = exports.UntagResourceInputFilterSensitiveLog = exports.UpdateTemplateSyncConfigOutputFilterSensitiveLog = exports.UpdateTemplateSyncConfigInputFilterSensitiveLog = exports.GetTemplateSyncConfigOutputFilterSensitiveLog = exports.GetTemplateSyncConfigInputFilterSensitiveLog = exports.DeleteTemplateSyncConfigOutputFilterSensitiveLog = exports.DeleteTemplateSyncConfigInputFilterSensitiveLog = exports.CreateTemplateSyncConfigOutputFilterSensitiveLog = exports.TemplateSyncConfigFilterSensitiveLog = exports.CreateTemplateSyncConfigInputFilterSensitiveLog = exports.TagResourceOutputFilterSensitiveLog = exports.TagResourceInputFilterSensitiveLog = void 0;
|
|
3
|
+
exports.ListComponentOutputsInputFilterSensitiveLog = exports.CancelServicePipelineDeploymentOutputFilterSensitiveLog = exports.ServicePipelineFilterSensitiveLog = exports.CancelServicePipelineDeploymentInputFilterSensitiveLog = exports.CancelServiceInstanceDeploymentOutputFilterSensitiveLog = exports.ServiceInstanceFilterSensitiveLog = exports.CancelServiceInstanceDeploymentInputFilterSensitiveLog = exports.CancelEnvironmentDeploymentOutputFilterSensitiveLog = exports.EnvironmentFilterSensitiveLog = exports.CancelEnvironmentDeploymentInputFilterSensitiveLog = exports.CancelComponentDeploymentOutputFilterSensitiveLog = exports.ComponentFilterSensitiveLog = exports.CancelComponentDeploymentInputFilterSensitiveLog = exports.UpdateAccountSettingsOutputFilterSensitiveLog = exports.UpdateAccountSettingsInputFilterSensitiveLog = exports.RepositoryBranchInputFilterSensitiveLog = exports.GetAccountSettingsOutputFilterSensitiveLog = exports.GetAccountSettingsInputFilterSensitiveLog = exports.AccountSettingsFilterSensitiveLog = exports.RepositoryBranchFilterSensitiveLog = exports.AcceptEnvironmentAccountConnectionOutputFilterSensitiveLog = exports.EnvironmentAccountConnectionFilterSensitiveLog = exports.AcceptEnvironmentAccountConnectionInputFilterSensitiveLog = exports.ServiceTemplateSupportedComponentSourceType = exports.ServiceStatus = exports.SortOrder = exports.ListServiceInstancesSortBy = exports.ListServiceInstancesFilterBy = exports.ResourceDeploymentStatus = exports.ResourceSyncStatus = exports.TemplateType = exports.RepositorySyncStatus = exports.SyncType = exports.TemplateVersionStatus = exports.TemplateVersionSourceInput = exports.DeploymentUpdateType = exports.EnvironmentAccountConnectionRequesterAccountType = exports.ComponentDeploymentUpdateType = exports.ServiceQuotaExceededException = exports.ProvisionedResourceEngine = exports.Provisioning = exports.DeploymentStatus = exports.RepositoryProvider = exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.AccessDeniedException = exports.EnvironmentAccountConnectionStatus = void 0;
|
|
4
|
+
exports.DeleteEnvironmentTemplateInputFilterSensitiveLog = exports.CreateEnvironmentTemplateOutputFilterSensitiveLog = exports.EnvironmentTemplateFilterSensitiveLog = exports.CreateEnvironmentTemplateInputFilterSensitiveLog = exports.UpdateEnvironmentOutputFilterSensitiveLog = exports.UpdateEnvironmentInputFilterSensitiveLog = exports.ListEnvironmentsOutputFilterSensitiveLog = exports.EnvironmentSummaryFilterSensitiveLog = exports.ListEnvironmentsInputFilterSensitiveLog = exports.EnvironmentTemplateFilterFilterSensitiveLog = exports.GetEnvironmentOutputFilterSensitiveLog = exports.GetEnvironmentInputFilterSensitiveLog = exports.DeleteEnvironmentOutputFilterSensitiveLog = exports.DeleteEnvironmentInputFilterSensitiveLog = exports.CreateEnvironmentOutputFilterSensitiveLog = exports.CreateEnvironmentInputFilterSensitiveLog = exports.ListEnvironmentProvisionedResourcesOutputFilterSensitiveLog = exports.ListEnvironmentProvisionedResourcesInputFilterSensitiveLog = exports.ListEnvironmentOutputsOutputFilterSensitiveLog = exports.ListEnvironmentOutputsInputFilterSensitiveLog = exports.UpdateEnvironmentAccountConnectionOutputFilterSensitiveLog = exports.UpdateEnvironmentAccountConnectionInputFilterSensitiveLog = exports.RejectEnvironmentAccountConnectionOutputFilterSensitiveLog = exports.RejectEnvironmentAccountConnectionInputFilterSensitiveLog = exports.ListEnvironmentAccountConnectionsOutputFilterSensitiveLog = exports.EnvironmentAccountConnectionSummaryFilterSensitiveLog = exports.ListEnvironmentAccountConnectionsInputFilterSensitiveLog = exports.GetEnvironmentAccountConnectionOutputFilterSensitiveLog = exports.GetEnvironmentAccountConnectionInputFilterSensitiveLog = exports.DeleteEnvironmentAccountConnectionOutputFilterSensitiveLog = exports.DeleteEnvironmentAccountConnectionInputFilterSensitiveLog = exports.CreateEnvironmentAccountConnectionOutputFilterSensitiveLog = exports.CreateEnvironmentAccountConnectionInputFilterSensitiveLog = exports.UpdateComponentOutputFilterSensitiveLog = exports.UpdateComponentInputFilterSensitiveLog = exports.ListComponentsOutputFilterSensitiveLog = exports.ComponentSummaryFilterSensitiveLog = exports.ListComponentsInputFilterSensitiveLog = exports.GetComponentOutputFilterSensitiveLog = exports.GetComponentInputFilterSensitiveLog = exports.DeleteComponentOutputFilterSensitiveLog = exports.DeleteComponentInputFilterSensitiveLog = exports.CreateComponentOutputFilterSensitiveLog = exports.CreateComponentInputFilterSensitiveLog = exports.TagFilterSensitiveLog = exports.ListComponentProvisionedResourcesOutputFilterSensitiveLog = exports.ProvisionedResourceFilterSensitiveLog = exports.ListComponentProvisionedResourcesInputFilterSensitiveLog = exports.ListComponentOutputsOutputFilterSensitiveLog = exports.OutputFilterSensitiveLog = void 0;
|
|
5
|
+
exports.ListServiceInstanceOutputsOutputFilterSensitiveLog = exports.ListServiceInstanceOutputsInputFilterSensitiveLog = exports.ListRepositoriesOutputFilterSensitiveLog = exports.RepositorySummaryFilterSensitiveLog = exports.ListRepositoriesInputFilterSensitiveLog = exports.GetRepositoryOutputFilterSensitiveLog = exports.GetRepositoryInputFilterSensitiveLog = exports.DeleteRepositoryOutputFilterSensitiveLog = exports.DeleteRepositoryInputFilterSensitiveLog = exports.CreateRepositoryOutputFilterSensitiveLog = exports.RepositoryFilterSensitiveLog = exports.CreateRepositoryInputFilterSensitiveLog = exports.NotifyResourceDeploymentStatusChangeOutputFilterSensitiveLog = exports.NotifyResourceDeploymentStatusChangeInputFilterSensitiveLog = exports.ListTagsForResourceOutputFilterSensitiveLog = exports.ListTagsForResourceInputFilterSensitiveLog = exports.ListRepositorySyncDefinitionsOutputFilterSensitiveLog = exports.RepositorySyncDefinitionFilterSensitiveLog = exports.ListRepositorySyncDefinitionsInputFilterSensitiveLog = exports.GetTemplateSyncStatusOutputFilterSensitiveLog = exports.ResourceSyncAttemptFilterSensitiveLog = exports.ResourceSyncEventFilterSensitiveLog = exports.RevisionFilterSensitiveLog = exports.GetTemplateSyncStatusInputFilterSensitiveLog = exports.GetRepositorySyncStatusOutputFilterSensitiveLog = exports.RepositorySyncAttemptFilterSensitiveLog = exports.RepositorySyncEventFilterSensitiveLog = exports.GetRepositorySyncStatusInputFilterSensitiveLog = exports.UpdateEnvironmentTemplateVersionOutputFilterSensitiveLog = exports.UpdateEnvironmentTemplateVersionInputFilterSensitiveLog = exports.ListEnvironmentTemplateVersionsOutputFilterSensitiveLog = exports.EnvironmentTemplateVersionSummaryFilterSensitiveLog = exports.ListEnvironmentTemplateVersionsInputFilterSensitiveLog = exports.GetEnvironmentTemplateVersionOutputFilterSensitiveLog = exports.GetEnvironmentTemplateVersionInputFilterSensitiveLog = exports.DeleteEnvironmentTemplateVersionOutputFilterSensitiveLog = exports.DeleteEnvironmentTemplateVersionInputFilterSensitiveLog = exports.CreateEnvironmentTemplateVersionOutputFilterSensitiveLog = exports.EnvironmentTemplateVersionFilterSensitiveLog = exports.CreateEnvironmentTemplateVersionInputFilterSensitiveLog = exports.TemplateVersionSourceInputFilterSensitiveLog = exports.S3ObjectSourceFilterSensitiveLog = exports.UpdateEnvironmentTemplateOutputFilterSensitiveLog = exports.UpdateEnvironmentTemplateInputFilterSensitiveLog = exports.ListEnvironmentTemplatesOutputFilterSensitiveLog = exports.EnvironmentTemplateSummaryFilterSensitiveLog = exports.ListEnvironmentTemplatesInputFilterSensitiveLog = exports.GetEnvironmentTemplateOutputFilterSensitiveLog = exports.GetEnvironmentTemplateInputFilterSensitiveLog = exports.DeleteEnvironmentTemplateOutputFilterSensitiveLog = void 0;
|
|
6
|
+
exports.ListServiceTemplateVersionsInputFilterSensitiveLog = exports.GetServiceTemplateVersionOutputFilterSensitiveLog = exports.GetServiceTemplateVersionInputFilterSensitiveLog = exports.DeleteServiceTemplateVersionOutputFilterSensitiveLog = exports.DeleteServiceTemplateVersionInputFilterSensitiveLog = exports.CreateServiceTemplateVersionOutputFilterSensitiveLog = exports.ServiceTemplateVersionFilterSensitiveLog = exports.CompatibleEnvironmentTemplateFilterSensitiveLog = exports.CreateServiceTemplateVersionInputFilterSensitiveLog = exports.CompatibleEnvironmentTemplateInputFilterSensitiveLog = exports.UpdateServiceTemplateOutputFilterSensitiveLog = exports.UpdateServiceTemplateInputFilterSensitiveLog = exports.ListServiceTemplatesOutputFilterSensitiveLog = exports.ServiceTemplateSummaryFilterSensitiveLog = exports.ListServiceTemplatesInputFilterSensitiveLog = exports.GetServiceTemplateOutputFilterSensitiveLog = exports.GetServiceTemplateInputFilterSensitiveLog = exports.DeleteServiceTemplateOutputFilterSensitiveLog = exports.DeleteServiceTemplateInputFilterSensitiveLog = exports.CreateServiceTemplateOutputFilterSensitiveLog = exports.ServiceTemplateFilterSensitiveLog = exports.CreateServiceTemplateInputFilterSensitiveLog = exports.UpdateServiceOutputFilterSensitiveLog = exports.UpdateServiceInputFilterSensitiveLog = exports.ListServicesOutputFilterSensitiveLog = exports.ServiceSummaryFilterSensitiveLog = exports.ListServicesInputFilterSensitiveLog = exports.GetServiceOutputFilterSensitiveLog = exports.GetServiceInputFilterSensitiveLog = exports.DeleteServiceOutputFilterSensitiveLog = exports.DeleteServiceInputFilterSensitiveLog = exports.CreateServiceOutputFilterSensitiveLog = exports.ServiceFilterSensitiveLog = exports.CreateServiceInputFilterSensitiveLog = exports.UpdateServicePipelineOutputFilterSensitiveLog = exports.UpdateServicePipelineInputFilterSensitiveLog = exports.ListServicePipelineProvisionedResourcesOutputFilterSensitiveLog = exports.ListServicePipelineProvisionedResourcesInputFilterSensitiveLog = exports.ListServicePipelineOutputsOutputFilterSensitiveLog = exports.ListServicePipelineOutputsInputFilterSensitiveLog = exports.UpdateServiceInstanceOutputFilterSensitiveLog = exports.UpdateServiceInstanceInputFilterSensitiveLog = exports.ListServiceInstancesOutputFilterSensitiveLog = exports.ServiceInstanceSummaryFilterSensitiveLog = exports.ListServiceInstancesInputFilterSensitiveLog = exports.ListServiceInstancesFilterFilterSensitiveLog = exports.GetServiceInstanceOutputFilterSensitiveLog = exports.GetServiceInstanceInputFilterSensitiveLog = exports.ListServiceInstanceProvisionedResourcesOutputFilterSensitiveLog = exports.ListServiceInstanceProvisionedResourcesInputFilterSensitiveLog = void 0;
|
|
7
|
+
exports.UntagResourceOutputFilterSensitiveLog = exports.UntagResourceInputFilterSensitiveLog = exports.UpdateTemplateSyncConfigOutputFilterSensitiveLog = exports.UpdateTemplateSyncConfigInputFilterSensitiveLog = exports.GetTemplateSyncConfigOutputFilterSensitiveLog = exports.GetTemplateSyncConfigInputFilterSensitiveLog = exports.DeleteTemplateSyncConfigOutputFilterSensitiveLog = exports.DeleteTemplateSyncConfigInputFilterSensitiveLog = exports.CreateTemplateSyncConfigOutputFilterSensitiveLog = exports.TemplateSyncConfigFilterSensitiveLog = exports.CreateTemplateSyncConfigInputFilterSensitiveLog = exports.TagResourceOutputFilterSensitiveLog = exports.TagResourceInputFilterSensitiveLog = exports.UpdateServiceTemplateVersionOutputFilterSensitiveLog = exports.UpdateServiceTemplateVersionInputFilterSensitiveLog = exports.ListServiceTemplateVersionsOutputFilterSensitiveLog = exports.ServiceTemplateVersionSummaryFilterSensitiveLog = void 0;
|
|
8
8
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
9
9
|
const ProtonServiceException_1 = require("./ProtonServiceException");
|
|
10
10
|
var EnvironmentAccountConnectionStatus;
|
|
@@ -196,6 +196,34 @@ var ResourceDeploymentStatus;
|
|
|
196
196
|
ResourceDeploymentStatus["IN_PROGRESS"] = "IN_PROGRESS";
|
|
197
197
|
ResourceDeploymentStatus["SUCCEEDED"] = "SUCCEEDED";
|
|
198
198
|
})(ResourceDeploymentStatus = exports.ResourceDeploymentStatus || (exports.ResourceDeploymentStatus = {}));
|
|
199
|
+
var ListServiceInstancesFilterBy;
|
|
200
|
+
(function (ListServiceInstancesFilterBy) {
|
|
201
|
+
ListServiceInstancesFilterBy["CREATED_AT_AFTER"] = "createdAtAfter";
|
|
202
|
+
ListServiceInstancesFilterBy["CREATED_AT_BEFORE"] = "createdAtBefore";
|
|
203
|
+
ListServiceInstancesFilterBy["DEPLOYED_TEMPLATE_VERSION_STATUS"] = "deployedTemplateVersionStatus";
|
|
204
|
+
ListServiceInstancesFilterBy["DEPLOYMENT_STATUS"] = "deploymentStatus";
|
|
205
|
+
ListServiceInstancesFilterBy["ENVIRONMENT_NAME"] = "environmentName";
|
|
206
|
+
ListServiceInstancesFilterBy["LAST_DEPLOYMENT_ATTEMPTED_AT_AFTER"] = "lastDeploymentAttemptedAtAfter";
|
|
207
|
+
ListServiceInstancesFilterBy["LAST_DEPLOYMENT_ATTEMPTED_AT_BEFORE"] = "lastDeploymentAttemptedAtBefore";
|
|
208
|
+
ListServiceInstancesFilterBy["NAME"] = "name";
|
|
209
|
+
ListServiceInstancesFilterBy["SERVICE_NAME"] = "serviceName";
|
|
210
|
+
ListServiceInstancesFilterBy["TEMPLATE_NAME"] = "templateName";
|
|
211
|
+
})(ListServiceInstancesFilterBy = exports.ListServiceInstancesFilterBy || (exports.ListServiceInstancesFilterBy = {}));
|
|
212
|
+
var ListServiceInstancesSortBy;
|
|
213
|
+
(function (ListServiceInstancesSortBy) {
|
|
214
|
+
ListServiceInstancesSortBy["CREATED_AT"] = "createdAt";
|
|
215
|
+
ListServiceInstancesSortBy["DEPLOYMENT_STATUS"] = "deploymentStatus";
|
|
216
|
+
ListServiceInstancesSortBy["ENVIRONMENT_NAME"] = "environmentName";
|
|
217
|
+
ListServiceInstancesSortBy["LAST_DEPLOYMENT_ATTEMPTED_AT"] = "lastDeploymentAttemptedAt";
|
|
218
|
+
ListServiceInstancesSortBy["NAME"] = "name";
|
|
219
|
+
ListServiceInstancesSortBy["SERVICE_NAME"] = "serviceName";
|
|
220
|
+
ListServiceInstancesSortBy["TEMPLATE_NAME"] = "templateName";
|
|
221
|
+
})(ListServiceInstancesSortBy = exports.ListServiceInstancesSortBy || (exports.ListServiceInstancesSortBy = {}));
|
|
222
|
+
var SortOrder;
|
|
223
|
+
(function (SortOrder) {
|
|
224
|
+
SortOrder["ASCENDING"] = "ASCENDING";
|
|
225
|
+
SortOrder["DESCENDING"] = "DESCENDING";
|
|
226
|
+
})(SortOrder = exports.SortOrder || (exports.SortOrder = {}));
|
|
199
227
|
var ServiceStatus;
|
|
200
228
|
(function (ServiceStatus) {
|
|
201
229
|
ServiceStatus["ACTIVE"] = "ACTIVE";
|
|
@@ -816,6 +844,10 @@ const GetServiceInstanceOutputFilterSensitiveLog = (obj) => ({
|
|
|
816
844
|
...(obj.serviceInstance && { serviceInstance: (0, exports.ServiceInstanceFilterSensitiveLog)(obj.serviceInstance) }),
|
|
817
845
|
});
|
|
818
846
|
exports.GetServiceInstanceOutputFilterSensitiveLog = GetServiceInstanceOutputFilterSensitiveLog;
|
|
847
|
+
const ListServiceInstancesFilterFilterSensitiveLog = (obj) => ({
|
|
848
|
+
...obj,
|
|
849
|
+
});
|
|
850
|
+
exports.ListServiceInstancesFilterFilterSensitiveLog = ListServiceInstancesFilterFilterSensitiveLog;
|
|
819
851
|
const ListServiceInstancesInputFilterSensitiveLog = (obj) => ({
|
|
820
852
|
...obj,
|
|
821
853
|
});
|
|
@@ -4810,11 +4810,29 @@ const serializeAws_json1_0ListServiceInstanceProvisionedResourcesInput = (input,
|
|
|
4810
4810
|
...(input.serviceName != null && { serviceName: input.serviceName }),
|
|
4811
4811
|
};
|
|
4812
4812
|
};
|
|
4813
|
+
const serializeAws_json1_0ListServiceInstancesFilter = (input, context) => {
|
|
4814
|
+
return {
|
|
4815
|
+
...(input.key != null && { key: input.key }),
|
|
4816
|
+
...(input.value != null && { value: input.value }),
|
|
4817
|
+
};
|
|
4818
|
+
};
|
|
4819
|
+
const serializeAws_json1_0ListServiceInstancesFilterList = (input, context) => {
|
|
4820
|
+
return input
|
|
4821
|
+
.filter((e) => e != null)
|
|
4822
|
+
.map((entry) => {
|
|
4823
|
+
return serializeAws_json1_0ListServiceInstancesFilter(entry, context);
|
|
4824
|
+
});
|
|
4825
|
+
};
|
|
4813
4826
|
const serializeAws_json1_0ListServiceInstancesInput = (input, context) => {
|
|
4814
4827
|
return {
|
|
4828
|
+
...(input.filters != null && {
|
|
4829
|
+
filters: serializeAws_json1_0ListServiceInstancesFilterList(input.filters, context),
|
|
4830
|
+
}),
|
|
4815
4831
|
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
4816
4832
|
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
4817
4833
|
...(input.serviceName != null && { serviceName: input.serviceName }),
|
|
4834
|
+
...(input.sortBy != null && { sortBy: input.sortBy }),
|
|
4835
|
+
...(input.sortOrder != null && { sortOrder: input.sortOrder }),
|
|
4818
4836
|
};
|
|
4819
4837
|
};
|
|
4820
4838
|
const serializeAws_json1_0ListServicePipelineOutputsInput = (input, context) => {
|
|
@@ -182,6 +182,34 @@ export var ResourceDeploymentStatus;
|
|
|
182
182
|
ResourceDeploymentStatus["IN_PROGRESS"] = "IN_PROGRESS";
|
|
183
183
|
ResourceDeploymentStatus["SUCCEEDED"] = "SUCCEEDED";
|
|
184
184
|
})(ResourceDeploymentStatus || (ResourceDeploymentStatus = {}));
|
|
185
|
+
export var ListServiceInstancesFilterBy;
|
|
186
|
+
(function (ListServiceInstancesFilterBy) {
|
|
187
|
+
ListServiceInstancesFilterBy["CREATED_AT_AFTER"] = "createdAtAfter";
|
|
188
|
+
ListServiceInstancesFilterBy["CREATED_AT_BEFORE"] = "createdAtBefore";
|
|
189
|
+
ListServiceInstancesFilterBy["DEPLOYED_TEMPLATE_VERSION_STATUS"] = "deployedTemplateVersionStatus";
|
|
190
|
+
ListServiceInstancesFilterBy["DEPLOYMENT_STATUS"] = "deploymentStatus";
|
|
191
|
+
ListServiceInstancesFilterBy["ENVIRONMENT_NAME"] = "environmentName";
|
|
192
|
+
ListServiceInstancesFilterBy["LAST_DEPLOYMENT_ATTEMPTED_AT_AFTER"] = "lastDeploymentAttemptedAtAfter";
|
|
193
|
+
ListServiceInstancesFilterBy["LAST_DEPLOYMENT_ATTEMPTED_AT_BEFORE"] = "lastDeploymentAttemptedAtBefore";
|
|
194
|
+
ListServiceInstancesFilterBy["NAME"] = "name";
|
|
195
|
+
ListServiceInstancesFilterBy["SERVICE_NAME"] = "serviceName";
|
|
196
|
+
ListServiceInstancesFilterBy["TEMPLATE_NAME"] = "templateName";
|
|
197
|
+
})(ListServiceInstancesFilterBy || (ListServiceInstancesFilterBy = {}));
|
|
198
|
+
export var ListServiceInstancesSortBy;
|
|
199
|
+
(function (ListServiceInstancesSortBy) {
|
|
200
|
+
ListServiceInstancesSortBy["CREATED_AT"] = "createdAt";
|
|
201
|
+
ListServiceInstancesSortBy["DEPLOYMENT_STATUS"] = "deploymentStatus";
|
|
202
|
+
ListServiceInstancesSortBy["ENVIRONMENT_NAME"] = "environmentName";
|
|
203
|
+
ListServiceInstancesSortBy["LAST_DEPLOYMENT_ATTEMPTED_AT"] = "lastDeploymentAttemptedAt";
|
|
204
|
+
ListServiceInstancesSortBy["NAME"] = "name";
|
|
205
|
+
ListServiceInstancesSortBy["SERVICE_NAME"] = "serviceName";
|
|
206
|
+
ListServiceInstancesSortBy["TEMPLATE_NAME"] = "templateName";
|
|
207
|
+
})(ListServiceInstancesSortBy || (ListServiceInstancesSortBy = {}));
|
|
208
|
+
export var SortOrder;
|
|
209
|
+
(function (SortOrder) {
|
|
210
|
+
SortOrder["ASCENDING"] = "ASCENDING";
|
|
211
|
+
SortOrder["DESCENDING"] = "DESCENDING";
|
|
212
|
+
})(SortOrder || (SortOrder = {}));
|
|
185
213
|
export var ServiceStatus;
|
|
186
214
|
(function (ServiceStatus) {
|
|
187
215
|
ServiceStatus["ACTIVE"] = "ACTIVE";
|
|
@@ -675,6 +703,9 @@ export const GetServiceInstanceOutputFilterSensitiveLog = (obj) => ({
|
|
|
675
703
|
...obj,
|
|
676
704
|
...(obj.serviceInstance && { serviceInstance: ServiceInstanceFilterSensitiveLog(obj.serviceInstance) }),
|
|
677
705
|
});
|
|
706
|
+
export const ListServiceInstancesFilterFilterSensitiveLog = (obj) => ({
|
|
707
|
+
...obj,
|
|
708
|
+
});
|
|
678
709
|
export const ListServiceInstancesInputFilterSensitiveLog = (obj) => ({
|
|
679
710
|
...obj,
|
|
680
711
|
});
|
|
@@ -4655,11 +4655,29 @@ const serializeAws_json1_0ListServiceInstanceProvisionedResourcesInput = (input,
|
|
|
4655
4655
|
...(input.serviceName != null && { serviceName: input.serviceName }),
|
|
4656
4656
|
};
|
|
4657
4657
|
};
|
|
4658
|
+
const serializeAws_json1_0ListServiceInstancesFilter = (input, context) => {
|
|
4659
|
+
return {
|
|
4660
|
+
...(input.key != null && { key: input.key }),
|
|
4661
|
+
...(input.value != null && { value: input.value }),
|
|
4662
|
+
};
|
|
4663
|
+
};
|
|
4664
|
+
const serializeAws_json1_0ListServiceInstancesFilterList = (input, context) => {
|
|
4665
|
+
return input
|
|
4666
|
+
.filter((e) => e != null)
|
|
4667
|
+
.map((entry) => {
|
|
4668
|
+
return serializeAws_json1_0ListServiceInstancesFilter(entry, context);
|
|
4669
|
+
});
|
|
4670
|
+
};
|
|
4658
4671
|
const serializeAws_json1_0ListServiceInstancesInput = (input, context) => {
|
|
4659
4672
|
return {
|
|
4673
|
+
...(input.filters != null && {
|
|
4674
|
+
filters: serializeAws_json1_0ListServiceInstancesFilterList(input.filters, context),
|
|
4675
|
+
}),
|
|
4660
4676
|
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
4661
4677
|
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
4662
4678
|
...(input.serviceName != null && { serviceName: input.serviceName }),
|
|
4679
|
+
...(input.sortBy != null && { sortBy: input.sortBy }),
|
|
4680
|
+
...(input.sortOrder != null && { sortOrder: input.sortOrder }),
|
|
4663
4681
|
};
|
|
4664
4682
|
};
|
|
4665
4683
|
const serializeAws_json1_0ListServicePipelineOutputsInput = (input, context) => {
|
package/dist-types/Proton.d.ts
CHANGED
|
@@ -294,18 +294,11 @@ export declare class Proton extends ProtonClient {
|
|
|
294
294
|
* </p>
|
|
295
295
|
* <ul>
|
|
296
296
|
* <li>
|
|
297
|
-
* <p>
|
|
298
|
-
* <b>Amazon Web Services-managed provisioning</b> – Proton makes direct calls to provision your resources.</p>
|
|
299
|
-
* </li>
|
|
300
|
-
* <li>
|
|
301
|
-
* <p>
|
|
302
|
-
* <b>Self-managed provisioning</b> – Proton makes pull requests on your repository to provide compiled
|
|
303
|
-
* infrastructure as code (IaC) files that your IaC engine uses to provision resources.</p>
|
|
297
|
+
* <p>Amazon Web Services-managed provisioning: Proton makes direct calls to provision your resources.</p>
|
|
304
298
|
* </li>
|
|
305
299
|
* <li>
|
|
306
|
-
* <p>
|
|
307
|
-
*
|
|
308
|
-
* read inputs that Proton provides, and are responsible for provisioning or deprovisioning infrastructure and generating output values.</p>
|
|
300
|
+
* <p>Self-managed provisioning: Proton makes pull requests on your repository to provide compiled infrastructure as code (IaC) files that your IaC
|
|
301
|
+
* engine uses to provision resources.</p>
|
|
309
302
|
* </li>
|
|
310
303
|
* </ul>
|
|
311
304
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-environments.html">Environments</a> and <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-works-prov-methods.html">Provisioning methods</a> in the <i>Proton User
|
|
@@ -668,7 +661,7 @@ export declare class Proton extends ProtonClient {
|
|
|
668
661
|
listServiceInstanceProvisionedResources(args: ListServiceInstanceProvisionedResourcesCommandInput, cb: (err: any, data?: ListServiceInstanceProvisionedResourcesCommandOutput) => void): void;
|
|
669
662
|
listServiceInstanceProvisionedResources(args: ListServiceInstanceProvisionedResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListServiceInstanceProvisionedResourcesCommandOutput) => void): void;
|
|
670
663
|
/**
|
|
671
|
-
* <p>List service instances with summary data.</p>
|
|
664
|
+
* <p>List service instances with summary data. This action lists service instances of all services in the Amazon Web Services account.</p>
|
|
672
665
|
*/
|
|
673
666
|
listServiceInstances(args: ListServiceInstancesCommandInput, options?: __HttpHandlerOptions): Promise<ListServiceInstancesCommandOutput>;
|
|
674
667
|
listServiceInstances(args: ListServiceInstancesCommandInput, cb: (err: any, data?: ListServiceInstancesCommandOutput) => void): void;
|
|
@@ -711,19 +704,8 @@ export declare class Proton extends ProtonClient {
|
|
|
711
704
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
712
705
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
713
706
|
/**
|
|
714
|
-
* <p>Notify Proton of
|
|
715
|
-
* <
|
|
716
|
-
* <li>
|
|
717
|
-
* <p>For <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-works-prov-methods.html#ag-works-prov-methods-codebuild">CodeBuild-based
|
|
718
|
-
* provisioning</a>, provide your provisioned resource output values to Proton.</p>
|
|
719
|
-
* </li>
|
|
720
|
-
* <li>
|
|
721
|
-
* <p>For <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-works-prov-methods.html#ag-works-prov-methods-self">self-managed
|
|
722
|
-
* provisioning</a>, notify Proton about the status of your provisioned resource. To disambiguate between different deployments of the same
|
|
723
|
-
* resource, set <code>deploymentId</code> to a unique deployment ID of your choice.</p>
|
|
724
|
-
*
|
|
725
|
-
* </li>
|
|
726
|
-
* </ul>
|
|
707
|
+
* <p>Notify Proton of status changes to a provisioned resource when you use self-managed provisioning.</p>
|
|
708
|
+
* <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>
|
|
727
709
|
*/
|
|
728
710
|
notifyResourceDeploymentStatusChange(args: NotifyResourceDeploymentStatusChangeCommandInput, options?: __HttpHandlerOptions): Promise<NotifyResourceDeploymentStatusChangeCommandOutput>;
|
|
729
711
|
notifyResourceDeploymentStatusChange(args: NotifyResourceDeploymentStatusChangeCommandInput, cb: (err: any, data?: NotifyResourceDeploymentStatusChangeCommandOutput) => void): void;
|
|
@@ -778,17 +760,17 @@ export declare class Proton extends ProtonClient {
|
|
|
778
760
|
/**
|
|
779
761
|
* <p>Update an environment.</p>
|
|
780
762
|
* <p>If the environment is associated with an environment account connection, <i>don't</i> update or include the
|
|
781
|
-
* <code>protonServiceRoleArn</code
|
|
763
|
+
* <code>protonServiceRoleArn</code> and <code>provisioningRepository</code> parameter to update or connect to an environment account connection.</p>
|
|
782
764
|
* <p>You can only update to a new environment account connection if that connection was created in the same environment account that the current
|
|
783
765
|
* environment account connection was created in. The account connection must also be associated with the current environment.</p>
|
|
784
766
|
* <p>If the environment <i>isn't</i> associated with an environment account connection, <i>don't</i> update or include the
|
|
785
767
|
* <code>environmentAccountConnectionId</code> parameter. You <i>can't</i> update or connect the environment to an environment account
|
|
786
768
|
* connection if it <i>isn't</i> already associated with an environment connection.</p>
|
|
787
|
-
* <p>You can update either <code>environmentAccountConnectionId</code> or
|
|
788
|
-
*
|
|
789
|
-
* <p>If the environment was configured for Amazon Web Services-managed
|
|
769
|
+
* <p>You can update either the <code>environmentAccountConnectionId</code> or <code>protonServiceRoleArn</code> parameter and value. You can’t update
|
|
770
|
+
* both.</p>
|
|
771
|
+
* <p>If the environment was configured for Amazon Web Services-managed provisioning, omit the <code>provisioningRepository</code> parameter.</p>
|
|
790
772
|
* <p>If the environment was configured for self-managed provisioning, specify the <code>provisioningRepository</code> parameter and omit the
|
|
791
|
-
* <code>protonServiceRoleArn</code
|
|
773
|
+
* <code>protonServiceRoleArn</code> and <code>environmentAccountConnectionId</code> parameters.</p>
|
|
792
774
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-environments.html">Environments</a> and <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-works-prov-methods.html">Provisioning methods</a> in the <i>Proton User
|
|
793
775
|
* Guide</i>.</p>
|
|
794
776
|
* <p>There are four modes for updating an environment. The <code>deploymentType</code> field defines the mode.</p>
|
|
@@ -15,18 +15,11 @@ export interface CreateEnvironmentCommandOutput extends CreateEnvironmentOutput,
|
|
|
15
15
|
* </p>
|
|
16
16
|
* <ul>
|
|
17
17
|
* <li>
|
|
18
|
-
* <p>
|
|
19
|
-
* <b>Amazon Web Services-managed provisioning</b> – Proton makes direct calls to provision your resources.</p>
|
|
18
|
+
* <p>Amazon Web Services-managed provisioning: Proton makes direct calls to provision your resources.</p>
|
|
20
19
|
* </li>
|
|
21
20
|
* <li>
|
|
22
|
-
* <p>
|
|
23
|
-
*
|
|
24
|
-
* infrastructure as code (IaC) files that your IaC engine uses to provision resources.</p>
|
|
25
|
-
* </li>
|
|
26
|
-
* <li>
|
|
27
|
-
* <p>
|
|
28
|
-
* <b>CodeBuild-based provisioning</b> – Proton uses CodeBuild to run shell commands that you provide. Your commands can
|
|
29
|
-
* read inputs that Proton provides, and are responsible for provisioning or deprovisioning infrastructure and generating output values.</p>
|
|
21
|
+
* <p>Self-managed provisioning: Proton makes pull requests on your repository to provide compiled infrastructure as code (IaC) files that your IaC
|
|
22
|
+
* engine uses to provision resources.</p>
|
|
30
23
|
* </li>
|
|
31
24
|
* </ul>
|
|
32
25
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-environments.html">Environments</a> and <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-works-prov-methods.html">Provisioning methods</a> in the <i>Proton User
|
|
@@ -8,7 +8,7 @@ export interface ListServiceInstancesCommandInput extends ListServiceInstancesIn
|
|
|
8
8
|
export interface ListServiceInstancesCommandOutput extends ListServiceInstancesOutput, __MetadataBearer {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* <p>List service instances with summary data.</p>
|
|
11
|
+
* <p>List service instances with summary data. This action lists service instances of all services in the Amazon Web Services account.</p>
|
|
12
12
|
* @example
|
|
13
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
14
14
|
* ```javascript
|
|
@@ -8,19 +8,8 @@ export interface NotifyResourceDeploymentStatusChangeCommandInput extends Notify
|
|
|
8
8
|
export interface NotifyResourceDeploymentStatusChangeCommandOutput extends NotifyResourceDeploymentStatusChangeOutput, __MetadataBearer {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* <p>Notify Proton of
|
|
12
|
-
* <
|
|
13
|
-
* <li>
|
|
14
|
-
* <p>For <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-works-prov-methods.html#ag-works-prov-methods-codebuild">CodeBuild-based
|
|
15
|
-
* provisioning</a>, provide your provisioned resource output values to Proton.</p>
|
|
16
|
-
* </li>
|
|
17
|
-
* <li>
|
|
18
|
-
* <p>For <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-works-prov-methods.html#ag-works-prov-methods-self">self-managed
|
|
19
|
-
* provisioning</a>, notify Proton about the status of your provisioned resource. To disambiguate between different deployments of the same
|
|
20
|
-
* resource, set <code>deploymentId</code> to a unique deployment ID of your choice.</p>
|
|
21
|
-
*
|
|
22
|
-
* </li>
|
|
23
|
-
* </ul>
|
|
11
|
+
* <p>Notify Proton of status changes to a provisioned resource when you use self-managed provisioning.</p>
|
|
12
|
+
* <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>
|
|
24
13
|
* @example
|
|
25
14
|
* Use a bare-bones client and the command you need to make an API call.
|
|
26
15
|
* ```javascript
|
|
@@ -10,17 +10,17 @@ export interface UpdateEnvironmentCommandOutput extends UpdateEnvironmentOutput,
|
|
|
10
10
|
/**
|
|
11
11
|
* <p>Update an environment.</p>
|
|
12
12
|
* <p>If the environment is associated with an environment account connection, <i>don't</i> update or include the
|
|
13
|
-
* <code>protonServiceRoleArn</code
|
|
13
|
+
* <code>protonServiceRoleArn</code> and <code>provisioningRepository</code> parameter to update or connect to an environment account connection.</p>
|
|
14
14
|
* <p>You can only update to a new environment account connection if that connection was created in the same environment account that the current
|
|
15
15
|
* environment account connection was created in. The account connection must also be associated with the current environment.</p>
|
|
16
16
|
* <p>If the environment <i>isn't</i> associated with an environment account connection, <i>don't</i> update or include the
|
|
17
17
|
* <code>environmentAccountConnectionId</code> parameter. You <i>can't</i> update or connect the environment to an environment account
|
|
18
18
|
* connection if it <i>isn't</i> already associated with an environment connection.</p>
|
|
19
|
-
* <p>You can update either <code>environmentAccountConnectionId</code> or
|
|
20
|
-
*
|
|
21
|
-
* <p>If the environment was configured for Amazon Web Services-managed
|
|
19
|
+
* <p>You can update either the <code>environmentAccountConnectionId</code> or <code>protonServiceRoleArn</code> parameter and value. You can’t update
|
|
20
|
+
* both.</p>
|
|
21
|
+
* <p>If the environment was configured for Amazon Web Services-managed provisioning, omit the <code>provisioningRepository</code> parameter.</p>
|
|
22
22
|
* <p>If the environment was configured for self-managed provisioning, specify the <code>provisioningRepository</code> parameter and omit the
|
|
23
|
-
* <code>protonServiceRoleArn</code
|
|
23
|
+
* <code>protonServiceRoleArn</code> and <code>environmentAccountConnectionId</code> parameters.</p>
|
|
24
24
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-environments.html">Environments</a> and <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-works-prov-methods.html">Provisioning methods</a> in the <i>Proton User
|
|
25
25
|
* Guide</i>.</p>
|
|
26
26
|
* <p>There are four modes for updating an environment. The <code>deploymentType</code> field defines the mode.</p>
|
|
@@ -32,8 +32,7 @@ export interface EnvironmentAccountConnection {
|
|
|
32
32
|
*/
|
|
33
33
|
environmentAccountId: string | undefined;
|
|
34
34
|
/**
|
|
35
|
-
* <p>The
|
|
36
|
-
* using Amazon Web Services-managed provisioning and CloudFormation in the associated environment account.</p>
|
|
35
|
+
* <p>The IAM service role that's associated with the environment account connection.</p>
|
|
37
36
|
*/
|
|
38
37
|
roleArn: string | undefined;
|
|
39
38
|
/**
|
|
@@ -175,8 +174,8 @@ export interface RepositoryBranch {
|
|
|
175
174
|
*/
|
|
176
175
|
export interface AccountSettings {
|
|
177
176
|
/**
|
|
178
|
-
* <p>The Amazon Resource Name (ARN) of the service role
|
|
179
|
-
* provisioning.</p>
|
|
177
|
+
* <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
|
|
178
|
+
* customer-owned automation for self-managed provisioning.</p>
|
|
180
179
|
*/
|
|
181
180
|
pipelineServiceRoleArn?: string;
|
|
182
181
|
/**
|
|
@@ -386,12 +385,11 @@ export interface Environment {
|
|
|
386
385
|
*/
|
|
387
386
|
deploymentStatusMessage?: string;
|
|
388
387
|
/**
|
|
389
|
-
* <p>The Amazon Resource Name (ARN) of the
|
|
390
|
-
* on your behalf.</p>
|
|
388
|
+
* <p>The Amazon Resource Name (ARN) of the Proton service role that allows Proton to make calls to other services on your behalf.</p>
|
|
391
389
|
*/
|
|
392
390
|
protonServiceRoleArn?: string;
|
|
393
391
|
/**
|
|
394
|
-
* <p>The ID of the environment account connection that
|
|
392
|
+
* <p>The ID of the environment account connection that's used to provision infrastructure resources in an environment account.</p>
|
|
395
393
|
*/
|
|
396
394
|
environmentAccountConnectionId?: string;
|
|
397
395
|
/**
|
|
@@ -908,8 +906,8 @@ export interface CreateEnvironmentAccountConnectionInput {
|
|
|
908
906
|
*/
|
|
909
907
|
managementAccountId: string | undefined;
|
|
910
908
|
/**
|
|
911
|
-
* <p>The Amazon Resource Name (ARN) of
|
|
912
|
-
*
|
|
909
|
+
* <p>The Amazon Resource Name (ARN) of the IAM service role that's created in the environment account. Proton uses this role to provision infrastructure
|
|
910
|
+
* resources in the associated environment account.</p>
|
|
913
911
|
*/
|
|
914
912
|
roleArn: string | undefined;
|
|
915
913
|
/**
|
|
@@ -923,8 +921,8 @@ export interface CreateEnvironmentAccountConnectionInput {
|
|
|
923
921
|
*/
|
|
924
922
|
tags?: Tag[];
|
|
925
923
|
/**
|
|
926
|
-
* <p>The Amazon Resource Name (ARN) of
|
|
927
|
-
*
|
|
924
|
+
* <p>The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in the associated
|
|
925
|
+
* environment account. It determines the scope of infrastructure that a component can provision in the account.</p>
|
|
928
926
|
* <p>You must specify <code>componentRoleArn</code> to allow directly defined components to be associated with any environments running in this
|
|
929
927
|
* account.</p>
|
|
930
928
|
* <p>For more information about components, see
|
|
@@ -1075,8 +1073,7 @@ export interface UpdateEnvironmentAccountConnectionInput {
|
|
|
1075
1073
|
*/
|
|
1076
1074
|
id: string | undefined;
|
|
1077
1075
|
/**
|
|
1078
|
-
* <p>The Amazon Resource Name (ARN) of
|
|
1079
|
-
* using Amazon Web Services-managed provisioning and CloudFormation in the associated environment account.</p>
|
|
1076
|
+
* <p>The Amazon Resource Name (ARN) of the IAM service role that's associated with the environment account connection to update.</p>
|
|
1080
1077
|
*/
|
|
1081
1078
|
roleArn?: string;
|
|
1082
1079
|
/**
|
|
@@ -1172,18 +1169,17 @@ export interface CreateEnvironmentInput {
|
|
|
1172
1169
|
*/
|
|
1173
1170
|
spec: string | undefined;
|
|
1174
1171
|
/**
|
|
1175
|
-
* <p>The Amazon Resource Name (ARN) of the
|
|
1176
|
-
*
|
|
1177
|
-
*
|
|
1178
|
-
* <code>environmentAccountConnectionId</code> or <code>protonServiceRoleArn</code> parameter.</p>
|
|
1172
|
+
* <p>The Amazon Resource Name (ARN) of the Proton service role that allows Proton to make calls to other services on your behalf.</p>
|
|
1173
|
+
* <p>To use Amazon Web Services-managed provisioning for the environment, specify either the <code>environmentAccountConnectionId</code> or
|
|
1174
|
+
* <code>protonServiceRoleArn</code> parameter and omit the <code>provisioningRepository</code> parameter.</p>
|
|
1179
1175
|
*/
|
|
1180
1176
|
protonServiceRoleArn?: string;
|
|
1181
1177
|
/**
|
|
1182
|
-
* <p>The ID of the environment account connection that you provide if you
|
|
1183
|
-
*
|
|
1184
|
-
*
|
|
1185
|
-
* <p>
|
|
1186
|
-
* <code>
|
|
1178
|
+
* <p>The ID of the environment account connection that you provide if you're provisioning your environment infrastructure resources to an environment
|
|
1179
|
+
* account. For more information, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-env-account-connections.html">Environment account
|
|
1180
|
+
* connections</a> in the <i>Proton User guide</i>.</p>
|
|
1181
|
+
* <p>To use Amazon Web Services-managed provisioning for the environment, specify either the <code>environmentAccountConnectionId</code> or
|
|
1182
|
+
* <code>protonServiceRoleArn</code> parameter and omit the <code>provisioningRepository</code> parameter.</p>
|
|
1187
1183
|
*/
|
|
1188
1184
|
environmentAccountConnectionId?: string;
|
|
1189
1185
|
/**
|
|
@@ -1195,7 +1191,8 @@ export interface CreateEnvironmentInput {
|
|
|
1195
1191
|
/**
|
|
1196
1192
|
* <p>The linked repository that you use to host your rendered infrastructure templates for self-managed provisioning. A linked repository is a repository
|
|
1197
1193
|
* that has been registered with Proton. For more information, see <a>CreateRepository</a>.</p>
|
|
1198
|
-
* <p>To use self-managed provisioning for the environment
|
|
1194
|
+
* <p>To use self-managed provisioning for the environment, specify this parameter and omit the <code>environmentAccountConnectionId</code> and
|
|
1195
|
+
* <code>protonServiceRoleArn</code> parameters.</p>
|
|
1199
1196
|
*/
|
|
1200
1197
|
provisioningRepository?: RepositoryBranchInput;
|
|
1201
1198
|
/**
|
|
@@ -1385,8 +1382,7 @@ export interface UpdateEnvironmentInput {
|
|
|
1385
1382
|
*/
|
|
1386
1383
|
templateMinorVersion?: string;
|
|
1387
1384
|
/**
|
|
1388
|
-
* <p>The Amazon Resource Name (ARN) of the
|
|
1389
|
-
* on your behalf.</p>
|
|
1385
|
+
* <p>The Amazon Resource Name (ARN) of the Proton service role that allows Proton to make API calls to other services your behalf.</p>
|
|
1390
1386
|
*/
|
|
1391
1387
|
protonServiceRoleArn?: string;
|
|
1392
1388
|
/**
|
|
@@ -1427,9 +1423,7 @@ export interface UpdateEnvironmentInput {
|
|
|
1427
1423
|
*/
|
|
1428
1424
|
deploymentType: DeploymentUpdateType | string | undefined;
|
|
1429
1425
|
/**
|
|
1430
|
-
* <p>The ID of the environment account connection
|
|
1431
|
-
* of the service instances running in it in an environment account. For more information, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-env-account-connections.html">Environment account connections</a> in the <i>Proton User
|
|
1432
|
-
* guide</i>.</p>
|
|
1426
|
+
* <p>The ID of the environment account connection.</p>
|
|
1433
1427
|
* <p>You can only update to a new environment account connection if it was created in the same environment account that the current environment account
|
|
1434
1428
|
* connection was created in and is associated with the current environment.</p>
|
|
1435
1429
|
*/
|
|
@@ -2213,7 +2207,7 @@ export declare enum ResourceDeploymentStatus {
|
|
|
2213
2207
|
}
|
|
2214
2208
|
export interface NotifyResourceDeploymentStatusChangeInput {
|
|
2215
2209
|
/**
|
|
2216
|
-
* <p>The Amazon Resource Name (ARN)
|
|
2210
|
+
* <p>The provisioned resource Amazon Resource Name (ARN).</p>
|
|
2217
2211
|
*/
|
|
2218
2212
|
resourceArn: string | undefined;
|
|
2219
2213
|
/**
|
|
@@ -2221,11 +2215,11 @@ export interface NotifyResourceDeploymentStatusChangeInput {
|
|
|
2221
2215
|
*/
|
|
2222
2216
|
status?: ResourceDeploymentStatus | string;
|
|
2223
2217
|
/**
|
|
2224
|
-
* <p>The
|
|
2218
|
+
* <p>The provisioned resource state change detail data that's returned by Proton.</p>
|
|
2225
2219
|
*/
|
|
2226
2220
|
outputs?: Output[];
|
|
2227
2221
|
/**
|
|
2228
|
-
* <p>The deployment ID for your provisioned resource
|
|
2222
|
+
* <p>The deployment ID for your provisioned resource.</p>
|
|
2229
2223
|
*/
|
|
2230
2224
|
deploymentId?: string;
|
|
2231
2225
|
/**
|
|
@@ -2426,6 +2420,46 @@ export interface GetServiceInstanceOutput {
|
|
|
2426
2420
|
*/
|
|
2427
2421
|
serviceInstance: ServiceInstance | undefined;
|
|
2428
2422
|
}
|
|
2423
|
+
export declare enum ListServiceInstancesFilterBy {
|
|
2424
|
+
CREATED_AT_AFTER = "createdAtAfter",
|
|
2425
|
+
CREATED_AT_BEFORE = "createdAtBefore",
|
|
2426
|
+
DEPLOYED_TEMPLATE_VERSION_STATUS = "deployedTemplateVersionStatus",
|
|
2427
|
+
DEPLOYMENT_STATUS = "deploymentStatus",
|
|
2428
|
+
ENVIRONMENT_NAME = "environmentName",
|
|
2429
|
+
LAST_DEPLOYMENT_ATTEMPTED_AT_AFTER = "lastDeploymentAttemptedAtAfter",
|
|
2430
|
+
LAST_DEPLOYMENT_ATTEMPTED_AT_BEFORE = "lastDeploymentAttemptedAtBefore",
|
|
2431
|
+
NAME = "name",
|
|
2432
|
+
SERVICE_NAME = "serviceName",
|
|
2433
|
+
TEMPLATE_NAME = "templateName"
|
|
2434
|
+
}
|
|
2435
|
+
/**
|
|
2436
|
+
* <p>A filtering criterion to scope down the result list of the <a>ListServiceInstances</a> action.</p>
|
|
2437
|
+
*/
|
|
2438
|
+
export interface ListServiceInstancesFilter {
|
|
2439
|
+
/**
|
|
2440
|
+
* <p>The name of a filtering criterion.</p>
|
|
2441
|
+
*/
|
|
2442
|
+
key?: ListServiceInstancesFilterBy | string;
|
|
2443
|
+
/**
|
|
2444
|
+
* <p>A value to filter by.</p>
|
|
2445
|
+
* <p>With the date/time keys (<code>*At{Before,After}</code>), the value is a valid <a href="https://datatracker.ietf.org/doc/html/rfc3339.html">RFC
|
|
2446
|
+
* 3339</a> string with no UTC offset and with an optional fractional precision (for example, <code>1985-04-12T23:20:50.52Z</code>).</p>
|
|
2447
|
+
*/
|
|
2448
|
+
value?: string;
|
|
2449
|
+
}
|
|
2450
|
+
export declare enum ListServiceInstancesSortBy {
|
|
2451
|
+
CREATED_AT = "createdAt",
|
|
2452
|
+
DEPLOYMENT_STATUS = "deploymentStatus",
|
|
2453
|
+
ENVIRONMENT_NAME = "environmentName",
|
|
2454
|
+
LAST_DEPLOYMENT_ATTEMPTED_AT = "lastDeploymentAttemptedAt",
|
|
2455
|
+
NAME = "name",
|
|
2456
|
+
SERVICE_NAME = "serviceName",
|
|
2457
|
+
TEMPLATE_NAME = "templateName"
|
|
2458
|
+
}
|
|
2459
|
+
export declare enum SortOrder {
|
|
2460
|
+
ASCENDING = "ASCENDING",
|
|
2461
|
+
DESCENDING = "DESCENDING"
|
|
2462
|
+
}
|
|
2429
2463
|
export interface ListServiceInstancesInput {
|
|
2430
2464
|
/**
|
|
2431
2465
|
* <p>The name of the service that the service instance belongs to.</p>
|
|
@@ -2440,6 +2474,23 @@ export interface ListServiceInstancesInput {
|
|
|
2440
2474
|
* <p>The maximum number of service instances to list.</p>
|
|
2441
2475
|
*/
|
|
2442
2476
|
maxResults?: number;
|
|
2477
|
+
/**
|
|
2478
|
+
* <p>An array of filtering criteria that scope down the result list. By default, all service instances in the Amazon Web Services account are returned.</p>
|
|
2479
|
+
*/
|
|
2480
|
+
filters?: ListServiceInstancesFilter[];
|
|
2481
|
+
/**
|
|
2482
|
+
* <p>The field that the result list is sorted by.</p>
|
|
2483
|
+
* <p>When you choose to sort by <code>serviceName</code>, service instances within each service are sorted by service instance name.</p>
|
|
2484
|
+
* <p>Default: <code>serviceName</code>
|
|
2485
|
+
* </p>
|
|
2486
|
+
*/
|
|
2487
|
+
sortBy?: ListServiceInstancesSortBy | string;
|
|
2488
|
+
/**
|
|
2489
|
+
* <p>Result list sort order.</p>
|
|
2490
|
+
* <p>Default: <code>ASCENDING</code>
|
|
2491
|
+
* </p>
|
|
2492
|
+
*/
|
|
2493
|
+
sortOrder?: SortOrder | string;
|
|
2443
2494
|
}
|
|
2444
2495
|
/**
|
|
2445
2496
|
* <p>Summary data of an Proton service instance resource.</p>
|
|
@@ -4049,6 +4100,10 @@ export declare const GetServiceInstanceInputFilterSensitiveLog: (obj: GetService
|
|
|
4049
4100
|
* @internal
|
|
4050
4101
|
*/
|
|
4051
4102
|
export declare const GetServiceInstanceOutputFilterSensitiveLog: (obj: GetServiceInstanceOutput) => any;
|
|
4103
|
+
/**
|
|
4104
|
+
* @internal
|
|
4105
|
+
*/
|
|
4106
|
+
export declare const ListServiceInstancesFilterFilterSensitiveLog: (obj: ListServiceInstancesFilter) => any;
|
|
4052
4107
|
/**
|
|
4053
4108
|
* @internal
|
|
4054
4109
|
*/
|
|
@@ -816,10 +816,42 @@ export interface GetServiceInstanceInput {
|
|
|
816
816
|
export interface GetServiceInstanceOutput {
|
|
817
817
|
serviceInstance: ServiceInstance | undefined;
|
|
818
818
|
}
|
|
819
|
+
export declare enum ListServiceInstancesFilterBy {
|
|
820
|
+
CREATED_AT_AFTER = "createdAtAfter",
|
|
821
|
+
CREATED_AT_BEFORE = "createdAtBefore",
|
|
822
|
+
DEPLOYED_TEMPLATE_VERSION_STATUS = "deployedTemplateVersionStatus",
|
|
823
|
+
DEPLOYMENT_STATUS = "deploymentStatus",
|
|
824
|
+
ENVIRONMENT_NAME = "environmentName",
|
|
825
|
+
LAST_DEPLOYMENT_ATTEMPTED_AT_AFTER = "lastDeploymentAttemptedAtAfter",
|
|
826
|
+
LAST_DEPLOYMENT_ATTEMPTED_AT_BEFORE = "lastDeploymentAttemptedAtBefore",
|
|
827
|
+
NAME = "name",
|
|
828
|
+
SERVICE_NAME = "serviceName",
|
|
829
|
+
TEMPLATE_NAME = "templateName",
|
|
830
|
+
}
|
|
831
|
+
export interface ListServiceInstancesFilter {
|
|
832
|
+
key?: ListServiceInstancesFilterBy | string;
|
|
833
|
+
value?: string;
|
|
834
|
+
}
|
|
835
|
+
export declare enum ListServiceInstancesSortBy {
|
|
836
|
+
CREATED_AT = "createdAt",
|
|
837
|
+
DEPLOYMENT_STATUS = "deploymentStatus",
|
|
838
|
+
ENVIRONMENT_NAME = "environmentName",
|
|
839
|
+
LAST_DEPLOYMENT_ATTEMPTED_AT = "lastDeploymentAttemptedAt",
|
|
840
|
+
NAME = "name",
|
|
841
|
+
SERVICE_NAME = "serviceName",
|
|
842
|
+
TEMPLATE_NAME = "templateName",
|
|
843
|
+
}
|
|
844
|
+
export declare enum SortOrder {
|
|
845
|
+
ASCENDING = "ASCENDING",
|
|
846
|
+
DESCENDING = "DESCENDING",
|
|
847
|
+
}
|
|
819
848
|
export interface ListServiceInstancesInput {
|
|
820
849
|
serviceName?: string;
|
|
821
850
|
nextToken?: string;
|
|
822
851
|
maxResults?: number;
|
|
852
|
+
filters?: ListServiceInstancesFilter[];
|
|
853
|
+
sortBy?: ListServiceInstancesSortBy | string;
|
|
854
|
+
sortOrder?: SortOrder | string;
|
|
823
855
|
}
|
|
824
856
|
export interface ServiceInstanceSummary {
|
|
825
857
|
name: string | undefined;
|
|
@@ -1543,6 +1575,9 @@ export declare const GetServiceInstanceInputFilterSensitiveLog: (
|
|
|
1543
1575
|
export declare const GetServiceInstanceOutputFilterSensitiveLog: (
|
|
1544
1576
|
obj: GetServiceInstanceOutput
|
|
1545
1577
|
) => any;
|
|
1578
|
+
export declare const ListServiceInstancesFilterFilterSensitiveLog: (
|
|
1579
|
+
obj: ListServiceInstancesFilter
|
|
1580
|
+
) => any;
|
|
1546
1581
|
export declare const ListServiceInstancesInputFilterSensitiveLog: (
|
|
1547
1582
|
obj: ListServiceInstancesInput
|
|
1548
1583
|
) => any;
|
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.212.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,39 +19,39 @@
|
|
|
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.
|
|
23
|
-
"@aws-sdk/config-resolver": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
26
|
-
"@aws-sdk/hash-node": "3.
|
|
27
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
28
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
29
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
30
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
31
|
-
"@aws-sdk/middleware-logger": "3.
|
|
32
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
33
|
-
"@aws-sdk/middleware-retry": "3.
|
|
34
|
-
"@aws-sdk/middleware-serde": "3.
|
|
35
|
-
"@aws-sdk/middleware-signing": "3.
|
|
36
|
-
"@aws-sdk/middleware-stack": "3.
|
|
37
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
38
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
-
"@aws-sdk/node-http-handler": "3.
|
|
40
|
-
"@aws-sdk/protocol-http": "3.
|
|
41
|
-
"@aws-sdk/smithy-client": "3.
|
|
42
|
-
"@aws-sdk/types": "3.
|
|
43
|
-
"@aws-sdk/url-parser": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.212.0",
|
|
23
|
+
"@aws-sdk/config-resolver": "3.212.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.212.0",
|
|
25
|
+
"@aws-sdk/fetch-http-handler": "3.212.0",
|
|
26
|
+
"@aws-sdk/hash-node": "3.212.0",
|
|
27
|
+
"@aws-sdk/invalid-dependency": "3.212.0",
|
|
28
|
+
"@aws-sdk/middleware-content-length": "3.212.0",
|
|
29
|
+
"@aws-sdk/middleware-endpoint": "3.212.0",
|
|
30
|
+
"@aws-sdk/middleware-host-header": "3.212.0",
|
|
31
|
+
"@aws-sdk/middleware-logger": "3.212.0",
|
|
32
|
+
"@aws-sdk/middleware-recursion-detection": "3.212.0",
|
|
33
|
+
"@aws-sdk/middleware-retry": "3.212.0",
|
|
34
|
+
"@aws-sdk/middleware-serde": "3.212.0",
|
|
35
|
+
"@aws-sdk/middleware-signing": "3.212.0",
|
|
36
|
+
"@aws-sdk/middleware-stack": "3.212.0",
|
|
37
|
+
"@aws-sdk/middleware-user-agent": "3.212.0",
|
|
38
|
+
"@aws-sdk/node-config-provider": "3.212.0",
|
|
39
|
+
"@aws-sdk/node-http-handler": "3.212.0",
|
|
40
|
+
"@aws-sdk/protocol-http": "3.212.0",
|
|
41
|
+
"@aws-sdk/smithy-client": "3.212.0",
|
|
42
|
+
"@aws-sdk/types": "3.212.0",
|
|
43
|
+
"@aws-sdk/url-parser": "3.212.0",
|
|
44
44
|
"@aws-sdk/util-base64": "3.208.0",
|
|
45
45
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
46
46
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
47
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
48
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
-
"@aws-sdk/util-endpoints": "3.
|
|
50
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
51
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
47
|
+
"@aws-sdk/util-defaults-mode-browser": "3.212.0",
|
|
48
|
+
"@aws-sdk/util-defaults-mode-node": "3.212.0",
|
|
49
|
+
"@aws-sdk/util-endpoints": "3.212.0",
|
|
50
|
+
"@aws-sdk/util-user-agent-browser": "3.212.0",
|
|
51
|
+
"@aws-sdk/util-user-agent-node": "3.212.0",
|
|
52
52
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|
|
53
53
|
"@aws-sdk/util-utf8-node": "3.208.0",
|
|
54
|
-
"@aws-sdk/util-waiter": "3.
|
|
54
|
+
"@aws-sdk/util-waiter": "3.212.0",
|
|
55
55
|
"tslib": "^2.3.1",
|
|
56
56
|
"uuid": "^8.3.2"
|
|
57
57
|
},
|