@aws-sdk/client-appconfig 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 +65 -64
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +64 -0
- package/dist-es/models/errors.js +97 -0
- package/dist-es/models/models_0.js +1 -161
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +152 -0
- package/dist-types/models/errors.d.ts +102 -0
- package/dist-types/models/models_0.d.ts +1 -252
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +80 -0
- package/dist-types/ts3.4/models/errors.d.ts +56 -0
- package/dist-types/ts3.4/models/models_0.d.ts +11 -134
- package/package.json +19 -19
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -118,19 +118,6 @@ let AppConfigServiceException$1 = class AppConfigServiceException extends smithy
|
|
|
118
118
|
}
|
|
119
119
|
};
|
|
120
120
|
|
|
121
|
-
const ActionPoint = {
|
|
122
|
-
AT_DEPLOYMENT_TICK: "AT_DEPLOYMENT_TICK",
|
|
123
|
-
ON_DEPLOYMENT_BAKING: "ON_DEPLOYMENT_BAKING",
|
|
124
|
-
ON_DEPLOYMENT_COMPLETE: "ON_DEPLOYMENT_COMPLETE",
|
|
125
|
-
ON_DEPLOYMENT_ROLLED_BACK: "ON_DEPLOYMENT_ROLLED_BACK",
|
|
126
|
-
ON_DEPLOYMENT_START: "ON_DEPLOYMENT_START",
|
|
127
|
-
ON_DEPLOYMENT_STEP: "ON_DEPLOYMENT_STEP",
|
|
128
|
-
PRE_CREATE_HOSTED_CONFIGURATION_VERSION: "PRE_CREATE_HOSTED_CONFIGURATION_VERSION",
|
|
129
|
-
PRE_START_DEPLOYMENT: "PRE_START_DEPLOYMENT",
|
|
130
|
-
};
|
|
131
|
-
const BadRequestReason = {
|
|
132
|
-
INVALID_CONFIGURATION: "InvalidConfiguration",
|
|
133
|
-
};
|
|
134
121
|
let BadRequestException$1 = class BadRequestException extends AppConfigServiceException$1 {
|
|
135
122
|
name = "BadRequestException";
|
|
136
123
|
$fault = "client";
|
|
@@ -177,10 +164,6 @@ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extend
|
|
|
177
164
|
this.Message = opts.Message;
|
|
178
165
|
}
|
|
179
166
|
};
|
|
180
|
-
const ValidatorType = {
|
|
181
|
-
JSON_SCHEMA: "JSON_SCHEMA",
|
|
182
|
-
LAMBDA: "LAMBDA",
|
|
183
|
-
};
|
|
184
167
|
let ResourceNotFoundException$1 = class ResourceNotFoundException extends AppConfigServiceException$1 {
|
|
185
168
|
name = "ResourceNotFoundException";
|
|
186
169
|
$fault = "client";
|
|
@@ -197,21 +180,6 @@ let ResourceNotFoundException$1 = class ResourceNotFoundException extends AppCon
|
|
|
197
180
|
this.ResourceName = opts.ResourceName;
|
|
198
181
|
}
|
|
199
182
|
};
|
|
200
|
-
const GrowthType = {
|
|
201
|
-
EXPONENTIAL: "EXPONENTIAL",
|
|
202
|
-
LINEAR: "LINEAR",
|
|
203
|
-
};
|
|
204
|
-
const ReplicateTo = {
|
|
205
|
-
NONE: "NONE",
|
|
206
|
-
SSM_DOCUMENT: "SSM_DOCUMENT",
|
|
207
|
-
};
|
|
208
|
-
const EnvironmentState = {
|
|
209
|
-
DEPLOYING: "DEPLOYING",
|
|
210
|
-
READY_FOR_DEPLOYMENT: "READY_FOR_DEPLOYMENT",
|
|
211
|
-
REVERTED: "REVERTED",
|
|
212
|
-
ROLLED_BACK: "ROLLED_BACK",
|
|
213
|
-
ROLLING_BACK: "ROLLING_BACK",
|
|
214
|
-
};
|
|
215
183
|
let ConflictException$1 = class ConflictException extends AppConfigServiceException$1 {
|
|
216
184
|
name = "ConflictException";
|
|
217
185
|
$fault = "client";
|
|
@@ -226,9 +194,6 @@ let ConflictException$1 = class ConflictException extends AppConfigServiceExcept
|
|
|
226
194
|
this.Message = opts.Message;
|
|
227
195
|
}
|
|
228
196
|
};
|
|
229
|
-
const BytesMeasure = {
|
|
230
|
-
KILOBYTES: "KILOBYTES",
|
|
231
|
-
};
|
|
232
197
|
let PayloadTooLargeException$1 = class PayloadTooLargeException extends AppConfigServiceException$1 {
|
|
233
198
|
name = "PayloadTooLargeException";
|
|
234
199
|
$fault = "client";
|
|
@@ -249,35 +214,6 @@ let PayloadTooLargeException$1 = class PayloadTooLargeException extends AppConfi
|
|
|
249
214
|
this.Size = opts.Size;
|
|
250
215
|
}
|
|
251
216
|
};
|
|
252
|
-
const DeletionProtectionCheck = {
|
|
253
|
-
ACCOUNT_DEFAULT: "ACCOUNT_DEFAULT",
|
|
254
|
-
APPLY: "APPLY",
|
|
255
|
-
BYPASS: "BYPASS",
|
|
256
|
-
};
|
|
257
|
-
const DeploymentEventType = {
|
|
258
|
-
BAKE_TIME_STARTED: "BAKE_TIME_STARTED",
|
|
259
|
-
DEPLOYMENT_COMPLETED: "DEPLOYMENT_COMPLETED",
|
|
260
|
-
DEPLOYMENT_STARTED: "DEPLOYMENT_STARTED",
|
|
261
|
-
PERCENTAGE_UPDATED: "PERCENTAGE_UPDATED",
|
|
262
|
-
REVERT_COMPLETED: "REVERT_COMPLETED",
|
|
263
|
-
ROLLBACK_COMPLETED: "ROLLBACK_COMPLETED",
|
|
264
|
-
ROLLBACK_STARTED: "ROLLBACK_STARTED",
|
|
265
|
-
};
|
|
266
|
-
const TriggeredBy = {
|
|
267
|
-
APPCONFIG: "APPCONFIG",
|
|
268
|
-
CLOUDWATCH_ALARM: "CLOUDWATCH_ALARM",
|
|
269
|
-
INTERNAL_ERROR: "INTERNAL_ERROR",
|
|
270
|
-
USER: "USER",
|
|
271
|
-
};
|
|
272
|
-
const DeploymentState = {
|
|
273
|
-
BAKING: "BAKING",
|
|
274
|
-
COMPLETE: "COMPLETE",
|
|
275
|
-
DEPLOYING: "DEPLOYING",
|
|
276
|
-
REVERTED: "REVERTED",
|
|
277
|
-
ROLLED_BACK: "ROLLED_BACK",
|
|
278
|
-
ROLLING_BACK: "ROLLING_BACK",
|
|
279
|
-
VALIDATING: "VALIDATING",
|
|
280
|
-
};
|
|
281
217
|
|
|
282
218
|
const _A = "Action";
|
|
283
219
|
const _AA = "AlarmArn";
|
|
@@ -2608,6 +2544,71 @@ const waitUntilEnvironmentReadyForDeployment = async (params, input) => {
|
|
|
2608
2544
|
return utilWaiter.checkExceptions(result);
|
|
2609
2545
|
};
|
|
2610
2546
|
|
|
2547
|
+
const ActionPoint = {
|
|
2548
|
+
AT_DEPLOYMENT_TICK: "AT_DEPLOYMENT_TICK",
|
|
2549
|
+
ON_DEPLOYMENT_BAKING: "ON_DEPLOYMENT_BAKING",
|
|
2550
|
+
ON_DEPLOYMENT_COMPLETE: "ON_DEPLOYMENT_COMPLETE",
|
|
2551
|
+
ON_DEPLOYMENT_ROLLED_BACK: "ON_DEPLOYMENT_ROLLED_BACK",
|
|
2552
|
+
ON_DEPLOYMENT_START: "ON_DEPLOYMENT_START",
|
|
2553
|
+
ON_DEPLOYMENT_STEP: "ON_DEPLOYMENT_STEP",
|
|
2554
|
+
PRE_CREATE_HOSTED_CONFIGURATION_VERSION: "PRE_CREATE_HOSTED_CONFIGURATION_VERSION",
|
|
2555
|
+
PRE_START_DEPLOYMENT: "PRE_START_DEPLOYMENT",
|
|
2556
|
+
};
|
|
2557
|
+
const BadRequestReason = {
|
|
2558
|
+
INVALID_CONFIGURATION: "InvalidConfiguration",
|
|
2559
|
+
};
|
|
2560
|
+
const ValidatorType = {
|
|
2561
|
+
JSON_SCHEMA: "JSON_SCHEMA",
|
|
2562
|
+
LAMBDA: "LAMBDA",
|
|
2563
|
+
};
|
|
2564
|
+
const GrowthType = {
|
|
2565
|
+
EXPONENTIAL: "EXPONENTIAL",
|
|
2566
|
+
LINEAR: "LINEAR",
|
|
2567
|
+
};
|
|
2568
|
+
const ReplicateTo = {
|
|
2569
|
+
NONE: "NONE",
|
|
2570
|
+
SSM_DOCUMENT: "SSM_DOCUMENT",
|
|
2571
|
+
};
|
|
2572
|
+
const EnvironmentState = {
|
|
2573
|
+
DEPLOYING: "DEPLOYING",
|
|
2574
|
+
READY_FOR_DEPLOYMENT: "READY_FOR_DEPLOYMENT",
|
|
2575
|
+
REVERTED: "REVERTED",
|
|
2576
|
+
ROLLED_BACK: "ROLLED_BACK",
|
|
2577
|
+
ROLLING_BACK: "ROLLING_BACK",
|
|
2578
|
+
};
|
|
2579
|
+
const BytesMeasure = {
|
|
2580
|
+
KILOBYTES: "KILOBYTES",
|
|
2581
|
+
};
|
|
2582
|
+
const DeletionProtectionCheck = {
|
|
2583
|
+
ACCOUNT_DEFAULT: "ACCOUNT_DEFAULT",
|
|
2584
|
+
APPLY: "APPLY",
|
|
2585
|
+
BYPASS: "BYPASS",
|
|
2586
|
+
};
|
|
2587
|
+
const DeploymentEventType = {
|
|
2588
|
+
BAKE_TIME_STARTED: "BAKE_TIME_STARTED",
|
|
2589
|
+
DEPLOYMENT_COMPLETED: "DEPLOYMENT_COMPLETED",
|
|
2590
|
+
DEPLOYMENT_STARTED: "DEPLOYMENT_STARTED",
|
|
2591
|
+
PERCENTAGE_UPDATED: "PERCENTAGE_UPDATED",
|
|
2592
|
+
REVERT_COMPLETED: "REVERT_COMPLETED",
|
|
2593
|
+
ROLLBACK_COMPLETED: "ROLLBACK_COMPLETED",
|
|
2594
|
+
ROLLBACK_STARTED: "ROLLBACK_STARTED",
|
|
2595
|
+
};
|
|
2596
|
+
const TriggeredBy = {
|
|
2597
|
+
APPCONFIG: "APPCONFIG",
|
|
2598
|
+
CLOUDWATCH_ALARM: "CLOUDWATCH_ALARM",
|
|
2599
|
+
INTERNAL_ERROR: "INTERNAL_ERROR",
|
|
2600
|
+
USER: "USER",
|
|
2601
|
+
};
|
|
2602
|
+
const DeploymentState = {
|
|
2603
|
+
BAKING: "BAKING",
|
|
2604
|
+
COMPLETE: "COMPLETE",
|
|
2605
|
+
DEPLOYING: "DEPLOYING",
|
|
2606
|
+
REVERTED: "REVERTED",
|
|
2607
|
+
ROLLED_BACK: "ROLLED_BACK",
|
|
2608
|
+
ROLLING_BACK: "ROLLING_BACK",
|
|
2609
|
+
VALIDATING: "VALIDATING",
|
|
2610
|
+
};
|
|
2611
|
+
|
|
2611
2612
|
Object.defineProperty(exports, "$Command", {
|
|
2612
2613
|
enumerable: true,
|
|
2613
2614
|
get: function () { return smithyClient.Command; }
|
package/dist-es/index.js
CHANGED
|
@@ -3,5 +3,6 @@ export * from "./AppConfig";
|
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
5
|
export * from "./waiters";
|
|
6
|
-
export * from "./models";
|
|
6
|
+
export * from "./models/enums";
|
|
7
|
+
export * from "./models/errors";
|
|
7
8
|
export { AppConfigServiceException } from "./models/AppConfigServiceException";
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
export const ActionPoint = {
|
|
2
|
+
AT_DEPLOYMENT_TICK: "AT_DEPLOYMENT_TICK",
|
|
3
|
+
ON_DEPLOYMENT_BAKING: "ON_DEPLOYMENT_BAKING",
|
|
4
|
+
ON_DEPLOYMENT_COMPLETE: "ON_DEPLOYMENT_COMPLETE",
|
|
5
|
+
ON_DEPLOYMENT_ROLLED_BACK: "ON_DEPLOYMENT_ROLLED_BACK",
|
|
6
|
+
ON_DEPLOYMENT_START: "ON_DEPLOYMENT_START",
|
|
7
|
+
ON_DEPLOYMENT_STEP: "ON_DEPLOYMENT_STEP",
|
|
8
|
+
PRE_CREATE_HOSTED_CONFIGURATION_VERSION: "PRE_CREATE_HOSTED_CONFIGURATION_VERSION",
|
|
9
|
+
PRE_START_DEPLOYMENT: "PRE_START_DEPLOYMENT",
|
|
10
|
+
};
|
|
11
|
+
export const BadRequestReason = {
|
|
12
|
+
INVALID_CONFIGURATION: "InvalidConfiguration",
|
|
13
|
+
};
|
|
14
|
+
export const ValidatorType = {
|
|
15
|
+
JSON_SCHEMA: "JSON_SCHEMA",
|
|
16
|
+
LAMBDA: "LAMBDA",
|
|
17
|
+
};
|
|
18
|
+
export const GrowthType = {
|
|
19
|
+
EXPONENTIAL: "EXPONENTIAL",
|
|
20
|
+
LINEAR: "LINEAR",
|
|
21
|
+
};
|
|
22
|
+
export const ReplicateTo = {
|
|
23
|
+
NONE: "NONE",
|
|
24
|
+
SSM_DOCUMENT: "SSM_DOCUMENT",
|
|
25
|
+
};
|
|
26
|
+
export const EnvironmentState = {
|
|
27
|
+
DEPLOYING: "DEPLOYING",
|
|
28
|
+
READY_FOR_DEPLOYMENT: "READY_FOR_DEPLOYMENT",
|
|
29
|
+
REVERTED: "REVERTED",
|
|
30
|
+
ROLLED_BACK: "ROLLED_BACK",
|
|
31
|
+
ROLLING_BACK: "ROLLING_BACK",
|
|
32
|
+
};
|
|
33
|
+
export const BytesMeasure = {
|
|
34
|
+
KILOBYTES: "KILOBYTES",
|
|
35
|
+
};
|
|
36
|
+
export const DeletionProtectionCheck = {
|
|
37
|
+
ACCOUNT_DEFAULT: "ACCOUNT_DEFAULT",
|
|
38
|
+
APPLY: "APPLY",
|
|
39
|
+
BYPASS: "BYPASS",
|
|
40
|
+
};
|
|
41
|
+
export const DeploymentEventType = {
|
|
42
|
+
BAKE_TIME_STARTED: "BAKE_TIME_STARTED",
|
|
43
|
+
DEPLOYMENT_COMPLETED: "DEPLOYMENT_COMPLETED",
|
|
44
|
+
DEPLOYMENT_STARTED: "DEPLOYMENT_STARTED",
|
|
45
|
+
PERCENTAGE_UPDATED: "PERCENTAGE_UPDATED",
|
|
46
|
+
REVERT_COMPLETED: "REVERT_COMPLETED",
|
|
47
|
+
ROLLBACK_COMPLETED: "ROLLBACK_COMPLETED",
|
|
48
|
+
ROLLBACK_STARTED: "ROLLBACK_STARTED",
|
|
49
|
+
};
|
|
50
|
+
export const TriggeredBy = {
|
|
51
|
+
APPCONFIG: "APPCONFIG",
|
|
52
|
+
CLOUDWATCH_ALARM: "CLOUDWATCH_ALARM",
|
|
53
|
+
INTERNAL_ERROR: "INTERNAL_ERROR",
|
|
54
|
+
USER: "USER",
|
|
55
|
+
};
|
|
56
|
+
export const DeploymentState = {
|
|
57
|
+
BAKING: "BAKING",
|
|
58
|
+
COMPLETE: "COMPLETE",
|
|
59
|
+
DEPLOYING: "DEPLOYING",
|
|
60
|
+
REVERTED: "REVERTED",
|
|
61
|
+
ROLLED_BACK: "ROLLED_BACK",
|
|
62
|
+
ROLLING_BACK: "ROLLING_BACK",
|
|
63
|
+
VALIDATING: "VALIDATING",
|
|
64
|
+
};
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { AppConfigServiceException as __BaseException } from "./AppConfigServiceException";
|
|
2
|
+
export class BadRequestException extends __BaseException {
|
|
3
|
+
name = "BadRequestException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
Message;
|
|
6
|
+
Reason;
|
|
7
|
+
Details;
|
|
8
|
+
constructor(opts) {
|
|
9
|
+
super({
|
|
10
|
+
name: "BadRequestException",
|
|
11
|
+
$fault: "client",
|
|
12
|
+
...opts,
|
|
13
|
+
});
|
|
14
|
+
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
15
|
+
this.Message = opts.Message;
|
|
16
|
+
this.Reason = opts.Reason;
|
|
17
|
+
this.Details = opts.Details;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
export class InternalServerException extends __BaseException {
|
|
21
|
+
name = "InternalServerException";
|
|
22
|
+
$fault = "server";
|
|
23
|
+
Message;
|
|
24
|
+
constructor(opts) {
|
|
25
|
+
super({
|
|
26
|
+
name: "InternalServerException",
|
|
27
|
+
$fault: "server",
|
|
28
|
+
...opts,
|
|
29
|
+
});
|
|
30
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
31
|
+
this.Message = opts.Message;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
35
|
+
name = "ServiceQuotaExceededException";
|
|
36
|
+
$fault = "client";
|
|
37
|
+
Message;
|
|
38
|
+
constructor(opts) {
|
|
39
|
+
super({
|
|
40
|
+
name: "ServiceQuotaExceededException",
|
|
41
|
+
$fault: "client",
|
|
42
|
+
...opts,
|
|
43
|
+
});
|
|
44
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
45
|
+
this.Message = opts.Message;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
49
|
+
name = "ResourceNotFoundException";
|
|
50
|
+
$fault = "client";
|
|
51
|
+
Message;
|
|
52
|
+
ResourceName;
|
|
53
|
+
constructor(opts) {
|
|
54
|
+
super({
|
|
55
|
+
name: "ResourceNotFoundException",
|
|
56
|
+
$fault: "client",
|
|
57
|
+
...opts,
|
|
58
|
+
});
|
|
59
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
60
|
+
this.Message = opts.Message;
|
|
61
|
+
this.ResourceName = opts.ResourceName;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
export class ConflictException extends __BaseException {
|
|
65
|
+
name = "ConflictException";
|
|
66
|
+
$fault = "client";
|
|
67
|
+
Message;
|
|
68
|
+
constructor(opts) {
|
|
69
|
+
super({
|
|
70
|
+
name: "ConflictException",
|
|
71
|
+
$fault: "client",
|
|
72
|
+
...opts,
|
|
73
|
+
});
|
|
74
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
75
|
+
this.Message = opts.Message;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
export class PayloadTooLargeException extends __BaseException {
|
|
79
|
+
name = "PayloadTooLargeException";
|
|
80
|
+
$fault = "client";
|
|
81
|
+
Message;
|
|
82
|
+
Measure;
|
|
83
|
+
Limit;
|
|
84
|
+
Size;
|
|
85
|
+
constructor(opts) {
|
|
86
|
+
super({
|
|
87
|
+
name: "PayloadTooLargeException",
|
|
88
|
+
$fault: "client",
|
|
89
|
+
...opts,
|
|
90
|
+
});
|
|
91
|
+
Object.setPrototypeOf(this, PayloadTooLargeException.prototype);
|
|
92
|
+
this.Message = opts.Message;
|
|
93
|
+
this.Measure = opts.Measure;
|
|
94
|
+
this.Limit = opts.Limit;
|
|
95
|
+
this.Size = opts.Size;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
@@ -1,161 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export const ActionPoint = {
|
|
3
|
-
AT_DEPLOYMENT_TICK: "AT_DEPLOYMENT_TICK",
|
|
4
|
-
ON_DEPLOYMENT_BAKING: "ON_DEPLOYMENT_BAKING",
|
|
5
|
-
ON_DEPLOYMENT_COMPLETE: "ON_DEPLOYMENT_COMPLETE",
|
|
6
|
-
ON_DEPLOYMENT_ROLLED_BACK: "ON_DEPLOYMENT_ROLLED_BACK",
|
|
7
|
-
ON_DEPLOYMENT_START: "ON_DEPLOYMENT_START",
|
|
8
|
-
ON_DEPLOYMENT_STEP: "ON_DEPLOYMENT_STEP",
|
|
9
|
-
PRE_CREATE_HOSTED_CONFIGURATION_VERSION: "PRE_CREATE_HOSTED_CONFIGURATION_VERSION",
|
|
10
|
-
PRE_START_DEPLOYMENT: "PRE_START_DEPLOYMENT",
|
|
11
|
-
};
|
|
12
|
-
export const BadRequestReason = {
|
|
13
|
-
INVALID_CONFIGURATION: "InvalidConfiguration",
|
|
14
|
-
};
|
|
15
|
-
export class BadRequestException extends __BaseException {
|
|
16
|
-
name = "BadRequestException";
|
|
17
|
-
$fault = "client";
|
|
18
|
-
Message;
|
|
19
|
-
Reason;
|
|
20
|
-
Details;
|
|
21
|
-
constructor(opts) {
|
|
22
|
-
super({
|
|
23
|
-
name: "BadRequestException",
|
|
24
|
-
$fault: "client",
|
|
25
|
-
...opts,
|
|
26
|
-
});
|
|
27
|
-
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
28
|
-
this.Message = opts.Message;
|
|
29
|
-
this.Reason = opts.Reason;
|
|
30
|
-
this.Details = opts.Details;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
export class InternalServerException extends __BaseException {
|
|
34
|
-
name = "InternalServerException";
|
|
35
|
-
$fault = "server";
|
|
36
|
-
Message;
|
|
37
|
-
constructor(opts) {
|
|
38
|
-
super({
|
|
39
|
-
name: "InternalServerException",
|
|
40
|
-
$fault: "server",
|
|
41
|
-
...opts,
|
|
42
|
-
});
|
|
43
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
44
|
-
this.Message = opts.Message;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
export class ServiceQuotaExceededException extends __BaseException {
|
|
48
|
-
name = "ServiceQuotaExceededException";
|
|
49
|
-
$fault = "client";
|
|
50
|
-
Message;
|
|
51
|
-
constructor(opts) {
|
|
52
|
-
super({
|
|
53
|
-
name: "ServiceQuotaExceededException",
|
|
54
|
-
$fault: "client",
|
|
55
|
-
...opts,
|
|
56
|
-
});
|
|
57
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
58
|
-
this.Message = opts.Message;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
export const ValidatorType = {
|
|
62
|
-
JSON_SCHEMA: "JSON_SCHEMA",
|
|
63
|
-
LAMBDA: "LAMBDA",
|
|
64
|
-
};
|
|
65
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
66
|
-
name = "ResourceNotFoundException";
|
|
67
|
-
$fault = "client";
|
|
68
|
-
Message;
|
|
69
|
-
ResourceName;
|
|
70
|
-
constructor(opts) {
|
|
71
|
-
super({
|
|
72
|
-
name: "ResourceNotFoundException",
|
|
73
|
-
$fault: "client",
|
|
74
|
-
...opts,
|
|
75
|
-
});
|
|
76
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
77
|
-
this.Message = opts.Message;
|
|
78
|
-
this.ResourceName = opts.ResourceName;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
export const GrowthType = {
|
|
82
|
-
EXPONENTIAL: "EXPONENTIAL",
|
|
83
|
-
LINEAR: "LINEAR",
|
|
84
|
-
};
|
|
85
|
-
export const ReplicateTo = {
|
|
86
|
-
NONE: "NONE",
|
|
87
|
-
SSM_DOCUMENT: "SSM_DOCUMENT",
|
|
88
|
-
};
|
|
89
|
-
export const EnvironmentState = {
|
|
90
|
-
DEPLOYING: "DEPLOYING",
|
|
91
|
-
READY_FOR_DEPLOYMENT: "READY_FOR_DEPLOYMENT",
|
|
92
|
-
REVERTED: "REVERTED",
|
|
93
|
-
ROLLED_BACK: "ROLLED_BACK",
|
|
94
|
-
ROLLING_BACK: "ROLLING_BACK",
|
|
95
|
-
};
|
|
96
|
-
export class ConflictException extends __BaseException {
|
|
97
|
-
name = "ConflictException";
|
|
98
|
-
$fault = "client";
|
|
99
|
-
Message;
|
|
100
|
-
constructor(opts) {
|
|
101
|
-
super({
|
|
102
|
-
name: "ConflictException",
|
|
103
|
-
$fault: "client",
|
|
104
|
-
...opts,
|
|
105
|
-
});
|
|
106
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
107
|
-
this.Message = opts.Message;
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
export const BytesMeasure = {
|
|
111
|
-
KILOBYTES: "KILOBYTES",
|
|
112
|
-
};
|
|
113
|
-
export class PayloadTooLargeException extends __BaseException {
|
|
114
|
-
name = "PayloadTooLargeException";
|
|
115
|
-
$fault = "client";
|
|
116
|
-
Message;
|
|
117
|
-
Measure;
|
|
118
|
-
Limit;
|
|
119
|
-
Size;
|
|
120
|
-
constructor(opts) {
|
|
121
|
-
super({
|
|
122
|
-
name: "PayloadTooLargeException",
|
|
123
|
-
$fault: "client",
|
|
124
|
-
...opts,
|
|
125
|
-
});
|
|
126
|
-
Object.setPrototypeOf(this, PayloadTooLargeException.prototype);
|
|
127
|
-
this.Message = opts.Message;
|
|
128
|
-
this.Measure = opts.Measure;
|
|
129
|
-
this.Limit = opts.Limit;
|
|
130
|
-
this.Size = opts.Size;
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
export const DeletionProtectionCheck = {
|
|
134
|
-
ACCOUNT_DEFAULT: "ACCOUNT_DEFAULT",
|
|
135
|
-
APPLY: "APPLY",
|
|
136
|
-
BYPASS: "BYPASS",
|
|
137
|
-
};
|
|
138
|
-
export const DeploymentEventType = {
|
|
139
|
-
BAKE_TIME_STARTED: "BAKE_TIME_STARTED",
|
|
140
|
-
DEPLOYMENT_COMPLETED: "DEPLOYMENT_COMPLETED",
|
|
141
|
-
DEPLOYMENT_STARTED: "DEPLOYMENT_STARTED",
|
|
142
|
-
PERCENTAGE_UPDATED: "PERCENTAGE_UPDATED",
|
|
143
|
-
REVERT_COMPLETED: "REVERT_COMPLETED",
|
|
144
|
-
ROLLBACK_COMPLETED: "ROLLBACK_COMPLETED",
|
|
145
|
-
ROLLBACK_STARTED: "ROLLBACK_STARTED",
|
|
146
|
-
};
|
|
147
|
-
export const TriggeredBy = {
|
|
148
|
-
APPCONFIG: "APPCONFIG",
|
|
149
|
-
CLOUDWATCH_ALARM: "CLOUDWATCH_ALARM",
|
|
150
|
-
INTERNAL_ERROR: "INTERNAL_ERROR",
|
|
151
|
-
USER: "USER",
|
|
152
|
-
};
|
|
153
|
-
export const DeploymentState = {
|
|
154
|
-
BAKING: "BAKING",
|
|
155
|
-
COMPLETE: "COMPLETE",
|
|
156
|
-
DEPLOYING: "DEPLOYING",
|
|
157
|
-
REVERTED: "REVERTED",
|
|
158
|
-
ROLLED_BACK: "ROLLED_BACK",
|
|
159
|
-
ROLLING_BACK: "ROLLING_BACK",
|
|
160
|
-
VALIDATING: "VALIDATING",
|
|
161
|
-
};
|
|
1
|
+
export {};
|
|
@@ -261,7 +261,7 @@ const _xadpc = "x-amzn-deletion-protection-check";
|
|
|
261
261
|
const n0 = "com.amazonaws.appconfig";
|
|
262
262
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
263
263
|
import { AppConfigServiceException as __AppConfigServiceException } from "../models/AppConfigServiceException";
|
|
264
|
-
import { BadRequestException as __BadRequestException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, PayloadTooLargeException as __PayloadTooLargeException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, } from "../models/
|
|
264
|
+
import { BadRequestException as __BadRequestException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, PayloadTooLargeException as __PayloadTooLargeException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, } from "../models/errors";
|
|
265
265
|
export var _Blob = [0, n0, _B, 8, 21];
|
|
266
266
|
export var StringWithLengthBetween0And32768 = [0, n0, _SWLBA, 8, 0];
|
|
267
267
|
export var AccountSettings = [3, n0, _AS, 0, [_DP], [() => DeletionProtectionSettings]];
|
package/dist-types/index.d.ts
CHANGED
|
@@ -160,5 +160,7 @@ export type { AppConfigExtensionConfiguration } from "./extensionConfiguration";
|
|
|
160
160
|
export * from "./commands";
|
|
161
161
|
export * from "./pagination";
|
|
162
162
|
export * from "./waiters";
|
|
163
|
-
export * from "./models";
|
|
163
|
+
export * from "./models/enums";
|
|
164
|
+
export * from "./models/errors";
|
|
165
|
+
export type * from "./models/models_0";
|
|
164
166
|
export { AppConfigServiceException } from "./models/AppConfigServiceException";
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const ActionPoint: {
|
|
6
|
+
readonly AT_DEPLOYMENT_TICK: "AT_DEPLOYMENT_TICK";
|
|
7
|
+
readonly ON_DEPLOYMENT_BAKING: "ON_DEPLOYMENT_BAKING";
|
|
8
|
+
readonly ON_DEPLOYMENT_COMPLETE: "ON_DEPLOYMENT_COMPLETE";
|
|
9
|
+
readonly ON_DEPLOYMENT_ROLLED_BACK: "ON_DEPLOYMENT_ROLLED_BACK";
|
|
10
|
+
readonly ON_DEPLOYMENT_START: "ON_DEPLOYMENT_START";
|
|
11
|
+
readonly ON_DEPLOYMENT_STEP: "ON_DEPLOYMENT_STEP";
|
|
12
|
+
readonly PRE_CREATE_HOSTED_CONFIGURATION_VERSION: "PRE_CREATE_HOSTED_CONFIGURATION_VERSION";
|
|
13
|
+
readonly PRE_START_DEPLOYMENT: "PRE_START_DEPLOYMENT";
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
18
|
+
export type ActionPoint = (typeof ActionPoint)[keyof typeof ActionPoint];
|
|
19
|
+
/**
|
|
20
|
+
* @public
|
|
21
|
+
* @enum
|
|
22
|
+
*/
|
|
23
|
+
export declare const BadRequestReason: {
|
|
24
|
+
readonly INVALID_CONFIGURATION: "InvalidConfiguration";
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
29
|
+
export type BadRequestReason = (typeof BadRequestReason)[keyof typeof BadRequestReason];
|
|
30
|
+
/**
|
|
31
|
+
* @public
|
|
32
|
+
* @enum
|
|
33
|
+
*/
|
|
34
|
+
export declare const ValidatorType: {
|
|
35
|
+
readonly JSON_SCHEMA: "JSON_SCHEMA";
|
|
36
|
+
readonly LAMBDA: "LAMBDA";
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* @public
|
|
40
|
+
*/
|
|
41
|
+
export type ValidatorType = (typeof ValidatorType)[keyof typeof ValidatorType];
|
|
42
|
+
/**
|
|
43
|
+
* @public
|
|
44
|
+
* @enum
|
|
45
|
+
*/
|
|
46
|
+
export declare const GrowthType: {
|
|
47
|
+
readonly EXPONENTIAL: "EXPONENTIAL";
|
|
48
|
+
readonly LINEAR: "LINEAR";
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
53
|
+
export type GrowthType = (typeof GrowthType)[keyof typeof GrowthType];
|
|
54
|
+
/**
|
|
55
|
+
* @public
|
|
56
|
+
* @enum
|
|
57
|
+
*/
|
|
58
|
+
export declare const ReplicateTo: {
|
|
59
|
+
readonly NONE: "NONE";
|
|
60
|
+
readonly SSM_DOCUMENT: "SSM_DOCUMENT";
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
export type ReplicateTo = (typeof ReplicateTo)[keyof typeof ReplicateTo];
|
|
66
|
+
/**
|
|
67
|
+
* @public
|
|
68
|
+
* @enum
|
|
69
|
+
*/
|
|
70
|
+
export declare const EnvironmentState: {
|
|
71
|
+
readonly DEPLOYING: "DEPLOYING";
|
|
72
|
+
readonly READY_FOR_DEPLOYMENT: "READY_FOR_DEPLOYMENT";
|
|
73
|
+
readonly REVERTED: "REVERTED";
|
|
74
|
+
readonly ROLLED_BACK: "ROLLED_BACK";
|
|
75
|
+
readonly ROLLING_BACK: "ROLLING_BACK";
|
|
76
|
+
};
|
|
77
|
+
/**
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
export type EnvironmentState = (typeof EnvironmentState)[keyof typeof EnvironmentState];
|
|
81
|
+
/**
|
|
82
|
+
* @public
|
|
83
|
+
* @enum
|
|
84
|
+
*/
|
|
85
|
+
export declare const BytesMeasure: {
|
|
86
|
+
readonly KILOBYTES: "KILOBYTES";
|
|
87
|
+
};
|
|
88
|
+
/**
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
export type BytesMeasure = (typeof BytesMeasure)[keyof typeof BytesMeasure];
|
|
92
|
+
/**
|
|
93
|
+
* @public
|
|
94
|
+
* @enum
|
|
95
|
+
*/
|
|
96
|
+
export declare const DeletionProtectionCheck: {
|
|
97
|
+
readonly ACCOUNT_DEFAULT: "ACCOUNT_DEFAULT";
|
|
98
|
+
readonly APPLY: "APPLY";
|
|
99
|
+
readonly BYPASS: "BYPASS";
|
|
100
|
+
};
|
|
101
|
+
/**
|
|
102
|
+
* @public
|
|
103
|
+
*/
|
|
104
|
+
export type DeletionProtectionCheck = (typeof DeletionProtectionCheck)[keyof typeof DeletionProtectionCheck];
|
|
105
|
+
/**
|
|
106
|
+
* @public
|
|
107
|
+
* @enum
|
|
108
|
+
*/
|
|
109
|
+
export declare const DeploymentEventType: {
|
|
110
|
+
readonly BAKE_TIME_STARTED: "BAKE_TIME_STARTED";
|
|
111
|
+
readonly DEPLOYMENT_COMPLETED: "DEPLOYMENT_COMPLETED";
|
|
112
|
+
readonly DEPLOYMENT_STARTED: "DEPLOYMENT_STARTED";
|
|
113
|
+
readonly PERCENTAGE_UPDATED: "PERCENTAGE_UPDATED";
|
|
114
|
+
readonly REVERT_COMPLETED: "REVERT_COMPLETED";
|
|
115
|
+
readonly ROLLBACK_COMPLETED: "ROLLBACK_COMPLETED";
|
|
116
|
+
readonly ROLLBACK_STARTED: "ROLLBACK_STARTED";
|
|
117
|
+
};
|
|
118
|
+
/**
|
|
119
|
+
* @public
|
|
120
|
+
*/
|
|
121
|
+
export type DeploymentEventType = (typeof DeploymentEventType)[keyof typeof DeploymentEventType];
|
|
122
|
+
/**
|
|
123
|
+
* @public
|
|
124
|
+
* @enum
|
|
125
|
+
*/
|
|
126
|
+
export declare const TriggeredBy: {
|
|
127
|
+
readonly APPCONFIG: "APPCONFIG";
|
|
128
|
+
readonly CLOUDWATCH_ALARM: "CLOUDWATCH_ALARM";
|
|
129
|
+
readonly INTERNAL_ERROR: "INTERNAL_ERROR";
|
|
130
|
+
readonly USER: "USER";
|
|
131
|
+
};
|
|
132
|
+
/**
|
|
133
|
+
* @public
|
|
134
|
+
*/
|
|
135
|
+
export type TriggeredBy = (typeof TriggeredBy)[keyof typeof TriggeredBy];
|
|
136
|
+
/**
|
|
137
|
+
* @public
|
|
138
|
+
* @enum
|
|
139
|
+
*/
|
|
140
|
+
export declare const DeploymentState: {
|
|
141
|
+
readonly BAKING: "BAKING";
|
|
142
|
+
readonly COMPLETE: "COMPLETE";
|
|
143
|
+
readonly DEPLOYING: "DEPLOYING";
|
|
144
|
+
readonly REVERTED: "REVERTED";
|
|
145
|
+
readonly ROLLED_BACK: "ROLLED_BACK";
|
|
146
|
+
readonly ROLLING_BACK: "ROLLING_BACK";
|
|
147
|
+
readonly VALIDATING: "VALIDATING";
|
|
148
|
+
};
|
|
149
|
+
/**
|
|
150
|
+
* @public
|
|
151
|
+
*/
|
|
152
|
+
export type DeploymentState = (typeof DeploymentState)[keyof typeof DeploymentState];
|