@aws-sdk/client-imagebuilder 3.721.0 → 3.724.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 (31) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/index.js +473 -317
  3. package/dist-es/Imagebuilder.js +2 -0
  4. package/dist-es/ImagebuilderClient.js +1 -0
  5. package/dist-es/commands/ImportDiskImageCommand.js +22 -0
  6. package/dist-es/commands/index.js +1 -0
  7. package/dist-es/models/models_0.js +35 -34
  8. package/dist-es/protocols/Aws_restJson1.js +37 -0
  9. package/dist-types/Imagebuilder.d.ts +7 -0
  10. package/dist-types/ImagebuilderClient.d.ts +3 -2
  11. package/dist-types/commands/GetImageCommand.d.ts +1 -1
  12. package/dist-types/commands/ImportDiskImageCommand.d.ts +101 -0
  13. package/dist-types/commands/ListImageBuildVersionsCommand.d.ts +1 -1
  14. package/dist-types/commands/ListImagePipelineImagesCommand.d.ts +1 -1
  15. package/dist-types/commands/ListImagesCommand.d.ts +1 -1
  16. package/dist-types/commands/index.d.ts +1 -0
  17. package/dist-types/models/models_0.d.ts +114 -9
  18. package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
  19. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  20. package/dist-types/runtimeConfig.d.ts +1 -1
  21. package/dist-types/runtimeConfig.native.d.ts +2 -2
  22. package/dist-types/ts3.4/Imagebuilder.d.ts +17 -0
  23. package/dist-types/ts3.4/ImagebuilderClient.d.ts +6 -0
  24. package/dist-types/ts3.4/commands/ImportDiskImageCommand.d.ts +50 -0
  25. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  26. package/dist-types/ts3.4/models/models_0.d.ts +17 -0
  27. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
  28. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
  29. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
  30. package/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
  31. package/package.json +43 -43
@@ -253,6 +253,7 @@ export interface AmiDistributionConfiguration {
253
253
  */
254
254
  export declare const BuildType: {
255
255
  readonly IMPORT: "IMPORT";
256
+ readonly IMPORT_ISO: "IMPORT_ISO";
256
257
  readonly SCHEDULED: "SCHEDULED";
257
258
  readonly USER_INITIATED: "USER_INITIATED";
258
259
  };
@@ -1825,7 +1826,7 @@ export interface ImageTestsConfiguration {
1825
1826
  /**
1826
1827
  * <p>The maximum time in minutes that tests are permitted to run.</p>
1827
1828
  * <note>
1828
- * <p>The timeout attribute is not currently active. This value is
1829
+ * <p>The timeout property is not currently active. This value is
1829
1830
  * ignored.</p>
1830
1831
  * </note>
1831
1832
  * @public
@@ -2015,14 +2016,26 @@ export interface Schedule {
2015
2016
  */
2016
2017
  timezone?: string | undefined;
2017
2018
  /**
2018
- * <p>The condition configures when the pipeline should trigger a new image build. When the
2019
- * <code>pipelineExecutionStartCondition</code> is set to
2020
- * <code>EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE</code>, and you use semantic
2021
- * version filters on the base image or components in your image recipe, EC2 Image Builder will
2022
- * build a new image only when there are new versions of the image or components in your
2023
- * recipe that match the semantic version filter. When it is set to
2024
- * <code>EXPRESSION_MATCH_ONLY</code>, it will build a new image every time the CRON
2025
- * expression matches the current time. For semantic version syntax, see <a href="https://docs.aws.amazon.com/imagebuilder/latest/APIReference/API_CreateComponent.html">CreateComponent</a> in the <i> EC2 Image Builder API Reference</i>.</p>
2019
+ * <p>The start condition configures when the pipeline should trigger a new image build,
2020
+ * as follows. If no value is set Image Builder defaults to
2021
+ * <code>EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE</code>.</p>
2022
+ * <ul>
2023
+ * <li>
2024
+ * <p>
2025
+ * <code>EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE</code> (default)
2026
+ * When you use semantic version filters on the base image or components in your
2027
+ * image recipe, EC2 Image Builder builds a new image only when there are new versions of
2028
+ * the base image or components in your recipe that match the filter.</p>
2029
+ * <note>
2030
+ * <p>For semantic version syntax, see <a href="https://docs.aws.amazon.com/imagebuilder/latest/APIReference/API_CreateComponent.html">CreateComponent</a>.</p>
2031
+ * </note>
2032
+ * </li>
2033
+ * <li>
2034
+ * <p>
2035
+ * <code>EXPRESSION_MATCH_ONLY</code> – This condition builds a new
2036
+ * image every time the CRON expression matches the current time.</p>
2037
+ * </li>
2038
+ * </ul>
2026
2039
  * @public
2027
2040
  */
2028
2041
  pipelineExecutionStartCondition?: PipelineExecutionStartCondition | undefined;
@@ -3903,6 +3916,11 @@ export interface Image {
3903
3916
  * <b>IMPORT</b> – A VM import created
3904
3917
  * the image to use as the base image for the recipe.</p>
3905
3918
  * </li>
3919
+ * <li>
3920
+ * <p>
3921
+ * <b>IMPORT_ISO</b> – An ISO disk import created
3922
+ * the image.</p>
3923
+ * </li>
3906
3924
  * </ul>
3907
3925
  * @public
3908
3926
  */
@@ -4967,6 +4985,83 @@ export interface ImportComponentResponse {
4967
4985
  */
4968
4986
  componentBuildVersionArn?: string | undefined;
4969
4987
  }
4988
+ /**
4989
+ * @public
4990
+ */
4991
+ export interface ImportDiskImageRequest {
4992
+ /**
4993
+ * <p>The name of the image resource that's created from the import.</p>
4994
+ * @public
4995
+ */
4996
+ name: string | undefined;
4997
+ /**
4998
+ * <p>The semantic version to attach to the image that's created during the import
4999
+ * process. This version follows the semantic version syntax.</p>
5000
+ * @public
5001
+ */
5002
+ semanticVersion: string | undefined;
5003
+ /**
5004
+ * <p>The description for your disk image import.</p>
5005
+ * @public
5006
+ */
5007
+ description?: string | undefined;
5008
+ /**
5009
+ * <p>The operating system platform for the imported image. Allowed values include
5010
+ * the following: <code>Windows</code>.</p>
5011
+ * @public
5012
+ */
5013
+ platform: string | undefined;
5014
+ /**
5015
+ * <p>The operating system version for the imported image. Allowed values include
5016
+ * the following: <code>Microsoft Windows 11</code>.</p>
5017
+ * @public
5018
+ */
5019
+ osVersion: string | undefined;
5020
+ /**
5021
+ * <p>The name or Amazon Resource Name (ARN) for the IAM role you create that grants Image Builder access
5022
+ * to perform workflow actions to import an image from a Microsoft ISO file.</p>
5023
+ * @public
5024
+ */
5025
+ executionRole?: string | undefined;
5026
+ /**
5027
+ * <p>The Amazon Resource Name (ARN) of the infrastructure configuration resource that's used for
5028
+ * launching the EC2 instance on which the ISO image is built.</p>
5029
+ * @public
5030
+ */
5031
+ infrastructureConfigurationArn: string | undefined;
5032
+ /**
5033
+ * <p>The <code>uri</code> of the ISO disk file that's stored in Amazon S3.</p>
5034
+ * @public
5035
+ */
5036
+ uri: string | undefined;
5037
+ /**
5038
+ * <p>Tags that are attached to image resources created from the import.</p>
5039
+ * @public
5040
+ */
5041
+ tags?: Record<string, string> | undefined;
5042
+ /**
5043
+ * <p>Unique, case-sensitive identifier you provide to ensure
5044
+ * idempotency of the request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency</a>
5045
+ * in the <i>Amazon EC2 API Reference</i>.</p>
5046
+ * @public
5047
+ */
5048
+ clientToken?: string | undefined;
5049
+ }
5050
+ /**
5051
+ * @public
5052
+ */
5053
+ export interface ImportDiskImageResponse {
5054
+ /**
5055
+ * <p>The client token that uniquely identifies the request.</p>
5056
+ * @public
5057
+ */
5058
+ clientToken?: string | undefined;
5059
+ /**
5060
+ * <p>The Amazon Resource Name (ARN) of the output AMI that was created from the ISO disk file.</p>
5061
+ * @public
5062
+ */
5063
+ imageBuildVersionArn?: string | undefined;
5064
+ }
4970
5065
  /**
4971
5066
  * @public
4972
5067
  */
@@ -5462,6 +5557,11 @@ export interface ImageSummary {
5462
5557
  * <b>IMPORT</b> – A VM import created
5463
5558
  * the image to use as the base image for the recipe.</p>
5464
5559
  * </li>
5560
+ * <li>
5561
+ * <p>
5562
+ * <b>IMPORT_ISO</b> – An ISO disk import created
5563
+ * the image.</p>
5564
+ * </li>
5465
5565
  * </ul>
5466
5566
  * @public
5467
5567
  */
@@ -5977,6 +6077,11 @@ export interface ImageVersion {
5977
6077
  * <b>IMPORT</b> – A VM import created
5978
6078
  * the image to use as the base image for the recipe.</p>
5979
6079
  * </li>
6080
+ * <li>
6081
+ * <p>
6082
+ * <b>IMPORT_ISO</b> – An ISO disk import created
6083
+ * the image.</p>
6084
+ * </li>
5980
6085
  * </ul>
5981
6086
  * @public
5982
6087
  */
@@ -38,6 +38,7 @@ import { GetWorkflowCommandInput, GetWorkflowCommandOutput } from "../commands/G
38
38
  import { GetWorkflowExecutionCommandInput, GetWorkflowExecutionCommandOutput } from "../commands/GetWorkflowExecutionCommand";
39
39
  import { GetWorkflowStepExecutionCommandInput, GetWorkflowStepExecutionCommandOutput } from "../commands/GetWorkflowStepExecutionCommand";
40
40
  import { ImportComponentCommandInput, ImportComponentCommandOutput } from "../commands/ImportComponentCommand";
41
+ import { ImportDiskImageCommandInput, ImportDiskImageCommandOutput } from "../commands/ImportDiskImageCommand";
41
42
  import { ImportVmImageCommandInput, ImportVmImageCommandOutput } from "../commands/ImportVmImageCommand";
42
43
  import { ListComponentBuildVersionsCommandInput, ListComponentBuildVersionsCommandOutput } from "../commands/ListComponentBuildVersionsCommand";
43
44
  import { ListComponentsCommandInput, ListComponentsCommandOutput } from "../commands/ListComponentsCommand";
@@ -226,6 +227,10 @@ export declare const se_GetWorkflowStepExecutionCommand: (input: GetWorkflowStep
226
227
  * serializeAws_restJson1ImportComponentCommand
227
228
  */
228
229
  export declare const se_ImportComponentCommand: (input: ImportComponentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
230
+ /**
231
+ * serializeAws_restJson1ImportDiskImageCommand
232
+ */
233
+ export declare const se_ImportDiskImageCommand: (input: ImportDiskImageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
229
234
  /**
230
235
  * serializeAws_restJson1ImportVmImageCommand
231
236
  */
@@ -522,6 +527,10 @@ export declare const de_GetWorkflowStepExecutionCommand: (output: __HttpResponse
522
527
  * deserializeAws_restJson1ImportComponentCommand
523
528
  */
524
529
  export declare const de_ImportComponentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ImportComponentCommandOutput>;
530
+ /**
531
+ * deserializeAws_restJson1ImportDiskImageCommand
532
+ */
533
+ export declare const de_ImportDiskImageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ImportDiskImageCommandOutput>;
525
534
  /**
526
535
  * deserializeAws_restJson1ImportVmImageCommand
527
536
  */
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: ImagebuilderClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: ImagebuilderClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<string>;
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: ImagebuilderClientConfig) => {
22
22
  region: string | import("@smithy/types").Provider<any>;
23
23
  profile?: string | undefined;
24
24
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
25
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
25
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
26
26
  maxAttempts: number | import("@smithy/types").Provider<number>;
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: ImagebuilderClientConfig) => {
31
31
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
32
32
  userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
33
33
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
34
- endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
34
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
35
35
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
36
36
  logger?: import("@smithy/types").Logger | undefined;
37
37
  }) => import("@smithy/types").EndpointV2;
@@ -151,6 +151,10 @@ import {
151
151
  ImportComponentCommandInput,
152
152
  ImportComponentCommandOutput,
153
153
  } from "./commands/ImportComponentCommand";
154
+ import {
155
+ ImportDiskImageCommandInput,
156
+ ImportDiskImageCommandOutput,
157
+ } from "./commands/ImportDiskImageCommand";
154
158
  import {
155
159
  ImportVmImageCommandInput,
156
160
  ImportVmImageCommandOutput,
@@ -803,6 +807,19 @@ export interface Imagebuilder {
803
807
  options: __HttpHandlerOptions,
804
808
  cb: (err: any, data?: ImportComponentCommandOutput) => void
805
809
  ): void;
810
+ importDiskImage(
811
+ args: ImportDiskImageCommandInput,
812
+ options?: __HttpHandlerOptions
813
+ ): Promise<ImportDiskImageCommandOutput>;
814
+ importDiskImage(
815
+ args: ImportDiskImageCommandInput,
816
+ cb: (err: any, data?: ImportDiskImageCommandOutput) => void
817
+ ): void;
818
+ importDiskImage(
819
+ args: ImportDiskImageCommandInput,
820
+ options: __HttpHandlerOptions,
821
+ cb: (err: any, data?: ImportDiskImageCommandOutput) => void
822
+ ): void;
806
823
  importVmImage(
807
824
  args: ImportVmImageCommandInput,
808
825
  options?: __HttpHandlerOptions
@@ -197,6 +197,10 @@ import {
197
197
  ImportComponentCommandInput,
198
198
  ImportComponentCommandOutput,
199
199
  } from "./commands/ImportComponentCommand";
200
+ import {
201
+ ImportDiskImageCommandInput,
202
+ ImportDiskImageCommandOutput,
203
+ } from "./commands/ImportDiskImageCommand";
200
204
  import {
201
205
  ImportVmImageCommandInput,
202
206
  ImportVmImageCommandOutput,
@@ -387,6 +391,7 @@ export type ServiceInputTypes =
387
391
  | GetWorkflowExecutionCommandInput
388
392
  | GetWorkflowStepExecutionCommandInput
389
393
  | ImportComponentCommandInput
394
+ | ImportDiskImageCommandInput
390
395
  | ImportVmImageCommandInput
391
396
  | ListComponentBuildVersionsCommandInput
392
397
  | ListComponentsCommandInput
@@ -462,6 +467,7 @@ export type ServiceOutputTypes =
462
467
  | GetWorkflowExecutionCommandOutput
463
468
  | GetWorkflowStepExecutionCommandOutput
464
469
  | ImportComponentCommandOutput
470
+ | ImportDiskImageCommandOutput
465
471
  | ImportVmImageCommandOutput
466
472
  | ListComponentBuildVersionsCommandOutput
467
473
  | ListComponentsCommandOutput
@@ -0,0 +1,50 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ ImagebuilderClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../ImagebuilderClient";
8
+ import {
9
+ ImportDiskImageRequest,
10
+ ImportDiskImageResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface ImportDiskImageCommandInput extends ImportDiskImageRequest {}
15
+ export interface ImportDiskImageCommandOutput
16
+ extends ImportDiskImageResponse,
17
+ __MetadataBearer {}
18
+ declare const ImportDiskImageCommand_base: {
19
+ new (
20
+ input: ImportDiskImageCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ ImportDiskImageCommandInput,
23
+ ImportDiskImageCommandOutput,
24
+ ImagebuilderClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ __0_0: ImportDiskImageCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ ImportDiskImageCommandInput,
32
+ ImportDiskImageCommandOutput,
33
+ ImagebuilderClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class ImportDiskImageCommand extends ImportDiskImageCommand_base {
40
+ protected static __types: {
41
+ api: {
42
+ input: ImportDiskImageRequest;
43
+ output: ImportDiskImageResponse;
44
+ };
45
+ sdk: {
46
+ input: ImportDiskImageCommandInput;
47
+ output: ImportDiskImageCommandOutput;
48
+ };
49
+ };
50
+ }
@@ -36,6 +36,7 @@ export * from "./GetWorkflowCommand";
36
36
  export * from "./GetWorkflowExecutionCommand";
37
37
  export * from "./GetWorkflowStepExecutionCommand";
38
38
  export * from "./ImportComponentCommand";
39
+ export * from "./ImportDiskImageCommand";
39
40
  export * from "./ImportVmImageCommand";
40
41
  export * from "./ListComponentBuildVersionsCommand";
41
42
  export * from "./ListComponentsCommand";
@@ -60,6 +60,7 @@ export interface AmiDistributionConfiguration {
60
60
  }
61
61
  export declare const BuildType: {
62
62
  readonly IMPORT: "IMPORT";
63
+ readonly IMPORT_ISO: "IMPORT_ISO";
63
64
  readonly SCHEDULED: "SCHEDULED";
64
65
  readonly USER_INITIATED: "USER_INITIATED";
65
66
  };
@@ -1212,6 +1213,22 @@ export interface ImportComponentResponse {
1212
1213
  clientToken?: string | undefined;
1213
1214
  componentBuildVersionArn?: string | undefined;
1214
1215
  }
1216
+ export interface ImportDiskImageRequest {
1217
+ name: string | undefined;
1218
+ semanticVersion: string | undefined;
1219
+ description?: string | undefined;
1220
+ platform: string | undefined;
1221
+ osVersion: string | undefined;
1222
+ executionRole?: string | undefined;
1223
+ infrastructureConfigurationArn: string | undefined;
1224
+ uri: string | undefined;
1225
+ tags?: Record<string, string> | undefined;
1226
+ clientToken?: string | undefined;
1227
+ }
1228
+ export interface ImportDiskImageResponse {
1229
+ clientToken?: string | undefined;
1230
+ imageBuildVersionArn?: string | undefined;
1231
+ }
1215
1232
  export interface ImportVmImageRequest {
1216
1233
  name: string | undefined;
1217
1234
  semanticVersion: string | undefined;
@@ -155,6 +155,10 @@ import {
155
155
  ImportComponentCommandInput,
156
156
  ImportComponentCommandOutput,
157
157
  } from "../commands/ImportComponentCommand";
158
+ import {
159
+ ImportDiskImageCommandInput,
160
+ ImportDiskImageCommandOutput,
161
+ } from "../commands/ImportDiskImageCommand";
158
162
  import {
159
163
  ImportVmImageCommandInput,
160
164
  ImportVmImageCommandOutput,
@@ -451,6 +455,10 @@ export declare const se_ImportComponentCommand: (
451
455
  input: ImportComponentCommandInput,
452
456
  context: __SerdeContext
453
457
  ) => Promise<__HttpRequest>;
458
+ export declare const se_ImportDiskImageCommand: (
459
+ input: ImportDiskImageCommandInput,
460
+ context: __SerdeContext
461
+ ) => Promise<__HttpRequest>;
454
462
  export declare const se_ImportVmImageCommand: (
455
463
  input: ImportVmImageCommandInput,
456
464
  context: __SerdeContext
@@ -747,6 +755,10 @@ export declare const de_ImportComponentCommand: (
747
755
  output: __HttpResponse,
748
756
  context: __SerdeContext
749
757
  ) => Promise<ImportComponentCommandOutput>;
758
+ export declare const de_ImportDiskImageCommand: (
759
+ output: __HttpResponse,
760
+ context: __SerdeContext
761
+ ) => Promise<ImportDiskImageCommandOutput>;
750
762
  export declare const de_ImportVmImageCommand: (
751
763
  output: __HttpResponse,
752
764
  context: __SerdeContext
@@ -6,9 +6,11 @@ export declare const getRuntimeConfig: (config: ImagebuilderClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- input: any
11
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ _: unknown
13
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
12
14
  defaultUserAgentProvider: (
13
15
  config?:
14
16
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
@@ -6,13 +6,15 @@ export declare const getRuntimeConfig: (config: ImagebuilderClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- init?:
11
- | import("@aws-sdk/credential-provider-node").DefaultProviderInit
12
- | undefined
13
- ) => import("@smithy/types").MemoizedProvider<
14
- import("@smithy/types").AwsCredentialIdentity
15
- >;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ init?:
13
+ | import("@aws-sdk/credential-provider-node").DefaultProviderInit
14
+ | undefined
15
+ ) => import("@smithy/types").MemoizedProvider<
16
+ import("@smithy/types").AwsCredentialIdentity
17
+ >);
16
18
  defaultUserAgentProvider: (
17
19
  config?:
18
20
  | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
@@ -28,9 +28,11 @@ export declare const getRuntimeConfig: (config: ImagebuilderClientConfig) => {
28
28
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
29
29
  | undefined
30
30
  ) => Promise<import("@smithy/types").UserAgent>;
31
- credentialDefaultProvider: (
32
- input: any
33
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
31
+ credentialDefaultProvider:
32
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
33
+ | ((
34
+ _: unknown
35
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
34
36
  maxAttempts: number | import("@smithy/types").Provider<number>;
35
37
  retryMode: string | import("@smithy/types").Provider<string>;
36
38
  logger: import("@smithy/types").Logger;
@@ -50,11 +52,21 @@ export declare const getRuntimeConfig: (config: ImagebuilderClientConfig) => {
50
52
  | import("@smithy/types").RetryStrategyV2
51
53
  | undefined;
52
54
  endpoint?:
53
- | string
54
- | import("@smithy/types").Endpoint
55
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
56
- | import("@smithy/types").EndpointV2
57
- | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
55
+ | ((
56
+ | string
57
+ | import("@smithy/types").Endpoint
58
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
59
+ | import("@smithy/types").EndpointV2
60
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
61
+ ) &
62
+ (
63
+ | string
64
+ | import("@smithy/types").Provider<string>
65
+ | import("@smithy/types").Endpoint
66
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
67
+ | import("@smithy/types").EndpointV2
68
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
69
+ ))
58
70
  | undefined;
59
71
  endpointProvider: (
60
72
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-imagebuilder",
3
3
  "description": "AWS SDK for JavaScript Imagebuilder Client for Node.js, Browser and React Native",
4
- "version": "3.721.0",
4
+ "version": "3.724.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-imagebuilder",
@@ -20,58 +20,58 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.721.0",
24
- "@aws-sdk/client-sts": "3.721.0",
25
- "@aws-sdk/core": "3.716.0",
26
- "@aws-sdk/credential-provider-node": "3.721.0",
27
- "@aws-sdk/middleware-host-header": "3.714.0",
28
- "@aws-sdk/middleware-logger": "3.714.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.714.0",
30
- "@aws-sdk/middleware-user-agent": "3.721.0",
31
- "@aws-sdk/region-config-resolver": "3.714.0",
32
- "@aws-sdk/types": "3.714.0",
33
- "@aws-sdk/util-endpoints": "3.714.0",
34
- "@aws-sdk/util-user-agent-browser": "3.714.0",
35
- "@aws-sdk/util-user-agent-node": "3.721.0",
36
- "@smithy/config-resolver": "^3.0.13",
37
- "@smithy/core": "^2.5.5",
38
- "@smithy/fetch-http-handler": "^4.1.2",
39
- "@smithy/hash-node": "^3.0.11",
40
- "@smithy/invalid-dependency": "^3.0.11",
41
- "@smithy/middleware-content-length": "^3.0.13",
42
- "@smithy/middleware-endpoint": "^3.2.6",
43
- "@smithy/middleware-retry": "^3.0.31",
44
- "@smithy/middleware-serde": "^3.0.11",
45
- "@smithy/middleware-stack": "^3.0.11",
46
- "@smithy/node-config-provider": "^3.1.12",
47
- "@smithy/node-http-handler": "^3.3.2",
48
- "@smithy/protocol-http": "^4.1.8",
49
- "@smithy/smithy-client": "^3.5.1",
50
- "@smithy/types": "^3.7.2",
51
- "@smithy/url-parser": "^3.0.11",
52
- "@smithy/util-base64": "^3.0.0",
53
- "@smithy/util-body-length-browser": "^3.0.0",
54
- "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.31",
56
- "@smithy/util-defaults-mode-node": "^3.0.31",
57
- "@smithy/util-endpoints": "^2.1.7",
58
- "@smithy/util-middleware": "^3.0.11",
59
- "@smithy/util-retry": "^3.0.11",
60
- "@smithy/util-utf8": "^3.0.0",
23
+ "@aws-sdk/client-sso-oidc": "3.723.0",
24
+ "@aws-sdk/client-sts": "3.723.0",
25
+ "@aws-sdk/core": "3.723.0",
26
+ "@aws-sdk/credential-provider-node": "3.723.0",
27
+ "@aws-sdk/middleware-host-header": "3.723.0",
28
+ "@aws-sdk/middleware-logger": "3.723.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.723.0",
30
+ "@aws-sdk/middleware-user-agent": "3.723.0",
31
+ "@aws-sdk/region-config-resolver": "3.723.0",
32
+ "@aws-sdk/types": "3.723.0",
33
+ "@aws-sdk/util-endpoints": "3.723.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.723.0",
35
+ "@aws-sdk/util-user-agent-node": "3.723.0",
36
+ "@smithy/config-resolver": "^4.0.0",
37
+ "@smithy/core": "^3.0.0",
38
+ "@smithy/fetch-http-handler": "^5.0.0",
39
+ "@smithy/hash-node": "^4.0.0",
40
+ "@smithy/invalid-dependency": "^4.0.0",
41
+ "@smithy/middleware-content-length": "^4.0.0",
42
+ "@smithy/middleware-endpoint": "^4.0.0",
43
+ "@smithy/middleware-retry": "^4.0.0",
44
+ "@smithy/middleware-serde": "^4.0.0",
45
+ "@smithy/middleware-stack": "^4.0.0",
46
+ "@smithy/node-config-provider": "^4.0.0",
47
+ "@smithy/node-http-handler": "^4.0.0",
48
+ "@smithy/protocol-http": "^5.0.0",
49
+ "@smithy/smithy-client": "^4.0.0",
50
+ "@smithy/types": "^4.0.0",
51
+ "@smithy/url-parser": "^4.0.0",
52
+ "@smithy/util-base64": "^4.0.0",
53
+ "@smithy/util-body-length-browser": "^4.0.0",
54
+ "@smithy/util-body-length-node": "^4.0.0",
55
+ "@smithy/util-defaults-mode-browser": "^4.0.0",
56
+ "@smithy/util-defaults-mode-node": "^4.0.0",
57
+ "@smithy/util-endpoints": "^3.0.0",
58
+ "@smithy/util-middleware": "^4.0.0",
59
+ "@smithy/util-retry": "^4.0.0",
60
+ "@smithy/util-utf8": "^4.0.0",
61
61
  "@types/uuid": "^9.0.1",
62
62
  "tslib": "^2.6.2",
63
63
  "uuid": "^9.0.1"
64
64
  },
65
65
  "devDependencies": {
66
- "@tsconfig/node16": "16.1.3",
67
- "@types/node": "^16.18.96",
66
+ "@tsconfig/node18": "18.2.4",
67
+ "@types/node": "^18.19.69",
68
68
  "concurrently": "7.0.0",
69
69
  "downlevel-dts": "0.10.1",
70
70
  "rimraf": "3.0.2",
71
- "typescript": "~4.9.5"
71
+ "typescript": "~5.2.2"
72
72
  },
73
73
  "engines": {
74
- "node": ">=16.0.0"
74
+ "node": ">=18.0.0"
75
75
  },
76
76
  "typesVersions": {
77
77
  "<4.0": {