@aws-sdk/client-imagebuilder 3.450.0 → 3.453.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.
- package/README.md +80 -0
- package/dist-cjs/Imagebuilder.js +20 -0
- package/dist-cjs/commands/CancelLifecycleExecutionCommand.js +51 -0
- package/dist-cjs/commands/CreateLifecyclePolicyCommand.js +51 -0
- package/dist-cjs/commands/DeleteLifecyclePolicyCommand.js +51 -0
- package/dist-cjs/commands/GetLifecycleExecutionCommand.js +51 -0
- package/dist-cjs/commands/GetLifecyclePolicyCommand.js +51 -0
- package/dist-cjs/commands/ListLifecycleExecutionResourcesCommand.js +51 -0
- package/dist-cjs/commands/ListLifecycleExecutionsCommand.js +51 -0
- package/dist-cjs/commands/ListLifecyclePoliciesCommand.js +51 -0
- package/dist-cjs/commands/StartResourceStateUpdateCommand.js +51 -0
- package/dist-cjs/commands/UpdateLifecyclePolicyCommand.js +51 -0
- package/dist-cjs/commands/index.js +10 -0
- package/dist-cjs/models/models_0.js +50 -1
- package/dist-cjs/pagination/ListLifecycleExecutionResourcesPaginator.js +29 -0
- package/dist-cjs/pagination/ListLifecycleExecutionsPaginator.js +29 -0
- package/dist-cjs/pagination/ListLifecyclePoliciesPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +3 -0
- package/dist-cjs/protocols/Aws_restJson1.js +907 -15
- package/dist-es/Imagebuilder.js +20 -0
- package/dist-es/commands/CancelLifecycleExecutionCommand.js +47 -0
- package/dist-es/commands/CreateLifecyclePolicyCommand.js +47 -0
- package/dist-es/commands/DeleteLifecyclePolicyCommand.js +47 -0
- package/dist-es/commands/GetLifecycleExecutionCommand.js +47 -0
- package/dist-es/commands/GetLifecyclePolicyCommand.js +47 -0
- package/dist-es/commands/ListLifecycleExecutionResourcesCommand.js +47 -0
- package/dist-es/commands/ListLifecycleExecutionsCommand.js +47 -0
- package/dist-es/commands/ListLifecyclePoliciesCommand.js +47 -0
- package/dist-es/commands/StartResourceStateUpdateCommand.js +47 -0
- package/dist-es/commands/UpdateLifecyclePolicyCommand.js +47 -0
- package/dist-es/commands/index.js +10 -0
- package/dist-es/models/models_0.js +49 -0
- package/dist-es/pagination/ListLifecycleExecutionResourcesPaginator.js +25 -0
- package/dist-es/pagination/ListLifecycleExecutionsPaginator.js +25 -0
- package/dist-es/pagination/ListLifecyclePoliciesPaginator.js +25 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +885 -13
- package/dist-types/Imagebuilder.d.ts +70 -0
- package/dist-types/ImagebuilderClient.d.ts +12 -2
- package/dist-types/commands/CancelLifecycleExecutionCommand.d.ts +103 -0
- package/dist-types/commands/CreateLifecyclePolicyCommand.d.ts +165 -0
- package/dist-types/commands/DeleteLifecyclePolicyCommand.d.ts +98 -0
- package/dist-types/commands/GetImageCommand.d.ts +4 -2
- package/dist-types/commands/GetLifecycleExecutionCommand.d.ts +106 -0
- package/dist-types/commands/GetLifecyclePolicyCommand.d.ts +153 -0
- package/dist-types/commands/ListImageBuildVersionsCommand.d.ts +4 -2
- package/dist-types/commands/ListImagePipelineImagesCommand.d.ts +4 -2
- package/dist-types/commands/ListLifecycleExecutionResourcesCommand.d.ts +132 -0
- package/dist-types/commands/ListLifecycleExecutionsCommand.d.ts +114 -0
- package/dist-types/commands/ListLifecyclePoliciesCommand.d.ts +122 -0
- package/dist-types/commands/StartResourceStateUpdateCommand.d.ts +136 -0
- package/dist-types/commands/UpdateLifecyclePolicyCommand.d.ts +159 -0
- package/dist-types/commands/index.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +1224 -114
- package/dist-types/pagination/ListLifecycleExecutionResourcesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListLifecycleExecutionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListLifecyclePoliciesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +90 -0
- package/dist-types/ts3.4/Imagebuilder.d.ts +170 -0
- package/dist-types/ts3.4/ImagebuilderClient.d.ts +62 -2
- package/dist-types/ts3.4/commands/CancelLifecycleExecutionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateLifecyclePolicyCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteLifecyclePolicyCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetLifecycleExecutionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetLifecyclePolicyCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListLifecycleExecutionResourcesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListLifecycleExecutionsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListLifecyclePoliciesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartResourceStateUpdateCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateLifecyclePolicyCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +10 -0
- package/dist-types/ts3.4/models/models_0.d.ts +283 -0
- package/dist-types/ts3.4/pagination/ListLifecycleExecutionResourcesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListLifecycleExecutionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListLifecyclePoliciesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +120 -0
- package/package.json +35 -35
|
@@ -110,6 +110,7 @@ export declare const ImageStatus: {
|
|
|
110
110
|
readonly CREATING: "CREATING";
|
|
111
111
|
readonly DELETED: "DELETED";
|
|
112
112
|
readonly DEPRECATED: "DEPRECATED";
|
|
113
|
+
readonly DISABLED: "DISABLED";
|
|
113
114
|
readonly DISTRIBUTING: "DISTRIBUTING";
|
|
114
115
|
readonly FAILED: "FAILED";
|
|
115
116
|
readonly INTEGRATING: "INTEGRATING";
|
|
@@ -300,7 +301,7 @@ export interface CancelImageCreationResponse {
|
|
|
300
301
|
requestId?: string;
|
|
301
302
|
/**
|
|
302
303
|
* @public
|
|
303
|
-
* <p>The
|
|
304
|
+
* <p>The client token that uniquely identifies the request.</p>
|
|
304
305
|
*/
|
|
305
306
|
clientToken?: string;
|
|
306
307
|
/**
|
|
@@ -398,6 +399,33 @@ export declare class ServiceUnavailableException extends __BaseException {
|
|
|
398
399
|
*/
|
|
399
400
|
constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
|
|
400
401
|
}
|
|
402
|
+
/**
|
|
403
|
+
* @public
|
|
404
|
+
*/
|
|
405
|
+
export interface CancelLifecycleExecutionRequest {
|
|
406
|
+
/**
|
|
407
|
+
* @public
|
|
408
|
+
* <p>Identifies the specific runtime instance of the image lifecycle to cancel.</p>
|
|
409
|
+
*/
|
|
410
|
+
lifecycleExecutionId: string | undefined;
|
|
411
|
+
/**
|
|
412
|
+
* @public
|
|
413
|
+
* <p>Unique, case-sensitive identifier you provide to ensure
|
|
414
|
+
* 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>
|
|
415
|
+
* in the <i>Amazon EC2 API Reference</i>.</p>
|
|
416
|
+
*/
|
|
417
|
+
clientToken?: string;
|
|
418
|
+
}
|
|
419
|
+
/**
|
|
420
|
+
* @public
|
|
421
|
+
*/
|
|
422
|
+
export interface CancelLifecycleExecutionResponse {
|
|
423
|
+
/**
|
|
424
|
+
* @public
|
|
425
|
+
* <p>The unique identifier for the image lifecycle runtime instance that was canceled.</p>
|
|
426
|
+
*/
|
|
427
|
+
lifecycleExecutionId?: string;
|
|
428
|
+
}
|
|
401
429
|
/**
|
|
402
430
|
* @public
|
|
403
431
|
* <p>Defines a parameter that is used to provide configuration details for the
|
|
@@ -1238,7 +1266,9 @@ export interface CreateComponentRequest {
|
|
|
1238
1266
|
tags?: Record<string, string>;
|
|
1239
1267
|
/**
|
|
1240
1268
|
* @public
|
|
1241
|
-
* <p>
|
|
1269
|
+
* <p>Unique, case-sensitive identifier you provide to ensure
|
|
1270
|
+
* 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>
|
|
1271
|
+
* in the <i>Amazon EC2 API Reference</i>.</p>
|
|
1242
1272
|
*/
|
|
1243
1273
|
clientToken?: string;
|
|
1244
1274
|
}
|
|
@@ -1253,12 +1283,12 @@ export interface CreateComponentResponse {
|
|
|
1253
1283
|
requestId?: string;
|
|
1254
1284
|
/**
|
|
1255
1285
|
* @public
|
|
1256
|
-
* <p>The
|
|
1286
|
+
* <p>The client token that uniquely identifies the request.</p>
|
|
1257
1287
|
*/
|
|
1258
1288
|
clientToken?: string;
|
|
1259
1289
|
/**
|
|
1260
1290
|
* @public
|
|
1261
|
-
* <p>The Amazon Resource Name (ARN) of the component that
|
|
1291
|
+
* <p>The Amazon Resource Name (ARN) of the component that the request created.</p>
|
|
1262
1292
|
*/
|
|
1263
1293
|
componentBuildVersionArn?: string;
|
|
1264
1294
|
}
|
|
@@ -1399,7 +1429,9 @@ export interface CreateContainerRecipeRequest {
|
|
|
1399
1429
|
kmsKeyId?: string;
|
|
1400
1430
|
/**
|
|
1401
1431
|
* @public
|
|
1402
|
-
* <p>
|
|
1432
|
+
* <p>Unique, case-sensitive identifier you provide to ensure
|
|
1433
|
+
* 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>
|
|
1434
|
+
* in the <i>Amazon EC2 API Reference</i>.</p>
|
|
1403
1435
|
*/
|
|
1404
1436
|
clientToken?: string;
|
|
1405
1437
|
}
|
|
@@ -1414,7 +1446,7 @@ export interface CreateContainerRecipeResponse {
|
|
|
1414
1446
|
requestId?: string;
|
|
1415
1447
|
/**
|
|
1416
1448
|
* @public
|
|
1417
|
-
* <p>The client token
|
|
1449
|
+
* <p>The client token that uniquely identifies the request.</p>
|
|
1418
1450
|
*/
|
|
1419
1451
|
clientToken?: string;
|
|
1420
1452
|
/**
|
|
@@ -1664,7 +1696,9 @@ export interface CreateDistributionConfigurationRequest {
|
|
|
1664
1696
|
tags?: Record<string, string>;
|
|
1665
1697
|
/**
|
|
1666
1698
|
* @public
|
|
1667
|
-
* <p>
|
|
1699
|
+
* <p>Unique, case-sensitive identifier you provide to ensure
|
|
1700
|
+
* 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>
|
|
1701
|
+
* in the <i>Amazon EC2 API Reference</i>.</p>
|
|
1668
1702
|
*/
|
|
1669
1703
|
clientToken?: string;
|
|
1670
1704
|
}
|
|
@@ -1679,7 +1713,7 @@ export interface CreateDistributionConfigurationResponse {
|
|
|
1679
1713
|
requestId?: string;
|
|
1680
1714
|
/**
|
|
1681
1715
|
* @public
|
|
1682
|
-
* <p>The
|
|
1716
|
+
* <p>The client token that uniquely identifies the request.</p>
|
|
1683
1717
|
*/
|
|
1684
1718
|
clientToken?: string;
|
|
1685
1719
|
/**
|
|
@@ -1797,7 +1831,9 @@ export interface CreateImageRequest {
|
|
|
1797
1831
|
tags?: Record<string, string>;
|
|
1798
1832
|
/**
|
|
1799
1833
|
* @public
|
|
1800
|
-
* <p>
|
|
1834
|
+
* <p>Unique, case-sensitive identifier you provide to ensure
|
|
1835
|
+
* 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>
|
|
1836
|
+
* in the <i>Amazon EC2 API Reference</i>.</p>
|
|
1801
1837
|
*/
|
|
1802
1838
|
clientToken?: string;
|
|
1803
1839
|
/**
|
|
@@ -1817,12 +1853,12 @@ export interface CreateImageResponse {
|
|
|
1817
1853
|
requestId?: string;
|
|
1818
1854
|
/**
|
|
1819
1855
|
* @public
|
|
1820
|
-
* <p>The
|
|
1856
|
+
* <p>The client token that uniquely identifies the request.</p>
|
|
1821
1857
|
*/
|
|
1822
1858
|
clientToken?: string;
|
|
1823
1859
|
/**
|
|
1824
1860
|
* @public
|
|
1825
|
-
* <p>The Amazon Resource Name (ARN) of the image that
|
|
1861
|
+
* <p>The Amazon Resource Name (ARN) of the image that the request created.</p>
|
|
1826
1862
|
*/
|
|
1827
1863
|
imageBuildVersionArn?: string;
|
|
1828
1864
|
}
|
|
@@ -1950,7 +1986,9 @@ export interface CreateImagePipelineRequest {
|
|
|
1950
1986
|
tags?: Record<string, string>;
|
|
1951
1987
|
/**
|
|
1952
1988
|
* @public
|
|
1953
|
-
* <p>
|
|
1989
|
+
* <p>Unique, case-sensitive identifier you provide to ensure
|
|
1990
|
+
* 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>
|
|
1991
|
+
* in the <i>Amazon EC2 API Reference</i>.</p>
|
|
1954
1992
|
*/
|
|
1955
1993
|
clientToken?: string;
|
|
1956
1994
|
/**
|
|
@@ -1970,7 +2008,7 @@ export interface CreateImagePipelineResponse {
|
|
|
1970
2008
|
requestId?: string;
|
|
1971
2009
|
/**
|
|
1972
2010
|
* @public
|
|
1973
|
-
* <p>The
|
|
2011
|
+
* <p>The client token that uniquely identifies the request.</p>
|
|
1974
2012
|
*/
|
|
1975
2013
|
clientToken?: string;
|
|
1976
2014
|
/**
|
|
@@ -2049,7 +2087,9 @@ export interface CreateImageRecipeRequest {
|
|
|
2049
2087
|
additionalInstanceConfiguration?: AdditionalInstanceConfiguration;
|
|
2050
2088
|
/**
|
|
2051
2089
|
* @public
|
|
2052
|
-
* <p>
|
|
2090
|
+
* <p>Unique, case-sensitive identifier you provide to ensure
|
|
2091
|
+
* 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>
|
|
2092
|
+
* in the <i>Amazon EC2 API Reference</i>.</p>
|
|
2053
2093
|
*/
|
|
2054
2094
|
clientToken?: string;
|
|
2055
2095
|
}
|
|
@@ -2064,7 +2104,7 @@ export interface CreateImageRecipeResponse {
|
|
|
2064
2104
|
requestId?: string;
|
|
2065
2105
|
/**
|
|
2066
2106
|
* @public
|
|
2067
|
-
* <p>The
|
|
2107
|
+
* <p>The client token that uniquely identifies the request.</p>
|
|
2068
2108
|
*/
|
|
2069
2109
|
clientToken?: string;
|
|
2070
2110
|
/**
|
|
@@ -2228,7 +2268,9 @@ export interface CreateInfrastructureConfigurationRequest {
|
|
|
2228
2268
|
tags?: Record<string, string>;
|
|
2229
2269
|
/**
|
|
2230
2270
|
* @public
|
|
2231
|
-
* <p>
|
|
2271
|
+
* <p>Unique, case-sensitive identifier you provide to ensure
|
|
2272
|
+
* 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>
|
|
2273
|
+
* in the <i>Amazon EC2 API Reference</i>.</p>
|
|
2232
2274
|
*/
|
|
2233
2275
|
clientToken?: string;
|
|
2234
2276
|
}
|
|
@@ -2243,7 +2285,7 @@ export interface CreateInfrastructureConfigurationResponse {
|
|
|
2243
2285
|
requestId?: string;
|
|
2244
2286
|
/**
|
|
2245
2287
|
* @public
|
|
2246
|
-
* <p>The
|
|
2288
|
+
* <p>The client token that uniquely identifies the request.</p>
|
|
2247
2289
|
*/
|
|
2248
2290
|
clientToken?: string;
|
|
2249
2291
|
/**
|
|
@@ -2253,6 +2295,332 @@ export interface CreateInfrastructureConfigurationResponse {
|
|
|
2253
2295
|
*/
|
|
2254
2296
|
infrastructureConfigurationArn?: string;
|
|
2255
2297
|
}
|
|
2298
|
+
/**
|
|
2299
|
+
* @public
|
|
2300
|
+
* <p>Specifies how the lifecycle policy should apply actions to selected resources.</p>
|
|
2301
|
+
*/
|
|
2302
|
+
export interface LifecyclePolicyDetailActionIncludeResources {
|
|
2303
|
+
/**
|
|
2304
|
+
* @public
|
|
2305
|
+
* <p>Specifies whether the lifecycle action should apply to distributed AMIs.</p>
|
|
2306
|
+
*/
|
|
2307
|
+
amis?: boolean;
|
|
2308
|
+
/**
|
|
2309
|
+
* @public
|
|
2310
|
+
* <p>Specifies whether the lifecycle action should apply to snapshots associated with distributed AMIs.</p>
|
|
2311
|
+
*/
|
|
2312
|
+
snapshots?: boolean;
|
|
2313
|
+
/**
|
|
2314
|
+
* @public
|
|
2315
|
+
* <p>Specifies whether the lifecycle action should apply to distributed containers.</p>
|
|
2316
|
+
*/
|
|
2317
|
+
containers?: boolean;
|
|
2318
|
+
}
|
|
2319
|
+
/**
|
|
2320
|
+
* @public
|
|
2321
|
+
* @enum
|
|
2322
|
+
*/
|
|
2323
|
+
export declare const LifecyclePolicyDetailActionType: {
|
|
2324
|
+
readonly DELETE: "DELETE";
|
|
2325
|
+
readonly DEPRECATE: "DEPRECATE";
|
|
2326
|
+
readonly DISABLE: "DISABLE";
|
|
2327
|
+
};
|
|
2328
|
+
/**
|
|
2329
|
+
* @public
|
|
2330
|
+
*/
|
|
2331
|
+
export type LifecyclePolicyDetailActionType = (typeof LifecyclePolicyDetailActionType)[keyof typeof LifecyclePolicyDetailActionType];
|
|
2332
|
+
/**
|
|
2333
|
+
* @public
|
|
2334
|
+
* <p>Contains selection criteria for the lifecycle policy.</p>
|
|
2335
|
+
*/
|
|
2336
|
+
export interface LifecyclePolicyDetailAction {
|
|
2337
|
+
/**
|
|
2338
|
+
* @public
|
|
2339
|
+
* <p>Specifies the lifecycle action to take.</p>
|
|
2340
|
+
*/
|
|
2341
|
+
type: LifecyclePolicyDetailActionType | undefined;
|
|
2342
|
+
/**
|
|
2343
|
+
* @public
|
|
2344
|
+
* <p>Specifies the resources that the lifecycle policy applies to.</p>
|
|
2345
|
+
*/
|
|
2346
|
+
includeResources?: LifecyclePolicyDetailActionIncludeResources;
|
|
2347
|
+
}
|
|
2348
|
+
/**
|
|
2349
|
+
* @public
|
|
2350
|
+
* @enum
|
|
2351
|
+
*/
|
|
2352
|
+
export declare const LifecyclePolicyTimeUnit: {
|
|
2353
|
+
readonly DAYS: "DAYS";
|
|
2354
|
+
readonly MONTHS: "MONTHS";
|
|
2355
|
+
readonly WEEKS: "WEEKS";
|
|
2356
|
+
readonly YEARS: "YEARS";
|
|
2357
|
+
};
|
|
2358
|
+
/**
|
|
2359
|
+
* @public
|
|
2360
|
+
*/
|
|
2361
|
+
export type LifecyclePolicyTimeUnit = (typeof LifecyclePolicyTimeUnit)[keyof typeof LifecyclePolicyTimeUnit];
|
|
2362
|
+
/**
|
|
2363
|
+
* @public
|
|
2364
|
+
* <p>Defines criteria to exclude AMIs from lifecycle actions based on the last
|
|
2365
|
+
* time they were used to launch an instance.</p>
|
|
2366
|
+
*/
|
|
2367
|
+
export interface LifecyclePolicyDetailExclusionRulesAmisLastLaunched {
|
|
2368
|
+
/**
|
|
2369
|
+
* @public
|
|
2370
|
+
* <p>The integer number of units for the time period. For example <code>6</code> (months).</p>
|
|
2371
|
+
*/
|
|
2372
|
+
value: number | undefined;
|
|
2373
|
+
/**
|
|
2374
|
+
* @public
|
|
2375
|
+
* <p>Defines the unit of time that the lifecycle policy uses to calculate elapsed time
|
|
2376
|
+
* since the last instance launched from the AMI. For example: days, weeks, months, or years.</p>
|
|
2377
|
+
*/
|
|
2378
|
+
unit: LifecyclePolicyTimeUnit | undefined;
|
|
2379
|
+
}
|
|
2380
|
+
/**
|
|
2381
|
+
* @public
|
|
2382
|
+
* <p>Defines criteria for AMIs that are excluded from lifecycle actions.</p>
|
|
2383
|
+
*/
|
|
2384
|
+
export interface LifecyclePolicyDetailExclusionRulesAmis {
|
|
2385
|
+
/**
|
|
2386
|
+
* @public
|
|
2387
|
+
* <p>Configures whether public AMIs are excluded from the lifecycle action.</p>
|
|
2388
|
+
*/
|
|
2389
|
+
isPublic?: boolean;
|
|
2390
|
+
/**
|
|
2391
|
+
* @public
|
|
2392
|
+
* <p>Specifies Amazon Web Services accounts whose resources are excluded from the lifecycle action.</p>
|
|
2393
|
+
*/
|
|
2394
|
+
regions?: string[];
|
|
2395
|
+
/**
|
|
2396
|
+
* @public
|
|
2397
|
+
* <p>Specifies configuration details for Image Builder to exclude the most recent resources
|
|
2398
|
+
* from lifecycle actions.</p>
|
|
2399
|
+
*/
|
|
2400
|
+
sharedAccounts?: string[];
|
|
2401
|
+
/**
|
|
2402
|
+
* @public
|
|
2403
|
+
* <p>Configures Amazon Web Services Regions that are excluded from the lifecycle action.</p>
|
|
2404
|
+
*/
|
|
2405
|
+
lastLaunched?: LifecyclePolicyDetailExclusionRulesAmisLastLaunched;
|
|
2406
|
+
/**
|
|
2407
|
+
* @public
|
|
2408
|
+
* <p>Lists tags that should be excluded from lifecycle actions for the AMIs that have them.</p>
|
|
2409
|
+
*/
|
|
2410
|
+
tagMap?: Record<string, string>;
|
|
2411
|
+
}
|
|
2412
|
+
/**
|
|
2413
|
+
* @public
|
|
2414
|
+
* <p>Specifies resources that lifecycle policy actions should not apply to.</p>
|
|
2415
|
+
*/
|
|
2416
|
+
export interface LifecyclePolicyDetailExclusionRules {
|
|
2417
|
+
/**
|
|
2418
|
+
* @public
|
|
2419
|
+
* <p>Contains a list of tags that Image Builder uses to skip lifecycle actions for AMIs that have them.</p>
|
|
2420
|
+
*/
|
|
2421
|
+
tagMap?: Record<string, string>;
|
|
2422
|
+
/**
|
|
2423
|
+
* @public
|
|
2424
|
+
* <p>Lists configuration values that apply to AMIs that Image Builder should exclude
|
|
2425
|
+
* from the lifecycle action.</p>
|
|
2426
|
+
*/
|
|
2427
|
+
amis?: LifecyclePolicyDetailExclusionRulesAmis;
|
|
2428
|
+
}
|
|
2429
|
+
/**
|
|
2430
|
+
* @public
|
|
2431
|
+
* @enum
|
|
2432
|
+
*/
|
|
2433
|
+
export declare const LifecyclePolicyDetailFilterType: {
|
|
2434
|
+
readonly AGE: "AGE";
|
|
2435
|
+
readonly COUNT: "COUNT";
|
|
2436
|
+
};
|
|
2437
|
+
/**
|
|
2438
|
+
* @public
|
|
2439
|
+
*/
|
|
2440
|
+
export type LifecyclePolicyDetailFilterType = (typeof LifecyclePolicyDetailFilterType)[keyof typeof LifecyclePolicyDetailFilterType];
|
|
2441
|
+
/**
|
|
2442
|
+
* @public
|
|
2443
|
+
* <p>Defines filters that the lifecycle policy uses to determine impacted resource.</p>
|
|
2444
|
+
*/
|
|
2445
|
+
export interface LifecyclePolicyDetailFilter {
|
|
2446
|
+
/**
|
|
2447
|
+
* @public
|
|
2448
|
+
* <p>Filter resources based on either <code>age</code> or <code>count</code>.</p>
|
|
2449
|
+
*/
|
|
2450
|
+
type: LifecyclePolicyDetailFilterType | undefined;
|
|
2451
|
+
/**
|
|
2452
|
+
* @public
|
|
2453
|
+
* <p>The number of units for the time period or for the count. For example, a value of
|
|
2454
|
+
* <code>6</code> might refer to six months or six AMIs.</p>
|
|
2455
|
+
* <note>
|
|
2456
|
+
* <p>For count-based filters, this value represents the minimum number of resources
|
|
2457
|
+
* to keep on hand. If you have fewer resources than this number, the resource is
|
|
2458
|
+
* excluded from lifecycle actions.</p>
|
|
2459
|
+
* </note>
|
|
2460
|
+
*/
|
|
2461
|
+
value: number | undefined;
|
|
2462
|
+
/**
|
|
2463
|
+
* @public
|
|
2464
|
+
* <p>Defines the unit of time that the lifecycle policy uses to determine impacted
|
|
2465
|
+
* resources. This is required for age-based rules.</p>
|
|
2466
|
+
*/
|
|
2467
|
+
unit?: LifecyclePolicyTimeUnit;
|
|
2468
|
+
/**
|
|
2469
|
+
* @public
|
|
2470
|
+
* <p>For age-based filters, this is the number of resources to keep on hand after the lifecycle
|
|
2471
|
+
* <code>DELETE</code> action is applied. Impacted resources are only deleted if you have more than
|
|
2472
|
+
* this number of resources. If you have fewer resources than this number, the impacted resource
|
|
2473
|
+
* is not deleted.</p>
|
|
2474
|
+
*/
|
|
2475
|
+
retainAtLeast?: number;
|
|
2476
|
+
}
|
|
2477
|
+
/**
|
|
2478
|
+
* @public
|
|
2479
|
+
* <p>The configuration details for a lifecycle policy resource.</p>
|
|
2480
|
+
*/
|
|
2481
|
+
export interface LifecyclePolicyDetail {
|
|
2482
|
+
/**
|
|
2483
|
+
* @public
|
|
2484
|
+
* <p>Configuration details for the policy action.</p>
|
|
2485
|
+
*/
|
|
2486
|
+
action: LifecyclePolicyDetailAction | undefined;
|
|
2487
|
+
/**
|
|
2488
|
+
* @public
|
|
2489
|
+
* <p>Specifies the resources that the lifecycle policy applies to.</p>
|
|
2490
|
+
*/
|
|
2491
|
+
filter: LifecyclePolicyDetailFilter | undefined;
|
|
2492
|
+
/**
|
|
2493
|
+
* @public
|
|
2494
|
+
* <p>Additional rules to specify resources that should be exempt from policy actions.</p>
|
|
2495
|
+
*/
|
|
2496
|
+
exclusionRules?: LifecyclePolicyDetailExclusionRules;
|
|
2497
|
+
}
|
|
2498
|
+
/**
|
|
2499
|
+
* @public
|
|
2500
|
+
* <p>Specifies an Image Builder recipe that the lifecycle policy uses for resource selection.</p>
|
|
2501
|
+
*/
|
|
2502
|
+
export interface LifecyclePolicyResourceSelectionRecipe {
|
|
2503
|
+
/**
|
|
2504
|
+
* @public
|
|
2505
|
+
* <p>The name of an Image Builder recipe that the lifecycle policy uses for resource selection.</p>
|
|
2506
|
+
*/
|
|
2507
|
+
name: string | undefined;
|
|
2508
|
+
/**
|
|
2509
|
+
* @public
|
|
2510
|
+
* <p>The version of the Image Builder recipe specified by the <code>name</code> field.</p>
|
|
2511
|
+
*/
|
|
2512
|
+
semanticVersion: string | undefined;
|
|
2513
|
+
}
|
|
2514
|
+
/**
|
|
2515
|
+
* @public
|
|
2516
|
+
* <p>Resource selection criteria for the lifecycle policy.</p>
|
|
2517
|
+
*/
|
|
2518
|
+
export interface LifecyclePolicyResourceSelection {
|
|
2519
|
+
/**
|
|
2520
|
+
* @public
|
|
2521
|
+
* <p>A list of recipes that are used as selection criteria for the output
|
|
2522
|
+
* images that the lifecycle policy applies to.</p>
|
|
2523
|
+
*/
|
|
2524
|
+
recipes?: LifecyclePolicyResourceSelectionRecipe[];
|
|
2525
|
+
/**
|
|
2526
|
+
* @public
|
|
2527
|
+
* <p>A list of tags that are used as selection criteria for the resources
|
|
2528
|
+
* that the lifecycle policy applies to.</p>
|
|
2529
|
+
*/
|
|
2530
|
+
tagMap?: Record<string, string>;
|
|
2531
|
+
}
|
|
2532
|
+
/**
|
|
2533
|
+
* @public
|
|
2534
|
+
* @enum
|
|
2535
|
+
*/
|
|
2536
|
+
export declare const LifecyclePolicyResourceType: {
|
|
2537
|
+
readonly AMI_IMAGE: "AMI_IMAGE";
|
|
2538
|
+
readonly CONTAINER_IMAGE: "CONTAINER_IMAGE";
|
|
2539
|
+
};
|
|
2540
|
+
/**
|
|
2541
|
+
* @public
|
|
2542
|
+
*/
|
|
2543
|
+
export type LifecyclePolicyResourceType = (typeof LifecyclePolicyResourceType)[keyof typeof LifecyclePolicyResourceType];
|
|
2544
|
+
/**
|
|
2545
|
+
* @public
|
|
2546
|
+
* @enum
|
|
2547
|
+
*/
|
|
2548
|
+
export declare const LifecyclePolicyStatus: {
|
|
2549
|
+
readonly DISABLED: "DISABLED";
|
|
2550
|
+
readonly ENABLED: "ENABLED";
|
|
2551
|
+
};
|
|
2552
|
+
/**
|
|
2553
|
+
* @public
|
|
2554
|
+
*/
|
|
2555
|
+
export type LifecyclePolicyStatus = (typeof LifecyclePolicyStatus)[keyof typeof LifecyclePolicyStatus];
|
|
2556
|
+
/**
|
|
2557
|
+
* @public
|
|
2558
|
+
*/
|
|
2559
|
+
export interface CreateLifecyclePolicyRequest {
|
|
2560
|
+
/**
|
|
2561
|
+
* @public
|
|
2562
|
+
* <p>The name of the lifecycle policy to create.</p>
|
|
2563
|
+
*/
|
|
2564
|
+
name: string | undefined;
|
|
2565
|
+
/**
|
|
2566
|
+
* @public
|
|
2567
|
+
* <p>Optional description for the lifecycle policy.</p>
|
|
2568
|
+
*/
|
|
2569
|
+
description?: string;
|
|
2570
|
+
/**
|
|
2571
|
+
* @public
|
|
2572
|
+
* <p>Indicates whether the lifecycle policy resource is enabled.</p>
|
|
2573
|
+
*/
|
|
2574
|
+
status?: LifecyclePolicyStatus;
|
|
2575
|
+
/**
|
|
2576
|
+
* @public
|
|
2577
|
+
* <p>The role name or Amazon Resource Name (ARN) for the IAM role that grants
|
|
2578
|
+
* Image Builder access to run lifecycle actions.</p>
|
|
2579
|
+
*/
|
|
2580
|
+
executionRole: string | undefined;
|
|
2581
|
+
/**
|
|
2582
|
+
* @public
|
|
2583
|
+
* <p>The type of Image Builder resource that the lifecycle policy applies to.</p>
|
|
2584
|
+
*/
|
|
2585
|
+
resourceType: LifecyclePolicyResourceType | undefined;
|
|
2586
|
+
/**
|
|
2587
|
+
* @public
|
|
2588
|
+
* <p>Configuration details for the lifecycle policy rules.</p>
|
|
2589
|
+
*/
|
|
2590
|
+
policyDetails: LifecyclePolicyDetail[] | undefined;
|
|
2591
|
+
/**
|
|
2592
|
+
* @public
|
|
2593
|
+
* <p>Selection criteria for the resources that the lifecycle policy applies to. </p>
|
|
2594
|
+
*/
|
|
2595
|
+
resourceSelection: LifecyclePolicyResourceSelection | undefined;
|
|
2596
|
+
/**
|
|
2597
|
+
* @public
|
|
2598
|
+
* <p>Tags to apply to the lifecycle policy resource.</p>
|
|
2599
|
+
*/
|
|
2600
|
+
tags?: Record<string, string>;
|
|
2601
|
+
/**
|
|
2602
|
+
* @public
|
|
2603
|
+
* <p>Unique, case-sensitive identifier you provide to ensure
|
|
2604
|
+
* 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>
|
|
2605
|
+
* in the <i>Amazon EC2 API Reference</i>.</p>
|
|
2606
|
+
*/
|
|
2607
|
+
clientToken?: string;
|
|
2608
|
+
}
|
|
2609
|
+
/**
|
|
2610
|
+
* @public
|
|
2611
|
+
*/
|
|
2612
|
+
export interface CreateLifecyclePolicyResponse {
|
|
2613
|
+
/**
|
|
2614
|
+
* @public
|
|
2615
|
+
* <p>The client token that uniquely identifies the request.</p>
|
|
2616
|
+
*/
|
|
2617
|
+
clientToken?: string;
|
|
2618
|
+
/**
|
|
2619
|
+
* @public
|
|
2620
|
+
* <p>The Amazon Resource Name (ARN) of the lifecycle policy that the request created.</p>
|
|
2621
|
+
*/
|
|
2622
|
+
lifecyclePolicyArn?: string;
|
|
2623
|
+
}
|
|
2256
2624
|
/**
|
|
2257
2625
|
* @public
|
|
2258
2626
|
* <p>Amazon Inspector generates a risk score for each finding. This score helps you to prioritize
|
|
@@ -2530,16 +2898,36 @@ export interface DeleteInfrastructureConfigurationResponse {
|
|
|
2530
2898
|
}
|
|
2531
2899
|
/**
|
|
2532
2900
|
* @public
|
|
2533
|
-
* <p>A distribution configuration.</p>
|
|
2534
2901
|
*/
|
|
2535
|
-
export interface
|
|
2902
|
+
export interface DeleteLifecyclePolicyRequest {
|
|
2536
2903
|
/**
|
|
2537
2904
|
* @public
|
|
2538
|
-
* <p>The Amazon Resource Name (ARN) of the
|
|
2905
|
+
* <p>The Amazon Resource Name (ARN) of the lifecycle policy resource to delete.</p>
|
|
2539
2906
|
*/
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2907
|
+
lifecyclePolicyArn: string | undefined;
|
|
2908
|
+
}
|
|
2909
|
+
/**
|
|
2910
|
+
* @public
|
|
2911
|
+
*/
|
|
2912
|
+
export interface DeleteLifecyclePolicyResponse {
|
|
2913
|
+
/**
|
|
2914
|
+
* @public
|
|
2915
|
+
* <p>The ARN of the lifecycle policy that was deleted.</p>
|
|
2916
|
+
*/
|
|
2917
|
+
lifecyclePolicyArn?: string;
|
|
2918
|
+
}
|
|
2919
|
+
/**
|
|
2920
|
+
* @public
|
|
2921
|
+
* <p>A distribution configuration.</p>
|
|
2922
|
+
*/
|
|
2923
|
+
export interface DistributionConfiguration {
|
|
2924
|
+
/**
|
|
2925
|
+
* @public
|
|
2926
|
+
* <p>The Amazon Resource Name (ARN) of the distribution configuration.</p>
|
|
2927
|
+
*/
|
|
2928
|
+
arn?: string;
|
|
2929
|
+
/**
|
|
2930
|
+
* @public
|
|
2543
2931
|
* <p>The name of the distribution configuration.</p>
|
|
2544
2932
|
*/
|
|
2545
2933
|
name?: string;
|
|
@@ -3208,6 +3596,16 @@ export interface Image {
|
|
|
3208
3596
|
* <p>Contains settings for vulnerability scans.</p>
|
|
3209
3597
|
*/
|
|
3210
3598
|
imageScanningConfiguration?: ImageScanningConfiguration;
|
|
3599
|
+
/**
|
|
3600
|
+
* @public
|
|
3601
|
+
* <p>The time when deprecation occurs for an image resource. This can be a past or future date.</p>
|
|
3602
|
+
*/
|
|
3603
|
+
deprecationTime?: Date;
|
|
3604
|
+
/**
|
|
3605
|
+
* @public
|
|
3606
|
+
* <p>Identifies the last runtime instance of the lifecycle policy to take action on the image.</p>
|
|
3607
|
+
*/
|
|
3608
|
+
lifecycleExecutionId?: string;
|
|
3211
3609
|
}
|
|
3212
3610
|
/**
|
|
3213
3611
|
* @public
|
|
@@ -3455,6 +3853,196 @@ export interface GetInfrastructureConfigurationResponse {
|
|
|
3455
3853
|
*/
|
|
3456
3854
|
infrastructureConfiguration?: InfrastructureConfiguration;
|
|
3457
3855
|
}
|
|
3856
|
+
/**
|
|
3857
|
+
* @public
|
|
3858
|
+
*/
|
|
3859
|
+
export interface GetLifecycleExecutionRequest {
|
|
3860
|
+
/**
|
|
3861
|
+
* @public
|
|
3862
|
+
* <p>Use the unique identifier for a runtime instance of the lifecycle policy to get runtime details.</p>
|
|
3863
|
+
*/
|
|
3864
|
+
lifecycleExecutionId: string | undefined;
|
|
3865
|
+
}
|
|
3866
|
+
/**
|
|
3867
|
+
* @public
|
|
3868
|
+
* <p>Contains details for an image resource that was identified for a lifecycle action.</p>
|
|
3869
|
+
*/
|
|
3870
|
+
export interface LifecycleExecutionResourcesImpactedSummary {
|
|
3871
|
+
/**
|
|
3872
|
+
* @public
|
|
3873
|
+
* <p>Indicates whether an image resource that was identified for a lifecycle action has
|
|
3874
|
+
* associated resources that are also impacted.</p>
|
|
3875
|
+
*/
|
|
3876
|
+
hasImpactedResources?: boolean;
|
|
3877
|
+
}
|
|
3878
|
+
/**
|
|
3879
|
+
* @public
|
|
3880
|
+
* @enum
|
|
3881
|
+
*/
|
|
3882
|
+
export declare const LifecycleExecutionStatus: {
|
|
3883
|
+
readonly CANCELLED: "CANCELLED";
|
|
3884
|
+
readonly CANCELLING: "CANCELLING";
|
|
3885
|
+
readonly FAILED: "FAILED";
|
|
3886
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
3887
|
+
readonly SUCCESS: "SUCCESS";
|
|
3888
|
+
};
|
|
3889
|
+
/**
|
|
3890
|
+
* @public
|
|
3891
|
+
*/
|
|
3892
|
+
export type LifecycleExecutionStatus = (typeof LifecycleExecutionStatus)[keyof typeof LifecycleExecutionStatus];
|
|
3893
|
+
/**
|
|
3894
|
+
* @public
|
|
3895
|
+
* <p>The current state of the runtime instance of the lifecycle policy.</p>
|
|
3896
|
+
*/
|
|
3897
|
+
export interface LifecycleExecutionState {
|
|
3898
|
+
/**
|
|
3899
|
+
* @public
|
|
3900
|
+
* <p>The runtime status of the lifecycle execution.</p>
|
|
3901
|
+
*/
|
|
3902
|
+
status?: LifecycleExecutionStatus;
|
|
3903
|
+
/**
|
|
3904
|
+
* @public
|
|
3905
|
+
* <p>The reason for the current status.</p>
|
|
3906
|
+
*/
|
|
3907
|
+
reason?: string;
|
|
3908
|
+
}
|
|
3909
|
+
/**
|
|
3910
|
+
* @public
|
|
3911
|
+
* <p>Contains metadata from a runtime instance of a lifecycle policy.</p>
|
|
3912
|
+
*/
|
|
3913
|
+
export interface LifecycleExecution {
|
|
3914
|
+
/**
|
|
3915
|
+
* @public
|
|
3916
|
+
* <p>Identifies the lifecycle policy runtime instance.</p>
|
|
3917
|
+
*/
|
|
3918
|
+
lifecycleExecutionId?: string;
|
|
3919
|
+
/**
|
|
3920
|
+
* @public
|
|
3921
|
+
* <p>The Amazon Resource Name (ARN) of the lifecycle policy that ran.</p>
|
|
3922
|
+
*/
|
|
3923
|
+
lifecyclePolicyArn?: string;
|
|
3924
|
+
/**
|
|
3925
|
+
* @public
|
|
3926
|
+
* <p>Contains information about associated resources that are identified for action by
|
|
3927
|
+
* the runtime instance of the lifecycle policy.</p>
|
|
3928
|
+
*/
|
|
3929
|
+
resourcesImpactedSummary?: LifecycleExecutionResourcesImpactedSummary;
|
|
3930
|
+
/**
|
|
3931
|
+
* @public
|
|
3932
|
+
* <p>Runtime state that reports if the policy action ran successfully,
|
|
3933
|
+
* failed, or was skipped.</p>
|
|
3934
|
+
*/
|
|
3935
|
+
state?: LifecycleExecutionState;
|
|
3936
|
+
/**
|
|
3937
|
+
* @public
|
|
3938
|
+
* <p>The timestamp when the lifecycle runtime instance started.</p>
|
|
3939
|
+
*/
|
|
3940
|
+
startTime?: Date;
|
|
3941
|
+
/**
|
|
3942
|
+
* @public
|
|
3943
|
+
* <p>The timestamp when the lifecycle runtime instance completed.</p>
|
|
3944
|
+
*/
|
|
3945
|
+
endTime?: Date;
|
|
3946
|
+
}
|
|
3947
|
+
/**
|
|
3948
|
+
* @public
|
|
3949
|
+
*/
|
|
3950
|
+
export interface GetLifecycleExecutionResponse {
|
|
3951
|
+
/**
|
|
3952
|
+
* @public
|
|
3953
|
+
* <p>Runtime details for the specified runtime instance of the lifecycle policy.</p>
|
|
3954
|
+
*/
|
|
3955
|
+
lifecycleExecution?: LifecycleExecution;
|
|
3956
|
+
}
|
|
3957
|
+
/**
|
|
3958
|
+
* @public
|
|
3959
|
+
*/
|
|
3960
|
+
export interface GetLifecyclePolicyRequest {
|
|
3961
|
+
/**
|
|
3962
|
+
* @public
|
|
3963
|
+
* <p>Specifies the Amazon Resource Name (ARN) of the image lifecycle policy resource to get.</p>
|
|
3964
|
+
*/
|
|
3965
|
+
lifecyclePolicyArn: string | undefined;
|
|
3966
|
+
}
|
|
3967
|
+
/**
|
|
3968
|
+
* @public
|
|
3969
|
+
* <p>The configuration details for a lifecycle policy resource.</p>
|
|
3970
|
+
*/
|
|
3971
|
+
export interface LifecyclePolicy {
|
|
3972
|
+
/**
|
|
3973
|
+
* @public
|
|
3974
|
+
* <p>The Amazon Resource Name (ARN) of the lifecycle policy resource.</p>
|
|
3975
|
+
*/
|
|
3976
|
+
arn?: string;
|
|
3977
|
+
/**
|
|
3978
|
+
* @public
|
|
3979
|
+
* <p>The name of the lifecycle policy.</p>
|
|
3980
|
+
*/
|
|
3981
|
+
name?: string;
|
|
3982
|
+
/**
|
|
3983
|
+
* @public
|
|
3984
|
+
* <p>Optional description for the lifecycle policy.</p>
|
|
3985
|
+
*/
|
|
3986
|
+
description?: string;
|
|
3987
|
+
/**
|
|
3988
|
+
* @public
|
|
3989
|
+
* <p>Indicates whether the lifecycle policy resource is enabled.</p>
|
|
3990
|
+
*/
|
|
3991
|
+
status?: LifecyclePolicyStatus;
|
|
3992
|
+
/**
|
|
3993
|
+
* @public
|
|
3994
|
+
* <p>The name of the IAM role that Image Builder uses to run the lifecycle policy.
|
|
3995
|
+
* This is a custom role that you create.</p>
|
|
3996
|
+
*/
|
|
3997
|
+
executionRole?: string;
|
|
3998
|
+
/**
|
|
3999
|
+
* @public
|
|
4000
|
+
* <p>The type of resources the lifecycle policy targets.</p>
|
|
4001
|
+
*/
|
|
4002
|
+
resourceType?: LifecyclePolicyResourceType;
|
|
4003
|
+
/**
|
|
4004
|
+
* @public
|
|
4005
|
+
* <p>The configuration details for a lifecycle policy resource.</p>
|
|
4006
|
+
*/
|
|
4007
|
+
policyDetails?: LifecyclePolicyDetail[];
|
|
4008
|
+
/**
|
|
4009
|
+
* @public
|
|
4010
|
+
* <p>Resource selection criteria used to run the lifecycle policy.</p>
|
|
4011
|
+
*/
|
|
4012
|
+
resourceSelection?: LifecyclePolicyResourceSelection;
|
|
4013
|
+
/**
|
|
4014
|
+
* @public
|
|
4015
|
+
* <p>The timestamp when Image Builder created the lifecycle policy resource.</p>
|
|
4016
|
+
*/
|
|
4017
|
+
dateCreated?: Date;
|
|
4018
|
+
/**
|
|
4019
|
+
* @public
|
|
4020
|
+
* <p>The timestamp when Image Builder updated the lifecycle policy resource.</p>
|
|
4021
|
+
*/
|
|
4022
|
+
dateUpdated?: Date;
|
|
4023
|
+
/**
|
|
4024
|
+
* @public
|
|
4025
|
+
* <p>The timestamp for the last time Image Builder ran the lifecycle policy.</p>
|
|
4026
|
+
*/
|
|
4027
|
+
dateLastRun?: Date;
|
|
4028
|
+
/**
|
|
4029
|
+
* @public
|
|
4030
|
+
* <p>To help manage your lifecycle policy resources, you can assign your own
|
|
4031
|
+
* metadata to each resource in the form of tags. Each tag consists of a key and
|
|
4032
|
+
* an optional value, both of which you define.</p>
|
|
4033
|
+
*/
|
|
4034
|
+
tags?: Record<string, string>;
|
|
4035
|
+
}
|
|
4036
|
+
/**
|
|
4037
|
+
* @public
|
|
4038
|
+
*/
|
|
4039
|
+
export interface GetLifecyclePolicyResponse {
|
|
4040
|
+
/**
|
|
4041
|
+
* @public
|
|
4042
|
+
* <p>The ARN of the image lifecycle policy resource that was returned.</p>
|
|
4043
|
+
*/
|
|
4044
|
+
lifecyclePolicy?: LifecyclePolicy;
|
|
4045
|
+
}
|
|
3458
4046
|
/**
|
|
3459
4047
|
* @public
|
|
3460
4048
|
*/
|
|
@@ -3805,7 +4393,9 @@ export interface ImportComponentRequest {
|
|
|
3805
4393
|
tags?: Record<string, string>;
|
|
3806
4394
|
/**
|
|
3807
4395
|
* @public
|
|
3808
|
-
* <p>
|
|
4396
|
+
* <p>Unique, case-sensitive identifier you provide to ensure
|
|
4397
|
+
* 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>
|
|
4398
|
+
* in the <i>Amazon EC2 API Reference</i>.</p>
|
|
3809
4399
|
*/
|
|
3810
4400
|
clientToken?: string;
|
|
3811
4401
|
}
|
|
@@ -3820,7 +4410,7 @@ export interface ImportComponentResponse {
|
|
|
3820
4410
|
requestId?: string;
|
|
3821
4411
|
/**
|
|
3822
4412
|
* @public
|
|
3823
|
-
* <p>The
|
|
4413
|
+
* <p>The client token that uniquely identifies the request.</p>
|
|
3824
4414
|
*/
|
|
3825
4415
|
clientToken?: string;
|
|
3826
4416
|
/**
|
|
@@ -3908,7 +4498,7 @@ export interface ImportVmImageResponse {
|
|
|
3908
4498
|
imageArn?: string;
|
|
3909
4499
|
/**
|
|
3910
4500
|
* @public
|
|
3911
|
-
* <p>The
|
|
4501
|
+
* <p>The client token that uniquely identifies the request.</p>
|
|
3912
4502
|
*/
|
|
3913
4503
|
clientToken?: string;
|
|
3914
4504
|
}
|
|
@@ -3941,7 +4531,7 @@ export interface ListComponentBuildVersionsRequest {
|
|
|
3941
4531
|
maxResults?: number;
|
|
3942
4532
|
/**
|
|
3943
4533
|
* @public
|
|
3944
|
-
* <p>A token to specify where to start paginating. This is the
|
|
4534
|
+
* <p>A token to specify where to start paginating. This is the nextToken
|
|
3945
4535
|
* from a previously truncated response.</p>
|
|
3946
4536
|
*/
|
|
3947
4537
|
nextToken?: string;
|
|
@@ -3963,7 +4553,7 @@ export interface ListComponentBuildVersionsResponse {
|
|
|
3963
4553
|
/**
|
|
3964
4554
|
* @public
|
|
3965
4555
|
* <p>The next token used for paginated responses. When this field isn't empty,
|
|
3966
|
-
* there are additional elements that the service
|
|
4556
|
+
* there are additional elements that the service hasn't included in this request. Use this token
|
|
3967
4557
|
* with the next request to retrieve additional objects.</p>
|
|
3968
4558
|
*/
|
|
3969
4559
|
nextToken?: string;
|
|
@@ -4043,7 +4633,7 @@ export interface ListComponentsRequest {
|
|
|
4043
4633
|
maxResults?: number;
|
|
4044
4634
|
/**
|
|
4045
4635
|
* @public
|
|
4046
|
-
* <p>A token to specify where to start paginating. This is the
|
|
4636
|
+
* <p>A token to specify where to start paginating. This is the nextToken
|
|
4047
4637
|
* from a previously truncated response.</p>
|
|
4048
4638
|
*/
|
|
4049
4639
|
nextToken?: string;
|
|
@@ -4069,7 +4659,7 @@ export interface ListComponentsResponse {
|
|
|
4069
4659
|
/**
|
|
4070
4660
|
* @public
|
|
4071
4661
|
* <p>The next token used for paginated responses. When this field isn't empty,
|
|
4072
|
-
* there are additional elements that the service
|
|
4662
|
+
* there are additional elements that the service hasn't included in this request. Use this token
|
|
4073
4663
|
* with the next request to retrieve additional objects.</p>
|
|
4074
4664
|
*/
|
|
4075
4665
|
nextToken?: string;
|
|
@@ -4119,7 +4709,7 @@ export interface ListContainerRecipesRequest {
|
|
|
4119
4709
|
maxResults?: number;
|
|
4120
4710
|
/**
|
|
4121
4711
|
* @public
|
|
4122
|
-
* <p>A token to specify where to start paginating. This is the
|
|
4712
|
+
* <p>A token to specify where to start paginating. This is the nextToken
|
|
4123
4713
|
* from a previously truncated response.</p>
|
|
4124
4714
|
*/
|
|
4125
4715
|
nextToken?: string;
|
|
@@ -4141,7 +4731,7 @@ export interface ListContainerRecipesResponse {
|
|
|
4141
4731
|
/**
|
|
4142
4732
|
* @public
|
|
4143
4733
|
* <p>The next token used for paginated responses. When this field isn't empty,
|
|
4144
|
-
* there are additional elements that the service
|
|
4734
|
+
* there are additional elements that the service hasn't included in this request. Use this token
|
|
4145
4735
|
* with the next request to retrieve additional objects.</p>
|
|
4146
4736
|
*/
|
|
4147
4737
|
nextToken?: string;
|
|
@@ -4162,7 +4752,7 @@ export interface ListDistributionConfigurationsRequest {
|
|
|
4162
4752
|
maxResults?: number;
|
|
4163
4753
|
/**
|
|
4164
4754
|
* @public
|
|
4165
|
-
* <p>A token to specify where to start paginating. This is the
|
|
4755
|
+
* <p>A token to specify where to start paginating. This is the nextToken
|
|
4166
4756
|
* from a previously truncated response.</p>
|
|
4167
4757
|
*/
|
|
4168
4758
|
nextToken?: string;
|
|
@@ -4184,7 +4774,7 @@ export interface ListDistributionConfigurationsResponse {
|
|
|
4184
4774
|
/**
|
|
4185
4775
|
* @public
|
|
4186
4776
|
* <p>The next token used for paginated responses. When this field isn't empty,
|
|
4187
|
-
* there are additional elements that the service
|
|
4777
|
+
* there are additional elements that the service hasn't included in this request. Use this token
|
|
4188
4778
|
* with the next request to retrieve additional objects.</p>
|
|
4189
4779
|
*/
|
|
4190
4780
|
nextToken?: string;
|
|
@@ -4238,7 +4828,7 @@ export interface ListImageBuildVersionsRequest {
|
|
|
4238
4828
|
maxResults?: number;
|
|
4239
4829
|
/**
|
|
4240
4830
|
* @public
|
|
4241
|
-
* <p>A token to specify where to start paginating. This is the
|
|
4831
|
+
* <p>A token to specify where to start paginating. This is the nextToken
|
|
4242
4832
|
* from a previously truncated response.</p>
|
|
4243
4833
|
*/
|
|
4244
4834
|
nextToken?: string;
|
|
@@ -4332,6 +4922,16 @@ export interface ImageSummary {
|
|
|
4332
4922
|
* <p>The origin of the base image that Image Builder used to build this image.</p>
|
|
4333
4923
|
*/
|
|
4334
4924
|
imageSource?: ImageSource;
|
|
4925
|
+
/**
|
|
4926
|
+
* @public
|
|
4927
|
+
* <p>The time when deprecation occurs for an image resource. This can be a past or future date.</p>
|
|
4928
|
+
*/
|
|
4929
|
+
deprecationTime?: Date;
|
|
4930
|
+
/**
|
|
4931
|
+
* @public
|
|
4932
|
+
* <p>Identifies the last runtime instance of the lifecycle policy to take action on the image.</p>
|
|
4933
|
+
*/
|
|
4934
|
+
lifecycleExecutionId?: string;
|
|
4335
4935
|
}
|
|
4336
4936
|
/**
|
|
4337
4937
|
* @public
|
|
@@ -4350,7 +4950,7 @@ export interface ListImageBuildVersionsResponse {
|
|
|
4350
4950
|
/**
|
|
4351
4951
|
* @public
|
|
4352
4952
|
* <p>The next token used for paginated responses. When this field isn't empty,
|
|
4353
|
-
* there are additional elements that the service
|
|
4953
|
+
* there are additional elements that the service hasn't included in this request. Use this token
|
|
4354
4954
|
* with the next request to retrieve additional objects.</p>
|
|
4355
4955
|
*/
|
|
4356
4956
|
nextToken?: string;
|
|
@@ -4371,7 +4971,7 @@ export interface ListImagePackagesRequest {
|
|
|
4371
4971
|
maxResults?: number;
|
|
4372
4972
|
/**
|
|
4373
4973
|
* @public
|
|
4374
|
-
* <p>A token to specify where to start paginating. This is the
|
|
4974
|
+
* <p>A token to specify where to start paginating. This is the nextToken
|
|
4375
4975
|
* from a previously truncated response.</p>
|
|
4376
4976
|
*/
|
|
4377
4977
|
nextToken?: string;
|
|
@@ -4409,7 +5009,7 @@ export interface ListImagePackagesResponse {
|
|
|
4409
5009
|
/**
|
|
4410
5010
|
* @public
|
|
4411
5011
|
* <p>The next token used for paginated responses. When this field isn't empty,
|
|
4412
|
-
* there are additional elements that the service
|
|
5012
|
+
* there are additional elements that the service hasn't included in this request. Use this token
|
|
4413
5013
|
* with the next request to retrieve additional objects.</p>
|
|
4414
5014
|
*/
|
|
4415
5015
|
nextToken?: string;
|
|
@@ -4448,7 +5048,7 @@ export interface ListImagePipelineImagesRequest {
|
|
|
4448
5048
|
maxResults?: number;
|
|
4449
5049
|
/**
|
|
4450
5050
|
* @public
|
|
4451
|
-
* <p>A token to specify where to start paginating. This is the
|
|
5051
|
+
* <p>A token to specify where to start paginating. This is the nextToken
|
|
4452
5052
|
* from a previously truncated response.</p>
|
|
4453
5053
|
*/
|
|
4454
5054
|
nextToken?: string;
|
|
@@ -4470,7 +5070,7 @@ export interface ListImagePipelineImagesResponse {
|
|
|
4470
5070
|
/**
|
|
4471
5071
|
* @public
|
|
4472
5072
|
* <p>The next token used for paginated responses. When this field isn't empty,
|
|
4473
|
-
* there are additional elements that the service
|
|
5073
|
+
* there are additional elements that the service hasn't included in this request. Use this token
|
|
4474
5074
|
* with the next request to retrieve additional objects.</p>
|
|
4475
5075
|
*/
|
|
4476
5076
|
nextToken?: string;
|
|
@@ -4523,7 +5123,7 @@ export interface ListImagePipelinesRequest {
|
|
|
4523
5123
|
maxResults?: number;
|
|
4524
5124
|
/**
|
|
4525
5125
|
* @public
|
|
4526
|
-
* <p>A token to specify where to start paginating. This is the
|
|
5126
|
+
* <p>A token to specify where to start paginating. This is the nextToken
|
|
4527
5127
|
* from a previously truncated response.</p>
|
|
4528
5128
|
*/
|
|
4529
5129
|
nextToken?: string;
|
|
@@ -4545,7 +5145,7 @@ export interface ListImagePipelinesResponse {
|
|
|
4545
5145
|
/**
|
|
4546
5146
|
* @public
|
|
4547
5147
|
* <p>The next token used for paginated responses. When this field isn't empty,
|
|
4548
|
-
* there are additional elements that the service
|
|
5148
|
+
* there are additional elements that the service hasn't included in this request. Use this token
|
|
4549
5149
|
* with the next request to retrieve additional objects.</p>
|
|
4550
5150
|
*/
|
|
4551
5151
|
nextToken?: string;
|
|
@@ -4591,7 +5191,7 @@ export interface ListImageRecipesRequest {
|
|
|
4591
5191
|
maxResults?: number;
|
|
4592
5192
|
/**
|
|
4593
5193
|
* @public
|
|
4594
|
-
* <p>A token to specify where to start paginating. This is the
|
|
5194
|
+
* <p>A token to specify where to start paginating. This is the nextToken
|
|
4595
5195
|
* from a previously truncated response.</p>
|
|
4596
5196
|
*/
|
|
4597
5197
|
nextToken?: string;
|
|
@@ -4654,7 +5254,7 @@ export interface ListImageRecipesResponse {
|
|
|
4654
5254
|
/**
|
|
4655
5255
|
* @public
|
|
4656
5256
|
* <p>The next token used for paginated responses. When this field isn't empty,
|
|
4657
|
-
* there are additional elements that the service
|
|
5257
|
+
* there are additional elements that the service hasn't included in this request. Use this token
|
|
4658
5258
|
* with the next request to retrieve additional objects.</p>
|
|
4659
5259
|
*/
|
|
4660
5260
|
nextToken?: string;
|
|
@@ -4715,7 +5315,7 @@ export interface ListImagesRequest {
|
|
|
4715
5315
|
maxResults?: number;
|
|
4716
5316
|
/**
|
|
4717
5317
|
* @public
|
|
4718
|
-
* <p>A token to specify where to start paginating. This is the
|
|
5318
|
+
* <p>A token to specify where to start paginating. This is the nextToken
|
|
4719
5319
|
* from a previously truncated response.</p>
|
|
4720
5320
|
*/
|
|
4721
5321
|
nextToken?: string;
|
|
@@ -4861,7 +5461,7 @@ export interface ListImagesResponse {
|
|
|
4861
5461
|
/**
|
|
4862
5462
|
* @public
|
|
4863
5463
|
* <p>The next token used for paginated responses. When this field isn't empty,
|
|
4864
|
-
* there are additional elements that the service
|
|
5464
|
+
* there are additional elements that the service hasn't included in this request. Use this token
|
|
4865
5465
|
* with the next request to retrieve additional objects.</p>
|
|
4866
5466
|
*/
|
|
4867
5467
|
nextToken?: string;
|
|
@@ -4879,7 +5479,7 @@ export interface ListImageScanFindingAggregationsRequest {
|
|
|
4879
5479
|
filter?: Filter;
|
|
4880
5480
|
/**
|
|
4881
5481
|
* @public
|
|
4882
|
-
* <p>A token to specify where to start paginating. This is the
|
|
5482
|
+
* <p>A token to specify where to start paginating. This is the nextToken
|
|
4883
5483
|
* from a previously truncated response.</p>
|
|
4884
5484
|
*/
|
|
4885
5485
|
nextToken?: string;
|
|
@@ -4990,7 +5590,7 @@ export interface ListImageScanFindingAggregationsResponse {
|
|
|
4990
5590
|
/**
|
|
4991
5591
|
* @public
|
|
4992
5592
|
* <p>The next token used for paginated responses. When this field isn't empty,
|
|
4993
|
-
* there are additional elements that the service
|
|
5593
|
+
* there are additional elements that the service hasn't included in this request. Use this token
|
|
4994
5594
|
* with the next request to retrieve additional objects.</p>
|
|
4995
5595
|
*/
|
|
4996
5596
|
nextToken?: string;
|
|
@@ -5052,7 +5652,7 @@ export interface ListImageScanFindingsRequest {
|
|
|
5052
5652
|
maxResults?: number;
|
|
5053
5653
|
/**
|
|
5054
5654
|
* @public
|
|
5055
|
-
* <p>A token to specify where to start paginating. This is the
|
|
5655
|
+
* <p>A token to specify where to start paginating. This is the nextToken
|
|
5056
5656
|
* from a previously truncated response.</p>
|
|
5057
5657
|
*/
|
|
5058
5658
|
nextToken?: string;
|
|
@@ -5314,7 +5914,7 @@ export interface ListImageScanFindingsResponse {
|
|
|
5314
5914
|
/**
|
|
5315
5915
|
* @public
|
|
5316
5916
|
* <p>The next token used for paginated responses. When this field isn't empty,
|
|
5317
|
-
* there are additional elements that the service
|
|
5917
|
+
* there are additional elements that the service hasn't included in this request. Use this token
|
|
5318
5918
|
* with the next request to retrieve additional objects.</p>
|
|
5319
5919
|
*/
|
|
5320
5920
|
nextToken?: string;
|
|
@@ -5335,7 +5935,7 @@ export interface ListInfrastructureConfigurationsRequest {
|
|
|
5335
5935
|
maxResults?: number;
|
|
5336
5936
|
/**
|
|
5337
5937
|
* @public
|
|
5338
|
-
* <p>A token to specify where to start paginating. This is the
|
|
5938
|
+
* <p>A token to specify where to start paginating. This is the nextToken
|
|
5339
5939
|
* from a previously truncated response.</p>
|
|
5340
5940
|
*/
|
|
5341
5941
|
nextToken?: string;
|
|
@@ -5408,116 +6008,443 @@ export interface ListInfrastructureConfigurationsResponse {
|
|
|
5408
6008
|
/**
|
|
5409
6009
|
* @public
|
|
5410
6010
|
* <p>The next token used for paginated responses. When this field isn't empty,
|
|
5411
|
-
* there are additional elements that the service
|
|
6011
|
+
* there are additional elements that the service hasn't included in this request. Use this token
|
|
5412
6012
|
* with the next request to retrieve additional objects.</p>
|
|
5413
6013
|
*/
|
|
5414
6014
|
nextToken?: string;
|
|
5415
6015
|
}
|
|
5416
6016
|
/**
|
|
5417
6017
|
* @public
|
|
5418
|
-
* <p>The specified parameter is invalid. Review the available parameters for the API
|
|
5419
|
-
* request.</p>
|
|
5420
6018
|
*/
|
|
5421
|
-
export
|
|
5422
|
-
readonly name: "InvalidParameterException";
|
|
5423
|
-
readonly $fault: "client";
|
|
6019
|
+
export interface ListLifecycleExecutionResourcesRequest {
|
|
5424
6020
|
/**
|
|
5425
|
-
* @
|
|
6021
|
+
* @public
|
|
6022
|
+
* <p>Use the unique identifier for a runtime instance of the lifecycle policy to get runtime details.</p>
|
|
5426
6023
|
*/
|
|
5427
|
-
|
|
5428
|
-
}
|
|
5429
|
-
/**
|
|
5430
|
-
* @public
|
|
5431
|
-
*/
|
|
5432
|
-
export interface ListTagsForResourceRequest {
|
|
6024
|
+
lifecycleExecutionId: string | undefined;
|
|
5433
6025
|
/**
|
|
5434
6026
|
* @public
|
|
5435
|
-
* <p>
|
|
6027
|
+
* <p>You can leave this empty to get a list of Image Builder resources that were identified for lifecycle actions.</p>
|
|
6028
|
+
* <p>To get a list of associated resources that are impacted for an individual resource (the parent), specify
|
|
6029
|
+
* its Amazon Resource Name (ARN). Associated resources are produced from your image and distributed when you run a build, such as
|
|
6030
|
+
* AMIs or container images stored in ECR repositories.</p>
|
|
5436
6031
|
*/
|
|
5437
|
-
|
|
6032
|
+
parentResourceId?: string;
|
|
6033
|
+
/**
|
|
6034
|
+
* @public
|
|
6035
|
+
* <p>The maximum items to return in a request.</p>
|
|
6036
|
+
*/
|
|
6037
|
+
maxResults?: number;
|
|
6038
|
+
/**
|
|
6039
|
+
* @public
|
|
6040
|
+
* <p>A token to specify where to start paginating. This is the nextToken
|
|
6041
|
+
* from a previously truncated response.</p>
|
|
6042
|
+
*/
|
|
6043
|
+
nextToken?: string;
|
|
5438
6044
|
}
|
|
5439
6045
|
/**
|
|
5440
6046
|
* @public
|
|
6047
|
+
* @enum
|
|
5441
6048
|
*/
|
|
5442
|
-
export
|
|
6049
|
+
export declare const LifecycleExecutionResourceActionName: {
|
|
6050
|
+
readonly AVAILABLE: "AVAILABLE";
|
|
6051
|
+
readonly DELETE: "DELETE";
|
|
6052
|
+
readonly DEPRECATE: "DEPRECATE";
|
|
6053
|
+
readonly DISABLE: "DISABLE";
|
|
6054
|
+
};
|
|
6055
|
+
/**
|
|
6056
|
+
* @public
|
|
6057
|
+
*/
|
|
6058
|
+
export type LifecycleExecutionResourceActionName = (typeof LifecycleExecutionResourceActionName)[keyof typeof LifecycleExecutionResourceActionName];
|
|
6059
|
+
/**
|
|
6060
|
+
* @public
|
|
6061
|
+
* <p>The lifecycle policy action that was identified for the impacted resource.</p>
|
|
6062
|
+
*/
|
|
6063
|
+
export interface LifecycleExecutionResourceAction {
|
|
5443
6064
|
/**
|
|
5444
6065
|
* @public
|
|
5445
|
-
* <p>The
|
|
6066
|
+
* <p>The name of the resource that was identified for a lifecycle policy action.</p>
|
|
5446
6067
|
*/
|
|
5447
|
-
|
|
6068
|
+
name?: LifecycleExecutionResourceActionName;
|
|
6069
|
+
/**
|
|
6070
|
+
* @public
|
|
6071
|
+
* <p>The reason why the lifecycle policy action is taken.</p>
|
|
6072
|
+
*/
|
|
6073
|
+
reason?: string;
|
|
5448
6074
|
}
|
|
5449
6075
|
/**
|
|
5450
6076
|
* @public
|
|
6077
|
+
* @enum
|
|
5451
6078
|
*/
|
|
5452
|
-
export
|
|
5453
|
-
|
|
5454
|
-
|
|
5455
|
-
|
|
5456
|
-
|
|
5457
|
-
|
|
6079
|
+
export declare const LifecycleExecutionResourceStatus: {
|
|
6080
|
+
readonly FAILED: "FAILED";
|
|
6081
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
6082
|
+
readonly SKIPPED: "SKIPPED";
|
|
6083
|
+
readonly SUCCESS: "SUCCESS";
|
|
6084
|
+
};
|
|
6085
|
+
/**
|
|
6086
|
+
* @public
|
|
6087
|
+
*/
|
|
6088
|
+
export type LifecycleExecutionResourceStatus = (typeof LifecycleExecutionResourceStatus)[keyof typeof LifecycleExecutionResourceStatus];
|
|
6089
|
+
/**
|
|
6090
|
+
* @public
|
|
6091
|
+
* <p>Contains the state of an impacted resource that the runtime instance
|
|
6092
|
+
* of the lifecycle policy identified for action.</p>
|
|
6093
|
+
*/
|
|
6094
|
+
export interface LifecycleExecutionResourceState {
|
|
5458
6095
|
/**
|
|
5459
6096
|
* @public
|
|
5460
|
-
* <p>
|
|
5461
|
-
*
|
|
6097
|
+
* <p>The runtime status of the lifecycle action taken for the
|
|
6098
|
+
* impacted resource.</p>
|
|
5462
6099
|
*/
|
|
5463
|
-
|
|
6100
|
+
status?: LifecycleExecutionResourceStatus;
|
|
5464
6101
|
/**
|
|
5465
6102
|
* @public
|
|
5466
|
-
* <p>
|
|
5467
|
-
* resource ARN.</p>
|
|
6103
|
+
* <p>Messaging that clarifies the reason for the assigned status.</p>
|
|
5468
6104
|
*/
|
|
5469
|
-
|
|
6105
|
+
reason?: string;
|
|
5470
6106
|
}
|
|
5471
6107
|
/**
|
|
5472
6108
|
* @public
|
|
5473
|
-
* <p>
|
|
6109
|
+
* <p>Contains the state of an impacted snapshot resource that the runtime
|
|
6110
|
+
* instance of the lifecycle policy identified for action.</p>
|
|
5474
6111
|
*/
|
|
5475
|
-
export interface
|
|
6112
|
+
export interface LifecycleExecutionSnapshotResource {
|
|
5476
6113
|
/**
|
|
5477
6114
|
* @public
|
|
5478
|
-
* <p>
|
|
6115
|
+
* <p>Identifies the impacted snapshot resource.</p>
|
|
5479
6116
|
*/
|
|
5480
|
-
|
|
6117
|
+
snapshotId?: string;
|
|
5481
6118
|
/**
|
|
5482
6119
|
* @public
|
|
5483
|
-
* <p>
|
|
5484
|
-
* workflow.</p>
|
|
6120
|
+
* <p>The runtime status of the lifecycle action taken for the snapshot.</p>
|
|
5485
6121
|
*/
|
|
5486
|
-
|
|
6122
|
+
state?: LifecycleExecutionResourceState;
|
|
6123
|
+
}
|
|
6124
|
+
/**
|
|
6125
|
+
* @public
|
|
6126
|
+
* <p>Contains details for a resource that the runtime instance of the
|
|
6127
|
+
* lifecycle policy identified for action.</p>
|
|
6128
|
+
*/
|
|
6129
|
+
export interface LifecycleExecutionResource {
|
|
5487
6130
|
/**
|
|
5488
6131
|
* @public
|
|
5489
|
-
* <p>
|
|
6132
|
+
* <p>The account that owns the impacted resource.</p>
|
|
5490
6133
|
*/
|
|
5491
|
-
|
|
6134
|
+
accountId?: string;
|
|
5492
6135
|
/**
|
|
5493
6136
|
* @public
|
|
5494
|
-
* <p>The
|
|
6137
|
+
* <p>Identifies the impacted resource. The resource ID depends on the type of
|
|
6138
|
+
* resource, as follows.</p>
|
|
6139
|
+
* <ul>
|
|
6140
|
+
* <li>
|
|
6141
|
+
* <p>Image Builder image resources: Amazon Resource Name (ARN)</p>
|
|
6142
|
+
* </li>
|
|
6143
|
+
* <li>
|
|
6144
|
+
* <p>Distributed AMIs: AMI ID</p>
|
|
6145
|
+
* </li>
|
|
6146
|
+
* <li>
|
|
6147
|
+
* <p>Container images distributed to an ECR repository: image URI or SHA Digest</p>
|
|
6148
|
+
* </li>
|
|
6149
|
+
* </ul>
|
|
5495
6150
|
*/
|
|
5496
|
-
|
|
6151
|
+
resourceId?: string;
|
|
5497
6152
|
/**
|
|
5498
6153
|
* @public
|
|
5499
|
-
* <p>The runtime
|
|
6154
|
+
* <p>The runtime state for the lifecycle execution.</p>
|
|
5500
6155
|
*/
|
|
5501
|
-
|
|
6156
|
+
state?: LifecycleExecutionResourceState;
|
|
5502
6157
|
/**
|
|
5503
6158
|
* @public
|
|
5504
|
-
* <p>The
|
|
5505
|
-
* counts for steps that succeeded, were skipped, and failed.</p>
|
|
6159
|
+
* <p>The action to take for the identified resource.</p>
|
|
5506
6160
|
*/
|
|
5507
|
-
|
|
6161
|
+
action?: LifecycleExecutionResourceAction;
|
|
5508
6162
|
/**
|
|
5509
6163
|
* @public
|
|
5510
|
-
* <p>
|
|
6164
|
+
* <p>The Amazon Web Services Region where the lifecycle execution resource is stored.</p>
|
|
5511
6165
|
*/
|
|
5512
|
-
|
|
6166
|
+
region?: string;
|
|
5513
6167
|
/**
|
|
5514
6168
|
* @public
|
|
5515
|
-
* <p>A
|
|
6169
|
+
* <p>A list of associated resource snapshots for the impacted resource if
|
|
6170
|
+
* it’s an AMI.</p>
|
|
5516
6171
|
*/
|
|
5517
|
-
|
|
6172
|
+
snapshots?: LifecycleExecutionSnapshotResource[];
|
|
5518
6173
|
/**
|
|
5519
6174
|
* @public
|
|
5520
|
-
* <p>
|
|
6175
|
+
* <p>For an impacted container image, this identifies a list of URIs for associated
|
|
6176
|
+
* container images distributed to ECR repositories.</p>
|
|
6177
|
+
*/
|
|
6178
|
+
imageUris?: string[];
|
|
6179
|
+
}
|
|
6180
|
+
/**
|
|
6181
|
+
* @public
|
|
6182
|
+
*/
|
|
6183
|
+
export interface ListLifecycleExecutionResourcesResponse {
|
|
6184
|
+
/**
|
|
6185
|
+
* @public
|
|
6186
|
+
* <p>Runtime details for the specified runtime instance of the lifecycle policy.</p>
|
|
6187
|
+
*/
|
|
6188
|
+
lifecycleExecutionId?: string;
|
|
6189
|
+
/**
|
|
6190
|
+
* @public
|
|
6191
|
+
* <p>The current state of the lifecycle runtime instance.</p>
|
|
6192
|
+
*/
|
|
6193
|
+
lifecycleExecutionState?: LifecycleExecutionState;
|
|
6194
|
+
/**
|
|
6195
|
+
* @public
|
|
6196
|
+
* <p>A list of resources that were identified for lifecycle actions.</p>
|
|
6197
|
+
*/
|
|
6198
|
+
resources?: LifecycleExecutionResource[];
|
|
6199
|
+
/**
|
|
6200
|
+
* @public
|
|
6201
|
+
* <p>The next token used for paginated responses. When this field isn't empty,
|
|
6202
|
+
* there are additional elements that the service hasn't included in this request. Use this token
|
|
6203
|
+
* with the next request to retrieve additional objects.</p>
|
|
6204
|
+
*/
|
|
6205
|
+
nextToken?: string;
|
|
6206
|
+
}
|
|
6207
|
+
/**
|
|
6208
|
+
* @public
|
|
6209
|
+
*/
|
|
6210
|
+
export interface ListLifecycleExecutionsRequest {
|
|
6211
|
+
/**
|
|
6212
|
+
* @public
|
|
6213
|
+
* <p>The maximum items to return in a request.</p>
|
|
6214
|
+
*/
|
|
6215
|
+
maxResults?: number;
|
|
6216
|
+
/**
|
|
6217
|
+
* @public
|
|
6218
|
+
* <p>A token to specify where to start paginating. This is the nextToken
|
|
6219
|
+
* from a previously truncated response.</p>
|
|
6220
|
+
*/
|
|
6221
|
+
nextToken?: string;
|
|
6222
|
+
/**
|
|
6223
|
+
* @public
|
|
6224
|
+
* <p>The Amazon Resource Name (ARN) of the resource for which to get a list of lifecycle runtime instances.</p>
|
|
6225
|
+
*/
|
|
6226
|
+
resourceArn: string | undefined;
|
|
6227
|
+
}
|
|
6228
|
+
/**
|
|
6229
|
+
* @public
|
|
6230
|
+
*/
|
|
6231
|
+
export interface ListLifecycleExecutionsResponse {
|
|
6232
|
+
/**
|
|
6233
|
+
* @public
|
|
6234
|
+
* <p>A list of lifecycle runtime instances for the specified resource.</p>
|
|
6235
|
+
*/
|
|
6236
|
+
lifecycleExecutions?: LifecycleExecution[];
|
|
6237
|
+
/**
|
|
6238
|
+
* @public
|
|
6239
|
+
* <p>The next token used for paginated responses. When this field isn't empty,
|
|
6240
|
+
* there are additional elements that the service hasn't included in this request. Use this token
|
|
6241
|
+
* with the next request to retrieve additional objects.</p>
|
|
6242
|
+
*/
|
|
6243
|
+
nextToken?: string;
|
|
6244
|
+
}
|
|
6245
|
+
/**
|
|
6246
|
+
* @public
|
|
6247
|
+
*/
|
|
6248
|
+
export interface ListLifecyclePoliciesRequest {
|
|
6249
|
+
/**
|
|
6250
|
+
* @public
|
|
6251
|
+
* <p>Streamline results based on one of the following values: <code>Name</code>,
|
|
6252
|
+
* <code>Status</code>.</p>
|
|
6253
|
+
*/
|
|
6254
|
+
filters?: Filter[];
|
|
6255
|
+
/**
|
|
6256
|
+
* @public
|
|
6257
|
+
* <p>The maximum items to return in a request.</p>
|
|
6258
|
+
*/
|
|
6259
|
+
maxResults?: number;
|
|
6260
|
+
/**
|
|
6261
|
+
* @public
|
|
6262
|
+
* <p>A token to specify where to start paginating. This is the nextToken
|
|
6263
|
+
* from a previously truncated response.</p>
|
|
6264
|
+
*/
|
|
6265
|
+
nextToken?: string;
|
|
6266
|
+
}
|
|
6267
|
+
/**
|
|
6268
|
+
* @public
|
|
6269
|
+
* <p>Contains a summary of lifecycle policy resources.</p>
|
|
6270
|
+
*/
|
|
6271
|
+
export interface LifecyclePolicySummary {
|
|
6272
|
+
/**
|
|
6273
|
+
* @public
|
|
6274
|
+
* <p>The Amazon Resource Name (ARN) of the lifecycle policy summary resource.</p>
|
|
6275
|
+
*/
|
|
6276
|
+
arn?: string;
|
|
6277
|
+
/**
|
|
6278
|
+
* @public
|
|
6279
|
+
* <p>The name of the lifecycle policy.</p>
|
|
6280
|
+
*/
|
|
6281
|
+
name?: string;
|
|
6282
|
+
/**
|
|
6283
|
+
* @public
|
|
6284
|
+
* <p>Optional description for the lifecycle policy.</p>
|
|
6285
|
+
*/
|
|
6286
|
+
description?: string;
|
|
6287
|
+
/**
|
|
6288
|
+
* @public
|
|
6289
|
+
* <p>The lifecycle policy resource status.</p>
|
|
6290
|
+
*/
|
|
6291
|
+
status?: LifecyclePolicyStatus;
|
|
6292
|
+
/**
|
|
6293
|
+
* @public
|
|
6294
|
+
* <p>The name of the IAM role that Image Builder uses to run the lifecycle policy.</p>
|
|
6295
|
+
*/
|
|
6296
|
+
executionRole?: string;
|
|
6297
|
+
/**
|
|
6298
|
+
* @public
|
|
6299
|
+
* <p>The type of resources the lifecycle policy targets.</p>
|
|
6300
|
+
*/
|
|
6301
|
+
resourceType?: LifecyclePolicyResourceType;
|
|
6302
|
+
/**
|
|
6303
|
+
* @public
|
|
6304
|
+
* <p>The timestamp when Image Builder created the lifecycle policy resource.</p>
|
|
6305
|
+
*/
|
|
6306
|
+
dateCreated?: Date;
|
|
6307
|
+
/**
|
|
6308
|
+
* @public
|
|
6309
|
+
* <p>The timestamp when Image Builder updated the lifecycle policy resource.</p>
|
|
6310
|
+
*/
|
|
6311
|
+
dateUpdated?: Date;
|
|
6312
|
+
/**
|
|
6313
|
+
* @public
|
|
6314
|
+
* <p>The timestamp for the last time Image Builder ran the lifecycle policy.</p>
|
|
6315
|
+
*/
|
|
6316
|
+
dateLastRun?: Date;
|
|
6317
|
+
/**
|
|
6318
|
+
* @public
|
|
6319
|
+
* <p>To help manage your lifecycle policy resources, you can assign your own
|
|
6320
|
+
* metadata to each resource in the form of tags. Each tag consists of a key and
|
|
6321
|
+
* an optional value, both of which you define.</p>
|
|
6322
|
+
*/
|
|
6323
|
+
tags?: Record<string, string>;
|
|
6324
|
+
}
|
|
6325
|
+
/**
|
|
6326
|
+
* @public
|
|
6327
|
+
*/
|
|
6328
|
+
export interface ListLifecyclePoliciesResponse {
|
|
6329
|
+
/**
|
|
6330
|
+
* @public
|
|
6331
|
+
* <p>A list of lifecycle policies in your Amazon Web Services account that meet the criteria
|
|
6332
|
+
* specified in the request.</p>
|
|
6333
|
+
*/
|
|
6334
|
+
lifecyclePolicySummaryList?: LifecyclePolicySummary[];
|
|
6335
|
+
/**
|
|
6336
|
+
* @public
|
|
6337
|
+
* <p>The next token used for paginated responses. When this field isn't empty,
|
|
6338
|
+
* there are additional elements that the service hasn't included in this request. Use this token
|
|
6339
|
+
* with the next request to retrieve additional objects.</p>
|
|
6340
|
+
*/
|
|
6341
|
+
nextToken?: string;
|
|
6342
|
+
}
|
|
6343
|
+
/**
|
|
6344
|
+
* @public
|
|
6345
|
+
* <p>The specified parameter is invalid. Review the available parameters for the API
|
|
6346
|
+
* request.</p>
|
|
6347
|
+
*/
|
|
6348
|
+
export declare class InvalidParameterException extends __BaseException {
|
|
6349
|
+
readonly name: "InvalidParameterException";
|
|
6350
|
+
readonly $fault: "client";
|
|
6351
|
+
/**
|
|
6352
|
+
* @internal
|
|
6353
|
+
*/
|
|
6354
|
+
constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
|
|
6355
|
+
}
|
|
6356
|
+
/**
|
|
6357
|
+
* @public
|
|
6358
|
+
*/
|
|
6359
|
+
export interface ListTagsForResourceRequest {
|
|
6360
|
+
/**
|
|
6361
|
+
* @public
|
|
6362
|
+
* <p>The Amazon Resource Name (ARN) of the resource whose tags you want to retrieve.</p>
|
|
6363
|
+
*/
|
|
6364
|
+
resourceArn: string | undefined;
|
|
6365
|
+
}
|
|
6366
|
+
/**
|
|
6367
|
+
* @public
|
|
6368
|
+
*/
|
|
6369
|
+
export interface ListTagsForResourceResponse {
|
|
6370
|
+
/**
|
|
6371
|
+
* @public
|
|
6372
|
+
* <p>The tags for the specified resource.</p>
|
|
6373
|
+
*/
|
|
6374
|
+
tags?: Record<string, string>;
|
|
6375
|
+
}
|
|
6376
|
+
/**
|
|
6377
|
+
* @public
|
|
6378
|
+
*/
|
|
6379
|
+
export interface ListWorkflowExecutionsRequest {
|
|
6380
|
+
/**
|
|
6381
|
+
* @public
|
|
6382
|
+
* <p>The maximum items to return in a request.</p>
|
|
6383
|
+
*/
|
|
6384
|
+
maxResults?: number;
|
|
6385
|
+
/**
|
|
6386
|
+
* @public
|
|
6387
|
+
* <p>A token to specify where to start paginating. This is the nextToken
|
|
6388
|
+
* from a previously truncated response.</p>
|
|
6389
|
+
*/
|
|
6390
|
+
nextToken?: string;
|
|
6391
|
+
/**
|
|
6392
|
+
* @public
|
|
6393
|
+
* <p>List all workflow runtime instances for the specified image build version
|
|
6394
|
+
* resource ARN.</p>
|
|
6395
|
+
*/
|
|
6396
|
+
imageBuildVersionArn: string | undefined;
|
|
6397
|
+
}
|
|
6398
|
+
/**
|
|
6399
|
+
* @public
|
|
6400
|
+
* <p>Metadata that includes details and status from this runtime instance of the workflow.</p>
|
|
6401
|
+
*/
|
|
6402
|
+
export interface WorkflowExecutionMetadata {
|
|
6403
|
+
/**
|
|
6404
|
+
* @public
|
|
6405
|
+
* <p>The Amazon Resource Name (ARN) of the workflow resource build version that ran.</p>
|
|
6406
|
+
*/
|
|
6407
|
+
workflowBuildVersionArn?: string;
|
|
6408
|
+
/**
|
|
6409
|
+
* @public
|
|
6410
|
+
* <p>Unique identifier that Image Builder assigns to keep track of runtime resources each time it runs a
|
|
6411
|
+
* workflow.</p>
|
|
6412
|
+
*/
|
|
6413
|
+
workflowExecutionId?: string;
|
|
6414
|
+
/**
|
|
6415
|
+
* @public
|
|
6416
|
+
* <p>Indicates what type of workflow that Image Builder ran for this runtime instance of the workflow.</p>
|
|
6417
|
+
*/
|
|
6418
|
+
type?: WorkflowType;
|
|
6419
|
+
/**
|
|
6420
|
+
* @public
|
|
6421
|
+
* <p>The current runtime status for this workflow.</p>
|
|
6422
|
+
*/
|
|
6423
|
+
status?: WorkflowExecutionStatus;
|
|
6424
|
+
/**
|
|
6425
|
+
* @public
|
|
6426
|
+
* <p>The runtime output message from the workflow, if applicable.</p>
|
|
6427
|
+
*/
|
|
6428
|
+
message?: string;
|
|
6429
|
+
/**
|
|
6430
|
+
* @public
|
|
6431
|
+
* <p>The total number of steps in the workflow. This should equal the sum of the step
|
|
6432
|
+
* counts for steps that succeeded, were skipped, and failed.</p>
|
|
6433
|
+
*/
|
|
6434
|
+
totalStepCount?: number;
|
|
6435
|
+
/**
|
|
6436
|
+
* @public
|
|
6437
|
+
* <p>A runtime count for the number of steps in the workflow that ran successfully.</p>
|
|
6438
|
+
*/
|
|
6439
|
+
totalStepsSucceeded?: number;
|
|
6440
|
+
/**
|
|
6441
|
+
* @public
|
|
6442
|
+
* <p>A runtime count for the number of steps in the workflow that failed.</p>
|
|
6443
|
+
*/
|
|
6444
|
+
totalStepsFailed?: number;
|
|
6445
|
+
/**
|
|
6446
|
+
* @public
|
|
6447
|
+
* <p>A runtime count for the number of steps in the workflow that were skipped.</p>
|
|
5521
6448
|
*/
|
|
5522
6449
|
totalStepsSkipped?: number;
|
|
5523
6450
|
/**
|
|
@@ -5560,7 +6487,7 @@ export interface ListWorkflowExecutionsResponse {
|
|
|
5560
6487
|
/**
|
|
5561
6488
|
* @public
|
|
5562
6489
|
* <p>The next token used for paginated responses. When this field isn't empty,
|
|
5563
|
-
* there are additional elements that the service
|
|
6490
|
+
* there are additional elements that the service hasn't included in this request. Use this token
|
|
5564
6491
|
* with the next request to retrieve additional objects.</p>
|
|
5565
6492
|
*/
|
|
5566
6493
|
nextToken?: string;
|
|
@@ -5576,7 +6503,7 @@ export interface ListWorkflowStepExecutionsRequest {
|
|
|
5576
6503
|
maxResults?: number;
|
|
5577
6504
|
/**
|
|
5578
6505
|
* @public
|
|
5579
|
-
* <p>A token to specify where to start paginating. This is the
|
|
6506
|
+
* <p>A token to specify where to start paginating. This is the nextToken
|
|
5580
6507
|
* from a previously truncated response.</p>
|
|
5581
6508
|
*/
|
|
5582
6509
|
nextToken?: string;
|
|
@@ -5689,7 +6616,7 @@ export interface ListWorkflowStepExecutionsResponse {
|
|
|
5689
6616
|
/**
|
|
5690
6617
|
* @public
|
|
5691
6618
|
* <p>The next token used for paginated responses. When this field isn't empty,
|
|
5692
|
-
* there are additional elements that the service
|
|
6619
|
+
* there are additional elements that the service hasn't included in this request. Use this token
|
|
5693
6620
|
* with the next request to retrieve additional objects.</p>
|
|
5694
6621
|
*/
|
|
5695
6622
|
nextToken?: string;
|
|
@@ -5845,7 +6772,9 @@ export interface StartImagePipelineExecutionRequest {
|
|
|
5845
6772
|
imagePipelineArn: string | undefined;
|
|
5846
6773
|
/**
|
|
5847
6774
|
* @public
|
|
5848
|
-
* <p>
|
|
6775
|
+
* <p>Unique, case-sensitive identifier you provide to ensure
|
|
6776
|
+
* 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>
|
|
6777
|
+
* in the <i>Amazon EC2 API Reference</i>.</p>
|
|
5849
6778
|
*/
|
|
5850
6779
|
clientToken?: string;
|
|
5851
6780
|
}
|
|
@@ -5860,15 +6789,132 @@ export interface StartImagePipelineExecutionResponse {
|
|
|
5860
6789
|
requestId?: string;
|
|
5861
6790
|
/**
|
|
5862
6791
|
* @public
|
|
5863
|
-
* <p>The
|
|
6792
|
+
* <p>The client token that uniquely identifies the request.</p>
|
|
5864
6793
|
*/
|
|
5865
6794
|
clientToken?: string;
|
|
5866
6795
|
/**
|
|
5867
6796
|
* @public
|
|
5868
|
-
* <p>The Amazon Resource Name (ARN) of the image that
|
|
6797
|
+
* <p>The Amazon Resource Name (ARN) of the image that the request created.</p>
|
|
5869
6798
|
*/
|
|
5870
6799
|
imageBuildVersionArn?: string;
|
|
5871
6800
|
}
|
|
6801
|
+
/**
|
|
6802
|
+
* @public
|
|
6803
|
+
* <p>Additional rules to specify resources that should be exempt from ad-hoc lifecycle actions.</p>
|
|
6804
|
+
*/
|
|
6805
|
+
export interface ResourceStateUpdateExclusionRules {
|
|
6806
|
+
/**
|
|
6807
|
+
* @public
|
|
6808
|
+
* <p>Defines criteria for AMIs that are excluded from lifecycle actions.</p>
|
|
6809
|
+
*/
|
|
6810
|
+
amis?: LifecyclePolicyDetailExclusionRulesAmis;
|
|
6811
|
+
}
|
|
6812
|
+
/**
|
|
6813
|
+
* @public
|
|
6814
|
+
* <p>Specifies if the lifecycle policy should apply actions to selected resources.</p>
|
|
6815
|
+
*/
|
|
6816
|
+
export interface ResourceStateUpdateIncludeResources {
|
|
6817
|
+
/**
|
|
6818
|
+
* @public
|
|
6819
|
+
* <p>Specifies whether the lifecycle action should apply to distributed AMIs</p>
|
|
6820
|
+
*/
|
|
6821
|
+
amis?: boolean;
|
|
6822
|
+
/**
|
|
6823
|
+
* @public
|
|
6824
|
+
* <p>Specifies whether the lifecycle action should apply to snapshots associated with distributed AMIs.</p>
|
|
6825
|
+
*/
|
|
6826
|
+
snapshots?: boolean;
|
|
6827
|
+
/**
|
|
6828
|
+
* @public
|
|
6829
|
+
* <p>Specifies whether the lifecycle action should apply to distributed containers.</p>
|
|
6830
|
+
*/
|
|
6831
|
+
containers?: boolean;
|
|
6832
|
+
}
|
|
6833
|
+
/**
|
|
6834
|
+
* @public
|
|
6835
|
+
* @enum
|
|
6836
|
+
*/
|
|
6837
|
+
export declare const ResourceStatus: {
|
|
6838
|
+
readonly AVAILABLE: "AVAILABLE";
|
|
6839
|
+
readonly DELETED: "DELETED";
|
|
6840
|
+
readonly DEPRECATED: "DEPRECATED";
|
|
6841
|
+
readonly DISABLED: "DISABLED";
|
|
6842
|
+
};
|
|
6843
|
+
/**
|
|
6844
|
+
* @public
|
|
6845
|
+
*/
|
|
6846
|
+
export type ResourceStatus = (typeof ResourceStatus)[keyof typeof ResourceStatus];
|
|
6847
|
+
/**
|
|
6848
|
+
* @public
|
|
6849
|
+
* <p>The current state of an impacted resource.</p>
|
|
6850
|
+
*/
|
|
6851
|
+
export interface ResourceState {
|
|
6852
|
+
/**
|
|
6853
|
+
* @public
|
|
6854
|
+
* <p>Shows the current lifecycle policy action that was applied to an impacted resource.</p>
|
|
6855
|
+
*/
|
|
6856
|
+
status?: ResourceStatus;
|
|
6857
|
+
}
|
|
6858
|
+
/**
|
|
6859
|
+
* @public
|
|
6860
|
+
*/
|
|
6861
|
+
export interface StartResourceStateUpdateRequest {
|
|
6862
|
+
/**
|
|
6863
|
+
* @public
|
|
6864
|
+
* <p>The ARN of the Image Builder resource that is updated. The state update might also
|
|
6865
|
+
* impact associated resources.</p>
|
|
6866
|
+
*/
|
|
6867
|
+
resourceArn: string | undefined;
|
|
6868
|
+
/**
|
|
6869
|
+
* @public
|
|
6870
|
+
* <p>Indicates the lifecycle action to take for this request.</p>
|
|
6871
|
+
*/
|
|
6872
|
+
state: ResourceState | undefined;
|
|
6873
|
+
/**
|
|
6874
|
+
* @public
|
|
6875
|
+
* <p>The name or Amazon Resource Name (ARN) of the IAM role that’s used to update image state.</p>
|
|
6876
|
+
*/
|
|
6877
|
+
executionRole?: string;
|
|
6878
|
+
/**
|
|
6879
|
+
* @public
|
|
6880
|
+
* <p>A list of image resources to update state for.</p>
|
|
6881
|
+
*/
|
|
6882
|
+
includeResources?: ResourceStateUpdateIncludeResources;
|
|
6883
|
+
/**
|
|
6884
|
+
* @public
|
|
6885
|
+
* <p>Skip action on the image resource and associated resources if specified
|
|
6886
|
+
* exclusion rules are met.</p>
|
|
6887
|
+
*/
|
|
6888
|
+
exclusionRules?: ResourceStateUpdateExclusionRules;
|
|
6889
|
+
/**
|
|
6890
|
+
* @public
|
|
6891
|
+
* <p>The timestamp that indicates when resources are updated by a lifecycle action.</p>
|
|
6892
|
+
*/
|
|
6893
|
+
updateAt?: Date;
|
|
6894
|
+
/**
|
|
6895
|
+
* @public
|
|
6896
|
+
* <p>Unique, case-sensitive identifier you provide to ensure
|
|
6897
|
+
* 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>
|
|
6898
|
+
* in the <i>Amazon EC2 API Reference</i>.</p>
|
|
6899
|
+
*/
|
|
6900
|
+
clientToken?: string;
|
|
6901
|
+
}
|
|
6902
|
+
/**
|
|
6903
|
+
* @public
|
|
6904
|
+
*/
|
|
6905
|
+
export interface StartResourceStateUpdateResponse {
|
|
6906
|
+
/**
|
|
6907
|
+
* @public
|
|
6908
|
+
* <p>Identifies the lifecycle runtime instance that started the resource
|
|
6909
|
+
* state update.</p>
|
|
6910
|
+
*/
|
|
6911
|
+
lifecycleExecutionId?: string;
|
|
6912
|
+
/**
|
|
6913
|
+
* @public
|
|
6914
|
+
* <p>The requested ARN of the Image Builder resource for the asynchronous update.</p>
|
|
6915
|
+
*/
|
|
6916
|
+
resourceArn?: string;
|
|
6917
|
+
}
|
|
5872
6918
|
/**
|
|
5873
6919
|
* @public
|
|
5874
6920
|
*/
|
|
@@ -5931,7 +6977,9 @@ export interface UpdateDistributionConfigurationRequest {
|
|
|
5931
6977
|
distributions: Distribution[] | undefined;
|
|
5932
6978
|
/**
|
|
5933
6979
|
* @public
|
|
5934
|
-
* <p>
|
|
6980
|
+
* <p>Unique, case-sensitive identifier you provide to ensure
|
|
6981
|
+
* 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>
|
|
6982
|
+
* in the <i>Amazon EC2 API Reference</i>.</p>
|
|
5935
6983
|
*/
|
|
5936
6984
|
clientToken?: string;
|
|
5937
6985
|
}
|
|
@@ -5946,7 +6994,7 @@ export interface UpdateDistributionConfigurationResponse {
|
|
|
5946
6994
|
requestId?: string;
|
|
5947
6995
|
/**
|
|
5948
6996
|
* @public
|
|
5949
|
-
* <p>The
|
|
6997
|
+
* <p>The client token that uniquely identifies the request.</p>
|
|
5950
6998
|
*/
|
|
5951
6999
|
clientToken?: string;
|
|
5952
7000
|
/**
|
|
@@ -6017,7 +7065,9 @@ export interface UpdateImagePipelineRequest {
|
|
|
6017
7065
|
status?: PipelineStatus;
|
|
6018
7066
|
/**
|
|
6019
7067
|
* @public
|
|
6020
|
-
* <p>
|
|
7068
|
+
* <p>Unique, case-sensitive identifier you provide to ensure
|
|
7069
|
+
* 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>
|
|
7070
|
+
* in the <i>Amazon EC2 API Reference</i>.</p>
|
|
6021
7071
|
*/
|
|
6022
7072
|
clientToken?: string;
|
|
6023
7073
|
/**
|
|
@@ -6037,7 +7087,7 @@ export interface UpdateImagePipelineResponse {
|
|
|
6037
7087
|
requestId?: string;
|
|
6038
7088
|
/**
|
|
6039
7089
|
* @public
|
|
6040
|
-
* <p>The
|
|
7090
|
+
* <p>The client token that uniquely identifies the request.</p>
|
|
6041
7091
|
*/
|
|
6042
7092
|
clientToken?: string;
|
|
6043
7093
|
/**
|
|
@@ -6117,7 +7167,9 @@ export interface UpdateInfrastructureConfigurationRequest {
|
|
|
6117
7167
|
snsTopicArn?: string;
|
|
6118
7168
|
/**
|
|
6119
7169
|
* @public
|
|
6120
|
-
* <p>
|
|
7170
|
+
* <p>Unique, case-sensitive identifier you provide to ensure
|
|
7171
|
+
* 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>
|
|
7172
|
+
* in the <i>Amazon EC2 API Reference</i>.</p>
|
|
6121
7173
|
*/
|
|
6122
7174
|
clientToken?: string;
|
|
6123
7175
|
/**
|
|
@@ -6160,7 +7212,7 @@ export interface UpdateInfrastructureConfigurationResponse {
|
|
|
6160
7212
|
requestId?: string;
|
|
6161
7213
|
/**
|
|
6162
7214
|
* @public
|
|
6163
|
-
* <p>The
|
|
7215
|
+
* <p>The client token that uniquely identifies the request.</p>
|
|
6164
7216
|
*/
|
|
6165
7217
|
clientToken?: string;
|
|
6166
7218
|
/**
|
|
@@ -6170,3 +7222,61 @@ export interface UpdateInfrastructureConfigurationResponse {
|
|
|
6170
7222
|
*/
|
|
6171
7223
|
infrastructureConfigurationArn?: string;
|
|
6172
7224
|
}
|
|
7225
|
+
/**
|
|
7226
|
+
* @public
|
|
7227
|
+
*/
|
|
7228
|
+
export interface UpdateLifecyclePolicyRequest {
|
|
7229
|
+
/**
|
|
7230
|
+
* @public
|
|
7231
|
+
* <p>The Amazon Resource Name (ARN) of the lifecycle policy resource.</p>
|
|
7232
|
+
*/
|
|
7233
|
+
lifecyclePolicyArn: string | undefined;
|
|
7234
|
+
/**
|
|
7235
|
+
* @public
|
|
7236
|
+
* <p>Optional description for the lifecycle policy.</p>
|
|
7237
|
+
*/
|
|
7238
|
+
description?: string;
|
|
7239
|
+
/**
|
|
7240
|
+
* @public
|
|
7241
|
+
* <p>Indicates whether the lifecycle policy resource is enabled.</p>
|
|
7242
|
+
*/
|
|
7243
|
+
status?: LifecyclePolicyStatus;
|
|
7244
|
+
/**
|
|
7245
|
+
* @public
|
|
7246
|
+
* <p>The name of the IAM role that Image Builder should use to update the
|
|
7247
|
+
* lifecycle policy.</p>
|
|
7248
|
+
*/
|
|
7249
|
+
executionRole: string | undefined;
|
|
7250
|
+
/**
|
|
7251
|
+
* @public
|
|
7252
|
+
* <p>The type of image resource that the lifecycle policy applies to.</p>
|
|
7253
|
+
*/
|
|
7254
|
+
resourceType: LifecyclePolicyResourceType | undefined;
|
|
7255
|
+
/**
|
|
7256
|
+
* @public
|
|
7257
|
+
* <p>The configuration details for a lifecycle policy resource.</p>
|
|
7258
|
+
*/
|
|
7259
|
+
policyDetails: LifecyclePolicyDetail[] | undefined;
|
|
7260
|
+
/**
|
|
7261
|
+
* @public
|
|
7262
|
+
* <p>Selection criteria for resources that the lifecycle policy applies to.</p>
|
|
7263
|
+
*/
|
|
7264
|
+
resourceSelection: LifecyclePolicyResourceSelection | undefined;
|
|
7265
|
+
/**
|
|
7266
|
+
* @public
|
|
7267
|
+
* <p>Unique, case-sensitive identifier you provide to ensure
|
|
7268
|
+
* 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>
|
|
7269
|
+
* in the <i>Amazon EC2 API Reference</i>.</p>
|
|
7270
|
+
*/
|
|
7271
|
+
clientToken?: string;
|
|
7272
|
+
}
|
|
7273
|
+
/**
|
|
7274
|
+
* @public
|
|
7275
|
+
*/
|
|
7276
|
+
export interface UpdateLifecyclePolicyResponse {
|
|
7277
|
+
/**
|
|
7278
|
+
* @public
|
|
7279
|
+
* <p>The ARN of the image lifecycle policy resource that was updated.</p>
|
|
7280
|
+
*/
|
|
7281
|
+
lifecyclePolicyArn?: string;
|
|
7282
|
+
}
|