@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.
Files changed (79) hide show
  1. package/README.md +80 -0
  2. package/dist-cjs/Imagebuilder.js +20 -0
  3. package/dist-cjs/commands/CancelLifecycleExecutionCommand.js +51 -0
  4. package/dist-cjs/commands/CreateLifecyclePolicyCommand.js +51 -0
  5. package/dist-cjs/commands/DeleteLifecyclePolicyCommand.js +51 -0
  6. package/dist-cjs/commands/GetLifecycleExecutionCommand.js +51 -0
  7. package/dist-cjs/commands/GetLifecyclePolicyCommand.js +51 -0
  8. package/dist-cjs/commands/ListLifecycleExecutionResourcesCommand.js +51 -0
  9. package/dist-cjs/commands/ListLifecycleExecutionsCommand.js +51 -0
  10. package/dist-cjs/commands/ListLifecyclePoliciesCommand.js +51 -0
  11. package/dist-cjs/commands/StartResourceStateUpdateCommand.js +51 -0
  12. package/dist-cjs/commands/UpdateLifecyclePolicyCommand.js +51 -0
  13. package/dist-cjs/commands/index.js +10 -0
  14. package/dist-cjs/models/models_0.js +50 -1
  15. package/dist-cjs/pagination/ListLifecycleExecutionResourcesPaginator.js +29 -0
  16. package/dist-cjs/pagination/ListLifecycleExecutionsPaginator.js +29 -0
  17. package/dist-cjs/pagination/ListLifecyclePoliciesPaginator.js +29 -0
  18. package/dist-cjs/pagination/index.js +3 -0
  19. package/dist-cjs/protocols/Aws_restJson1.js +907 -15
  20. package/dist-es/Imagebuilder.js +20 -0
  21. package/dist-es/commands/CancelLifecycleExecutionCommand.js +47 -0
  22. package/dist-es/commands/CreateLifecyclePolicyCommand.js +47 -0
  23. package/dist-es/commands/DeleteLifecyclePolicyCommand.js +47 -0
  24. package/dist-es/commands/GetLifecycleExecutionCommand.js +47 -0
  25. package/dist-es/commands/GetLifecyclePolicyCommand.js +47 -0
  26. package/dist-es/commands/ListLifecycleExecutionResourcesCommand.js +47 -0
  27. package/dist-es/commands/ListLifecycleExecutionsCommand.js +47 -0
  28. package/dist-es/commands/ListLifecyclePoliciesCommand.js +47 -0
  29. package/dist-es/commands/StartResourceStateUpdateCommand.js +47 -0
  30. package/dist-es/commands/UpdateLifecyclePolicyCommand.js +47 -0
  31. package/dist-es/commands/index.js +10 -0
  32. package/dist-es/models/models_0.js +49 -0
  33. package/dist-es/pagination/ListLifecycleExecutionResourcesPaginator.js +25 -0
  34. package/dist-es/pagination/ListLifecycleExecutionsPaginator.js +25 -0
  35. package/dist-es/pagination/ListLifecyclePoliciesPaginator.js +25 -0
  36. package/dist-es/pagination/index.js +3 -0
  37. package/dist-es/protocols/Aws_restJson1.js +885 -13
  38. package/dist-types/Imagebuilder.d.ts +70 -0
  39. package/dist-types/ImagebuilderClient.d.ts +12 -2
  40. package/dist-types/commands/CancelLifecycleExecutionCommand.d.ts +103 -0
  41. package/dist-types/commands/CreateLifecyclePolicyCommand.d.ts +165 -0
  42. package/dist-types/commands/DeleteLifecyclePolicyCommand.d.ts +98 -0
  43. package/dist-types/commands/GetImageCommand.d.ts +4 -2
  44. package/dist-types/commands/GetLifecycleExecutionCommand.d.ts +106 -0
  45. package/dist-types/commands/GetLifecyclePolicyCommand.d.ts +153 -0
  46. package/dist-types/commands/ListImageBuildVersionsCommand.d.ts +4 -2
  47. package/dist-types/commands/ListImagePipelineImagesCommand.d.ts +4 -2
  48. package/dist-types/commands/ListLifecycleExecutionResourcesCommand.d.ts +132 -0
  49. package/dist-types/commands/ListLifecycleExecutionsCommand.d.ts +114 -0
  50. package/dist-types/commands/ListLifecyclePoliciesCommand.d.ts +122 -0
  51. package/dist-types/commands/StartResourceStateUpdateCommand.d.ts +136 -0
  52. package/dist-types/commands/UpdateLifecyclePolicyCommand.d.ts +159 -0
  53. package/dist-types/commands/index.d.ts +10 -0
  54. package/dist-types/models/models_0.d.ts +1224 -114
  55. package/dist-types/pagination/ListLifecycleExecutionResourcesPaginator.d.ts +7 -0
  56. package/dist-types/pagination/ListLifecycleExecutionsPaginator.d.ts +7 -0
  57. package/dist-types/pagination/ListLifecyclePoliciesPaginator.d.ts +7 -0
  58. package/dist-types/pagination/index.d.ts +3 -0
  59. package/dist-types/protocols/Aws_restJson1.d.ts +90 -0
  60. package/dist-types/ts3.4/Imagebuilder.d.ts +170 -0
  61. package/dist-types/ts3.4/ImagebuilderClient.d.ts +62 -2
  62. package/dist-types/ts3.4/commands/CancelLifecycleExecutionCommand.d.ts +42 -0
  63. package/dist-types/ts3.4/commands/CreateLifecyclePolicyCommand.d.ts +42 -0
  64. package/dist-types/ts3.4/commands/DeleteLifecyclePolicyCommand.d.ts +42 -0
  65. package/dist-types/ts3.4/commands/GetLifecycleExecutionCommand.d.ts +42 -0
  66. package/dist-types/ts3.4/commands/GetLifecyclePolicyCommand.d.ts +39 -0
  67. package/dist-types/ts3.4/commands/ListLifecycleExecutionResourcesCommand.d.ts +42 -0
  68. package/dist-types/ts3.4/commands/ListLifecycleExecutionsCommand.d.ts +42 -0
  69. package/dist-types/ts3.4/commands/ListLifecyclePoliciesCommand.d.ts +42 -0
  70. package/dist-types/ts3.4/commands/StartResourceStateUpdateCommand.d.ts +42 -0
  71. package/dist-types/ts3.4/commands/UpdateLifecyclePolicyCommand.d.ts +42 -0
  72. package/dist-types/ts3.4/commands/index.d.ts +10 -0
  73. package/dist-types/ts3.4/models/models_0.d.ts +283 -0
  74. package/dist-types/ts3.4/pagination/ListLifecycleExecutionResourcesPaginator.d.ts +11 -0
  75. package/dist-types/ts3.4/pagination/ListLifecycleExecutionsPaginator.d.ts +11 -0
  76. package/dist-types/ts3.4/pagination/ListLifecyclePoliciesPaginator.d.ts +11 -0
  77. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  78. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +120 -0
  79. package/package.json +35 -35
@@ -46,7 +46,7 @@ export interface GetImageCommandOutput extends GetImageResponse, __MetadataBeare
46
46
  * // enhancedImageMetadataEnabled: true || false,
47
47
  * // osVersion: "STRING_VALUE",
48
48
  * // state: { // ImageState
49
- * // status: "PENDING" || "CREATING" || "BUILDING" || "TESTING" || "DISTRIBUTING" || "INTEGRATING" || "AVAILABLE" || "CANCELLED" || "FAILED" || "DEPRECATED" || "DELETED",
49
+ * // status: "PENDING" || "CREATING" || "BUILDING" || "TESTING" || "DISTRIBUTING" || "INTEGRATING" || "AVAILABLE" || "CANCELLED" || "FAILED" || "DEPRECATED" || "DELETED" || "DISABLED",
50
50
  * // reason: "STRING_VALUE",
51
51
  * // },
52
52
  * // imageRecipe: { // ImageRecipe
@@ -286,7 +286,7 @@ export interface GetImageCommandOutput extends GetImageResponse, __MetadataBeare
286
286
  * // name: "STRING_VALUE",
287
287
  * // description: "STRING_VALUE",
288
288
  * // state: {
289
- * // status: "PENDING" || "CREATING" || "BUILDING" || "TESTING" || "DISTRIBUTING" || "INTEGRATING" || "AVAILABLE" || "CANCELLED" || "FAILED" || "DEPRECATED" || "DELETED",
289
+ * // status: "PENDING" || "CREATING" || "BUILDING" || "TESTING" || "DISTRIBUTING" || "INTEGRATING" || "AVAILABLE" || "CANCELLED" || "FAILED" || "DEPRECATED" || "DELETED" || "DISABLED",
290
290
  * // reason: "STRING_VALUE",
291
291
  * // },
292
292
  * // accountId: "STRING_VALUE",
@@ -313,6 +313,8 @@ export interface GetImageCommandOutput extends GetImageResponse, __MetadataBeare
313
313
  * // containerTags: "<StringList>",
314
314
  * // },
315
315
  * // },
316
+ * // deprecationTime: new Date("TIMESTAMP"),
317
+ * // lifecycleExecutionId: "STRING_VALUE",
316
318
  * // },
317
319
  * // };
318
320
  *
@@ -0,0 +1,106 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { ImagebuilderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ImagebuilderClient";
5
+ import { GetLifecycleExecutionRequest, GetLifecycleExecutionResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetLifecycleExecutionCommand}.
14
+ */
15
+ export interface GetLifecycleExecutionCommandInput extends GetLifecycleExecutionRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetLifecycleExecutionCommand}.
21
+ */
22
+ export interface GetLifecycleExecutionCommandOutput extends GetLifecycleExecutionResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Get the runtime information that was logged for a specific runtime instance of the lifecycle policy.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { ImagebuilderClient, GetLifecycleExecutionCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
31
+ * // const { ImagebuilderClient, GetLifecycleExecutionCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
32
+ * const client = new ImagebuilderClient(config);
33
+ * const input = { // GetLifecycleExecutionRequest
34
+ * lifecycleExecutionId: "STRING_VALUE", // required
35
+ * };
36
+ * const command = new GetLifecycleExecutionCommand(input);
37
+ * const response = await client.send(command);
38
+ * // { // GetLifecycleExecutionResponse
39
+ * // lifecycleExecution: { // LifecycleExecution
40
+ * // lifecycleExecutionId: "STRING_VALUE",
41
+ * // lifecyclePolicyArn: "STRING_VALUE",
42
+ * // resourcesImpactedSummary: { // LifecycleExecutionResourcesImpactedSummary
43
+ * // hasImpactedResources: true || false,
44
+ * // },
45
+ * // state: { // LifecycleExecutionState
46
+ * // status: "IN_PROGRESS" || "CANCELLED" || "CANCELLING" || "FAILED" || "SUCCESS",
47
+ * // reason: "STRING_VALUE",
48
+ * // },
49
+ * // startTime: new Date("TIMESTAMP"),
50
+ * // endTime: new Date("TIMESTAMP"),
51
+ * // },
52
+ * // };
53
+ *
54
+ * ```
55
+ *
56
+ * @param GetLifecycleExecutionCommandInput - {@link GetLifecycleExecutionCommandInput}
57
+ * @returns {@link GetLifecycleExecutionCommandOutput}
58
+ * @see {@link GetLifecycleExecutionCommandInput} for command's `input` shape.
59
+ * @see {@link GetLifecycleExecutionCommandOutput} for command's `response` shape.
60
+ * @see {@link ImagebuilderClientResolvedConfig | config} for ImagebuilderClient's `config` shape.
61
+ *
62
+ * @throws {@link CallRateLimitExceededException} (client fault)
63
+ * <p>You have exceeded the permitted request rate for the specific operation.</p>
64
+ *
65
+ * @throws {@link ClientException} (client fault)
66
+ * <p>These errors are usually caused by a client action, such as using an action or
67
+ * resource on behalf of a user that doesn't have permissions to use the action or
68
+ * resource, or specifying an invalid resource identifier.</p>
69
+ *
70
+ * @throws {@link ForbiddenException} (client fault)
71
+ * <p>You are not authorized to perform the requested operation.</p>
72
+ *
73
+ * @throws {@link InvalidRequestException} (client fault)
74
+ * <p>You have requested an action that that the service doesn't support.</p>
75
+ *
76
+ * @throws {@link ServiceException} (server fault)
77
+ * <p>This exception is thrown when the service encounters an unrecoverable
78
+ * exception.</p>
79
+ *
80
+ * @throws {@link ServiceUnavailableException} (server fault)
81
+ * <p>The service is unable to process your request at this time.</p>
82
+ *
83
+ * @throws {@link ImagebuilderServiceException}
84
+ * <p>Base exception class for all service exceptions from Imagebuilder service.</p>
85
+ *
86
+ */
87
+ export declare class GetLifecycleExecutionCommand extends $Command<GetLifecycleExecutionCommandInput, GetLifecycleExecutionCommandOutput, ImagebuilderClientResolvedConfig> {
88
+ readonly input: GetLifecycleExecutionCommandInput;
89
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
90
+ /**
91
+ * @public
92
+ */
93
+ constructor(input: GetLifecycleExecutionCommandInput);
94
+ /**
95
+ * @internal
96
+ */
97
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetLifecycleExecutionCommandInput, GetLifecycleExecutionCommandOutput>;
98
+ /**
99
+ * @internal
100
+ */
101
+ private serialize;
102
+ /**
103
+ * @internal
104
+ */
105
+ private deserialize;
106
+ }
@@ -0,0 +1,153 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { ImagebuilderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ImagebuilderClient";
5
+ import { GetLifecyclePolicyRequest, GetLifecyclePolicyResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetLifecyclePolicyCommand}.
14
+ */
15
+ export interface GetLifecyclePolicyCommandInput extends GetLifecyclePolicyRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetLifecyclePolicyCommand}.
21
+ */
22
+ export interface GetLifecyclePolicyCommandOutput extends GetLifecyclePolicyResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Get details for the specified image lifecycle policy.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { ImagebuilderClient, GetLifecyclePolicyCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
31
+ * // const { ImagebuilderClient, GetLifecyclePolicyCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
32
+ * const client = new ImagebuilderClient(config);
33
+ * const input = { // GetLifecyclePolicyRequest
34
+ * lifecyclePolicyArn: "STRING_VALUE", // required
35
+ * };
36
+ * const command = new GetLifecyclePolicyCommand(input);
37
+ * const response = await client.send(command);
38
+ * // { // GetLifecyclePolicyResponse
39
+ * // lifecyclePolicy: { // LifecyclePolicy
40
+ * // arn: "STRING_VALUE",
41
+ * // name: "STRING_VALUE",
42
+ * // description: "STRING_VALUE",
43
+ * // status: "DISABLED" || "ENABLED",
44
+ * // executionRole: "STRING_VALUE",
45
+ * // resourceType: "AMI_IMAGE" || "CONTAINER_IMAGE",
46
+ * // policyDetails: [ // LifecyclePolicyDetails
47
+ * // { // LifecyclePolicyDetail
48
+ * // action: { // LifecyclePolicyDetailAction
49
+ * // type: "DELETE" || "DEPRECATE" || "DISABLE", // required
50
+ * // includeResources: { // LifecyclePolicyDetailActionIncludeResources
51
+ * // amis: true || false,
52
+ * // snapshots: true || false,
53
+ * // containers: true || false,
54
+ * // },
55
+ * // },
56
+ * // filter: { // LifecyclePolicyDetailFilter
57
+ * // type: "AGE" || "COUNT", // required
58
+ * // value: Number("int"), // required
59
+ * // unit: "DAYS" || "WEEKS" || "MONTHS" || "YEARS",
60
+ * // retainAtLeast: Number("int"),
61
+ * // },
62
+ * // exclusionRules: { // LifecyclePolicyDetailExclusionRules
63
+ * // tagMap: { // TagMap
64
+ * // "<keys>": "STRING_VALUE",
65
+ * // },
66
+ * // amis: { // LifecyclePolicyDetailExclusionRulesAmis
67
+ * // isPublic: true || false,
68
+ * // regions: [ // StringList
69
+ * // "STRING_VALUE",
70
+ * // ],
71
+ * // sharedAccounts: [ // AccountList
72
+ * // "STRING_VALUE",
73
+ * // ],
74
+ * // lastLaunched: { // LifecyclePolicyDetailExclusionRulesAmisLastLaunched
75
+ * // value: Number("int"), // required
76
+ * // unit: "DAYS" || "WEEKS" || "MONTHS" || "YEARS", // required
77
+ * // },
78
+ * // tagMap: {
79
+ * // "<keys>": "STRING_VALUE",
80
+ * // },
81
+ * // },
82
+ * // },
83
+ * // },
84
+ * // ],
85
+ * // resourceSelection: { // LifecyclePolicyResourceSelection
86
+ * // recipes: [ // LifecyclePolicyResourceSelectionRecipes
87
+ * // { // LifecyclePolicyResourceSelectionRecipe
88
+ * // name: "STRING_VALUE", // required
89
+ * // semanticVersion: "STRING_VALUE", // required
90
+ * // },
91
+ * // ],
92
+ * // tagMap: "<TagMap>",
93
+ * // },
94
+ * // dateCreated: new Date("TIMESTAMP"),
95
+ * // dateUpdated: new Date("TIMESTAMP"),
96
+ * // dateLastRun: new Date("TIMESTAMP"),
97
+ * // tags: "<TagMap>",
98
+ * // },
99
+ * // };
100
+ *
101
+ * ```
102
+ *
103
+ * @param GetLifecyclePolicyCommandInput - {@link GetLifecyclePolicyCommandInput}
104
+ * @returns {@link GetLifecyclePolicyCommandOutput}
105
+ * @see {@link GetLifecyclePolicyCommandInput} for command's `input` shape.
106
+ * @see {@link GetLifecyclePolicyCommandOutput} for command's `response` shape.
107
+ * @see {@link ImagebuilderClientResolvedConfig | config} for ImagebuilderClient's `config` shape.
108
+ *
109
+ * @throws {@link CallRateLimitExceededException} (client fault)
110
+ * <p>You have exceeded the permitted request rate for the specific operation.</p>
111
+ *
112
+ * @throws {@link ClientException} (client fault)
113
+ * <p>These errors are usually caused by a client action, such as using an action or
114
+ * resource on behalf of a user that doesn't have permissions to use the action or
115
+ * resource, or specifying an invalid resource identifier.</p>
116
+ *
117
+ * @throws {@link ForbiddenException} (client fault)
118
+ * <p>You are not authorized to perform the requested operation.</p>
119
+ *
120
+ * @throws {@link InvalidRequestException} (client fault)
121
+ * <p>You have requested an action that that the service doesn't support.</p>
122
+ *
123
+ * @throws {@link ServiceException} (server fault)
124
+ * <p>This exception is thrown when the service encounters an unrecoverable
125
+ * exception.</p>
126
+ *
127
+ * @throws {@link ServiceUnavailableException} (server fault)
128
+ * <p>The service is unable to process your request at this time.</p>
129
+ *
130
+ * @throws {@link ImagebuilderServiceException}
131
+ * <p>Base exception class for all service exceptions from Imagebuilder service.</p>
132
+ *
133
+ */
134
+ export declare class GetLifecyclePolicyCommand extends $Command<GetLifecyclePolicyCommandInput, GetLifecyclePolicyCommandOutput, ImagebuilderClientResolvedConfig> {
135
+ readonly input: GetLifecyclePolicyCommandInput;
136
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
137
+ /**
138
+ * @public
139
+ */
140
+ constructor(input: GetLifecyclePolicyCommandInput);
141
+ /**
142
+ * @internal
143
+ */
144
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetLifecyclePolicyCommandInput, GetLifecyclePolicyCommandOutput>;
145
+ /**
146
+ * @internal
147
+ */
148
+ private serialize;
149
+ /**
150
+ * @internal
151
+ */
152
+ private deserialize;
153
+ }
@@ -56,7 +56,7 @@ export interface ListImageBuildVersionsCommandOutput extends ListImageBuildVersi
56
56
  * // platform: "Windows" || "Linux",
57
57
  * // osVersion: "STRING_VALUE",
58
58
  * // state: { // ImageState
59
- * // status: "PENDING" || "CREATING" || "BUILDING" || "TESTING" || "DISTRIBUTING" || "INTEGRATING" || "AVAILABLE" || "CANCELLED" || "FAILED" || "DEPRECATED" || "DELETED",
59
+ * // status: "PENDING" || "CREATING" || "BUILDING" || "TESTING" || "DISTRIBUTING" || "INTEGRATING" || "AVAILABLE" || "CANCELLED" || "FAILED" || "DEPRECATED" || "DELETED" || "DISABLED",
60
60
  * // reason: "STRING_VALUE",
61
61
  * // },
62
62
  * // owner: "STRING_VALUE",
@@ -69,7 +69,7 @@ export interface ListImageBuildVersionsCommandOutput extends ListImageBuildVersi
69
69
  * // name: "STRING_VALUE",
70
70
  * // description: "STRING_VALUE",
71
71
  * // state: {
72
- * // status: "PENDING" || "CREATING" || "BUILDING" || "TESTING" || "DISTRIBUTING" || "INTEGRATING" || "AVAILABLE" || "CANCELLED" || "FAILED" || "DEPRECATED" || "DELETED",
72
+ * // status: "PENDING" || "CREATING" || "BUILDING" || "TESTING" || "DISTRIBUTING" || "INTEGRATING" || "AVAILABLE" || "CANCELLED" || "FAILED" || "DEPRECATED" || "DELETED" || "DISABLED",
73
73
  * // reason: "STRING_VALUE",
74
74
  * // },
75
75
  * // accountId: "STRING_VALUE",
@@ -89,6 +89,8 @@ export interface ListImageBuildVersionsCommandOutput extends ListImageBuildVersi
89
89
  * // },
90
90
  * // buildType: "USER_INITIATED" || "SCHEDULED" || "IMPORT",
91
91
  * // imageSource: "AMAZON_MANAGED" || "AWS_MARKETPLACE" || "IMPORTED" || "CUSTOM",
92
+ * // deprecationTime: new Date("TIMESTAMP"),
93
+ * // lifecycleExecutionId: "STRING_VALUE",
92
94
  * // },
93
95
  * // ],
94
96
  * // nextToken: "STRING_VALUE",
@@ -56,7 +56,7 @@ export interface ListImagePipelineImagesCommandOutput extends ListImagePipelineI
56
56
  * // platform: "Windows" || "Linux",
57
57
  * // osVersion: "STRING_VALUE",
58
58
  * // state: { // ImageState
59
- * // status: "PENDING" || "CREATING" || "BUILDING" || "TESTING" || "DISTRIBUTING" || "INTEGRATING" || "AVAILABLE" || "CANCELLED" || "FAILED" || "DEPRECATED" || "DELETED",
59
+ * // status: "PENDING" || "CREATING" || "BUILDING" || "TESTING" || "DISTRIBUTING" || "INTEGRATING" || "AVAILABLE" || "CANCELLED" || "FAILED" || "DEPRECATED" || "DELETED" || "DISABLED",
60
60
  * // reason: "STRING_VALUE",
61
61
  * // },
62
62
  * // owner: "STRING_VALUE",
@@ -69,7 +69,7 @@ export interface ListImagePipelineImagesCommandOutput extends ListImagePipelineI
69
69
  * // name: "STRING_VALUE",
70
70
  * // description: "STRING_VALUE",
71
71
  * // state: {
72
- * // status: "PENDING" || "CREATING" || "BUILDING" || "TESTING" || "DISTRIBUTING" || "INTEGRATING" || "AVAILABLE" || "CANCELLED" || "FAILED" || "DEPRECATED" || "DELETED",
72
+ * // status: "PENDING" || "CREATING" || "BUILDING" || "TESTING" || "DISTRIBUTING" || "INTEGRATING" || "AVAILABLE" || "CANCELLED" || "FAILED" || "DEPRECATED" || "DELETED" || "DISABLED",
73
73
  * // reason: "STRING_VALUE",
74
74
  * // },
75
75
  * // accountId: "STRING_VALUE",
@@ -89,6 +89,8 @@ export interface ListImagePipelineImagesCommandOutput extends ListImagePipelineI
89
89
  * // },
90
90
  * // buildType: "USER_INITIATED" || "SCHEDULED" || "IMPORT",
91
91
  * // imageSource: "AMAZON_MANAGED" || "AWS_MARKETPLACE" || "IMPORTED" || "CUSTOM",
92
+ * // deprecationTime: new Date("TIMESTAMP"),
93
+ * // lifecycleExecutionId: "STRING_VALUE",
92
94
  * // },
93
95
  * // ],
94
96
  * // nextToken: "STRING_VALUE",
@@ -0,0 +1,132 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { ImagebuilderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ImagebuilderClient";
5
+ import { ListLifecycleExecutionResourcesRequest, ListLifecycleExecutionResourcesResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListLifecycleExecutionResourcesCommand}.
14
+ */
15
+ export interface ListLifecycleExecutionResourcesCommandInput extends ListLifecycleExecutionResourcesRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListLifecycleExecutionResourcesCommand}.
21
+ */
22
+ export interface ListLifecycleExecutionResourcesCommandOutput extends ListLifecycleExecutionResourcesResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>List resources that the runtime instance of the image lifecycle identified for lifecycle actions.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { ImagebuilderClient, ListLifecycleExecutionResourcesCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
31
+ * // const { ImagebuilderClient, ListLifecycleExecutionResourcesCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
32
+ * const client = new ImagebuilderClient(config);
33
+ * const input = { // ListLifecycleExecutionResourcesRequest
34
+ * lifecycleExecutionId: "STRING_VALUE", // required
35
+ * parentResourceId: "STRING_VALUE",
36
+ * maxResults: Number("int"),
37
+ * nextToken: "STRING_VALUE",
38
+ * };
39
+ * const command = new ListLifecycleExecutionResourcesCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // ListLifecycleExecutionResourcesResponse
42
+ * // lifecycleExecutionId: "STRING_VALUE",
43
+ * // lifecycleExecutionState: { // LifecycleExecutionState
44
+ * // status: "IN_PROGRESS" || "CANCELLED" || "CANCELLING" || "FAILED" || "SUCCESS",
45
+ * // reason: "STRING_VALUE",
46
+ * // },
47
+ * // resources: [ // LifecycleExecutionResourceList
48
+ * // { // LifecycleExecutionResource
49
+ * // accountId: "STRING_VALUE",
50
+ * // resourceId: "STRING_VALUE",
51
+ * // state: { // LifecycleExecutionResourceState
52
+ * // status: "FAILED" || "IN_PROGRESS" || "SKIPPED" || "SUCCESS",
53
+ * // reason: "STRING_VALUE",
54
+ * // },
55
+ * // action: { // LifecycleExecutionResourceAction
56
+ * // name: "AVAILABLE" || "DELETE" || "DEPRECATE" || "DISABLE",
57
+ * // reason: "STRING_VALUE",
58
+ * // },
59
+ * // region: "STRING_VALUE",
60
+ * // snapshots: [ // LifecycleExecutionSnapshotResourceList
61
+ * // { // LifecycleExecutionSnapshotResource
62
+ * // snapshotId: "STRING_VALUE",
63
+ * // state: {
64
+ * // status: "FAILED" || "IN_PROGRESS" || "SKIPPED" || "SUCCESS",
65
+ * // reason: "STRING_VALUE",
66
+ * // },
67
+ * // },
68
+ * // ],
69
+ * // imageUris: [ // StringList
70
+ * // "STRING_VALUE",
71
+ * // ],
72
+ * // },
73
+ * // ],
74
+ * // nextToken: "STRING_VALUE",
75
+ * // };
76
+ *
77
+ * ```
78
+ *
79
+ * @param ListLifecycleExecutionResourcesCommandInput - {@link ListLifecycleExecutionResourcesCommandInput}
80
+ * @returns {@link ListLifecycleExecutionResourcesCommandOutput}
81
+ * @see {@link ListLifecycleExecutionResourcesCommandInput} for command's `input` shape.
82
+ * @see {@link ListLifecycleExecutionResourcesCommandOutput} for command's `response` shape.
83
+ * @see {@link ImagebuilderClientResolvedConfig | config} for ImagebuilderClient's `config` shape.
84
+ *
85
+ * @throws {@link CallRateLimitExceededException} (client fault)
86
+ * <p>You have exceeded the permitted request rate for the specific operation.</p>
87
+ *
88
+ * @throws {@link ClientException} (client fault)
89
+ * <p>These errors are usually caused by a client action, such as using an action or
90
+ * resource on behalf of a user that doesn't have permissions to use the action or
91
+ * resource, or specifying an invalid resource identifier.</p>
92
+ *
93
+ * @throws {@link ForbiddenException} (client fault)
94
+ * <p>You are not authorized to perform the requested operation.</p>
95
+ *
96
+ * @throws {@link InvalidPaginationTokenException} (client fault)
97
+ * <p>You have provided an invalid pagination token in your request.</p>
98
+ *
99
+ * @throws {@link InvalidRequestException} (client fault)
100
+ * <p>You have requested an action that that the service doesn't support.</p>
101
+ *
102
+ * @throws {@link ServiceException} (server fault)
103
+ * <p>This exception is thrown when the service encounters an unrecoverable
104
+ * exception.</p>
105
+ *
106
+ * @throws {@link ServiceUnavailableException} (server fault)
107
+ * <p>The service is unable to process your request at this time.</p>
108
+ *
109
+ * @throws {@link ImagebuilderServiceException}
110
+ * <p>Base exception class for all service exceptions from Imagebuilder service.</p>
111
+ *
112
+ */
113
+ export declare class ListLifecycleExecutionResourcesCommand extends $Command<ListLifecycleExecutionResourcesCommandInput, ListLifecycleExecutionResourcesCommandOutput, ImagebuilderClientResolvedConfig> {
114
+ readonly input: ListLifecycleExecutionResourcesCommandInput;
115
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
116
+ /**
117
+ * @public
118
+ */
119
+ constructor(input: ListLifecycleExecutionResourcesCommandInput);
120
+ /**
121
+ * @internal
122
+ */
123
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListLifecycleExecutionResourcesCommandInput, ListLifecycleExecutionResourcesCommandOutput>;
124
+ /**
125
+ * @internal
126
+ */
127
+ private serialize;
128
+ /**
129
+ * @internal
130
+ */
131
+ private deserialize;
132
+ }
@@ -0,0 +1,114 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { ImagebuilderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ImagebuilderClient";
5
+ import { ListLifecycleExecutionsRequest, ListLifecycleExecutionsResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListLifecycleExecutionsCommand}.
14
+ */
15
+ export interface ListLifecycleExecutionsCommandInput extends ListLifecycleExecutionsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListLifecycleExecutionsCommand}.
21
+ */
22
+ export interface ListLifecycleExecutionsCommandOutput extends ListLifecycleExecutionsResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Get the lifecycle runtime history for the specified resource.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { ImagebuilderClient, ListLifecycleExecutionsCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
31
+ * // const { ImagebuilderClient, ListLifecycleExecutionsCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
32
+ * const client = new ImagebuilderClient(config);
33
+ * const input = { // ListLifecycleExecutionsRequest
34
+ * maxResults: Number("int"),
35
+ * nextToken: "STRING_VALUE",
36
+ * resourceArn: "STRING_VALUE", // required
37
+ * };
38
+ * const command = new ListLifecycleExecutionsCommand(input);
39
+ * const response = await client.send(command);
40
+ * // { // ListLifecycleExecutionsResponse
41
+ * // lifecycleExecutions: [ // LifecycleExecutionsList
42
+ * // { // LifecycleExecution
43
+ * // lifecycleExecutionId: "STRING_VALUE",
44
+ * // lifecyclePolicyArn: "STRING_VALUE",
45
+ * // resourcesImpactedSummary: { // LifecycleExecutionResourcesImpactedSummary
46
+ * // hasImpactedResources: true || false,
47
+ * // },
48
+ * // state: { // LifecycleExecutionState
49
+ * // status: "IN_PROGRESS" || "CANCELLED" || "CANCELLING" || "FAILED" || "SUCCESS",
50
+ * // reason: "STRING_VALUE",
51
+ * // },
52
+ * // startTime: new Date("TIMESTAMP"),
53
+ * // endTime: new Date("TIMESTAMP"),
54
+ * // },
55
+ * // ],
56
+ * // nextToken: "STRING_VALUE",
57
+ * // };
58
+ *
59
+ * ```
60
+ *
61
+ * @param ListLifecycleExecutionsCommandInput - {@link ListLifecycleExecutionsCommandInput}
62
+ * @returns {@link ListLifecycleExecutionsCommandOutput}
63
+ * @see {@link ListLifecycleExecutionsCommandInput} for command's `input` shape.
64
+ * @see {@link ListLifecycleExecutionsCommandOutput} for command's `response` shape.
65
+ * @see {@link ImagebuilderClientResolvedConfig | config} for ImagebuilderClient's `config` shape.
66
+ *
67
+ * @throws {@link CallRateLimitExceededException} (client fault)
68
+ * <p>You have exceeded the permitted request rate for the specific operation.</p>
69
+ *
70
+ * @throws {@link ClientException} (client fault)
71
+ * <p>These errors are usually caused by a client action, such as using an action or
72
+ * resource on behalf of a user that doesn't have permissions to use the action or
73
+ * resource, or specifying an invalid resource identifier.</p>
74
+ *
75
+ * @throws {@link ForbiddenException} (client fault)
76
+ * <p>You are not authorized to perform the requested operation.</p>
77
+ *
78
+ * @throws {@link InvalidPaginationTokenException} (client fault)
79
+ * <p>You have provided an invalid pagination token in your request.</p>
80
+ *
81
+ * @throws {@link InvalidRequestException} (client fault)
82
+ * <p>You have requested an action that that the service doesn't support.</p>
83
+ *
84
+ * @throws {@link ServiceException} (server fault)
85
+ * <p>This exception is thrown when the service encounters an unrecoverable
86
+ * exception.</p>
87
+ *
88
+ * @throws {@link ServiceUnavailableException} (server fault)
89
+ * <p>The service is unable to process your request at this time.</p>
90
+ *
91
+ * @throws {@link ImagebuilderServiceException}
92
+ * <p>Base exception class for all service exceptions from Imagebuilder service.</p>
93
+ *
94
+ */
95
+ export declare class ListLifecycleExecutionsCommand extends $Command<ListLifecycleExecutionsCommandInput, ListLifecycleExecutionsCommandOutput, ImagebuilderClientResolvedConfig> {
96
+ readonly input: ListLifecycleExecutionsCommandInput;
97
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
98
+ /**
99
+ * @public
100
+ */
101
+ constructor(input: ListLifecycleExecutionsCommandInput);
102
+ /**
103
+ * @internal
104
+ */
105
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListLifecycleExecutionsCommandInput, ListLifecycleExecutionsCommandOutput>;
106
+ /**
107
+ * @internal
108
+ */
109
+ private serialize;
110
+ /**
111
+ * @internal
112
+ */
113
+ private deserialize;
114
+ }