@aws-sdk/client-imagebuilder 3.450.0 → 3.453.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +80 -0
- package/dist-cjs/Imagebuilder.js +20 -0
- package/dist-cjs/commands/CancelLifecycleExecutionCommand.js +51 -0
- package/dist-cjs/commands/CreateLifecyclePolicyCommand.js +51 -0
- package/dist-cjs/commands/DeleteLifecyclePolicyCommand.js +51 -0
- package/dist-cjs/commands/GetLifecycleExecutionCommand.js +51 -0
- package/dist-cjs/commands/GetLifecyclePolicyCommand.js +51 -0
- package/dist-cjs/commands/ListLifecycleExecutionResourcesCommand.js +51 -0
- package/dist-cjs/commands/ListLifecycleExecutionsCommand.js +51 -0
- package/dist-cjs/commands/ListLifecyclePoliciesCommand.js +51 -0
- package/dist-cjs/commands/StartResourceStateUpdateCommand.js +51 -0
- package/dist-cjs/commands/UpdateLifecyclePolicyCommand.js +51 -0
- package/dist-cjs/commands/index.js +10 -0
- package/dist-cjs/models/models_0.js +50 -1
- package/dist-cjs/pagination/ListLifecycleExecutionResourcesPaginator.js +29 -0
- package/dist-cjs/pagination/ListLifecycleExecutionsPaginator.js +29 -0
- package/dist-cjs/pagination/ListLifecyclePoliciesPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +3 -0
- package/dist-cjs/protocols/Aws_restJson1.js +907 -15
- package/dist-es/Imagebuilder.js +20 -0
- package/dist-es/commands/CancelLifecycleExecutionCommand.js +47 -0
- package/dist-es/commands/CreateLifecyclePolicyCommand.js +47 -0
- package/dist-es/commands/DeleteLifecyclePolicyCommand.js +47 -0
- package/dist-es/commands/GetLifecycleExecutionCommand.js +47 -0
- package/dist-es/commands/GetLifecyclePolicyCommand.js +47 -0
- package/dist-es/commands/ListLifecycleExecutionResourcesCommand.js +47 -0
- package/dist-es/commands/ListLifecycleExecutionsCommand.js +47 -0
- package/dist-es/commands/ListLifecyclePoliciesCommand.js +47 -0
- package/dist-es/commands/StartResourceStateUpdateCommand.js +47 -0
- package/dist-es/commands/UpdateLifecyclePolicyCommand.js +47 -0
- package/dist-es/commands/index.js +10 -0
- package/dist-es/models/models_0.js +49 -0
- package/dist-es/pagination/ListLifecycleExecutionResourcesPaginator.js +25 -0
- package/dist-es/pagination/ListLifecycleExecutionsPaginator.js +25 -0
- package/dist-es/pagination/ListLifecyclePoliciesPaginator.js +25 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +885 -13
- package/dist-types/Imagebuilder.d.ts +70 -0
- package/dist-types/ImagebuilderClient.d.ts +12 -2
- package/dist-types/commands/CancelLifecycleExecutionCommand.d.ts +103 -0
- package/dist-types/commands/CreateLifecyclePolicyCommand.d.ts +165 -0
- package/dist-types/commands/DeleteLifecyclePolicyCommand.d.ts +98 -0
- package/dist-types/commands/GetImageCommand.d.ts +4 -2
- package/dist-types/commands/GetLifecycleExecutionCommand.d.ts +106 -0
- package/dist-types/commands/GetLifecyclePolicyCommand.d.ts +153 -0
- package/dist-types/commands/ListImageBuildVersionsCommand.d.ts +4 -2
- package/dist-types/commands/ListImagePipelineImagesCommand.d.ts +4 -2
- package/dist-types/commands/ListLifecycleExecutionResourcesCommand.d.ts +132 -0
- package/dist-types/commands/ListLifecycleExecutionsCommand.d.ts +114 -0
- package/dist-types/commands/ListLifecyclePoliciesCommand.d.ts +122 -0
- package/dist-types/commands/StartResourceStateUpdateCommand.d.ts +136 -0
- package/dist-types/commands/UpdateLifecyclePolicyCommand.d.ts +159 -0
- package/dist-types/commands/index.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +1224 -114
- package/dist-types/pagination/ListLifecycleExecutionResourcesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListLifecycleExecutionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListLifecyclePoliciesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +90 -0
- package/dist-types/ts3.4/Imagebuilder.d.ts +170 -0
- package/dist-types/ts3.4/ImagebuilderClient.d.ts +62 -2
- package/dist-types/ts3.4/commands/CancelLifecycleExecutionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateLifecyclePolicyCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteLifecyclePolicyCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetLifecycleExecutionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetLifecyclePolicyCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListLifecycleExecutionResourcesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListLifecycleExecutionsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListLifecyclePoliciesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartResourceStateUpdateCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateLifecyclePolicyCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +10 -0
- package/dist-types/ts3.4/models/models_0.d.ts +283 -0
- package/dist-types/ts3.4/pagination/ListLifecycleExecutionResourcesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListLifecycleExecutionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListLifecyclePoliciesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +120 -0
- package/package.json +35 -35
package/README.md
CHANGED
|
@@ -213,6 +213,14 @@ CancelImageCreation
|
|
|
213
213
|
|
|
214
214
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-imagebuilder/classes/cancelimagecreationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-imagebuilder/interfaces/cancelimagecreationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-imagebuilder/interfaces/cancelimagecreationcommandoutput.html)
|
|
215
215
|
|
|
216
|
+
</details>
|
|
217
|
+
<details>
|
|
218
|
+
<summary>
|
|
219
|
+
CancelLifecycleExecution
|
|
220
|
+
</summary>
|
|
221
|
+
|
|
222
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-imagebuilder/classes/cancellifecycleexecutioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-imagebuilder/interfaces/cancellifecycleexecutioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-imagebuilder/interfaces/cancellifecycleexecutioncommandoutput.html)
|
|
223
|
+
|
|
216
224
|
</details>
|
|
217
225
|
<details>
|
|
218
226
|
<summary>
|
|
@@ -269,6 +277,14 @@ CreateInfrastructureConfiguration
|
|
|
269
277
|
|
|
270
278
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-imagebuilder/classes/createinfrastructureconfigurationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-imagebuilder/interfaces/createinfrastructureconfigurationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-imagebuilder/interfaces/createinfrastructureconfigurationcommandoutput.html)
|
|
271
279
|
|
|
280
|
+
</details>
|
|
281
|
+
<details>
|
|
282
|
+
<summary>
|
|
283
|
+
CreateLifecyclePolicy
|
|
284
|
+
</summary>
|
|
285
|
+
|
|
286
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-imagebuilder/classes/createlifecyclepolicycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-imagebuilder/interfaces/createlifecyclepolicycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-imagebuilder/interfaces/createlifecyclepolicycommandoutput.html)
|
|
287
|
+
|
|
272
288
|
</details>
|
|
273
289
|
<details>
|
|
274
290
|
<summary>
|
|
@@ -325,6 +341,14 @@ DeleteInfrastructureConfiguration
|
|
|
325
341
|
|
|
326
342
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-imagebuilder/classes/deleteinfrastructureconfigurationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-imagebuilder/interfaces/deleteinfrastructureconfigurationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-imagebuilder/interfaces/deleteinfrastructureconfigurationcommandoutput.html)
|
|
327
343
|
|
|
344
|
+
</details>
|
|
345
|
+
<details>
|
|
346
|
+
<summary>
|
|
347
|
+
DeleteLifecyclePolicy
|
|
348
|
+
</summary>
|
|
349
|
+
|
|
350
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-imagebuilder/classes/deletelifecyclepolicycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-imagebuilder/interfaces/deletelifecyclepolicycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-imagebuilder/interfaces/deletelifecyclepolicycommandoutput.html)
|
|
351
|
+
|
|
328
352
|
</details>
|
|
329
353
|
<details>
|
|
330
354
|
<summary>
|
|
@@ -413,6 +437,22 @@ GetInfrastructureConfiguration
|
|
|
413
437
|
|
|
414
438
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-imagebuilder/classes/getinfrastructureconfigurationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-imagebuilder/interfaces/getinfrastructureconfigurationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-imagebuilder/interfaces/getinfrastructureconfigurationcommandoutput.html)
|
|
415
439
|
|
|
440
|
+
</details>
|
|
441
|
+
<details>
|
|
442
|
+
<summary>
|
|
443
|
+
GetLifecycleExecution
|
|
444
|
+
</summary>
|
|
445
|
+
|
|
446
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-imagebuilder/classes/getlifecycleexecutioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-imagebuilder/interfaces/getlifecycleexecutioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-imagebuilder/interfaces/getlifecycleexecutioncommandoutput.html)
|
|
447
|
+
|
|
448
|
+
</details>
|
|
449
|
+
<details>
|
|
450
|
+
<summary>
|
|
451
|
+
GetLifecyclePolicy
|
|
452
|
+
</summary>
|
|
453
|
+
|
|
454
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-imagebuilder/classes/getlifecyclepolicycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-imagebuilder/interfaces/getlifecyclepolicycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-imagebuilder/interfaces/getlifecyclepolicycommandoutput.html)
|
|
455
|
+
|
|
416
456
|
</details>
|
|
417
457
|
<details>
|
|
418
458
|
<summary>
|
|
@@ -549,6 +589,30 @@ ListInfrastructureConfigurations
|
|
|
549
589
|
|
|
550
590
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-imagebuilder/classes/listinfrastructureconfigurationscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-imagebuilder/interfaces/listinfrastructureconfigurationscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-imagebuilder/interfaces/listinfrastructureconfigurationscommandoutput.html)
|
|
551
591
|
|
|
592
|
+
</details>
|
|
593
|
+
<details>
|
|
594
|
+
<summary>
|
|
595
|
+
ListLifecycleExecutionResources
|
|
596
|
+
</summary>
|
|
597
|
+
|
|
598
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-imagebuilder/classes/listlifecycleexecutionresourcescommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-imagebuilder/interfaces/listlifecycleexecutionresourcescommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-imagebuilder/interfaces/listlifecycleexecutionresourcescommandoutput.html)
|
|
599
|
+
|
|
600
|
+
</details>
|
|
601
|
+
<details>
|
|
602
|
+
<summary>
|
|
603
|
+
ListLifecycleExecutions
|
|
604
|
+
</summary>
|
|
605
|
+
|
|
606
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-imagebuilder/classes/listlifecycleexecutionscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-imagebuilder/interfaces/listlifecycleexecutionscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-imagebuilder/interfaces/listlifecycleexecutionscommandoutput.html)
|
|
607
|
+
|
|
608
|
+
</details>
|
|
609
|
+
<details>
|
|
610
|
+
<summary>
|
|
611
|
+
ListLifecyclePolicies
|
|
612
|
+
</summary>
|
|
613
|
+
|
|
614
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-imagebuilder/classes/listlifecyclepoliciescommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-imagebuilder/interfaces/listlifecyclepoliciescommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-imagebuilder/interfaces/listlifecyclepoliciescommandoutput.html)
|
|
615
|
+
|
|
552
616
|
</details>
|
|
553
617
|
<details>
|
|
554
618
|
<summary>
|
|
@@ -613,6 +677,14 @@ StartImagePipelineExecution
|
|
|
613
677
|
|
|
614
678
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-imagebuilder/classes/startimagepipelineexecutioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-imagebuilder/interfaces/startimagepipelineexecutioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-imagebuilder/interfaces/startimagepipelineexecutioncommandoutput.html)
|
|
615
679
|
|
|
680
|
+
</details>
|
|
681
|
+
<details>
|
|
682
|
+
<summary>
|
|
683
|
+
StartResourceStateUpdate
|
|
684
|
+
</summary>
|
|
685
|
+
|
|
686
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-imagebuilder/classes/startresourcestateupdatecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-imagebuilder/interfaces/startresourcestateupdatecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-imagebuilder/interfaces/startresourcestateupdatecommandoutput.html)
|
|
687
|
+
|
|
616
688
|
</details>
|
|
617
689
|
<details>
|
|
618
690
|
<summary>
|
|
@@ -654,3 +726,11 @@ UpdateInfrastructureConfiguration
|
|
|
654
726
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-imagebuilder/classes/updateinfrastructureconfigurationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-imagebuilder/interfaces/updateinfrastructureconfigurationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-imagebuilder/interfaces/updateinfrastructureconfigurationcommandoutput.html)
|
|
655
727
|
|
|
656
728
|
</details>
|
|
729
|
+
<details>
|
|
730
|
+
<summary>
|
|
731
|
+
UpdateLifecyclePolicy
|
|
732
|
+
</summary>
|
|
733
|
+
|
|
734
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-imagebuilder/classes/updatelifecyclepolicycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-imagebuilder/interfaces/updatelifecyclepolicycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-imagebuilder/interfaces/updatelifecyclepolicycommandoutput.html)
|
|
735
|
+
|
|
736
|
+
</details>
|
package/dist-cjs/Imagebuilder.js
CHANGED
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.Imagebuilder = void 0;
|
|
4
4
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
5
|
const CancelImageCreationCommand_1 = require("./commands/CancelImageCreationCommand");
|
|
6
|
+
const CancelLifecycleExecutionCommand_1 = require("./commands/CancelLifecycleExecutionCommand");
|
|
6
7
|
const CreateComponentCommand_1 = require("./commands/CreateComponentCommand");
|
|
7
8
|
const CreateContainerRecipeCommand_1 = require("./commands/CreateContainerRecipeCommand");
|
|
8
9
|
const CreateDistributionConfigurationCommand_1 = require("./commands/CreateDistributionConfigurationCommand");
|
|
@@ -10,6 +11,7 @@ const CreateImageCommand_1 = require("./commands/CreateImageCommand");
|
|
|
10
11
|
const CreateImagePipelineCommand_1 = require("./commands/CreateImagePipelineCommand");
|
|
11
12
|
const CreateImageRecipeCommand_1 = require("./commands/CreateImageRecipeCommand");
|
|
12
13
|
const CreateInfrastructureConfigurationCommand_1 = require("./commands/CreateInfrastructureConfigurationCommand");
|
|
14
|
+
const CreateLifecyclePolicyCommand_1 = require("./commands/CreateLifecyclePolicyCommand");
|
|
13
15
|
const DeleteComponentCommand_1 = require("./commands/DeleteComponentCommand");
|
|
14
16
|
const DeleteContainerRecipeCommand_1 = require("./commands/DeleteContainerRecipeCommand");
|
|
15
17
|
const DeleteDistributionConfigurationCommand_1 = require("./commands/DeleteDistributionConfigurationCommand");
|
|
@@ -17,6 +19,7 @@ const DeleteImageCommand_1 = require("./commands/DeleteImageCommand");
|
|
|
17
19
|
const DeleteImagePipelineCommand_1 = require("./commands/DeleteImagePipelineCommand");
|
|
18
20
|
const DeleteImageRecipeCommand_1 = require("./commands/DeleteImageRecipeCommand");
|
|
19
21
|
const DeleteInfrastructureConfigurationCommand_1 = require("./commands/DeleteInfrastructureConfigurationCommand");
|
|
22
|
+
const DeleteLifecyclePolicyCommand_1 = require("./commands/DeleteLifecyclePolicyCommand");
|
|
20
23
|
const GetComponentCommand_1 = require("./commands/GetComponentCommand");
|
|
21
24
|
const GetComponentPolicyCommand_1 = require("./commands/GetComponentPolicyCommand");
|
|
22
25
|
const GetContainerRecipeCommand_1 = require("./commands/GetContainerRecipeCommand");
|
|
@@ -28,6 +31,8 @@ const GetImagePolicyCommand_1 = require("./commands/GetImagePolicyCommand");
|
|
|
28
31
|
const GetImageRecipeCommand_1 = require("./commands/GetImageRecipeCommand");
|
|
29
32
|
const GetImageRecipePolicyCommand_1 = require("./commands/GetImageRecipePolicyCommand");
|
|
30
33
|
const GetInfrastructureConfigurationCommand_1 = require("./commands/GetInfrastructureConfigurationCommand");
|
|
34
|
+
const GetLifecycleExecutionCommand_1 = require("./commands/GetLifecycleExecutionCommand");
|
|
35
|
+
const GetLifecyclePolicyCommand_1 = require("./commands/GetLifecyclePolicyCommand");
|
|
31
36
|
const GetWorkflowExecutionCommand_1 = require("./commands/GetWorkflowExecutionCommand");
|
|
32
37
|
const GetWorkflowStepExecutionCommand_1 = require("./commands/GetWorkflowStepExecutionCommand");
|
|
33
38
|
const ImportComponentCommand_1 = require("./commands/ImportComponentCommand");
|
|
@@ -45,6 +50,9 @@ const ListImageScanFindingAggregationsCommand_1 = require("./commands/ListImageS
|
|
|
45
50
|
const ListImageScanFindingsCommand_1 = require("./commands/ListImageScanFindingsCommand");
|
|
46
51
|
const ListImagesCommand_1 = require("./commands/ListImagesCommand");
|
|
47
52
|
const ListInfrastructureConfigurationsCommand_1 = require("./commands/ListInfrastructureConfigurationsCommand");
|
|
53
|
+
const ListLifecycleExecutionResourcesCommand_1 = require("./commands/ListLifecycleExecutionResourcesCommand");
|
|
54
|
+
const ListLifecycleExecutionsCommand_1 = require("./commands/ListLifecycleExecutionsCommand");
|
|
55
|
+
const ListLifecyclePoliciesCommand_1 = require("./commands/ListLifecyclePoliciesCommand");
|
|
48
56
|
const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
|
|
49
57
|
const ListWorkflowExecutionsCommand_1 = require("./commands/ListWorkflowExecutionsCommand");
|
|
50
58
|
const ListWorkflowStepExecutionsCommand_1 = require("./commands/ListWorkflowStepExecutionsCommand");
|
|
@@ -53,14 +61,17 @@ const PutContainerRecipePolicyCommand_1 = require("./commands/PutContainerRecipe
|
|
|
53
61
|
const PutImagePolicyCommand_1 = require("./commands/PutImagePolicyCommand");
|
|
54
62
|
const PutImageRecipePolicyCommand_1 = require("./commands/PutImageRecipePolicyCommand");
|
|
55
63
|
const StartImagePipelineExecutionCommand_1 = require("./commands/StartImagePipelineExecutionCommand");
|
|
64
|
+
const StartResourceStateUpdateCommand_1 = require("./commands/StartResourceStateUpdateCommand");
|
|
56
65
|
const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
57
66
|
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
58
67
|
const UpdateDistributionConfigurationCommand_1 = require("./commands/UpdateDistributionConfigurationCommand");
|
|
59
68
|
const UpdateImagePipelineCommand_1 = require("./commands/UpdateImagePipelineCommand");
|
|
60
69
|
const UpdateInfrastructureConfigurationCommand_1 = require("./commands/UpdateInfrastructureConfigurationCommand");
|
|
70
|
+
const UpdateLifecyclePolicyCommand_1 = require("./commands/UpdateLifecyclePolicyCommand");
|
|
61
71
|
const ImagebuilderClient_1 = require("./ImagebuilderClient");
|
|
62
72
|
const commands = {
|
|
63
73
|
CancelImageCreationCommand: CancelImageCreationCommand_1.CancelImageCreationCommand,
|
|
74
|
+
CancelLifecycleExecutionCommand: CancelLifecycleExecutionCommand_1.CancelLifecycleExecutionCommand,
|
|
64
75
|
CreateComponentCommand: CreateComponentCommand_1.CreateComponentCommand,
|
|
65
76
|
CreateContainerRecipeCommand: CreateContainerRecipeCommand_1.CreateContainerRecipeCommand,
|
|
66
77
|
CreateDistributionConfigurationCommand: CreateDistributionConfigurationCommand_1.CreateDistributionConfigurationCommand,
|
|
@@ -68,6 +79,7 @@ const commands = {
|
|
|
68
79
|
CreateImagePipelineCommand: CreateImagePipelineCommand_1.CreateImagePipelineCommand,
|
|
69
80
|
CreateImageRecipeCommand: CreateImageRecipeCommand_1.CreateImageRecipeCommand,
|
|
70
81
|
CreateInfrastructureConfigurationCommand: CreateInfrastructureConfigurationCommand_1.CreateInfrastructureConfigurationCommand,
|
|
82
|
+
CreateLifecyclePolicyCommand: CreateLifecyclePolicyCommand_1.CreateLifecyclePolicyCommand,
|
|
71
83
|
DeleteComponentCommand: DeleteComponentCommand_1.DeleteComponentCommand,
|
|
72
84
|
DeleteContainerRecipeCommand: DeleteContainerRecipeCommand_1.DeleteContainerRecipeCommand,
|
|
73
85
|
DeleteDistributionConfigurationCommand: DeleteDistributionConfigurationCommand_1.DeleteDistributionConfigurationCommand,
|
|
@@ -75,6 +87,7 @@ const commands = {
|
|
|
75
87
|
DeleteImagePipelineCommand: DeleteImagePipelineCommand_1.DeleteImagePipelineCommand,
|
|
76
88
|
DeleteImageRecipeCommand: DeleteImageRecipeCommand_1.DeleteImageRecipeCommand,
|
|
77
89
|
DeleteInfrastructureConfigurationCommand: DeleteInfrastructureConfigurationCommand_1.DeleteInfrastructureConfigurationCommand,
|
|
90
|
+
DeleteLifecyclePolicyCommand: DeleteLifecyclePolicyCommand_1.DeleteLifecyclePolicyCommand,
|
|
78
91
|
GetComponentCommand: GetComponentCommand_1.GetComponentCommand,
|
|
79
92
|
GetComponentPolicyCommand: GetComponentPolicyCommand_1.GetComponentPolicyCommand,
|
|
80
93
|
GetContainerRecipeCommand: GetContainerRecipeCommand_1.GetContainerRecipeCommand,
|
|
@@ -86,6 +99,8 @@ const commands = {
|
|
|
86
99
|
GetImageRecipeCommand: GetImageRecipeCommand_1.GetImageRecipeCommand,
|
|
87
100
|
GetImageRecipePolicyCommand: GetImageRecipePolicyCommand_1.GetImageRecipePolicyCommand,
|
|
88
101
|
GetInfrastructureConfigurationCommand: GetInfrastructureConfigurationCommand_1.GetInfrastructureConfigurationCommand,
|
|
102
|
+
GetLifecycleExecutionCommand: GetLifecycleExecutionCommand_1.GetLifecycleExecutionCommand,
|
|
103
|
+
GetLifecyclePolicyCommand: GetLifecyclePolicyCommand_1.GetLifecyclePolicyCommand,
|
|
89
104
|
GetWorkflowExecutionCommand: GetWorkflowExecutionCommand_1.GetWorkflowExecutionCommand,
|
|
90
105
|
GetWorkflowStepExecutionCommand: GetWorkflowStepExecutionCommand_1.GetWorkflowStepExecutionCommand,
|
|
91
106
|
ImportComponentCommand: ImportComponentCommand_1.ImportComponentCommand,
|
|
@@ -103,6 +118,9 @@ const commands = {
|
|
|
103
118
|
ListImageScanFindingAggregationsCommand: ListImageScanFindingAggregationsCommand_1.ListImageScanFindingAggregationsCommand,
|
|
104
119
|
ListImageScanFindingsCommand: ListImageScanFindingsCommand_1.ListImageScanFindingsCommand,
|
|
105
120
|
ListInfrastructureConfigurationsCommand: ListInfrastructureConfigurationsCommand_1.ListInfrastructureConfigurationsCommand,
|
|
121
|
+
ListLifecycleExecutionResourcesCommand: ListLifecycleExecutionResourcesCommand_1.ListLifecycleExecutionResourcesCommand,
|
|
122
|
+
ListLifecycleExecutionsCommand: ListLifecycleExecutionsCommand_1.ListLifecycleExecutionsCommand,
|
|
123
|
+
ListLifecyclePoliciesCommand: ListLifecyclePoliciesCommand_1.ListLifecyclePoliciesCommand,
|
|
106
124
|
ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
|
|
107
125
|
ListWorkflowExecutionsCommand: ListWorkflowExecutionsCommand_1.ListWorkflowExecutionsCommand,
|
|
108
126
|
ListWorkflowStepExecutionsCommand: ListWorkflowStepExecutionsCommand_1.ListWorkflowStepExecutionsCommand,
|
|
@@ -111,11 +129,13 @@ const commands = {
|
|
|
111
129
|
PutImagePolicyCommand: PutImagePolicyCommand_1.PutImagePolicyCommand,
|
|
112
130
|
PutImageRecipePolicyCommand: PutImageRecipePolicyCommand_1.PutImageRecipePolicyCommand,
|
|
113
131
|
StartImagePipelineExecutionCommand: StartImagePipelineExecutionCommand_1.StartImagePipelineExecutionCommand,
|
|
132
|
+
StartResourceStateUpdateCommand: StartResourceStateUpdateCommand_1.StartResourceStateUpdateCommand,
|
|
114
133
|
TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
|
|
115
134
|
UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
|
|
116
135
|
UpdateDistributionConfigurationCommand: UpdateDistributionConfigurationCommand_1.UpdateDistributionConfigurationCommand,
|
|
117
136
|
UpdateImagePipelineCommand: UpdateImagePipelineCommand_1.UpdateImagePipelineCommand,
|
|
118
137
|
UpdateInfrastructureConfigurationCommand: UpdateInfrastructureConfigurationCommand_1.UpdateInfrastructureConfigurationCommand,
|
|
138
|
+
UpdateLifecyclePolicyCommand: UpdateLifecyclePolicyCommand_1.UpdateLifecyclePolicyCommand,
|
|
119
139
|
};
|
|
120
140
|
class Imagebuilder extends ImagebuilderClient_1.ImagebuilderClient {
|
|
121
141
|
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CancelLifecycleExecutionCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class CancelLifecycleExecutionCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CancelLifecycleExecutionCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "ImagebuilderClient";
|
|
29
|
+
const commandName = "CancelLifecycleExecutionCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "imagebuilder",
|
|
38
|
+
operation: "CancelLifecycleExecution",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_CancelLifecycleExecutionCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_CancelLifecycleExecutionCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.CancelLifecycleExecutionCommand = CancelLifecycleExecutionCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateLifecyclePolicyCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class CreateLifecyclePolicyCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateLifecyclePolicyCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "ImagebuilderClient";
|
|
29
|
+
const commandName = "CreateLifecyclePolicyCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "imagebuilder",
|
|
38
|
+
operation: "CreateLifecyclePolicy",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_CreateLifecyclePolicyCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_CreateLifecyclePolicyCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.CreateLifecyclePolicyCommand = CreateLifecyclePolicyCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteLifecyclePolicyCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class DeleteLifecyclePolicyCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteLifecyclePolicyCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "ImagebuilderClient";
|
|
29
|
+
const commandName = "DeleteLifecyclePolicyCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "imagebuilder",
|
|
38
|
+
operation: "DeleteLifecyclePolicy",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_DeleteLifecyclePolicyCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_DeleteLifecyclePolicyCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.DeleteLifecyclePolicyCommand = DeleteLifecyclePolicyCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetLifecycleExecutionCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class GetLifecycleExecutionCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetLifecycleExecutionCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "ImagebuilderClient";
|
|
29
|
+
const commandName = "GetLifecycleExecutionCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "imagebuilder",
|
|
38
|
+
operation: "GetLifecycleExecution",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_GetLifecycleExecutionCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_GetLifecycleExecutionCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.GetLifecycleExecutionCommand = GetLifecycleExecutionCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetLifecyclePolicyCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class GetLifecyclePolicyCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetLifecyclePolicyCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "ImagebuilderClient";
|
|
29
|
+
const commandName = "GetLifecyclePolicyCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "imagebuilder",
|
|
38
|
+
operation: "GetLifecyclePolicy",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_GetLifecyclePolicyCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_GetLifecyclePolicyCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.GetLifecyclePolicyCommand = GetLifecyclePolicyCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListLifecycleExecutionResourcesCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class ListLifecycleExecutionResourcesCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListLifecycleExecutionResourcesCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "ImagebuilderClient";
|
|
29
|
+
const commandName = "ListLifecycleExecutionResourcesCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "imagebuilder",
|
|
38
|
+
operation: "ListLifecycleExecutionResources",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_ListLifecycleExecutionResourcesCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_ListLifecycleExecutionResourcesCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.ListLifecycleExecutionResourcesCommand = ListLifecycleExecutionResourcesCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListLifecycleExecutionsCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class ListLifecycleExecutionsCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListLifecycleExecutionsCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "ImagebuilderClient";
|
|
29
|
+
const commandName = "ListLifecycleExecutionsCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "imagebuilder",
|
|
38
|
+
operation: "ListLifecycleExecutions",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_ListLifecycleExecutionsCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_ListLifecycleExecutionsCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.ListLifecycleExecutionsCommand = ListLifecycleExecutionsCommand;
|