@aws-sdk/client-imagebuilder 3.674.0 → 3.677.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 (32) hide show
  1. package/README.md +1 -1
  2. package/dist-cjs/index.js +10 -0
  3. package/dist-es/models/models_0.js +6 -0
  4. package/dist-es/protocols/Aws_restJson1.js +2 -0
  5. package/dist-types/commands/CreateComponentCommand.d.ts +1 -1
  6. package/dist-types/commands/CreateContainerRecipeCommand.d.ts +1 -1
  7. package/dist-types/commands/CreateInfrastructureConfigurationCommand.d.ts +6 -0
  8. package/dist-types/commands/GetComponentCommand.d.ts +1 -1
  9. package/dist-types/commands/GetContainerRecipeCommand.d.ts +1 -1
  10. package/dist-types/commands/GetImageCommand.d.ts +9 -3
  11. package/dist-types/commands/GetImagePipelineCommand.d.ts +1 -1
  12. package/dist-types/commands/GetImageRecipeCommand.d.ts +1 -1
  13. package/dist-types/commands/GetInfrastructureConfigurationCommand.d.ts +6 -0
  14. package/dist-types/commands/ImportComponentCommand.d.ts +1 -1
  15. package/dist-types/commands/ImportVmImageCommand.d.ts +1 -1
  16. package/dist-types/commands/ListComponentBuildVersionsCommand.d.ts +3 -12
  17. package/dist-types/commands/ListComponentsCommand.d.ts +1 -1
  18. package/dist-types/commands/ListContainerRecipesCommand.d.ts +1 -1
  19. package/dist-types/commands/ListImageBuildVersionsCommand.d.ts +1 -1
  20. package/dist-types/commands/ListImagePipelineImagesCommand.d.ts +1 -1
  21. package/dist-types/commands/ListImagePipelinesCommand.d.ts +1 -1
  22. package/dist-types/commands/ListImageRecipesCommand.d.ts +1 -1
  23. package/dist-types/commands/ListImagesCommand.d.ts +1 -1
  24. package/dist-types/commands/ListInfrastructureConfigurationsCommand.d.ts +6 -0
  25. package/dist-types/commands/UpdateInfrastructureConfigurationCommand.d.ts +7 -1
  26. package/dist-types/models/models_0.d.ts +91 -11
  27. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  28. package/dist-types/runtimeConfig.native.d.ts +1 -1
  29. package/dist-types/ts3.4/models/models_0.d.ts +18 -1
  30. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -1
  31. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -1
  32. package/package.json +8 -8
package/README.md CHANGED
@@ -13,7 +13,7 @@ and settings to meet specific IT standards.</p>
13
13
 
14
14
  ## Installing
15
15
 
16
- To install the this package, simply type add or install @aws-sdk/client-imagebuilder
16
+ To install this package, simply type add or install @aws-sdk/client-imagebuilder
17
17
  using your favorite package manager:
18
18
 
19
19
  - `npm install @aws-sdk/client-imagebuilder`
package/dist-cjs/index.js CHANGED
@@ -135,6 +135,7 @@ __export(src_exports, {
135
135
  StartImagePipelineExecutionCommand: () => StartImagePipelineExecutionCommand,
136
136
  StartResourceStateUpdateCommand: () => StartResourceStateUpdateCommand,
137
137
  TagResourceCommand: () => TagResourceCommand,
138
+ TenancyType: () => TenancyType,
138
139
  UntagResourceCommand: () => UntagResourceCommand,
139
140
  UpdateDistributionConfigurationCommand: () => UpdateDistributionConfigurationCommand,
140
141
  UpdateImagePipelineCommand: () => UpdateImagePipelineCommand,
@@ -494,6 +495,7 @@ __name(_ServiceUnavailableException, "ServiceUnavailableException");
494
495
  var ServiceUnavailableException = _ServiceUnavailableException;
495
496
  var Platform = {
496
497
  LINUX: "Linux",
498
+ MACOS: "macOS",
497
499
  WINDOWS: "Windows"
498
500
  };
499
501
  var ComponentStatus = {
@@ -606,6 +608,11 @@ var PipelineStatus = {
606
608
  DISABLED: "DISABLED",
607
609
  ENABLED: "ENABLED"
608
610
  };
611
+ var TenancyType = {
612
+ DEDICATED: "dedicated",
613
+ DEFAULT: "default",
614
+ HOST: "host"
615
+ };
609
616
  var LifecyclePolicyDetailActionType = {
610
617
  DELETE: "DELETE",
611
618
  DEPRECATE: "DEPRECATE",
@@ -1004,6 +1011,7 @@ var se_CreateInfrastructureConfigurationCommand = /* @__PURE__ */ __name(async (
1004
1011
  keyPair: [],
1005
1012
  logging: (_) => (0, import_smithy_client._json)(_),
1006
1013
  name: [],
1014
+ placement: (_) => (0, import_smithy_client._json)(_),
1007
1015
  resourceTags: (_) => (0, import_smithy_client._json)(_),
1008
1016
  securityGroupIds: (_) => (0, import_smithy_client._json)(_),
1009
1017
  snsTopicArn: [],
@@ -1972,6 +1980,7 @@ var se_UpdateInfrastructureConfigurationCommand = /* @__PURE__ */ __name(async (
1972
1980
  instanceTypes: (_) => (0, import_smithy_client._json)(_),
1973
1981
  keyPair: [],
1974
1982
  logging: (_) => (0, import_smithy_client._json)(_),
1983
+ placement: (_) => (0, import_smithy_client._json)(_),
1975
1984
  resourceTags: (_) => (0, import_smithy_client._json)(_),
1976
1985
  securityGroupIds: (_) => (0, import_smithy_client._json)(_),
1977
1986
  snsTopicArn: [],
@@ -4962,6 +4971,7 @@ var paginateListWorkflows = (0, import_core.createPaginator)(ImagebuilderClient,
4962
4971
  OnWorkflowFailure,
4963
4972
  PipelineExecutionStartCondition,
4964
4973
  PipelineStatus,
4974
+ TenancyType,
4965
4975
  LifecyclePolicyDetailActionType,
4966
4976
  LifecyclePolicyTimeUnit,
4967
4977
  LifecyclePolicyDetailFilterType,
@@ -116,6 +116,7 @@ export class ServiceUnavailableException extends __BaseException {
116
116
  }
117
117
  export const Platform = {
118
118
  LINUX: "Linux",
119
+ MACOS: "macOS",
119
120
  WINDOWS: "Windows",
120
121
  };
121
122
  export const ComponentStatus = {
@@ -208,6 +209,11 @@ export const PipelineStatus = {
208
209
  DISABLED: "DISABLED",
209
210
  ENABLED: "ENABLED",
210
211
  };
212
+ export const TenancyType = {
213
+ DEDICATED: "dedicated",
214
+ DEFAULT: "default",
215
+ HOST: "host",
216
+ };
211
217
  export const LifecyclePolicyDetailActionType = {
212
218
  DELETE: "DELETE",
213
219
  DEPRECATE: "DEPRECATE",
@@ -188,6 +188,7 @@ export const se_CreateInfrastructureConfigurationCommand = async (input, context
188
188
  keyPair: [],
189
189
  logging: (_) => _json(_),
190
190
  name: [],
191
+ placement: (_) => _json(_),
191
192
  resourceTags: (_) => _json(_),
192
193
  securityGroupIds: (_) => _json(_),
193
194
  snsTopicArn: [],
@@ -1084,6 +1085,7 @@ export const se_UpdateInfrastructureConfigurationCommand = async (input, context
1084
1085
  instanceTypes: (_) => _json(_),
1085
1086
  keyPair: [],
1086
1087
  logging: (_) => _json(_),
1088
+ placement: (_) => _json(_),
1087
1089
  resourceTags: (_) => _json(_),
1088
1090
  securityGroupIds: (_) => _json(_),
1089
1091
  snsTopicArn: [],
@@ -50,7 +50,7 @@ declare const CreateComponentCommand_base: {
50
50
  * semanticVersion: "STRING_VALUE", // required
51
51
  * description: "STRING_VALUE",
52
52
  * changeDescription: "STRING_VALUE",
53
- * platform: "Windows" || "Linux", // required
53
+ * platform: "Windows" || "Linux" || "macOS", // required
54
54
  * supportedOsVersions: [ // OsVersionList
55
55
  * "STRING_VALUE",
56
56
  * ],
@@ -75,7 +75,7 @@ declare const CreateContainerRecipeCommand_base: {
75
75
  * },
76
76
  * dockerfileTemplateData: "STRING_VALUE",
77
77
  * dockerfileTemplateUri: "STRING_VALUE",
78
- * platformOverride: "Windows" || "Linux",
78
+ * platformOverride: "Windows" || "Linux" || "macOS",
79
79
  * imageOsVersionOverride: "STRING_VALUE",
80
80
  * parentImage: "STRING_VALUE", // required
81
81
  * tags: { // TagMap
@@ -65,6 +65,12 @@ declare const CreateInfrastructureConfigurationCommand_base: {
65
65
  * tags: { // TagMap
66
66
  * "<keys>": "STRING_VALUE",
67
67
  * },
68
+ * placement: { // Placement
69
+ * availabilityZone: "STRING_VALUE",
70
+ * tenancy: "default" || "dedicated" || "host",
71
+ * hostId: "STRING_VALUE",
72
+ * hostResourceGroupArn: "STRING_VALUE",
73
+ * },
68
74
  * clientToken: "STRING_VALUE", // required
69
75
  * };
70
76
  * const command = new CreateInfrastructureConfigurationCommand(input);
@@ -48,7 +48,7 @@ declare const GetComponentCommand_base: {
48
48
  * // description: "STRING_VALUE",
49
49
  * // changeDescription: "STRING_VALUE",
50
50
  * // type: "BUILD" || "TEST",
51
- * // platform: "Windows" || "Linux",
51
+ * // platform: "Windows" || "Linux" || "macOS",
52
52
  * // supportedOsVersions: [ // OsVersionList
53
53
  * // "STRING_VALUE",
54
54
  * // ],
@@ -46,7 +46,7 @@ declare const GetContainerRecipeCommand_base: {
46
46
  * // containerType: "DOCKER",
47
47
  * // name: "STRING_VALUE",
48
48
  * // description: "STRING_VALUE",
49
- * // platform: "Windows" || "Linux",
49
+ * // platform: "Windows" || "Linux" || "macOS",
50
50
  * // owner: "STRING_VALUE",
51
51
  * // version: "STRING_VALUE",
52
52
  * // components: [ // ComponentConfigurationList
@@ -46,7 +46,7 @@ declare const GetImageCommand_base: {
46
46
  * // type: "AMI" || "DOCKER",
47
47
  * // name: "STRING_VALUE",
48
48
  * // version: "STRING_VALUE",
49
- * // platform: "Windows" || "Linux",
49
+ * // platform: "Windows" || "Linux" || "macOS",
50
50
  * // enhancedImageMetadataEnabled: true || false,
51
51
  * // osVersion: "STRING_VALUE",
52
52
  * // state: { // ImageState
@@ -58,7 +58,7 @@ declare const GetImageCommand_base: {
58
58
  * // type: "AMI" || "DOCKER",
59
59
  * // name: "STRING_VALUE",
60
60
  * // description: "STRING_VALUE",
61
- * // platform: "Windows" || "Linux",
61
+ * // platform: "Windows" || "Linux" || "macOS",
62
62
  * // owner: "STRING_VALUE",
63
63
  * // version: "STRING_VALUE",
64
64
  * // components: [ // ComponentConfigurationList
@@ -109,7 +109,7 @@ declare const GetImageCommand_base: {
109
109
  * // containerType: "DOCKER",
110
110
  * // name: "STRING_VALUE",
111
111
  * // description: "STRING_VALUE",
112
- * // platform: "Windows" || "Linux",
112
+ * // platform: "Windows" || "Linux" || "macOS",
113
113
  * // owner: "STRING_VALUE",
114
114
  * // version: "STRING_VALUE",
115
115
  * // components: [
@@ -194,6 +194,12 @@ declare const GetImageCommand_base: {
194
194
  * // tags: {
195
195
  * // "<keys>": "STRING_VALUE",
196
196
  * // },
197
+ * // placement: { // Placement
198
+ * // availabilityZone: "STRING_VALUE",
199
+ * // tenancy: "default" || "dedicated" || "host",
200
+ * // hostId: "STRING_VALUE",
201
+ * // hostResourceGroupArn: "STRING_VALUE",
202
+ * // },
197
203
  * // },
198
204
  * // distributionConfiguration: { // DistributionConfiguration
199
205
  * // arn: "STRING_VALUE",
@@ -45,7 +45,7 @@ declare const GetImagePipelineCommand_base: {
45
45
  * // arn: "STRING_VALUE",
46
46
  * // name: "STRING_VALUE",
47
47
  * // description: "STRING_VALUE",
48
- * // platform: "Windows" || "Linux",
48
+ * // platform: "Windows" || "Linux" || "macOS",
49
49
  * // enhancedImageMetadataEnabled: true || false,
50
50
  * // imageRecipeArn: "STRING_VALUE",
51
51
  * // containerRecipeArn: "STRING_VALUE",
@@ -46,7 +46,7 @@ declare const GetImageRecipeCommand_base: {
46
46
  * // type: "AMI" || "DOCKER",
47
47
  * // name: "STRING_VALUE",
48
48
  * // description: "STRING_VALUE",
49
- * // platform: "Windows" || "Linux",
49
+ * // platform: "Windows" || "Linux" || "macOS",
50
50
  * // owner: "STRING_VALUE",
51
51
  * // version: "STRING_VALUE",
52
52
  * // components: [ // ComponentConfigurationList
@@ -74,6 +74,12 @@ declare const GetInfrastructureConfigurationCommand_base: {
74
74
  * // tags: { // TagMap
75
75
  * // "<keys>": "STRING_VALUE",
76
76
  * // },
77
+ * // placement: { // Placement
78
+ * // availabilityZone: "STRING_VALUE",
79
+ * // tenancy: "default" || "dedicated" || "host",
80
+ * // hostId: "STRING_VALUE",
81
+ * // hostResourceGroupArn: "STRING_VALUE",
82
+ * // },
77
83
  * // },
78
84
  * // };
79
85
  *
@@ -41,7 +41,7 @@ declare const ImportComponentCommand_base: {
41
41
  * changeDescription: "STRING_VALUE",
42
42
  * type: "BUILD" || "TEST", // required
43
43
  * format: "SHELL", // required
44
- * platform: "Windows" || "Linux", // required
44
+ * platform: "Windows" || "Linux" || "macOS", // required
45
45
  * data: "STRING_VALUE",
46
46
  * uri: "STRING_VALUE",
47
47
  * kmsKeyId: "STRING_VALUE",
@@ -45,7 +45,7 @@ declare const ImportVmImageCommand_base: {
45
45
  * name: "STRING_VALUE", // required
46
46
  * semanticVersion: "STRING_VALUE", // required
47
47
  * description: "STRING_VALUE",
48
- * platform: "Windows" || "Linux", // required
48
+ * platform: "Windows" || "Linux" || "macOS", // required
49
49
  * osVersion: "STRING_VALUE",
50
50
  * vmImportTaskId: "STRING_VALUE", // required
51
51
  * tags: { // TagMap
@@ -27,17 +27,8 @@ declare const ListComponentBuildVersionsCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Returns the list of component build versions for the specified semantic
31
- * version.</p>
32
- * <note>
33
- * <p>The semantic version has four nodes: <major>.<minor>.<patch>/<build>.
34
- * You can assign values for the first three, and can filter on all of them.</p>
35
- * <p>
36
- * <b>Filtering:</b> With semantic versioning, you have the flexibility to use wildcards (x)
37
- * to specify the most recent versions or nodes when selecting the base image or components for your
38
- * recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be
39
- * wildcards.</p>
40
- * </note>
30
+ * <p>Returns the list of component build versions for the specified component
31
+ * version Amazon Resource Name (ARN).</p>
41
32
  * @example
42
33
  * Use a bare-bones client and the command you need to make an API call.
43
34
  * ```javascript
@@ -58,7 +49,7 @@ declare const ListComponentBuildVersionsCommand_base: {
58
49
  * // arn: "STRING_VALUE",
59
50
  * // name: "STRING_VALUE",
60
51
  * // version: "STRING_VALUE",
61
- * // platform: "Windows" || "Linux",
52
+ * // platform: "Windows" || "Linux" || "macOS",
62
53
  * // supportedOsVersions: [ // OsVersionList
63
54
  * // "STRING_VALUE",
64
55
  * // ],
@@ -69,7 +69,7 @@ declare const ListComponentsCommand_base: {
69
69
  * // name: "STRING_VALUE",
70
70
  * // version: "STRING_VALUE",
71
71
  * // description: "STRING_VALUE",
72
- * // platform: "Windows" || "Linux",
72
+ * // platform: "Windows" || "Linux" || "macOS",
73
73
  * // supportedOsVersions: [ // OsVersionList
74
74
  * // "STRING_VALUE",
75
75
  * // ],
@@ -56,7 +56,7 @@ declare const ListContainerRecipesCommand_base: {
56
56
  * // arn: "STRING_VALUE",
57
57
  * // containerType: "DOCKER",
58
58
  * // name: "STRING_VALUE",
59
- * // platform: "Windows" || "Linux",
59
+ * // platform: "Windows" || "Linux" || "macOS",
60
60
  * // owner: "STRING_VALUE",
61
61
  * // parentImage: "STRING_VALUE",
62
62
  * // dateCreated: "STRING_VALUE",
@@ -57,7 +57,7 @@ declare const ListImageBuildVersionsCommand_base: {
57
57
  * // name: "STRING_VALUE",
58
58
  * // type: "AMI" || "DOCKER",
59
59
  * // version: "STRING_VALUE",
60
- * // platform: "Windows" || "Linux",
60
+ * // platform: "Windows" || "Linux" || "macOS",
61
61
  * // osVersion: "STRING_VALUE",
62
62
  * // state: { // ImageState
63
63
  * // status: "PENDING" || "CREATING" || "BUILDING" || "TESTING" || "DISTRIBUTING" || "INTEGRATING" || "AVAILABLE" || "CANCELLED" || "FAILED" || "DEPRECATED" || "DELETED" || "DISABLED",
@@ -57,7 +57,7 @@ declare const ListImagePipelineImagesCommand_base: {
57
57
  * // name: "STRING_VALUE",
58
58
  * // type: "AMI" || "DOCKER",
59
59
  * // version: "STRING_VALUE",
60
- * // platform: "Windows" || "Linux",
60
+ * // platform: "Windows" || "Linux" || "macOS",
61
61
  * // osVersion: "STRING_VALUE",
62
62
  * // state: { // ImageState
63
63
  * // status: "PENDING" || "CREATING" || "BUILDING" || "TESTING" || "DISTRIBUTING" || "INTEGRATING" || "AVAILABLE" || "CANCELLED" || "FAILED" || "DEPRECATED" || "DELETED" || "DISABLED",
@@ -55,7 +55,7 @@ declare const ListImagePipelinesCommand_base: {
55
55
  * // arn: "STRING_VALUE",
56
56
  * // name: "STRING_VALUE",
57
57
  * // description: "STRING_VALUE",
58
- * // platform: "Windows" || "Linux",
58
+ * // platform: "Windows" || "Linux" || "macOS",
59
59
  * // enhancedImageMetadataEnabled: true || false,
60
60
  * // imageRecipeArn: "STRING_VALUE",
61
61
  * // containerRecipeArn: "STRING_VALUE",
@@ -55,7 +55,7 @@ declare const ListImageRecipesCommand_base: {
55
55
  * // { // ImageRecipeSummary
56
56
  * // arn: "STRING_VALUE",
57
57
  * // name: "STRING_VALUE",
58
- * // platform: "Windows" || "Linux",
58
+ * // platform: "Windows" || "Linux" || "macOS",
59
59
  * // owner: "STRING_VALUE",
60
60
  * // parentImage: "STRING_VALUE",
61
61
  * // dateCreated: "STRING_VALUE",
@@ -60,7 +60,7 @@ declare const ListImagesCommand_base: {
60
60
  * // name: "STRING_VALUE",
61
61
  * // type: "AMI" || "DOCKER",
62
62
  * // version: "STRING_VALUE",
63
- * // platform: "Windows" || "Linux",
63
+ * // platform: "Windows" || "Linux" || "macOS",
64
64
  * // osVersion: "STRING_VALUE",
65
65
  * // owner: "STRING_VALUE",
66
66
  * // dateCreated: "STRING_VALUE",
@@ -67,6 +67,12 @@ declare const ListInfrastructureConfigurationsCommand_base: {
67
67
  * // "STRING_VALUE",
68
68
  * // ],
69
69
  * // instanceProfileName: "STRING_VALUE",
70
+ * // placement: { // Placement
71
+ * // availabilityZone: "STRING_VALUE",
72
+ * // tenancy: "default" || "dedicated" || "host",
73
+ * // hostId: "STRING_VALUE",
74
+ * // hostResourceGroupArn: "STRING_VALUE",
75
+ * // },
70
76
  * // },
71
77
  * // ],
72
78
  * // nextToken: "STRING_VALUE",
@@ -55,7 +55,6 @@ declare const UpdateInfrastructureConfigurationCommand_base: {
55
55
  * keyPair: "STRING_VALUE",
56
56
  * terminateInstanceOnFailure: true || false,
57
57
  * snsTopicArn: "STRING_VALUE",
58
- * clientToken: "STRING_VALUE", // required
59
58
  * resourceTags: { // ResourceTagMap
60
59
  * "<keys>": "STRING_VALUE",
61
60
  * },
@@ -63,6 +62,13 @@ declare const UpdateInfrastructureConfigurationCommand_base: {
63
62
  * httpTokens: "STRING_VALUE",
64
63
  * httpPutResponseHopLimit: Number("int"),
65
64
  * },
65
+ * placement: { // Placement
66
+ * availabilityZone: "STRING_VALUE",
67
+ * tenancy: "default" || "dedicated" || "host",
68
+ * hostId: "STRING_VALUE",
69
+ * hostResourceGroupArn: "STRING_VALUE",
70
+ * },
71
+ * clientToken: "STRING_VALUE", // required
66
72
  * };
67
73
  * const command = new UpdateInfrastructureConfigurationCommand(input);
68
74
  * const response = await client.send(command);
@@ -460,6 +460,7 @@ export interface ComponentParameterDetail {
460
460
  */
461
461
  export declare const Platform: {
462
462
  readonly LINUX: "Linux";
463
+ readonly MACOS: "macOS";
463
464
  readonly WINDOWS: "Windows";
464
465
  };
465
466
  /**
@@ -1423,7 +1424,7 @@ export interface CreateContainerRecipeRequest {
1423
1424
  */
1424
1425
  targetRepository: TargetContainerRepository | undefined;
1425
1426
  /**
1426
- * <p>Identifies which KMS key is used to encrypt the container image.</p>
1427
+ * <p>Identifies which KMS key is used to encrypt the Dockerfile template.</p>
1427
1428
  * @public
1428
1429
  */
1429
1430
  kmsKeyId?: string;
@@ -1739,7 +1740,7 @@ export interface EcrConfiguration {
1739
1740
  */
1740
1741
  repositoryName?: string;
1741
1742
  /**
1742
- * <p>Tags for Image Builder to apply to the output container image that &INS; scans. Tags can
1743
+ * <p>Tags for Image Builder to apply to the output container image that Amazon Inspector scans. Tags can
1743
1744
  * help you identify and manage your scanned images.</p>
1744
1745
  * @public
1745
1746
  */
@@ -2266,6 +2267,59 @@ export interface Logging {
2266
2267
  */
2267
2268
  s3Logs?: S3Logs;
2268
2269
  }
2270
+ /**
2271
+ * @public
2272
+ * @enum
2273
+ */
2274
+ export declare const TenancyType: {
2275
+ readonly DEDICATED: "dedicated";
2276
+ readonly DEFAULT: "default";
2277
+ readonly HOST: "host";
2278
+ };
2279
+ /**
2280
+ * @public
2281
+ */
2282
+ export type TenancyType = (typeof TenancyType)[keyof typeof TenancyType];
2283
+ /**
2284
+ * <p>By default, EC2 instances run on shared tenancy hardware. This means that multiple
2285
+ * Amazon Web Services accounts might share the same physical hardware. When you use dedicated hardware,
2286
+ * the physical server that hosts your instances is dedicated to your Amazon Web Services account.
2287
+ * Instance placement settings contain the details for the physical hardware where
2288
+ * instances that Image Builder launches during image creation will run.</p>
2289
+ * @public
2290
+ */
2291
+ export interface Placement {
2292
+ /**
2293
+ * <p>The Availability Zone where your build and test instances will launch.</p>
2294
+ * @public
2295
+ */
2296
+ availabilityZone?: string;
2297
+ /**
2298
+ * <p>The tenancy of the instance. An instance with a tenancy of <code>dedicated</code>
2299
+ * runs on single-tenant hardware. An instance with a tenancy of <code>host</code> runs
2300
+ * on a Dedicated Host.</p>
2301
+ * <p>If tenancy is set to <code>host</code>, then you can optionally specify one target
2302
+ * for placement – either host ID or host resource group ARN. If automatic placement
2303
+ * is enabled for your host, and you don't specify any placement target, Amazon EC2 will try to
2304
+ * find an available host for your build and test instances.</p>
2305
+ * @public
2306
+ */
2307
+ tenancy?: TenancyType;
2308
+ /**
2309
+ * <p>The ID of the Dedicated Host on which build and test instances run. This only
2310
+ * applies if <code>tenancy</code> is <code>host</code>. If you specify the host ID, you
2311
+ * must not specify the resource group ARN. If you specify both, Image Builder returns an error.</p>
2312
+ * @public
2313
+ */
2314
+ hostId?: string;
2315
+ /**
2316
+ * <p>The Amazon Resource Name (ARN) of the host resource group in which to launch build and test instances.
2317
+ * This only applies if <code>tenancy</code> is <code>host</code>. If you specify the resource
2318
+ * group ARN, you must not specify the host ID. If you specify both, Image Builder returns an error.</p>
2319
+ * @public
2320
+ */
2321
+ hostResourceGroupArn?: string;
2322
+ }
2269
2323
  /**
2270
2324
  * @public
2271
2325
  */
@@ -2334,7 +2388,8 @@ export interface CreateInfrastructureConfigurationRequest {
2334
2388
  */
2335
2389
  snsTopicArn?: string;
2336
2390
  /**
2337
- * <p>The tags attached to the resource created by Image Builder.</p>
2391
+ * <p>The metadata tags to assign to the Amazon EC2 instance that Image Builder launches during the build process.
2392
+ * Tags are formatted as key value pairs.</p>
2338
2393
  * @public
2339
2394
  */
2340
2395
  resourceTags?: Record<string, string>;
@@ -2345,10 +2400,17 @@ export interface CreateInfrastructureConfigurationRequest {
2345
2400
  */
2346
2401
  instanceMetadataOptions?: InstanceMetadataOptions;
2347
2402
  /**
2348
- * <p>The tags of the infrastructure configuration.</p>
2403
+ * <p>The metadata tags to assign to the infrastructure configuration resource that Image Builder
2404
+ * creates as output. Tags are formatted as key value pairs.</p>
2349
2405
  * @public
2350
2406
  */
2351
2407
  tags?: Record<string, string>;
2408
+ /**
2409
+ * <p>The instance placement settings that define where the instances that are launched
2410
+ * from your image will run.</p>
2411
+ * @public
2412
+ */
2413
+ placement?: Placement;
2352
2414
  /**
2353
2415
  * <p>Unique, case-sensitive identifier you provide to ensure
2354
2416
  * 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>
@@ -3583,6 +3645,12 @@ export interface InfrastructureConfiguration {
3583
3645
  * @public
3584
3646
  */
3585
3647
  tags?: Record<string, string>;
3648
+ /**
3649
+ * <p>The instance placement settings that define where the instances that are launched
3650
+ * from your image will run.</p>
3651
+ * @public
3652
+ */
3653
+ placement?: Placement;
3586
3654
  }
3587
3655
  /**
3588
3656
  * <p>The resources produced by this image.</p>
@@ -6371,6 +6439,12 @@ export interface InfrastructureConfigurationSummary {
6371
6439
  * @public
6372
6440
  */
6373
6441
  instanceProfileName?: string;
6442
+ /**
6443
+ * <p>The instance placement settings that define where the instances that are launched
6444
+ * from your image will run.</p>
6445
+ * @public
6446
+ */
6447
+ placement?: Placement;
6374
6448
  }
6375
6449
  /**
6376
6450
  * @public
@@ -7902,13 +7976,6 @@ export interface UpdateInfrastructureConfigurationRequest {
7902
7976
  * @public
7903
7977
  */
7904
7978
  snsTopicArn?: string;
7905
- /**
7906
- * <p>Unique, case-sensitive identifier you provide to ensure
7907
- * 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>
7908
- * in the <i>Amazon EC2 API Reference</i>.</p>
7909
- * @public
7910
- */
7911
- clientToken?: string;
7912
7979
  /**
7913
7980
  * <p>The tags attached to the resource created by Image Builder.</p>
7914
7981
  * @public
@@ -7937,6 +8004,19 @@ export interface UpdateInfrastructureConfigurationRequest {
7937
8004
  * @public
7938
8005
  */
7939
8006
  instanceMetadataOptions?: InstanceMetadataOptions;
8007
+ /**
8008
+ * <p>The instance placement settings that define where the instances that are launched
8009
+ * from your image will run.</p>
8010
+ * @public
8011
+ */
8012
+ placement?: Placement;
8013
+ /**
8014
+ * <p>Unique, case-sensitive identifier you provide to ensure
8015
+ * 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>
8016
+ * in the <i>Amazon EC2 API Reference</i>.</p>
8017
+ * @public
8018
+ */
8019
+ clientToken?: string;
7940
8020
  }
7941
8021
  /**
7942
8022
  * @public
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: ImagebuilderClientConfig) => {
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
11
- defaultUserAgentProvider: (config: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
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>;
14
14
  requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
@@ -20,7 +20,7 @@ export declare const getRuntimeConfig: (config: ImagebuilderClientConfig) => {
20
20
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
21
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
22
22
  region: string | import("@smithy/types").Provider<any>;
23
- defaultUserAgentProvider: (config: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
23
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
24
24
  credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
25
25
  maxAttempts: number | import("@smithy/types").Provider<number>;
26
26
  retryMode: string | import("@smithy/types").Provider<string>;
@@ -141,6 +141,7 @@ export interface ComponentParameterDetail {
141
141
  }
142
142
  export declare const Platform: {
143
143
  readonly LINUX: "Linux";
144
+ readonly MACOS: "macOS";
144
145
  readonly WINDOWS: "Windows";
145
146
  };
146
147
  export type Platform = (typeof Platform)[keyof typeof Platform];
@@ -538,6 +539,18 @@ export interface S3Logs {
538
539
  export interface Logging {
539
540
  s3Logs?: S3Logs;
540
541
  }
542
+ export declare const TenancyType: {
543
+ readonly DEDICATED: "dedicated";
544
+ readonly DEFAULT: "default";
545
+ readonly HOST: "host";
546
+ };
547
+ export type TenancyType = (typeof TenancyType)[keyof typeof TenancyType];
548
+ export interface Placement {
549
+ availabilityZone?: string;
550
+ tenancy?: TenancyType;
551
+ hostId?: string;
552
+ hostResourceGroupArn?: string;
553
+ }
541
554
  export interface CreateInfrastructureConfigurationRequest {
542
555
  name: string | undefined;
543
556
  description?: string;
@@ -552,6 +565,7 @@ export interface CreateInfrastructureConfigurationRequest {
552
565
  resourceTags?: Record<string, string>;
553
566
  instanceMetadataOptions?: InstanceMetadataOptions;
554
567
  tags?: Record<string, string>;
568
+ placement?: Placement;
555
569
  clientToken?: string;
556
570
  }
557
571
  export interface CreateInfrastructureConfigurationResponse {
@@ -871,6 +885,7 @@ export interface InfrastructureConfiguration {
871
885
  resourceTags?: Record<string, string>;
872
886
  instanceMetadataOptions?: InstanceMetadataOptions;
873
887
  tags?: Record<string, string>;
888
+ placement?: Placement;
874
889
  }
875
890
  export interface OutputResources {
876
891
  amis?: Ami[];
@@ -1447,6 +1462,7 @@ export interface InfrastructureConfigurationSummary {
1447
1462
  tags?: Record<string, string>;
1448
1463
  instanceTypes?: string[];
1449
1464
  instanceProfileName?: string;
1465
+ placement?: Placement;
1450
1466
  }
1451
1467
  export interface ListInfrastructureConfigurationsResponse {
1452
1468
  requestId?: string;
@@ -1809,9 +1825,10 @@ export interface UpdateInfrastructureConfigurationRequest {
1809
1825
  keyPair?: string;
1810
1826
  terminateInstanceOnFailure?: boolean;
1811
1827
  snsTopicArn?: string;
1812
- clientToken?: string;
1813
1828
  resourceTags?: Record<string, string>;
1814
1829
  instanceMetadataOptions?: InstanceMetadataOptions;
1830
+ placement?: Placement;
1831
+ clientToken?: string;
1815
1832
  }
1816
1833
  export interface UpdateInfrastructureConfigurationResponse {
1817
1834
  requestId?: string;
@@ -10,7 +10,9 @@ export declare const getRuntimeConfig: (config: ImagebuilderClientConfig) => {
10
10
  input: any
11
11
  ) => import("@smithy/types").AwsCredentialIdentityProvider;
12
12
  defaultUserAgentProvider: (
13
- config: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
13
+ config?:
14
+ | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
15
+ | undefined
14
16
  ) => Promise<import("@smithy/types").UserAgent>;
15
17
  maxAttempts: number | import("@smithy/types").Provider<number>;
16
18
  region: string | import("@smithy/types").Provider<any>;
@@ -23,7 +23,9 @@ export declare const getRuntimeConfig: (config: ImagebuilderClientConfig) => {
23
23
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
24
24
  region: string | import("@smithy/types").Provider<any>;
25
25
  defaultUserAgentProvider: (
26
- config: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
26
+ config?:
27
+ | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
28
+ | undefined
27
29
  ) => Promise<import("@smithy/types").UserAgent>;
28
30
  credentialDefaultProvider: (
29
31
  input: any
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.674.0",
4
+ "version": "3.677.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,19 +20,19 @@
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.670.0",
24
- "@aws-sdk/client-sts": "3.670.0",
25
- "@aws-sdk/core": "3.667.0",
26
- "@aws-sdk/credential-provider-node": "3.670.0",
23
+ "@aws-sdk/client-sso-oidc": "3.677.0",
24
+ "@aws-sdk/client-sts": "3.677.0",
25
+ "@aws-sdk/core": "3.677.0",
26
+ "@aws-sdk/credential-provider-node": "3.677.0",
27
27
  "@aws-sdk/middleware-host-header": "3.667.0",
28
28
  "@aws-sdk/middleware-logger": "3.667.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.667.0",
30
- "@aws-sdk/middleware-user-agent": "3.669.0",
30
+ "@aws-sdk/middleware-user-agent": "3.677.0",
31
31
  "@aws-sdk/region-config-resolver": "3.667.0",
32
32
  "@aws-sdk/types": "3.667.0",
33
33
  "@aws-sdk/util-endpoints": "3.667.0",
34
- "@aws-sdk/util-user-agent-browser": "3.670.0",
35
- "@aws-sdk/util-user-agent-node": "3.669.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.675.0",
35
+ "@aws-sdk/util-user-agent-node": "3.677.0",
36
36
  "@smithy/config-resolver": "^3.0.9",
37
37
  "@smithy/core": "^2.4.8",
38
38
  "@smithy/fetch-http-handler": "^3.2.9",