@aws-sdk/client-imagebuilder 3.451.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 +1 -1
@@ -0,0 +1,122 @@
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 { ListLifecyclePoliciesRequest, ListLifecyclePoliciesResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListLifecyclePoliciesCommand}.
14
+ */
15
+ export interface ListLifecyclePoliciesCommandInput extends ListLifecyclePoliciesRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListLifecyclePoliciesCommand}.
21
+ */
22
+ export interface ListLifecyclePoliciesCommandOutput extends ListLifecyclePoliciesResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Get a list of lifecycle policies in your Amazon Web Services account.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { ImagebuilderClient, ListLifecyclePoliciesCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
31
+ * // const { ImagebuilderClient, ListLifecyclePoliciesCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
32
+ * const client = new ImagebuilderClient(config);
33
+ * const input = { // ListLifecyclePoliciesRequest
34
+ * filters: [ // FilterList
35
+ * { // Filter
36
+ * name: "STRING_VALUE",
37
+ * values: [ // FilterValues
38
+ * "STRING_VALUE",
39
+ * ],
40
+ * },
41
+ * ],
42
+ * maxResults: Number("int"),
43
+ * nextToken: "STRING_VALUE",
44
+ * };
45
+ * const command = new ListLifecyclePoliciesCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // ListLifecyclePoliciesResponse
48
+ * // lifecyclePolicySummaryList: [ // LifecyclePolicySummaryList
49
+ * // { // LifecyclePolicySummary
50
+ * // arn: "STRING_VALUE",
51
+ * // name: "STRING_VALUE",
52
+ * // description: "STRING_VALUE",
53
+ * // status: "DISABLED" || "ENABLED",
54
+ * // executionRole: "STRING_VALUE",
55
+ * // resourceType: "AMI_IMAGE" || "CONTAINER_IMAGE",
56
+ * // dateCreated: new Date("TIMESTAMP"),
57
+ * // dateUpdated: new Date("TIMESTAMP"),
58
+ * // dateLastRun: new Date("TIMESTAMP"),
59
+ * // tags: { // TagMap
60
+ * // "<keys>": "STRING_VALUE",
61
+ * // },
62
+ * // },
63
+ * // ],
64
+ * // nextToken: "STRING_VALUE",
65
+ * // };
66
+ *
67
+ * ```
68
+ *
69
+ * @param ListLifecyclePoliciesCommandInput - {@link ListLifecyclePoliciesCommandInput}
70
+ * @returns {@link ListLifecyclePoliciesCommandOutput}
71
+ * @see {@link ListLifecyclePoliciesCommandInput} for command's `input` shape.
72
+ * @see {@link ListLifecyclePoliciesCommandOutput} for command's `response` shape.
73
+ * @see {@link ImagebuilderClientResolvedConfig | config} for ImagebuilderClient's `config` shape.
74
+ *
75
+ * @throws {@link CallRateLimitExceededException} (client fault)
76
+ * <p>You have exceeded the permitted request rate for the specific operation.</p>
77
+ *
78
+ * @throws {@link ClientException} (client fault)
79
+ * <p>These errors are usually caused by a client action, such as using an action or
80
+ * resource on behalf of a user that doesn't have permissions to use the action or
81
+ * resource, or specifying an invalid resource identifier.</p>
82
+ *
83
+ * @throws {@link ForbiddenException} (client fault)
84
+ * <p>You are not authorized to perform the requested operation.</p>
85
+ *
86
+ * @throws {@link InvalidPaginationTokenException} (client fault)
87
+ * <p>You have provided an invalid pagination token in your request.</p>
88
+ *
89
+ * @throws {@link InvalidRequestException} (client fault)
90
+ * <p>You have requested an action that that the service doesn't support.</p>
91
+ *
92
+ * @throws {@link ServiceException} (server fault)
93
+ * <p>This exception is thrown when the service encounters an unrecoverable
94
+ * exception.</p>
95
+ *
96
+ * @throws {@link ServiceUnavailableException} (server fault)
97
+ * <p>The service is unable to process your request at this time.</p>
98
+ *
99
+ * @throws {@link ImagebuilderServiceException}
100
+ * <p>Base exception class for all service exceptions from Imagebuilder service.</p>
101
+ *
102
+ */
103
+ export declare class ListLifecyclePoliciesCommand extends $Command<ListLifecyclePoliciesCommandInput, ListLifecyclePoliciesCommandOutput, ImagebuilderClientResolvedConfig> {
104
+ readonly input: ListLifecyclePoliciesCommandInput;
105
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
106
+ /**
107
+ * @public
108
+ */
109
+ constructor(input: ListLifecyclePoliciesCommandInput);
110
+ /**
111
+ * @internal
112
+ */
113
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListLifecyclePoliciesCommandInput, ListLifecyclePoliciesCommandOutput>;
114
+ /**
115
+ * @internal
116
+ */
117
+ private serialize;
118
+ /**
119
+ * @internal
120
+ */
121
+ private deserialize;
122
+ }
@@ -0,0 +1,136 @@
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 { StartResourceStateUpdateRequest, StartResourceStateUpdateResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link StartResourceStateUpdateCommand}.
14
+ */
15
+ export interface StartResourceStateUpdateCommandInput extends StartResourceStateUpdateRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link StartResourceStateUpdateCommand}.
21
+ */
22
+ export interface StartResourceStateUpdateCommandOutput extends StartResourceStateUpdateResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Begin asynchronous resource state update for lifecycle changes to the
27
+ * specified image resources.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { ImagebuilderClient, StartResourceStateUpdateCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
32
+ * // const { ImagebuilderClient, StartResourceStateUpdateCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
33
+ * const client = new ImagebuilderClient(config);
34
+ * const input = { // StartResourceStateUpdateRequest
35
+ * resourceArn: "STRING_VALUE", // required
36
+ * state: { // ResourceState
37
+ * status: "AVAILABLE" || "DELETED" || "DEPRECATED" || "DISABLED",
38
+ * },
39
+ * executionRole: "STRING_VALUE",
40
+ * includeResources: { // ResourceStateUpdateIncludeResources
41
+ * amis: true || false,
42
+ * snapshots: true || false,
43
+ * containers: true || false,
44
+ * },
45
+ * exclusionRules: { // ResourceStateUpdateExclusionRules
46
+ * amis: { // LifecyclePolicyDetailExclusionRulesAmis
47
+ * isPublic: true || false,
48
+ * regions: [ // StringList
49
+ * "STRING_VALUE",
50
+ * ],
51
+ * sharedAccounts: [ // AccountList
52
+ * "STRING_VALUE",
53
+ * ],
54
+ * lastLaunched: { // LifecyclePolicyDetailExclusionRulesAmisLastLaunched
55
+ * value: Number("int"), // required
56
+ * unit: "DAYS" || "WEEKS" || "MONTHS" || "YEARS", // required
57
+ * },
58
+ * tagMap: { // TagMap
59
+ * "<keys>": "STRING_VALUE",
60
+ * },
61
+ * },
62
+ * },
63
+ * updateAt: new Date("TIMESTAMP"),
64
+ * clientToken: "STRING_VALUE", // required
65
+ * };
66
+ * const command = new StartResourceStateUpdateCommand(input);
67
+ * const response = await client.send(command);
68
+ * // { // StartResourceStateUpdateResponse
69
+ * // lifecycleExecutionId: "STRING_VALUE",
70
+ * // resourceArn: "STRING_VALUE",
71
+ * // };
72
+ *
73
+ * ```
74
+ *
75
+ * @param StartResourceStateUpdateCommandInput - {@link StartResourceStateUpdateCommandInput}
76
+ * @returns {@link StartResourceStateUpdateCommandOutput}
77
+ * @see {@link StartResourceStateUpdateCommandInput} for command's `input` shape.
78
+ * @see {@link StartResourceStateUpdateCommandOutput} for command's `response` shape.
79
+ * @see {@link ImagebuilderClientResolvedConfig | config} for ImagebuilderClient's `config` shape.
80
+ *
81
+ * @throws {@link CallRateLimitExceededException} (client fault)
82
+ * <p>You have exceeded the permitted request rate for the specific operation.</p>
83
+ *
84
+ * @throws {@link ClientException} (client fault)
85
+ * <p>These errors are usually caused by a client action, such as using an action or
86
+ * resource on behalf of a user that doesn't have permissions to use the action or
87
+ * resource, or specifying an invalid resource identifier.</p>
88
+ *
89
+ * @throws {@link ForbiddenException} (client fault)
90
+ * <p>You are not authorized to perform the requested operation.</p>
91
+ *
92
+ * @throws {@link IdempotentParameterMismatchException} (client fault)
93
+ * <p>You have specified a client token for an operation using parameter values that differ
94
+ * from a previous request that used the same client token.</p>
95
+ *
96
+ * @throws {@link InvalidRequestException} (client fault)
97
+ * <p>You have requested an action that that the service doesn't support.</p>
98
+ *
99
+ * @throws {@link ResourceInUseException} (client fault)
100
+ * <p>The resource that you are trying to operate on is currently in use. Review the message
101
+ * details and retry later.</p>
102
+ *
103
+ * @throws {@link ResourceNotFoundException} (client fault)
104
+ * <p>At least one of the resources referenced by your request does not exist.</p>
105
+ *
106
+ * @throws {@link ServiceException} (server fault)
107
+ * <p>This exception is thrown when the service encounters an unrecoverable
108
+ * exception.</p>
109
+ *
110
+ * @throws {@link ServiceUnavailableException} (server fault)
111
+ * <p>The service is unable to process your request at this time.</p>
112
+ *
113
+ * @throws {@link ImagebuilderServiceException}
114
+ * <p>Base exception class for all service exceptions from Imagebuilder service.</p>
115
+ *
116
+ */
117
+ export declare class StartResourceStateUpdateCommand extends $Command<StartResourceStateUpdateCommandInput, StartResourceStateUpdateCommandOutput, ImagebuilderClientResolvedConfig> {
118
+ readonly input: StartResourceStateUpdateCommandInput;
119
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
120
+ /**
121
+ * @public
122
+ */
123
+ constructor(input: StartResourceStateUpdateCommandInput);
124
+ /**
125
+ * @internal
126
+ */
127
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartResourceStateUpdateCommandInput, StartResourceStateUpdateCommandOutput>;
128
+ /**
129
+ * @internal
130
+ */
131
+ private serialize;
132
+ /**
133
+ * @internal
134
+ */
135
+ private deserialize;
136
+ }
@@ -0,0 +1,159 @@
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 { UpdateLifecyclePolicyRequest, UpdateLifecyclePolicyResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateLifecyclePolicyCommand}.
14
+ */
15
+ export interface UpdateLifecyclePolicyCommandInput extends UpdateLifecyclePolicyRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateLifecyclePolicyCommand}.
21
+ */
22
+ export interface UpdateLifecyclePolicyCommandOutput extends UpdateLifecyclePolicyResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Update the specified 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, UpdateLifecyclePolicyCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
31
+ * // const { ImagebuilderClient, UpdateLifecyclePolicyCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
32
+ * const client = new ImagebuilderClient(config);
33
+ * const input = { // UpdateLifecyclePolicyRequest
34
+ * lifecyclePolicyArn: "STRING_VALUE", // required
35
+ * description: "STRING_VALUE",
36
+ * status: "DISABLED" || "ENABLED",
37
+ * executionRole: "STRING_VALUE", // required
38
+ * resourceType: "AMI_IMAGE" || "CONTAINER_IMAGE", // required
39
+ * policyDetails: [ // LifecyclePolicyDetails // required
40
+ * { // LifecyclePolicyDetail
41
+ * action: { // LifecyclePolicyDetailAction
42
+ * type: "DELETE" || "DEPRECATE" || "DISABLE", // required
43
+ * includeResources: { // LifecyclePolicyDetailActionIncludeResources
44
+ * amis: true || false,
45
+ * snapshots: true || false,
46
+ * containers: true || false,
47
+ * },
48
+ * },
49
+ * filter: { // LifecyclePolicyDetailFilter
50
+ * type: "AGE" || "COUNT", // required
51
+ * value: Number("int"), // required
52
+ * unit: "DAYS" || "WEEKS" || "MONTHS" || "YEARS",
53
+ * retainAtLeast: Number("int"),
54
+ * },
55
+ * exclusionRules: { // LifecyclePolicyDetailExclusionRules
56
+ * tagMap: { // TagMap
57
+ * "<keys>": "STRING_VALUE",
58
+ * },
59
+ * amis: { // LifecyclePolicyDetailExclusionRulesAmis
60
+ * isPublic: true || false,
61
+ * regions: [ // StringList
62
+ * "STRING_VALUE",
63
+ * ],
64
+ * sharedAccounts: [ // AccountList
65
+ * "STRING_VALUE",
66
+ * ],
67
+ * lastLaunched: { // LifecyclePolicyDetailExclusionRulesAmisLastLaunched
68
+ * value: Number("int"), // required
69
+ * unit: "DAYS" || "WEEKS" || "MONTHS" || "YEARS", // required
70
+ * },
71
+ * tagMap: {
72
+ * "<keys>": "STRING_VALUE",
73
+ * },
74
+ * },
75
+ * },
76
+ * },
77
+ * ],
78
+ * resourceSelection: { // LifecyclePolicyResourceSelection
79
+ * recipes: [ // LifecyclePolicyResourceSelectionRecipes
80
+ * { // LifecyclePolicyResourceSelectionRecipe
81
+ * name: "STRING_VALUE", // required
82
+ * semanticVersion: "STRING_VALUE", // required
83
+ * },
84
+ * ],
85
+ * tagMap: "<TagMap>",
86
+ * },
87
+ * clientToken: "STRING_VALUE", // required
88
+ * };
89
+ * const command = new UpdateLifecyclePolicyCommand(input);
90
+ * const response = await client.send(command);
91
+ * // { // UpdateLifecyclePolicyResponse
92
+ * // lifecyclePolicyArn: "STRING_VALUE",
93
+ * // };
94
+ *
95
+ * ```
96
+ *
97
+ * @param UpdateLifecyclePolicyCommandInput - {@link UpdateLifecyclePolicyCommandInput}
98
+ * @returns {@link UpdateLifecyclePolicyCommandOutput}
99
+ * @see {@link UpdateLifecyclePolicyCommandInput} for command's `input` shape.
100
+ * @see {@link UpdateLifecyclePolicyCommandOutput} for command's `response` shape.
101
+ * @see {@link ImagebuilderClientResolvedConfig | config} for ImagebuilderClient's `config` shape.
102
+ *
103
+ * @throws {@link CallRateLimitExceededException} (client fault)
104
+ * <p>You have exceeded the permitted request rate for the specific operation.</p>
105
+ *
106
+ * @throws {@link ClientException} (client fault)
107
+ * <p>These errors are usually caused by a client action, such as using an action or
108
+ * resource on behalf of a user that doesn't have permissions to use the action or
109
+ * resource, or specifying an invalid resource identifier.</p>
110
+ *
111
+ * @throws {@link ForbiddenException} (client fault)
112
+ * <p>You are not authorized to perform the requested operation.</p>
113
+ *
114
+ * @throws {@link IdempotentParameterMismatchException} (client fault)
115
+ * <p>You have specified a client token for an operation using parameter values that differ
116
+ * from a previous request that used the same client token.</p>
117
+ *
118
+ * @throws {@link InvalidParameterCombinationException} (client fault)
119
+ * <p>You have specified two or more mutually exclusive parameters. Review the error message
120
+ * for details.</p>
121
+ *
122
+ * @throws {@link InvalidRequestException} (client fault)
123
+ * <p>You have requested an action that that the service doesn't support.</p>
124
+ *
125
+ * @throws {@link ResourceInUseException} (client fault)
126
+ * <p>The resource that you are trying to operate on is currently in use. Review the message
127
+ * details and retry later.</p>
128
+ *
129
+ * @throws {@link ServiceException} (server fault)
130
+ * <p>This exception is thrown when the service encounters an unrecoverable
131
+ * exception.</p>
132
+ *
133
+ * @throws {@link ServiceUnavailableException} (server fault)
134
+ * <p>The service is unable to process your request at this time.</p>
135
+ *
136
+ * @throws {@link ImagebuilderServiceException}
137
+ * <p>Base exception class for all service exceptions from Imagebuilder service.</p>
138
+ *
139
+ */
140
+ export declare class UpdateLifecyclePolicyCommand extends $Command<UpdateLifecyclePolicyCommandInput, UpdateLifecyclePolicyCommandOutput, ImagebuilderClientResolvedConfig> {
141
+ readonly input: UpdateLifecyclePolicyCommandInput;
142
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
143
+ /**
144
+ * @public
145
+ */
146
+ constructor(input: UpdateLifecyclePolicyCommandInput);
147
+ /**
148
+ * @internal
149
+ */
150
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateLifecyclePolicyCommandInput, UpdateLifecyclePolicyCommandOutput>;
151
+ /**
152
+ * @internal
153
+ */
154
+ private serialize;
155
+ /**
156
+ * @internal
157
+ */
158
+ private deserialize;
159
+ }
@@ -1,4 +1,5 @@
1
1
  export * from "./CancelImageCreationCommand";
2
+ export * from "./CancelLifecycleExecutionCommand";
2
3
  export * from "./CreateComponentCommand";
3
4
  export * from "./CreateContainerRecipeCommand";
4
5
  export * from "./CreateDistributionConfigurationCommand";
@@ -6,6 +7,7 @@ export * from "./CreateImageCommand";
6
7
  export * from "./CreateImagePipelineCommand";
7
8
  export * from "./CreateImageRecipeCommand";
8
9
  export * from "./CreateInfrastructureConfigurationCommand";
10
+ export * from "./CreateLifecyclePolicyCommand";
9
11
  export * from "./DeleteComponentCommand";
10
12
  export * from "./DeleteContainerRecipeCommand";
11
13
  export * from "./DeleteDistributionConfigurationCommand";
@@ -13,6 +15,7 @@ export * from "./DeleteImageCommand";
13
15
  export * from "./DeleteImagePipelineCommand";
14
16
  export * from "./DeleteImageRecipeCommand";
15
17
  export * from "./DeleteInfrastructureConfigurationCommand";
18
+ export * from "./DeleteLifecyclePolicyCommand";
16
19
  export * from "./GetComponentCommand";
17
20
  export * from "./GetComponentPolicyCommand";
18
21
  export * from "./GetContainerRecipeCommand";
@@ -24,6 +27,8 @@ export * from "./GetImagePolicyCommand";
24
27
  export * from "./GetImageRecipeCommand";
25
28
  export * from "./GetImageRecipePolicyCommand";
26
29
  export * from "./GetInfrastructureConfigurationCommand";
30
+ export * from "./GetLifecycleExecutionCommand";
31
+ export * from "./GetLifecyclePolicyCommand";
27
32
  export * from "./GetWorkflowExecutionCommand";
28
33
  export * from "./GetWorkflowStepExecutionCommand";
29
34
  export * from "./ImportComponentCommand";
@@ -41,6 +46,9 @@ export * from "./ListImageScanFindingAggregationsCommand";
41
46
  export * from "./ListImageScanFindingsCommand";
42
47
  export * from "./ListImagesCommand";
43
48
  export * from "./ListInfrastructureConfigurationsCommand";
49
+ export * from "./ListLifecycleExecutionResourcesCommand";
50
+ export * from "./ListLifecycleExecutionsCommand";
51
+ export * from "./ListLifecyclePoliciesCommand";
44
52
  export * from "./ListTagsForResourceCommand";
45
53
  export * from "./ListWorkflowExecutionsCommand";
46
54
  export * from "./ListWorkflowStepExecutionsCommand";
@@ -49,8 +57,10 @@ export * from "./PutContainerRecipePolicyCommand";
49
57
  export * from "./PutImagePolicyCommand";
50
58
  export * from "./PutImageRecipePolicyCommand";
51
59
  export * from "./StartImagePipelineExecutionCommand";
60
+ export * from "./StartResourceStateUpdateCommand";
52
61
  export * from "./TagResourceCommand";
53
62
  export * from "./UntagResourceCommand";
54
63
  export * from "./UpdateDistributionConfigurationCommand";
55
64
  export * from "./UpdateImagePipelineCommand";
56
65
  export * from "./UpdateInfrastructureConfigurationCommand";
66
+ export * from "./UpdateLifecyclePolicyCommand";