@aws-sdk/client-appconfig 3.933.0 → 3.935.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 +12 -12
- 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
|
@@ -1,5 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import {
|
|
2
|
+
ActionPoint,
|
|
3
|
+
DeletionProtectionCheck,
|
|
4
|
+
DeploymentEventType,
|
|
5
|
+
DeploymentState,
|
|
6
|
+
EnvironmentState,
|
|
7
|
+
GrowthType,
|
|
8
|
+
ReplicateTo,
|
|
9
|
+
TriggeredBy,
|
|
10
|
+
ValidatorType,
|
|
11
|
+
} from "./enums";
|
|
3
12
|
export interface DeletionProtectionSettings {
|
|
4
13
|
Enabled?: boolean | undefined;
|
|
5
14
|
ProtectionPeriodInMinutes?: number | undefined;
|
|
@@ -22,17 +31,6 @@ export interface ActionInvocation {
|
|
|
22
31
|
ErrorCode?: string | undefined;
|
|
23
32
|
InvocationId?: string | undefined;
|
|
24
33
|
}
|
|
25
|
-
export declare const ActionPoint: {
|
|
26
|
-
readonly AT_DEPLOYMENT_TICK: "AT_DEPLOYMENT_TICK";
|
|
27
|
-
readonly ON_DEPLOYMENT_BAKING: "ON_DEPLOYMENT_BAKING";
|
|
28
|
-
readonly ON_DEPLOYMENT_COMPLETE: "ON_DEPLOYMENT_COMPLETE";
|
|
29
|
-
readonly ON_DEPLOYMENT_ROLLED_BACK: "ON_DEPLOYMENT_ROLLED_BACK";
|
|
30
|
-
readonly ON_DEPLOYMENT_START: "ON_DEPLOYMENT_START";
|
|
31
|
-
readonly ON_DEPLOYMENT_STEP: "ON_DEPLOYMENT_STEP";
|
|
32
|
-
readonly PRE_CREATE_HOSTED_CONFIGURATION_VERSION: "PRE_CREATE_HOSTED_CONFIGURATION_VERSION";
|
|
33
|
-
readonly PRE_START_DEPLOYMENT: "PRE_START_DEPLOYMENT";
|
|
34
|
-
};
|
|
35
|
-
export type ActionPoint = (typeof ActionPoint)[keyof typeof ActionPoint];
|
|
36
34
|
export interface Application {
|
|
37
35
|
Id?: string | undefined;
|
|
38
36
|
Name?: string | undefined;
|
|
@@ -62,47 +60,11 @@ export declare namespace BadRequestDetails {
|
|
|
62
60
|
_: (name: string, value: any) => T;
|
|
63
61
|
}
|
|
64
62
|
}
|
|
65
|
-
export declare const BadRequestReason: {
|
|
66
|
-
readonly INVALID_CONFIGURATION: "InvalidConfiguration";
|
|
67
|
-
};
|
|
68
|
-
export type BadRequestReason =
|
|
69
|
-
(typeof BadRequestReason)[keyof typeof BadRequestReason];
|
|
70
|
-
export declare class BadRequestException extends __BaseException {
|
|
71
|
-
readonly name: "BadRequestException";
|
|
72
|
-
readonly $fault: "client";
|
|
73
|
-
Message?: string | undefined;
|
|
74
|
-
Reason?: BadRequestReason | undefined;
|
|
75
|
-
Details?: BadRequestDetails | undefined;
|
|
76
|
-
constructor(
|
|
77
|
-
opts: __ExceptionOptionType<BadRequestException, __BaseException>
|
|
78
|
-
);
|
|
79
|
-
}
|
|
80
63
|
export interface CreateApplicationRequest {
|
|
81
64
|
Name: string | undefined;
|
|
82
65
|
Description?: string | undefined;
|
|
83
66
|
Tags?: Record<string, string> | undefined;
|
|
84
67
|
}
|
|
85
|
-
export declare class InternalServerException extends __BaseException {
|
|
86
|
-
readonly name: "InternalServerException";
|
|
87
|
-
readonly $fault: "server";
|
|
88
|
-
Message?: string | undefined;
|
|
89
|
-
constructor(
|
|
90
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
91
|
-
);
|
|
92
|
-
}
|
|
93
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
94
|
-
readonly name: "ServiceQuotaExceededException";
|
|
95
|
-
readonly $fault: "client";
|
|
96
|
-
Message?: string | undefined;
|
|
97
|
-
constructor(
|
|
98
|
-
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
99
|
-
);
|
|
100
|
-
}
|
|
101
|
-
export declare const ValidatorType: {
|
|
102
|
-
readonly JSON_SCHEMA: "JSON_SCHEMA";
|
|
103
|
-
readonly LAMBDA: "LAMBDA";
|
|
104
|
-
};
|
|
105
|
-
export type ValidatorType = (typeof ValidatorType)[keyof typeof ValidatorType];
|
|
106
68
|
export interface Validator {
|
|
107
69
|
Type: ValidatorType | undefined;
|
|
108
70
|
Content: string | undefined;
|
|
@@ -130,25 +92,6 @@ export interface CreateConfigurationProfileRequest {
|
|
|
130
92
|
Type?: string | undefined;
|
|
131
93
|
KmsKeyIdentifier?: string | undefined;
|
|
132
94
|
}
|
|
133
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
134
|
-
readonly name: "ResourceNotFoundException";
|
|
135
|
-
readonly $fault: "client";
|
|
136
|
-
Message?: string | undefined;
|
|
137
|
-
ResourceName?: string | undefined;
|
|
138
|
-
constructor(
|
|
139
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
140
|
-
);
|
|
141
|
-
}
|
|
142
|
-
export declare const GrowthType: {
|
|
143
|
-
readonly EXPONENTIAL: "EXPONENTIAL";
|
|
144
|
-
readonly LINEAR: "LINEAR";
|
|
145
|
-
};
|
|
146
|
-
export type GrowthType = (typeof GrowthType)[keyof typeof GrowthType];
|
|
147
|
-
export declare const ReplicateTo: {
|
|
148
|
-
readonly NONE: "NONE";
|
|
149
|
-
readonly SSM_DOCUMENT: "SSM_DOCUMENT";
|
|
150
|
-
};
|
|
151
|
-
export type ReplicateTo = (typeof ReplicateTo)[keyof typeof ReplicateTo];
|
|
152
95
|
export interface CreateDeploymentStrategyRequest {
|
|
153
96
|
Name: string | undefined;
|
|
154
97
|
Description?: string | undefined;
|
|
@@ -180,15 +123,6 @@ export interface CreateEnvironmentRequest {
|
|
|
180
123
|
Monitors?: Monitor[] | undefined;
|
|
181
124
|
Tags?: Record<string, string> | undefined;
|
|
182
125
|
}
|
|
183
|
-
export declare const EnvironmentState: {
|
|
184
|
-
readonly DEPLOYING: "DEPLOYING";
|
|
185
|
-
readonly READY_FOR_DEPLOYMENT: "READY_FOR_DEPLOYMENT";
|
|
186
|
-
readonly REVERTED: "REVERTED";
|
|
187
|
-
readonly ROLLED_BACK: "ROLLED_BACK";
|
|
188
|
-
readonly ROLLING_BACK: "ROLLING_BACK";
|
|
189
|
-
};
|
|
190
|
-
export type EnvironmentState =
|
|
191
|
-
(typeof EnvironmentState)[keyof typeof EnvironmentState];
|
|
192
126
|
export interface Environment {
|
|
193
127
|
ApplicationId?: string | undefined;
|
|
194
128
|
Id?: string | undefined;
|
|
@@ -197,12 +131,6 @@ export interface Environment {
|
|
|
197
131
|
State?: EnvironmentState | undefined;
|
|
198
132
|
Monitors?: Monitor[] | undefined;
|
|
199
133
|
}
|
|
200
|
-
export declare class ConflictException extends __BaseException {
|
|
201
|
-
readonly name: "ConflictException";
|
|
202
|
-
readonly $fault: "client";
|
|
203
|
-
Message?: string | undefined;
|
|
204
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
205
|
-
}
|
|
206
134
|
export interface Parameter {
|
|
207
135
|
Description?: string | undefined;
|
|
208
136
|
Required?: boolean | undefined;
|
|
@@ -259,31 +187,9 @@ export interface HostedConfigurationVersion {
|
|
|
259
187
|
VersionLabel?: string | undefined;
|
|
260
188
|
KmsKeyArn?: string | undefined;
|
|
261
189
|
}
|
|
262
|
-
export declare const BytesMeasure: {
|
|
263
|
-
readonly KILOBYTES: "KILOBYTES";
|
|
264
|
-
};
|
|
265
|
-
export type BytesMeasure = (typeof BytesMeasure)[keyof typeof BytesMeasure];
|
|
266
|
-
export declare class PayloadTooLargeException extends __BaseException {
|
|
267
|
-
readonly name: "PayloadTooLargeException";
|
|
268
|
-
readonly $fault: "client";
|
|
269
|
-
Message?: string | undefined;
|
|
270
|
-
Measure?: BytesMeasure | undefined;
|
|
271
|
-
Limit?: number | undefined;
|
|
272
|
-
Size?: number | undefined;
|
|
273
|
-
constructor(
|
|
274
|
-
opts: __ExceptionOptionType<PayloadTooLargeException, __BaseException>
|
|
275
|
-
);
|
|
276
|
-
}
|
|
277
190
|
export interface DeleteApplicationRequest {
|
|
278
191
|
ApplicationId: string | undefined;
|
|
279
192
|
}
|
|
280
|
-
export declare const DeletionProtectionCheck: {
|
|
281
|
-
readonly ACCOUNT_DEFAULT: "ACCOUNT_DEFAULT";
|
|
282
|
-
readonly APPLY: "APPLY";
|
|
283
|
-
readonly BYPASS: "BYPASS";
|
|
284
|
-
};
|
|
285
|
-
export type DeletionProtectionCheck =
|
|
286
|
-
(typeof DeletionProtectionCheck)[keyof typeof DeletionProtectionCheck];
|
|
287
193
|
export interface DeleteConfigurationProfileRequest {
|
|
288
194
|
ApplicationId: string | undefined;
|
|
289
195
|
ConfigurationProfileId: string | undefined;
|
|
@@ -334,24 +240,6 @@ export interface AppliedExtension {
|
|
|
334
240
|
VersionNumber?: number | undefined;
|
|
335
241
|
Parameters?: Record<string, string> | undefined;
|
|
336
242
|
}
|
|
337
|
-
export declare const DeploymentEventType: {
|
|
338
|
-
readonly BAKE_TIME_STARTED: "BAKE_TIME_STARTED";
|
|
339
|
-
readonly DEPLOYMENT_COMPLETED: "DEPLOYMENT_COMPLETED";
|
|
340
|
-
readonly DEPLOYMENT_STARTED: "DEPLOYMENT_STARTED";
|
|
341
|
-
readonly PERCENTAGE_UPDATED: "PERCENTAGE_UPDATED";
|
|
342
|
-
readonly REVERT_COMPLETED: "REVERT_COMPLETED";
|
|
343
|
-
readonly ROLLBACK_COMPLETED: "ROLLBACK_COMPLETED";
|
|
344
|
-
readonly ROLLBACK_STARTED: "ROLLBACK_STARTED";
|
|
345
|
-
};
|
|
346
|
-
export type DeploymentEventType =
|
|
347
|
-
(typeof DeploymentEventType)[keyof typeof DeploymentEventType];
|
|
348
|
-
export declare const TriggeredBy: {
|
|
349
|
-
readonly APPCONFIG: "APPCONFIG";
|
|
350
|
-
readonly CLOUDWATCH_ALARM: "CLOUDWATCH_ALARM";
|
|
351
|
-
readonly INTERNAL_ERROR: "INTERNAL_ERROR";
|
|
352
|
-
readonly USER: "USER";
|
|
353
|
-
};
|
|
354
|
-
export type TriggeredBy = (typeof TriggeredBy)[keyof typeof TriggeredBy];
|
|
355
243
|
export interface DeploymentEvent {
|
|
356
244
|
EventType?: DeploymentEventType | undefined;
|
|
357
245
|
TriggeredBy?: TriggeredBy | undefined;
|
|
@@ -359,17 +247,6 @@ export interface DeploymentEvent {
|
|
|
359
247
|
ActionInvocations?: ActionInvocation[] | undefined;
|
|
360
248
|
OccurredAt?: Date | undefined;
|
|
361
249
|
}
|
|
362
|
-
export declare const DeploymentState: {
|
|
363
|
-
readonly BAKING: "BAKING";
|
|
364
|
-
readonly COMPLETE: "COMPLETE";
|
|
365
|
-
readonly DEPLOYING: "DEPLOYING";
|
|
366
|
-
readonly REVERTED: "REVERTED";
|
|
367
|
-
readonly ROLLED_BACK: "ROLLED_BACK";
|
|
368
|
-
readonly ROLLING_BACK: "ROLLING_BACK";
|
|
369
|
-
readonly VALIDATING: "VALIDATING";
|
|
370
|
-
};
|
|
371
|
-
export type DeploymentState =
|
|
372
|
-
(typeof DeploymentState)[keyof typeof DeploymentState];
|
|
373
250
|
export interface Deployment {
|
|
374
251
|
ApplicationId?: string | undefined;
|
|
375
252
|
EnvironmentId?: string | undefined;
|
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.935.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-appconfig",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.935.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.935.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.930.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.930.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.933.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.935.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.930.0",
|
|
30
30
|
"@aws-sdk/types": "3.930.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.930.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.930.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.935.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
35
|
+
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
37
|
"@smithy/hash-node": "^4.2.5",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
43
43
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
44
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
45
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
46
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
47
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
48
48
|
"@smithy/types": "^4.9.0",
|
|
49
49
|
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
55
55
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
56
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
57
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|