@aws-sdk/client-elastic-beanstalk 3.301.0 → 3.303.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.
@@ -15,43 +15,37 @@ class InsufficientPrivilegesException extends ElasticBeanstalkServiceException_1
15
15
  }
16
16
  }
17
17
  exports.InsufficientPrivilegesException = InsufficientPrivilegesException;
18
- var ActionHistoryStatus;
19
- (function (ActionHistoryStatus) {
20
- ActionHistoryStatus["Completed"] = "Completed";
21
- ActionHistoryStatus["Failed"] = "Failed";
22
- ActionHistoryStatus["Unknown"] = "Unknown";
23
- })(ActionHistoryStatus = exports.ActionHistoryStatus || (exports.ActionHistoryStatus = {}));
24
- var ActionStatus;
25
- (function (ActionStatus) {
26
- ActionStatus["Pending"] = "Pending";
27
- ActionStatus["Running"] = "Running";
28
- ActionStatus["Scheduled"] = "Scheduled";
29
- ActionStatus["Unknown"] = "Unknown";
30
- })(ActionStatus = exports.ActionStatus || (exports.ActionStatus = {}));
31
- var ActionType;
32
- (function (ActionType) {
33
- ActionType["InstanceRefresh"] = "InstanceRefresh";
34
- ActionType["PlatformUpdate"] = "PlatformUpdate";
35
- ActionType["Unknown"] = "Unknown";
36
- })(ActionType = exports.ActionType || (exports.ActionType = {}));
37
- var SourceRepository;
38
- (function (SourceRepository) {
39
- SourceRepository["CodeCommit"] = "CodeCommit";
40
- SourceRepository["S3"] = "S3";
41
- })(SourceRepository = exports.SourceRepository || (exports.SourceRepository = {}));
42
- var SourceType;
43
- (function (SourceType) {
44
- SourceType["Git"] = "Git";
45
- SourceType["Zip"] = "Zip";
46
- })(SourceType = exports.SourceType || (exports.SourceType = {}));
47
- var ApplicationVersionStatus;
48
- (function (ApplicationVersionStatus) {
49
- ApplicationVersionStatus["Building"] = "Building";
50
- ApplicationVersionStatus["Failed"] = "Failed";
51
- ApplicationVersionStatus["Processed"] = "Processed";
52
- ApplicationVersionStatus["Processing"] = "Processing";
53
- ApplicationVersionStatus["Unprocessed"] = "Unprocessed";
54
- })(ApplicationVersionStatus = exports.ApplicationVersionStatus || (exports.ApplicationVersionStatus = {}));
18
+ exports.ActionHistoryStatus = {
19
+ Completed: "Completed",
20
+ Failed: "Failed",
21
+ Unknown: "Unknown",
22
+ };
23
+ exports.ActionStatus = {
24
+ Pending: "Pending",
25
+ Running: "Running",
26
+ Scheduled: "Scheduled",
27
+ Unknown: "Unknown",
28
+ };
29
+ exports.ActionType = {
30
+ InstanceRefresh: "InstanceRefresh",
31
+ PlatformUpdate: "PlatformUpdate",
32
+ Unknown: "Unknown",
33
+ };
34
+ exports.SourceRepository = {
35
+ CodeCommit: "CodeCommit",
36
+ S3: "S3",
37
+ };
38
+ exports.SourceType = {
39
+ Git: "Git",
40
+ Zip: "Zip",
41
+ };
42
+ exports.ApplicationVersionStatus = {
43
+ Building: "Building",
44
+ Failed: "Failed",
45
+ Processed: "Processed",
46
+ Processing: "Processing",
47
+ Unprocessed: "Unprocessed",
48
+ };
55
49
  class ElasticBeanstalkServiceException extends ElasticBeanstalkServiceException_1.ElasticBeanstalkServiceException {
56
50
  constructor(opts) {
57
51
  super({
@@ -78,36 +72,33 @@ class ManagedActionInvalidStateException extends ElasticBeanstalkServiceExceptio
78
72
  }
79
73
  }
80
74
  exports.ManagedActionInvalidStateException = ManagedActionInvalidStateException;
81
- var EnvironmentHealth;
82
- (function (EnvironmentHealth) {
83
- EnvironmentHealth["Green"] = "Green";
84
- EnvironmentHealth["Grey"] = "Grey";
85
- EnvironmentHealth["Red"] = "Red";
86
- EnvironmentHealth["Yellow"] = "Yellow";
87
- })(EnvironmentHealth = exports.EnvironmentHealth || (exports.EnvironmentHealth = {}));
88
- var EnvironmentHealthStatus;
89
- (function (EnvironmentHealthStatus) {
90
- EnvironmentHealthStatus["Degraded"] = "Degraded";
91
- EnvironmentHealthStatus["Info"] = "Info";
92
- EnvironmentHealthStatus["NoData"] = "NoData";
93
- EnvironmentHealthStatus["Ok"] = "Ok";
94
- EnvironmentHealthStatus["Pending"] = "Pending";
95
- EnvironmentHealthStatus["Severe"] = "Severe";
96
- EnvironmentHealthStatus["Suspended"] = "Suspended";
97
- EnvironmentHealthStatus["Unknown"] = "Unknown";
98
- EnvironmentHealthStatus["Warning"] = "Warning";
99
- })(EnvironmentHealthStatus = exports.EnvironmentHealthStatus || (exports.EnvironmentHealthStatus = {}));
100
- var EnvironmentStatus;
101
- (function (EnvironmentStatus) {
102
- EnvironmentStatus["Aborting"] = "Aborting";
103
- EnvironmentStatus["Launching"] = "Launching";
104
- EnvironmentStatus["LinkingFrom"] = "LinkingFrom";
105
- EnvironmentStatus["LinkingTo"] = "LinkingTo";
106
- EnvironmentStatus["Ready"] = "Ready";
107
- EnvironmentStatus["Terminated"] = "Terminated";
108
- EnvironmentStatus["Terminating"] = "Terminating";
109
- EnvironmentStatus["Updating"] = "Updating";
110
- })(EnvironmentStatus = exports.EnvironmentStatus || (exports.EnvironmentStatus = {}));
75
+ exports.EnvironmentHealth = {
76
+ Green: "Green",
77
+ Grey: "Grey",
78
+ Red: "Red",
79
+ Yellow: "Yellow",
80
+ };
81
+ exports.EnvironmentHealthStatus = {
82
+ Degraded: "Degraded",
83
+ Info: "Info",
84
+ NoData: "NoData",
85
+ Ok: "Ok",
86
+ Pending: "Pending",
87
+ Severe: "Severe",
88
+ Suspended: "Suspended",
89
+ Unknown: "Unknown",
90
+ Warning: "Warning",
91
+ };
92
+ exports.EnvironmentStatus = {
93
+ Aborting: "Aborting",
94
+ Launching: "Launching",
95
+ LinkingFrom: "LinkingFrom",
96
+ LinkingTo: "LinkingTo",
97
+ Ready: "Ready",
98
+ Terminated: "Terminated",
99
+ Terminating: "Terminating",
100
+ Updating: "Updating",
101
+ };
111
102
  class TooManyEnvironmentsException extends ElasticBeanstalkServiceException_1.ElasticBeanstalkServiceException {
112
103
  constructor(opts) {
113
104
  super({
@@ -147,12 +138,11 @@ class CodeBuildNotInServiceRegionException extends ElasticBeanstalkServiceExcept
147
138
  }
148
139
  }
149
140
  exports.CodeBuildNotInServiceRegionException = CodeBuildNotInServiceRegionException;
150
- var ComputeType;
151
- (function (ComputeType) {
152
- ComputeType["BUILD_GENERAL1_LARGE"] = "BUILD_GENERAL1_LARGE";
153
- ComputeType["BUILD_GENERAL1_MEDIUM"] = "BUILD_GENERAL1_MEDIUM";
154
- ComputeType["BUILD_GENERAL1_SMALL"] = "BUILD_GENERAL1_SMALL";
155
- })(ComputeType = exports.ComputeType || (exports.ComputeType = {}));
141
+ exports.ComputeType = {
142
+ BUILD_GENERAL1_LARGE: "BUILD_GENERAL1_LARGE",
143
+ BUILD_GENERAL1_MEDIUM: "BUILD_GENERAL1_MEDIUM",
144
+ BUILD_GENERAL1_SMALL: "BUILD_GENERAL1_SMALL",
145
+ };
156
146
  class S3LocationNotInServiceRegionException extends ElasticBeanstalkServiceException_1.ElasticBeanstalkServiceException {
157
147
  constructor(opts) {
158
148
  super({
@@ -179,12 +169,11 @@ class TooManyApplicationVersionsException extends ElasticBeanstalkServiceExcepti
179
169
  }
180
170
  }
181
171
  exports.TooManyApplicationVersionsException = TooManyApplicationVersionsException;
182
- var ConfigurationDeploymentStatus;
183
- (function (ConfigurationDeploymentStatus) {
184
- ConfigurationDeploymentStatus["deployed"] = "deployed";
185
- ConfigurationDeploymentStatus["failed"] = "failed";
186
- ConfigurationDeploymentStatus["pending"] = "pending";
187
- })(ConfigurationDeploymentStatus = exports.ConfigurationDeploymentStatus || (exports.ConfigurationDeploymentStatus = {}));
172
+ exports.ConfigurationDeploymentStatus = {
173
+ deployed: "deployed",
174
+ failed: "failed",
175
+ pending: "pending",
176
+ };
188
177
  class TooManyBucketsException extends ElasticBeanstalkServiceException_1.ElasticBeanstalkServiceException {
189
178
  constructor(opts) {
190
179
  super({
@@ -211,14 +200,13 @@ class TooManyConfigurationTemplatesException extends ElasticBeanstalkServiceExce
211
200
  }
212
201
  }
213
202
  exports.TooManyConfigurationTemplatesException = TooManyConfigurationTemplatesException;
214
- var PlatformStatus;
215
- (function (PlatformStatus) {
216
- PlatformStatus["Creating"] = "Creating";
217
- PlatformStatus["Deleted"] = "Deleted";
218
- PlatformStatus["Deleting"] = "Deleting";
219
- PlatformStatus["Failed"] = "Failed";
220
- PlatformStatus["Ready"] = "Ready";
221
- })(PlatformStatus = exports.PlatformStatus || (exports.PlatformStatus = {}));
203
+ exports.PlatformStatus = {
204
+ Creating: "Creating",
205
+ Deleted: "Deleted",
206
+ Deleting: "Deleting",
207
+ Failed: "Failed",
208
+ Ready: "Ready",
209
+ };
222
210
  class TooManyPlatformsException extends ElasticBeanstalkServiceException_1.ElasticBeanstalkServiceException {
223
211
  constructor(opts) {
224
212
  super({
@@ -284,22 +272,20 @@ class PlatformVersionStillReferencedException extends ElasticBeanstalkServiceExc
284
272
  }
285
273
  }
286
274
  exports.PlatformVersionStillReferencedException = PlatformVersionStillReferencedException;
287
- var ConfigurationOptionValueType;
288
- (function (ConfigurationOptionValueType) {
289
- ConfigurationOptionValueType["List"] = "List";
290
- ConfigurationOptionValueType["Scalar"] = "Scalar";
291
- })(ConfigurationOptionValueType = exports.ConfigurationOptionValueType || (exports.ConfigurationOptionValueType = {}));
292
- var EnvironmentHealthAttribute;
293
- (function (EnvironmentHealthAttribute) {
294
- EnvironmentHealthAttribute["All"] = "All";
295
- EnvironmentHealthAttribute["ApplicationMetrics"] = "ApplicationMetrics";
296
- EnvironmentHealthAttribute["Causes"] = "Causes";
297
- EnvironmentHealthAttribute["Color"] = "Color";
298
- EnvironmentHealthAttribute["HealthStatus"] = "HealthStatus";
299
- EnvironmentHealthAttribute["InstancesHealth"] = "InstancesHealth";
300
- EnvironmentHealthAttribute["RefreshedAt"] = "RefreshedAt";
301
- EnvironmentHealthAttribute["Status"] = "Status";
302
- })(EnvironmentHealthAttribute = exports.EnvironmentHealthAttribute || (exports.EnvironmentHealthAttribute = {}));
275
+ exports.ConfigurationOptionValueType = {
276
+ List: "List",
277
+ Scalar: "Scalar",
278
+ };
279
+ exports.EnvironmentHealthAttribute = {
280
+ All: "All",
281
+ ApplicationMetrics: "ApplicationMetrics",
282
+ Causes: "Causes",
283
+ Color: "Color",
284
+ HealthStatus: "HealthStatus",
285
+ InstancesHealth: "InstancesHealth",
286
+ RefreshedAt: "RefreshedAt",
287
+ Status: "Status",
288
+ };
303
289
  class InvalidRequestException extends ElasticBeanstalkServiceException_1.ElasticBeanstalkServiceException {
304
290
  constructor(opts) {
305
291
  super({
@@ -313,39 +299,36 @@ class InvalidRequestException extends ElasticBeanstalkServiceException_1.Elastic
313
299
  }
314
300
  }
315
301
  exports.InvalidRequestException = InvalidRequestException;
316
- var FailureType;
317
- (function (FailureType) {
318
- FailureType["CancellationFailed"] = "CancellationFailed";
319
- FailureType["InternalFailure"] = "InternalFailure";
320
- FailureType["InvalidEnvironmentState"] = "InvalidEnvironmentState";
321
- FailureType["PermissionsError"] = "PermissionsError";
322
- FailureType["RollbackFailed"] = "RollbackFailed";
323
- FailureType["RollbackSuccessful"] = "RollbackSuccessful";
324
- FailureType["UpdateCancelled"] = "UpdateCancelled";
325
- })(FailureType = exports.FailureType || (exports.FailureType = {}));
326
- var EventSeverity;
327
- (function (EventSeverity) {
328
- EventSeverity["DEBUG"] = "DEBUG";
329
- EventSeverity["ERROR"] = "ERROR";
330
- EventSeverity["FATAL"] = "FATAL";
331
- EventSeverity["INFO"] = "INFO";
332
- EventSeverity["TRACE"] = "TRACE";
333
- EventSeverity["WARN"] = "WARN";
334
- })(EventSeverity = exports.EventSeverity || (exports.EventSeverity = {}));
335
- var InstancesHealthAttribute;
336
- (function (InstancesHealthAttribute) {
337
- InstancesHealthAttribute["All"] = "All";
338
- InstancesHealthAttribute["ApplicationMetrics"] = "ApplicationMetrics";
339
- InstancesHealthAttribute["AvailabilityZone"] = "AvailabilityZone";
340
- InstancesHealthAttribute["Causes"] = "Causes";
341
- InstancesHealthAttribute["Color"] = "Color";
342
- InstancesHealthAttribute["Deployment"] = "Deployment";
343
- InstancesHealthAttribute["HealthStatus"] = "HealthStatus";
344
- InstancesHealthAttribute["InstanceType"] = "InstanceType";
345
- InstancesHealthAttribute["LaunchedAt"] = "LaunchedAt";
346
- InstancesHealthAttribute["RefreshedAt"] = "RefreshedAt";
347
- InstancesHealthAttribute["System"] = "System";
348
- })(InstancesHealthAttribute = exports.InstancesHealthAttribute || (exports.InstancesHealthAttribute = {}));
302
+ exports.FailureType = {
303
+ CancellationFailed: "CancellationFailed",
304
+ InternalFailure: "InternalFailure",
305
+ InvalidEnvironmentState: "InvalidEnvironmentState",
306
+ PermissionsError: "PermissionsError",
307
+ RollbackFailed: "RollbackFailed",
308
+ RollbackSuccessful: "RollbackSuccessful",
309
+ UpdateCancelled: "UpdateCancelled",
310
+ };
311
+ exports.EventSeverity = {
312
+ DEBUG: "DEBUG",
313
+ ERROR: "ERROR",
314
+ FATAL: "FATAL",
315
+ INFO: "INFO",
316
+ TRACE: "TRACE",
317
+ WARN: "WARN",
318
+ };
319
+ exports.InstancesHealthAttribute = {
320
+ All: "All",
321
+ ApplicationMetrics: "ApplicationMetrics",
322
+ AvailabilityZone: "AvailabilityZone",
323
+ Causes: "Causes",
324
+ Color: "Color",
325
+ Deployment: "Deployment",
326
+ HealthStatus: "HealthStatus",
327
+ InstanceType: "InstanceType",
328
+ LaunchedAt: "LaunchedAt",
329
+ RefreshedAt: "RefreshedAt",
330
+ System: "System",
331
+ };
349
332
  class ResourceNotFoundException extends ElasticBeanstalkServiceException_1.ElasticBeanstalkServiceException {
350
333
  constructor(opts) {
351
334
  super({
@@ -372,11 +355,10 @@ class ResourceTypeNotSupportedException extends ElasticBeanstalkServiceException
372
355
  }
373
356
  }
374
357
  exports.ResourceTypeNotSupportedException = ResourceTypeNotSupportedException;
375
- var EnvironmentInfoType;
376
- (function (EnvironmentInfoType) {
377
- EnvironmentInfoType["bundle"] = "bundle";
378
- EnvironmentInfoType["tail"] = "tail";
379
- })(EnvironmentInfoType = exports.EnvironmentInfoType || (exports.EnvironmentInfoType = {}));
358
+ exports.EnvironmentInfoType = {
359
+ bundle: "bundle",
360
+ tail: "tail",
361
+ };
380
362
  class TooManyTagsException extends ElasticBeanstalkServiceException_1.ElasticBeanstalkServiceException {
381
363
  constructor(opts) {
382
364
  super({
@@ -390,8 +372,7 @@ class TooManyTagsException extends ElasticBeanstalkServiceException_1.ElasticBea
390
372
  }
391
373
  }
392
374
  exports.TooManyTagsException = TooManyTagsException;
393
- var ValidationSeverity;
394
- (function (ValidationSeverity) {
395
- ValidationSeverity["error"] = "error";
396
- ValidationSeverity["warning"] = "warning";
397
- })(ValidationSeverity = exports.ValidationSeverity || (exports.ValidationSeverity = {}));
375
+ exports.ValidationSeverity = {
376
+ error: "error",
377
+ warning: "warning",
378
+ };