Skip to content

Commit df4c455

Browse files
author
awstools
committed
feat(client-imagebuilder): Add macOS platform and instance placement options
1 parent d930c21 commit df4c455

25 files changed

+260
-57
lines changed

clients/client-imagebuilder/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ and settings to meet specific IT standards.</p>
1313

1414
## Installing
1515

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
1717
using your favorite package manager:
1818

1919
- `npm install @aws-sdk/client-imagebuilder`

clients/client-imagebuilder/src/commands/CreateComponentCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export interface CreateComponentCommandOutput extends CreateComponentResponse, _
5151
* semanticVersion: "STRING_VALUE", // required
5252
* description: "STRING_VALUE",
5353
* changeDescription: "STRING_VALUE",
54-
* platform: "Windows" || "Linux", // required
54+
* platform: "Windows" || "Linux" || "macOS", // required
5555
* supportedOsVersions: [ // OsVersionList
5656
* "STRING_VALUE",
5757
* ],

clients/client-imagebuilder/src/commands/CreateContainerRecipeCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export interface CreateContainerRecipeCommandOutput extends CreateContainerRecip
7676
* },
7777
* dockerfileTemplateData: "STRING_VALUE",
7878
* dockerfileTemplateUri: "STRING_VALUE",
79-
* platformOverride: "Windows" || "Linux",
79+
* platformOverride: "Windows" || "Linux" || "macOS",
8080
* imageOsVersionOverride: "STRING_VALUE",
8181
* parentImage: "STRING_VALUE", // required
8282
* tags: { // TagMap

clients/client-imagebuilder/src/commands/CreateInfrastructureConfigurationCommand.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,12 @@ export interface CreateInfrastructureConfigurationCommandOutput
7474
* tags: { // TagMap
7575
* "<keys>": "STRING_VALUE",
7676
* },
77+
* placement: { // Placement
78+
* availabilityZone: "STRING_VALUE",
79+
* tenancy: "default" || "dedicated" || "host",
80+
* hostId: "STRING_VALUE",
81+
* hostResourceGroupArn: "STRING_VALUE",
82+
* },
7783
* clientToken: "STRING_VALUE", // required
7884
* };
7985
* const command = new CreateInfrastructureConfigurationCommand(input);

clients/client-imagebuilder/src/commands/GetComponentCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export interface GetComponentCommandOutput extends GetComponentResponse, __Metad
4949
* // description: "STRING_VALUE",
5050
* // changeDescription: "STRING_VALUE",
5151
* // type: "BUILD" || "TEST",
52-
* // platform: "Windows" || "Linux",
52+
* // platform: "Windows" || "Linux" || "macOS",
5353
* // supportedOsVersions: [ // OsVersionList
5454
* // "STRING_VALUE",
5555
* // ],

clients/client-imagebuilder/src/commands/GetContainerRecipeCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export interface GetContainerRecipeCommandOutput extends GetContainerRecipeRespo
4747
* // containerType: "DOCKER",
4848
* // name: "STRING_VALUE",
4949
* // description: "STRING_VALUE",
50-
* // platform: "Windows" || "Linux",
50+
* // platform: "Windows" || "Linux" || "macOS",
5151
* // owner: "STRING_VALUE",
5252
* // version: "STRING_VALUE",
5353
* // components: [ // ComponentConfigurationList

clients/client-imagebuilder/src/commands/GetImageCommand.ts

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export interface GetImageCommandOutput extends GetImageResponse, __MetadataBeare
4747
* // type: "AMI" || "DOCKER",
4848
* // name: "STRING_VALUE",
4949
* // version: "STRING_VALUE",
50-
* // platform: "Windows" || "Linux",
50+
* // platform: "Windows" || "Linux" || "macOS",
5151
* // enhancedImageMetadataEnabled: true || false,
5252
* // osVersion: "STRING_VALUE",
5353
* // state: { // ImageState
@@ -59,7 +59,7 @@ export interface GetImageCommandOutput extends GetImageResponse, __MetadataBeare
5959
* // type: "AMI" || "DOCKER",
6060
* // name: "STRING_VALUE",
6161
* // description: "STRING_VALUE",
62-
* // platform: "Windows" || "Linux",
62+
* // platform: "Windows" || "Linux" || "macOS",
6363
* // owner: "STRING_VALUE",
6464
* // version: "STRING_VALUE",
6565
* // components: [ // ComponentConfigurationList
@@ -110,7 +110,7 @@ export interface GetImageCommandOutput extends GetImageResponse, __MetadataBeare
110110
* // containerType: "DOCKER",
111111
* // name: "STRING_VALUE",
112112
* // description: "STRING_VALUE",
113-
* // platform: "Windows" || "Linux",
113+
* // platform: "Windows" || "Linux" || "macOS",
114114
* // owner: "STRING_VALUE",
115115
* // version: "STRING_VALUE",
116116
* // components: [
@@ -195,6 +195,12 @@ export interface GetImageCommandOutput extends GetImageResponse, __MetadataBeare
195195
* // tags: {
196196
* // "<keys>": "STRING_VALUE",
197197
* // },
198+
* // placement: { // Placement
199+
* // availabilityZone: "STRING_VALUE",
200+
* // tenancy: "default" || "dedicated" || "host",
201+
* // hostId: "STRING_VALUE",
202+
* // hostResourceGroupArn: "STRING_VALUE",
203+
* // },
198204
* // },
199205
* // distributionConfiguration: { // DistributionConfiguration
200206
* // arn: "STRING_VALUE",

clients/client-imagebuilder/src/commands/GetImagePipelineCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export interface GetImagePipelineCommandOutput extends GetImagePipelineResponse,
4646
* // arn: "STRING_VALUE",
4747
* // name: "STRING_VALUE",
4848
* // description: "STRING_VALUE",
49-
* // platform: "Windows" || "Linux",
49+
* // platform: "Windows" || "Linux" || "macOS",
5050
* // enhancedImageMetadataEnabled: true || false,
5151
* // imageRecipeArn: "STRING_VALUE",
5252
* // containerRecipeArn: "STRING_VALUE",

clients/client-imagebuilder/src/commands/GetImageRecipeCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export interface GetImageRecipeCommandOutput extends GetImageRecipeResponse, __M
4747
* // type: "AMI" || "DOCKER",
4848
* // name: "STRING_VALUE",
4949
* // description: "STRING_VALUE",
50-
* // platform: "Windows" || "Linux",
50+
* // platform: "Windows" || "Linux" || "macOS",
5151
* // owner: "STRING_VALUE",
5252
* // version: "STRING_VALUE",
5353
* // components: [ // ComponentConfigurationList

clients/client-imagebuilder/src/commands/GetInfrastructureConfigurationCommand.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,12 @@ export interface GetInfrastructureConfigurationCommandOutput
8080
* // tags: { // TagMap
8181
* // "<keys>": "STRING_VALUE",
8282
* // },
83+
* // placement: { // Placement
84+
* // availabilityZone: "STRING_VALUE",
85+
* // tenancy: "default" || "dedicated" || "host",
86+
* // hostId: "STRING_VALUE",
87+
* // hostResourceGroupArn: "STRING_VALUE",
88+
* // },
8389
* // },
8490
* // };
8591
*

0 commit comments

Comments
 (0)