@aws-sdk/client-proton 3.51.0 → 3.54.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 CHANGED
@@ -3,6 +3,33 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-proton
9
+
10
+
11
+
12
+
13
+
14
+ # [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
15
+
16
+
17
+ ### Features
18
+
19
+ * **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
20
+
21
+
22
+
23
+
24
+
25
+ # [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
26
+
27
+ **Note:** Version bump only for package @aws-sdk/client-proton
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
7
34
 
8
35
  **Note:** Version bump only for package @aws-sdk/client-proton
package/dist-cjs/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ProtonServiceException = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  tslib_1.__exportStar(require("./Proton"), exports);
5
6
  tslib_1.__exportStar(require("./ProtonClient"), exports);
@@ -7,3 +8,5 @@ tslib_1.__exportStar(require("./commands"), exports);
7
8
  tslib_1.__exportStar(require("./models"), exports);
8
9
  tslib_1.__exportStar(require("./pagination"), exports);
9
10
  tslib_1.__exportStar(require("./waiters"), exports);
11
+ var ProtonServiceException_1 = require("./models/ProtonServiceException");
12
+ Object.defineProperty(exports, "ProtonServiceException", { enumerable: true, get: function () { return ProtonServiceException_1.ProtonServiceException; } });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ProtonServiceException = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ class ProtonServiceException extends smithy_client_1.ServiceException {
6
+ constructor(options) {
7
+ super(options);
8
+ Object.setPrototypeOf(this, ProtonServiceException.prototype);
9
+ }
10
+ }
11
+ exports.ProtonServiceException = ProtonServiceException;
@@ -1,10 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetEnvironmentInput = exports.DeleteEnvironmentOutput = exports.DeleteEnvironmentInput = exports.CreateEnvironmentOutput = exports.CreateEnvironmentInput = exports.ListEnvironmentProvisionedResourcesOutput = exports.ProvisionedResource = exports.ProvisionedResourceEngine = exports.ListEnvironmentProvisionedResourcesInput = exports.ListEnvironmentOutputsOutput = exports.Output = exports.ListEnvironmentOutputsInput = exports.UpdateEnvironmentAccountConnectionOutput = exports.UpdateEnvironmentAccountConnectionInput = exports.RejectEnvironmentAccountConnectionOutput = exports.RejectEnvironmentAccountConnectionInput = exports.ListEnvironmentAccountConnectionsOutput = exports.EnvironmentAccountConnectionSummary = exports.ListEnvironmentAccountConnectionsInput = exports.EnvironmentAccountConnectionRequesterAccountType = exports.GetEnvironmentAccountConnectionOutput = exports.GetEnvironmentAccountConnectionInput = exports.DeleteEnvironmentAccountConnectionOutput = exports.DeleteEnvironmentAccountConnectionInput = exports.CreateEnvironmentAccountConnectionOutput = exports.CreateEnvironmentAccountConnectionInput = exports.Tag = exports.CancelServicePipelineDeploymentOutput = exports.ServicePipeline = exports.CancelServicePipelineDeploymentInput = exports.CancelServiceInstanceDeploymentOutput = exports.ServiceInstance = exports.CancelServiceInstanceDeploymentInput = exports.CancelEnvironmentDeploymentOutput = exports.Environment = exports.Provisioning = exports.DeploymentStatus = exports.CancelEnvironmentDeploymentInput = exports.UpdateAccountSettingsOutput = exports.UpdateAccountSettingsInput = exports.RepositoryBranchInput = exports.GetAccountSettingsOutput = exports.GetAccountSettingsInput = exports.AccountSettings = exports.RepositoryBranch = exports.RepositoryProvider = exports.AcceptEnvironmentAccountConnectionOutput = exports.EnvironmentAccountConnection = exports.EnvironmentAccountConnectionStatus = exports.AcceptEnvironmentAccountConnectionInput = void 0;
4
- exports.RepositorySyncDefinition = exports.ListRepositorySyncDefinitionsInput = exports.GetTemplateSyncStatusOutput = exports.ResourceSyncAttempt = exports.ResourceSyncStatus = exports.ResourceSyncEvent = exports.Revision = exports.GetTemplateSyncStatusInput = exports.TemplateType = exports.GetRepositorySyncStatusOutput = exports.RepositorySyncAttempt = exports.RepositorySyncStatus = exports.RepositorySyncEvent = exports.GetRepositorySyncStatusInput = exports.SyncType = exports.UpdateEnvironmentTemplateVersionOutput = exports.UpdateEnvironmentTemplateVersionInput = exports.ListEnvironmentTemplateVersionsOutput = exports.EnvironmentTemplateVersionSummary = exports.ListEnvironmentTemplateVersionsInput = exports.GetEnvironmentTemplateVersionOutput = exports.GetEnvironmentTemplateVersionInput = exports.DeleteEnvironmentTemplateVersionOutput = exports.DeleteEnvironmentTemplateVersionInput = exports.CreateEnvironmentTemplateVersionOutput = exports.EnvironmentTemplateVersion = exports.TemplateVersionStatus = exports.CreateEnvironmentTemplateVersionInput = exports.TemplateVersionSourceInput = exports.S3ObjectSource = exports.UpdateEnvironmentTemplateOutput = exports.UpdateEnvironmentTemplateInput = exports.ListEnvironmentTemplatesOutput = exports.EnvironmentTemplateSummary = exports.ListEnvironmentTemplatesInput = exports.GetEnvironmentTemplateOutput = exports.GetEnvironmentTemplateInput = exports.DeleteEnvironmentTemplateOutput = exports.DeleteEnvironmentTemplateInput = exports.CreateEnvironmentTemplateOutput = exports.EnvironmentTemplate = exports.CreateEnvironmentTemplateInput = exports.UpdateEnvironmentOutput = exports.UpdateEnvironmentInput = exports.DeploymentUpdateType = exports.ListEnvironmentsOutput = exports.EnvironmentSummary = exports.ListEnvironmentsInput = exports.EnvironmentTemplateFilter = exports.GetEnvironmentOutput = void 0;
5
- exports.DeleteServiceTemplateInput = exports.CreateServiceTemplateOutput = exports.ServiceTemplate = exports.CreateServiceTemplateInput = exports.UpdateServiceOutput = exports.UpdateServiceInput = exports.ListServicesOutput = exports.ServiceSummary = exports.ListServicesInput = exports.GetServiceOutput = exports.GetServiceInput = exports.DeleteServiceOutput = exports.DeleteServiceInput = exports.CreateServiceOutput = exports.Service = exports.ServiceStatus = exports.CreateServiceInput = exports.UpdateServicePipelineOutput = exports.UpdateServicePipelineInput = exports.ListServicePipelineProvisionedResourcesOutput = exports.ListServicePipelineProvisionedResourcesInput = exports.ListServicePipelineOutputsOutput = exports.ListServicePipelineOutputsInput = exports.UpdateServiceInstanceOutput = exports.UpdateServiceInstanceInput = exports.ListServiceInstancesOutput = exports.ServiceInstanceSummary = exports.ListServiceInstancesInput = exports.GetServiceInstanceOutput = exports.GetServiceInstanceInput = exports.ListServiceInstanceProvisionedResourcesOutput = exports.ListServiceInstanceProvisionedResourcesInput = exports.ListServiceInstanceOutputsOutput = exports.ListServiceInstanceOutputsInput = exports.ListRepositoriesOutput = exports.RepositorySummary = exports.ListRepositoriesInput = exports.GetRepositoryOutput = exports.GetRepositoryInput = exports.DeleteRepositoryOutput = exports.DeleteRepositoryInput = exports.CreateRepositoryOutput = exports.Repository = exports.CreateRepositoryInput = exports.NotifyResourceDeploymentStatusChangeOutput = exports.NotifyResourceDeploymentStatusChangeInput = exports.ResourceDeploymentStatus = exports.ListTagsForResourceOutput = exports.ListTagsForResourceInput = exports.ListRepositorySyncDefinitionsOutput = void 0;
6
- exports.UntagResourceOutput = exports.UntagResourceInput = exports.UpdateTemplateSyncConfigOutput = exports.UpdateTemplateSyncConfigInput = exports.GetTemplateSyncConfigOutput = exports.GetTemplateSyncConfigInput = exports.DeleteTemplateSyncConfigOutput = exports.DeleteTemplateSyncConfigInput = exports.CreateTemplateSyncConfigOutput = exports.TemplateSyncConfig = exports.CreateTemplateSyncConfigInput = exports.TagResourceOutput = exports.TagResourceInput = exports.UpdateServiceTemplateVersionOutput = exports.UpdateServiceTemplateVersionInput = exports.ListServiceTemplateVersionsOutput = exports.ServiceTemplateVersionSummary = exports.ListServiceTemplateVersionsInput = exports.GetServiceTemplateVersionOutput = exports.GetServiceTemplateVersionInput = exports.DeleteServiceTemplateVersionOutput = exports.DeleteServiceTemplateVersionInput = exports.CreateServiceTemplateVersionOutput = exports.ServiceTemplateVersion = exports.CompatibleEnvironmentTemplate = exports.CreateServiceTemplateVersionInput = exports.CompatibleEnvironmentTemplateInput = exports.UpdateServiceTemplateOutput = exports.UpdateServiceTemplateInput = exports.ListServiceTemplatesOutput = exports.ServiceTemplateSummary = exports.ListServiceTemplatesInput = exports.GetServiceTemplateOutput = exports.GetServiceTemplateInput = exports.DeleteServiceTemplateOutput = void 0;
3
+ exports.ProvisionedResourceEngine = exports.ListEnvironmentProvisionedResourcesInput = exports.ListEnvironmentOutputsOutput = exports.Output = exports.ListEnvironmentOutputsInput = exports.UpdateEnvironmentAccountConnectionOutput = exports.UpdateEnvironmentAccountConnectionInput = exports.RejectEnvironmentAccountConnectionOutput = exports.RejectEnvironmentAccountConnectionInput = exports.ListEnvironmentAccountConnectionsOutput = exports.EnvironmentAccountConnectionSummary = exports.ListEnvironmentAccountConnectionsInput = exports.EnvironmentAccountConnectionRequesterAccountType = exports.GetEnvironmentAccountConnectionOutput = exports.GetEnvironmentAccountConnectionInput = exports.DeleteEnvironmentAccountConnectionOutput = exports.DeleteEnvironmentAccountConnectionInput = exports.ServiceQuotaExceededException = exports.CreateEnvironmentAccountConnectionOutput = exports.CreateEnvironmentAccountConnectionInput = exports.Tag = exports.CancelServicePipelineDeploymentOutput = exports.ServicePipeline = exports.CancelServicePipelineDeploymentInput = exports.CancelServiceInstanceDeploymentOutput = exports.ServiceInstance = exports.CancelServiceInstanceDeploymentInput = exports.CancelEnvironmentDeploymentOutput = exports.Environment = exports.Provisioning = exports.DeploymentStatus = exports.CancelEnvironmentDeploymentInput = exports.UpdateAccountSettingsOutput = exports.UpdateAccountSettingsInput = exports.RepositoryBranchInput = exports.GetAccountSettingsOutput = exports.GetAccountSettingsInput = exports.AccountSettings = exports.RepositoryBranch = exports.RepositoryProvider = exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.AccessDeniedException = exports.AcceptEnvironmentAccountConnectionOutput = exports.EnvironmentAccountConnection = exports.EnvironmentAccountConnectionStatus = exports.AcceptEnvironmentAccountConnectionInput = void 0;
4
+ exports.GetTemplateSyncStatusInput = exports.TemplateType = exports.GetRepositorySyncStatusOutput = exports.RepositorySyncAttempt = exports.RepositorySyncStatus = exports.RepositorySyncEvent = exports.GetRepositorySyncStatusInput = exports.SyncType = exports.UpdateEnvironmentTemplateVersionOutput = exports.UpdateEnvironmentTemplateVersionInput = exports.ListEnvironmentTemplateVersionsOutput = exports.EnvironmentTemplateVersionSummary = exports.ListEnvironmentTemplateVersionsInput = exports.GetEnvironmentTemplateVersionOutput = exports.GetEnvironmentTemplateVersionInput = exports.DeleteEnvironmentTemplateVersionOutput = exports.DeleteEnvironmentTemplateVersionInput = exports.CreateEnvironmentTemplateVersionOutput = exports.EnvironmentTemplateVersion = exports.TemplateVersionStatus = exports.CreateEnvironmentTemplateVersionInput = exports.TemplateVersionSourceInput = exports.S3ObjectSource = exports.UpdateEnvironmentTemplateOutput = exports.UpdateEnvironmentTemplateInput = exports.ListEnvironmentTemplatesOutput = exports.EnvironmentTemplateSummary = exports.ListEnvironmentTemplatesInput = exports.GetEnvironmentTemplateOutput = exports.GetEnvironmentTemplateInput = exports.DeleteEnvironmentTemplateOutput = exports.DeleteEnvironmentTemplateInput = exports.CreateEnvironmentTemplateOutput = exports.EnvironmentTemplate = exports.CreateEnvironmentTemplateInput = exports.UpdateEnvironmentOutput = exports.UpdateEnvironmentInput = exports.DeploymentUpdateType = exports.ListEnvironmentsOutput = exports.EnvironmentSummary = exports.ListEnvironmentsInput = exports.EnvironmentTemplateFilter = exports.GetEnvironmentOutput = exports.GetEnvironmentInput = exports.DeleteEnvironmentOutput = exports.DeleteEnvironmentInput = exports.CreateEnvironmentOutput = exports.CreateEnvironmentInput = exports.ListEnvironmentProvisionedResourcesOutput = exports.ProvisionedResource = void 0;
5
+ exports.ServiceSummary = exports.ListServicesInput = exports.GetServiceOutput = exports.GetServiceInput = exports.DeleteServiceOutput = exports.DeleteServiceInput = exports.CreateServiceOutput = exports.Service = exports.ServiceStatus = exports.CreateServiceInput = exports.UpdateServicePipelineOutput = exports.UpdateServicePipelineInput = exports.ListServicePipelineProvisionedResourcesOutput = exports.ListServicePipelineProvisionedResourcesInput = exports.ListServicePipelineOutputsOutput = exports.ListServicePipelineOutputsInput = exports.UpdateServiceInstanceOutput = exports.UpdateServiceInstanceInput = exports.ListServiceInstancesOutput = exports.ServiceInstanceSummary = exports.ListServiceInstancesInput = exports.GetServiceInstanceOutput = exports.GetServiceInstanceInput = exports.ListServiceInstanceProvisionedResourcesOutput = exports.ListServiceInstanceProvisionedResourcesInput = exports.ListServiceInstanceOutputsOutput = exports.ListServiceInstanceOutputsInput = exports.ListRepositoriesOutput = exports.RepositorySummary = exports.ListRepositoriesInput = exports.GetRepositoryOutput = exports.GetRepositoryInput = exports.DeleteRepositoryOutput = exports.DeleteRepositoryInput = exports.CreateRepositoryOutput = exports.Repository = exports.CreateRepositoryInput = exports.NotifyResourceDeploymentStatusChangeOutput = exports.NotifyResourceDeploymentStatusChangeInput = exports.ResourceDeploymentStatus = exports.ListTagsForResourceOutput = exports.ListTagsForResourceInput = exports.ListRepositorySyncDefinitionsOutput = exports.RepositorySyncDefinition = exports.ListRepositorySyncDefinitionsInput = exports.GetTemplateSyncStatusOutput = exports.ResourceSyncAttempt = exports.ResourceSyncStatus = exports.ResourceSyncEvent = exports.Revision = void 0;
6
+ exports.UntagResourceOutput = exports.UntagResourceInput = exports.UpdateTemplateSyncConfigOutput = exports.UpdateTemplateSyncConfigInput = exports.GetTemplateSyncConfigOutput = exports.GetTemplateSyncConfigInput = exports.DeleteTemplateSyncConfigOutput = exports.DeleteTemplateSyncConfigInput = exports.CreateTemplateSyncConfigOutput = exports.TemplateSyncConfig = exports.CreateTemplateSyncConfigInput = exports.TagResourceOutput = exports.TagResourceInput = exports.UpdateServiceTemplateVersionOutput = exports.UpdateServiceTemplateVersionInput = exports.ListServiceTemplateVersionsOutput = exports.ServiceTemplateVersionSummary = exports.ListServiceTemplateVersionsInput = exports.GetServiceTemplateVersionOutput = exports.GetServiceTemplateVersionInput = exports.DeleteServiceTemplateVersionOutput = exports.DeleteServiceTemplateVersionInput = exports.CreateServiceTemplateVersionOutput = exports.ServiceTemplateVersion = exports.CompatibleEnvironmentTemplate = exports.CreateServiceTemplateVersionInput = exports.CompatibleEnvironmentTemplateInput = exports.UpdateServiceTemplateOutput = exports.UpdateServiceTemplateInput = exports.ListServiceTemplatesOutput = exports.ServiceTemplateSummary = exports.ListServiceTemplatesInput = exports.GetServiceTemplateOutput = exports.GetServiceTemplateInput = exports.DeleteServiceTemplateOutput = exports.DeleteServiceTemplateInput = exports.CreateServiceTemplateOutput = exports.ServiceTemplate = exports.CreateServiceTemplateInput = exports.UpdateServiceOutput = exports.UpdateServiceInput = exports.ListServicesOutput = void 0;
7
7
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
+ const ProtonServiceException_1 = require("./ProtonServiceException");
8
9
  var AcceptEnvironmentAccountConnectionInput;
9
10
  (function (AcceptEnvironmentAccountConnectionInput) {
10
11
  AcceptEnvironmentAccountConnectionInput.filterSensitiveLog = (obj) => ({
@@ -29,6 +30,88 @@ var AcceptEnvironmentAccountConnectionOutput;
29
30
  ...obj,
30
31
  });
31
32
  })(AcceptEnvironmentAccountConnectionOutput = exports.AcceptEnvironmentAccountConnectionOutput || (exports.AcceptEnvironmentAccountConnectionOutput = {}));
33
+ class AccessDeniedException extends ProtonServiceException_1.ProtonServiceException {
34
+ constructor(opts) {
35
+ super({
36
+ name: "AccessDeniedException",
37
+ $fault: "client",
38
+ ...opts,
39
+ });
40
+ this.name = "AccessDeniedException";
41
+ this.$fault = "client";
42
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
43
+ }
44
+ }
45
+ exports.AccessDeniedException = AccessDeniedException;
46
+ class ConflictException extends ProtonServiceException_1.ProtonServiceException {
47
+ constructor(opts) {
48
+ super({
49
+ name: "ConflictException",
50
+ $fault: "client",
51
+ ...opts,
52
+ });
53
+ this.name = "ConflictException";
54
+ this.$fault = "client";
55
+ Object.setPrototypeOf(this, ConflictException.prototype);
56
+ }
57
+ }
58
+ exports.ConflictException = ConflictException;
59
+ class InternalServerException extends ProtonServiceException_1.ProtonServiceException {
60
+ constructor(opts) {
61
+ super({
62
+ name: "InternalServerException",
63
+ $fault: "server",
64
+ ...opts,
65
+ });
66
+ this.name = "InternalServerException";
67
+ this.$fault = "server";
68
+ this.$retryable = {};
69
+ Object.setPrototypeOf(this, InternalServerException.prototype);
70
+ }
71
+ }
72
+ exports.InternalServerException = InternalServerException;
73
+ class ResourceNotFoundException extends ProtonServiceException_1.ProtonServiceException {
74
+ constructor(opts) {
75
+ super({
76
+ name: "ResourceNotFoundException",
77
+ $fault: "client",
78
+ ...opts,
79
+ });
80
+ this.name = "ResourceNotFoundException";
81
+ this.$fault = "client";
82
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
83
+ }
84
+ }
85
+ exports.ResourceNotFoundException = ResourceNotFoundException;
86
+ class ThrottlingException extends ProtonServiceException_1.ProtonServiceException {
87
+ constructor(opts) {
88
+ super({
89
+ name: "ThrottlingException",
90
+ $fault: "client",
91
+ ...opts,
92
+ });
93
+ this.name = "ThrottlingException";
94
+ this.$fault = "client";
95
+ this.$retryable = {
96
+ throttling: true,
97
+ };
98
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
99
+ }
100
+ }
101
+ exports.ThrottlingException = ThrottlingException;
102
+ class ValidationException extends ProtonServiceException_1.ProtonServiceException {
103
+ constructor(opts) {
104
+ super({
105
+ name: "ValidationException",
106
+ $fault: "client",
107
+ ...opts,
108
+ });
109
+ this.name = "ValidationException";
110
+ this.$fault = "client";
111
+ Object.setPrototypeOf(this, ValidationException.prototype);
112
+ }
113
+ }
114
+ exports.ValidationException = ValidationException;
32
115
  var RepositoryProvider;
33
116
  (function (RepositoryProvider) {
34
117
  RepositoryProvider["BITBUCKET"] = "BITBUCKET";
@@ -174,6 +257,19 @@ var CreateEnvironmentAccountConnectionOutput;
174
257
  ...obj,
175
258
  });
176
259
  })(CreateEnvironmentAccountConnectionOutput = exports.CreateEnvironmentAccountConnectionOutput || (exports.CreateEnvironmentAccountConnectionOutput = {}));
260
+ class ServiceQuotaExceededException extends ProtonServiceException_1.ProtonServiceException {
261
+ constructor(opts) {
262
+ super({
263
+ name: "ServiceQuotaExceededException",
264
+ $fault: "client",
265
+ ...opts,
266
+ });
267
+ this.name = "ServiceQuotaExceededException";
268
+ this.$fault = "client";
269
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
270
+ }
271
+ }
272
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
177
273
  var DeleteEnvironmentAccountConnectionInput;
178
274
  (function (DeleteEnvironmentAccountConnectionInput) {
179
275
  DeleteEnvironmentAccountConnectionInput.filterSensitiveLog = (obj) => ({