@aws-sdk/client-proton 3.934.0 → 3.936.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/index.js CHANGED
@@ -118,11 +118,6 @@ let ProtonServiceException$1 = class ProtonServiceException extends smithyClient
118
118
  }
119
119
  };
120
120
 
121
- const EnvironmentAccountConnectionStatus = {
122
- CONNECTED: "CONNECTED",
123
- PENDING: "PENDING",
124
- REJECTED: "REJECTED",
125
- };
126
121
  let AccessDeniedException$1 = class AccessDeniedException extends ProtonServiceException$1 {
127
122
  name = "AccessDeniedException";
128
123
  $fault = "client";
@@ -199,28 +194,6 @@ let ValidationException$1 = class ValidationException extends ProtonServiceExcep
199
194
  Object.setPrototypeOf(this, ValidationException.prototype);
200
195
  }
201
196
  };
202
- const RepositoryProvider = {
203
- BITBUCKET: "BITBUCKET",
204
- GITHUB: "GITHUB",
205
- GITHUB_ENTERPRISE: "GITHUB_ENTERPRISE",
206
- };
207
- const DeploymentStatus = {
208
- CANCELLED: "CANCELLED",
209
- CANCELLING: "CANCELLING",
210
- DELETE_COMPLETE: "DELETE_COMPLETE",
211
- DELETE_FAILED: "DELETE_FAILED",
212
- DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
213
- FAILED: "FAILED",
214
- IN_PROGRESS: "IN_PROGRESS",
215
- SUCCEEDED: "SUCCEEDED",
216
- };
217
- const Provisioning = {
218
- CUSTOMER_MANAGED: "CUSTOMER_MANAGED",
219
- };
220
- const ProvisionedResourceEngine = {
221
- CLOUDFORMATION: "CLOUDFORMATION",
222
- TERRAFORM: "TERRAFORM",
223
- };
224
197
  let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends ProtonServiceException$1 {
225
198
  name = "ServiceQuotaExceededException";
226
199
  $fault = "client";
@@ -233,109 +206,6 @@ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extend
233
206
  Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
234
207
  }
235
208
  };
236
- const ComponentDeploymentUpdateType = {
237
- CURRENT_VERSION: "CURRENT_VERSION",
238
- NONE: "NONE",
239
- };
240
- const DeploymentTargetResourceType = {
241
- COMPONENT: "COMPONENT",
242
- ENVIRONMENT: "ENVIRONMENT",
243
- SERVICE_INSTANCE: "SERVICE_INSTANCE",
244
- SERVICE_PIPELINE: "SERVICE_PIPELINE",
245
- };
246
- const EnvironmentAccountConnectionRequesterAccountType = {
247
- ENVIRONMENT_ACCOUNT: "ENVIRONMENT_ACCOUNT",
248
- MANAGEMENT_ACCOUNT: "MANAGEMENT_ACCOUNT",
249
- };
250
- const DeploymentUpdateType = {
251
- CURRENT_VERSION: "CURRENT_VERSION",
252
- MAJOR_VERSION: "MAJOR_VERSION",
253
- MINOR_VERSION: "MINOR_VERSION",
254
- NONE: "NONE",
255
- };
256
- const TemplateVersionStatus = {
257
- DRAFT: "DRAFT",
258
- PUBLISHED: "PUBLISHED",
259
- REGISTRATION_FAILED: "REGISTRATION_FAILED",
260
- REGISTRATION_IN_PROGRESS: "REGISTRATION_IN_PROGRESS",
261
- };
262
- const SyncType = {
263
- SERVICE_SYNC: "SERVICE_SYNC",
264
- TEMPLATE_SYNC: "TEMPLATE_SYNC",
265
- };
266
- const RepositorySyncStatus = {
267
- FAILED: "FAILED",
268
- INITIATED: "INITIATED",
269
- IN_PROGRESS: "IN_PROGRESS",
270
- QUEUED: "QUEUED",
271
- SUCCEEDED: "SUCCEEDED",
272
- };
273
- const ResourceSyncStatus = {
274
- FAILED: "FAILED",
275
- INITIATED: "INITIATED",
276
- IN_PROGRESS: "IN_PROGRESS",
277
- SUCCEEDED: "SUCCEEDED",
278
- };
279
- const TemplateType = {
280
- ENVIRONMENT: "ENVIRONMENT",
281
- SERVICE: "SERVICE",
282
- };
283
- const ResourceDeploymentStatus = {
284
- FAILED: "FAILED",
285
- IN_PROGRESS: "IN_PROGRESS",
286
- SUCCEEDED: "SUCCEEDED",
287
- };
288
- const ListServiceInstancesFilterBy = {
289
- CREATED_AT_AFTER: "createdAtAfter",
290
- CREATED_AT_BEFORE: "createdAtBefore",
291
- DEPLOYED_TEMPLATE_VERSION_STATUS: "deployedTemplateVersionStatus",
292
- DEPLOYMENT_STATUS: "deploymentStatus",
293
- ENVIRONMENT_NAME: "environmentName",
294
- LAST_DEPLOYMENT_ATTEMPTED_AT_AFTER: "lastDeploymentAttemptedAtAfter",
295
- LAST_DEPLOYMENT_ATTEMPTED_AT_BEFORE: "lastDeploymentAttemptedAtBefore",
296
- NAME: "name",
297
- SERVICE_NAME: "serviceName",
298
- TEMPLATE_NAME: "templateName",
299
- };
300
- const ListServiceInstancesSortBy = {
301
- CREATED_AT: "createdAt",
302
- DEPLOYMENT_STATUS: "deploymentStatus",
303
- ENVIRONMENT_NAME: "environmentName",
304
- LAST_DEPLOYMENT_ATTEMPTED_AT: "lastDeploymentAttemptedAt",
305
- NAME: "name",
306
- SERVICE_NAME: "serviceName",
307
- TEMPLATE_NAME: "templateName",
308
- };
309
- const SortOrder = {
310
- ASCENDING: "ASCENDING",
311
- DESCENDING: "DESCENDING",
312
- };
313
- const ServiceStatus = {
314
- ACTIVE: "ACTIVE",
315
- CREATE_FAILED: "CREATE_FAILED",
316
- CREATE_FAILED_CLEANUP_COMPLETE: "CREATE_FAILED_CLEANUP_COMPLETE",
317
- CREATE_FAILED_CLEANUP_FAILED: "CREATE_FAILED_CLEANUP_FAILED",
318
- CREATE_FAILED_CLEANUP_IN_PROGRESS: "CREATE_FAILED_CLEANUP_IN_PROGRESS",
319
- CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
320
- DELETE_FAILED: "DELETE_FAILED",
321
- DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
322
- UPDATE_COMPLETE_CLEANUP_FAILED: "UPDATE_COMPLETE_CLEANUP_FAILED",
323
- UPDATE_FAILED: "UPDATE_FAILED",
324
- UPDATE_FAILED_CLEANUP_COMPLETE: "UPDATE_FAILED_CLEANUP_COMPLETE",
325
- UPDATE_FAILED_CLEANUP_FAILED: "UPDATE_FAILED_CLEANUP_FAILED",
326
- UPDATE_FAILED_CLEANUP_IN_PROGRESS: "UPDATE_FAILED_CLEANUP_IN_PROGRESS",
327
- UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS",
328
- };
329
- const BlockerStatus = {
330
- ACTIVE: "ACTIVE",
331
- RESOLVED: "RESOLVED",
332
- };
333
- const BlockerType = {
334
- AUTOMATED: "AUTOMATED",
335
- };
336
- const ServiceTemplateSupportedComponentSourceType = {
337
- DIRECTLY_DEFINED: "DIRECTLY_DEFINED",
338
- };
339
209
 
340
210
  const _ADE = "AccessDeniedException";
341
211
  const _AEAC = "AcceptEnvironmentAccountConnection";
@@ -4533,13 +4403,10 @@ Object.defineProperty(exports, "__Client", {
4533
4403
  });
4534
4404
  exports.AcceptEnvironmentAccountConnectionCommand = AcceptEnvironmentAccountConnectionCommand;
4535
4405
  exports.AccessDeniedException = AccessDeniedException$1;
4536
- exports.BlockerStatus = BlockerStatus;
4537
- exports.BlockerType = BlockerType;
4538
4406
  exports.CancelComponentDeploymentCommand = CancelComponentDeploymentCommand;
4539
4407
  exports.CancelEnvironmentDeploymentCommand = CancelEnvironmentDeploymentCommand;
4540
4408
  exports.CancelServiceInstanceDeploymentCommand = CancelServiceInstanceDeploymentCommand;
4541
4409
  exports.CancelServicePipelineDeploymentCommand = CancelServicePipelineDeploymentCommand;
4542
- exports.ComponentDeploymentUpdateType = ComponentDeploymentUpdateType;
4543
4410
  exports.ConflictException = ConflictException$1;
4544
4411
  exports.CreateComponentCommand = CreateComponentCommand;
4545
4412
  exports.CreateEnvironmentAccountConnectionCommand = CreateEnvironmentAccountConnectionCommand;
@@ -4565,11 +4432,6 @@ exports.DeleteServiceSyncConfigCommand = DeleteServiceSyncConfigCommand;
4565
4432
  exports.DeleteServiceTemplateCommand = DeleteServiceTemplateCommand;
4566
4433
  exports.DeleteServiceTemplateVersionCommand = DeleteServiceTemplateVersionCommand;
4567
4434
  exports.DeleteTemplateSyncConfigCommand = DeleteTemplateSyncConfigCommand;
4568
- exports.DeploymentStatus = DeploymentStatus;
4569
- exports.DeploymentTargetResourceType = DeploymentTargetResourceType;
4570
- exports.DeploymentUpdateType = DeploymentUpdateType;
4571
- exports.EnvironmentAccountConnectionRequesterAccountType = EnvironmentAccountConnectionRequesterAccountType;
4572
- exports.EnvironmentAccountConnectionStatus = EnvironmentAccountConnectionStatus;
4573
4435
  exports.GetAccountSettingsCommand = GetAccountSettingsCommand;
4574
4436
  exports.GetComponentCommand = GetComponentCommand;
4575
4437
  exports.GetDeploymentCommand = GetDeploymentCommand;
@@ -4605,8 +4467,6 @@ exports.ListRepositorySyncDefinitionsCommand = ListRepositorySyncDefinitionsComm
4605
4467
  exports.ListServiceInstanceOutputsCommand = ListServiceInstanceOutputsCommand;
4606
4468
  exports.ListServiceInstanceProvisionedResourcesCommand = ListServiceInstanceProvisionedResourcesCommand;
4607
4469
  exports.ListServiceInstancesCommand = ListServiceInstancesCommand;
4608
- exports.ListServiceInstancesFilterBy = ListServiceInstancesFilterBy;
4609
- exports.ListServiceInstancesSortBy = ListServiceInstancesSortBy;
4610
4470
  exports.ListServicePipelineOutputsCommand = ListServicePipelineOutputsCommand;
4611
4471
  exports.ListServicePipelineProvisionedResourcesCommand = ListServicePipelineProvisionedResourcesCommand;
4612
4472
  exports.ListServiceTemplateVersionsCommand = ListServiceTemplateVersionsCommand;
@@ -4617,22 +4477,10 @@ exports.NotifyResourceDeploymentStatusChangeCommand = NotifyResourceDeploymentSt
4617
4477
  exports.Proton = Proton;
4618
4478
  exports.ProtonClient = ProtonClient;
4619
4479
  exports.ProtonServiceException = ProtonServiceException$1;
4620
- exports.ProvisionedResourceEngine = ProvisionedResourceEngine;
4621
- exports.Provisioning = Provisioning;
4622
4480
  exports.RejectEnvironmentAccountConnectionCommand = RejectEnvironmentAccountConnectionCommand;
4623
- exports.RepositoryProvider = RepositoryProvider;
4624
- exports.RepositorySyncStatus = RepositorySyncStatus;
4625
- exports.ResourceDeploymentStatus = ResourceDeploymentStatus;
4626
4481
  exports.ResourceNotFoundException = ResourceNotFoundException$1;
4627
- exports.ResourceSyncStatus = ResourceSyncStatus;
4628
4482
  exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
4629
- exports.ServiceStatus = ServiceStatus;
4630
- exports.ServiceTemplateSupportedComponentSourceType = ServiceTemplateSupportedComponentSourceType;
4631
- exports.SortOrder = SortOrder;
4632
- exports.SyncType = SyncType;
4633
4483
  exports.TagResourceCommand = TagResourceCommand;
4634
- exports.TemplateType = TemplateType;
4635
- exports.TemplateVersionStatus = TemplateVersionStatus;
4636
4484
  exports.ThrottlingException = ThrottlingException$1;
4637
4485
  exports.UntagResourceCommand = UntagResourceCommand;
4638
4486
  exports.UpdateAccountSettingsCommand = UpdateAccountSettingsCommand;
package/dist-es/index.js CHANGED
@@ -3,5 +3,5 @@ export * from "./Proton";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
5
  export * from "./waiters";
6
- export * from "./models";
6
+ export * from "./models/errors";
7
7
  export { ProtonServiceException } from "./models/ProtonServiceException";
@@ -0,0 +1,89 @@
1
+ import { ProtonServiceException as __BaseException } from "./ProtonServiceException";
2
+ export class AccessDeniedException extends __BaseException {
3
+ name = "AccessDeniedException";
4
+ $fault = "client";
5
+ constructor(opts) {
6
+ super({
7
+ name: "AccessDeniedException",
8
+ $fault: "client",
9
+ ...opts,
10
+ });
11
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
12
+ }
13
+ }
14
+ export class ConflictException extends __BaseException {
15
+ name = "ConflictException";
16
+ $fault = "client";
17
+ constructor(opts) {
18
+ super({
19
+ name: "ConflictException",
20
+ $fault: "client",
21
+ ...opts,
22
+ });
23
+ Object.setPrototypeOf(this, ConflictException.prototype);
24
+ }
25
+ }
26
+ export class InternalServerException extends __BaseException {
27
+ name = "InternalServerException";
28
+ $fault = "server";
29
+ $retryable = {};
30
+ constructor(opts) {
31
+ super({
32
+ name: "InternalServerException",
33
+ $fault: "server",
34
+ ...opts,
35
+ });
36
+ Object.setPrototypeOf(this, InternalServerException.prototype);
37
+ }
38
+ }
39
+ export class ResourceNotFoundException extends __BaseException {
40
+ name = "ResourceNotFoundException";
41
+ $fault = "client";
42
+ constructor(opts) {
43
+ super({
44
+ name: "ResourceNotFoundException",
45
+ $fault: "client",
46
+ ...opts,
47
+ });
48
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
49
+ }
50
+ }
51
+ export class ThrottlingException extends __BaseException {
52
+ name = "ThrottlingException";
53
+ $fault = "client";
54
+ $retryable = {
55
+ throttling: true,
56
+ };
57
+ constructor(opts) {
58
+ super({
59
+ name: "ThrottlingException",
60
+ $fault: "client",
61
+ ...opts,
62
+ });
63
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
64
+ }
65
+ }
66
+ export class ValidationException extends __BaseException {
67
+ name = "ValidationException";
68
+ $fault = "client";
69
+ constructor(opts) {
70
+ super({
71
+ name: "ValidationException",
72
+ $fault: "client",
73
+ ...opts,
74
+ });
75
+ Object.setPrototypeOf(this, ValidationException.prototype);
76
+ }
77
+ }
78
+ export class ServiceQuotaExceededException extends __BaseException {
79
+ name = "ServiceQuotaExceededException";
80
+ $fault = "client";
81
+ constructor(opts) {
82
+ super({
83
+ name: "ServiceQuotaExceededException",
84
+ $fault: "client",
85
+ ...opts,
86
+ });
87
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
88
+ }
89
+ }
@@ -1,85 +1,8 @@
1
- import { ProtonServiceException as __BaseException } from "./ProtonServiceException";
2
1
  export const EnvironmentAccountConnectionStatus = {
3
2
  CONNECTED: "CONNECTED",
4
3
  PENDING: "PENDING",
5
4
  REJECTED: "REJECTED",
6
5
  };
7
- export class AccessDeniedException extends __BaseException {
8
- name = "AccessDeniedException";
9
- $fault = "client";
10
- constructor(opts) {
11
- super({
12
- name: "AccessDeniedException",
13
- $fault: "client",
14
- ...opts,
15
- });
16
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
17
- }
18
- }
19
- export class ConflictException extends __BaseException {
20
- name = "ConflictException";
21
- $fault = "client";
22
- constructor(opts) {
23
- super({
24
- name: "ConflictException",
25
- $fault: "client",
26
- ...opts,
27
- });
28
- Object.setPrototypeOf(this, ConflictException.prototype);
29
- }
30
- }
31
- export class InternalServerException extends __BaseException {
32
- name = "InternalServerException";
33
- $fault = "server";
34
- $retryable = {};
35
- constructor(opts) {
36
- super({
37
- name: "InternalServerException",
38
- $fault: "server",
39
- ...opts,
40
- });
41
- Object.setPrototypeOf(this, InternalServerException.prototype);
42
- }
43
- }
44
- export class ResourceNotFoundException extends __BaseException {
45
- name = "ResourceNotFoundException";
46
- $fault = "client";
47
- constructor(opts) {
48
- super({
49
- name: "ResourceNotFoundException",
50
- $fault: "client",
51
- ...opts,
52
- });
53
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
54
- }
55
- }
56
- export class ThrottlingException extends __BaseException {
57
- name = "ThrottlingException";
58
- $fault = "client";
59
- $retryable = {
60
- throttling: true,
61
- };
62
- constructor(opts) {
63
- super({
64
- name: "ThrottlingException",
65
- $fault: "client",
66
- ...opts,
67
- });
68
- Object.setPrototypeOf(this, ThrottlingException.prototype);
69
- }
70
- }
71
- export class ValidationException extends __BaseException {
72
- name = "ValidationException";
73
- $fault = "client";
74
- constructor(opts) {
75
- super({
76
- name: "ValidationException",
77
- $fault: "client",
78
- ...opts,
79
- });
80
- Object.setPrototypeOf(this, ValidationException.prototype);
81
- }
82
- }
83
6
  export const RepositoryProvider = {
84
7
  BITBUCKET: "BITBUCKET",
85
8
  GITHUB: "GITHUB",
@@ -102,18 +25,6 @@ export const ProvisionedResourceEngine = {
102
25
  CLOUDFORMATION: "CLOUDFORMATION",
103
26
  TERRAFORM: "TERRAFORM",
104
27
  };
105
- export class ServiceQuotaExceededException extends __BaseException {
106
- name = "ServiceQuotaExceededException";
107
- $fault = "client";
108
- constructor(opts) {
109
- super({
110
- name: "ServiceQuotaExceededException",
111
- $fault: "client",
112
- ...opts,
113
- });
114
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
115
- }
116
- }
117
28
  export const ComponentDeploymentUpdateType = {
118
29
  CURRENT_VERSION: "CURRENT_VERSION",
119
30
  NONE: "NONE",
@@ -514,7 +514,7 @@ const _v = "value";
514
514
  const _vS = "valueString";
515
515
  const n0 = "com.amazonaws.proton";
516
516
  import { TypeRegistry } from "@smithy/core/schema";
517
- import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/index";
517
+ import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
518
518
  import { ProtonServiceException as __ProtonServiceException } from "../models/ProtonServiceException";
519
519
  export var Description = [0, n0, _D, 8, 0];
520
520
  export var DisplayName = [0, n0, _DN, 8, 0];
@@ -139,5 +139,6 @@ export type { ProtonExtensionConfiguration } from "./extensionConfiguration";
139
139
  export * from "./commands";
140
140
  export * from "./pagination";
141
141
  export * from "./waiters";
142
- export * from "./models";
142
+ export * from "./models/errors";
143
+ export type * from "./models/models_0";
143
144
  export { ProtonServiceException } from "./models/ProtonServiceException";
@@ -0,0 +1,91 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { ProtonServiceException as __BaseException } from "./ProtonServiceException";
3
+ /**
4
+ * <p>There <i>isn't</i> sufficient access for performing this action.</p>
5
+ * @public
6
+ */
7
+ export declare class AccessDeniedException extends __BaseException {
8
+ readonly name: "AccessDeniedException";
9
+ readonly $fault: "client";
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
14
+ }
15
+ /**
16
+ * <p>The request <i>couldn't</i> be made due to a conflicting operation or resource.</p>
17
+ * @public
18
+ */
19
+ export declare class ConflictException extends __BaseException {
20
+ readonly name: "ConflictException";
21
+ readonly $fault: "client";
22
+ /**
23
+ * @internal
24
+ */
25
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
26
+ }
27
+ /**
28
+ * <p>The request failed to register with the service.</p>
29
+ * @public
30
+ */
31
+ export declare class InternalServerException extends __BaseException {
32
+ readonly name: "InternalServerException";
33
+ readonly $fault: "server";
34
+ $retryable: {};
35
+ /**
36
+ * @internal
37
+ */
38
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
39
+ }
40
+ /**
41
+ * <p>The requested resource <i>wasn't</i> found.</p>
42
+ * @public
43
+ */
44
+ export declare class ResourceNotFoundException extends __BaseException {
45
+ readonly name: "ResourceNotFoundException";
46
+ readonly $fault: "client";
47
+ /**
48
+ * @internal
49
+ */
50
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
51
+ }
52
+ /**
53
+ * <p>The request was denied due to request throttling.</p>
54
+ * @public
55
+ */
56
+ export declare class ThrottlingException extends __BaseException {
57
+ readonly name: "ThrottlingException";
58
+ readonly $fault: "client";
59
+ $retryable: {
60
+ throttling: boolean;
61
+ };
62
+ /**
63
+ * @internal
64
+ */
65
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
66
+ }
67
+ /**
68
+ * <p>The input is invalid or an out-of-range value was supplied for the input parameter.</p>
69
+ * @public
70
+ */
71
+ export declare class ValidationException extends __BaseException {
72
+ readonly name: "ValidationException";
73
+ readonly $fault: "client";
74
+ /**
75
+ * @internal
76
+ */
77
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
78
+ }
79
+ /**
80
+ * <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
81
+ * the <i>Proton User Guide</i>.</p>
82
+ * @public
83
+ */
84
+ export declare class ServiceQuotaExceededException extends __BaseException {
85
+ readonly name: "ServiceQuotaExceededException";
86
+ readonly $fault: "client";
87
+ /**
88
+ * @internal
89
+ */
90
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
91
+ }
@@ -1,5 +1,3 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { ProtonServiceException as __BaseException } from "./ProtonServiceException";
3
1
  /**
4
2
  * @public
5
3
  */
@@ -101,82 +99,6 @@ export interface AcceptEnvironmentAccountConnectionOutput {
101
99
  */
102
100
  environmentAccountConnection: EnvironmentAccountConnection | undefined;
103
101
  }
104
- /**
105
- * <p>There <i>isn't</i> sufficient access for performing this action.</p>
106
- * @public
107
- */
108
- export declare class AccessDeniedException extends __BaseException {
109
- readonly name: "AccessDeniedException";
110
- readonly $fault: "client";
111
- /**
112
- * @internal
113
- */
114
- constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
115
- }
116
- /**
117
- * <p>The request <i>couldn't</i> be made due to a conflicting operation or resource.</p>
118
- * @public
119
- */
120
- export declare class ConflictException extends __BaseException {
121
- readonly name: "ConflictException";
122
- readonly $fault: "client";
123
- /**
124
- * @internal
125
- */
126
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
127
- }
128
- /**
129
- * <p>The request failed to register with the service.</p>
130
- * @public
131
- */
132
- export declare class InternalServerException extends __BaseException {
133
- readonly name: "InternalServerException";
134
- readonly $fault: "server";
135
- $retryable: {};
136
- /**
137
- * @internal
138
- */
139
- constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
140
- }
141
- /**
142
- * <p>The requested resource <i>wasn't</i> found.</p>
143
- * @public
144
- */
145
- export declare class ResourceNotFoundException extends __BaseException {
146
- readonly name: "ResourceNotFoundException";
147
- readonly $fault: "client";
148
- /**
149
- * @internal
150
- */
151
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
152
- }
153
- /**
154
- * <p>The request was denied due to request throttling.</p>
155
- * @public
156
- */
157
- export declare class ThrottlingException extends __BaseException {
158
- readonly name: "ThrottlingException";
159
- readonly $fault: "client";
160
- $retryable: {
161
- throttling: boolean;
162
- };
163
- /**
164
- * @internal
165
- */
166
- constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
167
- }
168
- /**
169
- * <p>The input is invalid or an out-of-range value was supplied for the input parameter.</p>
170
- * @public
171
- */
172
- export declare class ValidationException extends __BaseException {
173
- readonly name: "ValidationException";
174
- readonly $fault: "client";
175
- /**
176
- * @internal
177
- */
178
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
179
- }
180
102
  /**
181
103
  * @public
182
104
  * @enum
@@ -1005,19 +927,6 @@ export interface CreateComponentOutput {
1005
927
  */
1006
928
  component: Component | undefined;
1007
929
  }
1008
- /**
1009
- * <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
1010
- * the <i>Proton User Guide</i>.</p>
1011
- * @public
1012
- */
1013
- export declare class ServiceQuotaExceededException extends __BaseException {
1014
- readonly name: "ServiceQuotaExceededException";
1015
- readonly $fault: "client";
1016
- /**
1017
- * @internal
1018
- */
1019
- constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
1020
- }
1021
930
  /**
1022
931
  * @public
1023
932
  */
@@ -6,5 +6,6 @@ export { ProtonExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
8
  export * from "./waiters";
9
- export * from "./models";
9
+ export * from "./models/errors";
10
+ export * from "./models/models_0";
10
11
  export { ProtonServiceException } from "./models/ProtonServiceException";
@@ -0,0 +1,53 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { ProtonServiceException as __BaseException } from "./ProtonServiceException";
3
+ export declare class AccessDeniedException extends __BaseException {
4
+ readonly name: "AccessDeniedException";
5
+ readonly $fault: "client";
6
+ constructor(
7
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
8
+ );
9
+ }
10
+ export declare class ConflictException extends __BaseException {
11
+ readonly name: "ConflictException";
12
+ readonly $fault: "client";
13
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
14
+ }
15
+ export declare class InternalServerException extends __BaseException {
16
+ readonly name: "InternalServerException";
17
+ readonly $fault: "server";
18
+ $retryable: {};
19
+ constructor(
20
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
21
+ );
22
+ }
23
+ export declare class ResourceNotFoundException extends __BaseException {
24
+ readonly name: "ResourceNotFoundException";
25
+ readonly $fault: "client";
26
+ constructor(
27
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
28
+ );
29
+ }
30
+ export declare class ThrottlingException extends __BaseException {
31
+ readonly name: "ThrottlingException";
32
+ readonly $fault: "client";
33
+ $retryable: {
34
+ throttling: boolean;
35
+ };
36
+ constructor(
37
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
38
+ );
39
+ }
40
+ export declare class ValidationException extends __BaseException {
41
+ readonly name: "ValidationException";
42
+ readonly $fault: "client";
43
+ constructor(
44
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
45
+ );
46
+ }
47
+ export declare class ServiceQuotaExceededException extends __BaseException {
48
+ readonly name: "ServiceQuotaExceededException";
49
+ readonly $fault: "client";
50
+ constructor(
51
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
52
+ );
53
+ }
@@ -1,5 +1,3 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { ProtonServiceException as __BaseException } from "./ProtonServiceException";
3
1
  export interface AcceptEnvironmentAccountConnectionInput {
4
2
  id: string | undefined;
5
3
  }
@@ -26,50 +24,6 @@ export interface EnvironmentAccountConnection {
26
24
  export interface AcceptEnvironmentAccountConnectionOutput {
27
25
  environmentAccountConnection: EnvironmentAccountConnection | undefined;
28
26
  }
29
- export declare class AccessDeniedException extends __BaseException {
30
- readonly name: "AccessDeniedException";
31
- readonly $fault: "client";
32
- constructor(
33
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
34
- );
35
- }
36
- export declare class ConflictException extends __BaseException {
37
- readonly name: "ConflictException";
38
- readonly $fault: "client";
39
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
40
- }
41
- export declare class InternalServerException extends __BaseException {
42
- readonly name: "InternalServerException";
43
- readonly $fault: "server";
44
- $retryable: {};
45
- constructor(
46
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
47
- );
48
- }
49
- export declare class ResourceNotFoundException extends __BaseException {
50
- readonly name: "ResourceNotFoundException";
51
- readonly $fault: "client";
52
- constructor(
53
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
54
- );
55
- }
56
- export declare class ThrottlingException extends __BaseException {
57
- readonly name: "ThrottlingException";
58
- readonly $fault: "client";
59
- $retryable: {
60
- throttling: boolean;
61
- };
62
- constructor(
63
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
64
- );
65
- }
66
- export declare class ValidationException extends __BaseException {
67
- readonly name: "ValidationException";
68
- readonly $fault: "client";
69
- constructor(
70
- opts: __ExceptionOptionType<ValidationException, __BaseException>
71
- );
72
- }
73
27
  export declare const RepositoryProvider: {
74
28
  readonly BITBUCKET: "BITBUCKET";
75
29
  readonly GITHUB: "GITHUB";
@@ -271,13 +225,6 @@ export interface CreateComponentInput {
271
225
  export interface CreateComponentOutput {
272
226
  component: Component | undefined;
273
227
  }
274
- export declare class ServiceQuotaExceededException extends __BaseException {
275
- readonly name: "ServiceQuotaExceededException";
276
- readonly $fault: "client";
277
- constructor(
278
- opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
279
- );
280
- }
281
228
  export interface DeleteComponentInput {
282
229
  name: string | undefined;
283
230
  }
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.934.0",
4
+ "version": "3.936.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-proton",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.934.0",
24
- "@aws-sdk/credential-provider-node": "3.934.0",
25
- "@aws-sdk/middleware-host-header": "3.930.0",
26
- "@aws-sdk/middleware-logger": "3.930.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.934.0",
29
- "@aws-sdk/region-config-resolver": "3.930.0",
30
- "@aws-sdk/types": "3.930.0",
31
- "@aws-sdk/util-endpoints": "3.930.0",
32
- "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.934.0",
23
+ "@aws-sdk/core": "3.936.0",
24
+ "@aws-sdk/credential-provider-node": "3.936.0",
25
+ "@aws-sdk/middleware-host-header": "3.936.0",
26
+ "@aws-sdk/middleware-logger": "3.936.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.936.0",
28
+ "@aws-sdk/middleware-user-agent": "3.936.0",
29
+ "@aws-sdk/region-config-resolver": "3.936.0",
30
+ "@aws-sdk/types": "3.936.0",
31
+ "@aws-sdk/util-endpoints": "3.936.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.936.0",
33
+ "@aws-sdk/util-user-agent-node": "3.936.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";