Skip to content

Commit a492f73

Browse files
author
awstools
committed
feat(client-ec2): Adds support for linkedGroupId on the CreatePlacementGroup and DescribePlacementGroups APIs. The linkedGroupId parameter is reserved for future use.
1 parent 53e59c6 commit a492f73

File tree

5 files changed

+35
-2
lines changed

5 files changed

+35
-2
lines changed

clients/client-ec2/src/commands/CreatePlacementGroupCommand.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ export interface CreatePlacementGroupCommandOutput extends CreatePlacementGroupR
5959
* },
6060
* ],
6161
* SpreadLevel: "host" || "rack",
62+
* LinkedGroupId: "STRING_VALUE",
6263
* DryRun: true || false,
6364
* GroupName: "STRING_VALUE",
6465
* Strategy: "cluster" || "spread" || "partition",
@@ -80,6 +81,7 @@ export interface CreatePlacementGroupCommandOutput extends CreatePlacementGroupR
8081
* // ],
8182
* // GroupArn: "STRING_VALUE",
8283
* // SpreadLevel: "host" || "rack",
84+
* // LinkedGroupId: "STRING_VALUE",
8385
* // },
8486
* // };
8587
*

clients/client-ec2/src/commands/DescribePlacementGroupsCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ export interface DescribePlacementGroupsCommandOutput extends DescribePlacementG
8080
* // ],
8181
* // GroupArn: "STRING_VALUE",
8282
* // SpreadLevel: "host" || "rack",
83+
* // LinkedGroupId: "STRING_VALUE",
8384
* // },
8485
* // ],
8586
* // };

clients/client-ec2/src/models/models_1.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12435,6 +12435,12 @@ export interface CreatePlacementGroupRequest {
1243512435
*/
1243612436
SpreadLevel?: SpreadLevel | undefined;
1243712437

12438+
/**
12439+
* <p>Reserved for future use.</p>
12440+
* @public
12441+
*/
12442+
LinkedGroupId?: string | undefined;
12443+
1243812444
/**
1243912445
* <p>Checks whether you have the required permissions for the operation, without actually making the
1244012446
* request, and provides an error response. If you have the required permissions, the error response is
@@ -12512,6 +12518,12 @@ export interface PlacementGroup {
1251212518
* @public
1251312519
*/
1251412520
SpreadLevel?: SpreadLevel | undefined;
12521+
12522+
/**
12523+
* <p>Reserved for future use.</p>
12524+
* @public
12525+
*/
12526+
LinkedGroupId?: string | undefined;
1251512527
}
1251612528

1251712529
/**

clients/client-ec2/src/schemas/schemas_0.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3486,6 +3486,7 @@ const _LG = "LocalGateways";
34863486
const _LGA = "LogGroupArn";
34873487
const _LGI = "LocalGatewayId";
34883488
const _LGIS = "LocalGatewayIdSet";
3489+
const _LGIi = "LinkedGroupId";
34893490
const _LGIo = "LocalGatewayIds";
34903491
const _LGN = "LogGroupName";
34913492
const _LGR = "LocalGatewayRoute";
@@ -6889,6 +6890,7 @@ const _lFA = "lambdaFunctionArn";
68896890
const _lG = "launchGroup";
68906891
const _lGA = "logGroupArn";
68916892
const _lGI = "localGatewayId";
6893+
const _lGIi = "linkedGroupId";
68926894
const _lGN = "logGroupName";
68936895
const _lGRT = "localGatewayRouteTable";
68946896
const _lGRTA = "localGatewayRouteTableArn";
@@ -11709,11 +11711,12 @@ export var CreatePlacementGroupRequest$: StaticStructureSchema = [
1170911711
n0,
1171011712
_CPGR,
1171111713
0,
11712-
[_PCa, _TS, _SLp, _DR, _GN, _Str],
11714+
[_PCa, _TS, _SLp, _LGIi, _DR, _GN, _Str],
1171311715
[
1171411716
1,
1171511717
[() => TagSpecificationList, { [_xN]: _TSa }],
1171611718
0,
11719+
0,
1171711720
[2, { [_eQN]: `DryRun`, [_xN]: _dR }],
1171811721
[0, { [_eQN]: `GroupName`, [_xN]: _gN }],
1171911722
[0, { [_eQN]: `Strategy`, [_xN]: _str }],
@@ -27378,7 +27381,7 @@ export var PlacementGroup$: StaticStructureSchema = [
2737827381
n0,
2737927382
_PG,
2738027383
0,
27381-
[_GN, _St, _Str, _PCa, _GIr, _T, _GA, _SLp],
27384+
[_GN, _St, _Str, _PCa, _GIr, _T, _GA, _SLp, _LGIi],
2738227385
[
2738327386
[0, { [_eQN]: `GroupName`, [_xN]: _gN }],
2738427387
[0, { [_eQN]: `State`, [_xN]: _st }],
@@ -27388,6 +27391,7 @@ export var PlacementGroup$: StaticStructureSchema = [
2738827391
[() => TagList, { [_eQN]: `TagSet`, [_xN]: _tS }],
2738927392
[0, { [_eQN]: `GroupArn`, [_xN]: _gA }],
2739027393
[0, { [_eQN]: `SpreadLevel`, [_xN]: _sLp }],
27394+
[0, { [_eQN]: `LinkedGroupId`, [_xN]: _lGIi }],
2739127395
],
2739227396
];
2739327397
export var PlacementGroupInfo$: StaticStructureSchema = [

codegen/sdk-codegen/aws-models/ec2.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21730,6 +21730,12 @@
2173021730
"smithy.api#documentation": "<p>Determines how placement groups spread instances. </p>\n <ul>\n <li>\n <p>Host – You can use <code>host</code> only with Outpost placement\n groups.</p>\n </li>\n <li>\n <p>Rack – No usage restrictions.</p>\n </li>\n </ul>"
2173121731
}
2173221732
},
21733+
"LinkedGroupId": {
21734+
"target": "com.amazonaws.ec2#PlacementGroupId",
21735+
"traits": {
21736+
"smithy.api#documentation": "<p>Reserved for future use.</p>"
21737+
}
21738+
},
2173321739
"DryRun": {
2173421740
"target": "com.amazonaws.ec2#Boolean",
2173521741
"traits": {
@@ -103119,6 +103125,14 @@
103119103125
"smithy.api#documentation": "<p>The spread level for the placement group. <i>Only</i> Outpost placement\n groups can be spread across hosts.</p>",
103120103126
"smithy.api#xmlName": "spreadLevel"
103121103127
}
103128+
},
103129+
"LinkedGroupId": {
103130+
"target": "com.amazonaws.ec2#PlacementGroupId",
103131+
"traits": {
103132+
"aws.protocols#ec2QueryName": "LinkedGroupId",
103133+
"smithy.api#documentation": "<p>Reserved for future use.</p>",
103134+
"smithy.api#xmlName": "linkedGroupId"
103135+
}
103122103136
}
103123103137
},
103124103138
"traits": {

0 commit comments

Comments
 (0)