@aws-sdk/client-codedeploy 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.
@@ -251,7 +251,7 @@ export interface ApplicationInfo {
251
251
  * @public
252
252
  * <p>The destination platform type for deployment of the application (<code>Lambda</code> or <code>Server</code>).</p>
253
253
  */
254
- computePlatform?: ComputePlatform | string;
254
+ computePlatform?: ComputePlatform;
255
255
  }
256
256
  /**
257
257
  * @public
@@ -358,7 +358,7 @@ export interface AutoRollbackConfiguration {
358
358
  * @public
359
359
  * <p>The event type or types that trigger a rollback.</p>
360
360
  */
361
- events?: (AutoRollbackEvent | string)[];
361
+ events?: AutoRollbackEvent[];
362
362
  }
363
363
  /**
364
364
  * @public
@@ -467,7 +467,7 @@ export interface S3Location {
467
467
  * </li>
468
468
  * </ul>
469
469
  */
470
- bundleType?: BundleType | string;
470
+ bundleType?: BundleType;
471
471
  /**
472
472
  * @public
473
473
  * <p>A specific version of the Amazon S3 object that represents the bundled
@@ -535,7 +535,7 @@ export interface RevisionLocation {
535
535
  * </li>
536
536
  * </ul>
537
537
  */
538
- revisionType?: RevisionLocationType | string;
538
+ revisionType?: RevisionLocationType;
539
539
  /**
540
540
  * @public
541
541
  * <p>Information about the location of a revision stored in Amazon S3. </p>
@@ -773,7 +773,7 @@ export interface DeploymentReadyOption {
773
773
  * </li>
774
774
  * </ul>
775
775
  */
776
- actionOnTimeout?: DeploymentReadyAction | string;
776
+ actionOnTimeout?: DeploymentReadyAction;
777
777
  /**
778
778
  * @public
779
779
  * <p>The number of minutes to wait before the status of a blue/green deployment is changed
@@ -816,7 +816,7 @@ export interface GreenFleetProvisioningOption {
816
816
  * </li>
817
817
  * </ul>
818
818
  */
819
- action?: GreenFleetProvisioningAction | string;
819
+ action?: GreenFleetProvisioningAction;
820
820
  }
821
821
  /**
822
822
  * @public
@@ -855,7 +855,7 @@ export interface BlueInstanceTerminationOption {
855
855
  * </li>
856
856
  * </ul>
857
857
  */
858
- action?: InstanceAction | string;
858
+ action?: InstanceAction;
859
859
  /**
860
860
  * @public
861
861
  * <p>For an Amazon EC2 deployment, the number of minutes to wait after a successful
@@ -925,12 +925,12 @@ export interface DeploymentStyle {
925
925
  * @public
926
926
  * <p>Indicates whether to run an in-place deployment or a blue/green deployment.</p>
927
927
  */
928
- deploymentType?: DeploymentType | string;
928
+ deploymentType?: DeploymentType;
929
929
  /**
930
930
  * @public
931
931
  * <p>Indicates whether to route deployment traffic behind a load balancer.</p>
932
932
  */
933
- deploymentOption?: DeploymentOption | string;
933
+ deploymentOption?: DeploymentOption;
934
934
  }
935
935
  /**
936
936
  * @public
@@ -978,7 +978,7 @@ export interface EC2TagFilter {
978
978
  * </li>
979
979
  * </ul>
980
980
  */
981
- Type?: EC2TagFilterType | string;
981
+ Type?: EC2TagFilterType;
982
982
  }
983
983
  /**
984
984
  * @public
@@ -1044,7 +1044,7 @@ export interface LastDeploymentInfo {
1044
1044
  * @public
1045
1045
  * <p>The status of the most recent deployment.</p>
1046
1046
  */
1047
- status?: DeploymentStatus | string;
1047
+ status?: DeploymentStatus;
1048
1048
  /**
1049
1049
  * @public
1050
1050
  * <p>A timestamp that indicates when the most recent deployment to the deployment group was
@@ -1218,7 +1218,7 @@ export interface TagFilter {
1218
1218
  * </li>
1219
1219
  * </ul>
1220
1220
  */
1221
- Type?: TagFilterType | string;
1221
+ Type?: TagFilterType;
1222
1222
  }
1223
1223
  /**
1224
1224
  * @public
@@ -1285,7 +1285,7 @@ export interface TriggerConfig {
1285
1285
  * @public
1286
1286
  * <p>The event type or types for which notifications are triggered.</p>
1287
1287
  */
1288
- triggerEvents?: (TriggerEventType | string)[];
1288
+ triggerEvents?: TriggerEventType[];
1289
1289
  }
1290
1290
  /**
1291
1291
  * @public
@@ -1375,7 +1375,7 @@ export interface DeploymentGroupInfo {
1375
1375
  * deployment to update the new Amazon EC2 instances. This may result in instances
1376
1376
  * having different revisions.</p>
1377
1377
  */
1378
- outdatedInstancesStrategy?: OutdatedInstancesStrategy | string;
1378
+ outdatedInstancesStrategy?: OutdatedInstancesStrategy;
1379
1379
  /**
1380
1380
  * @public
1381
1381
  * <p>Information about blue/green deployment options for a deployment group.</p>
@@ -1416,7 +1416,7 @@ export interface DeploymentGroupInfo {
1416
1416
  * <p>The destination platform type for the deployment (<code>Lambda</code>,
1417
1417
  * <code>Server</code>, or <code>ECS</code>).</p>
1418
1418
  */
1419
- computePlatform?: ComputePlatform | string;
1419
+ computePlatform?: ComputePlatform;
1420
1420
  /**
1421
1421
  * @public
1422
1422
  * <p> The target Amazon ECS services in the deployment group. This applies only to
@@ -1554,7 +1554,7 @@ export interface Diagnostics {
1554
1554
  * </li>
1555
1555
  * </ul>
1556
1556
  */
1557
- errorCode?: LifecycleErrorCode | string;
1557
+ errorCode?: LifecycleErrorCode;
1558
1558
  /**
1559
1559
  * @public
1560
1560
  * <p>The name of the script.</p>
@@ -1640,7 +1640,7 @@ export interface LifecycleEvent {
1640
1640
  * </li>
1641
1641
  * </ul>
1642
1642
  */
1643
- status?: LifecycleEventStatus | string;
1643
+ status?: LifecycleEventStatus;
1644
1644
  }
1645
1645
  /**
1646
1646
  * @public
@@ -1711,7 +1711,7 @@ export interface InstanceSummary {
1711
1711
  * </li>
1712
1712
  * </ul>
1713
1713
  */
1714
- status?: InstanceStatus | string;
1714
+ status?: InstanceStatus;
1715
1715
  /**
1716
1716
  * @public
1717
1717
  * <p>A timestamp that indicates when the instance information was last updated.</p>
@@ -1735,7 +1735,7 @@ export interface InstanceSummary {
1735
1735
  * </li>
1736
1736
  * </ul>
1737
1737
  */
1738
- instanceType?: _InstanceType | string;
1738
+ instanceType?: _InstanceType;
1739
1739
  }
1740
1740
  /**
1741
1741
  * @public
@@ -1988,7 +1988,7 @@ export interface ErrorInformation {
1988
1988
  * </li>
1989
1989
  * </ul>
1990
1990
  */
1991
- code?: ErrorCode | string;
1991
+ code?: ErrorCode;
1992
1992
  /**
1993
1993
  * @public
1994
1994
  * <p>An accompanying error message.</p>
@@ -2117,7 +2117,7 @@ export interface DeploymentInfo {
2117
2117
  * @public
2118
2118
  * <p>The current state of the deployment as a whole.</p>
2119
2119
  */
2120
- status?: DeploymentStatus | string;
2120
+ status?: DeploymentStatus;
2121
2121
  /**
2122
2122
  * @public
2123
2123
  * <p>Information about any error associated with this deployment.</p>
@@ -2176,7 +2176,7 @@ export interface DeploymentInfo {
2176
2176
  * </li>
2177
2177
  * </ul>
2178
2178
  */
2179
- creator?: DeploymentCreator | string;
2179
+ creator?: DeploymentCreator;
2180
2180
  /**
2181
2181
  * @public
2182
2182
  * <p> If true, then if an <code>ApplicationStop</code>, <code>BeforeBlockTraffic</code>, or
@@ -2280,7 +2280,7 @@ export interface DeploymentInfo {
2280
2280
  * </li>
2281
2281
  * </ul>
2282
2282
  */
2283
- fileExistsBehavior?: FileExistsBehavior | string;
2283
+ fileExistsBehavior?: FileExistsBehavior;
2284
2284
  /**
2285
2285
  * @public
2286
2286
  * <p>Messages that contain information about the status of a deployment.</p>
@@ -2291,7 +2291,7 @@ export interface DeploymentInfo {
2291
2291
  * <p>The destination platform type for the deployment (<code>Lambda</code>,
2292
2292
  * <code>Server</code>, or <code>ECS</code>).</p>
2293
2293
  */
2294
- computePlatform?: ComputePlatform | string;
2294
+ computePlatform?: ComputePlatform;
2295
2295
  /**
2296
2296
  * @public
2297
2297
  * <p>The unique ID for an external resource (for example, a CloudFormation stack
@@ -2411,7 +2411,7 @@ export interface CloudFormationTarget {
2411
2411
  * <p> The status of an CloudFormation blue/green deployment's target application.
2412
2412
  * </p>
2413
2413
  */
2414
- status?: TargetStatus | string;
2414
+ status?: TargetStatus;
2415
2415
  /**
2416
2416
  * @public
2417
2417
  * <p>The resource type for the CloudFormation blue/green deployment.</p>
@@ -2526,7 +2526,7 @@ export interface ECSTaskSet {
2526
2526
  * <p> A label that identifies whether the ECS task set is an original target
2527
2527
  * (<code>BLUE</code>) or a replacement target (<code>GREEN</code>). </p>
2528
2528
  */
2529
- taskSetLabel?: TargetLabel | string;
2529
+ taskSetLabel?: TargetLabel;
2530
2530
  }
2531
2531
  /**
2532
2532
  * @public
@@ -2565,7 +2565,7 @@ export interface ECSTarget {
2565
2565
  * @public
2566
2566
  * <p> The status an Amazon ECS deployment's target ECS application. </p>
2567
2567
  */
2568
- status?: TargetStatus | string;
2568
+ status?: TargetStatus;
2569
2569
  /**
2570
2570
  * @public
2571
2571
  * <p> The <code>ECSTaskSet</code> objects associated with the ECS target. </p>
@@ -2598,7 +2598,7 @@ export interface InstanceTarget {
2598
2598
  * @public
2599
2599
  * <p> The status an EC2/On-premises deployment's target instance. </p>
2600
2600
  */
2601
- status?: TargetStatus | string;
2601
+ status?: TargetStatus;
2602
2602
  /**
2603
2603
  * @public
2604
2604
  * <p> The date and time when the target instance was updated by a deployment. </p>
@@ -2614,7 +2614,7 @@ export interface InstanceTarget {
2614
2614
  * <p> A label that identifies whether the instance is an original target
2615
2615
  * (<code>BLUE</code>) or a replacement target (<code>GREEN</code>). </p>
2616
2616
  */
2617
- instanceLabel?: TargetLabel | string;
2617
+ instanceLabel?: TargetLabel;
2618
2618
  }
2619
2619
  /**
2620
2620
  * @public
@@ -2677,7 +2677,7 @@ export interface LambdaTarget {
2677
2677
  * <p> The status an Lambda deployment's target Lambda function.
2678
2678
  * </p>
2679
2679
  */
2680
- status?: TargetStatus | string;
2680
+ status?: TargetStatus;
2681
2681
  /**
2682
2682
  * @public
2683
2683
  * <p> The date and time when the target Lambda function was updated by a
@@ -2707,7 +2707,7 @@ export interface DeploymentTarget {
2707
2707
  * <p>The deployment type that is specific to the deployment's compute platform or
2708
2708
  * deployments initiated by a CloudFormation stack update.</p>
2709
2709
  */
2710
- deploymentTargetType?: DeploymentTargetType | string;
2710
+ deploymentTargetType?: DeploymentTargetType;
2711
2711
  /**
2712
2712
  * @public
2713
2713
  * <p> Information about the target for a deployment that uses the EC2/On-premises compute
@@ -2951,7 +2951,7 @@ export interface ContinueDeploymentInput {
2951
2951
  * indicates that the traffic is shifted, but the original target is not terminated.
2952
2952
  * </p>
2953
2953
  */
2954
- deploymentWaitType?: DeploymentWaitType | string;
2954
+ deploymentWaitType?: DeploymentWaitType;
2955
2955
  }
2956
2956
  /**
2957
2957
  * @public
@@ -3029,7 +3029,7 @@ export interface CreateApplicationInput {
3029
3029
  * <p> The destination platform type for the deployment (<code>Lambda</code>,
3030
3030
  * <code>Server</code>, or <code>ECS</code>).</p>
3031
3031
  */
3032
- computePlatform?: ComputePlatform | string;
3032
+ computePlatform?: ComputePlatform;
3033
3033
  /**
3034
3034
  * @public
3035
3035
  * <p> The metadata that you apply to CodeDeploy applications to help you organize and
@@ -3160,7 +3160,7 @@ export interface CreateDeploymentInput {
3160
3160
  * </li>
3161
3161
  * </ul>
3162
3162
  */
3163
- fileExistsBehavior?: FileExistsBehavior | string;
3163
+ fileExistsBehavior?: FileExistsBehavior;
3164
3164
  /**
3165
3165
  * @public
3166
3166
  * <p>Allows you to specify information about alarms associated with a deployment. The alarm
@@ -3493,7 +3493,7 @@ export interface MinimumHealthyHosts {
3493
3493
  * Instance Health</a> in the <i>CodeDeploy User
3494
3494
  * Guide</i>.</p>
3495
3495
  */
3496
- type?: MinimumHealthyHostsType | string;
3496
+ type?: MinimumHealthyHostsType;
3497
3497
  /**
3498
3498
  * @public
3499
3499
  * <p>The minimum healthy instance value.</p>
@@ -3567,7 +3567,7 @@ export interface TrafficRoutingConfig {
3567
3567
  * <p>The type of traffic shifting (<code>TimeBasedCanary</code> or
3568
3568
  * <code>TimeBasedLinear</code>) used by a deployment configuration.</p>
3569
3569
  */
3570
- type?: TrafficRoutingType | string;
3570
+ type?: TrafficRoutingType;
3571
3571
  /**
3572
3572
  * @public
3573
3573
  * <p>A configuration that shifts traffic from one version of a Lambda function
@@ -3628,7 +3628,7 @@ export interface CreateDeploymentConfigInput {
3628
3628
  * <p>The destination platform type for the deployment (<code>Lambda</code>,
3629
3629
  * <code>Server</code>, or <code>ECS</code>).</p>
3630
3630
  */
3631
- computePlatform?: ComputePlatform | string;
3631
+ computePlatform?: ComputePlatform;
3632
3632
  }
3633
3633
  /**
3634
3634
  * @public
@@ -3772,7 +3772,7 @@ export interface CreateDeploymentGroupInput {
3772
3772
  * deployment to update the new Amazon EC2 instances. This may result in instances
3773
3773
  * having different revisions.</p>
3774
3774
  */
3775
- outdatedInstancesStrategy?: OutdatedInstancesStrategy | string;
3775
+ outdatedInstancesStrategy?: OutdatedInstancesStrategy;
3776
3776
  /**
3777
3777
  * @public
3778
3778
  * <p>Information about the type of deployment, in-place or blue/green, that you want to run
@@ -4338,7 +4338,7 @@ export interface DeploymentConfigInfo {
4338
4338
  * <p>The destination platform type for the deployment (<code>Lambda</code>,
4339
4339
  * <code>Server</code>, or <code>ECS</code>).</p>
4340
4340
  */
4341
- computePlatform?: ComputePlatform | string;
4341
+ computePlatform?: ComputePlatform;
4342
4342
  /**
4343
4343
  * @public
4344
4344
  * <p>The configuration that specifies how the deployment traffic is routed. Used for
@@ -4596,7 +4596,7 @@ export interface ListApplicationRevisionsInput {
4596
4596
  * <p> If not specified or set to null, the results are returned in an arbitrary order.
4597
4597
  * </p>
4598
4598
  */
4599
- sortBy?: ApplicationRevisionSortBy | string;
4599
+ sortBy?: ApplicationRevisionSortBy;
4600
4600
  /**
4601
4601
  * @public
4602
4602
  * <p> The order in which to sort the list results: </p>
@@ -4613,7 +4613,7 @@ export interface ListApplicationRevisionsInput {
4613
4613
  * <p>If not specified, the results are sorted in ascending order.</p>
4614
4614
  * <p>If set to null, the results are sorted in an arbitrary order.</p>
4615
4615
  */
4616
- sortOrder?: SortOrder | string;
4616
+ sortOrder?: SortOrder;
4617
4617
  /**
4618
4618
  * @public
4619
4619
  * <p> An Amazon S3 bucket name to limit the search for revisions. </p>
@@ -4647,7 +4647,7 @@ export interface ListApplicationRevisionsInput {
4647
4647
  * </li>
4648
4648
  * </ul>
4649
4649
  */
4650
- deployed?: ListStateFilterAction | string;
4650
+ deployed?: ListStateFilterAction;
4651
4651
  /**
4652
4652
  * @public
4653
4653
  * <p>An identifier returned from the previous <code>ListApplicationRevisions</code> call.
@@ -4874,14 +4874,14 @@ export interface ListDeploymentInstancesInput {
4874
4874
  * </li>
4875
4875
  * </ul>
4876
4876
  */
4877
- instanceStatusFilter?: (InstanceStatus | string)[];
4877
+ instanceStatusFilter?: InstanceStatus[];
4878
4878
  /**
4879
4879
  * @public
4880
4880
  * <p>The set of instances in a blue/green deployment, either those in the original
4881
4881
  * environment ("BLUE") or those in the replacement environment ("GREEN"), for which you
4882
4882
  * want to view instance information.</p>
4883
4883
  */
4884
- instanceTypeFilter?: (_InstanceType | string)[];
4884
+ instanceTypeFilter?: _InstanceType[];
4885
4885
  }
4886
4886
  /**
4887
4887
  * @public
@@ -5012,7 +5012,7 @@ export interface ListDeploymentsInput {
5012
5012
  * </li>
5013
5013
  * </ul>
5014
5014
  */
5015
- includeOnlyStatuses?: (DeploymentStatus | string)[];
5015
+ includeOnlyStatuses?: DeploymentStatus[];
5016
5016
  /**
5017
5017
  * @public
5018
5018
  * <p>A time range (start and end) for returning a subset of the list of deployments.</p>
@@ -5088,7 +5088,7 @@ export interface ListDeploymentTargetsInput {
5088
5088
  * </li>
5089
5089
  * </ul>
5090
5090
  */
5091
- targetFilters?: Record<string, string[]>;
5091
+ targetFilters?: Record<TargetFilterName, string[]>;
5092
5092
  }
5093
5093
  /**
5094
5094
  * @public
@@ -5194,7 +5194,7 @@ export interface ListOnPremisesInstancesInput {
5194
5194
  * </li>
5195
5195
  * </ul>
5196
5196
  */
5197
- registrationStatus?: RegistrationStatus | string;
5197
+ registrationStatus?: RegistrationStatus;
5198
5198
  /**
5199
5199
  * @public
5200
5200
  * <p>The on-premises instance tags that are used to restrict the on-premises instance names
@@ -5349,7 +5349,7 @@ export interface PutLifecycleEventHookExecutionStatusInput {
5349
5349
  * lifecycle statuses in general; however, only <code>Succeeded</code> and
5350
5350
  * <code>Failed</code> can be passed successfully in your API call.</p>
5351
5351
  */
5352
- status?: LifecycleEventStatus | string;
5352
+ status?: LifecycleEventStatus;
5353
5353
  }
5354
5354
  /**
5355
5355
  * @public
@@ -5578,7 +5578,7 @@ export interface StopDeploymentOutput {
5578
5578
  * </li>
5579
5579
  * </ul>
5580
5580
  */
5581
- status?: StopStatus | string;
5581
+ status?: StopStatus;
5582
5582
  /**
5583
5583
  * @public
5584
5584
  * <p>An accompanying status message.</p>
@@ -5737,7 +5737,7 @@ export interface UpdateDeploymentGroupInput {
5737
5737
  * deployment to update the new Amazon EC2 instances. This may result in instances
5738
5738
  * having different revisions.</p>
5739
5739
  */
5740
- outdatedInstancesStrategy?: OutdatedInstancesStrategy | string;
5740
+ outdatedInstancesStrategy?: OutdatedInstancesStrategy;
5741
5741
  /**
5742
5742
  * @public
5743
5743
  * <p>Information about the type of deployment, either in-place or blue/green, you want to
@@ -105,7 +105,7 @@ export interface ApplicationInfo {
105
105
  createTime?: Date;
106
106
  linkedToGitHub?: boolean;
107
107
  gitHubAccountName?: string;
108
- computePlatform?: ComputePlatform | string;
108
+ computePlatform?: ComputePlatform;
109
109
  }
110
110
  export declare class ApplicationLimitExceededException extends __BaseException {
111
111
  readonly name: "ApplicationLimitExceededException";
@@ -154,7 +154,7 @@ export type AutoRollbackEvent =
154
154
  (typeof AutoRollbackEvent)[keyof typeof AutoRollbackEvent];
155
155
  export interface AutoRollbackConfiguration {
156
156
  enabled?: boolean;
157
- events?: (AutoRollbackEvent | string)[];
157
+ events?: AutoRollbackEvent[];
158
158
  }
159
159
  export interface AutoScalingGroup {
160
160
  name?: string;
@@ -183,7 +183,7 @@ export type BundleType = (typeof BundleType)[keyof typeof BundleType];
183
183
  export interface S3Location {
184
184
  bucket?: string;
185
185
  key?: string;
186
- bundleType?: BundleType | string;
186
+ bundleType?: BundleType;
187
187
  version?: string;
188
188
  eTag?: string;
189
189
  }
@@ -192,7 +192,7 @@ export interface RawString {
192
192
  sha256?: string;
193
193
  }
194
194
  export interface RevisionLocation {
195
- revisionType?: RevisionLocationType | string;
195
+ revisionType?: RevisionLocationType;
196
196
  s3Location?: S3Location;
197
197
  gitHubLocation?: GitHubLocation;
198
198
  string?: RawString;
@@ -266,7 +266,7 @@ export declare const DeploymentReadyAction: {
266
266
  export type DeploymentReadyAction =
267
267
  (typeof DeploymentReadyAction)[keyof typeof DeploymentReadyAction];
268
268
  export interface DeploymentReadyOption {
269
- actionOnTimeout?: DeploymentReadyAction | string;
269
+ actionOnTimeout?: DeploymentReadyAction;
270
270
  waitTimeInMinutes?: number;
271
271
  }
272
272
  export declare const GreenFleetProvisioningAction: {
@@ -276,7 +276,7 @@ export declare const GreenFleetProvisioningAction: {
276
276
  export type GreenFleetProvisioningAction =
277
277
  (typeof GreenFleetProvisioningAction)[keyof typeof GreenFleetProvisioningAction];
278
278
  export interface GreenFleetProvisioningOption {
279
- action?: GreenFleetProvisioningAction | string;
279
+ action?: GreenFleetProvisioningAction;
280
280
  }
281
281
  export declare const InstanceAction: {
282
282
  readonly KEEP_ALIVE: "KEEP_ALIVE";
@@ -285,7 +285,7 @@ export declare const InstanceAction: {
285
285
  export type InstanceAction =
286
286
  (typeof InstanceAction)[keyof typeof InstanceAction];
287
287
  export interface BlueInstanceTerminationOption {
288
- action?: InstanceAction | string;
288
+ action?: InstanceAction;
289
289
  terminationWaitTimeInMinutes?: number;
290
290
  }
291
291
  export interface BlueGreenDeploymentConfiguration {
@@ -306,8 +306,8 @@ export declare const DeploymentType: {
306
306
  export type DeploymentType =
307
307
  (typeof DeploymentType)[keyof typeof DeploymentType];
308
308
  export interface DeploymentStyle {
309
- deploymentType?: DeploymentType | string;
310
- deploymentOption?: DeploymentOption | string;
309
+ deploymentType?: DeploymentType;
310
+ deploymentOption?: DeploymentOption;
311
311
  }
312
312
  export declare const EC2TagFilterType: {
313
313
  readonly KEY_AND_VALUE: "KEY_AND_VALUE";
@@ -319,7 +319,7 @@ export type EC2TagFilterType =
319
319
  export interface EC2TagFilter {
320
320
  Key?: string;
321
321
  Value?: string;
322
- Type?: EC2TagFilterType | string;
322
+ Type?: EC2TagFilterType;
323
323
  }
324
324
  export interface EC2TagSet {
325
325
  ec2TagSetList?: EC2TagFilter[][];
@@ -342,7 +342,7 @@ export type DeploymentStatus =
342
342
  (typeof DeploymentStatus)[keyof typeof DeploymentStatus];
343
343
  export interface LastDeploymentInfo {
344
344
  deploymentId?: string;
345
- status?: DeploymentStatus | string;
345
+ status?: DeploymentStatus;
346
346
  endTime?: Date;
347
347
  createTime?: Date;
348
348
  }
@@ -374,7 +374,7 @@ export type TagFilterType = (typeof TagFilterType)[keyof typeof TagFilterType];
374
374
  export interface TagFilter {
375
375
  Key?: string;
376
376
  Value?: string;
377
- Type?: TagFilterType | string;
377
+ Type?: TagFilterType;
378
378
  }
379
379
  export interface OnPremisesTagSet {
380
380
  onPremisesTagSetList?: TagFilter[][];
@@ -402,7 +402,7 @@ export type TriggerEventType =
402
402
  export interface TriggerConfig {
403
403
  triggerName?: string;
404
404
  triggerTargetArn?: string;
405
- triggerEvents?: (TriggerEventType | string)[];
405
+ triggerEvents?: TriggerEventType[];
406
406
  }
407
407
  export interface DeploymentGroupInfo {
408
408
  applicationName?: string;
@@ -418,14 +418,14 @@ export interface DeploymentGroupInfo {
418
418
  alarmConfiguration?: AlarmConfiguration;
419
419
  autoRollbackConfiguration?: AutoRollbackConfiguration;
420
420
  deploymentStyle?: DeploymentStyle;
421
- outdatedInstancesStrategy?: OutdatedInstancesStrategy | string;
421
+ outdatedInstancesStrategy?: OutdatedInstancesStrategy;
422
422
  blueGreenDeploymentConfiguration?: BlueGreenDeploymentConfiguration;
423
423
  loadBalancerInfo?: LoadBalancerInfo;
424
424
  lastSuccessfulDeployment?: LastDeploymentInfo;
425
425
  lastAttemptedDeployment?: LastDeploymentInfo;
426
426
  ec2TagSet?: EC2TagSet;
427
427
  onPremisesTagSet?: OnPremisesTagSet;
428
- computePlatform?: ComputePlatform | string;
428
+ computePlatform?: ComputePlatform;
429
429
  ecsServices?: ECSService[];
430
430
  }
431
431
  export interface BatchGetDeploymentGroupsOutput {
@@ -482,7 +482,7 @@ export declare const LifecycleErrorCode: {
482
482
  export type LifecycleErrorCode =
483
483
  (typeof LifecycleErrorCode)[keyof typeof LifecycleErrorCode];
484
484
  export interface Diagnostics {
485
- errorCode?: LifecycleErrorCode | string;
485
+ errorCode?: LifecycleErrorCode;
486
486
  scriptName?: string;
487
487
  message?: string;
488
488
  logTail?: string;
@@ -502,7 +502,7 @@ export interface LifecycleEvent {
502
502
  diagnostics?: Diagnostics;
503
503
  startTime?: Date;
504
504
  endTime?: Date;
505
- status?: LifecycleEventStatus | string;
505
+ status?: LifecycleEventStatus;
506
506
  }
507
507
  export declare const InstanceStatus: {
508
508
  readonly FAILED: "Failed";
@@ -518,10 +518,10 @@ export type InstanceStatus =
518
518
  export interface InstanceSummary {
519
519
  deploymentId?: string;
520
520
  instanceId?: string;
521
- status?: InstanceStatus | string;
521
+ status?: InstanceStatus;
522
522
  lastUpdatedAt?: Date;
523
523
  lifecycleEvents?: LifecycleEvent[];
524
- instanceType?: _InstanceType | string;
524
+ instanceType?: _InstanceType;
525
525
  }
526
526
  export interface BatchGetDeploymentInstancesOutput {
527
527
  instancesSummary?: InstanceSummary[];
@@ -628,7 +628,7 @@ export declare const ErrorCode: {
628
628
  };
629
629
  export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
630
630
  export interface ErrorInformation {
631
- code?: ErrorCode | string;
631
+ code?: ErrorCode;
632
632
  message?: string;
633
633
  }
634
634
  export declare const FileExistsBehavior: {
@@ -659,14 +659,14 @@ export interface DeploymentInfo {
659
659
  deploymentId?: string;
660
660
  previousRevision?: RevisionLocation;
661
661
  revision?: RevisionLocation;
662
- status?: DeploymentStatus | string;
662
+ status?: DeploymentStatus;
663
663
  errorInformation?: ErrorInformation;
664
664
  createTime?: Date;
665
665
  startTime?: Date;
666
666
  completeTime?: Date;
667
667
  deploymentOverview?: DeploymentOverview;
668
668
  description?: string;
669
- creator?: DeploymentCreator | string;
669
+ creator?: DeploymentCreator;
670
670
  ignoreApplicationStopFailures?: boolean;
671
671
  autoRollbackConfiguration?: AutoRollbackConfiguration;
672
672
  updateOutdatedInstancesOnly?: boolean;
@@ -677,9 +677,9 @@ export interface DeploymentInfo {
677
677
  blueGreenDeploymentConfiguration?: BlueGreenDeploymentConfiguration;
678
678
  loadBalancerInfo?: LoadBalancerInfo;
679
679
  additionalDeploymentStatusInfo?: string;
680
- fileExistsBehavior?: FileExistsBehavior | string;
680
+ fileExistsBehavior?: FileExistsBehavior;
681
681
  deploymentStatusMessages?: string[];
682
- computePlatform?: ComputePlatform | string;
682
+ computePlatform?: ComputePlatform;
683
683
  externalId?: string;
684
684
  relatedDeployments?: RelatedDeployments;
685
685
  overrideAlarmConfiguration?: AlarmConfiguration;
@@ -706,7 +706,7 @@ export interface CloudFormationTarget {
706
706
  targetId?: string;
707
707
  lastUpdatedAt?: Date;
708
708
  lifecycleEvents?: LifecycleEvent[];
709
- status?: TargetStatus | string;
709
+ status?: TargetStatus;
710
710
  resourceType?: string;
711
711
  targetVersionWeight?: number;
712
712
  }
@@ -731,7 +731,7 @@ export interface ECSTaskSet {
731
731
  status?: string;
732
732
  trafficWeight?: number;
733
733
  targetGroup?: TargetGroupInfo;
734
- taskSetLabel?: TargetLabel | string;
734
+ taskSetLabel?: TargetLabel;
735
735
  }
736
736
  export interface ECSTarget {
737
737
  deploymentId?: string;
@@ -739,17 +739,17 @@ export interface ECSTarget {
739
739
  targetArn?: string;
740
740
  lastUpdatedAt?: Date;
741
741
  lifecycleEvents?: LifecycleEvent[];
742
- status?: TargetStatus | string;
742
+ status?: TargetStatus;
743
743
  taskSetsInfo?: ECSTaskSet[];
744
744
  }
745
745
  export interface InstanceTarget {
746
746
  deploymentId?: string;
747
747
  targetId?: string;
748
748
  targetArn?: string;
749
- status?: TargetStatus | string;
749
+ status?: TargetStatus;
750
750
  lastUpdatedAt?: Date;
751
751
  lifecycleEvents?: LifecycleEvent[];
752
- instanceLabel?: TargetLabel | string;
752
+ instanceLabel?: TargetLabel;
753
753
  }
754
754
  export interface LambdaFunctionInfo {
755
755
  functionName?: string;
@@ -762,13 +762,13 @@ export interface LambdaTarget {
762
762
  deploymentId?: string;
763
763
  targetId?: string;
764
764
  targetArn?: string;
765
- status?: TargetStatus | string;
765
+ status?: TargetStatus;
766
766
  lastUpdatedAt?: Date;
767
767
  lifecycleEvents?: LifecycleEvent[];
768
768
  lambdaFunctionInfo?: LambdaFunctionInfo;
769
769
  }
770
770
  export interface DeploymentTarget {
771
- deploymentTargetType?: DeploymentTargetType | string;
771
+ deploymentTargetType?: DeploymentTargetType;
772
772
  instanceTarget?: InstanceTarget;
773
773
  lambdaTarget?: LambdaTarget;
774
774
  ecsTarget?: ECSTarget;
@@ -864,7 +864,7 @@ export type DeploymentWaitType =
864
864
  (typeof DeploymentWaitType)[keyof typeof DeploymentWaitType];
865
865
  export interface ContinueDeploymentInput {
866
866
  deploymentId?: string;
867
- deploymentWaitType?: DeploymentWaitType | string;
867
+ deploymentWaitType?: DeploymentWaitType;
868
868
  }
869
869
  export declare class DeploymentAlreadyCompletedException extends __BaseException {
870
870
  readonly name: "DeploymentAlreadyCompletedException";
@@ -918,7 +918,7 @@ export declare class UnsupportedActionForDeploymentTypeException extends __BaseE
918
918
  }
919
919
  export interface CreateApplicationInput {
920
920
  applicationName: string | undefined;
921
- computePlatform?: ComputePlatform | string;
921
+ computePlatform?: ComputePlatform;
922
922
  tags?: Tag[];
923
923
  }
924
924
  export interface CreateApplicationOutput {
@@ -941,7 +941,7 @@ export interface CreateDeploymentInput {
941
941
  targetInstances?: TargetInstances;
942
942
  autoRollbackConfiguration?: AutoRollbackConfiguration;
943
943
  updateOutdatedInstancesOnly?: boolean;
944
- fileExistsBehavior?: FileExistsBehavior | string;
944
+ fileExistsBehavior?: FileExistsBehavior;
945
945
  overrideAlarmConfiguration?: AlarmConfiguration;
946
946
  }
947
947
  export interface CreateDeploymentOutput {
@@ -1109,7 +1109,7 @@ export declare const MinimumHealthyHostsType: {
1109
1109
  export type MinimumHealthyHostsType =
1110
1110
  (typeof MinimumHealthyHostsType)[keyof typeof MinimumHealthyHostsType];
1111
1111
  export interface MinimumHealthyHosts {
1112
- type?: MinimumHealthyHostsType | string;
1112
+ type?: MinimumHealthyHostsType;
1113
1113
  value?: number;
1114
1114
  }
1115
1115
  export interface TimeBasedCanary {
@@ -1128,7 +1128,7 @@ export declare const TrafficRoutingType: {
1128
1128
  export type TrafficRoutingType =
1129
1129
  (typeof TrafficRoutingType)[keyof typeof TrafficRoutingType];
1130
1130
  export interface TrafficRoutingConfig {
1131
- type?: TrafficRoutingType | string;
1131
+ type?: TrafficRoutingType;
1132
1132
  timeBasedCanary?: TimeBasedCanary;
1133
1133
  timeBasedLinear?: TimeBasedLinear;
1134
1134
  }
@@ -1136,7 +1136,7 @@ export interface CreateDeploymentConfigInput {
1136
1136
  deploymentConfigName: string | undefined;
1137
1137
  minimumHealthyHosts?: MinimumHealthyHosts;
1138
1138
  trafficRoutingConfig?: TrafficRoutingConfig;
1139
- computePlatform?: ComputePlatform | string;
1139
+ computePlatform?: ComputePlatform;
1140
1140
  }
1141
1141
  export interface CreateDeploymentConfigOutput {
1142
1142
  deploymentConfigId?: string;
@@ -1192,7 +1192,7 @@ export interface CreateDeploymentGroupInput {
1192
1192
  triggerConfigurations?: TriggerConfig[];
1193
1193
  alarmConfiguration?: AlarmConfiguration;
1194
1194
  autoRollbackConfiguration?: AutoRollbackConfiguration;
1195
- outdatedInstancesStrategy?: OutdatedInstancesStrategy | string;
1195
+ outdatedInstancesStrategy?: OutdatedInstancesStrategy;
1196
1196
  deploymentStyle?: DeploymentStyle;
1197
1197
  blueGreenDeploymentConfiguration?: BlueGreenDeploymentConfiguration;
1198
1198
  loadBalancerInfo?: LoadBalancerInfo;
@@ -1462,7 +1462,7 @@ export interface DeploymentConfigInfo {
1462
1462
  deploymentConfigName?: string;
1463
1463
  minimumHealthyHosts?: MinimumHealthyHosts;
1464
1464
  createTime?: Date;
1465
- computePlatform?: ComputePlatform | string;
1465
+ computePlatform?: ComputePlatform;
1466
1466
  trafficRoutingConfig?: TrafficRoutingConfig;
1467
1467
  }
1468
1468
  export interface GetDeploymentConfigOutput {
@@ -1560,11 +1560,11 @@ export declare const SortOrder: {
1560
1560
  export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
1561
1561
  export interface ListApplicationRevisionsInput {
1562
1562
  applicationName: string | undefined;
1563
- sortBy?: ApplicationRevisionSortBy | string;
1564
- sortOrder?: SortOrder | string;
1563
+ sortBy?: ApplicationRevisionSortBy;
1564
+ sortOrder?: SortOrder;
1565
1565
  s3Bucket?: string;
1566
1566
  s3KeyPrefix?: string;
1567
- deployed?: ListStateFilterAction | string;
1567
+ deployed?: ListStateFilterAction;
1568
1568
  nextToken?: string;
1569
1569
  }
1570
1570
  export interface ListApplicationRevisionsOutput {
@@ -1631,8 +1631,8 @@ export declare class InvalidTargetFilterNameException extends __BaseException {
1631
1631
  export interface ListDeploymentInstancesInput {
1632
1632
  deploymentId: string | undefined;
1633
1633
  nextToken?: string;
1634
- instanceStatusFilter?: (InstanceStatus | string)[];
1635
- instanceTypeFilter?: (_InstanceType | string)[];
1634
+ instanceStatusFilter?: InstanceStatus[];
1635
+ instanceTypeFilter?: _InstanceType[];
1636
1636
  }
1637
1637
  export interface ListDeploymentInstancesOutput {
1638
1638
  instancesList?: string[];
@@ -1660,7 +1660,7 @@ export interface ListDeploymentsInput {
1660
1660
  applicationName?: string;
1661
1661
  deploymentGroupName?: string;
1662
1662
  externalId?: string;
1663
- includeOnlyStatuses?: (DeploymentStatus | string)[];
1663
+ includeOnlyStatuses?: DeploymentStatus[];
1664
1664
  createTimeRange?: TimeRange;
1665
1665
  nextToken?: string;
1666
1666
  }
@@ -1677,7 +1677,7 @@ export type TargetFilterName =
1677
1677
  export interface ListDeploymentTargetsInput {
1678
1678
  deploymentId?: string;
1679
1679
  nextToken?: string;
1680
- targetFilters?: Record<string, string[]>;
1680
+ targetFilters?: Record<TargetFilterName, string[]>;
1681
1681
  }
1682
1682
  export interface ListDeploymentTargetsOutput {
1683
1683
  targetIds?: string[];
@@ -1714,7 +1714,7 @@ export declare const RegistrationStatus: {
1714
1714
  export type RegistrationStatus =
1715
1715
  (typeof RegistrationStatus)[keyof typeof RegistrationStatus];
1716
1716
  export interface ListOnPremisesInstancesInput {
1717
- registrationStatus?: RegistrationStatus | string;
1717
+ registrationStatus?: RegistrationStatus;
1718
1718
  tagFilters?: TagFilter[];
1719
1719
  nextToken?: string;
1720
1720
  }
@@ -1777,7 +1777,7 @@ export declare class LifecycleEventAlreadyCompletedException extends __BaseExcep
1777
1777
  export interface PutLifecycleEventHookExecutionStatusInput {
1778
1778
  deploymentId?: string;
1779
1779
  lifecycleEventHookExecutionId?: string;
1780
- status?: LifecycleEventStatus | string;
1780
+ status?: LifecycleEventStatus;
1781
1781
  }
1782
1782
  export interface PutLifecycleEventHookExecutionStatusOutput {
1783
1783
  lifecycleEventHookExecutionId?: string;
@@ -1877,7 +1877,7 @@ export declare const StopStatus: {
1877
1877
  };
1878
1878
  export type StopStatus = (typeof StopStatus)[keyof typeof StopStatus];
1879
1879
  export interface StopDeploymentOutput {
1880
- status?: StopStatus | string;
1880
+ status?: StopStatus;
1881
1881
  statusMessage?: string;
1882
1882
  }
1883
1883
  export interface TagResourceInput {
@@ -1906,7 +1906,7 @@ export interface UpdateDeploymentGroupInput {
1906
1906
  triggerConfigurations?: TriggerConfig[];
1907
1907
  alarmConfiguration?: AlarmConfiguration;
1908
1908
  autoRollbackConfiguration?: AutoRollbackConfiguration;
1909
- outdatedInstancesStrategy?: OutdatedInstancesStrategy | string;
1909
+ outdatedInstancesStrategy?: OutdatedInstancesStrategy;
1910
1910
  deploymentStyle?: DeploymentStyle;
1911
1911
  blueGreenDeploymentConfiguration?: BlueGreenDeploymentConfiguration;
1912
1912
  loadBalancerInfo?: LoadBalancerInfo;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-codedeploy",
3
3
  "description": "AWS SDK for JavaScript Codedeploy 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-utf8": "^2.0.0",
58
58
  "@smithy/util-waiter": "^2.0.11",