Skip to content

Commit 374726f

Browse files
author
awstools
committed
feat(client-ec2): This release includes new APIs for System Integrity Protection (SIP) configuration and automated root volume ownership delegation for EC2 Mac instances.
1 parent 3b671f5 commit 374726f

File tree

149 files changed

+9134
-7010
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

149 files changed

+9134
-7010
lines changed

clients/client-ec2/README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -773,6 +773,14 @@ CreateDefaultVpc
773773

774774
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/CreateDefaultVpcCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/CreateDefaultVpcCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/CreateDefaultVpcCommandOutput/)
775775

776+
</details>
777+
<details>
778+
<summary>
779+
CreateDelegateMacVolumeOwnershipTask
780+
</summary>
781+
782+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/CreateDelegateMacVolumeOwnershipTaskCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/CreateDelegateMacVolumeOwnershipTaskCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/CreateDelegateMacVolumeOwnershipTaskCommandOutput/)
783+
776784
</details>
777785
<details>
778786
<summary>
@@ -965,6 +973,14 @@ CreateLocalGatewayVirtualInterfaceGroup
965973

966974
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/CreateLocalGatewayVirtualInterfaceGroupCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/CreateLocalGatewayVirtualInterfaceGroupCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/CreateLocalGatewayVirtualInterfaceGroupCommandOutput/)
967975

976+
</details>
977+
<details>
978+
<summary>
979+
CreateMacSystemIntegrityProtectionModificationTask
980+
</summary>
981+
982+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/CreateMacSystemIntegrityProtectionModificationTaskCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/CreateMacSystemIntegrityProtectionModificationTaskCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/CreateMacSystemIntegrityProtectionModificationTaskCommandOutput/)
983+
968984
</details>
969985
<details>
970986
<summary>
@@ -2757,6 +2773,14 @@ DescribeMacHosts
27572773

27582774
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/DescribeMacHostsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DescribeMacHostsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DescribeMacHostsCommandOutput/)
27592775

2776+
</details>
2777+
<details>
2778+
<summary>
2779+
DescribeMacModificationTasks
2780+
</summary>
2781+
2782+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/DescribeMacModificationTasksCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DescribeMacModificationTasksCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DescribeMacModificationTasksCommandOutput/)
2783+
27602784
</details>
27612785
<details>
27622786
<summary>

clients/client-ec2/src/EC2.ts

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,11 @@ import {
353353
CreateDefaultVpcCommandInput,
354354
CreateDefaultVpcCommandOutput,
355355
} from "./commands/CreateDefaultVpcCommand";
356+
import {
357+
CreateDelegateMacVolumeOwnershipTaskCommand,
358+
CreateDelegateMacVolumeOwnershipTaskCommandInput,
359+
CreateDelegateMacVolumeOwnershipTaskCommandOutput,
360+
} from "./commands/CreateDelegateMacVolumeOwnershipTaskCommand";
356361
import {
357362
CreateDhcpOptionsCommand,
358363
CreateDhcpOptionsCommandInput,
@@ -461,6 +466,11 @@ import {
461466
CreateLocalGatewayVirtualInterfaceGroupCommandInput,
462467
CreateLocalGatewayVirtualInterfaceGroupCommandOutput,
463468
} from "./commands/CreateLocalGatewayVirtualInterfaceGroupCommand";
469+
import {
470+
CreateMacSystemIntegrityProtectionModificationTaskCommand,
471+
CreateMacSystemIntegrityProtectionModificationTaskCommandInput,
472+
CreateMacSystemIntegrityProtectionModificationTaskCommandOutput,
473+
} from "./commands/CreateMacSystemIntegrityProtectionModificationTaskCommand";
464474
import {
465475
CreateManagedPrefixListCommand,
466476
CreateManagedPrefixListCommandInput,
@@ -1553,6 +1563,11 @@ import {
15531563
DescribeMacHostsCommandInput,
15541564
DescribeMacHostsCommandOutput,
15551565
} from "./commands/DescribeMacHostsCommand";
1566+
import {
1567+
DescribeMacModificationTasksCommand,
1568+
DescribeMacModificationTasksCommandInput,
1569+
DescribeMacModificationTasksCommandOutput,
1570+
} from "./commands/DescribeMacModificationTasksCommand";
15561571
import {
15571572
DescribeManagedPrefixListsCommand,
15581573
DescribeManagedPrefixListsCommandInput,
@@ -3413,6 +3428,7 @@ const commands = {
34133428
CreateCustomerGatewayCommand,
34143429
CreateDefaultSubnetCommand,
34153430
CreateDefaultVpcCommand,
3431+
CreateDelegateMacVolumeOwnershipTaskCommand,
34163432
CreateDhcpOptionsCommand,
34173433
CreateEgressOnlyInternetGatewayCommand,
34183434
CreateFleetCommand,
@@ -3437,6 +3453,7 @@ const commands = {
34373453
CreateLocalGatewayRouteTableVpcAssociationCommand,
34383454
CreateLocalGatewayVirtualInterfaceCommand,
34393455
CreateLocalGatewayVirtualInterfaceGroupCommand,
3456+
CreateMacSystemIntegrityProtectionModificationTaskCommand,
34403457
CreateManagedPrefixListCommand,
34413458
CreateNatGatewayCommand,
34423459
CreateNetworkAclCommand,
@@ -3661,6 +3678,7 @@ const commands = {
36613678
DescribeLocalGatewayVirtualInterfacesCommand,
36623679
DescribeLockedSnapshotsCommand,
36633680
DescribeMacHostsCommand,
3681+
DescribeMacModificationTasksCommand,
36643682
DescribeManagedPrefixListsCommand,
36653683
DescribeMovingAddressesCommand,
36663684
DescribeNatGatewaysCommand,
@@ -5198,6 +5216,23 @@ export interface EC2 {
51985216
cb: (err: any, data?: CreateDefaultVpcCommandOutput) => void
51995217
): void;
52005218

5219+
/**
5220+
* @see {@link CreateDelegateMacVolumeOwnershipTaskCommand}
5221+
*/
5222+
createDelegateMacVolumeOwnershipTask(
5223+
args: CreateDelegateMacVolumeOwnershipTaskCommandInput,
5224+
options?: __HttpHandlerOptions
5225+
): Promise<CreateDelegateMacVolumeOwnershipTaskCommandOutput>;
5226+
createDelegateMacVolumeOwnershipTask(
5227+
args: CreateDelegateMacVolumeOwnershipTaskCommandInput,
5228+
cb: (err: any, data?: CreateDelegateMacVolumeOwnershipTaskCommandOutput) => void
5229+
): void;
5230+
createDelegateMacVolumeOwnershipTask(
5231+
args: CreateDelegateMacVolumeOwnershipTaskCommandInput,
5232+
options: __HttpHandlerOptions,
5233+
cb: (err: any, data?: CreateDelegateMacVolumeOwnershipTaskCommandOutput) => void
5234+
): void;
5235+
52015236
/**
52025237
* @see {@link CreateDhcpOptionsCommand}
52035238
*/
@@ -5574,6 +5609,23 @@ export interface EC2 {
55745609
cb: (err: any, data?: CreateLocalGatewayVirtualInterfaceGroupCommandOutput) => void
55755610
): void;
55765611

5612+
/**
5613+
* @see {@link CreateMacSystemIntegrityProtectionModificationTaskCommand}
5614+
*/
5615+
createMacSystemIntegrityProtectionModificationTask(
5616+
args: CreateMacSystemIntegrityProtectionModificationTaskCommandInput,
5617+
options?: __HttpHandlerOptions
5618+
): Promise<CreateMacSystemIntegrityProtectionModificationTaskCommandOutput>;
5619+
createMacSystemIntegrityProtectionModificationTask(
5620+
args: CreateMacSystemIntegrityProtectionModificationTaskCommandInput,
5621+
cb: (err: any, data?: CreateMacSystemIntegrityProtectionModificationTaskCommandOutput) => void
5622+
): void;
5623+
createMacSystemIntegrityProtectionModificationTask(
5624+
args: CreateMacSystemIntegrityProtectionModificationTaskCommandInput,
5625+
options: __HttpHandlerOptions,
5626+
cb: (err: any, data?: CreateMacSystemIntegrityProtectionModificationTaskCommandOutput) => void
5627+
): void;
5628+
55775629
/**
55785630
* @see {@link CreateManagedPrefixListCommand}
55795631
*/
@@ -9336,6 +9388,24 @@ export interface EC2 {
93369388
cb: (err: any, data?: DescribeMacHostsCommandOutput) => void
93379389
): void;
93389390

9391+
/**
9392+
* @see {@link DescribeMacModificationTasksCommand}
9393+
*/
9394+
describeMacModificationTasks(): Promise<DescribeMacModificationTasksCommandOutput>;
9395+
describeMacModificationTasks(
9396+
args: DescribeMacModificationTasksCommandInput,
9397+
options?: __HttpHandlerOptions
9398+
): Promise<DescribeMacModificationTasksCommandOutput>;
9399+
describeMacModificationTasks(
9400+
args: DescribeMacModificationTasksCommandInput,
9401+
cb: (err: any, data?: DescribeMacModificationTasksCommandOutput) => void
9402+
): void;
9403+
describeMacModificationTasks(
9404+
args: DescribeMacModificationTasksCommandInput,
9405+
options: __HttpHandlerOptions,
9406+
cb: (err: any, data?: DescribeMacModificationTasksCommandOutput) => void
9407+
): void;
9408+
93399409
/**
93409410
* @see {@link DescribeManagedPrefixListsCommand}
93419411
*/

clients/client-ec2/src/EC2Client.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,10 @@ import {
289289
CreateDefaultSubnetCommandOutput,
290290
} from "./commands/CreateDefaultSubnetCommand";
291291
import { CreateDefaultVpcCommandInput, CreateDefaultVpcCommandOutput } from "./commands/CreateDefaultVpcCommand";
292+
import {
293+
CreateDelegateMacVolumeOwnershipTaskCommandInput,
294+
CreateDelegateMacVolumeOwnershipTaskCommandOutput,
295+
} from "./commands/CreateDelegateMacVolumeOwnershipTaskCommand";
292296
import { CreateDhcpOptionsCommandInput, CreateDhcpOptionsCommandOutput } from "./commands/CreateDhcpOptionsCommand";
293297
import {
294298
CreateEgressOnlyInternetGatewayCommandInput,
@@ -358,6 +362,10 @@ import {
358362
CreateLocalGatewayVirtualInterfaceGroupCommandInput,
359363
CreateLocalGatewayVirtualInterfaceGroupCommandOutput,
360364
} from "./commands/CreateLocalGatewayVirtualInterfaceGroupCommand";
365+
import {
366+
CreateMacSystemIntegrityProtectionModificationTaskCommandInput,
367+
CreateMacSystemIntegrityProtectionModificationTaskCommandOutput,
368+
} from "./commands/CreateMacSystemIntegrityProtectionModificationTaskCommand";
361369
import {
362370
CreateManagedPrefixListCommandInput,
363371
CreateManagedPrefixListCommandOutput,
@@ -1095,6 +1103,10 @@ import {
10951103
DescribeLockedSnapshotsCommandOutput,
10961104
} from "./commands/DescribeLockedSnapshotsCommand";
10971105
import { DescribeMacHostsCommandInput, DescribeMacHostsCommandOutput } from "./commands/DescribeMacHostsCommand";
1106+
import {
1107+
DescribeMacModificationTasksCommandInput,
1108+
DescribeMacModificationTasksCommandOutput,
1109+
} from "./commands/DescribeMacModificationTasksCommand";
10981110
import {
10991111
DescribeManagedPrefixListsCommandInput,
11001112
DescribeManagedPrefixListsCommandOutput,
@@ -2470,6 +2482,7 @@ export type ServiceInputTypes =
24702482
| CreateCustomerGatewayCommandInput
24712483
| CreateDefaultSubnetCommandInput
24722484
| CreateDefaultVpcCommandInput
2485+
| CreateDelegateMacVolumeOwnershipTaskCommandInput
24732486
| CreateDhcpOptionsCommandInput
24742487
| CreateEgressOnlyInternetGatewayCommandInput
24752488
| CreateFleetCommandInput
@@ -2494,6 +2507,7 @@ export type ServiceInputTypes =
24942507
| CreateLocalGatewayRouteTableVpcAssociationCommandInput
24952508
| CreateLocalGatewayVirtualInterfaceCommandInput
24962509
| CreateLocalGatewayVirtualInterfaceGroupCommandInput
2510+
| CreateMacSystemIntegrityProtectionModificationTaskCommandInput
24972511
| CreateManagedPrefixListCommandInput
24982512
| CreateNatGatewayCommandInput
24992513
| CreateNetworkAclCommandInput
@@ -2718,6 +2732,7 @@ export type ServiceInputTypes =
27182732
| DescribeLocalGatewaysCommandInput
27192733
| DescribeLockedSnapshotsCommandInput
27202734
| DescribeMacHostsCommandInput
2735+
| DescribeMacModificationTasksCommandInput
27212736
| DescribeManagedPrefixListsCommandInput
27222737
| DescribeMovingAddressesCommandInput
27232738
| DescribeNatGatewaysCommandInput
@@ -3156,6 +3171,7 @@ export type ServiceOutputTypes =
31563171
| CreateCustomerGatewayCommandOutput
31573172
| CreateDefaultSubnetCommandOutput
31583173
| CreateDefaultVpcCommandOutput
3174+
| CreateDelegateMacVolumeOwnershipTaskCommandOutput
31593175
| CreateDhcpOptionsCommandOutput
31603176
| CreateEgressOnlyInternetGatewayCommandOutput
31613177
| CreateFleetCommandOutput
@@ -3180,6 +3196,7 @@ export type ServiceOutputTypes =
31803196
| CreateLocalGatewayRouteTableVpcAssociationCommandOutput
31813197
| CreateLocalGatewayVirtualInterfaceCommandOutput
31823198
| CreateLocalGatewayVirtualInterfaceGroupCommandOutput
3199+
| CreateMacSystemIntegrityProtectionModificationTaskCommandOutput
31833200
| CreateManagedPrefixListCommandOutput
31843201
| CreateNatGatewayCommandOutput
31853202
| CreateNetworkAclCommandOutput
@@ -3404,6 +3421,7 @@ export type ServiceOutputTypes =
34043421
| DescribeLocalGatewaysCommandOutput
34053422
| DescribeLockedSnapshotsCommandOutput
34063423
| DescribeMacHostsCommandOutput
3424+
| DescribeMacModificationTasksCommandOutput
34073425
| DescribeManagedPrefixListsCommandOutput
34083426
| DescribeMovingAddressesCommandOutput
34093427
| DescribeNatGatewaysCommandOutput

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export interface AcceptAddressTransferCommandOutput extends AcceptAddressTransfe
3939
* Address: "STRING_VALUE", // required
4040
* TagSpecifications: [ // TagSpecificationList
4141
* { // TagSpecification
42-
* ResourceType: "capacity-reservation" || "client-vpn-endpoint" || "customer-gateway" || "carrier-gateway" || "coip-pool" || "declarative-policies-report" || "dedicated-host" || "dhcp-options" || "egress-only-internet-gateway" || "elastic-ip" || "elastic-gpu" || "export-image-task" || "export-instance-task" || "fleet" || "fpga-image" || "host-reservation" || "image" || "import-image-task" || "import-snapshot-task" || "instance" || "instance-event-window" || "internet-gateway" || "ipam" || "ipam-pool" || "ipam-scope" || "ipv4pool-ec2" || "ipv6pool-ec2" || "key-pair" || "launch-template" || "local-gateway" || "local-gateway-route-table" || "local-gateway-virtual-interface" || "local-gateway-virtual-interface-group" || "local-gateway-route-table-vpc-association" || "local-gateway-route-table-virtual-interface-group-association" || "natgateway" || "network-acl" || "network-interface" || "network-insights-analysis" || "network-insights-path" || "network-insights-access-scope" || "network-insights-access-scope-analysis" || "outpost-lag" || "placement-group" || "prefix-list" || "replace-root-volume-task" || "reserved-instances" || "route-table" || "security-group" || "security-group-rule" || "service-link-virtual-interface" || "snapshot" || "spot-fleet-request" || "spot-instances-request" || "subnet" || "subnet-cidr-reservation" || "traffic-mirror-filter" || "traffic-mirror-session" || "traffic-mirror-target" || "transit-gateway" || "transit-gateway-attachment" || "transit-gateway-connect-peer" || "transit-gateway-multicast-domain" || "transit-gateway-policy-table" || "transit-gateway-route-table" || "transit-gateway-route-table-announcement" || "volume" || "vpc" || "vpc-endpoint" || "vpc-endpoint-connection" || "vpc-endpoint-service" || "vpc-endpoint-service-permission" || "vpc-peering-connection" || "vpn-connection" || "vpn-gateway" || "vpc-flow-log" || "capacity-reservation-fleet" || "traffic-mirror-filter-rule" || "vpc-endpoint-connection-device-type" || "verified-access-instance" || "verified-access-group" || "verified-access-endpoint" || "verified-access-policy" || "verified-access-trust-provider" || "vpn-connection-device-type" || "vpc-block-public-access-exclusion" || "route-server" || "route-server-endpoint" || "route-server-peer" || "ipam-resource-discovery" || "ipam-resource-discovery-association" || "instance-connect-endpoint" || "verified-access-endpoint-target" || "ipam-external-resource-verification-token",
42+
* ResourceType: "capacity-reservation" || "client-vpn-endpoint" || "customer-gateway" || "carrier-gateway" || "coip-pool" || "declarative-policies-report" || "dedicated-host" || "dhcp-options" || "egress-only-internet-gateway" || "elastic-ip" || "elastic-gpu" || "export-image-task" || "export-instance-task" || "fleet" || "fpga-image" || "host-reservation" || "image" || "import-image-task" || "import-snapshot-task" || "instance" || "instance-event-window" || "internet-gateway" || "ipam" || "ipam-pool" || "ipam-scope" || "ipv4pool-ec2" || "ipv6pool-ec2" || "key-pair" || "launch-template" || "local-gateway" || "local-gateway-route-table" || "local-gateway-virtual-interface" || "local-gateway-virtual-interface-group" || "local-gateway-route-table-vpc-association" || "local-gateway-route-table-virtual-interface-group-association" || "natgateway" || "network-acl" || "network-interface" || "network-insights-analysis" || "network-insights-path" || "network-insights-access-scope" || "network-insights-access-scope-analysis" || "outpost-lag" || "placement-group" || "prefix-list" || "replace-root-volume-task" || "reserved-instances" || "route-table" || "security-group" || "security-group-rule" || "service-link-virtual-interface" || "snapshot" || "spot-fleet-request" || "spot-instances-request" || "subnet" || "subnet-cidr-reservation" || "traffic-mirror-filter" || "traffic-mirror-session" || "traffic-mirror-target" || "transit-gateway" || "transit-gateway-attachment" || "transit-gateway-connect-peer" || "transit-gateway-multicast-domain" || "transit-gateway-policy-table" || "transit-gateway-route-table" || "transit-gateway-route-table-announcement" || "volume" || "vpc" || "vpc-endpoint" || "vpc-endpoint-connection" || "vpc-endpoint-service" || "vpc-endpoint-service-permission" || "vpc-peering-connection" || "vpn-connection" || "vpn-gateway" || "vpc-flow-log" || "capacity-reservation-fleet" || "traffic-mirror-filter-rule" || "vpc-endpoint-connection-device-type" || "verified-access-instance" || "verified-access-group" || "verified-access-endpoint" || "verified-access-policy" || "verified-access-trust-provider" || "vpn-connection-device-type" || "vpc-block-public-access-exclusion" || "route-server" || "route-server-endpoint" || "route-server-peer" || "ipam-resource-discovery" || "ipam-resource-discovery-association" || "instance-connect-endpoint" || "verified-access-endpoint-target" || "ipam-external-resource-verification-token" || "mac-modification-task",
4343
* Tags: [ // TagList
4444
* { // Tag
4545
* Key: "STRING_VALUE",

0 commit comments

Comments
 (0)