@aws-sdk/client-appconfig 3.428.0 → 3.430.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.
@@ -236,7 +236,7 @@ export declare class BadRequestException extends __BaseException {
236
236
  readonly name: "BadRequestException";
237
237
  readonly $fault: "client";
238
238
  Message?: string;
239
- Reason?: BadRequestReason | string;
239
+ Reason?: BadRequestReason;
240
240
  /**
241
241
  * @public
242
242
  * <p>Detailed information about the input that failed to satisfy the constraints specified by
@@ -330,7 +330,7 @@ export interface Validator {
330
330
  * <code>LAMBDA</code>
331
331
  * </p>
332
332
  */
333
- Type: ValidatorType | string | undefined;
333
+ Type: ValidatorType | undefined;
334
334
  /**
335
335
  * @public
336
336
  * <p>Either the JSON Schema content or the Amazon Resource Name (ARN) of an Lambda
@@ -613,12 +613,12 @@ export interface CreateDeploymentStrategyRequest {
613
613
  * targets, 8% of the targets, and continues until the configuration has been deployed to all
614
614
  * targets.</p>
615
615
  */
616
- GrowthType?: GrowthType | string;
616
+ GrowthType?: GrowthType;
617
617
  /**
618
618
  * @public
619
619
  * <p>Save the deployment strategy to a Systems Manager (SSM) document.</p>
620
620
  */
621
- ReplicateTo?: ReplicateTo | string;
621
+ ReplicateTo?: ReplicateTo;
622
622
  /**
623
623
  * @public
624
624
  * <p>Metadata to assign to the deployment strategy. Tags help organize and categorize your
@@ -655,7 +655,7 @@ export interface DeploymentStrategy {
655
655
  * @public
656
656
  * <p>The algorithm used to define how percentage grew over time.</p>
657
657
  */
658
- GrowthType?: GrowthType | string;
658
+ GrowthType?: GrowthType;
659
659
  /**
660
660
  * @public
661
661
  * <p>The percentage of targets that received a deployed configuration during each
@@ -672,7 +672,7 @@ export interface DeploymentStrategy {
672
672
  * @public
673
673
  * <p>Save the deployment strategy to a Systems Manager (SSM) document.</p>
674
674
  */
675
- ReplicateTo?: ReplicateTo | string;
675
+ ReplicateTo?: ReplicateTo;
676
676
  }
677
677
  /**
678
678
  * @public
@@ -767,7 +767,7 @@ export interface Environment {
767
767
  * <code>ROLLED_BACK</code>
768
768
  * </p>
769
769
  */
770
- State?: EnvironmentState | string;
770
+ State?: EnvironmentState;
771
771
  /**
772
772
  * @public
773
773
  * <p>Amazon CloudWatch alarms monitored during the deployment.</p>
@@ -827,7 +827,7 @@ export interface CreateExtensionRequest {
827
827
  * @public
828
828
  * <p>The actions defined in the extension.</p>
829
829
  */
830
- Actions: Record<string, Action[]> | undefined;
830
+ Actions: Record<ActionPoint, Action[]> | undefined;
831
831
  /**
832
832
  * @public
833
833
  * <p>The parameters accepted by the extension. You specify parameter values when you
@@ -884,7 +884,7 @@ export interface Extension {
884
884
  * @public
885
885
  * <p>The actions defined in the extension.</p>
886
886
  */
887
- Actions?: Record<string, Action[]>;
887
+ Actions?: Record<ActionPoint, Action[]>;
888
888
  /**
889
889
  * @public
890
890
  * <p>The parameters accepted by the extension. You specify parameter values when you
@@ -1078,7 +1078,7 @@ export declare class PayloadTooLargeException extends __BaseException {
1078
1078
  readonly name: "PayloadTooLargeException";
1079
1079
  readonly $fault: "client";
1080
1080
  Message?: string;
1081
- Measure?: BytesMeasure | string;
1081
+ Measure?: BytesMeasure;
1082
1082
  Limit?: number;
1083
1083
  Size?: number;
1084
1084
  /**
@@ -1356,13 +1356,13 @@ export interface DeploymentEvent {
1356
1356
  * completion of a deployment; a percentage update; the start or stop of a bake period; and
1357
1357
  * the start or completion of a rollback.</p>
1358
1358
  */
1359
- EventType?: DeploymentEventType | string;
1359
+ EventType?: DeploymentEventType;
1360
1360
  /**
1361
1361
  * @public
1362
1362
  * <p>The entity that triggered the deployment event. Events can be triggered by a user,
1363
1363
  * AppConfig, an Amazon CloudWatch alarm, or an internal error.</p>
1364
1364
  */
1365
- TriggeredBy?: TriggeredBy | string;
1365
+ TriggeredBy?: TriggeredBy;
1366
1366
  /**
1367
1367
  * @public
1368
1368
  * <p>A description of the deployment event. Descriptions include, but are not limited to, the
@@ -1466,7 +1466,7 @@ export interface Deployment {
1466
1466
  * @public
1467
1467
  * <p>The algorithm used to define how percentage grew over time.</p>
1468
1468
  */
1469
- GrowthType?: GrowthType | string;
1469
+ GrowthType?: GrowthType;
1470
1470
  /**
1471
1471
  * @public
1472
1472
  * <p>The percentage of targets to receive a deployed configuration during each
@@ -1483,7 +1483,7 @@ export interface Deployment {
1483
1483
  * @public
1484
1484
  * <p>The state of the deployment.</p>
1485
1485
  */
1486
- State?: DeploymentState | string;
1486
+ State?: DeploymentState;
1487
1487
  /**
1488
1488
  * @public
1489
1489
  * <p>A list containing all events related to a deployment. The most recent events are
@@ -1686,7 +1686,7 @@ export interface ConfigurationProfileSummary {
1686
1686
  * @public
1687
1687
  * <p>The types of validators in the configuration profile.</p>
1688
1688
  */
1689
- ValidatorTypes?: (ValidatorType | string)[];
1689
+ ValidatorTypes?: ValidatorType[];
1690
1690
  /**
1691
1691
  * @public
1692
1692
  * <p>The type of configurations contained in the profile. AppConfig supports
@@ -1775,7 +1775,7 @@ export interface DeploymentSummary {
1775
1775
  * @public
1776
1776
  * <p>The algorithm used to define how percentage grows over time.</p>
1777
1777
  */
1778
- GrowthType?: GrowthType | string;
1778
+ GrowthType?: GrowthType;
1779
1779
  /**
1780
1780
  * @public
1781
1781
  * <p>The percentage of targets to receive a deployed configuration during each
@@ -1792,7 +1792,7 @@ export interface DeploymentSummary {
1792
1792
  * @public
1793
1793
  * <p>The state of the deployment.</p>
1794
1794
  */
1795
- State?: DeploymentState | string;
1795
+ State?: DeploymentState;
1796
1796
  /**
1797
1797
  * @public
1798
1798
  * <p>The percentage of targets for which the deployment is available.</p>
@@ -2416,7 +2416,7 @@ export interface UpdateDeploymentStrategyRequest {
2416
2416
  * targets, 8% of the targets, and continues until the configuration has been deployed to all
2417
2417
  * targets.</p>
2418
2418
  */
2419
- GrowthType?: GrowthType | string;
2419
+ GrowthType?: GrowthType;
2420
2420
  }
2421
2421
  /**
2422
2422
  * @public
@@ -2466,7 +2466,7 @@ export interface UpdateExtensionRequest {
2466
2466
  * @public
2467
2467
  * <p>The actions defined in the extension.</p>
2468
2468
  */
2469
- Actions?: Record<string, Action[]>;
2469
+ Actions?: Record<ActionPoint, Action[]>;
2470
2470
  /**
2471
2471
  * @public
2472
2472
  * <p>One or more parameters for the actions called by the extension.</p>
@@ -64,7 +64,7 @@ export declare class BadRequestException extends __BaseException {
64
64
  readonly name: "BadRequestException";
65
65
  readonly $fault: "client";
66
66
  Message?: string;
67
- Reason?: BadRequestReason | string;
67
+ Reason?: BadRequestReason;
68
68
  Details?: BadRequestDetails;
69
69
  constructor(
70
70
  opts: __ExceptionOptionType<BadRequestException, __BaseException>
@@ -97,7 +97,7 @@ export declare const ValidatorType: {
97
97
  };
98
98
  export type ValidatorType = (typeof ValidatorType)[keyof typeof ValidatorType];
99
99
  export interface Validator {
100
- Type: ValidatorType | string | undefined;
100
+ Type: ValidatorType | undefined;
101
101
  Content: string | undefined;
102
102
  }
103
103
  export interface ConfigurationProfile {
@@ -148,8 +148,8 @@ export interface CreateDeploymentStrategyRequest {
148
148
  DeploymentDurationInMinutes: number | undefined;
149
149
  FinalBakeTimeInMinutes?: number;
150
150
  GrowthFactor: number | undefined;
151
- GrowthType?: GrowthType | string;
152
- ReplicateTo?: ReplicateTo | string;
151
+ GrowthType?: GrowthType;
152
+ ReplicateTo?: ReplicateTo;
153
153
  Tags?: Record<string, string>;
154
154
  }
155
155
  export interface DeploymentStrategy {
@@ -157,10 +157,10 @@ export interface DeploymentStrategy {
157
157
  Name?: string;
158
158
  Description?: string;
159
159
  DeploymentDurationInMinutes?: number;
160
- GrowthType?: GrowthType | string;
160
+ GrowthType?: GrowthType;
161
161
  GrowthFactor?: number;
162
162
  FinalBakeTimeInMinutes?: number;
163
- ReplicateTo?: ReplicateTo | string;
163
+ ReplicateTo?: ReplicateTo;
164
164
  }
165
165
  export interface Monitor {
166
166
  AlarmArn: string | undefined;
@@ -186,7 +186,7 @@ export interface Environment {
186
186
  Id?: string;
187
187
  Name?: string;
188
188
  Description?: string;
189
- State?: EnvironmentState | string;
189
+ State?: EnvironmentState;
190
190
  Monitors?: Monitor[];
191
191
  }
192
192
  export declare class ConflictException extends __BaseException {
@@ -202,7 +202,7 @@ export interface Parameter {
202
202
  export interface CreateExtensionRequest {
203
203
  Name: string | undefined;
204
204
  Description?: string;
205
- Actions: Record<string, Action[]> | undefined;
205
+ Actions: Record<ActionPoint, Action[]> | undefined;
206
206
  Parameters?: Record<string, Parameter>;
207
207
  Tags?: Record<string, string>;
208
208
  LatestVersionNumber?: number;
@@ -213,7 +213,7 @@ export interface Extension {
213
213
  VersionNumber?: number;
214
214
  Arn?: string;
215
215
  Description?: string;
216
- Actions?: Record<string, Action[]>;
216
+ Actions?: Record<ActionPoint, Action[]>;
217
217
  Parameters?: Record<string, Parameter>;
218
218
  }
219
219
  export interface CreateExtensionAssociationRequest {
@@ -258,7 +258,7 @@ export declare class PayloadTooLargeException extends __BaseException {
258
258
  readonly name: "PayloadTooLargeException";
259
259
  readonly $fault: "client";
260
260
  Message?: string;
261
- Measure?: BytesMeasure | string;
261
+ Measure?: BytesMeasure;
262
262
  Limit?: number;
263
263
  Size?: number;
264
264
  constructor(
@@ -334,8 +334,8 @@ export declare const TriggeredBy: {
334
334
  };
335
335
  export type TriggeredBy = (typeof TriggeredBy)[keyof typeof TriggeredBy];
336
336
  export interface DeploymentEvent {
337
- EventType?: DeploymentEventType | string;
338
- TriggeredBy?: TriggeredBy | string;
337
+ EventType?: DeploymentEventType;
338
+ TriggeredBy?: TriggeredBy;
339
339
  Description?: string;
340
340
  ActionInvocations?: ActionInvocation[];
341
341
  OccurredAt?: Date;
@@ -361,10 +361,10 @@ export interface Deployment {
361
361
  ConfigurationVersion?: string;
362
362
  Description?: string;
363
363
  DeploymentDurationInMinutes?: number;
364
- GrowthType?: GrowthType | string;
364
+ GrowthType?: GrowthType;
365
365
  GrowthFactor?: number;
366
366
  FinalBakeTimeInMinutes?: number;
367
- State?: DeploymentState | string;
367
+ State?: DeploymentState;
368
368
  EventLog?: DeploymentEvent[];
369
369
  PercentageComplete?: number;
370
370
  StartedAt?: Date;
@@ -411,7 +411,7 @@ export interface ConfigurationProfileSummary {
411
411
  Id?: string;
412
412
  Name?: string;
413
413
  LocationUri?: string;
414
- ValidatorTypes?: (ValidatorType | string)[];
414
+ ValidatorTypes?: ValidatorType[];
415
415
  Type?: string;
416
416
  }
417
417
  export interface ConfigurationProfiles {
@@ -429,10 +429,10 @@ export interface DeploymentSummary {
429
429
  ConfigurationName?: string;
430
430
  ConfigurationVersion?: string;
431
431
  DeploymentDurationInMinutes?: number;
432
- GrowthType?: GrowthType | string;
432
+ GrowthType?: GrowthType;
433
433
  GrowthFactor?: number;
434
434
  FinalBakeTimeInMinutes?: number;
435
- State?: DeploymentState | string;
435
+ State?: DeploymentState;
436
436
  PercentageComplete?: number;
437
437
  StartedAt?: Date;
438
438
  CompletedAt?: Date;
@@ -566,7 +566,7 @@ export interface UpdateDeploymentStrategyRequest {
566
566
  DeploymentDurationInMinutes?: number;
567
567
  FinalBakeTimeInMinutes?: number;
568
568
  GrowthFactor?: number;
569
- GrowthType?: GrowthType | string;
569
+ GrowthType?: GrowthType;
570
570
  }
571
571
  export interface UpdateEnvironmentRequest {
572
572
  ApplicationId: string | undefined;
@@ -578,7 +578,7 @@ export interface UpdateEnvironmentRequest {
578
578
  export interface UpdateExtensionRequest {
579
579
  ExtensionIdentifier: string | undefined;
580
580
  Description?: string;
581
- Actions?: Record<string, Action[]>;
581
+ Actions?: Record<ActionPoint, Action[]>;
582
582
  Parameters?: Record<string, Parameter>;
583
583
  VersionNumber?: number;
584
584
  }
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.428.0",
4
+ "version": "3.430.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,28 +21,28 @@
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.428.0",
25
- "@aws-sdk/credential-provider-node": "3.428.0",
26
- "@aws-sdk/middleware-host-header": "3.428.0",
24
+ "@aws-sdk/client-sts": "3.430.0",
25
+ "@aws-sdk/credential-provider-node": "3.430.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
27
  "@aws-sdk/middleware-logger": "3.428.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
29
  "@aws-sdk/middleware-signing": "3.428.0",
30
30
  "@aws-sdk/middleware-user-agent": "3.428.0",
31
- "@aws-sdk/region-config-resolver": "3.428.0",
31
+ "@aws-sdk/region-config-resolver": "3.430.0",
32
32
  "@aws-sdk/types": "3.428.0",
33
33
  "@aws-sdk/util-endpoints": "3.428.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.428.0",
35
- "@aws-sdk/util-user-agent-node": "3.428.0",
36
- "@smithy/config-resolver": "^2.0.14",
35
+ "@aws-sdk/util-user-agent-node": "3.430.0",
36
+ "@smithy/config-resolver": "^2.0.15",
37
37
  "@smithy/fetch-http-handler": "^2.2.3",
38
38
  "@smithy/hash-node": "^2.0.11",
39
39
  "@smithy/invalid-dependency": "^2.0.11",
40
40
  "@smithy/middleware-content-length": "^2.0.13",
41
- "@smithy/middleware-endpoint": "^2.1.0",
42
- "@smithy/middleware-retry": "^2.0.16",
41
+ "@smithy/middleware-endpoint": "^2.1.2",
42
+ "@smithy/middleware-retry": "^2.0.17",
43
43
  "@smithy/middleware-serde": "^2.0.11",
44
44
  "@smithy/middleware-stack": "^2.0.5",
45
- "@smithy/node-config-provider": "^2.1.1",
45
+ "@smithy/node-config-provider": "^2.1.2",
46
46
  "@smithy/node-http-handler": "^2.1.7",
47
47
  "@smithy/protocol-http": "^3.0.7",
48
48
  "@smithy/smithy-client": "^2.1.11",
@@ -52,7 +52,7 @@
52
52
  "@smithy/util-body-length-browser": "^2.0.0",
53
53
  "@smithy/util-body-length-node": "^2.1.0",
54
54
  "@smithy/util-defaults-mode-browser": "^2.0.15",
55
- "@smithy/util-defaults-mode-node": "^2.0.19",
55
+ "@smithy/util-defaults-mode-node": "^2.0.20",
56
56
  "@smithy/util-retry": "^2.0.4",
57
57
  "@smithy/util-stream": "^2.0.16",
58
58
  "@smithy/util-utf8": "^2.0.0",