@aws-sdk/client-imagebuilder 3.934.0 → 3.936.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.
@@ -1,5 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { ImagebuilderServiceException as __BaseException } from "./ImagebuilderServiceException";
1
+ import { BuildType, ComponentFormat, ComponentStatus, ComponentType, ContainerRepositoryService, ContainerType, DiskImageFormat, EbsVolumeType, ImageScanStatus, ImageSource, ImageStatus, ImageType, LifecycleExecutionResourceActionName, LifecycleExecutionResourceStatus, LifecycleExecutionStatus, LifecyclePolicyDetailActionType, LifecyclePolicyDetailFilterType, LifecyclePolicyResourceType, LifecyclePolicyStatus, LifecyclePolicyTimeUnit, MarketplaceResourceType, OnWorkflowFailure, Ownership, PipelineExecutionStartCondition, PipelineStatus, Platform, ProductCodeType, ResourceStatus, SsmParameterDataType, TenancyType, WorkflowExecutionStatus, WorkflowStatus, WorkflowStepActionType, WorkflowStepExecutionRollbackStatus, WorkflowStepExecutionStatus, WorkflowType } from "./enums";
3
2
  /**
4
3
  * <p>Includes counts by severity level for medium severity and higher level findings, plus a total
5
4
  * for all of the findings for the specified filter.</p>
@@ -100,28 +99,6 @@ export interface AdditionalInstanceConfiguration {
100
99
  */
101
100
  userDataOverride?: string | undefined;
102
101
  }
103
- /**
104
- * @public
105
- * @enum
106
- */
107
- export declare const ImageStatus: {
108
- readonly AVAILABLE: "AVAILABLE";
109
- readonly BUILDING: "BUILDING";
110
- readonly CANCELLED: "CANCELLED";
111
- readonly CREATING: "CREATING";
112
- readonly DELETED: "DELETED";
113
- readonly DEPRECATED: "DEPRECATED";
114
- readonly DISABLED: "DISABLED";
115
- readonly DISTRIBUTING: "DISTRIBUTING";
116
- readonly FAILED: "FAILED";
117
- readonly INTEGRATING: "INTEGRATING";
118
- readonly PENDING: "PENDING";
119
- readonly TESTING: "TESTING";
120
- };
121
- /**
122
- * @public
123
- */
124
- export type ImageStatus = (typeof ImageStatus)[keyof typeof ImageStatus];
125
102
  /**
126
103
  * <p>Image status and the reason for that status.</p>
127
104
  * @public
@@ -262,32 +239,6 @@ export interface AutoDisablePolicy {
262
239
  */
263
240
  failureCount: number | undefined;
264
241
  }
265
- /**
266
- * @public
267
- * @enum
268
- */
269
- export declare const BuildType: {
270
- readonly IMPORT: "IMPORT";
271
- readonly IMPORT_ISO: "IMPORT_ISO";
272
- readonly SCHEDULED: "SCHEDULED";
273
- readonly USER_INITIATED: "USER_INITIATED";
274
- };
275
- /**
276
- * @public
277
- */
278
- export type BuildType = (typeof BuildType)[keyof typeof BuildType];
279
- /**
280
- * <p>You have exceeded the permitted request rate for the specific operation.</p>
281
- * @public
282
- */
283
- export declare class CallRateLimitExceededException extends __BaseException {
284
- readonly name: "CallRateLimitExceededException";
285
- readonly $fault: "client";
286
- /**
287
- * @internal
288
- */
289
- constructor(opts: __ExceptionOptionType<CallRateLimitExceededException, __BaseException>);
290
- }
291
242
  /**
292
243
  * @public
293
244
  */
@@ -326,95 +277,6 @@ export interface CancelImageCreationResponse {
326
277
  */
327
278
  imageBuildVersionArn?: string | undefined;
328
279
  }
329
- /**
330
- * <p>These errors are usually caused by a client action, such as using an action or
331
- * resource on behalf of a user that doesn't have permissions to use the action or
332
- * resource, or specifying an invalid resource identifier.</p>
333
- * @public
334
- */
335
- export declare class ClientException extends __BaseException {
336
- readonly name: "ClientException";
337
- readonly $fault: "client";
338
- /**
339
- * @internal
340
- */
341
- constructor(opts: __ExceptionOptionType<ClientException, __BaseException>);
342
- }
343
- /**
344
- * <p>You are not authorized to perform the requested operation.</p>
345
- * @public
346
- */
347
- export declare class ForbiddenException extends __BaseException {
348
- readonly name: "ForbiddenException";
349
- readonly $fault: "client";
350
- /**
351
- * @internal
352
- */
353
- constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
354
- }
355
- /**
356
- * <p>You have specified a client token for an operation using parameter values that differ
357
- * from a previous request that used the same client token.</p>
358
- * @public
359
- */
360
- export declare class IdempotentParameterMismatchException extends __BaseException {
361
- readonly name: "IdempotentParameterMismatchException";
362
- readonly $fault: "client";
363
- /**
364
- * @internal
365
- */
366
- constructor(opts: __ExceptionOptionType<IdempotentParameterMismatchException, __BaseException>);
367
- }
368
- /**
369
- * <p>You have requested an action that that the service doesn't support.</p>
370
- * @public
371
- */
372
- export declare class InvalidRequestException extends __BaseException {
373
- readonly name: "InvalidRequestException";
374
- readonly $fault: "client";
375
- /**
376
- * @internal
377
- */
378
- constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
379
- }
380
- /**
381
- * <p>The resource that you are trying to operate on is currently in use. Review the message
382
- * details and retry later.</p>
383
- * @public
384
- */
385
- export declare class ResourceInUseException extends __BaseException {
386
- readonly name: "ResourceInUseException";
387
- readonly $fault: "client";
388
- /**
389
- * @internal
390
- */
391
- constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
392
- }
393
- /**
394
- * <p>This exception is thrown when the service encounters an unrecoverable
395
- * exception.</p>
396
- * @public
397
- */
398
- export declare class ServiceException extends __BaseException {
399
- readonly name: "ServiceException";
400
- readonly $fault: "server";
401
- /**
402
- * @internal
403
- */
404
- constructor(opts: __ExceptionOptionType<ServiceException, __BaseException>);
405
- }
406
- /**
407
- * <p>The service is unable to process your request at this time.</p>
408
- * @public
409
- */
410
- export declare class ServiceUnavailableException extends __BaseException {
411
- readonly name: "ServiceUnavailableException";
412
- readonly $fault: "server";
413
- /**
414
- * @internal
415
- */
416
- constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
417
- }
418
280
  /**
419
281
  * @public
420
282
  */
@@ -470,30 +332,6 @@ export interface ComponentParameterDetail {
470
332
  */
471
333
  description?: string | undefined;
472
334
  }
473
- /**
474
- * @public
475
- * @enum
476
- */
477
- export declare const Platform: {
478
- readonly LINUX: "Linux";
479
- readonly MACOS: "macOS";
480
- readonly WINDOWS: "Windows";
481
- };
482
- /**
483
- * @public
484
- */
485
- export type Platform = (typeof Platform)[keyof typeof Platform];
486
- /**
487
- * @public
488
- * @enum
489
- */
490
- export declare const ProductCodeType: {
491
- readonly MARKETPLACE: "marketplace";
492
- };
493
- /**
494
- * @public
495
- */
496
- export type ProductCodeType = (typeof ProductCodeType)[keyof typeof ProductCodeType];
497
335
  /**
498
336
  * <p>Information about a single product code.</p>
499
337
  * @public
@@ -513,19 +351,6 @@ export interface ProductCodeListItem {
513
351
  */
514
352
  productCodeType: ProductCodeType | undefined;
515
353
  }
516
- /**
517
- * @public
518
- * @enum
519
- */
520
- export declare const ComponentStatus: {
521
- readonly ACTIVE: "ACTIVE";
522
- readonly DEPRECATED: "DEPRECATED";
523
- readonly DISABLED: "DISABLED";
524
- };
525
- /**
526
- * @public
527
- */
528
- export type ComponentStatus = (typeof ComponentStatus)[keyof typeof ComponentStatus];
529
354
  /**
530
355
  * <p>A group of fields that describe the current status of components.</p>
531
356
  * @public
@@ -542,18 +367,6 @@ export interface ComponentState {
542
367
  */
543
368
  reason?: string | undefined;
544
369
  }
545
- /**
546
- * @public
547
- * @enum
548
- */
549
- export declare const ComponentType: {
550
- readonly BUILD: "BUILD";
551
- readonly TEST: "TEST";
552
- };
553
- /**
554
- * @public
555
- */
556
- export type ComponentType = (typeof ComponentType)[keyof typeof ComponentType];
557
370
  /**
558
371
  * <p>A detailed view of a component.</p>
559
372
  * @public
@@ -696,17 +509,6 @@ export interface ComponentConfiguration {
696
509
  */
697
510
  parameters?: ComponentParameter[] | undefined;
698
511
  }
699
- /**
700
- * @public
701
- * @enum
702
- */
703
- export declare const ComponentFormat: {
704
- readonly SHELL: "SHELL";
705
- };
706
- /**
707
- * @public
708
- */
709
- export type ComponentFormat = (typeof ComponentFormat)[keyof typeof ComponentFormat];
710
512
  /**
711
513
  * <p>A high-level summary of a component.</p>
712
514
  * @public
@@ -902,17 +704,6 @@ export interface Container {
902
704
  */
903
705
  imageUris?: string[] | undefined;
904
706
  }
905
- /**
906
- * @public
907
- * @enum
908
- */
909
- export declare const ContainerRepositoryService: {
910
- readonly ECR: "ECR";
911
- };
912
- /**
913
- * @public
914
- */
915
- export type ContainerRepositoryService = (typeof ContainerRepositoryService)[keyof typeof ContainerRepositoryService];
916
707
  /**
917
708
  * <p>The container repository where the output container image is stored.</p>
918
709
  * @public
@@ -953,34 +744,6 @@ export interface ContainerDistributionConfiguration {
953
744
  */
954
745
  targetRepository: TargetContainerRepository | undefined;
955
746
  }
956
- /**
957
- * @public
958
- * @enum
959
- */
960
- export declare const ContainerType: {
961
- readonly DOCKER: "DOCKER";
962
- };
963
- /**
964
- * @public
965
- */
966
- export type ContainerType = (typeof ContainerType)[keyof typeof ContainerType];
967
- /**
968
- * @public
969
- * @enum
970
- */
971
- export declare const EbsVolumeType: {
972
- readonly GP2: "gp2";
973
- readonly GP3: "gp3";
974
- readonly IO1: "io1";
975
- readonly IO2: "io2";
976
- readonly SC1: "sc1";
977
- readonly ST1: "st1";
978
- readonly STANDARD: "standard";
979
- };
980
- /**
981
- * @public
982
- */
983
- export type EbsVolumeType = (typeof EbsVolumeType)[keyof typeof EbsVolumeType];
984
747
  /**
985
748
  * <p>Amazon EBS-specific block device mapping specifications.</p>
986
749
  * @public
@@ -1373,45 +1136,6 @@ export interface CreateComponentResponse {
1373
1136
  */
1374
1137
  componentBuildVersionArn?: string | undefined;
1375
1138
  }
1376
- /**
1377
- * <p>You have specified two or more mutually exclusive parameters. Review the error message
1378
- * for details.</p>
1379
- * @public
1380
- */
1381
- export declare class InvalidParameterCombinationException extends __BaseException {
1382
- readonly name: "InvalidParameterCombinationException";
1383
- readonly $fault: "client";
1384
- /**
1385
- * @internal
1386
- */
1387
- constructor(opts: __ExceptionOptionType<InvalidParameterCombinationException, __BaseException>);
1388
- }
1389
- /**
1390
- * <p>Your version number is out of bounds or does not follow the required syntax.</p>
1391
- * @public
1392
- */
1393
- export declare class InvalidVersionNumberException extends __BaseException {
1394
- readonly name: "InvalidVersionNumberException";
1395
- readonly $fault: "client";
1396
- /**
1397
- * @internal
1398
- */
1399
- constructor(opts: __ExceptionOptionType<InvalidVersionNumberException, __BaseException>);
1400
- }
1401
- /**
1402
- * <p>You have exceeded the number of permitted resources or operations for this service.
1403
- * For service quotas, see <a href="https://docs.aws.amazon.com/general/latest/gr/imagebuilder.html#limits_imagebuilder">EC2 Image Builder endpoints and
1404
- * quotas</a>.</p>
1405
- * @public
1406
- */
1407
- export declare class ServiceQuotaExceededException extends __BaseException {
1408
- readonly name: "ServiceQuotaExceededException";
1409
- readonly $fault: "client";
1410
- /**
1411
- * @internal
1412
- */
1413
- constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
1414
- }
1415
1139
  /**
1416
1140
  * @public
1417
1141
  */
@@ -1537,18 +1261,6 @@ export interface CreateContainerRecipeResponse {
1537
1261
  */
1538
1262
  containerRecipeArn?: string | undefined;
1539
1263
  }
1540
- /**
1541
- * <p>The resource that you are trying to create already exists.</p>
1542
- * @public
1543
- */
1544
- export declare class ResourceAlreadyExistsException extends __BaseException {
1545
- readonly name: "ResourceAlreadyExistsException";
1546
- readonly $fault: "client";
1547
- /**
1548
- * @internal
1549
- */
1550
- constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
1551
- }
1552
1264
  /**
1553
1265
  * <p>Identifies the launch template that the associated Windows AMI uses for launching an
1554
1266
  * instance when faster launching is enabled.</p>
@@ -1647,19 +1359,6 @@ export interface LaunchTemplateConfiguration {
1647
1359
  */
1648
1360
  setDefaultVersion?: boolean | undefined;
1649
1361
  }
1650
- /**
1651
- * @public
1652
- * @enum
1653
- */
1654
- export declare const DiskImageFormat: {
1655
- readonly RAW: "RAW";
1656
- readonly VHD: "VHD";
1657
- readonly VMDK: "VMDK";
1658
- };
1659
- /**
1660
- * @public
1661
- */
1662
- export type DiskImageFormat = (typeof DiskImageFormat)[keyof typeof DiskImageFormat];
1663
1362
  /**
1664
1363
  * <p>Properties that configure export from your build instance to a compatible file format
1665
1364
  * for your VM.</p>
@@ -1706,18 +1405,6 @@ export interface S3ExportConfiguration {
1706
1405
  */
1707
1406
  s3Prefix?: string | undefined;
1708
1407
  }
1709
- /**
1710
- * @public
1711
- * @enum
1712
- */
1713
- export declare const SsmParameterDataType: {
1714
- readonly AWS_EC2_IMAGE: "aws:ec2:image";
1715
- readonly TEXT: "text";
1716
- };
1717
- /**
1718
- * @public
1719
- */
1720
- export type SsmParameterDataType = (typeof SsmParameterDataType)[keyof typeof SsmParameterDataType];
1721
1408
  /**
1722
1409
  * <p>Configuration for a single Parameter in the Amazon Web Services Systems Manager (SSM) Parameter Store in
1723
1410
  * a given Region.</p>
@@ -1923,18 +1610,6 @@ export interface ImageLoggingConfiguration {
1923
1610
  */
1924
1611
  logGroupName?: string | undefined;
1925
1612
  }
1926
- /**
1927
- * @public
1928
- * @enum
1929
- */
1930
- export declare const OnWorkflowFailure: {
1931
- readonly ABORT: "ABORT";
1932
- readonly CONTINUE: "CONTINUE";
1933
- };
1934
- /**
1935
- * @public
1936
- */
1937
- export type OnWorkflowFailure = (typeof OnWorkflowFailure)[keyof typeof OnWorkflowFailure];
1938
1613
  /**
1939
1614
  * <p>Contains a key/value pair that sets the named workflow parameter.</p>
1940
1615
  * @public
@@ -2097,18 +1772,6 @@ export interface PipelineLoggingConfiguration {
2097
1772
  */
2098
1773
  pipelineLogGroupName?: string | undefined;
2099
1774
  }
2100
- /**
2101
- * @public
2102
- * @enum
2103
- */
2104
- export declare const PipelineExecutionStartCondition: {
2105
- readonly EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE: "EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE";
2106
- readonly EXPRESSION_MATCH_ONLY: "EXPRESSION_MATCH_ONLY";
2107
- };
2108
- /**
2109
- * @public
2110
- */
2111
- export type PipelineExecutionStartCondition = (typeof PipelineExecutionStartCondition)[keyof typeof PipelineExecutionStartCondition];
2112
1775
  /**
2113
1776
  * <p>A schedule configures when and how often a pipeline will automatically create a new
2114
1777
  * image.</p>
@@ -2160,18 +1823,6 @@ export interface Schedule {
2160
1823
  */
2161
1824
  autoDisablePolicy?: AutoDisablePolicy | undefined;
2162
1825
  }
2163
- /**
2164
- * @public
2165
- * @enum
2166
- */
2167
- export declare const PipelineStatus: {
2168
- readonly DISABLED: "DISABLED";
2169
- readonly ENABLED: "ENABLED";
2170
- };
2171
- /**
2172
- * @public
2173
- */
2174
- export type PipelineStatus = (typeof PipelineStatus)[keyof typeof PipelineStatus];
2175
1826
  /**
2176
1827
  * @public
2177
1828
  */
@@ -2471,19 +2122,6 @@ export interface Logging {
2471
2122
  */
2472
2123
  s3Logs?: S3Logs | undefined;
2473
2124
  }
2474
- /**
2475
- * @public
2476
- * @enum
2477
- */
2478
- export declare const TenancyType: {
2479
- readonly DEDICATED: "dedicated";
2480
- readonly DEFAULT: "default";
2481
- readonly HOST: "host";
2482
- };
2483
- /**
2484
- * @public
2485
- */
2486
- export type TenancyType = (typeof TenancyType)[keyof typeof TenancyType];
2487
2125
  /**
2488
2126
  * <p>By default, EC2 instances run on shared tenancy hardware. This means that multiple
2489
2127
  * Amazon Web Services accounts might share the same physical hardware. When you use dedicated hardware,
@@ -2665,19 +2303,6 @@ export interface LifecyclePolicyDetailActionIncludeResources {
2665
2303
  */
2666
2304
  containers?: boolean | undefined;
2667
2305
  }
2668
- /**
2669
- * @public
2670
- * @enum
2671
- */
2672
- export declare const LifecyclePolicyDetailActionType: {
2673
- readonly DELETE: "DELETE";
2674
- readonly DEPRECATE: "DEPRECATE";
2675
- readonly DISABLE: "DISABLE";
2676
- };
2677
- /**
2678
- * @public
2679
- */
2680
- export type LifecyclePolicyDetailActionType = (typeof LifecyclePolicyDetailActionType)[keyof typeof LifecyclePolicyDetailActionType];
2681
2306
  /**
2682
2307
  * <p>Contains selection criteria for the lifecycle policy.</p>
2683
2308
  * @public
@@ -2694,20 +2319,6 @@ export interface LifecyclePolicyDetailAction {
2694
2319
  */
2695
2320
  includeResources?: LifecyclePolicyDetailActionIncludeResources | undefined;
2696
2321
  }
2697
- /**
2698
- * @public
2699
- * @enum
2700
- */
2701
- export declare const LifecyclePolicyTimeUnit: {
2702
- readonly DAYS: "DAYS";
2703
- readonly MONTHS: "MONTHS";
2704
- readonly WEEKS: "WEEKS";
2705
- readonly YEARS: "YEARS";
2706
- };
2707
- /**
2708
- * @public
2709
- */
2710
- export type LifecyclePolicyTimeUnit = (typeof LifecyclePolicyTimeUnit)[keyof typeof LifecyclePolicyTimeUnit];
2711
2322
  /**
2712
2323
  * <p>Defines criteria to exclude AMIs from lifecycle actions based on the last
2713
2324
  * time they were used to launch an instance.</p>
@@ -2776,18 +2387,6 @@ export interface LifecyclePolicyDetailExclusionRules {
2776
2387
  */
2777
2388
  amis?: LifecyclePolicyDetailExclusionRulesAmis | undefined;
2778
2389
  }
2779
- /**
2780
- * @public
2781
- * @enum
2782
- */
2783
- export declare const LifecyclePolicyDetailFilterType: {
2784
- readonly AGE: "AGE";
2785
- readonly COUNT: "COUNT";
2786
- };
2787
- /**
2788
- * @public
2789
- */
2790
- export type LifecyclePolicyDetailFilterType = (typeof LifecyclePolicyDetailFilterType)[keyof typeof LifecyclePolicyDetailFilterType];
2791
2390
  /**
2792
2391
  * <p>Defines filters that the lifecycle policy uses to determine impacted resource.</p>
2793
2392
  * @public
@@ -2879,30 +2478,6 @@ export interface LifecyclePolicyResourceSelection {
2879
2478
  */
2880
2479
  tagMap?: Record<string, string> | undefined;
2881
2480
  }
2882
- /**
2883
- * @public
2884
- * @enum
2885
- */
2886
- export declare const LifecyclePolicyResourceType: {
2887
- readonly AMI_IMAGE: "AMI_IMAGE";
2888
- readonly CONTAINER_IMAGE: "CONTAINER_IMAGE";
2889
- };
2890
- /**
2891
- * @public
2892
- */
2893
- export type LifecyclePolicyResourceType = (typeof LifecyclePolicyResourceType)[keyof typeof LifecyclePolicyResourceType];
2894
- /**
2895
- * @public
2896
- * @enum
2897
- */
2898
- export declare const LifecyclePolicyStatus: {
2899
- readonly DISABLED: "DISABLED";
2900
- readonly ENABLED: "ENABLED";
2901
- };
2902
- /**
2903
- * @public
2904
- */
2905
- export type LifecyclePolicyStatus = (typeof LifecyclePolicyStatus)[keyof typeof LifecyclePolicyStatus];
2906
2481
  /**
2907
2482
  * @public
2908
2483
  */
@@ -2971,19 +2546,6 @@ export interface CreateLifecyclePolicyResponse {
2971
2546
  */
2972
2547
  lifecyclePolicyArn?: string | undefined;
2973
2548
  }
2974
- /**
2975
- * @public
2976
- * @enum
2977
- */
2978
- export declare const WorkflowType: {
2979
- readonly BUILD: "BUILD";
2980
- readonly DISTRIBUTION: "DISTRIBUTION";
2981
- readonly TEST: "TEST";
2982
- };
2983
- /**
2984
- * @public
2985
- */
2986
- export type WorkflowType = (typeof WorkflowType)[keyof typeof WorkflowType];
2987
2549
  /**
2988
2550
  * @public
2989
2551
  */
@@ -3190,19 +2752,6 @@ export interface DeleteComponentResponse {
3190
2752
  */
3191
2753
  componentBuildVersionArn?: string | undefined;
3192
2754
  }
3193
- /**
3194
- * <p>You have attempted to mutate or delete a resource with a dependency that prohibits
3195
- * this action. See the error message for more details.</p>
3196
- * @public
3197
- */
3198
- export declare class ResourceDependencyException extends __BaseException {
3199
- readonly name: "ResourceDependencyException";
3200
- readonly $fault: "client";
3201
- /**
3202
- * @internal
3203
- */
3204
- constructor(opts: __ExceptionOptionType<ResourceDependencyException, __BaseException>);
3205
- }
3206
2755
  /**
3207
2756
  * @public
3208
2757
  */
@@ -3553,18 +3102,6 @@ export interface GetComponentPolicyResponse {
3553
3102
  */
3554
3103
  policy?: string | undefined;
3555
3104
  }
3556
- /**
3557
- * <p>At least one of the resources referenced by your request does not exist.</p>
3558
- * @public
3559
- */
3560
- export declare class ResourceNotFoundException extends __BaseException {
3561
- readonly name: "ResourceNotFoundException";
3562
- readonly $fault: "client";
3563
- /**
3564
- * @internal
3565
- */
3566
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
3567
- }
3568
3105
  /**
3569
3106
  * @public
3570
3107
  */
@@ -3652,18 +3189,6 @@ export interface GetImageRequest {
3652
3189
  */
3653
3190
  imageBuildVersionArn: string | undefined;
3654
3191
  }
3655
- /**
3656
- * @public
3657
- * @enum
3658
- */
3659
- export declare const ImageType: {
3660
- readonly AMI: "AMI";
3661
- readonly DOCKER: "DOCKER";
3662
- };
3663
- /**
3664
- * @public
3665
- */
3666
- export type ImageType = (typeof ImageType)[keyof typeof ImageType];
3667
3192
  /**
3668
3193
  * <p>An image recipe.</p>
3669
3194
  * @public
@@ -3767,20 +3292,6 @@ export interface ImageRecipe {
3767
3292
  */
3768
3293
  amiTags?: Record<string, string> | undefined;
3769
3294
  }
3770
- /**
3771
- * @public
3772
- * @enum
3773
- */
3774
- export declare const ImageSource: {
3775
- readonly AMAZON_MANAGED: "AMAZON_MANAGED";
3776
- readonly AWS_MARKETPLACE: "AWS_MARKETPLACE";
3777
- readonly CUSTOM: "CUSTOM";
3778
- readonly IMPORTED: "IMPORTED";
3779
- };
3780
- /**
3781
- * @public
3782
- */
3783
- export type ImageSource = (typeof ImageSource)[keyof typeof ImageSource];
3784
3295
  /**
3785
3296
  * <p>Details of the infrastructure configuration.</p>
3786
3297
  * @public
@@ -3897,23 +3408,6 @@ export interface OutputResources {
3897
3408
  */
3898
3409
  containers?: Container[] | undefined;
3899
3410
  }
3900
- /**
3901
- * @public
3902
- * @enum
3903
- */
3904
- export declare const ImageScanStatus: {
3905
- readonly ABANDONED: "ABANDONED";
3906
- readonly COLLECTING: "COLLECTING";
3907
- readonly COMPLETED: "COMPLETED";
3908
- readonly FAILED: "FAILED";
3909
- readonly PENDING: "PENDING";
3910
- readonly SCANNING: "SCANNING";
3911
- readonly TIMED_OUT: "TIMED_OUT";
3912
- };
3913
- /**
3914
- * @public
3915
- */
3916
- export type ImageScanStatus = (typeof ImageScanStatus)[keyof typeof ImageScanStatus];
3917
3411
  /**
3918
3412
  * <p>Shows the vulnerability scan status for a specific image, and the reason for that
3919
3413
  * status.</p>
@@ -4457,22 +3951,6 @@ export interface LifecycleExecutionResourcesImpactedSummary {
4457
3951
  */
4458
3952
  hasImpactedResources?: boolean | undefined;
4459
3953
  }
4460
- /**
4461
- * @public
4462
- * @enum
4463
- */
4464
- export declare const LifecycleExecutionStatus: {
4465
- readonly CANCELLED: "CANCELLED";
4466
- readonly CANCELLING: "CANCELLING";
4467
- readonly FAILED: "FAILED";
4468
- readonly IN_PROGRESS: "IN_PROGRESS";
4469
- readonly PENDING: "PENDING";
4470
- readonly SUCCESS: "SUCCESS";
4471
- };
4472
- /**
4473
- * @public
4474
- */
4475
- export type LifecycleExecutionStatus = (typeof LifecycleExecutionStatus)[keyof typeof LifecycleExecutionStatus];
4476
3954
  /**
4477
3955
  * <p>The current state of the runtime instance of the lifecycle policy.</p>
4478
3956
  * @public
@@ -4626,18 +4104,6 @@ export interface GetLifecyclePolicyResponse {
4626
4104
  */
4627
4105
  lifecyclePolicy?: LifecyclePolicy | undefined;
4628
4106
  }
4629
- /**
4630
- * @public
4631
- * @enum
4632
- */
4633
- export declare const MarketplaceResourceType: {
4634
- readonly COMPONENT_ARTIFACT: "COMPONENT_ARTIFACT";
4635
- readonly COMPONENT_DATA: "COMPONENT_DATA";
4636
- };
4637
- /**
4638
- * @public
4639
- */
4640
- export type MarketplaceResourceType = (typeof MarketplaceResourceType)[keyof typeof MarketplaceResourceType];
4641
4107
  /**
4642
4108
  * @public
4643
4109
  */
@@ -4716,17 +4182,6 @@ export interface WorkflowParameterDetail {
4716
4182
  */
4717
4183
  description?: string | undefined;
4718
4184
  }
4719
- /**
4720
- * @public
4721
- * @enum
4722
- */
4723
- export declare const WorkflowStatus: {
4724
- readonly DEPRECATED: "DEPRECATED";
4725
- };
4726
- /**
4727
- * @public
4728
- */
4729
- export type WorkflowStatus = (typeof WorkflowStatus)[keyof typeof WorkflowStatus];
4730
4185
  /**
4731
4186
  * <p>A group of fields that describe the current status of workflow.</p>
4732
4187
  * @public
@@ -4842,24 +4297,6 @@ export interface GetWorkflowExecutionRequest {
4842
4297
  */
4843
4298
  workflowExecutionId: string | undefined;
4844
4299
  }
4845
- /**
4846
- * @public
4847
- * @enum
4848
- */
4849
- export declare const WorkflowExecutionStatus: {
4850
- readonly CANCELLED: "CANCELLED";
4851
- readonly COMPLETED: "COMPLETED";
4852
- readonly FAILED: "FAILED";
4853
- readonly PENDING: "PENDING";
4854
- readonly ROLLBACK_COMPLETED: "ROLLBACK_COMPLETED";
4855
- readonly ROLLBACK_IN_PROGRESS: "ROLLBACK_IN_PROGRESS";
4856
- readonly RUNNING: "RUNNING";
4857
- readonly SKIPPED: "SKIPPED";
4858
- };
4859
- /**
4860
- * @public
4861
- */
4862
- export type WorkflowExecutionStatus = (typeof WorkflowExecutionStatus)[keyof typeof WorkflowExecutionStatus];
4863
4300
  /**
4864
4301
  * @public
4865
4302
  */
@@ -4955,36 +4392,6 @@ export interface GetWorkflowStepExecutionRequest {
4955
4392
  */
4956
4393
  stepExecutionId: string | undefined;
4957
4394
  }
4958
- /**
4959
- * @public
4960
- * @enum
4961
- */
4962
- export declare const WorkflowStepExecutionRollbackStatus: {
4963
- readonly COMPLETED: "COMPLETED";
4964
- readonly FAILED: "FAILED";
4965
- readonly RUNNING: "RUNNING";
4966
- readonly SKIPPED: "SKIPPED";
4967
- };
4968
- /**
4969
- * @public
4970
- */
4971
- export type WorkflowStepExecutionRollbackStatus = (typeof WorkflowStepExecutionRollbackStatus)[keyof typeof WorkflowStepExecutionRollbackStatus];
4972
- /**
4973
- * @public
4974
- * @enum
4975
- */
4976
- export declare const WorkflowStepExecutionStatus: {
4977
- readonly CANCELLED: "CANCELLED";
4978
- readonly COMPLETED: "COMPLETED";
4979
- readonly FAILED: "FAILED";
4980
- readonly PENDING: "PENDING";
4981
- readonly RUNNING: "RUNNING";
4982
- readonly SKIPPED: "SKIPPED";
4983
- };
4984
- /**
4985
- * @public
4986
- */
4987
- export type WorkflowStepExecutionStatus = (typeof WorkflowStepExecutionStatus)[keyof typeof WorkflowStepExecutionStatus];
4988
4395
  /**
4989
4396
  * @public
4990
4397
  */
@@ -5373,18 +4780,6 @@ export interface ImportVmImageResponse {
5373
4780
  */
5374
4781
  clientToken?: string | undefined;
5375
4782
  }
5376
- /**
5377
- * <p>You have provided an invalid pagination token in your request.</p>
5378
- * @public
5379
- */
5380
- export declare class InvalidPaginationTokenException extends __BaseException {
5381
- readonly name: "InvalidPaginationTokenException";
5382
- readonly $fault: "client";
5383
- /**
5384
- * @internal
5385
- */
5386
- constructor(opts: __ExceptionOptionType<InvalidPaginationTokenException, __BaseException>);
5387
- }
5388
4783
  /**
5389
4784
  * @public
5390
4785
  */
@@ -5429,21 +4824,6 @@ export interface ListComponentBuildVersionsResponse {
5429
4824
  */
5430
4825
  nextToken?: string | undefined;
5431
4826
  }
5432
- /**
5433
- * @public
5434
- * @enum
5435
- */
5436
- export declare const Ownership: {
5437
- readonly AMAZON: "Amazon";
5438
- readonly AWS_MARKETPLACE: "AWSMarketplace";
5439
- readonly SELF: "Self";
5440
- readonly SHARED: "Shared";
5441
- readonly THIRDPARTY: "ThirdParty";
5442
- };
5443
- /**
5444
- * @public
5445
- */
5446
- export type Ownership = (typeof Ownership)[keyof typeof Ownership];
5447
4827
  /**
5448
4828
  * @public
5449
4829
  */
@@ -6938,20 +6318,6 @@ export interface ListLifecycleExecutionResourcesRequest {
6938
6318
  */
6939
6319
  nextToken?: string | undefined;
6940
6320
  }
6941
- /**
6942
- * @public
6943
- * @enum
6944
- */
6945
- export declare const LifecycleExecutionResourceActionName: {
6946
- readonly AVAILABLE: "AVAILABLE";
6947
- readonly DELETE: "DELETE";
6948
- readonly DEPRECATE: "DEPRECATE";
6949
- readonly DISABLE: "DISABLE";
6950
- };
6951
- /**
6952
- * @public
6953
- */
6954
- export type LifecycleExecutionResourceActionName = (typeof LifecycleExecutionResourceActionName)[keyof typeof LifecycleExecutionResourceActionName];
6955
6321
  /**
6956
6322
  * <p>The lifecycle policy action that was identified for the impacted resource.</p>
6957
6323
  * @public
@@ -6968,20 +6334,6 @@ export interface LifecycleExecutionResourceAction {
6968
6334
  */
6969
6335
  reason?: string | undefined;
6970
6336
  }
6971
- /**
6972
- * @public
6973
- * @enum
6974
- */
6975
- export declare const LifecycleExecutionResourceStatus: {
6976
- readonly FAILED: "FAILED";
6977
- readonly IN_PROGRESS: "IN_PROGRESS";
6978
- readonly SKIPPED: "SKIPPED";
6979
- readonly SUCCESS: "SUCCESS";
6980
- };
6981
- /**
6982
- * @public
6983
- */
6984
- export type LifecycleExecutionResourceStatus = (typeof LifecycleExecutionResourceStatus)[keyof typeof LifecycleExecutionResourceStatus];
6985
6337
  /**
6986
6338
  * <p>Contains the state of an impacted resource that the runtime instance
6987
6339
  * of the lifecycle policy identified for action.</p>
@@ -7246,19 +6598,6 @@ export interface ListLifecyclePoliciesResponse {
7246
6598
  */
7247
6599
  nextToken?: string | undefined;
7248
6600
  }
7249
- /**
7250
- * <p>The specified parameter is invalid. Review the available parameters for the API
7251
- * request.</p>
7252
- * @public
7253
- */
7254
- export declare class InvalidParameterException extends __BaseException {
7255
- readonly name: "InvalidParameterException";
7256
- readonly $fault: "client";
7257
- /**
7258
- * @internal
7259
- */
7260
- constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
7261
- }
7262
6601
  /**
7263
6602
  * @public
7264
6603
  */
@@ -7796,18 +7135,6 @@ export interface ListWorkflowStepExecutionsResponse {
7796
7135
  */
7797
7136
  nextToken?: string | undefined;
7798
7137
  }
7799
- /**
7800
- * <p>The value that you provided for the specified parameter is invalid.</p>
7801
- * @public
7802
- */
7803
- export declare class InvalidParameterValueException extends __BaseException {
7804
- readonly name: "InvalidParameterValueException";
7805
- readonly $fault: "client";
7806
- /**
7807
- * @internal
7808
- */
7809
- constructor(opts: __ExceptionOptionType<InvalidParameterValueException, __BaseException>);
7810
- }
7811
7138
  /**
7812
7139
  * @public
7813
7140
  */
@@ -7935,18 +7262,6 @@ export interface PutImageRecipePolicyResponse {
7935
7262
  */
7936
7263
  imageRecipeArn?: string | undefined;
7937
7264
  }
7938
- /**
7939
- * @public
7940
- * @enum
7941
- */
7942
- export declare const WorkflowStepActionType: {
7943
- readonly RESUME: "RESUME";
7944
- readonly STOP: "STOP";
7945
- };
7946
- /**
7947
- * @public
7948
- */
7949
- export type WorkflowStepActionType = (typeof WorkflowStepActionType)[keyof typeof WorkflowStepActionType];
7950
7265
  /**
7951
7266
  * @public
7952
7267
  */
@@ -8077,20 +7392,6 @@ export interface ResourceStateUpdateIncludeResources {
8077
7392
  */
8078
7393
  containers?: boolean | undefined;
8079
7394
  }
8080
- /**
8081
- * @public
8082
- * @enum
8083
- */
8084
- export declare const ResourceStatus: {
8085
- readonly AVAILABLE: "AVAILABLE";
8086
- readonly DELETED: "DELETED";
8087
- readonly DEPRECATED: "DEPRECATED";
8088
- readonly DISABLED: "DISABLED";
8089
- };
8090
- /**
8091
- * @public
8092
- */
8093
- export type ResourceStatus = (typeof ResourceStatus)[keyof typeof ResourceStatus];
8094
7395
  /**
8095
7396
  * <p>The current state of an impacted resource.</p>
8096
7397
  * @public
@@ -8361,3 +7662,192 @@ export interface UpdateImagePipelineResponse {
8361
7662
  */
8362
7663
  imagePipelineArn?: string | undefined;
8363
7664
  }
7665
+ /**
7666
+ * @public
7667
+ */
7668
+ export interface UpdateInfrastructureConfigurationRequest {
7669
+ /**
7670
+ * <p>The Amazon Resource Name (ARN) of the infrastructure configuration that you want to
7671
+ * update.</p>
7672
+ * @public
7673
+ */
7674
+ infrastructureConfigurationArn: string | undefined;
7675
+ /**
7676
+ * <p>The description of the infrastructure configuration.</p>
7677
+ * @public
7678
+ */
7679
+ description?: string | undefined;
7680
+ /**
7681
+ * <p>The instance types of the infrastructure configuration. You can specify one or more
7682
+ * instance types to use for this build. The service will pick one of these instance types
7683
+ * based on availability.</p>
7684
+ * @public
7685
+ */
7686
+ instanceTypes?: string[] | undefined;
7687
+ /**
7688
+ * <p>The instance profile to associate with the instance used to customize your Amazon EC2
7689
+ * AMI.</p>
7690
+ * @public
7691
+ */
7692
+ instanceProfileName: string | undefined;
7693
+ /**
7694
+ * <p>The security group IDs to associate with the instance used to customize your Amazon EC2
7695
+ * AMI.</p>
7696
+ * @public
7697
+ */
7698
+ securityGroupIds?: string[] | undefined;
7699
+ /**
7700
+ * <p>The subnet ID to place the instance used to customize your Amazon EC2 AMI in.</p>
7701
+ * @public
7702
+ */
7703
+ subnetId?: string | undefined;
7704
+ /**
7705
+ * <p>The logging configuration of the infrastructure configuration.</p>
7706
+ * @public
7707
+ */
7708
+ logging?: Logging | undefined;
7709
+ /**
7710
+ * <p>The key pair of the infrastructure configuration. You can use this to log on to and
7711
+ * debug the instance used to create your image.</p>
7712
+ * @public
7713
+ */
7714
+ keyPair?: string | undefined;
7715
+ /**
7716
+ * <p>The terminate instance on failure setting of the infrastructure configuration. Set to
7717
+ * false if you want Image Builder to retain the instance used to configure your AMI if the build or
7718
+ * test phase of your workflow fails.</p>
7719
+ * @public
7720
+ */
7721
+ terminateInstanceOnFailure?: boolean | undefined;
7722
+ /**
7723
+ * <p>The Amazon Resource Name (ARN) for the SNS topic to which we send image build event
7724
+ * notifications.</p>
7725
+ * <note>
7726
+ * <p>EC2 Image Builder is unable to send notifications to SNS topics that are encrypted using keys
7727
+ * from other accounts. The key that is used to encrypt the SNS topic must reside in the
7728
+ * account that the Image Builder service runs under.</p>
7729
+ * </note>
7730
+ * @public
7731
+ */
7732
+ snsTopicArn?: string | undefined;
7733
+ /**
7734
+ * <p>The tags attached to the resource created by Image Builder.</p>
7735
+ * @public
7736
+ */
7737
+ resourceTags?: Record<string, string> | undefined;
7738
+ /**
7739
+ * <p>The instance metadata options that you can set for the HTTP requests that pipeline
7740
+ * builds use to launch EC2 build and test instances. For more information about instance
7741
+ * metadata options, see one of the following links:</p>
7742
+ * <ul>
7743
+ * <li>
7744
+ * <p>
7745
+ * <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html">Configure the instance metadata options</a> in the
7746
+ * <i>
7747
+ * <i>Amazon EC2 User Guide</i>
7748
+ * </i> for Linux instances.</p>
7749
+ * </li>
7750
+ * <li>
7751
+ * <p>
7752
+ * <a href="https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/configuring-instance-metadata-options.html">Configure the instance metadata options</a> in the
7753
+ * <i>
7754
+ * <i>Amazon EC2 Windows Guide</i>
7755
+ * </i> for Windows instances.</p>
7756
+ * </li>
7757
+ * </ul>
7758
+ * @public
7759
+ */
7760
+ instanceMetadataOptions?: InstanceMetadataOptions | undefined;
7761
+ /**
7762
+ * <p>The instance placement settings that define where the instances that are launched
7763
+ * from your image will run.</p>
7764
+ * @public
7765
+ */
7766
+ placement?: Placement | undefined;
7767
+ /**
7768
+ * <p>Unique, case-sensitive identifier you provide to ensure
7769
+ * idempotency of the request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency</a>
7770
+ * in the <i>Amazon EC2 API Reference</i>.</p>
7771
+ * @public
7772
+ */
7773
+ clientToken?: string | undefined;
7774
+ }
7775
+ /**
7776
+ * @public
7777
+ */
7778
+ export interface UpdateInfrastructureConfigurationResponse {
7779
+ /**
7780
+ * <p>The request ID that uniquely identifies this request.</p>
7781
+ * @public
7782
+ */
7783
+ requestId?: string | undefined;
7784
+ /**
7785
+ * <p>The client token that uniquely identifies the request.</p>
7786
+ * @public
7787
+ */
7788
+ clientToken?: string | undefined;
7789
+ /**
7790
+ * <p>The Amazon Resource Name (ARN) of the infrastructure configuration that was updated by
7791
+ * this request.</p>
7792
+ * @public
7793
+ */
7794
+ infrastructureConfigurationArn?: string | undefined;
7795
+ }
7796
+ /**
7797
+ * @public
7798
+ */
7799
+ export interface UpdateLifecyclePolicyRequest {
7800
+ /**
7801
+ * <p>The Amazon Resource Name (ARN) of the lifecycle policy resource.</p>
7802
+ * @public
7803
+ */
7804
+ lifecyclePolicyArn: string | undefined;
7805
+ /**
7806
+ * <p>Optional description for the lifecycle policy.</p>
7807
+ * @public
7808
+ */
7809
+ description?: string | undefined;
7810
+ /**
7811
+ * <p>Indicates whether the lifecycle policy resource is enabled.</p>
7812
+ * @public
7813
+ */
7814
+ status?: LifecyclePolicyStatus | undefined;
7815
+ /**
7816
+ * <p>The name or Amazon Resource Name (ARN) of the IAM role that Image Builder uses to update the
7817
+ * lifecycle policy.</p>
7818
+ * @public
7819
+ */
7820
+ executionRole: string | undefined;
7821
+ /**
7822
+ * <p>The type of image resource that the lifecycle policy applies to.</p>
7823
+ * @public
7824
+ */
7825
+ resourceType: LifecyclePolicyResourceType | undefined;
7826
+ /**
7827
+ * <p>The configuration details for a lifecycle policy resource.</p>
7828
+ * @public
7829
+ */
7830
+ policyDetails: LifecyclePolicyDetail[] | undefined;
7831
+ /**
7832
+ * <p>Selection criteria for resources that the lifecycle policy applies to.</p>
7833
+ * @public
7834
+ */
7835
+ resourceSelection: LifecyclePolicyResourceSelection | undefined;
7836
+ /**
7837
+ * <p>Unique, case-sensitive identifier you provide to ensure
7838
+ * idempotency of the request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency</a>
7839
+ * in the <i>Amazon EC2 API Reference</i>.</p>
7840
+ * @public
7841
+ */
7842
+ clientToken?: string | undefined;
7843
+ }
7844
+ /**
7845
+ * @public
7846
+ */
7847
+ export interface UpdateLifecyclePolicyResponse {
7848
+ /**
7849
+ * <p>The ARN of the image lifecycle policy resource that was updated.</p>
7850
+ * @public
7851
+ */
7852
+ lifecyclePolicyArn?: string | undefined;
7853
+ }