@aws-sdk/client-imagebuilder 3.451.0 → 3.454.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 +2 -2
@@ -1,5 +1,6 @@
1
1
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
2
  import { CancelImageCreationCommandInput, CancelImageCreationCommandOutput } from "./commands/CancelImageCreationCommand";
3
+ import { CancelLifecycleExecutionCommandInput, CancelLifecycleExecutionCommandOutput } from "./commands/CancelLifecycleExecutionCommand";
3
4
  import { CreateComponentCommandInput, CreateComponentCommandOutput } from "./commands/CreateComponentCommand";
4
5
  import { CreateContainerRecipeCommandInput, CreateContainerRecipeCommandOutput } from "./commands/CreateContainerRecipeCommand";
5
6
  import { CreateDistributionConfigurationCommandInput, CreateDistributionConfigurationCommandOutput } from "./commands/CreateDistributionConfigurationCommand";
@@ -7,6 +8,7 @@ import { CreateImageCommandInput, CreateImageCommandOutput } from "./commands/Cr
7
8
  import { CreateImagePipelineCommandInput, CreateImagePipelineCommandOutput } from "./commands/CreateImagePipelineCommand";
8
9
  import { CreateImageRecipeCommandInput, CreateImageRecipeCommandOutput } from "./commands/CreateImageRecipeCommand";
9
10
  import { CreateInfrastructureConfigurationCommandInput, CreateInfrastructureConfigurationCommandOutput } from "./commands/CreateInfrastructureConfigurationCommand";
11
+ import { CreateLifecyclePolicyCommandInput, CreateLifecyclePolicyCommandOutput } from "./commands/CreateLifecyclePolicyCommand";
10
12
  import { DeleteComponentCommandInput, DeleteComponentCommandOutput } from "./commands/DeleteComponentCommand";
11
13
  import { DeleteContainerRecipeCommandInput, DeleteContainerRecipeCommandOutput } from "./commands/DeleteContainerRecipeCommand";
12
14
  import { DeleteDistributionConfigurationCommandInput, DeleteDistributionConfigurationCommandOutput } from "./commands/DeleteDistributionConfigurationCommand";
@@ -14,6 +16,7 @@ import { DeleteImageCommandInput, DeleteImageCommandOutput } from "./commands/De
14
16
  import { DeleteImagePipelineCommandInput, DeleteImagePipelineCommandOutput } from "./commands/DeleteImagePipelineCommand";
15
17
  import { DeleteImageRecipeCommandInput, DeleteImageRecipeCommandOutput } from "./commands/DeleteImageRecipeCommand";
16
18
  import { DeleteInfrastructureConfigurationCommandInput, DeleteInfrastructureConfigurationCommandOutput } from "./commands/DeleteInfrastructureConfigurationCommand";
19
+ import { DeleteLifecyclePolicyCommandInput, DeleteLifecyclePolicyCommandOutput } from "./commands/DeleteLifecyclePolicyCommand";
17
20
  import { GetComponentCommandInput, GetComponentCommandOutput } from "./commands/GetComponentCommand";
18
21
  import { GetComponentPolicyCommandInput, GetComponentPolicyCommandOutput } from "./commands/GetComponentPolicyCommand";
19
22
  import { GetContainerRecipeCommandInput, GetContainerRecipeCommandOutput } from "./commands/GetContainerRecipeCommand";
@@ -25,6 +28,8 @@ import { GetImagePolicyCommandInput, GetImagePolicyCommandOutput } from "./comma
25
28
  import { GetImageRecipeCommandInput, GetImageRecipeCommandOutput } from "./commands/GetImageRecipeCommand";
26
29
  import { GetImageRecipePolicyCommandInput, GetImageRecipePolicyCommandOutput } from "./commands/GetImageRecipePolicyCommand";
27
30
  import { GetInfrastructureConfigurationCommandInput, GetInfrastructureConfigurationCommandOutput } from "./commands/GetInfrastructureConfigurationCommand";
31
+ import { GetLifecycleExecutionCommandInput, GetLifecycleExecutionCommandOutput } from "./commands/GetLifecycleExecutionCommand";
32
+ import { GetLifecyclePolicyCommandInput, GetLifecyclePolicyCommandOutput } from "./commands/GetLifecyclePolicyCommand";
28
33
  import { GetWorkflowExecutionCommandInput, GetWorkflowExecutionCommandOutput } from "./commands/GetWorkflowExecutionCommand";
29
34
  import { GetWorkflowStepExecutionCommandInput, GetWorkflowStepExecutionCommandOutput } from "./commands/GetWorkflowStepExecutionCommand";
30
35
  import { ImportComponentCommandInput, ImportComponentCommandOutput } from "./commands/ImportComponentCommand";
@@ -42,6 +47,9 @@ import { ListImageScanFindingAggregationsCommandInput, ListImageScanFindingAggre
42
47
  import { ListImageScanFindingsCommandInput, ListImageScanFindingsCommandOutput } from "./commands/ListImageScanFindingsCommand";
43
48
  import { ListImagesCommandInput, ListImagesCommandOutput } from "./commands/ListImagesCommand";
44
49
  import { ListInfrastructureConfigurationsCommandInput, ListInfrastructureConfigurationsCommandOutput } from "./commands/ListInfrastructureConfigurationsCommand";
50
+ import { ListLifecycleExecutionResourcesCommandInput, ListLifecycleExecutionResourcesCommandOutput } from "./commands/ListLifecycleExecutionResourcesCommand";
51
+ import { ListLifecycleExecutionsCommandInput, ListLifecycleExecutionsCommandOutput } from "./commands/ListLifecycleExecutionsCommand";
52
+ import { ListLifecyclePoliciesCommandInput, ListLifecyclePoliciesCommandOutput } from "./commands/ListLifecyclePoliciesCommand";
45
53
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
46
54
  import { ListWorkflowExecutionsCommandInput, ListWorkflowExecutionsCommandOutput } from "./commands/ListWorkflowExecutionsCommand";
47
55
  import { ListWorkflowStepExecutionsCommandInput, ListWorkflowStepExecutionsCommandOutput } from "./commands/ListWorkflowStepExecutionsCommand";
@@ -50,11 +58,13 @@ import { PutContainerRecipePolicyCommandInput, PutContainerRecipePolicyCommandOu
50
58
  import { PutImagePolicyCommandInput, PutImagePolicyCommandOutput } from "./commands/PutImagePolicyCommand";
51
59
  import { PutImageRecipePolicyCommandInput, PutImageRecipePolicyCommandOutput } from "./commands/PutImageRecipePolicyCommand";
52
60
  import { StartImagePipelineExecutionCommandInput, StartImagePipelineExecutionCommandOutput } from "./commands/StartImagePipelineExecutionCommand";
61
+ import { StartResourceStateUpdateCommandInput, StartResourceStateUpdateCommandOutput } from "./commands/StartResourceStateUpdateCommand";
53
62
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
54
63
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
55
64
  import { UpdateDistributionConfigurationCommandInput, UpdateDistributionConfigurationCommandOutput } from "./commands/UpdateDistributionConfigurationCommand";
56
65
  import { UpdateImagePipelineCommandInput, UpdateImagePipelineCommandOutput } from "./commands/UpdateImagePipelineCommand";
57
66
  import { UpdateInfrastructureConfigurationCommandInput, UpdateInfrastructureConfigurationCommandOutput } from "./commands/UpdateInfrastructureConfigurationCommand";
67
+ import { UpdateLifecyclePolicyCommandInput, UpdateLifecyclePolicyCommandOutput } from "./commands/UpdateLifecyclePolicyCommand";
58
68
  import { ImagebuilderClient } from "./ImagebuilderClient";
59
69
  export interface Imagebuilder {
60
70
  /**
@@ -63,6 +73,12 @@ export interface Imagebuilder {
63
73
  cancelImageCreation(args: CancelImageCreationCommandInput, options?: __HttpHandlerOptions): Promise<CancelImageCreationCommandOutput>;
64
74
  cancelImageCreation(args: CancelImageCreationCommandInput, cb: (err: any, data?: CancelImageCreationCommandOutput) => void): void;
65
75
  cancelImageCreation(args: CancelImageCreationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelImageCreationCommandOutput) => void): void;
76
+ /**
77
+ * @see {@link CancelLifecycleExecutionCommand}
78
+ */
79
+ cancelLifecycleExecution(args: CancelLifecycleExecutionCommandInput, options?: __HttpHandlerOptions): Promise<CancelLifecycleExecutionCommandOutput>;
80
+ cancelLifecycleExecution(args: CancelLifecycleExecutionCommandInput, cb: (err: any, data?: CancelLifecycleExecutionCommandOutput) => void): void;
81
+ cancelLifecycleExecution(args: CancelLifecycleExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelLifecycleExecutionCommandOutput) => void): void;
66
82
  /**
67
83
  * @see {@link CreateComponentCommand}
68
84
  */
@@ -105,6 +121,12 @@ export interface Imagebuilder {
105
121
  createInfrastructureConfiguration(args: CreateInfrastructureConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<CreateInfrastructureConfigurationCommandOutput>;
106
122
  createInfrastructureConfiguration(args: CreateInfrastructureConfigurationCommandInput, cb: (err: any, data?: CreateInfrastructureConfigurationCommandOutput) => void): void;
107
123
  createInfrastructureConfiguration(args: CreateInfrastructureConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateInfrastructureConfigurationCommandOutput) => void): void;
124
+ /**
125
+ * @see {@link CreateLifecyclePolicyCommand}
126
+ */
127
+ createLifecyclePolicy(args: CreateLifecyclePolicyCommandInput, options?: __HttpHandlerOptions): Promise<CreateLifecyclePolicyCommandOutput>;
128
+ createLifecyclePolicy(args: CreateLifecyclePolicyCommandInput, cb: (err: any, data?: CreateLifecyclePolicyCommandOutput) => void): void;
129
+ createLifecyclePolicy(args: CreateLifecyclePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLifecyclePolicyCommandOutput) => void): void;
108
130
  /**
109
131
  * @see {@link DeleteComponentCommand}
110
132
  */
@@ -147,6 +169,12 @@ export interface Imagebuilder {
147
169
  deleteInfrastructureConfiguration(args: DeleteInfrastructureConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteInfrastructureConfigurationCommandOutput>;
148
170
  deleteInfrastructureConfiguration(args: DeleteInfrastructureConfigurationCommandInput, cb: (err: any, data?: DeleteInfrastructureConfigurationCommandOutput) => void): void;
149
171
  deleteInfrastructureConfiguration(args: DeleteInfrastructureConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteInfrastructureConfigurationCommandOutput) => void): void;
172
+ /**
173
+ * @see {@link DeleteLifecyclePolicyCommand}
174
+ */
175
+ deleteLifecyclePolicy(args: DeleteLifecyclePolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteLifecyclePolicyCommandOutput>;
176
+ deleteLifecyclePolicy(args: DeleteLifecyclePolicyCommandInput, cb: (err: any, data?: DeleteLifecyclePolicyCommandOutput) => void): void;
177
+ deleteLifecyclePolicy(args: DeleteLifecyclePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteLifecyclePolicyCommandOutput) => void): void;
150
178
  /**
151
179
  * @see {@link GetComponentCommand}
152
180
  */
@@ -213,6 +241,18 @@ export interface Imagebuilder {
213
241
  getInfrastructureConfiguration(args: GetInfrastructureConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetInfrastructureConfigurationCommandOutput>;
214
242
  getInfrastructureConfiguration(args: GetInfrastructureConfigurationCommandInput, cb: (err: any, data?: GetInfrastructureConfigurationCommandOutput) => void): void;
215
243
  getInfrastructureConfiguration(args: GetInfrastructureConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetInfrastructureConfigurationCommandOutput) => void): void;
244
+ /**
245
+ * @see {@link GetLifecycleExecutionCommand}
246
+ */
247
+ getLifecycleExecution(args: GetLifecycleExecutionCommandInput, options?: __HttpHandlerOptions): Promise<GetLifecycleExecutionCommandOutput>;
248
+ getLifecycleExecution(args: GetLifecycleExecutionCommandInput, cb: (err: any, data?: GetLifecycleExecutionCommandOutput) => void): void;
249
+ getLifecycleExecution(args: GetLifecycleExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLifecycleExecutionCommandOutput) => void): void;
250
+ /**
251
+ * @see {@link GetLifecyclePolicyCommand}
252
+ */
253
+ getLifecyclePolicy(args: GetLifecyclePolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetLifecyclePolicyCommandOutput>;
254
+ getLifecyclePolicy(args: GetLifecyclePolicyCommandInput, cb: (err: any, data?: GetLifecyclePolicyCommandOutput) => void): void;
255
+ getLifecyclePolicy(args: GetLifecyclePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLifecyclePolicyCommandOutput) => void): void;
216
256
  /**
217
257
  * @see {@link GetWorkflowExecutionCommand}
218
258
  */
@@ -315,6 +355,24 @@ export interface Imagebuilder {
315
355
  listInfrastructureConfigurations(args: ListInfrastructureConfigurationsCommandInput, options?: __HttpHandlerOptions): Promise<ListInfrastructureConfigurationsCommandOutput>;
316
356
  listInfrastructureConfigurations(args: ListInfrastructureConfigurationsCommandInput, cb: (err: any, data?: ListInfrastructureConfigurationsCommandOutput) => void): void;
317
357
  listInfrastructureConfigurations(args: ListInfrastructureConfigurationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListInfrastructureConfigurationsCommandOutput) => void): void;
358
+ /**
359
+ * @see {@link ListLifecycleExecutionResourcesCommand}
360
+ */
361
+ listLifecycleExecutionResources(args: ListLifecycleExecutionResourcesCommandInput, options?: __HttpHandlerOptions): Promise<ListLifecycleExecutionResourcesCommandOutput>;
362
+ listLifecycleExecutionResources(args: ListLifecycleExecutionResourcesCommandInput, cb: (err: any, data?: ListLifecycleExecutionResourcesCommandOutput) => void): void;
363
+ listLifecycleExecutionResources(args: ListLifecycleExecutionResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListLifecycleExecutionResourcesCommandOutput) => void): void;
364
+ /**
365
+ * @see {@link ListLifecycleExecutionsCommand}
366
+ */
367
+ listLifecycleExecutions(args: ListLifecycleExecutionsCommandInput, options?: __HttpHandlerOptions): Promise<ListLifecycleExecutionsCommandOutput>;
368
+ listLifecycleExecutions(args: ListLifecycleExecutionsCommandInput, cb: (err: any, data?: ListLifecycleExecutionsCommandOutput) => void): void;
369
+ listLifecycleExecutions(args: ListLifecycleExecutionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListLifecycleExecutionsCommandOutput) => void): void;
370
+ /**
371
+ * @see {@link ListLifecyclePoliciesCommand}
372
+ */
373
+ listLifecyclePolicies(args: ListLifecyclePoliciesCommandInput, options?: __HttpHandlerOptions): Promise<ListLifecyclePoliciesCommandOutput>;
374
+ listLifecyclePolicies(args: ListLifecyclePoliciesCommandInput, cb: (err: any, data?: ListLifecyclePoliciesCommandOutput) => void): void;
375
+ listLifecyclePolicies(args: ListLifecyclePoliciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListLifecyclePoliciesCommandOutput) => void): void;
318
376
  /**
319
377
  * @see {@link ListTagsForResourceCommand}
320
378
  */
@@ -363,6 +421,12 @@ export interface Imagebuilder {
363
421
  startImagePipelineExecution(args: StartImagePipelineExecutionCommandInput, options?: __HttpHandlerOptions): Promise<StartImagePipelineExecutionCommandOutput>;
364
422
  startImagePipelineExecution(args: StartImagePipelineExecutionCommandInput, cb: (err: any, data?: StartImagePipelineExecutionCommandOutput) => void): void;
365
423
  startImagePipelineExecution(args: StartImagePipelineExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartImagePipelineExecutionCommandOutput) => void): void;
424
+ /**
425
+ * @see {@link StartResourceStateUpdateCommand}
426
+ */
427
+ startResourceStateUpdate(args: StartResourceStateUpdateCommandInput, options?: __HttpHandlerOptions): Promise<StartResourceStateUpdateCommandOutput>;
428
+ startResourceStateUpdate(args: StartResourceStateUpdateCommandInput, cb: (err: any, data?: StartResourceStateUpdateCommandOutput) => void): void;
429
+ startResourceStateUpdate(args: StartResourceStateUpdateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartResourceStateUpdateCommandOutput) => void): void;
366
430
  /**
367
431
  * @see {@link TagResourceCommand}
368
432
  */
@@ -393,6 +457,12 @@ export interface Imagebuilder {
393
457
  updateInfrastructureConfiguration(args: UpdateInfrastructureConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateInfrastructureConfigurationCommandOutput>;
394
458
  updateInfrastructureConfiguration(args: UpdateInfrastructureConfigurationCommandInput, cb: (err: any, data?: UpdateInfrastructureConfigurationCommandOutput) => void): void;
395
459
  updateInfrastructureConfiguration(args: UpdateInfrastructureConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateInfrastructureConfigurationCommandOutput) => void): void;
460
+ /**
461
+ * @see {@link UpdateLifecyclePolicyCommand}
462
+ */
463
+ updateLifecyclePolicy(args: UpdateLifecyclePolicyCommandInput, options?: __HttpHandlerOptions): Promise<UpdateLifecyclePolicyCommandOutput>;
464
+ updateLifecyclePolicy(args: UpdateLifecyclePolicyCommandInput, cb: (err: any, data?: UpdateLifecyclePolicyCommandOutput) => void): void;
465
+ updateLifecyclePolicy(args: UpdateLifecyclePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateLifecyclePolicyCommandOutput) => void): void;
396
466
  }
397
467
  /**
398
468
  * @public
@@ -9,6 +9,7 @@ import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
9
9
  import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
10
10
  import { BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
11
11
  import { CancelImageCreationCommandInput, CancelImageCreationCommandOutput } from "./commands/CancelImageCreationCommand";
12
+ import { CancelLifecycleExecutionCommandInput, CancelLifecycleExecutionCommandOutput } from "./commands/CancelLifecycleExecutionCommand";
12
13
  import { CreateComponentCommandInput, CreateComponentCommandOutput } from "./commands/CreateComponentCommand";
13
14
  import { CreateContainerRecipeCommandInput, CreateContainerRecipeCommandOutput } from "./commands/CreateContainerRecipeCommand";
14
15
  import { CreateDistributionConfigurationCommandInput, CreateDistributionConfigurationCommandOutput } from "./commands/CreateDistributionConfigurationCommand";
@@ -16,6 +17,7 @@ import { CreateImageCommandInput, CreateImageCommandOutput } from "./commands/Cr
16
17
  import { CreateImagePipelineCommandInput, CreateImagePipelineCommandOutput } from "./commands/CreateImagePipelineCommand";
17
18
  import { CreateImageRecipeCommandInput, CreateImageRecipeCommandOutput } from "./commands/CreateImageRecipeCommand";
18
19
  import { CreateInfrastructureConfigurationCommandInput, CreateInfrastructureConfigurationCommandOutput } from "./commands/CreateInfrastructureConfigurationCommand";
20
+ import { CreateLifecyclePolicyCommandInput, CreateLifecyclePolicyCommandOutput } from "./commands/CreateLifecyclePolicyCommand";
19
21
  import { DeleteComponentCommandInput, DeleteComponentCommandOutput } from "./commands/DeleteComponentCommand";
20
22
  import { DeleteContainerRecipeCommandInput, DeleteContainerRecipeCommandOutput } from "./commands/DeleteContainerRecipeCommand";
21
23
  import { DeleteDistributionConfigurationCommandInput, DeleteDistributionConfigurationCommandOutput } from "./commands/DeleteDistributionConfigurationCommand";
@@ -23,6 +25,7 @@ import { DeleteImageCommandInput, DeleteImageCommandOutput } from "./commands/De
23
25
  import { DeleteImagePipelineCommandInput, DeleteImagePipelineCommandOutput } from "./commands/DeleteImagePipelineCommand";
24
26
  import { DeleteImageRecipeCommandInput, DeleteImageRecipeCommandOutput } from "./commands/DeleteImageRecipeCommand";
25
27
  import { DeleteInfrastructureConfigurationCommandInput, DeleteInfrastructureConfigurationCommandOutput } from "./commands/DeleteInfrastructureConfigurationCommand";
28
+ import { DeleteLifecyclePolicyCommandInput, DeleteLifecyclePolicyCommandOutput } from "./commands/DeleteLifecyclePolicyCommand";
26
29
  import { GetComponentCommandInput, GetComponentCommandOutput } from "./commands/GetComponentCommand";
27
30
  import { GetComponentPolicyCommandInput, GetComponentPolicyCommandOutput } from "./commands/GetComponentPolicyCommand";
28
31
  import { GetContainerRecipeCommandInput, GetContainerRecipeCommandOutput } from "./commands/GetContainerRecipeCommand";
@@ -34,6 +37,8 @@ import { GetImagePolicyCommandInput, GetImagePolicyCommandOutput } from "./comma
34
37
  import { GetImageRecipeCommandInput, GetImageRecipeCommandOutput } from "./commands/GetImageRecipeCommand";
35
38
  import { GetImageRecipePolicyCommandInput, GetImageRecipePolicyCommandOutput } from "./commands/GetImageRecipePolicyCommand";
36
39
  import { GetInfrastructureConfigurationCommandInput, GetInfrastructureConfigurationCommandOutput } from "./commands/GetInfrastructureConfigurationCommand";
40
+ import { GetLifecycleExecutionCommandInput, GetLifecycleExecutionCommandOutput } from "./commands/GetLifecycleExecutionCommand";
41
+ import { GetLifecyclePolicyCommandInput, GetLifecyclePolicyCommandOutput } from "./commands/GetLifecyclePolicyCommand";
37
42
  import { GetWorkflowExecutionCommandInput, GetWorkflowExecutionCommandOutput } from "./commands/GetWorkflowExecutionCommand";
38
43
  import { GetWorkflowStepExecutionCommandInput, GetWorkflowStepExecutionCommandOutput } from "./commands/GetWorkflowStepExecutionCommand";
39
44
  import { ImportComponentCommandInput, ImportComponentCommandOutput } from "./commands/ImportComponentCommand";
@@ -51,6 +56,9 @@ import { ListImageScanFindingAggregationsCommandInput, ListImageScanFindingAggre
51
56
  import { ListImageScanFindingsCommandInput, ListImageScanFindingsCommandOutput } from "./commands/ListImageScanFindingsCommand";
52
57
  import { ListImagesCommandInput, ListImagesCommandOutput } from "./commands/ListImagesCommand";
53
58
  import { ListInfrastructureConfigurationsCommandInput, ListInfrastructureConfigurationsCommandOutput } from "./commands/ListInfrastructureConfigurationsCommand";
59
+ import { ListLifecycleExecutionResourcesCommandInput, ListLifecycleExecutionResourcesCommandOutput } from "./commands/ListLifecycleExecutionResourcesCommand";
60
+ import { ListLifecycleExecutionsCommandInput, ListLifecycleExecutionsCommandOutput } from "./commands/ListLifecycleExecutionsCommand";
61
+ import { ListLifecyclePoliciesCommandInput, ListLifecyclePoliciesCommandOutput } from "./commands/ListLifecyclePoliciesCommand";
54
62
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
55
63
  import { ListWorkflowExecutionsCommandInput, ListWorkflowExecutionsCommandOutput } from "./commands/ListWorkflowExecutionsCommand";
56
64
  import { ListWorkflowStepExecutionsCommandInput, ListWorkflowStepExecutionsCommandOutput } from "./commands/ListWorkflowStepExecutionsCommand";
@@ -59,22 +67,24 @@ import { PutContainerRecipePolicyCommandInput, PutContainerRecipePolicyCommandOu
59
67
  import { PutImagePolicyCommandInput, PutImagePolicyCommandOutput } from "./commands/PutImagePolicyCommand";
60
68
  import { PutImageRecipePolicyCommandInput, PutImageRecipePolicyCommandOutput } from "./commands/PutImageRecipePolicyCommand";
61
69
  import { StartImagePipelineExecutionCommandInput, StartImagePipelineExecutionCommandOutput } from "./commands/StartImagePipelineExecutionCommand";
70
+ import { StartResourceStateUpdateCommandInput, StartResourceStateUpdateCommandOutput } from "./commands/StartResourceStateUpdateCommand";
62
71
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
63
72
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
64
73
  import { UpdateDistributionConfigurationCommandInput, UpdateDistributionConfigurationCommandOutput } from "./commands/UpdateDistributionConfigurationCommand";
65
74
  import { UpdateImagePipelineCommandInput, UpdateImagePipelineCommandOutput } from "./commands/UpdateImagePipelineCommand";
66
75
  import { UpdateInfrastructureConfigurationCommandInput, UpdateInfrastructureConfigurationCommandOutput } from "./commands/UpdateInfrastructureConfigurationCommand";
76
+ import { UpdateLifecyclePolicyCommandInput, UpdateLifecyclePolicyCommandOutput } from "./commands/UpdateLifecyclePolicyCommand";
67
77
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
68
78
  import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
69
79
  export { __Client };
70
80
  /**
71
81
  * @public
72
82
  */
73
- export type ServiceInputTypes = CancelImageCreationCommandInput | CreateComponentCommandInput | CreateContainerRecipeCommandInput | CreateDistributionConfigurationCommandInput | CreateImageCommandInput | CreateImagePipelineCommandInput | CreateImageRecipeCommandInput | CreateInfrastructureConfigurationCommandInput | DeleteComponentCommandInput | DeleteContainerRecipeCommandInput | DeleteDistributionConfigurationCommandInput | DeleteImageCommandInput | DeleteImagePipelineCommandInput | DeleteImageRecipeCommandInput | DeleteInfrastructureConfigurationCommandInput | GetComponentCommandInput | GetComponentPolicyCommandInput | GetContainerRecipeCommandInput | GetContainerRecipePolicyCommandInput | GetDistributionConfigurationCommandInput | GetImageCommandInput | GetImagePipelineCommandInput | GetImagePolicyCommandInput | GetImageRecipeCommandInput | GetImageRecipePolicyCommandInput | GetInfrastructureConfigurationCommandInput | GetWorkflowExecutionCommandInput | GetWorkflowStepExecutionCommandInput | ImportComponentCommandInput | ImportVmImageCommandInput | ListComponentBuildVersionsCommandInput | ListComponentsCommandInput | ListContainerRecipesCommandInput | ListDistributionConfigurationsCommandInput | ListImageBuildVersionsCommandInput | ListImagePackagesCommandInput | ListImagePipelineImagesCommandInput | ListImagePipelinesCommandInput | ListImageRecipesCommandInput | ListImageScanFindingAggregationsCommandInput | ListImageScanFindingsCommandInput | ListImagesCommandInput | ListInfrastructureConfigurationsCommandInput | ListTagsForResourceCommandInput | ListWorkflowExecutionsCommandInput | ListWorkflowStepExecutionsCommandInput | PutComponentPolicyCommandInput | PutContainerRecipePolicyCommandInput | PutImagePolicyCommandInput | PutImageRecipePolicyCommandInput | StartImagePipelineExecutionCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDistributionConfigurationCommandInput | UpdateImagePipelineCommandInput | UpdateInfrastructureConfigurationCommandInput;
83
+ export type ServiceInputTypes = CancelImageCreationCommandInput | CancelLifecycleExecutionCommandInput | CreateComponentCommandInput | CreateContainerRecipeCommandInput | CreateDistributionConfigurationCommandInput | CreateImageCommandInput | CreateImagePipelineCommandInput | CreateImageRecipeCommandInput | CreateInfrastructureConfigurationCommandInput | CreateLifecyclePolicyCommandInput | DeleteComponentCommandInput | DeleteContainerRecipeCommandInput | DeleteDistributionConfigurationCommandInput | DeleteImageCommandInput | DeleteImagePipelineCommandInput | DeleteImageRecipeCommandInput | DeleteInfrastructureConfigurationCommandInput | DeleteLifecyclePolicyCommandInput | GetComponentCommandInput | GetComponentPolicyCommandInput | GetContainerRecipeCommandInput | GetContainerRecipePolicyCommandInput | GetDistributionConfigurationCommandInput | GetImageCommandInput | GetImagePipelineCommandInput | GetImagePolicyCommandInput | GetImageRecipeCommandInput | GetImageRecipePolicyCommandInput | GetInfrastructureConfigurationCommandInput | GetLifecycleExecutionCommandInput | GetLifecyclePolicyCommandInput | GetWorkflowExecutionCommandInput | GetWorkflowStepExecutionCommandInput | ImportComponentCommandInput | ImportVmImageCommandInput | ListComponentBuildVersionsCommandInput | ListComponentsCommandInput | ListContainerRecipesCommandInput | ListDistributionConfigurationsCommandInput | ListImageBuildVersionsCommandInput | ListImagePackagesCommandInput | ListImagePipelineImagesCommandInput | ListImagePipelinesCommandInput | ListImageRecipesCommandInput | ListImageScanFindingAggregationsCommandInput | ListImageScanFindingsCommandInput | ListImagesCommandInput | ListInfrastructureConfigurationsCommandInput | ListLifecycleExecutionResourcesCommandInput | ListLifecycleExecutionsCommandInput | ListLifecyclePoliciesCommandInput | ListTagsForResourceCommandInput | ListWorkflowExecutionsCommandInput | ListWorkflowStepExecutionsCommandInput | PutComponentPolicyCommandInput | PutContainerRecipePolicyCommandInput | PutImagePolicyCommandInput | PutImageRecipePolicyCommandInput | StartImagePipelineExecutionCommandInput | StartResourceStateUpdateCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDistributionConfigurationCommandInput | UpdateImagePipelineCommandInput | UpdateInfrastructureConfigurationCommandInput | UpdateLifecyclePolicyCommandInput;
74
84
  /**
75
85
  * @public
76
86
  */
77
- export type ServiceOutputTypes = CancelImageCreationCommandOutput | CreateComponentCommandOutput | CreateContainerRecipeCommandOutput | CreateDistributionConfigurationCommandOutput | CreateImageCommandOutput | CreateImagePipelineCommandOutput | CreateImageRecipeCommandOutput | CreateInfrastructureConfigurationCommandOutput | DeleteComponentCommandOutput | DeleteContainerRecipeCommandOutput | DeleteDistributionConfigurationCommandOutput | DeleteImageCommandOutput | DeleteImagePipelineCommandOutput | DeleteImageRecipeCommandOutput | DeleteInfrastructureConfigurationCommandOutput | GetComponentCommandOutput | GetComponentPolicyCommandOutput | GetContainerRecipeCommandOutput | GetContainerRecipePolicyCommandOutput | GetDistributionConfigurationCommandOutput | GetImageCommandOutput | GetImagePipelineCommandOutput | GetImagePolicyCommandOutput | GetImageRecipeCommandOutput | GetImageRecipePolicyCommandOutput | GetInfrastructureConfigurationCommandOutput | GetWorkflowExecutionCommandOutput | GetWorkflowStepExecutionCommandOutput | ImportComponentCommandOutput | ImportVmImageCommandOutput | ListComponentBuildVersionsCommandOutput | ListComponentsCommandOutput | ListContainerRecipesCommandOutput | ListDistributionConfigurationsCommandOutput | ListImageBuildVersionsCommandOutput | ListImagePackagesCommandOutput | ListImagePipelineImagesCommandOutput | ListImagePipelinesCommandOutput | ListImageRecipesCommandOutput | ListImageScanFindingAggregationsCommandOutput | ListImageScanFindingsCommandOutput | ListImagesCommandOutput | ListInfrastructureConfigurationsCommandOutput | ListTagsForResourceCommandOutput | ListWorkflowExecutionsCommandOutput | ListWorkflowStepExecutionsCommandOutput | PutComponentPolicyCommandOutput | PutContainerRecipePolicyCommandOutput | PutImagePolicyCommandOutput | PutImageRecipePolicyCommandOutput | StartImagePipelineExecutionCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDistributionConfigurationCommandOutput | UpdateImagePipelineCommandOutput | UpdateInfrastructureConfigurationCommandOutput;
87
+ export type ServiceOutputTypes = CancelImageCreationCommandOutput | CancelLifecycleExecutionCommandOutput | CreateComponentCommandOutput | CreateContainerRecipeCommandOutput | CreateDistributionConfigurationCommandOutput | CreateImageCommandOutput | CreateImagePipelineCommandOutput | CreateImageRecipeCommandOutput | CreateInfrastructureConfigurationCommandOutput | CreateLifecyclePolicyCommandOutput | DeleteComponentCommandOutput | DeleteContainerRecipeCommandOutput | DeleteDistributionConfigurationCommandOutput | DeleteImageCommandOutput | DeleteImagePipelineCommandOutput | DeleteImageRecipeCommandOutput | DeleteInfrastructureConfigurationCommandOutput | DeleteLifecyclePolicyCommandOutput | GetComponentCommandOutput | GetComponentPolicyCommandOutput | GetContainerRecipeCommandOutput | GetContainerRecipePolicyCommandOutput | GetDistributionConfigurationCommandOutput | GetImageCommandOutput | GetImagePipelineCommandOutput | GetImagePolicyCommandOutput | GetImageRecipeCommandOutput | GetImageRecipePolicyCommandOutput | GetInfrastructureConfigurationCommandOutput | GetLifecycleExecutionCommandOutput | GetLifecyclePolicyCommandOutput | GetWorkflowExecutionCommandOutput | GetWorkflowStepExecutionCommandOutput | ImportComponentCommandOutput | ImportVmImageCommandOutput | ListComponentBuildVersionsCommandOutput | ListComponentsCommandOutput | ListContainerRecipesCommandOutput | ListDistributionConfigurationsCommandOutput | ListImageBuildVersionsCommandOutput | ListImagePackagesCommandOutput | ListImagePipelineImagesCommandOutput | ListImagePipelinesCommandOutput | ListImageRecipesCommandOutput | ListImageScanFindingAggregationsCommandOutput | ListImageScanFindingsCommandOutput | ListImagesCommandOutput | ListInfrastructureConfigurationsCommandOutput | ListLifecycleExecutionResourcesCommandOutput | ListLifecycleExecutionsCommandOutput | ListLifecyclePoliciesCommandOutput | ListTagsForResourceCommandOutput | ListWorkflowExecutionsCommandOutput | ListWorkflowStepExecutionsCommandOutput | PutComponentPolicyCommandOutput | PutContainerRecipePolicyCommandOutput | PutImagePolicyCommandOutput | PutImageRecipePolicyCommandOutput | StartImagePipelineExecutionCommandOutput | StartResourceStateUpdateCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDistributionConfigurationCommandOutput | UpdateImagePipelineCommandOutput | UpdateInfrastructureConfigurationCommandOutput | UpdateLifecyclePolicyCommandOutput;
78
88
  /**
79
89
  * @public
80
90
  */
@@ -0,0 +1,103 @@
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 { CancelLifecycleExecutionRequest, CancelLifecycleExecutionResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CancelLifecycleExecutionCommand}.
14
+ */
15
+ export interface CancelLifecycleExecutionCommandInput extends CancelLifecycleExecutionRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CancelLifecycleExecutionCommand}.
21
+ */
22
+ export interface CancelLifecycleExecutionCommandOutput extends CancelLifecycleExecutionResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Cancel a specific image lifecycle policy runtime instance.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { ImagebuilderClient, CancelLifecycleExecutionCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
31
+ * // const { ImagebuilderClient, CancelLifecycleExecutionCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
32
+ * const client = new ImagebuilderClient(config);
33
+ * const input = { // CancelLifecycleExecutionRequest
34
+ * lifecycleExecutionId: "STRING_VALUE", // required
35
+ * clientToken: "STRING_VALUE", // required
36
+ * };
37
+ * const command = new CancelLifecycleExecutionCommand(input);
38
+ * const response = await client.send(command);
39
+ * // { // CancelLifecycleExecutionResponse
40
+ * // lifecycleExecutionId: "STRING_VALUE",
41
+ * // };
42
+ *
43
+ * ```
44
+ *
45
+ * @param CancelLifecycleExecutionCommandInput - {@link CancelLifecycleExecutionCommandInput}
46
+ * @returns {@link CancelLifecycleExecutionCommandOutput}
47
+ * @see {@link CancelLifecycleExecutionCommandInput} for command's `input` shape.
48
+ * @see {@link CancelLifecycleExecutionCommandOutput} for command's `response` shape.
49
+ * @see {@link ImagebuilderClientResolvedConfig | config} for ImagebuilderClient's `config` shape.
50
+ *
51
+ * @throws {@link CallRateLimitExceededException} (client fault)
52
+ * <p>You have exceeded the permitted request rate for the specific operation.</p>
53
+ *
54
+ * @throws {@link ClientException} (client fault)
55
+ * <p>These errors are usually caused by a client action, such as using an action or
56
+ * resource on behalf of a user that doesn't have permissions to use the action or
57
+ * resource, or specifying an invalid resource identifier.</p>
58
+ *
59
+ * @throws {@link ForbiddenException} (client fault)
60
+ * <p>You are not authorized to perform the requested operation.</p>
61
+ *
62
+ * @throws {@link IdempotentParameterMismatchException} (client fault)
63
+ * <p>You have specified a client token for an operation using parameter values that differ
64
+ * from a previous request that used the same client token.</p>
65
+ *
66
+ * @throws {@link InvalidRequestException} (client fault)
67
+ * <p>You have requested an action that that the service doesn't support.</p>
68
+ *
69
+ * @throws {@link ResourceInUseException} (client fault)
70
+ * <p>The resource that you are trying to operate on is currently in use. Review the message
71
+ * details and retry later.</p>
72
+ *
73
+ * @throws {@link ServiceException} (server fault)
74
+ * <p>This exception is thrown when the service encounters an unrecoverable
75
+ * exception.</p>
76
+ *
77
+ * @throws {@link ServiceUnavailableException} (server fault)
78
+ * <p>The service is unable to process your request at this time.</p>
79
+ *
80
+ * @throws {@link ImagebuilderServiceException}
81
+ * <p>Base exception class for all service exceptions from Imagebuilder service.</p>
82
+ *
83
+ */
84
+ export declare class CancelLifecycleExecutionCommand extends $Command<CancelLifecycleExecutionCommandInput, CancelLifecycleExecutionCommandOutput, ImagebuilderClientResolvedConfig> {
85
+ readonly input: CancelLifecycleExecutionCommandInput;
86
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
87
+ /**
88
+ * @public
89
+ */
90
+ constructor(input: CancelLifecycleExecutionCommandInput);
91
+ /**
92
+ * @internal
93
+ */
94
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CancelLifecycleExecutionCommandInput, CancelLifecycleExecutionCommandOutput>;
95
+ /**
96
+ * @internal
97
+ */
98
+ private serialize;
99
+ /**
100
+ * @internal
101
+ */
102
+ private deserialize;
103
+ }
@@ -0,0 +1,165 @@
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 { CreateLifecyclePolicyRequest, CreateLifecyclePolicyResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateLifecyclePolicyCommand}.
14
+ */
15
+ export interface CreateLifecyclePolicyCommandInput extends CreateLifecyclePolicyRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateLifecyclePolicyCommand}.
21
+ */
22
+ export interface CreateLifecyclePolicyCommandOutput extends CreateLifecyclePolicyResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Create a lifecycle policy 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, CreateLifecyclePolicyCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
31
+ * // const { ImagebuilderClient, CreateLifecyclePolicyCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
32
+ * const client = new ImagebuilderClient(config);
33
+ * const input = { // CreateLifecyclePolicyRequest
34
+ * name: "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
+ * tags: "<TagMap>",
88
+ * clientToken: "STRING_VALUE", // required
89
+ * };
90
+ * const command = new CreateLifecyclePolicyCommand(input);
91
+ * const response = await client.send(command);
92
+ * // { // CreateLifecyclePolicyResponse
93
+ * // clientToken: "STRING_VALUE",
94
+ * // lifecyclePolicyArn: "STRING_VALUE",
95
+ * // };
96
+ *
97
+ * ```
98
+ *
99
+ * @param CreateLifecyclePolicyCommandInput - {@link CreateLifecyclePolicyCommandInput}
100
+ * @returns {@link CreateLifecyclePolicyCommandOutput}
101
+ * @see {@link CreateLifecyclePolicyCommandInput} for command's `input` shape.
102
+ * @see {@link CreateLifecyclePolicyCommandOutput} for command's `response` shape.
103
+ * @see {@link ImagebuilderClientResolvedConfig | config} for ImagebuilderClient's `config` shape.
104
+ *
105
+ * @throws {@link CallRateLimitExceededException} (client fault)
106
+ * <p>You have exceeded the permitted request rate for the specific operation.</p>
107
+ *
108
+ * @throws {@link ClientException} (client fault)
109
+ * <p>These errors are usually caused by a client action, such as using an action or
110
+ * resource on behalf of a user that doesn't have permissions to use the action or
111
+ * resource, or specifying an invalid resource identifier.</p>
112
+ *
113
+ * @throws {@link ForbiddenException} (client fault)
114
+ * <p>You are not authorized to perform the requested operation.</p>
115
+ *
116
+ * @throws {@link IdempotentParameterMismatchException} (client fault)
117
+ * <p>You have specified a client token for an operation using parameter values that differ
118
+ * from a previous request that used the same client token.</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 ResourceAlreadyExistsException} (client fault)
124
+ * <p>The resource that you are trying to create already exists.</p>
125
+ *
126
+ * @throws {@link ResourceInUseException} (client fault)
127
+ * <p>The resource that you are trying to operate on is currently in use. Review the message
128
+ * details and retry later.</p>
129
+ *
130
+ * @throws {@link ServiceException} (server fault)
131
+ * <p>This exception is thrown when the service encounters an unrecoverable
132
+ * exception.</p>
133
+ *
134
+ * @throws {@link ServiceQuotaExceededException} (client fault)
135
+ * <p>You have exceeded the number of permitted resources or operations for this service.
136
+ * For service quotas, see <a href="https://docs.aws.amazon.com/general/latest/gr/imagebuilder.html#limits_imagebuilder">EC2 Image Builder endpoints and
137
+ * quotas</a>.</p>
138
+ *
139
+ * @throws {@link ServiceUnavailableException} (server fault)
140
+ * <p>The service is unable to process your request at this time.</p>
141
+ *
142
+ * @throws {@link ImagebuilderServiceException}
143
+ * <p>Base exception class for all service exceptions from Imagebuilder service.</p>
144
+ *
145
+ */
146
+ export declare class CreateLifecyclePolicyCommand extends $Command<CreateLifecyclePolicyCommandInput, CreateLifecyclePolicyCommandOutput, ImagebuilderClientResolvedConfig> {
147
+ readonly input: CreateLifecyclePolicyCommandInput;
148
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
149
+ /**
150
+ * @public
151
+ */
152
+ constructor(input: CreateLifecyclePolicyCommandInput);
153
+ /**
154
+ * @internal
155
+ */
156
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateLifecyclePolicyCommandInput, CreateLifecyclePolicyCommandOutput>;
157
+ /**
158
+ * @internal
159
+ */
160
+ private serialize;
161
+ /**
162
+ * @internal
163
+ */
164
+ private deserialize;
165
+ }
@@ -0,0 +1,98 @@
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 { DeleteLifecyclePolicyRequest, DeleteLifecyclePolicyResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteLifecyclePolicyCommand}.
14
+ */
15
+ export interface DeleteLifecyclePolicyCommandInput extends DeleteLifecyclePolicyRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteLifecyclePolicyCommand}.
21
+ */
22
+ export interface DeleteLifecyclePolicyCommandOutput extends DeleteLifecyclePolicyResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Delete the specified lifecycle policy 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, DeleteLifecyclePolicyCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
31
+ * // const { ImagebuilderClient, DeleteLifecyclePolicyCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
32
+ * const client = new ImagebuilderClient(config);
33
+ * const input = { // DeleteLifecyclePolicyRequest
34
+ * lifecyclePolicyArn: "STRING_VALUE", // required
35
+ * };
36
+ * const command = new DeleteLifecyclePolicyCommand(input);
37
+ * const response = await client.send(command);
38
+ * // { // DeleteLifecyclePolicyResponse
39
+ * // lifecyclePolicyArn: "STRING_VALUE",
40
+ * // };
41
+ *
42
+ * ```
43
+ *
44
+ * @param DeleteLifecyclePolicyCommandInput - {@link DeleteLifecyclePolicyCommandInput}
45
+ * @returns {@link DeleteLifecyclePolicyCommandOutput}
46
+ * @see {@link DeleteLifecyclePolicyCommandInput} for command's `input` shape.
47
+ * @see {@link DeleteLifecyclePolicyCommandOutput} for command's `response` shape.
48
+ * @see {@link ImagebuilderClientResolvedConfig | config} for ImagebuilderClient's `config` shape.
49
+ *
50
+ * @throws {@link CallRateLimitExceededException} (client fault)
51
+ * <p>You have exceeded the permitted request rate for the specific operation.</p>
52
+ *
53
+ * @throws {@link ClientException} (client fault)
54
+ * <p>These errors are usually caused by a client action, such as using an action or
55
+ * resource on behalf of a user that doesn't have permissions to use the action or
56
+ * resource, or specifying an invalid resource identifier.</p>
57
+ *
58
+ * @throws {@link ForbiddenException} (client fault)
59
+ * <p>You are not authorized to perform the requested operation.</p>
60
+ *
61
+ * @throws {@link InvalidRequestException} (client fault)
62
+ * <p>You have requested an action that that the service doesn't support.</p>
63
+ *
64
+ * @throws {@link ResourceDependencyException} (client fault)
65
+ * <p>You have attempted to mutate or delete a resource with a dependency that prohibits
66
+ * this action. See the error message for more details.</p>
67
+ *
68
+ * @throws {@link ServiceException} (server fault)
69
+ * <p>This exception is thrown when the service encounters an unrecoverable
70
+ * exception.</p>
71
+ *
72
+ * @throws {@link ServiceUnavailableException} (server fault)
73
+ * <p>The service is unable to process your request at this time.</p>
74
+ *
75
+ * @throws {@link ImagebuilderServiceException}
76
+ * <p>Base exception class for all service exceptions from Imagebuilder service.</p>
77
+ *
78
+ */
79
+ export declare class DeleteLifecyclePolicyCommand extends $Command<DeleteLifecyclePolicyCommandInput, DeleteLifecyclePolicyCommandOutput, ImagebuilderClientResolvedConfig> {
80
+ readonly input: DeleteLifecyclePolicyCommandInput;
81
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
82
+ /**
83
+ * @public
84
+ */
85
+ constructor(input: DeleteLifecyclePolicyCommandInput);
86
+ /**
87
+ * @internal
88
+ */
89
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteLifecyclePolicyCommandInput, DeleteLifecyclePolicyCommandOutput>;
90
+ /**
91
+ * @internal
92
+ */
93
+ private serialize;
94
+ /**
95
+ * @internal
96
+ */
97
+ private deserialize;
98
+ }