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
*

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export interface ImportComponentCommandOutput extends ImportComponentResponse, _
4242
* changeDescription: "STRING_VALUE",
4343
* type: "BUILD" || "TEST", // required
4444
* format: "SHELL", // required
45-
* platform: "Windows" || "Linux", // required
45+
* platform: "Windows" || "Linux" || "macOS", // required
4646
* data: "STRING_VALUE",
4747
* uri: "STRING_VALUE",
4848
* kmsKeyId: "STRING_VALUE",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export interface ImportVmImageCommandOutput extends ImportVmImageResponse, __Met
4646
* name: "STRING_VALUE", // required
4747
* semanticVersion: "STRING_VALUE", // required
4848
* description: "STRING_VALUE",
49-
* platform: "Windows" || "Linux", // required
49+
* platform: "Windows" || "Linux" || "macOS", // required
5050
* osVersion: "STRING_VALUE",
5151
* vmImportTaskId: "STRING_VALUE", // required
5252
* tags: { // TagMap

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

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,8 @@ export interface ListComponentBuildVersionsCommandInput extends ListComponentBui
2828
export interface ListComponentBuildVersionsCommandOutput extends ListComponentBuildVersionsResponse, __MetadataBearer {}
2929

3030
/**
31-
* <p>Returns the list of component build versions for the specified semantic
32-
* version.</p>
33-
* <note>
34-
* <p>The semantic version has four nodes: <major>.<minor>.<patch>/<build>.
35-
* You can assign values for the first three, and can filter on all of them.</p>
36-
* <p>
37-
* <b>Filtering:</b> With semantic versioning, you have the flexibility to use wildcards (x)
38-
* to specify the most recent versions or nodes when selecting the base image or components for your
39-
* recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be
40-
* wildcards.</p>
41-
* </note>
31+
* <p>Returns the list of component build versions for the specified component
32+
* version Amazon Resource Name (ARN).</p>
4233
* @example
4334
* Use a bare-bones client and the command you need to make an API call.
4435
* ```javascript
@@ -59,7 +50,7 @@ export interface ListComponentBuildVersionsCommandOutput extends ListComponentBu
5950
* // arn: "STRING_VALUE",
6051
* // name: "STRING_VALUE",
6152
* // version: "STRING_VALUE",
62-
* // platform: "Windows" || "Linux",
53+
* // platform: "Windows" || "Linux" || "macOS",
6354
* // supportedOsVersions: [ // OsVersionList
6455
* // "STRING_VALUE",
6556
* // ],

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export interface ListComponentsCommandOutput extends ListComponentsResponse, __M
7070
* // name: "STRING_VALUE",
7171
* // version: "STRING_VALUE",
7272
* // description: "STRING_VALUE",
73-
* // platform: "Windows" || "Linux",
73+
* // platform: "Windows" || "Linux" || "macOS",
7474
* // supportedOsVersions: [ // OsVersionList
7575
* // "STRING_VALUE",
7676
* // ],

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export interface ListContainerRecipesCommandOutput extends ListContainerRecipesR
5757
* // arn: "STRING_VALUE",
5858
* // containerType: "DOCKER",
5959
* // name: "STRING_VALUE",
60-
* // platform: "Windows" || "Linux",
60+
* // platform: "Windows" || "Linux" || "macOS",
6161
* // owner: "STRING_VALUE",
6262
* // parentImage: "STRING_VALUE",
6363
* // dateCreated: "STRING_VALUE",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export interface ListImageBuildVersionsCommandOutput extends ListImageBuildVersi
5858
* // name: "STRING_VALUE",
5959
* // type: "AMI" || "DOCKER",
6060
* // version: "STRING_VALUE",
61-
* // platform: "Windows" || "Linux",
61+
* // platform: "Windows" || "Linux" || "macOS",
6262
* // osVersion: "STRING_VALUE",
6363
* // state: { // ImageState
6464
* // status: "PENDING" || "CREATING" || "BUILDING" || "TESTING" || "DISTRIBUTING" || "INTEGRATING" || "AVAILABLE" || "CANCELLED" || "FAILED" || "DEPRECATED" || "DELETED" || "DISABLED",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export interface ListImagePipelineImagesCommandOutput extends ListImagePipelineI
5858
* // name: "STRING_VALUE",
5959
* // type: "AMI" || "DOCKER",
6060
* // version: "STRING_VALUE",
61-
* // platform: "Windows" || "Linux",
61+
* // platform: "Windows" || "Linux" || "macOS",
6262
* // osVersion: "STRING_VALUE",
6363
* // state: { // ImageState
6464
* // status: "PENDING" || "CREATING" || "BUILDING" || "TESTING" || "DISTRIBUTING" || "INTEGRATING" || "AVAILABLE" || "CANCELLED" || "FAILED" || "DEPRECATED" || "DELETED" || "DISABLED",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export interface ListImagePipelinesCommandOutput extends ListImagePipelinesRespo
5656
* // arn: "STRING_VALUE",
5757
* // name: "STRING_VALUE",
5858
* // description: "STRING_VALUE",
59-
* // platform: "Windows" || "Linux",
59+
* // platform: "Windows" || "Linux" || "macOS",
6060
* // enhancedImageMetadataEnabled: true || false,
6161
* // imageRecipeArn: "STRING_VALUE",
6262
* // containerRecipeArn: "STRING_VALUE",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export interface ListImageRecipesCommandOutput extends ListImageRecipesResponse,
5656
* // { // ImageRecipeSummary
5757
* // arn: "STRING_VALUE",
5858
* // name: "STRING_VALUE",
59-
* // platform: "Windows" || "Linux",
59+
* // platform: "Windows" || "Linux" || "macOS",
6060
* // owner: "STRING_VALUE",
6161
* // parentImage: "STRING_VALUE",
6262
* // dateCreated: "STRING_VALUE",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export interface ListImagesCommandOutput extends ListImagesResponse, __MetadataB
6161
* // name: "STRING_VALUE",
6262
* // type: "AMI" || "DOCKER",
6363
* // version: "STRING_VALUE",
64-
* // platform: "Windows" || "Linux",
64+
* // platform: "Windows" || "Linux" || "macOS",
6565
* // osVersion: "STRING_VALUE",
6666
* // owner: "STRING_VALUE",
6767
* // dateCreated: "STRING_VALUE",

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,12 @@ export interface ListInfrastructureConfigurationsCommandOutput
7373
* // "STRING_VALUE",
7474
* // ],
7575
* // instanceProfileName: "STRING_VALUE",
76+
* // placement: { // Placement
77+
* // availabilityZone: "STRING_VALUE",
78+
* // tenancy: "default" || "dedicated" || "host",
79+
* // hostId: "STRING_VALUE",
80+
* // hostResourceGroupArn: "STRING_VALUE",
81+
* // },
7682
* // },
7783
* // ],
7884
* // nextToken: "STRING_VALUE",

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,20 @@ export interface UpdateInfrastructureConfigurationCommandOutput
6464
* keyPair: "STRING_VALUE",
6565
* terminateInstanceOnFailure: true || false,
6666
* snsTopicArn: "STRING_VALUE",
67-
* clientToken: "STRING_VALUE", // required
6867
* resourceTags: { // ResourceTagMap
6968
* "<keys>": "STRING_VALUE",
7069
* },
7170
* instanceMetadataOptions: { // InstanceMetadataOptions
7271
* httpTokens: "STRING_VALUE",
7372
* httpPutResponseHopLimit: Number("int"),
7473
* },
74+
* placement: { // Placement
75+
* availabilityZone: "STRING_VALUE",
76+
* tenancy: "default" || "dedicated" || "host",
77+
* hostId: "STRING_VALUE",
78+
* hostResourceGroupArn: "STRING_VALUE",
79+
* },
80+
* clientToken: "STRING_VALUE", // required
7581
* };
7682
* const command = new UpdateInfrastructureConfigurationCommand(input);
7783
* const response = await client.send(command);

0 commit comments

Comments
 (0)