@aws-sdk/client-appconfig 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.
- package/dist-cjs/models/models_0.js +55 -65
- package/dist-es/models/models_0.js +55 -65
- package/dist-types/models/models_0.d.ts +105 -55
- package/dist-types/ts3.4/models/models_0.d.ts +69 -55
- package/package.json +34 -34
|
@@ -3,16 +3,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.UpdateConfigurationProfileRequestFilterSensitiveLog = exports.ConfigurationFilterSensitiveLog = exports.HostedConfigurationVersionFilterSensitiveLog = exports.CreateHostedConfigurationVersionRequestFilterSensitiveLog = exports.CreateConfigurationProfileRequestFilterSensitiveLog = exports.ConfigurationProfileFilterSensitiveLog = exports.ValidatorFilterSensitiveLog = exports.DeploymentState = exports.TriggeredBy = exports.DeploymentEventType = exports.PayloadTooLargeException = exports.BytesMeasure = exports.ServiceQuotaExceededException = exports.ConflictException = exports.EnvironmentState = exports.ReplicateTo = exports.GrowthType = exports.ResourceNotFoundException = exports.ValidatorType = exports.InternalServerException = exports.BadRequestException = exports.BadRequestReason = exports.BadRequestDetails = exports.ActionPoint = void 0;
|
|
4
4
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
5
|
const AppConfigServiceException_1 = require("./AppConfigServiceException");
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
})(ActionPoint = exports.ActionPoint || (exports.ActionPoint = {}));
|
|
6
|
+
exports.ActionPoint = {
|
|
7
|
+
ON_DEPLOYMENT_BAKING: "ON_DEPLOYMENT_BAKING",
|
|
8
|
+
ON_DEPLOYMENT_COMPLETE: "ON_DEPLOYMENT_COMPLETE",
|
|
9
|
+
ON_DEPLOYMENT_ROLLED_BACK: "ON_DEPLOYMENT_ROLLED_BACK",
|
|
10
|
+
ON_DEPLOYMENT_START: "ON_DEPLOYMENT_START",
|
|
11
|
+
ON_DEPLOYMENT_STEP: "ON_DEPLOYMENT_STEP",
|
|
12
|
+
PRE_CREATE_HOSTED_CONFIGURATION_VERSION: "PRE_CREATE_HOSTED_CONFIGURATION_VERSION",
|
|
13
|
+
PRE_START_DEPLOYMENT: "PRE_START_DEPLOYMENT",
|
|
14
|
+
};
|
|
16
15
|
var BadRequestDetails;
|
|
17
16
|
(function (BadRequestDetails) {
|
|
18
17
|
BadRequestDetails.visit = (value, visitor) => {
|
|
@@ -21,10 +20,9 @@ var BadRequestDetails;
|
|
|
21
20
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
22
21
|
};
|
|
23
22
|
})(BadRequestDetails = exports.BadRequestDetails || (exports.BadRequestDetails = {}));
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
})(BadRequestReason = exports.BadRequestReason || (exports.BadRequestReason = {}));
|
|
23
|
+
exports.BadRequestReason = {
|
|
24
|
+
INVALID_CONFIGURATION: "InvalidConfiguration",
|
|
25
|
+
};
|
|
28
26
|
class BadRequestException extends AppConfigServiceException_1.AppConfigServiceException {
|
|
29
27
|
constructor(opts) {
|
|
30
28
|
super({
|
|
@@ -55,11 +53,10 @@ class InternalServerException extends AppConfigServiceException_1.AppConfigServi
|
|
|
55
53
|
}
|
|
56
54
|
}
|
|
57
55
|
exports.InternalServerException = InternalServerException;
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
})(ValidatorType = exports.ValidatorType || (exports.ValidatorType = {}));
|
|
56
|
+
exports.ValidatorType = {
|
|
57
|
+
JSON_SCHEMA: "JSON_SCHEMA",
|
|
58
|
+
LAMBDA: "LAMBDA",
|
|
59
|
+
};
|
|
63
60
|
class ResourceNotFoundException extends AppConfigServiceException_1.AppConfigServiceException {
|
|
64
61
|
constructor(opts) {
|
|
65
62
|
super({
|
|
@@ -75,23 +72,20 @@ class ResourceNotFoundException extends AppConfigServiceException_1.AppConfigSer
|
|
|
75
72
|
}
|
|
76
73
|
}
|
|
77
74
|
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
EnvironmentState["ROLLED_BACK"] = "ROLLED_BACK";
|
|
93
|
-
EnvironmentState["ROLLING_BACK"] = "ROLLING_BACK";
|
|
94
|
-
})(EnvironmentState = exports.EnvironmentState || (exports.EnvironmentState = {}));
|
|
75
|
+
exports.GrowthType = {
|
|
76
|
+
EXPONENTIAL: "EXPONENTIAL",
|
|
77
|
+
LINEAR: "LINEAR",
|
|
78
|
+
};
|
|
79
|
+
exports.ReplicateTo = {
|
|
80
|
+
NONE: "NONE",
|
|
81
|
+
SSM_DOCUMENT: "SSM_DOCUMENT",
|
|
82
|
+
};
|
|
83
|
+
exports.EnvironmentState = {
|
|
84
|
+
DEPLOYING: "DEPLOYING",
|
|
85
|
+
READY_FOR_DEPLOYMENT: "READY_FOR_DEPLOYMENT",
|
|
86
|
+
ROLLED_BACK: "ROLLED_BACK",
|
|
87
|
+
ROLLING_BACK: "ROLLING_BACK",
|
|
88
|
+
};
|
|
95
89
|
class ConflictException extends AppConfigServiceException_1.AppConfigServiceException {
|
|
96
90
|
constructor(opts) {
|
|
97
91
|
super({
|
|
@@ -120,10 +114,9 @@ class ServiceQuotaExceededException extends AppConfigServiceException_1.AppConfi
|
|
|
120
114
|
}
|
|
121
115
|
}
|
|
122
116
|
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
})(BytesMeasure = exports.BytesMeasure || (exports.BytesMeasure = {}));
|
|
117
|
+
exports.BytesMeasure = {
|
|
118
|
+
KILOBYTES: "KILOBYTES",
|
|
119
|
+
};
|
|
127
120
|
class PayloadTooLargeException extends AppConfigServiceException_1.AppConfigServiceException {
|
|
128
121
|
constructor(opts) {
|
|
129
122
|
super({
|
|
@@ -141,31 +134,28 @@ class PayloadTooLargeException extends AppConfigServiceException_1.AppConfigServ
|
|
|
141
134
|
}
|
|
142
135
|
}
|
|
143
136
|
exports.PayloadTooLargeException = PayloadTooLargeException;
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
DeploymentState["ROLLING_BACK"] = "ROLLING_BACK";
|
|
167
|
-
DeploymentState["VALIDATING"] = "VALIDATING";
|
|
168
|
-
})(DeploymentState = exports.DeploymentState || (exports.DeploymentState = {}));
|
|
137
|
+
exports.DeploymentEventType = {
|
|
138
|
+
BAKE_TIME_STARTED: "BAKE_TIME_STARTED",
|
|
139
|
+
DEPLOYMENT_COMPLETED: "DEPLOYMENT_COMPLETED",
|
|
140
|
+
DEPLOYMENT_STARTED: "DEPLOYMENT_STARTED",
|
|
141
|
+
PERCENTAGE_UPDATED: "PERCENTAGE_UPDATED",
|
|
142
|
+
ROLLBACK_COMPLETED: "ROLLBACK_COMPLETED",
|
|
143
|
+
ROLLBACK_STARTED: "ROLLBACK_STARTED",
|
|
144
|
+
};
|
|
145
|
+
exports.TriggeredBy = {
|
|
146
|
+
APPCONFIG: "APPCONFIG",
|
|
147
|
+
CLOUDWATCH_ALARM: "CLOUDWATCH_ALARM",
|
|
148
|
+
INTERNAL_ERROR: "INTERNAL_ERROR",
|
|
149
|
+
USER: "USER",
|
|
150
|
+
};
|
|
151
|
+
exports.DeploymentState = {
|
|
152
|
+
BAKING: "BAKING",
|
|
153
|
+
COMPLETE: "COMPLETE",
|
|
154
|
+
DEPLOYING: "DEPLOYING",
|
|
155
|
+
ROLLED_BACK: "ROLLED_BACK",
|
|
156
|
+
ROLLING_BACK: "ROLLING_BACK",
|
|
157
|
+
VALIDATING: "VALIDATING",
|
|
158
|
+
};
|
|
169
159
|
const ValidatorFilterSensitiveLog = (obj) => ({
|
|
170
160
|
...obj,
|
|
171
161
|
...(obj.Content && { Content: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { AppConfigServiceException as __BaseException } from "./AppConfigServiceException";
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
})(ActionPoint || (ActionPoint = {}));
|
|
3
|
+
export const ActionPoint = {
|
|
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
|
+
};
|
|
13
12
|
export var BadRequestDetails;
|
|
14
13
|
(function (BadRequestDetails) {
|
|
15
14
|
BadRequestDetails.visit = (value, visitor) => {
|
|
@@ -18,10 +17,9 @@ export var BadRequestDetails;
|
|
|
18
17
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
19
18
|
};
|
|
20
19
|
})(BadRequestDetails || (BadRequestDetails = {}));
|
|
21
|
-
export
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
})(BadRequestReason || (BadRequestReason = {}));
|
|
20
|
+
export const BadRequestReason = {
|
|
21
|
+
INVALID_CONFIGURATION: "InvalidConfiguration",
|
|
22
|
+
};
|
|
25
23
|
export class BadRequestException extends __BaseException {
|
|
26
24
|
constructor(opts) {
|
|
27
25
|
super({
|
|
@@ -50,11 +48,10 @@ export class InternalServerException extends __BaseException {
|
|
|
50
48
|
this.Message = opts.Message;
|
|
51
49
|
}
|
|
52
50
|
}
|
|
53
|
-
export
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
})(ValidatorType || (ValidatorType = {}));
|
|
51
|
+
export const ValidatorType = {
|
|
52
|
+
JSON_SCHEMA: "JSON_SCHEMA",
|
|
53
|
+
LAMBDA: "LAMBDA",
|
|
54
|
+
};
|
|
58
55
|
export class ResourceNotFoundException extends __BaseException {
|
|
59
56
|
constructor(opts) {
|
|
60
57
|
super({
|
|
@@ -69,23 +66,20 @@ export class ResourceNotFoundException extends __BaseException {
|
|
|
69
66
|
this.ResourceName = opts.ResourceName;
|
|
70
67
|
}
|
|
71
68
|
}
|
|
72
|
-
export
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
EnvironmentState["ROLLED_BACK"] = "ROLLED_BACK";
|
|
87
|
-
EnvironmentState["ROLLING_BACK"] = "ROLLING_BACK";
|
|
88
|
-
})(EnvironmentState || (EnvironmentState = {}));
|
|
69
|
+
export const GrowthType = {
|
|
70
|
+
EXPONENTIAL: "EXPONENTIAL",
|
|
71
|
+
LINEAR: "LINEAR",
|
|
72
|
+
};
|
|
73
|
+
export const ReplicateTo = {
|
|
74
|
+
NONE: "NONE",
|
|
75
|
+
SSM_DOCUMENT: "SSM_DOCUMENT",
|
|
76
|
+
};
|
|
77
|
+
export const EnvironmentState = {
|
|
78
|
+
DEPLOYING: "DEPLOYING",
|
|
79
|
+
READY_FOR_DEPLOYMENT: "READY_FOR_DEPLOYMENT",
|
|
80
|
+
ROLLED_BACK: "ROLLED_BACK",
|
|
81
|
+
ROLLING_BACK: "ROLLING_BACK",
|
|
82
|
+
};
|
|
89
83
|
export class ConflictException extends __BaseException {
|
|
90
84
|
constructor(opts) {
|
|
91
85
|
super({
|
|
@@ -112,10 +106,9 @@ export class ServiceQuotaExceededException extends __BaseException {
|
|
|
112
106
|
this.Message = opts.Message;
|
|
113
107
|
}
|
|
114
108
|
}
|
|
115
|
-
export
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
})(BytesMeasure || (BytesMeasure = {}));
|
|
109
|
+
export const BytesMeasure = {
|
|
110
|
+
KILOBYTES: "KILOBYTES",
|
|
111
|
+
};
|
|
119
112
|
export class PayloadTooLargeException extends __BaseException {
|
|
120
113
|
constructor(opts) {
|
|
121
114
|
super({
|
|
@@ -132,31 +125,28 @@ export class PayloadTooLargeException extends __BaseException {
|
|
|
132
125
|
this.Size = opts.Size;
|
|
133
126
|
}
|
|
134
127
|
}
|
|
135
|
-
export
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
DeploymentState["ROLLING_BACK"] = "ROLLING_BACK";
|
|
158
|
-
DeploymentState["VALIDATING"] = "VALIDATING";
|
|
159
|
-
})(DeploymentState || (DeploymentState = {}));
|
|
128
|
+
export const DeploymentEventType = {
|
|
129
|
+
BAKE_TIME_STARTED: "BAKE_TIME_STARTED",
|
|
130
|
+
DEPLOYMENT_COMPLETED: "DEPLOYMENT_COMPLETED",
|
|
131
|
+
DEPLOYMENT_STARTED: "DEPLOYMENT_STARTED",
|
|
132
|
+
PERCENTAGE_UPDATED: "PERCENTAGE_UPDATED",
|
|
133
|
+
ROLLBACK_COMPLETED: "ROLLBACK_COMPLETED",
|
|
134
|
+
ROLLBACK_STARTED: "ROLLBACK_STARTED",
|
|
135
|
+
};
|
|
136
|
+
export const TriggeredBy = {
|
|
137
|
+
APPCONFIG: "APPCONFIG",
|
|
138
|
+
CLOUDWATCH_ALARM: "CLOUDWATCH_ALARM",
|
|
139
|
+
INTERNAL_ERROR: "INTERNAL_ERROR",
|
|
140
|
+
USER: "USER",
|
|
141
|
+
};
|
|
142
|
+
export const DeploymentState = {
|
|
143
|
+
BAKING: "BAKING",
|
|
144
|
+
COMPLETE: "COMPLETE",
|
|
145
|
+
DEPLOYING: "DEPLOYING",
|
|
146
|
+
ROLLED_BACK: "ROLLED_BACK",
|
|
147
|
+
ROLLING_BACK: "ROLLING_BACK",
|
|
148
|
+
VALIDATING: "VALIDATING",
|
|
149
|
+
};
|
|
160
150
|
export const ValidatorFilterSensitiveLog = (obj) => ({
|
|
161
151
|
...obj,
|
|
162
152
|
...(obj.Content && { Content: SENSITIVE_STRING }),
|
|
@@ -104,16 +104,21 @@ export interface ActionInvocation {
|
|
|
104
104
|
}
|
|
105
105
|
/**
|
|
106
106
|
* @public
|
|
107
|
+
* @enum
|
|
107
108
|
*/
|
|
108
|
-
export declare
|
|
109
|
-
ON_DEPLOYMENT_BAKING
|
|
110
|
-
ON_DEPLOYMENT_COMPLETE
|
|
111
|
-
ON_DEPLOYMENT_ROLLED_BACK
|
|
112
|
-
ON_DEPLOYMENT_START
|
|
113
|
-
ON_DEPLOYMENT_STEP
|
|
114
|
-
PRE_CREATE_HOSTED_CONFIGURATION_VERSION
|
|
115
|
-
PRE_START_DEPLOYMENT
|
|
116
|
-
}
|
|
109
|
+
export declare const ActionPoint: {
|
|
110
|
+
readonly ON_DEPLOYMENT_BAKING: "ON_DEPLOYMENT_BAKING";
|
|
111
|
+
readonly ON_DEPLOYMENT_COMPLETE: "ON_DEPLOYMENT_COMPLETE";
|
|
112
|
+
readonly ON_DEPLOYMENT_ROLLED_BACK: "ON_DEPLOYMENT_ROLLED_BACK";
|
|
113
|
+
readonly ON_DEPLOYMENT_START: "ON_DEPLOYMENT_START";
|
|
114
|
+
readonly ON_DEPLOYMENT_STEP: "ON_DEPLOYMENT_STEP";
|
|
115
|
+
readonly PRE_CREATE_HOSTED_CONFIGURATION_VERSION: "PRE_CREATE_HOSTED_CONFIGURATION_VERSION";
|
|
116
|
+
readonly PRE_START_DEPLOYMENT: "PRE_START_DEPLOYMENT";
|
|
117
|
+
};
|
|
118
|
+
/**
|
|
119
|
+
* @public
|
|
120
|
+
*/
|
|
121
|
+
export type ActionPoint = (typeof ActionPoint)[keyof typeof ActionPoint];
|
|
117
122
|
/**
|
|
118
123
|
* @public
|
|
119
124
|
*/
|
|
@@ -191,10 +196,15 @@ export declare namespace BadRequestDetails {
|
|
|
191
196
|
}
|
|
192
197
|
/**
|
|
193
198
|
* @public
|
|
199
|
+
* @enum
|
|
194
200
|
*/
|
|
195
|
-
export declare
|
|
196
|
-
INVALID_CONFIGURATION
|
|
197
|
-
}
|
|
201
|
+
export declare const BadRequestReason: {
|
|
202
|
+
readonly INVALID_CONFIGURATION: "InvalidConfiguration";
|
|
203
|
+
};
|
|
204
|
+
/**
|
|
205
|
+
* @public
|
|
206
|
+
*/
|
|
207
|
+
export type BadRequestReason = (typeof BadRequestReason)[keyof typeof BadRequestReason];
|
|
198
208
|
/**
|
|
199
209
|
* @public
|
|
200
210
|
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
@@ -247,11 +257,16 @@ export declare class InternalServerException extends __BaseException {
|
|
|
247
257
|
}
|
|
248
258
|
/**
|
|
249
259
|
* @public
|
|
260
|
+
* @enum
|
|
250
261
|
*/
|
|
251
|
-
export declare
|
|
252
|
-
JSON_SCHEMA
|
|
253
|
-
LAMBDA
|
|
254
|
-
}
|
|
262
|
+
export declare const ValidatorType: {
|
|
263
|
+
readonly JSON_SCHEMA: "JSON_SCHEMA";
|
|
264
|
+
readonly LAMBDA: "LAMBDA";
|
|
265
|
+
};
|
|
266
|
+
/**
|
|
267
|
+
* @public
|
|
268
|
+
*/
|
|
269
|
+
export type ValidatorType = (typeof ValidatorType)[keyof typeof ValidatorType];
|
|
255
270
|
/**
|
|
256
271
|
* @public
|
|
257
272
|
* <p>A validator provides a syntactic or semantic check to ensure the configuration that you
|
|
@@ -416,18 +431,28 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
416
431
|
}
|
|
417
432
|
/**
|
|
418
433
|
* @public
|
|
434
|
+
* @enum
|
|
419
435
|
*/
|
|
420
|
-
export declare
|
|
421
|
-
EXPONENTIAL
|
|
422
|
-
LINEAR
|
|
423
|
-
}
|
|
436
|
+
export declare const GrowthType: {
|
|
437
|
+
readonly EXPONENTIAL: "EXPONENTIAL";
|
|
438
|
+
readonly LINEAR: "LINEAR";
|
|
439
|
+
};
|
|
424
440
|
/**
|
|
425
441
|
* @public
|
|
426
442
|
*/
|
|
427
|
-
export
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
443
|
+
export type GrowthType = (typeof GrowthType)[keyof typeof GrowthType];
|
|
444
|
+
/**
|
|
445
|
+
* @public
|
|
446
|
+
* @enum
|
|
447
|
+
*/
|
|
448
|
+
export declare const ReplicateTo: {
|
|
449
|
+
readonly NONE: "NONE";
|
|
450
|
+
readonly SSM_DOCUMENT: "SSM_DOCUMENT";
|
|
451
|
+
};
|
|
452
|
+
/**
|
|
453
|
+
* @public
|
|
454
|
+
*/
|
|
455
|
+
export type ReplicateTo = (typeof ReplicateTo)[keyof typeof ReplicateTo];
|
|
431
456
|
/**
|
|
432
457
|
* @public
|
|
433
458
|
*/
|
|
@@ -583,13 +608,18 @@ export interface CreateEnvironmentRequest {
|
|
|
583
608
|
}
|
|
584
609
|
/**
|
|
585
610
|
* @public
|
|
611
|
+
* @enum
|
|
586
612
|
*/
|
|
587
|
-
export declare
|
|
588
|
-
DEPLOYING
|
|
589
|
-
READY_FOR_DEPLOYMENT
|
|
590
|
-
ROLLED_BACK
|
|
591
|
-
ROLLING_BACK
|
|
592
|
-
}
|
|
613
|
+
export declare const EnvironmentState: {
|
|
614
|
+
readonly DEPLOYING: "DEPLOYING";
|
|
615
|
+
readonly READY_FOR_DEPLOYMENT: "READY_FOR_DEPLOYMENT";
|
|
616
|
+
readonly ROLLED_BACK: "ROLLED_BACK";
|
|
617
|
+
readonly ROLLING_BACK: "ROLLING_BACK";
|
|
618
|
+
};
|
|
619
|
+
/**
|
|
620
|
+
* @public
|
|
621
|
+
*/
|
|
622
|
+
export type EnvironmentState = (typeof EnvironmentState)[keyof typeof EnvironmentState];
|
|
593
623
|
/**
|
|
594
624
|
* @public
|
|
595
625
|
*/
|
|
@@ -873,10 +903,15 @@ export interface HostedConfigurationVersion {
|
|
|
873
903
|
}
|
|
874
904
|
/**
|
|
875
905
|
* @public
|
|
906
|
+
* @enum
|
|
876
907
|
*/
|
|
877
|
-
export declare
|
|
878
|
-
KILOBYTES
|
|
879
|
-
}
|
|
908
|
+
export declare const BytesMeasure: {
|
|
909
|
+
readonly KILOBYTES: "KILOBYTES";
|
|
910
|
+
};
|
|
911
|
+
/**
|
|
912
|
+
* @public
|
|
913
|
+
*/
|
|
914
|
+
export type BytesMeasure = (typeof BytesMeasure)[keyof typeof BytesMeasure];
|
|
880
915
|
/**
|
|
881
916
|
* @public
|
|
882
917
|
* <p>The configuration size is too large.</p>
|
|
@@ -1097,24 +1132,34 @@ export interface AppliedExtension {
|
|
|
1097
1132
|
}
|
|
1098
1133
|
/**
|
|
1099
1134
|
* @public
|
|
1135
|
+
* @enum
|
|
1100
1136
|
*/
|
|
1101
|
-
export declare
|
|
1102
|
-
BAKE_TIME_STARTED
|
|
1103
|
-
DEPLOYMENT_COMPLETED
|
|
1104
|
-
DEPLOYMENT_STARTED
|
|
1105
|
-
PERCENTAGE_UPDATED
|
|
1106
|
-
ROLLBACK_COMPLETED
|
|
1107
|
-
ROLLBACK_STARTED
|
|
1108
|
-
}
|
|
1137
|
+
export declare const DeploymentEventType: {
|
|
1138
|
+
readonly BAKE_TIME_STARTED: "BAKE_TIME_STARTED";
|
|
1139
|
+
readonly DEPLOYMENT_COMPLETED: "DEPLOYMENT_COMPLETED";
|
|
1140
|
+
readonly DEPLOYMENT_STARTED: "DEPLOYMENT_STARTED";
|
|
1141
|
+
readonly PERCENTAGE_UPDATED: "PERCENTAGE_UPDATED";
|
|
1142
|
+
readonly ROLLBACK_COMPLETED: "ROLLBACK_COMPLETED";
|
|
1143
|
+
readonly ROLLBACK_STARTED: "ROLLBACK_STARTED";
|
|
1144
|
+
};
|
|
1109
1145
|
/**
|
|
1110
1146
|
* @public
|
|
1111
1147
|
*/
|
|
1112
|
-
export
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1148
|
+
export type DeploymentEventType = (typeof DeploymentEventType)[keyof typeof DeploymentEventType];
|
|
1149
|
+
/**
|
|
1150
|
+
* @public
|
|
1151
|
+
* @enum
|
|
1152
|
+
*/
|
|
1153
|
+
export declare const TriggeredBy: {
|
|
1154
|
+
readonly APPCONFIG: "APPCONFIG";
|
|
1155
|
+
readonly CLOUDWATCH_ALARM: "CLOUDWATCH_ALARM";
|
|
1156
|
+
readonly INTERNAL_ERROR: "INTERNAL_ERROR";
|
|
1157
|
+
readonly USER: "USER";
|
|
1158
|
+
};
|
|
1159
|
+
/**
|
|
1160
|
+
* @public
|
|
1161
|
+
*/
|
|
1162
|
+
export type TriggeredBy = (typeof TriggeredBy)[keyof typeof TriggeredBy];
|
|
1118
1163
|
/**
|
|
1119
1164
|
* @public
|
|
1120
1165
|
* <p>An object that describes a deployment event.</p>
|
|
@@ -1149,15 +1194,20 @@ export interface DeploymentEvent {
|
|
|
1149
1194
|
}
|
|
1150
1195
|
/**
|
|
1151
1196
|
* @public
|
|
1197
|
+
* @enum
|
|
1152
1198
|
*/
|
|
1153
|
-
export declare
|
|
1154
|
-
BAKING
|
|
1155
|
-
COMPLETE
|
|
1156
|
-
DEPLOYING
|
|
1157
|
-
ROLLED_BACK
|
|
1158
|
-
ROLLING_BACK
|
|
1159
|
-
VALIDATING
|
|
1160
|
-
}
|
|
1199
|
+
export declare const DeploymentState: {
|
|
1200
|
+
readonly BAKING: "BAKING";
|
|
1201
|
+
readonly COMPLETE: "COMPLETE";
|
|
1202
|
+
readonly DEPLOYING: "DEPLOYING";
|
|
1203
|
+
readonly ROLLED_BACK: "ROLLED_BACK";
|
|
1204
|
+
readonly ROLLING_BACK: "ROLLING_BACK";
|
|
1205
|
+
readonly VALIDATING: "VALIDATING";
|
|
1206
|
+
};
|
|
1207
|
+
/**
|
|
1208
|
+
* @public
|
|
1209
|
+
*/
|
|
1210
|
+
export type DeploymentState = (typeof DeploymentState)[keyof typeof DeploymentState];
|
|
1161
1211
|
/**
|
|
1162
1212
|
* @public
|
|
1163
1213
|
*/
|
|
@@ -15,15 +15,16 @@ export interface ActionInvocation {
|
|
|
15
15
|
ErrorCode?: string;
|
|
16
16
|
InvocationId?: string;
|
|
17
17
|
}
|
|
18
|
-
export declare
|
|
19
|
-
ON_DEPLOYMENT_BAKING
|
|
20
|
-
ON_DEPLOYMENT_COMPLETE
|
|
21
|
-
ON_DEPLOYMENT_ROLLED_BACK
|
|
22
|
-
ON_DEPLOYMENT_START
|
|
23
|
-
ON_DEPLOYMENT_STEP
|
|
24
|
-
PRE_CREATE_HOSTED_CONFIGURATION_VERSION
|
|
25
|
-
PRE_START_DEPLOYMENT
|
|
26
|
-
}
|
|
18
|
+
export declare const ActionPoint: {
|
|
19
|
+
readonly ON_DEPLOYMENT_BAKING: "ON_DEPLOYMENT_BAKING";
|
|
20
|
+
readonly ON_DEPLOYMENT_COMPLETE: "ON_DEPLOYMENT_COMPLETE";
|
|
21
|
+
readonly ON_DEPLOYMENT_ROLLED_BACK: "ON_DEPLOYMENT_ROLLED_BACK";
|
|
22
|
+
readonly ON_DEPLOYMENT_START: "ON_DEPLOYMENT_START";
|
|
23
|
+
readonly ON_DEPLOYMENT_STEP: "ON_DEPLOYMENT_STEP";
|
|
24
|
+
readonly PRE_CREATE_HOSTED_CONFIGURATION_VERSION: "PRE_CREATE_HOSTED_CONFIGURATION_VERSION";
|
|
25
|
+
readonly PRE_START_DEPLOYMENT: "PRE_START_DEPLOYMENT";
|
|
26
|
+
};
|
|
27
|
+
export type ActionPoint = (typeof ActionPoint)[keyof typeof ActionPoint];
|
|
27
28
|
export interface Application {
|
|
28
29
|
Id?: string;
|
|
29
30
|
Name?: string;
|
|
@@ -54,9 +55,11 @@ export declare namespace BadRequestDetails {
|
|
|
54
55
|
}
|
|
55
56
|
const visit: <T>(value: BadRequestDetails, visitor: Visitor<T>) => T;
|
|
56
57
|
}
|
|
57
|
-
export declare
|
|
58
|
-
INVALID_CONFIGURATION
|
|
59
|
-
}
|
|
58
|
+
export declare const BadRequestReason: {
|
|
59
|
+
readonly INVALID_CONFIGURATION: "InvalidConfiguration";
|
|
60
|
+
};
|
|
61
|
+
export type BadRequestReason =
|
|
62
|
+
(typeof BadRequestReason)[keyof typeof BadRequestReason];
|
|
60
63
|
export declare class BadRequestException extends __BaseException {
|
|
61
64
|
readonly name: "BadRequestException";
|
|
62
65
|
readonly $fault: "client";
|
|
@@ -80,10 +83,11 @@ export declare class InternalServerException extends __BaseException {
|
|
|
80
83
|
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
81
84
|
);
|
|
82
85
|
}
|
|
83
|
-
export declare
|
|
84
|
-
JSON_SCHEMA
|
|
85
|
-
LAMBDA
|
|
86
|
-
}
|
|
86
|
+
export declare const ValidatorType: {
|
|
87
|
+
readonly JSON_SCHEMA: "JSON_SCHEMA";
|
|
88
|
+
readonly LAMBDA: "LAMBDA";
|
|
89
|
+
};
|
|
90
|
+
export type ValidatorType = (typeof ValidatorType)[keyof typeof ValidatorType];
|
|
87
91
|
export interface Validator {
|
|
88
92
|
Type: ValidatorType | string | undefined;
|
|
89
93
|
Content: string | undefined;
|
|
@@ -117,14 +121,16 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
117
121
|
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
118
122
|
);
|
|
119
123
|
}
|
|
120
|
-
export declare
|
|
121
|
-
EXPONENTIAL
|
|
122
|
-
LINEAR
|
|
123
|
-
}
|
|
124
|
-
export
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
124
|
+
export declare const GrowthType: {
|
|
125
|
+
readonly EXPONENTIAL: "EXPONENTIAL";
|
|
126
|
+
readonly LINEAR: "LINEAR";
|
|
127
|
+
};
|
|
128
|
+
export type GrowthType = (typeof GrowthType)[keyof typeof GrowthType];
|
|
129
|
+
export declare const ReplicateTo: {
|
|
130
|
+
readonly NONE: "NONE";
|
|
131
|
+
readonly SSM_DOCUMENT: "SSM_DOCUMENT";
|
|
132
|
+
};
|
|
133
|
+
export type ReplicateTo = (typeof ReplicateTo)[keyof typeof ReplicateTo];
|
|
128
134
|
export interface CreateDeploymentStrategyRequest {
|
|
129
135
|
Name: string | undefined;
|
|
130
136
|
Description?: string;
|
|
@@ -156,12 +162,14 @@ export interface CreateEnvironmentRequest {
|
|
|
156
162
|
Monitors?: Monitor[];
|
|
157
163
|
Tags?: Record<string, string>;
|
|
158
164
|
}
|
|
159
|
-
export declare
|
|
160
|
-
DEPLOYING
|
|
161
|
-
READY_FOR_DEPLOYMENT
|
|
162
|
-
ROLLED_BACK
|
|
163
|
-
ROLLING_BACK
|
|
164
|
-
}
|
|
165
|
+
export declare const EnvironmentState: {
|
|
166
|
+
readonly DEPLOYING: "DEPLOYING";
|
|
167
|
+
readonly READY_FOR_DEPLOYMENT: "READY_FOR_DEPLOYMENT";
|
|
168
|
+
readonly ROLLED_BACK: "ROLLED_BACK";
|
|
169
|
+
readonly ROLLING_BACK: "ROLLING_BACK";
|
|
170
|
+
};
|
|
171
|
+
export type EnvironmentState =
|
|
172
|
+
(typeof EnvironmentState)[keyof typeof EnvironmentState];
|
|
165
173
|
export interface Environment {
|
|
166
174
|
ApplicationId?: string;
|
|
167
175
|
Id?: string;
|
|
@@ -238,9 +246,10 @@ export interface HostedConfigurationVersion {
|
|
|
238
246
|
ContentType?: string;
|
|
239
247
|
VersionLabel?: string;
|
|
240
248
|
}
|
|
241
|
-
export declare
|
|
242
|
-
KILOBYTES
|
|
243
|
-
}
|
|
249
|
+
export declare const BytesMeasure: {
|
|
250
|
+
readonly KILOBYTES: "KILOBYTES";
|
|
251
|
+
};
|
|
252
|
+
export type BytesMeasure = (typeof BytesMeasure)[keyof typeof BytesMeasure];
|
|
244
253
|
export declare class PayloadTooLargeException extends __BaseException {
|
|
245
254
|
readonly name: "PayloadTooLargeException";
|
|
246
255
|
readonly $fault: "client";
|
|
@@ -303,20 +312,23 @@ export interface AppliedExtension {
|
|
|
303
312
|
VersionNumber?: number;
|
|
304
313
|
Parameters?: Record<string, string>;
|
|
305
314
|
}
|
|
306
|
-
export declare
|
|
307
|
-
BAKE_TIME_STARTED
|
|
308
|
-
DEPLOYMENT_COMPLETED
|
|
309
|
-
DEPLOYMENT_STARTED
|
|
310
|
-
PERCENTAGE_UPDATED
|
|
311
|
-
ROLLBACK_COMPLETED
|
|
312
|
-
ROLLBACK_STARTED
|
|
313
|
-
}
|
|
314
|
-
export
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
315
|
+
export declare const DeploymentEventType: {
|
|
316
|
+
readonly BAKE_TIME_STARTED: "BAKE_TIME_STARTED";
|
|
317
|
+
readonly DEPLOYMENT_COMPLETED: "DEPLOYMENT_COMPLETED";
|
|
318
|
+
readonly DEPLOYMENT_STARTED: "DEPLOYMENT_STARTED";
|
|
319
|
+
readonly PERCENTAGE_UPDATED: "PERCENTAGE_UPDATED";
|
|
320
|
+
readonly ROLLBACK_COMPLETED: "ROLLBACK_COMPLETED";
|
|
321
|
+
readonly ROLLBACK_STARTED: "ROLLBACK_STARTED";
|
|
322
|
+
};
|
|
323
|
+
export type DeploymentEventType =
|
|
324
|
+
(typeof DeploymentEventType)[keyof typeof DeploymentEventType];
|
|
325
|
+
export declare const TriggeredBy: {
|
|
326
|
+
readonly APPCONFIG: "APPCONFIG";
|
|
327
|
+
readonly CLOUDWATCH_ALARM: "CLOUDWATCH_ALARM";
|
|
328
|
+
readonly INTERNAL_ERROR: "INTERNAL_ERROR";
|
|
329
|
+
readonly USER: "USER";
|
|
330
|
+
};
|
|
331
|
+
export type TriggeredBy = (typeof TriggeredBy)[keyof typeof TriggeredBy];
|
|
320
332
|
export interface DeploymentEvent {
|
|
321
333
|
EventType?: DeploymentEventType | string;
|
|
322
334
|
TriggeredBy?: TriggeredBy | string;
|
|
@@ -324,14 +336,16 @@ export interface DeploymentEvent {
|
|
|
324
336
|
ActionInvocations?: ActionInvocation[];
|
|
325
337
|
OccurredAt?: Date;
|
|
326
338
|
}
|
|
327
|
-
export declare
|
|
328
|
-
BAKING
|
|
329
|
-
COMPLETE
|
|
330
|
-
DEPLOYING
|
|
331
|
-
ROLLED_BACK
|
|
332
|
-
ROLLING_BACK
|
|
333
|
-
VALIDATING
|
|
334
|
-
}
|
|
339
|
+
export declare const DeploymentState: {
|
|
340
|
+
readonly BAKING: "BAKING";
|
|
341
|
+
readonly COMPLETE: "COMPLETE";
|
|
342
|
+
readonly DEPLOYING: "DEPLOYING";
|
|
343
|
+
readonly ROLLED_BACK: "ROLLED_BACK";
|
|
344
|
+
readonly ROLLING_BACK: "ROLLING_BACK";
|
|
345
|
+
readonly VALIDATING: "VALIDATING";
|
|
346
|
+
};
|
|
347
|
+
export type DeploymentState =
|
|
348
|
+
(typeof DeploymentState)[keyof typeof DeploymentState];
|
|
335
349
|
export interface Deployment {
|
|
336
350
|
ApplicationId?: string;
|
|
337
351
|
EnvironmentId?: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-appconfig",
|
|
3
3
|
"description": "AWS SDK for JavaScript Appconfig Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.303.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,42 +21,42 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
46
|
-
"@aws-sdk/util-base64": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
55
|
-
"@aws-sdk/util-utf8": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.303.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.303.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.303.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.303.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.303.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.303.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.303.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.303.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.303.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.303.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.303.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.303.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.303.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.303.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.303.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.303.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.303.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.303.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.303.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.303.0",
|
|
44
|
+
"@aws-sdk/types": "3.303.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.303.0",
|
|
46
|
+
"@aws-sdk/util-base64": "3.303.0",
|
|
47
|
+
"@aws-sdk/util-body-length-browser": "3.303.0",
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.303.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.303.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.303.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.303.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.303.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.303.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.303.0",
|
|
55
|
+
"@aws-sdk/util-utf8": "3.303.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
59
|
+
"@aws-sdk/service-client-documentation-generator": "3.303.0",
|
|
60
60
|
"@tsconfig/node14": "1.0.3",
|
|
61
61
|
"@types/node": "^14.14.31",
|
|
62
62
|
"concurrently": "7.0.0",
|