@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.
@@ -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
- var ActionPoint;
7
- (function (ActionPoint) {
8
- ActionPoint["ON_DEPLOYMENT_BAKING"] = "ON_DEPLOYMENT_BAKING";
9
- ActionPoint["ON_DEPLOYMENT_COMPLETE"] = "ON_DEPLOYMENT_COMPLETE";
10
- ActionPoint["ON_DEPLOYMENT_ROLLED_BACK"] = "ON_DEPLOYMENT_ROLLED_BACK";
11
- ActionPoint["ON_DEPLOYMENT_START"] = "ON_DEPLOYMENT_START";
12
- ActionPoint["ON_DEPLOYMENT_STEP"] = "ON_DEPLOYMENT_STEP";
13
- ActionPoint["PRE_CREATE_HOSTED_CONFIGURATION_VERSION"] = "PRE_CREATE_HOSTED_CONFIGURATION_VERSION";
14
- ActionPoint["PRE_START_DEPLOYMENT"] = "PRE_START_DEPLOYMENT";
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
- var BadRequestReason;
25
- (function (BadRequestReason) {
26
- BadRequestReason["INVALID_CONFIGURATION"] = "InvalidConfiguration";
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
- var ValidatorType;
59
- (function (ValidatorType) {
60
- ValidatorType["JSON_SCHEMA"] = "JSON_SCHEMA";
61
- ValidatorType["LAMBDA"] = "LAMBDA";
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
- var GrowthType;
79
- (function (GrowthType) {
80
- GrowthType["EXPONENTIAL"] = "EXPONENTIAL";
81
- GrowthType["LINEAR"] = "LINEAR";
82
- })(GrowthType = exports.GrowthType || (exports.GrowthType = {}));
83
- var ReplicateTo;
84
- (function (ReplicateTo) {
85
- ReplicateTo["NONE"] = "NONE";
86
- ReplicateTo["SSM_DOCUMENT"] = "SSM_DOCUMENT";
87
- })(ReplicateTo = exports.ReplicateTo || (exports.ReplicateTo = {}));
88
- var EnvironmentState;
89
- (function (EnvironmentState) {
90
- EnvironmentState["DEPLOYING"] = "DEPLOYING";
91
- EnvironmentState["READY_FOR_DEPLOYMENT"] = "READY_FOR_DEPLOYMENT";
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
- var BytesMeasure;
124
- (function (BytesMeasure) {
125
- BytesMeasure["KILOBYTES"] = "KILOBYTES";
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
- var DeploymentEventType;
145
- (function (DeploymentEventType) {
146
- DeploymentEventType["BAKE_TIME_STARTED"] = "BAKE_TIME_STARTED";
147
- DeploymentEventType["DEPLOYMENT_COMPLETED"] = "DEPLOYMENT_COMPLETED";
148
- DeploymentEventType["DEPLOYMENT_STARTED"] = "DEPLOYMENT_STARTED";
149
- DeploymentEventType["PERCENTAGE_UPDATED"] = "PERCENTAGE_UPDATED";
150
- DeploymentEventType["ROLLBACK_COMPLETED"] = "ROLLBACK_COMPLETED";
151
- DeploymentEventType["ROLLBACK_STARTED"] = "ROLLBACK_STARTED";
152
- })(DeploymentEventType = exports.DeploymentEventType || (exports.DeploymentEventType = {}));
153
- var TriggeredBy;
154
- (function (TriggeredBy) {
155
- TriggeredBy["APPCONFIG"] = "APPCONFIG";
156
- TriggeredBy["CLOUDWATCH_ALARM"] = "CLOUDWATCH_ALARM";
157
- TriggeredBy["INTERNAL_ERROR"] = "INTERNAL_ERROR";
158
- TriggeredBy["USER"] = "USER";
159
- })(TriggeredBy = exports.TriggeredBy || (exports.TriggeredBy = {}));
160
- var DeploymentState;
161
- (function (DeploymentState) {
162
- DeploymentState["BAKING"] = "BAKING";
163
- DeploymentState["COMPLETE"] = "COMPLETE";
164
- DeploymentState["DEPLOYING"] = "DEPLOYING";
165
- DeploymentState["ROLLED_BACK"] = "ROLLED_BACK";
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 var ActionPoint;
4
- (function (ActionPoint) {
5
- ActionPoint["ON_DEPLOYMENT_BAKING"] = "ON_DEPLOYMENT_BAKING";
6
- ActionPoint["ON_DEPLOYMENT_COMPLETE"] = "ON_DEPLOYMENT_COMPLETE";
7
- ActionPoint["ON_DEPLOYMENT_ROLLED_BACK"] = "ON_DEPLOYMENT_ROLLED_BACK";
8
- ActionPoint["ON_DEPLOYMENT_START"] = "ON_DEPLOYMENT_START";
9
- ActionPoint["ON_DEPLOYMENT_STEP"] = "ON_DEPLOYMENT_STEP";
10
- ActionPoint["PRE_CREATE_HOSTED_CONFIGURATION_VERSION"] = "PRE_CREATE_HOSTED_CONFIGURATION_VERSION";
11
- ActionPoint["PRE_START_DEPLOYMENT"] = "PRE_START_DEPLOYMENT";
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 var BadRequestReason;
22
- (function (BadRequestReason) {
23
- BadRequestReason["INVALID_CONFIGURATION"] = "InvalidConfiguration";
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 var ValidatorType;
54
- (function (ValidatorType) {
55
- ValidatorType["JSON_SCHEMA"] = "JSON_SCHEMA";
56
- ValidatorType["LAMBDA"] = "LAMBDA";
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 var GrowthType;
73
- (function (GrowthType) {
74
- GrowthType["EXPONENTIAL"] = "EXPONENTIAL";
75
- GrowthType["LINEAR"] = "LINEAR";
76
- })(GrowthType || (GrowthType = {}));
77
- export var ReplicateTo;
78
- (function (ReplicateTo) {
79
- ReplicateTo["NONE"] = "NONE";
80
- ReplicateTo["SSM_DOCUMENT"] = "SSM_DOCUMENT";
81
- })(ReplicateTo || (ReplicateTo = {}));
82
- export var EnvironmentState;
83
- (function (EnvironmentState) {
84
- EnvironmentState["DEPLOYING"] = "DEPLOYING";
85
- EnvironmentState["READY_FOR_DEPLOYMENT"] = "READY_FOR_DEPLOYMENT";
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 var BytesMeasure;
116
- (function (BytesMeasure) {
117
- BytesMeasure["KILOBYTES"] = "KILOBYTES";
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 var DeploymentEventType;
136
- (function (DeploymentEventType) {
137
- DeploymentEventType["BAKE_TIME_STARTED"] = "BAKE_TIME_STARTED";
138
- DeploymentEventType["DEPLOYMENT_COMPLETED"] = "DEPLOYMENT_COMPLETED";
139
- DeploymentEventType["DEPLOYMENT_STARTED"] = "DEPLOYMENT_STARTED";
140
- DeploymentEventType["PERCENTAGE_UPDATED"] = "PERCENTAGE_UPDATED";
141
- DeploymentEventType["ROLLBACK_COMPLETED"] = "ROLLBACK_COMPLETED";
142
- DeploymentEventType["ROLLBACK_STARTED"] = "ROLLBACK_STARTED";
143
- })(DeploymentEventType || (DeploymentEventType = {}));
144
- export var TriggeredBy;
145
- (function (TriggeredBy) {
146
- TriggeredBy["APPCONFIG"] = "APPCONFIG";
147
- TriggeredBy["CLOUDWATCH_ALARM"] = "CLOUDWATCH_ALARM";
148
- TriggeredBy["INTERNAL_ERROR"] = "INTERNAL_ERROR";
149
- TriggeredBy["USER"] = "USER";
150
- })(TriggeredBy || (TriggeredBy = {}));
151
- export var DeploymentState;
152
- (function (DeploymentState) {
153
- DeploymentState["BAKING"] = "BAKING";
154
- DeploymentState["COMPLETE"] = "COMPLETE";
155
- DeploymentState["DEPLOYING"] = "DEPLOYING";
156
- DeploymentState["ROLLED_BACK"] = "ROLLED_BACK";
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 enum ActionPoint {
109
- ON_DEPLOYMENT_BAKING = "ON_DEPLOYMENT_BAKING",
110
- ON_DEPLOYMENT_COMPLETE = "ON_DEPLOYMENT_COMPLETE",
111
- ON_DEPLOYMENT_ROLLED_BACK = "ON_DEPLOYMENT_ROLLED_BACK",
112
- ON_DEPLOYMENT_START = "ON_DEPLOYMENT_START",
113
- ON_DEPLOYMENT_STEP = "ON_DEPLOYMENT_STEP",
114
- PRE_CREATE_HOSTED_CONFIGURATION_VERSION = "PRE_CREATE_HOSTED_CONFIGURATION_VERSION",
115
- PRE_START_DEPLOYMENT = "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 enum BadRequestReason {
196
- INVALID_CONFIGURATION = "InvalidConfiguration"
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 enum ValidatorType {
252
- JSON_SCHEMA = "JSON_SCHEMA",
253
- LAMBDA = "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 enum GrowthType {
421
- EXPONENTIAL = "EXPONENTIAL",
422
- LINEAR = "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 declare enum ReplicateTo {
428
- NONE = "NONE",
429
- SSM_DOCUMENT = "SSM_DOCUMENT"
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 enum EnvironmentState {
588
- DEPLOYING = "DEPLOYING",
589
- READY_FOR_DEPLOYMENT = "READY_FOR_DEPLOYMENT",
590
- ROLLED_BACK = "ROLLED_BACK",
591
- ROLLING_BACK = "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 enum BytesMeasure {
878
- KILOBYTES = "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 enum DeploymentEventType {
1102
- BAKE_TIME_STARTED = "BAKE_TIME_STARTED",
1103
- DEPLOYMENT_COMPLETED = "DEPLOYMENT_COMPLETED",
1104
- DEPLOYMENT_STARTED = "DEPLOYMENT_STARTED",
1105
- PERCENTAGE_UPDATED = "PERCENTAGE_UPDATED",
1106
- ROLLBACK_COMPLETED = "ROLLBACK_COMPLETED",
1107
- ROLLBACK_STARTED = "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 declare enum TriggeredBy {
1113
- APPCONFIG = "APPCONFIG",
1114
- CLOUDWATCH_ALARM = "CLOUDWATCH_ALARM",
1115
- INTERNAL_ERROR = "INTERNAL_ERROR",
1116
- USER = "USER"
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 enum DeploymentState {
1154
- BAKING = "BAKING",
1155
- COMPLETE = "COMPLETE",
1156
- DEPLOYING = "DEPLOYING",
1157
- ROLLED_BACK = "ROLLED_BACK",
1158
- ROLLING_BACK = "ROLLING_BACK",
1159
- VALIDATING = "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 enum ActionPoint {
19
- ON_DEPLOYMENT_BAKING = "ON_DEPLOYMENT_BAKING",
20
- ON_DEPLOYMENT_COMPLETE = "ON_DEPLOYMENT_COMPLETE",
21
- ON_DEPLOYMENT_ROLLED_BACK = "ON_DEPLOYMENT_ROLLED_BACK",
22
- ON_DEPLOYMENT_START = "ON_DEPLOYMENT_START",
23
- ON_DEPLOYMENT_STEP = "ON_DEPLOYMENT_STEP",
24
- PRE_CREATE_HOSTED_CONFIGURATION_VERSION = "PRE_CREATE_HOSTED_CONFIGURATION_VERSION",
25
- PRE_START_DEPLOYMENT = "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 enum BadRequestReason {
58
- INVALID_CONFIGURATION = "InvalidConfiguration",
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 enum ValidatorType {
84
- JSON_SCHEMA = "JSON_SCHEMA",
85
- LAMBDA = "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 enum GrowthType {
121
- EXPONENTIAL = "EXPONENTIAL",
122
- LINEAR = "LINEAR",
123
- }
124
- export declare enum ReplicateTo {
125
- NONE = "NONE",
126
- SSM_DOCUMENT = "SSM_DOCUMENT",
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 enum EnvironmentState {
160
- DEPLOYING = "DEPLOYING",
161
- READY_FOR_DEPLOYMENT = "READY_FOR_DEPLOYMENT",
162
- ROLLED_BACK = "ROLLED_BACK",
163
- ROLLING_BACK = "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 enum BytesMeasure {
242
- KILOBYTES = "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 enum DeploymentEventType {
307
- BAKE_TIME_STARTED = "BAKE_TIME_STARTED",
308
- DEPLOYMENT_COMPLETED = "DEPLOYMENT_COMPLETED",
309
- DEPLOYMENT_STARTED = "DEPLOYMENT_STARTED",
310
- PERCENTAGE_UPDATED = "PERCENTAGE_UPDATED",
311
- ROLLBACK_COMPLETED = "ROLLBACK_COMPLETED",
312
- ROLLBACK_STARTED = "ROLLBACK_STARTED",
313
- }
314
- export declare enum TriggeredBy {
315
- APPCONFIG = "APPCONFIG",
316
- CLOUDWATCH_ALARM = "CLOUDWATCH_ALARM",
317
- INTERNAL_ERROR = "INTERNAL_ERROR",
318
- USER = "USER",
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 enum DeploymentState {
328
- BAKING = "BAKING",
329
- COMPLETE = "COMPLETE",
330
- DEPLOYING = "DEPLOYING",
331
- ROLLED_BACK = "ROLLED_BACK",
332
- ROLLING_BACK = "ROLLING_BACK",
333
- VALIDATING = "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.301.0",
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.301.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.301.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
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.295.0",
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",