cdk-lambda-subminute 2.0.300 → 2.0.301

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/.jsii +3 -3
  2. package/lib/cdk-lambda-subminute.js +3 -3
  3. package/node_modules/aws-sdk/CHANGELOG.md +23 -1
  4. package/node_modules/aws-sdk/README.md +1 -1
  5. package/node_modules/aws-sdk/apis/codecatalyst-2022-09-28.min.json +8 -4
  6. package/node_modules/aws-sdk/apis/dlm-2018-01-12.min.json +108 -15
  7. package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +30 -20
  8. package/node_modules/aws-sdk/apis/fsx-2018-03-01.min.json +3 -0
  9. package/node_modules/aws-sdk/apis/glue-2017-03-31.min.json +259 -101
  10. package/node_modules/aws-sdk/apis/glue-2017-03-31.paginators.json +10 -0
  11. package/node_modules/aws-sdk/apis/imagebuilder-2019-12-02.min.json +724 -151
  12. package/node_modules/aws-sdk/apis/imagebuilder-2019-12-02.paginators.json +18 -0
  13. package/node_modules/aws-sdk/apis/iot-2015-05-28.min.json +60 -50
  14. package/node_modules/aws-sdk/apis/ivs-realtime-2020-07-14.min.json +578 -33
  15. package/node_modules/aws-sdk/apis/ivs-realtime-2020-07-14.paginators.json +15 -0
  16. package/node_modules/aws-sdk/apis/kafka-2018-11-14.min.json +32 -26
  17. package/node_modules/aws-sdk/apis/lambda-2015-03-31.min.json +69 -51
  18. package/node_modules/aws-sdk/apis/macie2-2020-01-01.min.json +52 -12
  19. package/node_modules/aws-sdk/apis/pinpoint-sms-voice-v2-2022-03-31.min.json +1426 -59
  20. package/node_modules/aws-sdk/apis/pinpoint-sms-voice-v2-2022-03-31.paginators.json +54 -0
  21. package/node_modules/aws-sdk/apis/quicksight-2018-04-01.min.json +909 -335
  22. package/node_modules/aws-sdk/apis/quicksight-2018-04-01.paginators.json +6 -0
  23. package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +977 -974
  24. package/node_modules/aws-sdk/apis/ssm-2014-11-06.min.json +161 -146
  25. package/node_modules/aws-sdk/apis/ssm-incidents-2018-05-10.min.json +201 -52
  26. package/node_modules/aws-sdk/apis/ssm-incidents-2018-05-10.paginators.json +6 -0
  27. package/node_modules/aws-sdk/apis/sso-admin-2020-07-20.min.json +1119 -79
  28. package/node_modules/aws-sdk/apis/sso-admin-2020-07-20.paginators.json +52 -0
  29. package/node_modules/aws-sdk/apis/transfer-2018-11-05.min.json +121 -105
  30. package/node_modules/aws-sdk/clients/codecatalyst.d.ts +16 -0
  31. package/node_modules/aws-sdk/clients/dlm.d.ts +151 -23
  32. package/node_modules/aws-sdk/clients/ec2.d.ts +19 -1
  33. package/node_modules/aws-sdk/clients/fsx.d.ts +7 -3
  34. package/node_modules/aws-sdk/clients/glue.d.ts +228 -0
  35. package/node_modules/aws-sdk/clients/imagebuilder.d.ts +776 -60
  36. package/node_modules/aws-sdk/clients/iot.d.ts +23 -6
  37. package/node_modules/aws-sdk/clients/ivsrealtime.d.ts +593 -6
  38. package/node_modules/aws-sdk/clients/kafka.d.ts +13 -0
  39. package/node_modules/aws-sdk/clients/lambda.d.ts +39 -5
  40. package/node_modules/aws-sdk/clients/macie2.d.ts +54 -16
  41. package/node_modules/aws-sdk/clients/mediapackage.d.ts +2 -2
  42. package/node_modules/aws-sdk/clients/pinpointsmsvoicev2.d.ts +1860 -96
  43. package/node_modules/aws-sdk/clients/polly.d.ts +9 -9
  44. package/node_modules/aws-sdk/clients/quicksight.d.ts +537 -20
  45. package/node_modules/aws-sdk/clients/sagemaker.d.ts +12 -2
  46. package/node_modules/aws-sdk/clients/ssm.d.ts +38 -8
  47. package/node_modules/aws-sdk/clients/ssmincidents.d.ts +191 -40
  48. package/node_modules/aws-sdk/clients/ssoadmin.d.ts +1517 -128
  49. package/node_modules/aws-sdk/clients/transfer.d.ts +25 -1
  50. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
  51. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +27 -27
  52. package/node_modules/aws-sdk/dist/aws-sdk.js +324 -271
  53. package/node_modules/aws-sdk/dist/aws-sdk.min.js +69 -69
  54. package/node_modules/aws-sdk/lib/core.js +1 -1
  55. package/node_modules/aws-sdk/lib/dynamodb/document_client.d.ts +1 -1
  56. package/node_modules/aws-sdk/lib/dynamodb/document_client.js +1 -1
  57. package/node_modules/aws-sdk/package.json +1 -1
  58. package/package.json +5 -5
@@ -19,6 +19,14 @@ declare class Imagebuilder extends Service {
19
19
  * CancelImageCreation cancels the creation of Image. This operation can only be used on images in a non-terminal state.
20
20
  */
21
21
  cancelImageCreation(callback?: (err: AWSError, data: Imagebuilder.Types.CancelImageCreationResponse) => void): Request<Imagebuilder.Types.CancelImageCreationResponse, AWSError>;
22
+ /**
23
+ * Cancel a specific image lifecycle policy runtime instance.
24
+ */
25
+ cancelLifecycleExecution(params: Imagebuilder.Types.CancelLifecycleExecutionRequest, callback?: (err: AWSError, data: Imagebuilder.Types.CancelLifecycleExecutionResponse) => void): Request<Imagebuilder.Types.CancelLifecycleExecutionResponse, AWSError>;
26
+ /**
27
+ * Cancel a specific image lifecycle policy runtime instance.
28
+ */
29
+ cancelLifecycleExecution(callback?: (err: AWSError, data: Imagebuilder.Types.CancelLifecycleExecutionResponse) => void): Request<Imagebuilder.Types.CancelLifecycleExecutionResponse, AWSError>;
22
30
  /**
23
31
  * Creates a new component that can be used to build, validate, test, and assess your image. The component is based on a YAML document that you specify using exactly one of the following methods: Inline, using the data property in the request body. A URL that points to a YAML document file stored in Amazon S3, using the uri property in the request body.
24
32
  */
@@ -75,6 +83,14 @@ declare class Imagebuilder extends Service {
75
83
  * Creates a new infrastructure configuration. An infrastructure configuration defines the environment in which your image will be built and tested.
76
84
  */
77
85
  createInfrastructureConfiguration(callback?: (err: AWSError, data: Imagebuilder.Types.CreateInfrastructureConfigurationResponse) => void): Request<Imagebuilder.Types.CreateInfrastructureConfigurationResponse, AWSError>;
86
+ /**
87
+ * Create a lifecycle policy resource.
88
+ */
89
+ createLifecyclePolicy(params: Imagebuilder.Types.CreateLifecyclePolicyRequest, callback?: (err: AWSError, data: Imagebuilder.Types.CreateLifecyclePolicyResponse) => void): Request<Imagebuilder.Types.CreateLifecyclePolicyResponse, AWSError>;
90
+ /**
91
+ * Create a lifecycle policy resource.
92
+ */
93
+ createLifecyclePolicy(callback?: (err: AWSError, data: Imagebuilder.Types.CreateLifecyclePolicyResponse) => void): Request<Imagebuilder.Types.CreateLifecyclePolicyResponse, AWSError>;
78
94
  /**
79
95
  * Deletes a component build version.
80
96
  */
@@ -131,6 +147,14 @@ declare class Imagebuilder extends Service {
131
147
  * Deletes an infrastructure configuration.
132
148
  */
133
149
  deleteInfrastructureConfiguration(callback?: (err: AWSError, data: Imagebuilder.Types.DeleteInfrastructureConfigurationResponse) => void): Request<Imagebuilder.Types.DeleteInfrastructureConfigurationResponse, AWSError>;
150
+ /**
151
+ * Delete the specified lifecycle policy resource.
152
+ */
153
+ deleteLifecyclePolicy(params: Imagebuilder.Types.DeleteLifecyclePolicyRequest, callback?: (err: AWSError, data: Imagebuilder.Types.DeleteLifecyclePolicyResponse) => void): Request<Imagebuilder.Types.DeleteLifecyclePolicyResponse, AWSError>;
154
+ /**
155
+ * Delete the specified lifecycle policy resource.
156
+ */
157
+ deleteLifecyclePolicy(callback?: (err: AWSError, data: Imagebuilder.Types.DeleteLifecyclePolicyResponse) => void): Request<Imagebuilder.Types.DeleteLifecyclePolicyResponse, AWSError>;
134
158
  /**
135
159
  * Gets a component object.
136
160
  */
@@ -219,6 +243,22 @@ declare class Imagebuilder extends Service {
219
243
  * Gets an infrastructure configuration.
220
244
  */
221
245
  getInfrastructureConfiguration(callback?: (err: AWSError, data: Imagebuilder.Types.GetInfrastructureConfigurationResponse) => void): Request<Imagebuilder.Types.GetInfrastructureConfigurationResponse, AWSError>;
246
+ /**
247
+ * Get the runtime information that was logged for a specific runtime instance of the lifecycle policy.
248
+ */
249
+ getLifecycleExecution(params: Imagebuilder.Types.GetLifecycleExecutionRequest, callback?: (err: AWSError, data: Imagebuilder.Types.GetLifecycleExecutionResponse) => void): Request<Imagebuilder.Types.GetLifecycleExecutionResponse, AWSError>;
250
+ /**
251
+ * Get the runtime information that was logged for a specific runtime instance of the lifecycle policy.
252
+ */
253
+ getLifecycleExecution(callback?: (err: AWSError, data: Imagebuilder.Types.GetLifecycleExecutionResponse) => void): Request<Imagebuilder.Types.GetLifecycleExecutionResponse, AWSError>;
254
+ /**
255
+ * Get details for the specified image lifecycle policy.
256
+ */
257
+ getLifecyclePolicy(params: Imagebuilder.Types.GetLifecyclePolicyRequest, callback?: (err: AWSError, data: Imagebuilder.Types.GetLifecyclePolicyResponse) => void): Request<Imagebuilder.Types.GetLifecyclePolicyResponse, AWSError>;
258
+ /**
259
+ * Get details for the specified image lifecycle policy.
260
+ */
261
+ getLifecyclePolicy(callback?: (err: AWSError, data: Imagebuilder.Types.GetLifecyclePolicyResponse) => void): Request<Imagebuilder.Types.GetLifecyclePolicyResponse, AWSError>;
222
262
  /**
223
263
  * Get the runtime information that was logged for a specific runtime instance of the workflow.
224
264
  */
@@ -355,6 +395,30 @@ declare class Imagebuilder extends Service {
355
395
  * Returns a list of infrastructure configurations.
356
396
  */
357
397
  listInfrastructureConfigurations(callback?: (err: AWSError, data: Imagebuilder.Types.ListInfrastructureConfigurationsResponse) => void): Request<Imagebuilder.Types.ListInfrastructureConfigurationsResponse, AWSError>;
398
+ /**
399
+ * List resources that the runtime instance of the image lifecycle identified for lifecycle actions.
400
+ */
401
+ listLifecycleExecutionResources(params: Imagebuilder.Types.ListLifecycleExecutionResourcesRequest, callback?: (err: AWSError, data: Imagebuilder.Types.ListLifecycleExecutionResourcesResponse) => void): Request<Imagebuilder.Types.ListLifecycleExecutionResourcesResponse, AWSError>;
402
+ /**
403
+ * List resources that the runtime instance of the image lifecycle identified for lifecycle actions.
404
+ */
405
+ listLifecycleExecutionResources(callback?: (err: AWSError, data: Imagebuilder.Types.ListLifecycleExecutionResourcesResponse) => void): Request<Imagebuilder.Types.ListLifecycleExecutionResourcesResponse, AWSError>;
406
+ /**
407
+ * Get the lifecycle runtime history for the specified resource.
408
+ */
409
+ listLifecycleExecutions(params: Imagebuilder.Types.ListLifecycleExecutionsRequest, callback?: (err: AWSError, data: Imagebuilder.Types.ListLifecycleExecutionsResponse) => void): Request<Imagebuilder.Types.ListLifecycleExecutionsResponse, AWSError>;
410
+ /**
411
+ * Get the lifecycle runtime history for the specified resource.
412
+ */
413
+ listLifecycleExecutions(callback?: (err: AWSError, data: Imagebuilder.Types.ListLifecycleExecutionsResponse) => void): Request<Imagebuilder.Types.ListLifecycleExecutionsResponse, AWSError>;
414
+ /**
415
+ * Get a list of lifecycle policies in your Amazon Web Services account.
416
+ */
417
+ listLifecyclePolicies(params: Imagebuilder.Types.ListLifecyclePoliciesRequest, callback?: (err: AWSError, data: Imagebuilder.Types.ListLifecyclePoliciesResponse) => void): Request<Imagebuilder.Types.ListLifecyclePoliciesResponse, AWSError>;
418
+ /**
419
+ * Get a list of lifecycle policies in your Amazon Web Services account.
420
+ */
421
+ listLifecyclePolicies(callback?: (err: AWSError, data: Imagebuilder.Types.ListLifecyclePoliciesResponse) => void): Request<Imagebuilder.Types.ListLifecyclePoliciesResponse, AWSError>;
358
422
  /**
359
423
  * Returns the list of tags for the specified resource.
360
424
  */
@@ -419,6 +483,14 @@ declare class Imagebuilder extends Service {
419
483
  * Manually triggers a pipeline to create an image.
420
484
  */
421
485
  startImagePipelineExecution(callback?: (err: AWSError, data: Imagebuilder.Types.StartImagePipelineExecutionResponse) => void): Request<Imagebuilder.Types.StartImagePipelineExecutionResponse, AWSError>;
486
+ /**
487
+ * Begin asynchronous resource state update for lifecycle changes to the specified image resources.
488
+ */
489
+ startResourceStateUpdate(params: Imagebuilder.Types.StartResourceStateUpdateRequest, callback?: (err: AWSError, data: Imagebuilder.Types.StartResourceStateUpdateResponse) => void): Request<Imagebuilder.Types.StartResourceStateUpdateResponse, AWSError>;
490
+ /**
491
+ * Begin asynchronous resource state update for lifecycle changes to the specified image resources.
492
+ */
493
+ startResourceStateUpdate(callback?: (err: AWSError, data: Imagebuilder.Types.StartResourceStateUpdateResponse) => void): Request<Imagebuilder.Types.StartResourceStateUpdateResponse, AWSError>;
422
494
  /**
423
495
  * Adds a tag to a resource.
424
496
  */
@@ -459,6 +531,14 @@ declare class Imagebuilder extends Service {
459
531
  * Updates a new infrastructure configuration. An infrastructure configuration defines the environment in which your image will be built and tested.
460
532
  */
461
533
  updateInfrastructureConfiguration(callback?: (err: AWSError, data: Imagebuilder.Types.UpdateInfrastructureConfigurationResponse) => void): Request<Imagebuilder.Types.UpdateInfrastructureConfigurationResponse, AWSError>;
534
+ /**
535
+ * Update the specified lifecycle policy.
536
+ */
537
+ updateLifecyclePolicy(params: Imagebuilder.Types.UpdateLifecyclePolicyRequest, callback?: (err: AWSError, data: Imagebuilder.Types.UpdateLifecyclePolicyResponse) => void): Request<Imagebuilder.Types.UpdateLifecyclePolicyResponse, AWSError>;
538
+ /**
539
+ * Update the specified lifecycle policy.
540
+ */
541
+ updateLifecyclePolicy(callback?: (err: AWSError, data: Imagebuilder.Types.UpdateLifecyclePolicyResponse) => void): Request<Imagebuilder.Types.UpdateLifecyclePolicyResponse, AWSError>;
462
542
  }
463
543
  declare namespace Imagebuilder {
464
544
  export interface AccountAggregation {
@@ -553,7 +633,7 @@ declare namespace Imagebuilder {
553
633
  */
554
634
  requestId?: NonEmptyString;
555
635
  /**
556
- * The idempotency token that was used for this request.
636
+ * The client token that uniquely identifies the request.
557
637
  */
558
638
  clientToken?: ClientToken;
559
639
  /**
@@ -561,6 +641,22 @@ declare namespace Imagebuilder {
561
641
  */
562
642
  imageBuildVersionArn?: ImageBuildVersionArn;
563
643
  }
644
+ export interface CancelLifecycleExecutionRequest {
645
+ /**
646
+ * Identifies the specific runtime instance of the image lifecycle to cancel.
647
+ */
648
+ lifecycleExecutionId: LifecycleExecutionId;
649
+ /**
650
+ * Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
651
+ */
652
+ clientToken: ClientToken;
653
+ }
654
+ export interface CancelLifecycleExecutionResponse {
655
+ /**
656
+ * The unique identifier for the image lifecycle runtime instance that was canceled.
657
+ */
658
+ lifecycleExecutionId?: LifecycleExecutionId;
659
+ }
564
660
  export type ClientToken = string;
565
661
  export interface Component {
566
662
  /**
@@ -972,7 +1068,7 @@ declare namespace Imagebuilder {
972
1068
  */
973
1069
  tags?: TagMap;
974
1070
  /**
975
- * The idempotency token of the component.
1071
+ * Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
976
1072
  */
977
1073
  clientToken: ClientToken;
978
1074
  }
@@ -982,11 +1078,11 @@ declare namespace Imagebuilder {
982
1078
  */
983
1079
  requestId?: NonEmptyString;
984
1080
  /**
985
- * The idempotency token used to make this request idempotent.
1081
+ * The client token that uniquely identifies the request.
986
1082
  */
987
1083
  clientToken?: ClientToken;
988
1084
  /**
989
- * The Amazon Resource Name (ARN) of the component that this request created.
1085
+ * The Amazon Resource Name (ARN) of the component that the request created.
990
1086
  */
991
1087
  componentBuildVersionArn?: ComponentBuildVersionArn;
992
1088
  }
@@ -1052,7 +1148,7 @@ declare namespace Imagebuilder {
1052
1148
  */
1053
1149
  kmsKeyId?: NonEmptyString;
1054
1150
  /**
1055
- * The client token used to make this request idempotent.
1151
+ * Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
1056
1152
  */
1057
1153
  clientToken: ClientToken;
1058
1154
  }
@@ -1062,7 +1158,7 @@ declare namespace Imagebuilder {
1062
1158
  */
1063
1159
  requestId?: NonEmptyString;
1064
1160
  /**
1065
- * The client token used to make this request idempotent.
1161
+ * The client token that uniquely identifies the request.
1066
1162
  */
1067
1163
  clientToken?: ClientToken;
1068
1164
  /**
@@ -1088,7 +1184,7 @@ declare namespace Imagebuilder {
1088
1184
  */
1089
1185
  tags?: TagMap;
1090
1186
  /**
1091
- * The idempotency token of the distribution configuration.
1187
+ * Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
1092
1188
  */
1093
1189
  clientToken: ClientToken;
1094
1190
  }
@@ -1098,7 +1194,7 @@ declare namespace Imagebuilder {
1098
1194
  */
1099
1195
  requestId?: NonEmptyString;
1100
1196
  /**
1101
- * The idempotency token used to make this request idempotent.
1197
+ * The client token that uniquely identifies the request.
1102
1198
  */
1103
1199
  clientToken?: ClientToken;
1104
1200
  /**
@@ -1152,7 +1248,7 @@ declare namespace Imagebuilder {
1152
1248
  */
1153
1249
  tags?: TagMap;
1154
1250
  /**
1155
- * The idempotency token used to make this request idempotent.
1251
+ * Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
1156
1252
  */
1157
1253
  clientToken: ClientToken;
1158
1254
  /**
@@ -1166,7 +1262,7 @@ declare namespace Imagebuilder {
1166
1262
  */
1167
1263
  requestId?: NonEmptyString;
1168
1264
  /**
1169
- * The idempotency token used to make this request idempotent.
1265
+ * The client token that uniquely identifies the request.
1170
1266
  */
1171
1267
  clientToken?: ClientToken;
1172
1268
  /**
@@ -1212,7 +1308,7 @@ declare namespace Imagebuilder {
1212
1308
  */
1213
1309
  additionalInstanceConfiguration?: AdditionalInstanceConfiguration;
1214
1310
  /**
1215
- * The idempotency token used to make this request idempotent.
1311
+ * Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
1216
1312
  */
1217
1313
  clientToken: ClientToken;
1218
1314
  }
@@ -1222,7 +1318,7 @@ declare namespace Imagebuilder {
1222
1318
  */
1223
1319
  requestId?: NonEmptyString;
1224
1320
  /**
1225
- * The idempotency token used to make this request idempotent.
1321
+ * The client token that uniquely identifies the request.
1226
1322
  */
1227
1323
  clientToken?: ClientToken;
1228
1324
  /**
@@ -1260,7 +1356,7 @@ declare namespace Imagebuilder {
1260
1356
  */
1261
1357
  tags?: TagMap;
1262
1358
  /**
1263
- * The idempotency token used to make this request idempotent.
1359
+ * Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
1264
1360
  */
1265
1361
  clientToken: ClientToken;
1266
1362
  /**
@@ -1274,11 +1370,11 @@ declare namespace Imagebuilder {
1274
1370
  */
1275
1371
  requestId?: NonEmptyString;
1276
1372
  /**
1277
- * The idempotency token used to make this request idempotent.
1373
+ * The client token that uniquely identifies the request.
1278
1374
  */
1279
1375
  clientToken?: ClientToken;
1280
1376
  /**
1281
- * The Amazon Resource Name (ARN) of the image that this request created.
1377
+ * The Amazon Resource Name (ARN) of the image that the request created.
1282
1378
  */
1283
1379
  imageBuildVersionArn?: ImageBuildVersionArn;
1284
1380
  }
@@ -1336,7 +1432,7 @@ declare namespace Imagebuilder {
1336
1432
  */
1337
1433
  tags?: TagMap;
1338
1434
  /**
1339
- * The idempotency token used to make this request idempotent.
1435
+ * Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
1340
1436
  */
1341
1437
  clientToken: ClientToken;
1342
1438
  }
@@ -1346,7 +1442,7 @@ declare namespace Imagebuilder {
1346
1442
  */
1347
1443
  requestId?: NonEmptyString;
1348
1444
  /**
1349
- * The idempotency token used to make this request idempotent.
1445
+ * The client token that uniquely identifies the request.
1350
1446
  */
1351
1447
  clientToken?: ClientToken;
1352
1448
  /**
@@ -1354,6 +1450,54 @@ declare namespace Imagebuilder {
1354
1450
  */
1355
1451
  infrastructureConfigurationArn?: InfrastructureConfigurationArn;
1356
1452
  }
1453
+ export interface CreateLifecyclePolicyRequest {
1454
+ /**
1455
+ * The name of the lifecycle policy to create.
1456
+ */
1457
+ name: ResourceName;
1458
+ /**
1459
+ * Optional description for the lifecycle policy.
1460
+ */
1461
+ description?: NonEmptyString;
1462
+ /**
1463
+ * Indicates whether the lifecycle policy resource is enabled.
1464
+ */
1465
+ status?: LifecyclePolicyStatus;
1466
+ /**
1467
+ * The role name or Amazon Resource Name (ARN) for the IAM role that grants Image Builder access to run lifecycle actions.
1468
+ */
1469
+ executionRole: RoleNameOrArn;
1470
+ /**
1471
+ * The type of Image Builder resource that the lifecycle policy applies to.
1472
+ */
1473
+ resourceType: LifecyclePolicyResourceType;
1474
+ /**
1475
+ * Configuration details for the lifecycle policy rules.
1476
+ */
1477
+ policyDetails: LifecyclePolicyDetails;
1478
+ /**
1479
+ * Selection criteria for the resources that the lifecycle policy applies to.
1480
+ */
1481
+ resourceSelection: LifecyclePolicyResourceSelection;
1482
+ /**
1483
+ * Tags to apply to the lifecycle policy resource.
1484
+ */
1485
+ tags?: TagMap;
1486
+ /**
1487
+ * Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
1488
+ */
1489
+ clientToken: ClientToken;
1490
+ }
1491
+ export interface CreateLifecyclePolicyResponse {
1492
+ /**
1493
+ * The client token that uniquely identifies the request.
1494
+ */
1495
+ clientToken?: ClientToken;
1496
+ /**
1497
+ * The Amazon Resource Name (ARN) of the lifecycle policy that the request created.
1498
+ */
1499
+ lifecyclePolicyArn?: LifecyclePolicyArn;
1500
+ }
1357
1501
  export interface CvssScore {
1358
1502
  /**
1359
1503
  * The CVSS base score.
@@ -1524,6 +1668,18 @@ declare namespace Imagebuilder {
1524
1668
  */
1525
1669
  infrastructureConfigurationArn?: InfrastructureConfigurationArn;
1526
1670
  }
1671
+ export interface DeleteLifecyclePolicyRequest {
1672
+ /**
1673
+ * The Amazon Resource Name (ARN) of the lifecycle policy resource to delete.
1674
+ */
1675
+ lifecyclePolicyArn: LifecyclePolicyArn;
1676
+ }
1677
+ export interface DeleteLifecyclePolicyResponse {
1678
+ /**
1679
+ * The ARN of the lifecycle policy that was deleted.
1680
+ */
1681
+ lifecyclePolicyArn?: LifecyclePolicyArn;
1682
+ }
1527
1683
  export type DiskImageFormat = "VMDK"|"RAW"|"VHD"|string;
1528
1684
  export interface Distribution {
1529
1685
  /**
@@ -1906,6 +2062,30 @@ declare namespace Imagebuilder {
1906
2062
  */
1907
2063
  infrastructureConfiguration?: InfrastructureConfiguration;
1908
2064
  }
2065
+ export interface GetLifecycleExecutionRequest {
2066
+ /**
2067
+ * Use the unique identifier for a runtime instance of the lifecycle policy to get runtime details.
2068
+ */
2069
+ lifecycleExecutionId: LifecycleExecutionId;
2070
+ }
2071
+ export interface GetLifecycleExecutionResponse {
2072
+ /**
2073
+ * Runtime details for the specified runtime instance of the lifecycle policy.
2074
+ */
2075
+ lifecycleExecution?: LifecycleExecution;
2076
+ }
2077
+ export interface GetLifecyclePolicyRequest {
2078
+ /**
2079
+ * Specifies the Amazon Resource Name (ARN) of the image lifecycle policy resource to get.
2080
+ */
2081
+ lifecyclePolicyArn: LifecyclePolicyArn;
2082
+ }
2083
+ export interface GetLifecyclePolicyResponse {
2084
+ /**
2085
+ * The ARN of the image lifecycle policy resource that was returned.
2086
+ */
2087
+ lifecyclePolicy?: LifecyclePolicy;
2088
+ }
1909
2089
  export interface GetWorkflowExecutionRequest {
1910
2090
  /**
1911
2091
  * Use the unique identifier for a runtime instance of the workflow to get runtime details.
@@ -2133,6 +2313,14 @@ declare namespace Imagebuilder {
2133
2313
  * Contains settings for vulnerability scans.
2134
2314
  */
2135
2315
  imageScanningConfiguration?: ImageScanningConfiguration;
2316
+ /**
2317
+ * The time when deprecation occurs for an image resource. This can be a past or future date.
2318
+ */
2319
+ deprecationTime?: DateTimeTimestamp;
2320
+ /**
2321
+ * Identifies the last runtime instance of the lifecycle policy to take action on the image.
2322
+ */
2323
+ lifecycleExecutionId?: LifecycleExecutionId;
2136
2324
  }
2137
2325
  export interface ImageAggregation {
2138
2326
  /**
@@ -2456,7 +2644,7 @@ declare namespace Imagebuilder {
2456
2644
  */
2457
2645
  reason?: NonEmptyString;
2458
2646
  }
2459
- export type ImageStatus = "PENDING"|"CREATING"|"BUILDING"|"TESTING"|"DISTRIBUTING"|"INTEGRATING"|"AVAILABLE"|"CANCELLED"|"FAILED"|"DEPRECATED"|"DELETED"|string;
2647
+ export type ImageStatus = "PENDING"|"CREATING"|"BUILDING"|"TESTING"|"DISTRIBUTING"|"INTEGRATING"|"AVAILABLE"|"CANCELLED"|"FAILED"|"DEPRECATED"|"DELETED"|"DISABLED"|string;
2460
2648
  export interface ImageSummary {
2461
2649
  /**
2462
2650
  * The Amazon Resource Name (ARN) of the image.
@@ -2510,6 +2698,14 @@ declare namespace Imagebuilder {
2510
2698
  * The origin of the base image that Image Builder used to build this image.
2511
2699
  */
2512
2700
  imageSource?: ImageSource;
2701
+ /**
2702
+ * The time when deprecation occurs for an image resource. This can be a past or future date.
2703
+ */
2704
+ deprecationTime?: DateTimeTimestamp;
2705
+ /**
2706
+ * Identifies the last runtime instance of the lifecycle policy to take action on the image.
2707
+ */
2708
+ lifecycleExecutionId?: LifecycleExecutionId;
2513
2709
  }
2514
2710
  export type ImageSummaryList = ImageSummary[];
2515
2711
  export interface ImageTestsConfiguration {
@@ -2615,7 +2811,7 @@ declare namespace Imagebuilder {
2615
2811
  */
2616
2812
  tags?: TagMap;
2617
2813
  /**
2618
- * The idempotency token of the component.
2814
+ * Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
2619
2815
  */
2620
2816
  clientToken: ClientToken;
2621
2817
  }
@@ -2625,7 +2821,7 @@ declare namespace Imagebuilder {
2625
2821
  */
2626
2822
  requestId?: NonEmptyString;
2627
2823
  /**
2628
- * The idempotency token used to make this request idempotent.
2824
+ * The client token that uniquely identifies the request.
2629
2825
  */
2630
2826
  clientToken?: ClientToken;
2631
2827
  /**
@@ -2677,7 +2873,7 @@ declare namespace Imagebuilder {
2677
2873
  */
2678
2874
  imageArn?: Arn;
2679
2875
  /**
2680
- * The idempotency token that was used for this request.
2876
+ * The client token that uniquely identifies the request.
2681
2877
  */
2682
2878
  clientToken?: ClientToken;
2683
2879
  }
@@ -2873,6 +3069,337 @@ declare namespace Imagebuilder {
2873
3069
  export type LaunchTemplateId = string;
2874
3070
  export type LicenseConfigurationArn = string;
2875
3071
  export type LicenseConfigurationArnList = LicenseConfigurationArn[];
3072
+ export interface LifecycleExecution {
3073
+ /**
3074
+ * Identifies the lifecycle policy runtime instance.
3075
+ */
3076
+ lifecycleExecutionId?: LifecycleExecutionId;
3077
+ /**
3078
+ * The Amazon Resource Name (ARN) of the lifecycle policy that ran.
3079
+ */
3080
+ lifecyclePolicyArn?: LifecyclePolicyArn;
3081
+ /**
3082
+ * Contains information about associated resources that are identified for action by the runtime instance of the lifecycle policy.
3083
+ */
3084
+ resourcesImpactedSummary?: LifecycleExecutionResourcesImpactedSummary;
3085
+ /**
3086
+ * Runtime state that reports if the policy action ran successfully, failed, or was skipped.
3087
+ */
3088
+ state?: LifecycleExecutionState;
3089
+ /**
3090
+ * The timestamp when the lifecycle runtime instance started.
3091
+ */
3092
+ startTime?: DateTimeTimestamp;
3093
+ /**
3094
+ * The timestamp when the lifecycle runtime instance completed.
3095
+ */
3096
+ endTime?: DateTimeTimestamp;
3097
+ }
3098
+ export type LifecycleExecutionId = string;
3099
+ export interface LifecycleExecutionResource {
3100
+ /**
3101
+ * The account that owns the impacted resource.
3102
+ */
3103
+ accountId?: NonEmptyString;
3104
+ /**
3105
+ * Identifies the impacted resource. The resource ID depends on the type of resource, as follows. Image Builder image resources: Amazon Resource Name (ARN) Distributed AMIs: AMI ID Container images distributed to an ECR repository: image URI or SHA Digest
3106
+ */
3107
+ resourceId?: NonEmptyString;
3108
+ /**
3109
+ * The runtime state for the lifecycle execution.
3110
+ */
3111
+ state?: LifecycleExecutionResourceState;
3112
+ /**
3113
+ * The action to take for the identified resource.
3114
+ */
3115
+ action?: LifecycleExecutionResourceAction;
3116
+ /**
3117
+ * The Amazon Web Services Region where the lifecycle execution resource is stored.
3118
+ */
3119
+ region?: NonEmptyString;
3120
+ /**
3121
+ * A list of associated resource snapshots for the impacted resource if it’s an AMI.
3122
+ */
3123
+ snapshots?: LifecycleExecutionSnapshotResourceList;
3124
+ /**
3125
+ * For an impacted container image, this identifies a list of URIs for associated container images distributed to ECR repositories.
3126
+ */
3127
+ imageUris?: StringList;
3128
+ }
3129
+ export interface LifecycleExecutionResourceAction {
3130
+ /**
3131
+ * The name of the resource that was identified for a lifecycle policy action.
3132
+ */
3133
+ name?: LifecycleExecutionResourceActionName;
3134
+ /**
3135
+ * The reason why the lifecycle policy action is taken.
3136
+ */
3137
+ reason?: NonEmptyString;
3138
+ }
3139
+ export type LifecycleExecutionResourceActionName = "AVAILABLE"|"DELETE"|"DEPRECATE"|"DISABLE"|string;
3140
+ export type LifecycleExecutionResourceList = LifecycleExecutionResource[];
3141
+ export interface LifecycleExecutionResourceState {
3142
+ /**
3143
+ * The runtime status of the lifecycle action taken for the impacted resource.
3144
+ */
3145
+ status?: LifecycleExecutionResourceStatus;
3146
+ /**
3147
+ * Messaging that clarifies the reason for the assigned status.
3148
+ */
3149
+ reason?: NonEmptyString;
3150
+ }
3151
+ export type LifecycleExecutionResourceStatus = "FAILED"|"IN_PROGRESS"|"SKIPPED"|"SUCCESS"|string;
3152
+ export interface LifecycleExecutionResourcesImpactedSummary {
3153
+ /**
3154
+ * Indicates whether an image resource that was identified for a lifecycle action has associated resources that are also impacted.
3155
+ */
3156
+ hasImpactedResources?: Boolean;
3157
+ }
3158
+ export interface LifecycleExecutionSnapshotResource {
3159
+ /**
3160
+ * Identifies the impacted snapshot resource.
3161
+ */
3162
+ snapshotId?: NonEmptyString;
3163
+ /**
3164
+ * The runtime status of the lifecycle action taken for the snapshot.
3165
+ */
3166
+ state?: LifecycleExecutionResourceState;
3167
+ }
3168
+ export type LifecycleExecutionSnapshotResourceList = LifecycleExecutionSnapshotResource[];
3169
+ export interface LifecycleExecutionState {
3170
+ /**
3171
+ * The runtime status of the lifecycle execution.
3172
+ */
3173
+ status?: LifecycleExecutionStatus;
3174
+ /**
3175
+ * The reason for the current status.
3176
+ */
3177
+ reason?: NonEmptyString;
3178
+ }
3179
+ export type LifecycleExecutionStatus = "IN_PROGRESS"|"CANCELLED"|"CANCELLING"|"FAILED"|"SUCCESS"|string;
3180
+ export type LifecycleExecutionsList = LifecycleExecution[];
3181
+ export interface LifecyclePolicy {
3182
+ /**
3183
+ * The Amazon Resource Name (ARN) of the lifecycle policy resource.
3184
+ */
3185
+ arn?: LifecyclePolicyArn;
3186
+ /**
3187
+ * The name of the lifecycle policy.
3188
+ */
3189
+ name?: ResourceName;
3190
+ /**
3191
+ * Optional description for the lifecycle policy.
3192
+ */
3193
+ description?: NonEmptyString;
3194
+ /**
3195
+ * Indicates whether the lifecycle policy resource is enabled.
3196
+ */
3197
+ status?: LifecyclePolicyStatus;
3198
+ /**
3199
+ * The name of the IAM role that Image Builder uses to run the lifecycle policy. This is a custom role that you create.
3200
+ */
3201
+ executionRole?: RoleNameOrArn;
3202
+ /**
3203
+ * The type of resources the lifecycle policy targets.
3204
+ */
3205
+ resourceType?: LifecyclePolicyResourceType;
3206
+ /**
3207
+ * The configuration details for a lifecycle policy resource.
3208
+ */
3209
+ policyDetails?: LifecyclePolicyDetails;
3210
+ /**
3211
+ * Resource selection criteria used to run the lifecycle policy.
3212
+ */
3213
+ resourceSelection?: LifecyclePolicyResourceSelection;
3214
+ /**
3215
+ * The timestamp when Image Builder created the lifecycle policy resource.
3216
+ */
3217
+ dateCreated?: DateTimeTimestamp;
3218
+ /**
3219
+ * The timestamp when Image Builder updated the lifecycle policy resource.
3220
+ */
3221
+ dateUpdated?: DateTimeTimestamp;
3222
+ /**
3223
+ * The timestamp for the last time Image Builder ran the lifecycle policy.
3224
+ */
3225
+ dateLastRun?: DateTimeTimestamp;
3226
+ /**
3227
+ * To help manage your lifecycle policy resources, you can assign your own metadata to each resource in the form of tags. Each tag consists of a key and an optional value, both of which you define.
3228
+ */
3229
+ tags?: TagMap;
3230
+ }
3231
+ export type LifecyclePolicyArn = string;
3232
+ export interface LifecyclePolicyDetail {
3233
+ /**
3234
+ * Configuration details for the policy action.
3235
+ */
3236
+ action: LifecyclePolicyDetailAction;
3237
+ /**
3238
+ * Specifies the resources that the lifecycle policy applies to.
3239
+ */
3240
+ filter: LifecyclePolicyDetailFilter;
3241
+ /**
3242
+ * Additional rules to specify resources that should be exempt from policy actions.
3243
+ */
3244
+ exclusionRules?: LifecyclePolicyDetailExclusionRules;
3245
+ }
3246
+ export interface LifecyclePolicyDetailAction {
3247
+ /**
3248
+ * Specifies the lifecycle action to take.
3249
+ */
3250
+ type: LifecyclePolicyDetailActionType;
3251
+ /**
3252
+ * Specifies the resources that the lifecycle policy applies to.
3253
+ */
3254
+ includeResources?: LifecyclePolicyDetailActionIncludeResources;
3255
+ }
3256
+ export interface LifecyclePolicyDetailActionIncludeResources {
3257
+ /**
3258
+ * Specifies whether the lifecycle action should apply to distributed AMIs.
3259
+ */
3260
+ amis?: Boolean;
3261
+ /**
3262
+ * Specifies whether the lifecycle action should apply to snapshots associated with distributed AMIs.
3263
+ */
3264
+ snapshots?: Boolean;
3265
+ /**
3266
+ * Specifies whether the lifecycle action should apply to distributed containers.
3267
+ */
3268
+ containers?: Boolean;
3269
+ }
3270
+ export type LifecyclePolicyDetailActionType = "DELETE"|"DEPRECATE"|"DISABLE"|string;
3271
+ export interface LifecyclePolicyDetailExclusionRules {
3272
+ /**
3273
+ * Contains a list of tags that Image Builder uses to skip lifecycle actions for AMIs that have them.
3274
+ */
3275
+ tagMap?: TagMap;
3276
+ /**
3277
+ * Lists configuration values that apply to AMIs that Image Builder should exclude from the lifecycle action.
3278
+ */
3279
+ amis?: LifecyclePolicyDetailExclusionRulesAmis;
3280
+ }
3281
+ export interface LifecyclePolicyDetailExclusionRulesAmis {
3282
+ /**
3283
+ * Configures whether public AMIs are excluded from the lifecycle action.
3284
+ */
3285
+ isPublic?: Boolean;
3286
+ /**
3287
+ * Specifies Amazon Web Services accounts whose resources are excluded from the lifecycle action.
3288
+ */
3289
+ regions?: StringList;
3290
+ /**
3291
+ * Specifies configuration details for Image Builder to exclude the most recent resources from lifecycle actions.
3292
+ */
3293
+ sharedAccounts?: AccountList;
3294
+ /**
3295
+ * Configures Amazon Web Services Regions that are excluded from the lifecycle action.
3296
+ */
3297
+ lastLaunched?: LifecyclePolicyDetailExclusionRulesAmisLastLaunched;
3298
+ /**
3299
+ * Lists tags that should be excluded from lifecycle actions for the AMIs that have them.
3300
+ */
3301
+ tagMap?: TagMap;
3302
+ }
3303
+ export interface LifecyclePolicyDetailExclusionRulesAmisLastLaunched {
3304
+ /**
3305
+ * The integer number of units for the time period. For example 6 (months).
3306
+ */
3307
+ value: LifecyclePolicyDetailExclusionRulesAmisLastLaunchedValue;
3308
+ /**
3309
+ * Defines the unit of time that the lifecycle policy uses to calculate elapsed time since the last instance launched from the AMI. For example: days, weeks, months, or years.
3310
+ */
3311
+ unit: LifecyclePolicyTimeUnit;
3312
+ }
3313
+ export type LifecyclePolicyDetailExclusionRulesAmisLastLaunchedValue = number;
3314
+ export interface LifecyclePolicyDetailFilter {
3315
+ /**
3316
+ * Filter resources based on either age or count.
3317
+ */
3318
+ type: LifecyclePolicyDetailFilterType;
3319
+ /**
3320
+ * The number of units for the time period or for the count. For example, a value of 6 might refer to six months or six AMIs. For count-based filters, this value represents the minimum number of resources to keep on hand. If you have fewer resources than this number, the resource is excluded from lifecycle actions.
3321
+ */
3322
+ value: LifecyclePolicyDetailFilterValue;
3323
+ /**
3324
+ * Defines the unit of time that the lifecycle policy uses to determine impacted resources. This is required for age-based rules.
3325
+ */
3326
+ unit?: LifecyclePolicyTimeUnit;
3327
+ /**
3328
+ * For age-based filters, this is the number of resources to keep on hand after the lifecycle DELETE action is applied. Impacted resources are only deleted if you have more than this number of resources. If you have fewer resources than this number, the impacted resource is not deleted.
3329
+ */
3330
+ retainAtLeast?: LifecyclePolicyDetailFilterRetainAtLeast;
3331
+ }
3332
+ export type LifecyclePolicyDetailFilterRetainAtLeast = number;
3333
+ export type LifecyclePolicyDetailFilterType = "AGE"|"COUNT"|string;
3334
+ export type LifecyclePolicyDetailFilterValue = number;
3335
+ export type LifecyclePolicyDetails = LifecyclePolicyDetail[];
3336
+ export interface LifecyclePolicyResourceSelection {
3337
+ /**
3338
+ * A list of recipes that are used as selection criteria for the output images that the lifecycle policy applies to.
3339
+ */
3340
+ recipes?: LifecyclePolicyResourceSelectionRecipes;
3341
+ /**
3342
+ * A list of tags that are used as selection criteria for the resources that the lifecycle policy applies to.
3343
+ */
3344
+ tagMap?: TagMap;
3345
+ }
3346
+ export interface LifecyclePolicyResourceSelectionRecipe {
3347
+ /**
3348
+ * The name of an Image Builder recipe that the lifecycle policy uses for resource selection.
3349
+ */
3350
+ name: ResourceName;
3351
+ /**
3352
+ * The version of the Image Builder recipe specified by the name field.
3353
+ */
3354
+ semanticVersion: VersionNumber;
3355
+ }
3356
+ export type LifecyclePolicyResourceSelectionRecipes = LifecyclePolicyResourceSelectionRecipe[];
3357
+ export type LifecyclePolicyResourceType = "AMI_IMAGE"|"CONTAINER_IMAGE"|string;
3358
+ export type LifecyclePolicyStatus = "DISABLED"|"ENABLED"|string;
3359
+ export interface LifecyclePolicySummary {
3360
+ /**
3361
+ * The Amazon Resource Name (ARN) of the lifecycle policy summary resource.
3362
+ */
3363
+ arn?: LifecyclePolicyArn;
3364
+ /**
3365
+ * The name of the lifecycle policy.
3366
+ */
3367
+ name?: ResourceName;
3368
+ /**
3369
+ * Optional description for the lifecycle policy.
3370
+ */
3371
+ description?: NonEmptyString;
3372
+ /**
3373
+ * The lifecycle policy resource status.
3374
+ */
3375
+ status?: LifecyclePolicyStatus;
3376
+ /**
3377
+ * The name of the IAM role that Image Builder uses to run the lifecycle policy.
3378
+ */
3379
+ executionRole?: RoleNameOrArn;
3380
+ /**
3381
+ * The type of resources the lifecycle policy targets.
3382
+ */
3383
+ resourceType?: LifecyclePolicyResourceType;
3384
+ /**
3385
+ * The timestamp when Image Builder created the lifecycle policy resource.
3386
+ */
3387
+ dateCreated?: DateTimeTimestamp;
3388
+ /**
3389
+ * The timestamp when Image Builder updated the lifecycle policy resource.
3390
+ */
3391
+ dateUpdated?: DateTimeTimestamp;
3392
+ /**
3393
+ * The timestamp for the last time Image Builder ran the lifecycle policy.
3394
+ */
3395
+ dateLastRun?: DateTimeTimestamp;
3396
+ /**
3397
+ * To help manage your lifecycle policy resources, you can assign your own metadata to each resource in the form of tags. Each tag consists of a key and an optional value, both of which you define.
3398
+ */
3399
+ tags?: TagMap;
3400
+ }
3401
+ export type LifecyclePolicySummaryList = LifecyclePolicySummary[];
3402
+ export type LifecyclePolicyTimeUnit = "DAYS"|"WEEKS"|"MONTHS"|"YEARS"|string;
2876
3403
  export interface ListComponentBuildVersionsRequest {
2877
3404
  /**
2878
3405
  * The component version Amazon Resource Name (ARN) whose versions you want to list.
@@ -2883,7 +3410,7 @@ declare namespace Imagebuilder {
2883
3410
  */
2884
3411
  maxResults?: RestrictedInteger;
2885
3412
  /**
2886
- * A token to specify where to start paginating. This is the NextToken from a previously truncated response.
3413
+ * A token to specify where to start paginating. This is the nextToken from a previously truncated response.
2887
3414
  */
2888
3415
  nextToken?: PaginationToken;
2889
3416
  }
@@ -2897,7 +3424,7 @@ declare namespace Imagebuilder {
2897
3424
  */
2898
3425
  componentSummaryList?: ComponentSummaryList;
2899
3426
  /**
2900
- * The next token used for paginated responses. When this field isn't empty, there are additional elements that the service has'ot included in this request. Use this token with the next request to retrieve additional objects.
3427
+ * The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
2901
3428
  */
2902
3429
  nextToken?: PaginationToken;
2903
3430
  }
@@ -2919,7 +3446,7 @@ declare namespace Imagebuilder {
2919
3446
  */
2920
3447
  maxResults?: RestrictedInteger;
2921
3448
  /**
2922
- * A token to specify where to start paginating. This is the NextToken from a previously truncated response.
3449
+ * A token to specify where to start paginating. This is the nextToken from a previously truncated response.
2923
3450
  */
2924
3451
  nextToken?: PaginationToken;
2925
3452
  }
@@ -2933,7 +3460,7 @@ declare namespace Imagebuilder {
2933
3460
  */
2934
3461
  componentVersionList?: ComponentVersionList;
2935
3462
  /**
2936
- * The next token used for paginated responses. When this field isn't empty, there are additional elements that the service has'ot included in this request. Use this token with the next request to retrieve additional objects.
3463
+ * The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
2937
3464
  */
2938
3465
  nextToken?: PaginationToken;
2939
3466
  }
@@ -2951,7 +3478,7 @@ declare namespace Imagebuilder {
2951
3478
  */
2952
3479
  maxResults?: RestrictedInteger;
2953
3480
  /**
2954
- * A token to specify where to start paginating. This is the NextToken from a previously truncated response.
3481
+ * A token to specify where to start paginating. This is the nextToken from a previously truncated response.
2955
3482
  */
2956
3483
  nextToken?: NonEmptyString;
2957
3484
  }
@@ -2965,7 +3492,7 @@ declare namespace Imagebuilder {
2965
3492
  */
2966
3493
  containerRecipeSummaryList?: ContainerRecipeSummaryList;
2967
3494
  /**
2968
- * The next token used for paginated responses. When this field isn't empty, there are additional elements that the service has'ot included in this request. Use this token with the next request to retrieve additional objects.
3495
+ * The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
2969
3496
  */
2970
3497
  nextToken?: NonEmptyString;
2971
3498
  }
@@ -2979,7 +3506,7 @@ declare namespace Imagebuilder {
2979
3506
  */
2980
3507
  maxResults?: RestrictedInteger;
2981
3508
  /**
2982
- * A token to specify where to start paginating. This is the NextToken from a previously truncated response.
3509
+ * A token to specify where to start paginating. This is the nextToken from a previously truncated response.
2983
3510
  */
2984
3511
  nextToken?: PaginationToken;
2985
3512
  }
@@ -2993,7 +3520,7 @@ declare namespace Imagebuilder {
2993
3520
  */
2994
3521
  distributionConfigurationSummaryList?: DistributionConfigurationSummaryList;
2995
3522
  /**
2996
- * The next token used for paginated responses. When this field isn't empty, there are additional elements that the service has'ot included in this request. Use this token with the next request to retrieve additional objects.
3523
+ * The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
2997
3524
  */
2998
3525
  nextToken?: PaginationToken;
2999
3526
  }
@@ -3011,7 +3538,7 @@ declare namespace Imagebuilder {
3011
3538
  */
3012
3539
  maxResults?: RestrictedInteger;
3013
3540
  /**
3014
- * A token to specify where to start paginating. This is the NextToken from a previously truncated response.
3541
+ * A token to specify where to start paginating. This is the nextToken from a previously truncated response.
3015
3542
  */
3016
3543
  nextToken?: PaginationToken;
3017
3544
  }
@@ -3025,7 +3552,7 @@ declare namespace Imagebuilder {
3025
3552
  */
3026
3553
  imageSummaryList?: ImageSummaryList;
3027
3554
  /**
3028
- * The next token used for paginated responses. When this field isn't empty, there are additional elements that the service has'ot included in this request. Use this token with the next request to retrieve additional objects.
3555
+ * The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
3029
3556
  */
3030
3557
  nextToken?: PaginationToken;
3031
3558
  }
@@ -3039,7 +3566,7 @@ declare namespace Imagebuilder {
3039
3566
  */
3040
3567
  maxResults?: RestrictedInteger;
3041
3568
  /**
3042
- * A token to specify where to start paginating. This is the NextToken from a previously truncated response.
3569
+ * A token to specify where to start paginating. This is the nextToken from a previously truncated response.
3043
3570
  */
3044
3571
  nextToken?: PaginationToken;
3045
3572
  }
@@ -3053,7 +3580,7 @@ declare namespace Imagebuilder {
3053
3580
  */
3054
3581
  imagePackageList?: ImagePackageList;
3055
3582
  /**
3056
- * The next token used for paginated responses. When this field isn't empty, there are additional elements that the service has'ot included in this request. Use this token with the next request to retrieve additional objects.
3583
+ * The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
3057
3584
  */
3058
3585
  nextToken?: PaginationToken;
3059
3586
  }
@@ -3071,7 +3598,7 @@ declare namespace Imagebuilder {
3071
3598
  */
3072
3599
  maxResults?: RestrictedInteger;
3073
3600
  /**
3074
- * A token to specify where to start paginating. This is the NextToken from a previously truncated response.
3601
+ * A token to specify where to start paginating. This is the nextToken from a previously truncated response.
3075
3602
  */
3076
3603
  nextToken?: PaginationToken;
3077
3604
  }
@@ -3085,7 +3612,7 @@ declare namespace Imagebuilder {
3085
3612
  */
3086
3613
  imageSummaryList?: ImageSummaryList;
3087
3614
  /**
3088
- * The next token used for paginated responses. When this field isn't empty, there are additional elements that the service has'ot included in this request. Use this token with the next request to retrieve additional objects.
3615
+ * The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
3089
3616
  */
3090
3617
  nextToken?: PaginationToken;
3091
3618
  }
@@ -3099,7 +3626,7 @@ declare namespace Imagebuilder {
3099
3626
  */
3100
3627
  maxResults?: RestrictedInteger;
3101
3628
  /**
3102
- * A token to specify where to start paginating. This is the NextToken from a previously truncated response.
3629
+ * A token to specify where to start paginating. This is the nextToken from a previously truncated response.
3103
3630
  */
3104
3631
  nextToken?: PaginationToken;
3105
3632
  }
@@ -3113,7 +3640,7 @@ declare namespace Imagebuilder {
3113
3640
  */
3114
3641
  imagePipelineList?: ImagePipelineList;
3115
3642
  /**
3116
- * The next token used for paginated responses. When this field isn't empty, there are additional elements that the service has'ot included in this request. Use this token with the next request to retrieve additional objects.
3643
+ * The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
3117
3644
  */
3118
3645
  nextToken?: PaginationToken;
3119
3646
  }
@@ -3131,7 +3658,7 @@ declare namespace Imagebuilder {
3131
3658
  */
3132
3659
  maxResults?: RestrictedInteger;
3133
3660
  /**
3134
- * A token to specify where to start paginating. This is the NextToken from a previously truncated response.
3661
+ * A token to specify where to start paginating. This is the nextToken from a previously truncated response.
3135
3662
  */
3136
3663
  nextToken?: PaginationToken;
3137
3664
  }
@@ -3145,14 +3672,14 @@ declare namespace Imagebuilder {
3145
3672
  */
3146
3673
  imageRecipeSummaryList?: ImageRecipeSummaryList;
3147
3674
  /**
3148
- * The next token used for paginated responses. When this field isn't empty, there are additional elements that the service has'ot included in this request. Use this token with the next request to retrieve additional objects.
3675
+ * The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
3149
3676
  */
3150
3677
  nextToken?: PaginationToken;
3151
3678
  }
3152
3679
  export interface ListImageScanFindingAggregationsRequest {
3153
3680
  filter?: Filter;
3154
3681
  /**
3155
- * A token to specify where to start paginating. This is the NextToken from a previously truncated response.
3682
+ * A token to specify where to start paginating. This is the nextToken from a previously truncated response.
3156
3683
  */
3157
3684
  nextToken?: PaginationToken;
3158
3685
  }
@@ -3170,7 +3697,7 @@ declare namespace Imagebuilder {
3170
3697
  */
3171
3698
  responses?: ImageScanFindingAggregationsList;
3172
3699
  /**
3173
- * The next token used for paginated responses. When this field isn't empty, there are additional elements that the service has'ot included in this request. Use this token with the next request to retrieve additional objects.
3700
+ * The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
3174
3701
  */
3175
3702
  nextToken?: PaginationToken;
3176
3703
  }
@@ -3184,7 +3711,7 @@ declare namespace Imagebuilder {
3184
3711
  */
3185
3712
  maxResults?: RestrictedInteger;
3186
3713
  /**
3187
- * A token to specify where to start paginating. This is the NextToken from a previously truncated response.
3714
+ * A token to specify where to start paginating. This is the nextToken from a previously truncated response.
3188
3715
  */
3189
3716
  nextToken?: PaginationToken;
3190
3717
  }
@@ -3198,7 +3725,7 @@ declare namespace Imagebuilder {
3198
3725
  */
3199
3726
  findings?: ImageScanFindingsList;
3200
3727
  /**
3201
- * The next token used for paginated responses. When this field isn't empty, there are additional elements that the service has'ot included in this request. Use this token with the next request to retrieve additional objects.
3728
+ * The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
3202
3729
  */
3203
3730
  nextToken?: PaginationToken;
3204
3731
  }
@@ -3220,7 +3747,7 @@ declare namespace Imagebuilder {
3220
3747
  */
3221
3748
  maxResults?: RestrictedInteger;
3222
3749
  /**
3223
- * A token to specify where to start paginating. This is the NextToken from a previously truncated response.
3750
+ * A token to specify where to start paginating. This is the nextToken from a previously truncated response.
3224
3751
  */
3225
3752
  nextToken?: PaginationToken;
3226
3753
  /**
@@ -3238,7 +3765,7 @@ declare namespace Imagebuilder {
3238
3765
  */
3239
3766
  imageVersionList?: ImageVersionList;
3240
3767
  /**
3241
- * The next token used for paginated responses. When this field isn't empty, there are additional elements that the service has'ot included in this request. Use this token with the next request to retrieve additional objects.
3768
+ * The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
3242
3769
  */
3243
3770
  nextToken?: PaginationToken;
3244
3771
  }
@@ -3252,7 +3779,7 @@ declare namespace Imagebuilder {
3252
3779
  */
3253
3780
  maxResults?: RestrictedInteger;
3254
3781
  /**
3255
- * A token to specify where to start paginating. This is the NextToken from a previously truncated response.
3782
+ * A token to specify where to start paginating. This is the nextToken from a previously truncated response.
3256
3783
  */
3257
3784
  nextToken?: PaginationToken;
3258
3785
  }
@@ -3266,7 +3793,91 @@ declare namespace Imagebuilder {
3266
3793
  */
3267
3794
  infrastructureConfigurationSummaryList?: InfrastructureConfigurationSummaryList;
3268
3795
  /**
3269
- * The next token used for paginated responses. When this field isn't empty, there are additional elements that the service has'ot included in this request. Use this token with the next request to retrieve additional objects.
3796
+ * The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
3797
+ */
3798
+ nextToken?: PaginationToken;
3799
+ }
3800
+ export interface ListLifecycleExecutionResourcesRequest {
3801
+ /**
3802
+ * Use the unique identifier for a runtime instance of the lifecycle policy to get runtime details.
3803
+ */
3804
+ lifecycleExecutionId: LifecycleExecutionId;
3805
+ /**
3806
+ * You can leave this empty to get a list of Image Builder resources that were identified for lifecycle actions. To get a list of associated resources that are impacted for an individual resource (the parent), specify its Amazon Resource Name (ARN). Associated resources are produced from your image and distributed when you run a build, such as AMIs or container images stored in ECR repositories.
3807
+ */
3808
+ parentResourceId?: NonEmptyString;
3809
+ /**
3810
+ * The maximum items to return in a request.
3811
+ */
3812
+ maxResults?: RestrictedInteger;
3813
+ /**
3814
+ * A token to specify where to start paginating. This is the nextToken from a previously truncated response.
3815
+ */
3816
+ nextToken?: PaginationToken;
3817
+ }
3818
+ export interface ListLifecycleExecutionResourcesResponse {
3819
+ /**
3820
+ * Runtime details for the specified runtime instance of the lifecycle policy.
3821
+ */
3822
+ lifecycleExecutionId?: LifecycleExecutionId;
3823
+ /**
3824
+ * The current state of the lifecycle runtime instance.
3825
+ */
3826
+ lifecycleExecutionState?: LifecycleExecutionState;
3827
+ /**
3828
+ * A list of resources that were identified for lifecycle actions.
3829
+ */
3830
+ resources?: LifecycleExecutionResourceList;
3831
+ /**
3832
+ * The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
3833
+ */
3834
+ nextToken?: PaginationToken;
3835
+ }
3836
+ export interface ListLifecycleExecutionsRequest {
3837
+ /**
3838
+ * The maximum items to return in a request.
3839
+ */
3840
+ maxResults?: RestrictedInteger;
3841
+ /**
3842
+ * A token to specify where to start paginating. This is the nextToken from a previously truncated response.
3843
+ */
3844
+ nextToken?: PaginationToken;
3845
+ /**
3846
+ * The Amazon Resource Name (ARN) of the resource for which to get a list of lifecycle runtime instances.
3847
+ */
3848
+ resourceArn: ImageBuilderArn;
3849
+ }
3850
+ export interface ListLifecycleExecutionsResponse {
3851
+ /**
3852
+ * A list of lifecycle runtime instances for the specified resource.
3853
+ */
3854
+ lifecycleExecutions?: LifecycleExecutionsList;
3855
+ /**
3856
+ * The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
3857
+ */
3858
+ nextToken?: PaginationToken;
3859
+ }
3860
+ export interface ListLifecyclePoliciesRequest {
3861
+ /**
3862
+ * Streamline results based on one of the following values: Name, Status.
3863
+ */
3864
+ filters?: FilterList;
3865
+ /**
3866
+ * The maximum items to return in a request.
3867
+ */
3868
+ maxResults?: RestrictedInteger;
3869
+ /**
3870
+ * A token to specify where to start paginating. This is the nextToken from a previously truncated response.
3871
+ */
3872
+ nextToken?: PaginationToken;
3873
+ }
3874
+ export interface ListLifecyclePoliciesResponse {
3875
+ /**
3876
+ * A list of lifecycle policies in your Amazon Web Services account that meet the criteria specified in the request.
3877
+ */
3878
+ lifecyclePolicySummaryList?: LifecyclePolicySummaryList;
3879
+ /**
3880
+ * The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
3270
3881
  */
3271
3882
  nextToken?: PaginationToken;
3272
3883
  }
@@ -3288,7 +3899,7 @@ declare namespace Imagebuilder {
3288
3899
  */
3289
3900
  maxResults?: RestrictedInteger;
3290
3901
  /**
3291
- * A token to specify where to start paginating. This is the NextToken from a previously truncated response.
3902
+ * A token to specify where to start paginating. This is the nextToken from a previously truncated response.
3292
3903
  */
3293
3904
  nextToken?: PaginationToken;
3294
3905
  /**
@@ -3314,7 +3925,7 @@ declare namespace Imagebuilder {
3314
3925
  */
3315
3926
  message?: ImageBuildMessage;
3316
3927
  /**
3317
- * The next token used for paginated responses. When this field isn't empty, there are additional elements that the service has'ot included in this request. Use this token with the next request to retrieve additional objects.
3928
+ * The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
3318
3929
  */
3319
3930
  nextToken?: PaginationToken;
3320
3931
  }
@@ -3324,7 +3935,7 @@ declare namespace Imagebuilder {
3324
3935
  */
3325
3936
  maxResults?: RestrictedInteger;
3326
3937
  /**
3327
- * A token to specify where to start paginating. This is the NextToken from a previously truncated response.
3938
+ * A token to specify where to start paginating. This is the nextToken from a previously truncated response.
3328
3939
  */
3329
3940
  nextToken?: PaginationToken;
3330
3941
  /**
@@ -3358,7 +3969,7 @@ declare namespace Imagebuilder {
3358
3969
  */
3359
3970
  message?: ImageBuildMessage;
3360
3971
  /**
3361
- * The next token used for paginated responses. When this field isn't empty, there are additional elements that the service has'ot included in this request. Use this token with the next request to retrieve additional objects.
3972
+ * The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
3362
3973
  */
3363
3974
  nextToken?: PaginationToken;
3364
3975
  }
@@ -3537,8 +4148,33 @@ declare namespace Imagebuilder {
3537
4148
  }
3538
4149
  export type ResourceName = string;
3539
4150
  export type ResourcePolicyDocument = string;
4151
+ export interface ResourceState {
4152
+ /**
4153
+ * Shows the current lifecycle policy action that was applied to an impacted resource.
4154
+ */
4155
+ status?: ResourceStatus;
4156
+ }
4157
+ export interface ResourceStateUpdateExclusionRules {
4158
+ amis?: LifecyclePolicyDetailExclusionRulesAmis;
4159
+ }
4160
+ export interface ResourceStateUpdateIncludeResources {
4161
+ /**
4162
+ * Specifies whether the lifecycle action should apply to distributed AMIs
4163
+ */
4164
+ amis?: Boolean;
4165
+ /**
4166
+ * Specifies whether the lifecycle action should apply to snapshots associated with distributed AMIs.
4167
+ */
4168
+ snapshots?: Boolean;
4169
+ /**
4170
+ * Specifies whether the lifecycle action should apply to distributed containers.
4171
+ */
4172
+ containers?: Boolean;
4173
+ }
4174
+ export type ResourceStatus = "AVAILABLE"|"DELETED"|"DEPRECATED"|"DISABLED"|string;
3540
4175
  export type ResourceTagMap = {[key: string]: TagValue};
3541
4176
  export type RestrictedInteger = number;
4177
+ export type RoleNameOrArn = string;
3542
4178
  export interface S3ExportConfiguration {
3543
4179
  /**
3544
4180
  * The name of the role that grants VM Import/Export permission to export images to your S3 bucket.
@@ -3609,7 +4245,7 @@ declare namespace Imagebuilder {
3609
4245
  */
3610
4246
  imagePipelineArn: ImagePipelineArn;
3611
4247
  /**
3612
- * The idempotency token used to make this request idempotent.
4248
+ * Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
3613
4249
  */
3614
4250
  clientToken: ClientToken;
3615
4251
  }
@@ -3619,14 +4255,54 @@ declare namespace Imagebuilder {
3619
4255
  */
3620
4256
  requestId?: NonEmptyString;
3621
4257
  /**
3622
- * The idempotency token used to make this request idempotent.
4258
+ * The client token that uniquely identifies the request.
3623
4259
  */
3624
4260
  clientToken?: ClientToken;
3625
4261
  /**
3626
- * The Amazon Resource Name (ARN) of the image that was created by this request.
4262
+ * The Amazon Resource Name (ARN) of the image that the request created.
3627
4263
  */
3628
4264
  imageBuildVersionArn?: ImageBuildVersionArn;
3629
4265
  }
4266
+ export interface StartResourceStateUpdateRequest {
4267
+ /**
4268
+ * The ARN of the Image Builder resource that is updated. The state update might also impact associated resources.
4269
+ */
4270
+ resourceArn: ImageBuildVersionArn;
4271
+ /**
4272
+ * Indicates the lifecycle action to take for this request.
4273
+ */
4274
+ state: ResourceState;
4275
+ /**
4276
+ * The name or Amazon Resource Name (ARN) of the IAM role that’s used to update image state.
4277
+ */
4278
+ executionRole?: RoleNameOrArn;
4279
+ /**
4280
+ * A list of image resources to update state for.
4281
+ */
4282
+ includeResources?: ResourceStateUpdateIncludeResources;
4283
+ /**
4284
+ * Skip action on the image resource and associated resources if specified exclusion rules are met.
4285
+ */
4286
+ exclusionRules?: ResourceStateUpdateExclusionRules;
4287
+ /**
4288
+ * The timestamp that indicates when resources are updated by a lifecycle action.
4289
+ */
4290
+ updateAt?: DateTimeTimestamp;
4291
+ /**
4292
+ * Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
4293
+ */
4294
+ clientToken: ClientToken;
4295
+ }
4296
+ export interface StartResourceStateUpdateResponse {
4297
+ /**
4298
+ * Identifies the lifecycle runtime instance that started the resource state update.
4299
+ */
4300
+ lifecycleExecutionId?: LifecycleExecutionId;
4301
+ /**
4302
+ * The requested ARN of the Image Builder resource for the asynchronous update.
4303
+ */
4304
+ resourceArn?: ImageBuildVersionArn;
4305
+ }
3630
4306
  export type StringList = NonEmptyString[];
3631
4307
  export interface SystemsManagerAgent {
3632
4308
  /**
@@ -3688,7 +4364,7 @@ declare namespace Imagebuilder {
3688
4364
  */
3689
4365
  distributions: DistributionList;
3690
4366
  /**
3691
- * The idempotency token of the distribution configuration.
4367
+ * Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
3692
4368
  */
3693
4369
  clientToken: ClientToken;
3694
4370
  }
@@ -3698,7 +4374,7 @@ declare namespace Imagebuilder {
3698
4374
  */
3699
4375
  requestId?: NonEmptyString;
3700
4376
  /**
3701
- * The idempotency token used to make this request idempotent.
4377
+ * The client token that uniquely identifies the request.
3702
4378
  */
3703
4379
  clientToken?: ClientToken;
3704
4380
  /**
@@ -3748,7 +4424,7 @@ declare namespace Imagebuilder {
3748
4424
  */
3749
4425
  status?: PipelineStatus;
3750
4426
  /**
3751
- * The idempotency token used to make this request idempotent.
4427
+ * Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
3752
4428
  */
3753
4429
  clientToken: ClientToken;
3754
4430
  /**
@@ -3762,7 +4438,7 @@ declare namespace Imagebuilder {
3762
4438
  */
3763
4439
  requestId?: NonEmptyString;
3764
4440
  /**
3765
- * The idempotency token used to make this request idempotent.
4441
+ * The client token that uniquely identifies the request.
3766
4442
  */
3767
4443
  clientToken?: ClientToken;
3768
4444
  /**
@@ -3812,7 +4488,7 @@ declare namespace Imagebuilder {
3812
4488
  */
3813
4489
  snsTopicArn?: SnsTopicArn;
3814
4490
  /**
3815
- * The idempotency token used to make this request idempotent.
4491
+ * Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
3816
4492
  */
3817
4493
  clientToken: ClientToken;
3818
4494
  /**
@@ -3830,7 +4506,7 @@ declare namespace Imagebuilder {
3830
4506
  */
3831
4507
  requestId?: NonEmptyString;
3832
4508
  /**
3833
- * The idempotency token used to make this request idempotent.
4509
+ * The client token that uniquely identifies the request.
3834
4510
  */
3835
4511
  clientToken?: ClientToken;
3836
4512
  /**
@@ -3838,6 +4514,46 @@ declare namespace Imagebuilder {
3838
4514
  */
3839
4515
  infrastructureConfigurationArn?: InfrastructureConfigurationArn;
3840
4516
  }
4517
+ export interface UpdateLifecyclePolicyRequest {
4518
+ /**
4519
+ * The Amazon Resource Name (ARN) of the lifecycle policy resource.
4520
+ */
4521
+ lifecyclePolicyArn: LifecyclePolicyArn;
4522
+ /**
4523
+ * Optional description for the lifecycle policy.
4524
+ */
4525
+ description?: NonEmptyString;
4526
+ /**
4527
+ * Indicates whether the lifecycle policy resource is enabled.
4528
+ */
4529
+ status?: LifecyclePolicyStatus;
4530
+ /**
4531
+ * The name of the IAM role that Image Builder should use to update the lifecycle policy.
4532
+ */
4533
+ executionRole: RoleNameOrArn;
4534
+ /**
4535
+ * The type of image resource that the lifecycle policy applies to.
4536
+ */
4537
+ resourceType: LifecyclePolicyResourceType;
4538
+ /**
4539
+ * The configuration details for a lifecycle policy resource.
4540
+ */
4541
+ policyDetails: LifecyclePolicyDetails;
4542
+ /**
4543
+ * Selection criteria for resources that the lifecycle policy applies to.
4544
+ */
4545
+ resourceSelection: LifecyclePolicyResourceSelection;
4546
+ /**
4547
+ * Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
4548
+ */
4549
+ clientToken: ClientToken;
4550
+ }
4551
+ export interface UpdateLifecyclePolicyResponse {
4552
+ /**
4553
+ * The ARN of the image lifecycle policy resource that was updated.
4554
+ */
4555
+ lifecyclePolicyArn?: LifecyclePolicyArn;
4556
+ }
3841
4557
  export type Uri = string;
3842
4558
  export type UserDataOverride = string;
3843
4559
  export type VersionNumber = string;