@aws-sdk/client-appconfig 3.300.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.
Files changed (48) hide show
  1. package/dist-cjs/models/models_0.js +55 -65
  2. package/dist-es/models/models_0.js +55 -65
  3. package/dist-types/commands/CreateApplicationCommand.d.ts +2 -2
  4. package/dist-types/commands/CreateConfigurationProfileCommand.d.ts +4 -4
  5. package/dist-types/commands/CreateDeploymentStrategyCommand.d.ts +2 -2
  6. package/dist-types/commands/CreateEnvironmentCommand.d.ts +4 -4
  7. package/dist-types/commands/CreateExtensionAssociationCommand.d.ts +3 -3
  8. package/dist-types/commands/CreateExtensionCommand.d.ts +7 -7
  9. package/dist-types/commands/CreateHostedConfigurationVersionCommand.d.ts +1 -1
  10. package/dist-types/commands/DeleteApplicationCommand.d.ts +1 -1
  11. package/dist-types/commands/DeleteConfigurationProfileCommand.d.ts +1 -1
  12. package/dist-types/commands/DeleteDeploymentStrategyCommand.d.ts +1 -1
  13. package/dist-types/commands/DeleteEnvironmentCommand.d.ts +1 -1
  14. package/dist-types/commands/DeleteExtensionAssociationCommand.d.ts +1 -1
  15. package/dist-types/commands/DeleteExtensionCommand.d.ts +1 -1
  16. package/dist-types/commands/DeleteHostedConfigurationVersionCommand.d.ts +1 -1
  17. package/dist-types/commands/GetApplicationCommand.d.ts +1 -1
  18. package/dist-types/commands/GetConfigurationCommand.d.ts +1 -1
  19. package/dist-types/commands/GetConfigurationProfileCommand.d.ts +1 -1
  20. package/dist-types/commands/GetDeploymentCommand.d.ts +1 -1
  21. package/dist-types/commands/GetDeploymentStrategyCommand.d.ts +1 -1
  22. package/dist-types/commands/GetEnvironmentCommand.d.ts +1 -1
  23. package/dist-types/commands/GetExtensionAssociationCommand.d.ts +1 -1
  24. package/dist-types/commands/GetExtensionCommand.d.ts +1 -1
  25. package/dist-types/commands/GetHostedConfigurationVersionCommand.d.ts +1 -1
  26. package/dist-types/commands/ListApplicationsCommand.d.ts +1 -1
  27. package/dist-types/commands/ListConfigurationProfilesCommand.d.ts +1 -1
  28. package/dist-types/commands/ListDeploymentStrategiesCommand.d.ts +1 -1
  29. package/dist-types/commands/ListDeploymentsCommand.d.ts +1 -1
  30. package/dist-types/commands/ListEnvironmentsCommand.d.ts +1 -1
  31. package/dist-types/commands/ListExtensionAssociationsCommand.d.ts +1 -1
  32. package/dist-types/commands/ListExtensionsCommand.d.ts +1 -1
  33. package/dist-types/commands/ListHostedConfigurationVersionsCommand.d.ts +1 -1
  34. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  35. package/dist-types/commands/StartDeploymentCommand.d.ts +2 -2
  36. package/dist-types/commands/StopDeploymentCommand.d.ts +1 -1
  37. package/dist-types/commands/TagResourceCommand.d.ts +2 -2
  38. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  39. package/dist-types/commands/UpdateApplicationCommand.d.ts +1 -1
  40. package/dist-types/commands/UpdateConfigurationProfileCommand.d.ts +3 -3
  41. package/dist-types/commands/UpdateDeploymentStrategyCommand.d.ts +1 -1
  42. package/dist-types/commands/UpdateEnvironmentCommand.d.ts +3 -3
  43. package/dist-types/commands/UpdateExtensionAssociationCommand.d.ts +2 -2
  44. package/dist-types/commands/UpdateExtensionCommand.d.ts +6 -6
  45. package/dist-types/commands/ValidateConfigurationCommand.d.ts +1 -1
  46. package/dist-types/models/models_0.d.ts +105 -55
  47. package/dist-types/ts3.4/models/models_0.d.ts +69 -55
  48. package/package.json +34 -34
@@ -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.300.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.300.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.300.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",