@aws-sdk/client-imagebuilder 3.451.0 → 3.453.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. package/README.md +80 -0
  2. package/dist-cjs/Imagebuilder.js +20 -0
  3. package/dist-cjs/commands/CancelLifecycleExecutionCommand.js +51 -0
  4. package/dist-cjs/commands/CreateLifecyclePolicyCommand.js +51 -0
  5. package/dist-cjs/commands/DeleteLifecyclePolicyCommand.js +51 -0
  6. package/dist-cjs/commands/GetLifecycleExecutionCommand.js +51 -0
  7. package/dist-cjs/commands/GetLifecyclePolicyCommand.js +51 -0
  8. package/dist-cjs/commands/ListLifecycleExecutionResourcesCommand.js +51 -0
  9. package/dist-cjs/commands/ListLifecycleExecutionsCommand.js +51 -0
  10. package/dist-cjs/commands/ListLifecyclePoliciesCommand.js +51 -0
  11. package/dist-cjs/commands/StartResourceStateUpdateCommand.js +51 -0
  12. package/dist-cjs/commands/UpdateLifecyclePolicyCommand.js +51 -0
  13. package/dist-cjs/commands/index.js +10 -0
  14. package/dist-cjs/models/models_0.js +50 -1
  15. package/dist-cjs/pagination/ListLifecycleExecutionResourcesPaginator.js +29 -0
  16. package/dist-cjs/pagination/ListLifecycleExecutionsPaginator.js +29 -0
  17. package/dist-cjs/pagination/ListLifecyclePoliciesPaginator.js +29 -0
  18. package/dist-cjs/pagination/index.js +3 -0
  19. package/dist-cjs/protocols/Aws_restJson1.js +907 -15
  20. package/dist-es/Imagebuilder.js +20 -0
  21. package/dist-es/commands/CancelLifecycleExecutionCommand.js +47 -0
  22. package/dist-es/commands/CreateLifecyclePolicyCommand.js +47 -0
  23. package/dist-es/commands/DeleteLifecyclePolicyCommand.js +47 -0
  24. package/dist-es/commands/GetLifecycleExecutionCommand.js +47 -0
  25. package/dist-es/commands/GetLifecyclePolicyCommand.js +47 -0
  26. package/dist-es/commands/ListLifecycleExecutionResourcesCommand.js +47 -0
  27. package/dist-es/commands/ListLifecycleExecutionsCommand.js +47 -0
  28. package/dist-es/commands/ListLifecyclePoliciesCommand.js +47 -0
  29. package/dist-es/commands/StartResourceStateUpdateCommand.js +47 -0
  30. package/dist-es/commands/UpdateLifecyclePolicyCommand.js +47 -0
  31. package/dist-es/commands/index.js +10 -0
  32. package/dist-es/models/models_0.js +49 -0
  33. package/dist-es/pagination/ListLifecycleExecutionResourcesPaginator.js +25 -0
  34. package/dist-es/pagination/ListLifecycleExecutionsPaginator.js +25 -0
  35. package/dist-es/pagination/ListLifecyclePoliciesPaginator.js +25 -0
  36. package/dist-es/pagination/index.js +3 -0
  37. package/dist-es/protocols/Aws_restJson1.js +885 -13
  38. package/dist-types/Imagebuilder.d.ts +70 -0
  39. package/dist-types/ImagebuilderClient.d.ts +12 -2
  40. package/dist-types/commands/CancelLifecycleExecutionCommand.d.ts +103 -0
  41. package/dist-types/commands/CreateLifecyclePolicyCommand.d.ts +165 -0
  42. package/dist-types/commands/DeleteLifecyclePolicyCommand.d.ts +98 -0
  43. package/dist-types/commands/GetImageCommand.d.ts +4 -2
  44. package/dist-types/commands/GetLifecycleExecutionCommand.d.ts +106 -0
  45. package/dist-types/commands/GetLifecyclePolicyCommand.d.ts +153 -0
  46. package/dist-types/commands/ListImageBuildVersionsCommand.d.ts +4 -2
  47. package/dist-types/commands/ListImagePipelineImagesCommand.d.ts +4 -2
  48. package/dist-types/commands/ListLifecycleExecutionResourcesCommand.d.ts +132 -0
  49. package/dist-types/commands/ListLifecycleExecutionsCommand.d.ts +114 -0
  50. package/dist-types/commands/ListLifecyclePoliciesCommand.d.ts +122 -0
  51. package/dist-types/commands/StartResourceStateUpdateCommand.d.ts +136 -0
  52. package/dist-types/commands/UpdateLifecyclePolicyCommand.d.ts +159 -0
  53. package/dist-types/commands/index.d.ts +10 -0
  54. package/dist-types/models/models_0.d.ts +1224 -114
  55. package/dist-types/pagination/ListLifecycleExecutionResourcesPaginator.d.ts +7 -0
  56. package/dist-types/pagination/ListLifecycleExecutionsPaginator.d.ts +7 -0
  57. package/dist-types/pagination/ListLifecyclePoliciesPaginator.d.ts +7 -0
  58. package/dist-types/pagination/index.d.ts +3 -0
  59. package/dist-types/protocols/Aws_restJson1.d.ts +90 -0
  60. package/dist-types/ts3.4/Imagebuilder.d.ts +170 -0
  61. package/dist-types/ts3.4/ImagebuilderClient.d.ts +62 -2
  62. package/dist-types/ts3.4/commands/CancelLifecycleExecutionCommand.d.ts +42 -0
  63. package/dist-types/ts3.4/commands/CreateLifecyclePolicyCommand.d.ts +42 -0
  64. package/dist-types/ts3.4/commands/DeleteLifecyclePolicyCommand.d.ts +42 -0
  65. package/dist-types/ts3.4/commands/GetLifecycleExecutionCommand.d.ts +42 -0
  66. package/dist-types/ts3.4/commands/GetLifecyclePolicyCommand.d.ts +39 -0
  67. package/dist-types/ts3.4/commands/ListLifecycleExecutionResourcesCommand.d.ts +42 -0
  68. package/dist-types/ts3.4/commands/ListLifecycleExecutionsCommand.d.ts +42 -0
  69. package/dist-types/ts3.4/commands/ListLifecyclePoliciesCommand.d.ts +42 -0
  70. package/dist-types/ts3.4/commands/StartResourceStateUpdateCommand.d.ts +42 -0
  71. package/dist-types/ts3.4/commands/UpdateLifecyclePolicyCommand.d.ts +42 -0
  72. package/dist-types/ts3.4/commands/index.d.ts +10 -0
  73. package/dist-types/ts3.4/models/models_0.d.ts +283 -0
  74. package/dist-types/ts3.4/pagination/ListLifecycleExecutionResourcesPaginator.d.ts +11 -0
  75. package/dist-types/ts3.4/pagination/ListLifecycleExecutionsPaginator.d.ts +11 -0
  76. package/dist-types/ts3.4/pagination/ListLifecyclePoliciesPaginator.d.ts +11 -0
  77. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  78. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +120 -0
  79. package/package.json +1 -1
@@ -1,5 +1,6 @@
1
1
  import { createAggregatedClient } from "@smithy/smithy-client";
2
2
  import { CancelImageCreationCommand, } from "./commands/CancelImageCreationCommand";
3
+ import { CancelLifecycleExecutionCommand, } from "./commands/CancelLifecycleExecutionCommand";
3
4
  import { CreateComponentCommand, } from "./commands/CreateComponentCommand";
4
5
  import { CreateContainerRecipeCommand, } from "./commands/CreateContainerRecipeCommand";
5
6
  import { CreateDistributionConfigurationCommand, } from "./commands/CreateDistributionConfigurationCommand";
@@ -7,6 +8,7 @@ import { CreateImageCommand } from "./commands/CreateImageCommand";
7
8
  import { CreateImagePipelineCommand, } from "./commands/CreateImagePipelineCommand";
8
9
  import { CreateImageRecipeCommand, } from "./commands/CreateImageRecipeCommand";
9
10
  import { CreateInfrastructureConfigurationCommand, } from "./commands/CreateInfrastructureConfigurationCommand";
11
+ import { CreateLifecyclePolicyCommand, } from "./commands/CreateLifecyclePolicyCommand";
10
12
  import { DeleteComponentCommand, } from "./commands/DeleteComponentCommand";
11
13
  import { DeleteContainerRecipeCommand, } from "./commands/DeleteContainerRecipeCommand";
12
14
  import { DeleteDistributionConfigurationCommand, } from "./commands/DeleteDistributionConfigurationCommand";
@@ -14,6 +16,7 @@ import { DeleteImageCommand } from "./commands/DeleteImageCommand";
14
16
  import { DeleteImagePipelineCommand, } from "./commands/DeleteImagePipelineCommand";
15
17
  import { DeleteImageRecipeCommand, } from "./commands/DeleteImageRecipeCommand";
16
18
  import { DeleteInfrastructureConfigurationCommand, } from "./commands/DeleteInfrastructureConfigurationCommand";
19
+ import { DeleteLifecyclePolicyCommand, } from "./commands/DeleteLifecyclePolicyCommand";
17
20
  import { GetComponentCommand, } from "./commands/GetComponentCommand";
18
21
  import { GetComponentPolicyCommand, } from "./commands/GetComponentPolicyCommand";
19
22
  import { GetContainerRecipeCommand, } from "./commands/GetContainerRecipeCommand";
@@ -25,6 +28,8 @@ import { GetImagePolicyCommand, } from "./commands/GetImagePolicyCommand";
25
28
  import { GetImageRecipeCommand, } from "./commands/GetImageRecipeCommand";
26
29
  import { GetImageRecipePolicyCommand, } from "./commands/GetImageRecipePolicyCommand";
27
30
  import { GetInfrastructureConfigurationCommand, } from "./commands/GetInfrastructureConfigurationCommand";
31
+ import { GetLifecycleExecutionCommand, } from "./commands/GetLifecycleExecutionCommand";
32
+ import { GetLifecyclePolicyCommand, } from "./commands/GetLifecyclePolicyCommand";
28
33
  import { GetWorkflowExecutionCommand, } from "./commands/GetWorkflowExecutionCommand";
29
34
  import { GetWorkflowStepExecutionCommand, } from "./commands/GetWorkflowStepExecutionCommand";
30
35
  import { ImportComponentCommand, } from "./commands/ImportComponentCommand";
@@ -42,6 +47,9 @@ import { ListImageScanFindingAggregationsCommand, } from "./commands/ListImageSc
42
47
  import { ListImageScanFindingsCommand, } from "./commands/ListImageScanFindingsCommand";
43
48
  import { ListImagesCommand } from "./commands/ListImagesCommand";
44
49
  import { ListInfrastructureConfigurationsCommand, } from "./commands/ListInfrastructureConfigurationsCommand";
50
+ import { ListLifecycleExecutionResourcesCommand, } from "./commands/ListLifecycleExecutionResourcesCommand";
51
+ import { ListLifecycleExecutionsCommand, } from "./commands/ListLifecycleExecutionsCommand";
52
+ import { ListLifecyclePoliciesCommand, } from "./commands/ListLifecyclePoliciesCommand";
45
53
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
46
54
  import { ListWorkflowExecutionsCommand, } from "./commands/ListWorkflowExecutionsCommand";
47
55
  import { ListWorkflowStepExecutionsCommand, } from "./commands/ListWorkflowStepExecutionsCommand";
@@ -50,14 +58,17 @@ import { PutContainerRecipePolicyCommand, } from "./commands/PutContainerRecipeP
50
58
  import { PutImagePolicyCommand, } from "./commands/PutImagePolicyCommand";
51
59
  import { PutImageRecipePolicyCommand, } from "./commands/PutImageRecipePolicyCommand";
52
60
  import { StartImagePipelineExecutionCommand, } from "./commands/StartImagePipelineExecutionCommand";
61
+ import { StartResourceStateUpdateCommand, } from "./commands/StartResourceStateUpdateCommand";
53
62
  import { TagResourceCommand } from "./commands/TagResourceCommand";
54
63
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
55
64
  import { UpdateDistributionConfigurationCommand, } from "./commands/UpdateDistributionConfigurationCommand";
56
65
  import { UpdateImagePipelineCommand, } from "./commands/UpdateImagePipelineCommand";
57
66
  import { UpdateInfrastructureConfigurationCommand, } from "./commands/UpdateInfrastructureConfigurationCommand";
67
+ import { UpdateLifecyclePolicyCommand, } from "./commands/UpdateLifecyclePolicyCommand";
58
68
  import { ImagebuilderClient } from "./ImagebuilderClient";
59
69
  const commands = {
60
70
  CancelImageCreationCommand,
71
+ CancelLifecycleExecutionCommand,
61
72
  CreateComponentCommand,
62
73
  CreateContainerRecipeCommand,
63
74
  CreateDistributionConfigurationCommand,
@@ -65,6 +76,7 @@ const commands = {
65
76
  CreateImagePipelineCommand,
66
77
  CreateImageRecipeCommand,
67
78
  CreateInfrastructureConfigurationCommand,
79
+ CreateLifecyclePolicyCommand,
68
80
  DeleteComponentCommand,
69
81
  DeleteContainerRecipeCommand,
70
82
  DeleteDistributionConfigurationCommand,
@@ -72,6 +84,7 @@ const commands = {
72
84
  DeleteImagePipelineCommand,
73
85
  DeleteImageRecipeCommand,
74
86
  DeleteInfrastructureConfigurationCommand,
87
+ DeleteLifecyclePolicyCommand,
75
88
  GetComponentCommand,
76
89
  GetComponentPolicyCommand,
77
90
  GetContainerRecipeCommand,
@@ -83,6 +96,8 @@ const commands = {
83
96
  GetImageRecipeCommand,
84
97
  GetImageRecipePolicyCommand,
85
98
  GetInfrastructureConfigurationCommand,
99
+ GetLifecycleExecutionCommand,
100
+ GetLifecyclePolicyCommand,
86
101
  GetWorkflowExecutionCommand,
87
102
  GetWorkflowStepExecutionCommand,
88
103
  ImportComponentCommand,
@@ -100,6 +115,9 @@ const commands = {
100
115
  ListImageScanFindingAggregationsCommand,
101
116
  ListImageScanFindingsCommand,
102
117
  ListInfrastructureConfigurationsCommand,
118
+ ListLifecycleExecutionResourcesCommand,
119
+ ListLifecycleExecutionsCommand,
120
+ ListLifecyclePoliciesCommand,
103
121
  ListTagsForResourceCommand,
104
122
  ListWorkflowExecutionsCommand,
105
123
  ListWorkflowStepExecutionsCommand,
@@ -108,11 +126,13 @@ const commands = {
108
126
  PutImagePolicyCommand,
109
127
  PutImageRecipePolicyCommand,
110
128
  StartImagePipelineExecutionCommand,
129
+ StartResourceStateUpdateCommand,
111
130
  TagResourceCommand,
112
131
  UntagResourceCommand,
113
132
  UpdateDistributionConfigurationCommand,
114
133
  UpdateImagePipelineCommand,
115
134
  UpdateInfrastructureConfigurationCommand,
135
+ UpdateLifecyclePolicyCommand,
116
136
  };
117
137
  export class Imagebuilder extends ImagebuilderClient {
118
138
  }
@@ -0,0 +1,47 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_CancelLifecycleExecutionCommand, se_CancelLifecycleExecutionCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class CancelLifecycleExecutionCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
15
+ }
16
+ constructor(input) {
17
+ super();
18
+ this.input = input;
19
+ }
20
+ resolveMiddleware(clientStack, configuration, options) {
21
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
+ this.middlewareStack.use(getEndpointPlugin(configuration, CancelLifecycleExecutionCommand.getEndpointParameterInstructions()));
23
+ const stack = clientStack.concat(this.middlewareStack);
24
+ const { logger } = configuration;
25
+ const clientName = "ImagebuilderClient";
26
+ const commandName = "CancelLifecycleExecutionCommand";
27
+ const handlerExecutionContext = {
28
+ logger,
29
+ clientName,
30
+ commandName,
31
+ inputFilterSensitiveLog: (_) => _,
32
+ outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "imagebuilder",
35
+ operation: "CancelLifecycleExecution",
36
+ },
37
+ };
38
+ const { requestHandler } = configuration;
39
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
+ }
41
+ serialize(input, context) {
42
+ return se_CancelLifecycleExecutionCommand(input, context);
43
+ }
44
+ deserialize(output, context) {
45
+ return de_CancelLifecycleExecutionCommand(output, context);
46
+ }
47
+ }
@@ -0,0 +1,47 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_CreateLifecyclePolicyCommand, se_CreateLifecyclePolicyCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class CreateLifecyclePolicyCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
15
+ }
16
+ constructor(input) {
17
+ super();
18
+ this.input = input;
19
+ }
20
+ resolveMiddleware(clientStack, configuration, options) {
21
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
+ this.middlewareStack.use(getEndpointPlugin(configuration, CreateLifecyclePolicyCommand.getEndpointParameterInstructions()));
23
+ const stack = clientStack.concat(this.middlewareStack);
24
+ const { logger } = configuration;
25
+ const clientName = "ImagebuilderClient";
26
+ const commandName = "CreateLifecyclePolicyCommand";
27
+ const handlerExecutionContext = {
28
+ logger,
29
+ clientName,
30
+ commandName,
31
+ inputFilterSensitiveLog: (_) => _,
32
+ outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "imagebuilder",
35
+ operation: "CreateLifecyclePolicy",
36
+ },
37
+ };
38
+ const { requestHandler } = configuration;
39
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
+ }
41
+ serialize(input, context) {
42
+ return se_CreateLifecyclePolicyCommand(input, context);
43
+ }
44
+ deserialize(output, context) {
45
+ return de_CreateLifecyclePolicyCommand(output, context);
46
+ }
47
+ }
@@ -0,0 +1,47 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_DeleteLifecyclePolicyCommand, se_DeleteLifecyclePolicyCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class DeleteLifecyclePolicyCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
15
+ }
16
+ constructor(input) {
17
+ super();
18
+ this.input = input;
19
+ }
20
+ resolveMiddleware(clientStack, configuration, options) {
21
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
+ this.middlewareStack.use(getEndpointPlugin(configuration, DeleteLifecyclePolicyCommand.getEndpointParameterInstructions()));
23
+ const stack = clientStack.concat(this.middlewareStack);
24
+ const { logger } = configuration;
25
+ const clientName = "ImagebuilderClient";
26
+ const commandName = "DeleteLifecyclePolicyCommand";
27
+ const handlerExecutionContext = {
28
+ logger,
29
+ clientName,
30
+ commandName,
31
+ inputFilterSensitiveLog: (_) => _,
32
+ outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "imagebuilder",
35
+ operation: "DeleteLifecyclePolicy",
36
+ },
37
+ };
38
+ const { requestHandler } = configuration;
39
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
+ }
41
+ serialize(input, context) {
42
+ return se_DeleteLifecyclePolicyCommand(input, context);
43
+ }
44
+ deserialize(output, context) {
45
+ return de_DeleteLifecyclePolicyCommand(output, context);
46
+ }
47
+ }
@@ -0,0 +1,47 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_GetLifecycleExecutionCommand, se_GetLifecycleExecutionCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class GetLifecycleExecutionCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
15
+ }
16
+ constructor(input) {
17
+ super();
18
+ this.input = input;
19
+ }
20
+ resolveMiddleware(clientStack, configuration, options) {
21
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
+ this.middlewareStack.use(getEndpointPlugin(configuration, GetLifecycleExecutionCommand.getEndpointParameterInstructions()));
23
+ const stack = clientStack.concat(this.middlewareStack);
24
+ const { logger } = configuration;
25
+ const clientName = "ImagebuilderClient";
26
+ const commandName = "GetLifecycleExecutionCommand";
27
+ const handlerExecutionContext = {
28
+ logger,
29
+ clientName,
30
+ commandName,
31
+ inputFilterSensitiveLog: (_) => _,
32
+ outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "imagebuilder",
35
+ operation: "GetLifecycleExecution",
36
+ },
37
+ };
38
+ const { requestHandler } = configuration;
39
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
+ }
41
+ serialize(input, context) {
42
+ return se_GetLifecycleExecutionCommand(input, context);
43
+ }
44
+ deserialize(output, context) {
45
+ return de_GetLifecycleExecutionCommand(output, context);
46
+ }
47
+ }
@@ -0,0 +1,47 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_GetLifecyclePolicyCommand, se_GetLifecyclePolicyCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class GetLifecyclePolicyCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
15
+ }
16
+ constructor(input) {
17
+ super();
18
+ this.input = input;
19
+ }
20
+ resolveMiddleware(clientStack, configuration, options) {
21
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
+ this.middlewareStack.use(getEndpointPlugin(configuration, GetLifecyclePolicyCommand.getEndpointParameterInstructions()));
23
+ const stack = clientStack.concat(this.middlewareStack);
24
+ const { logger } = configuration;
25
+ const clientName = "ImagebuilderClient";
26
+ const commandName = "GetLifecyclePolicyCommand";
27
+ const handlerExecutionContext = {
28
+ logger,
29
+ clientName,
30
+ commandName,
31
+ inputFilterSensitiveLog: (_) => _,
32
+ outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "imagebuilder",
35
+ operation: "GetLifecyclePolicy",
36
+ },
37
+ };
38
+ const { requestHandler } = configuration;
39
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
+ }
41
+ serialize(input, context) {
42
+ return se_GetLifecyclePolicyCommand(input, context);
43
+ }
44
+ deserialize(output, context) {
45
+ return de_GetLifecyclePolicyCommand(output, context);
46
+ }
47
+ }
@@ -0,0 +1,47 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_ListLifecycleExecutionResourcesCommand, se_ListLifecycleExecutionResourcesCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListLifecycleExecutionResourcesCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
15
+ }
16
+ constructor(input) {
17
+ super();
18
+ this.input = input;
19
+ }
20
+ resolveMiddleware(clientStack, configuration, options) {
21
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListLifecycleExecutionResourcesCommand.getEndpointParameterInstructions()));
23
+ const stack = clientStack.concat(this.middlewareStack);
24
+ const { logger } = configuration;
25
+ const clientName = "ImagebuilderClient";
26
+ const commandName = "ListLifecycleExecutionResourcesCommand";
27
+ const handlerExecutionContext = {
28
+ logger,
29
+ clientName,
30
+ commandName,
31
+ inputFilterSensitiveLog: (_) => _,
32
+ outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "imagebuilder",
35
+ operation: "ListLifecycleExecutionResources",
36
+ },
37
+ };
38
+ const { requestHandler } = configuration;
39
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
+ }
41
+ serialize(input, context) {
42
+ return se_ListLifecycleExecutionResourcesCommand(input, context);
43
+ }
44
+ deserialize(output, context) {
45
+ return de_ListLifecycleExecutionResourcesCommand(output, context);
46
+ }
47
+ }
@@ -0,0 +1,47 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_ListLifecycleExecutionsCommand, se_ListLifecycleExecutionsCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListLifecycleExecutionsCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
15
+ }
16
+ constructor(input) {
17
+ super();
18
+ this.input = input;
19
+ }
20
+ resolveMiddleware(clientStack, configuration, options) {
21
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListLifecycleExecutionsCommand.getEndpointParameterInstructions()));
23
+ const stack = clientStack.concat(this.middlewareStack);
24
+ const { logger } = configuration;
25
+ const clientName = "ImagebuilderClient";
26
+ const commandName = "ListLifecycleExecutionsCommand";
27
+ const handlerExecutionContext = {
28
+ logger,
29
+ clientName,
30
+ commandName,
31
+ inputFilterSensitiveLog: (_) => _,
32
+ outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "imagebuilder",
35
+ operation: "ListLifecycleExecutions",
36
+ },
37
+ };
38
+ const { requestHandler } = configuration;
39
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
+ }
41
+ serialize(input, context) {
42
+ return se_ListLifecycleExecutionsCommand(input, context);
43
+ }
44
+ deserialize(output, context) {
45
+ return de_ListLifecycleExecutionsCommand(output, context);
46
+ }
47
+ }
@@ -0,0 +1,47 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_ListLifecyclePoliciesCommand, se_ListLifecyclePoliciesCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListLifecyclePoliciesCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
15
+ }
16
+ constructor(input) {
17
+ super();
18
+ this.input = input;
19
+ }
20
+ resolveMiddleware(clientStack, configuration, options) {
21
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListLifecyclePoliciesCommand.getEndpointParameterInstructions()));
23
+ const stack = clientStack.concat(this.middlewareStack);
24
+ const { logger } = configuration;
25
+ const clientName = "ImagebuilderClient";
26
+ const commandName = "ListLifecyclePoliciesCommand";
27
+ const handlerExecutionContext = {
28
+ logger,
29
+ clientName,
30
+ commandName,
31
+ inputFilterSensitiveLog: (_) => _,
32
+ outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "imagebuilder",
35
+ operation: "ListLifecyclePolicies",
36
+ },
37
+ };
38
+ const { requestHandler } = configuration;
39
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
+ }
41
+ serialize(input, context) {
42
+ return se_ListLifecyclePoliciesCommand(input, context);
43
+ }
44
+ deserialize(output, context) {
45
+ return de_ListLifecyclePoliciesCommand(output, context);
46
+ }
47
+ }
@@ -0,0 +1,47 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_StartResourceStateUpdateCommand, se_StartResourceStateUpdateCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class StartResourceStateUpdateCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
15
+ }
16
+ constructor(input) {
17
+ super();
18
+ this.input = input;
19
+ }
20
+ resolveMiddleware(clientStack, configuration, options) {
21
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
+ this.middlewareStack.use(getEndpointPlugin(configuration, StartResourceStateUpdateCommand.getEndpointParameterInstructions()));
23
+ const stack = clientStack.concat(this.middlewareStack);
24
+ const { logger } = configuration;
25
+ const clientName = "ImagebuilderClient";
26
+ const commandName = "StartResourceStateUpdateCommand";
27
+ const handlerExecutionContext = {
28
+ logger,
29
+ clientName,
30
+ commandName,
31
+ inputFilterSensitiveLog: (_) => _,
32
+ outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "imagebuilder",
35
+ operation: "StartResourceStateUpdate",
36
+ },
37
+ };
38
+ const { requestHandler } = configuration;
39
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
+ }
41
+ serialize(input, context) {
42
+ return se_StartResourceStateUpdateCommand(input, context);
43
+ }
44
+ deserialize(output, context) {
45
+ return de_StartResourceStateUpdateCommand(output, context);
46
+ }
47
+ }
@@ -0,0 +1,47 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_UpdateLifecyclePolicyCommand, se_UpdateLifecyclePolicyCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class UpdateLifecyclePolicyCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
15
+ }
16
+ constructor(input) {
17
+ super();
18
+ this.input = input;
19
+ }
20
+ resolveMiddleware(clientStack, configuration, options) {
21
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
+ this.middlewareStack.use(getEndpointPlugin(configuration, UpdateLifecyclePolicyCommand.getEndpointParameterInstructions()));
23
+ const stack = clientStack.concat(this.middlewareStack);
24
+ const { logger } = configuration;
25
+ const clientName = "ImagebuilderClient";
26
+ const commandName = "UpdateLifecyclePolicyCommand";
27
+ const handlerExecutionContext = {
28
+ logger,
29
+ clientName,
30
+ commandName,
31
+ inputFilterSensitiveLog: (_) => _,
32
+ outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "imagebuilder",
35
+ operation: "UpdateLifecyclePolicy",
36
+ },
37
+ };
38
+ const { requestHandler } = configuration;
39
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
+ }
41
+ serialize(input, context) {
42
+ return se_UpdateLifecyclePolicyCommand(input, context);
43
+ }
44
+ deserialize(output, context) {
45
+ return de_UpdateLifecyclePolicyCommand(output, context);
46
+ }
47
+ }
@@ -1,4 +1,5 @@
1
1
  export * from "./CancelImageCreationCommand";
2
+ export * from "./CancelLifecycleExecutionCommand";
2
3
  export * from "./CreateComponentCommand";
3
4
  export * from "./CreateContainerRecipeCommand";
4
5
  export * from "./CreateDistributionConfigurationCommand";
@@ -6,6 +7,7 @@ export * from "./CreateImageCommand";
6
7
  export * from "./CreateImagePipelineCommand";
7
8
  export * from "./CreateImageRecipeCommand";
8
9
  export * from "./CreateInfrastructureConfigurationCommand";
10
+ export * from "./CreateLifecyclePolicyCommand";
9
11
  export * from "./DeleteComponentCommand";
10
12
  export * from "./DeleteContainerRecipeCommand";
11
13
  export * from "./DeleteDistributionConfigurationCommand";
@@ -13,6 +15,7 @@ export * from "./DeleteImageCommand";
13
15
  export * from "./DeleteImagePipelineCommand";
14
16
  export * from "./DeleteImageRecipeCommand";
15
17
  export * from "./DeleteInfrastructureConfigurationCommand";
18
+ export * from "./DeleteLifecyclePolicyCommand";
16
19
  export * from "./GetComponentCommand";
17
20
  export * from "./GetComponentPolicyCommand";
18
21
  export * from "./GetContainerRecipeCommand";
@@ -24,6 +27,8 @@ export * from "./GetImagePolicyCommand";
24
27
  export * from "./GetImageRecipeCommand";
25
28
  export * from "./GetImageRecipePolicyCommand";
26
29
  export * from "./GetInfrastructureConfigurationCommand";
30
+ export * from "./GetLifecycleExecutionCommand";
31
+ export * from "./GetLifecyclePolicyCommand";
27
32
  export * from "./GetWorkflowExecutionCommand";
28
33
  export * from "./GetWorkflowStepExecutionCommand";
29
34
  export * from "./ImportComponentCommand";
@@ -41,6 +46,9 @@ export * from "./ListImageScanFindingAggregationsCommand";
41
46
  export * from "./ListImageScanFindingsCommand";
42
47
  export * from "./ListImagesCommand";
43
48
  export * from "./ListInfrastructureConfigurationsCommand";
49
+ export * from "./ListLifecycleExecutionResourcesCommand";
50
+ export * from "./ListLifecycleExecutionsCommand";
51
+ export * from "./ListLifecyclePoliciesCommand";
44
52
  export * from "./ListTagsForResourceCommand";
45
53
  export * from "./ListWorkflowExecutionsCommand";
46
54
  export * from "./ListWorkflowStepExecutionsCommand";
@@ -49,8 +57,10 @@ export * from "./PutContainerRecipePolicyCommand";
49
57
  export * from "./PutImagePolicyCommand";
50
58
  export * from "./PutImageRecipePolicyCommand";
51
59
  export * from "./StartImagePipelineExecutionCommand";
60
+ export * from "./StartResourceStateUpdateCommand";
52
61
  export * from "./TagResourceCommand";
53
62
  export * from "./UntagResourceCommand";
54
63
  export * from "./UpdateDistributionConfigurationCommand";
55
64
  export * from "./UpdateImagePipelineCommand";
56
65
  export * from "./UpdateInfrastructureConfigurationCommand";
66
+ export * from "./UpdateLifecyclePolicyCommand";