From 8973fbd8b97ea952c3ab2ef7feebdbecd83d3b41 Mon Sep 17 00:00:00 2001 From: awstools Date: Wed, 25 Jan 2023 19:23:12 +0000 Subject: [PATCH] feat(client-ec2): This release adds new functionality that allows customers to provision IPv6 CIDR blocks through Amazon VPC IP Address Manager (IPAM) as well as allowing customers to utilize IPAM Resource Discovery APIs. --- clients/client-ec2/src/EC2.ts | 343 +- clients/client-ec2/src/EC2Client.ts | 54 + .../commands/AllocateIpamPoolCidrCommand.ts | 2 +- .../AssociateIpamResourceDiscoveryCommand.ts | 122 + .../commands/CreateClientVpnRouteCommand.ts | 8 +- .../src/commands/CreateCoipCidrCommand.ts | 8 +- .../CreateIpamResourceDiscoveryCommand.ts | 117 + .../src/commands/CreateRouteTableCommand.ts | 8 +- .../commands/CreateSecurityGroupCommand.ts | 2 +- .../src/commands/CreateSnapshotCommand.ts | 2 +- .../src/commands/CreateSnapshotsCommand.ts | 8 +- .../DeleteIpamResourceDiscoveryCommand.ts | 117 + .../DeleteTransitGatewayConnectCommand.ts | 4 +- .../DeleteTransitGatewayConnectPeerCommand.ts | 2 +- ...eteTransitGatewayMulticastDomainCommand.ts | 2 +- ...eTransitGatewayPeeringAttachmentCommand.ts | 2 +- .../DeleteTransitGatewayPolicyTableCommand.ts | 2 +- ...ransitGatewayPrefixListReferenceCommand.ts | 2 +- .../DeleteTransitGatewayRouteCommand.ts | 5 +- .../commands/DescribeInstanceStatusCommand.ts | 8 +- .../DescribeInstanceTypeOfferingsCommand.ts | 2 +- .../commands/DescribeInstanceTypesCommand.ts | 8 +- .../DescribeIpamResourceDiscoveriesCommand.ts | 122 + ...pamResourceDiscoveryAssociationsCommand.ts | 129 + .../commands/DescribeVpcAttributeCommand.ts | 2 +- .../commands/DescribeVpcClassicLinkCommand.ts | 2 +- ...DescribeVpcClassicLinkDnsSupportCommand.ts | 2 +- ...cEndpointConnectionNotificationsCommand.ts | 2 +- .../DescribeVpcEndpointConnectionsCommand.ts | 2 +- ...VpcEndpointServiceConfigurationsCommand.ts | 2 - .../commands/DescribeVpcEndpointsCommand.ts | 2 +- ...isassociateIpamResourceDiscoveryCommand.ts | 122 + .../GetIpamDiscoveredAccountsCommand.ts | 117 + .../GetIpamDiscoveredResourceCidrsCommand.ts | 122 + .../commands/GetIpamResourceCidrsCommand.ts | 2 +- .../ModifyClientVpnEndpointCommand.ts | 2 +- ...ModifyDefaultCreditSpecificationCommand.ts | 2 +- .../ModifyEbsDefaultKmsKeyIdCommand.ts | 2 +- .../src/commands/ModifyFleetCommand.ts | 2 +- .../ModifyFpgaImageAttributeCommand.ts | 2 +- .../src/commands/ModifyHostsCommand.ts | 2 +- .../src/commands/ModifyIdFormatCommand.ts | 2 +- .../commands/ModifyIdentityIdFormatCommand.ts | 2 +- .../commands/ModifyImageAttributeCommand.ts | 2 +- .../ModifyInstanceAttributeCommand.ts | 2 +- ...nceCapacityReservationAttributesCommand.ts | 2 +- .../ModifyIpamResourceDiscoveryCommand.ts | 117 + .../commands/MoveByoipCidrToIpamCommand.ts | 4 +- ...rityGroupRuleDescriptionsIngressCommand.ts | 2 +- .../src/commands/WithdrawByoipCidrCommand.ts | 2 +- clients/client-ec2/src/commands/index.ts | 9 + clients/client-ec2/src/endpoint/ruleset.ts | 31 +- clients/client-ec2/src/models/index.ts | 1 + clients/client-ec2/src/models/models_0.ts | 303 +- clients/client-ec2/src/models/models_1.ts | 663 +- clients/client-ec2/src/models/models_2.ts | 619 +- clients/client-ec2/src/models/models_3.ts | 725 +- clients/client-ec2/src/models/models_4.ts | 11956 ++++++++-------- clients/client-ec2/src/models/models_5.ts | 7734 +++++----- clients/client-ec2/src/models/models_6.ts | 1134 +- clients/client-ec2/src/models/models_7.ts | 98 + ...escribeIpamResourceDiscoveriesPaginator.ts | 61 + ...mResourceDiscoveryAssociationsPaginator.ts | 61 + .../GetIpamDiscoveredAccountsPaginator.ts | 61 + ...GetIpamDiscoveredResourceCidrsPaginator.ts | 61 + clients/client-ec2/src/pagination/index.ts | 4 + clients/client-ec2/src/protocols/Aws_ec2.ts | 1398 +- codegen/sdk-codegen/aws-models/ec2.json | 4831 +++++-- 68 files changed, 18546 insertions(+), 12807 deletions(-) create mode 100644 clients/client-ec2/src/commands/AssociateIpamResourceDiscoveryCommand.ts create mode 100644 clients/client-ec2/src/commands/CreateIpamResourceDiscoveryCommand.ts create mode 100644 clients/client-ec2/src/commands/DeleteIpamResourceDiscoveryCommand.ts create mode 100644 clients/client-ec2/src/commands/DescribeIpamResourceDiscoveriesCommand.ts create mode 100644 clients/client-ec2/src/commands/DescribeIpamResourceDiscoveryAssociationsCommand.ts create mode 100644 clients/client-ec2/src/commands/DisassociateIpamResourceDiscoveryCommand.ts create mode 100644 clients/client-ec2/src/commands/GetIpamDiscoveredAccountsCommand.ts create mode 100644 clients/client-ec2/src/commands/GetIpamDiscoveredResourceCidrsCommand.ts create mode 100644 clients/client-ec2/src/commands/ModifyIpamResourceDiscoveryCommand.ts create mode 100644 clients/client-ec2/src/models/models_7.ts create mode 100644 clients/client-ec2/src/pagination/DescribeIpamResourceDiscoveriesPaginator.ts create mode 100644 clients/client-ec2/src/pagination/DescribeIpamResourceDiscoveryAssociationsPaginator.ts create mode 100644 clients/client-ec2/src/pagination/GetIpamDiscoveredAccountsPaginator.ts create mode 100644 clients/client-ec2/src/pagination/GetIpamDiscoveredResourceCidrsPaginator.ts diff --git a/clients/client-ec2/src/EC2.ts b/clients/client-ec2/src/EC2.ts index d3465735d6b9..8e3696e9b08f 100644 --- a/clients/client-ec2/src/EC2.ts +++ b/clients/client-ec2/src/EC2.ts @@ -101,6 +101,11 @@ import { AssociateInstanceEventWindowCommandInput, AssociateInstanceEventWindowCommandOutput, } from "./commands/AssociateInstanceEventWindowCommand"; +import { + AssociateIpamResourceDiscoveryCommand, + AssociateIpamResourceDiscoveryCommandInput, + AssociateIpamResourceDiscoveryCommandOutput, +} from "./commands/AssociateIpamResourceDiscoveryCommand"; import { AssociateRouteTableCommand, AssociateRouteTableCommandInput, @@ -345,6 +350,11 @@ import { CreateIpamPoolCommandInput, CreateIpamPoolCommandOutput, } from "./commands/CreateIpamPoolCommand"; +import { + CreateIpamResourceDiscoveryCommand, + CreateIpamResourceDiscoveryCommandInput, + CreateIpamResourceDiscoveryCommandOutput, +} from "./commands/CreateIpamResourceDiscoveryCommand"; import { CreateIpamScopeCommand, CreateIpamScopeCommandInput, @@ -699,6 +709,11 @@ import { DeleteIpamPoolCommandInput, DeleteIpamPoolCommandOutput, } from "./commands/DeleteIpamPoolCommand"; +import { + DeleteIpamResourceDiscoveryCommand, + DeleteIpamResourceDiscoveryCommandInput, + DeleteIpamResourceDiscoveryCommandOutput, +} from "./commands/DeleteIpamResourceDiscoveryCommand"; import { DeleteIpamScopeCommand, DeleteIpamScopeCommandInput, @@ -1277,6 +1292,16 @@ import { DescribeIpamPoolsCommandInput, DescribeIpamPoolsCommandOutput, } from "./commands/DescribeIpamPoolsCommand"; +import { + DescribeIpamResourceDiscoveriesCommand, + DescribeIpamResourceDiscoveriesCommandInput, + DescribeIpamResourceDiscoveriesCommandOutput, +} from "./commands/DescribeIpamResourceDiscoveriesCommand"; +import { + DescribeIpamResourceDiscoveryAssociationsCommand, + DescribeIpamResourceDiscoveryAssociationsCommandInput, + DescribeIpamResourceDiscoveryAssociationsCommandOutput, +} from "./commands/DescribeIpamResourceDiscoveryAssociationsCommand"; import { DescribeIpamsCommand, DescribeIpamsCommandInput, @@ -1832,6 +1857,11 @@ import { DisassociateInstanceEventWindowCommandInput, DisassociateInstanceEventWindowCommandOutput, } from "./commands/DisassociateInstanceEventWindowCommand"; +import { + DisassociateIpamResourceDiscoveryCommand, + DisassociateIpamResourceDiscoveryCommandInput, + DisassociateIpamResourceDiscoveryCommandOutput, +} from "./commands/DisassociateIpamResourceDiscoveryCommand"; import { DisassociateRouteTableCommand, DisassociateRouteTableCommandInput, @@ -2033,6 +2063,16 @@ import { GetIpamAddressHistoryCommandInput, GetIpamAddressHistoryCommandOutput, } from "./commands/GetIpamAddressHistoryCommand"; +import { + GetIpamDiscoveredAccountsCommand, + GetIpamDiscoveredAccountsCommandInput, + GetIpamDiscoveredAccountsCommandOutput, +} from "./commands/GetIpamDiscoveredAccountsCommand"; +import { + GetIpamDiscoveredResourceCidrsCommand, + GetIpamDiscoveredResourceCidrsCommandInput, + GetIpamDiscoveredResourceCidrsCommandOutput, +} from "./commands/GetIpamDiscoveredResourceCidrsCommand"; import { GetIpamPoolAllocationsCommand, GetIpamPoolAllocationsCommandInput, @@ -2297,6 +2337,11 @@ import { ModifyIpamResourceCidrCommandInput, ModifyIpamResourceCidrCommandOutput, } from "./commands/ModifyIpamResourceCidrCommand"; +import { + ModifyIpamResourceDiscoveryCommand, + ModifyIpamResourceDiscoveryCommandInput, + ModifyIpamResourceDiscoveryCommandOutput, +} from "./commands/ModifyIpamResourceDiscoveryCommand"; import { ModifyIpamScopeCommand, ModifyIpamScopeCommandInput, @@ -3209,7 +3254,7 @@ export class EC2 extends EC2Client { } /** - *

Allocate a CIDR from an IPAM pool. In IPAM, an allocation is a CIDR assignment from an IPAM pool to another resource or IPAM pool. For more information, see Allocate CIDRs in the Amazon VPC IPAM User Guide. + *

Allocate a CIDR from an IPAM pool. In IPAM, an allocation is a CIDR assignment from an IPAM pool to another IPAM pool or to a resource. For more information, see Allocate CIDRs in the Amazon VPC IPAM User Guide. *

*/ public allocateIpamPoolCidr( @@ -3604,6 +3649,38 @@ export class EC2 extends EC2Client { } } + /** + *

Associates an IPAM resource discovery with an Amazon VPC IPAM. A resource discovery is an IPAM component that enables IPAM Service to manage and monitor resources that belong to the owning account.

+ */ + public associateIpamResourceDiscovery( + args: AssociateIpamResourceDiscoveryCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public associateIpamResourceDiscovery( + args: AssociateIpamResourceDiscoveryCommandInput, + cb: (err: any, data?: AssociateIpamResourceDiscoveryCommandOutput) => void + ): void; + public associateIpamResourceDiscovery( + args: AssociateIpamResourceDiscoveryCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: AssociateIpamResourceDiscoveryCommandOutput) => void + ): void; + public associateIpamResourceDiscovery( + args: AssociateIpamResourceDiscoveryCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AssociateIpamResourceDiscoveryCommandOutput) => void), + cb?: (err: any, data?: AssociateIpamResourceDiscoveryCommandOutput) => void + ): Promise | void { + const command = new AssociateIpamResourceDiscoveryCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + /** *

Associates a subnet in your VPC or an internet gateway or virtual private gateway * attached to your VPC with a route table in your VPC. This association causes traffic @@ -5584,6 +5661,38 @@ export class EC2 extends EC2Client { } } + /** + *

Creates an IPAM resource discovery. A resource discovery is an IPAM component that enables IPAM Service to manage and monitor resources that belong to the owning account.

+ */ + public createIpamResourceDiscovery( + args: CreateIpamResourceDiscoveryCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public createIpamResourceDiscovery( + args: CreateIpamResourceDiscoveryCommandInput, + cb: (err: any, data?: CreateIpamResourceDiscoveryCommandOutput) => void + ): void; + public createIpamResourceDiscovery( + args: CreateIpamResourceDiscoveryCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: CreateIpamResourceDiscoveryCommandOutput) => void + ): void; + public createIpamResourceDiscovery( + args: CreateIpamResourceDiscoveryCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateIpamResourceDiscoveryCommandOutput) => void), + cb?: (err: any, data?: CreateIpamResourceDiscoveryCommandOutput) => void + ): Promise | void { + const command = new CreateIpamResourceDiscoveryCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + /** *

Create an IPAM scope. In IPAM, a scope is the highest-level container within IPAM. An IPAM contains two default scopes. Each scope represents the IP space for a single network. The private scope is intended for all private IP address space. The public scope is intended for all public IP address space. Scopes enable you to reuse IP addresses across multiple unconnected networks without causing IP address overlap or conflict.

*

For more information, see Add a scope in the Amazon VPC IPAM User Guide.

@@ -8321,6 +8430,38 @@ export class EC2 extends EC2Client { } } + /** + *

Deletes an IPAM resource discovery. A resource discovery is an IPAM component that enables IPAM Service to manage and monitor resources that belong to the owning account.

+ */ + public deleteIpamResourceDiscovery( + args: DeleteIpamResourceDiscoveryCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public deleteIpamResourceDiscovery( + args: DeleteIpamResourceDiscoveryCommandInput, + cb: (err: any, data?: DeleteIpamResourceDiscoveryCommandOutput) => void + ): void; + public deleteIpamResourceDiscovery( + args: DeleteIpamResourceDiscoveryCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DeleteIpamResourceDiscoveryCommandOutput) => void + ): void; + public deleteIpamResourceDiscovery( + args: DeleteIpamResourceDiscoveryCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteIpamResourceDiscoveryCommandOutput) => void), + cb?: (err: any, data?: DeleteIpamResourceDiscoveryCommandOutput) => void + ): Promise | void { + const command = new DeleteIpamResourceDiscoveryCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + /** *

Delete the scope for an IPAM. You cannot delete the default scopes.

*

For more information, see Delete a scope in the Amazon VPC IPAM User Guide. @@ -12414,6 +12555,72 @@ export class EC2 extends EC2Client { } } + /** + *

Describes IPAM resource discoveries. A resource discovery is an IPAM component that enables IPAM Service to manage and monitor resources that belong to the owning account.

+ */ + public describeIpamResourceDiscoveries( + args: DescribeIpamResourceDiscoveriesCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public describeIpamResourceDiscoveries( + args: DescribeIpamResourceDiscoveriesCommandInput, + cb: (err: any, data?: DescribeIpamResourceDiscoveriesCommandOutput) => void + ): void; + public describeIpamResourceDiscoveries( + args: DescribeIpamResourceDiscoveriesCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DescribeIpamResourceDiscoveriesCommandOutput) => void + ): void; + public describeIpamResourceDiscoveries( + args: DescribeIpamResourceDiscoveriesCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeIpamResourceDiscoveriesCommandOutput) => void), + cb?: (err: any, data?: DescribeIpamResourceDiscoveriesCommandOutput) => void + ): Promise | void { + const command = new DescribeIpamResourceDiscoveriesCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

Describes resource discovery association with an Amazon VPC IPAM. An associated resource discovery is a resource discovery that has been associated with an IPAM..

+ */ + public describeIpamResourceDiscoveryAssociations( + args: DescribeIpamResourceDiscoveryAssociationsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public describeIpamResourceDiscoveryAssociations( + args: DescribeIpamResourceDiscoveryAssociationsCommandInput, + cb: (err: any, data?: DescribeIpamResourceDiscoveryAssociationsCommandOutput) => void + ): void; + public describeIpamResourceDiscoveryAssociations( + args: DescribeIpamResourceDiscoveryAssociationsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DescribeIpamResourceDiscoveryAssociationsCommandOutput) => void + ): void; + public describeIpamResourceDiscoveryAssociations( + args: DescribeIpamResourceDiscoveryAssociationsCommandInput, + optionsOrCb?: + | __HttpHandlerOptions + | ((err: any, data?: DescribeIpamResourceDiscoveryAssociationsCommandOutput) => void), + cb?: (err: any, data?: DescribeIpamResourceDiscoveryAssociationsCommandOutput) => void + ): Promise | void { + const command = new DescribeIpamResourceDiscoveryAssociationsCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + /** *

Get information about your IPAM pools.

*

For more information, see What is IPAM? in the Amazon VPC IPAM User Guide. @@ -16308,6 +16515,38 @@ export class EC2 extends EC2Client { } } + /** + *

Disassociates a resource discovery from an Amazon VPC IPAM. A resource discovery is an IPAM component that enables IPAM Service to manage and monitor resources that belong to the owning account.

+ */ + public disassociateIpamResourceDiscovery( + args: DisassociateIpamResourceDiscoveryCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public disassociateIpamResourceDiscovery( + args: DisassociateIpamResourceDiscoveryCommandInput, + cb: (err: any, data?: DisassociateIpamResourceDiscoveryCommandOutput) => void + ): void; + public disassociateIpamResourceDiscovery( + args: DisassociateIpamResourceDiscoveryCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DisassociateIpamResourceDiscoveryCommandOutput) => void + ): void; + public disassociateIpamResourceDiscovery( + args: DisassociateIpamResourceDiscoveryCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DisassociateIpamResourceDiscoveryCommandOutput) => void), + cb?: (err: any, data?: DisassociateIpamResourceDiscoveryCommandOutput) => void + ): Promise | void { + const command = new DisassociateIpamResourceDiscoveryCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + /** *

Disassociates a subnet or gateway from a route table.

*

After you perform this action, the subnet no longer uses the routes in the route table. @@ -17773,6 +18012,70 @@ export class EC2 extends EC2Client { } } + /** + *

Gets IPAM discovered accounts. A discovered account is an Amazon Web Services account that is monitored under a resource discovery. If you have integrated IPAM with Amazon Web Services Organizations, all accounts in the organization are discovered accounts. Only the IPAM account can get all discovered accounts in the organization.

+ */ + public getIpamDiscoveredAccounts( + args: GetIpamDiscoveredAccountsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public getIpamDiscoveredAccounts( + args: GetIpamDiscoveredAccountsCommandInput, + cb: (err: any, data?: GetIpamDiscoveredAccountsCommandOutput) => void + ): void; + public getIpamDiscoveredAccounts( + args: GetIpamDiscoveredAccountsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetIpamDiscoveredAccountsCommandOutput) => void + ): void; + public getIpamDiscoveredAccounts( + args: GetIpamDiscoveredAccountsCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetIpamDiscoveredAccountsCommandOutput) => void), + cb?: (err: any, data?: GetIpamDiscoveredAccountsCommandOutput) => void + ): Promise | void { + const command = new GetIpamDiscoveredAccountsCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

Returns the resource CIDRs that are monitored as part of a resource discovery. A discovered resource is a resource CIDR monitored under a resource discovery. The following resources can be discovered: VPCs, Public IPv4 pools, VPC subnets, and Elastic IP addresses.

+ */ + public getIpamDiscoveredResourceCidrs( + args: GetIpamDiscoveredResourceCidrsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public getIpamDiscoveredResourceCidrs( + args: GetIpamDiscoveredResourceCidrsCommandInput, + cb: (err: any, data?: GetIpamDiscoveredResourceCidrsCommandOutput) => void + ): void; + public getIpamDiscoveredResourceCidrs( + args: GetIpamDiscoveredResourceCidrsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetIpamDiscoveredResourceCidrsCommandOutput) => void + ): void; + public getIpamDiscoveredResourceCidrs( + args: GetIpamDiscoveredResourceCidrsCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetIpamDiscoveredResourceCidrsCommandOutput) => void), + cb?: (err: any, data?: GetIpamDiscoveredResourceCidrsCommandOutput) => void + ): Promise | void { + const command = new GetIpamDiscoveredResourceCidrsCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + /** *

Get a list of all the CIDR allocations in an IPAM pool.

*/ @@ -17838,7 +18141,7 @@ export class EC2 extends EC2Client { } /** - *

Get information about the resources in a scope.

+ *

Returns resource CIDRs managed by IPAM in a given scope. If an IPAM is associated with more than one resource discovery, the resource CIDRs across all of the resource discoveries is returned. A resource discovery is an IPAM component that enables IPAM Service to manage and monitor resources that belong to the owning account.

*/ public getIpamResourceCidrs( args: GetIpamResourceCidrsCommandInput, @@ -19793,6 +20096,38 @@ export class EC2 extends EC2Client { } } + /** + *

Modifies a resource discovery. A resource discovery is an IPAM component that enables IPAM Service to manage and monitor resources that belong to the owning account.

+ */ + public modifyIpamResourceDiscovery( + args: ModifyIpamResourceDiscoveryCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public modifyIpamResourceDiscovery( + args: ModifyIpamResourceDiscoveryCommandInput, + cb: (err: any, data?: ModifyIpamResourceDiscoveryCommandOutput) => void + ): void; + public modifyIpamResourceDiscovery( + args: ModifyIpamResourceDiscoveryCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ModifyIpamResourceDiscoveryCommandOutput) => void + ): void; + public modifyIpamResourceDiscovery( + args: ModifyIpamResourceDiscoveryCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ModifyIpamResourceDiscoveryCommandOutput) => void), + cb?: (err: any, data?: ModifyIpamResourceDiscoveryCommandOutput) => void + ): Promise | void { + const command = new ModifyIpamResourceDiscoveryCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + /** *

Modify an IPAM scope.

*/ @@ -21318,8 +21653,8 @@ export class EC2 extends EC2Client { } /** - *

Move an BYOIP IPv4 CIDR to IPAM from a public IPv4 pool.

- *

If you already have an IPv4 BYOIP CIDR with Amazon Web Services, you can move the CIDR to IPAM from a public IPv4 pool. You cannot move an IPv6 CIDR to IPAM. If you are bringing a new IP address to Amazon Web Services for the first time, complete the steps in Tutorial: BYOIP address CIDRs to IPAM.

+ *

Move a BYOIPv4 CIDR to IPAM from a public IPv4 pool.

+ *

If you already have a BYOIPv4 CIDR with Amazon Web Services, you can move the CIDR to IPAM from a public IPv4 pool. You cannot move an IPv6 CIDR to IPAM. If you are bringing a new IP address to Amazon Web Services for the first time, complete the steps in Tutorial: BYOIP address CIDRs to IPAM.

*/ public moveByoipCidrToIpam( args: MoveByoipCidrToIpamCommandInput, diff --git a/clients/client-ec2/src/EC2Client.ts b/clients/client-ec2/src/EC2Client.ts index 7ee05e0e4ce0..1fbd1d3c9d9a 100644 --- a/clients/client-ec2/src/EC2Client.ts +++ b/clients/client-ec2/src/EC2Client.ts @@ -117,6 +117,10 @@ import { AssociateInstanceEventWindowCommandInput, AssociateInstanceEventWindowCommandOutput, } from "./commands/AssociateInstanceEventWindowCommand"; +import { + AssociateIpamResourceDiscoveryCommandInput, + AssociateIpamResourceDiscoveryCommandOutput, +} from "./commands/AssociateIpamResourceDiscoveryCommand"; import { AssociateRouteTableCommandInput, AssociateRouteTableCommandOutput, @@ -268,6 +272,10 @@ import { } from "./commands/CreateInternetGatewayCommand"; import { CreateIpamCommandInput, CreateIpamCommandOutput } from "./commands/CreateIpamCommand"; import { CreateIpamPoolCommandInput, CreateIpamPoolCommandOutput } from "./commands/CreateIpamPoolCommand"; +import { + CreateIpamResourceDiscoveryCommandInput, + CreateIpamResourceDiscoveryCommandOutput, +} from "./commands/CreateIpamResourceDiscoveryCommand"; import { CreateIpamScopeCommandInput, CreateIpamScopeCommandOutput } from "./commands/CreateIpamScopeCommand"; import { CreateKeyPairCommandInput, CreateKeyPairCommandOutput } from "./commands/CreateKeyPairCommand"; import { @@ -498,6 +506,10 @@ import { } from "./commands/DeleteInternetGatewayCommand"; import { DeleteIpamCommandInput, DeleteIpamCommandOutput } from "./commands/DeleteIpamCommand"; import { DeleteIpamPoolCommandInput, DeleteIpamPoolCommandOutput } from "./commands/DeleteIpamPoolCommand"; +import { + DeleteIpamResourceDiscoveryCommandInput, + DeleteIpamResourceDiscoveryCommandOutput, +} from "./commands/DeleteIpamResourceDiscoveryCommand"; import { DeleteIpamScopeCommandInput, DeleteIpamScopeCommandOutput } from "./commands/DeleteIpamScopeCommand"; import { DeleteKeyPairCommandInput, DeleteKeyPairCommandOutput } from "./commands/DeleteKeyPairCommand"; import { @@ -895,6 +907,14 @@ import { DescribeInternetGatewaysCommandOutput, } from "./commands/DescribeInternetGatewaysCommand"; import { DescribeIpamPoolsCommandInput, DescribeIpamPoolsCommandOutput } from "./commands/DescribeIpamPoolsCommand"; +import { + DescribeIpamResourceDiscoveriesCommandInput, + DescribeIpamResourceDiscoveriesCommandOutput, +} from "./commands/DescribeIpamResourceDiscoveriesCommand"; +import { + DescribeIpamResourceDiscoveryAssociationsCommandInput, + DescribeIpamResourceDiscoveryAssociationsCommandOutput, +} from "./commands/DescribeIpamResourceDiscoveryAssociationsCommand"; import { DescribeIpamsCommandInput, DescribeIpamsCommandOutput } from "./commands/DescribeIpamsCommand"; import { DescribeIpamScopesCommandInput, DescribeIpamScopesCommandOutput } from "./commands/DescribeIpamScopesCommand"; import { DescribeIpv6PoolsCommandInput, DescribeIpv6PoolsCommandOutput } from "./commands/DescribeIpv6PoolsCommand"; @@ -1300,6 +1320,10 @@ import { DisassociateInstanceEventWindowCommandInput, DisassociateInstanceEventWindowCommandOutput, } from "./commands/DisassociateInstanceEventWindowCommand"; +import { + DisassociateIpamResourceDiscoveryCommandInput, + DisassociateIpamResourceDiscoveryCommandOutput, +} from "./commands/DisassociateIpamResourceDiscoveryCommand"; import { DisassociateRouteTableCommandInput, DisassociateRouteTableCommandOutput, @@ -1449,6 +1473,14 @@ import { GetIpamAddressHistoryCommandInput, GetIpamAddressHistoryCommandOutput, } from "./commands/GetIpamAddressHistoryCommand"; +import { + GetIpamDiscoveredAccountsCommandInput, + GetIpamDiscoveredAccountsCommandOutput, +} from "./commands/GetIpamDiscoveredAccountsCommand"; +import { + GetIpamDiscoveredResourceCidrsCommandInput, + GetIpamDiscoveredResourceCidrsCommandOutput, +} from "./commands/GetIpamDiscoveredResourceCidrsCommand"; import { GetIpamPoolAllocationsCommandInput, GetIpamPoolAllocationsCommandOutput, @@ -1637,6 +1669,10 @@ import { ModifyIpamResourceCidrCommandInput, ModifyIpamResourceCidrCommandOutput, } from "./commands/ModifyIpamResourceCidrCommand"; +import { + ModifyIpamResourceDiscoveryCommandInput, + ModifyIpamResourceDiscoveryCommandOutput, +} from "./commands/ModifyIpamResourceDiscoveryCommand"; import { ModifyIpamScopeCommandInput, ModifyIpamScopeCommandOutput } from "./commands/ModifyIpamScopeCommand"; import { ModifyLaunchTemplateCommandInput, @@ -2019,6 +2055,7 @@ export type ServiceInputTypes = | AssociateEnclaveCertificateIamRoleCommandInput | AssociateIamInstanceProfileCommandInput | AssociateInstanceEventWindowCommandInput + | AssociateIpamResourceDiscoveryCommandInput | AssociateRouteTableCommandInput | AssociateSubnetCidrBlockCommandInput | AssociateTransitGatewayMulticastDomainCommandInput @@ -2071,6 +2108,7 @@ export type ServiceInputTypes = | CreateInternetGatewayCommandInput | CreateIpamCommandInput | CreateIpamPoolCommandInput + | CreateIpamResourceDiscoveryCommandInput | CreateIpamScopeCommandInput | CreateKeyPairCommandInput | CreateLaunchTemplateCommandInput @@ -2145,6 +2183,7 @@ export type ServiceInputTypes = | DeleteInternetGatewayCommandInput | DeleteIpamCommandInput | DeleteIpamPoolCommandInput + | DeleteIpamResourceDiscoveryCommandInput | DeleteIpamScopeCommandInput | DeleteKeyPairCommandInput | DeleteLaunchTemplateCommandInput @@ -2263,6 +2302,8 @@ export type ServiceInputTypes = | DescribeInstancesCommandInput | DescribeInternetGatewaysCommandInput | DescribeIpamPoolsCommandInput + | DescribeIpamResourceDiscoveriesCommandInput + | DescribeIpamResourceDiscoveryAssociationsCommandInput | DescribeIpamScopesCommandInput | DescribeIpamsCommandInput | DescribeIpv6PoolsCommandInput @@ -2374,6 +2415,7 @@ export type ServiceInputTypes = | DisassociateEnclaveCertificateIamRoleCommandInput | DisassociateIamInstanceProfileCommandInput | DisassociateInstanceEventWindowCommandInput + | DisassociateIpamResourceDiscoveryCommandInput | DisassociateRouteTableCommandInput | DisassociateSubnetCidrBlockCommandInput | DisassociateTransitGatewayMulticastDomainCommandInput @@ -2415,6 +2457,8 @@ export type ServiceInputTypes = | GetInstanceTypesFromInstanceRequirementsCommandInput | GetInstanceUefiDataCommandInput | GetIpamAddressHistoryCommandInput + | GetIpamDiscoveredAccountsCommandInput + | GetIpamDiscoveredResourceCidrsCommandInput | GetIpamPoolAllocationsCommandInput | GetIpamPoolCidrsCommandInput | GetIpamResourceCidrsCommandInput @@ -2471,6 +2515,7 @@ export type ServiceInputTypes = | ModifyIpamCommandInput | ModifyIpamPoolCommandInput | ModifyIpamResourceCidrCommandInput + | ModifyIpamResourceDiscoveryCommandInput | ModifyIpamScopeCommandInput | ModifyLaunchTemplateCommandInput | ModifyLocalGatewayRouteCommandInput @@ -2597,6 +2642,7 @@ export type ServiceOutputTypes = | AssociateEnclaveCertificateIamRoleCommandOutput | AssociateIamInstanceProfileCommandOutput | AssociateInstanceEventWindowCommandOutput + | AssociateIpamResourceDiscoveryCommandOutput | AssociateRouteTableCommandOutput | AssociateSubnetCidrBlockCommandOutput | AssociateTransitGatewayMulticastDomainCommandOutput @@ -2649,6 +2695,7 @@ export type ServiceOutputTypes = | CreateInternetGatewayCommandOutput | CreateIpamCommandOutput | CreateIpamPoolCommandOutput + | CreateIpamResourceDiscoveryCommandOutput | CreateIpamScopeCommandOutput | CreateKeyPairCommandOutput | CreateLaunchTemplateCommandOutput @@ -2723,6 +2770,7 @@ export type ServiceOutputTypes = | DeleteInternetGatewayCommandOutput | DeleteIpamCommandOutput | DeleteIpamPoolCommandOutput + | DeleteIpamResourceDiscoveryCommandOutput | DeleteIpamScopeCommandOutput | DeleteKeyPairCommandOutput | DeleteLaunchTemplateCommandOutput @@ -2841,6 +2889,8 @@ export type ServiceOutputTypes = | DescribeInstancesCommandOutput | DescribeInternetGatewaysCommandOutput | DescribeIpamPoolsCommandOutput + | DescribeIpamResourceDiscoveriesCommandOutput + | DescribeIpamResourceDiscoveryAssociationsCommandOutput | DescribeIpamScopesCommandOutput | DescribeIpamsCommandOutput | DescribeIpv6PoolsCommandOutput @@ -2952,6 +3002,7 @@ export type ServiceOutputTypes = | DisassociateEnclaveCertificateIamRoleCommandOutput | DisassociateIamInstanceProfileCommandOutput | DisassociateInstanceEventWindowCommandOutput + | DisassociateIpamResourceDiscoveryCommandOutput | DisassociateRouteTableCommandOutput | DisassociateSubnetCidrBlockCommandOutput | DisassociateTransitGatewayMulticastDomainCommandOutput @@ -2993,6 +3044,8 @@ export type ServiceOutputTypes = | GetInstanceTypesFromInstanceRequirementsCommandOutput | GetInstanceUefiDataCommandOutput | GetIpamAddressHistoryCommandOutput + | GetIpamDiscoveredAccountsCommandOutput + | GetIpamDiscoveredResourceCidrsCommandOutput | GetIpamPoolAllocationsCommandOutput | GetIpamPoolCidrsCommandOutput | GetIpamResourceCidrsCommandOutput @@ -3049,6 +3102,7 @@ export type ServiceOutputTypes = | ModifyIpamCommandOutput | ModifyIpamPoolCommandOutput | ModifyIpamResourceCidrCommandOutput + | ModifyIpamResourceDiscoveryCommandOutput | ModifyIpamScopeCommandOutput | ModifyLaunchTemplateCommandOutput | ModifyLocalGatewayRouteCommandOutput diff --git a/clients/client-ec2/src/commands/AllocateIpamPoolCidrCommand.ts b/clients/client-ec2/src/commands/AllocateIpamPoolCidrCommand.ts index a413e9715ca9..11b30aad0340 100644 --- a/clients/client-ec2/src/commands/AllocateIpamPoolCidrCommand.ts +++ b/clients/client-ec2/src/commands/AllocateIpamPoolCidrCommand.ts @@ -29,7 +29,7 @@ export interface AllocateIpamPoolCidrCommandInput extends AllocateIpamPoolCidrRe export interface AllocateIpamPoolCidrCommandOutput extends AllocateIpamPoolCidrResult, __MetadataBearer {} /** - *

Allocate a CIDR from an IPAM pool. In IPAM, an allocation is a CIDR assignment from an IPAM pool to another resource or IPAM pool. For more information, see Allocate CIDRs in the Amazon VPC IPAM User Guide. + *

Allocate a CIDR from an IPAM pool. In IPAM, an allocation is a CIDR assignment from an IPAM pool to another IPAM pool or to a resource. For more information, see Allocate CIDRs in the Amazon VPC IPAM User Guide. *

* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-ec2/src/commands/AssociateIpamResourceDiscoveryCommand.ts b/clients/client-ec2/src/commands/AssociateIpamResourceDiscoveryCommand.ts new file mode 100644 index 000000000000..5c6365cc2f66 --- /dev/null +++ b/clients/client-ec2/src/commands/AssociateIpamResourceDiscoveryCommand.ts @@ -0,0 +1,122 @@ +// smithy-typescript generated code +import { EndpointParameterInstructions, getEndpointPlugin } from "@aws-sdk/middleware-endpoint"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; +import { + AssociateIpamResourceDiscoveryRequest, + AssociateIpamResourceDiscoveryRequestFilterSensitiveLog, + AssociateIpamResourceDiscoveryResult, + AssociateIpamResourceDiscoveryResultFilterSensitiveLog, +} from "../models/models_0"; +import { + deserializeAws_ec2AssociateIpamResourceDiscoveryCommand, + serializeAws_ec2AssociateIpamResourceDiscoveryCommand, +} from "../protocols/Aws_ec2"; + +export interface AssociateIpamResourceDiscoveryCommandInput extends AssociateIpamResourceDiscoveryRequest {} +export interface AssociateIpamResourceDiscoveryCommandOutput + extends AssociateIpamResourceDiscoveryResult, + __MetadataBearer {} + +/** + *

Associates an IPAM resource discovery with an Amazon VPC IPAM. A resource discovery is an IPAM component that enables IPAM Service to manage and monitor resources that belong to the owning account.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { EC2Client, AssociateIpamResourceDiscoveryCommand } from "@aws-sdk/client-ec2"; // ES Modules import + * // const { EC2Client, AssociateIpamResourceDiscoveryCommand } = require("@aws-sdk/client-ec2"); // CommonJS import + * const client = new EC2Client(config); + * const command = new AssociateIpamResourceDiscoveryCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link AssociateIpamResourceDiscoveryCommandInput} for command's `input` shape. + * @see {@link AssociateIpamResourceDiscoveryCommandOutput} for command's `response` shape. + * @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape. + * + */ +export class AssociateIpamResourceDiscoveryCommand extends $Command< + AssociateIpamResourceDiscoveryCommandInput, + AssociateIpamResourceDiscoveryCommandOutput, + EC2ClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + public static getEndpointParameterInstructions(): EndpointParameterInstructions { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + + constructor(readonly input: AssociateIpamResourceDiscoveryCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: EC2ClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use( + getEndpointPlugin(configuration, AssociateIpamResourceDiscoveryCommand.getEndpointParameterInstructions()) + ); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "EC2Client"; + const commandName = "AssociateIpamResourceDiscoveryCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: AssociateIpamResourceDiscoveryRequestFilterSensitiveLog, + outputFilterSensitiveLog: AssociateIpamResourceDiscoveryResultFilterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize( + input: AssociateIpamResourceDiscoveryCommandInput, + context: __SerdeContext + ): Promise<__HttpRequest> { + return serializeAws_ec2AssociateIpamResourceDiscoveryCommand(input, context); + } + + private deserialize( + output: __HttpResponse, + context: __SerdeContext + ): Promise { + return deserializeAws_ec2AssociateIpamResourceDiscoveryCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-ec2/src/commands/CreateClientVpnRouteCommand.ts b/clients/client-ec2/src/commands/CreateClientVpnRouteCommand.ts index 3ab91b8d6eca..40eab43c61b5 100644 --- a/clients/client-ec2/src/commands/CreateClientVpnRouteCommand.ts +++ b/clients/client-ec2/src/commands/CreateClientVpnRouteCommand.ts @@ -14,12 +14,8 @@ import { } from "@aws-sdk/types"; import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; -import { - CreateClientVpnRouteRequest, - CreateClientVpnRouteRequestFilterSensitiveLog, - CreateClientVpnRouteResult, - CreateClientVpnRouteResultFilterSensitiveLog, -} from "../models/models_0"; +import { CreateClientVpnRouteRequest, CreateClientVpnRouteRequestFilterSensitiveLog } from "../models/models_0"; +import { CreateClientVpnRouteResult, CreateClientVpnRouteResultFilterSensitiveLog } from "../models/models_1"; import { deserializeAws_ec2CreateClientVpnRouteCommand, serializeAws_ec2CreateClientVpnRouteCommand, diff --git a/clients/client-ec2/src/commands/CreateCoipCidrCommand.ts b/clients/client-ec2/src/commands/CreateCoipCidrCommand.ts index 9a553b3a3b37..ac6038bc64e1 100644 --- a/clients/client-ec2/src/commands/CreateCoipCidrCommand.ts +++ b/clients/client-ec2/src/commands/CreateCoipCidrCommand.ts @@ -14,8 +14,12 @@ import { } from "@aws-sdk/types"; import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; -import { CreateCoipCidrRequest, CreateCoipCidrRequestFilterSensitiveLog } from "../models/models_0"; -import { CreateCoipCidrResult, CreateCoipCidrResultFilterSensitiveLog } from "../models/models_1"; +import { + CreateCoipCidrRequest, + CreateCoipCidrRequestFilterSensitiveLog, + CreateCoipCidrResult, + CreateCoipCidrResultFilterSensitiveLog, +} from "../models/models_1"; import { deserializeAws_ec2CreateCoipCidrCommand, serializeAws_ec2CreateCoipCidrCommand } from "../protocols/Aws_ec2"; export interface CreateCoipCidrCommandInput extends CreateCoipCidrRequest {} diff --git a/clients/client-ec2/src/commands/CreateIpamResourceDiscoveryCommand.ts b/clients/client-ec2/src/commands/CreateIpamResourceDiscoveryCommand.ts new file mode 100644 index 000000000000..6bca1f50ed4b --- /dev/null +++ b/clients/client-ec2/src/commands/CreateIpamResourceDiscoveryCommand.ts @@ -0,0 +1,117 @@ +// smithy-typescript generated code +import { EndpointParameterInstructions, getEndpointPlugin } from "@aws-sdk/middleware-endpoint"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; +import { + CreateIpamResourceDiscoveryRequest, + CreateIpamResourceDiscoveryRequestFilterSensitiveLog, + CreateIpamResourceDiscoveryResult, + CreateIpamResourceDiscoveryResultFilterSensitiveLog, +} from "../models/models_1"; +import { + deserializeAws_ec2CreateIpamResourceDiscoveryCommand, + serializeAws_ec2CreateIpamResourceDiscoveryCommand, +} from "../protocols/Aws_ec2"; + +export interface CreateIpamResourceDiscoveryCommandInput extends CreateIpamResourceDiscoveryRequest {} +export interface CreateIpamResourceDiscoveryCommandOutput extends CreateIpamResourceDiscoveryResult, __MetadataBearer {} + +/** + *

Creates an IPAM resource discovery. A resource discovery is an IPAM component that enables IPAM Service to manage and monitor resources that belong to the owning account.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { EC2Client, CreateIpamResourceDiscoveryCommand } from "@aws-sdk/client-ec2"; // ES Modules import + * // const { EC2Client, CreateIpamResourceDiscoveryCommand } = require("@aws-sdk/client-ec2"); // CommonJS import + * const client = new EC2Client(config); + * const command = new CreateIpamResourceDiscoveryCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link CreateIpamResourceDiscoveryCommandInput} for command's `input` shape. + * @see {@link CreateIpamResourceDiscoveryCommandOutput} for command's `response` shape. + * @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape. + * + */ +export class CreateIpamResourceDiscoveryCommand extends $Command< + CreateIpamResourceDiscoveryCommandInput, + CreateIpamResourceDiscoveryCommandOutput, + EC2ClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + public static getEndpointParameterInstructions(): EndpointParameterInstructions { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + + constructor(readonly input: CreateIpamResourceDiscoveryCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: EC2ClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use( + getEndpointPlugin(configuration, CreateIpamResourceDiscoveryCommand.getEndpointParameterInstructions()) + ); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "EC2Client"; + const commandName = "CreateIpamResourceDiscoveryCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: CreateIpamResourceDiscoveryRequestFilterSensitiveLog, + outputFilterSensitiveLog: CreateIpamResourceDiscoveryResultFilterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: CreateIpamResourceDiscoveryCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_ec2CreateIpamResourceDiscoveryCommand(input, context); + } + + private deserialize( + output: __HttpResponse, + context: __SerdeContext + ): Promise { + return deserializeAws_ec2CreateIpamResourceDiscoveryCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-ec2/src/commands/CreateRouteTableCommand.ts b/clients/client-ec2/src/commands/CreateRouteTableCommand.ts index 426119449064..7cb8dc8bc142 100644 --- a/clients/client-ec2/src/commands/CreateRouteTableCommand.ts +++ b/clients/client-ec2/src/commands/CreateRouteTableCommand.ts @@ -14,12 +14,8 @@ import { } from "@aws-sdk/types"; import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; -import { - CreateRouteTableRequest, - CreateRouteTableRequestFilterSensitiveLog, - CreateRouteTableResult, - CreateRouteTableResultFilterSensitiveLog, -} from "../models/models_1"; +import { CreateRouteTableRequest, CreateRouteTableRequestFilterSensitiveLog } from "../models/models_1"; +import { CreateRouteTableResult, CreateRouteTableResultFilterSensitiveLog } from "../models/models_2"; import { deserializeAws_ec2CreateRouteTableCommand, serializeAws_ec2CreateRouteTableCommand, diff --git a/clients/client-ec2/src/commands/CreateSecurityGroupCommand.ts b/clients/client-ec2/src/commands/CreateSecurityGroupCommand.ts index 6e2dfcc1d97a..691034d3c371 100644 --- a/clients/client-ec2/src/commands/CreateSecurityGroupCommand.ts +++ b/clients/client-ec2/src/commands/CreateSecurityGroupCommand.ts @@ -19,7 +19,7 @@ import { CreateSecurityGroupRequestFilterSensitiveLog, CreateSecurityGroupResult, CreateSecurityGroupResultFilterSensitiveLog, -} from "../models/models_1"; +} from "../models/models_2"; import { deserializeAws_ec2CreateSecurityGroupCommand, serializeAws_ec2CreateSecurityGroupCommand, diff --git a/clients/client-ec2/src/commands/CreateSnapshotCommand.ts b/clients/client-ec2/src/commands/CreateSnapshotCommand.ts index 617e8b7f75a6..2be6e510dd03 100644 --- a/clients/client-ec2/src/commands/CreateSnapshotCommand.ts +++ b/clients/client-ec2/src/commands/CreateSnapshotCommand.ts @@ -19,7 +19,7 @@ import { CreateSnapshotRequestFilterSensitiveLog, Snapshot, SnapshotFilterSensitiveLog, -} from "../models/models_1"; +} from "../models/models_2"; import { deserializeAws_ec2CreateSnapshotCommand, serializeAws_ec2CreateSnapshotCommand } from "../protocols/Aws_ec2"; export interface CreateSnapshotCommandInput extends CreateSnapshotRequest {} diff --git a/clients/client-ec2/src/commands/CreateSnapshotsCommand.ts b/clients/client-ec2/src/commands/CreateSnapshotsCommand.ts index d9b1ec76ca3d..aaae81360baa 100644 --- a/clients/client-ec2/src/commands/CreateSnapshotsCommand.ts +++ b/clients/client-ec2/src/commands/CreateSnapshotsCommand.ts @@ -14,8 +14,12 @@ import { } from "@aws-sdk/types"; import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; -import { CreateSnapshotsRequest, CreateSnapshotsRequestFilterSensitiveLog } from "../models/models_1"; -import { CreateSnapshotsResult, CreateSnapshotsResultFilterSensitiveLog } from "../models/models_2"; +import { + CreateSnapshotsRequest, + CreateSnapshotsRequestFilterSensitiveLog, + CreateSnapshotsResult, + CreateSnapshotsResultFilterSensitiveLog, +} from "../models/models_2"; import { deserializeAws_ec2CreateSnapshotsCommand, serializeAws_ec2CreateSnapshotsCommand } from "../protocols/Aws_ec2"; export interface CreateSnapshotsCommandInput extends CreateSnapshotsRequest {} diff --git a/clients/client-ec2/src/commands/DeleteIpamResourceDiscoveryCommand.ts b/clients/client-ec2/src/commands/DeleteIpamResourceDiscoveryCommand.ts new file mode 100644 index 000000000000..9af158272926 --- /dev/null +++ b/clients/client-ec2/src/commands/DeleteIpamResourceDiscoveryCommand.ts @@ -0,0 +1,117 @@ +// smithy-typescript generated code +import { EndpointParameterInstructions, getEndpointPlugin } from "@aws-sdk/middleware-endpoint"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; +import { + DeleteIpamResourceDiscoveryRequest, + DeleteIpamResourceDiscoveryRequestFilterSensitiveLog, + DeleteIpamResourceDiscoveryResult, + DeleteIpamResourceDiscoveryResultFilterSensitiveLog, +} from "../models/models_2"; +import { + deserializeAws_ec2DeleteIpamResourceDiscoveryCommand, + serializeAws_ec2DeleteIpamResourceDiscoveryCommand, +} from "../protocols/Aws_ec2"; + +export interface DeleteIpamResourceDiscoveryCommandInput extends DeleteIpamResourceDiscoveryRequest {} +export interface DeleteIpamResourceDiscoveryCommandOutput extends DeleteIpamResourceDiscoveryResult, __MetadataBearer {} + +/** + *

Deletes an IPAM resource discovery. A resource discovery is an IPAM component that enables IPAM Service to manage and monitor resources that belong to the owning account.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { EC2Client, DeleteIpamResourceDiscoveryCommand } from "@aws-sdk/client-ec2"; // ES Modules import + * // const { EC2Client, DeleteIpamResourceDiscoveryCommand } = require("@aws-sdk/client-ec2"); // CommonJS import + * const client = new EC2Client(config); + * const command = new DeleteIpamResourceDiscoveryCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link DeleteIpamResourceDiscoveryCommandInput} for command's `input` shape. + * @see {@link DeleteIpamResourceDiscoveryCommandOutput} for command's `response` shape. + * @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape. + * + */ +export class DeleteIpamResourceDiscoveryCommand extends $Command< + DeleteIpamResourceDiscoveryCommandInput, + DeleteIpamResourceDiscoveryCommandOutput, + EC2ClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + public static getEndpointParameterInstructions(): EndpointParameterInstructions { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + + constructor(readonly input: DeleteIpamResourceDiscoveryCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: EC2ClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use( + getEndpointPlugin(configuration, DeleteIpamResourceDiscoveryCommand.getEndpointParameterInstructions()) + ); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "EC2Client"; + const commandName = "DeleteIpamResourceDiscoveryCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: DeleteIpamResourceDiscoveryRequestFilterSensitiveLog, + outputFilterSensitiveLog: DeleteIpamResourceDiscoveryResultFilterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: DeleteIpamResourceDiscoveryCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_ec2DeleteIpamResourceDiscoveryCommand(input, context); + } + + private deserialize( + output: __HttpResponse, + context: __SerdeContext + ): Promise { + return deserializeAws_ec2DeleteIpamResourceDiscoveryCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-ec2/src/commands/DeleteTransitGatewayConnectCommand.ts b/clients/client-ec2/src/commands/DeleteTransitGatewayConnectCommand.ts index d67319ab536b..513dda8c5ee4 100644 --- a/clients/client-ec2/src/commands/DeleteTransitGatewayConnectCommand.ts +++ b/clients/client-ec2/src/commands/DeleteTransitGatewayConnectCommand.ts @@ -17,9 +17,11 @@ import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from " import { DeleteTransitGatewayConnectRequest, DeleteTransitGatewayConnectRequestFilterSensitiveLog, +} from "../models/models_2"; +import { DeleteTransitGatewayConnectResult, DeleteTransitGatewayConnectResultFilterSensitiveLog, -} from "../models/models_2"; +} from "../models/models_3"; import { deserializeAws_ec2DeleteTransitGatewayConnectCommand, serializeAws_ec2DeleteTransitGatewayConnectCommand, diff --git a/clients/client-ec2/src/commands/DeleteTransitGatewayConnectPeerCommand.ts b/clients/client-ec2/src/commands/DeleteTransitGatewayConnectPeerCommand.ts index 85052100e2bc..ad129b0e4d51 100644 --- a/clients/client-ec2/src/commands/DeleteTransitGatewayConnectPeerCommand.ts +++ b/clients/client-ec2/src/commands/DeleteTransitGatewayConnectPeerCommand.ts @@ -19,7 +19,7 @@ import { DeleteTransitGatewayConnectPeerRequestFilterSensitiveLog, DeleteTransitGatewayConnectPeerResult, DeleteTransitGatewayConnectPeerResultFilterSensitiveLog, -} from "../models/models_2"; +} from "../models/models_3"; import { deserializeAws_ec2DeleteTransitGatewayConnectPeerCommand, serializeAws_ec2DeleteTransitGatewayConnectPeerCommand, diff --git a/clients/client-ec2/src/commands/DeleteTransitGatewayMulticastDomainCommand.ts b/clients/client-ec2/src/commands/DeleteTransitGatewayMulticastDomainCommand.ts index 86baab8b8a09..369baf15ad9a 100644 --- a/clients/client-ec2/src/commands/DeleteTransitGatewayMulticastDomainCommand.ts +++ b/clients/client-ec2/src/commands/DeleteTransitGatewayMulticastDomainCommand.ts @@ -19,7 +19,7 @@ import { DeleteTransitGatewayMulticastDomainRequestFilterSensitiveLog, DeleteTransitGatewayMulticastDomainResult, DeleteTransitGatewayMulticastDomainResultFilterSensitiveLog, -} from "../models/models_2"; +} from "../models/models_3"; import { deserializeAws_ec2DeleteTransitGatewayMulticastDomainCommand, serializeAws_ec2DeleteTransitGatewayMulticastDomainCommand, diff --git a/clients/client-ec2/src/commands/DeleteTransitGatewayPeeringAttachmentCommand.ts b/clients/client-ec2/src/commands/DeleteTransitGatewayPeeringAttachmentCommand.ts index d14d54424bb5..aee9eba003b9 100644 --- a/clients/client-ec2/src/commands/DeleteTransitGatewayPeeringAttachmentCommand.ts +++ b/clients/client-ec2/src/commands/DeleteTransitGatewayPeeringAttachmentCommand.ts @@ -19,7 +19,7 @@ import { DeleteTransitGatewayPeeringAttachmentRequestFilterSensitiveLog, DeleteTransitGatewayPeeringAttachmentResult, DeleteTransitGatewayPeeringAttachmentResultFilterSensitiveLog, -} from "../models/models_2"; +} from "../models/models_3"; import { deserializeAws_ec2DeleteTransitGatewayPeeringAttachmentCommand, serializeAws_ec2DeleteTransitGatewayPeeringAttachmentCommand, diff --git a/clients/client-ec2/src/commands/DeleteTransitGatewayPolicyTableCommand.ts b/clients/client-ec2/src/commands/DeleteTransitGatewayPolicyTableCommand.ts index 69603266fa52..3e61fb29afeb 100644 --- a/clients/client-ec2/src/commands/DeleteTransitGatewayPolicyTableCommand.ts +++ b/clients/client-ec2/src/commands/DeleteTransitGatewayPolicyTableCommand.ts @@ -19,7 +19,7 @@ import { DeleteTransitGatewayPolicyTableRequestFilterSensitiveLog, DeleteTransitGatewayPolicyTableResult, DeleteTransitGatewayPolicyTableResultFilterSensitiveLog, -} from "../models/models_2"; +} from "../models/models_3"; import { deserializeAws_ec2DeleteTransitGatewayPolicyTableCommand, serializeAws_ec2DeleteTransitGatewayPolicyTableCommand, diff --git a/clients/client-ec2/src/commands/DeleteTransitGatewayPrefixListReferenceCommand.ts b/clients/client-ec2/src/commands/DeleteTransitGatewayPrefixListReferenceCommand.ts index 53f6100fe060..3cd6ae4c2305 100644 --- a/clients/client-ec2/src/commands/DeleteTransitGatewayPrefixListReferenceCommand.ts +++ b/clients/client-ec2/src/commands/DeleteTransitGatewayPrefixListReferenceCommand.ts @@ -19,7 +19,7 @@ import { DeleteTransitGatewayPrefixListReferenceRequestFilterSensitiveLog, DeleteTransitGatewayPrefixListReferenceResult, DeleteTransitGatewayPrefixListReferenceResultFilterSensitiveLog, -} from "../models/models_2"; +} from "../models/models_3"; import { deserializeAws_ec2DeleteTransitGatewayPrefixListReferenceCommand, serializeAws_ec2DeleteTransitGatewayPrefixListReferenceCommand, diff --git a/clients/client-ec2/src/commands/DeleteTransitGatewayRouteCommand.ts b/clients/client-ec2/src/commands/DeleteTransitGatewayRouteCommand.ts index dd367df2580c..932090c2fb53 100644 --- a/clients/client-ec2/src/commands/DeleteTransitGatewayRouteCommand.ts +++ b/clients/client-ec2/src/commands/DeleteTransitGatewayRouteCommand.ts @@ -17,8 +17,9 @@ import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from " import { DeleteTransitGatewayRouteRequest, DeleteTransitGatewayRouteRequestFilterSensitiveLog, -} from "../models/models_2"; -import { DeleteTransitGatewayRouteResult, DeleteTransitGatewayRouteResultFilterSensitiveLog } from "../models/models_3"; + DeleteTransitGatewayRouteResult, + DeleteTransitGatewayRouteResultFilterSensitiveLog, +} from "../models/models_3"; import { deserializeAws_ec2DeleteTransitGatewayRouteCommand, serializeAws_ec2DeleteTransitGatewayRouteCommand, diff --git a/clients/client-ec2/src/commands/DescribeInstanceStatusCommand.ts b/clients/client-ec2/src/commands/DescribeInstanceStatusCommand.ts index def1a22238f2..4562b2abbdfb 100644 --- a/clients/client-ec2/src/commands/DescribeInstanceStatusCommand.ts +++ b/clients/client-ec2/src/commands/DescribeInstanceStatusCommand.ts @@ -14,12 +14,8 @@ import { } from "@aws-sdk/types"; import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; -import { - DescribeInstanceStatusRequest, - DescribeInstanceStatusRequestFilterSensitiveLog, - DescribeInstanceStatusResult, - DescribeInstanceStatusResultFilterSensitiveLog, -} from "../models/models_3"; +import { DescribeInstanceStatusRequest, DescribeInstanceStatusRequestFilterSensitiveLog } from "../models/models_3"; +import { DescribeInstanceStatusResult, DescribeInstanceStatusResultFilterSensitiveLog } from "../models/models_4"; import { deserializeAws_ec2DescribeInstanceStatusCommand, serializeAws_ec2DescribeInstanceStatusCommand, diff --git a/clients/client-ec2/src/commands/DescribeInstanceTypeOfferingsCommand.ts b/clients/client-ec2/src/commands/DescribeInstanceTypeOfferingsCommand.ts index e68d6300e724..12176864c1fa 100644 --- a/clients/client-ec2/src/commands/DescribeInstanceTypeOfferingsCommand.ts +++ b/clients/client-ec2/src/commands/DescribeInstanceTypeOfferingsCommand.ts @@ -19,7 +19,7 @@ import { DescribeInstanceTypeOfferingsRequestFilterSensitiveLog, DescribeInstanceTypeOfferingsResult, DescribeInstanceTypeOfferingsResultFilterSensitiveLog, -} from "../models/models_3"; +} from "../models/models_4"; import { deserializeAws_ec2DescribeInstanceTypeOfferingsCommand, serializeAws_ec2DescribeInstanceTypeOfferingsCommand, diff --git a/clients/client-ec2/src/commands/DescribeInstanceTypesCommand.ts b/clients/client-ec2/src/commands/DescribeInstanceTypesCommand.ts index ca89e6ae2fa1..f468dad23f01 100644 --- a/clients/client-ec2/src/commands/DescribeInstanceTypesCommand.ts +++ b/clients/client-ec2/src/commands/DescribeInstanceTypesCommand.ts @@ -14,8 +14,12 @@ import { } from "@aws-sdk/types"; import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; -import { DescribeInstanceTypesRequest, DescribeInstanceTypesRequestFilterSensitiveLog } from "../models/models_3"; -import { DescribeInstanceTypesResult, DescribeInstanceTypesResultFilterSensitiveLog } from "../models/models_4"; +import { + DescribeInstanceTypesRequest, + DescribeInstanceTypesRequestFilterSensitiveLog, + DescribeInstanceTypesResult, + DescribeInstanceTypesResultFilterSensitiveLog, +} from "../models/models_4"; import { deserializeAws_ec2DescribeInstanceTypesCommand, serializeAws_ec2DescribeInstanceTypesCommand, diff --git a/clients/client-ec2/src/commands/DescribeIpamResourceDiscoveriesCommand.ts b/clients/client-ec2/src/commands/DescribeIpamResourceDiscoveriesCommand.ts new file mode 100644 index 000000000000..a2ee70692745 --- /dev/null +++ b/clients/client-ec2/src/commands/DescribeIpamResourceDiscoveriesCommand.ts @@ -0,0 +1,122 @@ +// smithy-typescript generated code +import { EndpointParameterInstructions, getEndpointPlugin } from "@aws-sdk/middleware-endpoint"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; +import { + DescribeIpamResourceDiscoveriesRequest, + DescribeIpamResourceDiscoveriesRequestFilterSensitiveLog, + DescribeIpamResourceDiscoveriesResult, + DescribeIpamResourceDiscoveriesResultFilterSensitiveLog, +} from "../models/models_4"; +import { + deserializeAws_ec2DescribeIpamResourceDiscoveriesCommand, + serializeAws_ec2DescribeIpamResourceDiscoveriesCommand, +} from "../protocols/Aws_ec2"; + +export interface DescribeIpamResourceDiscoveriesCommandInput extends DescribeIpamResourceDiscoveriesRequest {} +export interface DescribeIpamResourceDiscoveriesCommandOutput + extends DescribeIpamResourceDiscoveriesResult, + __MetadataBearer {} + +/** + *

Describes IPAM resource discoveries. A resource discovery is an IPAM component that enables IPAM Service to manage and monitor resources that belong to the owning account.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { EC2Client, DescribeIpamResourceDiscoveriesCommand } from "@aws-sdk/client-ec2"; // ES Modules import + * // const { EC2Client, DescribeIpamResourceDiscoveriesCommand } = require("@aws-sdk/client-ec2"); // CommonJS import + * const client = new EC2Client(config); + * const command = new DescribeIpamResourceDiscoveriesCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link DescribeIpamResourceDiscoveriesCommandInput} for command's `input` shape. + * @see {@link DescribeIpamResourceDiscoveriesCommandOutput} for command's `response` shape. + * @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape. + * + */ +export class DescribeIpamResourceDiscoveriesCommand extends $Command< + DescribeIpamResourceDiscoveriesCommandInput, + DescribeIpamResourceDiscoveriesCommandOutput, + EC2ClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + public static getEndpointParameterInstructions(): EndpointParameterInstructions { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + + constructor(readonly input: DescribeIpamResourceDiscoveriesCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: EC2ClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use( + getEndpointPlugin(configuration, DescribeIpamResourceDiscoveriesCommand.getEndpointParameterInstructions()) + ); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "EC2Client"; + const commandName = "DescribeIpamResourceDiscoveriesCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: DescribeIpamResourceDiscoveriesRequestFilterSensitiveLog, + outputFilterSensitiveLog: DescribeIpamResourceDiscoveriesResultFilterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize( + input: DescribeIpamResourceDiscoveriesCommandInput, + context: __SerdeContext + ): Promise<__HttpRequest> { + return serializeAws_ec2DescribeIpamResourceDiscoveriesCommand(input, context); + } + + private deserialize( + output: __HttpResponse, + context: __SerdeContext + ): Promise { + return deserializeAws_ec2DescribeIpamResourceDiscoveriesCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-ec2/src/commands/DescribeIpamResourceDiscoveryAssociationsCommand.ts b/clients/client-ec2/src/commands/DescribeIpamResourceDiscoveryAssociationsCommand.ts new file mode 100644 index 000000000000..28c28455d35a --- /dev/null +++ b/clients/client-ec2/src/commands/DescribeIpamResourceDiscoveryAssociationsCommand.ts @@ -0,0 +1,129 @@ +// smithy-typescript generated code +import { EndpointParameterInstructions, getEndpointPlugin } from "@aws-sdk/middleware-endpoint"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; +import { + DescribeIpamResourceDiscoveryAssociationsRequest, + DescribeIpamResourceDiscoveryAssociationsRequestFilterSensitiveLog, + DescribeIpamResourceDiscoveryAssociationsResult, + DescribeIpamResourceDiscoveryAssociationsResultFilterSensitiveLog, +} from "../models/models_4"; +import { + deserializeAws_ec2DescribeIpamResourceDiscoveryAssociationsCommand, + serializeAws_ec2DescribeIpamResourceDiscoveryAssociationsCommand, +} from "../protocols/Aws_ec2"; + +export interface DescribeIpamResourceDiscoveryAssociationsCommandInput + extends DescribeIpamResourceDiscoveryAssociationsRequest {} +export interface DescribeIpamResourceDiscoveryAssociationsCommandOutput + extends DescribeIpamResourceDiscoveryAssociationsResult, + __MetadataBearer {} + +/** + *

Describes resource discovery association with an Amazon VPC IPAM. An associated resource discovery is a resource discovery that has been associated with an IPAM..

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { EC2Client, DescribeIpamResourceDiscoveryAssociationsCommand } from "@aws-sdk/client-ec2"; // ES Modules import + * // const { EC2Client, DescribeIpamResourceDiscoveryAssociationsCommand } = require("@aws-sdk/client-ec2"); // CommonJS import + * const client = new EC2Client(config); + * const command = new DescribeIpamResourceDiscoveryAssociationsCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link DescribeIpamResourceDiscoveryAssociationsCommandInput} for command's `input` shape. + * @see {@link DescribeIpamResourceDiscoveryAssociationsCommandOutput} for command's `response` shape. + * @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape. + * + */ +export class DescribeIpamResourceDiscoveryAssociationsCommand extends $Command< + DescribeIpamResourceDiscoveryAssociationsCommandInput, + DescribeIpamResourceDiscoveryAssociationsCommandOutput, + EC2ClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + public static getEndpointParameterInstructions(): EndpointParameterInstructions { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + + constructor(readonly input: DescribeIpamResourceDiscoveryAssociationsCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: EC2ClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + DescribeIpamResourceDiscoveryAssociationsCommandInput, + DescribeIpamResourceDiscoveryAssociationsCommandOutput + > { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use( + getEndpointPlugin( + configuration, + DescribeIpamResourceDiscoveryAssociationsCommand.getEndpointParameterInstructions() + ) + ); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "EC2Client"; + const commandName = "DescribeIpamResourceDiscoveryAssociationsCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: DescribeIpamResourceDiscoveryAssociationsRequestFilterSensitiveLog, + outputFilterSensitiveLog: DescribeIpamResourceDiscoveryAssociationsResultFilterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize( + input: DescribeIpamResourceDiscoveryAssociationsCommandInput, + context: __SerdeContext + ): Promise<__HttpRequest> { + return serializeAws_ec2DescribeIpamResourceDiscoveryAssociationsCommand(input, context); + } + + private deserialize( + output: __HttpResponse, + context: __SerdeContext + ): Promise { + return deserializeAws_ec2DescribeIpamResourceDiscoveryAssociationsCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-ec2/src/commands/DescribeVpcAttributeCommand.ts b/clients/client-ec2/src/commands/DescribeVpcAttributeCommand.ts index 06b223abab9f..127545aeef11 100644 --- a/clients/client-ec2/src/commands/DescribeVpcAttributeCommand.ts +++ b/clients/client-ec2/src/commands/DescribeVpcAttributeCommand.ts @@ -19,7 +19,7 @@ import { DescribeVpcAttributeRequestFilterSensitiveLog, DescribeVpcAttributeResult, DescribeVpcAttributeResultFilterSensitiveLog, -} from "../models/models_4"; +} from "../models/models_5"; import { deserializeAws_ec2DescribeVpcAttributeCommand, serializeAws_ec2DescribeVpcAttributeCommand, diff --git a/clients/client-ec2/src/commands/DescribeVpcClassicLinkCommand.ts b/clients/client-ec2/src/commands/DescribeVpcClassicLinkCommand.ts index 8d045013a954..54e1856b2ff6 100644 --- a/clients/client-ec2/src/commands/DescribeVpcClassicLinkCommand.ts +++ b/clients/client-ec2/src/commands/DescribeVpcClassicLinkCommand.ts @@ -19,7 +19,7 @@ import { DescribeVpcClassicLinkRequestFilterSensitiveLog, DescribeVpcClassicLinkResult, DescribeVpcClassicLinkResultFilterSensitiveLog, -} from "../models/models_4"; +} from "../models/models_5"; import { deserializeAws_ec2DescribeVpcClassicLinkCommand, serializeAws_ec2DescribeVpcClassicLinkCommand, diff --git a/clients/client-ec2/src/commands/DescribeVpcClassicLinkDnsSupportCommand.ts b/clients/client-ec2/src/commands/DescribeVpcClassicLinkDnsSupportCommand.ts index 379e04380278..4642f96fbd7f 100644 --- a/clients/client-ec2/src/commands/DescribeVpcClassicLinkDnsSupportCommand.ts +++ b/clients/client-ec2/src/commands/DescribeVpcClassicLinkDnsSupportCommand.ts @@ -19,7 +19,7 @@ import { DescribeVpcClassicLinkDnsSupportRequestFilterSensitiveLog, DescribeVpcClassicLinkDnsSupportResult, DescribeVpcClassicLinkDnsSupportResultFilterSensitiveLog, -} from "../models/models_4"; +} from "../models/models_5"; import { deserializeAws_ec2DescribeVpcClassicLinkDnsSupportCommand, serializeAws_ec2DescribeVpcClassicLinkDnsSupportCommand, diff --git a/clients/client-ec2/src/commands/DescribeVpcEndpointConnectionNotificationsCommand.ts b/clients/client-ec2/src/commands/DescribeVpcEndpointConnectionNotificationsCommand.ts index 7d4b4db3dc24..33e07581d1ab 100644 --- a/clients/client-ec2/src/commands/DescribeVpcEndpointConnectionNotificationsCommand.ts +++ b/clients/client-ec2/src/commands/DescribeVpcEndpointConnectionNotificationsCommand.ts @@ -19,7 +19,7 @@ import { DescribeVpcEndpointConnectionNotificationsRequestFilterSensitiveLog, DescribeVpcEndpointConnectionNotificationsResult, DescribeVpcEndpointConnectionNotificationsResultFilterSensitiveLog, -} from "../models/models_4"; +} from "../models/models_5"; import { deserializeAws_ec2DescribeVpcEndpointConnectionNotificationsCommand, serializeAws_ec2DescribeVpcEndpointConnectionNotificationsCommand, diff --git a/clients/client-ec2/src/commands/DescribeVpcEndpointConnectionsCommand.ts b/clients/client-ec2/src/commands/DescribeVpcEndpointConnectionsCommand.ts index b31f6ab4b188..46f180c68d69 100644 --- a/clients/client-ec2/src/commands/DescribeVpcEndpointConnectionsCommand.ts +++ b/clients/client-ec2/src/commands/DescribeVpcEndpointConnectionsCommand.ts @@ -19,7 +19,7 @@ import { DescribeVpcEndpointConnectionsRequestFilterSensitiveLog, DescribeVpcEndpointConnectionsResult, DescribeVpcEndpointConnectionsResultFilterSensitiveLog, -} from "../models/models_4"; +} from "../models/models_5"; import { deserializeAws_ec2DescribeVpcEndpointConnectionsCommand, serializeAws_ec2DescribeVpcEndpointConnectionsCommand, diff --git a/clients/client-ec2/src/commands/DescribeVpcEndpointServiceConfigurationsCommand.ts b/clients/client-ec2/src/commands/DescribeVpcEndpointServiceConfigurationsCommand.ts index 87b2c5853252..44854a155874 100644 --- a/clients/client-ec2/src/commands/DescribeVpcEndpointServiceConfigurationsCommand.ts +++ b/clients/client-ec2/src/commands/DescribeVpcEndpointServiceConfigurationsCommand.ts @@ -17,8 +17,6 @@ import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from " import { DescribeVpcEndpointServiceConfigurationsRequest, DescribeVpcEndpointServiceConfigurationsRequestFilterSensitiveLog, -} from "../models/models_4"; -import { DescribeVpcEndpointServiceConfigurationsResult, DescribeVpcEndpointServiceConfigurationsResultFilterSensitiveLog, } from "../models/models_5"; diff --git a/clients/client-ec2/src/commands/DescribeVpcEndpointsCommand.ts b/clients/client-ec2/src/commands/DescribeVpcEndpointsCommand.ts index 93637f696c8c..9ec4d8f3240b 100644 --- a/clients/client-ec2/src/commands/DescribeVpcEndpointsCommand.ts +++ b/clients/client-ec2/src/commands/DescribeVpcEndpointsCommand.ts @@ -19,7 +19,7 @@ import { DescribeVpcEndpointsRequestFilterSensitiveLog, DescribeVpcEndpointsResult, DescribeVpcEndpointsResultFilterSensitiveLog, -} from "../models/models_4"; +} from "../models/models_5"; import { deserializeAws_ec2DescribeVpcEndpointsCommand, serializeAws_ec2DescribeVpcEndpointsCommand, diff --git a/clients/client-ec2/src/commands/DisassociateIpamResourceDiscoveryCommand.ts b/clients/client-ec2/src/commands/DisassociateIpamResourceDiscoveryCommand.ts new file mode 100644 index 000000000000..e172fb3d41b1 --- /dev/null +++ b/clients/client-ec2/src/commands/DisassociateIpamResourceDiscoveryCommand.ts @@ -0,0 +1,122 @@ +// smithy-typescript generated code +import { EndpointParameterInstructions, getEndpointPlugin } from "@aws-sdk/middleware-endpoint"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; +import { + DisassociateIpamResourceDiscoveryRequest, + DisassociateIpamResourceDiscoveryRequestFilterSensitiveLog, + DisassociateIpamResourceDiscoveryResult, + DisassociateIpamResourceDiscoveryResultFilterSensitiveLog, +} from "../models/models_5"; +import { + deserializeAws_ec2DisassociateIpamResourceDiscoveryCommand, + serializeAws_ec2DisassociateIpamResourceDiscoveryCommand, +} from "../protocols/Aws_ec2"; + +export interface DisassociateIpamResourceDiscoveryCommandInput extends DisassociateIpamResourceDiscoveryRequest {} +export interface DisassociateIpamResourceDiscoveryCommandOutput + extends DisassociateIpamResourceDiscoveryResult, + __MetadataBearer {} + +/** + *

Disassociates a resource discovery from an Amazon VPC IPAM. A resource discovery is an IPAM component that enables IPAM Service to manage and monitor resources that belong to the owning account.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { EC2Client, DisassociateIpamResourceDiscoveryCommand } from "@aws-sdk/client-ec2"; // ES Modules import + * // const { EC2Client, DisassociateIpamResourceDiscoveryCommand } = require("@aws-sdk/client-ec2"); // CommonJS import + * const client = new EC2Client(config); + * const command = new DisassociateIpamResourceDiscoveryCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link DisassociateIpamResourceDiscoveryCommandInput} for command's `input` shape. + * @see {@link DisassociateIpamResourceDiscoveryCommandOutput} for command's `response` shape. + * @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape. + * + */ +export class DisassociateIpamResourceDiscoveryCommand extends $Command< + DisassociateIpamResourceDiscoveryCommandInput, + DisassociateIpamResourceDiscoveryCommandOutput, + EC2ClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + public static getEndpointParameterInstructions(): EndpointParameterInstructions { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + + constructor(readonly input: DisassociateIpamResourceDiscoveryCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: EC2ClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use( + getEndpointPlugin(configuration, DisassociateIpamResourceDiscoveryCommand.getEndpointParameterInstructions()) + ); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "EC2Client"; + const commandName = "DisassociateIpamResourceDiscoveryCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: DisassociateIpamResourceDiscoveryRequestFilterSensitiveLog, + outputFilterSensitiveLog: DisassociateIpamResourceDiscoveryResultFilterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize( + input: DisassociateIpamResourceDiscoveryCommandInput, + context: __SerdeContext + ): Promise<__HttpRequest> { + return serializeAws_ec2DisassociateIpamResourceDiscoveryCommand(input, context); + } + + private deserialize( + output: __HttpResponse, + context: __SerdeContext + ): Promise { + return deserializeAws_ec2DisassociateIpamResourceDiscoveryCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-ec2/src/commands/GetIpamDiscoveredAccountsCommand.ts b/clients/client-ec2/src/commands/GetIpamDiscoveredAccountsCommand.ts new file mode 100644 index 000000000000..f585a56af965 --- /dev/null +++ b/clients/client-ec2/src/commands/GetIpamDiscoveredAccountsCommand.ts @@ -0,0 +1,117 @@ +// smithy-typescript generated code +import { EndpointParameterInstructions, getEndpointPlugin } from "@aws-sdk/middleware-endpoint"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; +import { + GetIpamDiscoveredAccountsRequest, + GetIpamDiscoveredAccountsRequestFilterSensitiveLog, + GetIpamDiscoveredAccountsResult, + GetIpamDiscoveredAccountsResultFilterSensitiveLog, +} from "../models/models_5"; +import { + deserializeAws_ec2GetIpamDiscoveredAccountsCommand, + serializeAws_ec2GetIpamDiscoveredAccountsCommand, +} from "../protocols/Aws_ec2"; + +export interface GetIpamDiscoveredAccountsCommandInput extends GetIpamDiscoveredAccountsRequest {} +export interface GetIpamDiscoveredAccountsCommandOutput extends GetIpamDiscoveredAccountsResult, __MetadataBearer {} + +/** + *

Gets IPAM discovered accounts. A discovered account is an Amazon Web Services account that is monitored under a resource discovery. If you have integrated IPAM with Amazon Web Services Organizations, all accounts in the organization are discovered accounts. Only the IPAM account can get all discovered accounts in the organization.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { EC2Client, GetIpamDiscoveredAccountsCommand } from "@aws-sdk/client-ec2"; // ES Modules import + * // const { EC2Client, GetIpamDiscoveredAccountsCommand } = require("@aws-sdk/client-ec2"); // CommonJS import + * const client = new EC2Client(config); + * const command = new GetIpamDiscoveredAccountsCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link GetIpamDiscoveredAccountsCommandInput} for command's `input` shape. + * @see {@link GetIpamDiscoveredAccountsCommandOutput} for command's `response` shape. + * @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape. + * + */ +export class GetIpamDiscoveredAccountsCommand extends $Command< + GetIpamDiscoveredAccountsCommandInput, + GetIpamDiscoveredAccountsCommandOutput, + EC2ClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + public static getEndpointParameterInstructions(): EndpointParameterInstructions { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + + constructor(readonly input: GetIpamDiscoveredAccountsCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: EC2ClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use( + getEndpointPlugin(configuration, GetIpamDiscoveredAccountsCommand.getEndpointParameterInstructions()) + ); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "EC2Client"; + const commandName = "GetIpamDiscoveredAccountsCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: GetIpamDiscoveredAccountsRequestFilterSensitiveLog, + outputFilterSensitiveLog: GetIpamDiscoveredAccountsResultFilterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: GetIpamDiscoveredAccountsCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_ec2GetIpamDiscoveredAccountsCommand(input, context); + } + + private deserialize( + output: __HttpResponse, + context: __SerdeContext + ): Promise { + return deserializeAws_ec2GetIpamDiscoveredAccountsCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-ec2/src/commands/GetIpamDiscoveredResourceCidrsCommand.ts b/clients/client-ec2/src/commands/GetIpamDiscoveredResourceCidrsCommand.ts new file mode 100644 index 000000000000..e054f43cdc16 --- /dev/null +++ b/clients/client-ec2/src/commands/GetIpamDiscoveredResourceCidrsCommand.ts @@ -0,0 +1,122 @@ +// smithy-typescript generated code +import { EndpointParameterInstructions, getEndpointPlugin } from "@aws-sdk/middleware-endpoint"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; +import { + GetIpamDiscoveredResourceCidrsRequest, + GetIpamDiscoveredResourceCidrsRequestFilterSensitiveLog, + GetIpamDiscoveredResourceCidrsResult, + GetIpamDiscoveredResourceCidrsResultFilterSensitiveLog, +} from "../models/models_5"; +import { + deserializeAws_ec2GetIpamDiscoveredResourceCidrsCommand, + serializeAws_ec2GetIpamDiscoveredResourceCidrsCommand, +} from "../protocols/Aws_ec2"; + +export interface GetIpamDiscoveredResourceCidrsCommandInput extends GetIpamDiscoveredResourceCidrsRequest {} +export interface GetIpamDiscoveredResourceCidrsCommandOutput + extends GetIpamDiscoveredResourceCidrsResult, + __MetadataBearer {} + +/** + *

Returns the resource CIDRs that are monitored as part of a resource discovery. A discovered resource is a resource CIDR monitored under a resource discovery. The following resources can be discovered: VPCs, Public IPv4 pools, VPC subnets, and Elastic IP addresses.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { EC2Client, GetIpamDiscoveredResourceCidrsCommand } from "@aws-sdk/client-ec2"; // ES Modules import + * // const { EC2Client, GetIpamDiscoveredResourceCidrsCommand } = require("@aws-sdk/client-ec2"); // CommonJS import + * const client = new EC2Client(config); + * const command = new GetIpamDiscoveredResourceCidrsCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link GetIpamDiscoveredResourceCidrsCommandInput} for command's `input` shape. + * @see {@link GetIpamDiscoveredResourceCidrsCommandOutput} for command's `response` shape. + * @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape. + * + */ +export class GetIpamDiscoveredResourceCidrsCommand extends $Command< + GetIpamDiscoveredResourceCidrsCommandInput, + GetIpamDiscoveredResourceCidrsCommandOutput, + EC2ClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + public static getEndpointParameterInstructions(): EndpointParameterInstructions { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + + constructor(readonly input: GetIpamDiscoveredResourceCidrsCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: EC2ClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use( + getEndpointPlugin(configuration, GetIpamDiscoveredResourceCidrsCommand.getEndpointParameterInstructions()) + ); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "EC2Client"; + const commandName = "GetIpamDiscoveredResourceCidrsCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: GetIpamDiscoveredResourceCidrsRequestFilterSensitiveLog, + outputFilterSensitiveLog: GetIpamDiscoveredResourceCidrsResultFilterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize( + input: GetIpamDiscoveredResourceCidrsCommandInput, + context: __SerdeContext + ): Promise<__HttpRequest> { + return serializeAws_ec2GetIpamDiscoveredResourceCidrsCommand(input, context); + } + + private deserialize( + output: __HttpResponse, + context: __SerdeContext + ): Promise { + return deserializeAws_ec2GetIpamDiscoveredResourceCidrsCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-ec2/src/commands/GetIpamResourceCidrsCommand.ts b/clients/client-ec2/src/commands/GetIpamResourceCidrsCommand.ts index 519d29012225..b80fc1d551ff 100644 --- a/clients/client-ec2/src/commands/GetIpamResourceCidrsCommand.ts +++ b/clients/client-ec2/src/commands/GetIpamResourceCidrsCommand.ts @@ -29,7 +29,7 @@ export interface GetIpamResourceCidrsCommandInput extends GetIpamResourceCidrsRe export interface GetIpamResourceCidrsCommandOutput extends GetIpamResourceCidrsResult, __MetadataBearer {} /** - *

Get information about the resources in a scope.

+ *

Returns resource CIDRs managed by IPAM in a given scope. If an IPAM is associated with more than one resource discovery, the resource CIDRs across all of the resource discoveries is returned. A resource discovery is an IPAM component that enables IPAM Service to manage and monitor resources that belong to the owning account.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ec2/src/commands/ModifyClientVpnEndpointCommand.ts b/clients/client-ec2/src/commands/ModifyClientVpnEndpointCommand.ts index ef58d78e91b4..7dc5c7c8a04c 100644 --- a/clients/client-ec2/src/commands/ModifyClientVpnEndpointCommand.ts +++ b/clients/client-ec2/src/commands/ModifyClientVpnEndpointCommand.ts @@ -19,7 +19,7 @@ import { ModifyClientVpnEndpointRequestFilterSensitiveLog, ModifyClientVpnEndpointResult, ModifyClientVpnEndpointResultFilterSensitiveLog, -} from "../models/models_5"; +} from "../models/models_6"; import { deserializeAws_ec2ModifyClientVpnEndpointCommand, serializeAws_ec2ModifyClientVpnEndpointCommand, diff --git a/clients/client-ec2/src/commands/ModifyDefaultCreditSpecificationCommand.ts b/clients/client-ec2/src/commands/ModifyDefaultCreditSpecificationCommand.ts index f8feda49fc00..215f1d37a5e1 100644 --- a/clients/client-ec2/src/commands/ModifyDefaultCreditSpecificationCommand.ts +++ b/clients/client-ec2/src/commands/ModifyDefaultCreditSpecificationCommand.ts @@ -19,7 +19,7 @@ import { ModifyDefaultCreditSpecificationRequestFilterSensitiveLog, ModifyDefaultCreditSpecificationResult, ModifyDefaultCreditSpecificationResultFilterSensitiveLog, -} from "../models/models_5"; +} from "../models/models_6"; import { deserializeAws_ec2ModifyDefaultCreditSpecificationCommand, serializeAws_ec2ModifyDefaultCreditSpecificationCommand, diff --git a/clients/client-ec2/src/commands/ModifyEbsDefaultKmsKeyIdCommand.ts b/clients/client-ec2/src/commands/ModifyEbsDefaultKmsKeyIdCommand.ts index 68b18fab918a..c93649a822c5 100644 --- a/clients/client-ec2/src/commands/ModifyEbsDefaultKmsKeyIdCommand.ts +++ b/clients/client-ec2/src/commands/ModifyEbsDefaultKmsKeyIdCommand.ts @@ -19,7 +19,7 @@ import { ModifyEbsDefaultKmsKeyIdRequestFilterSensitiveLog, ModifyEbsDefaultKmsKeyIdResult, ModifyEbsDefaultKmsKeyIdResultFilterSensitiveLog, -} from "../models/models_5"; +} from "../models/models_6"; import { deserializeAws_ec2ModifyEbsDefaultKmsKeyIdCommand, serializeAws_ec2ModifyEbsDefaultKmsKeyIdCommand, diff --git a/clients/client-ec2/src/commands/ModifyFleetCommand.ts b/clients/client-ec2/src/commands/ModifyFleetCommand.ts index f71c5a7bb451..7a26ad9d5dd0 100644 --- a/clients/client-ec2/src/commands/ModifyFleetCommand.ts +++ b/clients/client-ec2/src/commands/ModifyFleetCommand.ts @@ -19,7 +19,7 @@ import { ModifyFleetRequestFilterSensitiveLog, ModifyFleetResult, ModifyFleetResultFilterSensitiveLog, -} from "../models/models_5"; +} from "../models/models_6"; import { deserializeAws_ec2ModifyFleetCommand, serializeAws_ec2ModifyFleetCommand } from "../protocols/Aws_ec2"; export interface ModifyFleetCommandInput extends ModifyFleetRequest {} diff --git a/clients/client-ec2/src/commands/ModifyFpgaImageAttributeCommand.ts b/clients/client-ec2/src/commands/ModifyFpgaImageAttributeCommand.ts index 4946ba92b074..e6ab8beb4d71 100644 --- a/clients/client-ec2/src/commands/ModifyFpgaImageAttributeCommand.ts +++ b/clients/client-ec2/src/commands/ModifyFpgaImageAttributeCommand.ts @@ -19,7 +19,7 @@ import { ModifyFpgaImageAttributeRequestFilterSensitiveLog, ModifyFpgaImageAttributeResult, ModifyFpgaImageAttributeResultFilterSensitiveLog, -} from "../models/models_5"; +} from "../models/models_6"; import { deserializeAws_ec2ModifyFpgaImageAttributeCommand, serializeAws_ec2ModifyFpgaImageAttributeCommand, diff --git a/clients/client-ec2/src/commands/ModifyHostsCommand.ts b/clients/client-ec2/src/commands/ModifyHostsCommand.ts index 4e3dd32fcd80..2f3c3809b872 100644 --- a/clients/client-ec2/src/commands/ModifyHostsCommand.ts +++ b/clients/client-ec2/src/commands/ModifyHostsCommand.ts @@ -19,7 +19,7 @@ import { ModifyHostsRequestFilterSensitiveLog, ModifyHostsResult, ModifyHostsResultFilterSensitiveLog, -} from "../models/models_5"; +} from "../models/models_6"; import { deserializeAws_ec2ModifyHostsCommand, serializeAws_ec2ModifyHostsCommand } from "../protocols/Aws_ec2"; export interface ModifyHostsCommandInput extends ModifyHostsRequest {} diff --git a/clients/client-ec2/src/commands/ModifyIdFormatCommand.ts b/clients/client-ec2/src/commands/ModifyIdFormatCommand.ts index ce7eb1901380..efb64d6c6f7c 100644 --- a/clients/client-ec2/src/commands/ModifyIdFormatCommand.ts +++ b/clients/client-ec2/src/commands/ModifyIdFormatCommand.ts @@ -14,7 +14,7 @@ import { } from "@aws-sdk/types"; import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; -import { ModifyIdFormatRequest, ModifyIdFormatRequestFilterSensitiveLog } from "../models/models_5"; +import { ModifyIdFormatRequest, ModifyIdFormatRequestFilterSensitiveLog } from "../models/models_6"; import { deserializeAws_ec2ModifyIdFormatCommand, serializeAws_ec2ModifyIdFormatCommand } from "../protocols/Aws_ec2"; export interface ModifyIdFormatCommandInput extends ModifyIdFormatRequest {} diff --git a/clients/client-ec2/src/commands/ModifyIdentityIdFormatCommand.ts b/clients/client-ec2/src/commands/ModifyIdentityIdFormatCommand.ts index 43e5cfb8cf1c..02b52727a5b4 100644 --- a/clients/client-ec2/src/commands/ModifyIdentityIdFormatCommand.ts +++ b/clients/client-ec2/src/commands/ModifyIdentityIdFormatCommand.ts @@ -14,7 +14,7 @@ import { } from "@aws-sdk/types"; import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; -import { ModifyIdentityIdFormatRequest, ModifyIdentityIdFormatRequestFilterSensitiveLog } from "../models/models_5"; +import { ModifyIdentityIdFormatRequest, ModifyIdentityIdFormatRequestFilterSensitiveLog } from "../models/models_6"; import { deserializeAws_ec2ModifyIdentityIdFormatCommand, serializeAws_ec2ModifyIdentityIdFormatCommand, diff --git a/clients/client-ec2/src/commands/ModifyImageAttributeCommand.ts b/clients/client-ec2/src/commands/ModifyImageAttributeCommand.ts index 6fcb9e5a937f..011f119e168d 100644 --- a/clients/client-ec2/src/commands/ModifyImageAttributeCommand.ts +++ b/clients/client-ec2/src/commands/ModifyImageAttributeCommand.ts @@ -14,7 +14,7 @@ import { } from "@aws-sdk/types"; import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; -import { ModifyImageAttributeRequest, ModifyImageAttributeRequestFilterSensitiveLog } from "../models/models_5"; +import { ModifyImageAttributeRequest, ModifyImageAttributeRequestFilterSensitiveLog } from "../models/models_6"; import { deserializeAws_ec2ModifyImageAttributeCommand, serializeAws_ec2ModifyImageAttributeCommand, diff --git a/clients/client-ec2/src/commands/ModifyInstanceAttributeCommand.ts b/clients/client-ec2/src/commands/ModifyInstanceAttributeCommand.ts index ff77df1efe52..94611f60c873 100644 --- a/clients/client-ec2/src/commands/ModifyInstanceAttributeCommand.ts +++ b/clients/client-ec2/src/commands/ModifyInstanceAttributeCommand.ts @@ -14,7 +14,7 @@ import { } from "@aws-sdk/types"; import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; -import { ModifyInstanceAttributeRequest, ModifyInstanceAttributeRequestFilterSensitiveLog } from "../models/models_5"; +import { ModifyInstanceAttributeRequest, ModifyInstanceAttributeRequestFilterSensitiveLog } from "../models/models_6"; import { deserializeAws_ec2ModifyInstanceAttributeCommand, serializeAws_ec2ModifyInstanceAttributeCommand, diff --git a/clients/client-ec2/src/commands/ModifyInstanceCapacityReservationAttributesCommand.ts b/clients/client-ec2/src/commands/ModifyInstanceCapacityReservationAttributesCommand.ts index a6b47bb61b44..1261066c42f7 100644 --- a/clients/client-ec2/src/commands/ModifyInstanceCapacityReservationAttributesCommand.ts +++ b/clients/client-ec2/src/commands/ModifyInstanceCapacityReservationAttributesCommand.ts @@ -19,7 +19,7 @@ import { ModifyInstanceCapacityReservationAttributesRequestFilterSensitiveLog, ModifyInstanceCapacityReservationAttributesResult, ModifyInstanceCapacityReservationAttributesResultFilterSensitiveLog, -} from "../models/models_5"; +} from "../models/models_6"; import { deserializeAws_ec2ModifyInstanceCapacityReservationAttributesCommand, serializeAws_ec2ModifyInstanceCapacityReservationAttributesCommand, diff --git a/clients/client-ec2/src/commands/ModifyIpamResourceDiscoveryCommand.ts b/clients/client-ec2/src/commands/ModifyIpamResourceDiscoveryCommand.ts new file mode 100644 index 000000000000..28f8eb466716 --- /dev/null +++ b/clients/client-ec2/src/commands/ModifyIpamResourceDiscoveryCommand.ts @@ -0,0 +1,117 @@ +// smithy-typescript generated code +import { EndpointParameterInstructions, getEndpointPlugin } from "@aws-sdk/middleware-endpoint"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; +import { + ModifyIpamResourceDiscoveryRequest, + ModifyIpamResourceDiscoveryRequestFilterSensitiveLog, + ModifyIpamResourceDiscoveryResult, + ModifyIpamResourceDiscoveryResultFilterSensitiveLog, +} from "../models/models_6"; +import { + deserializeAws_ec2ModifyIpamResourceDiscoveryCommand, + serializeAws_ec2ModifyIpamResourceDiscoveryCommand, +} from "../protocols/Aws_ec2"; + +export interface ModifyIpamResourceDiscoveryCommandInput extends ModifyIpamResourceDiscoveryRequest {} +export interface ModifyIpamResourceDiscoveryCommandOutput extends ModifyIpamResourceDiscoveryResult, __MetadataBearer {} + +/** + *

Modifies a resource discovery. A resource discovery is an IPAM component that enables IPAM Service to manage and monitor resources that belong to the owning account.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { EC2Client, ModifyIpamResourceDiscoveryCommand } from "@aws-sdk/client-ec2"; // ES Modules import + * // const { EC2Client, ModifyIpamResourceDiscoveryCommand } = require("@aws-sdk/client-ec2"); // CommonJS import + * const client = new EC2Client(config); + * const command = new ModifyIpamResourceDiscoveryCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link ModifyIpamResourceDiscoveryCommandInput} for command's `input` shape. + * @see {@link ModifyIpamResourceDiscoveryCommandOutput} for command's `response` shape. + * @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape. + * + */ +export class ModifyIpamResourceDiscoveryCommand extends $Command< + ModifyIpamResourceDiscoveryCommandInput, + ModifyIpamResourceDiscoveryCommandOutput, + EC2ClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + public static getEndpointParameterInstructions(): EndpointParameterInstructions { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + + constructor(readonly input: ModifyIpamResourceDiscoveryCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: EC2ClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use( + getEndpointPlugin(configuration, ModifyIpamResourceDiscoveryCommand.getEndpointParameterInstructions()) + ); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "EC2Client"; + const commandName = "ModifyIpamResourceDiscoveryCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: ModifyIpamResourceDiscoveryRequestFilterSensitiveLog, + outputFilterSensitiveLog: ModifyIpamResourceDiscoveryResultFilterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: ModifyIpamResourceDiscoveryCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_ec2ModifyIpamResourceDiscoveryCommand(input, context); + } + + private deserialize( + output: __HttpResponse, + context: __SerdeContext + ): Promise { + return deserializeAws_ec2ModifyIpamResourceDiscoveryCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-ec2/src/commands/MoveByoipCidrToIpamCommand.ts b/clients/client-ec2/src/commands/MoveByoipCidrToIpamCommand.ts index 25730421d81d..e872c4aff011 100644 --- a/clients/client-ec2/src/commands/MoveByoipCidrToIpamCommand.ts +++ b/clients/client-ec2/src/commands/MoveByoipCidrToIpamCommand.ts @@ -29,8 +29,8 @@ export interface MoveByoipCidrToIpamCommandInput extends MoveByoipCidrToIpamRequ export interface MoveByoipCidrToIpamCommandOutput extends MoveByoipCidrToIpamResult, __MetadataBearer {} /** - *

Move an BYOIP IPv4 CIDR to IPAM from a public IPv4 pool.

- *

If you already have an IPv4 BYOIP CIDR with Amazon Web Services, you can move the CIDR to IPAM from a public IPv4 pool. You cannot move an IPv6 CIDR to IPAM. If you are bringing a new IP address to Amazon Web Services for the first time, complete the steps in Tutorial: BYOIP address CIDRs to IPAM.

+ *

Move a BYOIPv4 CIDR to IPAM from a public IPv4 pool.

+ *

If you already have a BYOIPv4 CIDR with Amazon Web Services, you can move the CIDR to IPAM from a public IPv4 pool. You cannot move an IPv6 CIDR to IPAM. If you are bringing a new IP address to Amazon Web Services for the first time, complete the steps in Tutorial: BYOIP address CIDRs to IPAM.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ec2/src/commands/UpdateSecurityGroupRuleDescriptionsIngressCommand.ts b/clients/client-ec2/src/commands/UpdateSecurityGroupRuleDescriptionsIngressCommand.ts index c8cc6976266b..f592db700275 100644 --- a/clients/client-ec2/src/commands/UpdateSecurityGroupRuleDescriptionsIngressCommand.ts +++ b/clients/client-ec2/src/commands/UpdateSecurityGroupRuleDescriptionsIngressCommand.ts @@ -19,7 +19,7 @@ import { UpdateSecurityGroupRuleDescriptionsIngressRequestFilterSensitiveLog, UpdateSecurityGroupRuleDescriptionsIngressResult, UpdateSecurityGroupRuleDescriptionsIngressResultFilterSensitiveLog, -} from "../models/models_6"; +} from "../models/models_7"; import { deserializeAws_ec2UpdateSecurityGroupRuleDescriptionsIngressCommand, serializeAws_ec2UpdateSecurityGroupRuleDescriptionsIngressCommand, diff --git a/clients/client-ec2/src/commands/WithdrawByoipCidrCommand.ts b/clients/client-ec2/src/commands/WithdrawByoipCidrCommand.ts index 10ff543d7b80..0167b22f20e6 100644 --- a/clients/client-ec2/src/commands/WithdrawByoipCidrCommand.ts +++ b/clients/client-ec2/src/commands/WithdrawByoipCidrCommand.ts @@ -19,7 +19,7 @@ import { WithdrawByoipCidrRequestFilterSensitiveLog, WithdrawByoipCidrResult, WithdrawByoipCidrResultFilterSensitiveLog, -} from "../models/models_6"; +} from "../models/models_7"; import { deserializeAws_ec2WithdrawByoipCidrCommand, serializeAws_ec2WithdrawByoipCidrCommand, diff --git a/clients/client-ec2/src/commands/index.ts b/clients/client-ec2/src/commands/index.ts index f88ce41457a2..7386828babca 100644 --- a/clients/client-ec2/src/commands/index.ts +++ b/clients/client-ec2/src/commands/index.ts @@ -19,6 +19,7 @@ export * from "./AssociateDhcpOptionsCommand"; export * from "./AssociateEnclaveCertificateIamRoleCommand"; export * from "./AssociateIamInstanceProfileCommand"; export * from "./AssociateInstanceEventWindowCommand"; +export * from "./AssociateIpamResourceDiscoveryCommand"; export * from "./AssociateRouteTableCommand"; export * from "./AssociateSubnetCidrBlockCommand"; export * from "./AssociateTransitGatewayMulticastDomainCommand"; @@ -71,6 +72,7 @@ export * from "./CreateInstanceExportTaskCommand"; export * from "./CreateInternetGatewayCommand"; export * from "./CreateIpamCommand"; export * from "./CreateIpamPoolCommand"; +export * from "./CreateIpamResourceDiscoveryCommand"; export * from "./CreateIpamScopeCommand"; export * from "./CreateKeyPairCommand"; export * from "./CreateLaunchTemplateCommand"; @@ -145,6 +147,7 @@ export * from "./DeleteInstanceEventWindowCommand"; export * from "./DeleteInternetGatewayCommand"; export * from "./DeleteIpamCommand"; export * from "./DeleteIpamPoolCommand"; +export * from "./DeleteIpamResourceDiscoveryCommand"; export * from "./DeleteIpamScopeCommand"; export * from "./DeleteKeyPairCommand"; export * from "./DeleteLaunchTemplateCommand"; @@ -263,6 +266,8 @@ export * from "./DescribeInstanceTypesCommand"; export * from "./DescribeInstancesCommand"; export * from "./DescribeInternetGatewaysCommand"; export * from "./DescribeIpamPoolsCommand"; +export * from "./DescribeIpamResourceDiscoveriesCommand"; +export * from "./DescribeIpamResourceDiscoveryAssociationsCommand"; export * from "./DescribeIpamScopesCommand"; export * from "./DescribeIpamsCommand"; export * from "./DescribeIpv6PoolsCommand"; @@ -374,6 +379,7 @@ export * from "./DisassociateClientVpnTargetNetworkCommand"; export * from "./DisassociateEnclaveCertificateIamRoleCommand"; export * from "./DisassociateIamInstanceProfileCommand"; export * from "./DisassociateInstanceEventWindowCommand"; +export * from "./DisassociateIpamResourceDiscoveryCommand"; export * from "./DisassociateRouteTableCommand"; export * from "./DisassociateSubnetCidrBlockCommand"; export * from "./DisassociateTransitGatewayMulticastDomainCommand"; @@ -415,6 +421,8 @@ export * from "./GetHostReservationPurchasePreviewCommand"; export * from "./GetInstanceTypesFromInstanceRequirementsCommand"; export * from "./GetInstanceUefiDataCommand"; export * from "./GetIpamAddressHistoryCommand"; +export * from "./GetIpamDiscoveredAccountsCommand"; +export * from "./GetIpamDiscoveredResourceCidrsCommand"; export * from "./GetIpamPoolAllocationsCommand"; export * from "./GetIpamPoolCidrsCommand"; export * from "./GetIpamResourceCidrsCommand"; @@ -471,6 +479,7 @@ export * from "./ModifyInstancePlacementCommand"; export * from "./ModifyIpamCommand"; export * from "./ModifyIpamPoolCommand"; export * from "./ModifyIpamResourceCidrCommand"; +export * from "./ModifyIpamResourceDiscoveryCommand"; export * from "./ModifyIpamScopeCommand"; export * from "./ModifyLaunchTemplateCommand"; export * from "./ModifyLocalGatewayRouteCommand"; diff --git a/clients/client-ec2/src/endpoint/ruleset.ts b/clients/client-ec2/src/endpoint/ruleset.ts index 9f8d74f3ee83..299e2a2f1d29 100644 --- a/clients/client-ec2/src/endpoint/ruleset.ts +++ b/clients/client-ec2/src/endpoint/ruleset.ts @@ -6,9 +6,9 @@ import { RuleSetObject } from "@aws-sdk/util-endpoints"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/ec2.json */ -const t="fn", -u="argv", -v="ref"; +const u="fn", +v="argv", +w="ref"; const a=true, b=false, c="String", @@ -17,16 +17,17 @@ e="tree", f="error", g="endpoint", h="getAttr", -i={"required":true,"default":false,"type":"Boolean"}, -j={[v]:"Endpoint"}, -k={[t]:"booleanEquals",[u]:[{[v]:"UseFIPS"},true]}, -l={[t]:"booleanEquals",[u]:[{[v]:"UseDualStack"},true]}, -m={}, -n={[t]:"booleanEquals",[u]:[true,{[t]:h,[u]:[{[v]:d},"supportsFIPS"]}]}, -o={[v]:d}, -p={[t]:"booleanEquals",[u]:[true,{[t]:h,[u]:[o,"supportsDualStack"]}]}, -q={"url":"https://ec2.{Region}.{PartitionResult#dnsSuffix}","properties":{},"headers":{}}, -r=[k], -s=[l]; -const _data={version:"1.0",parameters:{Region:{required:a,type:c},UseDualStack:i,UseFIPS:i,Endpoint:{required:b,type:c}},rules:[{conditions:[{[t]:"aws.partition",[u]:[{[v]:"Region"}],assign:d}],type:e,rules:[{conditions:[{[t]:"isSet",[u]:[j]}],type:e,rules:[{conditions:r,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:f},{type:e,rules:[{conditions:s,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:f},{endpoint:{url:j,properties:m,headers:m},type:g}]}]},{conditions:[k,l],type:e,rules:[{conditions:[n,p],type:e,rules:[{endpoint:{url:"https://ec2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:m,headers:m},type:g}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:f}]},{conditions:r,type:e,rules:[{conditions:[n],type:e,rules:[{type:e,rules:[{conditions:[{[t]:"stringEquals",[u]:["aws-us-gov",{[t]:h,[u]:[o,"name"]}]}],endpoint:q,type:g},{endpoint:{url:"https://ec2-fips.{Region}.{PartitionResult#dnsSuffix}",properties:m,headers:m},type:g}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:f}]},{conditions:s,type:e,rules:[{conditions:[p],type:e,rules:[{endpoint:{url:"https://ec2.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:m,headers:m},type:g}]},{error:"DualStack is enabled but this partition does not support DualStack",type:f}]},{endpoint:q,type:g}]}]}; +i="stringEquals", +j={"required":true,"default":false,"type":"Boolean"}, +k={[w]:"Region"}, +l={[w]:"Endpoint"}, +m={[u]:"booleanEquals",[v]:[{[w]:"UseFIPS"},true]}, +n={[u]:"booleanEquals",[v]:[{[w]:"UseDualStack"},true]}, +o={}, +p={[u]:"booleanEquals",[v]:[true,{[u]:h,[v]:[{[w]:d},"supportsFIPS"]}]}, +q={[w]:d}, +r={[u]:"booleanEquals",[v]:[true,{[u]:h,[v]:[q,"supportsDualStack"]}]}, +s=[m], +t=[n]; +const _data={version:"1.0",parameters:{Region:{required:a,type:c},UseDualStack:j,UseFIPS:j,Endpoint:{required:b,type:c}},rules:[{conditions:[{[u]:"aws.partition",[v]:[k],assign:d}],type:e,rules:[{conditions:[{[u]:"isSet",[v]:[l]}],type:e,rules:[{conditions:s,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:f},{type:e,rules:[{conditions:t,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:f},{endpoint:{url:l,properties:o,headers:o},type:g}]}]},{conditions:[m,n],type:e,rules:[{conditions:[p,r],type:e,rules:[{type:e,rules:[{endpoint:{url:"https://ec2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:o,headers:o},type:g}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:f}]},{conditions:s,type:e,rules:[{conditions:[p],type:e,rules:[{type:e,rules:[{conditions:[{[u]:i,[v]:["aws-us-gov",{[u]:h,[v]:[q,"name"]}]}],endpoint:{url:"https://ec2.{Region}.amazonaws.com",properties:o,headers:o},type:g},{endpoint:{url:"https://ec2-fips.{Region}.{PartitionResult#dnsSuffix}",properties:o,headers:o},type:g}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:f}]},{conditions:t,type:e,rules:[{conditions:[r],type:e,rules:[{type:e,rules:[{endpoint:{url:"https://ec2.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:o,headers:o},type:g}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:f}]},{type:e,rules:[{conditions:[{[u]:i,[v]:[k,"us-gov-east-1"]}],endpoint:{url:"https://ec2.us-gov-east-1.amazonaws.com",properties:o,headers:o},type:g},{conditions:[{[u]:i,[v]:[k,"us-gov-west-1"]}],endpoint:{url:"https://ec2.us-gov-west-1.amazonaws.com",properties:o,headers:o},type:g},{endpoint:{url:"https://ec2.{Region}.{PartitionResult#dnsSuffix}",properties:o,headers:o},type:g}]}]}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-ec2/src/models/index.ts b/clients/client-ec2/src/models/index.ts index 07863c499daa..75245665abf6 100644 --- a/clients/client-ec2/src/models/index.ts +++ b/clients/client-ec2/src/models/index.ts @@ -6,3 +6,4 @@ export * from "./models_3"; export * from "./models_4"; export * from "./models_5"; export * from "./models_6"; +export * from "./models_7"; diff --git a/clients/client-ec2/src/models/models_0.ts b/clients/client-ec2/src/models/models_0.ts index 8a48bedb52ba..24c91489eb6c 100644 --- a/clients/client-ec2/src/models/models_0.ts +++ b/clients/client-ec2/src/models/models_0.ts @@ -121,6 +121,8 @@ export enum ResourceType { internet_gateway = "internet-gateway", ipam = "ipam", ipam_pool = "ipam-pool", + ipam_resource_discovery = "ipam-resource-discovery", + ipam_resource_discovery_association = "ipam-resource-discovery-association", ipam_scope = "ipam-scope", ipv4pool_ec2 = "ipv4pool-ec2", ipv6pool_ec2 = "ipv6pool-ec2", @@ -1932,8 +1934,7 @@ export interface AddedPrincipal { } /** - *

Add an operating Region to an IPAM. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only - * discovers and monitors resources in the Amazon Web Services Regions you select as operating Regions.

+ *

Add an operating Region to an IPAM. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the Amazon Web Services Regions you select as operating Regions.

*

For more information about operating Regions, see Create an IPAM in the Amazon VPC IPAM User Guide. *

*/ @@ -2414,7 +2415,7 @@ export enum IpamPoolAllocationResourceType { } /** - *

In IPAM, an allocation is a CIDR assignment from an IPAM pool to another resource or IPAM pool.

+ *

In IPAM, an allocation is a CIDR assignment from an IPAM pool to another IPAM pool or to a resource.

*/ export interface IpamPoolAllocation { /** @@ -3092,6 +3093,169 @@ export interface AssociateInstanceEventWindowResult { InstanceEventWindow?: InstanceEventWindow; } +export interface AssociateIpamResourceDiscoveryRequest { + /** + *

A check for whether you have the required permissions for the action without actually making the request + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

+ */ + DryRun?: boolean; + + /** + *

An IPAM ID.

+ */ + IpamId: string | undefined; + + /** + *

A resource discovery ID.

+ */ + IpamResourceDiscoveryId: string | undefined; + + /** + *

Tag specifications.

+ */ + TagSpecifications?: TagSpecification[]; + + /** + *

A client token.

+ */ + ClientToken?: string; +} + +export enum IpamAssociatedResourceDiscoveryStatus { + ACTIVE = "active", + NOT_FOUND = "not-found", +} + +export enum IpamResourceDiscoveryAssociationState { + ASSOCIATE_COMPLETE = "associate-complete", + ASSOCIATE_FAILED = "associate-failed", + ASSOCIATE_IN_PROGRESS = "associate-in-progress", + DISASSOCIATE_COMPLETE = "disassociate-complete", + DISASSOCIATE_FAILED = "disassociate-failed", + DISASSOCIATE_IN_PROGRESS = "disassociate-in-progress", + ISOLATE_COMPLETE = "isolate-complete", + ISOLATE_IN_PROGRESS = "isolate-in-progress", + RESTORE_IN_PROGRESS = "restore-in-progress", +} + +/** + *

An IPAM resource discovery association. An associated resource discovery is a resource discovery that has been associated with an IPAM. IPAM aggregates the resource CIDRs discovered by the associated resource discovery.

+ */ +export interface IpamResourceDiscoveryAssociation { + /** + *

The Amazon Web Services account ID of the resource discovery owner.

+ */ + OwnerId?: string; + + /** + *

The resource discovery association ID.

+ */ + IpamResourceDiscoveryAssociationId?: string; + + /** + *

The resource discovery association Amazon Resource Name (ARN).

+ */ + IpamResourceDiscoveryAssociationArn?: string; + + /** + *

The resource discovery ID.

+ */ + IpamResourceDiscoveryId?: string; + + /** + *

The IPAM ID.

+ */ + IpamId?: string; + + /** + *

The IPAM ARN.

+ */ + IpamArn?: string; + + /** + *

The IPAM home Region.

+ */ + IpamRegion?: string; + + /** + *

Defines if the resource discovery is the default. When you create an IPAM, a default resource discovery is created for your IPAM and it's associated with your IPAM.

+ */ + IsDefault?: boolean; + + /** + *

The resource discovery status.

+ *
    + *
  • + *

    + * active - Connection or permissions required to read the + * results of the resource discovery are intact.

    + *
  • + *
  • + *

    + * not-found - Connection or permissions required to read the + * results of the resource discovery are broken. This may happen if the owner of the resource discovery stopped sharing it or deleted the resource discovery. Verify the resource discovery still exists and the Amazon Web Services RAM resource share is still intact.

    + *
  • + *
+ */ + ResourceDiscoveryStatus?: IpamAssociatedResourceDiscoveryStatus | string; + + /** + *

The lifecycle state of the association when you associate or disassociate a resource discovery.

+ *
    + *
  • + *

    + * associate-in-progress - Resource discovery is being associated.

    + *
  • + *
  • + *

    + * associate-complete - Resource discovery association is complete.

    + *
  • + *
  • + *

    + * associate-failed - Resource discovery association has failed.

    + *
  • + *
  • + *

    + * disassociate-in-progress - Resource discovery is being disassociated.

    + *
  • + *
  • + *

    + * disassociate-complete - Resource discovery disassociation is complete.

    + *
  • + *
  • + *

    + * disassociate-failed - Resource discovery disassociation has failed.

    + *
  • + *
  • + *

    + * isolate-in-progress - Amazon Web Services account that created the resource discovery association has been removed and the resource discovery associatation is being isolated.

    + *
  • + *
  • + *

    + * isolate-complete - Resource discovery isolation is complete..

    + *
  • + *
  • + *

    + * restore-in-progress - Resource discovery is being restored.

    + *
  • + *
+ */ + State?: IpamResourceDiscoveryAssociationState | string; + + /** + *

A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. You can use tags to search and filter your resources or track your Amazon Web Services costs.

+ */ + Tags?: Tag[]; +} + +export interface AssociateIpamResourceDiscoveryResult { + /** + *

A resource discovery association. An associated resource discovery is a resource discovery that has been associated with an IPAM.

+ */ + IpamResourceDiscoveryAssociation?: IpamResourceDiscoveryAssociation; +} + export interface AssociateRouteTableRequest { /** *

Checks whether you have the required permissions for the action, without actually making the request, @@ -7299,86 +7463,6 @@ export interface CreateClientVpnRouteRequest { DryRun?: boolean; } -export enum ClientVpnRouteStatusCode { - active = "active", - creating = "creating", - deleting = "deleting", - failed = "failed", -} - -/** - *

Describes the state of a Client VPN endpoint route.

- */ -export interface ClientVpnRouteStatus { - /** - *

The state of the Client VPN endpoint route.

- */ - Code?: ClientVpnRouteStatusCode | string; - - /** - *

A message about the status of the Client VPN endpoint route, if applicable.

- */ - Message?: string; -} - -export interface CreateClientVpnRouteResult { - /** - *

The current state of the route.

- */ - Status?: ClientVpnRouteStatus; -} - -export interface CreateCoipCidrRequest { - /** - *

- * A customer-owned IP address range to create. - *

- */ - Cidr: string | undefined; - - /** - *

- * The ID of the address pool. - *

- */ - CoipPoolId: string | undefined; - - /** - *

Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

- */ - DryRun?: boolean; -} - -/** - *

- * Information about a customer-owned IP address range. - *

- */ -export interface CoipCidr { - /** - *

- * An address range in a customer-owned IP address space. - *

- */ - Cidr?: string; - - /** - *

- * The ID of the address pool. - *

- */ - CoipPoolId?: string; - - /** - *

- * The ID of the local gateway route table. - *

- */ - LocalGatewayRouteTableId?: string; -} - /** * @internal */ @@ -8184,6 +8268,31 @@ export const AssociateInstanceEventWindowResultFilterSensitiveLog = (obj: Associ ...obj, }); +/** + * @internal + */ +export const AssociateIpamResourceDiscoveryRequestFilterSensitiveLog = ( + obj: AssociateIpamResourceDiscoveryRequest +): any => ({ + ...obj, +}); + +/** + * @internal + */ +export const IpamResourceDiscoveryAssociationFilterSensitiveLog = (obj: IpamResourceDiscoveryAssociation): any => ({ + ...obj, +}); + +/** + * @internal + */ +export const AssociateIpamResourceDiscoveryResultFilterSensitiveLog = ( + obj: AssociateIpamResourceDiscoveryResult +): any => ({ + ...obj, +}); + /** * @internal */ @@ -9071,31 +9180,3 @@ export const CreateClientVpnEndpointResultFilterSensitiveLog = (obj: CreateClien export const CreateClientVpnRouteRequestFilterSensitiveLog = (obj: CreateClientVpnRouteRequest): any => ({ ...obj, }); - -/** - * @internal - */ -export const ClientVpnRouteStatusFilterSensitiveLog = (obj: ClientVpnRouteStatus): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const CreateClientVpnRouteResultFilterSensitiveLog = (obj: CreateClientVpnRouteResult): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const CreateCoipCidrRequestFilterSensitiveLog = (obj: CreateCoipCidrRequest): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const CoipCidrFilterSensitiveLog = (obj: CoipCidr): any => ({ - ...obj, -}); diff --git a/clients/client-ec2/src/models/models_1.ts b/clients/client-ec2/src/models/models_1.ts index c15ff262aab4..537c2bbdbf66 100644 --- a/clients/client-ec2/src/models/models_1.ts +++ b/clients/client-ec2/src/models/models_1.ts @@ -16,7 +16,6 @@ import { AddPrefixListEntry, AddressFamily, AttachmentStatus, - CoipCidr, CurrencyCodeValues, InstanceEventWindow, Ipv4PrefixSpecification, @@ -34,6 +33,86 @@ import { WeekDay, } from "./models_0"; +export enum ClientVpnRouteStatusCode { + active = "active", + creating = "creating", + deleting = "deleting", + failed = "failed", +} + +/** + *

Describes the state of a Client VPN endpoint route.

+ */ +export interface ClientVpnRouteStatus { + /** + *

The state of the Client VPN endpoint route.

+ */ + Code?: ClientVpnRouteStatusCode | string; + + /** + *

A message about the status of the Client VPN endpoint route, if applicable.

+ */ + Message?: string; +} + +export interface CreateClientVpnRouteResult { + /** + *

The current state of the route.

+ */ + Status?: ClientVpnRouteStatus; +} + +export interface CreateCoipCidrRequest { + /** + *

+ * A customer-owned IP address range to create. + *

+ */ + Cidr: string | undefined; + + /** + *

+ * The ID of the address pool. + *

+ */ + CoipPoolId: string | undefined; + + /** + *

Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

+ */ + DryRun?: boolean; +} + +/** + *

+ * Information about a customer-owned IP address range. + *

+ */ +export interface CoipCidr { + /** + *

+ * An address range in a customer-owned IP address space. + *

+ */ + Cidr?: string; + + /** + *

+ * The ID of the address pool. + *

+ */ + CoipPoolId?: string; + + /** + *

+ * The ID of the local gateway route table. + *

+ */ + LocalGatewayRouteTableId?: string; +} + export interface CreateCoipCidrResult { /** *

@@ -3293,8 +3372,7 @@ export interface CreateIpamRequest { Description?: string; /** - *

The operating Regions for the IPAM. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only - * discovers and monitors resources in the Amazon Web Services Regions you select as operating Regions.

+ *

The operating Regions for the IPAM. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the Amazon Web Services Regions you select as operating Regions.

*

For more information about operating Regions, see Create an IPAM in the Amazon VPC IPAM User Guide. *

*/ @@ -3313,8 +3391,7 @@ export interface CreateIpamRequest { } /** - *

The operating Regions for an IPAM. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only - * discovers and monitors resources in the Amazon Web Services Regions you select as operating Regions.

+ *

The operating Regions for an IPAM. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the Amazon Web Services Regions you select as operating Regions.

*

For more information about operating Regions, see Create an IPAM in the Amazon VPC IPAM User Guide.

*/ export interface IpamOperatingRegion { @@ -3354,7 +3431,7 @@ export interface Ipam { IpamId?: string; /** - *

The ARN of the IPAM.

+ *

The Amazon Resource Name (ARN) of the IPAM.

*/ IpamArn?: string; @@ -3385,8 +3462,7 @@ export interface Ipam { Description?: string; /** - *

The operating Regions for an IPAM. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only - * discovers and monitors resources in the Amazon Web Services Regions you select as operating Regions.

+ *

The operating Regions for an IPAM. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the Amazon Web Services Regions you select as operating Regions.

*

For more information about operating Regions, see Create an IPAM in the Amazon VPC IPAM User Guide.

*/ OperatingRegions?: IpamOperatingRegion[]; @@ -3401,6 +3477,21 @@ export interface Ipam { * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

*/ Tags?: Tag[]; + + /** + *

The IPAM's default resource discovery ID.

+ */ + DefaultResourceDiscoveryId?: string; + + /** + *

The IPAM's default resource discovery association ID.

+ */ + DefaultResourceDiscoveryAssociationId?: string; + + /** + *

The IPAM's resource discovery association count.

+ */ + ResourceDiscoveryAssociationCount?: number; } export interface CreateIpamResult { @@ -3429,6 +3520,11 @@ export enum IpamPoolAwsService { ec2 = "ec2", } +export enum IpamPoolPublicIpSource { + amazon = "amazon", + byoip = "byoip", +} + export interface CreateIpamPoolRequest { /** *

A check for whether you have the required permissions for the action without actually making the request @@ -3518,6 +3614,12 @@ export interface CreateIpamPoolRequest { *

Limits which service in Amazon Web Services that the pool can be used in. "ec2", for example, allows users to use space for Elastic IP addresses and VPCs.

*/ AwsService?: IpamPoolAwsService | string; + + /** + *

The IP address source for pools in the public scope. Only used for provisioning IP address CIDRs to pools in the public scope. Default is byoip. For more information, see Create IPv6 pools in the Amazon VPC IPAM User Guide. + * By default, you can add only one Amazon-provided IPv6 CIDR block to a top-level IPv6 pool if PublicIpSource is amazon. For information on increasing the default limit, see Quotas for your IPAM in the Amazon VPC IPAM User Guide.

+ */ + PublicIpSource?: IpamPoolPublicIpSource | string; } /** @@ -3576,7 +3678,7 @@ export interface IpamPool { SourceIpamPoolId?: string; /** - *

The ARN of the IPAM pool.

+ *

The Amazon Resource Name (ARN) of the IPAM pool.

*/ IpamPoolArn?: string; @@ -3679,6 +3781,12 @@ export interface IpamPool { *

Limits which service in Amazon Web Services that the pool can be used in. "ec2", for example, allows users to use space for Elastic IP addresses and VPCs.

*/ AwsService?: IpamPoolAwsService | string; + + /** + *

The IP address source for pools in the public scope. Only used for provisioning IP address CIDRs to pools in the public scope. Default is BYOIP. For more information, see Create IPv6 pools in the Amazon VPC IPAM User Guide. + * By default, you can add only one Amazon-provided IPv6 CIDR block to a top-level IPv6 pool. For information on increasing the default limit, see Quotas for your IPAM in the Amazon VPC IPAM User Guide.

+ */ + PublicIpSource?: IpamPoolPublicIpSource | string; } export interface CreateIpamPoolResult { @@ -3688,6 +3796,157 @@ export interface CreateIpamPoolResult { IpamPool?: IpamPool; } +export interface CreateIpamResourceDiscoveryRequest { + /** + *

A check for whether you have the required permissions for the action without actually making the request + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

+ */ + DryRun?: boolean; + + /** + *

A description for the IPAM resource discovery.

+ */ + Description?: string; + + /** + *

Operating Regions for the IPAM resource discovery. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the Amazon Web Services Regions you select as operating Regions.

+ */ + OperatingRegions?: AddIpamOperatingRegion[]; + + /** + *

Tag specifications for the IPAM resource discovery.

+ */ + TagSpecifications?: TagSpecification[]; + + /** + *

A client token for the IPAM resource discovery.

+ */ + ClientToken?: string; +} + +export enum IpamResourceDiscoveryState { + CREATE_COMPLETE = "create-complete", + CREATE_FAILED = "create-failed", + CREATE_IN_PROGRESS = "create-in-progress", + DELETE_COMPLETE = "delete-complete", + DELETE_FAILED = "delete-failed", + DELETE_IN_PROGRESS = "delete-in-progress", + ISOLATE_COMPLETE = "isolate-complete", + ISOLATE_IN_PROGRESS = "isolate-in-progress", + MODIFY_COMPLETE = "modify-complete", + MODIFY_FAILED = "modify-failed", + MODIFY_IN_PROGRESS = "modify-in-progress", + RESTORE_IN_PROGRESS = "restore-in-progress", +} + +/** + *

A resource discovery is an IPAM component that enables IPAM Service to manage and monitor resources that belong to the owning account.

+ */ +export interface IpamResourceDiscovery { + /** + *

The ID of the owner.

+ */ + OwnerId?: string; + + /** + *

The resource discovery ID.

+ */ + IpamResourceDiscoveryId?: string; + + /** + *

The resource discovery Amazon Resource Name (ARN).

+ */ + IpamResourceDiscoveryArn?: string; + + /** + *

The resource discovery Region.

+ */ + IpamResourceDiscoveryRegion?: string; + + /** + *

The resource discovery description.

+ */ + Description?: string; + + /** + *

The operating Regions for the resource discovery. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the Amazon Web Services Regions you select as operating Regions.

+ */ + OperatingRegions?: IpamOperatingRegion[]; + + /** + *

Defines if the resource discovery is the default. The default resource discovery is the resource discovery automatically created when you create an IPAM.

+ */ + IsDefault?: boolean; + + /** + *

The lifecycle state of the resource discovery.

+ *
    + *
  • + *

    + * create-in-progress - Resource discovery is being created.

    + *
  • + *
  • + *

    + * create-complete - Resource discovery creation is complete.

    + *
  • + *
  • + *

    + * create-failed - Resource discovery creation has failed.

    + *
  • + *
  • + *

    + * modify-in-progress - Resource discovery is being modified.

    + *
  • + *
  • + *

    + * modify-complete - Resource discovery modification is complete.

    + *
  • + *
  • + *

    + * modify-failed - Resource discovery modification has failed.

    + *
  • + *
  • + *

    + * delete-in-progress - Resource discovery is being deleted.

    + *
  • + *
  • + *

    + * delete-complete - Resource discovery deletion is complete.

    + *
  • + *
  • + *

    + * delete-failed - Resource discovery deletion has failed.

    + *
  • + *
  • + *

    + * isolate-in-progress - Amazon Web Services account that created the resource discovery has been removed and the resource discovery is being isolated.

    + *
  • + *
  • + *

    + * isolate-complete - Resource discovery isolation is complete.

    + *
  • + *
  • + *

    + * restore-in-progress - Amazon Web Services account that created the resource discovery and was isolated has been restored.

    + *
  • + *
+ */ + State?: IpamResourceDiscoveryState | string; + + /** + *

A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. You can use tags to search and filter your resources or track your Amazon Web Services costs.

+ */ + Tags?: Tag[]; +} + +export interface CreateIpamResourceDiscoveryResult { + /** + *

An IPAM resource discovery.

+ */ + IpamResourceDiscovery?: IpamResourceDiscovery; +} + export interface CreateIpamScopeRequest { /** *

A check for whether you have the required permissions for the action without actually making the request @@ -3749,7 +4008,7 @@ export interface IpamScope { IpamScopeId?: string; /** - *

The ARN of the scope.

+ *

The Amazon Resource Name (ARN) of the scope.

*/ IpamScopeArn?: string; @@ -8468,307 +8727,33 @@ export interface RouteTable { OwnerId?: string; } -export interface CreateRouteTableResult { - /** - *

Information about the route table.

- */ - RouteTable?: RouteTable; -} - -export interface CreateSecurityGroupRequest { - /** - *

A description for the security group. This is informational only.

- *

Constraints: Up to 255 characters in length

- *

Constraints for EC2-Classic: ASCII characters

- *

Constraints for EC2-VPC: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*

- */ - Description: string | undefined; - - /** - *

The name of the security group.

- *

Constraints: Up to 255 characters in length. Cannot start with - * sg-.

- *

Constraints for EC2-Classic: ASCII characters

- *

Constraints for EC2-VPC: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*

- */ - GroupName: string | undefined; - - /** - *

[EC2-VPC] The ID of the VPC. Required for EC2-VPC.

- */ - VpcId?: string; - - /** - *

The tags to assign to the security group.

- */ - TagSpecifications?: TagSpecification[]; - - /** - *

Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

- */ - DryRun?: boolean; -} - -export interface CreateSecurityGroupResult { - /** - *

The ID of the security group.

- */ - GroupId?: string; - - /** - *

The tags assigned to the security group.

- */ - Tags?: Tag[]; -} - -export interface CreateSnapshotRequest { - /** - *

A description for the snapshot.

- */ - Description?: string; - - /** - *

The Amazon Resource Name (ARN) of the Outpost on which to create a local - * snapshot.

- *
    - *
  • - *

    To create a snapshot of a volume in a Region, omit this parameter. The snapshot - * is created in the same Region as the volume.

    - *
  • - *
  • - *

    To create a snapshot of a volume on an Outpost and store the snapshot in the - * Region, omit this parameter. The snapshot is created in the Region for the - * Outpost.

    - *
  • - *
  • - *

    To create a snapshot of a volume on an Outpost and store the snapshot on an - * Outpost, specify the ARN of the destination Outpost. The snapshot must be created on - * the same Outpost as the volume.

    - *
  • - *
- *

For more information, see Create local snapshots from volumes on an Outpost in the Amazon Elastic Compute Cloud User Guide.

- */ - OutpostArn?: string; - - /** - *

The ID of the Amazon EBS volume.

- */ - VolumeId: string | undefined; - - /** - *

The tags to apply to the snapshot during creation.

- */ - TagSpecifications?: TagSpecification[]; - - /** - *

Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

- */ - DryRun?: boolean; -} - -export enum SnapshotState { - completed = "completed", - error = "error", - pending = "pending", - recoverable = "recoverable", - recovering = "recovering", -} - -export enum StorageTier { - archive = "archive", - standard = "standard", -} - /** - *

Describes a snapshot.

+ * @internal */ -export interface Snapshot { - /** - *

The data encryption key identifier for the snapshot. This value is a unique identifier - * that corresponds to the data encryption key that was used to encrypt the original volume or - * snapshot copy. Because data encryption keys are inherited by volumes created from snapshots, - * and vice versa, if snapshots share the same data encryption key identifier, then they belong - * to the same volume/snapshot lineage. This parameter is only returned by DescribeSnapshots.

- */ - DataEncryptionKeyId?: string; - - /** - *

The description for the snapshot.

- */ - Description?: string; - - /** - *

Indicates whether the snapshot is encrypted.

- */ - Encrypted?: boolean; - - /** - *

The Amazon Resource Name (ARN) of the Key Management Service (KMS) KMS key that was used to protect the - * volume encryption key for the parent volume.

- */ - KmsKeyId?: string; - - /** - *

The ID of the Amazon Web Services account that owns the EBS snapshot.

- */ - OwnerId?: string; - - /** - *

The progress of the snapshot, as a percentage.

- */ - Progress?: string; - - /** - *

The ID of the snapshot. Each snapshot receives a unique identifier when it is - * created.

- */ - SnapshotId?: string; - - /** - *

The time stamp when the snapshot was initiated.

- */ - StartTime?: Date; - - /** - *

The snapshot state.

- */ - State?: SnapshotState | string; - - /** - *

Encrypted Amazon EBS snapshots are copied asynchronously. If a snapshot copy operation fails - * (for example, if the proper Key Management Service (KMS) permissions are not obtained) this field displays error - * state details to help you diagnose why the error occurred. This parameter is only returned by - * DescribeSnapshots.

- */ - StateMessage?: string; - - /** - *

The ID of the volume that was used to create the snapshot. Snapshots created by the CopySnapshot action have an arbitrary volume ID that should not be used for any - * purpose.

- */ - VolumeId?: string; - - /** - *

The size of the volume, in GiB.

- */ - VolumeSize?: number; - - /** - *

The Amazon Web Services owner alias, from an Amazon-maintained list (amazon). This is not - * the user-configured Amazon Web Services account alias set using the IAM console.

- */ - OwnerAlias?: string; - - /** - *

The ARN of the Outpost on which the snapshot is stored. For more information, see Amazon EBS local snapshots on Outposts in the - * Amazon Elastic Compute Cloud User Guide.

- */ - OutpostArn?: string; - - /** - *

Any tags assigned to the snapshot.

- */ - Tags?: Tag[]; - - /** - *

The storage tier in which the snapshot is stored. standard indicates - * that the snapshot is stored in the standard snapshot storage tier and that it is ready - * for use. archive indicates that the snapshot is currently archived and that - * it must be restored before it can be used.

- */ - StorageTier?: StorageTier | string; - - /** - *

Only for archived snapshots that are temporarily restored. Indicates the date and - * time when a temporarily restored snapshot will be automatically re-archived.

- */ - RestoreExpiryTime?: Date; -} - -export enum CopyTagsFromSource { - volume = "volume", -} +export const ClientVpnRouteStatusFilterSensitiveLog = (obj: ClientVpnRouteStatus): any => ({ + ...obj, +}); /** - *

The instance details to specify which volumes should be snapshotted.

+ * @internal */ -export interface InstanceSpecification { - /** - *

The instance to specify which volumes should be snapshotted.

- */ - InstanceId?: string; - - /** - *

Excludes the root volume from being snapshotted.

- */ - ExcludeBootVolume?: boolean; - - /** - *

The IDs of the data (non-root) volumes to exclude from the multi-volume snapshot set. - * If you specify the ID of the root volume, the request fails. To exclude the root volume, - * use ExcludeBootVolume.

- *

You can specify up to 40 volume IDs per request.

- */ - ExcludeDataVolumeIds?: string[]; -} - -export interface CreateSnapshotsRequest { - /** - *

A description propagated to every snapshot specified by the instance.

- */ - Description?: string; - - /** - *

The instance to specify which volumes should be included in the snapshots.

- */ - InstanceSpecification: InstanceSpecification | undefined; - - /** - *

The Amazon Resource Name (ARN) of the Outpost on which to create the local - * snapshots.

- *
    - *
  • - *

    To create snapshots from an instance in a Region, omit this parameter. The - * snapshots are created in the same Region as the instance.

    - *
  • - *
  • - *

    To create snapshots from an instance on an Outpost and store the snapshots - * in the Region, omit this parameter. The snapshots are created in the Region - * for the Outpost.

    - *
  • - *
  • - *

    To create snapshots from an instance on an Outpost and store the snapshots - * on an Outpost, specify the ARN of the destination Outpost. The snapshots must - * be created on the same Outpost as the instance.

    - *
  • - *
- *

For more information, see - * Create multi-volume local snapshots from instances on an Outpost in the - * Amazon Elastic Compute Cloud User Guide.

- */ - OutpostArn?: string; - - /** - *

Tags to apply to every snapshot specified by the instance.

- */ - TagSpecifications?: TagSpecification[]; +export const CreateClientVpnRouteResultFilterSensitiveLog = (obj: CreateClientVpnRouteResult): any => ({ + ...obj, +}); - /** - *

Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

- */ - DryRun?: boolean; +/** + * @internal + */ +export const CreateCoipCidrRequestFilterSensitiveLog = (obj: CreateCoipCidrRequest): any => ({ + ...obj, +}); - /** - *

Copies the tags from the specified volume to corresponding snapshot.

- */ - CopyTagsFromSource?: CopyTagsFromSource | string; -} +/** + * @internal + */ +export const CoipCidrFilterSensitiveLog = (obj: CoipCidr): any => ({ + ...obj, +}); /** * @internal @@ -9405,6 +9390,27 @@ export const CreateIpamPoolResultFilterSensitiveLog = (obj: CreateIpamPoolResult ...obj, }); +/** + * @internal + */ +export const CreateIpamResourceDiscoveryRequestFilterSensitiveLog = (obj: CreateIpamResourceDiscoveryRequest): any => ({ + ...obj, +}); + +/** + * @internal + */ +export const IpamResourceDiscoveryFilterSensitiveLog = (obj: IpamResourceDiscovery): any => ({ + ...obj, +}); + +/** + * @internal + */ +export const CreateIpamResourceDiscoveryResultFilterSensitiveLog = (obj: CreateIpamResourceDiscoveryResult): any => ({ + ...obj, +}); + /** * @internal */ @@ -10417,52 +10423,3 @@ export const RouteFilterSensitiveLog = (obj: Route): any => ({ export const RouteTableFilterSensitiveLog = (obj: RouteTable): any => ({ ...obj, }); - -/** - * @internal - */ -export const CreateRouteTableResultFilterSensitiveLog = (obj: CreateRouteTableResult): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const CreateSecurityGroupRequestFilterSensitiveLog = (obj: CreateSecurityGroupRequest): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const CreateSecurityGroupResultFilterSensitiveLog = (obj: CreateSecurityGroupResult): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const CreateSnapshotRequestFilterSensitiveLog = (obj: CreateSnapshotRequest): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const SnapshotFilterSensitiveLog = (obj: Snapshot): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const InstanceSpecificationFilterSensitiveLog = (obj: InstanceSpecification): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const CreateSnapshotsRequestFilterSensitiveLog = (obj: CreateSnapshotsRequest): any => ({ - ...obj, -}); diff --git a/clients/client-ec2/src/models/models_2.ts b/clients/client-ec2/src/models/models_2.ts index 58b32053409c..778409d96347 100644 --- a/clients/client-ec2/src/models/models_2.ts +++ b/clients/client-ec2/src/models/models_2.ts @@ -3,8 +3,6 @@ import { ApplianceModeSupportValue, CarrierGateway, ClientVpnEndpointStatus, - ClientVpnRouteStatus, - CoipCidr, DeviceTrustProviderType, DnsSupportValue, DynamicRoutingValue, @@ -26,10 +24,13 @@ import { VpcPeeringConnection, } from "./models_0"; import { + ClientVpnRouteStatus, + CoipCidr, CoipPool, GatewayType, Ipam, IpamPool, + IpamResourceDiscovery, IpamScope, LaunchTemplate, LocalGatewayRoute, @@ -37,13 +38,315 @@ import { LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, - SnapshotState, + RouteTable, Subnet, Tenancy, VolumeType, Vpc, } from "./models_1"; +export interface CreateRouteTableResult { + /** + *

Information about the route table.

+ */ + RouteTable?: RouteTable; +} + +export interface CreateSecurityGroupRequest { + /** + *

A description for the security group. This is informational only.

+ *

Constraints: Up to 255 characters in length

+ *

Constraints for EC2-Classic: ASCII characters

+ *

Constraints for EC2-VPC: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*

+ */ + Description: string | undefined; + + /** + *

The name of the security group.

+ *

Constraints: Up to 255 characters in length. Cannot start with + * sg-.

+ *

Constraints for EC2-Classic: ASCII characters

+ *

Constraints for EC2-VPC: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*

+ */ + GroupName: string | undefined; + + /** + *

[EC2-VPC] The ID of the VPC. Required for EC2-VPC.

+ */ + VpcId?: string; + + /** + *

The tags to assign to the security group.

+ */ + TagSpecifications?: TagSpecification[]; + + /** + *

Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

+ */ + DryRun?: boolean; +} + +export interface CreateSecurityGroupResult { + /** + *

The ID of the security group.

+ */ + GroupId?: string; + + /** + *

The tags assigned to the security group.

+ */ + Tags?: Tag[]; +} + +export interface CreateSnapshotRequest { + /** + *

A description for the snapshot.

+ */ + Description?: string; + + /** + *

The Amazon Resource Name (ARN) of the Outpost on which to create a local + * snapshot.

+ *
    + *
  • + *

    To create a snapshot of a volume in a Region, omit this parameter. The snapshot + * is created in the same Region as the volume.

    + *
  • + *
  • + *

    To create a snapshot of a volume on an Outpost and store the snapshot in the + * Region, omit this parameter. The snapshot is created in the Region for the + * Outpost.

    + *
  • + *
  • + *

    To create a snapshot of a volume on an Outpost and store the snapshot on an + * Outpost, specify the ARN of the destination Outpost. The snapshot must be created on + * the same Outpost as the volume.

    + *
  • + *
+ *

For more information, see Create local snapshots from volumes on an Outpost in the Amazon Elastic Compute Cloud User Guide.

+ */ + OutpostArn?: string; + + /** + *

The ID of the Amazon EBS volume.

+ */ + VolumeId: string | undefined; + + /** + *

The tags to apply to the snapshot during creation.

+ */ + TagSpecifications?: TagSpecification[]; + + /** + *

Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

+ */ + DryRun?: boolean; +} + +export enum SnapshotState { + completed = "completed", + error = "error", + pending = "pending", + recoverable = "recoverable", + recovering = "recovering", +} + +export enum StorageTier { + archive = "archive", + standard = "standard", +} + +/** + *

Describes a snapshot.

+ */ +export interface Snapshot { + /** + *

The data encryption key identifier for the snapshot. This value is a unique identifier + * that corresponds to the data encryption key that was used to encrypt the original volume or + * snapshot copy. Because data encryption keys are inherited by volumes created from snapshots, + * and vice versa, if snapshots share the same data encryption key identifier, then they belong + * to the same volume/snapshot lineage. This parameter is only returned by DescribeSnapshots.

+ */ + DataEncryptionKeyId?: string; + + /** + *

The description for the snapshot.

+ */ + Description?: string; + + /** + *

Indicates whether the snapshot is encrypted.

+ */ + Encrypted?: boolean; + + /** + *

The Amazon Resource Name (ARN) of the Key Management Service (KMS) KMS key that was used to protect the + * volume encryption key for the parent volume.

+ */ + KmsKeyId?: string; + + /** + *

The ID of the Amazon Web Services account that owns the EBS snapshot.

+ */ + OwnerId?: string; + + /** + *

The progress of the snapshot, as a percentage.

+ */ + Progress?: string; + + /** + *

The ID of the snapshot. Each snapshot receives a unique identifier when it is + * created.

+ */ + SnapshotId?: string; + + /** + *

The time stamp when the snapshot was initiated.

+ */ + StartTime?: Date; + + /** + *

The snapshot state.

+ */ + State?: SnapshotState | string; + + /** + *

Encrypted Amazon EBS snapshots are copied asynchronously. If a snapshot copy operation fails + * (for example, if the proper Key Management Service (KMS) permissions are not obtained) this field displays error + * state details to help you diagnose why the error occurred. This parameter is only returned by + * DescribeSnapshots.

+ */ + StateMessage?: string; + + /** + *

The ID of the volume that was used to create the snapshot. Snapshots created by the CopySnapshot action have an arbitrary volume ID that should not be used for any + * purpose.

+ */ + VolumeId?: string; + + /** + *

The size of the volume, in GiB.

+ */ + VolumeSize?: number; + + /** + *

The Amazon Web Services owner alias, from an Amazon-maintained list (amazon). This is not + * the user-configured Amazon Web Services account alias set using the IAM console.

+ */ + OwnerAlias?: string; + + /** + *

The ARN of the Outpost on which the snapshot is stored. For more information, see Amazon EBS local snapshots on Outposts in the + * Amazon Elastic Compute Cloud User Guide.

+ */ + OutpostArn?: string; + + /** + *

Any tags assigned to the snapshot.

+ */ + Tags?: Tag[]; + + /** + *

The storage tier in which the snapshot is stored. standard indicates + * that the snapshot is stored in the standard snapshot storage tier and that it is ready + * for use. archive indicates that the snapshot is currently archived and that + * it must be restored before it can be used.

+ */ + StorageTier?: StorageTier | string; + + /** + *

Only for archived snapshots that are temporarily restored. Indicates the date and + * time when a temporarily restored snapshot will be automatically re-archived.

+ */ + RestoreExpiryTime?: Date; +} + +export enum CopyTagsFromSource { + volume = "volume", +} + +/** + *

The instance details to specify which volumes should be snapshotted.

+ */ +export interface InstanceSpecification { + /** + *

The instance to specify which volumes should be snapshotted.

+ */ + InstanceId?: string; + + /** + *

Excludes the root volume from being snapshotted.

+ */ + ExcludeBootVolume?: boolean; + + /** + *

The IDs of the data (non-root) volumes to exclude from the multi-volume snapshot set. + * If you specify the ID of the root volume, the request fails. To exclude the root volume, + * use ExcludeBootVolume.

+ *

You can specify up to 40 volume IDs per request.

+ */ + ExcludeDataVolumeIds?: string[]; +} + +export interface CreateSnapshotsRequest { + /** + *

A description propagated to every snapshot specified by the instance.

+ */ + Description?: string; + + /** + *

The instance to specify which volumes should be included in the snapshots.

+ */ + InstanceSpecification: InstanceSpecification | undefined; + + /** + *

The Amazon Resource Name (ARN) of the Outpost on which to create the local + * snapshots.

+ *
    + *
  • + *

    To create snapshots from an instance in a Region, omit this parameter. The + * snapshots are created in the same Region as the instance.

    + *
  • + *
  • + *

    To create snapshots from an instance on an Outpost and store the snapshots + * in the Region, omit this parameter. The snapshots are created in the Region + * for the Outpost.

    + *
  • + *
  • + *

    To create snapshots from an instance on an Outpost and store the snapshots + * on an Outpost, specify the ARN of the destination Outpost. The snapshots must + * be created on the same Outpost as the instance.

    + *
  • + *
+ *

For more information, see + * Create multi-volume local snapshots from instances on an Outpost in the + * Amazon Elastic Compute Cloud User Guide.

+ */ + OutpostArn?: string; + + /** + *

Tags to apply to every snapshot specified by the instance.

+ */ + TagSpecifications?: TagSpecification[]; + + /** + *

Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

+ */ + DryRun?: boolean; + + /** + *

Copies the tags from the specified volume to corresponding snapshot.

+ */ + CopyTagsFromSource?: CopyTagsFromSource | string; +} + /** *

Information about a snapshot.

*/ @@ -5122,6 +5425,27 @@ export interface DeleteIpamPoolResult { IpamPool?: IpamPool; } +export interface DeleteIpamResourceDiscoveryRequest { + /** + *

A check for whether you have the required permissions for the action without actually making the request + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

+ */ + DryRun?: boolean; + + /** + *

The IPAM resource discovery ID.

+ */ + IpamResourceDiscoveryId: string | undefined; +} + +export interface DeleteIpamResourceDiscoveryResult { + /** + *

The IPAM resource discovery.

+ */ + IpamResourceDiscovery?: IpamResourceDiscovery; +} + export interface DeleteIpamScopeRequest { /** *

A check for whether you have the required permissions for the action without actually making the request @@ -5990,141 +6314,54 @@ export interface DeleteTransitGatewayConnectRequest { DryRun?: boolean; } -export interface DeleteTransitGatewayConnectResult { - /** - *

Information about the deleted Connect attachment.

- */ - TransitGatewayConnect?: TransitGatewayConnect; -} - -export interface DeleteTransitGatewayConnectPeerRequest { - /** - *

The ID of the Connect peer.

- */ - TransitGatewayConnectPeerId: string | undefined; - - /** - *

Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

- */ - DryRun?: boolean; -} - -export interface DeleteTransitGatewayConnectPeerResult { - /** - *

Information about the deleted Connect peer.

- */ - TransitGatewayConnectPeer?: TransitGatewayConnectPeer; -} - -export interface DeleteTransitGatewayMulticastDomainRequest { - /** - *

The ID of the transit gateway multicast domain.

- */ - TransitGatewayMulticastDomainId: string | undefined; - - /** - *

Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

- */ - DryRun?: boolean; -} - -export interface DeleteTransitGatewayMulticastDomainResult { - /** - *

Information about the deleted transit gateway multicast domain.

- */ - TransitGatewayMulticastDomain?: TransitGatewayMulticastDomain; -} - -export interface DeleteTransitGatewayPeeringAttachmentRequest { - /** - *

The ID of the transit gateway peering attachment.

- */ - TransitGatewayAttachmentId: string | undefined; - - /** - *

Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

- */ - DryRun?: boolean; -} - -export interface DeleteTransitGatewayPeeringAttachmentResult { - /** - *

The transit gateway peering attachment.

- */ - TransitGatewayPeeringAttachment?: TransitGatewayPeeringAttachment; -} - -export interface DeleteTransitGatewayPolicyTableRequest { - /** - *

The transit gateway policy table to delete.

- */ - TransitGatewayPolicyTableId: string | undefined; - - /** - *

Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

- */ - DryRun?: boolean; -} - -export interface DeleteTransitGatewayPolicyTableResult { - /** - *

Provides details about the deleted transit gateway policy table.

- */ - TransitGatewayPolicyTable?: TransitGatewayPolicyTable; -} - -export interface DeleteTransitGatewayPrefixListReferenceRequest { - /** - *

The ID of the route table.

- */ - TransitGatewayRouteTableId: string | undefined; +/** + * @internal + */ +export const CreateRouteTableResultFilterSensitiveLog = (obj: CreateRouteTableResult): any => ({ + ...obj, +}); - /** - *

The ID of the prefix list.

- */ - PrefixListId: string | undefined; +/** + * @internal + */ +export const CreateSecurityGroupRequestFilterSensitiveLog = (obj: CreateSecurityGroupRequest): any => ({ + ...obj, +}); - /** - *

Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

- */ - DryRun?: boolean; -} +/** + * @internal + */ +export const CreateSecurityGroupResultFilterSensitiveLog = (obj: CreateSecurityGroupResult): any => ({ + ...obj, +}); -export interface DeleteTransitGatewayPrefixListReferenceResult { - /** - *

Information about the deleted prefix list reference.

- */ - TransitGatewayPrefixListReference?: TransitGatewayPrefixListReference; -} +/** + * @internal + */ +export const CreateSnapshotRequestFilterSensitiveLog = (obj: CreateSnapshotRequest): any => ({ + ...obj, +}); -export interface DeleteTransitGatewayRouteRequest { - /** - *

The ID of the transit gateway route table.

- */ - TransitGatewayRouteTableId: string | undefined; +/** + * @internal + */ +export const SnapshotFilterSensitiveLog = (obj: Snapshot): any => ({ + ...obj, +}); - /** - *

The CIDR range for the route. This must match the CIDR for the route exactly.

- */ - DestinationCidrBlock: string | undefined; +/** + * @internal + */ +export const InstanceSpecificationFilterSensitiveLog = (obj: InstanceSpecification): any => ({ + ...obj, +}); - /** - *

Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

- */ - DryRun?: boolean; -} +/** + * @internal + */ +export const CreateSnapshotsRequestFilterSensitiveLog = (obj: CreateSnapshotsRequest): any => ({ + ...obj, +}); /** * @internal @@ -7448,6 +7685,20 @@ export const DeleteIpamPoolResultFilterSensitiveLog = (obj: DeleteIpamPoolResult ...obj, }); +/** + * @internal + */ +export const DeleteIpamResourceDiscoveryRequestFilterSensitiveLog = (obj: DeleteIpamResourceDiscoveryRequest): any => ({ + ...obj, +}); + +/** + * @internal + */ +export const DeleteIpamResourceDiscoveryResultFilterSensitiveLog = (obj: DeleteIpamResourceDiscoveryResult): any => ({ + ...obj, +}); + /** * @internal */ @@ -7930,107 +8181,3 @@ export const DeleteTransitGatewayResultFilterSensitiveLog = (obj: DeleteTransitG export const DeleteTransitGatewayConnectRequestFilterSensitiveLog = (obj: DeleteTransitGatewayConnectRequest): any => ({ ...obj, }); - -/** - * @internal - */ -export const DeleteTransitGatewayConnectResultFilterSensitiveLog = (obj: DeleteTransitGatewayConnectResult): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const DeleteTransitGatewayConnectPeerRequestFilterSensitiveLog = ( - obj: DeleteTransitGatewayConnectPeerRequest -): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const DeleteTransitGatewayConnectPeerResultFilterSensitiveLog = ( - obj: DeleteTransitGatewayConnectPeerResult -): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const DeleteTransitGatewayMulticastDomainRequestFilterSensitiveLog = ( - obj: DeleteTransitGatewayMulticastDomainRequest -): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const DeleteTransitGatewayMulticastDomainResultFilterSensitiveLog = ( - obj: DeleteTransitGatewayMulticastDomainResult -): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const DeleteTransitGatewayPeeringAttachmentRequestFilterSensitiveLog = ( - obj: DeleteTransitGatewayPeeringAttachmentRequest -): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const DeleteTransitGatewayPeeringAttachmentResultFilterSensitiveLog = ( - obj: DeleteTransitGatewayPeeringAttachmentResult -): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const DeleteTransitGatewayPolicyTableRequestFilterSensitiveLog = ( - obj: DeleteTransitGatewayPolicyTableRequest -): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const DeleteTransitGatewayPolicyTableResultFilterSensitiveLog = ( - obj: DeleteTransitGatewayPolicyTableResult -): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const DeleteTransitGatewayPrefixListReferenceRequestFilterSensitiveLog = ( - obj: DeleteTransitGatewayPrefixListReferenceRequest -): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const DeleteTransitGatewayPrefixListReferenceResultFilterSensitiveLog = ( - obj: DeleteTransitGatewayPrefixListReferenceResult -): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const DeleteTransitGatewayRouteRequestFilterSensitiveLog = (obj: DeleteTransitGatewayRouteRequest): any => ({ - ...obj, -}); diff --git a/clients/client-ec2/src/models/models_3.ts b/clients/client-ec2/src/models/models_3.ts index ceb1c2f1f237..6832815822a6 100644 --- a/clients/client-ec2/src/models/models_3.ts +++ b/clients/client-ec2/src/models/models_3.ts @@ -21,7 +21,6 @@ import { ClientVpnAuthenticationType, ClientVpnAuthorizationRuleStatus, ClientVpnEndpointStatus, - ClientVpnRouteStatus, CurrencyCodeValues, FleetCapacityReservation, FleetCapacityReservationTenancy, @@ -31,6 +30,7 @@ import { IamInstanceProfileAssociation, InstanceEventWindow, Tag, + TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, TransportProtocol, UnsuccessfulItem, @@ -42,6 +42,7 @@ import { BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTargetResponse, + ClientVpnRouteStatus, CoipPool, CustomerGateway, DefaultTargetCapacityType, @@ -74,6 +75,11 @@ import { } from "./models_1"; import { FleetStateCode, + TransitGatewayConnect, + TransitGatewayConnectPeer, + TransitGatewayMulticastDomain, + TransitGatewayPolicyTable, + TransitGatewayPrefixListReference, TransitGatewayRoute, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, @@ -81,6 +87,142 @@ import { VerifiedAccessGroup, } from "./models_2"; +export interface DeleteTransitGatewayConnectResult { + /** + *

Information about the deleted Connect attachment.

+ */ + TransitGatewayConnect?: TransitGatewayConnect; +} + +export interface DeleteTransitGatewayConnectPeerRequest { + /** + *

The ID of the Connect peer.

+ */ + TransitGatewayConnectPeerId: string | undefined; + + /** + *

Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

+ */ + DryRun?: boolean; +} + +export interface DeleteTransitGatewayConnectPeerResult { + /** + *

Information about the deleted Connect peer.

+ */ + TransitGatewayConnectPeer?: TransitGatewayConnectPeer; +} + +export interface DeleteTransitGatewayMulticastDomainRequest { + /** + *

The ID of the transit gateway multicast domain.

+ */ + TransitGatewayMulticastDomainId: string | undefined; + + /** + *

Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

+ */ + DryRun?: boolean; +} + +export interface DeleteTransitGatewayMulticastDomainResult { + /** + *

Information about the deleted transit gateway multicast domain.

+ */ + TransitGatewayMulticastDomain?: TransitGatewayMulticastDomain; +} + +export interface DeleteTransitGatewayPeeringAttachmentRequest { + /** + *

The ID of the transit gateway peering attachment.

+ */ + TransitGatewayAttachmentId: string | undefined; + + /** + *

Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

+ */ + DryRun?: boolean; +} + +export interface DeleteTransitGatewayPeeringAttachmentResult { + /** + *

The transit gateway peering attachment.

+ */ + TransitGatewayPeeringAttachment?: TransitGatewayPeeringAttachment; +} + +export interface DeleteTransitGatewayPolicyTableRequest { + /** + *

The transit gateway policy table to delete.

+ */ + TransitGatewayPolicyTableId: string | undefined; + + /** + *

Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

+ */ + DryRun?: boolean; +} + +export interface DeleteTransitGatewayPolicyTableResult { + /** + *

Provides details about the deleted transit gateway policy table.

+ */ + TransitGatewayPolicyTable?: TransitGatewayPolicyTable; +} + +export interface DeleteTransitGatewayPrefixListReferenceRequest { + /** + *

The ID of the route table.

+ */ + TransitGatewayRouteTableId: string | undefined; + + /** + *

The ID of the prefix list.

+ */ + PrefixListId: string | undefined; + + /** + *

Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

+ */ + DryRun?: boolean; +} + +export interface DeleteTransitGatewayPrefixListReferenceResult { + /** + *

Information about the deleted prefix list reference.

+ */ + TransitGatewayPrefixListReference?: TransitGatewayPrefixListReference; +} + +export interface DeleteTransitGatewayRouteRequest { + /** + *

The ID of the transit gateway route table.

+ */ + TransitGatewayRouteTableId: string | undefined; + + /** + *

The CIDR range for the route. This must match the CIDR for the route exactly.

+ */ + DestinationCidrBlock: string | undefined; + + /** + *

Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

+ */ + DryRun?: boolean; +} + export interface DeleteTransitGatewayRouteResult { /** *

Information about the route.

@@ -467,6 +609,7 @@ export interface DeprovisionIpamPoolCidrRequest { export enum IpamPoolCidrFailureCode { cidr_not_available = "cidr-not-available", + limit_exceeded = "limit-exceeded", } /** @@ -514,6 +657,16 @@ export interface IpamPoolCidr { *

Details related to why an IPAM pool CIDR failed to be provisioned.

*/ FailureReason?: IpamPoolCidrFailureReason; + + /** + *

The IPAM pool CIDR ID.

+ */ + IpamPoolCidrId?: string; + + /** + *

The netmask length of the CIDR you'd like to provision to a pool. Can be used for provisioning Amazon-provided IPv6 CIDRs to top-level pools and for provisioning CIDRs to pools with source pools. Cannot be used to provision BYOIP CIDRs to top-level pools. "NetmaskLength" or "Cidr" is required.

+ */ + NetmaskLength?: number; } export interface DeprovisionIpamPoolCidrResult { @@ -8647,451 +8800,109 @@ export interface InstanceStatusEvent { NotBeforeDeadline?: Date; } -export enum StatusName { - reachability = "reachability", -} - -export enum StatusType { - failed = "failed", - initializing = "initializing", - insufficient_data = "insufficient-data", - passed = "passed", -} - /** - *

Describes the instance status.

+ * @internal */ -export interface InstanceStatusDetails { - /** - *

The time when a status check failed. For an instance that was launched and impaired, - * this is the time when the instance was launched.

- */ - ImpairedSince?: Date; - - /** - *

The type of instance status.

- */ - Name?: StatusName | string; - - /** - *

The status.

- */ - Status?: StatusType | string; -} - -export enum SummaryStatus { - impaired = "impaired", - initializing = "initializing", - insufficient_data = "insufficient-data", - not_applicable = "not-applicable", - ok = "ok", -} +export const DeleteTransitGatewayConnectResultFilterSensitiveLog = (obj: DeleteTransitGatewayConnectResult): any => ({ + ...obj, +}); /** - *

Describes the status of an instance.

+ * @internal */ -export interface InstanceStatusSummary { - /** - *

The system instance health or application instance health.

- */ - Details?: InstanceStatusDetails[]; - - /** - *

The status.

- */ - Status?: SummaryStatus | string; -} +export const DeleteTransitGatewayConnectPeerRequestFilterSensitiveLog = ( + obj: DeleteTransitGatewayConnectPeerRequest +): any => ({ + ...obj, +}); /** - *

Describes the status of an instance.

+ * @internal */ -export interface InstanceStatus { - /** - *

The Availability Zone of the instance.

- */ - AvailabilityZone?: string; - - /** - *

The Amazon Resource Name (ARN) of the Outpost.

- */ - OutpostArn?: string; - - /** - *

Any scheduled events associated with the instance.

- */ - Events?: InstanceStatusEvent[]; - - /** - *

The ID of the instance.

- */ - InstanceId?: string; - - /** - *

The intended state of the instance. DescribeInstanceStatus requires - * that an instance be in the running state.

- */ - InstanceState?: InstanceState; - - /** - *

Reports impaired functionality that stems from issues internal to the instance, such - * as impaired reachability.

- */ - InstanceStatus?: InstanceStatusSummary; - - /** - *

Reports impaired functionality that stems from issues related to the systems that - * support an instance, such as hardware failures and network connectivity problems.

- */ - SystemStatus?: InstanceStatusSummary; -} - -export interface DescribeInstanceStatusResult { - /** - *

Information about the status of the instances.

- */ - InstanceStatuses?: InstanceStatus[]; - - /** - *

The token to use to retrieve the next page of results. This value is null - * when there are no more results to return.

- */ - NextToken?: string; -} - -export enum LocationType { - availability_zone = "availability-zone", - availability_zone_id = "availability-zone-id", - region = "region", -} - -export interface DescribeInstanceTypeOfferingsRequest { - /** - *

Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is - * DryRunOperation. Otherwise, it is UnauthorizedOperation.

- */ - DryRun?: boolean; - - /** - *

The location type.

- */ - LocationType?: LocationType | string; - - /** - *

One or more filters. Filter names and values are case-sensitive.

- *
    - *
  • - *

    - * location - This depends on the location type. For example, if the location type is - * region (default), the location is the Region code (for example, us-east-2.)

    - *
  • - *
  • - *

    - * instance-type - The instance type. For example, - * c5.2xlarge.

    - *
  • - *
- */ - Filters?: Filter[]; - - /** - *

The maximum number of results to return for the request in a single page. The remaining results - * can be seen by sending another request with the next token value.

- */ - MaxResults?: number; - - /** - *

The token to retrieve the next page of results.

- */ - NextToken?: string; -} +export const DeleteTransitGatewayConnectPeerResultFilterSensitiveLog = ( + obj: DeleteTransitGatewayConnectPeerResult +): any => ({ + ...obj, +}); /** - *

The instance types offered.

+ * @internal */ -export interface InstanceTypeOffering { - /** - *

The instance type. For more information, see Instance types in the Amazon EC2 User Guide.

- */ - InstanceType?: _InstanceType | string; - - /** - *

The location type.

- */ - LocationType?: LocationType | string; +export const DeleteTransitGatewayMulticastDomainRequestFilterSensitiveLog = ( + obj: DeleteTransitGatewayMulticastDomainRequest +): any => ({ + ...obj, +}); - /** - *

The identifier for the location. This depends on the location type. For example, if the location type is - * region, the location is the Region code (for example, us-east-2.)

- */ - Location?: string; -} +/** + * @internal + */ +export const DeleteTransitGatewayMulticastDomainResultFilterSensitiveLog = ( + obj: DeleteTransitGatewayMulticastDomainResult +): any => ({ + ...obj, +}); -export interface DescribeInstanceTypeOfferingsResult { - /** - *

The instance types offered.

- */ - InstanceTypeOfferings?: InstanceTypeOffering[]; +/** + * @internal + */ +export const DeleteTransitGatewayPeeringAttachmentRequestFilterSensitiveLog = ( + obj: DeleteTransitGatewayPeeringAttachmentRequest +): any => ({ + ...obj, +}); - /** - *

The token to use to retrieve the next page of results. This value is null when there - * are no more results to return.

- */ - NextToken?: string; -} +/** + * @internal + */ +export const DeleteTransitGatewayPeeringAttachmentResultFilterSensitiveLog = ( + obj: DeleteTransitGatewayPeeringAttachmentResult +): any => ({ + ...obj, +}); -export interface DescribeInstanceTypesRequest { - /** - *

Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is - * DryRunOperation. Otherwise, it is UnauthorizedOperation.

- */ - DryRun?: boolean; +/** + * @internal + */ +export const DeleteTransitGatewayPolicyTableRequestFilterSensitiveLog = ( + obj: DeleteTransitGatewayPolicyTableRequest +): any => ({ + ...obj, +}); - /** - *

The instance types. For more information, see Instance types in the Amazon EC2 User Guide.

- */ - InstanceTypes?: (_InstanceType | string)[]; +/** + * @internal + */ +export const DeleteTransitGatewayPolicyTableResultFilterSensitiveLog = ( + obj: DeleteTransitGatewayPolicyTableResult +): any => ({ + ...obj, +}); - /** - *

One or more filters. Filter names and values are case-sensitive.

- *
    - *
  • - *

    - * auto-recovery-supported - Indicates whether auto recovery is supported (true | false).

    - *
  • - *
  • - *

    - * bare-metal - Indicates whether it is a bare metal instance type (true | false).

    - *
  • - *
  • - *

    - * burstable-performance-supported - Indicates whether it is a burstable - * performance instance type (true | false).

    - *
  • - *
  • - *

    - * current-generation - Indicates whether this instance type is the latest - * generation instance type of an instance family (true | false).

    - *
  • - *
  • - *

    - * ebs-info.ebs-optimized-info.baseline-bandwidth-in-mbps - The baseline - * bandwidth performance for an EBS-optimized instance type, in Mbps.

    - *
  • - *
  • - *

    - * ebs-info.ebs-optimized-info.baseline-iops - The baseline input/output storage - * operations per second for an EBS-optimized instance type.

    - *
  • - *
  • - *

    - * ebs-info.ebs-optimized-info.baseline-throughput-in-mbps - The baseline - * throughput performance for an EBS-optimized instance type, in MB/s.

    - *
  • - *
  • - *

    - * ebs-info.ebs-optimized-info.maximum-bandwidth-in-mbps - The maximum bandwidth - * performance for an EBS-optimized instance type, in Mbps.

    - *
  • - *
  • - *

    - * ebs-info.ebs-optimized-info.maximum-iops - The maximum input/output storage - * operations per second for an EBS-optimized instance type.

    - *
  • - *
  • - *

    - * ebs-info.ebs-optimized-info.maximum-throughput-in-mbps - The maximum - * throughput performance for an EBS-optimized instance type, in MB/s.

    - *
  • - *
  • - *

    - * ebs-info.ebs-optimized-support - Indicates whether the instance type is - * EBS-optimized (supported | unsupported | - * default).

    - *
  • - *
  • - *

    - * ebs-info.encryption-support - Indicates whether EBS encryption is supported - * (supported | unsupported).

    - *
  • - *
  • - *

    - * ebs-info.nvme-support - Indicates whether non-volatile memory express (NVMe) - * is supported for EBS volumes (required | supported | unsupported).

    - *
  • - *
  • - *

    - * free-tier-eligible - Indicates whether the instance type is eligible to use - * in the free tier (true | false).

    - *
  • - *
  • - *

    - * hibernation-supported - Indicates whether On-Demand hibernation is supported (true | false).

    - *
  • - *
  • - *

    - * hypervisor - The hypervisor (nitro | xen).

    - *
  • - *
  • - *

    - * instance-storage-info.disk.count - The number of local disks.

    - *
  • - *
  • - *

    - * instance-storage-info.disk.size-in-gb - The storage size of each instance storage disk, in - * GB.

    - *
  • - *
  • - *

    - * instance-storage-info.disk.type - The storage technology for the local - * instance storage disks (hdd | ssd).

    - *
  • - *
  • - *

    - * instance-storage-info.encryption-support - Indicates whether data is encrypted at rest - * (required | supported | unsupported).

    - *
  • - *
  • - *

    - * instance-storage-info.nvme-support - Indicates whether non-volatile memory - * express (NVMe) is supported for instance store (required | supported | - * unsupported).

    - *
  • - *
  • - *

    - * instance-storage-info.total-size-in-gb - The total amount of storage available from all local - * instance storage, in GB.

    - *
  • - *
  • - *

    - * instance-storage-supported - Indicates whether the instance type has local - * instance storage (true | false).

    - *
  • - *
  • - *

    - * instance-type - The instance type (for example c5.2xlarge or - * c5*).

    - *
  • - *
  • - *

    - * memory-info.size-in-mib - The memory size.

    - *
  • - *
  • - *

    - * network-info.efa-info.maximum-efa-interfaces - The maximum number of Elastic - * Fabric Adapters (EFAs) per instance.

    - *
  • - *
  • - *

    - * network-info.efa-supported - Indicates whether the instance type supports - * Elastic Fabric Adapter (EFA) (true | false).

    - *
  • - *
  • - *

    - * network-info.ena-support - Indicates whether Elastic Network Adapter (ENA) is - * supported or required (required | supported | - * unsupported).

    - *
  • - *
  • - *

    - * network-info.encryption-in-transit-supported - Indicates whether the instance type - * automatically encrypts in-transit traffic between instances (true | false).

    - *
  • - *
  • - *

    - * network-info.ipv4-addresses-per-interface - The maximum number of private IPv4 addresses per - * network interface.

    - *
  • - *
  • - *

    - * network-info.ipv6-addresses-per-interface - The maximum number of private IPv6 addresses per - * network interface.

    - *
  • - *
  • - *

    - * network-info.ipv6-supported - Indicates whether the instance type supports IPv6 (true | false).

    - *
  • - *
  • - *

    - * network-info.maximum-network-cards - The maximum number of network cards per - * instance.

    - *
  • - *
  • - *

    - * network-info.maximum-network-interfaces - The maximum number of network interfaces per instance.

    - *
  • - *
  • - *

    - * network-info.network-performance - The network performance (for example, "25 - * Gigabit").

    - *
  • - *
  • - *

    - * processor-info.supported-architecture - The CPU architecture - * (arm64 | i386 | x86_64).

    - *
  • - *
  • - *

    - * processor-info.sustained-clock-speed-in-ghz - The CPU clock speed, in GHz.

    - *
  • - *
  • - *

    - * supported-boot-mode - The boot mode (legacy-bios | - * uefi).

    - *
  • - *
  • - *

    - * supported-root-device-type - The root device type (ebs | - * instance-store).

    - *
  • - *
  • - *

    - * supported-usage-class - The usage class (on-demand | - * spot).

    - *
  • - *
  • - *

    - * supported-virtualization-type - The virtualization type (hvm | - * paravirtual).

    - *
  • - *
  • - *

    - * vcpu-info.default-cores - The default number of cores for the instance type.

    - *
  • - *
  • - *

    - * vcpu-info.default-threads-per-core - The default number of threads per core for the instance - * type.

    - *
  • - *
  • - *

    - * vcpu-info.default-vcpus - The default number of vCPUs for the instance type.

    - *
  • - *
  • - *

    - * vcpu-info.valid-cores - The number of cores that can be configured for the instance type.

    - *
  • - *
  • - *

    - * vcpu-info.valid-threads-per-core - The number of threads per core that can be configured for the instance type. - * For example, "1" or "1,2".

    - *
  • - *
- */ - Filters?: Filter[]; +/** + * @internal + */ +export const DeleteTransitGatewayPrefixListReferenceRequestFilterSensitiveLog = ( + obj: DeleteTransitGatewayPrefixListReferenceRequest +): any => ({ + ...obj, +}); - /** - *

The maximum number of results to return for the request in a single page. The remaining results - * can be seen by sending another request with the next token value.

- */ - MaxResults?: number; +/** + * @internal + */ +export const DeleteTransitGatewayPrefixListReferenceResultFilterSensitiveLog = ( + obj: DeleteTransitGatewayPrefixListReferenceResult +): any => ({ + ...obj, +}); - /** - *

The token to retrieve the next page of results.

- */ - NextToken?: string; -} +/** + * @internal + */ +export const DeleteTransitGatewayRouteRequestFilterSensitiveLog = (obj: DeleteTransitGatewayRouteRequest): any => ({ + ...obj, +}); /** * @internal @@ -10898,63 +10709,3 @@ export const DescribeInstanceStatusRequestFilterSensitiveLog = (obj: DescribeIns export const InstanceStatusEventFilterSensitiveLog = (obj: InstanceStatusEvent): any => ({ ...obj, }); - -/** - * @internal - */ -export const InstanceStatusDetailsFilterSensitiveLog = (obj: InstanceStatusDetails): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const InstanceStatusSummaryFilterSensitiveLog = (obj: InstanceStatusSummary): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const InstanceStatusFilterSensitiveLog = (obj: InstanceStatus): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const DescribeInstanceStatusResultFilterSensitiveLog = (obj: DescribeInstanceStatusResult): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const DescribeInstanceTypeOfferingsRequestFilterSensitiveLog = ( - obj: DescribeInstanceTypeOfferingsRequest -): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const InstanceTypeOfferingFilterSensitiveLog = (obj: InstanceTypeOffering): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const DescribeInstanceTypeOfferingsResultFilterSensitiveLog = ( - obj: DescribeInstanceTypeOfferingsResult -): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const DescribeInstanceTypesRequestFilterSensitiveLog = (obj: DescribeInstanceTypesRequest): any => ({ - ...obj, -}); diff --git a/clients/client-ec2/src/models/models_4.ts b/clients/client-ec2/src/models/models_4.ts index bfb733551e21..9e99ce91919d 100644 --- a/clients/client-ec2/src/models/models_4.ts +++ b/clients/client-ec2/src/models/models_4.ts @@ -9,6 +9,7 @@ import { CurrencyCodeValues, Explanation, IamInstanceProfileSpecification, + IpamResourceDiscoveryAssociation, IpPermission, PathComponent, ReservedInstancesListing, @@ -38,6 +39,7 @@ import { InternetGateway, Ipam, IpamPool, + IpamResourceDiscovery, IpamScope, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, @@ -59,22 +61,18 @@ import { PrivateIpAddressSpecification, ReplaceRootVolumeTask, RouteTable, - Snapshot, - SnapshotState, SpotInstanceType, - StorageTier, Subnet, TargetCapacityUnitType, Tenancy, VolumeType, } from "./models_1"; import { - ConnectionNotification, - DnsEntry, - IpAddressType, + Snapshot, + SnapshotState, SpotDatafeedSubscription, SpotInstanceStateFault, - State, + StorageTier, TrafficMirrorFilter, TrafficMirrorSession, TrafficMirrorTarget, @@ -88,1315 +86,1330 @@ import { VerifiedAccessEndpoint, VerifiedAccessGroup, Volume, - VpcEndpoint, } from "./models_2"; import { AttributeBooleanValue, EventInformation, Filter, IdFormat, + InstanceState, + InstanceStatusEvent, PermissionGroup, ProductCode, VirtualizationType, } from "./models_3"; -/** - *

Describes the optimized EBS performance for supported instance types.

- */ -export interface EbsOptimizedInfo { - /** - *

The baseline bandwidth performance for an EBS-optimized instance type, in Mbps.

- */ - BaselineBandwidthInMbps?: number; - - /** - *

The baseline throughput performance for an EBS-optimized instance type, in MB/s.

- */ - BaselineThroughputInMBps?: number; - - /** - *

The baseline input/output storage operations per seconds for an EBS-optimized instance type.

- */ - BaselineIops?: number; - - /** - *

The maximum bandwidth performance for an EBS-optimized instance type, in Mbps.

- */ - MaximumBandwidthInMbps?: number; - - /** - *

The maximum throughput performance for an EBS-optimized instance type, in MB/s.

- */ - MaximumThroughputInMBps?: number; - - /** - *

The maximum input/output storage operations per second for an EBS-optimized instance type.

- */ - MaximumIops?: number; -} - -export enum EbsOptimizedSupport { - default = "default", - supported = "supported", - unsupported = "unsupported", -} - -export enum EbsEncryptionSupport { - supported = "supported", - unsupported = "unsupported", +export enum StatusName { + reachability = "reachability", } -export enum EbsNvmeSupport { - REQUIRED = "required", - SUPPORTED = "supported", - UNSUPPORTED = "unsupported", +export enum StatusType { + failed = "failed", + initializing = "initializing", + insufficient_data = "insufficient-data", + passed = "passed", } /** - *

Describes the Amazon EBS features supported by the instance type.

+ *

Describes the instance status.

*/ -export interface EbsInfo { - /** - *

Indicates whether the instance type is Amazon EBS-optimized. For more information, see Amazon EBS-optimized - * instances in Amazon EC2 User Guide.

- */ - EbsOptimizedSupport?: EbsOptimizedSupport | string; - +export interface InstanceStatusDetails { /** - *

Indicates whether Amazon EBS encryption is supported.

+ *

The time when a status check failed. For an instance that was launched and impaired, + * this is the time when the instance was launched.

*/ - EncryptionSupport?: EbsEncryptionSupport | string; + ImpairedSince?: Date; /** - *

Describes the optimized EBS performance for the instance type.

+ *

The type of instance status.

*/ - EbsOptimizedInfo?: EbsOptimizedInfo; + Name?: StatusName | string; /** - *

Indicates whether non-volatile memory express (NVMe) is supported.

+ *

The status.

*/ - NvmeSupport?: EbsNvmeSupport | string; + Status?: StatusType | string; } -/** - *

Describes the memory for the FPGA accelerator for the instance type.

- */ -export interface FpgaDeviceMemoryInfo { - /** - *

The size of the memory available to the FPGA accelerator, in MiB.

- */ - SizeInMiB?: number; +export enum SummaryStatus { + impaired = "impaired", + initializing = "initializing", + insufficient_data = "insufficient-data", + not_applicable = "not-applicable", + ok = "ok", } /** - *

Describes the FPGA accelerator for the instance type.

+ *

Describes the status of an instance.

*/ -export interface FpgaDeviceInfo { - /** - *

The name of the FPGA accelerator.

- */ - Name?: string; - - /** - *

The manufacturer of the FPGA accelerator.

- */ - Manufacturer?: string; - +export interface InstanceStatusSummary { /** - *

The count of FPGA accelerators for the instance type.

+ *

The system instance health or application instance health.

*/ - Count?: number; + Details?: InstanceStatusDetails[]; /** - *

Describes the memory for the FPGA accelerator for the instance type.

+ *

The status.

*/ - MemoryInfo?: FpgaDeviceMemoryInfo; + Status?: SummaryStatus | string; } /** - *

Describes the FPGAs for the instance type.

+ *

Describes the status of an instance.

*/ -export interface FpgaInfo { +export interface InstanceStatus { /** - *

Describes the FPGAs for the instance type.

+ *

The Availability Zone of the instance.

*/ - Fpgas?: FpgaDeviceInfo[]; + AvailabilityZone?: string; /** - *

The total memory of all FPGA accelerators for the instance type.

+ *

The Amazon Resource Name (ARN) of the Outpost.

*/ - TotalFpgaMemoryInMiB?: number; -} + OutpostArn?: string; -/** - *

Describes the memory available to the GPU accelerator.

- */ -export interface GpuDeviceMemoryInfo { /** - *

The size of the memory available to the GPU accelerator, in MiB.

+ *

Any scheduled events associated with the instance.

*/ - SizeInMiB?: number; -} + Events?: InstanceStatusEvent[]; -/** - *

Describes the GPU accelerators for the instance type.

- */ -export interface GpuDeviceInfo { /** - *

The name of the GPU accelerator.

+ *

The ID of the instance.

*/ - Name?: string; + InstanceId?: string; /** - *

The manufacturer of the GPU accelerator.

+ *

The intended state of the instance. DescribeInstanceStatus requires + * that an instance be in the running state.

*/ - Manufacturer?: string; + InstanceState?: InstanceState; /** - *

The number of GPUs for the instance type.

+ *

Reports impaired functionality that stems from issues internal to the instance, such + * as impaired reachability.

*/ - Count?: number; + InstanceStatus?: InstanceStatusSummary; /** - *

Describes the memory available to the GPU accelerator.

+ *

Reports impaired functionality that stems from issues related to the systems that + * support an instance, such as hardware failures and network connectivity problems.

*/ - MemoryInfo?: GpuDeviceMemoryInfo; + SystemStatus?: InstanceStatusSummary; } -/** - *

Describes the GPU accelerators for the instance type.

- */ -export interface GpuInfo { +export interface DescribeInstanceStatusResult { /** - *

Describes the GPU accelerators for the instance type.

+ *

Information about the status of the instances.

*/ - Gpus?: GpuDeviceInfo[]; + InstanceStatuses?: InstanceStatus[]; /** - *

The total size of the memory for the GPU accelerators for the instance type, in MiB.

+ *

The token to use to retrieve the next page of results. This value is null + * when there are no more results to return.

*/ - TotalGpuMemoryInMiB?: number; + NextToken?: string; } -export enum InstanceTypeHypervisor { - NITRO = "nitro", - XEN = "xen", +export enum LocationType { + availability_zone = "availability-zone", + availability_zone_id = "availability-zone-id", + region = "region", } -/** - *

Describes the Inference accelerators for the instance type.

- */ -export interface InferenceDeviceInfo { - /** - *

The number of Inference accelerators for the instance type.

- */ - Count?: number; - +export interface DescribeInstanceTypeOfferingsRequest { /** - *

The name of the Inference accelerator.

- */ - Name?: string; - - /** - *

The manufacturer of the Inference accelerator.

+ *

Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is + * DryRunOperation. Otherwise, it is UnauthorizedOperation.

*/ - Manufacturer?: string; -} + DryRun?: boolean; -/** - *

Describes the Inference accelerators for the instance type.

- */ -export interface InferenceAcceleratorInfo { /** - *

Describes the Inference accelerators for the instance type.

+ *

The location type.

*/ - Accelerators?: InferenceDeviceInfo[]; -} - -export enum DiskType { - hdd = "hdd", - ssd = "ssd", -} + LocationType?: LocationType | string; -/** - *

Describes a disk.

- */ -export interface DiskInfo { /** - *

The size of the disk in GB.

+ *

One or more filters. Filter names and values are case-sensitive.

+ *
    + *
  • + *

    + * location - This depends on the location type. For example, if the location type is + * region (default), the location is the Region code (for example, us-east-2.)

    + *
  • + *
  • + *

    + * instance-type - The instance type. For example, + * c5.2xlarge.

    + *
  • + *
*/ - SizeInGB?: number; + Filters?: Filter[]; /** - *

The number of disks with this configuration.

+ *

The maximum number of results to return for the request in a single page. The remaining results + * can be seen by sending another request with the next token value.

*/ - Count?: number; + MaxResults?: number; /** - *

The type of disk.

+ *

The token to retrieve the next page of results.

*/ - Type?: DiskType | string; -} - -export enum InstanceStorageEncryptionSupport { - required = "required", - unsupported = "unsupported", -} - -export enum EphemeralNvmeSupport { - REQUIRED = "required", - SUPPORTED = "supported", - UNSUPPORTED = "unsupported", + NextToken?: string; } /** - *

Describes the instance store features that are supported by the instance type.

+ *

The instance types offered.

*/ -export interface InstanceStorageInfo { - /** - *

The total size of the disks, in GB.

- */ - TotalSizeInGB?: number; - +export interface InstanceTypeOffering { /** - *

Describes the disks that are available for the instance type.

+ *

The instance type. For more information, see Instance types in the Amazon EC2 User Guide.

*/ - Disks?: DiskInfo[]; + InstanceType?: _InstanceType | string; /** - *

Indicates whether non-volatile memory express (NVMe) is supported.

+ *

The location type.

*/ - NvmeSupport?: EphemeralNvmeSupport | string; + LocationType?: LocationType | string; /** - *

Indicates whether data is encrypted at rest.

+ *

The identifier for the location. This depends on the location type. For example, if the location type is + * region, the location is the Region code (for example, us-east-2.)

*/ - EncryptionSupport?: InstanceStorageEncryptionSupport | string; + Location?: string; } -/** - *

Describes the memory for the instance type.

- */ -export interface MemoryInfo { +export interface DescribeInstanceTypeOfferingsResult { /** - *

The size of the memory, in MiB.

+ *

The instance types offered.

*/ - SizeInMiB?: number; -} + InstanceTypeOfferings?: InstanceTypeOffering[]; -/** - *

Describes the Elastic Fabric Adapters for the instance type.

- */ -export interface EfaInfo { /** - *

The maximum number of Elastic Fabric Adapters for the instance type.

+ *

The token to use to retrieve the next page of results. This value is null when there + * are no more results to return.

*/ - MaximumEfaInterfaces?: number; -} - -export enum EnaSupport { - required = "required", - supported = "supported", - unsupported = "unsupported", + NextToken?: string; } -/** - *

Describes the network card support of the instance type.

- */ -export interface NetworkCardInfo { +export interface DescribeInstanceTypesRequest { /** - *

The index of the network card.

+ *

Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is + * DryRunOperation. Otherwise, it is UnauthorizedOperation.

*/ - NetworkCardIndex?: number; + DryRun?: boolean; /** - *

The network performance of the network card.

+ *

The instance types. For more information, see Instance types in the Amazon EC2 User Guide.

*/ - NetworkPerformance?: string; + InstanceTypes?: (_InstanceType | string)[]; /** - *

The maximum number of network interfaces for the network card.

+ *

One or more filters. Filter names and values are case-sensitive.

+ *
    + *
  • + *

    + * auto-recovery-supported - Indicates whether auto recovery is supported (true | false).

    + *
  • + *
  • + *

    + * bare-metal - Indicates whether it is a bare metal instance type (true | false).

    + *
  • + *
  • + *

    + * burstable-performance-supported - Indicates whether it is a burstable + * performance instance type (true | false).

    + *
  • + *
  • + *

    + * current-generation - Indicates whether this instance type is the latest + * generation instance type of an instance family (true | false).

    + *
  • + *
  • + *

    + * ebs-info.ebs-optimized-info.baseline-bandwidth-in-mbps - The baseline + * bandwidth performance for an EBS-optimized instance type, in Mbps.

    + *
  • + *
  • + *

    + * ebs-info.ebs-optimized-info.baseline-iops - The baseline input/output storage + * operations per second for an EBS-optimized instance type.

    + *
  • + *
  • + *

    + * ebs-info.ebs-optimized-info.baseline-throughput-in-mbps - The baseline + * throughput performance for an EBS-optimized instance type, in MB/s.

    + *
  • + *
  • + *

    + * ebs-info.ebs-optimized-info.maximum-bandwidth-in-mbps - The maximum bandwidth + * performance for an EBS-optimized instance type, in Mbps.

    + *
  • + *
  • + *

    + * ebs-info.ebs-optimized-info.maximum-iops - The maximum input/output storage + * operations per second for an EBS-optimized instance type.

    + *
  • + *
  • + *

    + * ebs-info.ebs-optimized-info.maximum-throughput-in-mbps - The maximum + * throughput performance for an EBS-optimized instance type, in MB/s.

    + *
  • + *
  • + *

    + * ebs-info.ebs-optimized-support - Indicates whether the instance type is + * EBS-optimized (supported | unsupported | + * default).

    + *
  • + *
  • + *

    + * ebs-info.encryption-support - Indicates whether EBS encryption is supported + * (supported | unsupported).

    + *
  • + *
  • + *

    + * ebs-info.nvme-support - Indicates whether non-volatile memory express (NVMe) + * is supported for EBS volumes (required | supported | unsupported).

    + *
  • + *
  • + *

    + * free-tier-eligible - Indicates whether the instance type is eligible to use + * in the free tier (true | false).

    + *
  • + *
  • + *

    + * hibernation-supported - Indicates whether On-Demand hibernation is supported (true | false).

    + *
  • + *
  • + *

    + * hypervisor - The hypervisor (nitro | xen).

    + *
  • + *
  • + *

    + * instance-storage-info.disk.count - The number of local disks.

    + *
  • + *
  • + *

    + * instance-storage-info.disk.size-in-gb - The storage size of each instance storage disk, in + * GB.

    + *
  • + *
  • + *

    + * instance-storage-info.disk.type - The storage technology for the local + * instance storage disks (hdd | ssd).

    + *
  • + *
  • + *

    + * instance-storage-info.encryption-support - Indicates whether data is encrypted at rest + * (required | supported | unsupported).

    + *
  • + *
  • + *

    + * instance-storage-info.nvme-support - Indicates whether non-volatile memory + * express (NVMe) is supported for instance store (required | supported | + * unsupported).

    + *
  • + *
  • + *

    + * instance-storage-info.total-size-in-gb - The total amount of storage available from all local + * instance storage, in GB.

    + *
  • + *
  • + *

    + * instance-storage-supported - Indicates whether the instance type has local + * instance storage (true | false).

    + *
  • + *
  • + *

    + * instance-type - The instance type (for example c5.2xlarge or + * c5*).

    + *
  • + *
  • + *

    + * memory-info.size-in-mib - The memory size.

    + *
  • + *
  • + *

    + * network-info.efa-info.maximum-efa-interfaces - The maximum number of Elastic + * Fabric Adapters (EFAs) per instance.

    + *
  • + *
  • + *

    + * network-info.efa-supported - Indicates whether the instance type supports + * Elastic Fabric Adapter (EFA) (true | false).

    + *
  • + *
  • + *

    + * network-info.ena-support - Indicates whether Elastic Network Adapter (ENA) is + * supported or required (required | supported | + * unsupported).

    + *
  • + *
  • + *

    + * network-info.encryption-in-transit-supported - Indicates whether the instance type + * automatically encrypts in-transit traffic between instances (true | false).

    + *
  • + *
  • + *

    + * network-info.ipv4-addresses-per-interface - The maximum number of private IPv4 addresses per + * network interface.

    + *
  • + *
  • + *

    + * network-info.ipv6-addresses-per-interface - The maximum number of private IPv6 addresses per + * network interface.

    + *
  • + *
  • + *

    + * network-info.ipv6-supported - Indicates whether the instance type supports IPv6 (true | false).

    + *
  • + *
  • + *

    + * network-info.maximum-network-cards - The maximum number of network cards per + * instance.

    + *
  • + *
  • + *

    + * network-info.maximum-network-interfaces - The maximum number of network interfaces per instance.

    + *
  • + *
  • + *

    + * network-info.network-performance - The network performance (for example, "25 + * Gigabit").

    + *
  • + *
  • + *

    + * processor-info.supported-architecture - The CPU architecture + * (arm64 | i386 | x86_64).

    + *
  • + *
  • + *

    + * processor-info.sustained-clock-speed-in-ghz - The CPU clock speed, in GHz.

    + *
  • + *
  • + *

    + * supported-boot-mode - The boot mode (legacy-bios | + * uefi).

    + *
  • + *
  • + *

    + * supported-root-device-type - The root device type (ebs | + * instance-store).

    + *
  • + *
  • + *

    + * supported-usage-class - The usage class (on-demand | + * spot).

    + *
  • + *
  • + *

    + * supported-virtualization-type - The virtualization type (hvm | + * paravirtual).

    + *
  • + *
  • + *

    + * vcpu-info.default-cores - The default number of cores for the instance type.

    + *
  • + *
  • + *

    + * vcpu-info.default-threads-per-core - The default number of threads per core for the instance + * type.

    + *
  • + *
  • + *

    + * vcpu-info.default-vcpus - The default number of vCPUs for the instance type.

    + *
  • + *
  • + *

    + * vcpu-info.valid-cores - The number of cores that can be configured for the instance type.

    + *
  • + *
  • + *

    + * vcpu-info.valid-threads-per-core - The number of threads per core that can be configured for the instance type. + * For example, "1" or "1,2".

    + *
  • + *
*/ - MaximumNetworkInterfaces?: number; -} + Filters?: Filter[]; -/** - *

Describes the networking features of the instance type.

- */ -export interface NetworkInfo { /** - *

The network performance.

+ *

The maximum number of results to return for the request in a single page. The remaining results + * can be seen by sending another request with the next token value.

*/ - NetworkPerformance?: string; + MaxResults?: number; /** - *

The maximum number of network interfaces for the instance type.

+ *

The token to retrieve the next page of results.

*/ - MaximumNetworkInterfaces?: number; + NextToken?: string; +} +/** + *

Describes the optimized EBS performance for supported instance types.

+ */ +export interface EbsOptimizedInfo { /** - *

The maximum number of physical network cards that can be allocated to the instance.

+ *

The baseline bandwidth performance for an EBS-optimized instance type, in Mbps.

*/ - MaximumNetworkCards?: number; + BaselineBandwidthInMbps?: number; /** - *

The index of the default network card, starting at 0.

+ *

The baseline throughput performance for an EBS-optimized instance type, in MB/s.

*/ - DefaultNetworkCardIndex?: number; + BaselineThroughputInMBps?: number; /** - *

Describes the network cards for the instance type.

+ *

The baseline input/output storage operations per seconds for an EBS-optimized instance type.

*/ - NetworkCards?: NetworkCardInfo[]; + BaselineIops?: number; /** - *

The maximum number of IPv4 addresses per network interface.

+ *

The maximum bandwidth performance for an EBS-optimized instance type, in Mbps.

*/ - Ipv4AddressesPerInterface?: number; + MaximumBandwidthInMbps?: number; /** - *

The maximum number of IPv6 addresses per network interface.

+ *

The maximum throughput performance for an EBS-optimized instance type, in MB/s.

*/ - Ipv6AddressesPerInterface?: number; + MaximumThroughputInMBps?: number; /** - *

Indicates whether IPv6 is supported.

+ *

The maximum input/output storage operations per second for an EBS-optimized instance type.

*/ - Ipv6Supported?: boolean; + MaximumIops?: number; +} - /** - *

Indicates whether Elastic Network Adapter (ENA) is supported.

- */ - EnaSupport?: EnaSupport | string; +export enum EbsOptimizedSupport { + default = "default", + supported = "supported", + unsupported = "unsupported", +} + +export enum EbsEncryptionSupport { + supported = "supported", + unsupported = "unsupported", +} +export enum EbsNvmeSupport { + REQUIRED = "required", + SUPPORTED = "supported", + UNSUPPORTED = "unsupported", +} + +/** + *

Describes the Amazon EBS features supported by the instance type.

+ */ +export interface EbsInfo { /** - *

Indicates whether Elastic Fabric Adapter (EFA) is supported.

+ *

Indicates whether the instance type is Amazon EBS-optimized. For more information, see Amazon EBS-optimized + * instances in Amazon EC2 User Guide.

*/ - EfaSupported?: boolean; + EbsOptimizedSupport?: EbsOptimizedSupport | string; /** - *

Describes the Elastic Fabric Adapters for the instance type.

+ *

Indicates whether Amazon EBS encryption is supported.

*/ - EfaInfo?: EfaInfo; + EncryptionSupport?: EbsEncryptionSupport | string; /** - *

Indicates whether the instance type automatically encrypts in-transit traffic between instances.

+ *

Describes the optimized EBS performance for the instance type.

*/ - EncryptionInTransitSupported?: boolean; + EbsOptimizedInfo?: EbsOptimizedInfo; /** - *

Indicates whether the instance type supports ENA Express. ENA Express uses Amazon Web Services Scalable - * Reliable Datagram (SRD) technology to increase the maximum bandwidth used per stream and - * minimize tail latency of network traffic between EC2 instances.

+ *

Indicates whether non-volatile memory express (NVMe) is supported.

*/ - EnaSrdSupported?: boolean; -} - -export enum PlacementGroupStrategy { - cluster = "cluster", - partition = "partition", - spread = "spread", + NvmeSupport?: EbsNvmeSupport | string; } /** - *

Describes the placement group support of the instance type.

+ *

Describes the memory for the FPGA accelerator for the instance type.

*/ -export interface PlacementGroupInfo { +export interface FpgaDeviceMemoryInfo { /** - *

The supported placement group types.

+ *

The size of the memory available to the FPGA accelerator, in MiB.

*/ - SupportedStrategies?: (PlacementGroupStrategy | string)[]; -} - -export enum ArchitectureType { - arm64 = "arm64", - arm64_mac = "arm64_mac", - i386 = "i386", - x86_64 = "x86_64", - x86_64_mac = "x86_64_mac", + SizeInMiB?: number; } /** - *

Describes the processor used by the instance type.

+ *

Describes the FPGA accelerator for the instance type.

*/ -export interface ProcessorInfo { +export interface FpgaDeviceInfo { /** - *

The architectures supported by the instance type.

+ *

The name of the FPGA accelerator.

*/ - SupportedArchitectures?: (ArchitectureType | string)[]; + Name?: string; /** - *

The speed of the processor, in GHz.

+ *

The manufacturer of the FPGA accelerator.

*/ - SustainedClockSpeedInGhz?: number; -} + Manufacturer?: string; -export enum BootModeType { - legacy_bios = "legacy-bios", - uefi = "uefi", -} + /** + *

The count of FPGA accelerators for the instance type.

+ */ + Count?: number; -export enum RootDeviceType { - ebs = "ebs", - instance_store = "instance-store", + /** + *

Describes the memory for the FPGA accelerator for the instance type.

+ */ + MemoryInfo?: FpgaDeviceMemoryInfo; } -export enum UsageClassType { - on_demand = "on-demand", - spot = "spot", +/** + *

Describes the FPGAs for the instance type.

+ */ +export interface FpgaInfo { + /** + *

Describes the FPGAs for the instance type.

+ */ + Fpgas?: FpgaDeviceInfo[]; + + /** + *

The total memory of all FPGA accelerators for the instance type.

+ */ + TotalFpgaMemoryInMiB?: number; } /** - *

Describes the vCPU configurations for the instance type.

+ *

Describes the memory available to the GPU accelerator.

*/ -export interface VCpuInfo { +export interface GpuDeviceMemoryInfo { /** - *

The default number of vCPUs for the instance type.

+ *

The size of the memory available to the GPU accelerator, in MiB.

*/ - DefaultVCpus?: number; + SizeInMiB?: number; +} +/** + *

Describes the GPU accelerators for the instance type.

+ */ +export interface GpuDeviceInfo { /** - *

The default number of cores for the instance type.

+ *

The name of the GPU accelerator.

*/ - DefaultCores?: number; + Name?: string; /** - *

The default number of threads per core for the instance type.

+ *

The manufacturer of the GPU accelerator.

*/ - DefaultThreadsPerCore?: number; + Manufacturer?: string; /** - *

The valid number of cores that can be configured for the instance type.

+ *

The number of GPUs for the instance type.

*/ - ValidCores?: number[]; + Count?: number; /** - *

The valid number of threads per core that can be configured for the instance type.

+ *

Describes the memory available to the GPU accelerator.

*/ - ValidThreadsPerCore?: number[]; + MemoryInfo?: GpuDeviceMemoryInfo; } /** - *

Describes the instance type.

+ *

Describes the GPU accelerators for the instance type.

*/ -export interface InstanceTypeInfo { +export interface GpuInfo { /** - *

The instance type. For more information, see Instance types in the Amazon EC2 User Guide.

+ *

Describes the GPU accelerators for the instance type.

*/ - InstanceType?: _InstanceType | string; + Gpus?: GpuDeviceInfo[]; /** - *

Indicates whether the instance type is current generation.

+ *

The total size of the memory for the GPU accelerators for the instance type, in MiB.

*/ - CurrentGeneration?: boolean; + TotalGpuMemoryInMiB?: number; +} + +export enum InstanceTypeHypervisor { + NITRO = "nitro", + XEN = "xen", +} +/** + *

Describes the Inference accelerators for the instance type.

+ */ +export interface InferenceDeviceInfo { /** - *

Indicates whether the instance type is eligible for the free tier.

+ *

The number of Inference accelerators for the instance type.

*/ - FreeTierEligible?: boolean; + Count?: number; /** - *

Indicates whether the instance type is offered for spot or On-Demand.

+ *

The name of the Inference accelerator.

*/ - SupportedUsageClasses?: (UsageClassType | string)[]; + Name?: string; /** - *

The supported root device types.

+ *

The manufacturer of the Inference accelerator.

*/ - SupportedRootDeviceTypes?: (RootDeviceType | string)[]; + Manufacturer?: string; +} +/** + *

Describes the Inference accelerators for the instance type.

+ */ +export interface InferenceAcceleratorInfo { /** - *

The supported virtualization types.

+ *

Describes the Inference accelerators for the instance type.

*/ - SupportedVirtualizationTypes?: (VirtualizationType | string)[]; + Accelerators?: InferenceDeviceInfo[]; +} +export enum DiskType { + hdd = "hdd", + ssd = "ssd", +} + +/** + *

Describes a disk.

+ */ +export interface DiskInfo { /** - *

Indicates whether the instance is a bare metal instance type.

+ *

The size of the disk in GB.

*/ - BareMetal?: boolean; + SizeInGB?: number; /** - *

The hypervisor for the instance type.

+ *

The number of disks with this configuration.

*/ - Hypervisor?: InstanceTypeHypervisor | string; + Count?: number; /** - *

Describes the processor.

+ *

The type of disk.

*/ - ProcessorInfo?: ProcessorInfo; + Type?: DiskType | string; +} + +export enum InstanceStorageEncryptionSupport { + required = "required", + unsupported = "unsupported", +} + +export enum EphemeralNvmeSupport { + REQUIRED = "required", + SUPPORTED = "supported", + UNSUPPORTED = "unsupported", +} +/** + *

Describes the instance store features that are supported by the instance type.

+ */ +export interface InstanceStorageInfo { /** - *

Describes the vCPU configurations for the instance type.

+ *

The total size of the disks, in GB.

*/ - VCpuInfo?: VCpuInfo; + TotalSizeInGB?: number; /** - *

Describes the memory for the instance type.

+ *

Describes the disks that are available for the instance type.

*/ - MemoryInfo?: MemoryInfo; + Disks?: DiskInfo[]; /** - *

Indicates whether instance storage is supported.

+ *

Indicates whether non-volatile memory express (NVMe) is supported.

*/ - InstanceStorageSupported?: boolean; + NvmeSupport?: EphemeralNvmeSupport | string; /** - *

Describes the instance storage for the instance type.

+ *

Indicates whether data is encrypted at rest.

*/ - InstanceStorageInfo?: InstanceStorageInfo; + EncryptionSupport?: InstanceStorageEncryptionSupport | string; +} +/** + *

Describes the memory for the instance type.

+ */ +export interface MemoryInfo { /** - *

Describes the Amazon EBS settings for the instance type.

+ *

The size of the memory, in MiB.

*/ - EbsInfo?: EbsInfo; + SizeInMiB?: number; +} +/** + *

Describes the Elastic Fabric Adapters for the instance type.

+ */ +export interface EfaInfo { /** - *

Describes the network settings for the instance type.

+ *

The maximum number of Elastic Fabric Adapters for the instance type.

*/ - NetworkInfo?: NetworkInfo; + MaximumEfaInterfaces?: number; +} +export enum EnaSupport { + required = "required", + supported = "supported", + unsupported = "unsupported", +} + +/** + *

Describes the network card support of the instance type.

+ */ +export interface NetworkCardInfo { /** - *

Describes the GPU accelerator settings for the instance type.

+ *

The index of the network card.

*/ - GpuInfo?: GpuInfo; + NetworkCardIndex?: number; /** - *

Describes the FPGA accelerator settings for the instance type.

+ *

The network performance of the network card.

*/ - FpgaInfo?: FpgaInfo; + NetworkPerformance?: string; /** - *

Describes the placement group settings for the instance type.

+ *

The maximum number of network interfaces for the network card.

*/ - PlacementGroupInfo?: PlacementGroupInfo; + MaximumNetworkInterfaces?: number; +} +/** + *

Describes the networking features of the instance type.

+ */ +export interface NetworkInfo { /** - *

Describes the Inference accelerator settings for the instance type.

+ *

The network performance.

*/ - InferenceAcceleratorInfo?: InferenceAcceleratorInfo; + NetworkPerformance?: string; /** - *

Indicates whether On-Demand hibernation is supported.

+ *

The maximum number of network interfaces for the instance type.

*/ - HibernationSupported?: boolean; + MaximumNetworkInterfaces?: number; /** - *

Indicates whether the instance type is a burstable performance instance type.

+ *

The maximum number of physical network cards that can be allocated to the instance.

*/ - BurstablePerformanceSupported?: boolean; + MaximumNetworkCards?: number; /** - *

Indicates whether Dedicated Hosts are supported on the instance type.

+ *

The index of the default network card, starting at 0.

*/ - DedicatedHostsSupported?: boolean; + DefaultNetworkCardIndex?: number; /** - *

Indicates whether auto recovery is supported.

+ *

Describes the network cards for the instance type.

*/ - AutoRecoverySupported?: boolean; + NetworkCards?: NetworkCardInfo[]; /** - *

The supported boot modes. For more information, see Boot modes in the - * Amazon EC2 User Guide.

+ *

The maximum number of IPv4 addresses per network interface.

*/ - SupportedBootModes?: (BootModeType | string)[]; -} + Ipv4AddressesPerInterface?: number; -export interface DescribeInstanceTypesResult { /** - *

The instance type. For more information, see Instance types in the Amazon EC2 User Guide.

+ *

The maximum number of IPv6 addresses per network interface.

*/ - InstanceTypes?: InstanceTypeInfo[]; + Ipv6AddressesPerInterface?: number; /** - *

The token to use to retrieve the next page of results. This value is null when there - * are no more results to return.

+ *

Indicates whether IPv6 is supported.

*/ - NextToken?: string; -} + Ipv6Supported?: boolean; -export interface DescribeInternetGatewaysRequest { /** - *

One or more filters.

- *
    - *
  • - *

    - * attachment.state - The current state of the attachment between the gateway - * and the VPC (available). Present only if a VPC is attached.

    - *
  • - *
  • - *

    - * attachment.vpc-id - The ID of an attached VPC.

    - *
  • - *
  • - *

    - * internet-gateway-id - The ID of the Internet gateway.

    - *
  • - *
  • - *

    - * owner-id - The ID of the Amazon Web Services account that owns the internet gateway.

    - *
  • - *
  • - *

    - * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. - * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

    - *
  • - *
  • - *

    - * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

    - *
  • - *
+ *

Indicates whether Elastic Network Adapter (ENA) is supported.

*/ - Filters?: Filter[]; + EnaSupport?: EnaSupport | string; /** - *

Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

+ *

Indicates whether Elastic Fabric Adapter (EFA) is supported.

*/ - DryRun?: boolean; + EfaSupported?: boolean; /** - *

One or more internet gateway IDs.

- *

Default: Describes all your internet gateways.

+ *

Describes the Elastic Fabric Adapters for the instance type.

*/ - InternetGatewayIds?: string[]; + EfaInfo?: EfaInfo; /** - *

The token for the next page of results.

+ *

Indicates whether the instance type automatically encrypts in-transit traffic between instances.

*/ - NextToken?: string; + EncryptionInTransitSupported?: boolean; /** - *

The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

+ *

Indicates whether the instance type supports ENA Express. ENA Express uses Amazon Web Services Scalable + * Reliable Datagram (SRD) technology to increase the maximum bandwidth used per stream and + * minimize tail latency of network traffic between EC2 instances.

*/ - MaxResults?: number; + EnaSrdSupported?: boolean; } -export interface DescribeInternetGatewaysResult { - /** - *

Information about one or more internet gateways.

- */ - InternetGateways?: InternetGateway[]; +export enum PlacementGroupStrategy { + cluster = "cluster", + partition = "partition", + spread = "spread", +} +/** + *

Describes the placement group support of the instance type.

+ */ +export interface PlacementGroupInfo { /** - *

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

+ *

The supported placement group types.

*/ - NextToken?: string; + SupportedStrategies?: (PlacementGroupStrategy | string)[]; } -export interface DescribeIpamPoolsRequest { +export enum ArchitectureType { + arm64 = "arm64", + arm64_mac = "arm64_mac", + i386 = "i386", + x86_64 = "x86_64", + x86_64_mac = "x86_64_mac", +} + +/** + *

Describes the processor used by the instance type.

+ */ +export interface ProcessorInfo { /** - *

A check for whether you have the required permissions for the action without actually making the request - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

+ *

The architectures supported by the instance type.

*/ - DryRun?: boolean; + SupportedArchitectures?: (ArchitectureType | string)[]; /** - *

One or more filters for the request. For more information about filtering, see Filtering CLI output.

+ *

The speed of the processor, in GHz.

*/ - Filters?: Filter[]; + SustainedClockSpeedInGhz?: number; +} + +export enum BootModeType { + legacy_bios = "legacy-bios", + uefi = "uefi", +} + +export enum RootDeviceType { + ebs = "ebs", + instance_store = "instance-store", +} + +export enum UsageClassType { + on_demand = "on-demand", + spot = "spot", +} +/** + *

Describes the vCPU configurations for the instance type.

+ */ +export interface VCpuInfo { /** - *

The maximum number of results to return in the request.

+ *

The default number of vCPUs for the instance type.

*/ - MaxResults?: number; + DefaultVCpus?: number; /** - *

The token for the next page of results.

+ *

The default number of cores for the instance type.

*/ - NextToken?: string; + DefaultCores?: number; /** - *

The IDs of the IPAM pools you would like information on.

+ *

The default number of threads per core for the instance type.

*/ - IpamPoolIds?: string[]; -} + DefaultThreadsPerCore?: number; -export interface DescribeIpamPoolsResult { /** - *

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

+ *

The valid number of cores that can be configured for the instance type.

*/ - NextToken?: string; + ValidCores?: number[]; /** - *

Information about the IPAM pools.

+ *

The valid number of threads per core that can be configured for the instance type.

*/ - IpamPools?: IpamPool[]; + ValidThreadsPerCore?: number[]; } -export interface DescribeIpamsRequest { +/** + *

Describes the instance type.

+ */ +export interface InstanceTypeInfo { /** - *

A check for whether you have the required permissions for the action without actually making the request - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

+ *

The instance type. For more information, see Instance types in the Amazon EC2 User Guide.

*/ - DryRun?: boolean; + InstanceType?: _InstanceType | string; /** - *

One or more filters for the request. For more information about filtering, see Filtering CLI output.

+ *

Indicates whether the instance type is current generation.

*/ - Filters?: Filter[]; + CurrentGeneration?: boolean; /** - *

The maximum number of results to return in the request.

+ *

Indicates whether the instance type is eligible for the free tier.

*/ - MaxResults?: number; + FreeTierEligible?: boolean; /** - *

The token for the next page of results.

+ *

Indicates whether the instance type is offered for spot or On-Demand.

*/ - NextToken?: string; + SupportedUsageClasses?: (UsageClassType | string)[]; /** - *

The IDs of the IPAMs you want information on.

+ *

The supported root device types.

*/ - IpamIds?: string[]; -} + SupportedRootDeviceTypes?: (RootDeviceType | string)[]; -export interface DescribeIpamsResult { /** - *

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

+ *

The supported virtualization types.

*/ - NextToken?: string; + SupportedVirtualizationTypes?: (VirtualizationType | string)[]; /** - *

Information about the IPAMs.

+ *

Indicates whether the instance is a bare metal instance type.

*/ - Ipams?: Ipam[]; -} + BareMetal?: boolean; -export interface DescribeIpamScopesRequest { /** - *

A check for whether you have the required permissions for the action without actually making the request - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

+ *

The hypervisor for the instance type.

*/ - DryRun?: boolean; + Hypervisor?: InstanceTypeHypervisor | string; /** - *

One or more filters for the request. For more information about filtering, see Filtering CLI output.

+ *

Describes the processor.

*/ - Filters?: Filter[]; + ProcessorInfo?: ProcessorInfo; /** - *

The maximum number of results to return in the request.

+ *

Describes the vCPU configurations for the instance type.

*/ - MaxResults?: number; + VCpuInfo?: VCpuInfo; /** - *

The token for the next page of results.

+ *

Describes the memory for the instance type.

*/ - NextToken?: string; + MemoryInfo?: MemoryInfo; /** - *

The IDs of the scopes you want information on.

+ *

Indicates whether instance storage is supported.

*/ - IpamScopeIds?: string[]; -} + InstanceStorageSupported?: boolean; -export interface DescribeIpamScopesResult { /** - *

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

+ *

Describes the instance storage for the instance type.

*/ - NextToken?: string; + InstanceStorageInfo?: InstanceStorageInfo; /** - *

The scopes you want information on.

+ *

Describes the Amazon EBS settings for the instance type.

*/ - IpamScopes?: IpamScope[]; -} + EbsInfo?: EbsInfo; -export interface DescribeIpv6PoolsRequest { /** - *

The IDs of the IPv6 address pools.

+ *

Describes the network settings for the instance type.

*/ - PoolIds?: string[]; + NetworkInfo?: NetworkInfo; /** - *

The token for the next page of results.

+ *

Describes the GPU accelerator settings for the instance type.

*/ - NextToken?: string; + GpuInfo?: GpuInfo; /** - *

The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

+ *

Describes the FPGA accelerator settings for the instance type.

*/ - MaxResults?: number; + FpgaInfo?: FpgaInfo; /** - *

Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

+ *

Describes the placement group settings for the instance type.

*/ - DryRun?: boolean; + PlacementGroupInfo?: PlacementGroupInfo; /** - *

One or more filters.

- *
    - *
  • - *

    - * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. - * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

    - *
  • - *
  • - *

    - * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

    - *
  • - *
+ *

Describes the Inference accelerator settings for the instance type.

*/ - Filters?: Filter[]; -} + InferenceAcceleratorInfo?: InferenceAcceleratorInfo; -/** - *

Describes a CIDR block for an address pool.

- */ -export interface PoolCidrBlock { /** - *

The CIDR block.

+ *

Indicates whether On-Demand hibernation is supported.

*/ - Cidr?: string; -} + HibernationSupported?: boolean; -/** - *

Describes an IPv6 address pool.

- */ -export interface Ipv6Pool { /** - *

The ID of the address pool.

+ *

Indicates whether the instance type is a burstable performance instance type.

*/ - PoolId?: string; + BurstablePerformanceSupported?: boolean; /** - *

The description for the address pool.

+ *

Indicates whether Dedicated Hosts are supported on the instance type.

*/ - Description?: string; + DedicatedHostsSupported?: boolean; /** - *

The CIDR blocks for the address pool.

+ *

Indicates whether auto recovery is supported.

*/ - PoolCidrBlocks?: PoolCidrBlock[]; + AutoRecoverySupported?: boolean; /** - *

Any tags for the address pool.

+ *

The supported boot modes. For more information, see Boot modes in the + * Amazon EC2 User Guide.

*/ - Tags?: Tag[]; + SupportedBootModes?: (BootModeType | string)[]; } -export interface DescribeIpv6PoolsResult { +export interface DescribeInstanceTypesResult { /** - *

Information about the IPv6 address pools.

+ *

The instance type. For more information, see Instance types in the Amazon EC2 User Guide.

*/ - Ipv6Pools?: Ipv6Pool[]; + InstanceTypes?: InstanceTypeInfo[]; /** - *

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

+ *

The token to use to retrieve the next page of results. This value is null when there + * are no more results to return.

*/ NextToken?: string; } -export interface DescribeKeyPairsRequest { +export interface DescribeInternetGatewaysRequest { /** - *

The filters.

+ *

One or more filters.

*
    *
  • *

    - * key-pair-id - The ID of the key pair.

    + * attachment.state - The current state of the attachment between the gateway + * and the VPC (available). Present only if a VPC is attached.

    *
  • *
  • *

    - * fingerprint - The fingerprint of the key pair.

    + * attachment.vpc-id - The ID of an attached VPC.

    *
  • *
  • *

    - * key-name - The name of the key pair.

    + * internet-gateway-id - The ID of the Internet gateway.

    *
  • *
  • *

    - * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

    + * owner-id - The ID of the Amazon Web Services account that owns the internet gateway.

    *
  • *
  • *

    * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

    *
  • + *
  • + *

    + * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

    + *
  • *
*/ Filters?: Filter[]; /** - *

The key pair names.

- *

Default: Describes all of your key pairs.

+ *

Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

*/ - KeyNames?: string[]; + DryRun?: boolean; /** - *

The IDs of the key pairs.

+ *

One or more internet gateway IDs.

+ *

Default: Describes all your internet gateways.

*/ - KeyPairIds?: string[]; + InternetGatewayIds?: string[]; /** - *

Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

+ *

The token for the next page of results.

*/ - DryRun?: boolean; + NextToken?: string; /** - *

If true, the public key material is included in the response.

- *

Default: false - *

+ *

The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

*/ - IncludePublicKey?: boolean; + MaxResults?: number; } -/** - *

Describes a key pair.

- */ -export interface KeyPairInfo { +export interface DescribeInternetGatewaysResult { /** - *

The ID of the key pair.

+ *

Information about one or more internet gateways.

*/ - KeyPairId?: string; + InternetGateways?: InternetGateway[]; /** - *

If you used CreateKeyPair to create the key pair:

- *
    - *
  • - *

    For RSA key pairs, the key fingerprint is the SHA-1 digest of the DER encoded private key.

    - *
  • - *
  • - *

    For ED25519 key pairs, the key fingerprint is the base64-encoded SHA-256 digest, which - * is the default for OpenSSH, starting with OpenSSH 6.8.

    - *
  • - *
- *

If you used ImportKeyPair to provide Amazon Web Services the public key:

- *
    - *
  • - *

    For RSA key pairs, the key fingerprint is the MD5 public key fingerprint as specified in section 4 of RFC4716.

    - *
  • - *
  • - *

    For ED25519 key pairs, the key fingerprint is the base64-encoded SHA-256 - * digest, which is the default for OpenSSH, starting with OpenSSH 6.8.

    - *
  • - *
+ *

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

*/ - KeyFingerprint?: string; + NextToken?: string; +} +export interface DescribeIpamPoolsRequest { /** - *

The name of the key pair.

+ *

A check for whether you have the required permissions for the action without actually making the request + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

*/ - KeyName?: string; + DryRun?: boolean; /** - *

The type of key pair.

+ *

One or more filters for the request. For more information about filtering, see Filtering CLI output.

*/ - KeyType?: KeyType | string; + Filters?: Filter[]; /** - *

Any tags applied to the key pair.

+ *

The maximum number of results to return in the request.

*/ - Tags?: Tag[]; + MaxResults?: number; /** - *

The public key material.

+ *

The token for the next page of results.

*/ - PublicKey?: string; + NextToken?: string; /** - *

If you used Amazon EC2 to create the key pair, this is the date and time when the key - * was created, in ISO - * 8601 date-time format, in the UTC time zone.

- *

If you imported an existing key pair to Amazon EC2, this is the date and time the key - * was imported, in ISO - * 8601 date-time format, in the UTC time zone.

+ *

The IDs of the IPAM pools you would like information on.

*/ - CreateTime?: Date; + IpamPoolIds?: string[]; } -export interface DescribeKeyPairsResult { +export interface DescribeIpamPoolsResult { /** - *

Information about the key pairs.

+ *

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

*/ - KeyPairs?: KeyPairInfo[]; -} + NextToken?: string; -export interface DescribeLaunchTemplatesRequest { /** - *

Checks whether you have the required permissions for the action, without actually - * making the request, and provides an error response. If you have the required - * permissions, the error response is DryRunOperation. Otherwise, it is - * UnauthorizedOperation.

+ *

Information about the IPAM pools.

*/ - DryRun?: boolean; + IpamPools?: IpamPool[]; +} +export interface DescribeIpamResourceDiscoveriesRequest { /** - *

One or more launch template IDs.

+ *

A check for whether you have the required permissions for the action without actually making the request + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

*/ - LaunchTemplateIds?: string[]; + DryRun?: boolean; /** - *

One or more launch template names.

+ *

The IPAM resource discovery IDs.

*/ - LaunchTemplateNames?: string[]; + IpamResourceDiscoveryIds?: string[]; /** - *

One or more filters.

- *
    - *
  • - *

    - * create-time - The time the launch template was created.

    - *
  • - *
  • - *

    - * launch-template-name - The name of the launch template.

    - *
  • - *
  • - *

    - * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. - * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

    - *
  • - *
  • - *

    - * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

    - *
  • - *
+ *

Specify the pagination token from a previous request to retrieve the next page of results.

*/ - Filters?: Filter[]; + NextToken?: string; /** - *

The token to request the next page of results.

+ *

The maximum number of resource discoveries to return in one page of results.

*/ - NextToken?: string; + MaxResults?: number; /** - *

The maximum number of results to return in a single call. To retrieve the remaining - * results, make another call with the returned NextToken value. This value - * can be between 1 and 200.

+ *

The resource discovery filters.

*/ - MaxResults?: number; + Filters?: Filter[]; } -export interface DescribeLaunchTemplatesResult { +export interface DescribeIpamResourceDiscoveriesResult { /** - *

Information about the launch templates.

+ *

The resource discoveries.

*/ - LaunchTemplates?: LaunchTemplate[]; + IpamResourceDiscoveries?: IpamResourceDiscovery[]; /** - *

The token to use to retrieve the next page of results. This value is null - * when there are no more results to return.

+ *

Specify the pagination token from a previous request to retrieve the next page of results.

*/ NextToken?: string; } -export interface DescribeLaunchTemplateVersionsRequest { +export interface DescribeIpamResourceDiscoveryAssociationsRequest { /** - *

Checks whether you have the required permissions for the action, without actually - * making the request, and provides an error response. If you have the required - * permissions, the error response is DryRunOperation. Otherwise, it is - * UnauthorizedOperation.

+ *

A check for whether you have the required permissions for the action without actually making the request + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

*/ DryRun?: boolean; /** - *

The ID of the launch template.

- *

To describe one or more versions of a specified launch template, you must specify - * either the LaunchTemplateId or the LaunchTemplateName, but not - * both.

- *

To describe all the latest or default launch template versions in your account, you - * must omit this parameter.

+ *

The resource discovery association IDs.

*/ - LaunchTemplateId?: string; + IpamResourceDiscoveryAssociationIds?: string[]; /** - *

The name of the launch template.

- *

To describe one or more versions of a specified launch template, you must specify - * either the LaunchTemplateName or the LaunchTemplateId, but not - * both.

- *

To describe all the latest or default launch template versions in your account, you - * must omit this parameter.

+ *

Specify the pagination token from a previous request to retrieve the next page of results.

*/ - LaunchTemplateName?: string; + NextToken?: string; /** - *

One or more versions of the launch template. Valid values depend on whether you are - * describing a specified launch template (by ID or name) or all launch templates in your - * account.

- *

To describe one or more versions of a specified launch template, valid values are - * $Latest, $Default, and numbers.

- *

To describe all launch templates in your account that are defined as the latest - * version, the valid value is $Latest. To describe all launch templates in - * your account that are defined as the default version, the valid value is - * $Default. You can specify $Latest and - * $Default in the same request. You cannot specify numbers.

+ *

The maximum number of resource discovery associations to return in one page of results.

*/ - Versions?: string[]; + MaxResults?: number; /** - *

The version number after which to describe launch template versions.

+ *

The resource discovery association filters.

*/ - MinVersion?: string; + Filters?: Filter[]; +} +export interface DescribeIpamResourceDiscoveryAssociationsResult { /** - *

The version number up to which to describe launch template versions.

+ *

The resource discovery associations.

*/ - MaxVersion?: string; + IpamResourceDiscoveryAssociations?: IpamResourceDiscoveryAssociation[]; /** - *

The token to request the next page of results.

+ *

Specify the pagination token from a previous request to retrieve the next page of results.

*/ NextToken?: string; +} +export interface DescribeIpamsRequest { /** - *

The maximum number of results to return in a single call. To retrieve the remaining - * results, make another call with the returned NextToken value. This value - * can be between 1 and 200.

+ *

A check for whether you have the required permissions for the action without actually making the request + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

+ */ + DryRun?: boolean; + + /** + *

One or more filters for the request. For more information about filtering, see Filtering CLI output.

+ */ + Filters?: Filter[]; + + /** + *

The maximum number of results to return in the request.

*/ MaxResults?: number; /** - *

One or more filters.

- *
    - *
  • - *

    - * create-time - The time the launch template version was - * created.

    - *
  • - *
  • - *

    - * ebs-optimized - A boolean that indicates whether the instance is - * optimized for Amazon EBS I/O.

    - *
  • - *
  • - *

    - * http-endpoint - Indicates whether the HTTP metadata endpoint on - * your instances is enabled (enabled | disabled).

    - *
  • - *
  • - *

    - * http-protocol-ipv4 - Indicates whether the IPv4 endpoint for the - * instance metadata service is enabled (enabled | - * disabled).

    - *
  • - *
  • - *

    - * host-resource-group-arn - The ARN of the host resource group in - * which to launch the instances.

    - *
  • - *
  • - *

    - * http-tokens - The state of token usage for your instance metadata - * requests (optional | required).

    - *
  • - *
  • - *

    - * iam-instance-profile - The ARN of the IAM instance - * profile.

    - *
  • - *
  • - *

    - * image-id - The ID of the AMI.

    - *
  • - *
  • - *

    - * instance-type - The instance type.

    - *
  • - *
  • - *

    - * is-default-version - A boolean that indicates whether the launch - * template version is the default version.

    - *
  • - *
  • - *

    - * kernel-id - The kernel ID.

    - *
  • - *
  • - *

    - * license-configuration-arn - The ARN of the license - * configuration.

    - *
  • - *
  • - *

    - * network-card-index - The index of the network card.

    - *
  • - *
  • - *

    - * ram-disk-id - The RAM disk ID.

    - *
  • - *
+ *

The token for the next page of results.

*/ - Filters?: Filter[]; + NextToken?: string; /** - *

If true, and if a Systems Manager parameter is specified for ImageId, - * the AMI ID is displayed in the response for imageId.

- *

If false, and if a Systems Manager parameter is specified for ImageId, - * the parameter is displayed in the response for imageId.

- *

For more information, see Use a Systems - * Manager parameter instead of an AMI ID in the Amazon Elastic Compute Cloud User Guide.

- *

Default: false - *

+ *

The IDs of the IPAMs you want information on.

*/ - ResolveAlias?: boolean; + IpamIds?: string[]; } -export interface DescribeLaunchTemplateVersionsResult { +export interface DescribeIpamsResult { /** - *

Information about the launch template versions.

+ *

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

*/ - LaunchTemplateVersions?: LaunchTemplateVersion[]; + NextToken?: string; /** - *

The token to use to retrieve the next page of results. This value is null - * when there are no more results to return.

+ *

Information about the IPAMs.

*/ - NextToken?: string; + Ipams?: Ipam[]; } -export interface DescribeLocalGatewayRouteTablesRequest { +export interface DescribeIpamScopesRequest { /** - *

The IDs of the local gateway route tables.

+ *

A check for whether you have the required permissions for the action without actually making the request + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

*/ - LocalGatewayRouteTableIds?: string[]; + DryRun?: boolean; /** - *

One or more filters.

- *
    - *
  • - *

    - * local-gateway-id - The ID of a local gateway.

    - *
  • - *
  • - *

    - * local-gateway-route-table-arn - The Amazon Resource Name (ARN) of the - * local gateway route table.

    - *
  • - *
  • - *

    - * local-gateway-route-table-id - The ID of a local gateway route table.

    - *
  • - *
  • - *

    - * outpost-arn - The Amazon Resource Name (ARN) of the Outpost.

    - *
  • - *
  • - *

    - * owner-id - The ID of the Amazon Web Services account that owns the local gateway route table.

    - *
  • - *
  • - *

    - * state - The state of the local gateway route table.

    - *
  • - *
+ *

One or more filters for the request. For more information about filtering, see Filtering CLI output.

*/ Filters?: Filter[]; /** - *

The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

+ *

The maximum number of results to return in the request.

*/ MaxResults?: number; @@ -1406,92 +1419,104 @@ export interface DescribeLocalGatewayRouteTablesRequest { NextToken?: string; /** - *

Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

+ *

The IDs of the scopes you want information on.

*/ - DryRun?: boolean; + IpamScopeIds?: string[]; } -export interface DescribeLocalGatewayRouteTablesResult { +export interface DescribeIpamScopesResult { /** - *

Information about the local gateway route tables.

+ *

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

*/ - LocalGatewayRouteTables?: LocalGatewayRouteTable[]; + NextToken?: string; /** - *

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

+ *

The scopes you want information on.

*/ - NextToken?: string; + IpamScopes?: IpamScope[]; } -export interface DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsRequest { +export interface DescribeIpv6PoolsRequest { /** - *

The IDs of the associations.

+ *

The IDs of the IPv6 address pools.

*/ - LocalGatewayRouteTableVirtualInterfaceGroupAssociationIds?: string[]; + PoolIds?: string[]; + + /** + *

The token for the next page of results.

+ */ + NextToken?: string; + + /** + *

The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

+ */ + MaxResults?: number; + + /** + *

Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

+ */ + DryRun?: boolean; /** *

One or more filters.

*
    *
  • *

    - * local-gateway-id - The ID of a local gateway.

    - *
  • - *
  • - *

    - * local-gateway-route-table-arn - The Amazon Resource Name (ARN) of the local - * gateway route table for the virtual interface group.

    - *
  • - *
  • - *

    - * local-gateway-route-table-id - The ID of the local gateway route table.

    - *
  • - *
  • - *

    - * local-gateway-route-table-virtual-interface-group-association-id - The ID of the association.

    - *
  • - *
  • - *

    - * local-gateway-route-table-virtual-interface-group-id - The ID of the virtual interface group.

    - *
  • - *
  • - *

    - * owner-id - The ID of the Amazon Web Services account that owns the local gateway virtual - * interface group association.

    + * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. + * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

    *
  • *
  • *

    - * state - The state of the association.

    + * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

    *
  • *
*/ Filters?: Filter[]; +} + +/** + *

Describes a CIDR block for an address pool.

+ */ +export interface PoolCidrBlock { + /** + *

The CIDR block.

+ */ + Cidr?: string; +} +/** + *

Describes an IPv6 address pool.

+ */ +export interface Ipv6Pool { /** - *

The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

+ *

The ID of the address pool.

*/ - MaxResults?: number; + PoolId?: string; /** - *

The token for the next page of results.

+ *

The description for the address pool.

*/ - NextToken?: string; + Description?: string; /** - *

Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

+ *

The CIDR blocks for the address pool.

*/ - DryRun?: boolean; + PoolCidrBlocks?: PoolCidrBlock[]; + + /** + *

Any tags for the address pool.

+ */ + Tags?: Tag[]; } -export interface DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsResult { +export interface DescribeIpv6PoolsResult { /** - *

Information about the associations.

+ *

Information about the IPv6 address pools.

*/ - LocalGatewayRouteTableVirtualInterfaceGroupAssociations?: LocalGatewayRouteTableVirtualInterfaceGroupAssociation[]; + Ipv6Pools?: Ipv6Pool[]; /** *

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

@@ -1499,59 +1524,45 @@ export interface DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations NextToken?: string; } -export interface DescribeLocalGatewayRouteTableVpcAssociationsRequest { - /** - *

The IDs of the associations.

- */ - LocalGatewayRouteTableVpcAssociationIds?: string[]; - +export interface DescribeKeyPairsRequest { /** - *

One or more filters.

+ *

The filters.

*
    *
  • *

    - * local-gateway-id - The ID of a local gateway.

    - *
  • - *
  • - *

    - * local-gateway-route-table-arn - The Amazon Resource Name (ARN) of the local - * gateway route table for the association.

    + * key-pair-id - The ID of the key pair.

    *
  • *
  • *

    - * local-gateway-route-table-id - The ID of the local gateway route table.

    + * fingerprint - The fingerprint of the key pair.

    *
  • *
  • *

    - * local-gateway-route-table-vpc-association-id - The ID of the association.

    + * key-name - The name of the key pair.

    *
  • *
  • *

    - * owner-id - The ID of the Amazon Web Services account that owns the local gateway route table - * for the association.

    + * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

    *
  • *
  • *

    - * state - The state of the association.

    - *
  • - *
  • - *

    - * vpc-id - The ID of the VPC.

    + * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. + * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

    *
  • *
*/ Filters?: Filter[]; /** - *

The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

+ *

The key pair names.

+ *

Default: Describes all of your key pairs.

*/ - MaxResults?: number; + KeyNames?: string[]; /** - *

The token for the next page of results.

+ *

The IDs of the key pairs.

*/ - NextToken?: string; + KeyPairIds?: string[]; /** *

Checks whether you have the required permissions for the action, without actually making the request, @@ -1559,349 +1570,352 @@ export interface DescribeLocalGatewayRouteTableVpcAssociationsRequest { * Otherwise, it is UnauthorizedOperation.

*/ DryRun?: boolean; -} - -export interface DescribeLocalGatewayRouteTableVpcAssociationsResult { - /** - *

Information about the associations.

- */ - LocalGatewayRouteTableVpcAssociations?: LocalGatewayRouteTableVpcAssociation[]; /** - *

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

+ *

If true, the public key material is included in the response.

+ *

Default: false + *

*/ - NextToken?: string; + IncludePublicKey?: boolean; } -export interface DescribeLocalGatewaysRequest { +/** + *

Describes a key pair.

+ */ +export interface KeyPairInfo { /** - *

The IDs of the local gateways.

+ *

The ID of the key pair.

*/ - LocalGatewayIds?: string[]; + KeyPairId?: string; /** - *

One or more filters.

+ *

If you used CreateKeyPair to create the key pair:

*
    *
  • - *

    - * local-gateway-id - The ID of a local gateway.

    + *

    For RSA key pairs, the key fingerprint is the SHA-1 digest of the DER encoded private key.

    *
  • *
  • - *

    - * outpost-arn - The Amazon Resource Name (ARN) of the Outpost.

    + *

    For ED25519 key pairs, the key fingerprint is the base64-encoded SHA-256 digest, which + * is the default for OpenSSH, starting with OpenSSH 6.8.

    *
  • + *
+ *

If you used ImportKeyPair to provide Amazon Web Services the public key:

+ *
    *
  • - *

    - * owner-id - The ID of the Amazon Web Services account that owns the local gateway.

    + *

    For RSA key pairs, the key fingerprint is the MD5 public key fingerprint as specified in section 4 of RFC4716.

    *
  • *
  • - *

    - * state - The state of the association.

    + *

    For ED25519 key pairs, the key fingerprint is the base64-encoded SHA-256 + * digest, which is the default for OpenSSH, starting with OpenSSH 6.8.

    *
  • *
*/ - Filters?: Filter[]; - - /** - *

The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

- */ - MaxResults?: number; - - /** - *

The token for the next page of results.

- */ - NextToken?: string; + KeyFingerprint?: string; /** - *

Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

+ *

The name of the key pair.

*/ - DryRun?: boolean; -} + KeyName?: string; -/** - *

Describes a local gateway.

- */ -export interface LocalGateway { /** - *

The ID of the local gateway.

+ *

The type of key pair.

*/ - LocalGatewayId?: string; + KeyType?: KeyType | string; /** - *

The Amazon Resource Name (ARN) of the Outpost.

+ *

Any tags applied to the key pair.

*/ - OutpostArn?: string; + Tags?: Tag[]; /** - *

The ID of the Amazon Web Services account that owns the local gateway.

+ *

The public key material.

*/ - OwnerId?: string; + PublicKey?: string; /** - *

The state of the local gateway.

+ *

If you used Amazon EC2 to create the key pair, this is the date and time when the key + * was created, in ISO + * 8601 date-time format, in the UTC time zone.

+ *

If you imported an existing key pair to Amazon EC2, this is the date and time the key + * was imported, in ISO + * 8601 date-time format, in the UTC time zone.

*/ - State?: string; + CreateTime?: Date; +} +export interface DescribeKeyPairsResult { /** - *

The tags assigned to the local gateway.

+ *

Information about the key pairs.

*/ - Tags?: Tag[]; + KeyPairs?: KeyPairInfo[]; } -export interface DescribeLocalGatewaysResult { +export interface DescribeLaunchTemplatesRequest { /** - *

Information about the local gateways.

+ *

Checks whether you have the required permissions for the action, without actually + * making the request, and provides an error response. If you have the required + * permissions, the error response is DryRunOperation. Otherwise, it is + * UnauthorizedOperation.

*/ - LocalGateways?: LocalGateway[]; + DryRun?: boolean; /** - *

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

+ *

One or more launch template IDs.

*/ - NextToken?: string; -} + LaunchTemplateIds?: string[]; -export interface DescribeLocalGatewayVirtualInterfaceGroupsRequest { /** - *

The IDs of the virtual interface groups.

+ *

One or more launch template names.

*/ - LocalGatewayVirtualInterfaceGroupIds?: string[]; + LaunchTemplateNames?: string[]; /** *

One or more filters.

*
    *
  • *

    - * local-gateway-id - The ID of a local gateway.

    + * create-time - The time the launch template was created.

    *
  • *
  • *

    - * local-gateway-virtual-interface-group-id - The ID of the virtual interface group.

    + * launch-template-name - The name of the launch template.

    *
  • *
  • *

    - * local-gateway-virtual-interface-id - The ID of the virtual interface.

    + * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. + * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

    *
  • *
  • *

    - * owner-id - The ID of the Amazon Web Services account that owns the local gateway virtual interface group.

    + * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

    *
  • *
*/ Filters?: Filter[]; /** - *

The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

+ *

The token to request the next page of results.

+ */ + NextToken?: string; + + /** + *

The maximum number of results to return in a single call. To retrieve the remaining + * results, make another call with the returned NextToken value. This value + * can be between 1 and 200.

*/ MaxResults?: number; +} +export interface DescribeLaunchTemplatesResult { /** - *

The token for the next page of results.

+ *

Information about the launch templates.

*/ - NextToken?: string; + LaunchTemplates?: LaunchTemplate[]; /** - *

Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

+ *

The token to use to retrieve the next page of results. This value is null + * when there are no more results to return.

*/ - DryRun?: boolean; + NextToken?: string; } -/** - *

Describes a local gateway virtual interface group.

- */ -export interface LocalGatewayVirtualInterfaceGroup { +export interface DescribeLaunchTemplateVersionsRequest { /** - *

The ID of the virtual interface group.

+ *

Checks whether you have the required permissions for the action, without actually + * making the request, and provides an error response. If you have the required + * permissions, the error response is DryRunOperation. Otherwise, it is + * UnauthorizedOperation.

*/ - LocalGatewayVirtualInterfaceGroupId?: string; + DryRun?: boolean; /** - *

The IDs of the virtual interfaces.

+ *

The ID of the launch template.

+ *

To describe one or more versions of a specified launch template, you must specify + * either the LaunchTemplateId or the LaunchTemplateName, but not + * both.

+ *

To describe all the latest or default launch template versions in your account, you + * must omit this parameter.

*/ - LocalGatewayVirtualInterfaceIds?: string[]; + LaunchTemplateId?: string; /** - *

The ID of the local gateway.

+ *

The name of the launch template.

+ *

To describe one or more versions of a specified launch template, you must specify + * either the LaunchTemplateName or the LaunchTemplateId, but not + * both.

+ *

To describe all the latest or default launch template versions in your account, you + * must omit this parameter.

*/ - LocalGatewayId?: string; + LaunchTemplateName?: string; /** - *

The ID of the Amazon Web Services account that owns the local gateway virtual interface group.

+ *

One or more versions of the launch template. Valid values depend on whether you are + * describing a specified launch template (by ID or name) or all launch templates in your + * account.

+ *

To describe one or more versions of a specified launch template, valid values are + * $Latest, $Default, and numbers.

+ *

To describe all launch templates in your account that are defined as the latest + * version, the valid value is $Latest. To describe all launch templates in + * your account that are defined as the default version, the valid value is + * $Default. You can specify $Latest and + * $Default in the same request. You cannot specify numbers.

*/ - OwnerId?: string; + Versions?: string[]; /** - *

The tags assigned to the virtual interface group.

+ *

The version number after which to describe launch template versions.

*/ - Tags?: Tag[]; -} + MinVersion?: string; -export interface DescribeLocalGatewayVirtualInterfaceGroupsResult { /** - *

The virtual interface groups.

+ *

The version number up to which to describe launch template versions.

*/ - LocalGatewayVirtualInterfaceGroups?: LocalGatewayVirtualInterfaceGroup[]; + MaxVersion?: string; /** - *

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

+ *

The token to request the next page of results.

*/ NextToken?: string; -} -export interface DescribeLocalGatewayVirtualInterfacesRequest { /** - *

The IDs of the virtual interfaces.

+ *

The maximum number of results to return in a single call. To retrieve the remaining + * results, make another call with the returned NextToken value. This value + * can be between 1 and 200.

*/ - LocalGatewayVirtualInterfaceIds?: string[]; + MaxResults?: number; /** *

One or more filters.

*
    *
  • *

    - * local-address - The local address.

    + * create-time - The time the launch template version was + * created.

    *
  • *
  • *

    - * local-bgp-asn - The Border Gateway Protocol (BGP) Autonomous System Number (ASN) - * of the local gateway.

    + * ebs-optimized - A boolean that indicates whether the instance is + * optimized for Amazon EBS I/O.

    *
  • *
  • *

    - * local-gateway-id - The ID of the local gateway.

    + * http-endpoint - Indicates whether the HTTP metadata endpoint on + * your instances is enabled (enabled | disabled).

    *
  • *
  • *

    - * local-gateway-virtual-interface-id - The ID of the virtual interface.

    + * http-protocol-ipv4 - Indicates whether the IPv4 endpoint for the + * instance metadata service is enabled (enabled | + * disabled).

    *
  • *
  • *

    - * owner-id - The ID of the Amazon Web Services account that owns the local gateway virtual interface.

    + * host-resource-group-arn - The ARN of the host resource group in + * which to launch the instances.

    *
  • *
  • *

    - * peer-address - The peer address.

    + * http-tokens - The state of token usage for your instance metadata + * requests (optional | required).

    *
  • *
  • *

    - * peer-bgp-asn - The peer BGP ASN.

    + * iam-instance-profile - The ARN of the IAM instance + * profile.

    *
  • *
  • *

    - * vlan - The ID of the VLAN.

    + * image-id - The ID of the AMI.

    *
  • - *
- */ - Filters?: Filter[]; - - /** - *

The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

- */ - MaxResults?: number; - - /** - *

The token for the next page of results.

- */ - NextToken?: string; - - /** - *

Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

- */ - DryRun?: boolean; -} - -/** - *

Describes a local gateway virtual interface.

- */ -export interface LocalGatewayVirtualInterface { - /** - *

The ID of the virtual interface.

- */ - LocalGatewayVirtualInterfaceId?: string; - - /** - *

The ID of the local gateway.

- */ - LocalGatewayId?: string; - - /** - *

The ID of the VLAN.

- */ - Vlan?: number; - - /** - *

The local address.

- */ - LocalAddress?: string; - - /** - *

The peer address.

- */ - PeerAddress?: string; - - /** - *

The Border Gateway Protocol (BGP) Autonomous System Number (ASN) of the local gateway.

- */ - LocalBgpAsn?: number; - - /** - *

The peer BGP ASN.

- */ - PeerBgpAsn?: number; - - /** - *

The ID of the Amazon Web Services account that owns the local gateway virtual interface.

+ *
  • + *

    + * instance-type - The instance type.

    + *
  • + *
  • + *

    + * is-default-version - A boolean that indicates whether the launch + * template version is the default version.

    + *
  • + *
  • + *

    + * kernel-id - The kernel ID.

    + *
  • + *
  • + *

    + * license-configuration-arn - The ARN of the license + * configuration.

    + *
  • + *
  • + *

    + * network-card-index - The index of the network card.

    + *
  • + *
  • + *

    + * ram-disk-id - The RAM disk ID.

    + *
  • + * */ - OwnerId?: string; + Filters?: Filter[]; /** - *

    The tags assigned to the virtual interface.

    + *

    If true, and if a Systems Manager parameter is specified for ImageId, + * the AMI ID is displayed in the response for imageId.

    + *

    If false, and if a Systems Manager parameter is specified for ImageId, + * the parameter is displayed in the response for imageId.

    + *

    For more information, see Use a Systems + * Manager parameter instead of an AMI ID in the Amazon Elastic Compute Cloud User Guide.

    + *

    Default: false + *

    */ - Tags?: Tag[]; + ResolveAlias?: boolean; } -export interface DescribeLocalGatewayVirtualInterfacesResult { +export interface DescribeLaunchTemplateVersionsResult { /** - *

    Information about the virtual interfaces.

    + *

    Information about the launch template versions.

    */ - LocalGatewayVirtualInterfaces?: LocalGatewayVirtualInterface[]; + LaunchTemplateVersions?: LaunchTemplateVersion[]; /** - *

    The token to use to retrieve the next page of results. This value is null when there are no more results to return.

    + *

    The token to use to retrieve the next page of results. This value is null + * when there are no more results to return.

    */ NextToken?: string; } -export interface DescribeManagedPrefixListsRequest { +export interface DescribeLocalGatewayRouteTablesRequest { /** - *

    Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

    + *

    The IDs of the local gateway route tables.

    */ - DryRun?: boolean; + LocalGatewayRouteTableIds?: string[]; /** *

    One or more filters.

    *
      *
    • *

      - * owner-id - The ID of the prefix list owner.

      + * local-gateway-id - The ID of a local gateway.

      *
    • *
    • *

      - * prefix-list-id - The ID of the prefix list.

      + * local-gateway-route-table-arn - The Amazon Resource Name (ARN) of the + * local gateway route table.

      *
    • *
    • *

      - * prefix-list-name - The name of the prefix list.

      + * local-gateway-route-table-id - The ID of a local gateway route table.

      + *
    • + *
    • + *

      + * outpost-arn - The Amazon Resource Name (ARN) of the Outpost.

      + *
    • + *
    • + *

      + * owner-id - The ID of the Amazon Web Services account that owns the local gateway route table.

      + *
    • + *
    • + *

      + * state - The state of the local gateway route table.

      *
    • *
    */ @@ -1919,49 +1933,71 @@ export interface DescribeManagedPrefixListsRequest { NextToken?: string; /** - *

    One or more prefix list IDs.

    + *

    Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

    */ - PrefixListIds?: string[]; + DryRun?: boolean; } -export interface DescribeManagedPrefixListsResult { +export interface DescribeLocalGatewayRouteTablesResult { + /** + *

    Information about the local gateway route tables.

    + */ + LocalGatewayRouteTables?: LocalGatewayRouteTable[]; + /** *

    The token to use to retrieve the next page of results. This value is null when there are no more results to return.

    */ NextToken?: string; +} +export interface DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsRequest { /** - *

    Information about the prefix lists.

    + *

    The IDs of the associations.

    */ - PrefixLists?: ManagedPrefixList[]; -} + LocalGatewayRouteTableVirtualInterfaceGroupAssociationIds?: string[]; -export interface DescribeMovingAddressesRequest { /** *

    One or more filters.

    *
      *
    • *

      - * moving-status - The status of the Elastic IP address - * (MovingToVpc | RestoringToClassic).

      + * local-gateway-id - The ID of a local gateway.

      + *
    • + *
    • + *

      + * local-gateway-route-table-arn - The Amazon Resource Name (ARN) of the local + * gateway route table for the virtual interface group.

      + *
    • + *
    • + *

      + * local-gateway-route-table-id - The ID of the local gateway route table.

      + *
    • + *
    • + *

      + * local-gateway-route-table-virtual-interface-group-association-id - The ID of the association.

      + *
    • + *
    • + *

      + * local-gateway-route-table-virtual-interface-group-id - The ID of the virtual interface group.

      + *
    • + *
    • + *

      + * owner-id - The ID of the Amazon Web Services account that owns the local gateway virtual + * interface group association.

      + *
    • + *
    • + *

      + * state - The state of the association.

      *
    • *
    */ Filters?: Filter[]; /** - *

    Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

    - */ - DryRun?: boolean; - - /** - *

    The maximum number of results to return for the request in a single page. The remaining - * results of the initial request can be seen by sending another request with the returned - * NextToken value. This value can be between 5 and 1000; if - * MaxResults is given a value outside of this range, an error is returned.

    - *

    Default: If no value is provided, the default is 1000.

    + *

    The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

    */ MaxResults?: number; @@ -1971,39 +2007,18 @@ export interface DescribeMovingAddressesRequest { NextToken?: string; /** - *

    One or more Elastic IP addresses.

    - */ - PublicIps?: string[]; -} - -export enum MoveStatus { - movingToVpc = "movingToVpc", - restoringToClassic = "restoringToClassic", -} - -/** - *

    Describes the status of a moving Elastic IP address.

    - * - *

    We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see Migrate from EC2-Classic to a VPC in the Amazon Elastic Compute Cloud User Guide.

    - *
    - */ -export interface MovingAddressStatus { - /** - *

    The status of the Elastic IP address that's being moved to the EC2-VPC platform, or restored to the EC2-Classic platform.

    - */ - MoveStatus?: MoveStatus | string; - - /** - *

    The Elastic IP address.

    + *

    Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

    */ - PublicIp?: string; + DryRun?: boolean; } -export interface DescribeMovingAddressesResult { +export interface DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsResult { /** - *

    The status for each Elastic IP address.

    + *

    Information about the associations.

    */ - MovingAddressStatuses?: MovingAddressStatus[]; + LocalGatewayRouteTableVirtualInterfaceGroupAssociations?: LocalGatewayRouteTableVirtualInterfaceGroupAssociation[]; /** *

    The token to use to retrieve the next page of results. This value is null when there are no more results to return.

    @@ -2011,46 +2026,48 @@ export interface DescribeMovingAddressesResult { NextToken?: string; } -export interface DescribeNatGatewaysRequest { +export interface DescribeLocalGatewayRouteTableVpcAssociationsRequest { /** - *

    Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

    + *

    The IDs of the associations.

    */ - DryRun?: boolean; + LocalGatewayRouteTableVpcAssociationIds?: string[]; /** *

    One or more filters.

    *
      *
    • *

      - * nat-gateway-id - The ID of the NAT gateway.

      + * local-gateway-id - The ID of a local gateway.

      *
    • *
    • *

      - * state - The state of the NAT gateway (pending | - * failed | available | deleting | deleted).

      + * local-gateway-route-table-arn - The Amazon Resource Name (ARN) of the local + * gateway route table for the association.

      *
    • *
    • *

      - * subnet-id - The ID of the subnet in which the NAT gateway resides.

      + * local-gateway-route-table-id - The ID of the local gateway route table.

      *
    • *
    • *

      - * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. - * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

      + * local-gateway-route-table-vpc-association-id - The ID of the association.

      *
    • *
    • *

      - * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

      + * owner-id - The ID of the Amazon Web Services account that owns the local gateway route table + * for the association.

      *
    • *
    • *

      - * vpc-id - The ID of the VPC in which the NAT gateway resides.

      + * state - The state of the association.

      + *
    • + *
    • + *

      + * vpc-id - The ID of the VPC.

      *
    • *
    */ - Filter?: Filter[]; + Filters?: Filter[]; /** *

    The maximum number of results to return with a single call. @@ -2059,21 +2076,23 @@ export interface DescribeNatGatewaysRequest { MaxResults?: number; /** - *

    One or more NAT gateway IDs.

    + *

    The token for the next page of results.

    */ - NatGatewayIds?: string[]; + NextToken?: string; /** - *

    The token for the next page of results.

    + *

    Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

    */ - NextToken?: string; + DryRun?: boolean; } -export interface DescribeNatGatewaysResult { +export interface DescribeLocalGatewayRouteTableVpcAssociationsResult { /** - *

    Information about the NAT gateways.

    + *

    Information about the associations.

    */ - NatGateways?: NatGateway[]; + LocalGatewayRouteTableVpcAssociations?: LocalGatewayRouteTableVpcAssociation[]; /** *

    The token to use to retrieve the next page of results. This value is null when there are no more results to return.

    @@ -2081,444 +2100,437 @@ export interface DescribeNatGatewaysResult { NextToken?: string; } -export interface DescribeNetworkAclsRequest { +export interface DescribeLocalGatewaysRequest { + /** + *

    The IDs of the local gateways.

    + */ + LocalGatewayIds?: string[]; + /** *

    One or more filters.

    *
      *
    • *

      - * association.association-id - The ID of an association ID for the ACL.

      - *
    • - *
    • - *

      - * association.network-acl-id - The ID of the network ACL involved in the association.

      - *
    • - *
    • - *

      - * association.subnet-id - The ID of the subnet involved in the association.

      - *
    • - *
    • - *

      - * default - Indicates whether the ACL is the default network ACL for the VPC.

      - *
    • - *
    • - *

      - * entry.cidr - The IPv4 CIDR range specified in the entry.

      - *
    • - *
    • - *

      - * entry.icmp.code - The ICMP code specified in the entry, if any.

      - *
    • - *
    • - *

      - * entry.icmp.type - The ICMP type specified in the entry, if any.

      - *
    • - *
    • - *

      - * entry.ipv6-cidr - The IPv6 CIDR range specified in the entry.

      - *
    • - *
    • - *

      - * entry.port-range.from - The start of the port range specified in the entry.

      - *
    • - *
    • - *

      - * entry.port-range.to - The end of the port range specified in the entry.

      - *
    • - *
    • - *

      - * entry.protocol - The protocol specified in the entry (tcp | udp | icmp or a protocol number).

      - *
    • - *
    • - *

      - * entry.rule-action - Allows or denies the matching traffic (allow | deny).

      - *
    • - *
    • - *

      - * entry.egress - A Boolean that indicates the type of rule. Specify true - * for egress rules, or false for ingress rules.

      - *
    • - *
    • - *

      - * entry.rule-number - The number of an entry (in other words, rule) in - * the set of ACL entries.

      - *
    • - *
    • - *

      - * network-acl-id - The ID of the network ACL.

      - *
    • - *
    • - *

      - * owner-id - The ID of the Amazon Web Services account that owns the network ACL.

      + * local-gateway-id - The ID of a local gateway.

      *
    • *
    • *

      - * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. - * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

      + * outpost-arn - The Amazon Resource Name (ARN) of the Outpost.

      *
    • *
    • *

      - * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

      + * owner-id - The ID of the Amazon Web Services account that owns the local gateway.

      *
    • *
    • *

      - * vpc-id - The ID of the VPC for the network ACL.

      + * state - The state of the association.

      *
    • *
    */ Filters?: Filter[]; + /** + *

    The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

    + */ + MaxResults?: number; + + /** + *

    The token for the next page of results.

    + */ + NextToken?: string; + /** *

    Checks whether you have the required permissions for the action, without actually making the request, * and provides an error response. If you have the required permissions, the error response is DryRunOperation. * Otherwise, it is UnauthorizedOperation.

    */ DryRun?: boolean; +} +/** + *

    Describes a local gateway.

    + */ +export interface LocalGateway { /** - *

    One or more network ACL IDs.

    - *

    Default: Describes all your network ACLs.

    + *

    The ID of the local gateway.

    */ - NetworkAclIds?: string[]; + LocalGatewayId?: string; /** - *

    The token for the next page of results.

    + *

    The Amazon Resource Name (ARN) of the Outpost.

    */ - NextToken?: string; + OutpostArn?: string; /** - *

    The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

    + *

    The ID of the Amazon Web Services account that owns the local gateway.

    */ - MaxResults?: number; -} + OwnerId?: string; -export interface DescribeNetworkAclsResult { /** - *

    Information about one or more network ACLs.

    + *

    The state of the local gateway.

    */ - NetworkAcls?: NetworkAcl[]; + State?: string; /** - *

    The token to use to retrieve the next page of results. This value is null when there are no more results to return.

    + *

    The tags assigned to the local gateway.

    */ - NextToken?: string; + Tags?: Tag[]; } -export interface DescribeNetworkInsightsAccessScopeAnalysesRequest { - /** - *

    The IDs of the Network Access Scope analyses.

    - */ - NetworkInsightsAccessScopeAnalysisIds?: string[]; - +export interface DescribeLocalGatewaysResult { /** - *

    The ID of the Network Access Scope.

    + *

    Information about the local gateways.

    */ - NetworkInsightsAccessScopeId?: string; + LocalGateways?: LocalGateway[]; /** - *

    Filters the results based on the start time. The analysis must have started on or after this time.

    + *

    The token to use to retrieve the next page of results. This value is null when there are no more results to return.

    */ - AnalysisStartTimeBegin?: Date; + NextToken?: string; +} +export interface DescribeLocalGatewayVirtualInterfaceGroupsRequest { /** - *

    Filters the results based on the start time. The analysis must have started on or before this time.

    + *

    The IDs of the virtual interface groups.

    */ - AnalysisStartTimeEnd?: Date; + LocalGatewayVirtualInterfaceGroupIds?: string[]; /** - *

    There are no supported filters.

    + *

    One or more filters.

    + *
      + *
    • + *

      + * local-gateway-id - The ID of a local gateway.

      + *
    • + *
    • + *

      + * local-gateway-virtual-interface-group-id - The ID of the virtual interface group.

      + *
    • + *
    • + *

      + * local-gateway-virtual-interface-id - The ID of the virtual interface.

      + *
    • + *
    • + *

      + * owner-id - The ID of the Amazon Web Services account that owns the local gateway virtual interface group.

      + *
    • + *
    */ Filters?: Filter[]; /** *

    The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

    + * To retrieve the remaining results, make another call with the returned nextToken value.

    */ MaxResults?: number; + /** + *

    The token for the next page of results.

    + */ + NextToken?: string; + /** *

    Checks whether you have the required permissions for the action, without actually making the request, * and provides an error response. If you have the required permissions, the error response is DryRunOperation. * Otherwise, it is UnauthorizedOperation.

    */ DryRun?: boolean; - - /** - *

    The token for the next page of results.

    - */ - NextToken?: string; -} - -export enum FindingsFound { - false = "false", - true = "true", - unknown = "unknown", -} - -export enum AnalysisStatus { - failed = "failed", - running = "running", - succeeded = "succeeded", } /** - *

    Describes a Network Access Scope analysis.

    + *

    Describes a local gateway virtual interface group.

    */ -export interface NetworkInsightsAccessScopeAnalysis { - /** - *

    The ID of the Network Access Scope analysis.

    - */ - NetworkInsightsAccessScopeAnalysisId?: string; - - /** - *

    The Amazon Resource Name (ARN) of the Network Access Scope analysis.

    - */ - NetworkInsightsAccessScopeAnalysisArn?: string; - +export interface LocalGatewayVirtualInterfaceGroup { /** - *

    The ID of the Network Access Scope.

    + *

    The ID of the virtual interface group.

    */ - NetworkInsightsAccessScopeId?: string; + LocalGatewayVirtualInterfaceGroupId?: string; /** - *

    The status.

    + *

    The IDs of the virtual interfaces.

    */ - Status?: AnalysisStatus | string; + LocalGatewayVirtualInterfaceIds?: string[]; /** - *

    The status message.

    + *

    The ID of the local gateway.

    */ - StatusMessage?: string; + LocalGatewayId?: string; /** - *

    The warning message.

    + *

    The ID of the Amazon Web Services account that owns the local gateway virtual interface group.

    */ - WarningMessage?: string; + OwnerId?: string; /** - *

    The analysis start date.

    + *

    The tags assigned to the virtual interface group.

    */ - StartDate?: Date; + Tags?: Tag[]; +} +export interface DescribeLocalGatewayVirtualInterfaceGroupsResult { /** - *

    The analysis end date.

    + *

    The virtual interface groups.

    */ - EndDate?: Date; + LocalGatewayVirtualInterfaceGroups?: LocalGatewayVirtualInterfaceGroup[]; /** - *

    Indicates whether there are findings.

    + *

    The token to use to retrieve the next page of results. This value is null when there are no more results to return.

    */ - FindingsFound?: FindingsFound | string; + NextToken?: string; +} +export interface DescribeLocalGatewayVirtualInterfacesRequest { /** - *

    The number of network interfaces analyzed.

    + *

    The IDs of the virtual interfaces.

    */ - AnalyzedEniCount?: number; + LocalGatewayVirtualInterfaceIds?: string[]; /** - *

    The tags.

    - */ - Tags?: Tag[]; -} - -export interface DescribeNetworkInsightsAccessScopeAnalysesResult { - /** - *

    The Network Access Scope analyses.

    - */ - NetworkInsightsAccessScopeAnalyses?: NetworkInsightsAccessScopeAnalysis[]; - - /** - *

    The token to use to retrieve the next page of results. This value is null when there are no more results to return.

    - */ - NextToken?: string; -} - -export interface DescribeNetworkInsightsAccessScopesRequest { - /** - *

    The IDs of the Network Access Scopes.

    - */ - NetworkInsightsAccessScopeIds?: string[]; - - /** - *

    There are no supported filters.

    + *

    One or more filters.

    + *
      + *
    • + *

      + * local-address - The local address.

      + *
    • + *
    • + *

      + * local-bgp-asn - The Border Gateway Protocol (BGP) Autonomous System Number (ASN) + * of the local gateway.

      + *
    • + *
    • + *

      + * local-gateway-id - The ID of the local gateway.

      + *
    • + *
    • + *

      + * local-gateway-virtual-interface-id - The ID of the virtual interface.

      + *
    • + *
    • + *

      + * owner-id - The ID of the Amazon Web Services account that owns the local gateway virtual interface.

      + *
    • + *
    • + *

      + * peer-address - The peer address.

      + *
    • + *
    • + *

      + * peer-bgp-asn - The peer BGP ASN.

      + *
    • + *
    • + *

      + * vlan - The ID of the VLAN.

      + *
    • + *
    */ Filters?: Filter[]; /** *

    The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

    + * To retrieve the remaining results, make another call with the returned nextToken value.

    */ MaxResults?: number; + /** + *

    The token for the next page of results.

    + */ + NextToken?: string; + /** *

    Checks whether you have the required permissions for the action, without actually making the request, * and provides an error response. If you have the required permissions, the error response is DryRunOperation. * Otherwise, it is UnauthorizedOperation.

    */ DryRun?: boolean; +} +/** + *

    Describes a local gateway virtual interface.

    + */ +export interface LocalGatewayVirtualInterface { /** - *

    The token for the next page of results.

    + *

    The ID of the virtual interface.

    */ - NextToken?: string; -} + LocalGatewayVirtualInterfaceId?: string; -export interface DescribeNetworkInsightsAccessScopesResult { /** - *

    The Network Access Scopes.

    + *

    The ID of the local gateway.

    */ - NetworkInsightsAccessScopes?: NetworkInsightsAccessScope[]; + LocalGatewayId?: string; /** - *

    The token to use to retrieve the next page of results. This value is null when there are no more results to return.

    + *

    The ID of the VLAN.

    */ - NextToken?: string; -} + Vlan?: number; -export interface DescribeNetworkInsightsAnalysesRequest { /** - *

    The ID of the network insights analyses. You must specify either analysis IDs or a path ID.

    + *

    The local address.

    */ - NetworkInsightsAnalysisIds?: string[]; + LocalAddress?: string; /** - *

    The ID of the path. You must specify either a path ID or analysis IDs.

    + *

    The peer address.

    */ - NetworkInsightsPathId?: string; + PeerAddress?: string; /** - *

    The time when the network insights analyses started.

    + *

    The Border Gateway Protocol (BGP) Autonomous System Number (ASN) of the local gateway.

    */ - AnalysisStartTime?: Date; + LocalBgpAsn?: number; /** - *

    The time when the network insights analyses ended.

    + *

    The peer BGP ASN.

    */ - AnalysisEndTime?: Date; + PeerBgpAsn?: number; /** - *

    The filters. The following are the possible values:

    - *
      - *
    • - *

      path-found - A Boolean value that indicates whether a feasible path is found.

      - *
    • - *
    • - *

      status - The status of the analysis (running | succeeded | failed).

      - *
    • - *
    + *

    The ID of the Amazon Web Services account that owns the local gateway virtual interface.

    */ - Filters?: Filter[]; + OwnerId?: string; /** - *

    The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

    + *

    The tags assigned to the virtual interface.

    */ - MaxResults?: number; + Tags?: Tag[]; +} +export interface DescribeLocalGatewayVirtualInterfacesResult { /** - *

    Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

    + *

    Information about the virtual interfaces.

    */ - DryRun?: boolean; + LocalGatewayVirtualInterfaces?: LocalGatewayVirtualInterface[]; /** - *

    The token for the next page of results.

    + *

    The token to use to retrieve the next page of results. This value is null when there are no more results to return.

    */ NextToken?: string; } -/** - *

    Describes a network insights analysis.

    - */ -export interface NetworkInsightsAnalysis { - /** - *

    The ID of the network insights analysis.

    - */ - NetworkInsightsAnalysisId?: string; - +export interface DescribeManagedPrefixListsRequest { /** - *

    The Amazon Resource Name (ARN) of the network insights analysis.

    + *

    Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

    */ - NetworkInsightsAnalysisArn?: string; + DryRun?: boolean; /** - *

    The ID of the path.

    + *

    One or more filters.

    + *
      + *
    • + *

      + * owner-id - The ID of the prefix list owner.

      + *
    • + *
    • + *

      + * prefix-list-id - The ID of the prefix list.

      + *
    • + *
    • + *

      + * prefix-list-name - The name of the prefix list.

      + *
    • + *
    */ - NetworkInsightsPathId?: string; + Filters?: Filter[]; /** - *

    The member accounts that contain resources that the path can traverse.

    + *

    The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

    */ - AdditionalAccounts?: string[]; + MaxResults?: number; /** - *

    The Amazon Resource Names (ARN) of the Amazon Web Services resources that the path must traverse.

    + *

    The token for the next page of results.

    */ - FilterInArns?: string[]; + NextToken?: string; /** - *

    The time the analysis started.

    + *

    One or more prefix list IDs.

    */ - StartDate?: Date; + PrefixListIds?: string[]; +} +export interface DescribeManagedPrefixListsResult { /** - *

    The status of the network insights analysis.

    + *

    The token to use to retrieve the next page of results. This value is null when there are no more results to return.

    */ - Status?: AnalysisStatus | string; + NextToken?: string; /** - *

    The status message, if the status is failed.

    + *

    Information about the prefix lists.

    */ - StatusMessage?: string; + PrefixLists?: ManagedPrefixList[]; +} +export interface DescribeMovingAddressesRequest { /** - *

    The warning message.

    + *

    One or more filters.

    + *
      + *
    • + *

      + * moving-status - The status of the Elastic IP address + * (MovingToVpc | RestoringToClassic).

      + *
    • + *
    */ - WarningMessage?: string; + Filters?: Filter[]; /** - *

    Indicates whether the destination is reachable from the source.

    + *

    Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

    */ - NetworkPathFound?: boolean; + DryRun?: boolean; /** - *

    The components in the path from source to destination.

    + *

    The maximum number of results to return for the request in a single page. The remaining + * results of the initial request can be seen by sending another request with the returned + * NextToken value. This value can be between 5 and 1000; if + * MaxResults is given a value outside of this range, an error is returned.

    + *

    Default: If no value is provided, the default is 1000.

    */ - ForwardPathComponents?: PathComponent[]; + MaxResults?: number; /** - *

    The components in the path from destination to source.

    + *

    The token for the next page of results.

    */ - ReturnPathComponents?: PathComponent[]; + NextToken?: string; /** - *

    The explanations. For more information, see Reachability Analyzer explanation codes.

    + *

    One or more Elastic IP addresses.

    */ - Explanations?: Explanation[]; + PublicIps?: string[]; +} - /** - *

    Potential intermediate components.

    - */ - AlternatePathHints?: AlternatePathHint[]; +export enum MoveStatus { + movingToVpc = "movingToVpc", + restoringToClassic = "restoringToClassic", +} +/** + *

    Describes the status of a moving Elastic IP address.

    + * + *

    We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see Migrate from EC2-Classic to a VPC in the Amazon Elastic Compute Cloud User Guide.

    + *
    + */ +export interface MovingAddressStatus { /** - *

    Potential intermediate accounts.

    + *

    The status of the Elastic IP address that's being moved to the EC2-VPC platform, or restored to the EC2-Classic platform.

    */ - SuggestedAccounts?: string[]; + MoveStatus?: MoveStatus | string; /** - *

    The tags.

    + *

    The Elastic IP address.

    */ - Tags?: Tag[]; + PublicIp?: string; } -export interface DescribeNetworkInsightsAnalysesResult { +export interface DescribeMovingAddressesResult { /** - *

    Information about the network insights analyses.

    + *

    The status for each Elastic IP address.

    */ - NetworkInsightsAnalyses?: NetworkInsightsAnalysis[]; + MovingAddressStatuses?: MovingAddressStatus[]; /** *

    The token to use to retrieve the next page of results. This value is null when there are no more results to return.

    @@ -2526,355 +2538,158 @@ export interface DescribeNetworkInsightsAnalysesResult { NextToken?: string; } -export interface DescribeNetworkInsightsPathsRequest { +export interface DescribeNatGatewaysRequest { /** - *

    The IDs of the paths.

    + *

    Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

    */ - NetworkInsightsPathIds?: string[]; + DryRun?: boolean; /** - *

    The filters. The following are the possible values:

    + *

    One or more filters.

    *
      *
    • - *

      destination - The ID of the resource.

      - *
    • - *
    • - *

      destination-port - The destination port.

      - *
    • - *
    • - *

      protocol - The protocol.

      - *
    • - *
    • - *

      source - The ID of the resource.

      + *

      + * nat-gateway-id - The ID of the NAT gateway.

      *
    • - *
    - */ - Filters?: Filter[]; - - /** - *

    The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

    - */ - MaxResults?: number; - - /** - *

    Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

    - */ - DryRun?: boolean; - - /** - *

    The token for the next page of results.

    - */ - NextToken?: string; -} - -export interface DescribeNetworkInsightsPathsResult { - /** - *

    Information about the paths.

    - */ - NetworkInsightsPaths?: NetworkInsightsPath[]; - - /** - *

    The token to use to retrieve the next page of results. This value is null when there are no more results to return.

    - */ - NextToken?: string; -} - -export enum NetworkInterfaceAttribute { - attachment = "attachment", - description = "description", - groupSet = "groupSet", - sourceDestCheck = "sourceDestCheck", -} - -/** - *

    Contains the parameters for DescribeNetworkInterfaceAttribute.

    - */ -export interface DescribeNetworkInterfaceAttributeRequest { - /** - *

    The attribute of the network interface. This parameter is required.

    - */ - Attribute?: NetworkInterfaceAttribute | string; - - /** - *

    Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

    - */ - DryRun?: boolean; - - /** - *

    The ID of the network interface.

    - */ - NetworkInterfaceId: string | undefined; -} - -/** - *

    Contains the output of DescribeNetworkInterfaceAttribute.

    - */ -export interface DescribeNetworkInterfaceAttributeResult { - /** - *

    The attachment (if any) of the network interface.

    - */ - Attachment?: NetworkInterfaceAttachment; - - /** - *

    The description of the network interface.

    - */ - Description?: AttributeValue; - - /** - *

    The security groups associated with the network interface.

    - */ - Groups?: GroupIdentifier[]; - - /** - *

    The ID of the network interface.

    - */ - NetworkInterfaceId?: string; - - /** - *

    Indicates whether source/destination checking is enabled.

    - */ - SourceDestCheck?: AttributeBooleanValue; -} - -/** - *

    Contains the parameters for DescribeNetworkInterfacePermissions.

    - */ -export interface DescribeNetworkInterfacePermissionsRequest { - /** - *

    The network interface permission IDs.

    - */ - NetworkInterfacePermissionIds?: string[]; - - /** - *

    One or more filters.

    - *
      *
    • *

      - * network-interface-permission.network-interface-permission-id - The ID of the - * permission.

      + * state - The state of the NAT gateway (pending | + * failed | available | deleting | deleted).

      *
    • *
    • *

      - * network-interface-permission.network-interface-id - The ID of - * the network interface.

      + * subnet-id - The ID of the subnet in which the NAT gateway resides.

      *
    • *
    • *

      - * network-interface-permission.aws-account-id - The Amazon Web Services account ID.

      + * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. + * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

      *
    • *
    • *

      - * network-interface-permission.aws-service - The Amazon Web Service.

      + * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

      *
    • *
    • *

      - * network-interface-permission.permission - The type of - * permission (INSTANCE-ATTACH | - * EIP-ASSOCIATE).

      + * vpc-id - The ID of the VPC in which the NAT gateway resides.

      *
    • *
    */ - Filters?: Filter[]; + Filter?: Filter[]; /** - *

    The token to request the next page of results.

    + *

    The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

    */ - NextToken?: string; + MaxResults?: number; /** - *

    The maximum number of results to return in a single call. To retrieve the remaining results, - * make another call with the returned NextToken value. If this parameter is not specified, up to 50 results are returned by default.

    + *

    One or more NAT gateway IDs.

    */ - MaxResults?: number; + NatGatewayIds?: string[]; + + /** + *

    The token for the next page of results.

    + */ + NextToken?: string; } -/** - *

    Contains the output for DescribeNetworkInterfacePermissions.

    - */ -export interface DescribeNetworkInterfacePermissionsResult { +export interface DescribeNatGatewaysResult { /** - *

    The network interface permissions.

    + *

    Information about the NAT gateways.

    */ - NetworkInterfacePermissions?: NetworkInterfacePermission[]; + NatGateways?: NatGateway[]; /** - *

    The token to use to retrieve the next page of results.

    + *

    The token to use to retrieve the next page of results. This value is null when there are no more results to return.

    */ NextToken?: string; } -/** - *

    Contains the parameters for DescribeNetworkInterfaces.

    - */ -export interface DescribeNetworkInterfacesRequest { +export interface DescribeNetworkAclsRequest { /** *

    One or more filters.

    *
      *
    • *

      - * addresses.private-ip-address - The private IPv4 addresses - * associated with the network interface.

      - *
    • - *
    • - *

      - * addresses.primary - Whether the private IPv4 address is the primary - * IP address associated with the network interface.

      - *
    • - *
    • - *

      - * addresses.association.public-ip - The association ID returned when - * the network interface was associated with the Elastic IP address - * (IPv4).

      - *
    • - *
    • - *

      - * addresses.association.owner-id - The owner ID of the addresses associated with the network interface.

      - *
    • - *
    • - *

      - * association.association-id - The association ID returned when the - * network interface was associated with an IPv4 address.

      - *
    • - *
    • - *

      - * association.allocation-id - The allocation ID returned when you - * allocated the Elastic IP address (IPv4) for your network interface.

      - *
    • - *
    • - *

      - * association.ip-owner-id - The owner of the Elastic IP address - * (IPv4) associated with the network interface.

      - *
    • - *
    • - *

      - * association.public-ip - The address of the Elastic IP address - * (IPv4) bound to the network interface.

      + * association.association-id - The ID of an association ID for the ACL.

      *
    • *
    • *

      - * association.public-dns-name - The public DNS name for the network - * interface (IPv4).

      + * association.network-acl-id - The ID of the network ACL involved in the association.

      *
    • *
    • *

      - * attachment.attachment-id - The ID of the interface attachment.

      + * association.subnet-id - The ID of the subnet involved in the association.

      *
    • *
    • *

      - * attachment.attach-time - The time that the network interface was attached to an instance.

      + * default - Indicates whether the ACL is the default network ACL for the VPC.

      *
    • *
    • *

      - * attachment.delete-on-termination - Indicates whether the attachment is deleted when an instance is terminated.

      + * entry.cidr - The IPv4 CIDR range specified in the entry.

      *
    • *
    • *

      - * attachment.device-index - The device index to which the network interface is attached.

      + * entry.icmp.code - The ICMP code specified in the entry, if any.

      *
    • *
    • *

      - * attachment.instance-id - The ID of the instance to which the network interface is attached.

      + * entry.icmp.type - The ICMP type specified in the entry, if any.

      *
    • *
    • *

      - * attachment.instance-owner-id - The owner ID of the instance to which the network interface is attached.

      + * entry.ipv6-cidr - The IPv6 CIDR range specified in the entry.

      *
    • *
    • *

      - * attachment.status - The status of the attachment (attaching | attached | detaching | detached).

      + * entry.port-range.from - The start of the port range specified in the entry.

      *
    • *
    • *

      - * availability-zone - The Availability Zone of the network interface.

      + * entry.port-range.to - The end of the port range specified in the entry.

      *
    • *
    • *

      - * description - The description of the network interface.

      + * entry.protocol - The protocol specified in the entry (tcp | udp | icmp or a protocol number).

      *
    • *
    • *

      - * group-id - The ID of a security group associated with the network interface.

      + * entry.rule-action - Allows or denies the matching traffic (allow | deny).

      *
    • *
    • *

      - * group-name - The name of a security group associated with the network interface.

      + * entry.egress - A Boolean that indicates the type of rule. Specify true + * for egress rules, or false for ingress rules.

      *
    • *
    • *

      - * ipv6-addresses.ipv6-address - An IPv6 address associated with - * the network interface.

      + * entry.rule-number - The number of an entry (in other words, rule) in + * the set of ACL entries.

      *
    • *
    • *

      - * interface-type - The type of network interface (api_gateway_managed | - * aws_codestar_connections_managed | branch | efa | - * gateway_load_balancer | gateway_load_balancer_endpoint | global_accelerator_managed | - * interface | iot_rules_managed | lambda | load_balancer | - * nat_gateway | network_load_balancer | quicksight | - * transit_gateway | trunk | vpc_endpoint).

      + * network-acl-id - The ID of the network ACL.

      *
    • *
    • *

      - * mac-address - The MAC address of the network interface.

      + * owner-id - The ID of the Amazon Web Services account that owns the network ACL.

      *
    • *
    • *

      - * network-interface-id - The ID of the network interface.

      + * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. + * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

      *
    • *
    • *

      - * owner-id - The Amazon Web Services account ID of the network interface owner.

      + * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

      *
    • *
    • *

      - * private-ip-address - The private IPv4 address or addresses of the - * network interface.

      - *
    • - *
    • - *

      - * private-dns-name - The private DNS name of the network interface (IPv4).

      - *
    • - *
    • - *

      - * requester-id - The alias or Amazon Web Services account ID of the principal or service that created the network interface.

      - *
    • - *
    • - *

      - * requester-managed - Indicates whether the network interface is being managed by an Amazon Web Service - * (for example, Amazon Web Services Management Console, Auto Scaling, and so on).

      - *
    • - *
    • - *

      - * source-dest-check - Indicates whether the network interface performs source/destination checking. - * A value of true means checking is enabled, and false means checking is disabled. - * The value must be false for the network interface to perform network address translation (NAT) in your VPC.

      - *
    • - *
    • - *

      - * status - The status of the network interface. If the network interface is not attached to an instance, the status is available; - * if a network interface is attached to an instance the status is in-use.

      - *
    • - *
    • - *

      - * subnet-id - The ID of the subnet for the network interface.

      - *
    • - *
    • - *

      - * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. - * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

      - *
    • - *
    • - *

      - * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

      - *
    • - *
    • - *

      - * vpc-id - The ID of the VPC for the network interface.

      + * vpc-id - The ID of the VPC for the network ACL.

      *
    • *
    */ @@ -2882,38 +2697,34 @@ export interface DescribeNetworkInterfacesRequest { /** *

    Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

    + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

    */ DryRun?: boolean; /** - *

    The network interface IDs.

    - *

    Default: Describes all your network interfaces.

    + *

    One or more network ACL IDs.

    + *

    Default: Describes all your network ACLs.

    */ - NetworkInterfaceIds?: string[]; + NetworkAclIds?: string[]; /** - *

    The token to retrieve the next page of results.

    + *

    The token for the next page of results.

    */ NextToken?: string; /** - *

    The maximum number of items to return for this request. The request returns a token that you - * can specify in a subsequent call to get the next set of results. You cannot specify this - * parameter and the network interface IDs parameter in the same request.

    + *

    The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

    */ MaxResults?: number; } -/** - *

    Contains the output of DescribeNetworkInterfaces.

    - */ -export interface DescribeNetworkInterfacesResult { +export interface DescribeNetworkAclsResult { /** - *

    Information about one or more network interfaces.

    + *

    Information about one or more network ACLs.

    */ - NetworkInterfaces?: NetworkInterface[]; + NetworkAcls?: NetworkAcl[]; /** *

    The token to use to retrieve the next page of results. This value is null when there are no more results to return.

    @@ -2921,77 +2732,38 @@ export interface DescribeNetworkInterfacesResult { NextToken?: string; } -export interface DescribePlacementGroupsRequest { +export interface DescribeNetworkInsightsAccessScopeAnalysesRequest { /** - *

    The filters.

    - *
      - *
    • - *

      - * group-name - The name of the placement group.

      - *
    • - *
    • - *

      - * group-arn - The Amazon Resource Name (ARN) of the placement - * group.

      - *
    • - *
    • - *

      - * spread-level - The spread level for the placement group - * (host | rack).

      - *
    • - *
    • - *

      - * state - The state of the placement group (pending | - * available | deleting | - * deleted).

      - *
    • - *
    • - *

      - * strategy - The strategy of the placement group - * (cluster | spread | - * partition).

      - *
    • - *
    • - *

      - * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. - * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

      - *
    • - *
    • - *

      - * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources that have a tag with a specific key, regardless of the tag value.

      - *
    • - *
    + *

    The IDs of the Network Access Scope analyses.

    */ - Filters?: Filter[]; + NetworkInsightsAccessScopeAnalysisIds?: string[]; /** - *

    Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

    + *

    The ID of the Network Access Scope.

    */ - DryRun?: boolean; + NetworkInsightsAccessScopeId?: string; /** - *

    The names of the placement groups.

    - *

    Default: Describes all your placement groups, or only those otherwise - * specified.

    + *

    Filters the results based on the start time. The analysis must have started on or after this time.

    */ - GroupNames?: string[]; + AnalysisStartTimeBegin?: Date; /** - *

    The IDs of the placement groups.

    + *

    Filters the results based on the start time. The analysis must have started on or before this time.

    */ - GroupIds?: string[]; -} + AnalysisStartTimeEnd?: Date; -export interface DescribePlacementGroupsResult { /** - *

    Information about the placement groups.

    + *

    There are no supported filters.

    */ - PlacementGroups?: PlacementGroup[]; -} + Filters?: Filter[]; + + /** + *

    The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

    + */ + MaxResults?: number; -export interface DescribePrefixListsRequest { /** *

    Checks whether you have the required permissions for the action, without actually making the request, * and provides an error response. If you have the required permissions, the error response is DryRunOperation. @@ -2999,327 +2771,308 @@ export interface DescribePrefixListsRequest { */ DryRun?: boolean; - /** - *

    One or more filters.

    - *
      - *
    • - *

      - * prefix-list-id: The ID of a prefix list.

      - *
    • - *
    • - *

      - * prefix-list-name: The name of a prefix list.

      - *
    • - *
    - */ - Filters?: Filter[]; - - /** - *

    The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

    - */ - MaxResults?: number; - /** *

    The token for the next page of results.

    */ NextToken?: string; +} - /** - *

    One or more prefix list IDs.

    - */ - PrefixListIds?: string[]; +export enum FindingsFound { + false = "false", + true = "true", + unknown = "unknown", +} + +export enum AnalysisStatus { + failed = "failed", + running = "running", + succeeded = "succeeded", } /** - *

    Describes prefixes for Amazon Web Services services.

    + *

    Describes a Network Access Scope analysis.

    */ -export interface PrefixList { +export interface NetworkInsightsAccessScopeAnalysis { /** - *

    The IP address range of the Amazon Web Service.

    + *

    The ID of the Network Access Scope analysis.

    */ - Cidrs?: string[]; + NetworkInsightsAccessScopeAnalysisId?: string; /** - *

    The ID of the prefix.

    + *

    The Amazon Resource Name (ARN) of the Network Access Scope analysis.

    */ - PrefixListId?: string; + NetworkInsightsAccessScopeAnalysisArn?: string; /** - *

    The name of the prefix.

    + *

    The ID of the Network Access Scope.

    */ - PrefixListName?: string; -} + NetworkInsightsAccessScopeId?: string; -export interface DescribePrefixListsResult { /** - *

    The token to use to retrieve the next page of results. This value is null when there are no more results to return.

    + *

    The status.

    */ - NextToken?: string; + Status?: AnalysisStatus | string; /** - *

    All available prefix lists.

    + *

    The status message.

    */ - PrefixLists?: PrefixList[]; -} + StatusMessage?: string; -export interface DescribePrincipalIdFormatRequest { /** - *

    Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

    + *

    The warning message.

    */ - DryRun?: boolean; + WarningMessage?: string; /** - *

    The type of resource: bundle | - * conversion-task | customer-gateway | dhcp-options | - * elastic-ip-allocation | elastic-ip-association | - * export-task | flow-log | image | - * import-task | instance | internet-gateway | - * network-acl | network-acl-association | - * network-interface | network-interface-attachment | - * prefix-list | reservation | route-table | - * route-table-association | security-group | - * snapshot | subnet | - * subnet-cidr-block-association | volume | vpc - * | vpc-cidr-block-association | vpc-endpoint | - * vpc-peering-connection | vpn-connection | vpn-gateway - *

    + *

    The analysis start date.

    */ - Resources?: string[]; + StartDate?: Date; /** - *

    The maximum number of results to return in a single call. To retrieve the remaining - * results, make another call with the returned NextToken value.

    + *

    The analysis end date.

    */ - MaxResults?: number; + EndDate?: Date; /** - *

    The token to request the next page of results.

    + *

    Indicates whether there are findings.

    */ - NextToken?: string; -} + FindingsFound?: FindingsFound | string; -/** - *

    PrincipalIdFormat description

    - */ -export interface PrincipalIdFormat { /** - *

    PrincipalIdFormatARN description

    + *

    The number of network interfaces analyzed.

    */ - Arn?: string; + AnalyzedEniCount?: number; /** - *

    PrincipalIdFormatStatuses description

    + *

    The tags.

    */ - Statuses?: IdFormat[]; + Tags?: Tag[]; } -export interface DescribePrincipalIdFormatResult { +export interface DescribeNetworkInsightsAccessScopeAnalysesResult { /** - *

    Information about the ID format settings for the ARN.

    + *

    The Network Access Scope analyses.

    */ - Principals?: PrincipalIdFormat[]; + NetworkInsightsAccessScopeAnalyses?: NetworkInsightsAccessScopeAnalysis[]; /** - *

    The token to use to retrieve the next page of results. This value is null when there are no more results to return.

    + *

    The token to use to retrieve the next page of results. This value is null when there are no more results to return.

    */ NextToken?: string; } -export interface DescribePublicIpv4PoolsRequest { +export interface DescribeNetworkInsightsAccessScopesRequest { /** - *

    The IDs of the address pools.

    + *

    The IDs of the Network Access Scopes.

    */ - PoolIds?: string[]; + NetworkInsightsAccessScopeIds?: string[]; /** - *

    The token for the next page of results.

    + *

    There are no supported filters.

    */ - NextToken?: string; + Filters?: Filter[]; /** *

    The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

    + * To retrieve the remaining results, make another call with the returned nextToken value.

    */ MaxResults?: number; /** - *

    One or more filters.

    + *

    Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

    + */ + DryRun?: boolean; + + /** + *

    The token for the next page of results.

    + */ + NextToken?: string; +} + +export interface DescribeNetworkInsightsAccessScopesResult { + /** + *

    The Network Access Scopes.

    + */ + NetworkInsightsAccessScopes?: NetworkInsightsAccessScope[]; + + /** + *

    The token to use to retrieve the next page of results. This value is null when there are no more results to return.

    + */ + NextToken?: string; +} + +export interface DescribeNetworkInsightsAnalysesRequest { + /** + *

    The ID of the network insights analyses. You must specify either analysis IDs or a path ID.

    + */ + NetworkInsightsAnalysisIds?: string[]; + + /** + *

    The ID of the path. You must specify either a path ID or analysis IDs.

    + */ + NetworkInsightsPathId?: string; + + /** + *

    The time when the network insights analyses started.

    + */ + AnalysisStartTime?: Date; + + /** + *

    The time when the network insights analyses ended.

    + */ + AnalysisEndTime?: Date; + + /** + *

    The filters. The following are the possible values:

    *
      *
    • - *

      - * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. - * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

      + *

      path-found - A Boolean value that indicates whether a feasible path is found.

      *
    • *
    • - *

      - * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

      + *

      status - The status of the analysis (running | succeeded | failed).

      *
    • *
    */ Filters?: Filter[]; -} - -/** - *

    Describes an address range of an IPv4 address pool.

    - */ -export interface PublicIpv4PoolRange { - /** - *

    The first IP address in the range.

    - */ - FirstAddress?: string; /** - *

    The last IP address in the range.

    + *

    The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

    */ - LastAddress?: string; + MaxResults?: number; /** - *

    The number of addresses in the range.

    + *

    Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

    */ - AddressCount?: number; + DryRun?: boolean; /** - *

    The number of available addresses in the range.

    + *

    The token for the next page of results.

    */ - AvailableAddressCount?: number; + NextToken?: string; } /** - *

    Describes an IPv4 address pool.

    + *

    Describes a network insights analysis.

    */ -export interface PublicIpv4Pool { +export interface NetworkInsightsAnalysis { /** - *

    The ID of the address pool.

    + *

    The ID of the network insights analysis.

    */ - PoolId?: string; + NetworkInsightsAnalysisId?: string; /** - *

    A description of the address pool.

    + *

    The Amazon Resource Name (ARN) of the network insights analysis.

    */ - Description?: string; + NetworkInsightsAnalysisArn?: string; /** - *

    The address ranges.

    + *

    The ID of the path.

    */ - PoolAddressRanges?: PublicIpv4PoolRange[]; + NetworkInsightsPathId?: string; /** - *

    The total number of addresses.

    + *

    The member accounts that contain resources that the path can traverse.

    */ - TotalAddressCount?: number; + AdditionalAccounts?: string[]; /** - *

    The total number of available addresses.

    + *

    The Amazon Resource Names (ARN) of the Amazon Web Services resources that the path must traverse.

    */ - TotalAvailableAddressCount?: number; + FilterInArns?: string[]; /** - *

    The name of the location from which the address pool is advertised. - * A network border group is a unique set of Availability Zones or Local Zones - * from where Amazon Web Services advertises public IP addresses.

    + *

    The time the analysis started.

    */ - NetworkBorderGroup?: string; + StartDate?: Date; /** - *

    Any tags for the address pool.

    + *

    The status of the network insights analysis.

    */ - Tags?: Tag[]; -} + Status?: AnalysisStatus | string; -export interface DescribePublicIpv4PoolsResult { /** - *

    Information about the address pools.

    + *

    The status message, if the status is failed.

    */ - PublicIpv4Pools?: PublicIpv4Pool[]; + StatusMessage?: string; /** - *

    The token to use to retrieve the next page of results. This value is null when there are no more results to return.

    + *

    The warning message.

    */ - NextToken?: string; -} + WarningMessage?: string; -export interface DescribeRegionsRequest { /** - *

    The filters.

    - *
      - *
    • - *

      - * endpoint - The endpoint of the Region (for example, ec2.us-east-1.amazonaws.com).

      - *
    • - *
    • - *

      - * opt-in-status - The opt-in status of the Region (opt-in-not-required | opted-in | - * not-opted-in).

      - *
    • - *
    • - *

      - * region-name - The name of the Region (for example, us-east-1).

      - *
    • - *
    + *

    Indicates whether the destination is reachable from the source.

    */ - Filters?: Filter[]; + NetworkPathFound?: boolean; /** - *

    The names of the Regions. You can specify any Regions, whether they are enabled and disabled for your account.

    + *

    The components in the path from source to destination.

    */ - RegionNames?: string[]; + ForwardPathComponents?: PathComponent[]; /** - *

    Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

    + *

    The components in the path from destination to source.

    */ - DryRun?: boolean; + ReturnPathComponents?: PathComponent[]; /** - *

    Indicates whether to display all Regions, including Regions that are disabled for your account.

    + *

    The explanations. For more information, see Reachability Analyzer explanation codes.

    */ - AllRegions?: boolean; -} + Explanations?: Explanation[]; -/** - *

    Describes a Region.

    - */ -export interface Region { /** - *

    The Region service endpoint.

    + *

    Potential intermediate components.

    */ - Endpoint?: string; + AlternatePathHints?: AlternatePathHint[]; /** - *

    The name of the Region.

    + *

    Potential intermediate accounts.

    */ - RegionName?: string; + SuggestedAccounts?: string[]; /** - *

    The Region opt-in status. The possible values are opt-in-not-required, opted-in, and - * not-opted-in.

    + *

    The tags.

    */ - OptInStatus?: string; + Tags?: Tag[]; } -export interface DescribeRegionsResult { +export interface DescribeNetworkInsightsAnalysesResult { /** - *

    Information about the Regions.

    + *

    Information about the network insights analyses.

    */ - Regions?: Region[]; + NetworkInsightsAnalyses?: NetworkInsightsAnalysis[]; + + /** + *

    The token to use to retrieve the next page of results. This value is null when there are no more results to return.

    + */ + NextToken?: string; } -export interface DescribeReplaceRootVolumeTasksRequest { +export interface DescribeNetworkInsightsPathsRequest { /** - *

    The ID of the root volume replacement task to view.

    + *

    The IDs of the paths.

    */ - ReplaceRootVolumeTaskIds?: string[]; + NetworkInsightsPathIds?: string[]; /** - *

    Filter to use:

    + *

    The filters. The following are the possible values:

    *
      *
    • - *

      - * instance-id - The ID of the instance for which the root volume replacement task was created.

      + *

      destination - The ID of the resource.

      + *
    • + *
    • + *

      destination-port - The destination port.

      + *
    • + *
    • + *

      protocol - The protocol.

      + *
    • + *
    • + *

      source - The ID of the resource.

      *
    • *
    */ @@ -3327,28 +3080,28 @@ export interface DescribeReplaceRootVolumeTasksRequest { /** *

    The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

    + * To retrieve the remaining results, make another call with the returned nextToken value.

    */ MaxResults?: number; - /** - *

    The token for the next page of results.

    - */ - NextToken?: string; - /** *

    Checks whether you have the required permissions for the action, without actually making the request, * and provides an error response. If you have the required permissions, the error response is DryRunOperation. * Otherwise, it is UnauthorizedOperation.

    */ DryRun?: boolean; + + /** + *

    The token for the next page of results.

    + */ + NextToken?: string; } -export interface DescribeReplaceRootVolumeTasksResult { +export interface DescribeNetworkInsightsPathsResult { /** - *

    Information about the root volume replacement task.

    + *

    Information about the paths.

    */ - ReplaceRootVolumeTasks?: ReplaceRootVolumeTask[]; + NetworkInsightsPaths?: NetworkInsightsPath[]; /** *

    The token to use to retrieve the next page of results. This value is null when there are no more results to return.

    @@ -3356,105 +3109,21 @@ export interface DescribeReplaceRootVolumeTasksResult { NextToken?: string; } -export enum OfferingClassType { - CONVERTIBLE = "convertible", - STANDARD = "standard", -} - -export enum OfferingTypeValues { - All_Upfront = "All Upfront", - Heavy_Utilization = "Heavy Utilization", - Light_Utilization = "Light Utilization", - Medium_Utilization = "Medium Utilization", - No_Upfront = "No Upfront", - Partial_Upfront = "Partial Upfront", +export enum NetworkInterfaceAttribute { + attachment = "attachment", + description = "description", + groupSet = "groupSet", + sourceDestCheck = "sourceDestCheck", } /** - *

    Contains the parameters for DescribeReservedInstances.

    + *

    Contains the parameters for DescribeNetworkInterfaceAttribute.

    */ -export interface DescribeReservedInstancesRequest { - /** - *

    One or more filters.

    - *
      - *
    • - *

      - * availability-zone - The Availability Zone where the Reserved Instance can be used.

      - *
    • - *
    • - *

      - * duration - The duration of the Reserved Instance (one year or three years), in seconds (31536000 | 94608000).

      - *
    • - *
    • - *

      - * end - The time when the Reserved Instance expires (for example, 2015-08-07T11:54:42.000Z).

      - *
    • - *
    • - *

      - * fixed-price - The purchase price of the Reserved Instance (for example, 9800.0).

      - *
    • - *
    • - *

      - * instance-type - The instance type that is covered by the reservation.

      - *
    • - *
    • - *

      - * scope - The scope of the Reserved Instance (Region or Availability Zone).

      - *
    • - *
    • - *

      - * product-description - The Reserved Instance product platform - * description. Instances that include (Amazon VPC) in the product platform - * description will only be displayed to EC2-Classic account holders and are for use with - * Amazon VPC (Linux/UNIX | Linux/UNIX (Amazon VPC) | SUSE - * Linux | SUSE Linux (Amazon VPC) | Red Hat Enterprise - * Linux | Red Hat Enterprise Linux (Amazon VPC) | Red Hat - * Enterprise Linux with HA (Amazon VPC) | Windows | Windows - * (Amazon VPC) | Windows with SQL Server Standard | Windows with - * SQL Server Standard (Amazon VPC) | Windows with SQL Server Web | - * Windows with SQL Server Web (Amazon VPC) | Windows with SQL Server - * Enterprise | Windows with SQL Server Enterprise (Amazon - * VPC)).

      - *
    • - *
    • - *

      - * reserved-instances-id - The ID of the Reserved Instance.

      - *
    • - *
    • - *

      - * start - The time at which the Reserved Instance purchase request was placed (for example, 2014-08-07T11:54:42.000Z).

      - *
    • - *
    • - *

      - * state - The state of the Reserved Instance (payment-pending | active | payment-failed | retired).

      - *
    • - *
    • - *

      - * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. - * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

      - *
    • - *
    • - *

      - * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

      - *
    • - *
    • - *

      - * usage-price - The usage price of the Reserved Instance, per hour (for example, 0.84).

      - *
    • - *
    - */ - Filters?: Filter[]; - - /** - *

    Describes whether the Reserved Instance is Standard or Convertible.

    - */ - OfferingClass?: OfferingClassType | string; - +export interface DescribeNetworkInterfaceAttributeRequest { /** - *

    One or more Reserved Instance IDs.

    - *

    Default: Describes all your Reserved Instances, or only those otherwise specified.

    + *

    The attribute of the network interface. This parameter is required.

    */ - ReservedInstancesIds?: string[]; + Attribute?: NetworkInterfaceAttribute | string; /** *

    Checks whether you have the required permissions for the action, without actually making the request, @@ -3464,4095 +3133,4425 @@ export interface DescribeReservedInstancesRequest { DryRun?: boolean; /** - *

    The Reserved Instance offering type. If you are using tools that predate the 2011-11-01 API - * version, you only have access to the Medium Utilization Reserved Instance - * offering type.

    - */ - OfferingType?: OfferingTypeValues | string; -} - -export type RIProductDescription = "Linux/UNIX" | "Linux/UNIX (Amazon VPC)" | "Windows" | "Windows (Amazon VPC)"; - -export enum RecurringChargeFrequency { - Hourly = "Hourly", -} - -/** - *

    Describes a recurring charge.

    - */ -export interface RecurringCharge { - /** - *

    The amount of the recurring charge.

    - */ - Amount?: number; - - /** - *

    The frequency of the recurring charge.

    + *

    The ID of the network interface.

    */ - Frequency?: RecurringChargeFrequency | string; -} - -export enum Scope { - AVAILABILITY_ZONE = "Availability Zone", - REGIONAL = "Region", -} - -export enum ReservedInstanceState { - active = "active", - payment_failed = "payment-failed", - payment_pending = "payment-pending", - queued = "queued", - queued_deleted = "queued-deleted", - retired = "retired", + NetworkInterfaceId: string | undefined; } /** - *

    Describes a Reserved Instance.

    + *

    Contains the output of DescribeNetworkInterfaceAttribute.

    */ -export interface ReservedInstances { - /** - *

    The Availability Zone in which the Reserved Instance can be used.

    - */ - AvailabilityZone?: string; - - /** - *

    The duration of the Reserved Instance, in seconds.

    - */ - Duration?: number; - - /** - *

    The time when the Reserved Instance expires.

    - */ - End?: Date; - - /** - *

    The purchase price of the Reserved Instance.

    - */ - FixedPrice?: number; - - /** - *

    The number of reservations purchased.

    - */ - InstanceCount?: number; - - /** - *

    The instance type on which the Reserved Instance can be used.

    - */ - InstanceType?: _InstanceType | string; - - /** - *

    The Reserved Instance product platform description.

    - */ - ProductDescription?: RIProductDescription | string; - - /** - *

    The ID of the Reserved Instance.

    - */ - ReservedInstancesId?: string; - - /** - *

    The date and time the Reserved Instance started.

    - */ - Start?: Date; - - /** - *

    The state of the Reserved Instance purchase.

    - */ - State?: ReservedInstanceState | string; - - /** - *

    The usage price of the Reserved Instance, per hour.

    - */ - UsagePrice?: number; - - /** - *

    The currency of the Reserved Instance. It's specified using ISO 4217 standard currency codes. - * At this time, the only supported currency is USD.

    - */ - CurrencyCode?: CurrencyCodeValues | string; - - /** - *

    The tenancy of the instance.

    - */ - InstanceTenancy?: Tenancy | string; - +export interface DescribeNetworkInterfaceAttributeResult { /** - *

    The offering class of the Reserved Instance.

    + *

    The attachment (if any) of the network interface.

    */ - OfferingClass?: OfferingClassType | string; + Attachment?: NetworkInterfaceAttachment; /** - *

    The Reserved Instance offering type.

    + *

    The description of the network interface.

    */ - OfferingType?: OfferingTypeValues | string; + Description?: AttributeValue; /** - *

    The recurring charge tag assigned to the resource.

    + *

    The security groups associated with the network interface.

    */ - RecurringCharges?: RecurringCharge[]; + Groups?: GroupIdentifier[]; /** - *

    The scope of the Reserved Instance.

    + *

    The ID of the network interface.

    */ - Scope?: Scope | string; + NetworkInterfaceId?: string; /** - *

    Any tags assigned to the resource.

    + *

    Indicates whether source/destination checking is enabled.

    */ - Tags?: Tag[]; + SourceDestCheck?: AttributeBooleanValue; } /** - *

    Contains the output for DescribeReservedInstances.

    + *

    Contains the parameters for DescribeNetworkInterfacePermissions.

    */ -export interface DescribeReservedInstancesResult { +export interface DescribeNetworkInterfacePermissionsRequest { /** - *

    A list of Reserved Instances.

    + *

    The network interface permission IDs.

    */ - ReservedInstances?: ReservedInstances[]; -} + NetworkInterfacePermissionIds?: string[]; -/** - *

    Contains the parameters for DescribeReservedInstancesListings.

    - */ -export interface DescribeReservedInstancesListingsRequest { /** *

    One or more filters.

    *
      *
    • *

      - * reserved-instances-id - The ID of the Reserved Instances.

      + * network-interface-permission.network-interface-permission-id - The ID of the + * permission.

      *
    • *
    • *

      - * reserved-instances-listing-id - The ID of the Reserved Instances listing.

      + * network-interface-permission.network-interface-id - The ID of + * the network interface.

      *
    • *
    • *

      - * status - The status of the Reserved Instance listing (pending | active | - * cancelled | closed).

      + * network-interface-permission.aws-account-id - The Amazon Web Services account ID.

      *
    • *
    • *

      - * status-message - The reason for the status.

      + * network-interface-permission.aws-service - The Amazon Web Service.

      + *
    • + *
    • + *

      + * network-interface-permission.permission - The type of + * permission (INSTANCE-ATTACH | + * EIP-ASSOCIATE).

      *
    • *
    */ Filters?: Filter[]; /** - *

    One or more Reserved Instance IDs.

    + *

    The token to request the next page of results.

    */ - ReservedInstancesId?: string; + NextToken?: string; /** - *

    One or more Reserved Instance listing IDs.

    + *

    The maximum number of results to return in a single call. To retrieve the remaining results, + * make another call with the returned NextToken value. If this parameter is not specified, up to 50 results are returned by default.

    */ - ReservedInstancesListingId?: string; + MaxResults?: number; } /** - *

    Contains the output of DescribeReservedInstancesListings.

    + *

    Contains the output for DescribeNetworkInterfacePermissions.

    */ -export interface DescribeReservedInstancesListingsResult { +export interface DescribeNetworkInterfacePermissionsResult { /** - *

    Information about the Reserved Instance listing.

    + *

    The network interface permissions.

    */ - ReservedInstancesListings?: ReservedInstancesListing[]; + NetworkInterfacePermissions?: NetworkInterfacePermission[]; + + /** + *

    The token to use to retrieve the next page of results.

    + */ + NextToken?: string; } /** - *

    Contains the parameters for DescribeReservedInstancesModifications.

    + *

    Contains the parameters for DescribeNetworkInterfaces.

    */ -export interface DescribeReservedInstancesModificationsRequest { +export interface DescribeNetworkInterfacesRequest { /** *

    One or more filters.

    *
      *
    • *

      - * client-token - The idempotency token for the modification request.

      + * addresses.private-ip-address - The private IPv4 addresses + * associated with the network interface.

      *
    • *
    • *

      - * create-date - The time when the modification request was created.

      + * addresses.primary - Whether the private IPv4 address is the primary + * IP address associated with the network interface.

      *
    • *
    • *

      - * effective-date - The time when the modification becomes effective.

      + * addresses.association.public-ip - The association ID returned when + * the network interface was associated with the Elastic IP address + * (IPv4).

      *
    • *
    • *

      - * modification-result.reserved-instances-id - The ID for the Reserved Instances created as part of the modification request. This ID is only available when the status of the modification is fulfilled.

      + * addresses.association.owner-id - The owner ID of the addresses associated with the network interface.

      *
    • *
    • *

      - * modification-result.target-configuration.availability-zone - The Availability Zone for the new Reserved Instances.

      + * association.association-id - The association ID returned when the + * network interface was associated with an IPv4 address.

      *
    • *
    • *

      - * modification-result.target-configuration.instance-count - The number of new Reserved Instances.

      + * association.allocation-id - The allocation ID returned when you + * allocated the Elastic IP address (IPv4) for your network interface.

      *
    • *
    • *

      - * modification-result.target-configuration.instance-type - The instance type of the new Reserved Instances.

      + * association.ip-owner-id - The owner of the Elastic IP address + * (IPv4) associated with the network interface.

      *
    • *
    • *

      - * modification-result.target-configuration.platform - The network platform of the new Reserved Instances (EC2-Classic | EC2-VPC).

      + * association.public-ip - The address of the Elastic IP address + * (IPv4) bound to the network interface.

      *
    • *
    • *

      - * reserved-instances-id - The ID of the Reserved Instances modified.

      + * association.public-dns-name - The public DNS name for the network + * interface (IPv4).

      *
    • *
    • *

      - * reserved-instances-modification-id - The ID of the modification request.

      + * attachment.attachment-id - The ID of the interface attachment.

      *
    • *
    • *

      - * status - The status of the Reserved Instances modification request - * (processing | fulfilled | failed).

      + * attachment.attach-time - The time that the network interface was attached to an instance.

      *
    • *
    • *

      - * status-message - The reason for the status.

      + * attachment.delete-on-termination - Indicates whether the attachment is deleted when an instance is terminated.

      *
    • *
    • *

      - * update-date - The time when the modification request was last updated.

      + * attachment.device-index - The device index to which the network interface is attached.

      + *
    • + *
    • + *

      + * attachment.instance-id - The ID of the instance to which the network interface is attached.

      + *
    • + *
    • + *

      + * attachment.instance-owner-id - The owner ID of the instance to which the network interface is attached.

      + *
    • + *
    • + *

      + * attachment.status - The status of the attachment (attaching | attached | detaching | detached).

      + *
    • + *
    • + *

      + * availability-zone - The Availability Zone of the network interface.

      + *
    • + *
    • + *

      + * description - The description of the network interface.

      + *
    • + *
    • + *

      + * group-id - The ID of a security group associated with the network interface.

      + *
    • + *
    • + *

      + * group-name - The name of a security group associated with the network interface.

      + *
    • + *
    • + *

      + * ipv6-addresses.ipv6-address - An IPv6 address associated with + * the network interface.

      + *
    • + *
    • + *

      + * interface-type - The type of network interface (api_gateway_managed | + * aws_codestar_connections_managed | branch | efa | + * gateway_load_balancer | gateway_load_balancer_endpoint | global_accelerator_managed | + * interface | iot_rules_managed | lambda | load_balancer | + * nat_gateway | network_load_balancer | quicksight | + * transit_gateway | trunk | vpc_endpoint).

      + *
    • + *
    • + *

      + * mac-address - The MAC address of the network interface.

      + *
    • + *
    • + *

      + * network-interface-id - The ID of the network interface.

      + *
    • + *
    • + *

      + * owner-id - The Amazon Web Services account ID of the network interface owner.

      + *
    • + *
    • + *

      + * private-ip-address - The private IPv4 address or addresses of the + * network interface.

      + *
    • + *
    • + *

      + * private-dns-name - The private DNS name of the network interface (IPv4).

      + *
    • + *
    • + *

      + * requester-id - The alias or Amazon Web Services account ID of the principal or service that created the network interface.

      + *
    • + *
    • + *

      + * requester-managed - Indicates whether the network interface is being managed by an Amazon Web Service + * (for example, Amazon Web Services Management Console, Auto Scaling, and so on).

      + *
    • + *
    • + *

      + * source-dest-check - Indicates whether the network interface performs source/destination checking. + * A value of true means checking is enabled, and false means checking is disabled. + * The value must be false for the network interface to perform network address translation (NAT) in your VPC.

      + *
    • + *
    • + *

      + * status - The status of the network interface. If the network interface is not attached to an instance, the status is available; + * if a network interface is attached to an instance the status is in-use.

      + *
    • + *
    • + *

      + * subnet-id - The ID of the subnet for the network interface.

      + *
    • + *
    • + *

      + * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. + * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

      + *
    • + *
    • + *

      + * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

      + *
    • + *
    • + *

      + * vpc-id - The ID of the VPC for the network interface.

      *
    • *
    */ Filters?: Filter[]; /** - *

    IDs for the submitted modification request.

    + *

    Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

    */ - ReservedInstancesModificationIds?: string[]; + DryRun?: boolean; + + /** + *

    The network interface IDs.

    + *

    Default: Describes all your network interfaces.

    + */ + NetworkInterfaceIds?: string[]; /** *

    The token to retrieve the next page of results.

    */ NextToken?: string; + + /** + *

    The maximum number of items to return for this request. The request returns a token that you + * can specify in a subsequent call to get the next set of results. You cannot specify this + * parameter and the network interface IDs parameter in the same request.

    + */ + MaxResults?: number; } /** - *

    Describes the configuration settings for the modified Reserved Instances.

    + *

    Contains the output of DescribeNetworkInterfaces.

    */ -export interface ReservedInstancesConfiguration { +export interface DescribeNetworkInterfacesResult { /** - *

    The Availability Zone for the modified Reserved Instances.

    + *

    Information about one or more network interfaces.

    */ - AvailabilityZone?: string; + NetworkInterfaces?: NetworkInterface[]; /** - *

    The number of modified Reserved Instances.

    - * - *

    This is a required field for a request.

    - *
    + *

    The token to use to retrieve the next page of results. This value is null when there are no more results to return.

    */ - InstanceCount?: number; + NextToken?: string; +} +export interface DescribePlacementGroupsRequest { /** - *

    The instance type for the modified Reserved Instances.

    + *

    The filters.

    + *
      + *
    • + *

      + * group-name - The name of the placement group.

      + *
    • + *
    • + *

      + * group-arn - The Amazon Resource Name (ARN) of the placement + * group.

      + *
    • + *
    • + *

      + * spread-level - The spread level for the placement group + * (host | rack).

      + *
    • + *
    • + *

      + * state - The state of the placement group (pending | + * available | deleting | + * deleted).

      + *
    • + *
    • + *

      + * strategy - The strategy of the placement group + * (cluster | spread | + * partition).

      + *
    • + *
    • + *

      + * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. + * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

      + *
    • + *
    • + *

      + * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources that have a tag with a specific key, regardless of the tag value.

      + *
    • + *
    */ - InstanceType?: _InstanceType | string; + Filters?: Filter[]; /** - *

    The network platform of the modified Reserved Instances, which is either EC2-Classic or EC2-VPC.

    + *

    Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

    */ - Platform?: string; + DryRun?: boolean; /** - *

    Whether the Reserved Instance is applied to instances in a Region or instances in a specific Availability Zone.

    + *

    The names of the placement groups.

    + *

    Default: Describes all your placement groups, or only those otherwise + * specified.

    */ - Scope?: Scope | string; -} + GroupNames?: string[]; -/** - *

    Describes the modification request/s.

    - */ -export interface ReservedInstancesModificationResult { /** - *

    The ID for the Reserved Instances that were created as part of the modification request. This field is only available when the modification is fulfilled.

    + *

    The IDs of the placement groups.

    */ - ReservedInstancesId?: string; + GroupIds?: string[]; +} +export interface DescribePlacementGroupsResult { /** - *

    The target Reserved Instances configurations supplied as part of the modification request.

    + *

    Information about the placement groups.

    */ - TargetConfiguration?: ReservedInstancesConfiguration; + PlacementGroups?: PlacementGroup[]; } -/** - *

    Describes the ID of a Reserved Instance.

    - */ -export interface ReservedInstancesId { +export interface DescribePrefixListsRequest { /** - *

    The ID of the Reserved Instance.

    + *

    Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

    */ - ReservedInstancesId?: string; + DryRun?: boolean; + + /** + *

    One or more filters.

    + *
      + *
    • + *

      + * prefix-list-id: The ID of a prefix list.

      + *
    • + *
    • + *

      + * prefix-list-name: The name of a prefix list.

      + *
    • + *
    + */ + Filters?: Filter[]; + + /** + *

    The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

    + */ + MaxResults?: number; + + /** + *

    The token for the next page of results.

    + */ + NextToken?: string; + + /** + *

    One or more prefix list IDs.

    + */ + PrefixListIds?: string[]; } /** - *

    Describes a Reserved Instance modification.

    + *

    Describes prefixes for Amazon Web Services services.

    */ -export interface ReservedInstancesModification { +export interface PrefixList { /** - *

    A unique, case-sensitive key supplied by the client to ensure that the request is idempotent. - * For more information, see Ensuring - * Idempotency.

    + *

    The IP address range of the Amazon Web Service.

    */ - ClientToken?: string; + Cidrs?: string[]; /** - *

    The time when the modification request was created.

    + *

    The ID of the prefix.

    */ - CreateDate?: Date; + PrefixListId?: string; /** - *

    The time for the modification to become effective.

    + *

    The name of the prefix.

    */ - EffectiveDate?: Date; + PrefixListName?: string; +} +export interface DescribePrefixListsResult { /** - *

    Contains target configurations along with their corresponding new Reserved Instance IDs.

    + *

    The token to use to retrieve the next page of results. This value is null when there are no more results to return.

    */ - ModificationResults?: ReservedInstancesModificationResult[]; + NextToken?: string; /** - *

    The IDs of one or more Reserved Instances.

    + *

    All available prefix lists.

    */ - ReservedInstancesIds?: ReservedInstancesId[]; + PrefixLists?: PrefixList[]; +} +export interface DescribePrincipalIdFormatRequest { /** - *

    A unique ID for the Reserved Instance modification.

    + *

    Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

    */ - ReservedInstancesModificationId?: string; + DryRun?: boolean; /** - *

    The status of the Reserved Instances modification request.

    + *

    The type of resource: bundle | + * conversion-task | customer-gateway | dhcp-options | + * elastic-ip-allocation | elastic-ip-association | + * export-task | flow-log | image | + * import-task | instance | internet-gateway | + * network-acl | network-acl-association | + * network-interface | network-interface-attachment | + * prefix-list | reservation | route-table | + * route-table-association | security-group | + * snapshot | subnet | + * subnet-cidr-block-association | volume | vpc + * | vpc-cidr-block-association | vpc-endpoint | + * vpc-peering-connection | vpn-connection | vpn-gateway + *

    */ - Status?: string; + Resources?: string[]; /** - *

    The reason for the status.

    + *

    The maximum number of results to return in a single call. To retrieve the remaining + * results, make another call with the returned NextToken value.

    */ - StatusMessage?: string; + MaxResults?: number; /** - *

    The time when the modification request was last updated.

    + *

    The token to request the next page of results.

    */ - UpdateDate?: Date; + NextToken?: string; } /** - *

    Contains the output of DescribeReservedInstancesModifications.

    + *

    PrincipalIdFormat description

    */ -export interface DescribeReservedInstancesModificationsResult { +export interface PrincipalIdFormat { /** - *

    The token to use to retrieve the next page of results. This value is null when - * there are no more results to return.

    + *

    PrincipalIdFormatARN description

    */ - NextToken?: string; + Arn?: string; /** - *

    The Reserved Instance modification information.

    + *

    PrincipalIdFormatStatuses description

    */ - ReservedInstancesModifications?: ReservedInstancesModification[]; + Statuses?: IdFormat[]; } -/** - *

    Contains the parameters for DescribeReservedInstancesOfferings.

    - */ -export interface DescribeReservedInstancesOfferingsRequest { +export interface DescribePrincipalIdFormatResult { /** - *

    The Availability Zone in which the Reserved Instance can be used.

    + *

    Information about the ID format settings for the ARN.

    */ - AvailabilityZone?: string; + Principals?: PrincipalIdFormat[]; + + /** + *

    The token to use to retrieve the next page of results. This value is null when there are no more results to return.

    + */ + NextToken?: string; +} + +export interface DescribePublicIpv4PoolsRequest { + /** + *

    The IDs of the address pools.

    + */ + PoolIds?: string[]; + + /** + *

    The token for the next page of results.

    + */ + NextToken?: string; + + /** + *

    The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

    + */ + MaxResults?: number; /** *

    One or more filters.

    *
      *
    • *

      - * availability-zone - The Availability Zone where the Reserved Instance can be - * used.

      - *
    • - *
    • - *

      - * duration - The duration of the Reserved Instance (for example, one year or - * three years), in seconds (31536000 | 94608000).

      - *
    • - *
    • - *

      - * fixed-price - The purchase price of the Reserved Instance (for example, - * 9800.0).

      - *
    • - *
    • - *

      - * instance-type - The instance type that is covered by the - * reservation.

      - *
    • - *
    • - *

      - * marketplace - Set to true to show only Reserved Instance - * Marketplace offerings. When this filter is not used, which is the default behavior, all - * offerings from both Amazon Web Services and the Reserved Instance Marketplace are listed.

      - *
    • - *
    • - *

      - * product-description - The Reserved Instance product platform description. - * Instances that include (Amazon VPC) in the product platform description will - * only be displayed to EC2-Classic account holders and are for use with Amazon VPC. - * (Linux/UNIX | Linux/UNIX (Amazon VPC) | SUSE - * Linux | SUSE Linux (Amazon VPC) | Red Hat Enterprise - * Linux | Red Hat Enterprise Linux (Amazon VPC) | Red Hat - * Enterprise Linux with HA (Amazon VPC) | Windows | Windows - * (Amazon VPC) | Windows with SQL Server Standard | Windows with - * SQL Server Standard (Amazon VPC) | Windows with SQL Server Web | - * Windows with SQL Server Web (Amazon VPC) | Windows with SQL Server - * Enterprise | Windows with SQL Server Enterprise (Amazon VPC))

      - *
    • - *
    • - *

      - * reserved-instances-offering-id - The Reserved Instances offering - * ID.

      - *
    • - *
    • - *

      - * scope - The scope of the Reserved Instance (Availability Zone or - * Region).

      + * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. + * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

      *
    • *
    • *

      - * usage-price - The usage price of the Reserved Instance, per hour (for - * example, 0.84).

      + * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

      *
    • *
    */ Filters?: Filter[]; +} +/** + *

    Describes an address range of an IPv4 address pool.

    + */ +export interface PublicIpv4PoolRange { /** - *

    Include Reserved Instance Marketplace offerings in the response.

    + *

    The first IP address in the range.

    */ - IncludeMarketplace?: boolean; + FirstAddress?: string; /** - *

    The instance type that the reservation will cover (for example, m1.small). For more information, see - * Instance types in the - * Amazon EC2 User Guide.

    + *

    The last IP address in the range.

    */ - InstanceType?: _InstanceType | string; + LastAddress?: string; /** - *

    The maximum duration (in seconds) to filter when searching for offerings.

    - *

    Default: 94608000 (3 years)

    + *

    The number of addresses in the range.

    */ - MaxDuration?: number; + AddressCount?: number; /** - *

    The maximum number of instances to filter when searching for offerings.

    - *

    Default: 20

    + *

    The number of available addresses in the range.

    */ - MaxInstanceCount?: number; + AvailableAddressCount?: number; +} +/** + *

    Describes an IPv4 address pool.

    + */ +export interface PublicIpv4Pool { /** - *

    The minimum duration (in seconds) to filter when searching for offerings.

    - *

    Default: 2592000 (1 month)

    + *

    The ID of the address pool.

    */ - MinDuration?: number; + PoolId?: string; /** - *

    The offering class of the Reserved Instance. Can be standard or convertible.

    + *

    A description of the address pool.

    */ - OfferingClass?: OfferingClassType | string; + Description?: string; /** - *

    The Reserved Instance product platform description. Instances that include (Amazon - * VPC) in the description are for use with Amazon VPC.

    + *

    The address ranges.

    */ - ProductDescription?: RIProductDescription | string; + PoolAddressRanges?: PublicIpv4PoolRange[]; /** - *

    One or more Reserved Instances offering IDs.

    + *

    The total number of addresses.

    */ - ReservedInstancesOfferingIds?: string[]; + TotalAddressCount?: number; /** - *

    Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

    + *

    The total number of available addresses.

    */ - DryRun?: boolean; + TotalAvailableAddressCount?: number; /** - *

    The tenancy of the instances covered by the reservation. A Reserved Instance with a tenancy - * of dedicated is applied to instances that run in a VPC on single-tenant hardware - * (i.e., Dedicated Instances).

    - *

    - * Important: The host value cannot be used with this parameter. Use the default or dedicated values only.

    - *

    Default: default - *

    - */ - InstanceTenancy?: Tenancy | string; - - /** - *

    The maximum number of results to return for the request in a single page. The remaining - * results of the initial request can be seen by sending another request with the returned - * NextToken value. The maximum is 100.

    - *

    Default: 100

    - */ - MaxResults?: number; - - /** - *

    The token to retrieve the next page of results.

    + *

    The name of the location from which the address pool is advertised. + * A network border group is a unique set of Availability Zones or Local Zones + * from where Amazon Web Services advertises public IP addresses.

    */ - NextToken?: string; + NetworkBorderGroup?: string; /** - *

    The Reserved Instance offering type. If you are using tools that predate the 2011-11-01 API - * version, you only have access to the Medium Utilization Reserved Instance - * offering type.

    + *

    Any tags for the address pool.

    */ - OfferingType?: OfferingTypeValues | string; + Tags?: Tag[]; } -/** - *

    Describes a Reserved Instance offering.

    - */ -export interface PricingDetail { +export interface DescribePublicIpv4PoolsResult { /** - *

    The number of reservations available for the price.

    + *

    Information about the address pools.

    */ - Count?: number; + PublicIpv4Pools?: PublicIpv4Pool[]; /** - *

    The price per instance.

    + *

    The token to use to retrieve the next page of results. This value is null when there are no more results to return.

    */ - Price?: number; + NextToken?: string; } -/** - *

    Describes a Reserved Instance offering.

    - */ -export interface ReservedInstancesOffering { +export interface DescribeRegionsRequest { /** - *

    The Availability Zone in which the Reserved Instance can be used.

    + *

    The filters.

    + *
      + *
    • + *

      + * endpoint - The endpoint of the Region (for example, ec2.us-east-1.amazonaws.com).

      + *
    • + *
    • + *

      + * opt-in-status - The opt-in status of the Region (opt-in-not-required | opted-in | + * not-opted-in).

      + *
    • + *
    • + *

      + * region-name - The name of the Region (for example, us-east-1).

      + *
    • + *
    */ - AvailabilityZone?: string; + Filters?: Filter[]; /** - *

    The duration of the Reserved Instance, in seconds.

    + *

    The names of the Regions. You can specify any Regions, whether they are enabled and disabled for your account.

    */ - Duration?: number; + RegionNames?: string[]; /** - *

    The purchase price of the Reserved Instance.

    + *

    Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

    */ - FixedPrice?: number; + DryRun?: boolean; /** - *

    The instance type on which the Reserved Instance can be used.

    + *

    Indicates whether to display all Regions, including Regions that are disabled for your account.

    */ - InstanceType?: _InstanceType | string; + AllRegions?: boolean; +} +/** + *

    Describes a Region.

    + */ +export interface Region { /** - *

    The Reserved Instance product platform description.

    + *

    The Region service endpoint.

    */ - ProductDescription?: RIProductDescription | string; + Endpoint?: string; /** - *

    The ID of the Reserved Instance offering. This is the offering ID used in GetReservedInstancesExchangeQuote - * to confirm that an exchange can be made.

    + *

    The name of the Region.

    */ - ReservedInstancesOfferingId?: string; + RegionName?: string; /** - *

    The usage price of the Reserved Instance, per hour.

    + *

    The Region opt-in status. The possible values are opt-in-not-required, opted-in, and + * not-opted-in.

    */ - UsagePrice?: number; + OptInStatus?: string; +} +export interface DescribeRegionsResult { /** - *

    The currency of the Reserved Instance offering you are purchasing. It's - * specified using ISO 4217 standard currency codes. At this time, - * the only supported currency is USD.

    + *

    Information about the Regions.

    */ - CurrencyCode?: CurrencyCodeValues | string; + Regions?: Region[]; +} +export interface DescribeReplaceRootVolumeTasksRequest { /** - *

    The tenancy of the instance.

    + *

    The ID of the root volume replacement task to view.

    */ - InstanceTenancy?: Tenancy | string; + ReplaceRootVolumeTaskIds?: string[]; /** - *

    Indicates whether the offering is available through the Reserved Instance Marketplace (resale) or Amazon Web Services. - * If it's a Reserved Instance Marketplace offering, this is true.

    + *

    Filter to use:

    + *
      + *
    • + *

      + * instance-id - The ID of the instance for which the root volume replacement task was created.

      + *
    • + *
    */ - Marketplace?: boolean; + Filters?: Filter[]; /** - *

    If convertible it can be exchanged for Reserved Instances of - * the same or higher monetary value, with different configurations. If standard, it is not - * possible to perform an exchange.

    + *

    The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

    */ - OfferingClass?: OfferingClassType | string; + MaxResults?: number; /** - *

    The Reserved Instance offering type.

    + *

    The token for the next page of results.

    */ - OfferingType?: OfferingTypeValues | string; + NextToken?: string; /** - *

    The pricing details of the Reserved Instance offering.

    + *

    Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

    */ - PricingDetails?: PricingDetail[]; + DryRun?: boolean; +} +export interface DescribeReplaceRootVolumeTasksResult { /** - *

    The recurring charge tag assigned to the resource.

    + *

    Information about the root volume replacement task.

    */ - RecurringCharges?: RecurringCharge[]; + ReplaceRootVolumeTasks?: ReplaceRootVolumeTask[]; /** - *

    Whether the Reserved Instance is applied to instances in a Region or an Availability Zone.

    + *

    The token to use to retrieve the next page of results. This value is null when there are no more results to return.

    */ - Scope?: Scope | string; + NextToken?: string; } -/** - *

    Contains the output of DescribeReservedInstancesOfferings.

    - */ -export interface DescribeReservedInstancesOfferingsResult { - /** - *

    A list of Reserved Instances offerings.

    - */ - ReservedInstancesOfferings?: ReservedInstancesOffering[]; +export enum OfferingClassType { + CONVERTIBLE = "convertible", + STANDARD = "standard", +} - /** - *

    The token to use to retrieve the next page of results. This value is null when - * there are no more results to return.

    - */ - NextToken?: string; +export enum OfferingTypeValues { + All_Upfront = "All Upfront", + Heavy_Utilization = "Heavy Utilization", + Light_Utilization = "Light Utilization", + Medium_Utilization = "Medium Utilization", + No_Upfront = "No Upfront", + Partial_Upfront = "Partial Upfront", } -export interface DescribeRouteTablesRequest { +/** + *

    Contains the parameters for DescribeReservedInstances.

    + */ +export interface DescribeReservedInstancesRequest { /** *

    One or more filters.

    *
      *
    • *

      - * association.route-table-association-id - The ID of an association - * ID for the route table.

      - *
    • - *
    • - *

      - * association.route-table-id - The ID of the route table involved in - * the association.

      - *
    • - *
    • - *

      - * association.subnet-id - The ID of the subnet involved in the - * association.

      - *
    • - *
    • - *

      - * association.main - Indicates whether the route table is the main - * route table for the VPC (true | false). Route tables - * that do not have an association ID are not returned in the response.

      - *
    • - *
    • - *

      - * owner-id - The ID of the Amazon Web Services account that owns the route table.

      - *
    • - *
    • - *

      - * route-table-id - The ID of the route table.

      + * availability-zone - The Availability Zone where the Reserved Instance can be used.

      *
    • *
    • *

      - * route.destination-cidr-block - The IPv4 CIDR range specified in a - * route in the table.

      + * duration - The duration of the Reserved Instance (one year or three years), in seconds (31536000 | 94608000).

      *
    • *
    • *

      - * route.destination-ipv6-cidr-block - The IPv6 CIDR range specified in a route in the route table.

      + * end - The time when the Reserved Instance expires (for example, 2015-08-07T11:54:42.000Z).

      *
    • *
    • *

      - * route.destination-prefix-list-id - The ID (prefix) of the Amazon Web Service - * specified in a route in the table.

      + * fixed-price - The purchase price of the Reserved Instance (for example, 9800.0).

      *
    • *
    • *

      - * route.egress-only-internet-gateway-id - The ID of an - * egress-only Internet gateway specified in a route in the route table.

      + * instance-type - The instance type that is covered by the reservation.

      *
    • *
    • *

      - * route.gateway-id - The ID of a gateway specified in a route in the table.

      + * scope - The scope of the Reserved Instance (Region or Availability Zone).

      *
    • *
    • *

      - * route.instance-id - The ID of an instance specified in a route in the table.

      + * product-description - The Reserved Instance product platform + * description. Instances that include (Amazon VPC) in the product platform + * description will only be displayed to EC2-Classic account holders and are for use with + * Amazon VPC (Linux/UNIX | Linux/UNIX (Amazon VPC) | SUSE + * Linux | SUSE Linux (Amazon VPC) | Red Hat Enterprise + * Linux | Red Hat Enterprise Linux (Amazon VPC) | Red Hat + * Enterprise Linux with HA (Amazon VPC) | Windows | Windows + * (Amazon VPC) | Windows with SQL Server Standard | Windows with + * SQL Server Standard (Amazon VPC) | Windows with SQL Server Web | + * Windows with SQL Server Web (Amazon VPC) | Windows with SQL Server + * Enterprise | Windows with SQL Server Enterprise (Amazon + * VPC)).

      *
    • *
    • *

      - * route.nat-gateway-id - The ID of a NAT gateway.

      + * reserved-instances-id - The ID of the Reserved Instance.

      *
    • *
    • *

      - * route.transit-gateway-id - The ID of a transit gateway.

      + * start - The time at which the Reserved Instance purchase request was placed (for example, 2014-08-07T11:54:42.000Z).

      *
    • *
    • *

      - * route.origin - Describes how the route was created. - * CreateRouteTable indicates that the route was automatically - * created when the route table was created; CreateRoute indicates - * that the route was manually added to the route table; - * EnableVgwRoutePropagation indicates that the route was - * propagated by route propagation.

      + * state - The state of the Reserved Instance (payment-pending | active | payment-failed | retired).

      *
    • *
    • *

      - * route.state - The state of a route in the route table - * (active | blackhole). The blackhole state - * indicates that the route's target isn't available (for example, the specified - * gateway isn't attached to the VPC, the specified NAT instance has been - * terminated, and so on).

      + * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. + * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

      *
    • *
    • *

      - * route.vpc-peering-connection-id - The ID of a VPC peering - * connection specified in a route in the table.

      + * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

      *
    • *
    • *

      - * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. - * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

      - *
    • - *
    • - *

      - * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

      - *
    • - *
    • - *

      - * vpc-id - The ID of the VPC for the route table.

      + * usage-price - The usage price of the Reserved Instance, per hour (for example, 0.84).

      *
    • *
    */ Filters?: Filter[]; /** - *

    Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

    + *

    Describes whether the Reserved Instance is Standard or Convertible.

    */ - DryRun?: boolean; + OfferingClass?: OfferingClassType | string; /** - *

    One or more route table IDs.

    - *

    Default: Describes all your route tables.

    + *

    One or more Reserved Instance IDs.

    + *

    Default: Describes all your Reserved Instances, or only those otherwise specified.

    */ - RouteTableIds?: string[]; + ReservedInstancesIds?: string[]; /** - *

    The token for the next page of results.

    + *

    Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

    */ - NextToken?: string; + DryRun?: boolean; /** - *

    The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

    + *

    The Reserved Instance offering type. If you are using tools that predate the 2011-11-01 API + * version, you only have access to the Medium Utilization Reserved Instance + * offering type.

    */ - MaxResults?: number; + OfferingType?: OfferingTypeValues | string; } -/** - *

    Contains the output of DescribeRouteTables.

    - */ -export interface DescribeRouteTablesResult { - /** - *

    Information about one or more route tables.

    - */ - RouteTables?: RouteTable[]; +export type RIProductDescription = "Linux/UNIX" | "Linux/UNIX (Amazon VPC)" | "Windows" | "Windows (Amazon VPC)"; - /** - *

    The token to use to retrieve the next page of results. This value is null when there are no more results to return.

    - */ - NextToken?: string; +export enum RecurringChargeFrequency { + Hourly = "Hourly", } /** - *

    Describes the time period for a Scheduled Instance to start its first schedule. The time period must span less than one day.

    + *

    Describes a recurring charge.

    */ -export interface SlotDateTimeRangeRequest { +export interface RecurringCharge { /** - *

    The earliest date and time, in UTC, for the Scheduled Instance to start.

    + *

    The amount of the recurring charge.

    */ - EarliestTime: Date | undefined; + Amount?: number; /** - *

    The latest date and time, in UTC, for the Scheduled Instance to start. This value must be later than or equal to the earliest date and at most three months in the future.

    + *

    The frequency of the recurring charge.

    */ - LatestTime: Date | undefined; + Frequency?: RecurringChargeFrequency | string; +} + +export enum Scope { + AVAILABILITY_ZONE = "Availability Zone", + REGIONAL = "Region", +} + +export enum ReservedInstanceState { + active = "active", + payment_failed = "payment-failed", + payment_pending = "payment-pending", + queued = "queued", + queued_deleted = "queued-deleted", + retired = "retired", } /** - *

    Describes the recurring schedule for a Scheduled Instance.

    + *

    Describes a Reserved Instance.

    */ -export interface ScheduledInstanceRecurrenceRequest { +export interface ReservedInstances { /** - *

    The frequency (Daily, Weekly, or Monthly).

    + *

    The Availability Zone in which the Reserved Instance can be used.

    */ - Frequency?: string; + AvailabilityZone?: string; /** - *

    The interval quantity. The interval unit depends on the value of Frequency. For example, every 2 - * weeks or every 2 months.

    + *

    The duration of the Reserved Instance, in seconds.

    */ - Interval?: number; + Duration?: number; /** - *

    The days. For a monthly schedule, this is one or more days of the month (1-31). For a weekly schedule, this is one or more days of the week (1-7, where 1 is Sunday). You can't specify this value with a daily schedule. If the occurrence is relative to the end of the month, you can specify only a single day.

    + *

    The time when the Reserved Instance expires.

    */ - OccurrenceDays?: number[]; + End?: Date; /** - *

    Indicates whether the occurrence is relative to the end of the specified week or month. You can't specify this value with a daily schedule.

    + *

    The purchase price of the Reserved Instance.

    */ - OccurrenceRelativeToEnd?: boolean; + FixedPrice?: number; /** - *

    The unit for OccurrenceDays (DayOfWeek or DayOfMonth). - * This value is required for a monthly schedule. - * You can't specify DayOfWeek with a weekly schedule. - * You can't specify this value with a daily schedule.

    + *

    The number of reservations purchased.

    */ - OccurrenceUnit?: string; -} + InstanceCount?: number; -/** - *

    Contains the parameters for DescribeScheduledInstanceAvailability.

    - */ -export interface DescribeScheduledInstanceAvailabilityRequest { /** - *

    Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

    + *

    The instance type on which the Reserved Instance can be used.

    */ - DryRun?: boolean; + InstanceType?: _InstanceType | string; /** - *

    The filters.

    - *
      - *
    • - *

      - * availability-zone - The Availability Zone (for example, us-west-2a).

      - *
    • - *
    • - *

      - * instance-type - The instance type (for example, c4.large).

      - *
    • - *
    • - *

      - * network-platform - The network platform (EC2-Classic or EC2-VPC).

      - *
    • - *
    • - *

      - * platform - The platform (Linux/UNIX or Windows).

      - *
    • - *
    + *

    The Reserved Instance product platform description.

    */ - Filters?: Filter[]; + ProductDescription?: RIProductDescription | string; /** - *

    The time period for the first schedule to start.

    + *

    The ID of the Reserved Instance.

    */ - FirstSlotStartTimeRange: SlotDateTimeRangeRequest | undefined; + ReservedInstancesId?: string; /** - *

    The maximum number of results to return in a single call. - * This value can be between 5 and 300. The default value is 300. - * To retrieve the remaining results, make another call with the returned - * NextToken value.

    + *

    The date and time the Reserved Instance started.

    */ - MaxResults?: number; + Start?: Date; /** - *

    The maximum available duration, in hours. This value must be greater than MinSlotDurationInHours - * and less than 1,720.

    + *

    The state of the Reserved Instance purchase.

    */ - MaxSlotDurationInHours?: number; + State?: ReservedInstanceState | string; /** - *

    The minimum available duration, in hours. The minimum required duration is 1,200 hours per year. For example, the minimum daily schedule is 4 hours, the minimum weekly schedule is 24 hours, and the minimum monthly schedule is 100 hours.

    + *

    The usage price of the Reserved Instance, per hour.

    */ - MinSlotDurationInHours?: number; + UsagePrice?: number; /** - *

    The token for the next set of results.

    + *

    The currency of the Reserved Instance. It's specified using ISO 4217 standard currency codes. + * At this time, the only supported currency is USD.

    */ - NextToken?: string; + CurrencyCode?: CurrencyCodeValues | string; /** - *

    The schedule recurrence.

    + *

    The tenancy of the instance.

    */ - Recurrence: ScheduledInstanceRecurrenceRequest | undefined; -} + InstanceTenancy?: Tenancy | string; -/** - *

    Describes the recurring schedule for a Scheduled Instance.

    - */ -export interface ScheduledInstanceRecurrence { /** - *

    The frequency (Daily, Weekly, or Monthly).

    + *

    The offering class of the Reserved Instance.

    */ - Frequency?: string; + OfferingClass?: OfferingClassType | string; /** - *

    The interval quantity. The interval unit depends on the value of frequency. For example, every 2 - * weeks or every 2 months.

    + *

    The Reserved Instance offering type.

    */ - Interval?: number; + OfferingType?: OfferingTypeValues | string; /** - *

    The days. For a monthly schedule, this is one or more days of the month (1-31). For a weekly schedule, this is one or more days of the week (1-7, where 1 is Sunday).

    + *

    The recurring charge tag assigned to the resource.

    */ - OccurrenceDaySet?: number[]; + RecurringCharges?: RecurringCharge[]; /** - *

    Indicates whether the occurrence is relative to the end of the specified week or month.

    + *

    The scope of the Reserved Instance.

    */ - OccurrenceRelativeToEnd?: boolean; + Scope?: Scope | string; /** - *

    The unit for occurrenceDaySet (DayOfWeek or DayOfMonth).

    + *

    Any tags assigned to the resource.

    */ - OccurrenceUnit?: string; + Tags?: Tag[]; } /** - *

    Describes a schedule that is available for your Scheduled Instances.

    + *

    Contains the output for DescribeReservedInstances.

    */ -export interface ScheduledInstanceAvailability { - /** - *

    The Availability Zone.

    - */ - AvailabilityZone?: string; - +export interface DescribeReservedInstancesResult { /** - *

    The number of available instances.

    + *

    A list of Reserved Instances.

    */ - AvailableInstanceCount?: number; + ReservedInstances?: ReservedInstances[]; +} +/** + *

    Contains the parameters for DescribeReservedInstancesListings.

    + */ +export interface DescribeReservedInstancesListingsRequest { /** - *

    The time period for the first schedule to start.

    + *

    One or more filters.

    + *
      + *
    • + *

      + * reserved-instances-id - The ID of the Reserved Instances.

      + *
    • + *
    • + *

      + * reserved-instances-listing-id - The ID of the Reserved Instances listing.

      + *
    • + *
    • + *

      + * status - The status of the Reserved Instance listing (pending | active | + * cancelled | closed).

      + *
    • + *
    • + *

      + * status-message - The reason for the status.

      + *
    • + *
    */ - FirstSlotStartTime?: Date; + Filters?: Filter[]; /** - *

    The hourly price for a single instance.

    + *

    One or more Reserved Instance IDs.

    */ - HourlyPrice?: string; + ReservedInstancesId?: string; /** - *

    The instance type. You can specify one of the C3, C4, M4, or R3 instance types.

    + *

    One or more Reserved Instance listing IDs.

    */ - InstanceType?: string; + ReservedInstancesListingId?: string; +} +/** + *

    Contains the output of DescribeReservedInstancesListings.

    + */ +export interface DescribeReservedInstancesListingsResult { /** - *

    The maximum term. The only possible value is 365 days.

    + *

    Information about the Reserved Instance listing.

    */ - MaxTermDurationInDays?: number; + ReservedInstancesListings?: ReservedInstancesListing[]; +} +/** + *

    Contains the parameters for DescribeReservedInstancesModifications.

    + */ +export interface DescribeReservedInstancesModificationsRequest { /** - *

    The minimum term. The only possible value is 365 days.

    - */ - MinTermDurationInDays?: number; - - /** - *

    The network platform (EC2-Classic or EC2-VPC).

    - */ - NetworkPlatform?: string; - - /** - *

    The platform (Linux/UNIX or Windows).

    - */ - Platform?: string; - - /** - *

    The purchase token. This token expires in two hours.

    - */ - PurchaseToken?: string; - - /** - *

    The schedule recurrence.

    - */ - Recurrence?: ScheduledInstanceRecurrence; - - /** - *

    The number of hours in the schedule.

    - */ - SlotDurationInHours?: number; - - /** - *

    The total number of hours for a single instance for the entire term.

    - */ - TotalScheduledInstanceHours?: number; -} - -/** - *

    Contains the output of DescribeScheduledInstanceAvailability.

    - */ -export interface DescribeScheduledInstanceAvailabilityResult { - /** - *

    The token required to retrieve the next set of results. This value is null when there are no more results to return.

    - */ - NextToken?: string; - - /** - *

    Information about the available Scheduled Instances.

    - */ - ScheduledInstanceAvailabilitySet?: ScheduledInstanceAvailability[]; -} - -/** - *

    Describes the time period for a Scheduled Instance to start its first schedule.

    - */ -export interface SlotStartTimeRangeRequest { - /** - *

    The earliest date and time, in UTC, for the Scheduled Instance to start.

    - */ - EarliestTime?: Date; - - /** - *

    The latest date and time, in UTC, for the Scheduled Instance to start.

    - */ - LatestTime?: Date; -} - -/** - *

    Contains the parameters for DescribeScheduledInstances.

    - */ -export interface DescribeScheduledInstancesRequest { - /** - *

    Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

    - */ - DryRun?: boolean; - - /** - *

    The filters.

    + *

    One or more filters.

    *
      *
    • *

      - * availability-zone - The Availability Zone (for example, us-west-2a).

      + * client-token - The idempotency token for the modification request.

      *
    • *
    • *

      - * instance-type - The instance type (for example, c4.large).

      + * create-date - The time when the modification request was created.

      *
    • *
    • *

      - * network-platform - The network platform (EC2-Classic or EC2-VPC).

      + * effective-date - The time when the modification becomes effective.

      *
    • *
    • *

      - * platform - The platform (Linux/UNIX or Windows).

      + * modification-result.reserved-instances-id - The ID for the Reserved Instances created as part of the modification request. This ID is only available when the status of the modification is fulfilled.

      + *
    • + *
    • + *

      + * modification-result.target-configuration.availability-zone - The Availability Zone for the new Reserved Instances.

      + *
    • + *
    • + *

      + * modification-result.target-configuration.instance-count - The number of new Reserved Instances.

      + *
    • + *
    • + *

      + * modification-result.target-configuration.instance-type - The instance type of the new Reserved Instances.

      + *
    • + *
    • + *

      + * modification-result.target-configuration.platform - The network platform of the new Reserved Instances (EC2-Classic | EC2-VPC).

      + *
    • + *
    • + *

      + * reserved-instances-id - The ID of the Reserved Instances modified.

      + *
    • + *
    • + *

      + * reserved-instances-modification-id - The ID of the modification request.

      + *
    • + *
    • + *

      + * status - The status of the Reserved Instances modification request + * (processing | fulfilled | failed).

      + *
    • + *
    • + *

      + * status-message - The reason for the status.

      + *
    • + *
    • + *

      + * update-date - The time when the modification request was last updated.

      *
    • *
    */ Filters?: Filter[]; /** - *

    The maximum number of results to return in a single call. - * This value can be between 5 and 300. The default value is 100. - * To retrieve the remaining results, make another call with the returned - * NextToken value.

    + *

    IDs for the submitted modification request.

    */ - MaxResults?: number; + ReservedInstancesModificationIds?: string[]; /** - *

    The token for the next set of results.

    + *

    The token to retrieve the next page of results.

    */ NextToken?: string; - - /** - *

    The Scheduled Instance IDs.

    - */ - ScheduledInstanceIds?: string[]; - - /** - *

    The time period for the first schedule to start.

    - */ - SlotStartTimeRange?: SlotStartTimeRangeRequest; } /** - *

    Describes a Scheduled Instance.

    + *

    Describes the configuration settings for the modified Reserved Instances.

    */ -export interface ScheduledInstance { +export interface ReservedInstancesConfiguration { /** - *

    The Availability Zone.

    + *

    The Availability Zone for the modified Reserved Instances.

    */ AvailabilityZone?: string; /** - *

    The date when the Scheduled Instance was purchased.

    + *

    The number of modified Reserved Instances.

    + * + *

    This is a required field for a request.

    + *
    */ - CreateDate?: Date; + InstanceCount?: number; /** - *

    The hourly price for a single instance.

    + *

    The instance type for the modified Reserved Instances.

    */ - HourlyPrice?: string; + InstanceType?: _InstanceType | string; /** - *

    The number of instances.

    + *

    The network platform of the modified Reserved Instances, which is either EC2-Classic or EC2-VPC.

    */ - InstanceCount?: number; + Platform?: string; /** - *

    The instance type.

    + *

    Whether the Reserved Instance is applied to instances in a Region or instances in a specific Availability Zone.

    */ - InstanceType?: string; + Scope?: Scope | string; +} +/** + *

    Describes the modification request/s.

    + */ +export interface ReservedInstancesModificationResult { /** - *

    The network platform (EC2-Classic or EC2-VPC).

    + *

    The ID for the Reserved Instances that were created as part of the modification request. This field is only available when the modification is fulfilled.

    */ - NetworkPlatform?: string; + ReservedInstancesId?: string; /** - *

    The time for the next schedule to start.

    + *

    The target Reserved Instances configurations supplied as part of the modification request.

    */ - NextSlotStartTime?: Date; + TargetConfiguration?: ReservedInstancesConfiguration; +} +/** + *

    Describes the ID of a Reserved Instance.

    + */ +export interface ReservedInstancesId { /** - *

    The platform (Linux/UNIX or Windows).

    + *

    The ID of the Reserved Instance.

    */ - Platform?: string; + ReservedInstancesId?: string; +} +/** + *

    Describes a Reserved Instance modification.

    + */ +export interface ReservedInstancesModification { /** - *

    The time that the previous schedule ended or will end.

    + *

    A unique, case-sensitive key supplied by the client to ensure that the request is idempotent. + * For more information, see Ensuring + * Idempotency.

    */ - PreviousSlotEndTime?: Date; + ClientToken?: string; /** - *

    The schedule recurrence.

    + *

    The time when the modification request was created.

    */ - Recurrence?: ScheduledInstanceRecurrence; + CreateDate?: Date; /** - *

    The Scheduled Instance ID.

    + *

    The time for the modification to become effective.

    */ - ScheduledInstanceId?: string; + EffectiveDate?: Date; /** - *

    The number of hours in the schedule.

    + *

    Contains target configurations along with their corresponding new Reserved Instance IDs.

    */ - SlotDurationInHours?: number; + ModificationResults?: ReservedInstancesModificationResult[]; /** - *

    The end date for the Scheduled Instance.

    + *

    The IDs of one or more Reserved Instances.

    */ - TermEndDate?: Date; + ReservedInstancesIds?: ReservedInstancesId[]; /** - *

    The start date for the Scheduled Instance.

    + *

    A unique ID for the Reserved Instance modification.

    */ - TermStartDate?: Date; + ReservedInstancesModificationId?: string; /** - *

    The total number of hours for a single instance for the entire term.

    + *

    The status of the Reserved Instances modification request.

    */ - TotalScheduledInstanceHours?: number; -} + Status?: string; -/** - *

    Contains the output of DescribeScheduledInstances.

    - */ -export interface DescribeScheduledInstancesResult { /** - *

    The token required to retrieve the next set of results. This value is null when there are no more results to return.

    + *

    The reason for the status.

    */ - NextToken?: string; + StatusMessage?: string; /** - *

    Information about the Scheduled Instances.

    + *

    The time when the modification request was last updated.

    */ - ScheduledInstanceSet?: ScheduledInstance[]; + UpdateDate?: Date; } -export interface DescribeSecurityGroupReferencesRequest { +/** + *

    Contains the output of DescribeReservedInstancesModifications.

    + */ +export interface DescribeReservedInstancesModificationsResult { /** - *

    Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

    + *

    The token to use to retrieve the next page of results. This value is null when + * there are no more results to return.

    */ - DryRun?: boolean; + NextToken?: string; /** - *

    The IDs of the security groups in your account.

    + *

    The Reserved Instance modification information.

    */ - GroupId: string[] | undefined; + ReservedInstancesModifications?: ReservedInstancesModification[]; } /** - *

    Describes a VPC with a security group that references your security group.

    + *

    Contains the parameters for DescribeReservedInstancesOfferings.

    */ -export interface SecurityGroupReference { +export interface DescribeReservedInstancesOfferingsRequest { /** - *

    The ID of your security group.

    - */ - GroupId?: string; - - /** - *

    The ID of the VPC with the referencing security group.

    - */ - ReferencingVpcId?: string; - - /** - *

    The ID of the VPC peering connection.

    - */ - VpcPeeringConnectionId?: string; -} - -export interface DescribeSecurityGroupReferencesResult { - /** - *

    Information about the VPCs with the referencing security groups.

    + *

    The Availability Zone in which the Reserved Instance can be used.

    */ - SecurityGroupReferenceSet?: SecurityGroupReference[]; -} + AvailabilityZone?: string; -export interface DescribeSecurityGroupRulesRequest { /** *

    One or more filters.

    *
      *
    • *

      - * group-id - The ID of the security group.

      - *
    • - *
    • - *

      - * security-group-rule-id - The ID of the security group rule.

      - *
    • - *
    • - *

      - * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. - * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

      - *
    • - *
    - */ - Filters?: Filter[]; - - /** - *

    The IDs of the security group rules.

    - */ - SecurityGroupRuleIds?: string[]; - - /** - *

    Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

    - */ - DryRun?: boolean; - - /** - *

    The token for the next page of results.

    - */ - NextToken?: string; - - /** - *

    The maximum number of results to return in a single call. To retrieve the remaining - * results, make another request with the returned NextToken value. This value - * can be between 5 and 1000. If this parameter is not specified, then all results are - * returned.

    - */ - MaxResults?: number; -} - -export interface DescribeSecurityGroupRulesResult { - /** - *

    Information about security group rules.

    - */ - SecurityGroupRules?: SecurityGroupRule[]; - - /** - *

    The token to use to retrieve the next page of results. This value is null when there are no more results to return.

    - */ - NextToken?: string; -} - -export interface DescribeSecurityGroupsRequest { - /** - *

    The filters. If using multiple filters for rules, the results include security groups for which any combination of rules - not necessarily a single rule - match all filters.

    - *
      - *
    • - *

      - * description - The description of the security group.

      - *
    • - *
    • - *

      - * egress.ip-permission.cidr - An IPv4 CIDR block for an outbound - * security group rule.

      - *
    • - *
    • - *

      - * egress.ip-permission.from-port - For an outbound rule, the - * start of port range for the TCP and UDP protocols, or an ICMP type - * number.

      - *
    • - *
    • - *

      - * egress.ip-permission.group-id - The ID of a security group - * that has been referenced in an outbound security group rule.

      - *
    • - *
    • - *

      - * egress.ip-permission.group-name - The name of a security group - * that is referenced in an outbound security group rule.

      - *
    • - *
    • - *

      - * egress.ip-permission.ipv6-cidr - An IPv6 CIDR block for an - * outbound security group rule.

      - *
    • - *
    • - *

      - * egress.ip-permission.prefix-list-id - The ID of a prefix list to which a security group rule allows outbound access.

      - *
    • - *
    • - *

      - * egress.ip-permission.protocol - The IP protocol for an - * outbound security group rule (tcp | udp | - * icmp, a protocol number, or -1 for all protocols).

      - *
    • - *
    • - *

      - * egress.ip-permission.to-port - For an outbound rule, the end - * of port range for the TCP and UDP protocols, or an ICMP code.

      - *
    • - *
    • - *

      - * egress.ip-permission.user-id - The ID of an Amazon Web Services account that - * has been referenced in an outbound security group rule.

      - *
    • - *
    • - *

      - * group-id - The ID of the security group.

      - *
    • - *
    • - *

      - * group-name - The name of the security group.

      - *
    • - *
    • - *

      - * ip-permission.cidr - An IPv4 CIDR block for an inbound security - * group rule.

      - *
    • - *
    • - *

      - * ip-permission.from-port - For an inbound rule, the start of port - * range for the TCP and UDP protocols, or an ICMP type number.

      - *
    • - *
    • - *

      - * ip-permission.group-id - The ID of a security group that has been - * referenced in an inbound security group rule.

      - *
    • - *
    • - *

      - * ip-permission.group-name - The name of a security group that is - * referenced in an inbound security group rule.

      - *
    • - *
    • - *

      - * ip-permission.ipv6-cidr - An IPv6 CIDR block for an inbound security - * group rule.

      + * availability-zone - The Availability Zone where the Reserved Instance can be + * used.

      *
    • *
    • *

      - * ip-permission.prefix-list-id - The ID of a prefix list from which a security group rule allows inbound access.

      + * duration - The duration of the Reserved Instance (for example, one year or + * three years), in seconds (31536000 | 94608000).

      *
    • *
    • *

      - * ip-permission.protocol - The IP protocol for an inbound security - * group rule (tcp | udp | icmp, a - * protocol number, or -1 for all protocols).

      + * fixed-price - The purchase price of the Reserved Instance (for example, + * 9800.0).

      *
    • *
    • *

      - * ip-permission.to-port - For an inbound rule, the end of port range - * for the TCP and UDP protocols, or an ICMP code.

      + * instance-type - The instance type that is covered by the + * reservation.

      *
    • *
    • *

      - * ip-permission.user-id - The ID of an Amazon Web Services account that has been - * referenced in an inbound security group rule.

      + * marketplace - Set to true to show only Reserved Instance + * Marketplace offerings. When this filter is not used, which is the default behavior, all + * offerings from both Amazon Web Services and the Reserved Instance Marketplace are listed.

      *
    • *
    • *

      - * owner-id - The Amazon Web Services account ID of the owner of the security group.

      + * product-description - The Reserved Instance product platform description. + * Instances that include (Amazon VPC) in the product platform description will + * only be displayed to EC2-Classic account holders and are for use with Amazon VPC. + * (Linux/UNIX | Linux/UNIX (Amazon VPC) | SUSE + * Linux | SUSE Linux (Amazon VPC) | Red Hat Enterprise + * Linux | Red Hat Enterprise Linux (Amazon VPC) | Red Hat + * Enterprise Linux with HA (Amazon VPC) | Windows | Windows + * (Amazon VPC) | Windows with SQL Server Standard | Windows with + * SQL Server Standard (Amazon VPC) | Windows with SQL Server Web | + * Windows with SQL Server Web (Amazon VPC) | Windows with SQL Server + * Enterprise | Windows with SQL Server Enterprise (Amazon VPC))

      *
    • *
    • *

      - * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. - * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

      + * reserved-instances-offering-id - The Reserved Instances offering + * ID.

      *
    • *
    • *

      - * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

      + * scope - The scope of the Reserved Instance (Availability Zone or + * Region).

      *
    • *
    • *

      - * vpc-id - The ID of the VPC specified when the security group was created.

      + * usage-price - The usage price of the Reserved Instance, per hour (for + * example, 0.84).

      *
    • *
    */ Filters?: Filter[]; /** - *

    The IDs of the security groups. Required for security groups in a nondefault VPC.

    - *

    Default: Describes all of your security groups.

    + *

    Include Reserved Instance Marketplace offerings in the response.

    */ - GroupIds?: string[]; + IncludeMarketplace?: boolean; /** - *

    [EC2-Classic and default VPC only] The names of the security groups. You can specify either - * the security group name or the security group ID. For security groups in a nondefault VPC, use - * the group-name filter to describe security groups by name.

    - *

    Default: Describes all of your security groups.

    + *

    The instance type that the reservation will cover (for example, m1.small). For more information, see + * Instance types in the + * Amazon EC2 User Guide.

    */ - GroupNames?: string[]; + InstanceType?: _InstanceType | string; /** - *

    Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

    + *

    The maximum duration (in seconds) to filter when searching for offerings.

    + *

    Default: 94608000 (3 years)

    */ - DryRun?: boolean; + MaxDuration?: number; /** - *

    The token to request the next page of results.

    + *

    The maximum number of instances to filter when searching for offerings.

    + *

    Default: 20

    */ - NextToken?: string; + MaxInstanceCount?: number; /** - *

    The maximum number of results to return in a single call. To retrieve the remaining - * results, make another request with the returned NextToken value. This value - * can be between 5 and 1000. If this parameter is not specified, then all results are - * returned.

    + *

    The minimum duration (in seconds) to filter when searching for offerings.

    + *

    Default: 2592000 (1 month)

    */ - MaxResults?: number; -} + MinDuration?: number; -/** - *

    Describes a security group.

    - */ -export interface SecurityGroup { /** - *

    A description of the security group.

    + *

    The offering class of the Reserved Instance. Can be standard or convertible.

    */ - Description?: string; + OfferingClass?: OfferingClassType | string; /** - *

    The name of the security group.

    + *

    The Reserved Instance product platform description. Instances that include (Amazon + * VPC) in the description are for use with Amazon VPC.

    */ - GroupName?: string; + ProductDescription?: RIProductDescription | string; /** - *

    The inbound rules associated with the security group.

    + *

    One or more Reserved Instances offering IDs.

    */ - IpPermissions?: IpPermission[]; + ReservedInstancesOfferingIds?: string[]; /** - *

    The Amazon Web Services account ID of the owner of the security group.

    - */ - OwnerId?: string; + *

    Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

    + */ + DryRun?: boolean; /** - *

    The ID of the security group.

    + *

    The tenancy of the instances covered by the reservation. A Reserved Instance with a tenancy + * of dedicated is applied to instances that run in a VPC on single-tenant hardware + * (i.e., Dedicated Instances).

    + *

    + * Important: The host value cannot be used with this parameter. Use the default or dedicated values only.

    + *

    Default: default + *

    */ - GroupId?: string; + InstanceTenancy?: Tenancy | string; /** - *

    [VPC only] The outbound rules associated with the security group.

    + *

    The maximum number of results to return for the request in a single page. The remaining + * results of the initial request can be seen by sending another request with the returned + * NextToken value. The maximum is 100.

    + *

    Default: 100

    */ - IpPermissionsEgress?: IpPermission[]; + MaxResults?: number; /** - *

    Any tags assigned to the security group.

    + *

    The token to retrieve the next page of results.

    */ - Tags?: Tag[]; + NextToken?: string; /** - *

    [VPC only] The ID of the VPC for the security group.

    + *

    The Reserved Instance offering type. If you are using tools that predate the 2011-11-01 API + * version, you only have access to the Medium Utilization Reserved Instance + * offering type.

    */ - VpcId?: string; + OfferingType?: OfferingTypeValues | string; } -export interface DescribeSecurityGroupsResult { +/** + *

    Describes a Reserved Instance offering.

    + */ +export interface PricingDetail { /** - *

    Information about the security groups.

    + *

    The number of reservations available for the price.

    */ - SecurityGroups?: SecurityGroup[]; + Count?: number; /** - *

    The token to use to retrieve the next page of results. This value is null when there are no more results to return.

    + *

    The price per instance.

    */ - NextToken?: string; + Price?: number; } -export enum SnapshotAttributeName { - createVolumePermission = "createVolumePermission", - productCodes = "productCodes", -} +/** + *

    Describes a Reserved Instance offering.

    + */ +export interface ReservedInstancesOffering { + /** + *

    The Availability Zone in which the Reserved Instance can be used.

    + */ + AvailabilityZone?: string; -export interface DescribeSnapshotAttributeRequest { /** - *

    The snapshot attribute you would like to view.

    + *

    The duration of the Reserved Instance, in seconds.

    */ - Attribute: SnapshotAttributeName | string | undefined; + Duration?: number; /** - *

    The ID of the EBS snapshot.

    + *

    The purchase price of the Reserved Instance.

    */ - SnapshotId: string | undefined; + FixedPrice?: number; /** - *

    Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

    + *

    The instance type on which the Reserved Instance can be used.

    */ - DryRun?: boolean; -} + InstanceType?: _InstanceType | string; -/** - *

    Describes the user or group to be added or removed from the list of create volume - * permissions for a volume.

    - */ -export interface CreateVolumePermission { /** - *

    The group to be added or removed. The possible value is all.

    + *

    The Reserved Instance product platform description.

    */ - Group?: PermissionGroup | string; + ProductDescription?: RIProductDescription | string; /** - *

    The ID of the Amazon Web Services account to be added or removed.

    + *

    The ID of the Reserved Instance offering. This is the offering ID used in GetReservedInstancesExchangeQuote + * to confirm that an exchange can be made.

    */ - UserId?: string; -} + ReservedInstancesOfferingId?: string; -export interface DescribeSnapshotAttributeResult { /** - *

    The users and groups that have the permissions for creating volumes from the - * snapshot.

    + *

    The usage price of the Reserved Instance, per hour.

    */ - CreateVolumePermissions?: CreateVolumePermission[]; + UsagePrice?: number; /** - *

    The product codes.

    + *

    The currency of the Reserved Instance offering you are purchasing. It's + * specified using ISO 4217 standard currency codes. At this time, + * the only supported currency is USD.

    */ - ProductCodes?: ProductCode[]; + CurrencyCode?: CurrencyCodeValues | string; /** - *

    The ID of the EBS snapshot.

    + *

    The tenancy of the instance.

    */ - SnapshotId?: string; + InstanceTenancy?: Tenancy | string; + + /** + *

    Indicates whether the offering is available through the Reserved Instance Marketplace (resale) or Amazon Web Services. + * If it's a Reserved Instance Marketplace offering, this is true.

    + */ + Marketplace?: boolean; + + /** + *

    If convertible it can be exchanged for Reserved Instances of + * the same or higher monetary value, with different configurations. If standard, it is not + * possible to perform an exchange.

    + */ + OfferingClass?: OfferingClassType | string; + + /** + *

    The Reserved Instance offering type.

    + */ + OfferingType?: OfferingTypeValues | string; + + /** + *

    The pricing details of the Reserved Instance offering.

    + */ + PricingDetails?: PricingDetail[]; + + /** + *

    The recurring charge tag assigned to the resource.

    + */ + RecurringCharges?: RecurringCharge[]; + + /** + *

    Whether the Reserved Instance is applied to instances in a Region or an Availability Zone.

    + */ + Scope?: Scope | string; } -export interface DescribeSnapshotsRequest { +/** + *

    Contains the output of DescribeReservedInstancesOfferings.

    + */ +export interface DescribeReservedInstancesOfferingsResult { /** - *

    The filters.

    + *

    A list of Reserved Instances offerings.

    + */ + ReservedInstancesOfferings?: ReservedInstancesOffering[]; + + /** + *

    The token to use to retrieve the next page of results. This value is null when + * there are no more results to return.

    + */ + NextToken?: string; +} + +export interface DescribeRouteTablesRequest { + /** + *

    One or more filters.

    *
      *
    • *

      - * description - A description of the snapshot.

      + * association.route-table-association-id - The ID of an association + * ID for the route table.

      *
    • *
    • *

      - * encrypted - Indicates whether the snapshot is encrypted - * (true | false)

      + * association.route-table-id - The ID of the route table involved in + * the association.

      *
    • *
    • *

      - * owner-alias - The owner alias, from an Amazon-maintained list - * (amazon). - * This is not the user-configured Amazon Web Services account alias set using the IAM console. - * We recommend that you use the related parameter instead of this filter.

      + * association.subnet-id - The ID of the subnet involved in the + * association.

      *
    • *
    • *

      - * owner-id - The Amazon Web Services account ID of the owner. We recommend that - * you use the related parameter instead of this filter.

      + * association.main - Indicates whether the route table is the main + * route table for the VPC (true | false). Route tables + * that do not have an association ID are not returned in the response.

      *
    • *
    • *

      - * progress - The progress of the snapshot, as a percentage (for example, - * 80%).

      + * owner-id - The ID of the Amazon Web Services account that owns the route table.

      *
    • *
    • *

      - * snapshot-id - The snapshot ID.

      + * route-table-id - The ID of the route table.

      *
    • *
    • *

      - * start-time - The time stamp when the snapshot was initiated.

      + * route.destination-cidr-block - The IPv4 CIDR range specified in a + * route in the table.

      *
    • *
    • *

      - * status - The status of the snapshot (pending | - * completed | error).

      + * route.destination-ipv6-cidr-block - The IPv6 CIDR range specified in a route in the route table.

      *
    • *
    • *

      - * storage-tier - The storage tier of the snapshot (archive | - * standard).

      + * route.destination-prefix-list-id - The ID (prefix) of the Amazon Web Service + * specified in a route in the table.

      *
    • *
    • *

      - * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. - * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

      + * route.egress-only-internet-gateway-id - The ID of an + * egress-only Internet gateway specified in a route in the route table.

      *
    • *
    • *

      - * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

      + * route.gateway-id - The ID of a gateway specified in a route in the table.

      *
    • *
    • *

      - * volume-id - The ID of the volume the snapshot is for.

      + * route.instance-id - The ID of an instance specified in a route in the table.

      *
    • *
    • *

      - * volume-size - The size of the volume, in GiB.

      + * route.nat-gateway-id - The ID of a NAT gateway.

      + *
    • + *
    • + *

      + * route.transit-gateway-id - The ID of a transit gateway.

      + *
    • + *
    • + *

      + * route.origin - Describes how the route was created. + * CreateRouteTable indicates that the route was automatically + * created when the route table was created; CreateRoute indicates + * that the route was manually added to the route table; + * EnableVgwRoutePropagation indicates that the route was + * propagated by route propagation.

      + *
    • + *
    • + *

      + * route.state - The state of a route in the route table + * (active | blackhole). The blackhole state + * indicates that the route's target isn't available (for example, the specified + * gateway isn't attached to the VPC, the specified NAT instance has been + * terminated, and so on).

      + *
    • + *
    • + *

      + * route.vpc-peering-connection-id - The ID of a VPC peering + * connection specified in a route in the table.

      + *
    • + *
    • + *

      + * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. + * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

      + *
    • + *
    • + *

      + * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

      + *
    • + *
    • + *

      + * vpc-id - The ID of the VPC for the route table.

      *
    • *
    */ Filters?: Filter[]; /** - *

    The maximum number of snapshot results returned by DescribeSnapshots in - * paginated output. When this parameter is used, DescribeSnapshots only returns - * MaxResults results in a single page along with a NextToken - * response element. The remaining results of the initial request can be seen by sending another - * DescribeSnapshots request with the returned NextToken value. This - * value can be between 5 and 1,000; if MaxResults is given a value larger than 1,000, - * only 1,000 results are returned. If this parameter is not used, then - * DescribeSnapshots returns all results. You cannot specify this parameter and - * the snapshot IDs parameter in the same request.

    + *

    Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

    */ - MaxResults?: number; + DryRun?: boolean; /** - *

    The NextToken value returned from a previous paginated - * DescribeSnapshots request where MaxResults was used and the - * results exceeded the value of that parameter. Pagination continues from the end of the - * previous results that returned the NextToken value. This value is - * null when there are no more results to return.

    + *

    One or more route table IDs.

    + *

    Default: Describes all your route tables.

    + */ + RouteTableIds?: string[]; + + /** + *

    The token for the next page of results.

    */ NextToken?: string; /** - *

    Scopes the results to snapshots with the specified owners. You can specify a combination of - * Amazon Web Services account IDs, self, and amazon.

    + *

    The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

    */ - OwnerIds?: string[]; + MaxResults?: number; +} +/** + *

    Contains the output of DescribeRouteTables.

    + */ +export interface DescribeRouteTablesResult { /** - *

    The IDs of the Amazon Web Services accounts that can create volumes from the snapshot.

    + *

    Information about one or more route tables.

    */ - RestorableByUserIds?: string[]; + RouteTables?: RouteTable[]; /** - *

    The snapshot IDs.

    - *

    Default: Describes the snapshots for which you have create volume permissions.

    + *

    The token to use to retrieve the next page of results. This value is null when there are no more results to return.

    */ - SnapshotIds?: string[]; + NextToken?: string; +} + +/** + *

    Describes the time period for a Scheduled Instance to start its first schedule. The time period must span less than one day.

    + */ +export interface SlotDateTimeRangeRequest { + /** + *

    The earliest date and time, in UTC, for the Scheduled Instance to start.

    + */ + EarliestTime: Date | undefined; /** - *

    Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

    + *

    The latest date and time, in UTC, for the Scheduled Instance to start. This value must be later than or equal to the earliest date and at most three months in the future.

    */ - DryRun?: boolean; + LatestTime: Date | undefined; } -export interface DescribeSnapshotsResult { +/** + *

    Describes the recurring schedule for a Scheduled Instance.

    + */ +export interface ScheduledInstanceRecurrenceRequest { /** - *

    Information about the snapshots.

    + *

    The frequency (Daily, Weekly, or Monthly).

    */ - Snapshots?: Snapshot[]; + Frequency?: string; /** - *

    The NextToken value to include in a future DescribeSnapshots - * request. When the results of a DescribeSnapshots request exceed - * MaxResults, this value can be used to retrieve the next page of results. This - * value is null when there are no more results to return.

    + *

    The interval quantity. The interval unit depends on the value of Frequency. For example, every 2 + * weeks or every 2 months.

    */ - NextToken?: string; + Interval?: number; + + /** + *

    The days. For a monthly schedule, this is one or more days of the month (1-31). For a weekly schedule, this is one or more days of the week (1-7, where 1 is Sunday). You can't specify this value with a daily schedule. If the occurrence is relative to the end of the month, you can specify only a single day.

    + */ + OccurrenceDays?: number[]; + + /** + *

    Indicates whether the occurrence is relative to the end of the specified week or month. You can't specify this value with a daily schedule.

    + */ + OccurrenceRelativeToEnd?: boolean; + + /** + *

    The unit for OccurrenceDays (DayOfWeek or DayOfMonth). + * This value is required for a monthly schedule. + * You can't specify DayOfWeek with a weekly schedule. + * You can't specify this value with a daily schedule.

    + */ + OccurrenceUnit?: string; } -export interface DescribeSnapshotTierStatusRequest { +/** + *

    Contains the parameters for DescribeScheduledInstanceAvailability.

    + */ +export interface DescribeScheduledInstanceAvailabilityRequest { + /** + *

    Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

    + */ + DryRun?: boolean; + /** *

    The filters.

    *
      *
    • *

      - * snapshot-id - The snapshot ID.

      + * availability-zone - The Availability Zone (for example, us-west-2a).

      *
    • *
    • *

      - * volume-id - The ID of the volume the snapshot is for.

      + * instance-type - The instance type (for example, c4.large).

      *
    • *
    • *

      - * last-tiering-operation - The state of the last archive or restore action. (archival-in-progress | archival-completed | - * archival-failed | permanent-restore-in-progress | permanent-restore-completed | permanent-restore-failed | - * temporary-restore-in-progress | temporary-restore-completed | temporary-restore-failed)

      + * network-platform - The network platform (EC2-Classic or EC2-VPC).

      + *
    • + *
    • + *

      + * platform - The platform (Linux/UNIX or Windows).

      *
    • *
    */ Filters?: Filter[]; /** - *

    Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

    - */ - DryRun?: boolean; - - /** - *

    The token for the next page of results.

    + *

    The time period for the first schedule to start.

    */ - NextToken?: string; + FirstSlotStartTimeRange: SlotDateTimeRangeRequest | undefined; /** - *

    The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

    + *

    The maximum number of results to return in a single call. + * This value can be between 5 and 300. The default value is 300. + * To retrieve the remaining results, make another call with the returned + * NextToken value.

    */ MaxResults?: number; -} - -export enum TieringOperationStatus { - archival_completed = "archival-completed", - archival_failed = "archival-failed", - archival_in_progress = "archival-in-progress", - permanent_restore_completed = "permanent-restore-completed", - permanent_restore_failed = "permanent-restore-failed", - permanent_restore_in_progress = "permanent-restore-in-progress", - temporary_restore_completed = "temporary-restore-completed", - temporary_restore_failed = "temporary-restore-failed", - temporary_restore_in_progress = "temporary-restore-in-progress", -} -/** - *

    Provides information about a snapshot's storage tier.

    - */ -export interface SnapshotTierStatus { /** - *

    The ID of the snapshot.

    + *

    The maximum available duration, in hours. This value must be greater than MinSlotDurationInHours + * and less than 1,720.

    */ - SnapshotId?: string; + MaxSlotDurationInHours?: number; /** - *

    The ID of the volume from which the snapshot was created.

    + *

    The minimum available duration, in hours. The minimum required duration is 1,200 hours per year. For example, the minimum daily schedule is 4 hours, the minimum weekly schedule is 24 hours, and the minimum monthly schedule is 100 hours.

    */ - VolumeId?: string; + MinSlotDurationInHours?: number; /** - *

    The state of the snapshot.

    + *

    The token for the next set of results.

    */ - Status?: SnapshotState | string; + NextToken?: string; /** - *

    The ID of the Amazon Web Services account that owns the snapshot.

    + *

    The schedule recurrence.

    */ - OwnerId?: string; + Recurrence: ScheduledInstanceRecurrenceRequest | undefined; +} +/** + *

    Describes the recurring schedule for a Scheduled Instance.

    + */ +export interface ScheduledInstanceRecurrence { /** - *

    The tags that are assigned to the snapshot.

    + *

    The frequency (Daily, Weekly, or Monthly).

    */ - Tags?: Tag[]; + Frequency?: string; /** - *

    The storage tier in which the snapshot is stored. standard indicates - * that the snapshot is stored in the standard snapshot storage tier and that it is ready - * for use. archive indicates that the snapshot is currently archived and that - * it must be restored before it can be used.

    + *

    The interval quantity. The interval unit depends on the value of frequency. For example, every 2 + * weeks or every 2 months.

    */ - StorageTier?: StorageTier | string; + Interval?: number; /** - *

    The date and time when the last archive or restore process was started.

    + *

    The days. For a monthly schedule, this is one or more days of the month (1-31). For a weekly schedule, this is one or more days of the week (1-7, where 1 is Sunday).

    */ - LastTieringStartTime?: Date; + OccurrenceDaySet?: number[]; /** - *

    The progress of the last archive or restore process, as a percentage.

    + *

    Indicates whether the occurrence is relative to the end of the specified week or month.

    */ - LastTieringProgress?: number; + OccurrenceRelativeToEnd?: boolean; /** - *

    The status of the last archive or restore process.

    + *

    The unit for occurrenceDaySet (DayOfWeek or DayOfMonth).

    */ - LastTieringOperationStatus?: TieringOperationStatus | string; + OccurrenceUnit?: string; +} +/** + *

    Describes a schedule that is available for your Scheduled Instances.

    + */ +export interface ScheduledInstanceAvailability { /** - *

    A message describing the status of the last archive or restore process.

    + *

    The Availability Zone.

    */ - LastTieringOperationStatusDetail?: string; + AvailabilityZone?: string; /** - *

    The date and time when the last archive process was completed.

    + *

    The number of available instances.

    */ - ArchivalCompleteTime?: Date; + AvailableInstanceCount?: number; /** - *

    Only for archived snapshots that are temporarily restored. Indicates the date and - * time when a temporarily restored snapshot will be automatically re-archived.

    + *

    The time period for the first schedule to start.

    */ - RestoreExpiryTime?: Date; -} + FirstSlotStartTime?: Date; -export interface DescribeSnapshotTierStatusResult { /** - *

    Information about the snapshot's storage tier.

    + *

    The hourly price for a single instance.

    */ - SnapshotTierStatuses?: SnapshotTierStatus[]; + HourlyPrice?: string; /** - *

    The token to use to retrieve the next page of results. This value is null when there are no more results to return.

    + *

    The instance type. You can specify one of the C3, C4, M4, or R3 instance types.

    */ - NextToken?: string; -} + InstanceType?: string; -/** - *

    Contains the parameters for DescribeSpotDatafeedSubscription.

    - */ -export interface DescribeSpotDatafeedSubscriptionRequest { /** - *

    Checks whether you have the required permissions for the action, without actually - * making the request, and provides an error response. If you have the required - * permissions, the error response is DryRunOperation. Otherwise, it is - * UnauthorizedOperation.

    + *

    The maximum term. The only possible value is 365 days.

    */ - DryRun?: boolean; -} + MaxTermDurationInDays?: number; -/** - *

    Contains the output of DescribeSpotDatafeedSubscription.

    - */ -export interface DescribeSpotDatafeedSubscriptionResult { /** - *

    The Spot Instance data feed subscription.

    + *

    The minimum term. The only possible value is 365 days.

    */ - SpotDatafeedSubscription?: SpotDatafeedSubscription; -} + MinTermDurationInDays?: number; -/** - *

    Contains the parameters for DescribeSpotFleetInstances.

    - */ -export interface DescribeSpotFleetInstancesRequest { /** - *

    Checks whether you have the required permissions for the action, without actually - * making the request, and provides an error response. If you have the required - * permissions, the error response is DryRunOperation. Otherwise, it is - * UnauthorizedOperation.

    + *

    The network platform (EC2-Classic or EC2-VPC).

    */ - DryRun?: boolean; + NetworkPlatform?: string; /** - *

    The maximum number of results to return in a single call. Specify a value between 1 - * and 1000. The default value is 1000. To retrieve the remaining results, make another - * call with the returned NextToken value.

    + *

    The platform (Linux/UNIX or Windows).

    */ - MaxResults?: number; + Platform?: string; /** - *

    The token for the next set of results.

    + *

    The purchase token. This token expires in two hours.

    */ - NextToken?: string; + PurchaseToken?: string; /** - *

    The ID of the Spot Fleet request.

    - */ - SpotFleetRequestId: string | undefined; -} - -/** - *

    Contains the output of DescribeSpotFleetInstances.

    - */ -export interface DescribeSpotFleetInstancesResponse { - /** - *

    The running instances. This list is refreshed periodically and might be out of - * date.

    + *

    The schedule recurrence.

    */ - ActiveInstances?: ActiveInstance[]; + Recurrence?: ScheduledInstanceRecurrence; /** - *

    The token required to retrieve the next set of results. This value is - * null when there are no more results to return.

    + *

    The number of hours in the schedule.

    */ - NextToken?: string; + SlotDurationInHours?: number; /** - *

    The ID of the Spot Fleet request.

    + *

    The total number of hours for a single instance for the entire term.

    */ - SpotFleetRequestId?: string; -} - -export enum EventType { - BATCH_CHANGE = "fleetRequestChange", - ERROR = "error", - INFORMATION = "information", - INSTANCE_CHANGE = "instanceChange", + TotalScheduledInstanceHours?: number; } /** - *

    Contains the parameters for DescribeSpotFleetRequestHistory.

    + *

    Contains the output of DescribeScheduledInstanceAvailability.

    */ -export interface DescribeSpotFleetRequestHistoryRequest { - /** - *

    Checks whether you have the required permissions for the action, without actually - * making the request, and provides an error response. If you have the required - * permissions, the error response is DryRunOperation. Otherwise, it is - * UnauthorizedOperation.

    - */ - DryRun?: boolean; - - /** - *

    The type of events to describe. By default, all events are described.

    - */ - EventType?: EventType | string; - +export interface DescribeScheduledInstanceAvailabilityResult { /** - *

    The maximum number of results to return in a single call. Specify a value between 1 - * and 1000. The default value is 1000. To retrieve the remaining results, make another - * call with the returned NextToken value.

    + *

    The token required to retrieve the next set of results. This value is null when there are no more results to return.

    */ - MaxResults?: number; + NextToken?: string; /** - *

    The token for the next set of results.

    + *

    Information about the available Scheduled Instances.

    */ - NextToken?: string; + ScheduledInstanceAvailabilitySet?: ScheduledInstanceAvailability[]; +} +/** + *

    Describes the time period for a Scheduled Instance to start its first schedule.

    + */ +export interface SlotStartTimeRangeRequest { /** - *

    The ID of the Spot Fleet request.

    + *

    The earliest date and time, in UTC, for the Scheduled Instance to start.

    */ - SpotFleetRequestId: string | undefined; + EarliestTime?: Date; /** - *

    The starting date and time for the events, in UTC format (for example, - * YYYY-MM-DDTHH:MM:SSZ).

    + *

    The latest date and time, in UTC, for the Scheduled Instance to start.

    */ - StartTime: Date | undefined; + LatestTime?: Date; } /** - *

    Describes an event in the history of the Spot Fleet request.

    + *

    Contains the parameters for DescribeScheduledInstances.

    */ -export interface HistoryRecord { +export interface DescribeScheduledInstancesRequest { /** - *

    Information about the event.

    + *

    Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

    */ - EventInformation?: EventInformation; + DryRun?: boolean; /** - *

    The event type.

    + *

    The filters.

    *
      *
    • *

      - * error - An error with the Spot Fleet request.

      + * availability-zone - The Availability Zone (for example, us-west-2a).

      *
    • *
    • *

      - * fleetRequestChange - A change in the status or configuration of - * the Spot Fleet request.

      + * instance-type - The instance type (for example, c4.large).

      *
    • *
    • *

      - * instanceChange - An instance was launched or terminated.

      + * network-platform - The network platform (EC2-Classic or EC2-VPC).

      *
    • *
    • *

      - * Information - An informational event.

      + * platform - The platform (Linux/UNIX or Windows).

      *
    • *
    */ - EventType?: EventType | string; - - /** - *

    The date and time of the event, in UTC format (for example, - * YYYY-MM-DDTHH:MM:SSZ).

    - */ - Timestamp?: Date; -} - -/** - *

    Contains the output of DescribeSpotFleetRequestHistory.

    - */ -export interface DescribeSpotFleetRequestHistoryResponse { - /** - *

    Information about the events in the history of the Spot Fleet request.

    - */ - HistoryRecords?: HistoryRecord[]; + Filters?: Filter[]; /** - *

    The last date and time for the events, in UTC format (for example, - * YYYY-MM-DDTHH:MM:SSZ). - * All records up to this time were retrieved.

    - *

    If nextToken indicates that there are more results, this value is not - * present.

    + *

    The maximum number of results to return in a single call. + * This value can be between 5 and 300. The default value is 100. + * To retrieve the remaining results, make another call with the returned + * NextToken value.

    */ - LastEvaluatedTime?: Date; + MaxResults?: number; /** - *

    The token required to retrieve the next set of results. This value is - * null when there are no more results to return.

    + *

    The token for the next set of results.

    */ NextToken?: string; /** - *

    The ID of the Spot Fleet request.

    + *

    The Scheduled Instance IDs.

    */ - SpotFleetRequestId?: string; + ScheduledInstanceIds?: string[]; /** - *

    The starting date and time for the events, in UTC format (for example, - * YYYY-MM-DDTHH:MM:SSZ).

    + *

    The time period for the first schedule to start.

    */ - StartTime?: Date; + SlotStartTimeRange?: SlotStartTimeRangeRequest; } /** - *

    Contains the parameters for DescribeSpotFleetRequests.

    + *

    Describes a Scheduled Instance.

    */ -export interface DescribeSpotFleetRequestsRequest { +export interface ScheduledInstance { /** - *

    Checks whether you have the required permissions for the action, without actually - * making the request, and provides an error response. If you have the required - * permissions, the error response is DryRunOperation. Otherwise, it is - * UnauthorizedOperation.

    + *

    The Availability Zone.

    */ - DryRun?: boolean; + AvailabilityZone?: string; /** - *

    The maximum number of results to return in a single call. Specify a value between 1 - * and 1000. The default value is 1000. To retrieve the remaining results, make another - * call with the returned NextToken value.

    + *

    The date when the Scheduled Instance was purchased.

    */ - MaxResults?: number; + CreateDate?: Date; /** - *

    The token for the next set of results.

    + *

    The hourly price for a single instance.

    */ - NextToken?: string; + HourlyPrice?: string; /** - *

    The IDs of the Spot Fleet requests.

    + *

    The number of instances.

    */ - SpotFleetRequestIds?: string[]; -} - -export enum ExcessCapacityTerminationPolicy { - DEFAULT = "default", - NO_TERMINATION = "noTermination", -} + InstanceCount?: number; -/** - *

    Describes whether monitoring is enabled.

    - */ -export interface SpotFleetMonitoring { /** - *

    Enables monitoring for the instance.

    - *

    Default: false - *

    + *

    The instance type.

    */ - Enabled?: boolean; -} + InstanceType?: string; -/** - *

    Describes a network interface.

    - */ -export interface InstanceNetworkInterfaceSpecification { /** - *

    Indicates whether to assign a public IPv4 address to an instance you launch in a VPC. The - * public IP address can only be assigned to a network interface for eth0, and can only be - * assigned to a new network interface, not an existing one. You cannot specify more than one - * network interface in the request. If launching into a default subnet, the default value is - * true.

    + *

    The network platform (EC2-Classic or EC2-VPC).

    */ - AssociatePublicIpAddress?: boolean; + NetworkPlatform?: string; /** - *

    If set to true, the interface is deleted when the instance is terminated. You can - * specify true only if creating a new network interface when launching an - * instance.

    + *

    The time for the next schedule to start.

    */ - DeleteOnTermination?: boolean; + NextSlotStartTime?: Date; /** - *

    The description of the network interface. Applies only if creating a network interface when launching an instance.

    + *

    The platform (Linux/UNIX or Windows).

    */ - Description?: string; + Platform?: string; /** - *

    The position of the network interface in the attachment order. - * A primary network interface has a device index of 0.

    - *

    If you specify a network interface when launching an instance, - * you must specify the device index.

    + *

    The time that the previous schedule ended or will end.

    */ - DeviceIndex?: number; + PreviousSlotEndTime?: Date; /** - *

    The IDs of the security groups for the network interface. Applies only if creating a network interface when launching an instance.

    + *

    The schedule recurrence.

    */ - Groups?: string[]; + Recurrence?: ScheduledInstanceRecurrence; /** - *

    A number of IPv6 addresses to assign to the network interface. Amazon EC2 chooses - * the IPv6 addresses from the range of the subnet. You cannot specify this option and the - * option to assign specific IPv6 addresses in the same request. You can specify this - * option if you've specified a minimum number of instances to launch.

    + *

    The Scheduled Instance ID.

    */ - Ipv6AddressCount?: number; + ScheduledInstanceId?: string; /** - *

    The IPv6 addresses to assign to the network interface. You cannot specify - * this option and the option to assign a number of IPv6 addresses in the same request. You - * cannot specify this option if you've specified a minimum number of instances to - * launch.

    + *

    The number of hours in the schedule.

    */ - Ipv6Addresses?: InstanceIpv6Address[]; + SlotDurationInHours?: number; /** - *

    The ID of the network interface.

    - *

    If you are creating a Spot Fleet, omit this parameter because you can’t specify a network interface ID in a launch specification.

    + *

    The end date for the Scheduled Instance.

    */ - NetworkInterfaceId?: string; + TermEndDate?: Date; /** - *

    The private IPv4 address of the network interface. Applies only if creating a network interface when launching an instance. You cannot specify this option if you're launching - * more than one instance in a RunInstances request.

    + *

    The start date for the Scheduled Instance.

    */ - PrivateIpAddress?: string; + TermStartDate?: Date; /** - *

    The private IPv4 addresses to assign to the network interface. Only one private IPv4 address can be designated as primary. You cannot specify this option if you're - * launching more than one instance in a RunInstances request.

    + *

    The total number of hours for a single instance for the entire term.

    */ - PrivateIpAddresses?: PrivateIpAddressSpecification[]; + TotalScheduledInstanceHours?: number; +} +/** + *

    Contains the output of DescribeScheduledInstances.

    + */ +export interface DescribeScheduledInstancesResult { /** - *

    The number of secondary private IPv4 addresses. You can't specify this option and specify more than one private IP address using the private IP addresses option. You cannot specify this option if you're - * launching more than one instance in a RunInstances request.

    + *

    The token required to retrieve the next set of results. This value is null when there are no more results to return.

    */ - SecondaryPrivateIpAddressCount?: number; + NextToken?: string; /** - *

    The ID of the subnet associated with the network interface. Applies only if creating a network interface when launching an instance.

    + *

    Information about the Scheduled Instances.

    */ - SubnetId?: string; + ScheduledInstanceSet?: ScheduledInstance[]; +} +export interface DescribeSecurityGroupReferencesRequest { /** - *

    Indicates whether to assign a carrier IP address to the network interface.

    - *

    You can only assign a carrier IP address to a network interface that is in a subnet in - * a Wavelength Zone. For more information about carrier IP addresses, see Carrier IP address in the Amazon Web Services Wavelength Developer - * Guide.

    - */ - AssociateCarrierIpAddress?: boolean; - - /** - *

    The type of network interface.

    - *

    Valid values: interface | efa - *

    - */ - InterfaceType?: string; - - /** - *

    The index of the network card. Some instance types support multiple network cards. - * The primary network interface must be assigned to network card index 0. - * The default is network card index 0.

    - *

    If you are using RequestSpotInstances to create Spot Instances, omit this parameter because - * you can’t specify the network card index when using this API. To specify the network - * card index, use RunInstances.

    - */ - NetworkCardIndex?: number; - - /** - *

    The IPv4 delegated prefixes to be assigned to the network interface. You cannot - * use this option if you use the Ipv4PrefixCount option.

    - */ - Ipv4Prefixes?: Ipv4PrefixSpecificationRequest[]; - - /** - *

    The number of IPv4 delegated prefixes to be automatically assigned to the network interface. - * You cannot use this option if you use the Ipv4Prefix option.

    - */ - Ipv4PrefixCount?: number; - - /** - *

    The IPv6 delegated prefixes to be assigned to the network interface. You cannot - * use this option if you use the Ipv6PrefixCount option.

    + *

    Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

    */ - Ipv6Prefixes?: Ipv6PrefixSpecificationRequest[]; + DryRun?: boolean; /** - *

    The number of IPv6 delegated prefixes to be automatically assigned to the network interface. - * You cannot use this option if you use the Ipv6Prefix option.

    + *

    The IDs of the security groups in your account.

    */ - Ipv6PrefixCount?: number; + GroupId: string[] | undefined; } /** - *

    Describes Spot Instance placement.

    + *

    Describes a VPC with a security group that references your security group.

    */ -export interface SpotPlacement { +export interface SecurityGroupReference { /** - *

    The Availability Zone.

    - *

    [Spot Fleet only] To specify multiple Availability Zones, separate them using commas; - * for example, "us-west-2a, us-west-2b".

    + *

    The ID of your security group.

    */ - AvailabilityZone?: string; + GroupId?: string; /** - *

    The name of the placement group.

    + *

    The ID of the VPC with the referencing security group.

    */ - GroupName?: string; + ReferencingVpcId?: string; /** - *

    The tenancy of the instance (if the instance is running in a VPC). An instance with a - * tenancy of dedicated runs on single-tenant hardware. The host - * tenancy is not supported for Spot Instances.

    + *

    The ID of the VPC peering connection.

    */ - Tenancy?: Tenancy | string; + VpcPeeringConnectionId?: string; } -/** - *

    The tags for a Spot Fleet resource.

    - */ -export interface SpotFleetTagSpecification { - /** - *

    The type of resource. Currently, the only resource type that is supported is - * instance. To tag the Spot Fleet request on creation, use the - * TagSpecifications parameter in - * SpotFleetRequestConfigData - * .

    - */ - ResourceType?: ResourceType | string; - +export interface DescribeSecurityGroupReferencesResult { /** - *

    The tags.

    + *

    Information about the VPCs with the referencing security groups.

    */ - Tags?: Tag[]; + SecurityGroupReferenceSet?: SecurityGroupReference[]; } -/** - *

    Describes the launch specification for one or more Spot Instances. If you include - * On-Demand capacity in your fleet request or want to specify an EFA network device, you - * can't use SpotFleetLaunchSpecification; you must use LaunchTemplateConfig.

    - */ -export interface SpotFleetLaunchSpecification { - /** - *

    One or more security groups. When requesting instances in a VPC, you must specify the IDs of the security groups. When requesting instances in EC2-Classic, you can specify the names or the IDs of the security groups.

    - */ - SecurityGroups?: GroupIdentifier[]; - - /** - *

    Deprecated.

    - */ - AddressingType?: string; - - /** - *

    One or more block devices that are mapped to the Spot Instances. You can't specify both - * a snapshot ID and an encryption value. This is because only blank volumes can be - * encrypted on creation. If a snapshot is the basis for a volume, it is not blank and its - * encryption status is used for the volume encryption status.

    - */ - BlockDeviceMappings?: BlockDeviceMapping[]; - - /** - *

    Indicates whether the instances are optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.

    - *

    Default: false - *

    - */ - EbsOptimized?: boolean; - - /** - *

    The IAM instance profile.

    - */ - IamInstanceProfile?: IamInstanceProfileSpecification; - - /** - *

    The ID of the AMI.

    - */ - ImageId?: string; - - /** - *

    The instance type.

    - */ - InstanceType?: _InstanceType | string; - - /** - *

    The ID of the kernel.

    - */ - KernelId?: string; - - /** - *

    The name of the key pair.

    - */ - KeyName?: string; - - /** - *

    Enable or disable monitoring for the instances.

    - */ - Monitoring?: SpotFleetMonitoring; - - /** - *

    One or more network interfaces. If you specify a network interface, you must specify - * subnet IDs and security group IDs using the network interface.

    - * - *

    - * SpotFleetLaunchSpecification currently does not support Elastic Fabric Adapter (EFA). To specify an EFA, you must use LaunchTemplateConfig.

    - *
    - */ - NetworkInterfaces?: InstanceNetworkInterfaceSpecification[]; - - /** - *

    The placement information.

    - */ - Placement?: SpotPlacement; - - /** - *

    The ID of the RAM disk. Some kernels require additional drivers at launch. Check the kernel - * requirements for information about whether you need to specify a RAM disk. To find kernel - * requirements, refer to the Amazon Web Services Resource Center and search for the kernel ID.

    - */ - RamdiskId?: string; - - /** - *

    The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend using this parameter because it can lead to - * increased interruptions. If you do not specify this parameter, you will pay the current Spot price.

    - * - *

    If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.

    - *
    - */ - SpotPrice?: string; - +export interface DescribeSecurityGroupRulesRequest { /** - *

    The IDs of the subnets in which to launch the instances. To specify multiple subnets, separate - * them using commas; for example, "subnet-1234abcdeexample1, subnet-0987cdef6example2".

    + *

    One or more filters.

    + *
      + *
    • + *

      + * group-id - The ID of the security group.

      + *
    • + *
    • + *

      + * security-group-rule-id - The ID of the security group rule.

      + *
    • + *
    • + *

      + * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. + * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

      + *
    • + *
    */ - SubnetId?: string; + Filters?: Filter[]; /** - *

    The Base64-encoded user data that instances use when starting up.

    + *

    The IDs of the security group rules.

    */ - UserData?: string; + SecurityGroupRuleIds?: string[]; /** - *

    The number of units provided by the specified instance type. These are the same units that you chose to set the target capacity in terms of instances, or a performance characteristic such as vCPUs, memory, or I/O.

    - *

    If the target capacity divided by this value is not a whole number, Amazon EC2 rounds the number of instances to the next whole number. If this value is not specified, the default is 1.

    + *

    Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

    */ - WeightedCapacity?: number; + DryRun?: boolean; /** - *

    The tags to apply during creation.

    + *

    The token for the next page of results.

    */ - TagSpecifications?: SpotFleetTagSpecification[]; + NextToken?: string; /** - *

    The attributes for the instance types. When you specify instance attributes, Amazon EC2 will - * identify instance types with those attributes.

    - * - *

    If you specify InstanceRequirements, you can't specify - * InstanceType.

    - *
    + *

    The maximum number of results to return in a single call. To retrieve the remaining + * results, make another request with the returned NextToken value. This value + * can be between 5 and 1000. If this parameter is not specified, then all results are + * returned.

    */ - InstanceRequirements?: InstanceRequirements; + MaxResults?: number; } -/** - *

    Describes overrides for a launch template.

    - */ -export interface LaunchTemplateOverrides { - /** - *

    The instance type.

    - */ - InstanceType?: _InstanceType | string; - - /** - *

    The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend using this parameter because it can lead to - * increased interruptions. If you do not specify this parameter, you will pay the current Spot price.

    - * - *

    If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.

    - *
    - */ - SpotPrice?: string; - +export interface DescribeSecurityGroupRulesResult { /** - *

    The ID of the subnet in which to launch the instances.

    + *

    Information about security group rules.

    */ - SubnetId?: string; + SecurityGroupRules?: SecurityGroupRule[]; /** - *

    The Availability Zone in which to launch the instances.

    + *

    The token to use to retrieve the next page of results. This value is null when there are no more results to return.

    */ - AvailabilityZone?: string; + NextToken?: string; +} +export interface DescribeSecurityGroupsRequest { /** - *

    The number of units provided by the specified instance type.

    - */ - WeightedCapacity?: number; + *

    The filters. If using multiple filters for rules, the results include security groups for which any combination of rules - not necessarily a single rule - match all filters.

    + *
      + *
    • + *

      + * description - The description of the security group.

      + *
    • + *
    • + *

      + * egress.ip-permission.cidr - An IPv4 CIDR block for an outbound + * security group rule.

      + *
    • + *
    • + *

      + * egress.ip-permission.from-port - For an outbound rule, the + * start of port range for the TCP and UDP protocols, or an ICMP type + * number.

      + *
    • + *
    • + *

      + * egress.ip-permission.group-id - The ID of a security group + * that has been referenced in an outbound security group rule.

      + *
    • + *
    • + *

      + * egress.ip-permission.group-name - The name of a security group + * that is referenced in an outbound security group rule.

      + *
    • + *
    • + *

      + * egress.ip-permission.ipv6-cidr - An IPv6 CIDR block for an + * outbound security group rule.

      + *
    • + *
    • + *

      + * egress.ip-permission.prefix-list-id - The ID of a prefix list to which a security group rule allows outbound access.

      + *
    • + *
    • + *

      + * egress.ip-permission.protocol - The IP protocol for an + * outbound security group rule (tcp | udp | + * icmp, a protocol number, or -1 for all protocols).

      + *
    • + *
    • + *

      + * egress.ip-permission.to-port - For an outbound rule, the end + * of port range for the TCP and UDP protocols, or an ICMP code.

      + *
    • + *
    • + *

      + * egress.ip-permission.user-id - The ID of an Amazon Web Services account that + * has been referenced in an outbound security group rule.

      + *
    • + *
    • + *

      + * group-id - The ID of the security group.

      + *
    • + *
    • + *

      + * group-name - The name of the security group.

      + *
    • + *
    • + *

      + * ip-permission.cidr - An IPv4 CIDR block for an inbound security + * group rule.

      + *
    • + *
    • + *

      + * ip-permission.from-port - For an inbound rule, the start of port + * range for the TCP and UDP protocols, or an ICMP type number.

      + *
    • + *
    • + *

      + * ip-permission.group-id - The ID of a security group that has been + * referenced in an inbound security group rule.

      + *
    • + *
    • + *

      + * ip-permission.group-name - The name of a security group that is + * referenced in an inbound security group rule.

      + *
    • + *
    • + *

      + * ip-permission.ipv6-cidr - An IPv6 CIDR block for an inbound security + * group rule.

      + *
    • + *
    • + *

      + * ip-permission.prefix-list-id - The ID of a prefix list from which a security group rule allows inbound access.

      + *
    • + *
    • + *

      + * ip-permission.protocol - The IP protocol for an inbound security + * group rule (tcp | udp | icmp, a + * protocol number, or -1 for all protocols).

      + *
    • + *
    • + *

      + * ip-permission.to-port - For an inbound rule, the end of port range + * for the TCP and UDP protocols, or an ICMP code.

      + *
    • + *
    • + *

      + * ip-permission.user-id - The ID of an Amazon Web Services account that has been + * referenced in an inbound security group rule.

      + *
    • + *
    • + *

      + * owner-id - The Amazon Web Services account ID of the owner of the security group.

      + *
    • + *
    • + *

      + * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. + * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

      + *
    • + *
    • + *

      + * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

      + *
    • + *
    • + *

      + * vpc-id - The ID of the VPC specified when the security group was created.

      + *
    • + *
    + */ + Filters?: Filter[]; /** - *

    The priority for the launch template override. The highest priority is launched - * first.

    - *

    If OnDemandAllocationStrategy is set to prioritized, Spot Fleet - * uses priority to determine which launch template override to use first in fulfilling - * On-Demand capacity.

    - *

    If the Spot AllocationStrategy is set to - * capacityOptimizedPrioritized, Spot Fleet uses priority on a best-effort basis - * to determine which launch template override to use in fulfilling Spot capacity, but - * optimizes for capacity first.

    - *

    Valid values are whole numbers starting at 0. The lower the number, the - * higher the priority. If no number is set, the launch template override has the lowest - * priority. You can set the same priority for different launch template overrides.

    + *

    The IDs of the security groups. Required for security groups in a nondefault VPC.

    + *

    Default: Describes all of your security groups.

    */ - Priority?: number; + GroupIds?: string[]; /** - *

    The instance requirements. When you specify instance requirements, Amazon EC2 will identify - * instance types with the provided requirements, and then use your On-Demand and Spot - * allocation strategies to launch instances from these instance types, in the same way as - * when you specify a list of instance types.

    - * - *

    If you specify InstanceRequirements, you can't specify - * InstanceType.

    - *
    + *

    [EC2-Classic and default VPC only] The names of the security groups. You can specify either + * the security group name or the security group ID. For security groups in a nondefault VPC, use + * the group-name filter to describe security groups by name.

    + *

    Default: Describes all of your security groups.

    */ - InstanceRequirements?: InstanceRequirements; -} + GroupNames?: string[]; -/** - *

    Describes a launch template and overrides.

    - */ -export interface LaunchTemplateConfig { /** - *

    The launch template.

    + *

    Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

    */ - LaunchTemplateSpecification?: FleetLaunchTemplateSpecification; + DryRun?: boolean; /** - *

    Any parameters that you specify override the same parameters in the launch - * template.

    + *

    The token to request the next page of results.

    */ - Overrides?: LaunchTemplateOverrides[]; -} + NextToken?: string; -/** - *

    Describes a Classic Load Balancer.

    - */ -export interface ClassicLoadBalancer { /** - *

    The name of the load balancer.

    + *

    The maximum number of results to return in a single call. To retrieve the remaining + * results, make another request with the returned NextToken value. This value + * can be between 5 and 1000. If this parameter is not specified, then all results are + * returned.

    */ - Name?: string; + MaxResults?: number; } /** - *

    Describes the Classic Load Balancers to attach to a Spot Fleet. Spot Fleet registers - * the running Spot Instances with these Classic Load Balancers.

    + *

    Describes a security group.

    */ -export interface ClassicLoadBalancersConfig { +export interface SecurityGroup { /** - *

    One or more Classic Load Balancers.

    + *

    A description of the security group.

    */ - ClassicLoadBalancers?: ClassicLoadBalancer[]; -} + Description?: string; -/** - *

    Describes a load balancer target group.

    - */ -export interface TargetGroup { /** - *

    The Amazon Resource Name (ARN) of the target group.

    + *

    The name of the security group.

    */ - Arn?: string; -} + GroupName?: string; -/** - *

    Describes the target groups to attach to a Spot Fleet. Spot Fleet registers the - * running Spot Instances with these target groups.

    - */ -export interface TargetGroupsConfig { /** - *

    One or more target groups.

    + *

    The inbound rules associated with the security group.

    */ - TargetGroups?: TargetGroup[]; -} + IpPermissions?: IpPermission[]; -/** - *

    Describes the Classic Load Balancers and target groups to attach to a Spot Fleet - * request.

    - */ -export interface LoadBalancersConfig { /** - *

    The Classic Load Balancers.

    + *

    The Amazon Web Services account ID of the owner of the security group.

    */ - ClassicLoadBalancersConfig?: ClassicLoadBalancersConfig; + OwnerId?: string; /** - *

    The target groups.

    + *

    The ID of the security group.

    */ - TargetGroupsConfig?: TargetGroupsConfig; -} + GroupId?: string; -export enum OnDemandAllocationStrategy { - LOWEST_PRICE = "lowestPrice", - PRIORITIZED = "prioritized", -} + /** + *

    [VPC only] The outbound rules associated with the security group.

    + */ + IpPermissionsEgress?: IpPermission[]; -export enum ReplacementStrategy { - LAUNCH = "launch", - LAUNCH_BEFORE_TERMINATE = "launch-before-terminate", + /** + *

    Any tags assigned to the security group.

    + */ + Tags?: Tag[]; + + /** + *

    [VPC only] The ID of the VPC for the security group.

    + */ + VpcId?: string; } -/** - *

    The Spot Instance replacement strategy to use when Amazon EC2 emits a signal that your - * Spot Instance is at an elevated risk of being interrupted. For more information, see - * Capacity rebalancing in the Amazon EC2 User Guide for Linux Instances.

    - */ -export interface SpotCapacityRebalance { +export interface DescribeSecurityGroupsResult { /** - *

    The replacement strategy to use. Only available for fleets of type - * maintain.

    - *

    - * launch - Spot Fleet launches a new replacement Spot Instance when a - * rebalance notification is emitted for an existing Spot Instance in the fleet. Spot Fleet - * does not terminate the instances that receive a rebalance notification. You can - * terminate the old instances, or you can leave them running. You are charged for all - * instances while they are running.

    - *

    - * launch-before-terminate - Spot Fleet launches a new replacement Spot - * Instance when a rebalance notification is emitted for an existing Spot Instance in the - * fleet, and then, after a delay that you specify (in TerminationDelay), - * terminates the instances that received a rebalance notification.

    + *

    Information about the security groups.

    */ - ReplacementStrategy?: ReplacementStrategy | string; + SecurityGroups?: SecurityGroup[]; /** - *

    The amount of time (in seconds) that Amazon EC2 waits before terminating the old Spot - * Instance after launching a new replacement Spot Instance.

    - *

    Required when ReplacementStrategy is set to launch-before-terminate.

    - *

    Not valid when ReplacementStrategy is set to launch.

    - *

    Valid values: Minimum value of 120 seconds. Maximum value of 7200 seconds.

    + *

    The token to use to retrieve the next page of results. This value is null when there are no more results to return.

    */ - TerminationDelay?: number; + NextToken?: string; } -/** - *

    The strategies for managing your Spot Instances that are at an elevated risk of being - * interrupted.

    - */ -export interface SpotMaintenanceStrategies { - /** - *

    The Spot Instance replacement strategy to use when Amazon EC2 emits a signal that your - * Spot Instance is at an elevated risk of being interrupted. For more information, see - * Capacity rebalancing in the Amazon EC2 User Guide for Linux Instances.

    - */ - CapacityRebalance?: SpotCapacityRebalance; +export enum SnapshotAttributeName { + createVolumePermission = "createVolumePermission", + productCodes = "productCodes", } -/** - *

    Describes the configuration of a Spot Fleet request.

    - */ -export interface SpotFleetRequestConfigData { +export interface DescribeSnapshotAttributeRequest { /** - *

    The strategy that determines how to allocate the target Spot Instance capacity across the Spot Instance - * pools specified by the Spot Fleet launch configuration. For more information, see Allocation - * strategies for Spot Instances in the Amazon EC2 User Guide.

    - *
    - *
    priceCapacityOptimized (recommended)
    - *
    - *

    Spot Fleet identifies the pools with - * the highest capacity availability for the number of instances that are launching. This means - * that we will request Spot Instances from the pools that we believe have the lowest chance of interruption - * in the near term. Spot Fleet then requests Spot Instances from the lowest priced of these pools.

    - *
    - *
    capacityOptimized
    - *
    - *

    Spot Fleet identifies the pools with - * the highest capacity availability for the number of instances that are launching. This means - * that we will request Spot Instances from the pools that we believe have the lowest chance of interruption - * in the near term. To give certain - * instance types a higher chance of launching first, use - * capacityOptimizedPrioritized. Set a priority for each instance type by - * using the Priority parameter for LaunchTemplateOverrides. You can - * assign the same priority to different LaunchTemplateOverrides. EC2 implements - * the priorities on a best-effort basis, but optimizes for capacity first. - * capacityOptimizedPrioritized is supported only if your Spot Fleet uses a - * launch template. Note that if the OnDemandAllocationStrategy is set to - * prioritized, the same priority is applied when fulfilling On-Demand - * capacity.

    - *
    - *
    diversified
    - *
    - *

    Spot Fleet requests instances from all of the Spot Instance pools that you - * specify.

    - *
    - *
    lowestPrice
    - *
    - *

    Spot Fleet requests instances from the lowest priced Spot Instance pool that - * has available capacity. If the lowest priced pool doesn't have available capacity, the Spot Instances - * come from the next lowest priced pool that has available capacity. If a pool runs out of - * capacity before fulfilling your desired capacity, Spot Fleet will continue to fulfill your - * request by drawing from the next lowest priced pool. To ensure that your desired capacity is - * met, you might receive Spot Instances from several pools. Because this strategy only considers instance - * price and not capacity availability, it might lead to high interruption rates.

    - *
    - *
    - *

    Default: lowestPrice - *

    + *

    The snapshot attribute you would like to view.

    */ - AllocationStrategy?: AllocationStrategy | string; + Attribute: SnapshotAttributeName | string | undefined; /** - *

    The order of the launch template overrides to use in fulfilling On-Demand capacity. If - * you specify lowestPrice, Spot Fleet uses price to determine the order, launching - * the lowest price first. If you specify prioritized, Spot Fleet uses the priority - * that you assign to each Spot Fleet launch template override, launching the highest priority - * first. If you do not specify a value, Spot Fleet defaults to lowestPrice.

    + *

    The ID of the EBS snapshot.

    */ - OnDemandAllocationStrategy?: OnDemandAllocationStrategy | string; + SnapshotId: string | undefined; /** - *

    The strategies for managing your Spot Instances that are at an elevated risk of being - * interrupted.

    + *

    Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

    */ - SpotMaintenanceStrategies?: SpotMaintenanceStrategies; + DryRun?: boolean; +} +/** + *

    Describes the user or group to be added or removed from the list of create volume + * permissions for a volume.

    + */ +export interface CreateVolumePermission { /** - *

    A unique, case-sensitive identifier that you provide to ensure the idempotency of your - * listings. This helps to avoid duplicate listings. For more information, see Ensuring Idempotency.

    + *

    The group to be added or removed. The possible value is all.

    */ - ClientToken?: string; + Group?: PermissionGroup | string; /** - *

    Indicates whether running Spot Instances should be terminated if you decrease the - * target capacity of the Spot Fleet request below the current size of the Spot - * Fleet.

    + *

    The ID of the Amazon Web Services account to be added or removed.

    */ - ExcessCapacityTerminationPolicy?: ExcessCapacityTerminationPolicy | string; + UserId?: string; +} +export interface DescribeSnapshotAttributeResult { /** - *

    The number of units fulfilled by this request compared to the set target capacity. You - * cannot set this value.

    + *

    The users and groups that have the permissions for creating volumes from the + * snapshot.

    */ - FulfilledCapacity?: number; + CreateVolumePermissions?: CreateVolumePermission[]; /** - *

    The number of On-Demand units fulfilled by this request compared to the set target - * On-Demand capacity.

    + *

    The product codes.

    */ - OnDemandFulfilledCapacity?: number; + ProductCodes?: ProductCode[]; /** - *

    The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that - * grants the Spot Fleet the permission to request, launch, terminate, and tag instances on - * your behalf. For more information, see Spot - * Fleet prerequisites in the Amazon EC2 User Guide. Spot Fleet - * can terminate Spot Instances on your behalf when you cancel its Spot Fleet request using - * CancelSpotFleetRequests or when the Spot Fleet request expires, if you set - * TerminateInstancesWithExpiration.

    + *

    The ID of the EBS snapshot.

    */ - IamFleetRole: string | undefined; + SnapshotId?: string; +} +export interface DescribeSnapshotsRequest { /** - *

    The launch specifications for the Spot Fleet request. If you specify - * LaunchSpecifications, you can't specify - * LaunchTemplateConfigs. If you include On-Demand capacity in your - * request, you must use LaunchTemplateConfigs.

    + *

    The filters.

    + *
      + *
    • + *

      + * description - A description of the snapshot.

      + *
    • + *
    • + *

      + * encrypted - Indicates whether the snapshot is encrypted + * (true | false)

      + *
    • + *
    • + *

      + * owner-alias - The owner alias, from an Amazon-maintained list + * (amazon). + * This is not the user-configured Amazon Web Services account alias set using the IAM console. + * We recommend that you use the related parameter instead of this filter.

      + *
    • + *
    • + *

      + * owner-id - The Amazon Web Services account ID of the owner. We recommend that + * you use the related parameter instead of this filter.

      + *
    • + *
    • + *

      + * progress - The progress of the snapshot, as a percentage (for example, + * 80%).

      + *
    • + *
    • + *

      + * snapshot-id - The snapshot ID.

      + *
    • + *
    • + *

      + * start-time - The time stamp when the snapshot was initiated.

      + *
    • + *
    • + *

      + * status - The status of the snapshot (pending | + * completed | error).

      + *
    • + *
    • + *

      + * storage-tier - The storage tier of the snapshot (archive | + * standard).

      + *
    • + *
    • + *

      + * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. + * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

      + *
    • + *
    • + *

      + * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

      + *
    • + *
    • + *

      + * volume-id - The ID of the volume the snapshot is for.

      + *
    • + *
    • + *

      + * volume-size - The size of the volume, in GiB.

      + *
    • + *
    */ - LaunchSpecifications?: SpotFleetLaunchSpecification[]; + Filters?: Filter[]; /** - *

    The launch template and overrides. If you specify LaunchTemplateConfigs, - * you can't specify LaunchSpecifications. If you include On-Demand capacity - * in your request, you must use LaunchTemplateConfigs.

    + *

    The maximum number of snapshot results returned by DescribeSnapshots in + * paginated output. When this parameter is used, DescribeSnapshots only returns + * MaxResults results in a single page along with a NextToken + * response element. The remaining results of the initial request can be seen by sending another + * DescribeSnapshots request with the returned NextToken value. This + * value can be between 5 and 1,000; if MaxResults is given a value larger than 1,000, + * only 1,000 results are returned. If this parameter is not used, then + * DescribeSnapshots returns all results. You cannot specify this parameter and + * the snapshot IDs parameter in the same request.

    */ - LaunchTemplateConfigs?: LaunchTemplateConfig[]; + MaxResults?: number; /** - *

    The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend - * using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.

    - * - *

    If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.

    - *
    + *

    The NextToken value returned from a previous paginated + * DescribeSnapshots request where MaxResults was used and the + * results exceeded the value of that parameter. Pagination continues from the end of the + * previous results that returned the NextToken value. This value is + * null when there are no more results to return.

    */ - SpotPrice?: string; + NextToken?: string; /** - *

    The number of units to request for the Spot Fleet. You can choose to set the target - * capacity in terms of instances or a performance characteristic that is important to your - * application workload, such as vCPUs, memory, or I/O. If the request type is - * maintain, you can specify a target capacity of 0 and add capacity - * later.

    + *

    Scopes the results to snapshots with the specified owners. You can specify a combination of + * Amazon Web Services account IDs, self, and amazon.

    */ - TargetCapacity: number | undefined; + OwnerIds?: string[]; /** - *

    The number of On-Demand units to request. You can choose to set the target capacity in - * terms of instances or a performance characteristic that is important to your application - * workload, such as vCPUs, memory, or I/O. If the request type is maintain, - * you can specify a target capacity of 0 and add capacity later.

    + *

    The IDs of the Amazon Web Services accounts that can create volumes from the snapshot.

    */ - OnDemandTargetCapacity?: number; + RestorableByUserIds?: string[]; /** - *

    The maximum amount per hour for On-Demand Instances that you're willing to pay. You - * can use the onDemandMaxTotalPrice parameter, the - * spotMaxTotalPrice parameter, or both parameters to ensure that your - * fleet cost does not exceed your budget. If you set a maximum price per hour for the - * On-Demand Instances and Spot Instances in your request, Spot Fleet will launch instances until it reaches the - * maximum amount you're willing to pay. When the maximum amount you're willing to pay is - * reached, the fleet stops launching instances even if it hasn’t met the target - * capacity.

    + *

    The snapshot IDs.

    + *

    Default: Describes the snapshots for which you have create volume permissions.

    */ - OnDemandMaxTotalPrice?: string; + SnapshotIds?: string[]; /** - *

    The maximum amount per hour for Spot Instances that you're willing to pay. You can use - * the spotdMaxTotalPrice parameter, the onDemandMaxTotalPrice - * parameter, or both parameters to ensure that your fleet cost does not exceed your - * budget. If you set a maximum price per hour for the On-Demand Instances and Spot Instances in your request, - * Spot Fleet will launch instances until it reaches the maximum amount you're willing to pay. - * When the maximum amount you're willing to pay is reached, the fleet stops launching - * instances even if it hasn’t met the target capacity.

    + *

    Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

    */ - SpotMaxTotalPrice?: string; + DryRun?: boolean; +} +export interface DescribeSnapshotsResult { /** - *

    Indicates whether running Spot Instances are terminated when the Spot Fleet request - * expires.

    + *

    Information about the snapshots.

    */ - TerminateInstancesWithExpiration?: boolean; + Snapshots?: Snapshot[]; /** - *

    The type of request. Indicates whether the Spot Fleet only requests the target - * capacity or also attempts to maintain it. When this value is request, the - * Spot Fleet only places the required requests. It does not attempt to replenish Spot - * Instances if capacity is diminished, nor does it submit requests in alternative Spot - * pools if capacity is not available. When this value is maintain, the Spot - * Fleet maintains the target capacity. The Spot Fleet places the required requests to meet - * capacity and automatically replenishes any interrupted instances. Default: - * maintain. instant is listed but is not used by Spot - * Fleet.

    + *

    The NextToken value to include in a future DescribeSnapshots + * request. When the results of a DescribeSnapshots request exceed + * MaxResults, this value can be used to retrieve the next page of results. This + * value is null when there are no more results to return.

    */ - Type?: FleetType | string; + NextToken?: string; +} +export interface DescribeSnapshotTierStatusRequest { /** - *

    The start date and time of the request, in UTC format - * (YYYY-MM-DDTHH:MM:SSZ). - * By default, Amazon EC2 starts fulfilling the request immediately.

    + *

    The filters.

    + *
      + *
    • + *

      + * snapshot-id - The snapshot ID.

      + *
    • + *
    • + *

      + * volume-id - The ID of the volume the snapshot is for.

      + *
    • + *
    • + *

      + * last-tiering-operation - The state of the last archive or restore action. (archival-in-progress | archival-completed | + * archival-failed | permanent-restore-in-progress | permanent-restore-completed | permanent-restore-failed | + * temporary-restore-in-progress | temporary-restore-completed | temporary-restore-failed)

      + *
    • + *
    */ - ValidFrom?: Date; + Filters?: Filter[]; /** - *

    The end date and time of the request, in UTC format - * (YYYY-MM-DDTHH:MM:SSZ). - * After the end date and time, no new Spot Instance requests are placed or able to fulfill - * the request. If no value is specified, the Spot Fleet request remains until you cancel - * it.

    + *

    Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

    */ - ValidUntil?: Date; + DryRun?: boolean; /** - *

    Indicates whether Spot Fleet should replace unhealthy instances.

    + *

    The token for the next page of results.

    */ - ReplaceUnhealthyInstances?: boolean; + NextToken?: string; /** - *

    The behavior when a Spot Instance is interrupted. The default is - * terminate.

    + *

    The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

    */ - InstanceInterruptionBehavior?: InstanceInterruptionBehavior | string; + MaxResults?: number; +} + +export enum TieringOperationStatus { + archival_completed = "archival-completed", + archival_failed = "archival-failed", + archival_in_progress = "archival-in-progress", + permanent_restore_completed = "permanent-restore-completed", + permanent_restore_failed = "permanent-restore-failed", + permanent_restore_in_progress = "permanent-restore-in-progress", + temporary_restore_completed = "temporary-restore-completed", + temporary_restore_failed = "temporary-restore-failed", + temporary_restore_in_progress = "temporary-restore-in-progress", +} +/** + *

    Provides information about a snapshot's storage tier.

    + */ +export interface SnapshotTierStatus { /** - *

    One or more Classic Load Balancers and target groups to attach to the Spot Fleet - * request. Spot Fleet registers the running Spot Instances with the specified Classic Load - * Balancers and target groups.

    - *

    With Network Load Balancers, Spot Fleet cannot register instances that have the - * following instance types: C1, CC1, CC2, CG1, CG2, CR1, CS1, G1, G2, HI1, HS1, M1, M2, - * M3, and T1.

    + *

    The ID of the snapshot.

    */ - LoadBalancersConfig?: LoadBalancersConfig; + SnapshotId?: string; /** - *

    The number of Spot pools across which to allocate your target Spot capacity. Valid - * only when Spot AllocationStrategy is set to - * lowest-price. Spot Fleet selects the cheapest Spot pools and evenly - * allocates your target Spot capacity across the number of Spot pools that you - * specify.

    - *

    Note that Spot Fleet attempts to draw Spot Instances from the number of pools that you specify on a - * best effort basis. If a pool runs out of Spot capacity before fulfilling your target - * capacity, Spot Fleet will continue to fulfill your request by drawing from the next cheapest - * pool. To ensure that your target capacity is met, you might receive Spot Instances from more than - * the number of pools that you specified. Similarly, if most of the pools have no Spot - * capacity, you might receive your full target capacity from fewer than the number of - * pools that you specified.

    + *

    The ID of the volume from which the snapshot was created.

    */ - InstancePoolsToUseCount?: number; + VolumeId?: string; /** - *

    Reserved.

    + *

    The state of the snapshot.

    */ - Context?: string; + Status?: SnapshotState | string; /** - *

    The unit for the target capacity. TargetCapacityUnitType can only be specified when InstanceRequirements is specified.

    - *

    Default: units (translates to number of instances)

    + *

    The ID of the Amazon Web Services account that owns the snapshot.

    */ - TargetCapacityUnitType?: TargetCapacityUnitType | string; + OwnerId?: string; /** - *

    The key-value pair for tagging the Spot Fleet request on creation. The value for - * ResourceType must be spot-fleet-request, otherwise the - * Spot Fleet request fails. To tag instances at launch, specify the tags in the launch - * template (valid only if you use LaunchTemplateConfigs) or in - * the - * SpotFleetTagSpecification - * (valid only if you use - * LaunchSpecifications). For information about tagging after launch, see - * Tagging Your Resources.

    + *

    The tags that are assigned to the snapshot.

    */ - TagSpecifications?: TagSpecification[]; -} + Tags?: Tag[]; -/** - *

    Describes a Spot Fleet request.

    - */ -export interface SpotFleetRequestConfig { /** - *

    The progress of the Spot Fleet request. - * If there is an error, the status is error. - * After all requests are placed, the status is pending_fulfillment. - * If the size of the fleet is equal to or greater than its target capacity, the status is fulfilled. - * If the size of the fleet is decreased, the status is pending_termination - * while Spot Instances are terminating.

    + *

    The storage tier in which the snapshot is stored. standard indicates + * that the snapshot is stored in the standard snapshot storage tier and that it is ready + * for use. archive indicates that the snapshot is currently archived and that + * it must be restored before it can be used.

    */ - ActivityStatus?: ActivityStatus | string; + StorageTier?: StorageTier | string; /** - *

    The creation date and time of the request.

    + *

    The date and time when the last archive or restore process was started.

    */ - CreateTime?: Date; + LastTieringStartTime?: Date; /** - *

    The configuration of the Spot Fleet request.

    + *

    The progress of the last archive or restore process, as a percentage.

    */ - SpotFleetRequestConfig?: SpotFleetRequestConfigData; + LastTieringProgress?: number; /** - *

    The ID of the Spot Fleet request.

    + *

    The status of the last archive or restore process.

    */ - SpotFleetRequestId?: string; + LastTieringOperationStatus?: TieringOperationStatus | string; /** - *

    The state of the Spot Fleet request.

    + *

    A message describing the status of the last archive or restore process.

    */ - SpotFleetRequestState?: BatchState | string; + LastTieringOperationStatusDetail?: string; /** - *

    The tags for a Spot Fleet resource.

    + *

    The date and time when the last archive process was completed.

    */ - Tags?: Tag[]; + ArchivalCompleteTime?: Date; + + /** + *

    Only for archived snapshots that are temporarily restored. Indicates the date and + * time when a temporarily restored snapshot will be automatically re-archived.

    + */ + RestoreExpiryTime?: Date; +} + +export interface DescribeSnapshotTierStatusResult { + /** + *

    Information about the snapshot's storage tier.

    + */ + SnapshotTierStatuses?: SnapshotTierStatus[]; + + /** + *

    The token to use to retrieve the next page of results. This value is null when there are no more results to return.

    + */ + NextToken?: string; } /** - *

    Contains the output of DescribeSpotFleetRequests.

    + *

    Contains the parameters for DescribeSpotDatafeedSubscription.

    */ -export interface DescribeSpotFleetRequestsResponse { +export interface DescribeSpotDatafeedSubscriptionRequest { /** - *

    The token required to retrieve the next set of results. This value is - * null when there are no more results to return.

    + *

    Checks whether you have the required permissions for the action, without actually + * making the request, and provides an error response. If you have the required + * permissions, the error response is DryRunOperation. Otherwise, it is + * UnauthorizedOperation.

    */ - NextToken?: string; + DryRun?: boolean; +} +/** + *

    Contains the output of DescribeSpotDatafeedSubscription.

    + */ +export interface DescribeSpotDatafeedSubscriptionResult { /** - *

    Information about the configuration of your Spot Fleet.

    + *

    The Spot Instance data feed subscription.

    */ - SpotFleetRequestConfigs?: SpotFleetRequestConfig[]; + SpotDatafeedSubscription?: SpotDatafeedSubscription; } /** - *

    Contains the parameters for DescribeSpotInstanceRequests.

    + *

    Contains the parameters for DescribeSpotFleetInstances.

    */ -export interface DescribeSpotInstanceRequestsRequest { +export interface DescribeSpotFleetInstancesRequest { /** - *

    One or more filters.

    - *
      - *
    • - *

      - * availability-zone-group - The Availability Zone group.

      - *
    • - *
    • - *

      - * create-time - The time stamp when the Spot Instance request was - * created.

      - *
    • - *
    • - *

      - * fault-code - The fault code related to the request.

      - *
    • - *
    • - *

      - * fault-message - The fault message related to the request.

      - *
    • - *
    • - *

      - * instance-id - The ID of the instance that fulfilled the - * request.

      - *
    • - *
    • - *

      - * launch-group - The Spot Instance launch group.

      - *
    • - *
    • - *

      - * launch.block-device-mapping.delete-on-termination - Indicates - * whether the EBS volume is deleted on instance termination.

      - *
    • - *
    • - *

      - * launch.block-device-mapping.device-name - The device name for the - * volume in the block device mapping (for example, /dev/sdh or - * xvdh).

      - *
    • - *
    • - *

      - * launch.block-device-mapping.snapshot-id - The ID of the snapshot - * for the EBS volume.

      - *
    • - *
    • - *

      - * launch.block-device-mapping.volume-size - The size of the EBS - * volume, in GiB.

      - *
    • - *
    • - *

      - * launch.block-device-mapping.volume-type - The type of EBS volume: - * gp2 for General Purpose SSD, io1 or - * io2 for Provisioned IOPS SSD, st1 for Throughput - * Optimized HDD, sc1for Cold HDD, or standard for - * Magnetic.

      - *
    • - *
    • - *

      - * launch.group-id - The ID of the security group for the - * instance.

      - *
    • - *
    • - *

      - * launch.group-name - The name of the security group for the - * instance.

      - *
    • - *
    • - *

      - * launch.image-id - The ID of the AMI.

      - *
    • - *
    • - *

      - * launch.instance-type - The type of instance (for example, - * m3.medium).

      - *
    • - *
    • - *

      - * launch.kernel-id - The kernel ID.

      - *
    • - *
    • - *

      - * launch.key-name - The name of the key pair the instance launched - * with.

      - *
    • - *
    • - *

      - * launch.monitoring-enabled - Whether detailed monitoring is - * enabled for the Spot Instance.

      - *
    • - *
    • - *

      - * launch.ramdisk-id - The RAM disk ID.

      - *
    • - *
    • - *

      - * launched-availability-zone - The Availability Zone in which the - * request is launched.

      - *
    • - *
    • - *

      - * network-interface.addresses.primary - Indicates whether the IP - * address is the primary private IP address.

      - *
    • - *
    • - *

      - * network-interface.delete-on-termination - Indicates whether the - * network interface is deleted when the instance is terminated.

      - *
    • - *
    • - *

      - * network-interface.description - A description of the network - * interface.

      - *
    • - *
    • - *

      - * network-interface.device-index - The index of the device for the - * network interface attachment on the instance.

      - *
    • - *
    • - *

      - * network-interface.group-id - The ID of the security group - * associated with the network interface.

      - *
    • - *
    • - *

      - * network-interface.network-interface-id - The ID of the network - * interface.

      - *
    • - *
    • - *

      - * network-interface.private-ip-address - The primary private IP - * address of the network interface.

      - *
    • - *
    • - *

      - * network-interface.subnet-id - The ID of the subnet for the - * instance.

      - *
    • - *
    • - *

      - * product-description - The product description associated with the - * instance (Linux/UNIX | Windows).

      - *
    • - *
    • - *

      - * spot-instance-request-id - The Spot Instance request ID.

      - *
    • - *
    • - *

      - * spot-price - The maximum hourly price for any Spot Instance - * launched to fulfill the request.

      - *
    • + *

      Checks whether you have the required permissions for the action, without actually + * making the request, and provides an error response. If you have the required + * permissions, the error response is DryRunOperation. Otherwise, it is + * UnauthorizedOperation.

      + */ + DryRun?: boolean; + + /** + *

      The maximum number of results to return in a single call. Specify a value between 1 + * and 1000. The default value is 1000. To retrieve the remaining results, make another + * call with the returned NextToken value.

      + */ + MaxResults?: number; + + /** + *

      The token for the next set of results.

      + */ + NextToken?: string; + + /** + *

      The ID of the Spot Fleet request.

      + */ + SpotFleetRequestId: string | undefined; +} + +/** + *

      Contains the output of DescribeSpotFleetInstances.

      + */ +export interface DescribeSpotFleetInstancesResponse { + /** + *

      The running instances. This list is refreshed periodically and might be out of + * date.

      + */ + ActiveInstances?: ActiveInstance[]; + + /** + *

      The token required to retrieve the next set of results. This value is + * null when there are no more results to return.

      + */ + NextToken?: string; + + /** + *

      The ID of the Spot Fleet request.

      + */ + SpotFleetRequestId?: string; +} + +export enum EventType { + BATCH_CHANGE = "fleetRequestChange", + ERROR = "error", + INFORMATION = "information", + INSTANCE_CHANGE = "instanceChange", +} + +/** + *

      Contains the parameters for DescribeSpotFleetRequestHistory.

      + */ +export interface DescribeSpotFleetRequestHistoryRequest { + /** + *

      Checks whether you have the required permissions for the action, without actually + * making the request, and provides an error response. If you have the required + * permissions, the error response is DryRunOperation. Otherwise, it is + * UnauthorizedOperation.

      + */ + DryRun?: boolean; + + /** + *

      The type of events to describe. By default, all events are described.

      + */ + EventType?: EventType | string; + + /** + *

      The maximum number of results to return in a single call. Specify a value between 1 + * and 1000. The default value is 1000. To retrieve the remaining results, make another + * call with the returned NextToken value.

      + */ + MaxResults?: number; + + /** + *

      The token for the next set of results.

      + */ + NextToken?: string; + + /** + *

      The ID of the Spot Fleet request.

      + */ + SpotFleetRequestId: string | undefined; + + /** + *

      The starting date and time for the events, in UTC format (for example, + * YYYY-MM-DDTHH:MM:SSZ).

      + */ + StartTime: Date | undefined; +} + +/** + *

      Describes an event in the history of the Spot Fleet request.

      + */ +export interface HistoryRecord { + /** + *

      Information about the event.

      + */ + EventInformation?: EventInformation; + + /** + *

      The event type.

      + *
        *
      • *

        - * state - The state of the Spot Instance request (open - * | active | closed | cancelled | - * failed). Spot request status information can help you track - * your Amazon EC2 Spot Instance requests. For more information, see Spot - * request status in the Amazon EC2 User Guide for Linux Instances.

        + * error - An error with the Spot Fleet request.

        *
      • *
      • *

        - * status-code - The short code describing the most recent - * evaluation of your Spot Instance request.

        + * fleetRequestChange - A change in the status or configuration of + * the Spot Fleet request.

        *
      • *
      • *

        - * status-message - The message explaining the status of the Spot - * Instance request.

        + * instanceChange - An instance was launched or terminated.

        *
      • *
      • *

        - * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. - * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

        - *
      • - *
      • - *

        - * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

        - *
      • - *
      • - *

        - * type - The type of Spot Instance request (one-time | - * persistent).

        - *
      • - *
      • - *

        - * valid-from - The start date of the request.

        - *
      • - *
      • - *

        - * valid-until - The end date of the request.

        + * Information - An informational event.

        *
      • *
      */ - Filters?: Filter[]; + EventType?: EventType | string; + + /** + *

      The date and time of the event, in UTC format (for example, + * YYYY-MM-DDTHH:MM:SSZ).

      + */ + Timestamp?: Date; +} + +/** + *

      Contains the output of DescribeSpotFleetRequestHistory.

      + */ +export interface DescribeSpotFleetRequestHistoryResponse { + /** + *

      Information about the events in the history of the Spot Fleet request.

      + */ + HistoryRecords?: HistoryRecord[]; + + /** + *

      The last date and time for the events, in UTC format (for example, + * YYYY-MM-DDTHH:MM:SSZ). + * All records up to this time were retrieved.

      + *

      If nextToken indicates that there are more results, this value is not + * present.

      + */ + LastEvaluatedTime?: Date; + + /** + *

      The token required to retrieve the next set of results. This value is + * null when there are no more results to return.

      + */ + NextToken?: string; + + /** + *

      The ID of the Spot Fleet request.

      + */ + SpotFleetRequestId?: string; + + /** + *

      The starting date and time for the events, in UTC format (for example, + * YYYY-MM-DDTHH:MM:SSZ).

      + */ + StartTime?: Date; +} + +/** + *

      Contains the parameters for DescribeSpotFleetRequests.

      + */ +export interface DescribeSpotFleetRequestsRequest { + /** + *

      Checks whether you have the required permissions for the action, without actually + * making the request, and provides an error response. If you have the required + * permissions, the error response is DryRunOperation. Otherwise, it is + * UnauthorizedOperation.

      + */ + DryRun?: boolean; + + /** + *

      The maximum number of results to return in a single call. Specify a value between 1 + * and 1000. The default value is 1000. To retrieve the remaining results, make another + * call with the returned NextToken value.

      + */ + MaxResults?: number; + + /** + *

      The token for the next set of results.

      + */ + NextToken?: string; + + /** + *

      The IDs of the Spot Fleet requests.

      + */ + SpotFleetRequestIds?: string[]; +} + +export enum ExcessCapacityTerminationPolicy { + DEFAULT = "default", + NO_TERMINATION = "noTermination", +} + +/** + *

      Describes whether monitoring is enabled.

      + */ +export interface SpotFleetMonitoring { + /** + *

      Enables monitoring for the instance.

      + *

      Default: false + *

      + */ + Enabled?: boolean; +} + +/** + *

      Describes a network interface.

      + */ +export interface InstanceNetworkInterfaceSpecification { + /** + *

      Indicates whether to assign a public IPv4 address to an instance you launch in a VPC. The + * public IP address can only be assigned to a network interface for eth0, and can only be + * assigned to a new network interface, not an existing one. You cannot specify more than one + * network interface in the request. If launching into a default subnet, the default value is + * true.

      + */ + AssociatePublicIpAddress?: boolean; + + /** + *

      If set to true, the interface is deleted when the instance is terminated. You can + * specify true only if creating a new network interface when launching an + * instance.

      + */ + DeleteOnTermination?: boolean; + + /** + *

      The description of the network interface. Applies only if creating a network interface when launching an instance.

      + */ + Description?: string; + + /** + *

      The position of the network interface in the attachment order. + * A primary network interface has a device index of 0.

      + *

      If you specify a network interface when launching an instance, + * you must specify the device index.

      + */ + DeviceIndex?: number; + + /** + *

      The IDs of the security groups for the network interface. Applies only if creating a network interface when launching an instance.

      + */ + Groups?: string[]; + + /** + *

      A number of IPv6 addresses to assign to the network interface. Amazon EC2 chooses + * the IPv6 addresses from the range of the subnet. You cannot specify this option and the + * option to assign specific IPv6 addresses in the same request. You can specify this + * option if you've specified a minimum number of instances to launch.

      + */ + Ipv6AddressCount?: number; + + /** + *

      The IPv6 addresses to assign to the network interface. You cannot specify + * this option and the option to assign a number of IPv6 addresses in the same request. You + * cannot specify this option if you've specified a minimum number of instances to + * launch.

      + */ + Ipv6Addresses?: InstanceIpv6Address[]; + + /** + *

      The ID of the network interface.

      + *

      If you are creating a Spot Fleet, omit this parameter because you can’t specify a network interface ID in a launch specification.

      + */ + NetworkInterfaceId?: string; + + /** + *

      The private IPv4 address of the network interface. Applies only if creating a network interface when launching an instance. You cannot specify this option if you're launching + * more than one instance in a RunInstances request.

      + */ + PrivateIpAddress?: string; + + /** + *

      The private IPv4 addresses to assign to the network interface. Only one private IPv4 address can be designated as primary. You cannot specify this option if you're + * launching more than one instance in a RunInstances request.

      + */ + PrivateIpAddresses?: PrivateIpAddressSpecification[]; + + /** + *

      The number of secondary private IPv4 addresses. You can't specify this option and specify more than one private IP address using the private IP addresses option. You cannot specify this option if you're + * launching more than one instance in a RunInstances request.

      + */ + SecondaryPrivateIpAddressCount?: number; + + /** + *

      The ID of the subnet associated with the network interface. Applies only if creating a network interface when launching an instance.

      + */ + SubnetId?: string; + + /** + *

      Indicates whether to assign a carrier IP address to the network interface.

      + *

      You can only assign a carrier IP address to a network interface that is in a subnet in + * a Wavelength Zone. For more information about carrier IP addresses, see Carrier IP address in the Amazon Web Services Wavelength Developer + * Guide.

      + */ + AssociateCarrierIpAddress?: boolean; + + /** + *

      The type of network interface.

      + *

      Valid values: interface | efa + *

      + */ + InterfaceType?: string; + + /** + *

      The index of the network card. Some instance types support multiple network cards. + * The primary network interface must be assigned to network card index 0. + * The default is network card index 0.

      + *

      If you are using RequestSpotInstances to create Spot Instances, omit this parameter because + * you can’t specify the network card index when using this API. To specify the network + * card index, use RunInstances.

      + */ + NetworkCardIndex?: number; + + /** + *

      The IPv4 delegated prefixes to be assigned to the network interface. You cannot + * use this option if you use the Ipv4PrefixCount option.

      + */ + Ipv4Prefixes?: Ipv4PrefixSpecificationRequest[]; + + /** + *

      The number of IPv4 delegated prefixes to be automatically assigned to the network interface. + * You cannot use this option if you use the Ipv4Prefix option.

      + */ + Ipv4PrefixCount?: number; + + /** + *

      The IPv6 delegated prefixes to be assigned to the network interface. You cannot + * use this option if you use the Ipv6PrefixCount option.

      + */ + Ipv6Prefixes?: Ipv6PrefixSpecificationRequest[]; + + /** + *

      The number of IPv6 delegated prefixes to be automatically assigned to the network interface. + * You cannot use this option if you use the Ipv6Prefix option.

      + */ + Ipv6PrefixCount?: number; +} + +/** + *

      Describes Spot Instance placement.

      + */ +export interface SpotPlacement { + /** + *

      The Availability Zone.

      + *

      [Spot Fleet only] To specify multiple Availability Zones, separate them using commas; + * for example, "us-west-2a, us-west-2b".

      + */ + AvailabilityZone?: string; + + /** + *

      The name of the placement group.

      + */ + GroupName?: string; + + /** + *

      The tenancy of the instance (if the instance is running in a VPC). An instance with a + * tenancy of dedicated runs on single-tenant hardware. The host + * tenancy is not supported for Spot Instances.

      + */ + Tenancy?: Tenancy | string; +} + +/** + *

      The tags for a Spot Fleet resource.

      + */ +export interface SpotFleetTagSpecification { + /** + *

      The type of resource. Currently, the only resource type that is supported is + * instance. To tag the Spot Fleet request on creation, use the + * TagSpecifications parameter in + * SpotFleetRequestConfigData + * .

      + */ + ResourceType?: ResourceType | string; + + /** + *

      The tags.

      + */ + Tags?: Tag[]; +} + +/** + *

      Describes the launch specification for one or more Spot Instances. If you include + * On-Demand capacity in your fleet request or want to specify an EFA network device, you + * can't use SpotFleetLaunchSpecification; you must use LaunchTemplateConfig.

      + */ +export interface SpotFleetLaunchSpecification { + /** + *

      One or more security groups. When requesting instances in a VPC, you must specify the IDs of the security groups. When requesting instances in EC2-Classic, you can specify the names or the IDs of the security groups.

      + */ + SecurityGroups?: GroupIdentifier[]; + + /** + *

      Deprecated.

      + */ + AddressingType?: string; + + /** + *

      One or more block devices that are mapped to the Spot Instances. You can't specify both + * a snapshot ID and an encryption value. This is because only blank volumes can be + * encrypted on creation. If a snapshot is the basis for a volume, it is not blank and its + * encryption status is used for the volume encryption status.

      + */ + BlockDeviceMappings?: BlockDeviceMapping[]; + + /** + *

      Indicates whether the instances are optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.

      + *

      Default: false + *

      + */ + EbsOptimized?: boolean; + + /** + *

      The IAM instance profile.

      + */ + IamInstanceProfile?: IamInstanceProfileSpecification; + + /** + *

      The ID of the AMI.

      + */ + ImageId?: string; + + /** + *

      The instance type.

      + */ + InstanceType?: _InstanceType | string; + + /** + *

      The ID of the kernel.

      + */ + KernelId?: string; + + /** + *

      The name of the key pair.

      + */ + KeyName?: string; + + /** + *

      Enable or disable monitoring for the instances.

      + */ + Monitoring?: SpotFleetMonitoring; + + /** + *

      One or more network interfaces. If you specify a network interface, you must specify + * subnet IDs and security group IDs using the network interface.

      + * + *

      + * SpotFleetLaunchSpecification currently does not support Elastic Fabric Adapter (EFA). To specify an EFA, you must use LaunchTemplateConfig.

      + *
      + */ + NetworkInterfaces?: InstanceNetworkInterfaceSpecification[]; /** - *

      Checks whether you have the required permissions for the action, without actually - * making the request, and provides an error response. If you have the required - * permissions, the error response is DryRunOperation. Otherwise, it is - * UnauthorizedOperation.

      + *

      The placement information.

      */ - DryRun?: boolean; + Placement?: SpotPlacement; /** - *

      One or more Spot Instance request IDs.

      + *

      The ID of the RAM disk. Some kernels require additional drivers at launch. Check the kernel + * requirements for information about whether you need to specify a RAM disk. To find kernel + * requirements, refer to the Amazon Web Services Resource Center and search for the kernel ID.

      */ - SpotInstanceRequestIds?: string[]; + RamdiskId?: string; /** - *

      The token to request the next set of results. This value is null when - * there are no more results to return.

      + *

      The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend using this parameter because it can lead to + * increased interruptions. If you do not specify this parameter, you will pay the current Spot price.

      + * + *

      If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.

      + *
      */ - NextToken?: string; + SpotPrice?: string; /** - *

      The maximum number of results to return in a single call. Specify a value between 5 - * and 1000. To retrieve the remaining results, make another call with the returned - * NextToken value.

      + *

      The IDs of the subnets in which to launch the instances. To specify multiple subnets, separate + * them using commas; for example, "subnet-1234abcdeexample1, subnet-0987cdef6example2".

      */ - MaxResults?: number; + SubnetId?: string; + + /** + *

      The Base64-encoded user data that instances use when starting up.

      + */ + UserData?: string; + + /** + *

      The number of units provided by the specified instance type. These are the same units that you chose to set the target capacity in terms of instances, or a performance characteristic such as vCPUs, memory, or I/O.

      + *

      If the target capacity divided by this value is not a whole number, Amazon EC2 rounds the number of instances to the next whole number. If this value is not specified, the default is 1.

      + */ + WeightedCapacity?: number; + + /** + *

      The tags to apply during creation.

      + */ + TagSpecifications?: SpotFleetTagSpecification[]; + + /** + *

      The attributes for the instance types. When you specify instance attributes, Amazon EC2 will + * identify instance types with those attributes.

      + * + *

      If you specify InstanceRequirements, you can't specify + * InstanceType.

      + *
      + */ + InstanceRequirements?: InstanceRequirements; } /** - *

      Describes the monitoring of an instance.

      + *

      Describes overrides for a launch template.

      */ -export interface RunInstancesMonitoringEnabled { +export interface LaunchTemplateOverrides { /** - *

      Indicates whether detailed monitoring is enabled. Otherwise, basic monitoring is - * enabled.

      + *

      The instance type.

      */ - Enabled: boolean | undefined; + InstanceType?: _InstanceType | string; + + /** + *

      The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend using this parameter because it can lead to + * increased interruptions. If you do not specify this parameter, you will pay the current Spot price.

      + * + *

      If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.

      + *
      + */ + SpotPrice?: string; + + /** + *

      The ID of the subnet in which to launch the instances.

      + */ + SubnetId?: string; + + /** + *

      The Availability Zone in which to launch the instances.

      + */ + AvailabilityZone?: string; + + /** + *

      The number of units provided by the specified instance type.

      + */ + WeightedCapacity?: number; + + /** + *

      The priority for the launch template override. The highest priority is launched + * first.

      + *

      If OnDemandAllocationStrategy is set to prioritized, Spot Fleet + * uses priority to determine which launch template override to use first in fulfilling + * On-Demand capacity.

      + *

      If the Spot AllocationStrategy is set to + * capacityOptimizedPrioritized, Spot Fleet uses priority on a best-effort basis + * to determine which launch template override to use in fulfilling Spot capacity, but + * optimizes for capacity first.

      + *

      Valid values are whole numbers starting at 0. The lower the number, the + * higher the priority. If no number is set, the launch template override has the lowest + * priority. You can set the same priority for different launch template overrides.

      + */ + Priority?: number; + + /** + *

      The instance requirements. When you specify instance requirements, Amazon EC2 will identify + * instance types with the provided requirements, and then use your On-Demand and Spot + * allocation strategies to launch instances from these instance types, in the same way as + * when you specify a list of instance types.

      + * + *

      If you specify InstanceRequirements, you can't specify + * InstanceType.

      + *
      + */ + InstanceRequirements?: InstanceRequirements; } /** - *

      Describes the launch specification for an instance.

      + *

      Describes a launch template and overrides.

      */ -export interface LaunchSpecification { +export interface LaunchTemplateConfig { /** - *

      The Base64-encoded user data for the instance.

      + *

      The launch template.

      */ - UserData?: string; + LaunchTemplateSpecification?: FleetLaunchTemplateSpecification; /** - *

      One or more security groups. When requesting instances in a VPC, you must specify the IDs of the security groups. When requesting instances in EC2-Classic, you can specify the names or the IDs of the security groups.

      + *

      Any parameters that you specify override the same parameters in the launch + * template.

      */ - SecurityGroups?: GroupIdentifier[]; + Overrides?: LaunchTemplateOverrides[]; +} +/** + *

      Describes a Classic Load Balancer.

      + */ +export interface ClassicLoadBalancer { /** - *

      Deprecated.

      + *

      The name of the load balancer.

      */ - AddressingType?: string; + Name?: string; +} +/** + *

      Describes the Classic Load Balancers to attach to a Spot Fleet. Spot Fleet registers + * the running Spot Instances with these Classic Load Balancers.

      + */ +export interface ClassicLoadBalancersConfig { /** - *

      One or more block device mapping entries.

      + *

      One or more Classic Load Balancers.

      */ - BlockDeviceMappings?: BlockDeviceMapping[]; + ClassicLoadBalancers?: ClassicLoadBalancer[]; +} + +/** + *

      Describes a load balancer target group.

      + */ +export interface TargetGroup { + /** + *

      The Amazon Resource Name (ARN) of the target group.

      + */ + Arn?: string; +} +/** + *

      Describes the target groups to attach to a Spot Fleet. Spot Fleet registers the + * running Spot Instances with these target groups.

      + */ +export interface TargetGroupsConfig { /** - *

      Indicates whether the instance is optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.

      - *

      Default: false - *

      + *

      One or more target groups.

      */ - EbsOptimized?: boolean; + TargetGroups?: TargetGroup[]; +} + +/** + *

      Describes the Classic Load Balancers and target groups to attach to a Spot Fleet + * request.

      + */ +export interface LoadBalancersConfig { + /** + *

      The Classic Load Balancers.

      + */ + ClassicLoadBalancersConfig?: ClassicLoadBalancersConfig; + + /** + *

      The target groups.

      + */ + TargetGroupsConfig?: TargetGroupsConfig; +} + +export enum OnDemandAllocationStrategy { + LOWEST_PRICE = "lowestPrice", + PRIORITIZED = "prioritized", +} + +export enum ReplacementStrategy { + LAUNCH = "launch", + LAUNCH_BEFORE_TERMINATE = "launch-before-terminate", +} + +/** + *

      The Spot Instance replacement strategy to use when Amazon EC2 emits a signal that your + * Spot Instance is at an elevated risk of being interrupted. For more information, see + * Capacity rebalancing in the Amazon EC2 User Guide for Linux Instances.

      + */ +export interface SpotCapacityRebalance { + /** + *

      The replacement strategy to use. Only available for fleets of type + * maintain.

      + *

      + * launch - Spot Fleet launches a new replacement Spot Instance when a + * rebalance notification is emitted for an existing Spot Instance in the fleet. Spot Fleet + * does not terminate the instances that receive a rebalance notification. You can + * terminate the old instances, or you can leave them running. You are charged for all + * instances while they are running.

      + *

      + * launch-before-terminate - Spot Fleet launches a new replacement Spot + * Instance when a rebalance notification is emitted for an existing Spot Instance in the + * fleet, and then, after a delay that you specify (in TerminationDelay), + * terminates the instances that received a rebalance notification.

      + */ + ReplacementStrategy?: ReplacementStrategy | string; + + /** + *

      The amount of time (in seconds) that Amazon EC2 waits before terminating the old Spot + * Instance after launching a new replacement Spot Instance.

      + *

      Required when ReplacementStrategy is set to launch-before-terminate.

      + *

      Not valid when ReplacementStrategy is set to launch.

      + *

      Valid values: Minimum value of 120 seconds. Maximum value of 7200 seconds.

      + */ + TerminationDelay?: number; +} +/** + *

      The strategies for managing your Spot Instances that are at an elevated risk of being + * interrupted.

      + */ +export interface SpotMaintenanceStrategies { + /** + *

      The Spot Instance replacement strategy to use when Amazon EC2 emits a signal that your + * Spot Instance is at an elevated risk of being interrupted. For more information, see + * Capacity rebalancing in the Amazon EC2 User Guide for Linux Instances.

      + */ + CapacityRebalance?: SpotCapacityRebalance; +} + +/** + *

      Describes the configuration of a Spot Fleet request.

      + */ +export interface SpotFleetRequestConfigData { /** - *

      The IAM instance profile.

      + *

      The strategy that determines how to allocate the target Spot Instance capacity across the Spot Instance + * pools specified by the Spot Fleet launch configuration. For more information, see Allocation + * strategies for Spot Instances in the Amazon EC2 User Guide.

      + *
      + *
      priceCapacityOptimized (recommended)
      + *
      + *

      Spot Fleet identifies the pools with + * the highest capacity availability for the number of instances that are launching. This means + * that we will request Spot Instances from the pools that we believe have the lowest chance of interruption + * in the near term. Spot Fleet then requests Spot Instances from the lowest priced of these pools.

      + *
      + *
      capacityOptimized
      + *
      + *

      Spot Fleet identifies the pools with + * the highest capacity availability for the number of instances that are launching. This means + * that we will request Spot Instances from the pools that we believe have the lowest chance of interruption + * in the near term. To give certain + * instance types a higher chance of launching first, use + * capacityOptimizedPrioritized. Set a priority for each instance type by + * using the Priority parameter for LaunchTemplateOverrides. You can + * assign the same priority to different LaunchTemplateOverrides. EC2 implements + * the priorities on a best-effort basis, but optimizes for capacity first. + * capacityOptimizedPrioritized is supported only if your Spot Fleet uses a + * launch template. Note that if the OnDemandAllocationStrategy is set to + * prioritized, the same priority is applied when fulfilling On-Demand + * capacity.

      + *
      + *
      diversified
      + *
      + *

      Spot Fleet requests instances from all of the Spot Instance pools that you + * specify.

      + *
      + *
      lowestPrice
      + *
      + *

      Spot Fleet requests instances from the lowest priced Spot Instance pool that + * has available capacity. If the lowest priced pool doesn't have available capacity, the Spot Instances + * come from the next lowest priced pool that has available capacity. If a pool runs out of + * capacity before fulfilling your desired capacity, Spot Fleet will continue to fulfill your + * request by drawing from the next lowest priced pool. To ensure that your desired capacity is + * met, you might receive Spot Instances from several pools. Because this strategy only considers instance + * price and not capacity availability, it might lead to high interruption rates.

      + *
      + *
      + *

      Default: lowestPrice + *

      */ - IamInstanceProfile?: IamInstanceProfileSpecification; + AllocationStrategy?: AllocationStrategy | string; /** - *

      The ID of the AMI.

      + *

      The order of the launch template overrides to use in fulfilling On-Demand capacity. If + * you specify lowestPrice, Spot Fleet uses price to determine the order, launching + * the lowest price first. If you specify prioritized, Spot Fleet uses the priority + * that you assign to each Spot Fleet launch template override, launching the highest priority + * first. If you do not specify a value, Spot Fleet defaults to lowestPrice.

      */ - ImageId?: string; + OnDemandAllocationStrategy?: OnDemandAllocationStrategy | string; /** - *

      The instance type. Only one instance type can be specified.

      + *

      The strategies for managing your Spot Instances that are at an elevated risk of being + * interrupted.

      */ - InstanceType?: _InstanceType | string; + SpotMaintenanceStrategies?: SpotMaintenanceStrategies; /** - *

      The ID of the kernel.

      + *

      A unique, case-sensitive identifier that you provide to ensure the idempotency of your + * listings. This helps to avoid duplicate listings. For more information, see Ensuring Idempotency.

      */ - KernelId?: string; + ClientToken?: string; /** - *

      The name of the key pair.

      + *

      Indicates whether running Spot Instances should be terminated if you decrease the + * target capacity of the Spot Fleet request below the current size of the Spot + * Fleet.

      */ - KeyName?: string; + ExcessCapacityTerminationPolicy?: ExcessCapacityTerminationPolicy | string; /** - *

      One or more network interfaces. If you specify a network interface, you must specify - * subnet IDs and security group IDs using the network interface.

      + *

      The number of units fulfilled by this request compared to the set target capacity. You + * cannot set this value.

      */ - NetworkInterfaces?: InstanceNetworkInterfaceSpecification[]; + FulfilledCapacity?: number; /** - *

      The placement information for the instance.

      + *

      The number of On-Demand units fulfilled by this request compared to the set target + * On-Demand capacity.

      */ - Placement?: SpotPlacement; + OnDemandFulfilledCapacity?: number; /** - *

      The ID of the RAM disk.

      + *

      The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that + * grants the Spot Fleet the permission to request, launch, terminate, and tag instances on + * your behalf. For more information, see Spot + * Fleet prerequisites in the Amazon EC2 User Guide. Spot Fleet + * can terminate Spot Instances on your behalf when you cancel its Spot Fleet request using + * CancelSpotFleetRequests or when the Spot Fleet request expires, if you set + * TerminateInstancesWithExpiration.

      */ - RamdiskId?: string; + IamFleetRole: string | undefined; /** - *

      The ID of the subnet in which to launch the instance.

      + *

      The launch specifications for the Spot Fleet request. If you specify + * LaunchSpecifications, you can't specify + * LaunchTemplateConfigs. If you include On-Demand capacity in your + * request, you must use LaunchTemplateConfigs.

      */ - SubnetId?: string; + LaunchSpecifications?: SpotFleetLaunchSpecification[]; /** - *

      Describes the monitoring of an instance.

      + *

      The launch template and overrides. If you specify LaunchTemplateConfigs, + * you can't specify LaunchSpecifications. If you include On-Demand capacity + * in your request, you must use LaunchTemplateConfigs.

      */ - Monitoring?: RunInstancesMonitoringEnabled; -} - -export enum SpotInstanceState { - active = "active", - cancelled = "cancelled", - closed = "closed", - failed = "failed", - open = "open", -} + LaunchTemplateConfigs?: LaunchTemplateConfig[]; -/** - *

      Describes the status of a Spot Instance request.

      - */ -export interface SpotInstanceStatus { /** - *

      The status code. For a list of status codes, see Spot request status codes in the Amazon EC2 User Guide for Linux Instances.

      + *

      The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend + * using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.

      + * + *

      If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.

      + *
      */ - Code?: string; + SpotPrice?: string; /** - *

      The description for the status code.

      + *

      The number of units to request for the Spot Fleet. You can choose to set the target + * capacity in terms of instances or a performance characteristic that is important to your + * application workload, such as vCPUs, memory, or I/O. If the request type is + * maintain, you can specify a target capacity of 0 and add capacity + * later.

      */ - Message?: string; + TargetCapacity: number | undefined; /** - *

      The date and time of the most recent status update, in UTC format (for example, - * YYYY-MM-DDTHH:MM:SSZ).

      + *

      The number of On-Demand units to request. You can choose to set the target capacity in + * terms of instances or a performance characteristic that is important to your application + * workload, such as vCPUs, memory, or I/O. If the request type is maintain, + * you can specify a target capacity of 0 and add capacity later.

      */ - UpdateTime?: Date; -} + OnDemandTargetCapacity?: number; -/** - *

      Describes a Spot Instance request.

      - */ -export interface SpotInstanceRequest { /** - *

      Deprecated.

      + *

      The maximum amount per hour for On-Demand Instances that you're willing to pay. You + * can use the onDemandMaxTotalPrice parameter, the + * spotMaxTotalPrice parameter, or both parameters to ensure that your + * fleet cost does not exceed your budget. If you set a maximum price per hour for the + * On-Demand Instances and Spot Instances in your request, Spot Fleet will launch instances until it reaches the + * maximum amount you're willing to pay. When the maximum amount you're willing to pay is + * reached, the fleet stops launching instances even if it hasn’t met the target + * capacity.

      */ - ActualBlockHourlyPrice?: string; + OnDemandMaxTotalPrice?: string; /** - *

      The Availability Zone group. If you specify the same Availability Zone group for all Spot Instance requests, all Spot Instances are launched in the same Availability Zone.

      + *

      The maximum amount per hour for Spot Instances that you're willing to pay. You can use + * the spotdMaxTotalPrice parameter, the onDemandMaxTotalPrice + * parameter, or both parameters to ensure that your fleet cost does not exceed your + * budget. If you set a maximum price per hour for the On-Demand Instances and Spot Instances in your request, + * Spot Fleet will launch instances until it reaches the maximum amount you're willing to pay. + * When the maximum amount you're willing to pay is reached, the fleet stops launching + * instances even if it hasn’t met the target capacity.

      */ - AvailabilityZoneGroup?: string; + SpotMaxTotalPrice?: string; /** - *

      Deprecated.

      + *

      Indicates whether running Spot Instances are terminated when the Spot Fleet request + * expires.

      */ - BlockDurationMinutes?: number; + TerminateInstancesWithExpiration?: boolean; /** - *

      The date and time when the Spot Instance request was created, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).

      + *

      The type of request. Indicates whether the Spot Fleet only requests the target + * capacity or also attempts to maintain it. When this value is request, the + * Spot Fleet only places the required requests. It does not attempt to replenish Spot + * Instances if capacity is diminished, nor does it submit requests in alternative Spot + * pools if capacity is not available. When this value is maintain, the Spot + * Fleet maintains the target capacity. The Spot Fleet places the required requests to meet + * capacity and automatically replenishes any interrupted instances. Default: + * maintain. instant is listed but is not used by Spot + * Fleet.

      */ - CreateTime?: Date; + Type?: FleetType | string; /** - *

      The fault codes for the Spot Instance request, if any.

      + *

      The start date and time of the request, in UTC format + * (YYYY-MM-DDTHH:MM:SSZ). + * By default, Amazon EC2 starts fulfilling the request immediately.

      */ - Fault?: SpotInstanceStateFault; + ValidFrom?: Date; /** - *

      The instance ID, if an instance has been launched to fulfill the Spot Instance request.

      + *

      The end date and time of the request, in UTC format + * (YYYY-MM-DDTHH:MM:SSZ). + * After the end date and time, no new Spot Instance requests are placed or able to fulfill + * the request. If no value is specified, the Spot Fleet request remains until you cancel + * it.

      */ - InstanceId?: string; + ValidUntil?: Date; /** - *

      The instance launch group. Launch groups are Spot Instances that launch together and terminate together.

      + *

      Indicates whether Spot Fleet should replace unhealthy instances.

      */ - LaunchGroup?: string; + ReplaceUnhealthyInstances?: boolean; /** - *

      Additional information for launching instances.

      + *

      The behavior when a Spot Instance is interrupted. The default is + * terminate.

      */ - LaunchSpecification?: LaunchSpecification; + InstanceInterruptionBehavior?: InstanceInterruptionBehavior | string; /** - *

      The Availability Zone in which the request is launched.

      + *

      One or more Classic Load Balancers and target groups to attach to the Spot Fleet + * request. Spot Fleet registers the running Spot Instances with the specified Classic Load + * Balancers and target groups.

      + *

      With Network Load Balancers, Spot Fleet cannot register instances that have the + * following instance types: C1, CC1, CC2, CG1, CG2, CR1, CS1, G1, G2, HI1, HS1, M1, M2, + * M3, and T1.

      */ - LaunchedAvailabilityZone?: string; + LoadBalancersConfig?: LoadBalancersConfig; /** - *

      The product description associated with the Spot Instance.

      + *

      The number of Spot pools across which to allocate your target Spot capacity. Valid + * only when Spot AllocationStrategy is set to + * lowest-price. Spot Fleet selects the cheapest Spot pools and evenly + * allocates your target Spot capacity across the number of Spot pools that you + * specify.

      + *

      Note that Spot Fleet attempts to draw Spot Instances from the number of pools that you specify on a + * best effort basis. If a pool runs out of Spot capacity before fulfilling your target + * capacity, Spot Fleet will continue to fulfill your request by drawing from the next cheapest + * pool. To ensure that your target capacity is met, you might receive Spot Instances from more than + * the number of pools that you specified. Similarly, if most of the pools have no Spot + * capacity, you might receive your full target capacity from fewer than the number of + * pools that you specified.

      */ - ProductDescription?: RIProductDescription | string; + InstancePoolsToUseCount?: number; /** - *

      The ID of the Spot Instance request.

      + *

      Reserved.

      */ - SpotInstanceRequestId?: string; + Context?: string; /** - *

      The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend - * using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.

      - * - *

      If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.

      - *
      + *

      The unit for the target capacity. TargetCapacityUnitType can only be specified when InstanceRequirements is specified.

      + *

      Default: units (translates to number of instances)

      */ - SpotPrice?: string; + TargetCapacityUnitType?: TargetCapacityUnitType | string; /** - *

      The state of the Spot Instance request. Spot request status information helps track your Spot - * Instance requests. For more information, see Spot request status in the - * Amazon EC2 User Guide for Linux Instances.

      + *

      The key-value pair for tagging the Spot Fleet request on creation. The value for + * ResourceType must be spot-fleet-request, otherwise the + * Spot Fleet request fails. To tag instances at launch, specify the tags in the launch + * template (valid only if you use LaunchTemplateConfigs) or in + * the + * SpotFleetTagSpecification + * (valid only if you use + * LaunchSpecifications). For information about tagging after launch, see + * Tagging Your Resources.

      */ - State?: SpotInstanceState | string; + TagSpecifications?: TagSpecification[]; +} +/** + *

      Describes a Spot Fleet request.

      + */ +export interface SpotFleetRequestConfig { /** - *

      The status code and status message describing the Spot Instance request.

      + *

      The progress of the Spot Fleet request. + * If there is an error, the status is error. + * After all requests are placed, the status is pending_fulfillment. + * If the size of the fleet is equal to or greater than its target capacity, the status is fulfilled. + * If the size of the fleet is decreased, the status is pending_termination + * while Spot Instances are terminating.

      */ - Status?: SpotInstanceStatus; + ActivityStatus?: ActivityStatus | string; /** - *

      Any tags assigned to the resource.

      + *

      The creation date and time of the request.

      */ - Tags?: Tag[]; + CreateTime?: Date; /** - *

      The Spot Instance request type.

      + *

      The configuration of the Spot Fleet request.

      */ - Type?: SpotInstanceType | string; + SpotFleetRequestConfig?: SpotFleetRequestConfigData; /** - *

      The start date of the request, in UTC format (for example, - * YYYY-MM-DDTHH:MM:SSZ). - * The request becomes active at this date and time.

      + *

      The ID of the Spot Fleet request.

      */ - ValidFrom?: Date; + SpotFleetRequestId?: string; /** - *

      The end date of the request, in UTC format - * (YYYY-MM-DDTHH:MM:SSZ).

      - *
        - *
      • - *

        For a persistent request, the request remains active until the validUntil date - * and time is reached. Otherwise, the request remains active until you cancel it. - *

        - *
      • - *
      • - *

        For a one-time request, the request remains active until all instances launch, - * the request is canceled, or the validUntil date and time is reached. By default, the - * request is valid for 7 days from the date the request was created.

        - *
      • - *
      + *

      The state of the Spot Fleet request.

      */ - ValidUntil?: Date; + SpotFleetRequestState?: BatchState | string; /** - *

      The behavior when a Spot Instance is interrupted.

      + *

      The tags for a Spot Fleet resource.

      */ - InstanceInterruptionBehavior?: InstanceInterruptionBehavior | string; + Tags?: Tag[]; } /** - *

      Contains the output of DescribeSpotInstanceRequests.

      + *

      Contains the output of DescribeSpotFleetRequests.

      */ -export interface DescribeSpotInstanceRequestsResult { +export interface DescribeSpotFleetRequestsResponse { /** - *

      One or more Spot Instance requests.

      + *

      The token required to retrieve the next set of results. This value is + * null when there are no more results to return.

      */ - SpotInstanceRequests?: SpotInstanceRequest[]; + NextToken?: string; /** - *

      The token to use to retrieve the next set of results. This value is null - * when there are no more results to return.

      + *

      Information about the configuration of your Spot Fleet.

      */ - NextToken?: string; + SpotFleetRequestConfigs?: SpotFleetRequestConfig[]; } /** - *

      Contains the parameters for DescribeSpotPriceHistory.

      + *

      Contains the parameters for DescribeSpotInstanceRequests.

      */ -export interface DescribeSpotPriceHistoryRequest { +export interface DescribeSpotInstanceRequestsRequest { /** *

      One or more filters.

      *
        *
      • *

        - * availability-zone - The Availability Zone for which prices should - * be returned.

        + * availability-zone-group - The Availability Zone group.

        *
      • *
      • *

        - * instance-type - The type of instance (for example, - * m3.medium).

        + * create-time - The time stamp when the Spot Instance request was + * created.

        *
      • *
      • *

        - * product-description - The product description for the Spot price - * (Linux/UNIX | Red Hat Enterprise Linux | - * SUSE Linux | Windows | Linux/UNIX (Amazon - * VPC) | Red Hat Enterprise Linux (Amazon VPC) | - * SUSE Linux (Amazon VPC) | Windows (Amazon - * VPC)).

        + * fault-code - The fault code related to the request.

        + *
      • + *
      • + *

        + * fault-message - The fault message related to the request.

        + *
      • + *
      • + *

        + * instance-id - The ID of the instance that fulfilled the + * request.

        + *
      • + *
      • + *

        + * launch-group - The Spot Instance launch group.

        + *
      • + *
      • + *

        + * launch.block-device-mapping.delete-on-termination - Indicates + * whether the EBS volume is deleted on instance termination.

        + *
      • + *
      • + *

        + * launch.block-device-mapping.device-name - The device name for the + * volume in the block device mapping (for example, /dev/sdh or + * xvdh).

        + *
      • + *
      • + *

        + * launch.block-device-mapping.snapshot-id - The ID of the snapshot + * for the EBS volume.

        + *
      • + *
      • + *

        + * launch.block-device-mapping.volume-size - The size of the EBS + * volume, in GiB.

        + *
      • + *
      • + *

        + * launch.block-device-mapping.volume-type - The type of EBS volume: + * gp2 for General Purpose SSD, io1 or + * io2 for Provisioned IOPS SSD, st1 for Throughput + * Optimized HDD, sc1for Cold HDD, or standard for + * Magnetic.

        + *
      • + *
      • + *

        + * launch.group-id - The ID of the security group for the + * instance.

        + *
      • + *
      • + *

        + * launch.group-name - The name of the security group for the + * instance.

        + *
      • + *
      • + *

        + * launch.image-id - The ID of the AMI.

        + *
      • + *
      • + *

        + * launch.instance-type - The type of instance (for example, + * m3.medium).

        + *
      • + *
      • + *

        + * launch.kernel-id - The kernel ID.

        + *
      • + *
      • + *

        + * launch.key-name - The name of the key pair the instance launched + * with.

        + *
      • + *
      • + *

        + * launch.monitoring-enabled - Whether detailed monitoring is + * enabled for the Spot Instance.

        + *
      • + *
      • + *

        + * launch.ramdisk-id - The RAM disk ID.

        + *
      • + *
      • + *

        + * launched-availability-zone - The Availability Zone in which the + * request is launched.

        + *
      • + *
      • + *

        + * network-interface.addresses.primary - Indicates whether the IP + * address is the primary private IP address.

        + *
      • + *
      • + *

        + * network-interface.delete-on-termination - Indicates whether the + * network interface is deleted when the instance is terminated.

        + *
      • + *
      • + *

        + * network-interface.description - A description of the network + * interface.

        + *
      • + *
      • + *

        + * network-interface.device-index - The index of the device for the + * network interface attachment on the instance.

        + *
      • + *
      • + *

        + * network-interface.group-id - The ID of the security group + * associated with the network interface.

        + *
      • + *
      • + *

        + * network-interface.network-interface-id - The ID of the network + * interface.

        + *
      • + *
      • + *

        + * network-interface.private-ip-address - The primary private IP + * address of the network interface.

        + *
      • + *
      • + *

        + * network-interface.subnet-id - The ID of the subnet for the + * instance.

        + *
      • + *
      • + *

        + * product-description - The product description associated with the + * instance (Linux/UNIX | Windows).

        + *
      • + *
      • + *

        + * spot-instance-request-id - The Spot Instance request ID.

        + *
      • + *
      • + *

        + * spot-price - The maximum hourly price for any Spot Instance + * launched to fulfill the request.

        + *
      • + *
      • + *

        + * state - The state of the Spot Instance request (open + * | active | closed | cancelled | + * failed). Spot request status information can help you track + * your Amazon EC2 Spot Instance requests. For more information, see Spot + * request status in the Amazon EC2 User Guide for Linux Instances.

        + *
      • + *
      • + *

        + * status-code - The short code describing the most recent + * evaluation of your Spot Instance request.

        + *
      • + *
      • + *

        + * status-message - The message explaining the status of the Spot + * Instance request.

        + *
      • + *
      • + *

        + * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. + * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

        + *
      • + *
      • + *

        + * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

        + *
      • + *
      • + *

        + * type - The type of Spot Instance request (one-time | + * persistent).

        *
      • *
      • *

        - * spot-price - The Spot price. The value must match exactly (or use - * wildcards; greater than or less than comparison is not supported).

        + * valid-from - The start date of the request.

        *
      • *
      • *

        - * timestamp - The time stamp of the Spot price history, in UTC format - * (for example, - * YYYY-MM-DDTHH:MM:SSZ). - * You can use wildcards (* and ?). Greater than or less than comparison is not - * supported.

        + * valid-until - The end date of the request.

        *
      • *
      */ Filters?: Filter[]; - /** - *

      Filters the results by the specified Availability Zone.

      - */ - AvailabilityZone?: string; - /** *

      Checks whether you have the required permissions for the action, without actually * making the request, and provides an error response. If you have the required * permissions, the error response is DryRunOperation. Otherwise, it is - * UnauthorizedOperation.

      + * UnauthorizedOperation.

      */ DryRun?: boolean; /** - *

      The date and time, up to the current date, from which to stop retrieving the price - * history data, in UTC format (for example, - * YYYY-MM-DDTHH:MM:SSZ).

      - */ - EndTime?: Date; - - /** - *

      Filters the results by the specified instance types.

      - */ - InstanceTypes?: (_InstanceType | string)[]; - - /** - *

      The maximum number of results to return in a single call. Specify a value between 1 - * and 1000. The default value is 1000. To retrieve the remaining results, make another - * call with the returned NextToken value.

      + *

      One or more Spot Instance request IDs.

      */ - MaxResults?: number; + SpotInstanceRequestIds?: string[]; /** - *

      The token for the next set of results.

      + *

      The token to request the next set of results. This value is null when + * there are no more results to return.

      */ NextToken?: string; /** - *

      Filters the results by the specified basic product descriptions.

      - */ - ProductDescriptions?: string[]; - - /** - *

      The date and time, up to the past 90 days, from which to start retrieving the price - * history data, in UTC format (for example, - * YYYY-MM-DDTHH:MM:SSZ).

      + *

      The maximum number of results to return in a single call. Specify a value between 5 + * and 1000. To retrieve the remaining results, make another call with the returned + * NextToken value.

      */ - StartTime?: Date; + MaxResults?: number; } /** - *

      The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend - * using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.

      - * - *

      If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.

      - *
      + *

      Describes the monitoring of an instance.

      */ -export interface SpotPrice { - /** - *

      The Availability Zone.

      - */ - AvailabilityZone?: string; - - /** - *

      The instance type.

      - */ - InstanceType?: _InstanceType | string; - - /** - *

      A general description of the AMI.

      - */ - ProductDescription?: RIProductDescription | string; - - /** - *

      The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend - * using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.

      - * - *

      If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.

      - *
      - */ - SpotPrice?: string; - +export interface RunInstancesMonitoringEnabled { /** - *

      The date and time the request was created, in UTC format (for example, - * YYYY-MM-DDTHH:MM:SSZ).

      + *

      Indicates whether detailed monitoring is enabled. Otherwise, basic monitoring is + * enabled.

      */ - Timestamp?: Date; + Enabled: boolean | undefined; } /** - *

      Contains the output of DescribeSpotPriceHistory.

      + *

      Describes the launch specification for an instance.

      */ -export interface DescribeSpotPriceHistoryResult { - /** - *

      The token required to retrieve the next set of results. This value is null or an empty - * string when there are no more results to return.

      - */ - NextToken?: string; - +export interface LaunchSpecification { /** - *

      The historical Spot prices.

      + *

      The Base64-encoded user data for the instance.

      */ - SpotPriceHistory?: SpotPrice[]; -} + UserData?: string; -export interface DescribeStaleSecurityGroupsRequest { /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      + *

      One or more security groups. When requesting instances in a VPC, you must specify the IDs of the security groups. When requesting instances in EC2-Classic, you can specify the names or the IDs of the security groups.

      */ - DryRun?: boolean; + SecurityGroups?: GroupIdentifier[]; /** - *

      The maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results.

      + *

      Deprecated.

      */ - MaxResults?: number; + AddressingType?: string; /** - *

      The token for the next set of items to return. (You received this token from a prior call.)

      + *

      One or more block device mapping entries.

      */ - NextToken?: string; + BlockDeviceMappings?: BlockDeviceMapping[]; /** - *

      The ID of the VPC.

      + *

      Indicates whether the instance is optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.

      + *

      Default: false + *

      */ - VpcId: string | undefined; -} + EbsOptimized?: boolean; -/** - *

      Describes a stale rule in a security group.

      - */ -export interface StaleIpPermission { /** - *

      The start of the port range for the TCP and UDP protocols, or an ICMP type number. A value of - * -1 indicates all ICMP types.

      + *

      The IAM instance profile.

      */ - FromPort?: number; + IamInstanceProfile?: IamInstanceProfileSpecification; /** - *

      The IP protocol name (for tcp, udp, and icmp) or number (see Protocol Numbers).

      + *

      The ID of the AMI.

      */ - IpProtocol?: string; + ImageId?: string; /** - *

      The IP ranges. Not applicable for stale security group rules.

      + *

      The instance type. Only one instance type can be specified.

      */ - IpRanges?: string[]; + InstanceType?: _InstanceType | string; /** - *

      The prefix list IDs. Not applicable for stale security group rules.

      + *

      The ID of the kernel.

      */ - PrefixListIds?: string[]; + KernelId?: string; /** - *

      The end of the port range for the TCP and UDP protocols, or an ICMP type number. A value of - * -1 indicates all ICMP types.

      + *

      The name of the key pair.

      */ - ToPort?: number; + KeyName?: string; /** - *

      The security group pairs. Returns the ID of the referenced security group and VPC, and the ID and status of the VPC peering connection.

      + *

      One or more network interfaces. If you specify a network interface, you must specify + * subnet IDs and security group IDs using the network interface.

      */ - UserIdGroupPairs?: UserIdGroupPair[]; -} + NetworkInterfaces?: InstanceNetworkInterfaceSpecification[]; -/** - *

      Describes a stale security group (a security group that contains stale rules).

      - */ -export interface StaleSecurityGroup { /** - *

      The description of the security group.

      + *

      The placement information for the instance.

      */ - Description?: string; + Placement?: SpotPlacement; /** - *

      The ID of the security group.

      + *

      The ID of the RAM disk.

      */ - GroupId?: string; + RamdiskId?: string; /** - *

      The name of the security group.

      + *

      The ID of the subnet in which to launch the instance.

      */ - GroupName?: string; + SubnetId?: string; /** - *

      Information about the stale inbound rules in the security group.

      + *

      Describes the monitoring of an instance.

      */ - StaleIpPermissions?: StaleIpPermission[]; + Monitoring?: RunInstancesMonitoringEnabled; +} - /** - *

      Information about the stale outbound rules in the security group.

      - */ - StaleIpPermissionsEgress?: StaleIpPermission[]; +export enum SpotInstanceState { + active = "active", + cancelled = "cancelled", + closed = "closed", + failed = "failed", + open = "open", +} +/** + *

      Describes the status of a Spot Instance request.

      + */ +export interface SpotInstanceStatus { /** - *

      The ID of the VPC for the security group.

      + *

      The status code. For a list of status codes, see Spot request status codes in the Amazon EC2 User Guide for Linux Instances.

      */ - VpcId?: string; -} + Code?: string; -export interface DescribeStaleSecurityGroupsResult { /** - *

      The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.

      + *

      The description for the status code.

      */ - NextToken?: string; + Message?: string; /** - *

      Information about the stale security groups.

      + *

      The date and time of the most recent status update, in UTC format (for example, + * YYYY-MM-DDTHH:MM:SSZ).

      */ - StaleSecurityGroupSet?: StaleSecurityGroup[]; + UpdateTime?: Date; } -export interface DescribeStoreImageTasksRequest { +/** + *

      Describes a Spot Instance request.

      + */ +export interface SpotInstanceRequest { /** - *

      The AMI IDs for which to show progress. Up to 20 AMI IDs can be included in a request.

      + *

      Deprecated.

      */ - ImageIds?: string[]; + ActualBlockHourlyPrice?: string; /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is - * DryRunOperation. Otherwise, it is UnauthorizedOperation.

      + *

      The Availability Zone group. If you specify the same Availability Zone group for all Spot Instance requests, all Spot Instances are launched in the same Availability Zone.

      */ - DryRun?: boolean; + AvailabilityZoneGroup?: string; /** - *

      The filters.

      - *
        - *
      • - *

        - * task-state - Returns tasks in a certain state (InProgress | - * Completed | Failed)

        - *
      • - *
      • - *

        - * bucket - Returns task information for tasks that targeted a specific - * bucket. For the filter value, specify the bucket name.

        - *
      • - *
      + *

      Deprecated.

      */ - Filters?: Filter[]; + BlockDurationMinutes?: number; /** - *

      The token for the next page of results.

      + *

      The date and time when the Spot Instance request was created, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).

      */ - NextToken?: string; + CreateTime?: Date; /** - *

      The maximum number of results to return in a single call. To retrieve the remaining - * results, make another call with the returned NextToken value. This value can be - * between 1 and 200. You cannot specify this parameter and the ImageIDs parameter - * in the same call.

      + *

      The fault codes for the Spot Instance request, if any.

      */ - MaxResults?: number; -} + Fault?: SpotInstanceStateFault; -/** - *

      The information about the AMI store task, including the progress of the task.

      - */ -export interface StoreImageTaskResult { /** - *

      The ID of the AMI that is being stored.

      + *

      The instance ID, if an instance has been launched to fulfill the Spot Instance request.

      */ - AmiId?: string; + InstanceId?: string; /** - *

      The time the task started.

      + *

      The instance launch group. Launch groups are Spot Instances that launch together and terminate together.

      */ - TaskStartTime?: Date; + LaunchGroup?: string; /** - *

      The name of the Amazon S3 bucket that contains the stored AMI object.

      + *

      Additional information for launching instances.

      */ - Bucket?: string; + LaunchSpecification?: LaunchSpecification; /** - *

      The name of the stored AMI object in the bucket.

      + *

      The Availability Zone in which the request is launched.

      */ - S3objectKey?: string; + LaunchedAvailabilityZone?: string; /** - *

      The progress of the task as a percentage.

      + *

      The product description associated with the Spot Instance.

      */ - ProgressPercentage?: number; + ProductDescription?: RIProductDescription | string; /** - *

      The state of the store task (InProgress, Completed, or - * Failed).

      + *

      The ID of the Spot Instance request.

      */ - StoreTaskState?: string; + SpotInstanceRequestId?: string; /** - *

      If the tasks fails, the reason for the failure is returned. If the task succeeds, - * null is returned.

      + *

      The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend + * using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.

      + * + *

      If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.

      + *
      */ - StoreTaskFailureReason?: string; -} + SpotPrice?: string; -export interface DescribeStoreImageTasksResult { /** - *

      The information about the AMI store tasks.

      + *

      The state of the Spot Instance request. Spot request status information helps track your Spot + * Instance requests. For more information, see Spot request status in the + * Amazon EC2 User Guide for Linux Instances.

      */ - StoreImageTaskResults?: StoreImageTaskResult[]; + State?: SpotInstanceState | string; /** - *

      The token to use to retrieve the next page of results. This value is null - * when there are no more results to return.

      + *

      The status code and status message describing the Spot Instance request.

      */ - NextToken?: string; -} + Status?: SpotInstanceStatus; -export interface DescribeSubnetsRequest { /** - *

      One or more filters.

      - *
        - *
      • - *

        - * availability-zone - The Availability Zone for the subnet. You can also use - * availabilityZone as the filter name.

        - *
      • - *
      • - *

        - * availability-zone-id - The ID of the Availability Zone for the subnet. - * You can also use availabilityZoneId as the filter name.

        - *
      • - *
      • - *

        - * available-ip-address-count - The number of IPv4 addresses in the - * subnet that are available.

        - *
      • - *
      • - *

        - * cidr-block - The IPv4 CIDR block of the subnet. The CIDR block - * you specify must exactly match the subnet's CIDR block for information to be - * returned for the subnet. You can also use cidr or - * cidrBlock as the filter names.

        - *
      • - *
      • - *

        - * customer-owned-ipv4-pool - The customer-owned IPv4 address pool - * associated with the subnet.

        - *
      • - *
      • - *

        - * default-for-az - Indicates whether this is the default subnet for - * the Availability Zone (true | false). You can also use - * defaultForAz as the filter name.

        - *
      • - *
      • - *

        - * enable-dns64 - Indicates whether DNS queries made to the - * Amazon-provided DNS Resolver in this subnet should return synthetic IPv6 - * addresses for IPv4-only destinations.

        - *
      • - *
      • - *

        - * enable-lni-at-device-index - Indicates the device position for - * local network interfaces in this subnet. For example, 1 indicates - * local network interfaces in this subnet are the secondary network interface - * (eth1).

        - *
      • - *
      • - *

        - * ipv6-cidr-block-association.ipv6-cidr-block - An IPv6 CIDR - * block associated with the subnet.

        - *
      • - *
      • - *

        - * ipv6-cidr-block-association.association-id - An association ID - * for an IPv6 CIDR block associated with the subnet.

        - *
      • - *
      • - *

        - * ipv6-cidr-block-association.state - The state of an IPv6 CIDR - * block associated with the subnet.

        - *
      • - *
      • - *

        - * ipv6-native - Indicates whether this is an IPv6 only subnet - * (true | false).

        - *
      • - *
      • - *

        - * map-customer-owned-ip-on-launch - Indicates whether a network - * interface created in this subnet (including a network interface created by RunInstances) receives a customer-owned IPv4 address.

        - *
      • - *
      • - *

        - * map-public-ip-on-launch - Indicates whether instances launched in - * this subnet receive a public IPv4 address.

        - *
      • - *
      • - *

        - * outpost-arn - The Amazon Resource Name (ARN) of the Outpost.

        - *
      • - *
      • - *

        - * owner-id - The ID of the Amazon Web Services account that owns the - * subnet.

        - *
      • - *
      • - *

        - * private-dns-name-options-on-launch.hostname-type - The type of - * hostname to assign to instances in the subnet at launch. For IPv4-only and - * dual-stack (IPv4 and IPv6) subnets, an instance DNS name can be based on the - * instance IPv4 address (ip-name) or the instance ID (resource-name). For IPv6 - * only subnets, an instance DNS name must be based on the instance ID - * (resource-name).

        - *
      • - *
      • - *

        - * private-dns-name-options-on-launch.enable-resource-name-dns-a-record - * - Indicates whether to respond to DNS queries for instance hostnames with DNS A - * records.

        - *
      • - *
      • - *

        - * private-dns-name-options-on-launch.enable-resource-name-dns-aaaa-record - * - Indicates whether to respond to DNS queries for instance hostnames with DNS - * AAAA records.

        - *
      • - *
      • - *

        - * state - The state of the subnet (pending | available).

        - *
      • - *
      • - *

        - * subnet-arn - The Amazon Resource Name (ARN) of the subnet.

        - *
      • - *
      • - *

        - * subnet-id - The ID of the subnet.

        - *
      • - *
      • - *

        - * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. - * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

        - *
      • - *
      • - *

        - * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

        - *
      • - *
      • - *

        - * vpc-id - The ID of the VPC for the subnet.

        - *
      • - *
      + *

      Any tags assigned to the resource.

      */ - Filters?: Filter[]; + Tags?: Tag[]; /** - *

      One or more subnet IDs.

      - *

      Default: Describes all your subnets.

      + *

      The Spot Instance request type.

      */ - SubnetIds?: string[]; + Type?: SpotInstanceType | string; /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      + *

      The start date of the request, in UTC format (for example, + * YYYY-MM-DDTHH:MM:SSZ). + * The request becomes active at this date and time.

      */ - DryRun?: boolean; + ValidFrom?: Date; /** - *

      The token for the next page of results.

      + *

      The end date of the request, in UTC format + * (YYYY-MM-DDTHH:MM:SSZ).

      + *
        + *
      • + *

        For a persistent request, the request remains active until the validUntil date + * and time is reached. Otherwise, the request remains active until you cancel it. + *

        + *
      • + *
      • + *

        For a one-time request, the request remains active until all instances launch, + * the request is canceled, or the validUntil date and time is reached. By default, the + * request is valid for 7 days from the date the request was created.

        + *
      • + *
      */ - NextToken?: string; + ValidUntil?: Date; /** - *

      The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

      + *

      The behavior when a Spot Instance is interrupted.

      */ - MaxResults?: number; + InstanceInterruptionBehavior?: InstanceInterruptionBehavior | string; } -export interface DescribeSubnetsResult { +/** + *

      Contains the output of DescribeSpotInstanceRequests.

      + */ +export interface DescribeSpotInstanceRequestsResult { /** - *

      Information about one or more subnets.

      + *

      One or more Spot Instance requests.

      */ - Subnets?: Subnet[]; + SpotInstanceRequests?: SpotInstanceRequest[]; /** - *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      + *

      The token to use to retrieve the next set of results. This value is null + * when there are no more results to return.

      */ NextToken?: string; } -export interface DescribeTagsRequest { - /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      - */ - DryRun?: boolean; - +/** + *

      Contains the parameters for DescribeSpotPriceHistory.

      + */ +export interface DescribeSpotPriceHistoryRequest { /** - *

      The filters.

      + *

      One or more filters.

      *
        *
      • *

        - * key - The tag key.

        + * availability-zone - The Availability Zone for which prices should + * be returned.

        *
      • *
      • *

        - * resource-id - The ID of the resource.

        + * instance-type - The type of instance (for example, + * m3.medium).

        *
      • *
      • *

        - * resource-type - The resource type (customer-gateway | dedicated-host | dhcp-options | elastic-ip | fleet | fpga-image | host-reservation | image | instance | internet-gateway | key-pair | launch-template | natgateway | network-acl | network-interface | placement-group | reserved-instances | route-table | security-group | snapshot | spot-instances-request | subnet | volume | vpc | vpc-endpoint | vpc-endpoint-service | vpc-peering-connection | vpn-connection | vpn-gateway).

        + * product-description - The product description for the Spot price + * (Linux/UNIX | Red Hat Enterprise Linux | + * SUSE Linux | Windows | Linux/UNIX (Amazon + * VPC) | Red Hat Enterprise Linux (Amazon VPC) | + * SUSE Linux (Amazon VPC) | Windows (Amazon + * VPC)).

        *
      • *
      • *

        - * tag: - The key/value combination of the tag. For example, - * specify "tag:Owner" for the filter name and "TeamA" for the filter value to find - * resources with the tag "Owner=TeamA".

        + * spot-price - The Spot price. The value must match exactly (or use + * wildcards; greater than or less than comparison is not supported).

        *
      • *
      • *

        - * value - The tag value.

        + * timestamp - The time stamp of the Spot price history, in UTC format + * (for example, + * YYYY-MM-DDTHH:MM:SSZ). + * You can use wildcards (* and ?). Greater than or less than comparison is not + * supported.

        *
      • *
      */ Filters?: Filter[]; /** - *

      The maximum number of results to return in a single call. - * This value can be between 5 and 1000. - * To retrieve the remaining results, make another call with the returned NextToken value.

      + *

      Filters the results by the specified Availability Zone.

      */ - MaxResults?: number; + AvailabilityZone?: string; /** - *

      The token to retrieve the next page of results.

      + *

      Checks whether you have the required permissions for the action, without actually + * making the request, and provides an error response. If you have the required + * permissions, the error response is DryRunOperation. Otherwise, it is + * UnauthorizedOperation.

      */ - NextToken?: string; -} + DryRun?: boolean; -/** - *

      Describes a tag.

      - */ -export interface TagDescription { /** - *

      The tag key.

      + *

      The date and time, up to the current date, from which to stop retrieving the price + * history data, in UTC format (for example, + * YYYY-MM-DDTHH:MM:SSZ).

      */ - Key?: string; + EndTime?: Date; /** - *

      The ID of the resource.

      + *

      Filters the results by the specified instance types.

      */ - ResourceId?: string; + InstanceTypes?: (_InstanceType | string)[]; /** - *

      The resource type.

      + *

      The maximum number of results to return in a single call. Specify a value between 1 + * and 1000. The default value is 1000. To retrieve the remaining results, make another + * call with the returned NextToken value.

      */ - ResourceType?: ResourceType | string; + MaxResults?: number; /** - *

      The tag value.

      + *

      The token for the next set of results.

      */ - Value?: string; -} + NextToken?: string; -export interface DescribeTagsResult { /** - *

      The token to use to retrieve the next page of results. This value is - * null when there are no more results to return.

      + *

      Filters the results by the specified basic product descriptions.

      */ - NextToken?: string; + ProductDescriptions?: string[]; /** - *

      The tags.

      + *

      The date and time, up to the past 90 days, from which to start retrieving the price + * history data, in UTC format (for example, + * YYYY-MM-DDTHH:MM:SSZ).

      */ - Tags?: TagDescription[]; + StartTime?: Date; } -export interface DescribeTrafficMirrorFiltersRequest { +/** + *

      The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend + * using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.

      + * + *

      If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.

      + *
      + */ +export interface SpotPrice { /** - *

      The ID of the Traffic Mirror filter.

      + *

      The Availability Zone.

      */ - TrafficMirrorFilterIds?: string[]; + AvailabilityZone?: string; /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      + *

      The instance type.

      */ - DryRun?: boolean; + InstanceType?: _InstanceType | string; /** - *

      One or more filters. The possible values are:

      - *
        - *
      • - *

        - * description: The Traffic Mirror filter description.

        - *
      • - *
      • - *

        - * traffic-mirror-filter-id: The ID of the Traffic Mirror filter.

        - *
      • - *
      + *

      A general description of the AMI.

      */ - Filters?: Filter[]; + ProductDescription?: RIProductDescription | string; /** - *

      The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

      + *

      The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend + * using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.

      + * + *

      If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.

      + *
      */ - MaxResults?: number; + SpotPrice?: string; /** - *

      The token for the next page of results.

      + *

      The date and time the request was created, in UTC format (for example, + * YYYY-MM-DDTHH:MM:SSZ).

      */ - NextToken?: string; + Timestamp?: Date; } -export interface DescribeTrafficMirrorFiltersResult { - /** - *

      Information about one or more Traffic Mirror filters.

      - */ - TrafficMirrorFilters?: TrafficMirrorFilter[]; - +/** + *

      Contains the output of DescribeSpotPriceHistory.

      + */ +export interface DescribeSpotPriceHistoryResult { /** - *

      The token to use to retrieve the next page of results. The value is null when there are no more results to return.

      + *

      The token required to retrieve the next set of results. This value is null or an empty + * string when there are no more results to return.

      */ NextToken?: string; -} -export interface DescribeTrafficMirrorSessionsRequest { /** - *

      The ID of the Traffic Mirror session.

      + *

      The historical Spot prices.

      */ - TrafficMirrorSessionIds?: string[]; + SpotPriceHistory?: SpotPrice[]; +} +export interface DescribeStaleSecurityGroupsRequest { /** *

      Checks whether you have the required permissions for the action, without actually making the request, * and provides an error response. If you have the required permissions, the error response is DryRunOperation. @@ -7561,396 +7560,348 @@ export interface DescribeTrafficMirrorSessionsRequest { DryRun?: boolean; /** - *

      One or more filters. The possible values are:

      - *
        - *
      • - *

        - * description: The Traffic Mirror session description.

        - *
      • - *
      • - *

        - * network-interface-id: The ID of the Traffic Mirror session network interface.

        - *
      • - *
      • - *

        - * owner-id: The ID of the account that owns the Traffic Mirror session.

        - *
      • - *
      • - *

        - * packet-length: The assigned number of packets to mirror.

        - *
      • - *
      • - *

        - * session-number: The assigned session number.

        - *
      • - *
      • - *

        - * traffic-mirror-filter-id: The ID of the Traffic Mirror filter.

        - *
      • - *
      • - *

        - * traffic-mirror-session-id: The ID of the Traffic Mirror session.

        - *
      • - *
      • - *

        - * traffic-mirror-target-id: The ID of the Traffic Mirror target.

        - *
      • - *
      • - *

        - * virtual-network-id: The virtual network ID of the Traffic Mirror session.

        - *
      • - *
      + *

      The maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results.

      */ - Filters?: Filter[]; + MaxResults?: number; /** - *

      The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

      + *

      The token for the next set of items to return. (You received this token from a prior call.)

      */ - MaxResults?: number; + NextToken?: string; /** - *

      The token for the next page of results.

      + *

      The ID of the VPC.

      */ - NextToken?: string; + VpcId: string | undefined; } -export interface DescribeTrafficMirrorSessionsResult { +/** + *

      Describes a stale rule in a security group.

      + */ +export interface StaleIpPermission { /** - *

      Describes one or more Traffic Mirror sessions. By default, all Traffic Mirror sessions are described. Alternatively, you can filter the results.

      + *

      The start of the port range for the TCP and UDP protocols, or an ICMP type number. A value of + * -1 indicates all ICMP types.

      */ - TrafficMirrorSessions?: TrafficMirrorSession[]; + FromPort?: number; /** - *

      The token to use to retrieve the next page of results. The value is null when there are no more results to return.

      + *

      The IP protocol name (for tcp, udp, and icmp) or number (see Protocol Numbers).

      */ - NextToken?: string; -} + IpProtocol?: string; -export interface DescribeTrafficMirrorTargetsRequest { /** - *

      The ID of the Traffic Mirror targets.

      + *

      The IP ranges. Not applicable for stale security group rules.

      */ - TrafficMirrorTargetIds?: string[]; + IpRanges?: string[]; /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      + *

      The prefix list IDs. Not applicable for stale security group rules.

      */ - DryRun?: boolean; + PrefixListIds?: string[]; /** - *

      One or more filters. The possible values are:

      - *
        - *
      • - *

        - * description: The Traffic Mirror target description.

        - *
      • - *
      • - *

        - * network-interface-id: The ID of the Traffic Mirror session network interface.

        - *
      • - *
      • - *

        - * network-load-balancer-arn: The Amazon Resource Name (ARN) of the Network Load Balancer that is associated with the session.

        - *
      • - *
      • - *

        - * owner-id: The ID of the account that owns the Traffic Mirror session.

        - *
      • - *
      • - *

        - * traffic-mirror-target-id: The ID of the Traffic Mirror target.

        - *
      • - *
      + *

      The end of the port range for the TCP and UDP protocols, or an ICMP type number. A value of + * -1 indicates all ICMP types.

      + */ + ToPort?: number; + + /** + *

      The security group pairs. Returns the ID of the referenced security group and VPC, and the ID and status of the VPC peering connection.

      + */ + UserIdGroupPairs?: UserIdGroupPair[]; +} + +/** + *

      Describes a stale security group (a security group that contains stale rules).

      + */ +export interface StaleSecurityGroup { + /** + *

      The description of the security group.

      + */ + Description?: string; + + /** + *

      The ID of the security group.

      + */ + GroupId?: string; + + /** + *

      The name of the security group.

      */ - Filters?: Filter[]; + GroupName?: string; /** - *

      The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

      + *

      Information about the stale inbound rules in the security group.

      */ - MaxResults?: number; + StaleIpPermissions?: StaleIpPermission[]; /** - *

      The token for the next page of results.

      + *

      Information about the stale outbound rules in the security group.

      */ - NextToken?: string; -} + StaleIpPermissionsEgress?: StaleIpPermission[]; -export interface DescribeTrafficMirrorTargetsResult { /** - *

      Information about one or more Traffic Mirror targets.

      + *

      The ID of the VPC for the security group.

      */ - TrafficMirrorTargets?: TrafficMirrorTarget[]; + VpcId?: string; +} +export interface DescribeStaleSecurityGroupsResult { /** - *

      The token to use to retrieve the next page of results. The value is null when there are no more results to return.

      + *

      The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.

      */ NextToken?: string; + + /** + *

      Information about the stale security groups.

      + */ + StaleSecurityGroupSet?: StaleSecurityGroup[]; } -export interface DescribeTransitGatewayAttachmentsRequest { +export interface DescribeStoreImageTasksRequest { /** - *

      The IDs of the attachments.

      + *

      The AMI IDs for which to show progress. Up to 20 AMI IDs can be included in a request.

      */ - TransitGatewayAttachmentIds?: string[]; + ImageIds?: string[]; /** - *

      One or more filters. The possible values are:

      + *

      Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is + * DryRunOperation. Otherwise, it is UnauthorizedOperation.

      + */ + DryRun?: boolean; + + /** + *

      The filters.

      *
        *
      • *

        - * association.state - The state of the association (associating | associated | - * disassociating).

        - *
      • - *
      • - *

        - * association.transit-gateway-route-table-id - The ID of the route table for the transit gateway.

        - *
      • - *
      • - *

        - * resource-id - The ID of the resource.

        - *
      • - *
      • - *

        - * resource-owner-id - The ID of the Amazon Web Services account that owns the resource.

        - *
      • - *
      • - *

        - * resource-type - The resource type. Valid values are vpc - * | vpn | direct-connect-gateway | peering - * | connect.

        - *
      • - *
      • - *

        - * state - The state of the attachment. Valid values are available | deleted | deleting | failed | failing | initiatingRequest | modifying | pendingAcceptance | pending | rollingBack | rejected | rejecting.

        - *
      • - *
      • - *

        - * transit-gateway-attachment-id - The ID of the attachment.

        - *
      • - *
      • - *

        - * transit-gateway-id - The ID of the transit gateway.

        + * task-state - Returns tasks in a certain state (InProgress | + * Completed | Failed)

        *
      • *
      • *

        - * transit-gateway-owner-id - The ID of the Amazon Web Services account that owns the transit gateway.

        + * bucket - Returns task information for tasks that targeted a specific + * bucket. For the filter value, specify the bucket name.

        *
      • *
      */ Filters?: Filter[]; - /** - *

      The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

      - */ - MaxResults?: number; - /** *

      The token for the next page of results.

      */ NextToken?: string; /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      - */ - DryRun?: boolean; -} - -/** - *

      Describes an association.

      - */ -export interface TransitGatewayAttachmentAssociation { - /** - *

      The ID of the route table for the transit gateway.

      - */ - TransitGatewayRouteTableId?: string; - - /** - *

      The state of the association.

      + *

      The maximum number of results to return in a single call. To retrieve the remaining + * results, make another call with the returned NextToken value. This value can be + * between 1 and 200. You cannot specify this parameter and the ImageIDs parameter + * in the same call.

      */ - State?: TransitGatewayAssociationState | string; + MaxResults?: number; } /** - *

      Describes an attachment between a resource and a transit gateway.

      + *

      The information about the AMI store task, including the progress of the task.

      */ -export interface TransitGatewayAttachment { - /** - *

      The ID of the attachment.

      - */ - TransitGatewayAttachmentId?: string; - - /** - *

      The ID of the transit gateway.

      - */ - TransitGatewayId?: string; - - /** - *

      The ID of the Amazon Web Services account that owns the transit gateway.

      - */ - TransitGatewayOwnerId?: string; - +export interface StoreImageTaskResult { /** - *

      The ID of the Amazon Web Services account that owns the resource.

      + *

      The ID of the AMI that is being stored.

      */ - ResourceOwnerId?: string; + AmiId?: string; /** - *

      The resource type. Note that the tgw-peering resource type has been deprecated.

      + *

      The time the task started.

      */ - ResourceType?: TransitGatewayAttachmentResourceType | string; + TaskStartTime?: Date; /** - *

      The ID of the resource.

      + *

      The name of the Amazon S3 bucket that contains the stored AMI object.

      */ - ResourceId?: string; + Bucket?: string; /** - *

      The attachment state. Note that the initiating state has been deprecated.

      + *

      The name of the stored AMI object in the bucket.

      */ - State?: TransitGatewayAttachmentState | string; + S3objectKey?: string; /** - *

      The association.

      + *

      The progress of the task as a percentage.

      */ - Association?: TransitGatewayAttachmentAssociation; + ProgressPercentage?: number; /** - *

      The creation time.

      + *

      The state of the store task (InProgress, Completed, or + * Failed).

      */ - CreationTime?: Date; + StoreTaskState?: string; /** - *

      The tags for the attachment.

      + *

      If the tasks fails, the reason for the failure is returned. If the task succeeds, + * null is returned.

      */ - Tags?: Tag[]; + StoreTaskFailureReason?: string; } -export interface DescribeTransitGatewayAttachmentsResult { +export interface DescribeStoreImageTasksResult { /** - *

      Information about the attachments.

      + *

      The information about the AMI store tasks.

      */ - TransitGatewayAttachments?: TransitGatewayAttachment[]; + StoreImageTaskResults?: StoreImageTaskResult[]; /** - *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      + *

      The token to use to retrieve the next page of results. This value is null + * when there are no more results to return.

      */ NextToken?: string; } -export interface DescribeTransitGatewayConnectPeersRequest { - /** - *

      The IDs of the Connect peers.

      - */ - TransitGatewayConnectPeerIds?: string[]; - +export interface DescribeSubnetsRequest { /** - *

      One or more filters. The possible values are:

      + *

      One or more filters.

      *
        *
      • *

        - * state - The state of the Connect peer (pending | - * available | deleting | - * deleted).

        + * availability-zone - The Availability Zone for the subnet. You can also use + * availabilityZone as the filter name.

        + *
      • + *
      • + *

        + * availability-zone-id - The ID of the Availability Zone for the subnet. + * You can also use availabilityZoneId as the filter name.

        + *
      • + *
      • + *

        + * available-ip-address-count - The number of IPv4 addresses in the + * subnet that are available.

        + *
      • + *
      • + *

        + * cidr-block - The IPv4 CIDR block of the subnet. The CIDR block + * you specify must exactly match the subnet's CIDR block for information to be + * returned for the subnet. You can also use cidr or + * cidrBlock as the filter names.

        + *
      • + *
      • + *

        + * customer-owned-ipv4-pool - The customer-owned IPv4 address pool + * associated with the subnet.

        + *
      • + *
      • + *

        + * default-for-az - Indicates whether this is the default subnet for + * the Availability Zone (true | false). You can also use + * defaultForAz as the filter name.

        + *
      • + *
      • + *

        + * enable-dns64 - Indicates whether DNS queries made to the + * Amazon-provided DNS Resolver in this subnet should return synthetic IPv6 + * addresses for IPv4-only destinations.

        + *
      • + *
      • + *

        + * enable-lni-at-device-index - Indicates the device position for + * local network interfaces in this subnet. For example, 1 indicates + * local network interfaces in this subnet are the secondary network interface + * (eth1).

        + *
      • + *
      • + *

        + * ipv6-cidr-block-association.ipv6-cidr-block - An IPv6 CIDR + * block associated with the subnet.

        + *
      • + *
      • + *

        + * ipv6-cidr-block-association.association-id - An association ID + * for an IPv6 CIDR block associated with the subnet.

        + *
      • + *
      • + *

        + * ipv6-cidr-block-association.state - The state of an IPv6 CIDR + * block associated with the subnet.

        + *
      • + *
      • + *

        + * ipv6-native - Indicates whether this is an IPv6 only subnet + * (true | false).

        + *
      • + *
      • + *

        + * map-customer-owned-ip-on-launch - Indicates whether a network + * interface created in this subnet (including a network interface created by RunInstances) receives a customer-owned IPv4 address.

        + *
      • + *
      • + *

        + * map-public-ip-on-launch - Indicates whether instances launched in + * this subnet receive a public IPv4 address.

        + *
      • + *
      • + *

        + * outpost-arn - The Amazon Resource Name (ARN) of the Outpost.

        + *
      • + *
      • + *

        + * owner-id - The ID of the Amazon Web Services account that owns the + * subnet.

        *
      • *
      • *

        - * transit-gateway-attachment-id - The ID of the attachment.

        + * private-dns-name-options-on-launch.hostname-type - The type of + * hostname to assign to instances in the subnet at launch. For IPv4-only and + * dual-stack (IPv4 and IPv6) subnets, an instance DNS name can be based on the + * instance IPv4 address (ip-name) or the instance ID (resource-name). For IPv6 + * only subnets, an instance DNS name must be based on the instance ID + * (resource-name).

        *
      • *
      • *

        - * transit-gateway-connect-peer-id - The ID of the Connect peer.

        + * private-dns-name-options-on-launch.enable-resource-name-dns-a-record + * - Indicates whether to respond to DNS queries for instance hostnames with DNS A + * records.

        *
      • - *
      - */ - Filters?: Filter[]; - - /** - *

      The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

      - */ - MaxResults?: number; - - /** - *

      The token for the next page of results.

      - */ - NextToken?: string; - - /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      - */ - DryRun?: boolean; -} - -export interface DescribeTransitGatewayConnectPeersResult { - /** - *

      Information about the Connect peers.

      - */ - TransitGatewayConnectPeers?: TransitGatewayConnectPeer[]; - - /** - *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      - */ - NextToken?: string; -} - -export interface DescribeTransitGatewayConnectsRequest { - /** - *

      The IDs of the attachments.

      - */ - TransitGatewayAttachmentIds?: string[]; - - /** - *

      One or more filters. The possible values are:

      - *
        *
      • *

        - * options.protocol - The tunnel protocol (gre).

        + * private-dns-name-options-on-launch.enable-resource-name-dns-aaaa-record + * - Indicates whether to respond to DNS queries for instance hostnames with DNS + * AAAA records.

        *
      • *
      • *

        - * state - The state of the attachment (initiating | - * initiatingRequest | pendingAcceptance | - * rollingBack | pending | available | - * modifying | deleting | deleted | - * failed | rejected | rejecting | - * failing).

        + * state - The state of the subnet (pending | available).

        *
      • *
      • *

        - * transit-gateway-attachment-id - The ID of the - * Connect attachment.

        + * subnet-arn - The Amazon Resource Name (ARN) of the subnet.

        *
      • *
      • *

        - * transit-gateway-id - The ID of the transit gateway.

        + * subnet-id - The ID of the subnet.

        *
      • *
      • *

        - * transport-transit-gateway-attachment-id - The ID of the transit gateway attachment from which the Connect attachment was created.

        + * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. + * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

        + *
      • + *
      • + *

        + * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

        + *
      • + *
      • + *

        + * vpc-id - The ID of the VPC for the subnet.

        *
      • *
      */ Filters?: Filter[]; /** - *

      The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

      - */ - MaxResults?: number; - - /** - *

      The token for the next page of results.

      + *

      One or more subnet IDs.

      + *

      Default: Describes all your subnets.

      */ - NextToken?: string; + SubnetIds?: string[]; /** *

      Checks whether you have the required permissions for the action, without actually making the request, @@ -7958,69 +7909,24 @@ export interface DescribeTransitGatewayConnectsRequest { * Otherwise, it is UnauthorizedOperation.

      */ DryRun?: boolean; -} - -export interface DescribeTransitGatewayConnectsResult { - /** - *

      Information about the Connect attachments.

      - */ - TransitGatewayConnects?: TransitGatewayConnect[]; /** - *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      + *

      The token for the next page of results.

      */ NextToken?: string; -} - -export interface DescribeTransitGatewayMulticastDomainsRequest { - /** - *

      The ID of the transit gateway multicast domain.

      - */ - TransitGatewayMulticastDomainIds?: string[]; - - /** - *

      One or more filters. The possible values are:

      - *
        - *
      • - *

        - * state - The state of the transit gateway multicast domain. Valid values are pending | available | deleting | deleted.

        - *
      • - *
      • - *

        - * transit-gateway-id - The ID of the transit gateway.

        - *
      • - *
      • - *

        - * transit-gateway-multicast-domain-id - The ID of the transit gateway multicast domain.

        - *
      • - *
      - */ - Filters?: Filter[]; /** *

      The maximum number of results to return with a single call. * To retrieve the remaining results, make another call with the returned nextToken value.

      */ MaxResults?: number; - - /** - *

      The token for the next page of results.

      - */ - NextToken?: string; - - /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      - */ - DryRun?: boolean; } -export interface DescribeTransitGatewayMulticastDomainsResult { +export interface DescribeSubnetsResult { /** - *

      Information about the transit gateway multicast domains.

      + *

      Information about one or more subnets.

      */ - TransitGatewayMulticastDomains?: TransitGatewayMulticastDomain[]; + Subnets?: Subnet[]; /** *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      @@ -8028,100 +7934,99 @@ export interface DescribeTransitGatewayMulticastDomainsResult { NextToken?: string; } -export interface DescribeTransitGatewayPeeringAttachmentsRequest { +export interface DescribeTagsRequest { /** - *

      One or more IDs of the transit gateway peering attachments.

      + *

      Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

      */ - TransitGatewayAttachmentIds?: string[]; + DryRun?: boolean; /** - *

      One or more filters. The possible values are:

      + *

      The filters.

      *
        *
      • *

        - * transit-gateway-attachment-id - The ID of the transit gateway attachment.

        - *
      • - *
      • - *

        - * local-owner-id - The ID of your Amazon Web Services account.

        - *
      • - *
      • - *

        - * remote-owner-id - The ID of the Amazon Web Services account in the remote Region that owns the transit gateway.

        + * key - The tag key.

        *
      • *
      • *

        - * state - The state of the peering attachment. Valid values are available | deleted | deleting | failed | failing | initiatingRequest | modifying | pendingAcceptance | pending | rollingBack | rejected | rejecting).

        + * resource-id - The ID of the resource.

        *
      • *
      • *

        - * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. - * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

        + * resource-type - The resource type (customer-gateway | dedicated-host | dhcp-options | elastic-ip | fleet | fpga-image | host-reservation | image | instance | internet-gateway | key-pair | launch-template | natgateway | network-acl | network-interface | placement-group | reserved-instances | route-table | security-group | snapshot | spot-instances-request | subnet | volume | vpc | vpc-endpoint | vpc-endpoint-service | vpc-peering-connection | vpn-connection | vpn-gateway).

        *
      • *
      • *

        - * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources that have a tag with a specific key, regardless of the tag value.

        + * tag: - The key/value combination of the tag. For example, + * specify "tag:Owner" for the filter name and "TeamA" for the filter value to find + * resources with the tag "Owner=TeamA".

        *
      • *
      • *

        - * transit-gateway-id - The ID of the transit gateway.

        + * value - The tag value.

        *
      • *
      */ Filters?: Filter[]; /** - *

      The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

      + *

      The maximum number of results to return in a single call. + * This value can be between 5 and 1000. + * To retrieve the remaining results, make another call with the returned NextToken value.

      */ MaxResults?: number; /** - *

      The token for the next page of results.

      + *

      The token to retrieve the next page of results.

      */ NextToken?: string; +} +/** + *

      Describes a tag.

      + */ +export interface TagDescription { /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      + *

      The tag key.

      */ - DryRun?: boolean; -} + Key?: string; -export interface DescribeTransitGatewayPeeringAttachmentsResult { /** - *

      The transit gateway peering attachments.

      + *

      The ID of the resource.

      */ - TransitGatewayPeeringAttachments?: TransitGatewayPeeringAttachment[]; + ResourceId?: string; /** - *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      + *

      The resource type.

      */ - NextToken?: string; -} + ResourceType?: ResourceType | string; -export interface DescribeTransitGatewayPolicyTablesRequest { /** - *

      The IDs of the transit gateway policy tables.

      + *

      The tag value.

      */ - TransitGatewayPolicyTableIds?: string[]; + Value?: string; +} +export interface DescribeTagsResult { /** - *

      The filters associated with the transit gateway policy table.

      + *

      The token to use to retrieve the next page of results. This value is + * null when there are no more results to return.

      */ - Filters?: Filter[]; + NextToken?: string; /** - *

      The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

      + *

      The tags.

      */ - MaxResults?: number; + Tags?: TagDescription[]; +} +export interface DescribeTrafficMirrorFiltersRequest { /** - *

      The token for the next page of results.

      + *

      The ID of the Traffic Mirror filter.

      */ - NextToken?: string; + TrafficMirrorFilterIds?: string[]; /** *

      Checks whether you have the required permissions for the action, without actually making the request, @@ -8129,28 +8034,19 @@ export interface DescribeTransitGatewayPolicyTablesRequest { * Otherwise, it is UnauthorizedOperation.

      */ DryRun?: boolean; -} - -export interface DescribeTransitGatewayPolicyTablesResult { - /** - *

      Describes the transit gateway policy tables.

      - */ - TransitGatewayPolicyTables?: TransitGatewayPolicyTable[]; - - /** - *

      The token for the next page of results.

      - */ - NextToken?: string; -} - -export interface DescribeTransitGatewayRouteTableAnnouncementsRequest { - /** - *

      The IDs of the transit gateway route tables that are being advertised.

      - */ - TransitGatewayRouteTableAnnouncementIds?: string[]; /** - *

      The filters associated with the transit gateway policy table.

      + *

      One or more filters. The possible values are:

      + *
        + *
      • + *

        + * description: The Traffic Mirror filter description.

        + *
      • + *
      • + *

        + * traffic-mirror-filter-id: The ID of the Traffic Mirror filter.

        + *
      • + *
      */ Filters?: Filter[]; @@ -8164,57 +8060,71 @@ export interface DescribeTransitGatewayRouteTableAnnouncementsRequest { *

      The token for the next page of results.

      */ NextToken?: string; - - /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      - */ - DryRun?: boolean; } -export interface DescribeTransitGatewayRouteTableAnnouncementsResult { +export interface DescribeTrafficMirrorFiltersResult { /** - *

      Describes the transit gateway route table announcement.

      + *

      Information about one or more Traffic Mirror filters.

      */ - TransitGatewayRouteTableAnnouncements?: TransitGatewayRouteTableAnnouncement[]; + TrafficMirrorFilters?: TrafficMirrorFilter[]; /** - *

      The token for the next page of results.

      + *

      The token to use to retrieve the next page of results. The value is null when there are no more results to return.

      */ NextToken?: string; } -export interface DescribeTransitGatewayRouteTablesRequest { +export interface DescribeTrafficMirrorSessionsRequest { /** - *

      The IDs of the transit gateway route tables.

      + *

      The ID of the Traffic Mirror session.

      */ - TransitGatewayRouteTableIds?: string[]; + TrafficMirrorSessionIds?: string[]; + + /** + *

      Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

      + */ + DryRun?: boolean; /** *

      One or more filters. The possible values are:

      *
        *
      • *

        - * default-association-route-table - Indicates whether this is the default - * association route table for the transit gateway (true | false).

        + * description: The Traffic Mirror session description.

        *
      • *
      • *

        - * default-propagation-route-table - Indicates whether this is the default - * propagation route table for the transit gateway (true | false).

        + * network-interface-id: The ID of the Traffic Mirror session network interface.

        *
      • *
      • *

        - * state - The state of the route table (available | deleting | deleted | pending).

        + * owner-id: The ID of the account that owns the Traffic Mirror session.

        *
      • *
      • *

        - * transit-gateway-id - The ID of the transit gateway.

        + * packet-length: The assigned number of packets to mirror.

        *
      • *
      • *

        - * transit-gateway-route-table-id - The ID of the transit gateway route table.

        + * session-number: The assigned session number.

        + *
      • + *
      • + *

        + * traffic-mirror-filter-id: The ID of the Traffic Mirror filter.

        + *
      • + *
      • + *

        + * traffic-mirror-session-id: The ID of the Traffic Mirror session.

        + *
      • + *
      • + *

        + * traffic-mirror-target-id: The ID of the Traffic Mirror target.

        + *
      • + *
      • + *

        + * virtual-network-id: The virtual network ID of the Traffic Mirror session.

        *
      • *
      */ @@ -8230,81 +8140,55 @@ export interface DescribeTransitGatewayRouteTablesRequest { *

      The token for the next page of results.

      */ NextToken?: string; - - /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      - */ - DryRun?: boolean; } -export interface DescribeTransitGatewayRouteTablesResult { +export interface DescribeTrafficMirrorSessionsResult { /** - *

      Information about the transit gateway route tables.

      + *

      Describes one or more Traffic Mirror sessions. By default, all Traffic Mirror sessions are described. Alternatively, you can filter the results.

      */ - TransitGatewayRouteTables?: TransitGatewayRouteTable[]; + TrafficMirrorSessions?: TrafficMirrorSession[]; /** - *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      + *

      The token to use to retrieve the next page of results. The value is null when there are no more results to return.

      */ NextToken?: string; } -export interface DescribeTransitGatewaysRequest { +export interface DescribeTrafficMirrorTargetsRequest { /** - *

      The IDs of the transit gateways.

      + *

      The ID of the Traffic Mirror targets.

      */ - TransitGatewayIds?: string[]; + TrafficMirrorTargetIds?: string[]; + + /** + *

      Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

      + */ + DryRun?: boolean; /** *

      One or more filters. The possible values are:

      *
        *
      • *

        - * options.propagation-default-route-table-id - The ID of the default propagation route table.

        - *
      • - *
      • - *

        - * options.amazon-side-asn - The private ASN for the Amazon side of a BGP session.

        - *
      • - *
      • - *

        - * options.association-default-route-table-id - The ID of the default association route table.

        - *
      • - *
      • - *

        - * options.auto-accept-shared-attachments - Indicates whether there is automatic acceptance of attachment requests (enable | disable).

        - *
      • - *
      • - *

        - * options.default-route-table-association - Indicates whether resource attachments are automatically - * associated with the default association route table (enable | disable).

        - *
      • - *
      • - *

        - * options.default-route-table-propagation - Indicates whether resource attachments automatically propagate - * routes to the default propagation route table (enable | disable).

        - *
      • - *
      • - *

        - * options.dns-support - Indicates whether DNS support is enabled (enable | disable).

        + * description: The Traffic Mirror target description.

        *
      • *
      • *

        - * options.vpn-ecmp-support - Indicates whether Equal Cost Multipath Protocol support is enabled (enable | disable).

        + * network-interface-id: The ID of the Traffic Mirror session network interface.

        *
      • *
      • *

        - * owner-id - The ID of the Amazon Web Services account that owns the transit gateway.

        + * network-load-balancer-arn: The Amazon Resource Name (ARN) of the Network Load Balancer that is associated with the session.

        *
      • *
      • *

        - * state - The state of the transit gateway (available | deleted | deleting | modifying | pending).

        + * owner-id: The ID of the account that owns the Traffic Mirror session.

        *
      • *
      • *

        - * transit-gateway-id - The ID of the transit gateway.

        + * traffic-mirror-target-id: The ID of the Traffic Mirror target.

        *
      • *
      */ @@ -8320,28 +8204,21 @@ export interface DescribeTransitGatewaysRequest { *

      The token for the next page of results.

      */ NextToken?: string; - - /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      - */ - DryRun?: boolean; } -export interface DescribeTransitGatewaysResult { +export interface DescribeTrafficMirrorTargetsResult { /** - *

      Information about the transit gateways.

      + *

      Information about one or more Traffic Mirror targets.

      */ - TransitGateways?: TransitGateway[]; + TrafficMirrorTargets?: TrafficMirrorTarget[]; /** - *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      + *

      The token to use to retrieve the next page of results. The value is null when there are no more results to return.

      */ NextToken?: string; } -export interface DescribeTransitGatewayVpcAttachmentsRequest { +export interface DescribeTransitGatewayAttachmentsRequest { /** *

      The IDs of the attachments.

      */ @@ -8352,6 +8229,29 @@ export interface DescribeTransitGatewayVpcAttachmentsRequest { *
        *
      • *

        + * association.state - The state of the association (associating | associated | + * disassociating).

        + *
      • + *
      • + *

        + * association.transit-gateway-route-table-id - The ID of the route table for the transit gateway.

        + *
      • + *
      • + *

        + * resource-id - The ID of the resource.

        + *
      • + *
      • + *

        + * resource-owner-id - The ID of the Amazon Web Services account that owns the resource.

        + *
      • + *
      • + *

        + * resource-type - The resource type. Valid values are vpc + * | vpn | direct-connect-gateway | peering + * | connect.

        + *
      • + *
      • + *

        * state - The state of the attachment. Valid values are available | deleted | deleting | failed | failing | initiatingRequest | modifying | pendingAcceptance | pending | rollingBack | rejected | rejecting.

        *
      • *
      • @@ -8364,7 +8264,7 @@ export interface DescribeTransitGatewayVpcAttachmentsRequest { *
      • *
      • *

        - * vpc-id - The ID of the VPC.

        + * transit-gateway-owner-id - The ID of the Amazon Web Services account that owns the transit gateway.

        *
      • *
      */ @@ -8389,115 +8289,81 @@ export interface DescribeTransitGatewayVpcAttachmentsRequest { DryRun?: boolean; } -export interface DescribeTransitGatewayVpcAttachmentsResult { +/** + *

      Describes an association.

      + */ +export interface TransitGatewayAttachmentAssociation { /** - *

      Information about the VPC attachments.

      + *

      The ID of the route table for the transit gateway.

      */ - TransitGatewayVpcAttachments?: TransitGatewayVpcAttachment[]; + TransitGatewayRouteTableId?: string; /** - *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      + *

      The state of the association.

      */ - NextToken?: string; + State?: TransitGatewayAssociationState | string; } -export interface DescribeTrunkInterfaceAssociationsRequest { - /** - *

      The IDs of the associations.

      - */ - AssociationIds?: string[]; - - /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      - */ - DryRun?: boolean; - - /** - *

      One or more filters.

      - *
        - *
      • - *

        - * gre-key - The ID of a trunk interface association.

        - *
      • - *
      • - *

        - * interface-protocol - The interface protocol. Valid values are VLAN and GRE.

        - *
      • - *
      - */ - Filters?: Filter[]; - - /** - *

      The token for the next page of results.

      - */ - NextToken?: string; - +/** + *

      Describes an attachment between a resource and a transit gateway.

      + */ +export interface TransitGatewayAttachment { /** - *

      The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

      + *

      The ID of the attachment.

      */ - MaxResults?: number; -} + TransitGatewayAttachmentId?: string; -export interface DescribeTrunkInterfaceAssociationsResult { /** - *

      Information about the trunk associations.

      + *

      The ID of the transit gateway.

      */ - InterfaceAssociations?: TrunkInterfaceAssociation[]; + TransitGatewayId?: string; /** - *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      + *

      The ID of the Amazon Web Services account that owns the transit gateway.

      */ - NextToken?: string; -} + TransitGatewayOwnerId?: string; -export interface DescribeVerifiedAccessEndpointsRequest { /** - *

      The ID of the Amazon Web Services Verified Access endpoint.

      + *

      The ID of the Amazon Web Services account that owns the resource.

      */ - VerifiedAccessEndpointIds?: string[]; + ResourceOwnerId?: string; /** - *

      The ID of the Amazon Web Services Verified Access instance.

      + *

      The resource type. Note that the tgw-peering resource type has been deprecated.

      */ - VerifiedAccessInstanceId?: string; + ResourceType?: TransitGatewayAttachmentResourceType | string; /** - *

      The ID of the Amazon Web Services Verified Access group.

      + *

      The ID of the resource.

      */ - VerifiedAccessGroupId?: string; + ResourceId?: string; /** - *

      The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

      + *

      The attachment state. Note that the initiating state has been deprecated.

      */ - MaxResults?: number; + State?: TransitGatewayAttachmentState | string; /** - *

      The token for the next page of results.

      + *

      The association.

      */ - NextToken?: string; + Association?: TransitGatewayAttachmentAssociation; /** - *

      One or more filters. Filter names and values are case-sensitive.

      + *

      The creation time.

      */ - Filters?: Filter[]; + CreationTime?: Date; /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      + *

      The tags for the attachment.

      */ - DryRun?: boolean; + Tags?: Tag[]; } -export interface DescribeVerifiedAccessEndpointsResult { +export interface DescribeTransitGatewayAttachmentsResult { /** - *

      The ID of the Amazon Web Services Verified Access endpoint.

      + *

      Information about the attachments.

      */ - VerifiedAccessEndpoints?: VerifiedAccessEndpoint[]; + TransitGatewayAttachments?: TransitGatewayAttachment[]; /** *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      @@ -8505,16 +8371,32 @@ export interface DescribeVerifiedAccessEndpointsResult { NextToken?: string; } -export interface DescribeVerifiedAccessGroupsRequest { +export interface DescribeTransitGatewayConnectPeersRequest { /** - *

      The ID of the Amazon Web Services Verified Access groups.

      + *

      The IDs of the Connect peers.

      */ - VerifiedAccessGroupIds?: string[]; + TransitGatewayConnectPeerIds?: string[]; /** - *

      The ID of the Amazon Web Services Verified Access instance.

      + *

      One or more filters. The possible values are:

      + *
        + *
      • + *

        + * state - The state of the Connect peer (pending | + * available | deleting | + * deleted).

        + *
      • + *
      • + *

        + * transit-gateway-attachment-id - The ID of the attachment.

        + *
      • + *
      • + *

        + * transit-gateway-connect-peer-id - The ID of the Connect peer.

        + *
      • + *
      */ - VerifiedAccessInstanceId?: string; + Filters?: Filter[]; /** *

      The maximum number of results to return with a single call. @@ -8527,11 +8409,6 @@ export interface DescribeVerifiedAccessGroupsRequest { */ NextToken?: string; - /** - *

      One or more filters. Filter names and values are case-sensitive.

      - */ - Filters?: Filter[]; - /** *

      Checks whether you have the required permissions for the action, without actually making the request, * and provides an error response. If you have the required permissions, the error response is DryRunOperation. @@ -8540,11 +8417,11 @@ export interface DescribeVerifiedAccessGroupsRequest { DryRun?: boolean; } -export interface DescribeVerifiedAccessGroupsResult { +export interface DescribeTransitGatewayConnectPeersResult { /** - *

      The ID of the Verified Access group.

      + *

      Information about the Connect peers.

      */ - VerifiedAccessGroups?: VerifiedAccessGroup[]; + TransitGatewayConnectPeers?: TransitGatewayConnectPeer[]; /** *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      @@ -8552,11 +8429,44 @@ export interface DescribeVerifiedAccessGroupsResult { NextToken?: string; } -export interface DescribeVerifiedAccessInstanceLoggingConfigurationsRequest { +export interface DescribeTransitGatewayConnectsRequest { /** - *

      The IDs of the Amazon Web Services Verified Access instances.

      + *

      The IDs of the attachments.

      */ - VerifiedAccessInstanceIds?: string[]; + TransitGatewayAttachmentIds?: string[]; + + /** + *

      One or more filters. The possible values are:

      + *
        + *
      • + *

        + * options.protocol - The tunnel protocol (gre).

        + *
      • + *
      • + *

        + * state - The state of the attachment (initiating | + * initiatingRequest | pendingAcceptance | + * rollingBack | pending | available | + * modifying | deleting | deleted | + * failed | rejected | rejecting | + * failing).

        + *
      • + *
      • + *

        + * transit-gateway-attachment-id - The ID of the + * Connect attachment.

        + *
      • + *
      • + *

        + * transit-gateway-id - The ID of the transit gateway.

        + *
      • + *
      • + *

        + * transport-transit-gateway-attachment-id - The ID of the transit gateway attachment from which the Connect attachment was created.

        + *
      • + *
      + */ + Filters?: Filter[]; /** *

      The maximum number of results to return with a single call. @@ -8569,11 +8479,6 @@ export interface DescribeVerifiedAccessInstanceLoggingConfigurationsRequest { */ NextToken?: string; - /** - *

      One or more filters. Filter names and values are case-sensitive.

      - */ - Filters?: Filter[]; - /** *

      Checks whether you have the required permissions for the action, without actually making the request, * and provides an error response. If you have the required permissions, the error response is DryRunOperation. @@ -8582,136 +8487,140 @@ export interface DescribeVerifiedAccessInstanceLoggingConfigurationsRequest { DryRun?: boolean; } -export enum VerifiedAccessLogDeliveryStatusCode { - FAILED = "failed", - SUCCESS = "success", -} - -/** - *

      Describes a log delivery status.

      - */ -export interface VerifiedAccessLogDeliveryStatus { +export interface DescribeTransitGatewayConnectsResult { /** - *

      The status code.

      + *

      Information about the Connect attachments.

      */ - Code?: VerifiedAccessLogDeliveryStatusCode | string; + TransitGatewayConnects?: TransitGatewayConnect[]; /** - *

      The status message.

      + *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      */ - Message?: string; + NextToken?: string; } -/** - *

      Options for CloudWatch Logs as a logging destination.

      - */ -export interface VerifiedAccessLogCloudWatchLogsDestination { - /** - *

      Indicates whether logging is enabled.

      - */ - Enabled?: boolean; - +export interface DescribeTransitGatewayMulticastDomainsRequest { /** - *

      The delivery status for access logs.

      + *

      The ID of the transit gateway multicast domain.

      */ - DeliveryStatus?: VerifiedAccessLogDeliveryStatus; + TransitGatewayMulticastDomainIds?: string[]; /** - *

      The ID of the CloudWatch Logs log group.

      + *

      One or more filters. The possible values are:

      + *
        + *
      • + *

        + * state - The state of the transit gateway multicast domain. Valid values are pending | available | deleting | deleted.

        + *
      • + *
      • + *

        + * transit-gateway-id - The ID of the transit gateway.

        + *
      • + *
      • + *

        + * transit-gateway-multicast-domain-id - The ID of the transit gateway multicast domain.

        + *
      • + *
      */ - LogGroup?: string; -} + Filters?: Filter[]; -/** - *

      Options for Kinesis as a logging destination.

      - */ -export interface VerifiedAccessLogKinesisDataFirehoseDestination { /** - *

      Indicates whether logging is enabled.

      + *

      The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

      */ - Enabled?: boolean; + MaxResults?: number; /** - *

      The delivery status.

      + *

      The token for the next page of results.

      */ - DeliveryStatus?: VerifiedAccessLogDeliveryStatus; + NextToken?: string; /** - *

      The ID of the delivery stream.

      + *

      Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

      */ - DeliveryStream?: string; + DryRun?: boolean; } -/** - *

      Options for Amazon S3 as a logging destination.

      - */ -export interface VerifiedAccessLogS3Destination { - /** - *

      Indicates whether logging is enabled.

      - */ - Enabled?: boolean; - - /** - *

      The delivery status.

      - */ - DeliveryStatus?: VerifiedAccessLogDeliveryStatus; - - /** - *

      The bucket name.

      - */ - BucketName?: string; - +export interface DescribeTransitGatewayMulticastDomainsResult { /** - *

      The bucket prefix.

      + *

      Information about the transit gateway multicast domains.

      */ - Prefix?: string; + TransitGatewayMulticastDomains?: TransitGatewayMulticastDomain[]; /** - *

      The Amazon Web Services account number that owns the bucket.

      + *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      */ - BucketOwner?: string; + NextToken?: string; } -/** - *

      Describes the destinations for Verified Access logs.

      - */ -export interface VerifiedAccessLogs { +export interface DescribeTransitGatewayPeeringAttachmentsRequest { /** - *

      Amazon S3 logging options.

      + *

      One or more IDs of the transit gateway peering attachments.

      */ - S3?: VerifiedAccessLogS3Destination; + TransitGatewayAttachmentIds?: string[]; /** - *

      CloudWatch Logs logging destination.

      + *

      One or more filters. The possible values are:

      + *
        + *
      • + *

        + * transit-gateway-attachment-id - The ID of the transit gateway attachment.

        + *
      • + *
      • + *

        + * local-owner-id - The ID of your Amazon Web Services account.

        + *
      • + *
      • + *

        + * remote-owner-id - The ID of the Amazon Web Services account in the remote Region that owns the transit gateway.

        + *
      • + *
      • + *

        + * state - The state of the peering attachment. Valid values are available | deleted | deleting | failed | failing | initiatingRequest | modifying | pendingAcceptance | pending | rollingBack | rejected | rejecting).

        + *
      • + *
      • + *

        + * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. + * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

        + *
      • + *
      • + *

        + * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources that have a tag with a specific key, regardless of the tag value.

        + *
      • + *
      • + *

        + * transit-gateway-id - The ID of the transit gateway.

        + *
      • + *
      */ - CloudWatchLogs?: VerifiedAccessLogCloudWatchLogsDestination; + Filters?: Filter[]; /** - *

      Kinesis logging destination.

      - */ - KinesisDataFirehose?: VerifiedAccessLogKinesisDataFirehoseDestination; -} - -/** - *

      Describes logging options for an Amazon Web Services Verified Access instance.

      - */ -export interface VerifiedAccessInstanceLoggingConfiguration { + *

      The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

      + */ + MaxResults?: number; + /** - *

      The ID of the Amazon Web Services Verified Access instance.

      + *

      The token for the next page of results.

      */ - VerifiedAccessInstanceId?: string; + NextToken?: string; /** - *

      Details about the logging options.

      + *

      Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

      */ - AccessLogs?: VerifiedAccessLogs; + DryRun?: boolean; } -export interface DescribeVerifiedAccessInstanceLoggingConfigurationsResult { +export interface DescribeTransitGatewayPeeringAttachmentsResult { /** - *

      The current logging configuration for the Amazon Web Services Verified Access instances.

      + *

      The transit gateway peering attachments.

      */ - LoggingConfigurations?: VerifiedAccessInstanceLoggingConfiguration[]; + TransitGatewayPeeringAttachments?: TransitGatewayPeeringAttachment[]; /** *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      @@ -8719,11 +8628,16 @@ export interface DescribeVerifiedAccessInstanceLoggingConfigurationsResult { NextToken?: string; } -export interface DescribeVerifiedAccessInstancesRequest { +export interface DescribeTransitGatewayPolicyTablesRequest { /** - *

      The IDs of the Amazon Web Services Verified Access instances.

      + *

      The IDs of the transit gateway policy tables.

      */ - VerifiedAccessInstanceIds?: string[]; + TransitGatewayPolicyTableIds?: string[]; + + /** + *

      The filters associated with the transit gateway policy table.

      + */ + Filters?: Filter[]; /** *

      The maximum number of results to return with a single call. @@ -8736,11 +8650,6 @@ export interface DescribeVerifiedAccessInstancesRequest { */ NextToken?: string; - /** - *

      One or more filters. Filter names and values are case-sensitive.

      - */ - Filters?: Filter[]; - /** *

      Checks whether you have the required permissions for the action, without actually making the request, * and provides an error response. If you have the required permissions, the error response is DryRunOperation. @@ -8749,23 +8658,28 @@ export interface DescribeVerifiedAccessInstancesRequest { DryRun?: boolean; } -export interface DescribeVerifiedAccessInstancesResult { +export interface DescribeTransitGatewayPolicyTablesResult { /** - *

      The IDs of the Amazon Web Services Verified Access instances.

      + *

      Describes the transit gateway policy tables.

      */ - VerifiedAccessInstances?: VerifiedAccessInstance[]; + TransitGatewayPolicyTables?: TransitGatewayPolicyTable[]; /** - *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      + *

      The token for the next page of results.

      */ NextToken?: string; } -export interface DescribeVerifiedAccessTrustProvidersRequest { +export interface DescribeTransitGatewayRouteTableAnnouncementsRequest { /** - *

      The IDs of the Amazon Web Services Verified Access trust providers.

      + *

      The IDs of the transit gateway route tables that are being advertised.

      */ - VerifiedAccessTrustProviderIds?: string[]; + TransitGatewayRouteTableAnnouncementIds?: string[]; + + /** + *

      The filters associated with the transit gateway policy table.

      + */ + Filters?: Filter[]; /** *

      The maximum number of results to return with a single call. @@ -8778,11 +8692,6 @@ export interface DescribeVerifiedAccessTrustProvidersRequest { */ NextToken?: string; - /** - *

      One or more filters. Filter names and values are case-sensitive.

      - */ - Filters?: Filter[]; - /** *

      Checks whether you have the required permissions for the action, without actually making the request, * and provides an error response. If you have the required permissions, the error response is DryRunOperation. @@ -8791,33 +8700,63 @@ export interface DescribeVerifiedAccessTrustProvidersRequest { DryRun?: boolean; } -export interface DescribeVerifiedAccessTrustProvidersResult { +export interface DescribeTransitGatewayRouteTableAnnouncementsResult { /** - *

      The IDs of the Amazon Web Services Verified Access trust providers.

      + *

      Describes the transit gateway route table announcement.

      */ - VerifiedAccessTrustProviders?: VerifiedAccessTrustProvider[]; + TransitGatewayRouteTableAnnouncements?: TransitGatewayRouteTableAnnouncement[]; /** - *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      + *

      The token for the next page of results.

      */ NextToken?: string; } -export enum VolumeAttributeName { - autoEnableIO = "autoEnableIO", - productCodes = "productCodes", -} +export interface DescribeTransitGatewayRouteTablesRequest { + /** + *

      The IDs of the transit gateway route tables.

      + */ + TransitGatewayRouteTableIds?: string[]; -export interface DescribeVolumeAttributeRequest { /** - *

      The attribute of the volume. This parameter is required.

      + *

      One or more filters. The possible values are:

      + *
        + *
      • + *

        + * default-association-route-table - Indicates whether this is the default + * association route table for the transit gateway (true | false).

        + *
      • + *
      • + *

        + * default-propagation-route-table - Indicates whether this is the default + * propagation route table for the transit gateway (true | false).

        + *
      • + *
      • + *

        + * state - The state of the route table (available | deleting | deleted | pending).

        + *
      • + *
      • + *

        + * transit-gateway-id - The ID of the transit gateway.

        + *
      • + *
      • + *

        + * transit-gateway-route-table-id - The ID of the transit gateway route table.

        + *
      • + *
      */ - Attribute: VolumeAttributeName | string | undefined; + Filters?: Filter[]; /** - *

      The ID of the volume.

      + *

      The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

      */ - VolumeId: string | undefined; + MaxResults?: number; + + /** + *

      The token for the next page of results.

      + */ + NextToken?: string; /** *

      Checks whether you have the required permissions for the action, without actually making the request, @@ -8827,117 +8766,87 @@ export interface DescribeVolumeAttributeRequest { DryRun?: boolean; } -export interface DescribeVolumeAttributeResult { +export interface DescribeTransitGatewayRouteTablesResult { /** - *

      The state of autoEnableIO attribute.

      + *

      Information about the transit gateway route tables.

      */ - AutoEnableIO?: AttributeBooleanValue; + TransitGatewayRouteTables?: TransitGatewayRouteTable[]; /** - *

      A list of product codes.

      + *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      */ - ProductCodes?: ProductCode[]; + NextToken?: string; +} +export interface DescribeTransitGatewaysRequest { /** - *

      The ID of the volume.

      + *

      The IDs of the transit gateways.

      */ - VolumeId?: string; -} + TransitGatewayIds?: string[]; -export interface DescribeVolumesRequest { /** - *

      The filters.

      + *

      One or more filters. The possible values are:

      *
        *
      • *

        - * attachment.attach-time - The time stamp when the attachment - * initiated.

        - *
      • - *
      • - *

        - * attachment.delete-on-termination - Whether the volume is deleted on - * instance termination.

        - *
      • - *
      • - *

        - * attachment.device - The device name specified in the block device mapping - * (for example, /dev/sda1).

        - *
      • - *
      • - *

        - * attachment.instance-id - The ID of the instance the volume is attached - * to.

        - *
      • - *
      • - *

        - * attachment.status - The attachment state (attaching | - * attached | detaching).

        - *
      • - *
      • - *

        - * availability-zone - The Availability Zone in which the volume was - * created.

        - *
      • - *
      • - *

        - * create-time - The time stamp when the volume was created.

        + * options.propagation-default-route-table-id - The ID of the default propagation route table.

        *
      • *
      • *

        - * encrypted - Indicates whether the volume is encrypted (true - * | false)

        + * options.amazon-side-asn - The private ASN for the Amazon side of a BGP session.

        *
      • *
      • *

        - * multi-attach-enabled - Indicates whether the volume is enabled for Multi-Attach (true - * | false)

        + * options.association-default-route-table-id - The ID of the default association route table.

        *
      • *
      • *

        - * fast-restored - Indicates whether the volume was created from a - * snapshot that is enabled for fast snapshot restore (true | - * false).

        + * options.auto-accept-shared-attachments - Indicates whether there is automatic acceptance of attachment requests (enable | disable).

        *
      • *
      • *

        - * size - The size of the volume, in GiB.

        + * options.default-route-table-association - Indicates whether resource attachments are automatically + * associated with the default association route table (enable | disable).

        *
      • *
      • *

        - * snapshot-id - The snapshot from which the volume was created.

        + * options.default-route-table-propagation - Indicates whether resource attachments automatically propagate + * routes to the default propagation route table (enable | disable).

        *
      • *
      • *

        - * status - The state of the volume (creating | - * available | in-use | deleting | - * deleted | error).

        + * options.dns-support - Indicates whether DNS support is enabled (enable | disable).

        *
      • *
      • *

        - * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. - * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

        + * options.vpn-ecmp-support - Indicates whether Equal Cost Multipath Protocol support is enabled (enable | disable).

        *
      • *
      • *

        - * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

        + * owner-id - The ID of the Amazon Web Services account that owns the transit gateway.

        *
      • *
      • *

        - * volume-id - The volume ID.

        + * state - The state of the transit gateway (available | deleted | deleting | modifying | pending).

        *
      • *
      • *

        - * volume-type - The Amazon EBS volume type (gp2 | gp3 | io1 | io2 | - * st1 | sc1| standard)

        + * transit-gateway-id - The ID of the transit gateway.

        *
      • *
      */ Filters?: Filter[]; /** - *

      The volume IDs.

      + *

      The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

      */ - VolumeIds?: string[]; + MaxResults?: number; + + /** + *

      The token for the next page of results.

      + */ + NextToken?: string; /** *

      Checks whether you have the required permissions for the action, without actually making the request, @@ -8945,46 +8854,86 @@ export interface DescribeVolumesRequest { * Otherwise, it is UnauthorizedOperation.

      */ DryRun?: boolean; +} +export interface DescribeTransitGatewaysResult { /** - *

      The maximum number of volume results returned by DescribeVolumes in paginated - * output. When this parameter is used, DescribeVolumes only returns - * MaxResults results in a single page along with a NextToken - * response element. The remaining results of the initial request can be seen by sending another - * DescribeVolumes request with the returned NextToken value. This - * value can be between 5 and 500; if MaxResults is given a value larger than 500, - * only 500 results are returned. If this parameter is not used, then - * DescribeVolumes returns all results. You cannot specify this parameter and the - * volume IDs parameter in the same request.

      + *

      Information about the transit gateways.

      + */ + TransitGateways?: TransitGateway[]; + + /** + *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      + */ + NextToken?: string; +} + +export interface DescribeTransitGatewayVpcAttachmentsRequest { + /** + *

      The IDs of the attachments.

      + */ + TransitGatewayAttachmentIds?: string[]; + + /** + *

      One or more filters. The possible values are:

      + *
        + *
      • + *

        + * state - The state of the attachment. Valid values are available | deleted | deleting | failed | failing | initiatingRequest | modifying | pendingAcceptance | pending | rollingBack | rejected | rejecting.

        + *
      • + *
      • + *

        + * transit-gateway-attachment-id - The ID of the attachment.

        + *
      • + *
      • + *

        + * transit-gateway-id - The ID of the transit gateway.

        + *
      • + *
      • + *

        + * vpc-id - The ID of the VPC.

        + *
      • + *
      + */ + Filters?: Filter[]; + + /** + *

      The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

      */ MaxResults?: number; /** - *

      The NextToken value returned from a previous paginated - * DescribeVolumes request where MaxResults was used and the results - * exceeded the value of that parameter. Pagination continues from the end of the previous - * results that returned the NextToken value. This value is null when - * there are no more results to return.

      + *

      The token for the next page of results.

      */ NextToken?: string; + + /** + *

      Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

      + */ + DryRun?: boolean; } -export interface DescribeVolumesResult { +export interface DescribeTransitGatewayVpcAttachmentsResult { /** - *

      Information about the volumes.

      + *

      Information about the VPC attachments.

      */ - Volumes?: Volume[]; + TransitGatewayVpcAttachments?: TransitGatewayVpcAttachment[]; /** - *

      The NextToken value to include in a future DescribeVolumes - * request. When the results of a DescribeVolumes request exceed - * MaxResults, this value can be used to retrieve the next page of results. This - * value is null when there are no more results to return.

      + *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      */ NextToken?: string; } -export interface DescribeVolumesModificationsRequest { +export interface DescribeTrunkInterfaceAssociationsRequest { + /** + *

      The IDs of the associations.

      + */ + AssociationIds?: string[]; + /** *

      Checks whether you have the required permissions for the action, without actually making the request, * and provides an error response. If you have the required permissions, the error response is DryRunOperation. @@ -8993,274 +8942,164 @@ export interface DescribeVolumesModificationsRequest { DryRun?: boolean; /** - *

      The IDs of the volumes.

      - */ - VolumeIds?: string[]; - - /** - *

      The filters.

      + *

      One or more filters.

      *
        *
      • *

        - * modification-state - The current modification state (modifying | - * optimizing | completed | failed).

        - *
      • - *
      • - *

        - * original-iops - The original IOPS rate of the volume.

        - *
      • - *
      • - *

        - * original-size - The original size of the volume, in GiB.

        - *
      • - *
      • - *

        - * original-volume-type - The original volume type of the volume (standard | - * io1 | io2 | gp2 | sc1 | st1).

        - *
      • - *
      • - *

        - * originalMultiAttachEnabled - Indicates whether Multi-Attach support was enabled (true | false).

        - *
      • - *
      • - *

        - * start-time - The modification start time.

        - *
      • - *
      • - *

        - * target-iops - The target IOPS rate of the volume.

        - *
      • - *
      • - *

        - * target-size - The target size of the volume, in GiB.

        - *
      • - *
      • - *

        - * target-volume-type - The target volume type of the volume (standard | - * io1 | io2 | gp2 | sc1 | st1).

        - *
      • - *
      • - *

        - * targetMultiAttachEnabled - Indicates whether Multi-Attach support is to be enabled (true | false).

        + * gre-key - The ID of a trunk interface association.

        *
      • *
      • *

        - * volume-id - The ID of the volume.

        + * interface-protocol - The interface protocol. Valid values are VLAN and GRE.

        *
      • *
      */ Filters?: Filter[]; /** - *

      The nextToken value returned by a previous paginated request.

      + *

      The token for the next page of results.

      */ NextToken?: string; /** - *

      The maximum number of results (up to a limit of 500) to be returned in a paginated - * request.

      + *

      The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

      */ MaxResults?: number; } -export enum VolumeModificationState { - completed = "completed", - failed = "failed", - modifying = "modifying", - optimizing = "optimizing", -} - -/** - *

      Describes the modification status of an EBS volume.

      - *

      If the volume has never been modified, some element values will be null.

      - */ -export interface VolumeModification { - /** - *

      The ID of the volume.

      - */ - VolumeId?: string; - - /** - *

      The current modification state. The modification state is null for unmodified - * volumes.

      - */ - ModificationState?: VolumeModificationState | string; - +export interface DescribeTrunkInterfaceAssociationsResult { /** - *

      A status message about the modification progress or failure.

      + *

      Information about the trunk associations.

      */ - StatusMessage?: string; + InterfaceAssociations?: TrunkInterfaceAssociation[]; /** - *

      The target size of the volume, in GiB.

      + *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      */ - TargetSize?: number; + NextToken?: string; +} +export interface DescribeVerifiedAccessEndpointsRequest { /** - *

      The target IOPS rate of the volume.

      + *

      The ID of the Amazon Web Services Verified Access endpoint.

      */ - TargetIops?: number; + VerifiedAccessEndpointIds?: string[]; /** - *

      The target EBS volume type of the volume.

      + *

      The ID of the Amazon Web Services Verified Access instance.

      */ - TargetVolumeType?: VolumeType | string; + VerifiedAccessInstanceId?: string; /** - *

      The target throughput of the volume, in MiB/s.

      + *

      The ID of the Amazon Web Services Verified Access group.

      */ - TargetThroughput?: number; + VerifiedAccessGroupId?: string; /** - *

      The target setting for Amazon EBS Multi-Attach.

      + *

      The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

      */ - TargetMultiAttachEnabled?: boolean; + MaxResults?: number; /** - *

      The original size of the volume, in GiB.

      + *

      The token for the next page of results.

      */ - OriginalSize?: number; + NextToken?: string; /** - *

      The original IOPS rate of the volume.

      + *

      One or more filters. Filter names and values are case-sensitive.

      */ - OriginalIops?: number; + Filters?: Filter[]; /** - *

      The original EBS volume type of the volume.

      + *

      Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

      */ - OriginalVolumeType?: VolumeType | string; + DryRun?: boolean; +} +export interface DescribeVerifiedAccessEndpointsResult { /** - *

      The original throughput of the volume, in MiB/s.

      + *

      The ID of the Amazon Web Services Verified Access endpoint.

      */ - OriginalThroughput?: number; + VerifiedAccessEndpoints?: VerifiedAccessEndpoint[]; /** - *

      The original setting for Amazon EBS Multi-Attach.

      + *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      */ - OriginalMultiAttachEnabled?: boolean; + NextToken?: string; +} +export interface DescribeVerifiedAccessGroupsRequest { /** - *

      The modification progress, from 0 to 100 percent complete.

      + *

      The ID of the Amazon Web Services Verified Access groups.

      */ - Progress?: number; + VerifiedAccessGroupIds?: string[]; /** - *

      The modification start time.

      + *

      The ID of the Amazon Web Services Verified Access instance.

      */ - StartTime?: Date; + VerifiedAccessInstanceId?: string; /** - *

      The modification completion or failure time.

      + *

      The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

      */ - EndTime?: Date; -} + MaxResults?: number; -export interface DescribeVolumesModificationsResult { /** - *

      Information about the volume modifications.

      + *

      The token for the next page of results.

      */ - VolumesModifications?: VolumeModification[]; + NextToken?: string; /** - *

      Token for pagination, null if there are no more results

      + *

      One or more filters. Filter names and values are case-sensitive.

      */ - NextToken?: string; -} + Filters?: Filter[]; -export interface DescribeVolumeStatusRequest { - /** - *

      The filters.

      - *
        - *
      • - *

        - * action.code - The action code for the event (for example, - * enable-volume-io).

        - *
      • - *
      • - *

        - * action.description - A description of the action.

        - *
      • - *
      • - *

        - * action.event-id - The event ID associated with the action.

        - *
      • - *
      • - *

        - * availability-zone - The Availability Zone of the instance.

        - *
      • - *
      • - *

        - * event.description - A description of the event.

        - *
      • - *
      • - *

        - * event.event-id - The event ID.

        - *
      • - *
      • - *

        - * event.event-type - The event type (for io-enabled: - * passed | failed; for io-performance: - * io-performance:degraded | io-performance:severely-degraded | - * io-performance:stalled).

        - *
      • - *
      • - *

        - * event.not-after - The latest end time for the event.

        - *
      • - *
      • - *

        - * event.not-before - The earliest start time for the event.

        - *
      • - *
      • - *

        - * volume-status.details-name - The cause for - * volume-status.status (io-enabled | - * io-performance).

        - *
      • - *
      • - *

        - * volume-status.details-status - The status of - * volume-status.details-name (for io-enabled: - * passed | failed; for io-performance: - * normal | degraded | severely-degraded | - * stalled).

        - *
      • - *
      • - *

        - * volume-status.status - The status of the volume (ok | - * impaired | warning | insufficient-data).

        - *
      • - *
      + /** + *

      Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

      */ - Filters?: Filter[]; + DryRun?: boolean; +} +export interface DescribeVerifiedAccessGroupsResult { /** - *

      The maximum number of volume results returned by DescribeVolumeStatus in - * paginated output. When this parameter is used, the request only returns - * MaxResults results in a single page along with a NextToken - * response element. The remaining results of the initial request can be seen by sending another - * request with the returned NextToken value. This value can be between 5 and 1,000; - * if MaxResults is given a value larger than 1,000, only 1,000 results are returned. - * If this parameter is not used, then DescribeVolumeStatus returns all results. You - * cannot specify this parameter and the volume IDs parameter in the same request.

      + *

      The ID of the Verified Access group.

      + */ + VerifiedAccessGroups?: VerifiedAccessGroup[]; + + /** + *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      + */ + NextToken?: string; +} + +export interface DescribeVerifiedAccessInstanceLoggingConfigurationsRequest { + /** + *

      The IDs of the Amazon Web Services Verified Access instances.

      + */ + VerifiedAccessInstanceIds?: string[]; + + /** + *

      The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

      */ MaxResults?: number; /** - *

      The NextToken value to include in a future DescribeVolumeStatus - * request. When the results of the request exceed MaxResults, this value can be - * used to retrieve the next page of results. This value is null when there are no - * more results to return.

      + *

      The token for the next page of results.

      */ NextToken?: string; /** - *

      The IDs of the volumes.

      - *

      Default: Describes all your volumes.

      + *

      One or more filters. Filter names and values are case-sensitive.

      */ - VolumeIds?: string[]; + Filters?: Filter[]; /** *

      Checks whether you have the required permissions for the action, without actually making the request, @@ -9270,191 +9109,362 @@ export interface DescribeVolumeStatusRequest { DryRun?: boolean; } +export enum VerifiedAccessLogDeliveryStatusCode { + FAILED = "failed", + SUCCESS = "success", +} + /** - *

      Describes a volume status operation code.

      + *

      Describes a log delivery status.

      */ -export interface VolumeStatusAction { +export interface VerifiedAccessLogDeliveryStatus { /** - *

      The code identifying the operation, for example, enable-volume-io.

      + *

      The status code.

      */ - Code?: string; + Code?: VerifiedAccessLogDeliveryStatusCode | string; /** - *

      A description of the operation.

      + *

      The status message.

      */ - Description?: string; + Message?: string; +} + +/** + *

      Options for CloudWatch Logs as a logging destination.

      + */ +export interface VerifiedAccessLogCloudWatchLogsDestination { + /** + *

      Indicates whether logging is enabled.

      + */ + Enabled?: boolean; /** - *

      The ID of the event associated with this operation.

      + *

      The delivery status for access logs.

      */ - EventId?: string; + DeliveryStatus?: VerifiedAccessLogDeliveryStatus; /** - *

      The event type associated with this operation.

      + *

      The ID of the CloudWatch Logs log group.

      */ - EventType?: string; + LogGroup?: string; } /** - *

      Information about the instances to which the volume is attached.

      + *

      Options for Kinesis as a logging destination.

      */ -export interface VolumeStatusAttachmentStatus { +export interface VerifiedAccessLogKinesisDataFirehoseDestination { /** - *

      The maximum IOPS supported by the attached instance.

      + *

      Indicates whether logging is enabled.

      */ - IoPerformance?: string; + Enabled?: boolean; /** - *

      The ID of the attached instance.

      + *

      The delivery status.

      */ - InstanceId?: string; + DeliveryStatus?: VerifiedAccessLogDeliveryStatus; + + /** + *

      The ID of the delivery stream.

      + */ + DeliveryStream?: string; } /** - *

      Describes a volume status event.

      + *

      Options for Amazon S3 as a logging destination.

      */ -export interface VolumeStatusEvent { +export interface VerifiedAccessLogS3Destination { /** - *

      A description of the event.

      + *

      Indicates whether logging is enabled.

      */ - Description?: string; + Enabled?: boolean; /** - *

      The ID of this event.

      + *

      The delivery status.

      */ - EventId?: string; + DeliveryStatus?: VerifiedAccessLogDeliveryStatus; /** - *

      The type of this event.

      + *

      The bucket name.

      */ - EventType?: string; + BucketName?: string; /** - *

      The latest end time of the event.

      + *

      The bucket prefix.

      */ - NotAfter?: Date; + Prefix?: string; /** - *

      The earliest start time of the event.

      + *

      The Amazon Web Services account number that owns the bucket.

      */ - NotBefore?: Date; + BucketOwner?: string; +} +/** + *

      Describes the destinations for Verified Access logs.

      + */ +export interface VerifiedAccessLogs { /** - *

      The ID of the instance associated with the event.

      + *

      Amazon S3 logging options.

      */ - InstanceId?: string; -} + S3?: VerifiedAccessLogS3Destination; -export enum VolumeStatusName { - io_enabled = "io-enabled", - io_performance = "io-performance", + /** + *

      CloudWatch Logs logging destination.

      + */ + CloudWatchLogs?: VerifiedAccessLogCloudWatchLogsDestination; + + /** + *

      Kinesis logging destination.

      + */ + KinesisDataFirehose?: VerifiedAccessLogKinesisDataFirehoseDestination; } /** - *

      Describes a volume status.

      + *

      Describes logging options for an Amazon Web Services Verified Access instance.

      */ -export interface VolumeStatusDetails { +export interface VerifiedAccessInstanceLoggingConfiguration { /** - *

      The name of the volume status.

      + *

      The ID of the Amazon Web Services Verified Access instance.

      */ - Name?: VolumeStatusName | string; + VerifiedAccessInstanceId?: string; /** - *

      The intended status of the volume status.

      + *

      Details about the logging options.

      */ - Status?: string; + AccessLogs?: VerifiedAccessLogs; } -export enum VolumeStatusInfoStatus { - impaired = "impaired", - insufficient_data = "insufficient-data", - ok = "ok", +export interface DescribeVerifiedAccessInstanceLoggingConfigurationsResult { + /** + *

      The current logging configuration for the Amazon Web Services Verified Access instances.

      + */ + LoggingConfigurations?: VerifiedAccessInstanceLoggingConfiguration[]; + + /** + *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      + */ + NextToken?: string; } -/** - *

      Describes the status of a volume.

      - */ -export interface VolumeStatusInfo { +export interface DescribeVerifiedAccessInstancesRequest { /** - *

      The details of the volume status.

      + *

      The IDs of the Amazon Web Services Verified Access instances.

      */ - Details?: VolumeStatusDetails[]; + VerifiedAccessInstanceIds?: string[]; /** - *

      The status of the volume.

      + *

      The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

      */ - Status?: VolumeStatusInfoStatus | string; + MaxResults?: number; + + /** + *

      The token for the next page of results.

      + */ + NextToken?: string; + + /** + *

      One or more filters. Filter names and values are case-sensitive.

      + */ + Filters?: Filter[]; + + /** + *

      Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

      + */ + DryRun?: boolean; } -/** - *

      Describes the volume status.

      - */ -export interface VolumeStatusItem { +export interface DescribeVerifiedAccessInstancesResult { /** - *

      The details of the operation.

      + *

      The IDs of the Amazon Web Services Verified Access instances.

      */ - Actions?: VolumeStatusAction[]; + VerifiedAccessInstances?: VerifiedAccessInstance[]; /** - *

      The Availability Zone of the volume.

      + *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      */ - AvailabilityZone?: string; + NextToken?: string; +} +export interface DescribeVerifiedAccessTrustProvidersRequest { /** - *

      The Amazon Resource Name (ARN) of the Outpost.

      + *

      The IDs of the Amazon Web Services Verified Access trust providers.

      */ - OutpostArn?: string; + VerifiedAccessTrustProviderIds?: string[]; + + /** + *

      The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

      + */ + MaxResults?: number; + + /** + *

      The token for the next page of results.

      + */ + NextToken?: string; + + /** + *

      One or more filters. Filter names and values are case-sensitive.

      + */ + Filters?: Filter[]; + + /** + *

      Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

      + */ + DryRun?: boolean; +} + +export interface DescribeVerifiedAccessTrustProvidersResult { + /** + *

      The IDs of the Amazon Web Services Verified Access trust providers.

      + */ + VerifiedAccessTrustProviders?: VerifiedAccessTrustProvider[]; + + /** + *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      + */ + NextToken?: string; +} + +export enum VolumeAttributeName { + autoEnableIO = "autoEnableIO", + productCodes = "productCodes", +} +export interface DescribeVolumeAttributeRequest { /** - *

      A list of events associated with the volume.

      + *

      The attribute of the volume. This parameter is required.

      */ - Events?: VolumeStatusEvent[]; + Attribute: VolumeAttributeName | string | undefined; /** - *

      The volume ID.

      + *

      The ID of the volume.

      */ - VolumeId?: string; + VolumeId: string | undefined; /** - *

      The volume status.

      + *

      Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

      */ - VolumeStatus?: VolumeStatusInfo; + DryRun?: boolean; +} +export interface DescribeVolumeAttributeResult { /** - *

      Information about the instances to which the volume is attached.

      + *

      The state of autoEnableIO attribute.

      */ - AttachmentStatuses?: VolumeStatusAttachmentStatus[]; -} + AutoEnableIO?: AttributeBooleanValue; -export interface DescribeVolumeStatusResult { /** - *

      The token to use to retrieve the next page of results. This value is null - * when there are no more results to return.

      + *

      A list of product codes.

      */ - NextToken?: string; + ProductCodes?: ProductCode[]; /** - *

      Information about the status of the volumes.

      + *

      The ID of the volume.

      */ - VolumeStatuses?: VolumeStatusItem[]; -} - -export enum VpcAttributeName { - enableDnsHostnames = "enableDnsHostnames", - enableDnsSupport = "enableDnsSupport", - enableNetworkAddressUsageMetrics = "enableNetworkAddressUsageMetrics", + VolumeId?: string; } -export interface DescribeVpcAttributeRequest { +export interface DescribeVolumesRequest { /** - *

      The VPC attribute.

      + *

      The filters.

      + *
        + *
      • + *

        + * attachment.attach-time - The time stamp when the attachment + * initiated.

        + *
      • + *
      • + *

        + * attachment.delete-on-termination - Whether the volume is deleted on + * instance termination.

        + *
      • + *
      • + *

        + * attachment.device - The device name specified in the block device mapping + * (for example, /dev/sda1).

        + *
      • + *
      • + *

        + * attachment.instance-id - The ID of the instance the volume is attached + * to.

        + *
      • + *
      • + *

        + * attachment.status - The attachment state (attaching | + * attached | detaching).

        + *
      • + *
      • + *

        + * availability-zone - The Availability Zone in which the volume was + * created.

        + *
      • + *
      • + *

        + * create-time - The time stamp when the volume was created.

        + *
      • + *
      • + *

        + * encrypted - Indicates whether the volume is encrypted (true + * | false)

        + *
      • + *
      • + *

        + * multi-attach-enabled - Indicates whether the volume is enabled for Multi-Attach (true + * | false)

        + *
      • + *
      • + *

        + * fast-restored - Indicates whether the volume was created from a + * snapshot that is enabled for fast snapshot restore (true | + * false).

        + *
      • + *
      • + *

        + * size - The size of the volume, in GiB.

        + *
      • + *
      • + *

        + * snapshot-id - The snapshot from which the volume was created.

        + *
      • + *
      • + *

        + * status - The state of the volume (creating | + * available | in-use | deleting | + * deleted | error).

        + *
      • + *
      • + *

        + * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. + * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

        + *
      • + *
      • + *

        + * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

        + *
      • + *
      • + *

        + * volume-id - The volume ID.

        + *
      • + *
      • + *

        + * volume-type - The Amazon EBS volume type (gp2 | gp3 | io1 | io2 | + * st1 | sc1| standard)

        + *
      • + *
      */ - Attribute: VpcAttributeName | string | undefined; + Filters?: Filter[]; /** - *

      The ID of the VPC.

      + *

      The volume IDs.

      */ - VpcId: string | undefined; + VolumeIds?: string[]; /** *

      Checks whether you have the required permissions for the action, without actually making the request, @@ -9462,484 +9472,566 @@ export interface DescribeVpcAttributeRequest { * Otherwise, it is UnauthorizedOperation.

      */ DryRun?: boolean; -} -export interface DescribeVpcAttributeResult { /** - *

      The ID of the VPC.

      + *

      The maximum number of volume results returned by DescribeVolumes in paginated + * output. When this parameter is used, DescribeVolumes only returns + * MaxResults results in a single page along with a NextToken + * response element. The remaining results of the initial request can be seen by sending another + * DescribeVolumes request with the returned NextToken value. This + * value can be between 5 and 500; if MaxResults is given a value larger than 500, + * only 500 results are returned. If this parameter is not used, then + * DescribeVolumes returns all results. You cannot specify this parameter and the + * volume IDs parameter in the same request.

      */ - VpcId?: string; + MaxResults?: number; /** - *

      Indicates whether the instances launched in the VPC get DNS hostnames. - * If this attribute is true, instances in the VPC get DNS hostnames; - * otherwise, they do not.

      + *

      The NextToken value returned from a previous paginated + * DescribeVolumes request where MaxResults was used and the results + * exceeded the value of that parameter. Pagination continues from the end of the previous + * results that returned the NextToken value. This value is null when + * there are no more results to return.

      */ - EnableDnsHostnames?: AttributeBooleanValue; + NextToken?: string; +} +export interface DescribeVolumesResult { /** - *

      Indicates whether DNS resolution is enabled for - * the VPC. If this attribute is true, the Amazon DNS server - * resolves DNS hostnames for your instances to their corresponding - * IP addresses; otherwise, it does not.

      + *

      Information about the volumes.

      */ - EnableDnsSupport?: AttributeBooleanValue; + Volumes?: Volume[]; /** - *

      Indicates whether Network Address Usage metrics are enabled for your VPC.

      + *

      The NextToken value to include in a future DescribeVolumes + * request. When the results of a DescribeVolumes request exceed + * MaxResults, this value can be used to retrieve the next page of results. This + * value is null when there are no more results to return.

      */ - EnableNetworkAddressUsageMetrics?: AttributeBooleanValue; + NextToken?: string; } -export interface DescribeVpcClassicLinkRequest { +export interface DescribeVolumesModificationsRequest { /** - *

      One or more filters.

      + *

      Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

      + */ + DryRun?: boolean; + + /** + *

      The IDs of the volumes.

      + */ + VolumeIds?: string[]; + + /** + *

      The filters.

      *
        *
      • *

        - * is-classic-link-enabled - Whether the VPC is enabled for ClassicLink - * (true | false).

        + * modification-state - The current modification state (modifying | + * optimizing | completed | failed).

        *
      • *
      • *

        - * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. - * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

        + * original-iops - The original IOPS rate of the volume.

        *
      • *
      • *

        - * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

        + * original-size - The original size of the volume, in GiB.

        + *
      • + *
      • + *

        + * original-volume-type - The original volume type of the volume (standard | + * io1 | io2 | gp2 | sc1 | st1).

        + *
      • + *
      • + *

        + * originalMultiAttachEnabled - Indicates whether Multi-Attach support was enabled (true | false).

        + *
      • + *
      • + *

        + * start-time - The modification start time.

        + *
      • + *
      • + *

        + * target-iops - The target IOPS rate of the volume.

        + *
      • + *
      • + *

        + * target-size - The target size of the volume, in GiB.

        + *
      • + *
      • + *

        + * target-volume-type - The target volume type of the volume (standard | + * io1 | io2 | gp2 | sc1 | st1).

        + *
      • + *
      • + *

        + * targetMultiAttachEnabled - Indicates whether Multi-Attach support is to be enabled (true | false).

        + *
      • + *
      • + *

        + * volume-id - The ID of the volume.

        *
      • *
      */ - Filters?: Filter[]; + Filters?: Filter[]; + + /** + *

      The nextToken value returned by a previous paginated request.

      + */ + NextToken?: string; + + /** + *

      The maximum number of results (up to a limit of 500) to be returned in a paginated + * request.

      + */ + MaxResults?: number; +} + +export enum VolumeModificationState { + completed = "completed", + failed = "failed", + modifying = "modifying", + optimizing = "optimizing", +} + +/** + *

      Describes the modification status of an EBS volume.

      + *

      If the volume has never been modified, some element values will be null.

      + */ +export interface VolumeModification { + /** + *

      The ID of the volume.

      + */ + VolumeId?: string; + + /** + *

      The current modification state. The modification state is null for unmodified + * volumes.

      + */ + ModificationState?: VolumeModificationState | string; + + /** + *

      A status message about the modification progress or failure.

      + */ + StatusMessage?: string; /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      + *

      The target size of the volume, in GiB.

      */ - DryRun?: boolean; + TargetSize?: number; /** - *

      One or more VPCs for which you want to describe the ClassicLink status.

      + *

      The target IOPS rate of the volume.

      */ - VpcIds?: string[]; -} + TargetIops?: number; -/** - * - *

      We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see Migrate from EC2-Classic to a VPC in the Amazon Elastic Compute Cloud User Guide.

      - *
      - *

      Describes whether a VPC is enabled for ClassicLink.

      - */ -export interface VpcClassicLink { /** - *

      Indicates whether the VPC is enabled for ClassicLink.

      + *

      The target EBS volume type of the volume.

      */ - ClassicLinkEnabled?: boolean; + TargetVolumeType?: VolumeType | string; /** - *

      Any tags assigned to the VPC.

      + *

      The target throughput of the volume, in MiB/s.

      */ - Tags?: Tag[]; + TargetThroughput?: number; /** - *

      The ID of the VPC.

      + *

      The target setting for Amazon EBS Multi-Attach.

      */ - VpcId?: string; -} + TargetMultiAttachEnabled?: boolean; -export interface DescribeVpcClassicLinkResult { /** - *

      The ClassicLink status of one or more VPCs.

      + *

      The original size of the volume, in GiB.

      */ - Vpcs?: VpcClassicLink[]; -} + OriginalSize?: number; -export interface DescribeVpcClassicLinkDnsSupportRequest { /** - *

      The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

      + *

      The original IOPS rate of the volume.

      */ - MaxResults?: number; + OriginalIops?: number; /** - *

      The token for the next page of results.

      + *

      The original EBS volume type of the volume.

      */ - NextToken?: string; + OriginalVolumeType?: VolumeType | string; /** - *

      One or more VPC IDs.

      + *

      The original throughput of the volume, in MiB/s.

      */ - VpcIds?: string[]; -} + OriginalThroughput?: number; -/** - *

      Describes the ClassicLink DNS support status of a VPC.

      - */ -export interface ClassicLinkDnsSupport { /** - *

      Indicates whether ClassicLink DNS support is enabled for the VPC.

      + *

      The original setting for Amazon EBS Multi-Attach.

      */ - ClassicLinkDnsSupported?: boolean; + OriginalMultiAttachEnabled?: boolean; /** - *

      The ID of the VPC.

      + *

      The modification progress, from 0 to 100 percent complete.

      */ - VpcId?: string; -} + Progress?: number; -export interface DescribeVpcClassicLinkDnsSupportResult { /** - *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      + *

      The modification start time.

      */ - NextToken?: string; + StartTime?: Date; /** - *

      Information about the ClassicLink DNS support status of the VPCs.

      + *

      The modification completion or failure time.

      */ - Vpcs?: ClassicLinkDnsSupport[]; + EndTime?: Date; } -export interface DescribeVpcEndpointConnectionNotificationsRequest { +export interface DescribeVolumesModificationsResult { /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      + *

      Information about the volume modifications.

      */ - DryRun?: boolean; + VolumesModifications?: VolumeModification[]; /** - *

      The ID of the notification.

      + *

      Token for pagination, null if there are no more results

      */ - ConnectionNotificationId?: string; + NextToken?: string; +} +export interface DescribeVolumeStatusRequest { /** *

      The filters.

      *
        *
      • *

        - * connection-notification-arn - The ARN of the SNS topic for the - * notification.

        + * action.code - The action code for the event (for example, + * enable-volume-io).

        *
      • *
      • *

        - * connection-notification-id - The ID of the - * notification.

        + * action.description - A description of the action.

        *
      • *
      • *

        - * connection-notification-state - The state of the notification - * (Enabled | Disabled).

        + * action.event-id - The event ID associated with the action.

        *
      • *
      • *

        - * connection-notification-type - The type of notification - * (Topic).

        + * availability-zone - The Availability Zone of the instance.

        *
      • *
      • *

        - * service-id - The ID of the endpoint service.

        + * event.description - A description of the event.

        *
      • *
      • *

        - * vpc-endpoint-id - The ID of the VPC endpoint.

        + * event.event-id - The event ID.

        + *
      • + *
      • + *

        + * event.event-type - The event type (for io-enabled: + * passed | failed; for io-performance: + * io-performance:degraded | io-performance:severely-degraded | + * io-performance:stalled).

        *
      • - *
      - */ - Filters?: Filter[]; - - /** - *

      The maximum number of results to return in a single call. To retrieve the remaining - * results, make another request with the returned NextToken value.

      - */ - MaxResults?: number; - - /** - *

      The token to request the next page of results.

      - */ - NextToken?: string; -} - -export interface DescribeVpcEndpointConnectionNotificationsResult { - /** - *

      The notifications.

      - */ - ConnectionNotificationSet?: ConnectionNotification[]; - - /** - *

      The token to use to retrieve the next page of results. This value is - * null when there are no more results to return.

      - */ - NextToken?: string; -} - -export interface DescribeVpcEndpointConnectionsRequest { - /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      - */ - DryRun?: boolean; - - /** - *

      The filters.

      - *
        *
      • *

        - * ip-address-type - The IP address type (ipv4 | ipv6).

        + * event.not-after - The latest end time for the event.

        *
      • *
      • *

        - * service-id - The ID of the service.

        + * event.not-before - The earliest start time for the event.

        *
      • *
      • *

        - * vpc-endpoint-owner - The ID of the Amazon Web Services account ID - * that owns the endpoint.

        + * volume-status.details-name - The cause for + * volume-status.status (io-enabled | + * io-performance).

        *
      • *
      • *

        - * vpc-endpoint-state - The state of the endpoint - * (pendingAcceptance | pending | - * available | deleting | deleted | - * rejected | failed).

        + * volume-status.details-status - The status of + * volume-status.details-name (for io-enabled: + * passed | failed; for io-performance: + * normal | degraded | severely-degraded | + * stalled).

        *
      • *
      • *

        - * vpc-endpoint-id - The ID of the endpoint.

        + * volume-status.status - The status of the volume (ok | + * impaired | warning | insufficient-data).

        *
      • *
      */ Filters?: Filter[]; /** - *

      The maximum number of results to return for the request in a single page. The remaining - * results of the initial request can be seen by sending another request with the returned - * NextToken value. This value can be between 5 and 1,000; if - * MaxResults is given a value larger than 1,000, only 1,000 results are - * returned.

      + *

      The maximum number of volume results returned by DescribeVolumeStatus in + * paginated output. When this parameter is used, the request only returns + * MaxResults results in a single page along with a NextToken + * response element. The remaining results of the initial request can be seen by sending another + * request with the returned NextToken value. This value can be between 5 and 1,000; + * if MaxResults is given a value larger than 1,000, only 1,000 results are returned. + * If this parameter is not used, then DescribeVolumeStatus returns all results. You + * cannot specify this parameter and the volume IDs parameter in the same request.

      */ MaxResults?: number; /** - *

      The token to retrieve the next page of results.

      + *

      The NextToken value to include in a future DescribeVolumeStatus + * request. When the results of the request exceed MaxResults, this value can be + * used to retrieve the next page of results. This value is null when there are no + * more results to return.

      */ NextToken?: string; + + /** + *

      The IDs of the volumes.

      + *

      Default: Describes all your volumes.

      + */ + VolumeIds?: string[]; + + /** + *

      Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

      + */ + DryRun?: boolean; } /** - *

      Describes a VPC endpoint connection to a service.

      + *

      Describes a volume status operation code.

      */ -export interface VpcEndpointConnection { +export interface VolumeStatusAction { /** - *

      The ID of the service to which the endpoint is connected.

      + *

      The code identifying the operation, for example, enable-volume-io.

      */ - ServiceId?: string; + Code?: string; /** - *

      The ID of the VPC endpoint.

      + *

      A description of the operation.

      */ - VpcEndpointId?: string; + Description?: string; /** - *

      The ID of the Amazon Web Services account that owns the VPC endpoint.

      + *

      The ID of the event associated with this operation.

      */ - VpcEndpointOwner?: string; + EventId?: string; /** - *

      The state of the VPC endpoint.

      + *

      The event type associated with this operation.

      */ - VpcEndpointState?: State | string; + EventType?: string; +} +/** + *

      Information about the instances to which the volume is attached.

      + */ +export interface VolumeStatusAttachmentStatus { /** - *

      The date and time that the VPC endpoint was created.

      + *

      The maximum IOPS supported by the attached instance.

      */ - CreationTimestamp?: Date; + IoPerformance?: string; /** - *

      The DNS entries for the VPC endpoint.

      + *

      The ID of the attached instance.

      */ - DnsEntries?: DnsEntry[]; + InstanceId?: string; +} +/** + *

      Describes a volume status event.

      + */ +export interface VolumeStatusEvent { /** - *

      The Amazon Resource Names (ARNs) of the network load balancers for the service.

      + *

      A description of the event.

      */ - NetworkLoadBalancerArns?: string[]; + Description?: string; /** - *

      The Amazon Resource Names (ARNs) of the Gateway Load Balancers for the service.

      + *

      The ID of this event.

      */ - GatewayLoadBalancerArns?: string[]; + EventId?: string; /** - *

      The IP address type for the endpoint.

      + *

      The type of this event.

      */ - IpAddressType?: IpAddressType | string; + EventType?: string; /** - *

      The ID of the VPC endpoint connection.

      + *

      The latest end time of the event.

      */ - VpcEndpointConnectionId?: string; + NotAfter?: Date; /** - *

      The tags.

      + *

      The earliest start time of the event.

      */ - Tags?: Tag[]; -} + NotBefore?: Date; -export interface DescribeVpcEndpointConnectionsResult { /** - *

      Information about the VPC endpoint connections.

      + *

      The ID of the instance associated with the event.

      */ - VpcEndpointConnections?: VpcEndpointConnection[]; + InstanceId?: string; +} - /** - *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      - */ - NextToken?: string; +export enum VolumeStatusName { + io_enabled = "io-enabled", + io_performance = "io-performance", } -export interface DescribeVpcEndpointsRequest { +/** + *

      Describes a volume status.

      + */ +export interface VolumeStatusDetails { /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      + *

      The name of the volume status.

      */ - DryRun?: boolean; + Name?: VolumeStatusName | string; /** - *

      The IDs of the VPC endpoints.

      + *

      The intended status of the volume status.

      */ - VpcEndpointIds?: string[]; + Status?: string; +} + +export enum VolumeStatusInfoStatus { + impaired = "impaired", + insufficient_data = "insufficient-data", + ok = "ok", +} +/** + *

      Describes the status of a volume.

      + */ +export interface VolumeStatusInfo { /** - *

      The filters.

      - *
        - *
      • - *

        - * ip-address-type - The IP address type (ipv4 | ipv6).

        - *
      • - *
      • - *

        - * service-name - The name of the service.

        - *
      • - *
      • - *

        - * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

        - *
      • - *
      • - *

        - * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

        - *
      • - *
      • - *

        - * vpc-id - The ID of the VPC in which the endpoint resides.

        - *
      • - *
      • - *

        - * vpc-endpoint-id - The ID of the endpoint.

        - *
      • - *
      • - *

        - * vpc-endpoint-state - The state of the endpoint - * (pendingAcceptance | pending | - * available | deleting | deleted | - * rejected | failed).

        - *
      • - *
      • - *

        - * vpc-endpoint-type - The type of VPC endpoint (Interface | Gateway | GatewayLoadBalancer).

        - *
      • - *
      + *

      The details of the volume status.

      */ - Filters?: Filter[]; + Details?: VolumeStatusDetails[]; /** - *

      The maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results.

      - *

      Constraint: If the value is greater than 1,000, we return only 1,000 items.

      + *

      The status of the volume.

      */ - MaxResults?: number; + Status?: VolumeStatusInfoStatus | string; +} +/** + *

      Describes the volume status.

      + */ +export interface VolumeStatusItem { /** - *

      The token for the next set of items to return. (You received this token from a prior call.)

      + *

      The details of the operation.

      */ - NextToken?: string; -} + Actions?: VolumeStatusAction[]; -export interface DescribeVpcEndpointsResult { /** - *

      Information about the endpoints.

      + *

      The Availability Zone of the volume.

      */ - VpcEndpoints?: VpcEndpoint[]; + AvailabilityZone?: string; /** - *

      The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.

      + *

      The Amazon Resource Name (ARN) of the Outpost.

      */ - NextToken?: string; -} + OutpostArn?: string; -export interface DescribeVpcEndpointServiceConfigurationsRequest { /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      + *

      A list of events associated with the volume.

      */ - DryRun?: boolean; + Events?: VolumeStatusEvent[]; /** - *

      The IDs of the endpoint services.

      + *

      The volume ID.

      */ - ServiceIds?: string[]; + VolumeId?: string; /** - *

      The filters.

      - *
        - *
      • - *

        - * service-name - The name of the service.

        - *
      • - *
      • - *

        - * service-id - The ID of the service.

        - *
      • - *
      • - *

        - * service-state - The state of the service (Pending | - * Available | Deleting | Deleted | - * Failed).

        - *
      • - *
      • - *

        - * supported-ip-address-types - The IP address type (ipv4 | ipv6).

        - *
      • - *
      • - *

        - * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

        - *
      • - *
      • - *

        - * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

        - *
      • - *
      + *

      The volume status.

      */ - Filters?: Filter[]; + VolumeStatus?: VolumeStatusInfo; /** - *

      The maximum number of results to return for the request in a single page. The remaining - * results of the initial request can be seen by sending another request with the returned - * NextToken value. This value can be between 5 and 1,000; if - * MaxResults is given a value larger than 1,000, only 1,000 results are - * returned.

      + *

      Information about the instances to which the volume is attached.

      */ - MaxResults?: number; + AttachmentStatuses?: VolumeStatusAttachmentStatus[]; +} +export interface DescribeVolumeStatusResult { /** - *

      The token to retrieve the next page of results.

      + *

      The token to use to retrieve the next page of results. This value is null + * when there are no more results to return.

      */ NextToken?: string; + + /** + *

      Information about the status of the volumes.

      + */ + VolumeStatuses?: VolumeStatusItem[]; +} + +export enum VpcAttributeName { + enableDnsHostnames = "enableDnsHostnames", + enableDnsSupport = "enableDnsSupport", + enableNetworkAddressUsageMetrics = "enableNetworkAddressUsageMetrics", } +/** + * @internal + */ +export const InstanceStatusDetailsFilterSensitiveLog = (obj: InstanceStatusDetails): any => ({ + ...obj, +}); + +/** + * @internal + */ +export const InstanceStatusSummaryFilterSensitiveLog = (obj: InstanceStatusSummary): any => ({ + ...obj, +}); + +/** + * @internal + */ +export const InstanceStatusFilterSensitiveLog = (obj: InstanceStatus): any => ({ + ...obj, +}); + +/** + * @internal + */ +export const DescribeInstanceStatusResultFilterSensitiveLog = (obj: DescribeInstanceStatusResult): any => ({ + ...obj, +}); + +/** + * @internal + */ +export const DescribeInstanceTypeOfferingsRequestFilterSensitiveLog = ( + obj: DescribeInstanceTypeOfferingsRequest +): any => ({ + ...obj, +}); + +/** + * @internal + */ +export const InstanceTypeOfferingFilterSensitiveLog = (obj: InstanceTypeOffering): any => ({ + ...obj, +}); + +/** + * @internal + */ +export const DescribeInstanceTypeOfferingsResultFilterSensitiveLog = ( + obj: DescribeInstanceTypeOfferingsResult +): any => ({ + ...obj, +}); + +/** + * @internal + */ +export const DescribeInstanceTypesRequestFilterSensitiveLog = (obj: DescribeInstanceTypesRequest): any => ({ + ...obj, +}); + /** * @internal */ @@ -10115,6 +10207,42 @@ export const DescribeIpamPoolsResultFilterSensitiveLog = (obj: DescribeIpamPools ...obj, }); +/** + * @internal + */ +export const DescribeIpamResourceDiscoveriesRequestFilterSensitiveLog = ( + obj: DescribeIpamResourceDiscoveriesRequest +): any => ({ + ...obj, +}); + +/** + * @internal + */ +export const DescribeIpamResourceDiscoveriesResultFilterSensitiveLog = ( + obj: DescribeIpamResourceDiscoveriesResult +): any => ({ + ...obj, +}); + +/** + * @internal + */ +export const DescribeIpamResourceDiscoveryAssociationsRequestFilterSensitiveLog = ( + obj: DescribeIpamResourceDiscoveryAssociationsRequest +): any => ({ + ...obj, +}); + +/** + * @internal + */ +export const DescribeIpamResourceDiscoveryAssociationsResultFilterSensitiveLog = ( + obj: DescribeIpamResourceDiscoveryAssociationsResult +): any => ({ + ...obj, +}); + /** * @internal */ @@ -11835,129 +11963,3 @@ export const VolumeStatusItemFilterSensitiveLog = (obj: VolumeStatusItem): any = export const DescribeVolumeStatusResultFilterSensitiveLog = (obj: DescribeVolumeStatusResult): any => ({ ...obj, }); - -/** - * @internal - */ -export const DescribeVpcAttributeRequestFilterSensitiveLog = (obj: DescribeVpcAttributeRequest): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const DescribeVpcAttributeResultFilterSensitiveLog = (obj: DescribeVpcAttributeResult): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const DescribeVpcClassicLinkRequestFilterSensitiveLog = (obj: DescribeVpcClassicLinkRequest): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const VpcClassicLinkFilterSensitiveLog = (obj: VpcClassicLink): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const DescribeVpcClassicLinkResultFilterSensitiveLog = (obj: DescribeVpcClassicLinkResult): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const DescribeVpcClassicLinkDnsSupportRequestFilterSensitiveLog = ( - obj: DescribeVpcClassicLinkDnsSupportRequest -): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const ClassicLinkDnsSupportFilterSensitiveLog = (obj: ClassicLinkDnsSupport): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const DescribeVpcClassicLinkDnsSupportResultFilterSensitiveLog = ( - obj: DescribeVpcClassicLinkDnsSupportResult -): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const DescribeVpcEndpointConnectionNotificationsRequestFilterSensitiveLog = ( - obj: DescribeVpcEndpointConnectionNotificationsRequest -): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const DescribeVpcEndpointConnectionNotificationsResultFilterSensitiveLog = ( - obj: DescribeVpcEndpointConnectionNotificationsResult -): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const DescribeVpcEndpointConnectionsRequestFilterSensitiveLog = ( - obj: DescribeVpcEndpointConnectionsRequest -): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const VpcEndpointConnectionFilterSensitiveLog = (obj: VpcEndpointConnection): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const DescribeVpcEndpointConnectionsResultFilterSensitiveLog = ( - obj: DescribeVpcEndpointConnectionsResult -): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const DescribeVpcEndpointsRequestFilterSensitiveLog = (obj: DescribeVpcEndpointsRequest): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const DescribeVpcEndpointsResultFilterSensitiveLog = (obj: DescribeVpcEndpointsResult): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const DescribeVpcEndpointServiceConfigurationsRequestFilterSensitiveLog = ( - obj: DescribeVpcEndpointServiceConfigurationsRequest -): any => ({ - ...obj, -}); diff --git a/clients/client-ec2/src/models/models_5.ts b/clients/client-ec2/src/models/models_5.ts index e56667d324be..388966f40fba 100644 --- a/clients/client-ec2/src/models/models_5.ts +++ b/clients/client-ec2/src/models/models_5.ts @@ -8,18 +8,13 @@ import { AddressTransfer, AllowedPrincipal, AssociationStatus, - AutoPlacement, CapacityReservationState, - ClientConnectOptions, - ClientLoginBannerOptions, - ConnectionLogOptions, CurrencyCodeValues, EndDateType, - HostRecovery, IamInstanceProfileAssociation, InstanceEventWindow, IpamPoolAllocation, - SelfServicePortal, + IpamResourceDiscoveryAssociation, SubnetAssociation, SubnetIpv6CidrBlockAssociation, Tag, @@ -30,7 +25,6 @@ import { TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPolicyTableAssociation, - UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessTrustProvider, VpcCidrBlockAssociation, @@ -38,12 +32,7 @@ import { VpcPeeringConnection, } from "./models_0"; import { - AttributeValue, - CapacityReservationPreference, - CapacityReservationTarget, DiskImageFormat, - FleetExcessCapacityTerminationPolicy, - FleetLaunchTemplateConfigRequest, InstanceRequirementsRequest, IpamResourceTag, NetworkInsightsAccessScopeContent, @@ -52,18 +41,22 @@ import { RequestIpamResourceTag, ResponseLaunchTemplateData, ShutdownBehavior, - TargetCapacitySpecificationRequest, TargetCapacityUnitType, Vpc, } from "./models_1"; import { + ConnectionNotification, + DnsEntry, DnsNameState, + IpAddressType, PayerResponsibility, ServiceConfiguration, ServiceConnectivityType, ServiceTypeDetail, + State, SubnetCidrReservation, TransitGatewayPrefixListReference, + VpcEndpoint, VpnConnection, VpnGateway, } from "./models_2"; @@ -79,93 +72,175 @@ import { FastLaunchStateCode, FastSnapshotRestoreStateCode, Filter, - FpgaImageAttribute, - FpgaImageAttributeName, ImportImageLicenseConfigurationResponse, - InstanceAttributeName, IpamPoolCidr, - LaunchPermission, MetricType, PaymentOption, PeriodType, - PermissionGroup, SnapshotDetail, SnapshotTaskDetail, StatisticType, VirtualizationType, } from "./models_3"; -import { AnalysisStatus, ArchitectureType } from "./models_4"; +import { AnalysisStatus, ArchitectureType, VpcAttributeName } from "./models_4"; -export interface DescribeVpcEndpointServiceConfigurationsResult { +export interface DescribeVpcAttributeRequest { /** - *

      Information about the services.

      + *

      The VPC attribute.

      */ - ServiceConfigurations?: ServiceConfiguration[]; + Attribute: VpcAttributeName | string | undefined; /** - *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      + *

      The ID of the VPC.

      */ - NextToken?: string; -} + VpcId: string | undefined; -export interface DescribeVpcEndpointServicePermissionsRequest { /** *

      Checks whether you have the required permissions for the action, without actually making the request, * and provides an error response. If you have the required permissions, the error response is DryRunOperation. * Otherwise, it is UnauthorizedOperation.

      */ DryRun?: boolean; +} +export interface DescribeVpcAttributeResult { /** - *

      The ID of the service.

      + *

      The ID of the VPC.

      */ - ServiceId: string | undefined; + VpcId?: string; /** - *

      The filters.

      + *

      Indicates whether the instances launched in the VPC get DNS hostnames. + * If this attribute is true, instances in the VPC get DNS hostnames; + * otherwise, they do not.

      + */ + EnableDnsHostnames?: AttributeBooleanValue; + + /** + *

      Indicates whether DNS resolution is enabled for + * the VPC. If this attribute is true, the Amazon DNS server + * resolves DNS hostnames for your instances to their corresponding + * IP addresses; otherwise, it does not.

      + */ + EnableDnsSupport?: AttributeBooleanValue; + + /** + *

      Indicates whether Network Address Usage metrics are enabled for your VPC.

      + */ + EnableNetworkAddressUsageMetrics?: AttributeBooleanValue; +} + +export interface DescribeVpcClassicLinkRequest { + /** + *

      One or more filters.

      *
        *
      • *

        - * principal - The ARN of the principal.

        + * is-classic-link-enabled - Whether the VPC is enabled for ClassicLink + * (true | false).

        *
      • *
      • *

        - * principal-type - The principal type (All | - * Service | OrganizationUnit | Account - * | User | Role).

        + * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. + * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

        + *
      • + *
      • + *

        + * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

        *
      • *
      */ Filters?: Filter[]; /** - *

      The maximum number of results to return for the request in a single page. The remaining - * results of the initial request can be seen by sending another request with the returned - * NextToken value. This value can be between 5 and 1,000; if - * MaxResults is given a value larger than 1,000, only 1,000 results are - * returned.

      + *

      Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

      + */ + DryRun?: boolean; + + /** + *

      One or more VPCs for which you want to describe the ClassicLink status.

      + */ + VpcIds?: string[]; +} + +/** + * + *

      We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see Migrate from EC2-Classic to a VPC in the Amazon Elastic Compute Cloud User Guide.

      + *
      + *

      Describes whether a VPC is enabled for ClassicLink.

      + */ +export interface VpcClassicLink { + /** + *

      Indicates whether the VPC is enabled for ClassicLink.

      + */ + ClassicLinkEnabled?: boolean; + + /** + *

      Any tags assigned to the VPC.

      + */ + Tags?: Tag[]; + + /** + *

      The ID of the VPC.

      + */ + VpcId?: string; +} + +export interface DescribeVpcClassicLinkResult { + /** + *

      The ClassicLink status of one or more VPCs.

      + */ + Vpcs?: VpcClassicLink[]; +} + +export interface DescribeVpcClassicLinkDnsSupportRequest { + /** + *

      The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

      */ MaxResults?: number; /** - *

      The token to retrieve the next page of results.

      + *

      The token for the next page of results.

      */ NextToken?: string; + + /** + *

      One or more VPC IDs.

      + */ + VpcIds?: string[]; } -export interface DescribeVpcEndpointServicePermissionsResult { +/** + *

      Describes the ClassicLink DNS support status of a VPC.

      + */ +export interface ClassicLinkDnsSupport { /** - *

      Information about the allowed principals.

      + *

      Indicates whether ClassicLink DNS support is enabled for the VPC.

      */ - AllowedPrincipals?: AllowedPrincipal[]; + ClassicLinkDnsSupported?: boolean; + + /** + *

      The ID of the VPC.

      + */ + VpcId?: string; +} +export interface DescribeVpcClassicLinkDnsSupportResult { /** *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      */ NextToken?: string; + + /** + *

      Information about the ClassicLink DNS support status of the VPCs.

      + */ + Vpcs?: ClassicLinkDnsSupport[]; } -export interface DescribeVpcEndpointServicesRequest { +export interface DescribeVpcEndpointConnectionNotificationsRequest { /** *

      Checks whether you have the required permissions for the action, without actually making the request, * and provides an error response. If you have the required permissions, the error response is DryRunOperation. @@ -174,352 +249,349 @@ export interface DescribeVpcEndpointServicesRequest { DryRun?: boolean; /** - *

      The service names.

      + *

      The ID of the notification.

      */ - ServiceNames?: string[]; + ConnectionNotificationId?: string; /** *

      The filters.

      *
        *
      • *

        - * owner - The ID or alias of the Amazon Web Services account that owns - * the service.

        + * connection-notification-arn - The ARN of the SNS topic for the + * notification.

        *
      • *
      • *

        - * service-name - The name of the service.

        + * connection-notification-id - The ID of the + * notification.

        *
      • *
      • *

        - * service-type - The type of service (Interface | - * Gateway | GatewayLoadBalancer).

        + * connection-notification-state - The state of the notification + * (Enabled | Disabled).

        *
      • *
      • *

        - * supported-ip-address-types - The IP address type (ipv4 | ipv6).

        + * connection-notification-type - The type of notification + * (Topic).

        *
      • *
      • *

        - * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

        + * service-id - The ID of the endpoint service.

        *
      • *
      • *

        - * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

        + * vpc-endpoint-id - The ID of the VPC endpoint.

        *
      • *
      */ Filters?: Filter[]; /** - *

      The maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results.

      - *

      Constraint: If the value is greater than 1,000, we return only 1,000 items.

      + *

      The maximum number of results to return in a single call. To retrieve the remaining + * results, make another request with the returned NextToken value.

      */ MaxResults?: number; /** - *

      The token for the next set of items to return. (You received this token from a prior call.)

      + *

      The token to request the next page of results.

      */ NextToken?: string; } -/** - *

      Information about the Private DNS name for interface endpoints.

      - */ -export interface PrivateDnsDetails { +export interface DescribeVpcEndpointConnectionNotificationsResult { /** - *

      The private DNS name assigned to the VPC endpoint service.

      + *

      The notifications.

      */ - PrivateDnsName?: string; -} + ConnectionNotificationSet?: ConnectionNotification[]; -/** - *

      Describes a VPC endpoint service.

      - */ -export interface ServiceDetail { /** - *

      The name of the service.

      + *

      The token to use to retrieve the next page of results. This value is + * null when there are no more results to return.

      */ - ServiceName?: string; + NextToken?: string; +} +export interface DescribeVpcEndpointConnectionsRequest { /** - *

      The ID of the endpoint service.

      + *

      Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

      */ - ServiceId?: string; + DryRun?: boolean; /** - *

      The type of service.

      + *

      The filters.

      + *
        + *
      • + *

        + * ip-address-type - The IP address type (ipv4 | ipv6).

        + *
      • + *
      • + *

        + * service-id - The ID of the service.

        + *
      • + *
      • + *

        + * vpc-endpoint-owner - The ID of the Amazon Web Services account ID + * that owns the endpoint.

        + *
      • + *
      • + *

        + * vpc-endpoint-state - The state of the endpoint + * (pendingAcceptance | pending | + * available | deleting | deleted | + * rejected | failed).

        + *
      • + *
      • + *

        + * vpc-endpoint-id - The ID of the endpoint.

        + *
      • + *
      */ - ServiceType?: ServiceTypeDetail[]; + Filters?: Filter[]; /** - *

      The Availability Zones in which the service is available.

      + *

      The maximum number of results to return for the request in a single page. The remaining + * results of the initial request can be seen by sending another request with the returned + * NextToken value. This value can be between 5 and 1,000; if + * MaxResults is given a value larger than 1,000, only 1,000 results are + * returned.

      */ - AvailabilityZones?: string[]; + MaxResults?: number; /** - *

      The Amazon Web Services account ID of the service owner.

      + *

      The token to retrieve the next page of results.

      */ - Owner?: string; + NextToken?: string; +} +/** + *

      Describes a VPC endpoint connection to a service.

      + */ +export interface VpcEndpointConnection { /** - *

      The DNS names for the service.

      + *

      The ID of the service to which the endpoint is connected.

      */ - BaseEndpointDnsNames?: string[]; + ServiceId?: string; /** - *

      The private DNS name for the service.

      + *

      The ID of the VPC endpoint.

      */ - PrivateDnsName?: string; + VpcEndpointId?: string; /** - *

      The private DNS names assigned to the VPC endpoint service.

      + *

      The ID of the Amazon Web Services account that owns the VPC endpoint.

      */ - PrivateDnsNames?: PrivateDnsDetails[]; + VpcEndpointOwner?: string; /** - *

      Indicates whether the service supports endpoint policies.

      + *

      The state of the VPC endpoint.

      */ - VpcEndpointPolicySupported?: boolean; + VpcEndpointState?: State | string; /** - *

      Indicates whether VPC endpoint connection requests to the service must be accepted by the service owner.

      + *

      The date and time that the VPC endpoint was created.

      */ - AcceptanceRequired?: boolean; + CreationTimestamp?: Date; /** - *

      Indicates whether the service manages its VPC endpoints. Management of the service VPC - * endpoints using the VPC endpoint API is restricted.

      + *

      The DNS entries for the VPC endpoint.

      */ - ManagesVpcEndpoints?: boolean; + DnsEntries?: DnsEntry[]; /** - *

      The payer responsibility.

      + *

      The Amazon Resource Names (ARNs) of the network load balancers for the service.

      */ - PayerResponsibility?: PayerResponsibility | string; + NetworkLoadBalancerArns?: string[]; /** - *

      The tags assigned to the service.

      + *

      The Amazon Resource Names (ARNs) of the Gateway Load Balancers for the service.

      */ - Tags?: Tag[]; + GatewayLoadBalancerArns?: string[]; /** - *

      The verification state of the VPC endpoint service.

      - *

      Consumers of the endpoint service cannot use the private name when the state is not verified.

      + *

      The IP address type for the endpoint.

      */ - PrivateDnsNameVerificationState?: DnsNameState | string; + IpAddressType?: IpAddressType | string; /** - *

      The supported IP address types.

      + *

      The ID of the VPC endpoint connection.

      */ - SupportedIpAddressTypes?: (ServiceConnectivityType | string)[]; -} + VpcEndpointConnectionId?: string; -export interface DescribeVpcEndpointServicesResult { /** - *

      The supported services.

      + *

      The tags.

      */ - ServiceNames?: string[]; + Tags?: Tag[]; +} +export interface DescribeVpcEndpointConnectionsResult { /** - *

      Information about the service.

      + *

      Information about the VPC endpoint connections.

      */ - ServiceDetails?: ServiceDetail[]; + VpcEndpointConnections?: VpcEndpointConnection[]; /** - *

      The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.

      + *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      */ NextToken?: string; } -export interface DescribeVpcPeeringConnectionsRequest { +export interface DescribeVpcEndpointsRequest { /** - *

      One or more filters.

      + *

      Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

      + */ + DryRun?: boolean; + + /** + *

      The IDs of the VPC endpoints.

      + */ + VpcEndpointIds?: string[]; + + /** + *

      The filters.

      *
        *
      • *

        - * accepter-vpc-info.cidr-block - The IPv4 CIDR block of the accepter - * VPC.

        - *
      • - *
      • - *

        - * accepter-vpc-info.owner-id - The ID of the Amazon Web Services account that owns the - * accepter VPC.

        - *
      • - *
      • - *

        - * accepter-vpc-info.vpc-id - The ID of the accepter VPC.

        - *
      • - *
      • - *

        - * expiration-time - The expiration date and time for the VPC peering - * connection.

        - *
      • - *
      • - *

        - * requester-vpc-info.cidr-block - The IPv4 CIDR block of the - * requester's VPC.

        + * ip-address-type - The IP address type (ipv4 | ipv6).

        *
      • *
      • *

        - * requester-vpc-info.owner-id - The ID of the Amazon Web Services account that owns the - * requester VPC.

        + * service-name - The name of the service.

        *
      • *
      • *

        - * requester-vpc-info.vpc-id - The ID of the requester VPC.

        + * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

        *
      • *
      • *

        - * status-code - The status of the VPC peering connection - * (pending-acceptance | failed | - * expired | provisioning | active | - * deleting | deleted | - * rejected).

        + * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

        *
      • *
      • *

        - * status-message - A message that provides more information about the status - * of the VPC peering connection, if applicable.

        + * vpc-id - The ID of the VPC in which the endpoint resides.

        *
      • *
      • *

        - * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. - * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

        + * vpc-endpoint-id - The ID of the endpoint.

        *
      • *
      • *

        - * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

        + * vpc-endpoint-state - The state of the endpoint + * (pendingAcceptance | pending | + * available | deleting | deleted | + * rejected | failed).

        *
      • *
      • *

        - * vpc-peering-connection-id - The ID of the VPC peering connection.

        + * vpc-endpoint-type - The type of VPC endpoint (Interface | Gateway | GatewayLoadBalancer).

        *
      • *
      */ Filters?: Filter[]; /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      + *

      The maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results.

      + *

      Constraint: If the value is greater than 1,000, we return only 1,000 items.

      */ - DryRun?: boolean; + MaxResults?: number; /** - *

      One or more VPC peering connection IDs.

      - *

      Default: Describes all your VPC peering connections.

      + *

      The token for the next set of items to return. (You received this token from a prior call.)

      */ - VpcPeeringConnectionIds?: string[]; + NextToken?: string; +} +export interface DescribeVpcEndpointsResult { /** - *

      The token for the next page of results.

      + *

      Information about the endpoints.

      */ - NextToken?: string; + VpcEndpoints?: VpcEndpoint[]; /** - *

      The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

      + *

      The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.

      */ - MaxResults?: number; + NextToken?: string; } -export interface DescribeVpcPeeringConnectionsResult { +export interface DescribeVpcEndpointServiceConfigurationsRequest { /** - *

      Information about the VPC peering connections.

      + *

      Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

      */ - VpcPeeringConnections?: VpcPeeringConnection[]; + DryRun?: boolean; /** - *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      + *

      The IDs of the endpoint services.

      */ - NextToken?: string; -} + ServiceIds?: string[]; -export interface DescribeVpcsRequest { /** - *

      One or more filters.

      + *

      The filters.

      *
        *
      • *

        - * cidr - The primary IPv4 CIDR block of the VPC. The CIDR block you - * specify must exactly match the VPC's CIDR block for information to be returned - * for the VPC. Must contain the slash followed by one or two digits (for example, - * /28).

        - *
      • - *
      • - *

        - * cidr-block-association.cidr-block - An IPv4 CIDR block associated with the - * VPC.

        - *
      • - *
      • - *

        - * cidr-block-association.association-id - The association ID for - * an IPv4 CIDR block associated with the VPC.

        - *
      • - *
      • - *

        - * cidr-block-association.state - The state of an IPv4 CIDR block - * associated with the VPC.

        - *
      • - *
      • - *

        - * dhcp-options-id - The ID of a set of DHCP options.

        - *
      • - *
      • - *

        - * ipv6-cidr-block-association.ipv6-cidr-block - An IPv6 CIDR - * block associated with the VPC.

        - *
      • - *
      • - *

        - * ipv6-cidr-block-association.ipv6-pool - The ID of the IPv6 address pool from which the IPv6 CIDR block is allocated.

        - *
      • - *
      • - *

        - * ipv6-cidr-block-association.association-id - The association - * ID for an IPv6 CIDR block associated with the VPC.

        - *
      • - *
      • - *

        - * ipv6-cidr-block-association.state - The state of an IPv6 CIDR - * block associated with the VPC.

        + * service-name - The name of the service.

        *
      • *
      • *

        - * is-default - Indicates whether the VPC is the default VPC.

        + * service-id - The ID of the service.

        *
      • *
      • *

        - * owner-id - The ID of the Amazon Web Services account that owns the VPC.

        + * service-state - The state of the service (Pending | + * Available | Deleting | Deleted | + * Failed).

        *
      • *
      • *

        - * state - The state of the VPC (pending | available).

        + * supported-ip-address-types - The IP address type (ipv4 | ipv6).

        *
      • *
      • *

        - * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. - * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

        + * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

        *
      • *
      • *

        * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

        *
      • - *
      • - *

        - * vpc-id - The ID of the VPC.

        - *
      • *
      */ Filters?: Filter[]; /** - *

      One or more VPC IDs.

      - *

      Default: Describes all your VPCs.

      + *

      The maximum number of results to return for the request in a single page. The remaining + * results of the initial request can be seen by sending another request with the returned + * NextToken value. This value can be between 5 and 1,000; if + * MaxResults is given a value larger than 1,000, only 1,000 results are + * returned.

      */ - VpcIds?: string[]; + MaxResults?: number; + + /** + *

      The token to retrieve the next page of results.

      + */ + NextToken?: string; +} + +export interface DescribeVpcEndpointServiceConfigurationsResult { + /** + *

      Information about the services.

      + */ + ServiceConfigurations?: ServiceConfiguration[]; + + /** + *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      + */ + NextToken?: string; +} +export interface DescribeVpcEndpointServicePermissionsRequest { /** *

      Checks whether you have the required permissions for the action, without actually making the request, * and provides an error response. If you have the required permissions, the error response is DryRunOperation. @@ -528,22 +600,47 @@ export interface DescribeVpcsRequest { DryRun?: boolean; /** - *

      The token for the next page of results.

      + *

      The ID of the service.

      */ - NextToken?: string; + ServiceId: string | undefined; /** - *

      The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

      + *

      The filters.

      + *
        + *
      • + *

        + * principal - The ARN of the principal.

        + *
      • + *
      • + *

        + * principal-type - The principal type (All | + * Service | OrganizationUnit | Account + * | User | Role).

        + *
      • + *
      + */ + Filters?: Filter[]; + + /** + *

      The maximum number of results to return for the request in a single page. The remaining + * results of the initial request can be seen by sending another request with the returned + * NextToken value. This value can be between 5 and 1,000; if + * MaxResults is given a value larger than 1,000, only 1,000 results are + * returned.

      */ MaxResults?: number; + + /** + *

      The token to retrieve the next page of results.

      + */ + NextToken?: string; } -export interface DescribeVpcsResult { +export interface DescribeVpcEndpointServicePermissionsResult { /** - *

      Information about one or more VPCs.

      + *

      Information about the allowed principals.

      */ - Vpcs?: Vpc[]; + AllowedPrincipals?: AllowedPrincipal[]; /** *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      @@ -551,282 +648,239 @@ export interface DescribeVpcsResult { NextToken?: string; } -/** - *

      Contains the parameters for DescribeVpnConnections.

      - */ -export interface DescribeVpnConnectionsRequest { +export interface DescribeVpcEndpointServicesRequest { /** - *

      One or more filters.

      + *

      Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

      + */ + DryRun?: boolean; + + /** + *

      The service names.

      + */ + ServiceNames?: string[]; + + /** + *

      The filters.

      *
        *
      • *

        - * customer-gateway-configuration - The configuration information - * for the customer gateway.

        - *
      • - *
      • - *

        - * customer-gateway-id - The ID of a customer gateway associated - * with the VPN connection.

        - *
      • - *
      • - *

        - * state - The state of the VPN connection (pending | - * available | deleting | - * deleted).

        + * owner - The ID or alias of the Amazon Web Services account that owns + * the service.

        *
      • *
      • *

        - * option.static-routes-only - Indicates whether the connection has - * static routes only. Used for devices that do not support Border Gateway Protocol - * (BGP).

        + * service-name - The name of the service.

        *
      • *
      • *

        - * route.destination-cidr-block - The destination CIDR block. This - * corresponds to the subnet used in a customer data center.

        + * service-type - The type of service (Interface | + * Gateway | GatewayLoadBalancer).

        *
      • *
      • *

        - * bgp-asn - The BGP Autonomous System Number (ASN) associated with - * a BGP device.

        + * supported-ip-address-types - The IP address type (ipv4 | ipv6).

        *
      • *
      • *

        - * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. - * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

        + * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

        *
      • *
      • *

        * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

        *
      • - *
      • - *

        - * type - The type of VPN connection. Currently the only supported - * type is ipsec.1.

        - *
      • - *
      • - *

        - * vpn-connection-id - The ID of the VPN connection.

        - *
      • - *
      • - *

        - * vpn-gateway-id - The ID of a virtual private gateway associated - * with the VPN connection.

        - *
      • - *
      • - *

        - * transit-gateway-id - The ID of a transit gateway associated with - * the VPN connection.

        - *
      • *
      */ Filters?: Filter[]; /** - *

      One or more VPN connection IDs.

      - *

      Default: Describes your VPN connections.

      + *

      The maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results.

      + *

      Constraint: If the value is greater than 1,000, we return only 1,000 items.

      */ - VpnConnectionIds?: string[]; + MaxResults?: number; /** - *

      Checks whether you have the required permissions for the action, without actually - * making the request, and provides an error response. If you have the required - * permissions, the error response is DryRunOperation. Otherwise, it is - * UnauthorizedOperation.

      + *

      The token for the next set of items to return. (You received this token from a prior call.)

      */ - DryRun?: boolean; + NextToken?: string; } /** - *

      Contains the output of DescribeVpnConnections.

      + *

      Information about the Private DNS name for interface endpoints.

      */ -export interface DescribeVpnConnectionsResult { +export interface PrivateDnsDetails { /** - *

      Information about one or more VPN connections.

      + *

      The private DNS name assigned to the VPC endpoint service.

      */ - VpnConnections?: VpnConnection[]; + PrivateDnsName?: string; } /** - *

      Contains the parameters for DescribeVpnGateways.

      + *

      Describes a VPC endpoint service.

      */ -export interface DescribeVpnGatewaysRequest { +export interface ServiceDetail { /** - *

      One or more filters.

      - *
        - *
      • - *

        - * amazon-side-asn - The Autonomous System Number (ASN) for the - * Amazon side of the gateway.

        - *
      • - *
      • - *

        - * attachment.state - The current state of the attachment between - * the gateway and the VPC (attaching | attached | - * detaching | detached).

        - *
      • - *
      • - *

        - * attachment.vpc-id - The ID of an attached VPC.

        - *
      • - *
      • - *

        - * availability-zone - The Availability Zone for the virtual private - * gateway (if applicable).

        - *
      • - *
      • - *

        - * state - The state of the virtual private gateway - * (pending | available | deleting | - * deleted).

        - *
      • - *
      • - *

        - * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. - * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

        - *
      • - *
      • - *

        - * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

        - *
      • - *
      • - *

        - * type - The type of virtual private gateway. Currently the only - * supported type is ipsec.1.

        - *
      • - *
      • - *

        - * vpn-gateway-id - The ID of the virtual private gateway.

        - *
      • - *
      + *

      The name of the service.

      */ - Filters?: Filter[]; + ServiceName?: string; /** - *

      One or more virtual private gateway IDs.

      - *

      Default: Describes all your virtual private gateways.

      + *

      The ID of the endpoint service.

      */ - VpnGatewayIds?: string[]; + ServiceId?: string; /** - *

      Checks whether you have the required permissions for the action, without actually - * making the request, and provides an error response. If you have the required - * permissions, the error response is DryRunOperation. Otherwise, it is - * UnauthorizedOperation.

      + *

      The type of service.

      */ - DryRun?: boolean; -} + ServiceType?: ServiceTypeDetail[]; -/** - *

      Contains the output of DescribeVpnGateways.

      - */ -export interface DescribeVpnGatewaysResult { /** - *

      Information about one or more virtual private gateways.

      + *

      The Availability Zones in which the service is available.

      */ - VpnGateways?: VpnGateway[]; -} + AvailabilityZones?: string[]; -export interface DetachClassicLinkVpcRequest { /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      + *

      The Amazon Web Services account ID of the service owner.

      */ - DryRun?: boolean; + Owner?: string; /** - *

      The ID of the instance to unlink from the VPC.

      + *

      The DNS names for the service.

      */ - InstanceId: string | undefined; + BaseEndpointDnsNames?: string[]; /** - *

      The ID of the VPC to which the instance is linked.

      + *

      The private DNS name for the service.

      */ - VpcId: string | undefined; -} + PrivateDnsName?: string; -export interface DetachClassicLinkVpcResult { /** - *

      Returns true if the request succeeds; otherwise, it returns an error.

      + *

      The private DNS names assigned to the VPC endpoint service.

      */ - Return?: boolean; -} + PrivateDnsNames?: PrivateDnsDetails[]; -export interface DetachInternetGatewayRequest { /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      + *

      Indicates whether the service supports endpoint policies.

      */ - DryRun?: boolean; + VpcEndpointPolicySupported?: boolean; /** - *

      The ID of the internet gateway.

      + *

      Indicates whether VPC endpoint connection requests to the service must be accepted by the service owner.

      */ - InternetGatewayId: string | undefined; + AcceptanceRequired?: boolean; /** - *

      The ID of the VPC.

      + *

      Indicates whether the service manages its VPC endpoints. Management of the service VPC + * endpoints using the VPC endpoint API is restricted.

      */ - VpcId: string | undefined; -} + ManagesVpcEndpoints?: boolean; -/** - *

      Contains the parameters for DetachNetworkInterface.

      - */ -export interface DetachNetworkInterfaceRequest { /** - *

      The ID of the attachment.

      + *

      The payer responsibility.

      */ - AttachmentId: string | undefined; + PayerResponsibility?: PayerResponsibility | string; /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      + *

      The tags assigned to the service.

      */ - DryRun?: boolean; + Tags?: Tag[]; /** - *

      Specifies whether to force a detachment.

      - * - *
        - *
      • - *

        Use the Force parameter only as a last resort to detach a network interface from a failed instance.

        - *
      • - *
      • - *

        If you use the Force parameter to detach a network interface, you might not be able to attach a different network interface to the same index on the instance without first stopping and starting the instance.

        - *
      • - *
      • - *

        If you force the detachment of a network interface, the instance metadata - * might not get updated. This means that the attributes associated - * with the detached network interface might still be visible. The - * instance metadata will get updated when you stop and start the - * instance.

        - *
      • - *
      - *
      + *

      The verification state of the VPC endpoint service.

      + *

      Consumers of the endpoint service cannot use the private name when the state is not verified.

      */ - Force?: boolean; + PrivateDnsNameVerificationState?: DnsNameState | string; + + /** + *

      The supported IP address types.

      + */ + SupportedIpAddressTypes?: (ServiceConnectivityType | string)[]; } -export interface DetachVerifiedAccessTrustProviderRequest { +export interface DescribeVpcEndpointServicesResult { /** - *

      The ID of the Amazon Web Services Verified Access instance.

      + *

      The supported services.

      */ - VerifiedAccessInstanceId: string | undefined; + ServiceNames?: string[]; /** - *

      The ID of the Amazon Web Services Verified Access trust provider.

      + *

      Information about the service.

      */ - VerifiedAccessTrustProviderId: string | undefined; + ServiceDetails?: ServiceDetail[]; /** - *

      A unique, case-sensitive token that you provide to ensure idempotency of your - * modification request. For more information, see Ensuring Idempotency.

      + *

      The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.

      */ - ClientToken?: string; + NextToken?: string; +} + +export interface DescribeVpcPeeringConnectionsRequest { + /** + *

      One or more filters.

      + *
        + *
      • + *

        + * accepter-vpc-info.cidr-block - The IPv4 CIDR block of the accepter + * VPC.

        + *
      • + *
      • + *

        + * accepter-vpc-info.owner-id - The ID of the Amazon Web Services account that owns the + * accepter VPC.

        + *
      • + *
      • + *

        + * accepter-vpc-info.vpc-id - The ID of the accepter VPC.

        + *
      • + *
      • + *

        + * expiration-time - The expiration date and time for the VPC peering + * connection.

        + *
      • + *
      • + *

        + * requester-vpc-info.cidr-block - The IPv4 CIDR block of the + * requester's VPC.

        + *
      • + *
      • + *

        + * requester-vpc-info.owner-id - The ID of the Amazon Web Services account that owns the + * requester VPC.

        + *
      • + *
      • + *

        + * requester-vpc-info.vpc-id - The ID of the requester VPC.

        + *
      • + *
      • + *

        + * status-code - The status of the VPC peering connection + * (pending-acceptance | failed | + * expired | provisioning | active | + * deleting | deleted | + * rejected).

        + *
      • + *
      • + *

        + * status-message - A message that provides more information about the status + * of the VPC peering connection, if applicable.

        + *
      • + *
      • + *

        + * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. + * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

        + *
      • + *
      • + *

        + * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

        + *
      • + *
      • + *

        + * vpc-peering-connection-id - The ID of the VPC peering connection.

        + *
      • + *
      + */ + Filters?: Filter[]; /** *

      Checks whether you have the required permissions for the action, without actually making the request, @@ -834,566 +888,511 @@ export interface DetachVerifiedAccessTrustProviderRequest { * Otherwise, it is UnauthorizedOperation.

      */ DryRun?: boolean; -} -export interface DetachVerifiedAccessTrustProviderResult { /** - *

      The ID of the Amazon Web Services Verified Access trust provider.

      + *

      One or more VPC peering connection IDs.

      + *

      Default: Describes all your VPC peering connections.

      */ - VerifiedAccessTrustProvider?: VerifiedAccessTrustProvider; + VpcPeeringConnectionIds?: string[]; /** - *

      The ID of the Amazon Web Services Verified Access instance.

      + *

      The token for the next page of results.

      */ - VerifiedAccessInstance?: VerifiedAccessInstance; -} + NextToken?: string; -export interface DetachVolumeRequest { /** - *

      The device name.

      + *

      The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

      */ - Device?: string; + MaxResults?: number; +} +export interface DescribeVpcPeeringConnectionsResult { /** - *

      Forces detachment if the previous detachment attempt did not occur cleanly (for example, - * logging into an instance, unmounting the volume, and detaching normally). This option can lead - * to data loss or a corrupted file system. Use this option only as a last resort to detach a - * volume from a failed instance. The instance won't have an opportunity to flush file system - * caches or file system metadata. If you use this option, you must perform file system check and - * repair procedures.

      + *

      Information about the VPC peering connections.

      */ - Force?: boolean; + VpcPeeringConnections?: VpcPeeringConnection[]; /** - *

      The ID of the instance. If you are detaching a Multi-Attach enabled volume, you must specify an instance ID.

      + *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      */ - InstanceId?: string; + NextToken?: string; +} +export interface DescribeVpcsRequest { /** - *

      The ID of the volume.

      - */ - VolumeId: string | undefined; - - /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      - */ - DryRun?: boolean; -} - -/** - *

      Contains the parameters for DetachVpnGateway.

      - */ -export interface DetachVpnGatewayRequest { - /** - *

      The ID of the VPC.

      - */ - VpcId: string | undefined; - - /** - *

      The ID of the virtual private gateway.

      - */ - VpnGatewayId: string | undefined; - - /** - *

      Checks whether you have the required permissions for the action, without actually - * making the request, and provides an error response. If you have the required - * permissions, the error response is DryRunOperation. Otherwise, it is - * UnauthorizedOperation.

      - */ - DryRun?: boolean; -} - -export interface DisableAddressTransferRequest { - /** - *

      The allocation ID of an Elastic IP address.

      - */ - AllocationId: string | undefined; - - /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      - */ - DryRun?: boolean; -} - -export interface DisableAddressTransferResult { - /** - *

      An Elastic IP address transfer.

      - */ - AddressTransfer?: AddressTransfer; -} - -export interface DisableAwsNetworkPerformanceMetricSubscriptionRequest { - /** - *

      The source Region or Availability Zone that the metric subscription is disabled for. For example, us-east-1.

      - */ - Source?: string; - - /** - *

      The target Region or Availability Zone that the metric subscription is disabled for. For example, eu-north-1.

      - */ - Destination?: string; - - /** - *

      The metric used for the disabled subscription.

      - */ - Metric?: MetricType | string; - - /** - *

      The statistic used for the disabled subscription.

      - */ - Statistic?: StatisticType | string; - - /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      + *

      One or more filters.

      + *
        + *
      • + *

        + * cidr - The primary IPv4 CIDR block of the VPC. The CIDR block you + * specify must exactly match the VPC's CIDR block for information to be returned + * for the VPC. Must contain the slash followed by one or two digits (for example, + * /28).

        + *
      • + *
      • + *

        + * cidr-block-association.cidr-block - An IPv4 CIDR block associated with the + * VPC.

        + *
      • + *
      • + *

        + * cidr-block-association.association-id - The association ID for + * an IPv4 CIDR block associated with the VPC.

        + *
      • + *
      • + *

        + * cidr-block-association.state - The state of an IPv4 CIDR block + * associated with the VPC.

        + *
      • + *
      • + *

        + * dhcp-options-id - The ID of a set of DHCP options.

        + *
      • + *
      • + *

        + * ipv6-cidr-block-association.ipv6-cidr-block - An IPv6 CIDR + * block associated with the VPC.

        + *
      • + *
      • + *

        + * ipv6-cidr-block-association.ipv6-pool - The ID of the IPv6 address pool from which the IPv6 CIDR block is allocated.

        + *
      • + *
      • + *

        + * ipv6-cidr-block-association.association-id - The association + * ID for an IPv6 CIDR block associated with the VPC.

        + *
      • + *
      • + *

        + * ipv6-cidr-block-association.state - The state of an IPv6 CIDR + * block associated with the VPC.

        + *
      • + *
      • + *

        + * is-default - Indicates whether the VPC is the default VPC.

        + *
      • + *
      • + *

        + * owner-id - The ID of the Amazon Web Services account that owns the VPC.

        + *
      • + *
      • + *

        + * state - The state of the VPC (pending | available).

        + *
      • + *
      • + *

        + * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. + * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

        + *
      • + *
      • + *

        + * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

        + *
      • + *
      • + *

        + * vpc-id - The ID of the VPC.

        + *
      • + *
      */ - DryRun?: boolean; -} + Filters?: Filter[]; -export interface DisableAwsNetworkPerformanceMetricSubscriptionResult { /** - *

      Indicates whether the unsubscribe action was successful.

      + *

      One or more VPC IDs.

      + *

      Default: Describes all your VPCs.

      */ - Output?: boolean; -} + VpcIds?: string[]; -export interface DisableEbsEncryptionByDefaultRequest { /** *

      Checks whether you have the required permissions for the action, without actually making the request, * and provides an error response. If you have the required permissions, the error response is DryRunOperation. * Otherwise, it is UnauthorizedOperation.

      */ DryRun?: boolean; -} - -export interface DisableEbsEncryptionByDefaultResult { - /** - *

      The updated status of encryption by default.

      - */ - EbsEncryptionByDefault?: boolean; -} -export interface DisableFastLaunchRequest { /** - *

      The ID of the image for which you’re turning off faster launching, and removing pre-provisioned snapshots.

      - */ - ImageId: string | undefined; - - /** - *

      Forces the image settings to turn off faster launching for your Windows AMI. This parameter overrides - * any errors that are encountered while cleaning up resources in your account.

      - */ - Force?: boolean; - - /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is - * DryRunOperation. Otherwise, it is UnauthorizedOperation.

      - */ - DryRun?: boolean; -} - -export interface DisableFastLaunchResult { - /** - *

      The ID of the image for which faster-launching has been turned off.

      - */ - ImageId?: string; - - /** - *

      The pre-provisioning resource type that must be cleaned after turning off faster launching - * for the Windows AMI. Supported values include: snapshot.

      - */ - ResourceType?: FastLaunchResourceType | string; - - /** - *

      Parameters that were used for faster launching for the Windows AMI before - * faster launching was turned off. This informs the clean-up process.

      - */ - SnapshotConfiguration?: FastLaunchSnapshotConfigurationResponse; - - /** - *

      The launch template that was used to launch Windows instances from pre-provisioned snapshots.

      - */ - LaunchTemplate?: FastLaunchLaunchTemplateSpecificationResponse; - - /** - *

      The maximum number of parallel instances to launch for creating resources.

      - */ - MaxParallelLaunches?: number; - - /** - *

      The owner of the Windows AMI for which faster launching was turned off.

      - */ - OwnerId?: string; - - /** - *

      The current state of faster launching for the specified Windows AMI.

      - */ - State?: FastLaunchStateCode | string; - - /** - *

      The reason that the state changed for faster launching for the Windows AMI.

      + *

      The token for the next page of results.

      */ - StateTransitionReason?: string; + NextToken?: string; /** - *

      The time that the state changed for faster launching for the Windows AMI.

      + *

      The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

      */ - StateTransitionTime?: Date; + MaxResults?: number; } -export interface DisableFastSnapshotRestoresRequest { - /** - *

      One or more Availability Zones. For example, us-east-2a.

      - */ - AvailabilityZones: string[] | undefined; - +export interface DescribeVpcsResult { /** - *

      The IDs of one or more snapshots. For example, snap-1234567890abcdef0.

      + *

      Information about one or more VPCs.

      */ - SourceSnapshotIds: string[] | undefined; + Vpcs?: Vpc[]; /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      + *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      */ - DryRun?: boolean; + NextToken?: string; } /** - *

      Describes fast snapshot restores that were successfully disabled.

      + *

      Contains the parameters for DescribeVpnConnections.

      */ -export interface DisableFastSnapshotRestoreSuccessItem { - /** - *

      The ID of the snapshot.

      - */ - SnapshotId?: string; - - /** - *

      The Availability Zone.

      - */ - AvailabilityZone?: string; - - /** - *

      The state of fast snapshot restores for the snapshot.

      - */ - State?: FastSnapshotRestoreStateCode | string; - +export interface DescribeVpnConnectionsRequest { /** - *

      The reason for the state transition. The possible values are as follows:

      + *

      One or more filters.

      *
        *
      • *

        - * Client.UserInitiated - The state successfully transitioned to enabling or - * disabling.

        + * customer-gateway-configuration - The configuration information + * for the customer gateway.

        *
      • *
      • *

        - * Client.UserInitiated - Lifecycle state transition - The state successfully transitioned - * to optimizing, enabled, or disabled.

        + * customer-gateway-id - The ID of a customer gateway associated + * with the VPN connection.

        + *
      • + *
      • + *

        + * state - The state of the VPN connection (pending | + * available | deleting | + * deleted).

        + *
      • + *
      • + *

        + * option.static-routes-only - Indicates whether the connection has + * static routes only. Used for devices that do not support Border Gateway Protocol + * (BGP).

        + *
      • + *
      • + *

        + * route.destination-cidr-block - The destination CIDR block. This + * corresponds to the subnet used in a customer data center.

        + *
      • + *
      • + *

        + * bgp-asn - The BGP Autonomous System Number (ASN) associated with + * a BGP device.

        + *
      • + *
      • + *

        + * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. + * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

        + *
      • + *
      • + *

        + * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

        + *
      • + *
      • + *

        + * type - The type of VPN connection. Currently the only supported + * type is ipsec.1.

        + *
      • + *
      • + *

        + * vpn-connection-id - The ID of the VPN connection.

        + *
      • + *
      • + *

        + * vpn-gateway-id - The ID of a virtual private gateway associated + * with the VPN connection.

        + *
      • + *
      • + *

        + * transit-gateway-id - The ID of a transit gateway associated with + * the VPN connection.

        *
      • *
      */ - StateTransitionReason?: string; - - /** - *

      The ID of the Amazon Web Services account that enabled fast snapshot restores on the snapshot.

      - */ - OwnerId?: string; - - /** - *

      The Amazon Web Services owner alias that enabled fast snapshot restores on the snapshot. This is intended for future use.

      - */ - OwnerAlias?: string; - - /** - *

      The time at which fast snapshot restores entered the enabling state.

      - */ - EnablingTime?: Date; - - /** - *

      The time at which fast snapshot restores entered the optimizing state.

      - */ - OptimizingTime?: Date; - - /** - *

      The time at which fast snapshot restores entered the enabled state.

      - */ - EnabledTime?: Date; - - /** - *

      The time at which fast snapshot restores entered the disabling state.

      - */ - DisablingTime?: Date; - - /** - *

      The time at which fast snapshot restores entered the disabled state.

      - */ - DisabledTime?: Date; -} + Filters?: Filter[]; -/** - *

      Describes an error that occurred when disabling fast snapshot restores.

      - */ -export interface DisableFastSnapshotRestoreStateError { /** - *

      The error code.

      + *

      One or more VPN connection IDs.

      + *

      Default: Describes your VPN connections.

      */ - Code?: string; + VpnConnectionIds?: string[]; /** - *

      The error message.

      + *

      Checks whether you have the required permissions for the action, without actually + * making the request, and provides an error response. If you have the required + * permissions, the error response is DryRunOperation. Otherwise, it is + * UnauthorizedOperation.

      */ - Message?: string; + DryRun?: boolean; } /** - *

      Contains information about an error that occurred when disabling fast snapshot restores.

      + *

      Contains the output of DescribeVpnConnections.

      */ -export interface DisableFastSnapshotRestoreStateErrorItem { - /** - *

      The Availability Zone.

      - */ - AvailabilityZone?: string; - +export interface DescribeVpnConnectionsResult { /** - *

      The error.

      + *

      Information about one or more VPN connections.

      */ - Error?: DisableFastSnapshotRestoreStateError; + VpnConnections?: VpnConnection[]; } /** - *

      Contains information about the errors that occurred when disabling fast snapshot restores.

      + *

      Contains the parameters for DescribeVpnGateways.

      */ -export interface DisableFastSnapshotRestoreErrorItem { - /** - *

      The ID of the snapshot.

      - */ - SnapshotId?: string; - - /** - *

      The errors.

      - */ - FastSnapshotRestoreStateErrors?: DisableFastSnapshotRestoreStateErrorItem[]; -} - -export interface DisableFastSnapshotRestoresResult { - /** - *

      Information about the snapshots for which fast snapshot restores were successfully disabled.

      - */ - Successful?: DisableFastSnapshotRestoreSuccessItem[]; - +export interface DescribeVpnGatewaysRequest { /** - *

      Information about the snapshots for which fast snapshot restores could not be disabled.

      + *

      One or more filters.

      + *
        + *
      • + *

        + * amazon-side-asn - The Autonomous System Number (ASN) for the + * Amazon side of the gateway.

        + *
      • + *
      • + *

        + * attachment.state - The current state of the attachment between + * the gateway and the VPC (attaching | attached | + * detaching | detached).

        + *
      • + *
      • + *

        + * attachment.vpc-id - The ID of an attached VPC.

        + *
      • + *
      • + *

        + * availability-zone - The Availability Zone for the virtual private + * gateway (if applicable).

        + *
      • + *
      • + *

        + * state - The state of the virtual private gateway + * (pending | available | deleting | + * deleted).

        + *
      • + *
      • + *

        + * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. + * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

        + *
      • + *
      • + *

        + * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

        + *
      • + *
      • + *

        + * type - The type of virtual private gateway. Currently the only + * supported type is ipsec.1.

        + *
      • + *
      • + *

        + * vpn-gateway-id - The ID of the virtual private gateway.

        + *
      • + *
      */ - Unsuccessful?: DisableFastSnapshotRestoreErrorItem[]; -} + Filters?: Filter[]; -export interface DisableImageDeprecationRequest { /** - *

      The ID of the AMI.

      + *

      One or more virtual private gateway IDs.

      + *

      Default: Describes all your virtual private gateways.

      */ - ImageId: string | undefined; + VpnGatewayIds?: string[]; /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is - * DryRunOperation. Otherwise, it is UnauthorizedOperation.

      + *

      Checks whether you have the required permissions for the action, without actually + * making the request, and provides an error response. If you have the required + * permissions, the error response is DryRunOperation. Otherwise, it is + * UnauthorizedOperation.

      */ DryRun?: boolean; } -export interface DisableImageDeprecationResult { +/** + *

      Contains the output of DescribeVpnGateways.

      + */ +export interface DescribeVpnGatewaysResult { /** - *

      Returns true if the request succeeds; otherwise, it returns an error.

      + *

      Information about one or more virtual private gateways.

      */ - Return?: boolean; + VpnGateways?: VpnGateway[]; } -export interface DisableIpamOrganizationAdminAccountRequest { +export interface DetachClassicLinkVpcRequest { /** - *

      A check for whether you have the required permissions for the action without actually making the request + *

      Checks whether you have the required permissions for the action, without actually making the request, * and provides an error response. If you have the required permissions, the error response is DryRunOperation. * Otherwise, it is UnauthorizedOperation.

      */ DryRun?: boolean; /** - *

      The Organizations member account ID that you want to disable as IPAM account.

      + *

      The ID of the instance to unlink from the VPC.

      */ - DelegatedAdminAccountId: string | undefined; + InstanceId: string | undefined; + + /** + *

      The ID of the VPC to which the instance is linked.

      + */ + VpcId: string | undefined; } -export interface DisableIpamOrganizationAdminAccountResult { +export interface DetachClassicLinkVpcResult { /** - *

      The result of disabling the IPAM account.

      + *

      Returns true if the request succeeds; otherwise, it returns an error.

      */ - Success?: boolean; + Return?: boolean; } -export interface DisableSerialConsoleAccessRequest { +export interface DetachInternetGatewayRequest { /** - *

      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

      + *

      Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

      */ DryRun?: boolean; -} -export interface DisableSerialConsoleAccessResult { /** - *

      If true, access to the EC2 serial console of all instances is enabled for - * your account. If false, access to the EC2 serial console of all instances - * is disabled for your account.

      + *

      The ID of the internet gateway.

      */ - SerialConsoleAccessEnabled?: boolean; -} + InternetGatewayId: string | undefined; -export interface DisableTransitGatewayRouteTablePropagationRequest { /** - *

      The ID of the propagation route table.

      + *

      The ID of the VPC.

      */ - TransitGatewayRouteTableId: string | undefined; + VpcId: string | undefined; +} +/** + *

      Contains the parameters for DetachNetworkInterface.

      + */ +export interface DetachNetworkInterfaceRequest { /** *

      The ID of the attachment.

      */ - TransitGatewayAttachmentId?: string; + AttachmentId: string | undefined; /** *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

      */ DryRun?: boolean; /** - *

      The ID of the route table announcement.

      + *

      Specifies whether to force a detachment.

      + * + *
        + *
      • + *

        Use the Force parameter only as a last resort to detach a network interface from a failed instance.

        + *
      • + *
      • + *

        If you use the Force parameter to detach a network interface, you might not be able to attach a different network interface to the same index on the instance without first stopping and starting the instance.

        + *
      • + *
      • + *

        If you force the detachment of a network interface, the instance metadata + * might not get updated. This means that the attributes associated + * with the detached network interface might still be visible. The + * instance metadata will get updated when you stop and start the + * instance.

        + *
      • + *
      + *
      */ - TransitGatewayRouteTableAnnouncementId?: string; -} - -export enum TransitGatewayPropagationState { - disabled = "disabled", - disabling = "disabling", - enabled = "enabled", - enabling = "enabling", + Force?: boolean; } -/** - *

      Describes route propagation.

      - */ -export interface TransitGatewayPropagation { +export interface DetachVerifiedAccessTrustProviderRequest { /** - *

      The ID of the attachment.

      + *

      The ID of the Amazon Web Services Verified Access instance.

      */ - TransitGatewayAttachmentId?: string; + VerifiedAccessInstanceId: string | undefined; /** - *

      The ID of the resource.

      + *

      The ID of the Amazon Web Services Verified Access trust provider.

      */ - ResourceId?: string; + VerifiedAccessTrustProviderId: string | undefined; /** - *

      The resource type. Note that the tgw-peering resource type has been deprecated.

      + *

      A unique, case-sensitive token that you provide to ensure idempotency of your + * modification request. For more information, see Ensuring Idempotency.

      */ - ResourceType?: TransitGatewayAttachmentResourceType | string; + ClientToken?: string; /** - *

      The ID of the transit gateway route table.

      + *

      Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

      */ - TransitGatewayRouteTableId?: string; + DryRun?: boolean; +} +export interface DetachVerifiedAccessTrustProviderResult { /** - *

      The state.

      + *

      The ID of the Amazon Web Services Verified Access trust provider.

      */ - State?: TransitGatewayPropagationState | string; + VerifiedAccessTrustProvider?: VerifiedAccessTrustProvider; /** - *

      The ID of the transit gateway route table announcement.

      + *

      The ID of the Amazon Web Services Verified Access instance.

      */ - TransitGatewayRouteTableAnnouncementId?: string; + VerifiedAccessInstance?: VerifiedAccessInstance; } -export interface DisableTransitGatewayRouteTablePropagationResult { +export interface DetachVolumeRequest { /** - *

      Information about route propagation.

      + *

      The device name.

      */ - Propagation?: TransitGatewayPropagation; -} + Device?: string; -/** - *

      Contains the parameters for DisableVgwRoutePropagation.

      - */ -export interface DisableVgwRoutePropagationRequest { /** - *

      The ID of the virtual private gateway.

      + *

      Forces detachment if the previous detachment attempt did not occur cleanly (for example, + * logging into an instance, unmounting the volume, and detaching normally). This option can lead + * to data loss or a corrupted file system. Use this option only as a last resort to detach a + * volume from a failed instance. The instance won't have an opportunity to flush file system + * caches or file system metadata. If you use this option, you must perform file system check and + * repair procedures.

      */ - GatewayId: string | undefined; + Force?: boolean; /** - *

      The ID of the route table.

      + *

      The ID of the instance. If you are detaching a Multi-Attach enabled volume, you must specify an instance ID.

      */ - RouteTableId: string | undefined; + InstanceId?: string; /** - *

      Checks whether you have the required permissions for the action, without actually - * making the request, and provides an error response. If you have the required - * permissions, the error response is DryRunOperation. Otherwise, it is - * UnauthorizedOperation.

      + *

      The ID of the volume.

      */ - DryRun?: boolean; -} + VolumeId: string | undefined; -export interface DisableVpcClassicLinkRequest { /** *

      Checks whether you have the required permissions for the action, without actually making the request, * and provides an error response. If you have the required permissions, the error response is DryRunOperation. * Otherwise, it is UnauthorizedOperation.

      */ DryRun?: boolean; +} +/** + *

      Contains the parameters for DetachVpnGateway.

      + */ +export interface DetachVpnGatewayRequest { /** *

      The ID of the VPC.

      */ VpcId: string | undefined; -} - -export interface DisableVpcClassicLinkResult { - /** - *

      Returns true if the request succeeds; otherwise, it returns an error.

      - */ - Return?: boolean; -} -export interface DisableVpcClassicLinkDnsSupportRequest { /** - *

      The ID of the VPC.

      + *

      The ID of the virtual private gateway.

      */ - VpcId?: string; -} + VpnGatewayId: string | undefined; -export interface DisableVpcClassicLinkDnsSupportResult { /** - *

      Returns true if the request succeeds; otherwise, it returns an error.

      + *

      Checks whether you have the required permissions for the action, without actually + * making the request, and provides an error response. If you have the required + * permissions, the error response is DryRunOperation. Otherwise, it is + * UnauthorizedOperation.

      */ - Return?: boolean; + DryRun?: boolean; } -export interface DisassociateAddressRequest { - /** - *

      [EC2-VPC] The association ID. Required for EC2-VPC.

      - */ - AssociationId?: string; - +export interface DisableAddressTransferRequest { /** - *

      [EC2-Classic] The Elastic IP address. Required for EC2-Classic.

      + *

      The allocation ID of an Elastic IP address.

      */ - PublicIp?: string; + AllocationId: string | undefined; /** *

      Checks whether you have the required permissions for the action, without actually making the request, @@ -1403,168 +1402,144 @@ export interface DisassociateAddressRequest { DryRun?: boolean; } -export interface DisassociateClientVpnTargetNetworkRequest { - /** - *

      The ID of the Client VPN endpoint from which to disassociate the target network.

      - */ - ClientVpnEndpointId: string | undefined; - - /** - *

      The ID of the target network association.

      - */ - AssociationId: string | undefined; - +export interface DisableAddressTransferResult { /** - *

      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

      + *

      An Elastic IP address transfer.

      */ - DryRun?: boolean; + AddressTransfer?: AddressTransfer; } -export interface DisassociateClientVpnTargetNetworkResult { - /** - *

      The ID of the target network association.

      - */ - AssociationId?: string; - +export interface DisableAwsNetworkPerformanceMetricSubscriptionRequest { /** - *

      The current state of the target network association.

      + *

      The source Region or Availability Zone that the metric subscription is disabled for. For example, us-east-1.

      */ - Status?: AssociationStatus; -} + Source?: string; -export interface DisassociateEnclaveCertificateIamRoleRequest { /** - *

      The ARN of the ACM certificate from which to disassociate the IAM role.

      + *

      The target Region or Availability Zone that the metric subscription is disabled for. For example, eu-north-1.

      */ - CertificateArn?: string; + Destination?: string; /** - *

      The ARN of the IAM role to disassociate.

      + *

      The metric used for the disabled subscription.

      */ - RoleArn?: string; + Metric?: MetricType | string; /** - *

      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

      + *

      The statistic used for the disabled subscription.

      */ - DryRun?: boolean; -} + Statistic?: StatisticType | string; -export interface DisassociateEnclaveCertificateIamRoleResult { /** - *

      Returns true if the request succeeds; otherwise, it returns an error.

      + *

      Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

      */ - Return?: boolean; + DryRun?: boolean; } -export interface DisassociateIamInstanceProfileRequest { +export interface DisableAwsNetworkPerformanceMetricSubscriptionResult { /** - *

      The ID of the IAM instance profile association.

      + *

      Indicates whether the unsubscribe action was successful.

      */ - AssociationId: string | undefined; + Output?: boolean; } -export interface DisassociateIamInstanceProfileResult { +export interface DisableEbsEncryptionByDefaultRequest { /** - *

      Information about the IAM instance profile association.

      + *

      Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

      */ - IamInstanceProfileAssociation?: IamInstanceProfileAssociation; + DryRun?: boolean; } -/** - *

      The targets to disassociate from the specified event window.

      - */ -export interface InstanceEventWindowDisassociationRequest { +export interface DisableEbsEncryptionByDefaultResult { /** - *

      The IDs of the instances to disassociate from the event window.

      + *

      The updated status of encryption by default.

      */ - InstanceIds?: string[]; + EbsEncryptionByDefault?: boolean; +} +export interface DisableFastLaunchRequest { /** - *

      The instance tags to disassociate from the event window. Any instances associated with - * the tags will be disassociated from the event window.

      + *

      The ID of the image for which you’re turning off faster launching, and removing pre-provisioned snapshots.

      */ - InstanceTags?: Tag[]; + ImageId: string | undefined; /** - *

      The IDs of the Dedicated Hosts to disassociate from the event window.

      + *

      Forces the image settings to turn off faster launching for your Windows AMI. This parameter overrides + * any errors that are encountered while cleaning up resources in your account.

      */ - DedicatedHostIds?: string[]; -} + Force?: boolean; -export interface DisassociateInstanceEventWindowRequest { /** *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      + * and provides an error response. If you have the required permissions, the error response is + * DryRunOperation. Otherwise, it is UnauthorizedOperation.

      */ DryRun?: boolean; +} +export interface DisableFastLaunchResult { /** - *

      The ID of the event window.

      + *

      The ID of the image for which faster-launching has been turned off.

      */ - InstanceEventWindowId: string | undefined; + ImageId?: string; /** - *

      One or more targets to disassociate from the specified event window.

      + *

      The pre-provisioning resource type that must be cleaned after turning off faster launching + * for the Windows AMI. Supported values include: snapshot.

      */ - AssociationTarget: InstanceEventWindowDisassociationRequest | undefined; -} + ResourceType?: FastLaunchResourceType | string; -export interface DisassociateInstanceEventWindowResult { /** - *

      Information about the event window.

      + *

      Parameters that were used for faster launching for the Windows AMI before + * faster launching was turned off. This informs the clean-up process.

      */ - InstanceEventWindow?: InstanceEventWindow; -} + SnapshotConfiguration?: FastLaunchSnapshotConfigurationResponse; -export interface DisassociateRouteTableRequest { /** - *

      The association ID representing the current association between the route table and subnet or gateway.

      + *

      The launch template that was used to launch Windows instances from pre-provisioned snapshots.

      */ - AssociationId: string | undefined; + LaunchTemplate?: FastLaunchLaunchTemplateSpecificationResponse; /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      + *

      The maximum number of parallel instances to launch for creating resources.

      */ - DryRun?: boolean; -} + MaxParallelLaunches?: number; -export interface DisassociateSubnetCidrBlockRequest { /** - *

      The association ID for the CIDR block.

      + *

      The owner of the Windows AMI for which faster launching was turned off.

      */ - AssociationId: string | undefined; -} + OwnerId?: string; -export interface DisassociateSubnetCidrBlockResult { /** - *

      Information about the IPv6 CIDR block association.

      + *

      The current state of faster launching for the specified Windows AMI.

      */ - Ipv6CidrBlockAssociation?: SubnetIpv6CidrBlockAssociation; + State?: FastLaunchStateCode | string; /** - *

      The ID of the subnet.

      + *

      The reason that the state changed for faster launching for the Windows AMI.

      */ - SubnetId?: string; -} + StateTransitionReason?: string; -export interface DisassociateTransitGatewayMulticastDomainRequest { /** - *

      The ID of the transit gateway multicast domain.

      + *

      The time that the state changed for faster launching for the Windows AMI.

      */ - TransitGatewayMulticastDomainId?: string; + StateTransitionTime?: Date; +} +export interface DisableFastSnapshotRestoresRequest { /** - *

      The ID of the attachment.

      + *

      One or more Availability Zones. For example, us-east-2a.

      */ - TransitGatewayAttachmentId?: string; + AvailabilityZones: string[] | undefined; /** - *

      The IDs of the subnets;

      + *

      The IDs of one or more snapshots. For example, snap-1234567890abcdef0.

      */ - SubnetIds?: string[]; + SourceSnapshotIds: string[] | undefined; /** *

      Checks whether you have the required permissions for the action, without actually making the request, @@ -1574,170 +1549,203 @@ export interface DisassociateTransitGatewayMulticastDomainRequest { DryRun?: boolean; } -export interface DisassociateTransitGatewayMulticastDomainResult { +/** + *

      Describes fast snapshot restores that were successfully disabled.

      + */ +export interface DisableFastSnapshotRestoreSuccessItem { /** - *

      Information about the association.

      + *

      The ID of the snapshot.

      */ - Associations?: TransitGatewayMulticastDomainAssociations; -} + SnapshotId?: string; -export interface DisassociateTransitGatewayPolicyTableRequest { /** - *

      The ID of the disassociated policy table.

      + *

      The Availability Zone.

      */ - TransitGatewayPolicyTableId: string | undefined; + AvailabilityZone?: string; /** - *

      The ID of the transit gateway attachment to disassociate from the policy table.

      + *

      The state of fast snapshot restores for the snapshot.

      */ - TransitGatewayAttachmentId: string | undefined; + State?: FastSnapshotRestoreStateCode | string; /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      + *

      The reason for the state transition. The possible values are as follows:

      + *
        + *
      • + *

        + * Client.UserInitiated - The state successfully transitioned to enabling or + * disabling.

        + *
      • + *
      • + *

        + * Client.UserInitiated - Lifecycle state transition - The state successfully transitioned + * to optimizing, enabled, or disabled.

        + *
      • + *
      */ - DryRun?: boolean; -} + StateTransitionReason?: string; -export interface DisassociateTransitGatewayPolicyTableResult { /** - *

      Returns details about the transit gateway policy table disassociation.

      + *

      The ID of the Amazon Web Services account that enabled fast snapshot restores on the snapshot.

      */ - Association?: TransitGatewayPolicyTableAssociation; -} + OwnerId?: string; -export interface DisassociateTransitGatewayRouteTableRequest { /** - *

      The ID of the transit gateway route table.

      + *

      The Amazon Web Services owner alias that enabled fast snapshot restores on the snapshot. This is intended for future use.

      */ - TransitGatewayRouteTableId: string | undefined; + OwnerAlias?: string; /** - *

      The ID of the attachment.

      + *

      The time at which fast snapshot restores entered the enabling state.

      */ - TransitGatewayAttachmentId: string | undefined; + EnablingTime?: Date; /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      + *

      The time at which fast snapshot restores entered the optimizing state.

      */ - DryRun?: boolean; -} + OptimizingTime?: Date; -export interface DisassociateTransitGatewayRouteTableResult { /** - *

      Information about the association.

      + *

      The time at which fast snapshot restores entered the enabled state.

      */ - Association?: TransitGatewayAssociation; -} + EnabledTime?: Date; -export interface DisassociateTrunkInterfaceRequest { /** - *

      The ID of the association

      + *

      The time at which fast snapshot restores entered the disabling state.

      */ - AssociationId: string | undefined; + DisablingTime?: Date; /** - *

      Unique, case-sensitive identifier that you provide to ensure the idempotency of the - * request. For more information, see How to Ensure - * Idempotency.

      + *

      The time at which fast snapshot restores entered the disabled state.

      */ - ClientToken?: string; + DisabledTime?: Date; +} +/** + *

      Describes an error that occurred when disabling fast snapshot restores.

      + */ +export interface DisableFastSnapshotRestoreStateError { /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      + *

      The error code.

      */ - DryRun?: boolean; + Code?: string; + + /** + *

      The error message.

      + */ + Message?: string; } -export interface DisassociateTrunkInterfaceResult { +/** + *

      Contains information about an error that occurred when disabling fast snapshot restores.

      + */ +export interface DisableFastSnapshotRestoreStateErrorItem { /** - *

      Returns true if the request succeeds; otherwise, it returns an error.

      + *

      The Availability Zone.

      */ - Return?: boolean; + AvailabilityZone?: string; /** - *

      Unique, case-sensitive identifier that you provide to ensure the idempotency of the - * request. For more information, see How to Ensure - * Idempotency.

      + *

      The error.

      */ - ClientToken?: string; + Error?: DisableFastSnapshotRestoreStateError; } -export interface DisassociateVpcCidrBlockRequest { +/** + *

      Contains information about the errors that occurred when disabling fast snapshot restores.

      + */ +export interface DisableFastSnapshotRestoreErrorItem { /** - *

      The association ID for the CIDR block.

      + *

      The ID of the snapshot.

      */ - AssociationId: string | undefined; -} + SnapshotId?: string; -export interface DisassociateVpcCidrBlockResult { /** - *

      Information about the IPv6 CIDR block association.

      + *

      The errors.

      */ - Ipv6CidrBlockAssociation?: VpcIpv6CidrBlockAssociation; + FastSnapshotRestoreStateErrors?: DisableFastSnapshotRestoreStateErrorItem[]; +} +export interface DisableFastSnapshotRestoresResult { /** - *

      Information about the IPv4 CIDR block association.

      + *

      Information about the snapshots for which fast snapshot restores were successfully disabled.

      */ - CidrBlockAssociation?: VpcCidrBlockAssociation; + Successful?: DisableFastSnapshotRestoreSuccessItem[]; /** - *

      The ID of the VPC.

      + *

      Information about the snapshots for which fast snapshot restores could not be disabled.

      */ - VpcId?: string; + Unsuccessful?: DisableFastSnapshotRestoreErrorItem[]; } -export interface EnableAddressTransferRequest { +export interface DisableImageDeprecationRequest { /** - *

      The allocation ID of an Elastic IP address.

      + *

      The ID of the AMI.

      */ - AllocationId: string | undefined; + ImageId: string | undefined; /** - *

      The ID of the account that you want to transfer the Elastic IP address to.

      + *

      Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is + * DryRunOperation. Otherwise, it is UnauthorizedOperation.

      */ - TransferAccountId: string | undefined; + DryRun?: boolean; +} + +export interface DisableImageDeprecationResult { + /** + *

      Returns true if the request succeeds; otherwise, it returns an error.

      + */ + Return?: boolean; +} +export interface DisableIpamOrganizationAdminAccountRequest { /** - *

      Checks whether you have the required permissions for the action, without actually making the request, + *

      A check for whether you have the required permissions for the action without actually making the request * and provides an error response. If you have the required permissions, the error response is DryRunOperation. * Otherwise, it is UnauthorizedOperation.

      */ DryRun?: boolean; + + /** + *

      The Organizations member account ID that you want to disable as IPAM account.

      + */ + DelegatedAdminAccountId: string | undefined; } -export interface EnableAddressTransferResult { +export interface DisableIpamOrganizationAdminAccountResult { /** - *

      An Elastic IP address transfer.

      + *

      The result of disabling the IPAM account.

      */ - AddressTransfer?: AddressTransfer; + Success?: boolean; } -export interface EnableAwsNetworkPerformanceMetricSubscriptionRequest { +export interface DisableSerialConsoleAccessRequest { /** - *

      The source Region or Availability Zone that the metric subscription is enabled for. For example, us-east-1.

      + *

      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

      */ - Source?: string; + DryRun?: boolean; +} +export interface DisableSerialConsoleAccessResult { /** - *

      The target Region or Availability Zone that the metric subscription is enabled for. For example, eu-west-1.

      + *

      If true, access to the EC2 serial console of all instances is enabled for + * your account. If false, access to the EC2 serial console of all instances + * is disabled for your account.

      */ - Destination?: string; + SerialConsoleAccessEnabled?: boolean; +} +export interface DisableTransitGatewayRouteTablePropagationRequest { /** - *

      The metric used for the enabled subscription.

      + *

      The ID of the propagation route table.

      */ - Metric?: MetricType | string; + TransitGatewayRouteTableId: string | undefined; /** - *

      The statistic used for the enabled subscription.

      + *

      The ID of the attachment.

      */ - Statistic?: StatisticType | string; + TransitGatewayAttachmentId?: string; /** *

      Checks whether you have the required permissions for the action, without actually making the request, @@ -1745,355 +1753,349 @@ export interface EnableAwsNetworkPerformanceMetricSubscriptionRequest { * Otherwise, it is UnauthorizedOperation.

      */ DryRun?: boolean; -} -export interface EnableAwsNetworkPerformanceMetricSubscriptionResult { /** - *

      Indicates whether the subscribe action was successful.

      + *

      The ID of the route table announcement.

      */ - Output?: boolean; + TransitGatewayRouteTableAnnouncementId?: string; } -export interface EnableEbsEncryptionByDefaultRequest { - /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      - */ - DryRun?: boolean; +export enum TransitGatewayPropagationState { + disabled = "disabled", + disabling = "disabling", + enabled = "enabled", + enabling = "enabling", } -export interface EnableEbsEncryptionByDefaultResult { +/** + *

      Describes route propagation.

      + */ +export interface TransitGatewayPropagation { /** - *

      The updated status of encryption by default.

      + *

      The ID of the attachment.

      */ - EbsEncryptionByDefault?: boolean; -} + TransitGatewayAttachmentId?: string; -/** - *

      Request to create a launch template for a fast-launch enabled Windows AMI.

      - * - *

      Note - You can specify either the LaunchTemplateName or the - * LaunchTemplateId, but not both.

      - *
      - */ -export interface FastLaunchLaunchTemplateSpecificationRequest { /** - *

      The ID of the launch template to use for faster launching for a Windows AMI.

      + *

      The ID of the resource.

      */ - LaunchTemplateId?: string; + ResourceId?: string; /** - *

      The name of the launch template to use for faster launching for a Windows AMI.

      + *

      The resource type. Note that the tgw-peering resource type has been deprecated.

      */ - LaunchTemplateName?: string; + ResourceType?: TransitGatewayAttachmentResourceType | string; /** - *

      The version of the launch template to use for faster launching for a Windows AMI.

      + *

      The ID of the transit gateway route table.

      */ - Version: string | undefined; -} + TransitGatewayRouteTableId?: string; -/** - *

      Configuration settings for creating and managing pre-provisioned snapshots for a fast-launch enabled Windows AMI.

      - */ -export interface FastLaunchSnapshotConfigurationRequest { /** - *

      The number of pre-provisioned snapshots to keep on hand for a fast-launch enabled Windows AMI.

      + *

      The state.

      */ - TargetResourceCount?: number; -} + State?: TransitGatewayPropagationState | string; -export interface EnableFastLaunchRequest { /** - *

      The ID of the image for which you’re enabling faster launching.

      + *

      The ID of the transit gateway route table announcement.

      */ - ImageId: string | undefined; + TransitGatewayRouteTableAnnouncementId?: string; +} +export interface DisableTransitGatewayRouteTablePropagationResult { /** - *

      The type of resource to use for pre-provisioning the Windows AMI for faster launching. - * Supported values include: snapshot, which is the default value.

      + *

      Information about route propagation.

      */ - ResourceType?: string; + Propagation?: TransitGatewayPropagation; +} +/** + *

      Contains the parameters for DisableVgwRoutePropagation.

      + */ +export interface DisableVgwRoutePropagationRequest { /** - *

      Configuration settings for creating and managing the snapshots that are used for - * pre-provisioning the Windows AMI for faster launching. The associated ResourceType - * must be snapshot.

      + *

      The ID of the virtual private gateway.

      */ - SnapshotConfiguration?: FastLaunchSnapshotConfigurationRequest; + GatewayId: string | undefined; /** - *

      The launch template to use when launching Windows instances from pre-provisioned - * snapshots. Launch template parameters can include either the name or ID of the launch - * template, but not both.

      + *

      The ID of the route table.

      */ - LaunchTemplate?: FastLaunchLaunchTemplateSpecificationRequest; + RouteTableId: string | undefined; /** - *

      The maximum number of parallel instances to launch for creating resources. Value must be 6 or greater.

      + *

      Checks whether you have the required permissions for the action, without actually + * making the request, and provides an error response. If you have the required + * permissions, the error response is DryRunOperation. Otherwise, it is + * UnauthorizedOperation.

      */ - MaxParallelLaunches?: number; + DryRun?: boolean; +} +export interface DisableVpcClassicLinkRequest { /** *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is - * DryRunOperation. Otherwise, it is UnauthorizedOperation.

      + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

      */ DryRun?: boolean; + + /** + *

      The ID of the VPC.

      + */ + VpcId: string | undefined; } -export interface EnableFastLaunchResult { +export interface DisableVpcClassicLinkResult { /** - *

      The image ID that identifies the Windows AMI for which faster launching was enabled.

      + *

      Returns true if the request succeeds; otherwise, it returns an error.

      */ - ImageId?: string; + Return?: boolean; +} +export interface DisableVpcClassicLinkDnsSupportRequest { /** - *

      The type of resource that was defined for pre-provisioning the Windows AMI for faster launching.

      + *

      The ID of the VPC.

      */ - ResourceType?: FastLaunchResourceType | string; + VpcId?: string; +} +export interface DisableVpcClassicLinkDnsSupportResult { /** - *

      The configuration settings that were defined for creating and managing the pre-provisioned snapshots - * for faster launching of the Windows AMI. This property is returned when the associated - * resourceType is snapshot.

      + *

      Returns true if the request succeeds; otherwise, it returns an error.

      */ - SnapshotConfiguration?: FastLaunchSnapshotConfigurationResponse; + Return?: boolean; +} +export interface DisassociateAddressRequest { /** - *

      The launch template that is used when launching Windows instances from pre-provisioned snapshots.

      + *

      [EC2-VPC] The association ID. Required for EC2-VPC.

      */ - LaunchTemplate?: FastLaunchLaunchTemplateSpecificationResponse; + AssociationId?: string; /** - *

      The maximum number of parallel instances to launch for creating resources.

      + *

      [EC2-Classic] The Elastic IP address. Required for EC2-Classic.

      */ - MaxParallelLaunches?: number; + PublicIp?: string; /** - *

      The owner ID for the Windows AMI for which faster launching was enabled.

      + *

      Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

      */ - OwnerId?: string; + DryRun?: boolean; +} +export interface DisassociateClientVpnTargetNetworkRequest { /** - *

      The current state of faster launching for the specified Windows AMI.

      + *

      The ID of the Client VPN endpoint from which to disassociate the target network.

      */ - State?: FastLaunchStateCode | string; + ClientVpnEndpointId: string | undefined; /** - *

      The reason that the state changed for faster launching for the Windows AMI.

      + *

      The ID of the target network association.

      */ - StateTransitionReason?: string; + AssociationId: string | undefined; /** - *

      The time that the state changed for faster launching for the Windows AMI.

      + *

      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

      */ - StateTransitionTime?: Date; + DryRun?: boolean; } -export interface EnableFastSnapshotRestoresRequest { +export interface DisassociateClientVpnTargetNetworkResult { /** - *

      One or more Availability Zones. For example, us-east-2a.

      + *

      The ID of the target network association.

      */ - AvailabilityZones: string[] | undefined; + AssociationId?: string; /** - *

      The IDs of one or more snapshots. For example, snap-1234567890abcdef0. You can specify - * a snapshot that was shared with you from another Amazon Web Services account.

      + *

      The current state of the target network association.

      */ - SourceSnapshotIds: string[] | undefined; + Status?: AssociationStatus; +} +export interface DisassociateEnclaveCertificateIamRoleRequest { /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      + *

      The ARN of the ACM certificate from which to disassociate the IAM role.

      */ - DryRun?: boolean; -} + CertificateArn?: string; -/** - *

      Describes fast snapshot restores that were successfully enabled.

      - */ -export interface EnableFastSnapshotRestoreSuccessItem { /** - *

      The ID of the snapshot.

      + *

      The ARN of the IAM role to disassociate.

      */ - SnapshotId?: string; + RoleArn?: string; /** - *

      The Availability Zone.

      + *

      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

      */ - AvailabilityZone?: string; + DryRun?: boolean; +} +export interface DisassociateEnclaveCertificateIamRoleResult { /** - *

      The state of fast snapshot restores.

      + *

      Returns true if the request succeeds; otherwise, it returns an error.

      */ - State?: FastSnapshotRestoreStateCode | string; + Return?: boolean; +} +export interface DisassociateIamInstanceProfileRequest { /** - *

      The reason for the state transition. The possible values are as follows:

      - *
        - *
      • - *

        - * Client.UserInitiated - The state successfully transitioned to enabling or - * disabling.

        - *
      • - *
      • - *

        - * Client.UserInitiated - Lifecycle state transition - The state successfully transitioned - * to optimizing, enabled, or disabled.

        - *
      • - *
      + *

      The ID of the IAM instance profile association.

      */ - StateTransitionReason?: string; + AssociationId: string | undefined; +} +export interface DisassociateIamInstanceProfileResult { /** - *

      The ID of the Amazon Web Services account that enabled fast snapshot restores on the snapshot.

      + *

      Information about the IAM instance profile association.

      */ - OwnerId?: string; + IamInstanceProfileAssociation?: IamInstanceProfileAssociation; +} +/** + *

      The targets to disassociate from the specified event window.

      + */ +export interface InstanceEventWindowDisassociationRequest { /** - *

      The Amazon Web Services owner alias that enabled fast snapshot restores on the snapshot. This is intended for future use.

      + *

      The IDs of the instances to disassociate from the event window.

      */ - OwnerAlias?: string; + InstanceIds?: string[]; /** - *

      The time at which fast snapshot restores entered the enabling state.

      + *

      The instance tags to disassociate from the event window. Any instances associated with + * the tags will be disassociated from the event window.

      */ - EnablingTime?: Date; + InstanceTags?: Tag[]; /** - *

      The time at which fast snapshot restores entered the optimizing state.

      + *

      The IDs of the Dedicated Hosts to disassociate from the event window.

      */ - OptimizingTime?: Date; + DedicatedHostIds?: string[]; +} +export interface DisassociateInstanceEventWindowRequest { /** - *

      The time at which fast snapshot restores entered the enabled state.

      + *

      Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

      */ - EnabledTime?: Date; + DryRun?: boolean; /** - *

      The time at which fast snapshot restores entered the disabling state.

      + *

      The ID of the event window.

      */ - DisablingTime?: Date; + InstanceEventWindowId: string | undefined; /** - *

      The time at which fast snapshot restores entered the disabled state.

      + *

      One or more targets to disassociate from the specified event window.

      */ - DisabledTime?: Date; + AssociationTarget: InstanceEventWindowDisassociationRequest | undefined; } -/** - *

      Describes an error that occurred when enabling fast snapshot restores.

      - */ -export interface EnableFastSnapshotRestoreStateError { +export interface DisassociateInstanceEventWindowResult { /** - *

      The error code.

      + *

      Information about the event window.

      */ - Code?: string; + InstanceEventWindow?: InstanceEventWindow; +} +export interface DisassociateIpamResourceDiscoveryRequest { /** - *

      The error message.

      + *

      A check for whether you have the required permissions for the action without actually making the request + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

      */ - Message?: string; -} + DryRun?: boolean; -/** - *

      Contains information about an error that occurred when enabling fast snapshot restores.

      - */ -export interface EnableFastSnapshotRestoreStateErrorItem { /** - *

      The Availability Zone.

      + *

      A resource discovery association ID.

      */ - AvailabilityZone?: string; + IpamResourceDiscoveryAssociationId: string | undefined; +} +export interface DisassociateIpamResourceDiscoveryResult { /** - *

      The error.

      + *

      A resource discovery association.

      */ - Error?: EnableFastSnapshotRestoreStateError; + IpamResourceDiscoveryAssociation?: IpamResourceDiscoveryAssociation; } -/** - *

      Contains information about the errors that occurred when enabling fast snapshot restores.

      - */ -export interface EnableFastSnapshotRestoreErrorItem { +export interface DisassociateRouteTableRequest { /** - *

      The ID of the snapshot.

      + *

      The association ID representing the current association between the route table and subnet or gateway.

      */ - SnapshotId?: string; + AssociationId: string | undefined; /** - *

      The errors.

      + *

      Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

      */ - FastSnapshotRestoreStateErrors?: EnableFastSnapshotRestoreStateErrorItem[]; + DryRun?: boolean; } -export interface EnableFastSnapshotRestoresResult { +export interface DisassociateSubnetCidrBlockRequest { /** - *

      Information about the snapshots for which fast snapshot restores were successfully enabled.

      + *

      The association ID for the CIDR block.

      */ - Successful?: EnableFastSnapshotRestoreSuccessItem[]; + AssociationId: string | undefined; +} +export interface DisassociateSubnetCidrBlockResult { /** - *

      Information about the snapshots for which fast snapshot restores could not be enabled.

      + *

      Information about the IPv6 CIDR block association.

      */ - Unsuccessful?: EnableFastSnapshotRestoreErrorItem[]; -} + Ipv6CidrBlockAssociation?: SubnetIpv6CidrBlockAssociation; -export interface EnableImageDeprecationRequest { /** - *

      The ID of the AMI.

      + *

      The ID of the subnet.

      */ - ImageId: string | undefined; + SubnetId?: string; +} +export interface DisassociateTransitGatewayMulticastDomainRequest { /** - *

      The date and time to deprecate the AMI, in UTC, in the following format: - * YYYY-MM-DDTHH:MM:SSZ. - * If you specify a value for seconds, Amazon EC2 rounds the seconds to the - * nearest minute.

      - *

      You can’t specify a date in the past. The upper limit for DeprecateAt is 10 - * years from now, except for public AMIs, where the upper limit is 2 years from the creation date.

      + *

      The ID of the transit gateway multicast domain.

      */ - DeprecateAt: Date | undefined; + TransitGatewayMulticastDomainId?: string; /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is - * DryRunOperation. Otherwise, it is UnauthorizedOperation.

      + *

      The ID of the attachment.

      */ - DryRun?: boolean; -} + TransitGatewayAttachmentId?: string; -export interface EnableImageDeprecationResult { /** - *

      Returns true if the request succeeds; otherwise, it returns an error.

      + *

      The IDs of the subnets;

      */ - Return?: boolean; -} + SubnetIds?: string[]; -export interface EnableIpamOrganizationAdminAccountRequest { /** - *

      A check for whether you have the required permissions for the action without actually making the request + *

      Checks whether you have the required permissions for the action, without actually making the request, * and provides an error response. If you have the required permissions, the error response is DryRunOperation. * Otherwise, it is UnauthorizedOperation.

      */ DryRun?: boolean; +} +export interface DisassociateTransitGatewayMulticastDomainResult { /** - *

      The Organizations member account ID that you want to enable as the IPAM account.

      + *

      Information about the association.

      */ - DelegatedAdminAccountId: string | undefined; + Associations?: TransitGatewayMulticastDomainAssociations; } -export interface EnableIpamOrganizationAdminAccountResult { +export interface DisassociateTransitGatewayPolicyTableRequest { /** - *

      The result of enabling the IPAM account.

      + *

      The ID of the disassociated policy table.

      */ - Success?: boolean; -} + TransitGatewayPolicyTableId: string | undefined; + + /** + *

      The ID of the transit gateway attachment to disassociate from the policy table.

      + */ + TransitGatewayAttachmentId: string | undefined; -export interface EnableReachabilityAnalyzerOrganizationSharingRequest { /** *

      Checks whether you have the required permissions for the action, without actually making the request, * and provides an error response. If you have the required permissions, the error response is DryRunOperation. @@ -2102,39 +2104,51 @@ export interface EnableReachabilityAnalyzerOrganizationSharingRequest { DryRun?: boolean; } -export interface EnableReachabilityAnalyzerOrganizationSharingResult { +export interface DisassociateTransitGatewayPolicyTableResult { /** - *

      Returns true if the request succeeds; otherwise, returns an error.

      + *

      Returns details about the transit gateway policy table disassociation.

      */ - ReturnValue?: boolean; + Association?: TransitGatewayPolicyTableAssociation; } -export interface EnableSerialConsoleAccessRequest { +export interface DisassociateTransitGatewayRouteTableRequest { /** - *

      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

      + *

      The ID of the transit gateway route table.

      + */ + TransitGatewayRouteTableId: string | undefined; + + /** + *

      The ID of the attachment.

      + */ + TransitGatewayAttachmentId: string | undefined; + + /** + *

      Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

      */ DryRun?: boolean; } -export interface EnableSerialConsoleAccessResult { +export interface DisassociateTransitGatewayRouteTableResult { /** - *

      If true, access to the EC2 serial console of all instances is enabled for - * your account. If false, access to the EC2 serial console of all instances - * is disabled for your account.

      + *

      Information about the association.

      */ - SerialConsoleAccessEnabled?: boolean; + Association?: TransitGatewayAssociation; } -export interface EnableTransitGatewayRouteTablePropagationRequest { +export interface DisassociateTrunkInterfaceRequest { /** - *

      The ID of the propagation route table.

      + *

      The ID of the association

      */ - TransitGatewayRouteTableId: string | undefined; + AssociationId: string | undefined; /** - *

      The ID of the attachment.

      + *

      Unique, case-sensitive identifier that you provide to ensure the idempotency of the + * request. For more information, see How to Ensure + * Idempotency.

      */ - TransitGatewayAttachmentId?: string; + ClientToken?: string; /** *

      Checks whether you have the required permissions for the action, without actually making the request, @@ -2142,504 +2156,489 @@ export interface EnableTransitGatewayRouteTablePropagationRequest { * Otherwise, it is UnauthorizedOperation.

      */ DryRun?: boolean; +} +export interface DisassociateTrunkInterfaceResult { /** - *

      The ID of the transit gateway route table announcement.

      + *

      Returns true if the request succeeds; otherwise, it returns an error.

      */ - TransitGatewayRouteTableAnnouncementId?: string; + Return?: boolean; + + /** + *

      Unique, case-sensitive identifier that you provide to ensure the idempotency of the + * request. For more information, see How to Ensure + * Idempotency.

      + */ + ClientToken?: string; } -export interface EnableTransitGatewayRouteTablePropagationResult { +export interface DisassociateVpcCidrBlockRequest { /** - *

      Information about route propagation.

      + *

      The association ID for the CIDR block.

      */ - Propagation?: TransitGatewayPropagation; + AssociationId: string | undefined; } -/** - *

      Contains the parameters for EnableVgwRoutePropagation.

      - */ -export interface EnableVgwRoutePropagationRequest { +export interface DisassociateVpcCidrBlockResult { /** - *

      The ID of the virtual private gateway that is attached to a VPC. The virtual private - * gateway must be attached to the same VPC that the routing tables are associated with. - *

      + *

      Information about the IPv6 CIDR block association.

      */ - GatewayId: string | undefined; + Ipv6CidrBlockAssociation?: VpcIpv6CidrBlockAssociation; /** - *

      The ID of the route table. The routing table must be associated with the same VPC that - * the virtual private gateway is attached to.

      + *

      Information about the IPv4 CIDR block association.

      */ - RouteTableId: string | undefined; + CidrBlockAssociation?: VpcCidrBlockAssociation; /** - *

      Checks whether you have the required permissions for the action, without actually - * making the request, and provides an error response. If you have the required - * permissions, the error response is DryRunOperation. Otherwise, it is - * UnauthorizedOperation.

      + *

      The ID of the VPC.

      */ - DryRun?: boolean; + VpcId?: string; } -export interface EnableVolumeIORequest { +export interface EnableAddressTransferRequest { /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      + *

      The allocation ID of an Elastic IP address.

      */ - DryRun?: boolean; + AllocationId: string | undefined; /** - *

      The ID of the volume.

      + *

      The ID of the account that you want to transfer the Elastic IP address to.

      */ - VolumeId: string | undefined; -} + TransferAccountId: string | undefined; -export interface EnableVpcClassicLinkRequest { /** *

      Checks whether you have the required permissions for the action, without actually making the request, * and provides an error response. If you have the required permissions, the error response is DryRunOperation. * Otherwise, it is UnauthorizedOperation.

      */ DryRun?: boolean; +} +export interface EnableAddressTransferResult { /** - *

      The ID of the VPC.

      + *

      An Elastic IP address transfer.

      */ - VpcId: string | undefined; + AddressTransfer?: AddressTransfer; } -export interface EnableVpcClassicLinkResult { +export interface EnableAwsNetworkPerformanceMetricSubscriptionRequest { /** - *

      Returns true if the request succeeds; otherwise, it returns an error.

      + *

      The source Region or Availability Zone that the metric subscription is enabled for. For example, us-east-1.

      */ - Return?: boolean; -} + Source?: string; -export interface EnableVpcClassicLinkDnsSupportRequest { /** - *

      The ID of the VPC.

      + *

      The target Region or Availability Zone that the metric subscription is enabled for. For example, eu-west-1.

      */ - VpcId?: string; -} + Destination?: string; -export interface EnableVpcClassicLinkDnsSupportResult { /** - *

      Returns true if the request succeeds; otherwise, it returns an error.

      + *

      The metric used for the enabled subscription.

      */ - Return?: boolean; -} + Metric?: MetricType | string; -export interface ExportClientVpnClientCertificateRevocationListRequest { /** - *

      The ID of the Client VPN endpoint.

      + *

      The statistic used for the enabled subscription.

      */ - ClientVpnEndpointId: string | undefined; + Statistic?: StatisticType | string; /** - *

      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

      + *

      Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

      */ DryRun?: boolean; } -export enum ClientCertificateRevocationListStatusCode { - active = "active", - pending = "pending", -} - -/** - *

      Describes the state of a client certificate revocation list.

      - */ -export interface ClientCertificateRevocationListStatus { +export interface EnableAwsNetworkPerformanceMetricSubscriptionResult { /** - *

      The state of the client certificate revocation list.

      + *

      Indicates whether the subscribe action was successful.

      */ - Code?: ClientCertificateRevocationListStatusCode | string; + Output?: boolean; +} +export interface EnableEbsEncryptionByDefaultRequest { /** - *

      A message about the status of the client certificate revocation list, if applicable.

      + *

      Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

      */ - Message?: string; + DryRun?: boolean; } -export interface ExportClientVpnClientCertificateRevocationListResult { +export interface EnableEbsEncryptionByDefaultResult { /** - *

      Information about the client certificate revocation list.

      + *

      The updated status of encryption by default.

      */ - CertificateRevocationList?: string; + EbsEncryptionByDefault?: boolean; +} +/** + *

      Request to create a launch template for a fast-launch enabled Windows AMI.

      + * + *

      Note - You can specify either the LaunchTemplateName or the + * LaunchTemplateId, but not both.

      + *
      + */ +export interface FastLaunchLaunchTemplateSpecificationRequest { /** - *

      The current state of the client certificate revocation list.

      + *

      The ID of the launch template to use for faster launching for a Windows AMI.

      */ - Status?: ClientCertificateRevocationListStatus; -} + LaunchTemplateId?: string; -export interface ExportClientVpnClientConfigurationRequest { /** - *

      The ID of the Client VPN endpoint.

      + *

      The name of the launch template to use for faster launching for a Windows AMI.

      */ - ClientVpnEndpointId: string | undefined; + LaunchTemplateName?: string; /** - *

      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

      + *

      The version of the launch template to use for faster launching for a Windows AMI.

      */ - DryRun?: boolean; + Version: string | undefined; } -export interface ExportClientVpnClientConfigurationResult { +/** + *

      Configuration settings for creating and managing pre-provisioned snapshots for a fast-launch enabled Windows AMI.

      + */ +export interface FastLaunchSnapshotConfigurationRequest { /** - *

      The contents of the Client VPN endpoint configuration file.

      + *

      The number of pre-provisioned snapshots to keep on hand for a fast-launch enabled Windows AMI.

      */ - ClientConfiguration?: string; + TargetResourceCount?: number; } -/** - *

      Describes the destination for an export image task.

      - */ -export interface ExportTaskS3LocationRequest { +export interface EnableFastLaunchRequest { /** - *

      The destination Amazon S3 bucket.

      + *

      The ID of the image for which you’re enabling faster launching.

      */ - S3Bucket: string | undefined; + ImageId: string | undefined; /** - *

      The prefix (logical hierarchy) in the bucket.

      + *

      The type of resource to use for pre-provisioning the Windows AMI for faster launching. + * Supported values include: snapshot, which is the default value.

      */ - S3Prefix?: string; -} + ResourceType?: string; -export interface ExportImageRequest { /** - *

      Token to enable idempotency for export image requests.

      + *

      Configuration settings for creating and managing the snapshots that are used for + * pre-provisioning the Windows AMI for faster launching. The associated ResourceType + * must be snapshot.

      */ - ClientToken?: string; + SnapshotConfiguration?: FastLaunchSnapshotConfigurationRequest; /** - *

      A description of the image being exported. The maximum length is 255 characters.

      + *

      The launch template to use when launching Windows instances from pre-provisioned + * snapshots. Launch template parameters can include either the name or ID of the launch + * template, but not both.

      */ - Description?: string; + LaunchTemplate?: FastLaunchLaunchTemplateSpecificationRequest; /** - *

      The disk image format.

      + *

      The maximum number of parallel instances to launch for creating resources. Value must be 6 or greater.

      */ - DiskImageFormat: DiskImageFormat | string | undefined; + MaxParallelLaunches?: number; /** *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      + * and provides an error response. If you have the required permissions, the error response is + * DryRunOperation. Otherwise, it is UnauthorizedOperation.

      */ DryRun?: boolean; +} +export interface EnableFastLaunchResult { /** - *

      The ID of the image.

      + *

      The image ID that identifies the Windows AMI for which faster launching was enabled.

      */ - ImageId: string | undefined; + ImageId?: string; /** - *

      The Amazon S3 bucket for the destination image. The destination bucket must exist.

      + *

      The type of resource that was defined for pre-provisioning the Windows AMI for faster launching.

      */ - S3ExportLocation: ExportTaskS3LocationRequest | undefined; + ResourceType?: FastLaunchResourceType | string; /** - *

      The name of the role that grants VM Import/Export permission to export images to your Amazon - * S3 bucket. If this parameter is not specified, the default role is named 'vmimport'.

      + *

      The configuration settings that were defined for creating and managing the pre-provisioned snapshots + * for faster launching of the Windows AMI. This property is returned when the associated + * resourceType is snapshot.

      */ - RoleName?: string; + SnapshotConfiguration?: FastLaunchSnapshotConfigurationResponse; /** - *

      The tags to apply to the export image task during creation.

      + *

      The launch template that is used when launching Windows instances from pre-provisioned snapshots.

      */ - TagSpecifications?: TagSpecification[]; -} + LaunchTemplate?: FastLaunchLaunchTemplateSpecificationResponse; -export interface ExportImageResult { /** - *

      A description of the image being exported.

      + *

      The maximum number of parallel instances to launch for creating resources.

      */ - Description?: string; + MaxParallelLaunches?: number; /** - *

      The disk image format for the exported image.

      + *

      The owner ID for the Windows AMI for which faster launching was enabled.

      */ - DiskImageFormat?: DiskImageFormat | string; + OwnerId?: string; /** - *

      The ID of the export image task.

      + *

      The current state of faster launching for the specified Windows AMI.

      */ - ExportImageTaskId?: string; + State?: FastLaunchStateCode | string; /** - *

      The ID of the image.

      + *

      The reason that the state changed for faster launching for the Windows AMI.

      */ - ImageId?: string; + StateTransitionReason?: string; /** - *

      The name of the role that grants VM Import/Export permission to export images to your Amazon - * S3 bucket.

      + *

      The time that the state changed for faster launching for the Windows AMI.

      */ - RoleName?: string; + StateTransitionTime?: Date; +} +export interface EnableFastSnapshotRestoresRequest { /** - *

      The percent complete of the export image task.

      + *

      One or more Availability Zones. For example, us-east-2a.

      */ - Progress?: string; + AvailabilityZones: string[] | undefined; /** - *

      Information about the destination Amazon S3 bucket.

      + *

      The IDs of one or more snapshots. For example, snap-1234567890abcdef0. You can specify + * a snapshot that was shared with you from another Amazon Web Services account.

      */ - S3ExportLocation?: ExportTaskS3Location; + SourceSnapshotIds: string[] | undefined; /** - *

      The status of the export image task. The possible values are active, completed, - * deleting, and deleted.

      + *

      Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

      */ - Status?: string; + DryRun?: boolean; +} +/** + *

      Describes fast snapshot restores that were successfully enabled.

      + */ +export interface EnableFastSnapshotRestoreSuccessItem { /** - *

      The status message for the export image task.

      + *

      The ID of the snapshot.

      */ - StatusMessage?: string; + SnapshotId?: string; /** - *

      Any tags assigned to the export image task.

      + *

      The Availability Zone.

      */ - Tags?: Tag[]; -} + AvailabilityZone?: string; -export interface ExportTransitGatewayRoutesRequest { /** - *

      The ID of the route table.

      + *

      The state of fast snapshot restores.

      */ - TransitGatewayRouteTableId: string | undefined; + State?: FastSnapshotRestoreStateCode | string; /** - *

      One or more filters. The possible values are:

      + *

      The reason for the state transition. The possible values are as follows:

      *
        *
      • *

        - * attachment.transit-gateway-attachment-id - The id of the transit gateway attachment.

        - *
      • - *
      • - *

        - * attachment.resource-id - The resource id of the transit gateway attachment.

        - *
      • - *
      • - *

        - * route-search.exact-match - The exact match of the specified filter.

        - *
      • - *
      • - *

        - * route-search.longest-prefix-match - The longest prefix that matches the route.

        - *
      • - *
      • - *

        - * route-search.subnet-of-match - The routes with a subnet that match the specified CIDR filter.

        - *
      • - *
      • - *

        - * route-search.supernet-of-match - The routes with a CIDR that encompass the CIDR filter. For example, if you have 10.0.1.0/29 and 10.0.1.0/31 routes in your route table and you specify supernet-of-match as 10.0.1.0/30, then the result returns 10.0.1.0/29.

        - *
      • - *
      • - *

        - * state - The state of the route (active | blackhole).

        - *
      • - *
      • - *

        - * transit-gateway-route-destination-cidr-block - The CIDR range.

        + * Client.UserInitiated - The state successfully transitioned to enabling or + * disabling.

        *
      • *
      • *

        - * type - The type of route (propagated | - * static).

        + * Client.UserInitiated - Lifecycle state transition - The state successfully transitioned + * to optimizing, enabled, or disabled.

        *
      • *
      */ - Filters?: Filter[]; - - /** - *

      The name of the S3 bucket.

      - */ - S3Bucket: string | undefined; - - /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      - */ - DryRun?: boolean; -} - -export interface ExportTransitGatewayRoutesResult { - /** - *

      The URL of the exported file in Amazon S3. For example, - * s3://bucket_name/VPCTransitGateway/TransitGatewayRouteTables/file_name.

      - */ - S3Location?: string; -} + StateTransitionReason?: string; -export interface GetAssociatedEnclaveCertificateIamRolesRequest { /** - *

      The ARN of the ACM certificate for which to view the associated IAM roles, encryption keys, and Amazon - * S3 object information.

      + *

      The ID of the Amazon Web Services account that enabled fast snapshot restores on the snapshot.

      */ - CertificateArn?: string; + OwnerId?: string; /** - *

      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

      + *

      The Amazon Web Services owner alias that enabled fast snapshot restores on the snapshot. This is intended for future use.

      */ - DryRun?: boolean; -} + OwnerAlias?: string; -/** - *

      Information about the associated IAM roles.

      - */ -export interface AssociatedRole { /** - *

      The ARN of the associated IAM role.

      + *

      The time at which fast snapshot restores entered the enabling state.

      */ - AssociatedRoleArn?: string; + EnablingTime?: Date; /** - *

      The name of the Amazon S3 bucket in which the Amazon S3 object is stored.

      + *

      The time at which fast snapshot restores entered the optimizing state.

      */ - CertificateS3BucketName?: string; + OptimizingTime?: Date; /** - *

      The key of the Amazon S3 object ey where the certificate, certificate chain, and encrypted private key bundle - * is stored. The object key is formated as follows: role_arn/certificate_arn. - *

      + *

      The time at which fast snapshot restores entered the enabled state.

      */ - CertificateS3ObjectKey?: string; + EnabledTime?: Date; /** - *

      The ID of the KMS customer master key (CMK) used to encrypt the private key.

      + *

      The time at which fast snapshot restores entered the disabling state.

      */ - EncryptionKmsKeyId?: string; -} + DisablingTime?: Date; -export interface GetAssociatedEnclaveCertificateIamRolesResult { /** - *

      Information about the associated IAM roles.

      + *

      The time at which fast snapshot restores entered the disabled state.

      */ - AssociatedRoles?: AssociatedRole[]; + DisabledTime?: Date; } -export interface GetAssociatedIpv6PoolCidrsRequest { +/** + *

      Describes an error that occurred when enabling fast snapshot restores.

      + */ +export interface EnableFastSnapshotRestoreStateError { /** - *

      The ID of the IPv6 address pool.

      + *

      The error code.

      */ - PoolId: string | undefined; + Code?: string; /** - *

      The token for the next page of results.

      + *

      The error message.

      */ - NextToken?: string; + Message?: string; +} +/** + *

      Contains information about an error that occurred when enabling fast snapshot restores.

      + */ +export interface EnableFastSnapshotRestoreStateErrorItem { /** - *

      The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

      + *

      The Availability Zone.

      */ - MaxResults?: number; + AvailabilityZone?: string; /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      + *

      The error.

      */ - DryRun?: boolean; + Error?: EnableFastSnapshotRestoreStateError; } /** - *

      Describes an IPv6 CIDR block association.

      + *

      Contains information about the errors that occurred when enabling fast snapshot restores.

      */ -export interface Ipv6CidrAssociation { +export interface EnableFastSnapshotRestoreErrorItem { /** - *

      The IPv6 CIDR block.

      + *

      The ID of the snapshot.

      */ - Ipv6Cidr?: string; + SnapshotId?: string; /** - *

      The resource that's associated with the IPv6 CIDR block.

      + *

      The errors.

      */ - AssociatedResource?: string; + FastSnapshotRestoreStateErrors?: EnableFastSnapshotRestoreStateErrorItem[]; } -export interface GetAssociatedIpv6PoolCidrsResult { +export interface EnableFastSnapshotRestoresResult { /** - *

      Information about the IPv6 CIDR block associations.

      + *

      Information about the snapshots for which fast snapshot restores were successfully enabled.

      */ - Ipv6CidrAssociations?: Ipv6CidrAssociation[]; + Successful?: EnableFastSnapshotRestoreSuccessItem[]; /** - *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      + *

      Information about the snapshots for which fast snapshot restores could not be enabled.

      */ - NextToken?: string; + Unsuccessful?: EnableFastSnapshotRestoreErrorItem[]; } -/** - *

      A query used for retrieving network health data.

      - */ -export interface DataQuery { +export interface EnableImageDeprecationRequest { /** - *

      A user-defined ID associated with a data query that's returned in the dataResponse identifying the query. For example, if you set the Id to MyQuery01in the query, the dataResponse identifies the query as MyQuery01.

      + *

      The ID of the AMI.

      */ - Id?: string; + ImageId: string | undefined; /** - *

      The Region or Availability Zone that's the source for the data query. For example, us-east-1.

      + *

      The date and time to deprecate the AMI, in UTC, in the following format: + * YYYY-MM-DDTHH:MM:SSZ. + * If you specify a value for seconds, Amazon EC2 rounds the seconds to the + * nearest minute.

      + *

      You can’t specify a date in the past. The upper limit for DeprecateAt is 10 + * years from now, except for public AMIs, where the upper limit is 2 years from the creation date.

      */ - Source?: string; + DeprecateAt: Date | undefined; /** - *

      The Region or Availability Zone that's the target for the data query. For example, eu-north-1.

      + *

      Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is + * DryRunOperation. Otherwise, it is UnauthorizedOperation.

      */ - Destination?: string; + DryRun?: boolean; +} +export interface EnableImageDeprecationResult { /** - *

      The metric, aggregation-latency, indicating that network latency is aggregated for the query. This is the only supported metric.

      + *

      Returns true if the request succeeds; otherwise, it returns an error.

      */ - Metric?: MetricType | string; + Return?: boolean; +} +export interface EnableIpamOrganizationAdminAccountRequest { /** - *

      The metric data aggregation period, p50, between the specified startDate and endDate. For example, a metric of five_minutes is the median of all the data points gathered within those five minutes. p50 is the only supported metric.

      + *

      A check for whether you have the required permissions for the action without actually making the request + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

      */ - Statistic?: StatisticType | string; + DryRun?: boolean; /** - *

      The aggregation period used for the data query.

      + *

      The Organizations member account ID that you want to enable as the IPAM account.

      */ - Period?: PeriodType | string; + DelegatedAdminAccountId: string | undefined; } -export interface GetAwsNetworkPerformanceDataRequest { +export interface EnableIpamOrganizationAdminAccountResult { /** - *

      A list of network performance data queries.

      + *

      The result of enabling the IPAM account.

      */ - DataQueries?: DataQuery[]; + Success?: boolean; +} +export interface EnableReachabilityAnalyzerOrganizationSharingRequest { /** - *

      The starting time for the performance data request. The starting time must be formatted - * as yyyy-mm-ddThh:mm:ss. For example, 2022-06-10T12:00:00.000Z.

      + *

      Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

      */ - StartTime?: Date; + DryRun?: boolean; +} +export interface EnableReachabilityAnalyzerOrganizationSharingResult { /** - *

      The ending time for the performance data request. The end time must be formatted as yyyy-mm-ddThh:mm:ss. For example, 2022-06-12T12:00:00.000Z.

      + *

      Returns true if the request succeeds; otherwise, returns an error.

      */ - EndTime?: Date; + ReturnValue?: boolean; +} +export interface EnableSerialConsoleAccessRequest { /** - *

      The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

      + *

      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

      */ - MaxResults?: number; + DryRun?: boolean; +} +export interface EnableSerialConsoleAccessResult { /** - *

      The token for the next page of results.

      + *

      If true, access to the EC2 serial console of all instances is enabled for + * your account. If false, access to the EC2 serial console of all instances + * is disabled for your account.

      */ - NextToken?: string; + SerialConsoleAccessEnabled?: boolean; +} + +export interface EnableTransitGatewayRouteTablePropagationRequest { + /** + *

      The ID of the propagation route table.

      + */ + TransitGatewayRouteTableId: string | undefined; + + /** + *

      The ID of the attachment.

      + */ + TransitGatewayAttachmentId?: string; /** *

      Checks whether you have the required permissions for the action, without actually making the request, @@ -2647,98 +2646,100 @@ export interface GetAwsNetworkPerformanceDataRequest { * Otherwise, it is UnauthorizedOperation.

      */ DryRun?: boolean; -} - -/** - *

      Indicates whether the network was healthy or degraded at a particular point. The value is aggregated from the startDate to the endDate. Currently only five_minutes is supported.

      - */ -export interface MetricPoint { - /** - *

      The start date for the metric point. The starting date for the metric point. The starting time must be formatted - * as yyyy-mm-ddThh:mm:ss. For example, 2022-06-10T12:00:00.000Z.

      - */ - StartDate?: Date; /** - *

      The end date for the metric point. The ending time must be formatted as yyyy-mm-ddThh:mm:ss. For example, 2022-06-12T12:00:00.000Z.

      + *

      The ID of the transit gateway route table announcement.

      */ - EndDate?: Date; + TransitGatewayRouteTableAnnouncementId?: string; +} - Value?: number; +export interface EnableTransitGatewayRouteTablePropagationResult { /** - *

      The status of the metric point.

      + *

      Information about route propagation.

      */ - Status?: string; + Propagation?: TransitGatewayPropagation; } /** - *

      The response to a DataQuery.

      + *

      Contains the parameters for EnableVgwRoutePropagation.

      */ -export interface DataResponse { +export interface EnableVgwRoutePropagationRequest { /** - *

      The ID passed in the DataQuery.

      + *

      The ID of the virtual private gateway that is attached to a VPC. The virtual private + * gateway must be attached to the same VPC that the routing tables are associated with. + *

      */ - Id?: string; + GatewayId: string | undefined; /** - *

      The Region or Availability Zone that's the source for the data query. For example, us-east-1.

      + *

      The ID of the route table. The routing table must be associated with the same VPC that + * the virtual private gateway is attached to.

      */ - Source?: string; + RouteTableId: string | undefined; /** - *

      The Region or Availability Zone that's the destination for the data query. For example, eu-west-1.

      + *

      Checks whether you have the required permissions for the action, without actually + * making the request, and provides an error response. If you have the required + * permissions, the error response is DryRunOperation. Otherwise, it is + * UnauthorizedOperation.

      */ - Destination?: string; + DryRun?: boolean; +} +export interface EnableVolumeIORequest { /** - *

      The metric used for the network performance request. Only aggregate-latency is supported, which shows network latency during a specified period.

      + *

      Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

      */ - Metric?: MetricType | string; + DryRun?: boolean; /** - *

      The statistic used for the network performance request.

      + *

      The ID of the volume.

      */ - Statistic?: StatisticType | string; + VolumeId: string | undefined; +} +export interface EnableVpcClassicLinkRequest { /** - *

      The period used for the network performance request.

      + *

      Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

      */ - Period?: PeriodType | string; + DryRun?: boolean; /** - *

      A list of MetricPoint objects.

      + *

      The ID of the VPC.

      */ - MetricPoints?: MetricPoint[]; + VpcId: string | undefined; } -export interface GetAwsNetworkPerformanceDataResult { - /** - *

      The list of data responses.

      - */ - DataResponses?: DataResponse[]; - +export interface EnableVpcClassicLinkResult { /** - *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      + *

      Returns true if the request succeeds; otherwise, it returns an error.

      */ - NextToken?: string; + Return?: boolean; } -export interface GetCapacityReservationUsageRequest { +export interface EnableVpcClassicLinkDnsSupportRequest { /** - *

      The ID of the Capacity Reservation.

      + *

      The ID of the VPC.

      */ - CapacityReservationId: string | undefined; + VpcId?: string; +} +export interface EnableVpcClassicLinkDnsSupportResult { /** - *

      The token to use to retrieve the next page of results.

      + *

      Returns true if the request succeeds; otherwise, it returns an error.

      */ - NextToken?: string; + Return?: boolean; +} +export interface ExportClientVpnClientCertificateRevocationListRequest { /** - *

      The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned nextToken value. This value can be between 5 and 500. If maxResults is given a larger value than 500, you receive an error.

      - *

      Valid range: Minimum value of 1. Maximum value of 1000.

      + *

      The ID of the Client VPN endpoint.

      */ - MaxResults?: number; + ClientVpnEndpointId: string | undefined; /** *

      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

      @@ -2746,124 +2747,87 @@ export interface GetCapacityReservationUsageRequest { DryRun?: boolean; } +export enum ClientCertificateRevocationListStatusCode { + active = "active", + pending = "pending", +} + /** - *

      Information about the Capacity Reservation usage.

      + *

      Describes the state of a client certificate revocation list.

      */ -export interface InstanceUsage { +export interface ClientCertificateRevocationListStatus { /** - *

      The ID of the Amazon Web Services account that is making use of the Capacity Reservation.

      + *

      The state of the client certificate revocation list.

      */ - AccountId?: string; + Code?: ClientCertificateRevocationListStatusCode | string; /** - *

      The number of instances the Amazon Web Services account currently has in the Capacity Reservation.

      + *

      A message about the status of the client certificate revocation list, if applicable.

      */ - UsedInstanceCount?: number; + Message?: string; } -export interface GetCapacityReservationUsageResult { +export interface ExportClientVpnClientCertificateRevocationListResult { /** - *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      + *

      Information about the client certificate revocation list.

      */ - NextToken?: string; + CertificateRevocationList?: string; /** - *

      The ID of the Capacity Reservation.

      + *

      The current state of the client certificate revocation list.

      */ - CapacityReservationId?: string; + Status?: ClientCertificateRevocationListStatus; +} +export interface ExportClientVpnClientConfigurationRequest { /** - *

      The type of instance for which the Capacity Reservation reserves capacity.

      + *

      The ID of the Client VPN endpoint.

      */ - InstanceType?: string; + ClientVpnEndpointId: string | undefined; /** - *

      The number of instances for which the Capacity Reservation reserves capacity.

      + *

      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

      */ - TotalInstanceCount?: number; + DryRun?: boolean; +} +export interface ExportClientVpnClientConfigurationResult { /** - *

      The remaining capacity. Indicates the number of instances that can be launched in the Capacity Reservation.

      + *

      The contents of the Client VPN endpoint configuration file.

      */ - AvailableInstanceCount?: number; + ClientConfiguration?: string; +} +/** + *

      Describes the destination for an export image task.

      + */ +export interface ExportTaskS3LocationRequest { /** - *

      The current state of the Capacity Reservation. A Capacity Reservation can be in one of the following states:

      - *
        - *
      • - *

        - * active - The Capacity Reservation is active and the capacity is available for your use.

        - *
      • - *
      • - *

        - * expired - The Capacity Reservation expired automatically at the date and time specified - * in your request. The reserved capacity is no longer available for your use.

        - *
      • - *
      • - *

        - * cancelled - The Capacity Reservation was cancelled. The reserved capacity is no - * longer available for your use.

        - *
      • - *
      • - *

        - * pending - The Capacity Reservation request was successful but the capacity - * provisioning is still pending.

        - *
      • - *
      • - *

        - * failed - The Capacity Reservation request has failed. A request might fail - * due to invalid request parameters, capacity constraints, or instance limit constraints. - * Failed requests are retained for 60 minutes.

        - *
      • - *
      + *

      The destination Amazon S3 bucket.

      */ - State?: CapacityReservationState | string; + S3Bucket: string | undefined; /** - *

      Information about the Capacity Reservation usage.

      + *

      The prefix (logical hierarchy) in the bucket.

      */ - InstanceUsages?: InstanceUsage[]; + S3Prefix?: string; } -export interface GetCoipPoolUsageRequest { - /** - *

      The ID of the address pool.

      - */ - PoolId: string | undefined; - +export interface ExportImageRequest { /** - *

      One or more filters.

      - *
        - *
      • - *

        - * coip-address-usage.allocation-id - The allocation ID of the address.

        - *
      • - *
      • - *

        - * coip-address-usage.aws-account-id - The ID of the Amazon Web Services account that is using the customer-owned IP address.

        - *
      • - *
      • - *

        - * coip-address-usage.aws-service - The Amazon Web Services service that is using the customer-owned IP address.

        - *
      • - *
      • - *

        - * coip-address-usage.co-ip - The customer-owned IP address.

        - *
      • - *
      + *

      Token to enable idempotency for export image requests.

      */ - Filters?: Filter[]; + ClientToken?: string; /** - *

      The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

      + *

      A description of the image being exported. The maximum length is 255 characters.

      */ - MaxResults?: number; + Description?: string; /** - *

      The token for the next page of results.

      + *

      The disk image format.

      */ - NextToken?: string; + DiskImageFormat: DiskImageFormat | string | undefined; /** *

      Checks whether you have the required permissions for the action, without actually making the request, @@ -2871,182 +2835,218 @@ export interface GetCoipPoolUsageRequest { * Otherwise, it is UnauthorizedOperation.

      */ DryRun?: boolean; -} -/** - *

      Describes address usage for a customer-owned address pool.

      - */ -export interface CoipAddressUsage { /** - *

      The allocation ID of the address.

      + *

      The ID of the image.

      */ - AllocationId?: string; + ImageId: string | undefined; /** - *

      The Amazon Web Services account ID.

      + *

      The Amazon S3 bucket for the destination image. The destination bucket must exist.

      */ - AwsAccountId?: string; + S3ExportLocation: ExportTaskS3LocationRequest | undefined; /** - *

      The Amazon Web Services service.

      + *

      The name of the role that grants VM Import/Export permission to export images to your Amazon + * S3 bucket. If this parameter is not specified, the default role is named 'vmimport'.

      */ - AwsService?: string; + RoleName?: string; /** - *

      The customer-owned IP address.

      + *

      The tags to apply to the export image task during creation.

      */ - CoIp?: string; + TagSpecifications?: TagSpecification[]; } -export interface GetCoipPoolUsageResult { +export interface ExportImageResult { /** - *

      The ID of the customer-owned address pool.

      + *

      A description of the image being exported.

      */ - CoipPoolId?: string; + Description?: string; /** - *

      Information about the address usage.

      + *

      The disk image format for the exported image.

      */ - CoipAddressUsages?: CoipAddressUsage[]; + DiskImageFormat?: DiskImageFormat | string; /** - *

      The ID of the local gateway route table.

      + *

      The ID of the export image task.

      */ - LocalGatewayRouteTableId?: string; -} + ExportImageTaskId?: string; -export interface GetConsoleOutputRequest { /** - *

      The ID of the instance.

      + *

      The ID of the image.

      */ - InstanceId: string | undefined; + ImageId?: string; /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      + *

      The name of the role that grants VM Import/Export permission to export images to your Amazon + * S3 bucket.

      */ - DryRun?: boolean; + RoleName?: string; /** - *

      When enabled, retrieves the latest console output for the instance.

      - *

      Default: disabled (false)

      + *

      The percent complete of the export image task.

      */ - Latest?: boolean; + Progress?: string; + + /** + *

      Information about the destination Amazon S3 bucket.

      + */ + S3ExportLocation?: ExportTaskS3Location; + + /** + *

      The status of the export image task. The possible values are active, completed, + * deleting, and deleted.

      + */ + Status?: string; + + /** + *

      The status message for the export image task.

      + */ + StatusMessage?: string; + + /** + *

      Any tags assigned to the export image task.

      + */ + Tags?: Tag[]; } -export interface GetConsoleOutputResult { +export interface ExportTransitGatewayRoutesRequest { /** - *

      The ID of the instance.

      + *

      The ID of the route table.

      */ - InstanceId?: string; + TransitGatewayRouteTableId: string | undefined; /** - *

      The console output, base64-encoded. If you are using a command line tool, the tool - * decodes the output for you.

      + *

      One or more filters. The possible values are:

      + *
        + *
      • + *

        + * attachment.transit-gateway-attachment-id - The id of the transit gateway attachment.

        + *
      • + *
      • + *

        + * attachment.resource-id - The resource id of the transit gateway attachment.

        + *
      • + *
      • + *

        + * route-search.exact-match - The exact match of the specified filter.

        + *
      • + *
      • + *

        + * route-search.longest-prefix-match - The longest prefix that matches the route.

        + *
      • + *
      • + *

        + * route-search.subnet-of-match - The routes with a subnet that match the specified CIDR filter.

        + *
      • + *
      • + *

        + * route-search.supernet-of-match - The routes with a CIDR that encompass the CIDR filter. For example, if you have 10.0.1.0/29 and 10.0.1.0/31 routes in your route table and you specify supernet-of-match as 10.0.1.0/30, then the result returns 10.0.1.0/29.

        + *
      • + *
      • + *

        + * state - The state of the route (active | blackhole).

        + *
      • + *
      • + *

        + * transit-gateway-route-destination-cidr-block - The CIDR range.

        + *
      • + *
      • + *

        + * type - The type of route (propagated | + * static).

        + *
      • + *
      */ - Output?: string; + Filters?: Filter[]; /** - *

      The time at which the output was last updated.

      + *

      The name of the S3 bucket.

      */ - Timestamp?: Date; -} + S3Bucket: string | undefined; -export interface GetConsoleScreenshotRequest { /** *

      Checks whether you have the required permissions for the action, without actually making the request, * and provides an error response. If you have the required permissions, the error response is DryRunOperation. * Otherwise, it is UnauthorizedOperation.

      */ DryRun?: boolean; +} +export interface ExportTransitGatewayRoutesResult { /** - *

      The ID of the instance.

      - */ - InstanceId: string | undefined; - - /** - *

      When set to true, acts as keystroke input and wakes up an instance that's - * in standby or "sleep" mode.

      + *

      The URL of the exported file in Amazon S3. For example, + * s3://bucket_name/VPCTransitGateway/TransitGatewayRouteTables/file_name.

      */ - WakeUp?: boolean; + S3Location?: string; } -export interface GetConsoleScreenshotResult { +export interface GetAssociatedEnclaveCertificateIamRolesRequest { /** - *

      The data that comprises the image.

      + *

      The ARN of the ACM certificate for which to view the associated IAM roles, encryption keys, and Amazon + * S3 object information.

      */ - ImageData?: string; + CertificateArn?: string; /** - *

      The ID of the instance.

      + *

      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

      */ - InstanceId?: string; -} - -export enum UnlimitedSupportedInstanceFamily { - t2 = "t2", - t3 = "t3", - t3a = "t3a", - t4g = "t4g", + DryRun?: boolean; } -export interface GetDefaultCreditSpecificationRequest { +/** + *

      Information about the associated IAM roles.

      + */ +export interface AssociatedRole { /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      + *

      The ARN of the associated IAM role.

      */ - DryRun?: boolean; + AssociatedRoleArn?: string; /** - *

      The instance family.

      + *

      The name of the Amazon S3 bucket in which the Amazon S3 object is stored.

      */ - InstanceFamily: UnlimitedSupportedInstanceFamily | string | undefined; -} + CertificateS3BucketName?: string; -/** - *

      Describes the default credit option for CPU usage of a burstable performance instance - * family.

      - */ -export interface InstanceFamilyCreditSpecification { /** - *

      The instance family.

      + *

      The key of the Amazon S3 object ey where the certificate, certificate chain, and encrypted private key bundle + * is stored. The object key is formated as follows: role_arn/certificate_arn. + *

      */ - InstanceFamily?: UnlimitedSupportedInstanceFamily | string; + CertificateS3ObjectKey?: string; /** - *

      The default credit option for CPU usage of the instance family. Valid values are - * standard and unlimited.

      + *

      The ID of the KMS customer master key (CMK) used to encrypt the private key.

      */ - CpuCredits?: string; + EncryptionKmsKeyId?: string; } -export interface GetDefaultCreditSpecificationResult { +export interface GetAssociatedEnclaveCertificateIamRolesResult { /** - *

      The default credit option for CPU usage of the instance family.

      + *

      Information about the associated IAM roles.

      */ - InstanceFamilyCreditSpecification?: InstanceFamilyCreditSpecification; + AssociatedRoles?: AssociatedRole[]; } -export interface GetEbsDefaultKmsKeyIdRequest { +export interface GetAssociatedIpv6PoolCidrsRequest { /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      + *

      The ID of the IPv6 address pool.

      */ - DryRun?: boolean; -} + PoolId: string | undefined; -export interface GetEbsDefaultKmsKeyIdResult { /** - *

      The Amazon Resource Name (ARN) of the default KMS key for encryption by default.

      + *

      The token for the next page of results.

      */ - KmsKeyId?: string; -} + NextToken?: string; + + /** + *

      The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

      + */ + MaxResults?: number; -export interface GetEbsEncryptionByDefaultRequest { /** *

      Checks whether you have the required permissions for the action, without actually making the request, * and provides an error response. If you have the required permissions, the error response is DryRunOperation. @@ -3055,283 +3055,319 @@ export interface GetEbsEncryptionByDefaultRequest { DryRun?: boolean; } -export interface GetEbsEncryptionByDefaultResult { - /** - *

      Indicates whether encryption by default is enabled.

      - */ - EbsEncryptionByDefault?: boolean; -} - -export enum PartitionLoadFrequency { - DAILY = "daily", - MONTHLY = "monthly", - NONE = "none", - WEEKLY = "weekly", -} - /** - *

      Describes integration options for Amazon Athena.

      + *

      Describes an IPv6 CIDR block association.

      */ -export interface AthenaIntegration { +export interface Ipv6CidrAssociation { /** - *

      The location in Amazon S3 to store the generated CloudFormation template.

      + *

      The IPv6 CIDR block.

      */ - IntegrationResultS3DestinationArn: string | undefined; + Ipv6Cidr?: string; /** - *

      The schedule for adding new partitions to the table.

      + *

      The resource that's associated with the IPv6 CIDR block.

      */ - PartitionLoadFrequency: PartitionLoadFrequency | string | undefined; + AssociatedResource?: string; +} +export interface GetAssociatedIpv6PoolCidrsResult { /** - *

      The start date for the partition.

      + *

      Information about the IPv6 CIDR block associations.

      */ - PartitionStartDate?: Date; + Ipv6CidrAssociations?: Ipv6CidrAssociation[]; /** - *

      The end date for the partition.

      + *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      */ - PartitionEndDate?: Date; + NextToken?: string; } /** - *

      Describes service integrations with VPC Flow logs.

      + *

      A query used for retrieving network health data.

      */ -export interface IntegrateServices { +export interface DataQuery { /** - *

      Information about the integration with Amazon Athena.

      + *

      A user-defined ID associated with a data query that's returned in the dataResponse identifying the query. For example, if you set the Id to MyQuery01in the query, the dataResponse identifies the query as MyQuery01.

      */ - AthenaIntegrations?: AthenaIntegration[]; -} + Id?: string; -export interface GetFlowLogsIntegrationTemplateRequest { /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      + *

      The Region or Availability Zone that's the source for the data query. For example, us-east-1.

      */ - DryRun?: boolean; + Source?: string; /** - *

      The ID of the flow log.

      + *

      The Region or Availability Zone that's the target for the data query. For example, eu-north-1.

      */ - FlowLogId: string | undefined; + Destination?: string; /** - *

      To store the CloudFormation template in Amazon S3, specify the location in Amazon S3.

      + *

      The metric, aggregation-latency, indicating that network latency is aggregated for the query. This is the only supported metric.

      */ - ConfigDeliveryS3DestinationArn: string | undefined; + Metric?: MetricType | string; /** - *

      Information about the service integration.

      + *

      The metric data aggregation period, p50, between the specified startDate and endDate. For example, a metric of five_minutes is the median of all the data points gathered within those five minutes. p50 is the only supported metric.

      */ - IntegrateServices: IntegrateServices | undefined; -} + Statistic?: StatisticType | string; -export interface GetFlowLogsIntegrationTemplateResult { /** - *

      The generated CloudFormation template.

      + *

      The aggregation period used for the data query.

      */ - Result?: string; + Period?: PeriodType | string; } -export interface GetGroupsForCapacityReservationRequest { +export interface GetAwsNetworkPerformanceDataRequest { /** - *

      The ID of the Capacity Reservation.

      + *

      A list of network performance data queries.

      */ - CapacityReservationId: string | undefined; + DataQueries?: DataQuery[]; /** - *

      The token to use to retrieve the next page of results.

      + *

      The starting time for the performance data request. The starting time must be formatted + * as yyyy-mm-ddThh:mm:ss. For example, 2022-06-10T12:00:00.000Z.

      */ - NextToken?: string; + StartTime?: Date; /** - *

      The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned nextToken value. This value can be between 5 and 500. If maxResults is given a larger value than 500, you receive an error.

      + *

      The ending time for the performance data request. The end time must be formatted as yyyy-mm-ddThh:mm:ss. For example, 2022-06-12T12:00:00.000Z.

      + */ + EndTime?: Date; + + /** + *

      The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

      */ MaxResults?: number; /** - *

      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

      + *

      The token for the next page of results.

      + */ + NextToken?: string; + + /** + *

      Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

      */ DryRun?: boolean; } /** - *

      Describes a resource group to which a Capacity Reservation has been added.

      + *

      Indicates whether the network was healthy or degraded at a particular point. The value is aggregated from the startDate to the endDate. Currently only five_minutes is supported.

      */ -export interface CapacityReservationGroup { +export interface MetricPoint { /** - *

      The ARN of the resource group.

      + *

      The start date for the metric point. The starting date for the metric point. The starting time must be formatted + * as yyyy-mm-ddThh:mm:ss. For example, 2022-06-10T12:00:00.000Z.

      */ - GroupArn?: string; + StartDate?: Date; /** - *

      The ID of the Amazon Web Services account that owns the resource group.

      + *

      The end date for the metric point. The ending time must be formatted as yyyy-mm-ddThh:mm:ss. For example, 2022-06-12T12:00:00.000Z.

      */ - OwnerId?: string; + EndDate?: Date; + + Value?: number; + /** + *

      The status of the metric point.

      + */ + Status?: string; } -export interface GetGroupsForCapacityReservationResult { +/** + *

      The response to a DataQuery.

      + */ +export interface DataResponse { /** - *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      + *

      The ID passed in the DataQuery.

      */ - NextToken?: string; + Id?: string; /** - *

      Information about the resource groups to which the Capacity Reservation has been added.

      + *

      The Region or Availability Zone that's the source for the data query. For example, us-east-1.

      */ - CapacityReservationGroups?: CapacityReservationGroup[]; -} + Source?: string; -export interface GetHostReservationPurchasePreviewRequest { /** - *

      The IDs of the Dedicated Hosts with which the reservation is associated.

      + *

      The Region or Availability Zone that's the destination for the data query. For example, eu-west-1.

      */ - HostIdSet: string[] | undefined; + Destination?: string; /** - *

      The offering ID of the reservation.

      + *

      The metric used for the network performance request. Only aggregate-latency is supported, which shows network latency during a specified period.

      */ - OfferingId: string | undefined; -} + Metric?: MetricType | string; -/** - *

      Describes the result of the purchase.

      - */ -export interface Purchase { /** - *

      The currency in which the UpfrontPrice and HourlyPrice - * amounts are specified. At this time, the only supported currency is - * USD.

      + *

      The statistic used for the network performance request.

      */ - CurrencyCode?: CurrencyCodeValues | string; + Statistic?: StatisticType | string; /** - *

      The duration of the reservation's term in seconds.

      + *

      The period used for the network performance request.

      */ - Duration?: number; + Period?: PeriodType | string; /** - *

      The IDs of the Dedicated Hosts associated with the reservation.

      + *

      A list of MetricPoint objects.

      */ - HostIdSet?: string[]; + MetricPoints?: MetricPoint[]; +} +export interface GetAwsNetworkPerformanceDataResult { /** - *

      The ID of the reservation.

      + *

      The list of data responses.

      */ - HostReservationId?: string; + DataResponses?: DataResponse[]; /** - *

      The hourly price of the reservation per hour.

      + *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      */ - HourlyPrice?: string; + NextToken?: string; +} +export interface GetCapacityReservationUsageRequest { /** - *

      The instance family on the Dedicated Host that the reservation can be associated - * with.

      + *

      The ID of the Capacity Reservation.

      */ - InstanceFamily?: string; + CapacityReservationId: string | undefined; /** - *

      The payment option for the reservation.

      + *

      The token to use to retrieve the next page of results.

      */ - PaymentOption?: PaymentOption | string; + NextToken?: string; /** - *

      The upfront price of the reservation.

      + *

      The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned nextToken value. This value can be between 5 and 500. If maxResults is given a larger value than 500, you receive an error.

      + *

      Valid range: Minimum value of 1. Maximum value of 1000.

      */ - UpfrontPrice?: string; -} + MaxResults?: number; -export interface GetHostReservationPurchasePreviewResult { /** - *

      The currency in which the totalUpfrontPrice and - * totalHourlyPrice amounts are specified. At this time, the only - * supported currency is USD.

      + *

      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

      */ - CurrencyCode?: CurrencyCodeValues | string; + DryRun?: boolean; +} +/** + *

      Information about the Capacity Reservation usage.

      + */ +export interface InstanceUsage { /** - *

      The purchase information of the Dedicated Host reservation and the Dedicated Hosts - * associated with it.

      + *

      The ID of the Amazon Web Services account that is making use of the Capacity Reservation.

      */ - Purchase?: Purchase[]; + AccountId?: string; /** - *

      The potential total hourly price of the reservation per hour.

      + *

      The number of instances the Amazon Web Services account currently has in the Capacity Reservation.

      */ - TotalHourlyPrice?: string; + UsedInstanceCount?: number; +} +export interface GetCapacityReservationUsageResult { /** - *

      The potential total upfront price. This is billed immediately.

      + *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      */ - TotalUpfrontPrice?: string; -} + NextToken?: string; -export interface GetInstanceTypesFromInstanceRequirementsRequest { /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      + *

      The ID of the Capacity Reservation.

      */ - DryRun?: boolean; + CapacityReservationId?: string; /** - *

      The processor architecture type.

      + *

      The type of instance for which the Capacity Reservation reserves capacity.

      */ - ArchitectureTypes: (ArchitectureType | string)[] | undefined; + InstanceType?: string; /** - *

      The virtualization type.

      + *

      The number of instances for which the Capacity Reservation reserves capacity.

      */ - VirtualizationTypes: (VirtualizationType | string)[] | undefined; + TotalInstanceCount?: number; /** - *

      The attributes required for the instance types.

      + *

      The remaining capacity. Indicates the number of instances that can be launched in the Capacity Reservation.

      */ - InstanceRequirements: InstanceRequirementsRequest | undefined; + AvailableInstanceCount?: number; /** - *

      The maximum number of results to return in a single call. Specify a value between 1 and - * 1000. The default value is 1000. To retrieve the remaining results, make another call with - * the returned NextToken value.

      + *

      The current state of the Capacity Reservation. A Capacity Reservation can be in one of the following states:

      + *
        + *
      • + *

        + * active - The Capacity Reservation is active and the capacity is available for your use.

        + *
      • + *
      • + *

        + * expired - The Capacity Reservation expired automatically at the date and time specified + * in your request. The reserved capacity is no longer available for your use.

        + *
      • + *
      • + *

        + * cancelled - The Capacity Reservation was cancelled. The reserved capacity is no + * longer available for your use.

        + *
      • + *
      • + *

        + * pending - The Capacity Reservation request was successful but the capacity + * provisioning is still pending.

        + *
      • + *
      • + *

        + * failed - The Capacity Reservation request has failed. A request might fail + * due to invalid request parameters, capacity constraints, or instance limit constraints. + * Failed requests are retained for 60 minutes.

        + *
      • + *
      */ - MaxResults?: number; + State?: CapacityReservationState | string; /** - *

      The token for the next set of results.

      + *

      Information about the Capacity Reservation usage.

      */ - NextToken?: string; + InstanceUsages?: InstanceUsage[]; } -/** - *

      The list of instance types with the specified instance attributes.

      - */ -export interface InstanceTypeInfoFromInstanceRequirements { +export interface GetCoipPoolUsageRequest { /** - *

      The matching instance type.

      + *

      The ID of the address pool.

      */ - InstanceType?: string; -} + PoolId: string | undefined; -export interface GetInstanceTypesFromInstanceRequirementsResult { /** - *

      The instance types with the specified instance attributes.

      + *

      One or more filters.

      + *
        + *
      • + *

        + * coip-address-usage.allocation-id - The allocation ID of the address.

        + *
      • + *
      • + *

        + * coip-address-usage.aws-account-id - The ID of the Amazon Web Services account that is using the customer-owned IP address.

        + *
      • + *
      • + *

        + * coip-address-usage.aws-service - The Amazon Web Services service that is using the customer-owned IP address.

        + *
      • + *
      • + *

        + * coip-address-usage.co-ip - The customer-owned IP address.

        + *
      • + *
      */ - InstanceTypes?: InstanceTypeInfoFromInstanceRequirements[]; + Filters?: Filter[]; /** - *

      The token for the next set of results.

      + *

      The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

      */ - NextToken?: string; -} + MaxResults?: number; -export interface GetInstanceUefiDataRequest { /** - *

      The ID of the instance from which to retrieve the UEFI data.

      + *

      The token for the next page of results.

      */ - InstanceId: string | undefined; + NextToken?: string; /** *

      Checks whether you have the required permissions for the action, without actually making the request, @@ -3341,1110 +3377,1158 @@ export interface GetInstanceUefiDataRequest { DryRun?: boolean; } -export interface GetInstanceUefiDataResult { +/** + *

      Describes address usage for a customer-owned address pool.

      + */ +export interface CoipAddressUsage { /** - *

      The ID of the instance from which to retrieve the UEFI data.

      + *

      The allocation ID of the address.

      */ - InstanceId?: string; + AllocationId?: string; /** - *

      Base64 representation of the non-volatile UEFI variable store.

      + *

      The Amazon Web Services account ID.

      */ - UefiData?: string; -} + AwsAccountId?: string; -export interface GetIpamAddressHistoryRequest { /** - *

      A check for whether you have the required permissions for the action without actually making the request - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      + *

      The Amazon Web Services service.

      */ - DryRun?: boolean; + AwsService?: string; /** - *

      The CIDR you want the history of. The CIDR can be an IPv4 or IPv6 IP address range. - * If you enter a /16 IPv4 CIDR, you will get records that match it exactly. You will not get records for any subnets within the /16 CIDR.

      + *

      The customer-owned IP address.

      */ - Cidr: string | undefined; + CoIp?: string; +} +export interface GetCoipPoolUsageResult { /** - *

      The ID of the IPAM scope that the CIDR is in.

      + *

      The ID of the customer-owned address pool.

      */ - IpamScopeId: string | undefined; + CoipPoolId?: string; /** - *

      The ID of the VPC you want your history records filtered by.

      + *

      Information about the address usage.

      */ - VpcId?: string; + CoipAddressUsages?: CoipAddressUsage[]; /** - *

      The start of the time period for which you are looking for history. If you omit this option, it will default to the value of EndTime.

      + *

      The ID of the local gateway route table.

      */ - StartTime?: Date; + LocalGatewayRouteTableId?: string; +} +export interface GetConsoleOutputRequest { /** - *

      The end of the time period for which you are looking for history. If you omit this option, it will default to the current time.

      + *

      The ID of the instance.

      */ - EndTime?: Date; + InstanceId: string | undefined; /** - *

      The maximum number of historical results you would like returned per page. Defaults to 100.

      + *

      Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

      */ - MaxResults?: number; + DryRun?: boolean; /** - *

      The token for the next page of results.

      + *

      When enabled, retrieves the latest console output for the instance.

      + *

      Default: disabled (false)

      */ - NextToken?: string; -} - -export enum IpamComplianceStatus { - compliant = "compliant", - ignored = "ignored", - noncompliant = "noncompliant", - unmanaged = "unmanaged", -} - -export enum IpamOverlapStatus { - ignored = "ignored", - nonoverlapping = "nonoverlapping", - overlapping = "overlapping", + Latest?: boolean; } -export enum IpamAddressHistoryResourceType { - eip = "eip", - instance = "instance", - network_interface = "network-interface", - subnet = "subnet", - vpc = "vpc", -} +export interface GetConsoleOutputResult { + /** + *

      The ID of the instance.

      + */ + InstanceId?: string; + + /** + *

      The console output, base64-encoded. If you are using a command line tool, the tool + * decodes the output for you.

      + */ + Output?: string; -/** - *

      The historical record of a CIDR within an IPAM scope. For more information, see View the history of IP addresses in the Amazon VPC IPAM User Guide. - *

      - */ -export interface IpamAddressHistoryRecord { /** - *

      The ID of the resource owner.

      + *

      The time at which the output was last updated.

      */ - ResourceOwnerId?: string; + Timestamp?: Date; +} +export interface GetConsoleScreenshotRequest { /** - *

      The Amazon Web Services Region of the resource.

      + *

      Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

      */ - ResourceRegion?: string; + DryRun?: boolean; /** - *

      The type of the resource.

      + *

      The ID of the instance.

      */ - ResourceType?: IpamAddressHistoryResourceType | string; + InstanceId: string | undefined; /** - *

      The ID of the resource.

      + *

      When set to true, acts as keystroke input and wakes up an instance that's + * in standby or "sleep" mode.

      */ - ResourceId?: string; + WakeUp?: boolean; +} +export interface GetConsoleScreenshotResult { /** - *

      The CIDR of the resource.

      + *

      The data that comprises the image.

      */ - ResourceCidr?: string; + ImageData?: string; /** - *

      The name of the resource.

      + *

      The ID of the instance.

      */ - ResourceName?: string; + InstanceId?: string; +} + +export enum UnlimitedSupportedInstanceFamily { + t2 = "t2", + t3 = "t3", + t3a = "t3a", + t4g = "t4g", +} +export interface GetDefaultCreditSpecificationRequest { /** - *

      The compliance status of a resource. For more information on compliance statuses, see Monitor CIDR usage by resource in the Amazon VPC IPAM User Guide.

      + *

      Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

      */ - ResourceComplianceStatus?: IpamComplianceStatus | string; + DryRun?: boolean; /** - *

      The overlap status of an IPAM resource. The overlap status tells you if the CIDR for a resource overlaps with another CIDR in the scope. For more information on overlap statuses, see Monitor CIDR usage by resource in the Amazon VPC IPAM User Guide.

      + *

      The instance family.

      */ - ResourceOverlapStatus?: IpamOverlapStatus | string; + InstanceFamily: UnlimitedSupportedInstanceFamily | string | undefined; +} +/** + *

      Describes the default credit option for CPU usage of a burstable performance instance + * family.

      + */ +export interface InstanceFamilyCreditSpecification { /** - *

      The VPC ID of the resource.

      + *

      The instance family.

      */ - VpcId?: string; + InstanceFamily?: UnlimitedSupportedInstanceFamily | string; /** - *

      Sampled start time of the resource-to-CIDR association within the IPAM scope. Changes are picked up in periodic snapshots, so the start time may have occurred before this specific time.

      + *

      The default credit option for CPU usage of the instance family. Valid values are + * standard and unlimited.

      */ - SampledStartTime?: Date; + CpuCredits?: string; +} +export interface GetDefaultCreditSpecificationResult { /** - *

      Sampled end time of the resource-to-CIDR association within the IPAM scope. Changes are picked up in periodic snapshots, so the end time may have occurred before this specific time.

      + *

      The default credit option for CPU usage of the instance family.

      */ - SampledEndTime?: Date; + InstanceFamilyCreditSpecification?: InstanceFamilyCreditSpecification; } -export interface GetIpamAddressHistoryResult { +export interface GetEbsDefaultKmsKeyIdRequest { /** - *

      A historical record for a CIDR within an IPAM scope. If the CIDR is associated with an EC2 instance, you will see an object in the response for the instance and one for the network interface.

      + *

      Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

      */ - HistoryRecords?: IpamAddressHistoryRecord[]; + DryRun?: boolean; +} +export interface GetEbsDefaultKmsKeyIdResult { /** - *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      + *

      The Amazon Resource Name (ARN) of the default KMS key for encryption by default.

      */ - NextToken?: string; + KmsKeyId?: string; } -export interface GetIpamPoolAllocationsRequest { +export interface GetEbsEncryptionByDefaultRequest { /** - *

      A check for whether you have the required permissions for the action without actually making the request + *

      Checks whether you have the required permissions for the action, without actually making the request, * and provides an error response. If you have the required permissions, the error response is DryRunOperation. * Otherwise, it is UnauthorizedOperation.

      */ DryRun?: boolean; +} +export interface GetEbsEncryptionByDefaultResult { /** - *

      The ID of the IPAM pool you want to see the allocations for.

      + *

      Indicates whether encryption by default is enabled.

      */ - IpamPoolId: string | undefined; + EbsEncryptionByDefault?: boolean; +} - /** - *

      The ID of the allocation.

      - */ - IpamPoolAllocationId?: string; +export enum PartitionLoadFrequency { + DAILY = "daily", + MONTHLY = "monthly", + NONE = "none", + WEEKLY = "weekly", +} +/** + *

      Describes integration options for Amazon Athena.

      + */ +export interface AthenaIntegration { /** - *

      One or more filters for the request. For more information about filtering, see Filtering CLI output.

      + *

      The location in Amazon S3 to store the generated CloudFormation template.

      */ - Filters?: Filter[]; + IntegrationResultS3DestinationArn: string | undefined; /** - *

      The maximum number of results you would like returned per page.

      + *

      The schedule for adding new partitions to the table.

      */ - MaxResults?: number; + PartitionLoadFrequency: PartitionLoadFrequency | string | undefined; /** - *

      The token for the next page of results.

      + *

      The start date for the partition.

      */ - NextToken?: string; -} + PartitionStartDate?: Date; -export interface GetIpamPoolAllocationsResult { /** - *

      The IPAM pool allocations you want information on.

      + *

      The end date for the partition.

      */ - IpamPoolAllocations?: IpamPoolAllocation[]; + PartitionEndDate?: Date; +} +/** + *

      Describes service integrations with VPC Flow logs.

      + */ +export interface IntegrateServices { /** - *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      + *

      Information about the integration with Amazon Athena.

      */ - NextToken?: string; + AthenaIntegrations?: AthenaIntegration[]; } -export interface GetIpamPoolCidrsRequest { +export interface GetFlowLogsIntegrationTemplateRequest { /** - *

      A check for whether you have the required permissions for the action without actually making the request + *

      Checks whether you have the required permissions for the action, without actually making the request, * and provides an error response. If you have the required permissions, the error response is DryRunOperation. * Otherwise, it is UnauthorizedOperation.

      */ DryRun?: boolean; /** - *

      The ID of the IPAM pool you want the CIDR for.

      + *

      The ID of the flow log.

      */ - IpamPoolId: string | undefined; + FlowLogId: string | undefined; /** - *

      One or more filters for the request. For more information about filtering, see Filtering CLI output.

      + *

      To store the CloudFormation template in Amazon S3, specify the location in Amazon S3.

      */ - Filters?: Filter[]; + ConfigDeliveryS3DestinationArn: string | undefined; /** - *

      The maximum number of results to return in the request.

      + *

      Information about the service integration.

      */ - MaxResults?: number; + IntegrateServices: IntegrateServices | undefined; +} +export interface GetFlowLogsIntegrationTemplateResult { /** - *

      The token for the next page of results.

      + *

      The generated CloudFormation template.

      */ - NextToken?: string; + Result?: string; } -export interface GetIpamPoolCidrsResult { +export interface GetGroupsForCapacityReservationRequest { /** - *

      Information about the CIDRs provisioned to an IPAM pool.

      + *

      The ID of the Capacity Reservation.

      */ - IpamPoolCidrs?: IpamPoolCidr[]; + CapacityReservationId: string | undefined; /** - *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      + *

      The token to use to retrieve the next page of results.

      */ NextToken?: string; -} -export enum IpamResourceType { - eip = "eip", - ipv6_pool = "ipv6-pool", - public_ipv4_pool = "public-ipv4-pool", - subnet = "subnet", - vpc = "vpc", -} + /** + *

      The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned nextToken value. This value can be between 5 and 500. If maxResults is given a larger value than 500, you receive an error.

      + */ + MaxResults?: number; -export interface GetIpamResourceCidrsRequest { /** - *

      A check for whether you have the required permissions for the action without actually making the request - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      + *

      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

      */ DryRun?: boolean; +} +/** + *

      Describes a resource group to which a Capacity Reservation has been added.

      + */ +export interface CapacityReservationGroup { /** - *

      One or more filters for the request. For more information about filtering, see Filtering CLI output.

      + *

      The ARN of the resource group.

      */ - Filters?: Filter[]; + GroupArn?: string; /** - *

      The maximum number of results to return in the request.

      + *

      The ID of the Amazon Web Services account that owns the resource group.

      */ - MaxResults?: number; + OwnerId?: string; +} +export interface GetGroupsForCapacityReservationResult { /** - *

      The token for the next page of results.

      + *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      */ NextToken?: string; /** - *

      The ID of the scope that the resource is in.

      + *

      Information about the resource groups to which the Capacity Reservation has been added.

      */ - IpamScopeId: string | undefined; + CapacityReservationGroups?: CapacityReservationGroup[]; +} +export interface GetHostReservationPurchasePreviewRequest { /** - *

      The ID of the IPAM pool that the resource is in.

      + *

      The IDs of the Dedicated Hosts with which the reservation is associated.

      */ - IpamPoolId?: string; + HostIdSet: string[] | undefined; /** - *

      The ID of the resource.

      + *

      The offering ID of the reservation.

      */ - ResourceId?: string; + OfferingId: string | undefined; +} +/** + *

      Describes the result of the purchase.

      + */ +export interface Purchase { /** - *

      The resource type.

      + *

      The currency in which the UpfrontPrice and HourlyPrice + * amounts are specified. At this time, the only supported currency is + * USD.

      */ - ResourceType?: IpamResourceType | string; + CurrencyCode?: CurrencyCodeValues | string; /** - *

      The resource tag.

      + *

      The duration of the reservation's term in seconds.

      */ - ResourceTag?: RequestIpamResourceTag; + Duration?: number; /** - *

      The ID of the Amazon Web Services account that owns the resource.

      + *

      The IDs of the Dedicated Hosts associated with the reservation.

      */ - ResourceOwner?: string; -} + HostIdSet?: string[]; -export enum IpamManagementState { - ignored = "ignored", - managed = "managed", - unmanaged = "unmanaged", -} + /** + *

      The ID of the reservation.

      + */ + HostReservationId?: string; -/** - *

      The CIDR for an IPAM resource.

      - */ -export interface IpamResourceCidr { /** - *

      The IPAM ID for an IPAM resource.

      + *

      The hourly price of the reservation per hour.

      + */ + HourlyPrice?: string; + + /** + *

      The instance family on the Dedicated Host that the reservation can be associated + * with.

      */ - IpamId?: string; + InstanceFamily?: string; /** - *

      The scope ID for an IPAM resource.

      + *

      The payment option for the reservation.

      */ - IpamScopeId?: string; + PaymentOption?: PaymentOption | string; /** - *

      The pool ID for an IPAM resource.

      + *

      The upfront price of the reservation.

      */ - IpamPoolId?: string; + UpfrontPrice?: string; +} +export interface GetHostReservationPurchasePreviewResult { /** - *

      The Amazon Web Services Region for an IPAM resource.

      + *

      The currency in which the totalUpfrontPrice and + * totalHourlyPrice amounts are specified. At this time, the only + * supported currency is USD.

      */ - ResourceRegion?: string; + CurrencyCode?: CurrencyCodeValues | string; /** - *

      The Amazon Web Services account number of the owner of an IPAM resource.

      + *

      The purchase information of the Dedicated Host reservation and the Dedicated Hosts + * associated with it.

      */ - ResourceOwnerId?: string; + Purchase?: Purchase[]; /** - *

      The ID of an IPAM resource.

      + *

      The potential total hourly price of the reservation per hour.

      */ - ResourceId?: string; + TotalHourlyPrice?: string; /** - *

      The name of an IPAM resource.

      + *

      The potential total upfront price. This is billed immediately.

      */ - ResourceName?: string; + TotalUpfrontPrice?: string; +} +export interface GetInstanceTypesFromInstanceRequirementsRequest { /** - *

      The CIDR for an IPAM resource.

      + *

      Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

      */ - ResourceCidr?: string; + DryRun?: boolean; /** - *

      The type of IPAM resource.

      + *

      The processor architecture type.

      */ - ResourceType?: IpamResourceType | string; + ArchitectureTypes: (ArchitectureType | string)[] | undefined; /** - *

      The tags for an IPAM resource.

      + *

      The virtualization type.

      */ - ResourceTags?: IpamResourceTag[]; + VirtualizationTypes: (VirtualizationType | string)[] | undefined; /** - *

      The percentage of IP address space in use. To convert the decimal to a percentage, multiply the decimal by 100. Note the following:

      - *
        - *
      • - *

        For a resources that are VPCs, this is the percentage of IP address space in the VPC that's taken up by subnet CIDRs. - *

        - *
      • - *
      • - *

        For resources that are subnets, if the subnet has an IPv4 CIDR provisioned to it, this is the percentage of IPv4 address space in the subnet that's in use. If the subnet has an IPv6 CIDR provisioned to it, the percentage of IPv6 address space in use is not represented. The percentage of IPv6 address space in use cannot currently be calculated. - *

        - *
      • - *
      • - *

        For resources that are public IPv4 pools, this is the percentage of IP address space in the pool that's been allocated to Elastic IP addresses (EIPs). - *

        - *
      • - *
      + *

      The attributes required for the instance types.

      */ - IpUsage?: number; + InstanceRequirements: InstanceRequirementsRequest | undefined; /** - *

      The compliance status of the IPAM resource. For more information on compliance statuses, see Monitor CIDR usage by resource in the Amazon VPC IPAM User Guide.

      + *

      The maximum number of results to return in a single call. Specify a value between 1 and + * 1000. The default value is 1000. To retrieve the remaining results, make another call with + * the returned NextToken value.

      */ - ComplianceStatus?: IpamComplianceStatus | string; + MaxResults?: number; /** - *

      The management state of the resource. For more information about management states, see Monitor CIDR usage by resource in the Amazon VPC IPAM User Guide.

      + *

      The token for the next set of results.

      */ - ManagementState?: IpamManagementState | string; + NextToken?: string; +} +/** + *

      The list of instance types with the specified instance attributes.

      + */ +export interface InstanceTypeInfoFromInstanceRequirements { /** - *

      The overlap status of an IPAM resource. The overlap status tells you if the CIDR for a resource overlaps with another CIDR in the scope. For more information on overlap statuses, see Monitor CIDR usage by resource in the Amazon VPC IPAM User Guide.

      + *

      The matching instance type.

      */ - OverlapStatus?: IpamOverlapStatus | string; + InstanceType?: string; +} +export interface GetInstanceTypesFromInstanceRequirementsResult { /** - *

      The ID of a VPC.

      + *

      The instance types with the specified instance attributes.

      */ - VpcId?: string; -} + InstanceTypes?: InstanceTypeInfoFromInstanceRequirements[]; -export interface GetIpamResourceCidrsResult { /** - *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      + *

      The token for the next set of results.

      */ NextToken?: string; +} +export interface GetInstanceUefiDataRequest { /** - *

      The resource CIDRs.

      + *

      The ID of the instance from which to retrieve the UEFI data.

      */ - IpamResourceCidrs?: IpamResourceCidr[]; -} + InstanceId: string | undefined; -export interface GetLaunchTemplateDataRequest { /** - *

      Checks whether you have the required permissions for the action, without actually - * making the request, and provides an error response. If you have the required - * permissions, the error response is DryRunOperation. Otherwise, it is - * UnauthorizedOperation.

      + *

      Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

      */ DryRun?: boolean; +} +export interface GetInstanceUefiDataResult { /** - *

      The ID of the instance.

      + *

      The ID of the instance from which to retrieve the UEFI data.

      */ - InstanceId: string | undefined; -} + InstanceId?: string; -export interface GetLaunchTemplateDataResult { /** - *

      The instance data.

      + *

      Base64 representation of the non-volatile UEFI variable store.

      */ - LaunchTemplateData?: ResponseLaunchTemplateData; + UefiData?: string; } -export interface GetManagedPrefixListAssociationsRequest { +export interface GetIpamAddressHistoryRequest { /** - *

      Checks whether you have the required permissions for the action, without actually making the request, + *

      A check for whether you have the required permissions for the action without actually making the request * and provides an error response. If you have the required permissions, the error response is DryRunOperation. * Otherwise, it is UnauthorizedOperation.

      */ DryRun?: boolean; /** - *

      The ID of the prefix list.

      + *

      The CIDR you want the history of. The CIDR can be an IPv4 or IPv6 IP address range. + * If you enter a /16 IPv4 CIDR, you will get records that match it exactly. You will not get records for any subnets within the /16 CIDR.

      */ - PrefixListId: string | undefined; + Cidr: string | undefined; /** - *

      The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

      + *

      The ID of the IPAM scope that the CIDR is in.

      */ - MaxResults?: number; + IpamScopeId: string | undefined; /** - *

      The token for the next page of results.

      + *

      The ID of the VPC you want your history records filtered by.

      */ - NextToken?: string; -} + VpcId?: string; -/** - *

      Describes the resource with which a prefix list is associated.

      - */ -export interface PrefixListAssociation { /** - *

      The ID of the resource.

      + *

      The start of the time period for which you are looking for history. If you omit this option, it will default to the value of EndTime.

      */ - ResourceId?: string; + StartTime?: Date; /** - *

      The owner of the resource.

      + *

      The end of the time period for which you are looking for history. If you omit this option, it will default to the current time.

      */ - ResourceOwner?: string; -} + EndTime?: Date; -export interface GetManagedPrefixListAssociationsResult { /** - *

      Information about the associations.

      + *

      The maximum number of historical results you would like returned per page. Defaults to 100.

      */ - PrefixListAssociations?: PrefixListAssociation[]; + MaxResults?: number; /** - *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      + *

      The token for the next page of results.

      */ NextToken?: string; } -export interface GetManagedPrefixListEntriesRequest { +export enum IpamComplianceStatus { + compliant = "compliant", + ignored = "ignored", + noncompliant = "noncompliant", + unmanaged = "unmanaged", +} + +export enum IpamOverlapStatus { + ignored = "ignored", + nonoverlapping = "nonoverlapping", + overlapping = "overlapping", +} + +export enum IpamAddressHistoryResourceType { + eip = "eip", + instance = "instance", + network_interface = "network-interface", + subnet = "subnet", + vpc = "vpc", +} + +/** + *

      The historical record of a CIDR within an IPAM scope. For more information, see View the history of IP addresses in the Amazon VPC IPAM User Guide. + *

      + */ +export interface IpamAddressHistoryRecord { /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      + *

      The ID of the resource owner.

      */ - DryRun?: boolean; + ResourceOwnerId?: string; /** - *

      The ID of the prefix list.

      + *

      The Amazon Web Services Region of the resource.

      */ - PrefixListId: string | undefined; + ResourceRegion?: string; /** - *

      The version of the prefix list for which to return the entries. The default is the current version.

      + *

      The type of the resource.

      */ - TargetVersion?: number; + ResourceType?: IpamAddressHistoryResourceType | string; /** - *

      The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

      + *

      The ID of the resource.

      */ - MaxResults?: number; + ResourceId?: string; /** - *

      The token for the next page of results.

      + *

      The CIDR of the resource.

      */ - NextToken?: string; -} + ResourceCidr?: string; -/** - *

      Describes a prefix list entry.

      - */ -export interface PrefixListEntry { /** - *

      The CIDR block.

      + *

      The name of the resource.

      */ - Cidr?: string; + ResourceName?: string; /** - *

      The description.

      + *

      The compliance status of a resource. For more information on compliance statuses, see Monitor CIDR usage by resource in the Amazon VPC IPAM User Guide.

      */ - Description?: string; -} + ResourceComplianceStatus?: IpamComplianceStatus | string; -export interface GetManagedPrefixListEntriesResult { /** - *

      Information about the prefix list entries.

      + *

      The overlap status of an IPAM resource. The overlap status tells you if the CIDR for a resource overlaps with another CIDR in the scope. For more information on overlap statuses, see Monitor CIDR usage by resource in the Amazon VPC IPAM User Guide.

      */ - Entries?: PrefixListEntry[]; + ResourceOverlapStatus?: IpamOverlapStatus | string; /** - *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      + *

      The VPC ID of the resource.

      */ - NextToken?: string; -} + VpcId?: string; -export interface GetNetworkInsightsAccessScopeAnalysisFindingsRequest { /** - *

      The ID of the Network Access Scope analysis.

      + *

      Sampled start time of the resource-to-CIDR association within the IPAM scope. Changes are picked up in periodic snapshots, so the start time may have occurred before this specific time.

      */ - NetworkInsightsAccessScopeAnalysisId: string | undefined; + SampledStartTime?: Date; /** - *

      The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

      + *

      Sampled end time of the resource-to-CIDR association within the IPAM scope. Changes are picked up in periodic snapshots, so the end time may have occurred before this specific time.

      */ - MaxResults?: number; + SampledEndTime?: Date; +} +export interface GetIpamAddressHistoryResult { /** - *

      The token for the next page of results.

      + *

      A historical record for a CIDR within an IPAM scope. If the CIDR is associated with an EC2 instance, you will see an object in the response for the instance and one for the network interface.

      + */ + HistoryRecords?: IpamAddressHistoryRecord[]; + + /** + *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      */ NextToken?: string; +} +export interface GetIpamDiscoveredAccountsRequest { /** - *

      Checks whether you have the required permissions for the action, without actually making the request, + *

      A check for whether you have the required permissions for the action without actually making the request * and provides an error response. If you have the required permissions, the error response is DryRunOperation. * Otherwise, it is UnauthorizedOperation.

      */ DryRun?: boolean; -} -export interface GetNetworkInsightsAccessScopeAnalysisFindingsResult { /** - *

      The ID of the Network Access Scope analysis.

      + *

      A resource discovery ID.

      */ - NetworkInsightsAccessScopeAnalysisId?: string; + IpamResourceDiscoveryId: string | undefined; /** - *

      The status of Network Access Scope Analysis.

      + *

      The Amazon Web Services Region that the account information is returned from.

      */ - AnalysisStatus?: AnalysisStatus | string; + DiscoveryRegion: string | undefined; /** - *

      The findings associated with Network Access Scope Analysis.

      + *

      Discovered account filters.

      */ - AnalysisFindings?: AccessScopeAnalysisFinding[]; + Filters?: Filter[]; /** - *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      + *

      Specify the pagination token from a previous request to retrieve the next page of results.

      */ NextToken?: string; + + /** + *

      The maximum number of discovered accounts to return in one page of results.

      + */ + MaxResults?: number; } -export interface GetNetworkInsightsAccessScopeContentRequest { +export enum IpamDiscoveryFailureCode { + assume_role_failure = "assume-role-failure", + throttling_failure = "throttling-failure", + unauthorized_failure = "unauthorized-failure", +} + +/** + *

      The discovery failure reason.

      + */ +export interface IpamDiscoveryFailureReason { /** - *

      The ID of the Network Access Scope.

      + *

      The discovery failure code.

      + *
        + *
      • + *

        + * assume-role-failure - IPAM could not assume the Amazon Web Services IAM service-linked role. This could be because of any of the following:

        + *
          + *
        • + *

          SLR has not been created yet and IPAM is still creating it.

          + *
        • + *
        • + *

          You have opted-out of the IPAM home Region.

          + *
        • + *
        • + *

          Account you are using as your IPAM account has been suspended.

          + *
        • + *
        + *
      • + *
      • + *

        + * throttling-failure - IPAM account is already using the allotted transactions per second and IPAM is receiving a throttling error when assuming the Amazon Web Services IAM SLR.

        + *
      • + *
      • + *

        + * unauthorized-failure - Amazon Web Services account making the request is not authorized. For more information, see AuthFailure in the Amazon Elastic Compute Cloud API Reference.

        + *
      • + *
      */ - NetworkInsightsAccessScopeId: string | undefined; + Code?: IpamDiscoveryFailureCode | string; /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      + *

      The discovery failure message.

      */ - DryRun?: boolean; + Message?: string; } -export interface GetNetworkInsightsAccessScopeContentResult { +/** + *

      An IPAM discovered account. A discovered account is an Amazon Web Services account that is monitored under a resource discovery. If you have integrated IPAM with Amazon Web Services Organizations, all accounts in the organization are discovered accounts.

      + */ +export interface IpamDiscoveredAccount { /** - *

      The Network Access Scope content.

      + *

      The account ID.

      */ - NetworkInsightsAccessScopeContent?: NetworkInsightsAccessScopeContent; -} + AccountId?: string; -export interface GetPasswordDataRequest { /** - *

      The ID of the Windows instance.

      + *

      The Amazon Web Services Region that the account information is returned from. + * An account can be discovered in multiple regions and will have a separate discovered account for each Region.

      */ - InstanceId: string | undefined; + DiscoveryRegion?: string; /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      + *

      The resource discovery failure reason.

      */ - DryRun?: boolean; -} + FailureReason?: IpamDiscoveryFailureReason; -export interface GetPasswordDataResult { /** - *

      The ID of the Windows instance.

      + *

      The last attempted resource discovery time.

      */ - InstanceId?: string; + LastAttemptedDiscoveryTime?: Date; /** - *

      The password of the instance. Returns an empty string if the password is not - * available.

      + *

      The last successful resource discovery time.

      */ - PasswordData?: string; + LastSuccessfulDiscoveryTime?: Date; +} +export interface GetIpamDiscoveredAccountsResult { /** - *

      The time the data was last updated.

      + *

      Discovered accounts.

      */ - Timestamp?: Date; + IpamDiscoveredAccounts?: IpamDiscoveredAccount[]; + + /** + *

      Specify the pagination token from a previous request to retrieve the next page of results.

      + */ + NextToken?: string; } -/** - *

      Contains the parameters for GetReservedInstanceExchangeQuote.

      - */ -export interface GetReservedInstancesExchangeQuoteRequest { +export interface GetIpamDiscoveredResourceCidrsRequest { /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      + *

      A check for whether you have the required permissions for the action without actually making the request + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

      */ DryRun?: boolean; /** - *

      The IDs of the Convertible Reserved Instances to exchange.

      + *

      A resource discovery ID.

      */ - ReservedInstanceIds: string[] | undefined; + IpamResourceDiscoveryId: string | undefined; /** - *

      The configuration of the target Convertible Reserved Instance to exchange for your - * current Convertible Reserved Instances.

      + *

      A resource Region.

      */ - TargetConfigurations?: TargetConfigurationRequest[]; -} + ResourceRegion: string | undefined; -/** - *

      The cost associated with the Reserved Instance.

      - */ -export interface ReservationValue { /** - *

      The hourly rate of the reservation.

      + *

      Filters.

      */ - HourlyPrice?: string; + Filters?: Filter[]; /** - *

      The balance of the total value (the sum of remainingUpfrontValue + hourlyPrice * number of hours remaining).

      + *

      Specify the pagination token from a previous request to retrieve the next page of results.

      */ - RemainingTotalValue?: string; + NextToken?: string; /** - *

      The remaining upfront cost of the reservation.

      + *

      The maximum number of discovered resource CIDRs to return in one page of results.

      */ - RemainingUpfrontValue?: string; + MaxResults?: number; +} + +export enum IpamResourceType { + eip = "eip", + ipv6_pool = "ipv6-pool", + public_ipv4_pool = "public-ipv4-pool", + subnet = "subnet", + vpc = "vpc", } /** - *

      The total value of the Convertible Reserved Instance.

      + *

      An IPAM discovered resource CIDR. A discovered resource is a resource CIDR monitored under a resource discovery. The following resources can be discovered: VPCs, Public IPv4 pools, VPC subnets, and Elastic IP addresses. The discovered resource CIDR is the IP address range in CIDR notation that is associated with the resource.

      */ -export interface ReservedInstanceReservationValue { +export interface IpamDiscoveredResourceCidr { /** - *

      The total value of the Convertible Reserved Instance that you are exchanging.

      + *

      The resource discovery ID.

      */ - ReservationValue?: ReservationValue; + IpamResourceDiscoveryId?: string; /** - *

      The ID of the Convertible Reserved Instance that you are exchanging.

      + *

      The resource Region.

      */ - ReservedInstanceId?: string; -} + ResourceRegion?: string; -/** - *

      Information about the Convertible Reserved Instance offering.

      - */ -export interface TargetConfiguration { /** - *

      The number of instances the Convertible Reserved Instance offering can be applied to. This parameter is - * reserved and cannot be specified in a request

      + *

      The resource ID.

      */ - InstanceCount?: number; + ResourceId?: string; /** - *

      The ID of the Convertible Reserved Instance offering.

      + *

      The resource owner ID.

      */ - OfferingId?: string; -} + ResourceOwnerId?: string; -/** - *

      The total value of the new Convertible Reserved Instances.

      - */ -export interface TargetReservationValue { /** - *

      The total value of the Convertible Reserved Instances that make up the exchange. This is the sum of - * the list value, remaining upfront price, and additional upfront cost of the exchange.

      + *

      The resource CIDR.

      */ - ReservationValue?: ReservationValue; + ResourceCidr?: string; /** - *

      The configuration of the Convertible Reserved Instances that make up the exchange.

      + *

      The resource type.

      */ - TargetConfiguration?: TargetConfiguration; -} + ResourceType?: IpamResourceType | string; -/** - *

      Contains the output of GetReservedInstancesExchangeQuote.

      - */ -export interface GetReservedInstancesExchangeQuoteResult { /** - *

      The currency of the transaction.

      + *

      The resource tags.

      */ - CurrencyCode?: string; + ResourceTags?: IpamResourceTag[]; /** - *

      If true, the exchange is valid. If false, the exchange cannot be completed.

      + *

      The percentage of IP address space in use. To convert the decimal to a percentage, multiply the decimal by 100. Note the following:

      + *
        + *
      • + *

        For resources that are VPCs, this is the percentage of IP address space in the VPC that's taken up by subnet CIDRs. + *

        + *
      • + *
      • + *

        For resources that are subnets, if the subnet has an IPv4 CIDR provisioned to it, this is the percentage of IPv4 address space in the subnet that's in use. If the subnet has an IPv6 CIDR provisioned to it, the percentage of IPv6 address space in use is not represented. The percentage of IPv6 address space in use cannot currently be calculated. + *

        + *
      • + *
      • + *

        For resources that are public IPv4 pools, this is the percentage of IP address space in the pool that's been allocated to Elastic IP addresses (EIPs). + *

        + *
      • + *
      */ - IsValidExchange?: boolean; + IpUsage?: number; /** - *

      The new end date of the reservation term.

      + *

      The VPC ID.

      */ - OutputReservedInstancesWillExpireAt?: Date; + VpcId?: string; /** - *

      The total true upfront charge for the exchange.

      + *

      The last successful resource discovery time.

      */ - PaymentDue?: string; + SampleTime?: Date; +} +export interface GetIpamDiscoveredResourceCidrsResult { /** - *

      The cost associated with the Reserved Instance.

      + *

      Discovered resource CIDRs.

      */ - ReservedInstanceValueRollup?: ReservationValue; + IpamDiscoveredResourceCidrs?: IpamDiscoveredResourceCidr[]; /** - *

      The configuration of your Convertible Reserved Instances.

      + *

      Specify the pagination token from a previous request to retrieve the next page of results.

      */ - ReservedInstanceValueSet?: ReservedInstanceReservationValue[]; + NextToken?: string; +} +export interface GetIpamPoolAllocationsRequest { /** - *

      The cost associated with the Reserved Instance.

      + *

      A check for whether you have the required permissions for the action without actually making the request + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

      */ - TargetConfigurationValueRollup?: ReservationValue; + DryRun?: boolean; /** - *

      The values of the target Convertible Reserved Instances.

      + *

      The ID of the IPAM pool you want to see the allocations for.

      */ - TargetConfigurationValueSet?: TargetReservationValue[]; + IpamPoolId: string | undefined; /** - *

      Describes the reason why the exchange cannot be completed.

      + *

      The ID of the allocation.

      */ - ValidationFailureReason?: string; -} + IpamPoolAllocationId?: string; -export interface GetSerialConsoleAccessStatusRequest { /** - *

      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

      + *

      One or more filters for the request. For more information about filtering, see Filtering CLI output.

      */ - DryRun?: boolean; -} + Filters?: Filter[]; -export interface GetSerialConsoleAccessStatusResult { /** - *

      If true, access to the EC2 serial console of all instances is enabled for - * your account. If false, access to the EC2 serial console of all instances - * is disabled for your account.

      + *

      The maximum number of results you would like returned per page.

      */ - SerialConsoleAccessEnabled?: boolean; -} + MaxResults?: number; -/** - *

      The architecture type, virtualization type, and other attributes for the instance types. - * When you specify instance attributes, Amazon EC2 will identify instance types with those - * attributes.

      - *

      If you specify InstanceRequirementsWithMetadataRequest, you can't specify - * InstanceTypes.

      - */ -export interface InstanceRequirementsWithMetadataRequest { /** - *

      The architecture type.

      + *

      The token for the next page of results.

      */ - ArchitectureTypes?: (ArchitectureType | string)[]; + NextToken?: string; +} +export interface GetIpamPoolAllocationsResult { /** - *

      The virtualization type.

      + *

      The IPAM pool allocations you want information on.

      */ - VirtualizationTypes?: (VirtualizationType | string)[]; + IpamPoolAllocations?: IpamPoolAllocation[]; /** - *

      The attributes for the instance types. When you specify instance attributes, Amazon EC2 will - * identify instance types with those attributes.

      + *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      */ - InstanceRequirements?: InstanceRequirementsRequest; + NextToken?: string; } -export interface GetSpotPlacementScoresRequest { +export interface GetIpamPoolCidrsRequest { /** - *

      The instance types. We recommend that you specify at least three instance types. If you - * specify one or two instance types, or specify variations of a single instance type (for - * example, an m3.xlarge with and without instance storage), the returned - * placement score will always be low.

      - *

      If you specify InstanceTypes, you can't specify - * InstanceRequirementsWithMetadata.

      + *

      A check for whether you have the required permissions for the action without actually making the request + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

      */ - InstanceTypes?: string[]; + DryRun?: boolean; /** - *

      The target capacity.

      + *

      The ID of the IPAM pool you want the CIDR for.

      */ - TargetCapacity: number | undefined; + IpamPoolId: string | undefined; /** - *

      The unit for the target capacity.

      - *

      Default: units (translates to number of instances)

      + *

      One or more filters for the request. For more information about filtering, see Filtering CLI output.

      */ - TargetCapacityUnitType?: TargetCapacityUnitType | string; + Filters?: Filter[]; /** - *

      Specify true so that the response returns a list of scored Availability Zones. - * Otherwise, the response returns a list of scored Regions.

      - *

      A list of scored Availability Zones is useful if you want to launch all of your Spot - * capacity into a single Availability Zone.

      + *

      The maximum number of results to return in the request.

      + */ + MaxResults?: number; + + /** + *

      The token for the next page of results.

      */ - SingleAvailabilityZone?: boolean; + NextToken?: string; +} +export interface GetIpamPoolCidrsResult { /** - *

      The Regions used to narrow down the list of Regions to be scored. Enter the Region code, - * for example, us-east-1.

      + *

      Information about the CIDRs provisioned to an IPAM pool.

      */ - RegionNames?: string[]; + IpamPoolCidrs?: IpamPoolCidr[]; /** - *

      The attributes for the instance types. When you specify instance attributes, Amazon EC2 will - * identify instance types with those attributes.

      - *

      If you specify InstanceRequirementsWithMetadata, you can't specify - * InstanceTypes.

      + *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      */ - InstanceRequirementsWithMetadata?: InstanceRequirementsWithMetadataRequest; + NextToken?: string; +} +export interface GetIpamResourceCidrsRequest { /** - *

      Checks whether you have the required permissions for the action, without actually making the request, + *

      A check for whether you have the required permissions for the action without actually making the request * and provides an error response. If you have the required permissions, the error response is DryRunOperation. * Otherwise, it is UnauthorizedOperation.

      */ DryRun?: boolean; /** - *

      The maximum number of results to return in a single call. Specify a value between 1 and - * 1000. The default value is 1000. To retrieve the remaining results, make another call with - * the returned NextToken value.

      + *

      One or more filters for the request. For more information about filtering, see Filtering CLI output.

      + */ + Filters?: Filter[]; + + /** + *

      The maximum number of results to return in the request.

      */ MaxResults?: number; /** - *

      The token for the next set of results.

      + *

      The token for the next page of results.

      */ NextToken?: string; -} -/** - *

      The Spot placement score for this Region or Availability Zone. The score is calculated - * based on the assumption that the capacity-optimized allocation strategy is - * used and that all of the Availability Zones in the Region can be used.

      - */ -export interface SpotPlacementScore { /** - *

      The Region.

      + *

      The ID of the scope that the resource is in.

      */ - Region?: string; + IpamScopeId: string | undefined; /** - *

      The Availability Zone.

      + *

      The ID of the IPAM pool that the resource is in.

      */ - AvailabilityZoneId?: string; + IpamPoolId?: string; /** - *

      The placement score, on a scale from 1 to 10. A score of - * 10 indicates that your Spot request is highly likely to succeed in this - * Region or Availability Zone. A score of 1 indicates that your Spot request is - * not likely to succeed.

      + *

      The ID of the resource.

      */ - Score?: number; -} + ResourceId?: string; -export interface GetSpotPlacementScoresResult { /** - *

      The Spot placement score for the top 10 Regions or Availability Zones, scored on a scale - * from 1 to 10. Each score
 reflects how likely it is that each Region or Availability Zone - * will succeed at fulfilling the specified target capacity
 at the time of the Spot - * placement score request. A score of 10 means that your Spot - * capacity request is highly likely to succeed in that Region or Availability Zone.

      - *

      If you request a Spot placement score for Regions, a high score assumes that your fleet - * request will be configured to use all Availability Zones and the - * capacity-optimized allocation strategy. If you request a Spot placement - * score for Availability Zones, a high score assumes that your fleet request will be - * configured to use a single Availability Zone and the capacity-optimized - * allocation strategy.

      - *

      Different
 Regions or Availability Zones might return the same score.

      - * - *

      The Spot placement score serves as a recommendation only. No score guarantees that your - * Spot request will be fully or partially fulfilled.

      - *
      + *

      The resource type.

      */ - SpotPlacementScores?: SpotPlacementScore[]; + ResourceType?: IpamResourceType | string; /** - *

      The token for the next set of results.

      + *

      The resource tag.

      */ - NextToken?: string; + ResourceTag?: RequestIpamResourceTag; + + /** + *

      The ID of the Amazon Web Services account that owns the resource.

      + */ + ResourceOwner?: string; } -export interface GetSubnetCidrReservationsRequest { +export enum IpamManagementState { + ignored = "ignored", + managed = "managed", + unmanaged = "unmanaged", +} + +/** + *

      The CIDR for an IPAM resource.

      + */ +export interface IpamResourceCidr { /** - *

      One or more filters.

      - *
        - *
      • - *

        - * reservationType - The type of reservation (prefix | - * explicit).

        - *
      • - *
      • - *

        - * subnet-id - The ID of the subnet.

        - *
      • - *
      • - *

        - * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. - * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

        - *
      • - *
      • - *

        - * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

        - *
      • - *
      + *

      The IPAM ID for an IPAM resource.

      */ - Filters?: Filter[]; + IpamId?: string; /** - *

      The ID of the subnet.

      + *

      The scope ID for an IPAM resource.

      */ - SubnetId: string | undefined; + IpamScopeId?: string; /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      + *

      The pool ID for an IPAM resource.

      */ - DryRun?: boolean; + IpamPoolId?: string; /** - *

      The token for the next page of results.

      + *

      The Amazon Web Services Region for an IPAM resource.

      */ - NextToken?: string; + ResourceRegion?: string; /** - *

      The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

      + *

      The Amazon Web Services account number of the owner of an IPAM resource.

      */ - MaxResults?: number; -} + ResourceOwnerId?: string; -export interface GetSubnetCidrReservationsResult { /** - *

      Information about the IPv4 subnet CIDR reservations.

      + *

      The ID of an IPAM resource.

      */ - SubnetIpv4CidrReservations?: SubnetCidrReservation[]; + ResourceId?: string; /** - *

      Information about the IPv6 subnet CIDR reservations.

      + *

      The name of an IPAM resource.

      */ - SubnetIpv6CidrReservations?: SubnetCidrReservation[]; + ResourceName?: string; /** - *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      + *

      The CIDR for an IPAM resource.

      */ - NextToken?: string; -} + ResourceCidr?: string; -export interface GetTransitGatewayAttachmentPropagationsRequest { /** - *

      The ID of the attachment.

      + *

      The type of IPAM resource.

      */ - TransitGatewayAttachmentId: string | undefined; + ResourceType?: IpamResourceType | string; /** - *

      One or more filters. The possible values are:

      + *

      The tags for an IPAM resource.

      + */ + ResourceTags?: IpamResourceTag[]; + + /** + *

      The percentage of IP address space in use. To convert the decimal to a percentage, multiply the decimal by 100. Note the following:

      *
        *
      • - *

        - * transit-gateway-route-table-id - The ID of the transit gateway route table.

        + *

        For resources that are VPCs, this is the percentage of IP address space in the VPC that's taken up by subnet CIDRs. + *

        + *
      • + *
      • + *

        For resources that are subnets, if the subnet has an IPv4 CIDR provisioned to it, this is the percentage of IPv4 address space in the subnet that's in use. If the subnet has an IPv6 CIDR provisioned to it, the percentage of IPv6 address space in use is not represented. The percentage of IPv6 address space in use cannot currently be calculated. + *

        + *
      • + *
      • + *

        For resources that are public IPv4 pools, this is the percentage of IP address space in the pool that's been allocated to Elastic IP addresses (EIPs). + *

        *
      • *
      */ - Filters?: Filter[]; + IpUsage?: number; /** - *

      The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

      + *

      The compliance status of the IPAM resource. For more information on compliance statuses, see Monitor CIDR usage by resource in the Amazon VPC IPAM User Guide.

      */ - MaxResults?: number; + ComplianceStatus?: IpamComplianceStatus | string; /** - *

      The token for the next page of results.

      + *

      The management state of the resource. For more information about management states, see Monitor CIDR usage by resource in the Amazon VPC IPAM User Guide.

      */ - NextToken?: string; + ManagementState?: IpamManagementState | string; /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      + *

      The overlap status of an IPAM resource. The overlap status tells you if the CIDR for a resource overlaps with another CIDR in the scope. For more information on overlap statuses, see Monitor CIDR usage by resource in the Amazon VPC IPAM User Guide.

      */ - DryRun?: boolean; + OverlapStatus?: IpamOverlapStatus | string; + + /** + *

      The ID of a VPC.

      + */ + VpcId?: string; } -/** - *

      Describes a propagation route table.

      - */ -export interface TransitGatewayAttachmentPropagation { +export interface GetIpamResourceCidrsResult { /** - *

      The ID of the propagation route table.

      + *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      */ - TransitGatewayRouteTableId?: string; + NextToken?: string; /** - *

      The state of the propagation route table.

      + *

      The resource CIDRs.

      */ - State?: TransitGatewayPropagationState | string; + IpamResourceCidrs?: IpamResourceCidr[]; } -export interface GetTransitGatewayAttachmentPropagationsResult { +export interface GetLaunchTemplateDataRequest { /** - *

      Information about the propagation route tables.

      + *

      Checks whether you have the required permissions for the action, without actually + * making the request, and provides an error response. If you have the required + * permissions, the error response is DryRunOperation. Otherwise, it is + * UnauthorizedOperation.

      */ - TransitGatewayAttachmentPropagations?: TransitGatewayAttachmentPropagation[]; + DryRun?: boolean; /** - *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      + *

      The ID of the instance.

      */ - NextToken?: string; + InstanceId: string | undefined; } -export interface GetTransitGatewayMulticastDomainAssociationsRequest { +export interface GetLaunchTemplateDataResult { /** - *

      The ID of the transit gateway multicast domain.

      + *

      The instance data.

      */ - TransitGatewayMulticastDomainId?: string; - - /** - *

      One or more filters. The possible values are:

      - *
        - *
      • - *

        - * resource-id - The ID of the resource.

        - *
      • - *
      • - *

        - * resource-type - The type of resource. The valid value is: vpc.

        - *
      • - *
      • - *

        - * state - The state of the subnet association. Valid values are - * associated | associating | - * disassociated | disassociating.

        - *
      • - *
      • - *

        - * subnet-id - The ID of the subnet.

        - *
      • - *
      • - *

        - * transit-gateway-attachment-id - The id of the transit gateway attachment.

        - *
      • - *
      + LaunchTemplateData?: ResponseLaunchTemplateData; +} + +export interface GetManagedPrefixListAssociationsRequest { + /** + *

      Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

      */ - Filters?: Filter[]; + DryRun?: boolean; + + /** + *

      The ID of the prefix list.

      + */ + PrefixListId: string | undefined; /** *

      The maximum number of results to return with a single call. @@ -4456,50 +4540,85 @@ export interface GetTransitGatewayMulticastDomainAssociationsRequest { *

      The token for the next page of results.

      */ NextToken?: string; +} + +/** + *

      Describes the resource with which a prefix list is associated.

      + */ +export interface PrefixListAssociation { + /** + *

      The ID of the resource.

      + */ + ResourceId?: string; + + /** + *

      The owner of the resource.

      + */ + ResourceOwner?: string; +} + +export interface GetManagedPrefixListAssociationsResult { + /** + *

      Information about the associations.

      + */ + PrefixListAssociations?: PrefixListAssociation[]; + + /** + *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      + */ + NextToken?: string; +} +export interface GetManagedPrefixListEntriesRequest { /** *

      Checks whether you have the required permissions for the action, without actually making the request, * and provides an error response. If you have the required permissions, the error response is DryRunOperation. * Otherwise, it is UnauthorizedOperation.

      */ DryRun?: boolean; -} -/** - *

      Describes the resources associated with the transit gateway multicast domain.

      - */ -export interface TransitGatewayMulticastDomainAssociation { /** - *

      The ID of the transit gateway attachment.

      + *

      The ID of the prefix list.

      */ - TransitGatewayAttachmentId?: string; + PrefixListId: string | undefined; /** - *

      The ID of the resource.

      + *

      The version of the prefix list for which to return the entries. The default is the current version.

      */ - ResourceId?: string; + TargetVersion?: number; /** - *

      The type of resource, for example a VPC attachment.

      + *

      The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

      */ - ResourceType?: TransitGatewayAttachmentResourceType | string; + MaxResults?: number; /** - *

      The ID of the Amazon Web Services account that owns the transit gateway multicast domain association resource.

      + *

      The token for the next page of results.

      */ - ResourceOwnerId?: string; + NextToken?: string; +} +/** + *

      Describes a prefix list entry.

      + */ +export interface PrefixListEntry { /** - *

      The subnet associated with the transit gateway multicast domain.

      + *

      The CIDR block.

      */ - Subnet?: SubnetAssociation; + Cidr?: string; + + /** + *

      The description.

      + */ + Description?: string; } -export interface GetTransitGatewayMulticastDomainAssociationsResult { +export interface GetManagedPrefixListEntriesResult { /** - *

      Information about the multicast domain associations.

      + *

      Information about the prefix list entries.

      */ - MulticastDomainAssociations?: TransitGatewayMulticastDomainAssociation[]; + Entries?: PrefixListEntry[]; /** *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      @@ -4507,20 +4626,15 @@ export interface GetTransitGatewayMulticastDomainAssociationsResult { NextToken?: string; } -export interface GetTransitGatewayPolicyTableAssociationsRequest { - /** - *

      The ID of the transit gateway policy table.

      - */ - TransitGatewayPolicyTableId: string | undefined; - +export interface GetNetworkInsightsAccessScopeAnalysisFindingsRequest { /** - *

      The filters associated with the transit gateway policy table.

      + *

      The ID of the Network Access Scope analysis.

      */ - Filters?: Filter[]; + NetworkInsightsAccessScopeAnalysisId: string | undefined; /** *

      The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

      + * To retrieve the remaining results, make another call with the returned nextToken value.

      */ MaxResults?: number; @@ -4537,39 +4651,33 @@ export interface GetTransitGatewayPolicyTableAssociationsRequest { DryRun?: boolean; } -export interface GetTransitGatewayPolicyTableAssociationsResult { - /** - *

      Returns details about the transit gateway policy table association.

      - */ - Associations?: TransitGatewayPolicyTableAssociation[]; - +export interface GetNetworkInsightsAccessScopeAnalysisFindingsResult { /** - *

      The token for the next page of results.

      + *

      The ID of the Network Access Scope analysis.

      */ - NextToken?: string; -} + NetworkInsightsAccessScopeAnalysisId?: string; -export interface GetTransitGatewayPolicyTableEntriesRequest { /** - *

      The ID of the transit gateway policy table.

      + *

      The status of Network Access Scope Analysis.

      */ - TransitGatewayPolicyTableId: string | undefined; + AnalysisStatus?: AnalysisStatus | string; /** - *

      The filters associated with the transit gateway policy table.

      + *

      The findings associated with Network Access Scope Analysis.

      */ - Filters?: Filter[]; + AnalysisFindings?: AccessScopeAnalysisFinding[]; /** - *

      The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

      + *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      */ - MaxResults?: number; + NextToken?: string; +} +export interface GetNetworkInsightsAccessScopeContentRequest { /** - *

      The token for the next page of results.

      + *

      The ID of the Network Access Scope.

      */ - NextToken?: string; + NetworkInsightsAccessScopeId: string | undefined; /** *

      Checks whether you have the required permissions for the action, without actually making the request, @@ -4579,359 +4687,372 @@ export interface GetTransitGatewayPolicyTableEntriesRequest { DryRun?: boolean; } -/** - *

      Describes the meta data tags associated with a transit gateway policy rule.

      - */ -export interface TransitGatewayPolicyRuleMetaData { +export interface GetNetworkInsightsAccessScopeContentResult { /** - *

      The key name for the transit gateway policy rule meta data tag.

      + *

      The Network Access Scope content.

      */ - MetaDataKey?: string; + NetworkInsightsAccessScopeContent?: NetworkInsightsAccessScopeContent; +} +export interface GetPasswordDataRequest { /** - *

      The value of the key for the transit gateway policy rule meta data tag.

      + *

      The ID of the Windows instance.

      */ - MetaDataValue?: string; + InstanceId: string | undefined; + + /** + *

      Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

      + */ + DryRun?: boolean; } -/** - *

      Describes a rule associated with a transit gateway policy.

      - */ -export interface TransitGatewayPolicyRule { +export interface GetPasswordDataResult { /** - *

      The source CIDR block for the transit gateway policy rule.

      + *

      The ID of the Windows instance.

      */ - SourceCidrBlock?: string; + InstanceId?: string; /** - *

      The port range for the transit gateway policy rule. Currently this is set to * (all).

      + *

      The password of the instance. Returns an empty string if the password is not + * available.

      */ - SourcePortRange?: string; + PasswordData?: string; /** - *

      The destination CIDR block for the transit gateway policy rule.

      + *

      The time the data was last updated.

      */ - DestinationCidrBlock?: string; + Timestamp?: Date; +} +/** + *

      Contains the parameters for GetReservedInstanceExchangeQuote.

      + */ +export interface GetReservedInstancesExchangeQuoteRequest { /** - *

      The port range for the transit gateway policy rule. Currently this is set to * (all).

      + *

      Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

      */ - DestinationPortRange?: string; + DryRun?: boolean; /** - *

      The protocol used by the transit gateway policy rule.

      + *

      The IDs of the Convertible Reserved Instances to exchange.

      */ - Protocol?: string; + ReservedInstanceIds: string[] | undefined; /** - *

      The meta data tags used for the transit gateway policy rule.

      + *

      The configuration of the target Convertible Reserved Instance to exchange for your + * current Convertible Reserved Instances.

      */ - MetaData?: TransitGatewayPolicyRuleMetaData; + TargetConfigurations?: TargetConfigurationRequest[]; } /** - *

      Describes a transit gateway policy table entry

      + *

      The cost associated with the Reserved Instance.

      */ -export interface TransitGatewayPolicyTableEntry { +export interface ReservationValue { /** - *

      The rule number for the transit gateway policy table entry.

      + *

      The hourly rate of the reservation.

      */ - PolicyRuleNumber?: string; + HourlyPrice?: string; /** - *

      The policy rule associated with the transit gateway policy table.

      + *

      The balance of the total value (the sum of remainingUpfrontValue + hourlyPrice * number of hours remaining).

      */ - PolicyRule?: TransitGatewayPolicyRule; + RemainingTotalValue?: string; /** - *

      The ID of the target route table.

      + *

      The remaining upfront cost of the reservation.

      */ - TargetRouteTableId?: string; + RemainingUpfrontValue?: string; } -export interface GetTransitGatewayPolicyTableEntriesResult { +/** + *

      The total value of the Convertible Reserved Instance.

      + */ +export interface ReservedInstanceReservationValue { /** - *

      The entries for the transit gateway policy table.

      + *

      The total value of the Convertible Reserved Instance that you are exchanging.

      */ - TransitGatewayPolicyTableEntries?: TransitGatewayPolicyTableEntry[]; -} + ReservationValue?: ReservationValue; -export interface GetTransitGatewayPrefixListReferencesRequest { /** - *

      The ID of the transit gateway route table.

      + *

      The ID of the Convertible Reserved Instance that you are exchanging.

      */ - TransitGatewayRouteTableId: string | undefined; + ReservedInstanceId?: string; +} - /** - *

      One or more filters. The possible values are:

      - *
        - *
      • - *

        - * attachment.resource-id - The ID of the resource for the attachment.

        - *
      • - *
      • - *

        - * attachment.resource-type - The type of resource for the - * attachment. Valid values are vpc | vpn | - * direct-connect-gateway | peering.

        - *
      • - *
      • - *

        - * attachment.transit-gateway-attachment-id - The ID of the attachment.

        - *
      • - *
      • - *

        - * is-blackhole - Whether traffic matching the route is blocked (true | false).

        - *
      • - *
      • - *

        - * prefix-list-id - The ID of the prefix list.

        - *
      • - *
      • - *

        - * prefix-list-owner-id - The ID of the owner of the prefix list.

        - *
      • - *
      • - *

        - * state - The state of the prefix list reference (pending | available | modifying | deleting).

        - *
      • - *
      +/** + *

      Information about the Convertible Reserved Instance offering.

      + */ +export interface TargetConfiguration { + /** + *

      The number of instances the Convertible Reserved Instance offering can be applied to. This parameter is + * reserved and cannot be specified in a request

      */ - Filters?: Filter[]; + InstanceCount?: number; /** - *

      The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

      + *

      The ID of the Convertible Reserved Instance offering.

      */ - MaxResults?: number; + OfferingId?: string; +} +/** + *

      The total value of the new Convertible Reserved Instances.

      + */ +export interface TargetReservationValue { /** - *

      The token for the next page of results.

      + *

      The total value of the Convertible Reserved Instances that make up the exchange. This is the sum of + * the list value, remaining upfront price, and additional upfront cost of the exchange.

      */ - NextToken?: string; + ReservationValue?: ReservationValue; /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      + *

      The configuration of the Convertible Reserved Instances that make up the exchange.

      */ - DryRun?: boolean; + TargetConfiguration?: TargetConfiguration; } -export interface GetTransitGatewayPrefixListReferencesResult { +/** + *

      Contains the output of GetReservedInstancesExchangeQuote.

      + */ +export interface GetReservedInstancesExchangeQuoteResult { /** - *

      Information about the prefix list references.

      + *

      The currency of the transaction.

      */ - TransitGatewayPrefixListReferences?: TransitGatewayPrefixListReference[]; + CurrencyCode?: string; /** - *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      + *

      If true, the exchange is valid. If false, the exchange cannot be completed.

      */ - NextToken?: string; -} + IsValidExchange?: boolean; -export interface GetTransitGatewayRouteTableAssociationsRequest { /** - *

      The ID of the transit gateway route table.

      + *

      The new end date of the reservation term.

      */ - TransitGatewayRouteTableId: string | undefined; + OutputReservedInstancesWillExpireAt?: Date; /** - *

      One or more filters. The possible values are:

      - *
        - *
      • - *

        - * resource-id - The ID of the resource.

        - *
      • - *
      • - *

        - * resource-type - The resource type. Valid values are vpc - * | vpn | direct-connect-gateway | peering - * | connect.

        - *
      • - *
      • - *

        - * transit-gateway-attachment-id - The ID of the attachment.

        - *
      • - *
      + *

      The total true upfront charge for the exchange.

      */ - Filters?: Filter[]; + PaymentDue?: string; /** - *

      The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

      + *

      The cost associated with the Reserved Instance.

      */ - MaxResults?: number; + ReservedInstanceValueRollup?: ReservationValue; /** - *

      The token for the next page of results.

      + *

      The configuration of your Convertible Reserved Instances.

      */ - NextToken?: string; + ReservedInstanceValueSet?: ReservedInstanceReservationValue[]; /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      + *

      The cost associated with the Reserved Instance.

      */ - DryRun?: boolean; -} + TargetConfigurationValueRollup?: ReservationValue; -/** - *

      Describes an association between a route table and a resource attachment.

      - */ -export interface TransitGatewayRouteTableAssociation { /** - *

      The ID of the attachment.

      + *

      The values of the target Convertible Reserved Instances.

      */ - TransitGatewayAttachmentId?: string; + TargetConfigurationValueSet?: TargetReservationValue[]; /** - *

      The ID of the resource.

      + *

      Describes the reason why the exchange cannot be completed.

      */ - ResourceId?: string; + ValidationFailureReason?: string; +} +export interface GetSerialConsoleAccessStatusRequest { /** - *

      The resource type. Note that the tgw-peering resource type has been deprecated.

      + *

      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

      */ - ResourceType?: TransitGatewayAttachmentResourceType | string; + DryRun?: boolean; +} +export interface GetSerialConsoleAccessStatusResult { /** - *

      The state of the association.

      + *

      If true, access to the EC2 serial console of all instances is enabled for + * your account. If false, access to the EC2 serial console of all instances + * is disabled for your account.

      */ - State?: TransitGatewayAssociationState | string; + SerialConsoleAccessEnabled?: boolean; } -export interface GetTransitGatewayRouteTableAssociationsResult { +/** + *

      The architecture type, virtualization type, and other attributes for the instance types. + * When you specify instance attributes, Amazon EC2 will identify instance types with those + * attributes.

      + *

      If you specify InstanceRequirementsWithMetadataRequest, you can't specify + * InstanceTypes.

      + */ +export interface InstanceRequirementsWithMetadataRequest { /** - *

      Information about the associations.

      + *

      The architecture type.

      */ - Associations?: TransitGatewayRouteTableAssociation[]; + ArchitectureTypes?: (ArchitectureType | string)[]; /** - *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      + *

      The virtualization type.

      */ - NextToken?: string; -} + VirtualizationTypes?: (VirtualizationType | string)[]; -export interface GetTransitGatewayRouteTablePropagationsRequest { /** - *

      The ID of the transit gateway route table.

      + *

      The attributes for the instance types. When you specify instance attributes, Amazon EC2 will + * identify instance types with those attributes.

      */ - TransitGatewayRouteTableId: string | undefined; + InstanceRequirements?: InstanceRequirementsRequest; +} +export interface GetSpotPlacementScoresRequest { /** - *

      One or more filters. The possible values are:

      - *
        - *
      • - *

        - * resource-id - The ID of the resource.

        - *
      • - *
      • - *

        - * resource-type - The resource type. Valid values are vpc - * | vpn | direct-connect-gateway | peering - * | connect.

        - *
      • - *
      • - *

        - * transit-gateway-attachment-id - The ID of the attachment.

        - *
      • - *
      + *

      The instance types. We recommend that you specify at least three instance types. If you + * specify one or two instance types, or specify variations of a single instance type (for + * example, an m3.xlarge with and without instance storage), the returned + * placement score will always be low.

      + *

      If you specify InstanceTypes, you can't specify + * InstanceRequirementsWithMetadata.

      */ - Filters?: Filter[]; + InstanceTypes?: string[]; /** - *

      The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

      + *

      The target capacity.

      */ - MaxResults?: number; + TargetCapacity: number | undefined; /** - *

      The token for the next page of results.

      + *

      The unit for the target capacity.

      + *

      Default: units (translates to number of instances)

      */ - NextToken?: string; + TargetCapacityUnitType?: TargetCapacityUnitType | string; /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      + *

      Specify true so that the response returns a list of scored Availability Zones. + * Otherwise, the response returns a list of scored Regions.

      + *

      A list of scored Availability Zones is useful if you want to launch all of your Spot + * capacity into a single Availability Zone.

      */ - DryRun?: boolean; -} + SingleAvailabilityZone?: boolean; -/** - *

      Describes a route table propagation.

      - */ -export interface TransitGatewayRouteTablePropagation { /** - *

      The ID of the attachment.

      + *

      The Regions used to narrow down the list of Regions to be scored. Enter the Region code, + * for example, us-east-1.

      */ - TransitGatewayAttachmentId?: string; + RegionNames?: string[]; /** - *

      The ID of the resource.

      + *

      The attributes for the instance types. When you specify instance attributes, Amazon EC2 will + * identify instance types with those attributes.

      + *

      If you specify InstanceRequirementsWithMetadata, you can't specify + * InstanceTypes.

      */ - ResourceId?: string; + InstanceRequirementsWithMetadata?: InstanceRequirementsWithMetadataRequest; /** - *

      The type of resource. Note that the tgw-peering resource type has been deprecated.

      + *

      Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

      */ - ResourceType?: TransitGatewayAttachmentResourceType | string; + DryRun?: boolean; /** - *

      The state of the resource.

      + *

      The maximum number of results to return in a single call. Specify a value between 1 and + * 1000. The default value is 1000. To retrieve the remaining results, make another call with + * the returned NextToken value.

      */ - State?: TransitGatewayPropagationState | string; + MaxResults?: number; /** - *

      The ID of the transit gateway route table announcement.

      + *

      The token for the next set of results.

      */ - TransitGatewayRouteTableAnnouncementId?: string; + NextToken?: string; } -export interface GetTransitGatewayRouteTablePropagationsResult { +/** + *

      The Spot placement score for this Region or Availability Zone. The score is calculated + * based on the assumption that the capacity-optimized allocation strategy is + * used and that all of the Availability Zones in the Region can be used.

      + */ +export interface SpotPlacementScore { /** - *

      Information about the route table propagations.

      + *

      The Region.

      */ - TransitGatewayRouteTablePropagations?: TransitGatewayRouteTablePropagation[]; + Region?: string; /** - *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      + *

      The Availability Zone.

      */ - NextToken?: string; + AvailabilityZoneId?: string; + + /** + *

      The placement score, on a scale from 1 to 10. A score of + * 10 indicates that your Spot request is highly likely to succeed in this + * Region or Availability Zone. A score of 1 indicates that your Spot request is + * not likely to succeed.

      + */ + Score?: number; } -export interface GetVerifiedAccessEndpointPolicyRequest { +export interface GetSpotPlacementScoresResult { /** - *

      The ID of the Amazon Web Services Verified Access endpoint.

      + *

      The Spot placement score for the top 10 Regions or Availability Zones, scored on a scale + * from 1 to 10. Each score
 reflects how likely it is that each Region or Availability Zone + * will succeed at fulfilling the specified target capacity
 at the time of the Spot + * placement score request. A score of 10 means that your Spot + * capacity request is highly likely to succeed in that Region or Availability Zone.

      + *

      If you request a Spot placement score for Regions, a high score assumes that your fleet + * request will be configured to use all Availability Zones and the + * capacity-optimized allocation strategy. If you request a Spot placement + * score for Availability Zones, a high score assumes that your fleet request will be + * configured to use a single Availability Zone and the capacity-optimized + * allocation strategy.

      + *

      Different
 Regions or Availability Zones might return the same score.

      + * + *

      The Spot placement score serves as a recommendation only. No score guarantees that your + * Spot request will be fully or partially fulfilled.

      + *
      */ - VerifiedAccessEndpointId: string | undefined; + SpotPlacementScores?: SpotPlacementScore[]; /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      + *

      The token for the next set of results.

      */ - DryRun?: boolean; + NextToken?: string; } -export interface GetVerifiedAccessEndpointPolicyResult { - /** - *

      The status of the Verified Access policy.

      - */ - PolicyEnabled?: boolean; - +export interface GetSubnetCidrReservationsRequest { /** - *

      The Amazon Web Services Verified Access policy document.

      + *

      One or more filters.

      + *
        + *
      • + *

        + * reservationType - The type of reservation (prefix | + * explicit).

        + *
      • + *
      • + *

        + * subnet-id - The ID of the subnet.

        + *
      • + *
      • + *

        + * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. + * For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

        + *
      • + *
      • + *

        + * tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

        + *
      • + *
      */ - PolicyDocument?: string; -} + Filters?: Filter[]; -export interface GetVerifiedAccessGroupPolicyRequest { /** - *

      The ID of the Amazon Web Services Verified Access group.

      + *

      The ID of the subnet.

      */ - VerifiedAccessGroupId: string | undefined; + SubnetId: string | undefined; /** *

      Checks whether you have the required permissions for the action, without actually making the request, @@ -4939,271 +5060,258 @@ export interface GetVerifiedAccessGroupPolicyRequest { * Otherwise, it is UnauthorizedOperation.

      */ DryRun?: boolean; -} -export interface GetVerifiedAccessGroupPolicyResult { /** - *

      The status of the Verified Access policy.

      + *

      The token for the next page of results.

      */ - PolicyEnabled?: boolean; + NextToken?: string; /** - *

      The Amazon Web Services Verified Access policy document.

      + *

      The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

      */ - PolicyDocument?: string; + MaxResults?: number; } -export interface GetVpnConnectionDeviceSampleConfigurationRequest { +export interface GetSubnetCidrReservationsResult { /** - *

      The VpnConnectionId specifies the Site-to-Site VPN connection used for the sample - * configuration.

      + *

      Information about the IPv4 subnet CIDR reservations.

      */ - VpnConnectionId: string | undefined; + SubnetIpv4CidrReservations?: SubnetCidrReservation[]; /** - *

      Device identifier provided by the GetVpnConnectionDeviceTypes API.

      + *

      Information about the IPv6 subnet CIDR reservations.

      */ - VpnConnectionDeviceTypeId: string | undefined; + SubnetIpv6CidrReservations?: SubnetCidrReservation[]; /** - *

      The IKE version to be used in the sample configuration file for your customer gateway - * device. You can specify one of the following versions: ikev1 or - * ikev2.

      + *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      */ - InternetKeyExchangeVersion?: string; + NextToken?: string; +} +export interface GetTransitGatewayAttachmentPropagationsRequest { /** - *

      Checks whether you have the required permissions for the action, without actually - * making the request, and provides an error response. If you have the required - * permissions, the error response is DryRunOperation. Otherwise, it is - * UnauthorizedOperation.

      + *

      The ID of the attachment.

      */ - DryRun?: boolean; -} + TransitGatewayAttachmentId: string | undefined; -export interface GetVpnConnectionDeviceSampleConfigurationResult { /** - *

      Sample configuration file for the specified customer gateway device.

      + *

      One or more filters. The possible values are:

      + *
        + *
      • + *

        + * transit-gateway-route-table-id - The ID of the transit gateway route table.

        + *
      • + *
      */ - VpnConnectionDeviceSampleConfiguration?: string; -} + Filters?: Filter[]; -export interface GetVpnConnectionDeviceTypesRequest { /** - *

      The maximum number of results returned by GetVpnConnectionDeviceTypes in - * paginated output. When this parameter is used, GetVpnConnectionDeviceTypes - * only returns MaxResults results in a single page along with a - * NextToken response element. The remaining results of the initial - * request can be seen by sending another GetVpnConnectionDeviceTypes request - * with the returned NextToken value. This value can be between 200 and 1000. - * If this parameter is not used, then GetVpnConnectionDeviceTypes returns all - * results.

      + *

      The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

      */ MaxResults?: number; /** - *

      The NextToken value returned from a previous paginated - * GetVpnConnectionDeviceTypes request where MaxResults was - * used and the results exceeded the value of that parameter. Pagination continues from the - * end of the previous results that returned the NextToken value. This value - * is null when there are no more results to return.

      + *

      The token for the next page of results.

      */ NextToken?: string; /** - *

      Checks whether you have the required permissions for the action, without actually - * making the request, and provides an error response. If you have the required - * permissions, the error response is DryRunOperation. Otherwise, it is - * UnauthorizedOperation.

      + *

      Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

      */ DryRun?: boolean; } /** - *

      List of customer gateway devices that have a sample configuration file available for - * use. You can also see the list of device types with sample configuration files available - * under Your customer - * gateway device in the Amazon Web Services Site-to-Site VPN User Guide.

      + *

      Describes a propagation route table.

      */ -export interface VpnConnectionDeviceType { +export interface TransitGatewayAttachmentPropagation { /** - *

      Customer gateway device identifier.

      + *

      The ID of the propagation route table.

      */ - VpnConnectionDeviceTypeId?: string; + TransitGatewayRouteTableId?: string; /** - *

      Customer gateway device vendor.

      + *

      The state of the propagation route table.

      */ - Vendor?: string; + State?: TransitGatewayPropagationState | string; +} +export interface GetTransitGatewayAttachmentPropagationsResult { /** - *

      Customer gateway device platform.

      + *

      Information about the propagation route tables.

      */ - Platform?: string; + TransitGatewayAttachmentPropagations?: TransitGatewayAttachmentPropagation[]; /** - *

      Customer gateway device software version.

      + *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      */ - Software?: string; + NextToken?: string; } -export interface GetVpnConnectionDeviceTypesResult { +export interface GetTransitGatewayMulticastDomainAssociationsRequest { /** - *

      List of customer gateway devices that have a sample configuration file available for - * use.

      + *

      The ID of the transit gateway multicast domain.

      */ - VpnConnectionDeviceTypes?: VpnConnectionDeviceType[]; + TransitGatewayMulticastDomainId?: string; /** - *

      The NextToken value to include in a future - * GetVpnConnectionDeviceTypes request. When the results of a - * GetVpnConnectionDeviceTypes request exceed MaxResults, - * this value can be used to retrieve the next page of results. This value is null when - * there are no more results to return.

      + *

      One or more filters. The possible values are:

      + *
        + *
      • + *

        + * resource-id - The ID of the resource.

        + *
      • + *
      • + *

        + * resource-type - The type of resource. The valid value is: vpc.

        + *
      • + *
      • + *

        + * state - The state of the subnet association. Valid values are + * associated | associating | + * disassociated | disassociating.

        + *
      • + *
      • + *

        + * subnet-id - The ID of the subnet.

        + *
      • + *
      • + *

        + * transit-gateway-attachment-id - The id of the transit gateway attachment.

        + *
      • + *
      */ - NextToken?: string; -} + Filters?: Filter[]; -export interface ImportClientVpnClientCertificateRevocationListRequest { /** - *

      The ID of the Client VPN endpoint to which the client certificate revocation list applies.

      + *

      The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

      */ - ClientVpnEndpointId: string | undefined; + MaxResults?: number; /** - *

      The client certificate revocation list file. For more information, see Generate a Client Certificate Revocation List in the - * Client VPN Administrator Guide.

      + *

      The token for the next page of results.

      */ - CertificateRevocationList: string | undefined; + NextToken?: string; /** - *

      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

      + *

      Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

      */ DryRun?: boolean; } -export interface ImportClientVpnClientCertificateRevocationListResult { - /** - *

      Returns true if the request succeeds; otherwise, it returns an error.

      - */ - Return?: boolean; -} - /** - *

      Describes the client-specific data.

      + *

      Describes the resources associated with the transit gateway multicast domain.

      */ -export interface ClientData { +export interface TransitGatewayMulticastDomainAssociation { /** - *

      A user-defined comment about the disk upload.

      + *

      The ID of the transit gateway attachment.

      */ - Comment?: string; + TransitGatewayAttachmentId?: string; /** - *

      The time that the disk upload ends.

      + *

      The ID of the resource.

      */ - UploadEnd?: Date; + ResourceId?: string; /** - *

      The size of the uploaded disk image, in GiB.

      + *

      The type of resource, for example a VPC attachment.

      */ - UploadSize?: number; + ResourceType?: TransitGatewayAttachmentResourceType | string; /** - *

      The time that the disk upload starts.

      + *

      The ID of the Amazon Web Services account that owns the transit gateway multicast domain association resource.

      */ - UploadStart?: Date; -} + ResourceOwnerId?: string; -/** - *

      Describes the Amazon S3 bucket for the disk image.

      - */ -export interface UserBucket { /** - *

      The name of the Amazon S3 bucket where the disk image is located.

      + *

      The subnet associated with the transit gateway multicast domain.

      */ - S3Bucket?: string; + Subnet?: SubnetAssociation; +} +export interface GetTransitGatewayMulticastDomainAssociationsResult { /** - *

      The file name of the disk image.

      + *

      Information about the multicast domain associations.

      */ - S3Key?: string; -} + MulticastDomainAssociations?: TransitGatewayMulticastDomainAssociation[]; -/** - *

      Describes the disk container object for an import image task.

      - */ -export interface ImageDiskContainer { /** - *

      The description of the disk image.

      + *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      */ - Description?: string; + NextToken?: string; +} +export interface GetTransitGatewayPolicyTableAssociationsRequest { /** - *

      The block device mapping for the disk.

      + *

      The ID of the transit gateway policy table.

      */ - DeviceName?: string; + TransitGatewayPolicyTableId: string | undefined; /** - *

      The format of the disk image being imported.

      - *

      Valid values: OVA | VHD | VHDX | VMDK | RAW - *

      + *

      The filters associated with the transit gateway policy table.

      */ - Format?: string; + Filters?: Filter[]; /** - *

      The ID of the EBS snapshot to be used for importing the snapshot.

      + *

      The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

      */ - SnapshotId?: string; + MaxResults?: number; /** - *

      The URL to the Amazon S3-based disk image being imported. The URL can either be a https URL (https://..) or an - * Amazon S3 URL (s3://..)

      + *

      The token for the next page of results.

      */ - Url?: string; + NextToken?: string; /** - *

      The S3 bucket for the disk image.

      + *

      Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

      */ - UserBucket?: UserBucket; + DryRun?: boolean; } -/** - *

      The request information of license configurations.

      - */ -export interface ImportImageLicenseConfigurationRequest { +export interface GetTransitGatewayPolicyTableAssociationsResult { /** - *

      The ARN of a license configuration.

      + *

      Returns details about the transit gateway policy table association.

      */ - LicenseConfigurationArn?: string; -} + Associations?: TransitGatewayPolicyTableAssociation[]; -export interface ImportImageRequest { /** - *

      The architecture of the virtual machine.

      - *

      Valid values: i386 | x86_64 - *

      + *

      The token for the next page of results.

      */ - Architecture?: string; + NextToken?: string; +} +export interface GetTransitGatewayPolicyTableEntriesRequest { /** - *

      The client-specific data.

      + *

      The ID of the transit gateway policy table.

      */ - ClientData?: ClientData; + TransitGatewayPolicyTableId: string | undefined; /** - *

      The token to enable idempotency for VM import requests.

      + *

      The filters associated with the transit gateway policy table.

      */ - ClientToken?: string; + Filters?: Filter[]; /** - *

      A description string for the import image task.

      + *

      The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

      */ - Description?: string; + MaxResults?: number; /** - *

      Information about the disk containers.

      + *

      The token for the next page of results.

      */ - DiskContainers?: ImageDiskContainer[]; + NextToken?: string; /** *

      Checks whether you have the required permissions for the action, without actually making the request, @@ -5211,313 +5319,335 @@ export interface ImportImageRequest { * Otherwise, it is UnauthorizedOperation.

      */ DryRun?: boolean; +} +/** + *

      Describes the meta data tags associated with a transit gateway policy rule.

      + */ +export interface TransitGatewayPolicyRuleMetaData { /** - *

      Specifies whether the destination AMI of the imported image should be encrypted. The default KMS key for EBS is used - * unless you specify a non-default KMS key using KmsKeyId. For more information, see Amazon EBS Encryption in the - * Amazon Elastic Compute Cloud User Guide.

      - */ - Encrypted?: boolean; - - /** - *

      The target hypervisor platform.

      - *

      Valid values: xen - *

      - */ - Hypervisor?: string; - - /** - *

      An identifier for the symmetric KMS key to use when creating the - * encrypted AMI. This parameter is only required if you want to use a non-default KMS key; if this - * parameter is not specified, the default KMS key for EBS is used. If a KmsKeyId is - * specified, the Encrypted flag must also be set.

      - *

      The KMS key identifier may be provided in any of the following formats:

      - *
        - *
      • - *

        Key ID

        - *
      • - *
      • - *

        Key alias. The alias ARN contains the arn:aws:kms namespace, followed by the Region of the key, the Amazon Web Services account ID of the key owner, the alias namespace, and then the key alias. For example, arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.

        - *
      • - *
      • - *

        ARN using key ID. The ID ARN contains the arn:aws:kms namespace, followed by the Region of the key, the Amazon Web Services account ID of the key owner, the key namespace, and then the key ID. For example, arn:aws:kms:us-east-1:012345678910:key/abcd1234-a123-456a-a12b-a123b4cd56ef.

        - *
      • - *
      • - *

        ARN using key alias. The alias ARN contains the arn:aws:kms namespace, followed by the Region of the key, the Amazon Web Services account ID of the key owner, the alias namespace, and then the key alias. For example, arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.

        - *
      • - *
      - *

      Amazon Web Services parses KmsKeyId asynchronously, meaning that the action you call may appear to complete even - * though you provided an invalid identifier. This action will eventually report failure.

      - *

      The specified KMS key must exist in the Region that the AMI is being copied to.

      - *

      Amazon EBS does not support asymmetric KMS keys.

      + *

      The key name for the transit gateway policy rule meta data tag.

      */ - KmsKeyId?: string; + MetaDataKey?: string; /** - *

      The license type to be used for the Amazon Machine Image (AMI) after importing.

      - *

      Specify AWS to replace the source-system license with an Amazon Web Services - * license or BYOL to retain the source-system license. Leaving this parameter - * undefined is the same as choosing AWS when importing a Windows Server operating - * system, and the same as choosing BYOL when importing a Windows client operating - * system (such as Windows 10) or a Linux operating system.

      - *

      To use BYOL, you must have existing licenses with rights to use these licenses in a third party - * cloud, such as Amazon Web Services. For more information, see Prerequisites in the - * VM Import/Export User Guide.

      + *

      The value of the key for the transit gateway policy rule meta data tag.

      */ - LicenseType?: string; + MetaDataValue?: string; +} +/** + *

      Describes a rule associated with a transit gateway policy.

      + */ +export interface TransitGatewayPolicyRule { /** - *

      The operating system of the virtual machine.

      - *

      Valid values: Windows | Linux - *

      + *

      The source CIDR block for the transit gateway policy rule.

      */ - Platform?: string; + SourceCidrBlock?: string; /** - *

      The name of the role to use when not using the default role, 'vmimport'.

      + *

      The port range for the transit gateway policy rule. Currently this is set to * (all).

      */ - RoleName?: string; + SourcePortRange?: string; /** - *

      The ARNs of the license configurations.

      + *

      The destination CIDR block for the transit gateway policy rule.

      */ - LicenseSpecifications?: ImportImageLicenseConfigurationRequest[]; + DestinationCidrBlock?: string; /** - *

      The tags to apply to the import image task during creation.

      + *

      The port range for the transit gateway policy rule. Currently this is set to * (all).

      */ - TagSpecifications?: TagSpecification[]; + DestinationPortRange?: string; /** - *

      The usage operation value. For more information, see Licensing options in the VM Import/Export User Guide.

      + *

      The protocol used by the transit gateway policy rule.

      */ - UsageOperation?: string; + Protocol?: string; /** - *

      The boot mode of the virtual machine.

      + *

      The meta data tags used for the transit gateway policy rule.

      */ - BootMode?: BootModeValues | string; + MetaData?: TransitGatewayPolicyRuleMetaData; } -export interface ImportImageResult { +/** + *

      Describes a transit gateway policy table entry

      + */ +export interface TransitGatewayPolicyTableEntry { /** - *

      The architecture of the virtual machine.

      + *

      The rule number for the transit gateway policy table entry.

      */ - Architecture?: string; + PolicyRuleNumber?: string; /** - *

      A description of the import task.

      + *

      The policy rule associated with the transit gateway policy table.

      */ - Description?: string; + PolicyRule?: TransitGatewayPolicyRule; /** - *

      Indicates whether the AMI is encrypted.

      + *

      The ID of the target route table.

      */ - Encrypted?: boolean; + TargetRouteTableId?: string; +} +export interface GetTransitGatewayPolicyTableEntriesResult { /** - *

      The target hypervisor of the import task.

      + *

      The entries for the transit gateway policy table.

      */ - Hypervisor?: string; + TransitGatewayPolicyTableEntries?: TransitGatewayPolicyTableEntry[]; +} +export interface GetTransitGatewayPrefixListReferencesRequest { /** - *

      The ID of the Amazon Machine Image (AMI) created by the import task.

      + *

      The ID of the transit gateway route table.

      */ - ImageId?: string; + TransitGatewayRouteTableId: string | undefined; /** - *

      The task ID of the import image task.

      + *

      One or more filters. The possible values are:

      + *
        + *
      • + *

        + * attachment.resource-id - The ID of the resource for the attachment.

        + *
      • + *
      • + *

        + * attachment.resource-type - The type of resource for the + * attachment. Valid values are vpc | vpn | + * direct-connect-gateway | peering.

        + *
      • + *
      • + *

        + * attachment.transit-gateway-attachment-id - The ID of the attachment.

        + *
      • + *
      • + *

        + * is-blackhole - Whether traffic matching the route is blocked (true | false).

        + *
      • + *
      • + *

        + * prefix-list-id - The ID of the prefix list.

        + *
      • + *
      • + *

        + * prefix-list-owner-id - The ID of the owner of the prefix list.

        + *
      • + *
      • + *

        + * state - The state of the prefix list reference (pending | available | modifying | deleting).

        + *
      • + *
      */ - ImportTaskId?: string; + Filters?: Filter[]; /** - *

      The identifier for the symmetric KMS key that was used to create the encrypted AMI.

      + *

      The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

      */ - KmsKeyId?: string; + MaxResults?: number; /** - *

      The license type of the virtual machine.

      + *

      The token for the next page of results.

      */ - LicenseType?: string; + NextToken?: string; /** - *

      The operating system of the virtual machine.

      + *

      Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

      */ - Platform?: string; + DryRun?: boolean; +} +export interface GetTransitGatewayPrefixListReferencesResult { /** - *

      The progress of the task.

      + *

      Information about the prefix list references.

      */ - Progress?: string; + TransitGatewayPrefixListReferences?: TransitGatewayPrefixListReference[]; /** - *

      Information about the snapshots.

      + *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      */ - SnapshotDetails?: SnapshotDetail[]; + NextToken?: string; +} +export interface GetTransitGatewayRouteTableAssociationsRequest { /** - *

      A brief status of the task.

      + *

      The ID of the transit gateway route table.

      */ - Status?: string; + TransitGatewayRouteTableId: string | undefined; /** - *

      A detailed status message of the import task.

      + *

      One or more filters. The possible values are:

      + *
        + *
      • + *

        + * resource-id - The ID of the resource.

        + *
      • + *
      • + *

        + * resource-type - The resource type. Valid values are vpc + * | vpn | direct-connect-gateway | peering + * | connect.

        + *
      • + *
      • + *

        + * transit-gateway-attachment-id - The ID of the attachment.

        + *
      • + *
      */ - StatusMessage?: string; + Filters?: Filter[]; /** - *

      The ARNs of the license configurations.

      + *

      The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

      */ - LicenseSpecifications?: ImportImageLicenseConfigurationResponse[]; + MaxResults?: number; /** - *

      Any tags assigned to the import image task.

      + *

      The token for the next page of results.

      */ - Tags?: Tag[]; + NextToken?: string; /** - *

      The usage operation value.

      + *

      Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

      */ - UsageOperation?: string; + DryRun?: boolean; } /** - *

      Describes a disk image.

      + *

      Describes an association between a route table and a resource attachment.

      */ -export interface DiskImageDetail { +export interface TransitGatewayRouteTableAssociation { /** - *

      The size of the disk image, in GiB.

      + *

      The ID of the attachment.

      */ - Bytes: number | undefined; + TransitGatewayAttachmentId?: string; /** - *

      The disk image format.

      + *

      The ID of the resource.

      */ - Format: DiskImageFormat | string | undefined; + ResourceId?: string; /** - *

      A presigned URL for the import manifest stored in Amazon S3 and presented here as an Amazon S3 presigned URL. - * For information about creating a presigned URL for an Amazon S3 object, read the "Query String Request Authentication - * Alternative" section of the Authenticating REST Requests topic in the Amazon Simple Storage Service Developer - * Guide.

      - *

      For information about the import manifest referenced by this API action, see VM Import Manifest.

      + *

      The resource type. Note that the tgw-peering resource type has been deprecated.

      */ - ImportManifestUrl: string | undefined; -} + ResourceType?: TransitGatewayAttachmentResourceType | string; -/** - *

      Describes an EBS volume.

      - */ -export interface VolumeDetail { /** - *

      The size of the volume, in GiB.

      + *

      The state of the association.

      */ - Size: number | undefined; + State?: TransitGatewayAssociationState | string; } -/** - *

      Describes a disk image.

      - */ -export interface DiskImage { - /** - *

      A description of the disk image.

      - */ - Description?: string; - +export interface GetTransitGatewayRouteTableAssociationsResult { /** - *

      Information about the disk image.

      + *

      Information about the associations.

      */ - Image?: DiskImageDetail; + Associations?: TransitGatewayRouteTableAssociation[]; /** - *

      Information about the volume.

      + *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      */ - Volume?: VolumeDetail; + NextToken?: string; } -/** - *

      Describes the user data for an instance.

      - */ -export interface UserData { +export interface GetTransitGatewayRouteTablePropagationsRequest { /** - *

      The user data. If you are using an Amazon Web Services SDK or command line tool, Base64-encoding is performed for you, and you - * can load the text from a file. Otherwise, you must provide Base64-encoded text.

      + *

      The ID of the transit gateway route table.

      */ - Data?: string; -} + TransitGatewayRouteTableId: string | undefined; -/** - *

      Describes the launch specification for VM import.

      - */ -export interface ImportInstanceLaunchSpecification { /** - *

      Reserved.

      + *

      One or more filters. The possible values are:

      + *
        + *
      • + *

        + * resource-id - The ID of the resource.

        + *
      • + *
      • + *

        + * resource-type - The resource type. Valid values are vpc + * | vpn | direct-connect-gateway | peering + * | connect.

        + *
      • + *
      • + *

        + * transit-gateway-attachment-id - The ID of the attachment.

        + *
      • + *
      */ - AdditionalInfo?: string; + Filters?: Filter[]; /** - *

      The architecture of the instance.

      + *

      The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

      */ - Architecture?: ArchitectureValues | string; + MaxResults?: number; /** - *

      The security group IDs.

      + *

      The token for the next page of results.

      */ - GroupIds?: string[]; + NextToken?: string; /** - *

      The security group names.

      + *

      Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

      */ - GroupNames?: string[]; + DryRun?: boolean; +} +/** + *

      Describes a route table propagation.

      + */ +export interface TransitGatewayRouteTablePropagation { /** - *

      Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the - * operating system command for system shutdown).

      + *

      The ID of the attachment.

      */ - InstanceInitiatedShutdownBehavior?: ShutdownBehavior | string; + TransitGatewayAttachmentId?: string; /** - *

      The instance type. For more information about the instance types that you can import, see Instance Types in the - * VM Import/Export User Guide.

      + *

      The ID of the resource.

      */ - InstanceType?: _InstanceType | string; + ResourceId?: string; /** - *

      Indicates whether monitoring is enabled.

      + *

      The type of resource. Note that the tgw-peering resource type has been deprecated.

      */ - Monitoring?: boolean; + ResourceType?: TransitGatewayAttachmentResourceType | string; /** - *

      The placement information for the instance.

      + *

      The state of the resource.

      */ - Placement?: Placement; + State?: TransitGatewayPropagationState | string; /** - *

      [EC2-VPC] An available IP address from the IP address range of the subnet.

      + *

      The ID of the transit gateway route table announcement.

      */ - PrivateIpAddress?: string; + TransitGatewayRouteTableAnnouncementId?: string; +} +export interface GetTransitGatewayRouteTablePropagationsResult { /** - *

      [EC2-VPC] The ID of the subnet in which to launch the instance.

      + *

      Information about the route table propagations.

      */ - SubnetId?: string; + TransitGatewayRouteTablePropagations?: TransitGatewayRouteTablePropagation[]; /** - *

      The Base64-encoded user data to make available to the instance.

      + *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      */ - UserData?: UserData; + NextToken?: string; } -export interface ImportInstanceRequest { - /** - *

      A description for the instance being imported.

      - */ - Description?: string; - +export interface GetVerifiedAccessEndpointPolicyRequest { /** - *

      The disk image.

      + *

      The ID of the Amazon Web Services Verified Access endpoint.

      */ - DiskImages?: DiskImage[]; + VerifiedAccessEndpointId: string | undefined; /** *

      Checks whether you have the required permissions for the action, without actually making the request, @@ -5525,679 +5655,638 @@ export interface ImportInstanceRequest { * Otherwise, it is UnauthorizedOperation.

      */ DryRun?: boolean; +} +export interface GetVerifiedAccessEndpointPolicyResult { /** - *

      The launch specification.

      + *

      The status of the Verified Access policy.

      */ - LaunchSpecification?: ImportInstanceLaunchSpecification; + PolicyEnabled?: boolean; /** - *

      The instance operating system.

      + *

      The Amazon Web Services Verified Access policy document.

      */ - Platform: PlatformValues | string | undefined; + PolicyDocument?: string; } -export interface ImportInstanceResult { +export interface GetVerifiedAccessGroupPolicyRequest { /** - *

      Information about the conversion task.

      + *

      The ID of the Amazon Web Services Verified Access group.

      */ - ConversionTask?: ConversionTask; -} + VerifiedAccessGroupId: string | undefined; -export interface ImportKeyPairRequest { /** *

      Checks whether you have the required permissions for the action, without actually making the request, * and provides an error response. If you have the required permissions, the error response is DryRunOperation. * Otherwise, it is UnauthorizedOperation.

      */ DryRun?: boolean; +} +export interface GetVerifiedAccessGroupPolicyResult { /** - *

      A unique name for the key pair.

      - */ - KeyName: string | undefined; - - /** - *

      The public key. For API calls, the text must be base64-encoded. For command line tools, base64 encoding is performed for you.

      + *

      The status of the Verified Access policy.

      */ - PublicKeyMaterial: Uint8Array | undefined; + PolicyEnabled?: boolean; /** - *

      The tags to apply to the imported key pair.

      + *

      The Amazon Web Services Verified Access policy document.

      */ - TagSpecifications?: TagSpecification[]; + PolicyDocument?: string; } -export interface ImportKeyPairResult { +export interface GetVpnConnectionDeviceSampleConfigurationRequest { /** - *
        - *
      • - *

        For RSA key pairs, the key fingerprint is the MD5 public key fingerprint as specified in section 4 of RFC 4716.

        - *
      • - *
      • - *

        For ED25519 key pairs, the key fingerprint is the base64-encoded SHA-256 digest, which is the default for OpenSSH, starting with OpenSSH 6.8.

        - *
      • - *
      + *

      The VpnConnectionId specifies the Site-to-Site VPN connection used for the sample + * configuration.

      */ - KeyFingerprint?: string; + VpnConnectionId: string | undefined; /** - *

      The key pair name that you provided.

      + *

      Device identifier provided by the GetVpnConnectionDeviceTypes API.

      */ - KeyName?: string; + VpnConnectionDeviceTypeId: string | undefined; /** - *

      The ID of the resulting key pair.

      + *

      The IKE version to be used in the sample configuration file for your customer gateway + * device. You can specify one of the following versions: ikev1 or + * ikev2.

      */ - KeyPairId?: string; + InternetKeyExchangeVersion?: string; /** - *

      The tags applied to the imported key pair.

      + *

      Checks whether you have the required permissions for the action, without actually + * making the request, and provides an error response. If you have the required + * permissions, the error response is DryRunOperation. Otherwise, it is + * UnauthorizedOperation.

      */ - Tags?: Tag[]; + DryRun?: boolean; } -/** - *

      The disk container object for the import snapshot request.

      - */ -export interface SnapshotDiskContainer { +export interface GetVpnConnectionDeviceSampleConfigurationResult { /** - *

      The description of the disk image being imported.

      + *

      Sample configuration file for the specified customer gateway device.

      */ - Description?: string; + VpnConnectionDeviceSampleConfiguration?: string; +} +export interface GetVpnConnectionDeviceTypesRequest { /** - *

      The format of the disk image being imported.

      - *

      Valid values: VHD | VMDK | RAW - *

      + *

      The maximum number of results returned by GetVpnConnectionDeviceTypes in + * paginated output. When this parameter is used, GetVpnConnectionDeviceTypes + * only returns MaxResults results in a single page along with a + * NextToken response element. The remaining results of the initial + * request can be seen by sending another GetVpnConnectionDeviceTypes request + * with the returned NextToken value. This value can be between 200 and 1000. + * If this parameter is not used, then GetVpnConnectionDeviceTypes returns all + * results.

      */ - Format?: string; + MaxResults?: number; /** - *

      The URL to the Amazon S3-based disk image being imported. It can either be a https URL (https://..) or an Amazon - * S3 URL (s3://..).

      + *

      The NextToken value returned from a previous paginated + * GetVpnConnectionDeviceTypes request where MaxResults was + * used and the results exceeded the value of that parameter. Pagination continues from the + * end of the previous results that returned the NextToken value. This value + * is null when there are no more results to return.

      */ - Url?: string; + NextToken?: string; /** - *

      The Amazon S3 bucket for the disk image.

      + *

      Checks whether you have the required permissions for the action, without actually + * making the request, and provides an error response. If you have the required + * permissions, the error response is DryRunOperation. Otherwise, it is + * UnauthorizedOperation.

      */ - UserBucket?: UserBucket; + DryRun?: boolean; } -export interface ImportSnapshotRequest { +/** + *

      List of customer gateway devices that have a sample configuration file available for + * use. You can also see the list of device types with sample configuration files available + * under Your customer + * gateway device in the Amazon Web Services Site-to-Site VPN User Guide.

      + */ +export interface VpnConnectionDeviceType { /** - *

      The client-specific data.

      + *

      Customer gateway device identifier.

      */ - ClientData?: ClientData; + VpnConnectionDeviceTypeId?: string; /** - *

      Token to enable idempotency for VM import requests.

      + *

      Customer gateway device vendor.

      */ - ClientToken?: string; + Vendor?: string; /** - *

      The description string for the import snapshot task.

      + *

      Customer gateway device platform.

      */ - Description?: string; + Platform?: string; /** - *

      Information about the disk container.

      + *

      Customer gateway device software version.

      */ - DiskContainer?: SnapshotDiskContainer; + Software?: string; +} +export interface GetVpnConnectionDeviceTypesResult { /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      + *

      List of customer gateway devices that have a sample configuration file available for + * use.

      */ - DryRun?: boolean; + VpnConnectionDeviceTypes?: VpnConnectionDeviceType[]; /** - *

      Specifies whether the destination snapshot of the imported image should be encrypted. The default KMS key for EBS is - * used unless you specify a non-default KMS key using KmsKeyId. For more information, see Amazon EBS Encryption in the - * Amazon Elastic Compute Cloud User Guide.

      + *

      The NextToken value to include in a future + * GetVpnConnectionDeviceTypes request. When the results of a + * GetVpnConnectionDeviceTypes request exceed MaxResults, + * this value can be used to retrieve the next page of results. This value is null when + * there are no more results to return.

      */ - Encrypted?: boolean; + NextToken?: string; +} +export interface ImportClientVpnClientCertificateRevocationListRequest { /** - *

      An identifier for the symmetric KMS key to use when creating the - * encrypted snapshot. This parameter is only required if you want to use a non-default KMS key; if this - * parameter is not specified, the default KMS key for EBS is used. If a KmsKeyId is - * specified, the Encrypted flag must also be set.

      - *

      The KMS key identifier may be provided in any of the following formats:

      - *
        - *
      • - *

        Key ID

        - *
      • - *
      • - *

        Key alias. The alias ARN contains the arn:aws:kms namespace, followed by the Region of the key, the Amazon Web Services account ID of the key owner, the alias namespace, and then the key alias. For example, arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.

        - *
      • - *
      • - *

        ARN using key ID. The ID ARN contains the arn:aws:kms namespace, followed by the Region of the key, the Amazon Web Services account ID of the key owner, the key namespace, and then the key ID. For example, arn:aws:kms:us-east-1:012345678910:key/abcd1234-a123-456a-a12b-a123b4cd56ef.

        - *
      • - *
      • - *

        ARN using key alias. The alias ARN contains the arn:aws:kms namespace, followed by the Region of the key, the Amazon Web Services account ID of the key owner, the alias namespace, and then the key alias. For example, arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.

        - *
      • - *
      - *

      Amazon Web Services parses KmsKeyId asynchronously, meaning that the action you call may appear to complete even - * though you provided an invalid identifier. This action will eventually report failure.

      - *

      The specified KMS key must exist in the Region that the snapshot is being copied to.

      - *

      Amazon EBS does not support asymmetric KMS keys.

      + *

      The ID of the Client VPN endpoint to which the client certificate revocation list applies.

      */ - KmsKeyId?: string; + ClientVpnEndpointId: string | undefined; /** - *

      The name of the role to use when not using the default role, 'vmimport'.

      + *

      The client certificate revocation list file. For more information, see Generate a Client Certificate Revocation List in the + * Client VPN Administrator Guide.

      */ - RoleName?: string; + CertificateRevocationList: string | undefined; /** - *

      The tags to apply to the import snapshot task during creation.

      + *

      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

      */ - TagSpecifications?: TagSpecification[]; + DryRun?: boolean; } -export interface ImportSnapshotResult { +export interface ImportClientVpnClientCertificateRevocationListResult { /** - *

      A description of the import snapshot task.

      + *

      Returns true if the request succeeds; otherwise, it returns an error.

      */ - Description?: string; + Return?: boolean; +} +/** + *

      Describes the client-specific data.

      + */ +export interface ClientData { /** - *

      The ID of the import snapshot task.

      + *

      A user-defined comment about the disk upload.

      */ - ImportTaskId?: string; + Comment?: string; /** - *

      Information about the import snapshot task.

      + *

      The time that the disk upload ends.

      */ - SnapshotTaskDetail?: SnapshotTaskDetail; + UploadEnd?: Date; /** - *

      Any tags assigned to the import snapshot task.

      + *

      The size of the uploaded disk image, in GiB.

      */ - Tags?: Tag[]; -} + UploadSize?: number; -export interface ImportVolumeRequest { /** - *

      The Availability Zone for the resulting EBS volume.

      + *

      The time that the disk upload starts.

      */ - AvailabilityZone: string | undefined; + UploadStart?: Date; +} +/** + *

      Describes the Amazon S3 bucket for the disk image.

      + */ +export interface UserBucket { /** - *

      A description of the volume.

      + *

      The name of the Amazon S3 bucket where the disk image is located.

      */ - Description?: string; + S3Bucket?: string; /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      + *

      The file name of the disk image.

      */ - DryRun?: boolean; + S3Key?: string; +} +/** + *

      Describes the disk container object for an import image task.

      + */ +export interface ImageDiskContainer { /** - *

      The disk image.

      + *

      The description of the disk image.

      */ - Image: DiskImageDetail | undefined; + Description?: string; /** - *

      The volume size.

      + *

      The block device mapping for the disk.

      */ - Volume: VolumeDetail | undefined; -} + DeviceName?: string; -export interface ImportVolumeResult { /** - *

      Information about the conversion task.

      + *

      The format of the disk image being imported.

      + *

      Valid values: OVA | VHD | VHDX | VMDK | RAW + *

      */ - ConversionTask?: ConversionTask; -} + Format?: string; -export interface ListImagesInRecycleBinRequest { /** - *

      The IDs of the AMIs to list. Omit this parameter to list all of the AMIs that - * are in the Recycle Bin. You can specify up to 20 IDs in a single request.

      + *

      The ID of the EBS snapshot to be used for importing the snapshot.

      */ - ImageIds?: string[]; + SnapshotId?: string; /** - *

      The token for the next page of results.

      + *

      The URL to the Amazon S3-based disk image being imported. The URL can either be a https URL (https://..) or an + * Amazon S3 URL (s3://..)

      */ - NextToken?: string; + Url?: string; /** - *

      The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

      - *

      If you do not specify a value for MaxResults, the request - * returns 1,000 items per page by default. For more information, see - * - * Pagination.

      + *

      The S3 bucket for the disk image.

      */ - MaxResults?: number; + UserBucket?: UserBucket; +} +/** + *

      The request information of license configurations.

      + */ +export interface ImportImageLicenseConfigurationRequest { /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is - * DryRunOperation. Otherwise, it is UnauthorizedOperation.

      + *

      The ARN of a license configuration.

      */ - DryRun?: boolean; + LicenseConfigurationArn?: string; } -/** - *

      Information about an AMI that is currently in the Recycle Bin.

      - */ -export interface ImageRecycleBinInfo { +export interface ImportImageRequest { /** - *

      The ID of the AMI.

      + *

      The architecture of the virtual machine.

      + *

      Valid values: i386 | x86_64 + *

      */ - ImageId?: string; + Architecture?: string; /** - *

      The name of the AMI.

      + *

      The client-specific data.

      */ - Name?: string; + ClientData?: ClientData; /** - *

      The description of the AMI.

      + *

      The token to enable idempotency for VM import requests.

      */ - Description?: string; + ClientToken?: string; /** - *

      The date and time when the AMI entered the Recycle Bin.

      + *

      A description string for the import image task.

      */ - RecycleBinEnterTime?: Date; + Description?: string; /** - *

      The date and time when the AMI is to be permanently deleted from the Recycle Bin.

      + *

      Information about the disk containers.

      */ - RecycleBinExitTime?: Date; -} + DiskContainers?: ImageDiskContainer[]; -export interface ListImagesInRecycleBinResult { /** - *

      Information about the AMIs.

      + *

      Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

      */ - Images?: ImageRecycleBinInfo[]; + DryRun?: boolean; /** - *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      + *

      Specifies whether the destination AMI of the imported image should be encrypted. The default KMS key for EBS is used + * unless you specify a non-default KMS key using KmsKeyId. For more information, see Amazon EBS Encryption in the + * Amazon Elastic Compute Cloud User Guide.

      */ - NextToken?: string; -} + Encrypted?: boolean; -export interface ListSnapshotsInRecycleBinRequest { /** - *

      The maximum number of results to return with a single call. - * To retrieve the remaining results, make another call with the returned nextToken value.

      + *

      The target hypervisor platform.

      + *

      Valid values: xen + *

      */ - MaxResults?: number; + Hypervisor?: string; /** - *

      The token for the next page of results.

      + *

      An identifier for the symmetric KMS key to use when creating the + * encrypted AMI. This parameter is only required if you want to use a non-default KMS key; if this + * parameter is not specified, the default KMS key for EBS is used. If a KmsKeyId is + * specified, the Encrypted flag must also be set.

      + *

      The KMS key identifier may be provided in any of the following formats:

      + *
        + *
      • + *

        Key ID

        + *
      • + *
      • + *

        Key alias. The alias ARN contains the arn:aws:kms namespace, followed by the Region of the key, the Amazon Web Services account ID of the key owner, the alias namespace, and then the key alias. For example, arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.

        + *
      • + *
      • + *

        ARN using key ID. The ID ARN contains the arn:aws:kms namespace, followed by the Region of the key, the Amazon Web Services account ID of the key owner, the key namespace, and then the key ID. For example, arn:aws:kms:us-east-1:012345678910:key/abcd1234-a123-456a-a12b-a123b4cd56ef.

        + *
      • + *
      • + *

        ARN using key alias. The alias ARN contains the arn:aws:kms namespace, followed by the Region of the key, the Amazon Web Services account ID of the key owner, the alias namespace, and then the key alias. For example, arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.

        + *
      • + *
      + *

      Amazon Web Services parses KmsKeyId asynchronously, meaning that the action you call may appear to complete even + * though you provided an invalid identifier. This action will eventually report failure.

      + *

      The specified KMS key must exist in the Region that the AMI is being copied to.

      + *

      Amazon EBS does not support asymmetric KMS keys.

      */ - NextToken?: string; + KmsKeyId?: string; /** - *

      The IDs of the snapshots to list. Omit this parameter to list all of the - * snapshots that are in the Recycle Bin.

      + *

      The license type to be used for the Amazon Machine Image (AMI) after importing.

      + *

      Specify AWS to replace the source-system license with an Amazon Web Services + * license or BYOL to retain the source-system license. Leaving this parameter + * undefined is the same as choosing AWS when importing a Windows Server operating + * system, and the same as choosing BYOL when importing a Windows client operating + * system (such as Windows 10) or a Linux operating system.

      + *

      To use BYOL, you must have existing licenses with rights to use these licenses in a third party + * cloud, such as Amazon Web Services. For more information, see Prerequisites in the + * VM Import/Export User Guide.

      */ - SnapshotIds?: string[]; + LicenseType?: string; /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      + *

      The operating system of the virtual machine.

      + *

      Valid values: Windows | Linux + *

      */ - DryRun?: boolean; -} + Platform?: string; -/** - *

      Information about a snapshot that is currently in the Recycle Bin.

      - */ -export interface SnapshotRecycleBinInfo { /** - *

      The ID of the snapshot.

      + *

      The name of the role to use when not using the default role, 'vmimport'.

      */ - SnapshotId?: string; + RoleName?: string; /** - *

      The date and time when the snaphsot entered the Recycle Bin.

      + *

      The ARNs of the license configurations.

      */ - RecycleBinEnterTime?: Date; + LicenseSpecifications?: ImportImageLicenseConfigurationRequest[]; /** - *

      The date and time when the snapshot is to be permanently deleted from the Recycle Bin.

      + *

      The tags to apply to the import image task during creation.

      */ - RecycleBinExitTime?: Date; + TagSpecifications?: TagSpecification[]; /** - *

      The description for the snapshot.

      + *

      The usage operation value. For more information, see Licensing options in the VM Import/Export User Guide.

      */ - Description?: string; + UsageOperation?: string; /** - *

      The ID of the volume from which the snapshot was created.

      + *

      The boot mode of the virtual machine.

      */ - VolumeId?: string; + BootMode?: BootModeValues | string; } -export interface ListSnapshotsInRecycleBinResult { +export interface ImportImageResult { /** - *

      Information about the snapshots.

      + *

      The architecture of the virtual machine.

      */ - Snapshots?: SnapshotRecycleBinInfo[]; + Architecture?: string; /** - *

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      + *

      A description of the import task.

      */ - NextToken?: string; -} + Description?: string; -export interface ModifyAddressAttributeRequest { /** - *

      [EC2-VPC] The allocation ID.

      + *

      Indicates whether the AMI is encrypted.

      */ - AllocationId: string | undefined; + Encrypted?: boolean; /** - *

      The domain name to modify for the IP address.

      + *

      The target hypervisor of the import task.

      */ - DomainName?: string; + Hypervisor?: string; /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      + *

      The ID of the Amazon Machine Image (AMI) created by the import task.

      */ - DryRun?: boolean; -} + ImageId?: string; -export interface ModifyAddressAttributeResult { /** - *

      Information about the Elastic IP address.

      + *

      The task ID of the import image task.

      */ - Address?: AddressAttribute; -} - -export enum ModifyAvailabilityZoneOptInStatus { - not_opted_in = "not-opted-in", - opted_in = "opted-in", -} + ImportTaskId?: string; -export interface ModifyAvailabilityZoneGroupRequest { /** - *

      The name of the Availability Zone group, Local Zone group, or Wavelength Zone - * group.

      + *

      The identifier for the symmetric KMS key that was used to create the encrypted AMI.

      */ - GroupName: string | undefined; + KmsKeyId?: string; /** - *

      Indicates whether you are opted in to the Local Zone group or Wavelength Zone group. The - * only valid value is opted-in. You must contact Amazon Web Services Support to opt out of a Local Zone or Wavelength Zone group.

      + *

      The license type of the virtual machine.

      */ - OptInStatus: ModifyAvailabilityZoneOptInStatus | string | undefined; + LicenseType?: string; /** - *

      Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

      + *

      The operating system of the virtual machine.

      */ - DryRun?: boolean; -} + Platform?: string; -export interface ModifyAvailabilityZoneGroupResult { /** - *

      Is true if the request succeeds, and an error otherwise.

      + *

      The progress of the task.

      */ - Return?: boolean; -} + Progress?: string; -export interface ModifyCapacityReservationRequest { /** - *

      The ID of the Capacity Reservation.

      + *

      Information about the snapshots.

      */ - CapacityReservationId: string | undefined; + SnapshotDetails?: SnapshotDetail[]; /** - *

      The number of instances for which to reserve capacity. The number of instances can't be increased or - * decreased by more than 1000 in a single request.

      + *

      A brief status of the task.

      */ - InstanceCount?: number; + Status?: string; /** - *

      The date and time at which the Capacity Reservation expires. When a Capacity Reservation expires, the reserved capacity - * is released and you can no longer launch instances into it. The Capacity Reservation's state changes to - * expired when it reaches its end date and time.

      - *

      The Capacity Reservation is cancelled within an hour from the specified time. For example, if you specify - * 5/31/2019, 13:30:55, the Capacity Reservation is guaranteed to end between 13:30:55 and 14:30:55 on 5/31/2019.

      - *

      You must provide an EndDate value if EndDateType is - * limited. Omit EndDate if EndDateType is - * unlimited.

      + *

      A detailed status message of the import task.

      */ - EndDate?: Date; + StatusMessage?: string; /** - *

      Indicates the way in which the Capacity Reservation ends. A Capacity Reservation can have one of the following end - * types:

      - *
        - *
      • - *

        - * unlimited - The Capacity Reservation remains active until you explicitly cancel it. Do not - * provide an EndDate value if EndDateType is - * unlimited.

        - *
      • - *
      • - *

        - * limited - The Capacity Reservation expires automatically at a specified date and time. You must - * provide an EndDate value if EndDateType is - * limited.

        - *
      • - *
      + *

      The ARNs of the license configurations.

      */ - EndDateType?: EndDateType | string; + LicenseSpecifications?: ImportImageLicenseConfigurationResponse[]; /** - *

      Reserved. Capacity Reservations you have created are accepted by default.

      + *

      Any tags assigned to the import image task.

      */ - Accept?: boolean; + Tags?: Tag[]; /** - *

      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

      + *

      The usage operation value.

      */ - DryRun?: boolean; + UsageOperation?: string; +} +/** + *

      Describes a disk image.

      + */ +export interface DiskImageDetail { /** - *

      Reserved for future use.

      + *

      The size of the disk image, in GiB.

      */ - AdditionalInfo?: string; -} + Bytes: number | undefined; -export interface ModifyCapacityReservationResult { /** - *

      Returns true if the request succeeds; otherwise, it returns an error.

      + *

      The disk image format.

      */ - Return?: boolean; -} + Format: DiskImageFormat | string | undefined; -export interface ModifyCapacityReservationFleetRequest { /** - *

      The ID of the Capacity Reservation Fleet to modify.

      + *

      A presigned URL for the import manifest stored in Amazon S3 and presented here as an Amazon S3 presigned URL. + * For information about creating a presigned URL for an Amazon S3 object, read the "Query String Request Authentication + * Alternative" section of the Authenticating REST Requests topic in the Amazon Simple Storage Service Developer + * Guide.

      + *

      For information about the import manifest referenced by this API action, see VM Import Manifest.

      */ - CapacityReservationFleetId: string | undefined; + ImportManifestUrl: string | undefined; +} +/** + *

      Describes an EBS volume.

      + */ +export interface VolumeDetail { /** - *

      The total number of capacity units to be reserved by the Capacity Reservation Fleet. This value, - * together with the instance type weights that you assign to each instance type used by the Fleet - * determine the number of instances for which the Fleet reserves capacity. Both values are based on - * units that make sense for your workload. For more information, see Total target capacity - * in the Amazon EC2 User Guide.

      + *

      The size of the volume, in GiB.

      */ - TotalTargetCapacity?: number; + Size: number | undefined; +} +/** + *

      Describes a disk image.

      + */ +export interface DiskImage { /** - *

      The date and time at which the Capacity Reservation Fleet expires. When the Capacity Reservation - * Fleet expires, its state changes to expired and all of the Capacity Reservations in the - * Fleet expire.

      - *

      The Capacity Reservation Fleet expires within an hour after the specified time. For example, if you - * specify 5/31/2019, 13:30:55, the Capacity Reservation Fleet is guaranteed - * to expire between 13:30:55 and 14:30:55 on 5/31/2019.

      - *

      You can't specify EndDate and - * RemoveEndDate in the same request.

      + *

      A description of the disk image.

      */ - EndDate?: Date; + Description?: string; /** - *

      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

      + *

      Information about the disk image.

      */ - DryRun?: boolean; + Image?: DiskImageDetail; /** - *

      Indicates whether to remove the end date from the Capacity Reservation Fleet. If you remove the - * end date, the Capacity Reservation Fleet does not expire and it remains active until you explicitly - * cancel it using the CancelCapacityReservationFleet action.

      - *

      You can't specify RemoveEndDate and - * EndDate in the same request.

      + *

      Information about the volume.

      */ - RemoveEndDate?: boolean; + Volume?: VolumeDetail; } -export interface ModifyCapacityReservationFleetResult { +/** + *

      Describes the user data for an instance.

      + */ +export interface UserData { /** - *

      Returns true if the request succeeds; otherwise, it returns an error.

      + *

      The user data. If you are using an Amazon Web Services SDK or command line tool, Base64-encoding is performed for you, and you + * can load the text from a file. Otherwise, you must provide Base64-encoded text.

      */ - Return?: boolean; + Data?: string; } /** - *

      Information about the DNS server to be used.

      + *

      Describes the launch specification for VM import.

      */ -export interface DnsServersOptionsModifyStructure { +export interface ImportInstanceLaunchSpecification { /** - *

      The IPv4 address range, in CIDR notation, of the DNS servers to be used. You can specify up to - * two DNS servers. Ensure that the DNS servers can be reached by the clients. The specified values - * overwrite the existing values.

      + *

      Reserved.

      */ - CustomDnsServers?: string[]; + AdditionalInfo?: string; - /** - *

      Indicates whether DNS servers should be used. Specify False to delete the existing DNS - * servers.

      + /** + *

      The architecture of the instance.

      */ - Enabled?: boolean; -} + Architecture?: ArchitectureValues | string; -export interface ModifyClientVpnEndpointRequest { /** - *

      The ID of the Client VPN endpoint to modify.

      + *

      The security group IDs.

      */ - ClientVpnEndpointId: string | undefined; + GroupIds?: string[]; /** - *

      The ARN of the server certificate to be used. The server certificate must be provisioned in - * Certificate Manager (ACM).

      + *

      The security group names.

      */ - ServerCertificateArn?: string; + GroupNames?: string[]; /** - *

      Information about the client connection logging options.

      - *

      If you enable client connection logging, data about client connections is sent to a - * Cloudwatch Logs log stream. The following information is logged:

      - *
        - *
      • - *

        Client connection requests

        - *
      • - *
      • - *

        Client connection results (successful and unsuccessful)

        - *
      • - *
      • - *

        Reasons for unsuccessful client connection requests

        - *
      • - *
      • - *

        Client connection termination time

        - *
      • - *
      + *

      Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the + * operating system command for system shutdown).

      */ - ConnectionLogOptions?: ConnectionLogOptions; + InstanceInitiatedShutdownBehavior?: ShutdownBehavior | string; /** - *

      Information about the DNS servers to be used by Client VPN connections. A Client VPN endpoint can have - * up to two DNS servers.

      + *

      The instance type. For more information about the instance types that you can import, see Instance Types in the + * VM Import/Export User Guide.

      */ - DnsServers?: DnsServersOptionsModifyStructure; + InstanceType?: _InstanceType | string; /** - *

      The port number to assign to the Client VPN endpoint for TCP and UDP traffic.

      - *

      Valid Values: 443 | 1194 - *

      - *

      Default Value: 443 - *

      + *

      Indicates whether monitoring is enabled.

      */ - VpnPort?: number; + Monitoring?: boolean; /** - *

      A brief description of the Client VPN endpoint.

      + *

      The placement information for the instance.

      */ - Description?: string; + Placement?: Placement; /** - *

      Indicates whether the VPN is split-tunnel.

      - *

      For information about split-tunnel VPN endpoints, see Split-tunnel Client VPN endpoint in the - * Client VPN Administrator Guide.

      + *

      [EC2-VPC] An available IP address from the IP address range of the subnet.

      */ - SplitTunnel?: boolean; + PrivateIpAddress?: string; /** - *

      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

      + *

      [EC2-VPC] The ID of the subnet in which to launch the instance.

      */ - DryRun?: boolean; + SubnetId?: string; /** - *

      The IDs of one or more security groups to apply to the target network.

      + *

      The Base64-encoded user data to make available to the instance.

      */ - SecurityGroupIds?: string[]; + UserData?: UserData; +} +export interface ImportInstanceRequest { /** - *

      The ID of the VPC to associate with the Client VPN endpoint.

      + *

      A description for the instance being imported.

      */ - VpcId?: string; + Description?: string; /** - *

      Specify whether to enable the self-service portal for the Client VPN endpoint.

      + *

      The disk image.

      */ - SelfServicePortal?: SelfServicePortal | string; + DiskImages?: DiskImage[]; /** - *

      The options for managing connection authorization for new client connections.

      + *

      Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

      */ - ClientConnectOptions?: ClientConnectOptions; + DryRun?: boolean; /** - *

      The maximum VPN session duration time in hours.

      - *

      Valid values: 8 | 10 | 12 | 24 - *

      - *

      Default value: 24 - *

      + *

      The launch specification.

      */ - SessionTimeoutHours?: number; + LaunchSpecification?: ImportInstanceLaunchSpecification; /** - *

      Options for enabling a customizable text banner that will be displayed on - * Amazon Web Services provided clients when a VPN session is established.

      + *

      The instance operating system.

      */ - ClientLoginBannerOptions?: ClientLoginBannerOptions; + Platform: PlatformValues | string | undefined; } -export interface ModifyClientVpnEndpointResult { +export interface ImportInstanceResult { /** - *

      Returns true if the request succeeds; otherwise, it returns an error.

      + *

      Information about the conversion task.

      */ - Return?: boolean; + ConversionTask?: ConversionTask; } -export interface ModifyDefaultCreditSpecificationRequest { +export interface ImportKeyPairRequest { /** *

      Checks whether you have the required permissions for the action, without actually making the request, * and provides an error response. If you have the required permissions, the error response is DryRunOperation. @@ -6206,145 +6295,99 @@ export interface ModifyDefaultCreditSpecificationRequest { DryRun?: boolean; /** - *

      The instance family.

      + *

      A unique name for the key pair.

      */ - InstanceFamily: UnlimitedSupportedInstanceFamily | string | undefined; + KeyName: string | undefined; /** - *

      The credit option for CPU usage of the instance family.

      - *

      Valid Values: standard | unlimited - *

      + *

      The public key. For API calls, the text must be base64-encoded. For command line tools, base64 encoding is performed for you.

      */ - CpuCredits: string | undefined; -} + PublicKeyMaterial: Uint8Array | undefined; -export interface ModifyDefaultCreditSpecificationResult { /** - *

      The default credit option for CPU usage of the instance family.

      + *

      The tags to apply to the imported key pair.

      */ - InstanceFamilyCreditSpecification?: InstanceFamilyCreditSpecification; + TagSpecifications?: TagSpecification[]; } -export interface ModifyEbsDefaultKmsKeyIdRequest { +export interface ImportKeyPairResult { /** - *

      The identifier of the Key Management Service (KMS) KMS key to use for Amazon EBS encryption. - * If this parameter is not specified, your KMS key for Amazon EBS is used. If KmsKeyId is - * specified, the encrypted state must be true.

      - *

      You can specify the KMS key using any of the following:

      - *
        - *
      • - *

        Key ID. For example, 1234abcd-12ab-34cd-56ef-1234567890ab.

        - *
      • - *
      • - *

        Key alias. For example, alias/ExampleAlias.

        - *
      • + *
          *
        • - *

          Key ARN. For example, arn:aws:kms:us-east-1:012345678910:key/1234abcd-12ab-34cd-56ef-1234567890ab.

          + *

          For RSA key pairs, the key fingerprint is the MD5 public key fingerprint as specified in section 4 of RFC 4716.

          *
        • *
        • - *

          Alias ARN. For example, arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.

          + *

          For ED25519 key pairs, the key fingerprint is the base64-encoded SHA-256 digest, which is the default for OpenSSH, starting with OpenSSH 6.8.

          *
        • *
        - *

        Amazon Web Services authenticates the KMS key asynchronously. Therefore, if you specify an ID, alias, or ARN that is not valid, - * the action can appear to complete, but eventually fails.

        - *

        Amazon EBS does not support asymmetric KMS keys.

        - */ - KmsKeyId: string | undefined; - - /** - *

        Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

        - */ - DryRun?: boolean; -} - -export interface ModifyEbsDefaultKmsKeyIdResult { - /** - *

        The Amazon Resource Name (ARN) of the default KMS key for encryption by default.

        */ - KmsKeyId?: string; -} + KeyFingerprint?: string; -export interface ModifyFleetRequest { /** - *

        Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

        + *

        The key pair name that you provided.

        */ - DryRun?: boolean; + KeyName?: string; /** - *

        Indicates whether running instances should be terminated if the total target capacity of - * the EC2 Fleet is decreased below the current size of the EC2 Fleet.

        + *

        The ID of the resulting key pair.

        */ - ExcessCapacityTerminationPolicy?: FleetExcessCapacityTerminationPolicy | string; + KeyPairId?: string; /** - *

        The launch template and overrides.

        + *

        The tags applied to the imported key pair.

        */ - LaunchTemplateConfigs?: FleetLaunchTemplateConfigRequest[]; + Tags?: Tag[]; +} +/** + *

        The disk container object for the import snapshot request.

        + */ +export interface SnapshotDiskContainer { /** - *

        The ID of the EC2 Fleet.

        + *

        The description of the disk image being imported.

        */ - FleetId: string | undefined; + Description?: string; /** - *

        The size of the EC2 Fleet.

        + *

        The format of the disk image being imported.

        + *

        Valid values: VHD | VMDK | RAW + *

        */ - TargetCapacitySpecification?: TargetCapacitySpecificationRequest; + Format?: string; /** - *

        Reserved.

        + *

        The URL to the Amazon S3-based disk image being imported. It can either be a https URL (https://..) or an Amazon + * S3 URL (s3://..).

        */ - Context?: string; -} + Url?: string; -export interface ModifyFleetResult { /** - *

        If the request succeeds, the response returns true. If the request fails, - * no response is returned, and instead an error message is returned.

        + *

        The Amazon S3 bucket for the disk image.

        */ - Return?: boolean; + UserBucket?: UserBucket; } -/** - *

        Describes a load permission.

        - */ -export interface LoadPermissionRequest { +export interface ImportSnapshotRequest { /** - *

        The name of the group.

        + *

        The client-specific data.

        */ - Group?: PermissionGroup | string; + ClientData?: ClientData; /** - *

        The Amazon Web Services account ID.

        + *

        Token to enable idempotency for VM import requests.

        */ - UserId?: string; -} + ClientToken?: string; -/** - *

        Describes modifications to the load permissions of an Amazon FPGA image (AFI).

        - */ -export interface LoadPermissionModifications { /** - *

        The load permissions to add.

        + *

        The description string for the import snapshot task.

        */ - Add?: LoadPermissionRequest[]; + Description?: string; /** - *

        The load permissions to remove.

        + *

        Information about the disk container.

        */ - Remove?: LoadPermissionRequest[]; -} - -export enum OperationType { - add = "add", - remove = "remove", -} + DiskContainer?: SnapshotDiskContainer; -export interface ModifyFpgaImageAttributeRequest { /** *

        Checks whether you have the required permissions for the action, without actually making the request, * and provides an error response. If you have the required permissions, the error response is DryRunOperation. @@ -6353,491 +6396,566 @@ export interface ModifyFpgaImageAttributeRequest { DryRun?: boolean; /** - *

        The ID of the AFI.

        - */ - FpgaImageId: string | undefined; - - /** - *

        The name of the attribute.

        - */ - Attribute?: FpgaImageAttributeName | string; - - /** - *

        The operation type.

        + *

        Specifies whether the destination snapshot of the imported image should be encrypted. The default KMS key for EBS is + * used unless you specify a non-default KMS key using KmsKeyId. For more information, see Amazon EBS Encryption in the + * Amazon Elastic Compute Cloud User Guide.

        */ - OperationType?: OperationType | string; + Encrypted?: boolean; /** - *

        The Amazon Web Services account IDs. This parameter is valid only when modifying the loadPermission attribute.

        + *

        An identifier for the symmetric KMS key to use when creating the + * encrypted snapshot. This parameter is only required if you want to use a non-default KMS key; if this + * parameter is not specified, the default KMS key for EBS is used. If a KmsKeyId is + * specified, the Encrypted flag must also be set.

        + *

        The KMS key identifier may be provided in any of the following formats:

        + *
          + *
        • + *

          Key ID

          + *
        • + *
        • + *

          Key alias. The alias ARN contains the arn:aws:kms namespace, followed by the Region of the key, the Amazon Web Services account ID of the key owner, the alias namespace, and then the key alias. For example, arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.

          + *
        • + *
        • + *

          ARN using key ID. The ID ARN contains the arn:aws:kms namespace, followed by the Region of the key, the Amazon Web Services account ID of the key owner, the key namespace, and then the key ID. For example, arn:aws:kms:us-east-1:012345678910:key/abcd1234-a123-456a-a12b-a123b4cd56ef.

          + *
        • + *
        • + *

          ARN using key alias. The alias ARN contains the arn:aws:kms namespace, followed by the Region of the key, the Amazon Web Services account ID of the key owner, the alias namespace, and then the key alias. For example, arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.

          + *
        • + *
        + *

        Amazon Web Services parses KmsKeyId asynchronously, meaning that the action you call may appear to complete even + * though you provided an invalid identifier. This action will eventually report failure.

        + *

        The specified KMS key must exist in the Region that the snapshot is being copied to.

        + *

        Amazon EBS does not support asymmetric KMS keys.

        */ - UserIds?: string[]; + KmsKeyId?: string; /** - *

        The user groups. This parameter is valid only when modifying the loadPermission attribute.

        + *

        The name of the role to use when not using the default role, 'vmimport'.

        */ - UserGroups?: string[]; + RoleName?: string; /** - *

        The product codes. After you add a product code to an AFI, it can't be removed. - * This parameter is valid only when modifying the productCodes attribute.

        + *

        The tags to apply to the import snapshot task during creation.

        */ - ProductCodes?: string[]; + TagSpecifications?: TagSpecification[]; +} +export interface ImportSnapshotResult { /** - *

        The load permission for the AFI.

        + *

        A description of the import snapshot task.

        */ - LoadPermission?: LoadPermissionModifications; + Description?: string; /** - *

        A description for the AFI.

        + *

        The ID of the import snapshot task.

        */ - Description?: string; + ImportTaskId?: string; /** - *

        A name for the AFI.

        + *

        Information about the import snapshot task.

        */ - Name?: string; -} + SnapshotTaskDetail?: SnapshotTaskDetail; -export interface ModifyFpgaImageAttributeResult { /** - *

        Information about the attribute.

        + *

        Any tags assigned to the import snapshot task.

        */ - FpgaImageAttribute?: FpgaImageAttribute; + Tags?: Tag[]; } -export interface ModifyHostsRequest { +export interface ImportVolumeRequest { /** - *

        Specify whether to enable or disable auto-placement.

        + *

        The Availability Zone for the resulting EBS volume.

        */ - AutoPlacement?: AutoPlacement | string; + AvailabilityZone: string | undefined; /** - *

        The IDs of the Dedicated Hosts to modify.

        + *

        A description of the volume.

        */ - HostIds: string[] | undefined; + Description?: string; /** - *

        Indicates whether to enable or disable host recovery for the Dedicated Host. For more - * information, see Host recovery - * in the Amazon EC2 User Guide.

        + *

        Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

        */ - HostRecovery?: HostRecovery | string; + DryRun?: boolean; /** - *

        Specifies the instance type to be supported by the Dedicated Host. Specify this - * parameter to modify a Dedicated Host to support only a specific instance type.

        - *

        If you want to modify a Dedicated Host to support multiple instance types in its - * current instance family, omit this parameter and specify InstanceFamily instead. You cannot specify InstanceType and InstanceFamily in the - * same request.

        + *

        The disk image.

        */ - InstanceType?: string; + Image: DiskImageDetail | undefined; /** - *

        Specifies the instance family to be supported by the Dedicated Host. Specify this - * parameter to modify a Dedicated Host to support multiple instance types within its - * current instance family.

        - *

        If you want to modify a Dedicated Host to support a specific instance type only, omit - * this parameter and specify InstanceType instead. You - * cannot specify InstanceFamily and InstanceType in the same request.

        + *

        The volume size.

        */ - InstanceFamily?: string; + Volume: VolumeDetail | undefined; } -export interface ModifyHostsResult { +export interface ImportVolumeResult { /** - *

        The IDs of the Dedicated Hosts that were successfully modified.

        + *

        Information about the conversion task.

        */ - Successful?: string[]; + ConversionTask?: ConversionTask; +} +export interface ListImagesInRecycleBinRequest { /** - *

        The IDs of the Dedicated Hosts that could not be modified. Check whether the setting - * you requested can be used.

        + *

        The IDs of the AMIs to list. Omit this parameter to list all of the AMIs that + * are in the Recycle Bin. You can specify up to 20 IDs in a single request.

        */ - Unsuccessful?: UnsuccessfulItem[]; -} + ImageIds?: string[]; -export interface ModifyIdentityIdFormatRequest { /** - *

        The ARN of the principal, which can be an IAM user, IAM role, or the root user. Specify - * all to modify the ID format for all IAM users, IAM roles, and the root user of - * the account.

        + *

        The token for the next page of results.

        */ - PrincipalArn: string | undefined; + NextToken?: string; /** - *

        The type of resource: bundle | conversion-task | customer-gateway | dhcp-options | - * elastic-ip-allocation | elastic-ip-association | - * export-task | flow-log | image | - * import-task | internet-gateway | network-acl - * | network-acl-association | network-interface | - * network-interface-attachment | prefix-list | - * route-table | route-table-association | - * security-group | subnet | - * subnet-cidr-block-association | vpc | - * vpc-cidr-block-association | vpc-endpoint | vpc-peering-connection | vpn-connection | vpn-gateway.

        - *

        Alternatively, use the all-current option to include all resource types that are - * currently within their opt-in period for longer IDs.

        + *

        The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

        + *

        If you do not specify a value for MaxResults, the request + * returns 1,000 items per page by default. For more information, see + * + * Pagination.

        */ - Resource: string | undefined; + MaxResults?: number; /** - *

        Indicates whether the resource should use longer IDs (17-character IDs)

        + *

        Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is + * DryRunOperation. Otherwise, it is UnauthorizedOperation.

        */ - UseLongIds: boolean | undefined; + DryRun?: boolean; } -export interface ModifyIdFormatRequest { +/** + *

        Information about an AMI that is currently in the Recycle Bin.

        + */ +export interface ImageRecycleBinInfo { /** - *

        The type of resource: bundle | conversion-task | customer-gateway | dhcp-options | - * elastic-ip-allocation | elastic-ip-association | - * export-task | flow-log | image | - * import-task | internet-gateway | network-acl - * | network-acl-association | network-interface | - * network-interface-attachment | prefix-list | - * route-table | route-table-association | - * security-group | subnet | - * subnet-cidr-block-association | vpc | - * vpc-cidr-block-association | vpc-endpoint | vpc-peering-connection | vpn-connection | vpn-gateway.

        - *

        Alternatively, use the all-current option to include all resource types that are - * currently within their opt-in period for longer IDs.

        + *

        The ID of the AMI.

        */ - Resource: string | undefined; + ImageId?: string; /** - *

        Indicate whether the resource should use longer IDs (17-character IDs).

        + *

        The name of the AMI.

        */ - UseLongIds: boolean | undefined; -} + Name?: string; -/** - *

        Describes a launch permission modification.

        - */ -export interface LaunchPermissionModifications { /** - *

        The Amazon Web Services account ID, organization ARN, or OU ARN to add to the list of launch permissions for the AMI.

        + *

        The description of the AMI.

        */ - Add?: LaunchPermission[]; + Description?: string; /** - *

        The Amazon Web Services account ID, organization ARN, or OU ARN to remove from the list of launch permissions for the AMI.

        + *

        The date and time when the AMI entered the Recycle Bin.

        */ - Remove?: LaunchPermission[]; -} + RecycleBinEnterTime?: Date; -/** - *

        Contains the parameters for ModifyImageAttribute.

        - */ -export interface ModifyImageAttributeRequest { /** - *

        The name of the attribute to modify.

        - *

        Valid values: description | launchPermission - *

        + *

        The date and time when the AMI is to be permanently deleted from the Recycle Bin.

        */ - Attribute?: string; + RecycleBinExitTime?: Date; +} +export interface ListImagesInRecycleBinResult { /** - *

        A new description for the AMI.

        + *

        Information about the AMIs.

        */ - Description?: AttributeValue; + Images?: ImageRecycleBinInfo[]; /** - *

        The ID of the AMI.

        + *

        The token to use to retrieve the next page of results. This value is null when there are no more results to return.

        */ - ImageId: string | undefined; + NextToken?: string; +} +export interface ListSnapshotsInRecycleBinRequest { /** - *

        A new launch permission for the AMI.

        + *

        The maximum number of results to return with a single call. + * To retrieve the remaining results, make another call with the returned nextToken value.

        */ - LaunchPermission?: LaunchPermissionModifications; + MaxResults?: number; /** - *

        The operation type. - * This parameter can be used only when the Attribute parameter is launchPermission.

        + *

        The token for the next page of results.

        */ - OperationType?: OperationType | string; + NextToken?: string; /** - *

        Not supported.

        + *

        The IDs of the snapshots to list. Omit this parameter to list all of the + * snapshots that are in the Recycle Bin.

        */ - ProductCodes?: string[]; + SnapshotIds?: string[]; /** - *

        The user groups. - * This parameter can be used only when the Attribute parameter is launchPermission.

        + *

        Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

        */ - UserGroups?: string[]; + DryRun?: boolean; +} +/** + *

        Information about a snapshot that is currently in the Recycle Bin.

        + */ +export interface SnapshotRecycleBinInfo { /** - *

        The Amazon Web Services account IDs. - * This parameter can be used only when the Attribute parameter is launchPermission.

        + *

        The ID of the snapshot.

        */ - UserIds?: string[]; + SnapshotId?: string; /** - *

        The value of the attribute being modified. - * This parameter can be used only when the Attribute parameter is description.

        + *

        The date and time when the snaphsot entered the Recycle Bin.

        */ - Value?: string; + RecycleBinEnterTime?: Date; /** - *

        Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is - * DryRunOperation. Otherwise, it is UnauthorizedOperation.

        + *

        The date and time when the snapshot is to be permanently deleted from the Recycle Bin.

        */ - DryRun?: boolean; + RecycleBinExitTime?: Date; /** - *

        The Amazon Resource Name (ARN) of an organization. This parameter can be used only when the Attribute parameter is launchPermission.

        + *

        The description for the snapshot.

        */ - OrganizationArns?: string[]; + Description?: string; /** - *

        The Amazon Resource Name (ARN) of an organizational unit (OU). This parameter can be used only when the Attribute parameter is launchPermission.

        + *

        The ID of the volume from which the snapshot was created.

        */ - OrganizationalUnitArns?: string[]; + VolumeId?: string; } -/** - *

        Describes information used to set up an EBS volume specified in a block device - * mapping.

        - */ -export interface EbsInstanceBlockDeviceSpecification { +export interface ListSnapshotsInRecycleBinResult { /** - *

        Indicates whether the volume is deleted on instance termination.

        + *

        Information about the snapshots.

        */ - DeleteOnTermination?: boolean; + Snapshots?: SnapshotRecycleBinInfo[]; /** - *

        The ID of the EBS volume.

        + *

        The token to use to retrieve the next page of results. This value is null when there are no more results to return.

        */ - VolumeId?: string; + NextToken?: string; } -/** - *

        Describes a block device mapping entry.

        - */ -export interface InstanceBlockDeviceMappingSpecification { +export interface ModifyAddressAttributeRequest { /** - *

        The device name (for example, /dev/sdh or xvdh).

        + *

        [EC2-VPC] The allocation ID.

        */ - DeviceName?: string; + AllocationId: string | undefined; /** - *

        Parameters used to automatically set up EBS volumes when the instance is - * launched.

        + *

        The domain name to modify for the IP address.

        */ - Ebs?: EbsInstanceBlockDeviceSpecification; + DomainName?: string; /** - *

        suppress the specified device included in the block device mapping.

        + *

        Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

        */ - NoDevice?: string; + DryRun?: boolean; +} +export interface ModifyAddressAttributeResult { /** - *

        The virtual device name.

        + *

        Information about the Elastic IP address.

        */ - VirtualName?: string; + Address?: AddressAttribute; } -export interface BlobAttributeValue { - Value?: Uint8Array; +export enum ModifyAvailabilityZoneOptInStatus { + not_opted_in = "not-opted-in", + opted_in = "opted-in", } -export interface ModifyInstanceAttributeRequest { +export interface ModifyAvailabilityZoneGroupRequest { /** - *

        Enable or disable source/destination checks, which ensure that the instance is either - * the source or the destination of any traffic that it receives. If the value is - * true, source/destination checks are enabled; otherwise, they are - * disabled. The default value is true. You must disable source/destination - * checks if the instance runs services such as network address translation, routing, or - * firewalls.

        + *

        The name of the Availability Zone group, Local Zone group, or Wavelength Zone + * group.

        */ - SourceDestCheck?: AttributeBooleanValue; + GroupName: string | undefined; /** - *

        The name of the attribute to modify.

        - * - *

        You can modify the following attributes only: disableApiTermination | - * instanceType | kernel | ramdisk | - * instanceInitiatedShutdownBehavior | blockDeviceMapping - * | userData | sourceDestCheck | groupSet | - * ebsOptimized | sriovNetSupport | - * enaSupport | nvmeSupport | disableApiStop - * | enclaveOptions - *

        - *
        + *

        Indicates whether you are opted in to the Local Zone group or Wavelength Zone group. The + * only valid value is opted-in. You must contact Amazon Web Services Support to opt out of a Local Zone or Wavelength Zone group.

        */ - Attribute?: InstanceAttributeName | string; + OptInStatus: ModifyAvailabilityZoneOptInStatus | string | undefined; /** - *

        Modifies the DeleteOnTermination attribute for volumes that are currently - * attached. The volume must be owned by the caller. If no value is specified for - * DeleteOnTermination, the default is true and the volume is - * deleted when the instance is terminated.

        - *

        To add instance store volumes to an Amazon EBS-backed instance, you must add them when - * you launch the instance. For more information, see Update the block device mapping when launching an instance in the - * Amazon EC2 User Guide.

        + *

        Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

        */ - BlockDeviceMappings?: InstanceBlockDeviceMappingSpecification[]; + DryRun?: boolean; +} +export interface ModifyAvailabilityZoneGroupResult { /** - *

        If the value is true, you can't terminate the instance using the Amazon - * EC2 console, CLI, or API; otherwise, you can. You cannot use this parameter for Spot - * Instances.

        + *

        Is true if the request succeeds, and an error otherwise.

        */ - DisableApiTermination?: AttributeBooleanValue; + Return?: boolean; +} +export interface ModifyCapacityReservationRequest { /** - *

        Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

        + *

        The ID of the Capacity Reservation.

        */ - DryRun?: boolean; + CapacityReservationId: string | undefined; /** - *

        Specifies whether the instance is optimized for Amazon EBS I/O. This optimization - * provides dedicated throughput to Amazon EBS and an optimized configuration stack to - * provide optimal EBS I/O performance. This optimization isn't available with all instance - * types. Additional usage charges apply when using an EBS Optimized instance.

        + *

        The number of instances for which to reserve capacity. The number of instances can't be increased or + * decreased by more than 1000 in a single request.

        */ - EbsOptimized?: AttributeBooleanValue; + InstanceCount?: number; /** - *

        Set to true to enable enhanced networking with ENA for the - * instance.

        - *

        This option is supported only for HVM instances. Specifying this option with a PV - * instance can make it unreachable.

        + *

        The date and time at which the Capacity Reservation expires. When a Capacity Reservation expires, the reserved capacity + * is released and you can no longer launch instances into it. The Capacity Reservation's state changes to + * expired when it reaches its end date and time.

        + *

        The Capacity Reservation is cancelled within an hour from the specified time. For example, if you specify + * 5/31/2019, 13:30:55, the Capacity Reservation is guaranteed to end between 13:30:55 and 14:30:55 on 5/31/2019.

        + *

        You must provide an EndDate value if EndDateType is + * limited. Omit EndDate if EndDateType is + * unlimited.

        */ - EnaSupport?: AttributeBooleanValue; + EndDate?: Date; /** - *

        [EC2-VPC] Replaces the security groups of the instance with the specified security - * groups. You must specify at least one security group, even if it's just the default - * security group for the VPC. You must specify the security group ID, not the security - * group name.

        + *

        Indicates the way in which the Capacity Reservation ends. A Capacity Reservation can have one of the following end + * types:

        + *
          + *
        • + *

          + * unlimited - The Capacity Reservation remains active until you explicitly cancel it. Do not + * provide an EndDate value if EndDateType is + * unlimited.

          + *
        • + *
        • + *

          + * limited - The Capacity Reservation expires automatically at a specified date and time. You must + * provide an EndDate value if EndDateType is + * limited.

          + *
        • + *
        */ - Groups?: string[]; + EndDateType?: EndDateType | string; /** - *

        The ID of the instance.

        + *

        Reserved. Capacity Reservations you have created are accepted by default.

        */ - InstanceId: string | undefined; + Accept?: boolean; + + /** + *

        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

        + */ + DryRun?: boolean; /** - *

        Specifies whether an instance stops or terminates when you initiate shutdown from the - * instance (using the operating system command for system shutdown).

        + *

        Reserved for future use.

        */ - InstanceInitiatedShutdownBehavior?: AttributeValue; + AdditionalInfo?: string; +} +export interface ModifyCapacityReservationResult { /** - *

        Changes the instance type to the specified value. For more information, see Instance - * types in the Amazon EC2 User Guide. If the instance type is - * not valid, the error returned is InvalidInstanceAttributeValue.

        + *

        Returns true if the request succeeds; otherwise, it returns an error.

        */ - InstanceType?: AttributeValue; + Return?: boolean; +} +export interface ModifyCapacityReservationFleetRequest { /** - *

        Changes the instance's kernel to the specified value. We recommend that you use - * PV-GRUB instead of kernels and RAM disks. For more information, see PV-GRUB.

        + *

        The ID of the Capacity Reservation Fleet to modify.

        */ - Kernel?: AttributeValue; + CapacityReservationFleetId: string | undefined; /** - *

        Changes the instance's RAM disk to the specified value. We recommend that you use - * PV-GRUB instead of kernels and RAM disks. For more information, see PV-GRUB.

        + *

        The total number of capacity units to be reserved by the Capacity Reservation Fleet. This value, + * together with the instance type weights that you assign to each instance type used by the Fleet + * determine the number of instances for which the Fleet reserves capacity. Both values are based on + * units that make sense for your workload. For more information, see Total target capacity + * in the Amazon EC2 User Guide.

        */ - Ramdisk?: AttributeValue; + TotalTargetCapacity?: number; /** - *

        Set to simple to enable enhanced networking with the Intel 82599 Virtual - * Function interface for the instance.

        - *

        There is no way to disable enhanced networking with the Intel 82599 Virtual Function - * interface at this time.

        - *

        This option is supported only for HVM instances. Specifying this option with a PV - * instance can make it unreachable.

        + *

        The date and time at which the Capacity Reservation Fleet expires. When the Capacity Reservation + * Fleet expires, its state changes to expired and all of the Capacity Reservations in the + * Fleet expire.

        + *

        The Capacity Reservation Fleet expires within an hour after the specified time. For example, if you + * specify 5/31/2019, 13:30:55, the Capacity Reservation Fleet is guaranteed + * to expire between 13:30:55 and 14:30:55 on 5/31/2019.

        + *

        You can't specify EndDate and + * RemoveEndDate in the same request.

        */ - SriovNetSupport?: AttributeValue; + EndDate?: Date; /** - *

        Changes the instance's user data to the specified value. If you are using an Amazon Web Services SDK or command line tool, base64-encoding is performed for you, and you - * can load the text from a file. Otherwise, you must provide base64-encoded text.

        + *

        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

        */ - UserData?: BlobAttributeValue; + DryRun?: boolean; /** - *

        A new value for the attribute. Use only with the kernel, - * ramdisk, userData, disableApiTermination, or - * instanceInitiatedShutdownBehavior attribute.

        + *

        Indicates whether to remove the end date from the Capacity Reservation Fleet. If you remove the + * end date, the Capacity Reservation Fleet does not expire and it remains active until you explicitly + * cancel it using the CancelCapacityReservationFleet action.

        + *

        You can't specify RemoveEndDate and + * EndDate in the same request.

        */ - Value?: string; + RemoveEndDate?: boolean; +} +export interface ModifyCapacityReservationFleetResult { /** - *

        Indicates whether an instance is enabled for stop protection. For more information, - * see Stop - * Protection.

        - *

        + *

        Returns true if the request succeeds; otherwise, it returns an error.

        */ - DisableApiStop?: AttributeBooleanValue; + Return?: boolean; } /** - *

        Describes an instance's Capacity Reservation targeting option. You can specify only one parameter - * at a time. If you specify CapacityReservationPreference and - * CapacityReservationTarget, the request fails.

        - *

        Use the CapacityReservationPreference parameter to configure the instance - * to run as an On-Demand Instance or to run in any open Capacity Reservation that has - * matching attributes (instance type, platform, Availability Zone). Use the - * CapacityReservationTarget parameter to explicitly target a specific - * Capacity Reservation or a Capacity Reservation group.

        + *

        Information about the DNS server to be used.

        */ -export interface CapacityReservationSpecification { +export interface DnsServersOptionsModifyStructure { /** - *

        Indicates the instance's Capacity Reservation preferences. Possible preferences include:

        - *
          - *
        • - *

          - * open - The instance can run in any open Capacity Reservation that has matching attributes - * (instance type, platform, Availability Zone).

          - *
        • - *
        • - *

          - * none - The instance avoids running in a Capacity Reservation even if one is available. The - * instance runs as an On-Demand Instance.

          - *
        • - *
        + *

        The IPv4 address range, in CIDR notation, of the DNS servers to be used. You can specify up to + * two DNS servers. Ensure that the DNS servers can be reached by the clients. The specified values + * overwrite the existing values.

        */ - CapacityReservationPreference?: CapacityReservationPreference | string; + CustomDnsServers?: string[]; /** - *

        Information about the target Capacity Reservation or Capacity Reservation group.

        + *

        Indicates whether DNS servers should be used. Specify False to delete the existing DNS + * servers.

        */ - CapacityReservationTarget?: CapacityReservationTarget; + Enabled?: boolean; } -export interface ModifyInstanceCapacityReservationAttributesRequest { - /** - *

        The ID of the instance to be modified.

        - */ - InstanceId: string | undefined; +/** + * @internal + */ +export const DescribeVpcAttributeRequestFilterSensitiveLog = (obj: DescribeVpcAttributeRequest): any => ({ + ...obj, +}); + +/** + * @internal + */ +export const DescribeVpcAttributeResultFilterSensitiveLog = (obj: DescribeVpcAttributeResult): any => ({ + ...obj, +}); + +/** + * @internal + */ +export const DescribeVpcClassicLinkRequestFilterSensitiveLog = (obj: DescribeVpcClassicLinkRequest): any => ({ + ...obj, +}); + +/** + * @internal + */ +export const VpcClassicLinkFilterSensitiveLog = (obj: VpcClassicLink): any => ({ + ...obj, +}); + +/** + * @internal + */ +export const DescribeVpcClassicLinkResultFilterSensitiveLog = (obj: DescribeVpcClassicLinkResult): any => ({ + ...obj, +}); + +/** + * @internal + */ +export const DescribeVpcClassicLinkDnsSupportRequestFilterSensitiveLog = ( + obj: DescribeVpcClassicLinkDnsSupportRequest +): any => ({ + ...obj, +}); + +/** + * @internal + */ +export const ClassicLinkDnsSupportFilterSensitiveLog = (obj: ClassicLinkDnsSupport): any => ({ + ...obj, +}); + +/** + * @internal + */ +export const DescribeVpcClassicLinkDnsSupportResultFilterSensitiveLog = ( + obj: DescribeVpcClassicLinkDnsSupportResult +): any => ({ + ...obj, +}); + +/** + * @internal + */ +export const DescribeVpcEndpointConnectionNotificationsRequestFilterSensitiveLog = ( + obj: DescribeVpcEndpointConnectionNotificationsRequest +): any => ({ + ...obj, +}); + +/** + * @internal + */ +export const DescribeVpcEndpointConnectionNotificationsResultFilterSensitiveLog = ( + obj: DescribeVpcEndpointConnectionNotificationsResult +): any => ({ + ...obj, +}); + +/** + * @internal + */ +export const DescribeVpcEndpointConnectionsRequestFilterSensitiveLog = ( + obj: DescribeVpcEndpointConnectionsRequest +): any => ({ + ...obj, +}); + +/** + * @internal + */ +export const VpcEndpointConnectionFilterSensitiveLog = (obj: VpcEndpointConnection): any => ({ + ...obj, +}); + +/** + * @internal + */ +export const DescribeVpcEndpointConnectionsResultFilterSensitiveLog = ( + obj: DescribeVpcEndpointConnectionsResult +): any => ({ + ...obj, +}); - /** - *

        Information about the Capacity Reservation targeting option.

        - */ - CapacityReservationSpecification: CapacityReservationSpecification | undefined; +/** + * @internal + */ +export const DescribeVpcEndpointsRequestFilterSensitiveLog = (obj: DescribeVpcEndpointsRequest): any => ({ + ...obj, +}); - /** - *

        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

        - */ - DryRun?: boolean; -} +/** + * @internal + */ +export const DescribeVpcEndpointsResultFilterSensitiveLog = (obj: DescribeVpcEndpointsResult): any => ({ + ...obj, +}); -export interface ModifyInstanceCapacityReservationAttributesResult { - /** - *

        Returns true if the request succeeds; otherwise, it returns an error.

        - */ - Return?: boolean; -} +/** + * @internal + */ +export const DescribeVpcEndpointServiceConfigurationsRequestFilterSensitiveLog = ( + obj: DescribeVpcEndpointServiceConfigurationsRequest +): any => ({ + ...obj, +}); /** * @internal @@ -7326,6 +7444,24 @@ export const DisassociateInstanceEventWindowResultFilterSensitiveLog = ( ...obj, }); +/** + * @internal + */ +export const DisassociateIpamResourceDiscoveryRequestFilterSensitiveLog = ( + obj: DisassociateIpamResourceDiscoveryRequest +): any => ({ + ...obj, +}); + +/** + * @internal + */ +export const DisassociateIpamResourceDiscoveryResultFilterSensitiveLog = ( + obj: DisassociateIpamResourceDiscoveryResult +): any => ({ + ...obj, +}); + /** * @internal */ @@ -8115,6 +8251,59 @@ export const GetIpamAddressHistoryResultFilterSensitiveLog = (obj: GetIpamAddres ...obj, }); +/** + * @internal + */ +export const GetIpamDiscoveredAccountsRequestFilterSensitiveLog = (obj: GetIpamDiscoveredAccountsRequest): any => ({ + ...obj, +}); + +/** + * @internal + */ +export const IpamDiscoveryFailureReasonFilterSensitiveLog = (obj: IpamDiscoveryFailureReason): any => ({ + ...obj, +}); + +/** + * @internal + */ +export const IpamDiscoveredAccountFilterSensitiveLog = (obj: IpamDiscoveredAccount): any => ({ + ...obj, +}); + +/** + * @internal + */ +export const GetIpamDiscoveredAccountsResultFilterSensitiveLog = (obj: GetIpamDiscoveredAccountsResult): any => ({ + ...obj, +}); + +/** + * @internal + */ +export const GetIpamDiscoveredResourceCidrsRequestFilterSensitiveLog = ( + obj: GetIpamDiscoveredResourceCidrsRequest +): any => ({ + ...obj, +}); + +/** + * @internal + */ +export const IpamDiscoveredResourceCidrFilterSensitiveLog = (obj: IpamDiscoveredResourceCidr): any => ({ + ...obj, +}); + +/** + * @internal + */ +export const GetIpamDiscoveredResourceCidrsResultFilterSensitiveLog = ( + obj: GetIpamDiscoveredResourceCidrsResult +): any => ({ + ...obj, +}); + /** * @internal */ @@ -8909,190 +9098,3 @@ export const ModifyCapacityReservationFleetResultFilterSensitiveLog = ( export const DnsServersOptionsModifyStructureFilterSensitiveLog = (obj: DnsServersOptionsModifyStructure): any => ({ ...obj, }); - -/** - * @internal - */ -export const ModifyClientVpnEndpointRequestFilterSensitiveLog = (obj: ModifyClientVpnEndpointRequest): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const ModifyClientVpnEndpointResultFilterSensitiveLog = (obj: ModifyClientVpnEndpointResult): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const ModifyDefaultCreditSpecificationRequestFilterSensitiveLog = ( - obj: ModifyDefaultCreditSpecificationRequest -): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const ModifyDefaultCreditSpecificationResultFilterSensitiveLog = ( - obj: ModifyDefaultCreditSpecificationResult -): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const ModifyEbsDefaultKmsKeyIdRequestFilterSensitiveLog = (obj: ModifyEbsDefaultKmsKeyIdRequest): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const ModifyEbsDefaultKmsKeyIdResultFilterSensitiveLog = (obj: ModifyEbsDefaultKmsKeyIdResult): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const ModifyFleetRequestFilterSensitiveLog = (obj: ModifyFleetRequest): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const ModifyFleetResultFilterSensitiveLog = (obj: ModifyFleetResult): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const LoadPermissionRequestFilterSensitiveLog = (obj: LoadPermissionRequest): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const LoadPermissionModificationsFilterSensitiveLog = (obj: LoadPermissionModifications): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const ModifyFpgaImageAttributeRequestFilterSensitiveLog = (obj: ModifyFpgaImageAttributeRequest): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const ModifyFpgaImageAttributeResultFilterSensitiveLog = (obj: ModifyFpgaImageAttributeResult): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const ModifyHostsRequestFilterSensitiveLog = (obj: ModifyHostsRequest): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const ModifyHostsResultFilterSensitiveLog = (obj: ModifyHostsResult): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const ModifyIdentityIdFormatRequestFilterSensitiveLog = (obj: ModifyIdentityIdFormatRequest): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const ModifyIdFormatRequestFilterSensitiveLog = (obj: ModifyIdFormatRequest): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const LaunchPermissionModificationsFilterSensitiveLog = (obj: LaunchPermissionModifications): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const ModifyImageAttributeRequestFilterSensitiveLog = (obj: ModifyImageAttributeRequest): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const EbsInstanceBlockDeviceSpecificationFilterSensitiveLog = ( - obj: EbsInstanceBlockDeviceSpecification -): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const InstanceBlockDeviceMappingSpecificationFilterSensitiveLog = ( - obj: InstanceBlockDeviceMappingSpecification -): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const BlobAttributeValueFilterSensitiveLog = (obj: BlobAttributeValue): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const ModifyInstanceAttributeRequestFilterSensitiveLog = (obj: ModifyInstanceAttributeRequest): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const CapacityReservationSpecificationFilterSensitiveLog = (obj: CapacityReservationSpecification): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const ModifyInstanceCapacityReservationAttributesRequestFilterSensitiveLog = ( - obj: ModifyInstanceCapacityReservationAttributesRequest -): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const ModifyInstanceCapacityReservationAttributesResultFilterSensitiveLog = ( - obj: ModifyInstanceCapacityReservationAttributesResult -): any => ({ - ...obj, -}); diff --git a/clients/client-ec2/src/models/models_6.ts b/clients/client-ec2/src/models/models_6.ts index 892b3afa9447..2407b1761ec0 100644 --- a/clients/client-ec2/src/models/models_6.ts +++ b/clients/client-ec2/src/models/models_6.ts @@ -10,11 +10,16 @@ import { AddressAttributeName, Affinity, ApplianceModeSupportValue, + AutoPlacement, ByoipCidr, + ClientConnectOptions, + ClientLoginBannerOptions, ClientVpnAuthorizationRuleStatus, + ConnectionLogOptions, CurrencyCodeValues, DnsSupportValue, EnaSrdSpecification, + HostRecovery, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, @@ -22,6 +27,7 @@ import { Ipv6SupportValue, PortRange, RouteTableAssociationState, + SelfServicePortal, TagSpecification, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, @@ -34,8 +40,12 @@ import { import { AttributeValue, BlockDeviceMapping, + CapacityReservationPreference, + CapacityReservationTarget, CreditSpecificationRequest, ElasticGpuSpecification, + FleetExcessCapacityTerminationPolicy, + FleetLaunchTemplateConfigRequest, HostnameType, IcmpTypeCode, InstanceEventWindowTimeRangeRequest, @@ -43,6 +53,7 @@ import { InstanceIpv6Address, Ipam, IpamPool, + IpamResourceDiscovery, IpamScope, LaunchTemplate, LocalGatewayRoute, @@ -52,8 +63,8 @@ import { RequestIpamResourceTag, RuleAction, ShutdownBehavior, - SnapshotState, SpotInstanceType, + TargetCapacitySpecificationRequest, VolumeType, } from "./models_1"; import { @@ -70,6 +81,7 @@ import { Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, + SnapshotState, TrafficDirection, TrafficMirrorFilter, TrafficMirrorFilterRule, @@ -93,6 +105,8 @@ import { BootModeValues, ClientVpnConnectionStatus, Filter, + FpgaImageAttribute, + FpgaImageAttributeName, HttpTokensState, ImdsSupportValues, InstanceAttributeName, @@ -105,7 +119,9 @@ import { InstanceStatusEvent, InstanceTagNotificationAttribute, IpamPoolCidr, + LaunchPermission, Monitoring, + PermissionGroup, TpmSupportValues, } from "./models_3"; import { @@ -126,7 +142,763 @@ import { VerifiedAccessInstanceLoggingConfiguration, VolumeModification, } from "./models_4"; -import { CapacityReservationSpecification, IpamResourceCidr, OperationType, Purchase } from "./models_5"; +import { + DnsServersOptionsModifyStructure, + InstanceFamilyCreditSpecification, + IpamResourceCidr, + Purchase, + UnlimitedSupportedInstanceFamily, +} from "./models_5"; + +export interface ModifyClientVpnEndpointRequest { + /** + *

        The ID of the Client VPN endpoint to modify.

        + */ + ClientVpnEndpointId: string | undefined; + + /** + *

        The ARN of the server certificate to be used. The server certificate must be provisioned in + * Certificate Manager (ACM).

        + */ + ServerCertificateArn?: string; + + /** + *

        Information about the client connection logging options.

        + *

        If you enable client connection logging, data about client connections is sent to a + * Cloudwatch Logs log stream. The following information is logged:

        + *
          + *
        • + *

          Client connection requests

          + *
        • + *
        • + *

          Client connection results (successful and unsuccessful)

          + *
        • + *
        • + *

          Reasons for unsuccessful client connection requests

          + *
        • + *
        • + *

          Client connection termination time

          + *
        • + *
        + */ + ConnectionLogOptions?: ConnectionLogOptions; + + /** + *

        Information about the DNS servers to be used by Client VPN connections. A Client VPN endpoint can have + * up to two DNS servers.

        + */ + DnsServers?: DnsServersOptionsModifyStructure; + + /** + *

        The port number to assign to the Client VPN endpoint for TCP and UDP traffic.

        + *

        Valid Values: 443 | 1194 + *

        + *

        Default Value: 443 + *

        + */ + VpnPort?: number; + + /** + *

        A brief description of the Client VPN endpoint.

        + */ + Description?: string; + + /** + *

        Indicates whether the VPN is split-tunnel.

        + *

        For information about split-tunnel VPN endpoints, see Split-tunnel Client VPN endpoint in the + * Client VPN Administrator Guide.

        + */ + SplitTunnel?: boolean; + + /** + *

        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

        + */ + DryRun?: boolean; + + /** + *

        The IDs of one or more security groups to apply to the target network.

        + */ + SecurityGroupIds?: string[]; + + /** + *

        The ID of the VPC to associate with the Client VPN endpoint.

        + */ + VpcId?: string; + + /** + *

        Specify whether to enable the self-service portal for the Client VPN endpoint.

        + */ + SelfServicePortal?: SelfServicePortal | string; + + /** + *

        The options for managing connection authorization for new client connections.

        + */ + ClientConnectOptions?: ClientConnectOptions; + + /** + *

        The maximum VPN session duration time in hours.

        + *

        Valid values: 8 | 10 | 12 | 24 + *

        + *

        Default value: 24 + *

        + */ + SessionTimeoutHours?: number; + + /** + *

        Options for enabling a customizable text banner that will be displayed on + * Amazon Web Services provided clients when a VPN session is established.

        + */ + ClientLoginBannerOptions?: ClientLoginBannerOptions; +} + +export interface ModifyClientVpnEndpointResult { + /** + *

        Returns true if the request succeeds; otherwise, it returns an error.

        + */ + Return?: boolean; +} + +export interface ModifyDefaultCreditSpecificationRequest { + /** + *

        Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

        + */ + DryRun?: boolean; + + /** + *

        The instance family.

        + */ + InstanceFamily: UnlimitedSupportedInstanceFamily | string | undefined; + + /** + *

        The credit option for CPU usage of the instance family.

        + *

        Valid Values: standard | unlimited + *

        + */ + CpuCredits: string | undefined; +} + +export interface ModifyDefaultCreditSpecificationResult { + /** + *

        The default credit option for CPU usage of the instance family.

        + */ + InstanceFamilyCreditSpecification?: InstanceFamilyCreditSpecification; +} + +export interface ModifyEbsDefaultKmsKeyIdRequest { + /** + *

        The identifier of the Key Management Service (KMS) KMS key to use for Amazon EBS encryption. + * If this parameter is not specified, your KMS key for Amazon EBS is used. If KmsKeyId is + * specified, the encrypted state must be true.

        + *

        You can specify the KMS key using any of the following:

        + *
          + *
        • + *

          Key ID. For example, 1234abcd-12ab-34cd-56ef-1234567890ab.

          + *
        • + *
        • + *

          Key alias. For example, alias/ExampleAlias.

          + *
        • + *
        • + *

          Key ARN. For example, arn:aws:kms:us-east-1:012345678910:key/1234abcd-12ab-34cd-56ef-1234567890ab.

          + *
        • + *
        • + *

          Alias ARN. For example, arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.

          + *
        • + *
        + *

        Amazon Web Services authenticates the KMS key asynchronously. Therefore, if you specify an ID, alias, or ARN that is not valid, + * the action can appear to complete, but eventually fails.

        + *

        Amazon EBS does not support asymmetric KMS keys.

        + */ + KmsKeyId: string | undefined; + + /** + *

        Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

        + */ + DryRun?: boolean; +} + +export interface ModifyEbsDefaultKmsKeyIdResult { + /** + *

        The Amazon Resource Name (ARN) of the default KMS key for encryption by default.

        + */ + KmsKeyId?: string; +} + +export interface ModifyFleetRequest { + /** + *

        Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

        + */ + DryRun?: boolean; + + /** + *

        Indicates whether running instances should be terminated if the total target capacity of + * the EC2 Fleet is decreased below the current size of the EC2 Fleet.

        + */ + ExcessCapacityTerminationPolicy?: FleetExcessCapacityTerminationPolicy | string; + + /** + *

        The launch template and overrides.

        + */ + LaunchTemplateConfigs?: FleetLaunchTemplateConfigRequest[]; + + /** + *

        The ID of the EC2 Fleet.

        + */ + FleetId: string | undefined; + + /** + *

        The size of the EC2 Fleet.

        + */ + TargetCapacitySpecification?: TargetCapacitySpecificationRequest; + + /** + *

        Reserved.

        + */ + Context?: string; +} + +export interface ModifyFleetResult { + /** + *

        If the request succeeds, the response returns true. If the request fails, + * no response is returned, and instead an error message is returned.

        + */ + Return?: boolean; +} + +/** + *

        Describes a load permission.

        + */ +export interface LoadPermissionRequest { + /** + *

        The name of the group.

        + */ + Group?: PermissionGroup | string; + + /** + *

        The Amazon Web Services account ID.

        + */ + UserId?: string; +} + +/** + *

        Describes modifications to the load permissions of an Amazon FPGA image (AFI).

        + */ +export interface LoadPermissionModifications { + /** + *

        The load permissions to add.

        + */ + Add?: LoadPermissionRequest[]; + + /** + *

        The load permissions to remove.

        + */ + Remove?: LoadPermissionRequest[]; +} + +export enum OperationType { + add = "add", + remove = "remove", +} + +export interface ModifyFpgaImageAttributeRequest { + /** + *

        Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

        + */ + DryRun?: boolean; + + /** + *

        The ID of the AFI.

        + */ + FpgaImageId: string | undefined; + + /** + *

        The name of the attribute.

        + */ + Attribute?: FpgaImageAttributeName | string; + + /** + *

        The operation type.

        + */ + OperationType?: OperationType | string; + + /** + *

        The Amazon Web Services account IDs. This parameter is valid only when modifying the loadPermission attribute.

        + */ + UserIds?: string[]; + + /** + *

        The user groups. This parameter is valid only when modifying the loadPermission attribute.

        + */ + UserGroups?: string[]; + + /** + *

        The product codes. After you add a product code to an AFI, it can't be removed. + * This parameter is valid only when modifying the productCodes attribute.

        + */ + ProductCodes?: string[]; + + /** + *

        The load permission for the AFI.

        + */ + LoadPermission?: LoadPermissionModifications; + + /** + *

        A description for the AFI.

        + */ + Description?: string; + + /** + *

        A name for the AFI.

        + */ + Name?: string; +} + +export interface ModifyFpgaImageAttributeResult { + /** + *

        Information about the attribute.

        + */ + FpgaImageAttribute?: FpgaImageAttribute; +} + +export interface ModifyHostsRequest { + /** + *

        Specify whether to enable or disable auto-placement.

        + */ + AutoPlacement?: AutoPlacement | string; + + /** + *

        The IDs of the Dedicated Hosts to modify.

        + */ + HostIds: string[] | undefined; + + /** + *

        Indicates whether to enable or disable host recovery for the Dedicated Host. For more + * information, see Host recovery + * in the Amazon EC2 User Guide.

        + */ + HostRecovery?: HostRecovery | string; + + /** + *

        Specifies the instance type to be supported by the Dedicated Host. Specify this + * parameter to modify a Dedicated Host to support only a specific instance type.

        + *

        If you want to modify a Dedicated Host to support multiple instance types in its + * current instance family, omit this parameter and specify InstanceFamily instead. You cannot specify InstanceType and InstanceFamily in the + * same request.

        + */ + InstanceType?: string; + + /** + *

        Specifies the instance family to be supported by the Dedicated Host. Specify this + * parameter to modify a Dedicated Host to support multiple instance types within its + * current instance family.

        + *

        If you want to modify a Dedicated Host to support a specific instance type only, omit + * this parameter and specify InstanceType instead. You + * cannot specify InstanceFamily and InstanceType in the same request.

        + */ + InstanceFamily?: string; +} + +export interface ModifyHostsResult { + /** + *

        The IDs of the Dedicated Hosts that were successfully modified.

        + */ + Successful?: string[]; + + /** + *

        The IDs of the Dedicated Hosts that could not be modified. Check whether the setting + * you requested can be used.

        + */ + Unsuccessful?: UnsuccessfulItem[]; +} + +export interface ModifyIdentityIdFormatRequest { + /** + *

        The ARN of the principal, which can be an IAM user, IAM role, or the root user. Specify + * all to modify the ID format for all IAM users, IAM roles, and the root user of + * the account.

        + */ + PrincipalArn: string | undefined; + + /** + *

        The type of resource: bundle | conversion-task | customer-gateway | dhcp-options | + * elastic-ip-allocation | elastic-ip-association | + * export-task | flow-log | image | + * import-task | internet-gateway | network-acl + * | network-acl-association | network-interface | + * network-interface-attachment | prefix-list | + * route-table | route-table-association | + * security-group | subnet | + * subnet-cidr-block-association | vpc | + * vpc-cidr-block-association | vpc-endpoint | vpc-peering-connection | vpn-connection | vpn-gateway.

        + *

        Alternatively, use the all-current option to include all resource types that are + * currently within their opt-in period for longer IDs.

        + */ + Resource: string | undefined; + + /** + *

        Indicates whether the resource should use longer IDs (17-character IDs)

        + */ + UseLongIds: boolean | undefined; +} + +export interface ModifyIdFormatRequest { + /** + *

        The type of resource: bundle | conversion-task | customer-gateway | dhcp-options | + * elastic-ip-allocation | elastic-ip-association | + * export-task | flow-log | image | + * import-task | internet-gateway | network-acl + * | network-acl-association | network-interface | + * network-interface-attachment | prefix-list | + * route-table | route-table-association | + * security-group | subnet | + * subnet-cidr-block-association | vpc | + * vpc-cidr-block-association | vpc-endpoint | vpc-peering-connection | vpn-connection | vpn-gateway.

        + *

        Alternatively, use the all-current option to include all resource types that are + * currently within their opt-in period for longer IDs.

        + */ + Resource: string | undefined; + + /** + *

        Indicate whether the resource should use longer IDs (17-character IDs).

        + */ + UseLongIds: boolean | undefined; +} + +/** + *

        Describes a launch permission modification.

        + */ +export interface LaunchPermissionModifications { + /** + *

        The Amazon Web Services account ID, organization ARN, or OU ARN to add to the list of launch permissions for the AMI.

        + */ + Add?: LaunchPermission[]; + + /** + *

        The Amazon Web Services account ID, organization ARN, or OU ARN to remove from the list of launch permissions for the AMI.

        + */ + Remove?: LaunchPermission[]; +} + +/** + *

        Contains the parameters for ModifyImageAttribute.

        + */ +export interface ModifyImageAttributeRequest { + /** + *

        The name of the attribute to modify.

        + *

        Valid values: description | launchPermission + *

        + */ + Attribute?: string; + + /** + *

        A new description for the AMI.

        + */ + Description?: AttributeValue; + + /** + *

        The ID of the AMI.

        + */ + ImageId: string | undefined; + + /** + *

        A new launch permission for the AMI.

        + */ + LaunchPermission?: LaunchPermissionModifications; + + /** + *

        The operation type. + * This parameter can be used only when the Attribute parameter is launchPermission.

        + */ + OperationType?: OperationType | string; + + /** + *

        Not supported.

        + */ + ProductCodes?: string[]; + + /** + *

        The user groups. + * This parameter can be used only when the Attribute parameter is launchPermission.

        + */ + UserGroups?: string[]; + + /** + *

        The Amazon Web Services account IDs. + * This parameter can be used only when the Attribute parameter is launchPermission.

        + */ + UserIds?: string[]; + + /** + *

        The value of the attribute being modified. + * This parameter can be used only when the Attribute parameter is description.

        + */ + Value?: string; + + /** + *

        Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is + * DryRunOperation. Otherwise, it is UnauthorizedOperation.

        + */ + DryRun?: boolean; + + /** + *

        The Amazon Resource Name (ARN) of an organization. This parameter can be used only when the Attribute parameter is launchPermission.

        + */ + OrganizationArns?: string[]; + + /** + *

        The Amazon Resource Name (ARN) of an organizational unit (OU). This parameter can be used only when the Attribute parameter is launchPermission.

        + */ + OrganizationalUnitArns?: string[]; +} + +/** + *

        Describes information used to set up an EBS volume specified in a block device + * mapping.

        + */ +export interface EbsInstanceBlockDeviceSpecification { + /** + *

        Indicates whether the volume is deleted on instance termination.

        + */ + DeleteOnTermination?: boolean; + + /** + *

        The ID of the EBS volume.

        + */ + VolumeId?: string; +} + +/** + *

        Describes a block device mapping entry.

        + */ +export interface InstanceBlockDeviceMappingSpecification { + /** + *

        The device name (for example, /dev/sdh or xvdh).

        + */ + DeviceName?: string; + + /** + *

        Parameters used to automatically set up EBS volumes when the instance is + * launched.

        + */ + Ebs?: EbsInstanceBlockDeviceSpecification; + + /** + *

        suppress the specified device included in the block device mapping.

        + */ + NoDevice?: string; + + /** + *

        The virtual device name.

        + */ + VirtualName?: string; +} + +export interface BlobAttributeValue { + Value?: Uint8Array; +} + +export interface ModifyInstanceAttributeRequest { + /** + *

        Enable or disable source/destination checks, which ensure that the instance is either + * the source or the destination of any traffic that it receives. If the value is + * true, source/destination checks are enabled; otherwise, they are + * disabled. The default value is true. You must disable source/destination + * checks if the instance runs services such as network address translation, routing, or + * firewalls.

        + */ + SourceDestCheck?: AttributeBooleanValue; + + /** + *

        The name of the attribute to modify.

        + * + *

        You can modify the following attributes only: disableApiTermination | + * instanceType | kernel | ramdisk | + * instanceInitiatedShutdownBehavior | blockDeviceMapping + * | userData | sourceDestCheck | groupSet | + * ebsOptimized | sriovNetSupport | + * enaSupport | nvmeSupport | disableApiStop + * | enclaveOptions + *

        + *
        + */ + Attribute?: InstanceAttributeName | string; + + /** + *

        Modifies the DeleteOnTermination attribute for volumes that are currently + * attached. The volume must be owned by the caller. If no value is specified for + * DeleteOnTermination, the default is true and the volume is + * deleted when the instance is terminated.

        + *

        To add instance store volumes to an Amazon EBS-backed instance, you must add them when + * you launch the instance. For more information, see Update the block device mapping when launching an instance in the + * Amazon EC2 User Guide.

        + */ + BlockDeviceMappings?: InstanceBlockDeviceMappingSpecification[]; + + /** + *

        If the value is true, you can't terminate the instance using the Amazon + * EC2 console, CLI, or API; otherwise, you can. You cannot use this parameter for Spot + * Instances.

        + */ + DisableApiTermination?: AttributeBooleanValue; + + /** + *

        Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

        + */ + DryRun?: boolean; + + /** + *

        Specifies whether the instance is optimized for Amazon EBS I/O. This optimization + * provides dedicated throughput to Amazon EBS and an optimized configuration stack to + * provide optimal EBS I/O performance. This optimization isn't available with all instance + * types. Additional usage charges apply when using an EBS Optimized instance.

        + */ + EbsOptimized?: AttributeBooleanValue; + + /** + *

        Set to true to enable enhanced networking with ENA for the + * instance.

        + *

        This option is supported only for HVM instances. Specifying this option with a PV + * instance can make it unreachable.

        + */ + EnaSupport?: AttributeBooleanValue; + + /** + *

        [EC2-VPC] Replaces the security groups of the instance with the specified security + * groups. You must specify at least one security group, even if it's just the default + * security group for the VPC. You must specify the security group ID, not the security + * group name.

        + */ + Groups?: string[]; + + /** + *

        The ID of the instance.

        + */ + InstanceId: string | undefined; + + /** + *

        Specifies whether an instance stops or terminates when you initiate shutdown from the + * instance (using the operating system command for system shutdown).

        + */ + InstanceInitiatedShutdownBehavior?: AttributeValue; + + /** + *

        Changes the instance type to the specified value. For more information, see Instance + * types in the Amazon EC2 User Guide. If the instance type is + * not valid, the error returned is InvalidInstanceAttributeValue.

        + */ + InstanceType?: AttributeValue; + + /** + *

        Changes the instance's kernel to the specified value. We recommend that you use + * PV-GRUB instead of kernels and RAM disks. For more information, see PV-GRUB.

        + */ + Kernel?: AttributeValue; + + /** + *

        Changes the instance's RAM disk to the specified value. We recommend that you use + * PV-GRUB instead of kernels and RAM disks. For more information, see PV-GRUB.

        + */ + Ramdisk?: AttributeValue; + + /** + *

        Set to simple to enable enhanced networking with the Intel 82599 Virtual + * Function interface for the instance.

        + *

        There is no way to disable enhanced networking with the Intel 82599 Virtual Function + * interface at this time.

        + *

        This option is supported only for HVM instances. Specifying this option with a PV + * instance can make it unreachable.

        + */ + SriovNetSupport?: AttributeValue; + + /** + *

        Changes the instance's user data to the specified value. If you are using an Amazon Web Services SDK or command line tool, base64-encoding is performed for you, and you + * can load the text from a file. Otherwise, you must provide base64-encoded text.

        + */ + UserData?: BlobAttributeValue; + + /** + *

        A new value for the attribute. Use only with the kernel, + * ramdisk, userData, disableApiTermination, or + * instanceInitiatedShutdownBehavior attribute.

        + */ + Value?: string; + + /** + *

        Indicates whether an instance is enabled for stop protection. For more information, + * see Stop + * Protection.

        + *

        + */ + DisableApiStop?: AttributeBooleanValue; +} + +/** + *

        Describes an instance's Capacity Reservation targeting option. You can specify only one parameter + * at a time. If you specify CapacityReservationPreference and + * CapacityReservationTarget, the request fails.

        + *

        Use the CapacityReservationPreference parameter to configure the instance + * to run as an On-Demand Instance or to run in any open Capacity Reservation that has + * matching attributes (instance type, platform, Availability Zone). Use the + * CapacityReservationTarget parameter to explicitly target a specific + * Capacity Reservation or a Capacity Reservation group.

        + */ +export interface CapacityReservationSpecification { + /** + *

        Indicates the instance's Capacity Reservation preferences. Possible preferences include:

        + *
          + *
        • + *

          + * open - The instance can run in any open Capacity Reservation that has matching attributes + * (instance type, platform, Availability Zone).

          + *
        • + *
        • + *

          + * none - The instance avoids running in a Capacity Reservation even if one is available. The + * instance runs as an On-Demand Instance.

          + *
        • + *
        + */ + CapacityReservationPreference?: CapacityReservationPreference | string; + + /** + *

        Information about the target Capacity Reservation or Capacity Reservation group.

        + */ + CapacityReservationTarget?: CapacityReservationTarget; +} + +export interface ModifyInstanceCapacityReservationAttributesRequest { + /** + *

        The ID of the instance to be modified.

        + */ + InstanceId: string | undefined; + + /** + *

        Information about the Capacity Reservation targeting option.

        + */ + CapacityReservationSpecification: CapacityReservationSpecification | undefined; + + /** + *

        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

        + */ + DryRun?: boolean; +} + +export interface ModifyInstanceCapacityReservationAttributesResult { + /** + *

        Returns true if the request succeeds; otherwise, it returns an error.

        + */ + Return?: boolean; +} /** *

        Describes the credit option for CPU usage of a burstable performance instance.

        @@ -513,8 +1285,7 @@ export interface ModifyInstancePlacementResult { } /** - *

        Remove an operating Region from an IPAM. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only - * discovers and monitors resources in the Amazon Web Services Regions you select as operating Regions.

        + *

        Remove an operating Region from an IPAM. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the Amazon Web Services Regions you select as operating Regions.

        *

        For more information about operating Regions, see Create an IPAM in the Amazon VPC IPAM User Guide *

        */ @@ -544,8 +1315,7 @@ export interface ModifyIpamRequest { Description?: string; /** - *

        Choose the operating Regions for the IPAM. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only - * discovers and monitors resources in the Amazon Web Services Regions you select as operating Regions.

        + *

        Choose the operating Regions for the IPAM. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the Amazon Web Services Regions you select as operating Regions.

        *

        For more information about operating Regions, see Create an IPAM in the Amazon VPC IPAM User Guide.

        */ AddOperatingRegions?: AddIpamOperatingRegion[]; @@ -649,36 +1419,72 @@ export interface ModifyIpamResourceCidrRequest { ResourceId: string | undefined; /** - *

        The CIDR of the resource you want to modify.

        + *

        The CIDR of the resource you want to modify.

        + */ + ResourceCidr: string | undefined; + + /** + *

        The Amazon Web Services Region of the resource you want to modify.

        + */ + ResourceRegion: string | undefined; + + /** + *

        The ID of the current scope that the resource CIDR is in.

        + */ + CurrentIpamScopeId: string | undefined; + + /** + *

        The ID of the scope you want to transfer the resource CIDR to.

        + */ + DestinationIpamScopeId?: string; + + /** + *

        Determines if the resource is monitored by IPAM. If a resource is monitored, the resource is discovered by IPAM and you can view details about the resource’s CIDR.

        + */ + Monitored: boolean | undefined; +} + +export interface ModifyIpamResourceCidrResult { + /** + *

        The CIDR of the resource.

        + */ + IpamResourceCidr?: IpamResourceCidr; +} + +export interface ModifyIpamResourceDiscoveryRequest { + /** + *

        A check for whether you have the required permissions for the action without actually making the request + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

        */ - ResourceCidr: string | undefined; + DryRun?: boolean; /** - *

        The Amazon Web Services Region of the resource you want to modify.

        + *

        A resource discovery ID.

        */ - ResourceRegion: string | undefined; + IpamResourceDiscoveryId: string | undefined; /** - *

        The ID of the current scope that the resource CIDR is in.

        + *

        A resource discovery description.

        */ - CurrentIpamScopeId: string | undefined; + Description?: string; /** - *

        The ID of the scope you want to transfer the resource CIDR to.

        + *

        Add operating Regions to the resource discovery. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the Amazon Web Services Regions you select as operating Regions.

        */ - DestinationIpamScopeId?: string; + AddOperatingRegions?: AddIpamOperatingRegion[]; /** - *

        Determines if the resource is monitored by IPAM. If a resource is monitored, the resource is discovered by IPAM and you can view details about the resource’s CIDR.

        + *

        Remove operating Regions.

        */ - Monitored: boolean | undefined; + RemoveOperatingRegions?: RemoveIpamOperatingRegion[]; } -export interface ModifyIpamResourceCidrResult { +export interface ModifyIpamResourceDiscoveryResult { /** - *

        The CIDR of the resource.

        + *

        A resource discovery.

        */ - IpamResourceCidr?: IpamResourceCidr; + IpamResourceDiscovery?: IpamResourceDiscovery; } export interface ModifyIpamScopeRequest { @@ -3119,7 +3925,7 @@ export interface ProvisionIpamPoolCidrRequest { IpamPoolId: string | undefined; /** - *

        The CIDR you want to assign to the IPAM pool.

        + *

        The CIDR you want to assign to the IPAM pool. Either "NetmaskLength" or "Cidr" is required. This value will be null if you specify "NetmaskLength" and will be filled in during the provisioning process.

        */ Cidr?: string; @@ -3127,6 +3933,16 @@ export interface ProvisionIpamPoolCidrRequest { *

        A signed document that proves that you are authorized to bring a specified IP address range to Amazon using BYOIP. This option applies to public pools only.

        */ CidrAuthorizationContext?: IpamCidrAuthorizationContext; + + /** + *

        The netmask length of the CIDR you'd like to provision to a pool. Can be used for provisioning Amazon-provided IPv6 CIDRs to top-level pools and for provisioning CIDRs to pools with source pools. Cannot be used to provision BYOIP CIDRs to top-level pools. Either "NetmaskLength" or "Cidr" is required.

        + */ + NetmaskLength?: number; + + /** + *

        A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.

        + */ + ClientToken?: string; } export interface ProvisionIpamPoolCidrResult { @@ -6670,68 +7486,192 @@ export interface UpdateSecurityGroupRuleDescriptionsEgressResult { Return?: boolean; } -export interface UpdateSecurityGroupRuleDescriptionsIngressRequest { - /** - *

        Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

        - */ - DryRun?: boolean; +/** + * @internal + */ +export const ModifyClientVpnEndpointRequestFilterSensitiveLog = (obj: ModifyClientVpnEndpointRequest): any => ({ + ...obj, +}); - /** - *

        The ID of the security group. You must specify either the security group ID or the - * security group name in the request. For security groups in a nondefault VPC, you must - * specify the security group ID.

        - */ - GroupId?: string; +/** + * @internal + */ +export const ModifyClientVpnEndpointResultFilterSensitiveLog = (obj: ModifyClientVpnEndpointResult): any => ({ + ...obj, +}); - /** - *

        [EC2-Classic, default VPC] The name of the security group. You must specify either the - * security group ID or the security group name in the request. For security groups in a - * nondefault VPC, you must specify the security group ID.

        - */ - GroupName?: string; +/** + * @internal + */ +export const ModifyDefaultCreditSpecificationRequestFilterSensitiveLog = ( + obj: ModifyDefaultCreditSpecificationRequest +): any => ({ + ...obj, +}); - /** - *

        The IP permissions for the security group rule. You must specify either IP permissions - * or a description.

        - */ - IpPermissions?: IpPermission[]; +/** + * @internal + */ +export const ModifyDefaultCreditSpecificationResultFilterSensitiveLog = ( + obj: ModifyDefaultCreditSpecificationResult +): any => ({ + ...obj, +}); - /** - *

        [VPC only] The description for the ingress security group rules. You must specify either - * a description or IP permissions.

        - */ - SecurityGroupRuleDescriptions?: SecurityGroupRuleDescription[]; -} +/** + * @internal + */ +export const ModifyEbsDefaultKmsKeyIdRequestFilterSensitiveLog = (obj: ModifyEbsDefaultKmsKeyIdRequest): any => ({ + ...obj, +}); -export interface UpdateSecurityGroupRuleDescriptionsIngressResult { - /** - *

        Returns true if the request succeeds; otherwise, returns an error.

        - */ - Return?: boolean; -} +/** + * @internal + */ +export const ModifyEbsDefaultKmsKeyIdResultFilterSensitiveLog = (obj: ModifyEbsDefaultKmsKeyIdResult): any => ({ + ...obj, +}); -export interface WithdrawByoipCidrRequest { - /** - *

        The address range, in CIDR notation.

        - */ - Cidr: string | undefined; +/** + * @internal + */ +export const ModifyFleetRequestFilterSensitiveLog = (obj: ModifyFleetRequest): any => ({ + ...obj, +}); - /** - *

        Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

        - */ - DryRun?: boolean; -} +/** + * @internal + */ +export const ModifyFleetResultFilterSensitiveLog = (obj: ModifyFleetResult): any => ({ + ...obj, +}); -export interface WithdrawByoipCidrResult { - /** - *

        Information about the address pool.

        - */ - ByoipCidr?: ByoipCidr; -} +/** + * @internal + */ +export const LoadPermissionRequestFilterSensitiveLog = (obj: LoadPermissionRequest): any => ({ + ...obj, +}); + +/** + * @internal + */ +export const LoadPermissionModificationsFilterSensitiveLog = (obj: LoadPermissionModifications): any => ({ + ...obj, +}); + +/** + * @internal + */ +export const ModifyFpgaImageAttributeRequestFilterSensitiveLog = (obj: ModifyFpgaImageAttributeRequest): any => ({ + ...obj, +}); + +/** + * @internal + */ +export const ModifyFpgaImageAttributeResultFilterSensitiveLog = (obj: ModifyFpgaImageAttributeResult): any => ({ + ...obj, +}); + +/** + * @internal + */ +export const ModifyHostsRequestFilterSensitiveLog = (obj: ModifyHostsRequest): any => ({ + ...obj, +}); + +/** + * @internal + */ +export const ModifyHostsResultFilterSensitiveLog = (obj: ModifyHostsResult): any => ({ + ...obj, +}); + +/** + * @internal + */ +export const ModifyIdentityIdFormatRequestFilterSensitiveLog = (obj: ModifyIdentityIdFormatRequest): any => ({ + ...obj, +}); + +/** + * @internal + */ +export const ModifyIdFormatRequestFilterSensitiveLog = (obj: ModifyIdFormatRequest): any => ({ + ...obj, +}); + +/** + * @internal + */ +export const LaunchPermissionModificationsFilterSensitiveLog = (obj: LaunchPermissionModifications): any => ({ + ...obj, +}); + +/** + * @internal + */ +export const ModifyImageAttributeRequestFilterSensitiveLog = (obj: ModifyImageAttributeRequest): any => ({ + ...obj, +}); + +/** + * @internal + */ +export const EbsInstanceBlockDeviceSpecificationFilterSensitiveLog = ( + obj: EbsInstanceBlockDeviceSpecification +): any => ({ + ...obj, +}); + +/** + * @internal + */ +export const InstanceBlockDeviceMappingSpecificationFilterSensitiveLog = ( + obj: InstanceBlockDeviceMappingSpecification +): any => ({ + ...obj, +}); + +/** + * @internal + */ +export const BlobAttributeValueFilterSensitiveLog = (obj: BlobAttributeValue): any => ({ + ...obj, +}); + +/** + * @internal + */ +export const ModifyInstanceAttributeRequestFilterSensitiveLog = (obj: ModifyInstanceAttributeRequest): any => ({ + ...obj, +}); + +/** + * @internal + */ +export const CapacityReservationSpecificationFilterSensitiveLog = (obj: CapacityReservationSpecification): any => ({ + ...obj, +}); + +/** + * @internal + */ +export const ModifyInstanceCapacityReservationAttributesRequestFilterSensitiveLog = ( + obj: ModifyInstanceCapacityReservationAttributesRequest +): any => ({ + ...obj, +}); + +/** + * @internal + */ +export const ModifyInstanceCapacityReservationAttributesResultFilterSensitiveLog = ( + obj: ModifyInstanceCapacityReservationAttributesResult +): any => ({ + ...obj, +}); /** * @internal @@ -6914,6 +7854,20 @@ export const ModifyIpamResourceCidrResultFilterSensitiveLog = (obj: ModifyIpamRe ...obj, }); +/** + * @internal + */ +export const ModifyIpamResourceDiscoveryRequestFilterSensitiveLog = (obj: ModifyIpamResourceDiscoveryRequest): any => ({ + ...obj, +}); + +/** + * @internal + */ +export const ModifyIpamResourceDiscoveryResultFilterSensitiveLog = (obj: ModifyIpamResourceDiscoveryResult): any => ({ + ...obj, +}); + /** * @internal */ @@ -8733,35 +9687,3 @@ export const UpdateSecurityGroupRuleDescriptionsEgressResultFilterSensitiveLog = ): any => ({ ...obj, }); - -/** - * @internal - */ -export const UpdateSecurityGroupRuleDescriptionsIngressRequestFilterSensitiveLog = ( - obj: UpdateSecurityGroupRuleDescriptionsIngressRequest -): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const UpdateSecurityGroupRuleDescriptionsIngressResultFilterSensitiveLog = ( - obj: UpdateSecurityGroupRuleDescriptionsIngressResult -): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const WithdrawByoipCidrRequestFilterSensitiveLog = (obj: WithdrawByoipCidrRequest): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const WithdrawByoipCidrResultFilterSensitiveLog = (obj: WithdrawByoipCidrResult): any => ({ - ...obj, -}); diff --git a/clients/client-ec2/src/models/models_7.ts b/clients/client-ec2/src/models/models_7.ts new file mode 100644 index 000000000000..0984eb64f458 --- /dev/null +++ b/clients/client-ec2/src/models/models_7.ts @@ -0,0 +1,98 @@ +// smithy-typescript generated code +import { ByoipCidr, IpPermission } from "./models_0"; +import { SecurityGroupRuleDescription } from "./models_6"; + +export interface UpdateSecurityGroupRuleDescriptionsIngressRequest { + /** + *

        Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

        + */ + DryRun?: boolean; + + /** + *

        The ID of the security group. You must specify either the security group ID or the + * security group name in the request. For security groups in a nondefault VPC, you must + * specify the security group ID.

        + */ + GroupId?: string; + + /** + *

        [EC2-Classic, default VPC] The name of the security group. You must specify either the + * security group ID or the security group name in the request. For security groups in a + * nondefault VPC, you must specify the security group ID.

        + */ + GroupName?: string; + + /** + *

        The IP permissions for the security group rule. You must specify either IP permissions + * or a description.

        + */ + IpPermissions?: IpPermission[]; + + /** + *

        [VPC only] The description for the ingress security group rules. You must specify either + * a description or IP permissions.

        + */ + SecurityGroupRuleDescriptions?: SecurityGroupRuleDescription[]; +} + +export interface UpdateSecurityGroupRuleDescriptionsIngressResult { + /** + *

        Returns true if the request succeeds; otherwise, returns an error.

        + */ + Return?: boolean; +} + +export interface WithdrawByoipCidrRequest { + /** + *

        The address range, in CIDR notation.

        + */ + Cidr: string | undefined; + + /** + *

        Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

        + */ + DryRun?: boolean; +} + +export interface WithdrawByoipCidrResult { + /** + *

        Information about the address pool.

        + */ + ByoipCidr?: ByoipCidr; +} + +/** + * @internal + */ +export const UpdateSecurityGroupRuleDescriptionsIngressRequestFilterSensitiveLog = ( + obj: UpdateSecurityGroupRuleDescriptionsIngressRequest +): any => ({ + ...obj, +}); + +/** + * @internal + */ +export const UpdateSecurityGroupRuleDescriptionsIngressResultFilterSensitiveLog = ( + obj: UpdateSecurityGroupRuleDescriptionsIngressResult +): any => ({ + ...obj, +}); + +/** + * @internal + */ +export const WithdrawByoipCidrRequestFilterSensitiveLog = (obj: WithdrawByoipCidrRequest): any => ({ + ...obj, +}); + +/** + * @internal + */ +export const WithdrawByoipCidrResultFilterSensitiveLog = (obj: WithdrawByoipCidrResult): any => ({ + ...obj, +}); diff --git a/clients/client-ec2/src/pagination/DescribeIpamResourceDiscoveriesPaginator.ts b/clients/client-ec2/src/pagination/DescribeIpamResourceDiscoveriesPaginator.ts new file mode 100644 index 000000000000..dc94f1848274 --- /dev/null +++ b/clients/client-ec2/src/pagination/DescribeIpamResourceDiscoveriesPaginator.ts @@ -0,0 +1,61 @@ +// smithy-typescript generated code +import { Paginator } from "@aws-sdk/types"; + +import { + DescribeIpamResourceDiscoveriesCommand, + DescribeIpamResourceDiscoveriesCommandInput, + DescribeIpamResourceDiscoveriesCommandOutput, +} from "../commands/DescribeIpamResourceDiscoveriesCommand"; +import { EC2 } from "../EC2"; +import { EC2Client } from "../EC2Client"; +import { EC2PaginationConfiguration } from "./Interfaces"; + +/** + * @private + */ +const makePagedClientRequest = async ( + client: EC2Client, + input: DescribeIpamResourceDiscoveriesCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.send(new DescribeIpamResourceDiscoveriesCommand(input), ...args); +}; +/** + * @private + */ +const makePagedRequest = async ( + client: EC2, + input: DescribeIpamResourceDiscoveriesCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.describeIpamResourceDiscoveries(input, ...args); +}; +export async function* paginateDescribeIpamResourceDiscoveries( + config: EC2PaginationConfiguration, + input: DescribeIpamResourceDiscoveriesCommandInput, + ...additionalArguments: any +): Paginator { + // ToDo: replace with actual type instead of typeof input.NextToken + let token: typeof input.NextToken | undefined = config.startingToken || undefined; + let hasNext = true; + let page: DescribeIpamResourceDiscoveriesCommandOutput; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof EC2) { + page = await makePagedRequest(config.client, input, ...additionalArguments); + } else if (config.client instanceof EC2Client) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } else { + throw new Error("Invalid client, expected EC2 | EC2Client"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + // @ts-ignore + return undefined; +} diff --git a/clients/client-ec2/src/pagination/DescribeIpamResourceDiscoveryAssociationsPaginator.ts b/clients/client-ec2/src/pagination/DescribeIpamResourceDiscoveryAssociationsPaginator.ts new file mode 100644 index 000000000000..3f154f039a42 --- /dev/null +++ b/clients/client-ec2/src/pagination/DescribeIpamResourceDiscoveryAssociationsPaginator.ts @@ -0,0 +1,61 @@ +// smithy-typescript generated code +import { Paginator } from "@aws-sdk/types"; + +import { + DescribeIpamResourceDiscoveryAssociationsCommand, + DescribeIpamResourceDiscoveryAssociationsCommandInput, + DescribeIpamResourceDiscoveryAssociationsCommandOutput, +} from "../commands/DescribeIpamResourceDiscoveryAssociationsCommand"; +import { EC2 } from "../EC2"; +import { EC2Client } from "../EC2Client"; +import { EC2PaginationConfiguration } from "./Interfaces"; + +/** + * @private + */ +const makePagedClientRequest = async ( + client: EC2Client, + input: DescribeIpamResourceDiscoveryAssociationsCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.send(new DescribeIpamResourceDiscoveryAssociationsCommand(input), ...args); +}; +/** + * @private + */ +const makePagedRequest = async ( + client: EC2, + input: DescribeIpamResourceDiscoveryAssociationsCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.describeIpamResourceDiscoveryAssociations(input, ...args); +}; +export async function* paginateDescribeIpamResourceDiscoveryAssociations( + config: EC2PaginationConfiguration, + input: DescribeIpamResourceDiscoveryAssociationsCommandInput, + ...additionalArguments: any +): Paginator { + // ToDo: replace with actual type instead of typeof input.NextToken + let token: typeof input.NextToken | undefined = config.startingToken || undefined; + let hasNext = true; + let page: DescribeIpamResourceDiscoveryAssociationsCommandOutput; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof EC2) { + page = await makePagedRequest(config.client, input, ...additionalArguments); + } else if (config.client instanceof EC2Client) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } else { + throw new Error("Invalid client, expected EC2 | EC2Client"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + // @ts-ignore + return undefined; +} diff --git a/clients/client-ec2/src/pagination/GetIpamDiscoveredAccountsPaginator.ts b/clients/client-ec2/src/pagination/GetIpamDiscoveredAccountsPaginator.ts new file mode 100644 index 000000000000..ab13c5c2ce89 --- /dev/null +++ b/clients/client-ec2/src/pagination/GetIpamDiscoveredAccountsPaginator.ts @@ -0,0 +1,61 @@ +// smithy-typescript generated code +import { Paginator } from "@aws-sdk/types"; + +import { + GetIpamDiscoveredAccountsCommand, + GetIpamDiscoveredAccountsCommandInput, + GetIpamDiscoveredAccountsCommandOutput, +} from "../commands/GetIpamDiscoveredAccountsCommand"; +import { EC2 } from "../EC2"; +import { EC2Client } from "../EC2Client"; +import { EC2PaginationConfiguration } from "./Interfaces"; + +/** + * @private + */ +const makePagedClientRequest = async ( + client: EC2Client, + input: GetIpamDiscoveredAccountsCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.send(new GetIpamDiscoveredAccountsCommand(input), ...args); +}; +/** + * @private + */ +const makePagedRequest = async ( + client: EC2, + input: GetIpamDiscoveredAccountsCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.getIpamDiscoveredAccounts(input, ...args); +}; +export async function* paginateGetIpamDiscoveredAccounts( + config: EC2PaginationConfiguration, + input: GetIpamDiscoveredAccountsCommandInput, + ...additionalArguments: any +): Paginator { + // ToDo: replace with actual type instead of typeof input.NextToken + let token: typeof input.NextToken | undefined = config.startingToken || undefined; + let hasNext = true; + let page: GetIpamDiscoveredAccountsCommandOutput; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof EC2) { + page = await makePagedRequest(config.client, input, ...additionalArguments); + } else if (config.client instanceof EC2Client) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } else { + throw new Error("Invalid client, expected EC2 | EC2Client"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + // @ts-ignore + return undefined; +} diff --git a/clients/client-ec2/src/pagination/GetIpamDiscoveredResourceCidrsPaginator.ts b/clients/client-ec2/src/pagination/GetIpamDiscoveredResourceCidrsPaginator.ts new file mode 100644 index 000000000000..841dffee6077 --- /dev/null +++ b/clients/client-ec2/src/pagination/GetIpamDiscoveredResourceCidrsPaginator.ts @@ -0,0 +1,61 @@ +// smithy-typescript generated code +import { Paginator } from "@aws-sdk/types"; + +import { + GetIpamDiscoveredResourceCidrsCommand, + GetIpamDiscoveredResourceCidrsCommandInput, + GetIpamDiscoveredResourceCidrsCommandOutput, +} from "../commands/GetIpamDiscoveredResourceCidrsCommand"; +import { EC2 } from "../EC2"; +import { EC2Client } from "../EC2Client"; +import { EC2PaginationConfiguration } from "./Interfaces"; + +/** + * @private + */ +const makePagedClientRequest = async ( + client: EC2Client, + input: GetIpamDiscoveredResourceCidrsCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.send(new GetIpamDiscoveredResourceCidrsCommand(input), ...args); +}; +/** + * @private + */ +const makePagedRequest = async ( + client: EC2, + input: GetIpamDiscoveredResourceCidrsCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.getIpamDiscoveredResourceCidrs(input, ...args); +}; +export async function* paginateGetIpamDiscoveredResourceCidrs( + config: EC2PaginationConfiguration, + input: GetIpamDiscoveredResourceCidrsCommandInput, + ...additionalArguments: any +): Paginator { + // ToDo: replace with actual type instead of typeof input.NextToken + let token: typeof input.NextToken | undefined = config.startingToken || undefined; + let hasNext = true; + let page: GetIpamDiscoveredResourceCidrsCommandOutput; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof EC2) { + page = await makePagedRequest(config.client, input, ...additionalArguments); + } else if (config.client instanceof EC2Client) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } else { + throw new Error("Invalid client, expected EC2 | EC2Client"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + // @ts-ignore + return undefined; +} diff --git a/clients/client-ec2/src/pagination/index.ts b/clients/client-ec2/src/pagination/index.ts index 62e58fa53286..cc0c03e71e17 100644 --- a/clients/client-ec2/src/pagination/index.ts +++ b/clients/client-ec2/src/pagination/index.ts @@ -46,6 +46,8 @@ export * from "./DescribeInstanceTypesPaginator"; export * from "./DescribeInstancesPaginator"; export * from "./DescribeInternetGatewaysPaginator"; export * from "./DescribeIpamPoolsPaginator"; +export * from "./DescribeIpamResourceDiscoveriesPaginator"; +export * from "./DescribeIpamResourceDiscoveryAssociationsPaginator"; export * from "./DescribeIpamScopesPaginator"; export * from "./DescribeIpamsPaginator"; export * from "./DescribeIpv6PoolsPaginator"; @@ -122,6 +124,8 @@ export * from "./GetAwsNetworkPerformanceDataPaginator"; export * from "./GetGroupsForCapacityReservationPaginator"; export * from "./GetInstanceTypesFromInstanceRequirementsPaginator"; export * from "./GetIpamAddressHistoryPaginator"; +export * from "./GetIpamDiscoveredAccountsPaginator"; +export * from "./GetIpamDiscoveredResourceCidrsPaginator"; export * from "./GetIpamPoolAllocationsPaginator"; export * from "./GetIpamPoolCidrsPaginator"; export * from "./GetIpamResourceCidrsPaginator"; diff --git a/clients/client-ec2/src/protocols/Aws_ec2.ts b/clients/client-ec2/src/protocols/Aws_ec2.ts index 49d16804a67c..52d3c860dd3b 100644 --- a/clients/client-ec2/src/protocols/Aws_ec2.ts +++ b/clients/client-ec2/src/protocols/Aws_ec2.ts @@ -91,6 +91,10 @@ import { AssociateInstanceEventWindowCommandInput, AssociateInstanceEventWindowCommandOutput, } from "../commands/AssociateInstanceEventWindowCommand"; +import { + AssociateIpamResourceDiscoveryCommandInput, + AssociateIpamResourceDiscoveryCommandOutput, +} from "../commands/AssociateIpamResourceDiscoveryCommand"; import { AssociateRouteTableCommandInput, AssociateRouteTableCommandOutput, @@ -242,6 +246,10 @@ import { } from "../commands/CreateInternetGatewayCommand"; import { CreateIpamCommandInput, CreateIpamCommandOutput } from "../commands/CreateIpamCommand"; import { CreateIpamPoolCommandInput, CreateIpamPoolCommandOutput } from "../commands/CreateIpamPoolCommand"; +import { + CreateIpamResourceDiscoveryCommandInput, + CreateIpamResourceDiscoveryCommandOutput, +} from "../commands/CreateIpamResourceDiscoveryCommand"; import { CreateIpamScopeCommandInput, CreateIpamScopeCommandOutput } from "../commands/CreateIpamScopeCommand"; import { CreateKeyPairCommandInput, CreateKeyPairCommandOutput } from "../commands/CreateKeyPairCommand"; import { @@ -472,6 +480,10 @@ import { } from "../commands/DeleteInternetGatewayCommand"; import { DeleteIpamCommandInput, DeleteIpamCommandOutput } from "../commands/DeleteIpamCommand"; import { DeleteIpamPoolCommandInput, DeleteIpamPoolCommandOutput } from "../commands/DeleteIpamPoolCommand"; +import { + DeleteIpamResourceDiscoveryCommandInput, + DeleteIpamResourceDiscoveryCommandOutput, +} from "../commands/DeleteIpamResourceDiscoveryCommand"; import { DeleteIpamScopeCommandInput, DeleteIpamScopeCommandOutput } from "../commands/DeleteIpamScopeCommand"; import { DeleteKeyPairCommandInput, DeleteKeyPairCommandOutput } from "../commands/DeleteKeyPairCommand"; import { @@ -869,6 +881,14 @@ import { DescribeInternetGatewaysCommandOutput, } from "../commands/DescribeInternetGatewaysCommand"; import { DescribeIpamPoolsCommandInput, DescribeIpamPoolsCommandOutput } from "../commands/DescribeIpamPoolsCommand"; +import { + DescribeIpamResourceDiscoveriesCommandInput, + DescribeIpamResourceDiscoveriesCommandOutput, +} from "../commands/DescribeIpamResourceDiscoveriesCommand"; +import { + DescribeIpamResourceDiscoveryAssociationsCommandInput, + DescribeIpamResourceDiscoveryAssociationsCommandOutput, +} from "../commands/DescribeIpamResourceDiscoveryAssociationsCommand"; import { DescribeIpamsCommandInput, DescribeIpamsCommandOutput } from "../commands/DescribeIpamsCommand"; import { DescribeIpamScopesCommandInput, DescribeIpamScopesCommandOutput } from "../commands/DescribeIpamScopesCommand"; import { DescribeIpv6PoolsCommandInput, DescribeIpv6PoolsCommandOutput } from "../commands/DescribeIpv6PoolsCommand"; @@ -1274,6 +1294,10 @@ import { DisassociateInstanceEventWindowCommandInput, DisassociateInstanceEventWindowCommandOutput, } from "../commands/DisassociateInstanceEventWindowCommand"; +import { + DisassociateIpamResourceDiscoveryCommandInput, + DisassociateIpamResourceDiscoveryCommandOutput, +} from "../commands/DisassociateIpamResourceDiscoveryCommand"; import { DisassociateRouteTableCommandInput, DisassociateRouteTableCommandOutput, @@ -1423,6 +1447,14 @@ import { GetIpamAddressHistoryCommandInput, GetIpamAddressHistoryCommandOutput, } from "../commands/GetIpamAddressHistoryCommand"; +import { + GetIpamDiscoveredAccountsCommandInput, + GetIpamDiscoveredAccountsCommandOutput, +} from "../commands/GetIpamDiscoveredAccountsCommand"; +import { + GetIpamDiscoveredResourceCidrsCommandInput, + GetIpamDiscoveredResourceCidrsCommandOutput, +} from "../commands/GetIpamDiscoveredResourceCidrsCommand"; import { GetIpamPoolAllocationsCommandInput, GetIpamPoolAllocationsCommandOutput, @@ -1611,6 +1643,10 @@ import { ModifyIpamResourceCidrCommandInput, ModifyIpamResourceCidrCommandOutput, } from "../commands/ModifyIpamResourceCidrCommand"; +import { + ModifyIpamResourceDiscoveryCommandInput, + ModifyIpamResourceDiscoveryCommandOutput, +} from "../commands/ModifyIpamResourceDiscoveryCommand"; import { ModifyIpamScopeCommandInput, ModifyIpamScopeCommandOutput } from "../commands/ModifyIpamScopeCommand"; import { ModifyLaunchTemplateCommandInput, @@ -2037,6 +2073,8 @@ import { AssociateIamInstanceProfileResult, AssociateInstanceEventWindowRequest, AssociateInstanceEventWindowResult, + AssociateIpamResourceDiscoveryRequest, + AssociateIpamResourceDiscoveryResult, AssociateRouteTableRequest, AssociateRouteTableResult, AssociateSubnetCidrBlockRequest, @@ -2107,8 +2145,6 @@ import { ClientVpnAuthenticationRequest, ClientVpnAuthorizationRuleStatus, ClientVpnEndpointStatus, - ClientVpnRouteStatus, - CoipCidr, ConfirmProductInstanceRequest, ConfirmProductInstanceResult, ConnectionLogOptions, @@ -2127,8 +2163,6 @@ import { CreateClientVpnEndpointRequest, CreateClientVpnEndpointResult, CreateClientVpnRouteRequest, - CreateClientVpnRouteResult, - CreateCoipCidrRequest, DeviceOptions, DirectoryServiceAuthenticationRequest, EnaSrdSpecification, @@ -2146,6 +2180,7 @@ import { InstanceEventWindowAssociationTarget, InstanceEventWindowTimeRange, IpamPoolAllocation, + IpamResourceDiscoveryAssociation, IpPermission, IpRange, Ipv4PrefixSpecification, @@ -2216,8 +2251,12 @@ import { CapacityReservationOptionsRequest, CapacityReservationTarget, CapacityReservationTargetResponse, + ClientVpnRouteStatus, + CoipCidr, CoipPool, CpuManufacturer, + CreateClientVpnRouteResult, + CreateCoipCidrRequest, CreateCoipCidrResult, CreateCoipPoolRequest, CreateCoipPoolResult, @@ -2250,6 +2289,8 @@ import { CreateIpamPoolRequest, CreateIpamPoolResult, CreateIpamRequest, + CreateIpamResourceDiscoveryRequest, + CreateIpamResourceDiscoveryResult, CreateIpamResult, CreateIpamScopeRequest, CreateIpamScopeResult, @@ -2294,11 +2335,6 @@ import { CreateRouteRequest, CreateRouteResult, CreateRouteTableRequest, - CreateRouteTableResult, - CreateSecurityGroupRequest, - CreateSecurityGroupResult, - CreateSnapshotRequest, - CreateSnapshotsRequest, CreditSpecification, CreditSpecificationRequest, CustomerGateway, @@ -2328,12 +2364,12 @@ import { InstanceIpv6AddressRequest, InstanceRequirements, InstanceRequirementsRequest, - InstanceSpecification, InternetGateway, InternetGatewayAttachment, Ipam, IpamOperatingRegion, IpamPool, + IpamResourceDiscovery, IpamResourceTag, IpamScope, Ipv4PrefixSpecificationRequest, @@ -2427,7 +2463,6 @@ import { Route, RouteTable, RouteTableAssociation, - Snapshot, SpotOptionsRequest, StateReason, StorageLocation, @@ -2445,6 +2480,11 @@ import { CloudWatchLogOptions, CloudWatchLogOptionsSpecification, ConnectionNotification, + CreateRouteTableResult, + CreateSecurityGroupRequest, + CreateSecurityGroupResult, + CreateSnapshotRequest, + CreateSnapshotsRequest, CreateSnapshotsResult, CreateSpotDatafeedSubscriptionRequest, CreateSpotDatafeedSubscriptionResult, @@ -2546,6 +2586,8 @@ import { DeleteIpamPoolRequest, DeleteIpamPoolResult, DeleteIpamRequest, + DeleteIpamResourceDiscoveryRequest, + DeleteIpamResourceDiscoveryResult, DeleteIpamResult, DeleteIpamScopeRequest, DeleteIpamScopeResult, @@ -2604,21 +2646,9 @@ import { DeleteTrafficMirrorSessionResult, DeleteTrafficMirrorTargetRequest, DeleteTrafficMirrorTargetResult, - DeleteTransitGatewayConnectPeerRequest, - DeleteTransitGatewayConnectPeerResult, DeleteTransitGatewayConnectRequest, - DeleteTransitGatewayConnectResult, - DeleteTransitGatewayMulticastDomainRequest, - DeleteTransitGatewayMulticastDomainResult, - DeleteTransitGatewayPeeringAttachmentRequest, - DeleteTransitGatewayPeeringAttachmentResult, - DeleteTransitGatewayPolicyTableRequest, - DeleteTransitGatewayPolicyTableResult, - DeleteTransitGatewayPrefixListReferenceRequest, - DeleteTransitGatewayPrefixListReferenceResult, DeleteTransitGatewayRequest, DeleteTransitGatewayResult, - DeleteTransitGatewayRouteRequest, DnsEntry, DnsOptions, DnsOptionsSpecification, @@ -2626,6 +2656,7 @@ import { IKEVersionsListValue, IKEVersionsRequestListValue, InstanceEventWindowStateChange, + InstanceSpecification, LastError, Phase1DHGroupNumbersListValue, Phase1DHGroupNumbersRequestListValue, @@ -2646,6 +2677,7 @@ import { ServiceConfiguration, ServiceConnectivityType, ServiceTypeDetail, + Snapshot, SnapshotInfo, SpotDatafeedSubscription, SpotInstanceStateFault, @@ -2717,6 +2749,18 @@ import { ConnectionLogResponseOptions, ConversionTask, CpuOptions, + DeleteTransitGatewayConnectPeerRequest, + DeleteTransitGatewayConnectPeerResult, + DeleteTransitGatewayConnectResult, + DeleteTransitGatewayMulticastDomainRequest, + DeleteTransitGatewayMulticastDomainResult, + DeleteTransitGatewayPeeringAttachmentRequest, + DeleteTransitGatewayPeeringAttachmentResult, + DeleteTransitGatewayPolicyTableRequest, + DeleteTransitGatewayPolicyTableResult, + DeleteTransitGatewayPrefixListReferenceRequest, + DeleteTransitGatewayPrefixListReferenceResult, + DeleteTransitGatewayRouteRequest, DeleteTransitGatewayRouteResult, DeleteTransitGatewayRouteTableAnnouncementRequest, DeleteTransitGatewayRouteTableAnnouncementResult, @@ -2860,10 +2904,6 @@ import { DescribeInstancesRequest, DescribeInstancesResult, DescribeInstanceStatusRequest, - DescribeInstanceStatusResult, - DescribeInstanceTypeOfferingsRequest, - DescribeInstanceTypeOfferingsResult, - DescribeInstanceTypesRequest, DestinationOptionsResponse, DirectoryServiceAuthentication, DiskImageDescription, @@ -2919,12 +2959,8 @@ import { InstanceNetworkInterfaceAttachment, InstancePrivateIpAddress, InstanceState, - InstanceStatus, - InstanceStatusDetails, InstanceStatusEvent, - InstanceStatusSummary, InstanceTagNotificationAttribute, - InstanceTypeOffering, IpamPoolCidr, IpamPoolCidrFailureReason, LaunchPermission, @@ -2950,15 +2986,22 @@ import { import { ArchitectureType, BootModeType, - ClassicLinkDnsSupport, ClassicLoadBalancer, ClassicLoadBalancersConfig, CreateVolumePermission, + DescribeInstanceStatusResult, + DescribeInstanceTypeOfferingsRequest, + DescribeInstanceTypeOfferingsResult, + DescribeInstanceTypesRequest, DescribeInstanceTypesResult, DescribeInternetGatewaysRequest, DescribeInternetGatewaysResult, DescribeIpamPoolsRequest, DescribeIpamPoolsResult, + DescribeIpamResourceDiscoveriesRequest, + DescribeIpamResourceDiscoveriesResult, + DescribeIpamResourceDiscoveryAssociationsRequest, + DescribeIpamResourceDiscoveryAssociationsResult, DescribeIpamScopesRequest, DescribeIpamScopesResult, DescribeIpamsRequest, @@ -3109,19 +3152,6 @@ import { DescribeVolumesResult, DescribeVolumeStatusRequest, DescribeVolumeStatusResult, - DescribeVpcAttributeRequest, - DescribeVpcAttributeResult, - DescribeVpcClassicLinkDnsSupportRequest, - DescribeVpcClassicLinkDnsSupportResult, - DescribeVpcClassicLinkRequest, - DescribeVpcClassicLinkResult, - DescribeVpcEndpointConnectionNotificationsRequest, - DescribeVpcEndpointConnectionNotificationsResult, - DescribeVpcEndpointConnectionsRequest, - DescribeVpcEndpointConnectionsResult, - DescribeVpcEndpointServiceConfigurationsRequest, - DescribeVpcEndpointsRequest, - DescribeVpcEndpointsResult, DiskInfo, EbsInfo, EbsOptimizedInfo, @@ -3136,8 +3166,12 @@ import { InferenceAcceleratorInfo, InferenceDeviceInfo, InstanceNetworkInterfaceSpecification, + InstanceStatus, + InstanceStatusDetails, + InstanceStatusSummary, InstanceStorageInfo, InstanceTypeInfo, + InstanceTypeOffering, Ipv6Pool, KeyPairInfo, LaunchSpecification, @@ -3215,25 +3249,35 @@ import { VolumeStatusEvent, VolumeStatusInfo, VolumeStatusItem, - VpcClassicLink, - VpcEndpointConnection, } from "../models/models_4"; import { AssociatedRole, AthenaIntegration, - BlobAttributeValue, CapacityReservationGroup, - CapacityReservationSpecification, + ClassicLinkDnsSupport, ClientCertificateRevocationListStatus, ClientData, CoipAddressUsage, DataQuery, DataResponse, + DescribeVpcAttributeRequest, + DescribeVpcAttributeResult, + DescribeVpcClassicLinkDnsSupportRequest, + DescribeVpcClassicLinkDnsSupportResult, + DescribeVpcClassicLinkRequest, + DescribeVpcClassicLinkResult, + DescribeVpcEndpointConnectionNotificationsRequest, + DescribeVpcEndpointConnectionNotificationsResult, + DescribeVpcEndpointConnectionsRequest, + DescribeVpcEndpointConnectionsResult, + DescribeVpcEndpointServiceConfigurationsRequest, DescribeVpcEndpointServiceConfigurationsResult, DescribeVpcEndpointServicePermissionsRequest, DescribeVpcEndpointServicePermissionsResult, DescribeVpcEndpointServicesRequest, DescribeVpcEndpointServicesResult, + DescribeVpcEndpointsRequest, + DescribeVpcEndpointsResult, DescribeVpcPeeringConnectionsRequest, DescribeVpcPeeringConnectionsResult, DescribeVpcsRequest, @@ -3286,6 +3330,8 @@ import { DisassociateIamInstanceProfileResult, DisassociateInstanceEventWindowRequest, DisassociateInstanceEventWindowResult, + DisassociateIpamResourceDiscoveryRequest, + DisassociateIpamResourceDiscoveryResult, DisassociateRouteTableRequest, DisassociateSubnetCidrBlockRequest, DisassociateSubnetCidrBlockResult, @@ -3302,7 +3348,6 @@ import { DiskImage, DiskImageDetail, DnsServersOptionsModifyStructure, - EbsInstanceBlockDeviceSpecification, EnableAddressTransferRequest, EnableAddressTransferResult, EnableAwsNetworkPerformanceMetricSubscriptionRequest, @@ -3376,6 +3421,10 @@ import { GetInstanceUefiDataResult, GetIpamAddressHistoryRequest, GetIpamAddressHistoryResult, + GetIpamDiscoveredAccountsRequest, + GetIpamDiscoveredAccountsResult, + GetIpamDiscoveredResourceCidrsRequest, + GetIpamDiscoveredResourceCidrsResult, GetIpamPoolAllocationsRequest, GetIpamPoolAllocationsResult, GetIpamPoolCidrsRequest, @@ -3440,7 +3489,6 @@ import { ImportSnapshotResult, ImportVolumeRequest, ImportVolumeResult, - InstanceBlockDeviceMappingSpecification, InstanceEventWindowDisassociationRequest, InstanceFamilyCreditSpecification, InstanceRequirementsWithMetadataRequest, @@ -3448,15 +3496,15 @@ import { InstanceUsage, IntegrateServices, IpamAddressHistoryRecord, + IpamDiscoveredAccount, + IpamDiscoveredResourceCidr, + IpamDiscoveryFailureReason, IpamResourceCidr, Ipv6CidrAssociation, - LaunchPermissionModifications, ListImagesInRecycleBinRequest, ListImagesInRecycleBinResult, ListSnapshotsInRecycleBinRequest, ListSnapshotsInRecycleBinResult, - LoadPermissionModifications, - LoadPermissionRequest, MetricPoint, ModifyAddressAttributeRequest, ModifyAddressAttributeResult, @@ -3466,24 +3514,6 @@ import { ModifyCapacityReservationFleetResult, ModifyCapacityReservationRequest, ModifyCapacityReservationResult, - ModifyClientVpnEndpointRequest, - ModifyClientVpnEndpointResult, - ModifyDefaultCreditSpecificationRequest, - ModifyDefaultCreditSpecificationResult, - ModifyEbsDefaultKmsKeyIdRequest, - ModifyEbsDefaultKmsKeyIdResult, - ModifyFleetRequest, - ModifyFleetResult, - ModifyFpgaImageAttributeRequest, - ModifyFpgaImageAttributeResult, - ModifyHostsRequest, - ModifyHostsResult, - ModifyIdentityIdFormatRequest, - ModifyIdFormatRequest, - ModifyImageAttributeRequest, - ModifyInstanceAttributeRequest, - ModifyInstanceCapacityReservationAttributesRequest, - ModifyInstanceCapacityReservationAttributesResult, PrefixListAssociation, PrefixListEntry, PrivateDnsDetails, @@ -3507,15 +3537,21 @@ import { UserBucket, UserData, VolumeDetail, + VpcClassicLink, + VpcEndpointConnection, VpnConnectionDeviceType, } from "../models/models_5"; import { + BlobAttributeValue, + CapacityReservationSpecification, CidrAuthorizationContext, CpuOptionsRequest, CreateVolumePermissionModifications, + EbsInstanceBlockDeviceSpecification, ElasticInferenceAccelerator, EnclaveOptionsRequest, HibernationOptionsRequest, + InstanceBlockDeviceMappingSpecification, InstanceCreditSpecificationRequest, InstanceMaintenanceOptionsRequest, InstanceMarketOptionsRequest, @@ -3523,8 +3559,29 @@ import { InstanceMonitoring, InstanceStateChange, IpamCidrAuthorizationContext, + LaunchPermissionModifications, LaunchTemplateSpecification, LicenseConfigurationRequest, + LoadPermissionModifications, + LoadPermissionRequest, + ModifyClientVpnEndpointRequest, + ModifyClientVpnEndpointResult, + ModifyDefaultCreditSpecificationRequest, + ModifyDefaultCreditSpecificationResult, + ModifyEbsDefaultKmsKeyIdRequest, + ModifyEbsDefaultKmsKeyIdResult, + ModifyFleetRequest, + ModifyFleetResult, + ModifyFpgaImageAttributeRequest, + ModifyFpgaImageAttributeResult, + ModifyHostsRequest, + ModifyHostsResult, + ModifyIdentityIdFormatRequest, + ModifyIdFormatRequest, + ModifyImageAttributeRequest, + ModifyInstanceAttributeRequest, + ModifyInstanceCapacityReservationAttributesRequest, + ModifyInstanceCapacityReservationAttributesResult, ModifyInstanceCreditSpecificationRequest, ModifyInstanceCreditSpecificationResult, ModifyInstanceEventStartTimeRequest, @@ -3542,6 +3599,8 @@ import { ModifyIpamRequest, ModifyIpamResourceCidrRequest, ModifyIpamResourceCidrResult, + ModifyIpamResourceDiscoveryRequest, + ModifyIpamResourceDiscoveryResult, ModifyIpamResult, ModifyIpamScopeRequest, ModifyIpamScopeResult, @@ -3769,15 +3828,17 @@ import { UnsuccessfulInstanceCreditSpecificationItemError, UpdateSecurityGroupRuleDescriptionsEgressRequest, UpdateSecurityGroupRuleDescriptionsEgressResult, - UpdateSecurityGroupRuleDescriptionsIngressRequest, - UpdateSecurityGroupRuleDescriptionsIngressResult, VerifiedAccessLogCloudWatchLogsDestinationOptions, VerifiedAccessLogKinesisDataFirehoseDestinationOptions, VerifiedAccessLogOptions, VerifiedAccessLogS3DestinationOptions, +} from "../models/models_6"; +import { + UpdateSecurityGroupRuleDescriptionsIngressRequest, + UpdateSecurityGroupRuleDescriptionsIngressResult, WithdrawByoipCidrRequest, WithdrawByoipCidrResult, -} from "../models/models_6"; +} from "../models/models_7"; export const serializeAws_ec2AcceptAddressTransferCommand = async ( input: AcceptAddressTransferCommandInput, @@ -4099,6 +4160,22 @@ export const serializeAws_ec2AssociateInstanceEventWindowCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_ec2AssociateIpamResourceDiscoveryCommand = async ( + input: AssociateIpamResourceDiscoveryCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "content-type": "application/x-www-form-urlencoded", + }; + let body: any; + body = buildFormUrlencodedString({ + ...serializeAws_ec2AssociateIpamResourceDiscoveryRequest(input, context), + Action: "AssociateIpamResourceDiscovery", + Version: "2016-11-15", + }); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_ec2AssociateRouteTableCommand = async ( input: AssociateRouteTableCommandInput, context: __SerdeContext @@ -4931,6 +5008,22 @@ export const serializeAws_ec2CreateIpamPoolCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_ec2CreateIpamResourceDiscoveryCommand = async ( + input: CreateIpamResourceDiscoveryCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "content-type": "application/x-www-form-urlencoded", + }; + let body: any; + body = buildFormUrlencodedString({ + ...serializeAws_ec2CreateIpamResourceDiscoveryRequest(input, context), + Action: "CreateIpamResourceDiscovery", + Version: "2016-11-15", + }); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_ec2CreateIpamScopeCommand = async ( input: CreateIpamScopeCommandInput, context: __SerdeContext @@ -6115,6 +6208,22 @@ export const serializeAws_ec2DeleteIpamPoolCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_ec2DeleteIpamResourceDiscoveryCommand = async ( + input: DeleteIpamResourceDiscoveryCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "content-type": "application/x-www-form-urlencoded", + }; + let body: any; + body = buildFormUrlencodedString({ + ...serializeAws_ec2DeleteIpamResourceDiscoveryRequest(input, context), + Action: "DeleteIpamResourceDiscovery", + Version: "2016-11-15", + }); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_ec2DeleteIpamScopeCommand = async ( input: DeleteIpamScopeCommandInput, context: __SerdeContext @@ -8003,6 +8112,38 @@ export const serializeAws_ec2DescribeIpamPoolsCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_ec2DescribeIpamResourceDiscoveriesCommand = async ( + input: DescribeIpamResourceDiscoveriesCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "content-type": "application/x-www-form-urlencoded", + }; + let body: any; + body = buildFormUrlencodedString({ + ...serializeAws_ec2DescribeIpamResourceDiscoveriesRequest(input, context), + Action: "DescribeIpamResourceDiscoveries", + Version: "2016-11-15", + }); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + +export const serializeAws_ec2DescribeIpamResourceDiscoveryAssociationsCommand = async ( + input: DescribeIpamResourceDiscoveryAssociationsCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "content-type": "application/x-www-form-urlencoded", + }; + let body: any; + body = buildFormUrlencodedString({ + ...serializeAws_ec2DescribeIpamResourceDiscoveryAssociationsRequest(input, context), + Action: "DescribeIpamResourceDiscoveryAssociations", + Version: "2016-11-15", + }); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_ec2DescribeIpamsCommand = async ( input: DescribeIpamsCommandInput, context: __SerdeContext @@ -9779,6 +9920,22 @@ export const serializeAws_ec2DisassociateInstanceEventWindowCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_ec2DisassociateIpamResourceDiscoveryCommand = async ( + input: DisassociateIpamResourceDiscoveryCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "content-type": "application/x-www-form-urlencoded", + }; + let body: any; + body = buildFormUrlencodedString({ + ...serializeAws_ec2DisassociateIpamResourceDiscoveryRequest(input, context), + Action: "DisassociateIpamResourceDiscovery", + Version: "2016-11-15", + }); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_ec2DisassociateRouteTableCommand = async ( input: DisassociateRouteTableCommandInput, context: __SerdeContext @@ -10435,6 +10592,38 @@ export const serializeAws_ec2GetIpamAddressHistoryCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_ec2GetIpamDiscoveredAccountsCommand = async ( + input: GetIpamDiscoveredAccountsCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "content-type": "application/x-www-form-urlencoded", + }; + let body: any; + body = buildFormUrlencodedString({ + ...serializeAws_ec2GetIpamDiscoveredAccountsRequest(input, context), + Action: "GetIpamDiscoveredAccounts", + Version: "2016-11-15", + }); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + +export const serializeAws_ec2GetIpamDiscoveredResourceCidrsCommand = async ( + input: GetIpamDiscoveredResourceCidrsCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "content-type": "application/x-www-form-urlencoded", + }; + let body: any; + body = buildFormUrlencodedString({ + ...serializeAws_ec2GetIpamDiscoveredResourceCidrsRequest(input, context), + Action: "GetIpamDiscoveredResourceCidrs", + Version: "2016-11-15", + }); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_ec2GetIpamPoolAllocationsCommand = async ( input: GetIpamPoolAllocationsCommandInput, context: __SerdeContext @@ -11331,6 +11520,22 @@ export const serializeAws_ec2ModifyIpamResourceCidrCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_ec2ModifyIpamResourceDiscoveryCommand = async ( + input: ModifyIpamResourceDiscoveryCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "content-type": "application/x-www-form-urlencoded", + }; + let body: any; + body = buildFormUrlencodedString({ + ...serializeAws_ec2ModifyIpamResourceDiscoveryRequest(input, context), + Action: "ModifyIpamResourceDiscovery", + Version: "2016-11-15", + }); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_ec2ModifyIpamScopeCommand = async ( input: ModifyIpamScopeCommandInput, context: __SerdeContext @@ -13692,6 +13897,41 @@ const deserializeAws_ec2AssociateInstanceEventWindowCommandError = async ( }); }; +export const deserializeAws_ec2AssociateIpamResourceDiscoveryCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_ec2AssociateIpamResourceDiscoveryCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_ec2AssociateIpamResourceDiscoveryResult(data, context); + const response: AssociateIpamResourceDiscoveryCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_ec2AssociateIpamResourceDiscoveryCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadEc2ErrorCode(output, parsedOutput.body); + const parsedBody = parsedOutput.body; + throwDefaultError({ + output, + parsedBody: parsedBody.Errors.Error, + exceptionCtor: __BaseException, + errorCode, + }); +}; + export const deserializeAws_ec2AssociateRouteTableCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -15503,6 +15743,41 @@ const deserializeAws_ec2CreateIpamPoolCommandError = async ( }); }; +export const deserializeAws_ec2CreateIpamResourceDiscoveryCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_ec2CreateIpamResourceDiscoveryCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_ec2CreateIpamResourceDiscoveryResult(data, context); + const response: CreateIpamResourceDiscoveryCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_ec2CreateIpamResourceDiscoveryCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadEc2ErrorCode(output, parsedOutput.body); + const parsedBody = parsedOutput.body; + throwDefaultError({ + output, + parsedBody: parsedBody.Errors.Error, + exceptionCtor: __BaseException, + errorCode, + }); +}; + export const deserializeAws_ec2CreateIpamScopeCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -18075,6 +18350,41 @@ const deserializeAws_ec2DeleteIpamPoolCommandError = async ( }); }; +export const deserializeAws_ec2DeleteIpamResourceDiscoveryCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_ec2DeleteIpamResourceDiscoveryCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_ec2DeleteIpamResourceDiscoveryResult(data, context); + const response: DeleteIpamResourceDiscoveryCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_ec2DeleteIpamResourceDiscoveryCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadEc2ErrorCode(output, parsedOutput.body); + const parsedBody = parsedOutput.body; + throwDefaultError({ + output, + parsedBody: parsedBody.Errors.Error, + exceptionCtor: __BaseException, + errorCode, + }); +}; + export const deserializeAws_ec2DeleteIpamScopeCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -22151,6 +22461,76 @@ const deserializeAws_ec2DescribeIpamPoolsCommandError = async ( }); }; +export const deserializeAws_ec2DescribeIpamResourceDiscoveriesCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_ec2DescribeIpamResourceDiscoveriesCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_ec2DescribeIpamResourceDiscoveriesResult(data, context); + const response: DescribeIpamResourceDiscoveriesCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_ec2DescribeIpamResourceDiscoveriesCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadEc2ErrorCode(output, parsedOutput.body); + const parsedBody = parsedOutput.body; + throwDefaultError({ + output, + parsedBody: parsedBody.Errors.Error, + exceptionCtor: __BaseException, + errorCode, + }); +}; + +export const deserializeAws_ec2DescribeIpamResourceDiscoveryAssociationsCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_ec2DescribeIpamResourceDiscoveryAssociationsCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_ec2DescribeIpamResourceDiscoveryAssociationsResult(data, context); + const response: DescribeIpamResourceDiscoveryAssociationsCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_ec2DescribeIpamResourceDiscoveryAssociationsCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadEc2ErrorCode(output, parsedOutput.body); + const parsedBody = parsedOutput.body; + throwDefaultError({ + output, + parsedBody: parsedBody.Errors.Error, + exceptionCtor: __BaseException, + errorCode, + }); +}; + export const deserializeAws_ec2DescribeIpamsCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -26024,6 +26404,41 @@ const deserializeAws_ec2DisassociateInstanceEventWindowCommandError = async ( }); }; +export const deserializeAws_ec2DisassociateIpamResourceDiscoveryCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_ec2DisassociateIpamResourceDiscoveryCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_ec2DisassociateIpamResourceDiscoveryResult(data, context); + const response: DisassociateIpamResourceDiscoveryCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_ec2DisassociateIpamResourceDiscoveryCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadEc2ErrorCode(output, parsedOutput.body); + const parsedBody = parsedOutput.body; + throwDefaultError({ + output, + parsedBody: parsedBody.Errors.Error, + exceptionCtor: __BaseException, + errorCode, + }); +}; + export const deserializeAws_ec2DisassociateRouteTableCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -27450,6 +27865,76 @@ const deserializeAws_ec2GetIpamAddressHistoryCommandError = async ( }); }; +export const deserializeAws_ec2GetIpamDiscoveredAccountsCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_ec2GetIpamDiscoveredAccountsCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_ec2GetIpamDiscoveredAccountsResult(data, context); + const response: GetIpamDiscoveredAccountsCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_ec2GetIpamDiscoveredAccountsCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadEc2ErrorCode(output, parsedOutput.body); + const parsedBody = parsedOutput.body; + throwDefaultError({ + output, + parsedBody: parsedBody.Errors.Error, + exceptionCtor: __BaseException, + errorCode, + }); +}; + +export const deserializeAws_ec2GetIpamDiscoveredResourceCidrsCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_ec2GetIpamDiscoveredResourceCidrsCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_ec2GetIpamDiscoveredResourceCidrsResult(data, context); + const response: GetIpamDiscoveredResourceCidrsCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_ec2GetIpamDiscoveredResourceCidrsCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadEc2ErrorCode(output, parsedOutput.body); + const parsedBody = parsedOutput.body; + throwDefaultError({ + output, + parsedBody: parsedBody.Errors.Error, + exceptionCtor: __BaseException, + errorCode, + }); +}; + export const deserializeAws_ec2GetIpamPoolAllocationsCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -29398,6 +29883,41 @@ const deserializeAws_ec2ModifyIpamResourceCidrCommandError = async ( }); }; +export const deserializeAws_ec2ModifyIpamResourceDiscoveryCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_ec2ModifyIpamResourceDiscoveryCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_ec2ModifyIpamResourceDiscoveryResult(data, context); + const response: ModifyIpamResourceDiscoveryCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_ec2ModifyIpamResourceDiscoveryCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadEc2ErrorCode(output, parsedOutput.body); + const parsedBody = parsedOutput.body; + throwDefaultError({ + output, + parsedBody: parsedBody.Errors.Error, + exceptionCtor: __BaseException, + errorCode, + }); +}; + export const deserializeAws_ec2ModifyIpamScopeCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -33755,6 +34275,39 @@ const serializeAws_ec2AssociateInstanceEventWindowRequest = ( return entries; }; +const serializeAws_ec2AssociateIpamResourceDiscoveryRequest = ( + input: AssociateIpamResourceDiscoveryRequest, + context: __SerdeContext +): any => { + const entries: any = {}; + if (input.DryRun != null) { + entries["DryRun"] = input.DryRun; + } + if (input.IpamId != null) { + entries["IpamId"] = input.IpamId; + } + if (input.IpamResourceDiscoveryId != null) { + entries["IpamResourceDiscoveryId"] = input.IpamResourceDiscoveryId; + } + if (input.TagSpecifications != null) { + const memberEntries = serializeAws_ec2TagSpecificationList(input.TagSpecifications, context); + if (input.TagSpecifications?.length === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input.ClientToken === undefined) { + input.ClientToken = generateIdempotencyToken(); + } + if (input.ClientToken != null) { + entries["ClientToken"] = input.ClientToken; + } + return entries; +}; + const serializeAws_ec2AssociateRouteTableRequest = ( input: AssociateRouteTableRequest, context: __SerdeContext @@ -35825,6 +36378,9 @@ const serializeAws_ec2CreateIpamPoolRequest = (input: CreateIpamPoolRequest, con if (input.AwsService != null) { entries["AwsService"] = input.AwsService; } + if (input.PublicIpSource != null) { + entries["PublicIpSource"] = input.PublicIpSource; + } return entries; }; @@ -35865,6 +36421,46 @@ const serializeAws_ec2CreateIpamRequest = (input: CreateIpamRequest, context: __ return entries; }; +const serializeAws_ec2CreateIpamResourceDiscoveryRequest = ( + input: CreateIpamResourceDiscoveryRequest, + context: __SerdeContext +): any => { + const entries: any = {}; + if (input.DryRun != null) { + entries["DryRun"] = input.DryRun; + } + if (input.Description != null) { + entries["Description"] = input.Description; + } + if (input.OperatingRegions != null) { + const memberEntries = serializeAws_ec2AddIpamOperatingRegionSet(input.OperatingRegions, context); + if (input.OperatingRegions?.length === 0) { + entries.OperatingRegion = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `OperatingRegion.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input.TagSpecifications != null) { + const memberEntries = serializeAws_ec2TagSpecificationList(input.TagSpecifications, context); + if (input.TagSpecifications?.length === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input.ClientToken === undefined) { + input.ClientToken = generateIdempotencyToken(); + } + if (input.ClientToken != null) { + entries["ClientToken"] = input.ClientToken; + } + return entries; +}; + const serializeAws_ec2CreateIpamScopeRequest = (input: CreateIpamScopeRequest, context: __SerdeContext): any => { const entries: any = {}; if (input.DryRun != null) { @@ -38530,6 +39126,20 @@ const serializeAws_ec2DeleteIpamRequest = (input: DeleteIpamRequest, context: __ return entries; }; +const serializeAws_ec2DeleteIpamResourceDiscoveryRequest = ( + input: DeleteIpamResourceDiscoveryRequest, + context: __SerdeContext +): any => { + const entries: any = {}; + if (input.DryRun != null) { + entries["DryRun"] = input.DryRun; + } + if (input.IpamResourceDiscoveryId != null) { + entries["IpamResourceDiscoveryId"] = input.IpamResourceDiscoveryId; + } + return entries; +}; + const serializeAws_ec2DeleteIpamScopeRequest = (input: DeleteIpamScopeRequest, context: __SerdeContext): any => { const entries: any = {}; if (input.DryRun != null) { @@ -41255,6 +41865,80 @@ const serializeAws_ec2DescribeIpamPoolsRequest = (input: DescribeIpamPoolsReques return entries; }; +const serializeAws_ec2DescribeIpamResourceDiscoveriesRequest = ( + input: DescribeIpamResourceDiscoveriesRequest, + context: __SerdeContext +): any => { + const entries: any = {}; + if (input.DryRun != null) { + entries["DryRun"] = input.DryRun; + } + if (input.IpamResourceDiscoveryIds != null) { + const memberEntries = serializeAws_ec2ValueStringList(input.IpamResourceDiscoveryIds, context); + if (input.IpamResourceDiscoveryIds?.length === 0) { + entries.IpamResourceDiscoveryId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `IpamResourceDiscoveryId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input.NextToken != null) { + entries["NextToken"] = input.NextToken; + } + if (input.MaxResults != null) { + entries["MaxResults"] = input.MaxResults; + } + if (input.Filters != null) { + const memberEntries = serializeAws_ec2FilterList(input.Filters, context); + if (input.Filters?.length === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}; + +const serializeAws_ec2DescribeIpamResourceDiscoveryAssociationsRequest = ( + input: DescribeIpamResourceDiscoveryAssociationsRequest, + context: __SerdeContext +): any => { + const entries: any = {}; + if (input.DryRun != null) { + entries["DryRun"] = input.DryRun; + } + if (input.IpamResourceDiscoveryAssociationIds != null) { + const memberEntries = serializeAws_ec2ValueStringList(input.IpamResourceDiscoveryAssociationIds, context); + if (input.IpamResourceDiscoveryAssociationIds?.length === 0) { + entries.IpamResourceDiscoveryAssociationId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `IpamResourceDiscoveryAssociationId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input.NextToken != null) { + entries["NextToken"] = input.NextToken; + } + if (input.MaxResults != null) { + entries["MaxResults"] = input.MaxResults; + } + if (input.Filters != null) { + const memberEntries = serializeAws_ec2FilterList(input.Filters, context); + if (input.Filters?.length === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}; + const serializeAws_ec2DescribeIpamScopesRequest = (input: DescribeIpamScopesRequest, context: __SerdeContext): any => { const entries: any = {}; if (input.DryRun != null) { @@ -44830,6 +45514,20 @@ const serializeAws_ec2DisassociateInstanceEventWindowRequest = ( return entries; }; +const serializeAws_ec2DisassociateIpamResourceDiscoveryRequest = ( + input: DisassociateIpamResourceDiscoveryRequest, + context: __SerdeContext +): any => { + const entries: any = {}; + if (input.DryRun != null) { + entries["DryRun"] = input.DryRun; + } + if (input.IpamResourceDiscoveryAssociationId != null) { + entries["IpamResourceDiscoveryAssociationId"] = input.IpamResourceDiscoveryAssociationId; + } + return entries; +}; + const serializeAws_ec2DisassociateRouteTableRequest = ( input: DisassociateRouteTableRequest, context: __SerdeContext @@ -46279,6 +46977,72 @@ const serializeAws_ec2GetIpamAddressHistoryRequest = ( return entries; }; +const serializeAws_ec2GetIpamDiscoveredAccountsRequest = ( + input: GetIpamDiscoveredAccountsRequest, + context: __SerdeContext +): any => { + const entries: any = {}; + if (input.DryRun != null) { + entries["DryRun"] = input.DryRun; + } + if (input.IpamResourceDiscoveryId != null) { + entries["IpamResourceDiscoveryId"] = input.IpamResourceDiscoveryId; + } + if (input.DiscoveryRegion != null) { + entries["DiscoveryRegion"] = input.DiscoveryRegion; + } + if (input.Filters != null) { + const memberEntries = serializeAws_ec2FilterList(input.Filters, context); + if (input.Filters?.length === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input.NextToken != null) { + entries["NextToken"] = input.NextToken; + } + if (input.MaxResults != null) { + entries["MaxResults"] = input.MaxResults; + } + return entries; +}; + +const serializeAws_ec2GetIpamDiscoveredResourceCidrsRequest = ( + input: GetIpamDiscoveredResourceCidrsRequest, + context: __SerdeContext +): any => { + const entries: any = {}; + if (input.DryRun != null) { + entries["DryRun"] = input.DryRun; + } + if (input.IpamResourceDiscoveryId != null) { + entries["IpamResourceDiscoveryId"] = input.IpamResourceDiscoveryId; + } + if (input.ResourceRegion != null) { + entries["ResourceRegion"] = input.ResourceRegion; + } + if (input.Filters != null) { + const memberEntries = serializeAws_ec2FilterList(input.Filters, context); + if (input.Filters?.length === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input.NextToken != null) { + entries["NextToken"] = input.NextToken; + } + if (input.MaxResults != null) { + entries["MaxResults"] = input.MaxResults; + } + return entries; +}; + const serializeAws_ec2GetIpamPoolAllocationsRequest = ( input: GetIpamPoolAllocationsRequest, context: __SerdeContext @@ -50509,6 +51273,43 @@ const serializeAws_ec2ModifyIpamResourceCidrRequest = ( return entries; }; +const serializeAws_ec2ModifyIpamResourceDiscoveryRequest = ( + input: ModifyIpamResourceDiscoveryRequest, + context: __SerdeContext +): any => { + const entries: any = {}; + if (input.DryRun != null) { + entries["DryRun"] = input.DryRun; + } + if (input.IpamResourceDiscoveryId != null) { + entries["IpamResourceDiscoveryId"] = input.IpamResourceDiscoveryId; + } + if (input.Description != null) { + entries["Description"] = input.Description; + } + if (input.AddOperatingRegions != null) { + const memberEntries = serializeAws_ec2AddIpamOperatingRegionSet(input.AddOperatingRegions, context); + if (input.AddOperatingRegions?.length === 0) { + entries.AddOperatingRegion = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AddOperatingRegion.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input.RemoveOperatingRegions != null) { + const memberEntries = serializeAws_ec2RemoveIpamOperatingRegionSet(input.RemoveOperatingRegions, context); + if (input.RemoveOperatingRegions?.length === 0) { + entries.RemoveOperatingRegion = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `RemoveOperatingRegion.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}; + const serializeAws_ec2ModifyIpamScopeRequest = (input: ModifyIpamScopeRequest, context: __SerdeContext): any => { const entries: any = {}; if (input.DryRun != null) { @@ -53009,6 +53810,15 @@ const serializeAws_ec2ProvisionIpamPoolCidrRequest = ( entries[loc] = value; }); } + if (input.NetmaskLength != null) { + entries["NetmaskLength"] = input.NetmaskLength; + } + if (input.ClientToken === undefined) { + input.ClientToken = generateIdempotencyToken(); + } + if (input.ClientToken != null) { + entries["ClientToken"] = input.ClientToken; + } return entries; }; @@ -58989,6 +59799,22 @@ const deserializeAws_ec2AssociateInstanceEventWindowResult = ( return contents; }; +const deserializeAws_ec2AssociateIpamResourceDiscoveryResult = ( + output: any, + context: __SerdeContext +): AssociateIpamResourceDiscoveryResult => { + const contents: any = { + IpamResourceDiscoveryAssociation: undefined, + }; + if (output["ipamResourceDiscoveryAssociation"] !== undefined) { + contents.IpamResourceDiscoveryAssociation = deserializeAws_ec2IpamResourceDiscoveryAssociation( + output["ipamResourceDiscoveryAssociation"], + context + ); + } + return contents; +}; + const deserializeAws_ec2AssociateRouteTableResult = ( output: any, context: __SerdeContext @@ -61506,6 +62332,19 @@ const deserializeAws_ec2CreateIpamPoolResult = (output: any, context: __SerdeCon return contents; }; +const deserializeAws_ec2CreateIpamResourceDiscoveryResult = ( + output: any, + context: __SerdeContext +): CreateIpamResourceDiscoveryResult => { + const contents: any = { + IpamResourceDiscovery: undefined, + }; + if (output["ipamResourceDiscovery"] !== undefined) { + contents.IpamResourceDiscovery = deserializeAws_ec2IpamResourceDiscovery(output["ipamResourceDiscovery"], context); + } + return contents; +}; + const deserializeAws_ec2CreateIpamResult = (output: any, context: __SerdeContext): CreateIpamResult => { const contents: any = { Ipam: undefined, @@ -62650,6 +63489,19 @@ const deserializeAws_ec2DeleteIpamPoolResult = (output: any, context: __SerdeCon return contents; }; +const deserializeAws_ec2DeleteIpamResourceDiscoveryResult = ( + output: any, + context: __SerdeContext +): DeleteIpamResourceDiscoveryResult => { + const contents: any = { + IpamResourceDiscovery: undefined, + }; + if (output["ipamResourceDiscovery"] !== undefined) { + contents.IpamResourceDiscovery = deserializeAws_ec2IpamResourceDiscovery(output["ipamResourceDiscovery"], context); + } + return contents; +}; + const deserializeAws_ec2DeleteIpamResult = (output: any, context: __SerdeContext): DeleteIpamResult => { const contents: any = { Ipam: undefined, @@ -64740,6 +65592,56 @@ const deserializeAws_ec2DescribeIpamPoolsResult = (output: any, context: __Serde return contents; }; +const deserializeAws_ec2DescribeIpamResourceDiscoveriesResult = ( + output: any, + context: __SerdeContext +): DescribeIpamResourceDiscoveriesResult => { + const contents: any = { + IpamResourceDiscoveries: undefined, + NextToken: undefined, + }; + if (output.ipamResourceDiscoverySet === "") { + contents.IpamResourceDiscoveries = []; + } else if ( + output["ipamResourceDiscoverySet"] !== undefined && + output["ipamResourceDiscoverySet"]["item"] !== undefined + ) { + contents.IpamResourceDiscoveries = deserializeAws_ec2IpamResourceDiscoverySet( + __getArrayIfSingleItem(output["ipamResourceDiscoverySet"]["item"]), + context + ); + } + if (output["nextToken"] !== undefined) { + contents.NextToken = __expectString(output["nextToken"]); + } + return contents; +}; + +const deserializeAws_ec2DescribeIpamResourceDiscoveryAssociationsResult = ( + output: any, + context: __SerdeContext +): DescribeIpamResourceDiscoveryAssociationsResult => { + const contents: any = { + IpamResourceDiscoveryAssociations: undefined, + NextToken: undefined, + }; + if (output.ipamResourceDiscoveryAssociationSet === "") { + contents.IpamResourceDiscoveryAssociations = []; + } else if ( + output["ipamResourceDiscoveryAssociationSet"] !== undefined && + output["ipamResourceDiscoveryAssociationSet"]["item"] !== undefined + ) { + contents.IpamResourceDiscoveryAssociations = deserializeAws_ec2IpamResourceDiscoveryAssociationSet( + __getArrayIfSingleItem(output["ipamResourceDiscoveryAssociationSet"]["item"]), + context + ); + } + if (output["nextToken"] !== undefined) { + contents.NextToken = __expectString(output["nextToken"]); + } + return contents; +}; + const deserializeAws_ec2DescribeIpamScopesResult = (output: any, context: __SerdeContext): DescribeIpamScopesResult => { const contents: any = { NextToken: undefined, @@ -67290,6 +68192,22 @@ const deserializeAws_ec2DisassociateInstanceEventWindowResult = ( return contents; }; +const deserializeAws_ec2DisassociateIpamResourceDiscoveryResult = ( + output: any, + context: __SerdeContext +): DisassociateIpamResourceDiscoveryResult => { + const contents: any = { + IpamResourceDiscoveryAssociation: undefined, + }; + if (output["ipamResourceDiscoveryAssociation"] !== undefined) { + contents.IpamResourceDiscoveryAssociation = deserializeAws_ec2IpamResourceDiscoveryAssociation( + output["ipamResourceDiscoveryAssociation"], + context + ); + } + return contents; +}; + const deserializeAws_ec2DisassociateSubnetCidrBlockResult = ( output: any, context: __SerdeContext @@ -69723,6 +70641,56 @@ const deserializeAws_ec2GetIpamAddressHistoryResult = ( return contents; }; +const deserializeAws_ec2GetIpamDiscoveredAccountsResult = ( + output: any, + context: __SerdeContext +): GetIpamDiscoveredAccountsResult => { + const contents: any = { + IpamDiscoveredAccounts: undefined, + NextToken: undefined, + }; + if (output.ipamDiscoveredAccountSet === "") { + contents.IpamDiscoveredAccounts = []; + } else if ( + output["ipamDiscoveredAccountSet"] !== undefined && + output["ipamDiscoveredAccountSet"]["item"] !== undefined + ) { + contents.IpamDiscoveredAccounts = deserializeAws_ec2IpamDiscoveredAccountSet( + __getArrayIfSingleItem(output["ipamDiscoveredAccountSet"]["item"]), + context + ); + } + if (output["nextToken"] !== undefined) { + contents.NextToken = __expectString(output["nextToken"]); + } + return contents; +}; + +const deserializeAws_ec2GetIpamDiscoveredResourceCidrsResult = ( + output: any, + context: __SerdeContext +): GetIpamDiscoveredResourceCidrsResult => { + const contents: any = { + IpamDiscoveredResourceCidrs: undefined, + NextToken: undefined, + }; + if (output.ipamDiscoveredResourceCidrSet === "") { + contents.IpamDiscoveredResourceCidrs = []; + } else if ( + output["ipamDiscoveredResourceCidrSet"] !== undefined && + output["ipamDiscoveredResourceCidrSet"]["item"] !== undefined + ) { + contents.IpamDiscoveredResourceCidrs = deserializeAws_ec2IpamDiscoveredResourceCidrSet( + __getArrayIfSingleItem(output["ipamDiscoveredResourceCidrSet"]["item"]), + context + ); + } + if (output["nextToken"] !== undefined) { + contents.NextToken = __expectString(output["nextToken"]); + } + return contents; +}; + const deserializeAws_ec2GetIpamPoolAllocationsResult = ( output: any, context: __SerdeContext @@ -73367,6 +74335,9 @@ const deserializeAws_ec2Ipam = (output: any, context: __SerdeContext): Ipam => { OperatingRegions: undefined, State: undefined, Tags: undefined, + DefaultResourceDiscoveryId: undefined, + DefaultResourceDiscoveryAssociationId: undefined, + ResourceDiscoveryAssociationCount: undefined, }; if (output["ownerId"] !== undefined) { contents.OwnerId = __expectString(output["ownerId"]); @@ -73408,6 +74379,17 @@ const deserializeAws_ec2Ipam = (output: any, context: __SerdeContext): Ipam => { } else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) { contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context); } + if (output["defaultResourceDiscoveryId"] !== undefined) { + contents.DefaultResourceDiscoveryId = __expectString(output["defaultResourceDiscoveryId"]); + } + if (output["defaultResourceDiscoveryAssociationId"] !== undefined) { + contents.DefaultResourceDiscoveryAssociationId = __expectString(output["defaultResourceDiscoveryAssociationId"]); + } + if (output["resourceDiscoveryAssociationCount"] !== undefined) { + contents.ResourceDiscoveryAssociationCount = __strictParseInt32( + output["resourceDiscoveryAssociationCount"] + ) as number; + } return contents; }; @@ -73472,6 +74454,124 @@ const deserializeAws_ec2IpamAddressHistoryRecordSet = ( }); }; +const deserializeAws_ec2IpamDiscoveredAccount = (output: any, context: __SerdeContext): IpamDiscoveredAccount => { + const contents: any = { + AccountId: undefined, + DiscoveryRegion: undefined, + FailureReason: undefined, + LastAttemptedDiscoveryTime: undefined, + LastSuccessfulDiscoveryTime: undefined, + }; + if (output["accountId"] !== undefined) { + contents.AccountId = __expectString(output["accountId"]); + } + if (output["discoveryRegion"] !== undefined) { + contents.DiscoveryRegion = __expectString(output["discoveryRegion"]); + } + if (output["failureReason"] !== undefined) { + contents.FailureReason = deserializeAws_ec2IpamDiscoveryFailureReason(output["failureReason"], context); + } + if (output["lastAttemptedDiscoveryTime"] !== undefined) { + contents.LastAttemptedDiscoveryTime = __expectNonNull(__parseRfc3339DateTime(output["lastAttemptedDiscoveryTime"])); + } + if (output["lastSuccessfulDiscoveryTime"] !== undefined) { + contents.LastSuccessfulDiscoveryTime = __expectNonNull( + __parseRfc3339DateTime(output["lastSuccessfulDiscoveryTime"]) + ); + } + return contents; +}; + +const deserializeAws_ec2IpamDiscoveredAccountSet = (output: any, context: __SerdeContext): IpamDiscoveredAccount[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + return deserializeAws_ec2IpamDiscoveredAccount(entry, context); + }); +}; + +const deserializeAws_ec2IpamDiscoveredResourceCidr = ( + output: any, + context: __SerdeContext +): IpamDiscoveredResourceCidr => { + const contents: any = { + IpamResourceDiscoveryId: undefined, + ResourceRegion: undefined, + ResourceId: undefined, + ResourceOwnerId: undefined, + ResourceCidr: undefined, + ResourceType: undefined, + ResourceTags: undefined, + IpUsage: undefined, + VpcId: undefined, + SampleTime: undefined, + }; + if (output["ipamResourceDiscoveryId"] !== undefined) { + contents.IpamResourceDiscoveryId = __expectString(output["ipamResourceDiscoveryId"]); + } + if (output["resourceRegion"] !== undefined) { + contents.ResourceRegion = __expectString(output["resourceRegion"]); + } + if (output["resourceId"] !== undefined) { + contents.ResourceId = __expectString(output["resourceId"]); + } + if (output["resourceOwnerId"] !== undefined) { + contents.ResourceOwnerId = __expectString(output["resourceOwnerId"]); + } + if (output["resourceCidr"] !== undefined) { + contents.ResourceCidr = __expectString(output["resourceCidr"]); + } + if (output["resourceType"] !== undefined) { + contents.ResourceType = __expectString(output["resourceType"]); + } + if (output.resourceTagSet === "") { + contents.ResourceTags = []; + } else if (output["resourceTagSet"] !== undefined && output["resourceTagSet"]["item"] !== undefined) { + contents.ResourceTags = deserializeAws_ec2IpamResourceTagList( + __getArrayIfSingleItem(output["resourceTagSet"]["item"]), + context + ); + } + if (output["ipUsage"] !== undefined) { + contents.IpUsage = __strictParseFloat(output["ipUsage"]) as number; + } + if (output["vpcId"] !== undefined) { + contents.VpcId = __expectString(output["vpcId"]); + } + if (output["sampleTime"] !== undefined) { + contents.SampleTime = __expectNonNull(__parseRfc3339DateTime(output["sampleTime"])); + } + return contents; +}; + +const deserializeAws_ec2IpamDiscoveredResourceCidrSet = ( + output: any, + context: __SerdeContext +): IpamDiscoveredResourceCidr[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + return deserializeAws_ec2IpamDiscoveredResourceCidr(entry, context); + }); +}; + +const deserializeAws_ec2IpamDiscoveryFailureReason = ( + output: any, + context: __SerdeContext +): IpamDiscoveryFailureReason => { + const contents: any = { + Code: undefined, + Message: undefined, + }; + if (output["code"] !== undefined) { + contents.Code = __expectString(output["code"]); + } + if (output["message"] !== undefined) { + contents.Message = __expectString(output["message"]); + } + return contents; +}; + const deserializeAws_ec2IpamOperatingRegion = (output: any, context: __SerdeContext): IpamOperatingRegion => { const contents: any = { RegionName: undefined, @@ -73514,6 +74614,7 @@ const deserializeAws_ec2IpamPool = (output: any, context: __SerdeContext): IpamP AllocationResourceTags: undefined, Tags: undefined, AwsService: undefined, + PublicIpSource: undefined, }; if (output["ownerId"] !== undefined) { contents.OwnerId = __expectString(output["ownerId"]); @@ -73591,6 +74692,9 @@ const deserializeAws_ec2IpamPool = (output: any, context: __SerdeContext): IpamP if (output["awsService"] !== undefined) { contents.AwsService = __expectString(output["awsService"]); } + if (output["publicIpSource"] !== undefined) { + contents.PublicIpSource = __expectString(output["publicIpSource"]); + } return contents; }; @@ -73641,6 +74745,8 @@ const deserializeAws_ec2IpamPoolCidr = (output: any, context: __SerdeContext): I Cidr: undefined, State: undefined, FailureReason: undefined, + IpamPoolCidrId: undefined, + NetmaskLength: undefined, }; if (output["cidr"] !== undefined) { contents.Cidr = __expectString(output["cidr"]); @@ -73651,6 +74757,12 @@ const deserializeAws_ec2IpamPoolCidr = (output: any, context: __SerdeContext): I if (output["failureReason"] !== undefined) { contents.FailureReason = deserializeAws_ec2IpamPoolCidrFailureReason(output["failureReason"], context); } + if (output["ipamPoolCidrId"] !== undefined) { + contents.IpamPoolCidrId = __expectString(output["ipamPoolCidrId"]); + } + if (output["netmaskLength"] !== undefined) { + contents.NetmaskLength = __strictParseInt32(output["netmaskLength"]) as number; + } return contents; }; @@ -73766,6 +74878,129 @@ const deserializeAws_ec2IpamResourceCidrSet = (output: any, context: __SerdeCont }); }; +const deserializeAws_ec2IpamResourceDiscovery = (output: any, context: __SerdeContext): IpamResourceDiscovery => { + const contents: any = { + OwnerId: undefined, + IpamResourceDiscoveryId: undefined, + IpamResourceDiscoveryArn: undefined, + IpamResourceDiscoveryRegion: undefined, + Description: undefined, + OperatingRegions: undefined, + IsDefault: undefined, + State: undefined, + Tags: undefined, + }; + if (output["ownerId"] !== undefined) { + contents.OwnerId = __expectString(output["ownerId"]); + } + if (output["ipamResourceDiscoveryId"] !== undefined) { + contents.IpamResourceDiscoveryId = __expectString(output["ipamResourceDiscoveryId"]); + } + if (output["ipamResourceDiscoveryArn"] !== undefined) { + contents.IpamResourceDiscoveryArn = __expectString(output["ipamResourceDiscoveryArn"]); + } + if (output["ipamResourceDiscoveryRegion"] !== undefined) { + contents.IpamResourceDiscoveryRegion = __expectString(output["ipamResourceDiscoveryRegion"]); + } + if (output["description"] !== undefined) { + contents.Description = __expectString(output["description"]); + } + if (output.operatingRegionSet === "") { + contents.OperatingRegions = []; + } else if (output["operatingRegionSet"] !== undefined && output["operatingRegionSet"]["item"] !== undefined) { + contents.OperatingRegions = deserializeAws_ec2IpamOperatingRegionSet( + __getArrayIfSingleItem(output["operatingRegionSet"]["item"]), + context + ); + } + if (output["isDefault"] !== undefined) { + contents.IsDefault = __parseBoolean(output["isDefault"]); + } + if (output["state"] !== undefined) { + contents.State = __expectString(output["state"]); + } + if (output.tagSet === "") { + contents.Tags = []; + } else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) { + contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context); + } + return contents; +}; + +const deserializeAws_ec2IpamResourceDiscoveryAssociation = ( + output: any, + context: __SerdeContext +): IpamResourceDiscoveryAssociation => { + const contents: any = { + OwnerId: undefined, + IpamResourceDiscoveryAssociationId: undefined, + IpamResourceDiscoveryAssociationArn: undefined, + IpamResourceDiscoveryId: undefined, + IpamId: undefined, + IpamArn: undefined, + IpamRegion: undefined, + IsDefault: undefined, + ResourceDiscoveryStatus: undefined, + State: undefined, + Tags: undefined, + }; + if (output["ownerId"] !== undefined) { + contents.OwnerId = __expectString(output["ownerId"]); + } + if (output["ipamResourceDiscoveryAssociationId"] !== undefined) { + contents.IpamResourceDiscoveryAssociationId = __expectString(output["ipamResourceDiscoveryAssociationId"]); + } + if (output["ipamResourceDiscoveryAssociationArn"] !== undefined) { + contents.IpamResourceDiscoveryAssociationArn = __expectString(output["ipamResourceDiscoveryAssociationArn"]); + } + if (output["ipamResourceDiscoveryId"] !== undefined) { + contents.IpamResourceDiscoveryId = __expectString(output["ipamResourceDiscoveryId"]); + } + if (output["ipamId"] !== undefined) { + contents.IpamId = __expectString(output["ipamId"]); + } + if (output["ipamArn"] !== undefined) { + contents.IpamArn = __expectString(output["ipamArn"]); + } + if (output["ipamRegion"] !== undefined) { + contents.IpamRegion = __expectString(output["ipamRegion"]); + } + if (output["isDefault"] !== undefined) { + contents.IsDefault = __parseBoolean(output["isDefault"]); + } + if (output["resourceDiscoveryStatus"] !== undefined) { + contents.ResourceDiscoveryStatus = __expectString(output["resourceDiscoveryStatus"]); + } + if (output["state"] !== undefined) { + contents.State = __expectString(output["state"]); + } + if (output.tagSet === "") { + contents.Tags = []; + } else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) { + contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context); + } + return contents; +}; + +const deserializeAws_ec2IpamResourceDiscoveryAssociationSet = ( + output: any, + context: __SerdeContext +): IpamResourceDiscoveryAssociation[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + return deserializeAws_ec2IpamResourceDiscoveryAssociation(entry, context); + }); +}; + +const deserializeAws_ec2IpamResourceDiscoverySet = (output: any, context: __SerdeContext): IpamResourceDiscovery[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + return deserializeAws_ec2IpamResourceDiscovery(entry, context); + }); +}; + const deserializeAws_ec2IpamResourceTag = (output: any, context: __SerdeContext): IpamResourceTag => { const contents: any = { Key: undefined, @@ -75994,6 +77229,19 @@ const deserializeAws_ec2ModifyIpamResourceCidrResult = ( return contents; }; +const deserializeAws_ec2ModifyIpamResourceDiscoveryResult = ( + output: any, + context: __SerdeContext +): ModifyIpamResourceDiscoveryResult => { + const contents: any = { + IpamResourceDiscovery: undefined, + }; + if (output["ipamResourceDiscovery"] !== undefined) { + contents.IpamResourceDiscovery = deserializeAws_ec2IpamResourceDiscovery(output["ipamResourceDiscovery"], context); + } + return contents; +}; + const deserializeAws_ec2ModifyIpamResult = (output: any, context: __SerdeContext): ModifyIpamResult => { const contents: any = { Ipam: undefined, diff --git a/codegen/sdk-codegen/aws-models/ec2.json b/codegen/sdk-codegen/aws-models/ec2.json index b7b39c49c421..fea9b2440977 100644 --- a/codegen/sdk-codegen/aws-models/ec2.json +++ b/codegen/sdk-codegen/aws-models/ec2.json @@ -309,6 +309,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#AcceptAddressTransferResult": { @@ -365,7 +368,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for accepting the quote.

        " + "smithy.api#documentation": "

        Contains the parameters for accepting the quote.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#AcceptReservedInstancesExchangeQuoteResult": { @@ -425,6 +429,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#AcceptTransitGatewayMulticastDomainAssociationsResult": { @@ -471,6 +478,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#AcceptTransitGatewayPeeringAttachmentResult": { @@ -517,6 +527,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#AcceptTransitGatewayVpcAttachmentResult": { @@ -572,6 +585,9 @@ "smithy.api#xmlName": "VpcEndpointId" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#AcceptVpcEndpointConnectionsResult": { @@ -620,6 +636,9 @@ "smithy.api#xmlName": "vpcPeeringConnectionId" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#AcceptVpcPeeringConnectionResult": { @@ -934,7 +953,7 @@ } }, "traits": { - "smithy.api#documentation": "

        Add an operating Region to an IPAM. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only\n discovers and monitors resources in the Amazon Web Services Regions you select as operating Regions.

        \n

        For more information about operating Regions, see Create an IPAM in the Amazon VPC IPAM User Guide.\n

        " + "smithy.api#documentation": "

        Add an operating Region to an IPAM. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the Amazon Web Services Regions you select as operating Regions.

        \n

        For more information about operating Regions, see Create an IPAM in the Amazon VPC IPAM User Guide.\n

        " } }, "com.amazonaws.ec2#AddIpamOperatingRegionSet": { @@ -1400,6 +1419,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#AdvertiseByoipCidrResult": { @@ -1494,6 +1516,9 @@ "smithy.api#xmlName": "TagSpecification" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#AllocateAddressResult": { @@ -1650,6 +1675,9 @@ "smithy.api#documentation": "

        The Amazon Resource Name (ARN) of the Amazon Web Services Outpost on which to allocate\n the Dedicated Host.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#AllocateHostsResult": { @@ -1677,7 +1705,7 @@ "target": "com.amazonaws.ec2#AllocateIpamPoolCidrResult" }, "traits": { - "smithy.api#documentation": "

        Allocate a CIDR from an IPAM pool. In IPAM, an allocation is a CIDR assignment from an IPAM pool to another resource or IPAM pool. For more information, see Allocate CIDRs in the Amazon VPC IPAM User Guide.\n

        " + "smithy.api#documentation": "

        Allocate a CIDR from an IPAM pool. In IPAM, an allocation is a CIDR assignment from an IPAM pool to another IPAM pool or to a resource. For more information, see Allocate CIDRs in the Amazon VPC IPAM User Guide.\n

        " } }, "com.amazonaws.ec2#AllocateIpamPoolCidrRequest": { @@ -1741,6 +1769,9 @@ "smithy.api#xmlName": "DisallowedCidr" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#AllocateIpamPoolCidrResult": { @@ -2060,6 +2091,9 @@ { "target": "com.amazonaws.ec2#AssociateInstanceEventWindow" }, + { + "target": "com.amazonaws.ec2#AssociateIpamResourceDiscovery" + }, { "target": "com.amazonaws.ec2#AssociateRouteTable" }, @@ -2216,6 +2250,9 @@ { "target": "com.amazonaws.ec2#CreateIpamPool" }, + { + "target": "com.amazonaws.ec2#CreateIpamResourceDiscovery" + }, { "target": "com.amazonaws.ec2#CreateIpamScope" }, @@ -2438,6 +2475,9 @@ { "target": "com.amazonaws.ec2#DeleteIpamPool" }, + { + "target": "com.amazonaws.ec2#DeleteIpamResourceDiscovery" + }, { "target": "com.amazonaws.ec2#DeleteIpamScope" }, @@ -2792,6 +2832,12 @@ { "target": "com.amazonaws.ec2#DescribeIpamPools" }, + { + "target": "com.amazonaws.ec2#DescribeIpamResourceDiscoveries" + }, + { + "target": "com.amazonaws.ec2#DescribeIpamResourceDiscoveryAssociations" + }, { "target": "com.amazonaws.ec2#DescribeIpams" }, @@ -3125,6 +3171,9 @@ { "target": "com.amazonaws.ec2#DisassociateInstanceEventWindow" }, + { + "target": "com.amazonaws.ec2#DisassociateIpamResourceDiscovery" + }, { "target": "com.amazonaws.ec2#DisassociateRouteTable" }, @@ -3248,6 +3297,12 @@ { "target": "com.amazonaws.ec2#GetIpamAddressHistory" }, + { + "target": "com.amazonaws.ec2#GetIpamDiscoveredAccounts" + }, + { + "target": "com.amazonaws.ec2#GetIpamDiscoveredResourceCidrs" + }, { "target": "com.amazonaws.ec2#GetIpamPoolAllocations" }, @@ -3416,6 +3471,9 @@ { "target": "com.amazonaws.ec2#ModifyIpamResourceCidr" }, + { + "target": "com.amazonaws.ec2#ModifyIpamResourceDiscovery" + }, { "target": "com.amazonaws.ec2#ModifyIpamScope" }, @@ -3913,12 +3971,18 @@ "rules": [ { "conditions": [], - "endpoint": { - "url": "https://ec2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://ec2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] } ] }, @@ -3986,7 +4050,7 @@ } ], "endpoint": { - "url": "https://ec2.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://ec2.{Region}.amazonaws.com", "properties": {}, "headers": {} }, @@ -4048,12 +4112,18 @@ "rules": [ { "conditions": [], - "endpoint": { - "url": "https://ec2.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://ec2.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] } ] }, @@ -4066,12 +4136,56 @@ }, { "conditions": [], - "endpoint": { - "url": "https://ec2.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + { + "ref": "Region" + }, + "us-gov-east-1" + ] + } + ], + "endpoint": { + "url": "https://ec2.us-gov-east-1.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + { + "ref": "Region" + }, + "us-gov-west-1" + ] + } + ], + "endpoint": { + "url": "https://ec2.us-gov-west-1.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [], + "endpoint": { + "url": "https://ec2.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] } ] } @@ -4080,211 +4194,159 @@ "smithy.rules#endpointTests": { "testCases": [ { - "documentation": "For region ap-south-2 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ec2-fips.ap-south-2.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "ap-south-2" - } - }, - { - "documentation": "For region ap-south-2 with FIPS enabled and DualStack disabled", + "documentation": "For region us-iso-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ec2-fips.ap-south-2.amazonaws.com" + "url": "https://ec2.us-iso-west-1.c2s.ic.gov" } }, "params": { + "UseFIPS": false, "UseDualStack": false, - "UseFIPS": true, - "Region": "ap-south-2" + "Region": "us-iso-west-1" } }, { - "documentation": "For region ap-south-2 with FIPS disabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ec2.ap-south-2.api.aws" + "url": "https://ec2.us-iso-east-1.c2s.ic.gov" } }, "params": { - "UseDualStack": true, "UseFIPS": false, - "Region": "ap-south-2" - } - }, - { - "documentation": "For region ap-south-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ec2.ap-south-2.amazonaws.com" - } - }, - "params": { "UseDualStack": false, - "UseFIPS": false, - "Region": "ap-south-2" + "Region": "us-iso-east-1" } }, { - "documentation": "For region ap-south-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ec2-fips.ap-south-1.api.aws" + "url": "https://ec2-fips.us-iso-east-1.c2s.ic.gov" } }, "params": { - "UseDualStack": true, "UseFIPS": true, - "Region": "ap-south-1" - } - }, - { - "documentation": "For region ap-south-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ec2-fips.ap-south-1.amazonaws.com" - } - }, - "params": { "UseDualStack": false, - "UseFIPS": true, - "Region": "ap-south-1" + "Region": "us-iso-east-1" } }, { - "documentation": "For region ap-south-1 with FIPS disabled and DualStack enabled", + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ec2.ap-south-1.api.aws" + "url": "https://ec2.cn-north-1.amazonaws.com.cn" } }, "params": { - "UseDualStack": true, "UseFIPS": false, - "Region": "ap-south-1" + "UseDualStack": false, + "Region": "cn-north-1" } }, { - "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled", + "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ec2.ap-south-1.amazonaws.com" + "url": "https://ec2.cn-northwest-1.amazonaws.com.cn" } }, "params": { - "UseDualStack": false, "UseFIPS": false, - "Region": "ap-south-1" + "UseDualStack": false, + "Region": "cn-northwest-1" } }, { - "documentation": "For region eu-south-1 with FIPS enabled and DualStack enabled", + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://ec2-fips.eu-south-1.api.aws" + "url": "https://ec2-fips.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { - "UseDualStack": true, "UseFIPS": true, - "Region": "eu-south-1" + "UseDualStack": true, + "Region": "cn-north-1" } }, { - "documentation": "For region eu-south-1 with FIPS enabled and DualStack disabled", + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ec2-fips.eu-south-1.amazonaws.com" + "url": "https://ec2-fips.cn-north-1.amazonaws.com.cn" } }, "params": { - "UseDualStack": false, "UseFIPS": true, - "Region": "eu-south-1" + "UseDualStack": false, + "Region": "cn-north-1" } }, { - "documentation": "For region eu-south-1 with FIPS disabled and DualStack enabled", + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://ec2.eu-south-1.api.aws" + "url": "https://ec2.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { - "UseDualStack": true, "UseFIPS": false, - "Region": "eu-south-1" + "UseDualStack": true, + "Region": "cn-north-1" } }, { - "documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ec2.eu-south-1.amazonaws.com" + "url": "https://ec2.us-isob-east-1.sc2s.sgov.gov" } }, "params": { - "UseDualStack": false, "UseFIPS": false, - "Region": "eu-south-1" + "UseDualStack": false, + "Region": "us-isob-east-1" } }, { - "documentation": "For region eu-south-2 with FIPS enabled and DualStack enabled", + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ec2-fips.eu-south-2.api.aws" + "url": "https://ec2-fips.us-isob-east-1.sc2s.sgov.gov" } }, "params": { - "UseDualStack": true, "UseFIPS": true, - "Region": "eu-south-2" - } - }, - { - "documentation": "For region eu-south-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ec2-fips.eu-south-2.amazonaws.com" - } - }, - "params": { "UseDualStack": false, - "UseFIPS": true, - "Region": "eu-south-2" + "Region": "us-isob-east-1" } }, { - "documentation": "For region eu-south-2 with FIPS disabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ec2.eu-south-2.api.aws" + "url": "https://ec2.us-gov-east-1.amazonaws.com" } }, "params": { - "UseDualStack": true, "UseFIPS": false, - "Region": "eu-south-2" + "UseDualStack": false, + "Region": "us-gov-east-1" } }, { - "documentation": "For region eu-south-2 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ec2.eu-south-2.amazonaws.com" + "url": "https://ec2.us-gov-west-1.amazonaws.com" } }, "params": { - "UseDualStack": false, "UseFIPS": false, - "Region": "eu-south-2" + "UseDualStack": false, + "Region": "us-gov-west-1" } }, { @@ -4295,8 +4357,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "us-gov-east-1" } }, @@ -4308,8 +4370,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "us-gov-east-1" } }, @@ -4321,342 +4383,281 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "us-gov-east-1" } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ec2.us-gov-east-1.amazonaws.com" + "url": "https://ec2.sa-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, "UseFIPS": false, - "Region": "us-gov-east-1" + "UseDualStack": false, + "Region": "sa-east-1" } }, { - "documentation": "For region me-central-1 with FIPS enabled and DualStack enabled", + "documentation": "For region sa-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://ec2-fips.me-central-1.api.aws" + "url": "https://ec2.sa-east-1.api.aws" } }, "params": { + "UseFIPS": false, "UseDualStack": true, - "UseFIPS": true, - "Region": "me-central-1" - } - }, - { - "documentation": "For region me-central-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ec2-fips.me-central-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "me-central-1" + "Region": "sa-east-1" } }, { - "documentation": "For region me-central-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ec2.me-central-1.api.aws" + "url": "https://ec2.us-east-2.amazonaws.com" } }, "params": { - "UseDualStack": true, "UseFIPS": false, - "Region": "me-central-1" + "UseDualStack": false, + "Region": "us-east-2" } }, { - "documentation": "For region me-central-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ec2.me-central-1.amazonaws.com" + "url": "https://ec2-fips.us-east-2.amazonaws.com" } }, "params": { + "UseFIPS": true, "UseDualStack": false, - "UseFIPS": false, - "Region": "me-central-1" + "Region": "us-east-2" } }, { - "documentation": "For region ca-central-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-east-2 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://ec2-fips.ca-central-1.api.aws" + "url": "https://ec2.us-east-2.api.aws" } }, "params": { + "UseFIPS": false, "UseDualStack": true, - "UseFIPS": true, - "Region": "ca-central-1" + "Region": "us-east-2" } }, { - "documentation": "For region ca-central-1 with FIPS enabled and DualStack disabled", + "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ec2-fips.ca-central-1.amazonaws.com" + "url": "https://ec2.eu-north-1.amazonaws.com" } }, "params": { + "UseFIPS": false, "UseDualStack": false, - "UseFIPS": true, - "Region": "ca-central-1" + "Region": "eu-north-1" } }, { - "documentation": "For region ca-central-1 with FIPS disabled and DualStack enabled", + "documentation": "For region me-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ec2.ca-central-1.api.aws" + "url": "https://ec2.me-south-1.amazonaws.com" } }, "params": { - "UseDualStack": true, "UseFIPS": false, - "Region": "ca-central-1" - } - }, - { - "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ec2.ca-central-1.amazonaws.com" - } - }, - "params": { "UseDualStack": false, - "UseFIPS": false, - "Region": "ca-central-1" + "Region": "me-south-1" } }, { - "documentation": "For region eu-central-1 with FIPS enabled and DualStack enabled", + "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ec2-fips.eu-central-1.api.aws" + "url": "https://ec2.eu-west-3.amazonaws.com" } }, "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "eu-central-1" + "UseFIPS": false, + "UseDualStack": false, + "Region": "eu-west-3" } }, { - "documentation": "For region eu-central-1 with FIPS enabled and DualStack disabled", + "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ec2-fips.eu-central-1.amazonaws.com" + "url": "https://ec2.eu-west-2.amazonaws.com" } }, "params": { + "UseFIPS": false, "UseDualStack": false, - "UseFIPS": true, - "Region": "eu-central-1" + "Region": "eu-west-2" } }, { - "documentation": "For region eu-central-1 with FIPS disabled and DualStack enabled", + "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ec2.eu-central-1.api.aws" + "url": "https://ec2.eu-west-1.amazonaws.com" } }, "params": { - "UseDualStack": true, "UseFIPS": false, - "Region": "eu-central-1" + "UseDualStack": false, + "Region": "eu-west-1" } }, { - "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", + "documentation": "For region eu-west-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://ec2.eu-central-1.amazonaws.com" + "url": "https://ec2.eu-west-1.api.aws" } }, "params": { - "UseDualStack": false, "UseFIPS": false, - "Region": "eu-central-1" - } - }, - { - "documentation": "For region us-iso-west-1 with FIPS enabled and DualStack enabled", - "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" - }, - "params": { "UseDualStack": true, - "UseFIPS": true, - "Region": "us-iso-west-1" + "Region": "eu-west-1" } }, { - "documentation": "For region us-iso-west-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ec2-fips.us-iso-west-1.c2s.ic.gov" + "url": "https://ec2.us-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "us-iso-west-1" - } - }, - { - "documentation": "For region us-iso-west-1 with FIPS disabled and DualStack enabled", - "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" - }, - "params": { - "UseDualStack": true, "UseFIPS": false, - "Region": "us-iso-west-1" + "UseDualStack": false, + "Region": "us-east-1" } }, { - "documentation": "For region us-iso-west-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ec2.us-iso-west-1.c2s.ic.gov" + "url": "https://ec2-fips.us-east-1.amazonaws.com" } }, "params": { + "UseFIPS": true, "UseDualStack": false, - "UseFIPS": false, - "Region": "us-iso-west-1" + "Region": "us-east-1" } }, { - "documentation": "For region eu-central-2 with FIPS enabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://ec2-fips.eu-central-2.api.aws" + "url": "https://ec2.us-east-1.api.aws" } }, "params": { + "UseFIPS": false, "UseDualStack": true, - "UseFIPS": true, - "Region": "eu-central-2" + "Region": "us-east-1" } }, { - "documentation": "For region eu-central-2 with FIPS enabled and DualStack disabled", + "documentation": "For region ap-northeast-3 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ec2-fips.eu-central-2.amazonaws.com" + "url": "https://ec2.ap-northeast-3.amazonaws.com" } }, "params": { + "UseFIPS": false, "UseDualStack": false, - "UseFIPS": true, - "Region": "eu-central-2" + "Region": "ap-northeast-3" } }, { - "documentation": "For region eu-central-2 with FIPS disabled and DualStack enabled", + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ec2.eu-central-2.api.aws" + "url": "https://ec2.ap-northeast-2.amazonaws.com" } }, "params": { - "UseDualStack": true, "UseFIPS": false, - "Region": "eu-central-2" - } - }, - { - "documentation": "For region eu-central-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ec2.eu-central-2.amazonaws.com" - } - }, - "params": { "UseDualStack": false, - "UseFIPS": false, - "Region": "eu-central-2" + "Region": "ap-northeast-2" } }, { - "documentation": "For region us-west-1 with FIPS enabled and DualStack enabled", + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ec2-fips.us-west-1.api.aws" + "url": "https://ec2.ap-northeast-1.amazonaws.com" } }, "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "us-west-1" + "UseFIPS": false, + "UseDualStack": false, + "Region": "ap-northeast-1" } }, { - "documentation": "For region us-west-1 with FIPS enabled and DualStack disabled", + "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ec2-fips.us-west-1.amazonaws.com" + "url": "https://ec2.ap-south-1.amazonaws.com" } }, "params": { + "UseFIPS": false, "UseDualStack": false, - "UseFIPS": true, - "Region": "us-west-1" + "Region": "ap-south-1" } }, { - "documentation": "For region us-west-1 with FIPS disabled and DualStack enabled", + "documentation": "For region ap-south-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://ec2.us-west-1.api.aws" + "url": "https://ec2.ap-south-1.api.aws" } }, "params": { - "UseDualStack": true, "UseFIPS": false, - "Region": "us-west-1" + "UseDualStack": true, + "Region": "ap-south-1" } }, { - "documentation": "For region us-west-1 with FIPS disabled and DualStack disabled", + "documentation": "For region af-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ec2.us-west-1.amazonaws.com" + "url": "https://ec2.af-south-1.amazonaws.com" } }, "params": { - "UseDualStack": false, "UseFIPS": false, - "Region": "us-west-1" + "UseDualStack": false, + "Region": "af-south-1" } }, { - "documentation": "For region us-west-2 with FIPS enabled and DualStack enabled", + "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ec2-fips.us-west-2.api.aws" + "url": "https://ec2.us-west-2.amazonaws.com" } }, "params": { - "UseDualStack": true, - "UseFIPS": true, + "UseFIPS": false, + "UseDualStack": false, "Region": "us-west-2" } }, @@ -4668,8 +4669,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "us-west-2" } }, @@ -4681,1296 +4682,190 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "us-west-2" } }, { - "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", + "documentation": "For region us-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ec2.us-west-2.amazonaws.com" + "url": "https://ec2.us-west-1.amazonaws.com" } }, "params": { - "UseDualStack": false, "UseFIPS": false, - "Region": "us-west-2" - } - }, - { - "documentation": "For region us-isob-west-1 with FIPS enabled and DualStack enabled", - "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "us-isob-west-1" + "UseDualStack": false, + "Region": "us-west-1" } }, { - "documentation": "For region us-isob-west-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-west-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ec2-fips.us-isob-west-1.sc2s.sgov.gov" + "url": "https://ec2-fips.us-west-1.amazonaws.com" } }, "params": { - "UseDualStack": false, "UseFIPS": true, - "Region": "us-isob-west-1" - } - }, - { - "documentation": "For region us-isob-west-1 with FIPS disabled and DualStack enabled", - "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "us-isob-west-1" + "UseDualStack": false, + "Region": "us-west-1" } }, { - "documentation": "For region us-isob-west-1 with FIPS disabled and DualStack disabled", + "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ec2.us-isob-west-1.sc2s.sgov.gov" + "url": "https://ec2.ca-central-1.amazonaws.com" } }, "params": { - "UseDualStack": false, "UseFIPS": false, - "Region": "us-isob-west-1" + "UseDualStack": false, + "Region": "ca-central-1" } }, { - "documentation": "For region af-south-1 with FIPS enabled and DualStack enabled", + "documentation": "For region ca-central-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ec2-fips.af-south-1.api.aws" + "url": "https://ec2-fips.ca-central-1.amazonaws.com" } }, "params": { - "UseDualStack": true, "UseFIPS": true, - "Region": "af-south-1" + "UseDualStack": false, + "Region": "ca-central-1" } }, { - "documentation": "For region af-south-1 with FIPS enabled and DualStack disabled", + "documentation": "For region ap-southeast-3 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ec2-fips.af-south-1.amazonaws.com" + "url": "https://ec2.ap-southeast-3.amazonaws.com" } }, "params": { + "UseFIPS": false, "UseDualStack": false, - "UseFIPS": true, - "Region": "af-south-1" + "Region": "ap-southeast-3" } }, { - "documentation": "For region af-south-1 with FIPS disabled and DualStack enabled", + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ec2.af-south-1.api.aws" + "url": "https://ec2.ap-southeast-2.amazonaws.com" } }, "params": { - "UseDualStack": true, "UseFIPS": false, - "Region": "af-south-1" + "UseDualStack": false, + "Region": "ap-southeast-2" } }, { - "documentation": "For region af-south-1 with FIPS disabled and DualStack disabled", + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ec2.af-south-1.amazonaws.com" + "url": "https://ec2.ap-southeast-1.amazonaws.com" } }, "params": { - "UseDualStack": false, "UseFIPS": false, - "Region": "af-south-1" + "UseDualStack": false, + "Region": "ap-southeast-1" } }, { - "documentation": "For region eu-north-1 with FIPS enabled and DualStack enabled", + "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ec2-fips.eu-north-1.api.aws" + "url": "https://ec2.eu-central-1.amazonaws.com" } }, "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "eu-north-1" + "UseFIPS": false, + "UseDualStack": false, + "Region": "eu-central-1" } }, { - "documentation": "For region eu-north-1 with FIPS enabled and DualStack disabled", + "documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ec2-fips.eu-north-1.amazonaws.com" + "url": "https://ec2.eu-south-1.amazonaws.com" } }, "params": { + "UseFIPS": false, "UseDualStack": false, - "UseFIPS": true, - "Region": "eu-north-1" + "Region": "eu-south-1" } }, { - "documentation": "For region eu-north-1 with FIPS disabled and DualStack enabled", + "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ec2.eu-north-1.api.aws" + "url": "https://ec2.ap-east-1.amazonaws.com" } }, "params": { - "UseDualStack": true, "UseFIPS": false, - "Region": "eu-north-1" + "UseDualStack": false, + "Region": "ap-east-1" } }, { - "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://ec2.eu-north-1.amazonaws.com" + "url": "https://ec2-fips.us-east-1.api.aws" } }, "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "eu-north-1" + "UseFIPS": true, + "UseDualStack": true, + "Region": "us-east-1" } }, { - "documentation": "For region eu-west-3 with FIPS enabled and DualStack enabled", + "documentation": "For custom endpoint with fips disabled and dualstack disabled", "expect": { "endpoint": { - "url": "https://ec2-fips.eu-west-3.api.aws" + "url": "https://example.com" } }, "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "eu-west-3" + "UseFIPS": false, + "UseDualStack": false, + "Region": "us-east-1", + "Endpoint": "https://example.com" } }, { - "documentation": "For region eu-west-3 with FIPS enabled and DualStack disabled", + "documentation": "For custom endpoint with fips enabled and dualstack disabled", "expect": { - "endpoint": { - "url": "https://ec2-fips.eu-west-3.amazonaws.com" - } + "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { - "UseDualStack": false, "UseFIPS": true, - "Region": "eu-west-3" + "UseDualStack": false, + "Region": "us-east-1", + "Endpoint": "https://example.com" } }, { - "documentation": "For region eu-west-3 with FIPS disabled and DualStack enabled", + "documentation": "For custom endpoint with fips disabled and dualstack enabled", "expect": { - "endpoint": { - "url": "https://ec2.eu-west-3.api.aws" - } + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { - "UseDualStack": true, "UseFIPS": false, - "Region": "eu-west-3" - } - }, - { - "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ec2.eu-west-3.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "eu-west-3" - } - }, - { - "documentation": "For region eu-west-2 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ec2-fips.eu-west-2.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "eu-west-2" - } - }, - { - "documentation": "For region eu-west-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ec2-fips.eu-west-2.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "eu-west-2" - } - }, - { - "documentation": "For region eu-west-2 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ec2.eu-west-2.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "eu-west-2" - } - }, - { - "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ec2.eu-west-2.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "eu-west-2" - } - }, - { - "documentation": "For region eu-west-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ec2-fips.eu-west-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "eu-west-1" - } - }, - { - "documentation": "For region eu-west-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ec2-fips.eu-west-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "eu-west-1" - } - }, - { - "documentation": "For region eu-west-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ec2.eu-west-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "eu-west-1" - } - }, - { - "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ec2.eu-west-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "eu-west-1" - } - }, - { - "documentation": "For region ap-northeast-3 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ec2-fips.ap-northeast-3.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "ap-northeast-3" - } - }, - { - "documentation": "For region ap-northeast-3 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ec2-fips.ap-northeast-3.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "ap-northeast-3" - } - }, - { - "documentation": "For region ap-northeast-3 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ec2.ap-northeast-3.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "ap-northeast-3" - } - }, - { - "documentation": "For region ap-northeast-3 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ec2.ap-northeast-3.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "ap-northeast-3" - } - }, - { - "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ec2-fips.ap-northeast-2.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "ap-northeast-2" - } - }, - { - "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ec2-fips.ap-northeast-2.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "ap-northeast-2" - } - }, - { - "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ec2.ap-northeast-2.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "ap-northeast-2" - } - }, - { - "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ec2.ap-northeast-2.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "ap-northeast-2" - } - }, - { - "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ec2-fips.ap-northeast-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "ap-northeast-1" - } - }, - { - "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ec2-fips.ap-northeast-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "ap-northeast-1" - } - }, - { - "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ec2.ap-northeast-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "ap-northeast-1" - } - }, - { - "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ec2.ap-northeast-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "ap-northeast-1" - } - }, - { - "documentation": "For region me-south-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ec2-fips.me-south-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "me-south-1" - } - }, - { - "documentation": "For region me-south-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ec2-fips.me-south-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "me-south-1" - } - }, - { - "documentation": "For region me-south-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ec2.me-south-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "me-south-1" - } - }, - { - "documentation": "For region me-south-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ec2.me-south-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "me-south-1" - } - }, - { - "documentation": "For region sa-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ec2-fips.sa-east-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "sa-east-1" - } - }, - { - "documentation": "For region sa-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ec2-fips.sa-east-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "sa-east-1" - } - }, - { - "documentation": "For region sa-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ec2.sa-east-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "sa-east-1" - } - }, - { - "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ec2.sa-east-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "sa-east-1" - } - }, - { - "documentation": "For region ap-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ec2-fips.ap-east-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "ap-east-1" - } - }, - { - "documentation": "For region ap-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ec2-fips.ap-east-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "ap-east-1" - } - }, - { - "documentation": "For region ap-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ec2.ap-east-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "ap-east-1" - } - }, - { - "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ec2.ap-east-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "ap-east-1" - } - }, - { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ec2-fips.cn-north-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "cn-north-1" - } - }, - { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ec2-fips.cn-north-1.amazonaws.com.cn" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "cn-north-1" - } - }, - { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ec2.cn-north-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "cn-north-1" - } - }, - { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ec2.cn-north-1.amazonaws.com.cn" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "cn-north-1" - } - }, - { - "documentation": "For region ca-west-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ec2-fips.ca-west-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "ca-west-1" - } - }, - { - "documentation": "For region ca-west-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ec2-fips.ca-west-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "ca-west-1" - } - }, - { - "documentation": "For region ca-west-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ec2.ca-west-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "ca-west-1" - } - }, - { - "documentation": "For region ca-west-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ec2.ca-west-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "ca-west-1" - } - }, - { - "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ec2-fips.us-gov-west-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "us-gov-west-1" - } - }, - { - "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ec2.us-gov-west-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "us-gov-west-1" - } - }, - { - "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ec2.us-gov-west-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "us-gov-west-1" - } - }, - { - "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ec2.us-gov-west-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "us-gov-west-1" - } - }, - { - "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ec2-fips.ap-southeast-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "ap-southeast-1" - } - }, - { - "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ec2-fips.ap-southeast-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "ap-southeast-1" - } - }, - { - "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ec2.ap-southeast-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "ap-southeast-1" - } - }, - { - "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ec2.ap-southeast-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "ap-southeast-1" - } - }, - { - "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ec2-fips.ap-southeast-2.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "ap-southeast-2" - } - }, - { - "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ec2-fips.ap-southeast-2.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "ap-southeast-2" - } - }, - { - "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ec2.ap-southeast-2.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "ap-southeast-2" - } - }, - { - "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ec2.ap-southeast-2.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "ap-southeast-2" - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "us-iso-east-1" - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ec2-fips.us-iso-east-1.c2s.ic.gov" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "us-iso-east-1" - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "us-iso-east-1" - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ec2.us-iso-east-1.c2s.ic.gov" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "us-iso-east-1" - } - }, - { - "documentation": "For region ap-southeast-3 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ec2-fips.ap-southeast-3.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "ap-southeast-3" - } - }, - { - "documentation": "For region ap-southeast-3 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ec2-fips.ap-southeast-3.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "ap-southeast-3" - } - }, - { - "documentation": "For region ap-southeast-3 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ec2.ap-southeast-3.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "ap-southeast-3" - } - }, - { - "documentation": "For region ap-southeast-3 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ec2.ap-southeast-3.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "ap-southeast-3" - } - }, - { - "documentation": "For region ap-southeast-4 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ec2-fips.ap-southeast-4.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "ap-southeast-4" - } - }, - { - "documentation": "For region ap-southeast-4 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ec2-fips.ap-southeast-4.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "ap-southeast-4" - } - }, - { - "documentation": "For region ap-southeast-4 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ec2.ap-southeast-4.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "ap-southeast-4" - } - }, - { - "documentation": "For region ap-southeast-4 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ec2.ap-southeast-4.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "ap-southeast-4" - } - }, - { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ec2-fips.us-east-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "us-east-1" - } - }, - { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ec2-fips.us-east-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "us-east-1" - } - }, - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ec2.us-east-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "us-east-1" - } - }, - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ec2.us-east-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "us-east-1" - } - }, - { - "documentation": "For region us-east-2 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ec2-fips.us-east-2.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "us-east-2" - } - }, - { - "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ec2-fips.us-east-2.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "us-east-2" - } - }, - { - "documentation": "For region us-east-2 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ec2.us-east-2.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "us-east-2" - } - }, - { - "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ec2.us-east-2.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "us-east-2" - } - }, - { - "documentation": "For region cn-northwest-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ec2-fips.cn-northwest-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "cn-northwest-1" - } - }, - { - "documentation": "For region cn-northwest-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ec2-fips.cn-northwest-1.amazonaws.com.cn" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "cn-northwest-1" - } - }, - { - "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ec2.cn-northwest-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "cn-northwest-1" - } - }, - { - "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ec2.cn-northwest-1.amazonaws.com.cn" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "cn-northwest-1" - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "us-isob-east-1" - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ec2-fips.us-isob-east-1.sc2s.sgov.gov" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "us-isob-east-1" - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "us-isob-east-1" - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ec2.us-isob-east-1.sc2s.sgov.gov" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "us-isob-east-1" - } - }, - { - "documentation": "For custom endpoint with fips disabled and dualstack disabled", - "expect": { - "endpoint": { - "url": "https://example.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "us-east-1", - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with fips enabled and dualstack disabled", - "expect": { - "error": "Invalid Configuration: FIPS and custom endpoint are not supported" - }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "us-east-1", - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with fips disabled and dualstack enabled", - "expect": { - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "us-east-1", - "Endpoint": "https://example.com" + "UseDualStack": true, + "Region": "us-east-1", + "Endpoint": "https://example.com" } } ], @@ -6437,6 +5332,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ApplySecurityGroupsToClientVpnTargetNetworkResult": { @@ -6613,6 +5511,9 @@ "smithy.api#xmlName": "networkInterfaceId" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#AssignIpv6AddressesResult": { @@ -6714,7 +5615,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for AssignPrivateIpAddresses.

        " + "smithy.api#documentation": "

        Contains the parameters for AssignPrivateIpAddresses.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#AssignPrivateIpAddressesResult": { @@ -6840,6 +5742,9 @@ "smithy.api#xmlName": "privateIpAddress" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#AssociateAddressResult": { @@ -6901,6 +5806,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#AssociateClientVpnTargetNetworkResult": { @@ -6965,6 +5873,9 @@ "smithy.api#xmlName": "dryRun" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#AssociateEnclaveCertificateIamRole": { @@ -7002,6 +5913,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#AssociateEnclaveCertificateIamRoleResult": { @@ -7064,6 +5978,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#AssociateIamInstanceProfileResult": { @@ -7118,6 +6035,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#AssociateInstanceEventWindowResult": { @@ -7133,6 +6053,77 @@ } } }, + "com.amazonaws.ec2#AssociateIpamResourceDiscovery": { + "type": "operation", + "input": { + "target": "com.amazonaws.ec2#AssociateIpamResourceDiscoveryRequest" + }, + "output": { + "target": "com.amazonaws.ec2#AssociateIpamResourceDiscoveryResult" + }, + "traits": { + "smithy.api#documentation": "

        Associates an IPAM resource discovery with an Amazon VPC IPAM. A resource discovery is an IPAM component that enables IPAM Service to manage and monitor resources that belong to the owning account.

        " + } + }, + "com.amazonaws.ec2#AssociateIpamResourceDiscoveryRequest": { + "type": "structure", + "members": { + "DryRun": { + "target": "com.amazonaws.ec2#Boolean", + "traits": { + "smithy.api#clientOptional": {}, + "smithy.api#default": false, + "smithy.api#documentation": "

        A check for whether you have the required permissions for the action without actually making the request \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " + } + }, + "IpamId": { + "target": "com.amazonaws.ec2#IpamId", + "traits": { + "smithy.api#clientOptional": {}, + "smithy.api#documentation": "

        An IPAM ID.

        ", + "smithy.api#required": {} + } + }, + "IpamResourceDiscoveryId": { + "target": "com.amazonaws.ec2#IpamResourceDiscoveryId", + "traits": { + "smithy.api#clientOptional": {}, + "smithy.api#documentation": "

        A resource discovery ID.

        ", + "smithy.api#required": {} + } + }, + "TagSpecifications": { + "target": "com.amazonaws.ec2#TagSpecificationList", + "traits": { + "smithy.api#documentation": "

        Tag specifications.

        ", + "smithy.api#xmlName": "TagSpecification" + } + }, + "ClientToken": { + "target": "com.amazonaws.ec2#String", + "traits": { + "smithy.api#documentation": "

        A client token.

        ", + "smithy.api#idempotencyToken": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.ec2#AssociateIpamResourceDiscoveryResult": { + "type": "structure", + "members": { + "IpamResourceDiscoveryAssociation": { + "target": "com.amazonaws.ec2#IpamResourceDiscoveryAssociation", + "traits": { + "aws.protocols#ec2QueryName": "IpamResourceDiscoveryAssociation", + "smithy.api#documentation": "

        A resource discovery association. An associated resource discovery is a resource discovery that has been associated with an IPAM.

        ", + "smithy.api#xmlName": "ipamResourceDiscoveryAssociation" + } + } + } + }, "com.amazonaws.ec2#AssociateRouteTable": { "type": "operation", "input": { @@ -7182,6 +6173,9 @@ "smithy.api#documentation": "

        The ID of the internet gateway or virtual private gateway.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#AssociateRouteTableResult": { @@ -7240,6 +6234,9 @@ "smithy.api#xmlName": "subnetId" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#AssociateSubnetCidrBlockResult": { @@ -7304,6 +6301,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#AssociateTransitGatewayMulticastDomainResult": { @@ -7358,6 +6358,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#AssociateTransitGatewayPolicyTableResult": { @@ -7412,6 +6415,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#AssociateTransitGatewayRouteTableResult": { @@ -7489,6 +6495,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#AssociateTrunkInterfaceResult": { @@ -7595,6 +6604,9 @@ "smithy.api#documentation": "

        The netmask length of the IPv6 CIDR you would like to associate from an Amazon VPC IP Address Manager (IPAM) pool. For more information about IPAM, see What is IPAM? in the Amazon VPC IPAM User Guide.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#AssociateVpcCidrBlockResult": { @@ -7892,6 +6904,9 @@ "smithy.api#xmlName": "vpcId" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#AttachClassicLinkVpcResult": { @@ -7954,6 +6969,9 @@ "smithy.api#xmlName": "vpcId" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#AttachNetworkInterface": { @@ -8028,7 +7046,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for AttachNetworkInterface.

        " + "smithy.api#documentation": "

        Contains the parameters for AttachNetworkInterface.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#AttachNetworkInterfaceResult": { @@ -8103,6 +7122,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#AttachVerifiedAccessTrustProviderResult": { @@ -8175,6 +7197,9 @@ "smithy.api#xmlName": "dryRun" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#AttachVpnGateway": { @@ -8220,7 +7245,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for AttachVpnGateway.

        " + "smithy.api#documentation": "

        Contains the parameters for AttachVpnGateway.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#AttachVpnGatewayResult": { @@ -8479,6 +7505,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#AuthorizeClientVpnIngressResult": { @@ -8596,6 +7625,9 @@ "smithy.api#xmlName": "sourceSecurityGroupOwnerId" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#AuthorizeSecurityGroupEgressResult": { @@ -8711,6 +7743,9 @@ "smithy.api#xmlName": "TagSpecification" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#AuthorizeSecurityGroupIngressResult": { @@ -9356,7 +8391,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for BundleInstance.

        " + "smithy.api#documentation": "

        Contains the parameters for BundleInstance.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#BundleInstanceResult": { @@ -9719,7 +8755,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for CancelBundleTask.

        " + "smithy.api#documentation": "

        Contains the parameters for CancelBundleTask.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#CancelBundleTaskResult": { @@ -9812,6 +8849,9 @@ "smithy.api#xmlName": "CapacityReservationFleetId" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CancelCapacityReservationFleetsResult": { @@ -9854,6 +8894,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CancelCapacityReservationResult": { @@ -9902,6 +8945,9 @@ "smithy.api#xmlName": "reasonMessage" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CancelConversionTask": { @@ -9941,6 +8987,9 @@ "smithy.api#xmlName": "exportTaskId" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CancelImageLaunchPermission": { @@ -9974,6 +9023,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n\t\t\tand provides an error response. If you have the required permissions, the error response is \n\t\t\tDryRunOperation. Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CancelImageLaunchPermissionResult": { @@ -10026,6 +9078,9 @@ "smithy.api#documentation": "

        The ID of the import image or import snapshot task to be canceled.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CancelImportTaskResult": { @@ -10084,7 +9139,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for CancelReservedInstancesListing.

        " + "smithy.api#documentation": "

        Contains the parameters for CancelReservedInstancesListing.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#CancelReservedInstancesListingResult": { @@ -10208,7 +9264,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for CancelSpotFleetRequests.

        " + "smithy.api#documentation": "

        Contains the parameters for CancelSpotFleetRequests.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#CancelSpotFleetRequestsResponse": { @@ -10232,7 +9289,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the output of CancelSpotFleetRequests.

        " + "smithy.api#documentation": "

        Contains the output of CancelSpotFleetRequests.

        ", + "smithy.api#output": {} } }, "com.amazonaws.ec2#CancelSpotFleetRequestsSuccessItem": { @@ -10347,7 +9405,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for CancelSpotInstanceRequests.

        " + "smithy.api#documentation": "

        Contains the parameters for CancelSpotInstanceRequests.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#CancelSpotInstanceRequestsResult": { @@ -12776,6 +11835,9 @@ "smithy.api#xmlName": "dryRun" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ConfirmProductInstanceResult": { @@ -13160,6 +12222,9 @@ "smithy.api#documentation": "

        Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. \n For more information, see Ensuring idempotency.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CopyFpgaImageResult": { @@ -13270,7 +12335,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for CopyImage.

        " + "smithy.api#documentation": "

        Contains the parameters for CopyImage.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#CopyImageResult": { @@ -13383,6 +12449,9 @@ "smithy.api#xmlName": "dryRun" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CopySnapshotResult": { @@ -13607,6 +12676,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateCapacityReservationFleetResult": { @@ -13818,6 +12890,9 @@ "smithy.api#documentation": "

        The Amazon Resource Name (ARN) of the cluster placement group in which \n\t\t\tto create the Capacity Reservation. For more information, see \n\t\t\t\n\t\t\t\tCapacity Reservations for cluster placement groups in the \n\t\t\tAmazon EC2 User Guide.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateCapacityReservationResult": { @@ -13878,6 +12953,9 @@ "smithy.api#idempotencyToken": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateCarrierGatewayResult": { @@ -14036,6 +13114,9 @@ "smithy.api#documentation": "

        Options for enabling a customizable text banner that will be displayed on\n\t\t\tAmazon Web Services provided clients when a VPN session is established.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateClientVpnEndpointResult": { @@ -14127,6 +13208,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateClientVpnRouteResult": { @@ -14181,6 +13265,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateCoipCidrResult": { @@ -14234,6 +13321,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateCoipPoolResult": { @@ -14324,7 +13414,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for CreateCustomerGateway.

        " + "smithy.api#documentation": "

        Contains the parameters for CreateCustomerGateway.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateCustomerGatewayResult": { @@ -14382,6 +13473,9 @@ "smithy.api#documentation": "

        Indicates whether to create an IPv6 only subnet. If you already have a default subnet\n for this Availability Zone, you must delete it before you can create an IPv6 only subnet.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateDefaultSubnetResult": { @@ -14420,6 +13514,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateDefaultVpcResult": { @@ -14477,6 +13574,9 @@ "smithy.api#xmlName": "dryRun" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateDhcpOptionsResult": { @@ -14536,6 +13636,9 @@ "smithy.api#xmlName": "TagSpecification" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateEgressOnlyInternetGatewayResult": { @@ -14775,6 +13878,9 @@ "smithy.api#documentation": "

        Reserved.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateFleetResult": { @@ -14915,6 +14021,9 @@ "smithy.api#documentation": "

        The destination options.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateFlowLogsResult": { @@ -15008,6 +14117,9 @@ "smithy.api#xmlName": "TagSpecification" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateFpgaImageResult": { @@ -15109,6 +14221,9 @@ "smithy.api#xmlName": "TagSpecification" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateImageResult": { @@ -15173,6 +14288,9 @@ "smithy.api#xmlName": "TagSpecification" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateInstanceEventWindowResult": { @@ -15248,6 +14366,9 @@ "smithy.api#xmlName": "TagSpecification" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateInstanceExportTaskResult": { @@ -15295,6 +14416,9 @@ "smithy.api#xmlName": "dryRun" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateInternetGatewayResult": { @@ -15445,7 +14569,16 @@ "traits": { "smithy.api#documentation": "

        Limits which service in Amazon Web Services that the pool can be used in. \"ec2\", for example, allows users to use space for Elastic IP addresses and VPCs.

        " } + }, + "PublicIpSource": { + "target": "com.amazonaws.ec2#IpamPoolPublicIpSource", + "traits": { + "smithy.api#documentation": "

        The IP address source for pools in the public scope. Only used for provisioning IP address CIDRs to pools in the public scope. Default is byoip. For more information, see Create IPv6 pools in the Amazon VPC IPAM User Guide. \n By default, you can add only one Amazon-provided IPv6 CIDR block to a top-level IPv6 pool if PublicIpSource is amazon. For information on increasing the default limit, see Quotas for your IPAM in the Amazon VPC IPAM User Guide.

        " + } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateIpamPoolResult": { @@ -15481,7 +14614,7 @@ "OperatingRegions": { "target": "com.amazonaws.ec2#AddIpamOperatingRegionSet", "traits": { - "smithy.api#documentation": "

        The operating Regions for the IPAM. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only\n discovers and monitors resources in the Amazon Web Services Regions you select as operating Regions.

        \n

        For more information about operating Regions, see Create an IPAM in the Amazon VPC IPAM User Guide.\n

        ", + "smithy.api#documentation": "

        The operating Regions for the IPAM. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the Amazon Web Services Regions you select as operating Regions.

        \n

        For more information about operating Regions, see Create an IPAM in the Amazon VPC IPAM User Guide.\n

        ", "smithy.api#xmlName": "OperatingRegion" } }, @@ -15499,6 +14632,77 @@ "smithy.api#idempotencyToken": {} } } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.ec2#CreateIpamResourceDiscovery": { + "type": "operation", + "input": { + "target": "com.amazonaws.ec2#CreateIpamResourceDiscoveryRequest" + }, + "output": { + "target": "com.amazonaws.ec2#CreateIpamResourceDiscoveryResult" + }, + "traits": { + "smithy.api#documentation": "

        Creates an IPAM resource discovery. A resource discovery is an IPAM component that enables IPAM Service to manage and monitor resources that belong to the owning account.

        " + } + }, + "com.amazonaws.ec2#CreateIpamResourceDiscoveryRequest": { + "type": "structure", + "members": { + "DryRun": { + "target": "com.amazonaws.ec2#Boolean", + "traits": { + "smithy.api#clientOptional": {}, + "smithy.api#default": false, + "smithy.api#documentation": "

        A check for whether you have the required permissions for the action without actually making the request \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " + } + }, + "Description": { + "target": "com.amazonaws.ec2#String", + "traits": { + "smithy.api#documentation": "

        A description for the IPAM resource discovery.

        " + } + }, + "OperatingRegions": { + "target": "com.amazonaws.ec2#AddIpamOperatingRegionSet", + "traits": { + "smithy.api#documentation": "

        Operating Regions for the IPAM resource discovery. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the Amazon Web Services Regions you select as operating Regions.

        ", + "smithy.api#xmlName": "OperatingRegion" + } + }, + "TagSpecifications": { + "target": "com.amazonaws.ec2#TagSpecificationList", + "traits": { + "smithy.api#documentation": "

        Tag specifications for the IPAM resource discovery.

        ", + "smithy.api#xmlName": "TagSpecification" + } + }, + "ClientToken": { + "target": "com.amazonaws.ec2#String", + "traits": { + "smithy.api#documentation": "

        A client token for the IPAM resource discovery.

        ", + "smithy.api#idempotencyToken": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.ec2#CreateIpamResourceDiscoveryResult": { + "type": "structure", + "members": { + "IpamResourceDiscovery": { + "target": "com.amazonaws.ec2#IpamResourceDiscovery", + "traits": { + "aws.protocols#ec2QueryName": "IpamResourceDiscovery", + "smithy.api#documentation": "

        An IPAM resource discovery.

        ", + "smithy.api#xmlName": "ipamResourceDiscovery" + } + } } }, "com.amazonaws.ec2#CreateIpamResult": { @@ -15565,6 +14769,9 @@ "smithy.api#idempotencyToken": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateIpamScopeResult": { @@ -15632,6 +14839,9 @@ "smithy.api#documentation": "

        The format of the key pair.

        \n

        Default: pem\n

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateLaunchTemplate": { @@ -15692,6 +14902,9 @@ "smithy.api#xmlName": "TagSpecification" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateLaunchTemplateResult": { @@ -15784,6 +14997,9 @@ "smithy.api#documentation": "

        If true, and if a Systems Manager parameter is specified for ImageId,\n the AMI ID is displayed in the response for imageID. For more information, see Use a Systems \n Manager parameter instead of an AMI ID in the Amazon Elastic Compute Cloud User Guide.

        \n

        Default: false\n

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateLaunchTemplateVersionResult": { @@ -15858,6 +15074,9 @@ "smithy.api#documentation": "

        The ID of the network interface.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateLocalGatewayRouteResult": { @@ -15917,6 +15136,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateLocalGatewayRouteTableResult": { @@ -15978,6 +15200,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationResult": { @@ -16039,6 +15264,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateLocalGatewayRouteTableVpcAssociationResult": { @@ -16123,6 +15351,9 @@ "smithy.api#idempotencyToken": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateManagedPrefixListResult": { @@ -16201,6 +15432,9 @@ "smithy.api#documentation": "

        The private IPv4 address to assign to the NAT gateway. If you don't provide an address, a private IPv4 address will be automatically assigned.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateNatGatewayResult": { @@ -16344,6 +15578,9 @@ "smithy.api#xmlName": "ruleNumber" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateNetworkAclRequest": { @@ -16376,6 +15613,9 @@ "smithy.api#xmlName": "TagSpecification" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateNetworkAclResult": { @@ -16444,6 +15684,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateNetworkInsightsAccessScopeResult": { @@ -16550,6 +15793,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateNetworkInsightsPathResult": { @@ -16630,7 +15876,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for CreateNetworkInterfacePermission.

        " + "smithy.api#documentation": "

        Contains the parameters for CreateNetworkInterfacePermission.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateNetworkInterfacePermissionResult": { @@ -16781,6 +16028,9 @@ "smithy.api#idempotencyToken": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateNetworkInterfaceResult": { @@ -16866,6 +16116,9 @@ "smithy.api#documentation": "

        Determines how placement groups spread instances.

        \n
          \n
        • \n

          Host – You can use host only with Outpost placement\n groups.

          \n
        • \n
        • \n

          Rack – No usage restrictions.

          \n
        • \n
        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreatePlacementGroupResult": { @@ -16911,6 +16164,9 @@ "smithy.api#xmlName": "TagSpecification" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreatePublicIpv4PoolResult": { @@ -16991,6 +16247,9 @@ "smithy.api#documentation": "

        Indicates whether to automatically delete the original root volume after the root volume \n replacement task completes. To delete the original root volume, specify true. \n If you choose to keep the original root volume after the replacement task completes, you must \n manually delete it when you no longer need it.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateReplaceRootVolumeTaskResult": { @@ -17064,7 +16323,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for CreateReservedInstancesListing.

        " + "smithy.api#documentation": "

        Contains the parameters for CreateReservedInstancesListing.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateReservedInstancesListingResult": { @@ -17135,6 +16395,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n\t\t\tand provides an error response. If you have the required permissions, the error response is \n\t\t\tDryRunOperation. Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateRestoreImageTaskResult": { @@ -17285,6 +16548,9 @@ "smithy.api#documentation": "

        The Amazon Resource Name (ARN) of the core network.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateRouteResult": { @@ -17344,6 +16610,9 @@ "smithy.api#xmlName": "TagSpecification" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateRouteTableResult": { @@ -17414,6 +16683,9 @@ "smithy.api#xmlName": "dryRun" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateSecurityGroupResult": { @@ -17489,6 +16761,9 @@ "smithy.api#xmlName": "dryRun" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateSnapshots": { @@ -17547,6 +16822,9 @@ "smithy.api#documentation": "

        Copies the tags from the specified volume to corresponding snapshot.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateSnapshotsResult": { @@ -17607,7 +16885,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for CreateSpotDatafeedSubscription.

        " + "smithy.api#documentation": "

        Contains the parameters for CreateSpotDatafeedSubscription.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateSpotDatafeedSubscriptionResult": { @@ -17672,6 +16951,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n\t\t\tand provides an error response. If you have the required permissions, the error response is \n\t\t\tDryRunOperation. Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateStoreImageTaskResult": { @@ -17759,6 +17041,9 @@ "smithy.api#xmlName": "TagSpecification" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateSubnetCidrReservationResult": { @@ -17840,6 +17125,9 @@ "smithy.api#documentation": "

        Indicates whether to create an IPv6 only subnet.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateSubnetResult": { @@ -17898,6 +17186,9 @@ "smithy.api#xmlName": "Tag" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateTrafficMirrorFilter": { @@ -17943,6 +17234,9 @@ "smithy.api#idempotencyToken": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateTrafficMirrorFilterResult": { @@ -18071,6 +17365,9 @@ "smithy.api#idempotencyToken": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateTrafficMirrorFilterRuleResult": { @@ -18186,6 +17483,9 @@ "smithy.api#idempotencyToken": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateTrafficMirrorSessionResult": { @@ -18270,6 +17570,9 @@ "smithy.api#documentation": "

        The ID of the Gateway Load Balancer endpoint.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateTrafficMirrorTargetResult": { @@ -18383,6 +17686,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateTransitGatewayConnectPeerResult": { @@ -18432,6 +17738,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateTransitGatewayConnectRequestOptions": { @@ -18507,6 +17816,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateTransitGatewayMulticastDomainRequestOptions": { @@ -18616,6 +17928,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateTransitGatewayPeeringAttachmentRequestOptions": { @@ -18682,6 +17997,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateTransitGatewayPolicyTableResult": { @@ -18750,6 +18068,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateTransitGatewayPrefixListReferenceResult": { @@ -18795,6 +18116,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateTransitGatewayResult": { @@ -18863,6 +18187,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateTransitGatewayRouteResult": { @@ -18936,6 +18263,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateTransitGatewayRouteTableAnnouncementResult": { @@ -18976,6 +18306,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateTransitGatewayRouteTableResult": { @@ -19050,6 +18383,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateTransitGatewayVpcAttachmentRequestOptions": { @@ -19270,6 +18606,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateVerifiedAccessEndpointResult": { @@ -19351,6 +18690,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateVerifiedAccessGroupResult": { @@ -19409,6 +18751,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateVerifiedAccessInstanceResult": { @@ -19571,6 +18916,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateVerifiedAccessTrustProviderResult": { @@ -19752,6 +19100,9 @@ "smithy.api#idempotencyToken": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateVpc": { @@ -19835,6 +19186,9 @@ "smithy.api#documentation": "

        Unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request. For more information, see How to ensure\n idempotency.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateVpcEndpointConnectionNotificationResult": { @@ -19951,6 +19305,9 @@ "smithy.api#xmlName": "TagSpecification" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateVpcEndpointResult": { @@ -20045,6 +19402,9 @@ "smithy.api#xmlName": "TagSpecification" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateVpcEndpointServiceConfigurationResult": { @@ -20130,6 +19490,9 @@ "smithy.api#xmlName": "TagSpecification" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateVpcPeeringConnectionResult": { @@ -20231,6 +19594,9 @@ "smithy.api#xmlName": "TagSpecification" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateVpcResult": { @@ -20316,7 +19682,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for CreateVpnConnection.

        " + "smithy.api#documentation": "

        Contains the parameters for CreateVpnConnection.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateVpnConnectionResult": { @@ -20368,7 +19735,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for CreateVpnConnectionRoute.

        " + "smithy.api#documentation": "

        Contains the parameters for CreateVpnConnectionRoute.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateVpnGateway": { @@ -20427,7 +19795,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for CreateVpnGateway.

        " + "smithy.api#documentation": "

        Contains the parameters for CreateVpnGateway.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#CreateVpnGatewayResult": { @@ -20849,6 +20218,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteCarrierGatewayResult": { @@ -20895,6 +20267,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteClientVpnEndpointResult": { @@ -20955,6 +20330,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteClientVpnRouteResult": { @@ -21009,6 +20387,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteCoipCidrResult": { @@ -21055,6 +20436,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteCoipPoolResult": { @@ -21105,7 +20489,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for DeleteCustomerGateway.

        " + "smithy.api#documentation": "

        Contains the parameters for DeleteCustomerGateway.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteDhcpOptions": { @@ -21141,6 +20526,9 @@ "smithy.api#xmlName": "dryRun" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteEgressOnlyInternetGateway": { @@ -21174,6 +20562,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteEgressOnlyInternetGatewayResult": { @@ -21359,6 +20750,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteFleetsResult": { @@ -21414,6 +20808,9 @@ "smithy.api#xmlName": "FlowLogId" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteFlowLogsResult": { @@ -21460,6 +20857,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteFpgaImageResult": { @@ -21517,6 +20917,9 @@ "smithy.api#xmlName": "InstanceEventWindowId" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteInstanceEventWindowResult": { @@ -21567,6 +20970,9 @@ "smithy.api#xmlName": "internetGatewayId" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteIpam": { @@ -21612,6 +21018,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteIpamPoolResult": { @@ -21654,6 +21063,58 @@ "smithy.api#documentation": "

        Enables you to quickly delete an IPAM, private scopes, pools in private scopes, and\n any allocations in the pools in private scopes. You cannot delete the IPAM with this option if there is a pool in your public scope. If you use this option, IPAM does the following:

        \n
          \n
        • \n

          Deallocates any CIDRs allocated to VPC resources (such as VPCs) in pools in private scopes.

          \n \n

          No VPC resources are deleted as a result of enabling this option. The CIDR associated with the resource will no longer be allocated from an IPAM pool, but the CIDR itself will remain unchanged.

          \n
          \n
        • \n
        • \n

          Deprovisions all IPv4 CIDRs provisioned to IPAM pools in private scopes.

          \n
        • \n
        • \n

          Deletes all IPAM pools in private scopes.

          \n
        • \n
        • \n

          Deletes all non-default private scopes in the IPAM.

          \n
        • \n
        • \n

          Deletes the default public and private scopes and the IPAM.

          \n
        • \n
        " } } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.ec2#DeleteIpamResourceDiscovery": { + "type": "operation", + "input": { + "target": "com.amazonaws.ec2#DeleteIpamResourceDiscoveryRequest" + }, + "output": { + "target": "com.amazonaws.ec2#DeleteIpamResourceDiscoveryResult" + }, + "traits": { + "smithy.api#documentation": "

        Deletes an IPAM resource discovery. A resource discovery is an IPAM component that enables IPAM Service to manage and monitor resources that belong to the owning account.

        " + } + }, + "com.amazonaws.ec2#DeleteIpamResourceDiscoveryRequest": { + "type": "structure", + "members": { + "DryRun": { + "target": "com.amazonaws.ec2#Boolean", + "traits": { + "smithy.api#clientOptional": {}, + "smithy.api#default": false, + "smithy.api#documentation": "

        A check for whether you have the required permissions for the action without actually making the request \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " + } + }, + "IpamResourceDiscoveryId": { + "target": "com.amazonaws.ec2#IpamResourceDiscoveryId", + "traits": { + "smithy.api#clientOptional": {}, + "smithy.api#documentation": "

        The IPAM resource discovery ID.

        ", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.ec2#DeleteIpamResourceDiscoveryResult": { + "type": "structure", + "members": { + "IpamResourceDiscovery": { + "target": "com.amazonaws.ec2#IpamResourceDiscovery", + "traits": { + "aws.protocols#ec2QueryName": "IpamResourceDiscovery", + "smithy.api#documentation": "

        The IPAM resource discovery.

        ", + "smithy.api#xmlName": "ipamResourceDiscovery" + } + } } }, "com.amazonaws.ec2#DeleteIpamResult": { @@ -21700,6 +21161,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteIpamScopeResult": { @@ -21752,6 +21216,9 @@ "smithy.api#xmlName": "dryRun" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteLaunchTemplate": { @@ -21789,6 +21256,9 @@ "smithy.api#documentation": "

        The name of the launch template.

        \n

        You must specify either the LaunchTemplateName or the\n LaunchTemplateId, but not both.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteLaunchTemplateResult": { @@ -21848,6 +21318,9 @@ "smithy.api#xmlName": "LaunchTemplateVersion" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteLaunchTemplateVersionsResponseErrorItem": { @@ -22004,6 +21477,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteLocalGatewayRouteResult": { @@ -22050,6 +21526,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteLocalGatewayRouteTableResult": { @@ -22096,6 +21575,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationResult": { @@ -22142,6 +21624,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteLocalGatewayRouteTableVpcAssociationResult": { @@ -22188,6 +21673,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteManagedPrefixListResult": { @@ -22235,6 +21723,9 @@ "smithy.api#xmlName": "NatGatewayId" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteNatGatewayResult": { @@ -22319,6 +21810,9 @@ "smithy.api#xmlName": "ruleNumber" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteNetworkAclRequest": { @@ -22344,6 +21838,9 @@ "smithy.api#xmlName": "networkAclId" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteNetworkInsightsAccessScope": { @@ -22389,6 +21886,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteNetworkInsightsAccessScopeAnalysisResult": { @@ -22423,6 +21923,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteNetworkInsightsAccessScopeResult": { @@ -22469,6 +21972,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteNetworkInsightsAnalysisResult": { @@ -22515,6 +22021,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteNetworkInsightsPathResult": { @@ -22583,7 +22092,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for DeleteNetworkInterfacePermission.

        " + "smithy.api#documentation": "

        Contains the parameters for DeleteNetworkInterfacePermission.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteNetworkInterfacePermissionResult": { @@ -22629,7 +22139,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for DeleteNetworkInterface.

        " + "smithy.api#documentation": "

        Contains the parameters for DeleteNetworkInterface.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeletePlacementGroup": { @@ -22667,6 +22178,9 @@ "smithy.api#xmlName": "groupName" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeletePublicIpv4Pool": { @@ -22700,6 +22214,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeletePublicIpv4PoolResult": { @@ -22811,6 +22328,9 @@ "smithy.api#xmlName": "ReservedInstancesId" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteQueuedReservedInstancesResult": { @@ -22891,6 +22411,9 @@ "smithy.api#xmlName": "routeTableId" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteRouteTable": { @@ -22928,6 +22451,9 @@ "smithy.api#xmlName": "routeTableId" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteSecurityGroup": { @@ -22967,6 +22493,9 @@ "smithy.api#xmlName": "dryRun" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteSnapshot": { @@ -23002,6 +22531,9 @@ "smithy.api#xmlName": "dryRun" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteSpotDatafeedSubscription": { @@ -23031,7 +22563,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for DeleteSpotDatafeedSubscription.

        " + "smithy.api#documentation": "

        Contains the parameters for DeleteSpotDatafeedSubscription.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteSubnet": { @@ -23077,6 +22610,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteSubnetCidrReservationResult": { @@ -23113,6 +22649,9 @@ "smithy.api#xmlName": "dryRun" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteTags": { @@ -23158,6 +22697,9 @@ "smithy.api#xmlName": "tag" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteTrafficMirrorFilter": { @@ -23191,6 +22733,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteTrafficMirrorFilterResult": { @@ -23237,6 +22782,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteTrafficMirrorFilterRuleResult": { @@ -23283,6 +22831,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteTrafficMirrorSessionResult": { @@ -23329,6 +22880,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteTrafficMirrorTargetResult": { @@ -23399,6 +22953,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteTransitGatewayConnectPeerResult": { @@ -23433,6 +22990,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteTransitGatewayConnectResult": { @@ -23479,6 +23039,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteTransitGatewayMulticastDomainResult": { @@ -23525,6 +23088,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteTransitGatewayPeeringAttachmentResult": { @@ -23571,6 +23137,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteTransitGatewayPolicyTableResult": { @@ -23625,6 +23194,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteTransitGatewayPrefixListReferenceResult": { @@ -23659,6 +23231,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteTransitGatewayResult": { @@ -23713,6 +23288,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteTransitGatewayRouteResult": { @@ -23771,6 +23349,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteTransitGatewayRouteTableAnnouncementResult": { @@ -23805,6 +23386,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteTransitGatewayRouteTableResult": { @@ -23851,6 +23435,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteTransitGatewayVpcAttachmentResult": { @@ -23904,6 +23491,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteVerifiedAccessEndpointResult": { @@ -23957,6 +23547,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteVerifiedAccessGroupResult": { @@ -24010,6 +23603,9 @@ "smithy.api#idempotencyToken": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteVerifiedAccessInstanceResult": { @@ -24063,6 +23659,9 @@ "smithy.api#idempotencyToken": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteVerifiedAccessTrustProviderResult": { @@ -24111,6 +23710,9 @@ "smithy.api#xmlName": "dryRun" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteVpc": { @@ -24157,6 +23759,9 @@ "smithy.api#xmlName": "ConnectionNotificationId" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteVpcEndpointConnectionNotificationsResult": { @@ -24204,6 +23809,9 @@ "smithy.api#xmlName": "ServiceId" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteVpcEndpointServiceConfigurationsResult": { @@ -24251,6 +23859,9 @@ "smithy.api#xmlName": "VpcEndpointId" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteVpcEndpointsResult": { @@ -24301,6 +23912,9 @@ "smithy.api#xmlName": "vpcPeeringConnectionId" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteVpcPeeringConnectionResult": { @@ -24339,6 +23953,9 @@ "smithy.api#xmlName": "dryRun" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteVpnConnection": { @@ -24376,7 +23993,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for DeleteVpnConnection.

        " + "smithy.api#documentation": "

        Contains the parameters for DeleteVpnConnection.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteVpnConnectionRoute": { @@ -24412,7 +24030,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for DeleteVpnConnectionRoute.

        " + "smithy.api#documentation": "

        Contains the parameters for DeleteVpnConnectionRoute.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeleteVpnGateway": { @@ -24450,7 +24069,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for DeleteVpnGateway.

        " + "smithy.api#documentation": "

        Contains the parameters for DeleteVpnGateway.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeprovisionByoipCidr": { @@ -24484,6 +24104,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeprovisionByoipCidrResult": { @@ -24536,6 +24159,9 @@ "smithy.api#documentation": "

        The CIDR which you want to deprovision from the pool.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeprovisionIpamPoolCidrResult": { @@ -24590,6 +24216,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeprovisionPublicIpv4PoolCidrResult": { @@ -24657,7 +24286,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for DeregisterImage.

        " + "smithy.api#documentation": "

        Contains the parameters for DeregisterImage.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeregisterInstanceEventNotificationAttributes": { @@ -24689,6 +24319,9 @@ "smithy.api#documentation": "

        Information about the tag keys to deregister.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeregisterInstanceEventNotificationAttributesResult": { @@ -24768,6 +24401,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeregisterTransitGatewayMulticastGroupMembersResult": { @@ -24824,6 +24460,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeregisterTransitGatewayMulticastGroupSourcesResult": { @@ -24872,6 +24511,9 @@ "smithy.api#xmlName": "dryRun" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeAccountAttributesResult": { @@ -24947,6 +24589,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeAddressTransfersResult": { @@ -25038,6 +24683,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeAddressesAttributeResult": { @@ -25095,6 +24743,9 @@ "smithy.api#xmlName": "dryRun" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeAddressesResult": { @@ -25133,6 +24784,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeAggregateIdFormatResult": { @@ -25212,6 +24866,9 @@ "smithy.api#xmlName": "dryRun" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeAvailabilityZonesResult": { @@ -25277,6 +24934,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeAwsNetworkPerformanceMetricSubscriptionsResult": { @@ -25366,6 +25026,9 @@ "smithy.api#xmlName": "dryRun" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeBundleTasksResult": { @@ -25435,6 +25098,9 @@ "smithy.api#documentation": "

        The token for the next page of results.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeByoipCidrsResult": { @@ -25525,6 +25191,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeCapacityReservationFleetsResult": { @@ -25615,6 +25284,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeCapacityReservationsResult": { @@ -25695,6 +25367,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeCarrierGatewaysResult": { @@ -25791,6 +25466,9 @@ "smithy.api#xmlName": "nextToken" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeClassicLinkInstancesResult": { @@ -25882,6 +25560,9 @@ "smithy.api#documentation": "

        The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the nextToken value.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeClientVpnAuthorizationRulesResult": { @@ -25973,6 +25654,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeClientVpnConnectionsResult": { @@ -26063,6 +25747,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeClientVpnEndpointsResult": { @@ -26154,6 +25841,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeClientVpnRoutesResult": { @@ -26251,6 +25941,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeClientVpnTargetNetworksResult": { @@ -26331,6 +26024,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeCoipPoolsResult": { @@ -26463,6 +26159,9 @@ "smithy.api#xmlName": "dryRun" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeConversionTasksResult": { @@ -26556,7 +26255,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for DescribeCustomerGateways.

        " + "smithy.api#documentation": "

        Contains the parameters for DescribeCustomerGateways.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeCustomerGatewaysResult": { @@ -26644,6 +26344,9 @@ "smithy.api#documentation": "

        The maximum number of results to return with a single call.\n\tTo retrieve the remaining results, make another call with the returned nextToken value.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeDhcpOptionsResult": { @@ -26734,6 +26437,9 @@ "smithy.api#xmlName": "Filter" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeEgressOnlyInternetGatewaysResult": { @@ -26818,6 +26524,9 @@ "smithy.api#documentation": "

        The token to request the next page of results.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeElasticGpusResult": { @@ -26918,6 +26627,9 @@ "smithy.api#documentation": "

        A token that indicates the next page of results.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeExportImageTasksResult": { @@ -27003,6 +26715,9 @@ "smithy.api#xmlName": "Filter" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeExportTasksResult": { @@ -27073,6 +26788,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n\t\t\tand provides an error response. If you have the required permissions, the error response is \n\t\t\tDryRunOperation. Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeFastLaunchImagesRequestMaxResults": { @@ -27358,6 +27076,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeFastSnapshotRestoresResult": { @@ -27480,6 +27201,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeFleetHistoryResult": { @@ -27579,6 +27303,9 @@ "smithy.api#xmlName": "Filter" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeFleetInstancesResult": { @@ -27733,6 +27460,9 @@ "smithy.api#xmlName": "Filter" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeFleetsResult": { @@ -27812,6 +27542,9 @@ "smithy.api#documentation": "

        The token for the next page of results.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeFlowLogsResult": { @@ -27874,6 +27607,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeFpgaImageAttributeResult": { @@ -27963,6 +27699,9 @@ "smithy.api#documentation": "

        The maximum number of results to return in a single call.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeFpgaImagesResult": { @@ -28049,6 +27788,9 @@ "smithy.api#documentation": "

        The ID of the reservation offering.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeHostReservationOfferingsResult": { @@ -28129,6 +27871,9 @@ "smithy.api#documentation": "

        The token to use to retrieve the next page of results.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeHostReservationsResult": { @@ -28207,6 +27952,9 @@ "smithy.api#xmlName": "nextToken" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeHostsResult": { @@ -28289,6 +28037,9 @@ "smithy.api#documentation": "

        The token to request the next page of results.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeIamInstanceProfileAssociationsResult": { @@ -28333,6 +28084,9 @@ "smithy.api#documentation": "

        The type of resource: bundle |\n conversion-task | customer-gateway | dhcp-options |\n elastic-ip-allocation | elastic-ip-association |\n export-task | flow-log | image |\n import-task | instance | internet-gateway |\n network-acl | network-acl-association |\n network-interface | network-interface-attachment |\n prefix-list | reservation | route-table |\n route-table-association | security-group |\n snapshot | subnet |\n subnet-cidr-block-association | volume | vpc\n | vpc-cidr-block-association | vpc-endpoint |\n vpc-peering-connection | vpn-connection | vpn-gateway\n

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeIdFormatResult": { @@ -28381,6 +28135,9 @@ "smithy.api#xmlName": "resource" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeIdentityIdFormatResult": { @@ -28439,7 +28196,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for DescribeImageAttribute.

        " + "smithy.api#documentation": "

        Contains the parameters for DescribeImageAttribute.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeImages": { @@ -28572,6 +28330,9 @@ "smithy.api#documentation": "

        The token for the next page of results.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeImagesResult": { @@ -28652,6 +28413,9 @@ "smithy.api#documentation": "

        A token that indicates the next page of results.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeImportImageTasksResult": { @@ -28732,6 +28496,9 @@ "smithy.api#documentation": "

        A token that indicates the next page of results.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeImportSnapshotTasksResult": { @@ -28800,6 +28567,9 @@ "smithy.api#xmlName": "instanceId" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeInstanceCreditSpecifications": { @@ -28869,6 +28639,9 @@ "smithy.api#documentation": "

        The token to retrieve the next page of results.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeInstanceCreditSpecificationsResult": { @@ -28915,6 +28688,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeInstanceEventNotificationAttributesResult": { @@ -28989,7 +28765,8 @@ } }, "traits": { - "smithy.api#documentation": "Describe instance event windows by InstanceEventWindow." + "smithy.api#documentation": "Describe instance event windows by InstanceEventWindow.", + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeInstanceEventWindowsResult": { @@ -29121,6 +28898,9 @@ "smithy.api#xmlName": "includeAllInstances" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeInstanceStatusResult": { @@ -29198,6 +28978,9 @@ "smithy.api#documentation": "

        The token to retrieve the next page of results.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeInstanceTypeOfferingsResult": { @@ -29276,6 +29059,9 @@ "smithy.api#documentation": "

        The token to retrieve the next page of results.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeInstanceTypesResult": { @@ -29507,6 +29293,9 @@ "smithy.api#xmlName": "nextToken" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeInstancesResult": { @@ -29624,6 +29413,9 @@ "smithy.api#documentation": "

        The maximum number of results to return with a single call.\n\tTo retrieve the remaining results, make another call with the returned nextToken value.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeInternetGatewaysResult": { @@ -29704,6 +29496,9 @@ "smithy.api#xmlName": "IpamPoolId" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeIpamPoolsResult": { @@ -29727,6 +29522,172 @@ } } }, + "com.amazonaws.ec2#DescribeIpamResourceDiscoveries": { + "type": "operation", + "input": { + "target": "com.amazonaws.ec2#DescribeIpamResourceDiscoveriesRequest" + }, + "output": { + "target": "com.amazonaws.ec2#DescribeIpamResourceDiscoveriesResult" + }, + "traits": { + "smithy.api#documentation": "

        Describes IPAM resource discoveries. A resource discovery is an IPAM component that enables IPAM Service to manage and monitor resources that belong to the owning account.

        ", + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "items": "IpamResourceDiscoveries", + "pageSize": "MaxResults" + } + } + }, + "com.amazonaws.ec2#DescribeIpamResourceDiscoveriesRequest": { + "type": "structure", + "members": { + "DryRun": { + "target": "com.amazonaws.ec2#Boolean", + "traits": { + "smithy.api#clientOptional": {}, + "smithy.api#default": false, + "smithy.api#documentation": "

        A check for whether you have the required permissions for the action without actually making the request \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " + } + }, + "IpamResourceDiscoveryIds": { + "target": "com.amazonaws.ec2#ValueStringList", + "traits": { + "smithy.api#documentation": "

        The IPAM resource discovery IDs.

        ", + "smithy.api#xmlName": "IpamResourceDiscoveryId" + } + }, + "NextToken": { + "target": "com.amazonaws.ec2#NextToken", + "traits": { + "smithy.api#documentation": "

        Specify the pagination token from a previous request to retrieve the next page of results.

        " + } + }, + "MaxResults": { + "target": "com.amazonaws.ec2#IpamMaxResults", + "traits": { + "smithy.api#clientOptional": {}, + "smithy.api#default": 0, + "smithy.api#documentation": "

        The maximum number of resource discoveries to return in one page of results.

        " + } + }, + "Filters": { + "target": "com.amazonaws.ec2#FilterList", + "traits": { + "smithy.api#documentation": "

        The resource discovery filters.

        ", + "smithy.api#xmlName": "Filter" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.ec2#DescribeIpamResourceDiscoveriesResult": { + "type": "structure", + "members": { + "IpamResourceDiscoveries": { + "target": "com.amazonaws.ec2#IpamResourceDiscoverySet", + "traits": { + "aws.protocols#ec2QueryName": "IpamResourceDiscoverySet", + "smithy.api#documentation": "

        The resource discoveries.

        ", + "smithy.api#xmlName": "ipamResourceDiscoverySet" + } + }, + "NextToken": { + "target": "com.amazonaws.ec2#NextToken", + "traits": { + "aws.protocols#ec2QueryName": "NextToken", + "smithy.api#documentation": "

        Specify the pagination token from a previous request to retrieve the next page of results.

        ", + "smithy.api#xmlName": "nextToken" + } + } + } + }, + "com.amazonaws.ec2#DescribeIpamResourceDiscoveryAssociations": { + "type": "operation", + "input": { + "target": "com.amazonaws.ec2#DescribeIpamResourceDiscoveryAssociationsRequest" + }, + "output": { + "target": "com.amazonaws.ec2#DescribeIpamResourceDiscoveryAssociationsResult" + }, + "traits": { + "smithy.api#documentation": "

        Describes resource discovery association with an Amazon VPC IPAM. An associated resource discovery is a resource discovery that has been associated with an IPAM..

        ", + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "items": "IpamResourceDiscoveryAssociations", + "pageSize": "MaxResults" + } + } + }, + "com.amazonaws.ec2#DescribeIpamResourceDiscoveryAssociationsRequest": { + "type": "structure", + "members": { + "DryRun": { + "target": "com.amazonaws.ec2#Boolean", + "traits": { + "smithy.api#clientOptional": {}, + "smithy.api#default": false, + "smithy.api#documentation": "

        A check for whether you have the required permissions for the action without actually making the request \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " + } + }, + "IpamResourceDiscoveryAssociationIds": { + "target": "com.amazonaws.ec2#ValueStringList", + "traits": { + "smithy.api#documentation": "

        The resource discovery association IDs.

        ", + "smithy.api#xmlName": "IpamResourceDiscoveryAssociationId" + } + }, + "NextToken": { + "target": "com.amazonaws.ec2#NextToken", + "traits": { + "smithy.api#documentation": "

        Specify the pagination token from a previous request to retrieve the next page of results.

        " + } + }, + "MaxResults": { + "target": "com.amazonaws.ec2#IpamMaxResults", + "traits": { + "smithy.api#clientOptional": {}, + "smithy.api#default": 0, + "smithy.api#documentation": "

        The maximum number of resource discovery associations to return in one page of results.

        " + } + }, + "Filters": { + "target": "com.amazonaws.ec2#FilterList", + "traits": { + "smithy.api#documentation": "

        The resource discovery association filters.

        ", + "smithy.api#xmlName": "Filter" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.ec2#DescribeIpamResourceDiscoveryAssociationsResult": { + "type": "structure", + "members": { + "IpamResourceDiscoveryAssociations": { + "target": "com.amazonaws.ec2#IpamResourceDiscoveryAssociationSet", + "traits": { + "aws.protocols#ec2QueryName": "IpamResourceDiscoveryAssociationSet", + "smithy.api#documentation": "

        The resource discovery associations.

        ", + "smithy.api#xmlName": "ipamResourceDiscoveryAssociationSet" + } + }, + "NextToken": { + "target": "com.amazonaws.ec2#NextToken", + "traits": { + "aws.protocols#ec2QueryName": "NextToken", + "smithy.api#documentation": "

        Specify the pagination token from a previous request to retrieve the next page of results.

        ", + "smithy.api#xmlName": "nextToken" + } + } + } + }, "com.amazonaws.ec2#DescribeIpamScopes": { "type": "operation", "input": { @@ -29784,6 +29745,9 @@ "smithy.api#xmlName": "IpamScopeId" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeIpamScopesResult": { @@ -29864,6 +29828,9 @@ "smithy.api#xmlName": "IpamId" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeIpamsResult": { @@ -29944,6 +29911,9 @@ "smithy.api#xmlName": "Filter" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeIpv6PoolsResult": { @@ -30045,6 +30015,9 @@ "smithy.api#documentation": "

        If true, the public key material is included in the response.

        \n

        Default: false\n

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeKeyPairsResult": { @@ -30149,6 +30122,9 @@ "smithy.api#documentation": "

        If true, and if a Systems Manager parameter is specified for ImageId,\n the AMI ID is displayed in the response for imageId.

        \n

        If false, and if a Systems Manager parameter is specified for ImageId,\n the parameter is displayed in the response for imageId.

        \n

        For more information, see Use a Systems \n Manager parameter instead of an AMI ID in the Amazon Elastic Compute Cloud User Guide.

        \n

        Default: false\n

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeLaunchTemplateVersionsResult": { @@ -30246,6 +30222,9 @@ "smithy.api#documentation": "

        The maximum number of results to return in a single call. To retrieve the remaining\n results, make another call with the returned NextToken value. This value\n can be between 1 and 200.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeLaunchTemplatesResult": { @@ -30326,6 +30305,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsResult": { @@ -30406,6 +30388,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeLocalGatewayRouteTableVpcAssociationsResult": { @@ -30486,6 +30471,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeLocalGatewayRouteTablesResult": { @@ -30566,6 +30554,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeLocalGatewayVirtualInterfaceGroupsResult": { @@ -30646,6 +30637,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeLocalGatewayVirtualInterfacesResult": { @@ -30726,6 +30720,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeLocalGatewaysResult": { @@ -30806,6 +30803,9 @@ "smithy.api#xmlName": "PrefixListId" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeManagedPrefixListsResult": { @@ -30904,6 +30904,9 @@ "smithy.api#xmlName": "publicIp" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeMovingAddressesResult": { @@ -31068,6 +31071,9 @@ "smithy.api#documentation": "

        The token for the next page of results.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeNatGatewaysResult": { @@ -31160,6 +31166,9 @@ "smithy.api#documentation": "

        The maximum number of results to return with a single call.\n\tTo retrieve the remaining results, make another call with the returned nextToken value.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeNetworkAclsResult": { @@ -31258,6 +31267,9 @@ "smithy.api#documentation": "

        The token for the next page of results.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeNetworkInsightsAccessScopeAnalysesResult": { @@ -31338,6 +31350,9 @@ "smithy.api#documentation": "

        The token for the next page of results.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeNetworkInsightsAccessScopesResult": { @@ -31436,6 +31451,9 @@ "smithy.api#documentation": "

        The token for the next page of results.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeNetworkInsightsAnalysesResult": { @@ -31516,6 +31534,9 @@ "smithy.api#documentation": "

        The token for the next page of results.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeNetworkInsightsPathsResult": { @@ -31584,7 +31605,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for DescribeNetworkInterfaceAttribute.

        " + "smithy.api#documentation": "

        Contains the parameters for DescribeNetworkInterfaceAttribute.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeNetworkInterfaceAttributeResult": { @@ -31696,7 +31718,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for DescribeNetworkInterfacePermissions.

        " + "smithy.api#documentation": "

        Contains the parameters for DescribeNetworkInterfacePermissions.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeNetworkInterfacePermissionsResult": { @@ -31819,7 +31842,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for DescribeNetworkInterfaces.

        " + "smithy.api#documentation": "

        Contains the parameters for DescribeNetworkInterfaces.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeNetworkInterfacesResult": { @@ -31893,6 +31917,9 @@ "smithy.api#xmlName": "GroupId" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribePlacementGroupsResult": { @@ -31965,6 +31992,9 @@ "smithy.api#xmlName": "PrefixListId" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribePrefixListsResult": { @@ -32048,6 +32078,9 @@ "smithy.api#documentation": "

        The token to request the next page of results.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribePrincipalIdFormatResult": { @@ -32120,6 +32153,9 @@ "smithy.api#xmlName": "Filter" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribePublicIpv4PoolsResult": { @@ -32190,6 +32226,9 @@ "smithy.api#documentation": "

        Indicates whether to display all Regions, including Regions that are disabled for your account.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeRegionsResult": { @@ -32272,6 +32311,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeReplaceRootVolumeTasksResult": { @@ -32347,7 +32389,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for DescribeReservedInstancesListings.

        " + "smithy.api#documentation": "

        Contains the parameters for DescribeReservedInstancesListings.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeReservedInstancesListingsResult": { @@ -32410,7 +32453,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for DescribeReservedInstancesModifications.

        " + "smithy.api#documentation": "

        Contains the parameters for DescribeReservedInstancesModifications.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeReservedInstancesModificationsResult": { @@ -32574,7 +32618,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for DescribeReservedInstancesOfferings.

        " + "smithy.api#documentation": "

        Contains the parameters for DescribeReservedInstancesOfferings.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeReservedInstancesOfferingsResult": { @@ -32644,7 +32689,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for DescribeReservedInstances.

        " + "smithy.api#documentation": "

        Contains the parameters for DescribeReservedInstances.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeReservedInstancesResult": { @@ -32732,6 +32778,9 @@ "smithy.api#documentation": "

        The maximum number of results to return with a single call.\n\tTo retrieve the remaining results, make another call with the returned nextToken value.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeRouteTablesResult": { @@ -32852,7 +32901,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for DescribeScheduledInstanceAvailability.

        " + "smithy.api#documentation": "

        Contains the parameters for DescribeScheduledInstanceAvailability.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeScheduledInstanceAvailabilityResult": { @@ -32944,7 +32994,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for DescribeScheduledInstances.

        " + "smithy.api#documentation": "

        Contains the parameters for DescribeScheduledInstances.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeScheduledInstancesResult": { @@ -33002,6 +33053,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeSecurityGroupReferencesResult": { @@ -33084,6 +33138,9 @@ "smithy.api#documentation": "

        The maximum number of results to return in a single call. To retrieve the remaining\n results, make another request with the returned NextToken value. This value\n can be between 5 and 1000. If this parameter is not specified, then all results are\n returned.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeSecurityGroupRulesResult": { @@ -33207,6 +33264,9 @@ "smithy.api#documentation": "

        The maximum number of results to return in a single call. To retrieve the remaining\n results, make another request with the returned NextToken value. This value\n can be between 5 and 1000. If this parameter is not specified, then all results are\n returned.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeSecurityGroupsResult": { @@ -33271,6 +33331,9 @@ "smithy.api#xmlName": "dryRun" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeSnapshotAttributeResult": { @@ -33353,6 +33416,9 @@ "smithy.api#documentation": "

        The maximum number of results to return with a single call.\n\tTo retrieve the remaining results, make another call with the returned nextToken value.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeSnapshotTierStatusResult": { @@ -33476,6 +33542,9 @@ "smithy.api#xmlName": "dryRun" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeSnapshotsResult": { @@ -33526,7 +33595,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for DescribeSpotDatafeedSubscription.

        " + "smithy.api#documentation": "

        Contains the parameters for DescribeSpotDatafeedSubscription.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeSpotDatafeedSubscriptionResult": { @@ -33610,7 +33680,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for DescribeSpotFleetInstances.

        " + "smithy.api#documentation": "

        Contains the parameters for DescribeSpotFleetInstances.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeSpotFleetInstancesResponse": { @@ -33642,7 +33713,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the output of DescribeSpotFleetInstances.

        " + "smithy.api#documentation": "

        Contains the output of DescribeSpotFleetInstances.

        ", + "smithy.api#output": {} } }, "com.amazonaws.ec2#DescribeSpotFleetRequestHistory": { @@ -33728,7 +33800,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for DescribeSpotFleetRequestHistory.

        " + "smithy.api#documentation": "

        Contains the parameters for DescribeSpotFleetRequestHistory.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeSpotFleetRequestHistoryResponse": { @@ -33776,7 +33849,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the output of DescribeSpotFleetRequestHistory.

        " + "smithy.api#documentation": "

        Contains the output of DescribeSpotFleetRequestHistory.

        ", + "smithy.api#output": {} } }, "com.amazonaws.ec2#DescribeSpotFleetRequests": { @@ -33838,7 +33912,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for DescribeSpotFleetRequests.

        " + "smithy.api#documentation": "

        Contains the parameters for DescribeSpotFleetRequests.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeSpotFleetRequestsResponse": { @@ -33862,7 +33937,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the output of DescribeSpotFleetRequests.

        " + "smithy.api#documentation": "

        Contains the output of DescribeSpotFleetRequests.

        ", + "smithy.api#output": {} } }, "com.amazonaws.ec2#DescribeSpotInstanceRequests": { @@ -34000,7 +34076,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for DescribeSpotInstanceRequests.

        " + "smithy.api#documentation": "

        Contains the parameters for DescribeSpotInstanceRequests.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeSpotInstanceRequestsResult": { @@ -34123,7 +34200,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for DescribeSpotPriceHistory.

        " + "smithy.api#documentation": "

        Contains the parameters for DescribeSpotPriceHistory.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeSpotPriceHistoryResult": { @@ -34220,6 +34298,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeStaleSecurityGroupsResult": { @@ -34300,6 +34381,9 @@ "smithy.api#documentation": "

        The maximum number of results to return in a single call. To retrieve the remaining\n results, make another call with the returned NextToken value. This value can be\n between 1 and 200. You cannot specify this parameter and the ImageIDs parameter\n in the same call.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeStoreImageTasksRequestMaxResults": { @@ -34419,6 +34503,9 @@ "smithy.api#documentation": "

        The maximum number of results to return with a single call.\n\tTo retrieve the remaining results, make another call with the returned nextToken value.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeSubnetsResult": { @@ -34498,6 +34585,9 @@ "smithy.api#xmlName": "nextToken" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeTagsResult": { @@ -34578,6 +34668,9 @@ "smithy.api#documentation": "

        The token for the next page of results.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeTrafficMirrorFiltersResult": { @@ -34658,6 +34751,9 @@ "smithy.api#documentation": "

        The token for the next page of results.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeTrafficMirrorSessionsResult": { @@ -34738,6 +34834,9 @@ "smithy.api#documentation": "

        The token for the next page of results.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeTrafficMirrorTargetsResult": { @@ -34817,6 +34916,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeTransitGatewayAttachmentsResult": { @@ -34896,6 +34998,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeTransitGatewayConnectPeersResult": { @@ -34975,6 +35080,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeTransitGatewayConnectsResult": { @@ -35054,6 +35162,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeTransitGatewayMulticastDomainsResult": { @@ -35133,6 +35244,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeTransitGatewayPeeringAttachmentsResult": { @@ -35212,6 +35326,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeTransitGatewayPolicyTablesResult": { @@ -35291,6 +35408,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeTransitGatewayRouteTableAnnouncementsResult": { @@ -35370,6 +35490,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeTransitGatewayRouteTablesResult": { @@ -35449,6 +35572,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeTransitGatewayVpcAttachmentsResult": { @@ -35528,6 +35654,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeTransitGatewaysResult": { @@ -35618,6 +35747,9 @@ "smithy.api#documentation": "

        The maximum number of results to return with a single call.\n To retrieve the remaining results, make another call with the returned nextToken value.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeTrunkInterfaceAssociationsResult": { @@ -35720,6 +35852,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeVerifiedAccessEndpointsResult": { @@ -35816,6 +35951,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeVerifiedAccessGroupsResult": { @@ -35906,6 +36044,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeVerifiedAccessInstanceLoggingConfigurationsResult": { @@ -35996,6 +36137,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeVerifiedAccessInstancesResult": { @@ -36086,6 +36230,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeVerifiedAccessTrustProvidersResult": { @@ -36150,6 +36297,9 @@ "smithy.api#xmlName": "dryRun" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeVolumeAttributeResult": { @@ -36240,6 +36390,9 @@ "smithy.api#xmlName": "dryRun" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeVolumeStatusResult": { @@ -36412,6 +36565,9 @@ "smithy.api#documentation": "

        The maximum number of results (up to a limit of 500) to be returned in a paginated\n request.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeVolumesModificationsResult": { @@ -36480,6 +36636,9 @@ "smithy.api#xmlName": "nextToken" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeVolumesResult": { @@ -36544,6 +36703,9 @@ "smithy.api#xmlName": "dryRun" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeVpcAttributeResult": { @@ -36660,6 +36822,9 @@ "smithy.api#xmlName": "VpcIds" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeVpcClassicLinkDnsSupportResult": { @@ -36710,6 +36875,9 @@ "smithy.api#xmlName": "VpcId" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeVpcClassicLinkResult": { @@ -36781,6 +36949,9 @@ "smithy.api#documentation": "

        The token to request the next page of results.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeVpcEndpointConnectionNotificationsResult": { @@ -36854,6 +37025,9 @@ "smithy.api#documentation": "

        The token to retrieve the next page of results.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeVpcEndpointConnectionsResult": { @@ -36934,6 +37108,9 @@ "smithy.api#documentation": "

        The token to retrieve the next page of results.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeVpcEndpointServiceConfigurationsResult": { @@ -37015,6 +37192,9 @@ "smithy.api#documentation": "

        The token to retrieve the next page of results.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeVpcEndpointServicePermissionsResult": { @@ -37089,6 +37269,9 @@ "smithy.api#documentation": "

        The token for the next set of items to return. (You received this token from a prior call.)

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeVpcEndpointServicesResult": { @@ -37177,6 +37360,9 @@ "smithy.api#documentation": "

        The token for the next set of items to return. (You received this token from a prior call.)

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeVpcEndpointsResult": { @@ -37310,6 +37496,9 @@ "smithy.api#documentation": "

        The maximum number of results to return with a single call.\n\tTo retrieve the remaining results, make another call with the returned nextToken value.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeVpcPeeringConnectionsResult": { @@ -37437,6 +37626,9 @@ "smithy.api#documentation": "

        The maximum number of results to return with a single call.\n\tTo retrieve the remaining results, make another call with the returned nextToken value.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeVpcsResult": { @@ -37563,7 +37755,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for DescribeVpnConnections.

        " + "smithy.api#documentation": "

        Contains the parameters for DescribeVpnConnections.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeVpnConnectionsResult": { @@ -37623,7 +37816,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for DescribeVpnGateways.

        " + "smithy.api#documentation": "

        Contains the parameters for DescribeVpnGateways.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#DescribeVpnGatewaysResult": { @@ -37770,6 +37964,9 @@ "smithy.api#xmlName": "vpcId" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DetachClassicLinkVpcResult": { @@ -37832,6 +38029,9 @@ "smithy.api#xmlName": "vpcId" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DetachNetworkInterface": { @@ -37881,7 +38081,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for DetachNetworkInterface.

        " + "smithy.api#documentation": "

        Contains the parameters for DetachNetworkInterface.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#DetachVerifiedAccessTrustProvider": { @@ -37930,6 +38131,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DetachVerifiedAccessTrustProviderResult": { @@ -38006,6 +38210,9 @@ "smithy.api#xmlName": "dryRun" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DetachVpnGateway": { @@ -38051,7 +38258,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for DetachVpnGateway.

        " + "smithy.api#documentation": "

        Contains the parameters for DetachVpnGateway.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#DeviceOptions": { @@ -38268,6 +38476,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DisableAddressTransferResult": { @@ -38330,6 +38541,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DisableAwsNetworkPerformanceMetricSubscriptionResult": { @@ -38370,6 +38584,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DisableEbsEncryptionByDefaultResult": { @@ -38426,6 +38643,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n\t\t\tand provides an error response. If you have the required permissions, the error response is \n\t\t\tDryRunOperation. Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DisableFastLaunchResult": { @@ -38743,6 +38963,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DisableFastSnapshotRestoresResult": { @@ -38797,6 +39020,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n\t\t\tand provides an error response. If you have the required permissions, the error response is \n\t\t\tDryRunOperation. Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DisableImageDeprecationResult": { @@ -38845,6 +39071,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DisableIpamOrganizationAdminAccountResult": { @@ -38885,6 +39114,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DisableSerialConsoleAccessResult": { @@ -38945,6 +39177,9 @@ "smithy.api#documentation": "

        The ID of the route table announcement.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DisableTransitGatewayRouteTablePropagationResult": { @@ -39001,7 +39236,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for DisableVgwRoutePropagation.

        " + "smithy.api#documentation": "

        Contains the parameters for DisableVgwRoutePropagation.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#DisableVpcClassicLink": { @@ -39038,6 +39274,9 @@ "smithy.api#xmlName": "VpcId" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DisableVpcClassicLinkDnsSupportResult": { @@ -39078,6 +39317,9 @@ "smithy.api#xmlName": "vpcId" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DisableVpcClassicLinkResult": { @@ -39132,6 +39374,9 @@ "smithy.api#xmlName": "dryRun" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DisassociateClientVpnTargetNetwork": { @@ -39173,6 +39418,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DisassociateClientVpnTargetNetworkResult": { @@ -39231,6 +39479,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DisassociateEnclaveCertificateIamRoleResult": { @@ -39271,6 +39522,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DisassociateIamInstanceProfileResult": { @@ -39325,6 +39579,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DisassociateInstanceEventWindowResult": { @@ -39340,6 +39597,55 @@ } } }, + "com.amazonaws.ec2#DisassociateIpamResourceDiscovery": { + "type": "operation", + "input": { + "target": "com.amazonaws.ec2#DisassociateIpamResourceDiscoveryRequest" + }, + "output": { + "target": "com.amazonaws.ec2#DisassociateIpamResourceDiscoveryResult" + }, + "traits": { + "smithy.api#documentation": "

        Disassociates a resource discovery from an Amazon VPC IPAM. A resource discovery is an IPAM component that enables IPAM Service to manage and monitor resources that belong to the owning account.

        " + } + }, + "com.amazonaws.ec2#DisassociateIpamResourceDiscoveryRequest": { + "type": "structure", + "members": { + "DryRun": { + "target": "com.amazonaws.ec2#Boolean", + "traits": { + "smithy.api#clientOptional": {}, + "smithy.api#default": false, + "smithy.api#documentation": "

        A check for whether you have the required permissions for the action without actually making the request \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " + } + }, + "IpamResourceDiscoveryAssociationId": { + "target": "com.amazonaws.ec2#IpamResourceDiscoveryAssociationId", + "traits": { + "smithy.api#clientOptional": {}, + "smithy.api#documentation": "

        A resource discovery association ID.

        ", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.ec2#DisassociateIpamResourceDiscoveryResult": { + "type": "structure", + "members": { + "IpamResourceDiscoveryAssociation": { + "target": "com.amazonaws.ec2#IpamResourceDiscoveryAssociation", + "traits": { + "aws.protocols#ec2QueryName": "IpamResourceDiscoveryAssociation", + "smithy.api#documentation": "

        A resource discovery association.

        ", + "smithy.api#xmlName": "ipamResourceDiscoveryAssociation" + } + } + } + }, "com.amazonaws.ec2#DisassociateRouteTable": { "type": "operation", "input": { @@ -39375,6 +39681,9 @@ "smithy.api#xmlName": "dryRun" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DisassociateSubnetCidrBlock": { @@ -39402,6 +39711,9 @@ "smithy.api#xmlName": "associationId" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DisassociateSubnetCidrBlockResult": { @@ -39466,6 +39778,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DisassociateTransitGatewayMulticastDomainResult": { @@ -39520,6 +39835,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DisassociateTransitGatewayPolicyTableResult": { @@ -39574,6 +39892,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DisassociateTransitGatewayRouteTableResult": { @@ -39627,6 +39948,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DisassociateTrunkInterfaceResult": { @@ -39677,6 +40001,9 @@ "smithy.api#xmlName": "associationId" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#DisassociateVpcCidrBlockResult": { @@ -40960,6 +41287,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#EnableAddressTransferResult": { @@ -41022,6 +41352,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#EnableAwsNetworkPerformanceMetricSubscriptionResult": { @@ -41062,6 +41395,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#EnableEbsEncryptionByDefaultResult": { @@ -41136,6 +41472,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n\t\t\tand provides an error response. If you have the required permissions, the error response is \n\t\t\tDryRunOperation. Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#EnableFastLaunchResult": { @@ -41453,6 +41792,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#EnableFastSnapshotRestoresResult": { @@ -41515,6 +41857,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n\t\t\tand provides an error response. If you have the required permissions, the error response is \n\t\t\tDryRunOperation. Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#EnableImageDeprecationResult": { @@ -41563,6 +41908,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#EnableIpamOrganizationAdminAccountResult": { @@ -41603,6 +41951,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#EnableReachabilityAnalyzerOrganizationSharingResult": { @@ -41643,6 +41994,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#EnableSerialConsoleAccessResult": { @@ -41703,6 +42057,9 @@ "smithy.api#documentation": "

        The ID of the transit gateway route table announcement.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#EnableTransitGatewayRouteTablePropagationResult": { @@ -41759,7 +42116,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for EnableVgwRoutePropagation.

        " + "smithy.api#documentation": "

        Contains the parameters for EnableVgwRoutePropagation.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#EnableVolumeIO": { @@ -41797,6 +42155,9 @@ "smithy.api#xmlName": "volumeId" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#EnableVpcClassicLink": { @@ -41833,6 +42194,9 @@ "smithy.api#xmlName": "VpcId" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#EnableVpcClassicLinkDnsSupportResult": { @@ -41873,6 +42237,9 @@ "smithy.api#xmlName": "vpcId" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#EnableVpcClassicLinkResult": { @@ -42594,6 +42961,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ExportClientVpnClientCertificateRevocationListResult": { @@ -42648,6 +43018,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ExportClientVpnClientConfigurationResult": { @@ -42759,6 +43132,9 @@ "smithy.api#xmlName": "TagSpecification" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ExportImageResult": { @@ -43225,6 +43601,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ExportTransitGatewayRoutesResult": { @@ -45169,6 +45548,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#GetAssociatedEnclaveCertificateIamRolesResult": { @@ -45235,6 +45617,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#GetAssociatedIpv6PoolCidrsResult": { @@ -45320,6 +45705,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#GetAwsNetworkPerformanceDataResult": { @@ -45388,6 +45776,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#GetCapacityReservationUsageRequestMaxResults": { @@ -45517,6 +45908,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#GetCoipPoolUsageResult": { @@ -45589,6 +45983,9 @@ "smithy.api#documentation": "

        When enabled, retrieves the latest console output for the instance.

        \n

        Default: disabled (false)

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#GetConsoleOutputResult": { @@ -45659,6 +46056,9 @@ "smithy.api#documentation": "

        When set to true, acts as keystroke input and wakes up an instance that's\n in standby or \"sleep\" mode.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#GetConsoleScreenshotResult": { @@ -45713,6 +46113,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#GetDefaultCreditSpecificationResult": { @@ -45751,6 +46154,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#GetEbsDefaultKmsKeyIdResult": { @@ -45789,6 +46195,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#GetEbsEncryptionByDefaultResult": { @@ -45854,6 +46263,9 @@ "smithy.api#xmlName": "IntegrateService" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#GetFlowLogsIntegrationTemplateResult": { @@ -45920,6 +46332,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#GetGroupsForCapacityReservationRequestMaxResults": { @@ -45984,6 +46399,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#GetHostReservationPurchasePreviewResult": { @@ -46092,6 +46510,9 @@ "smithy.api#documentation": "

        The token for the next set of results.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#GetInstanceTypesFromInstanceRequirementsResult": { @@ -46147,6 +46568,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#GetInstanceUefiDataResult": { @@ -46247,6 +46671,9 @@ "smithy.api#documentation": "

        The token for the next page of results.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#GetIpamAddressHistoryResult": { @@ -46270,6 +46697,190 @@ } } }, + "com.amazonaws.ec2#GetIpamDiscoveredAccounts": { + "type": "operation", + "input": { + "target": "com.amazonaws.ec2#GetIpamDiscoveredAccountsRequest" + }, + "output": { + "target": "com.amazonaws.ec2#GetIpamDiscoveredAccountsResult" + }, + "traits": { + "smithy.api#documentation": "

        Gets IPAM discovered accounts. A discovered account is an Amazon Web Services account that is monitored under a resource discovery. If you have integrated IPAM with Amazon Web Services Organizations, all accounts in the organization are discovered accounts. Only the IPAM account can get all discovered accounts in the organization.

        ", + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "items": "IpamDiscoveredAccounts", + "pageSize": "MaxResults" + } + } + }, + "com.amazonaws.ec2#GetIpamDiscoveredAccountsRequest": { + "type": "structure", + "members": { + "DryRun": { + "target": "com.amazonaws.ec2#Boolean", + "traits": { + "smithy.api#clientOptional": {}, + "smithy.api#default": false, + "smithy.api#documentation": "

        A check for whether you have the required permissions for the action without actually making the request \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " + } + }, + "IpamResourceDiscoveryId": { + "target": "com.amazonaws.ec2#IpamResourceDiscoveryId", + "traits": { + "smithy.api#clientOptional": {}, + "smithy.api#documentation": "

        A resource discovery ID.

        ", + "smithy.api#required": {} + } + }, + "DiscoveryRegion": { + "target": "com.amazonaws.ec2#String", + "traits": { + "smithy.api#clientOptional": {}, + "smithy.api#documentation": "

        The Amazon Web Services Region that the account information is returned from.

        ", + "smithy.api#required": {} + } + }, + "Filters": { + "target": "com.amazonaws.ec2#FilterList", + "traits": { + "smithy.api#documentation": "

        Discovered account filters.

        ", + "smithy.api#xmlName": "Filter" + } + }, + "NextToken": { + "target": "com.amazonaws.ec2#NextToken", + "traits": { + "smithy.api#documentation": "

        Specify the pagination token from a previous request to retrieve the next page of results.

        " + } + }, + "MaxResults": { + "target": "com.amazonaws.ec2#IpamMaxResults", + "traits": { + "smithy.api#clientOptional": {}, + "smithy.api#default": 0, + "smithy.api#documentation": "

        The maximum number of discovered accounts to return in one page of results.

        " + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.ec2#GetIpamDiscoveredAccountsResult": { + "type": "structure", + "members": { + "IpamDiscoveredAccounts": { + "target": "com.amazonaws.ec2#IpamDiscoveredAccountSet", + "traits": { + "aws.protocols#ec2QueryName": "IpamDiscoveredAccountSet", + "smithy.api#documentation": "

        Discovered accounts.

        ", + "smithy.api#xmlName": "ipamDiscoveredAccountSet" + } + }, + "NextToken": { + "target": "com.amazonaws.ec2#NextToken", + "traits": { + "aws.protocols#ec2QueryName": "NextToken", + "smithy.api#documentation": "

        Specify the pagination token from a previous request to retrieve the next page of results.

        ", + "smithy.api#xmlName": "nextToken" + } + } + } + }, + "com.amazonaws.ec2#GetIpamDiscoveredResourceCidrs": { + "type": "operation", + "input": { + "target": "com.amazonaws.ec2#GetIpamDiscoveredResourceCidrsRequest" + }, + "output": { + "target": "com.amazonaws.ec2#GetIpamDiscoveredResourceCidrsResult" + }, + "traits": { + "smithy.api#documentation": "

        Returns the resource CIDRs that are monitored as part of a resource discovery. A discovered resource is a resource CIDR monitored under a resource discovery. The following resources can be discovered: VPCs, Public IPv4 pools, VPC subnets, and Elastic IP addresses.

        ", + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "items": "IpamDiscoveredResourceCidrs", + "pageSize": "MaxResults" + } + } + }, + "com.amazonaws.ec2#GetIpamDiscoveredResourceCidrsRequest": { + "type": "structure", + "members": { + "DryRun": { + "target": "com.amazonaws.ec2#Boolean", + "traits": { + "smithy.api#clientOptional": {}, + "smithy.api#default": false, + "smithy.api#documentation": "

        A check for whether you have the required permissions for the action without actually making the request \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " + } + }, + "IpamResourceDiscoveryId": { + "target": "com.amazonaws.ec2#IpamResourceDiscoveryId", + "traits": { + "smithy.api#clientOptional": {}, + "smithy.api#documentation": "

        A resource discovery ID.

        ", + "smithy.api#required": {} + } + }, + "ResourceRegion": { + "target": "com.amazonaws.ec2#String", + "traits": { + "smithy.api#clientOptional": {}, + "smithy.api#documentation": "

        A resource Region.

        ", + "smithy.api#required": {} + } + }, + "Filters": { + "target": "com.amazonaws.ec2#FilterList", + "traits": { + "smithy.api#documentation": "

        Filters.

        ", + "smithy.api#xmlName": "Filter" + } + }, + "NextToken": { + "target": "com.amazonaws.ec2#NextToken", + "traits": { + "smithy.api#documentation": "

        Specify the pagination token from a previous request to retrieve the next page of results.

        " + } + }, + "MaxResults": { + "target": "com.amazonaws.ec2#IpamMaxResults", + "traits": { + "smithy.api#clientOptional": {}, + "smithy.api#default": 0, + "smithy.api#documentation": "

        The maximum number of discovered resource CIDRs to return in one page of results.

        " + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.ec2#GetIpamDiscoveredResourceCidrsResult": { + "type": "structure", + "members": { + "IpamDiscoveredResourceCidrs": { + "target": "com.amazonaws.ec2#IpamDiscoveredResourceCidrSet", + "traits": { + "aws.protocols#ec2QueryName": "IpamDiscoveredResourceCidrSet", + "smithy.api#documentation": "

        Discovered resource CIDRs.

        ", + "smithy.api#xmlName": "ipamDiscoveredResourceCidrSet" + } + }, + "NextToken": { + "target": "com.amazonaws.ec2#NextToken", + "traits": { + "aws.protocols#ec2QueryName": "NextToken", + "smithy.api#documentation": "

        Specify the pagination token from a previous request to retrieve the next page of results.

        ", + "smithy.api#xmlName": "nextToken" + } + } + } + }, "com.amazonaws.ec2#GetIpamPoolAllocations": { "type": "operation", "input": { @@ -46344,6 +46955,9 @@ "smithy.api#documentation": "

        The token for the next page of results.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#GetIpamPoolAllocationsResult": { @@ -46425,6 +47039,9 @@ "smithy.api#documentation": "

        The token for the next page of results.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#GetIpamPoolCidrsResult": { @@ -46457,7 +47074,7 @@ "target": "com.amazonaws.ec2#GetIpamResourceCidrsResult" }, "traits": { - "smithy.api#documentation": "

        Get information about the resources in a scope.

        ", + "smithy.api#documentation": "

        Returns resource CIDRs managed by IPAM in a given scope. If an IPAM is associated with more than one resource discovery, the resource CIDRs across all of the resource discoveries is returned. A resource discovery is an IPAM component that enables IPAM Service to manage and monitor resources that belong to the owning account.

        ", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -46536,6 +47153,9 @@ "smithy.api#documentation": "

        The ID of the Amazon Web Services account that owns the resource.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#GetIpamResourceCidrsResult": { @@ -46590,6 +47210,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#GetLaunchTemplateDataResult": { @@ -46666,6 +47289,9 @@ "smithy.api#documentation": "

        The token for the next page of results.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#GetManagedPrefixListAssociationsResult": { @@ -46748,6 +47374,9 @@ "smithy.api#documentation": "

        The token for the next page of results.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#GetManagedPrefixListEntriesResult": { @@ -46816,6 +47445,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#GetNetworkInsightsAccessScopeAnalysisFindingsResult": { @@ -46886,6 +47518,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#GetNetworkInsightsAccessScopeContentResult": { @@ -46951,6 +47586,9 @@ "smithy.api#xmlName": "dryRun" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#GetPasswordDataResult": { @@ -47023,7 +47661,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for GetReservedInstanceExchangeQuote.

        " + "smithy.api#documentation": "

        Contains the parameters for GetReservedInstanceExchangeQuote.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#GetReservedInstancesExchangeQuoteResult": { @@ -47131,6 +47770,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#GetSerialConsoleAccessStatusResult": { @@ -47234,6 +47876,9 @@ "smithy.api#documentation": "

        The token for the next set of results.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#GetSpotPlacementScoresResult": { @@ -47319,6 +47964,9 @@ "smithy.api#documentation": "

        The maximum number of results to return with a single call.\n\tTo retrieve the remaining results, make another call with the returned nextToken value.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#GetSubnetCidrReservationsResult": { @@ -47408,6 +48056,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#GetTransitGatewayAttachmentPropagationsResult": { @@ -47487,6 +48138,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#GetTransitGatewayMulticastDomainAssociationsResult": { @@ -47568,6 +48222,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#GetTransitGatewayPolicyTableAssociationsResult": { @@ -47643,6 +48300,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#GetTransitGatewayPolicyTableEntriesResult": { @@ -47716,6 +48376,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#GetTransitGatewayPrefixListReferencesResult": { @@ -47797,6 +48460,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#GetTransitGatewayRouteTableAssociationsResult": { @@ -47878,6 +48544,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#GetTransitGatewayRouteTablePropagationsResult": { @@ -47932,6 +48601,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#GetVerifiedAccessEndpointPolicyResult": { @@ -47988,6 +48660,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#GetVerifiedAccessGroupPolicyResult": { @@ -48058,6 +48733,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually\n making the request, and provides an error response. If you have the required\n permissions, the error response is DryRunOperation. Otherwise, it is\n UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#GetVpnConnectionDeviceSampleConfigurationResult": { @@ -48114,6 +48792,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually\n making the request, and provides an error response. If you have the required\n permissions, the error response is DryRunOperation. Otherwise, it is\n UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#GetVpnConnectionDeviceTypesResult": { @@ -49973,6 +50654,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ImportClientVpnClientCertificateRevocationListResult": { @@ -50155,6 +50839,9 @@ "smithy.api#documentation": "

        The boot mode of the virtual machine.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ImportImageResult": { @@ -50605,6 +51292,9 @@ "smithy.api#xmlName": "platform" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ImportInstanceResult": { @@ -50787,6 +51477,9 @@ "smithy.api#xmlName": "TagSpecification" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ImportKeyPairResult": { @@ -50900,6 +51593,9 @@ "smithy.api#xmlName": "TagSpecification" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ImportSnapshotResult": { @@ -51075,6 +51771,9 @@ "smithy.api#xmlName": "volume" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ImportVolumeResult": { @@ -58791,7 +59490,7 @@ "target": "com.amazonaws.ec2#ResourceArn", "traits": { "aws.protocols#ec2QueryName": "IpamArn", - "smithy.api#documentation": "

        The ARN of the IPAM.

        ", + "smithy.api#documentation": "

        The Amazon Resource Name (ARN) of the IPAM.

        ", "smithy.api#xmlName": "ipamArn" } }, @@ -58841,7 +59540,7 @@ "target": "com.amazonaws.ec2#IpamOperatingRegionSet", "traits": { "aws.protocols#ec2QueryName": "OperatingRegionSet", - "smithy.api#documentation": "

        The operating Regions for an IPAM. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only\n discovers and monitors resources in the Amazon Web Services Regions you select as operating Regions.

        \n

        For more information about operating Regions, see Create an IPAM in the Amazon VPC IPAM User Guide.

        ", + "smithy.api#documentation": "

        The operating Regions for an IPAM. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the Amazon Web Services Regions you select as operating Regions.

        \n

        For more information about operating Regions, see Create an IPAM in the Amazon VPC IPAM User Guide.

        ", "smithy.api#xmlName": "operatingRegionSet" } }, @@ -58860,6 +59559,32 @@ "smithy.api#documentation": "

        The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value.\n For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

        ", "smithy.api#xmlName": "tagSet" } + }, + "DefaultResourceDiscoveryId": { + "target": "com.amazonaws.ec2#IpamResourceDiscoveryId", + "traits": { + "aws.protocols#ec2QueryName": "DefaultResourceDiscoveryId", + "smithy.api#documentation": "

        The IPAM's default resource discovery ID.

        ", + "smithy.api#xmlName": "defaultResourceDiscoveryId" + } + }, + "DefaultResourceDiscoveryAssociationId": { + "target": "com.amazonaws.ec2#IpamResourceDiscoveryAssociationId", + "traits": { + "aws.protocols#ec2QueryName": "DefaultResourceDiscoveryAssociationId", + "smithy.api#documentation": "

        The IPAM's default resource discovery association ID.

        ", + "smithy.api#xmlName": "defaultResourceDiscoveryAssociationId" + } + }, + "ResourceDiscoveryAssociationCount": { + "target": "com.amazonaws.ec2#Integer", + "traits": { + "aws.protocols#ec2QueryName": "ResourceDiscoveryAssociationCount", + "smithy.api#clientOptional": {}, + "smithy.api#default": 0, + "smithy.api#documentation": "

        The IPAM's resource discovery association count.

        ", + "smithy.api#xmlName": "resourceDiscoveryAssociationCount" + } } }, "traits": { @@ -59016,6 +59741,23 @@ } } }, + "com.amazonaws.ec2#IpamAssociatedResourceDiscoveryStatus": { + "type": "enum", + "members": { + "ACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "active" + } + }, + "NOT_FOUND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "not-found" + } + } + } + }, "com.amazonaws.ec2#IpamCidrAuthorizationContext": { "type": "structure", "members": { @@ -59065,6 +59807,207 @@ } } }, + "com.amazonaws.ec2#IpamDiscoveredAccount": { + "type": "structure", + "members": { + "AccountId": { + "target": "com.amazonaws.ec2#String", + "traits": { + "aws.protocols#ec2QueryName": "AccountId", + "smithy.api#documentation": "

        The account ID.

        ", + "smithy.api#xmlName": "accountId" + } + }, + "DiscoveryRegion": { + "target": "com.amazonaws.ec2#String", + "traits": { + "aws.protocols#ec2QueryName": "DiscoveryRegion", + "smithy.api#documentation": "

        The Amazon Web Services Region that the account information is returned from. \n An account can be discovered in multiple regions and will have a separate discovered account for each Region.

        ", + "smithy.api#xmlName": "discoveryRegion" + } + }, + "FailureReason": { + "target": "com.amazonaws.ec2#IpamDiscoveryFailureReason", + "traits": { + "aws.protocols#ec2QueryName": "FailureReason", + "smithy.api#documentation": "

        The resource discovery failure reason.

        ", + "smithy.api#xmlName": "failureReason" + } + }, + "LastAttemptedDiscoveryTime": { + "target": "com.amazonaws.ec2#MillisecondDateTime", + "traits": { + "aws.protocols#ec2QueryName": "LastAttemptedDiscoveryTime", + "smithy.api#documentation": "

        The last attempted resource discovery time.

        ", + "smithy.api#xmlName": "lastAttemptedDiscoveryTime" + } + }, + "LastSuccessfulDiscoveryTime": { + "target": "com.amazonaws.ec2#MillisecondDateTime", + "traits": { + "aws.protocols#ec2QueryName": "LastSuccessfulDiscoveryTime", + "smithy.api#documentation": "

        The last successful resource discovery time.

        ", + "smithy.api#xmlName": "lastSuccessfulDiscoveryTime" + } + } + }, + "traits": { + "smithy.api#documentation": "

        An IPAM discovered account. A discovered account is an Amazon Web Services account that is monitored under a resource discovery. If you have integrated IPAM with Amazon Web Services Organizations, all accounts in the organization are discovered accounts.

        " + } + }, + "com.amazonaws.ec2#IpamDiscoveredAccountSet": { + "type": "list", + "member": { + "target": "com.amazonaws.ec2#IpamDiscoveredAccount", + "traits": { + "smithy.api#xmlName": "item" + } + } + }, + "com.amazonaws.ec2#IpamDiscoveredResourceCidr": { + "type": "structure", + "members": { + "IpamResourceDiscoveryId": { + "target": "com.amazonaws.ec2#IpamResourceDiscoveryId", + "traits": { + "aws.protocols#ec2QueryName": "IpamResourceDiscoveryId", + "smithy.api#documentation": "

        The resource discovery ID.

        ", + "smithy.api#xmlName": "ipamResourceDiscoveryId" + } + }, + "ResourceRegion": { + "target": "com.amazonaws.ec2#String", + "traits": { + "aws.protocols#ec2QueryName": "ResourceRegion", + "smithy.api#documentation": "

        The resource Region.

        ", + "smithy.api#xmlName": "resourceRegion" + } + }, + "ResourceId": { + "target": "com.amazonaws.ec2#String", + "traits": { + "aws.protocols#ec2QueryName": "ResourceId", + "smithy.api#documentation": "

        The resource ID.

        ", + "smithy.api#xmlName": "resourceId" + } + }, + "ResourceOwnerId": { + "target": "com.amazonaws.ec2#String", + "traits": { + "aws.protocols#ec2QueryName": "ResourceOwnerId", + "smithy.api#documentation": "

        The resource owner ID.

        ", + "smithy.api#xmlName": "resourceOwnerId" + } + }, + "ResourceCidr": { + "target": "com.amazonaws.ec2#String", + "traits": { + "aws.protocols#ec2QueryName": "ResourceCidr", + "smithy.api#documentation": "

        The resource CIDR.

        ", + "smithy.api#xmlName": "resourceCidr" + } + }, + "ResourceType": { + "target": "com.amazonaws.ec2#IpamResourceType", + "traits": { + "aws.protocols#ec2QueryName": "ResourceType", + "smithy.api#documentation": "

        The resource type.

        ", + "smithy.api#xmlName": "resourceType" + } + }, + "ResourceTags": { + "target": "com.amazonaws.ec2#IpamResourceTagList", + "traits": { + "aws.protocols#ec2QueryName": "ResourceTagSet", + "smithy.api#documentation": "

        The resource tags.

        ", + "smithy.api#xmlName": "resourceTagSet" + } + }, + "IpUsage": { + "target": "com.amazonaws.ec2#BoxedDouble", + "traits": { + "aws.protocols#ec2QueryName": "IpUsage", + "smithy.api#documentation": "

        The percentage of IP address space in use. To convert the decimal to a percentage, multiply the decimal by 100. Note the following:

        \n
          \n
        • \n

          For resources that are VPCs, this is the percentage of IP address space in the VPC that's taken up by subnet CIDRs.\n

          \n
        • \n
        • \n

          For resources that are subnets, if the subnet has an IPv4 CIDR provisioned to it, this is the percentage of IPv4 address space in the subnet that's in use. If the subnet has an IPv6 CIDR provisioned to it, the percentage of IPv6 address space in use is not represented. The percentage of IPv6 address space in use cannot currently be calculated.\n

          \n
        • \n
        • \n

          For resources that are public IPv4 pools, this is the percentage of IP address space in the pool that's been allocated to Elastic IP addresses (EIPs).\n

          \n
        • \n
        ", + "smithy.api#xmlName": "ipUsage" + } + }, + "VpcId": { + "target": "com.amazonaws.ec2#String", + "traits": { + "aws.protocols#ec2QueryName": "VpcId", + "smithy.api#documentation": "

        The VPC ID.

        ", + "smithy.api#xmlName": "vpcId" + } + }, + "SampleTime": { + "target": "com.amazonaws.ec2#MillisecondDateTime", + "traits": { + "aws.protocols#ec2QueryName": "SampleTime", + "smithy.api#documentation": "

        The last successful resource discovery time.

        ", + "smithy.api#xmlName": "sampleTime" + } + } + }, + "traits": { + "smithy.api#documentation": "

        An IPAM discovered resource CIDR. A discovered resource is a resource CIDR monitored under a resource discovery. The following resources can be discovered: VPCs, Public IPv4 pools, VPC subnets, and Elastic IP addresses. The discovered resource CIDR is the IP address range in CIDR notation that is associated with the resource.

        " + } + }, + "com.amazonaws.ec2#IpamDiscoveredResourceCidrSet": { + "type": "list", + "member": { + "target": "com.amazonaws.ec2#IpamDiscoveredResourceCidr", + "traits": { + "smithy.api#xmlName": "item" + } + } + }, + "com.amazonaws.ec2#IpamDiscoveryFailureCode": { + "type": "enum", + "members": { + "assume_role_failure": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "assume-role-failure" + } + }, + "throttling_failure": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "throttling-failure" + } + }, + "unauthorized_failure": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "unauthorized-failure" + } + } + } + }, + "com.amazonaws.ec2#IpamDiscoveryFailureReason": { + "type": "structure", + "members": { + "Code": { + "target": "com.amazonaws.ec2#IpamDiscoveryFailureCode", + "traits": { + "aws.protocols#ec2QueryName": "Code", + "smithy.api#documentation": "

        The discovery failure code.

        \n
          \n
        • \n

          \n assume-role-failure - IPAM could not assume the Amazon Web Services IAM service-linked role. This could be because of any of the following:

          \n
            \n
          • \n

            SLR has not been created yet and IPAM is still creating it.

            \n
          • \n
          • \n

            You have opted-out of the IPAM home Region.

            \n
          • \n
          • \n

            Account you are using as your IPAM account has been suspended.

            \n
          • \n
          \n
        • \n
        • \n

          \n throttling-failure - IPAM account is already using the allotted transactions per second and IPAM is receiving a throttling error when assuming the Amazon Web Services IAM SLR.

          \n
        • \n
        • \n

          \n unauthorized-failure - Amazon Web Services account making the request is not authorized. For more information, see AuthFailure in the Amazon Elastic Compute Cloud API Reference.

          \n
        • \n
        ", + "smithy.api#xmlName": "code" + } + }, + "Message": { + "target": "com.amazonaws.ec2#String", + "traits": { + "aws.protocols#ec2QueryName": "Message", + "smithy.api#documentation": "

        The discovery failure message.

        ", + "smithy.api#xmlName": "message" + } + } + }, + "traits": { + "smithy.api#documentation": "

        The discovery failure reason.

        " + } + }, "com.amazonaws.ec2#IpamId": { "type": "string" }, @@ -59124,7 +60067,7 @@ } }, "traits": { - "smithy.api#documentation": "

        The operating Regions for an IPAM. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only\n discovers and monitors resources in the Amazon Web Services Regions you select as operating Regions.

        \n

        For more information about operating Regions, see Create an IPAM in the Amazon VPC IPAM User Guide.

        " + "smithy.api#documentation": "

        The operating Regions for an IPAM. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the Amazon Web Services Regions you select as operating Regions.

        \n

        For more information about operating Regions, see Create an IPAM in the Amazon VPC IPAM User Guide.

        " } }, "com.amazonaws.ec2#IpamOperatingRegionSet": { @@ -59190,7 +60133,7 @@ "target": "com.amazonaws.ec2#ResourceArn", "traits": { "aws.protocols#ec2QueryName": "IpamPoolArn", - "smithy.api#documentation": "

        The ARN of the IPAM pool.

        ", + "smithy.api#documentation": "

        The Amazon Resource Name (ARN) of the IPAM pool.

        ", "smithy.api#xmlName": "ipamPoolArn" } }, @@ -59349,6 +60292,14 @@ "smithy.api#documentation": "

        Limits which service in Amazon Web Services that the pool can be used in. \"ec2\", for example, allows users to use space for Elastic IP addresses and VPCs.

        ", "smithy.api#xmlName": "awsService" } + }, + "PublicIpSource": { + "target": "com.amazonaws.ec2#IpamPoolPublicIpSource", + "traits": { + "aws.protocols#ec2QueryName": "PublicIpSource", + "smithy.api#documentation": "

        The IP address source for pools in the public scope. Only used for provisioning IP address CIDRs to pools in the public scope. Default is BYOIP. For more information, see Create IPv6 pools in the Amazon VPC IPAM User Guide. \n By default, you can add only one Amazon-provided IPv6 CIDR block to a top-level IPv6 pool. For information on increasing the default limit, see Quotas for your IPAM in the Amazon VPC IPAM User Guide.

        ", + "smithy.api#xmlName": "publicIpSource" + } } }, "traits": { @@ -59416,7 +60367,7 @@ } }, "traits": { - "smithy.api#documentation": "

        In IPAM, an allocation is a CIDR assignment from an IPAM pool to another resource or IPAM pool.

        " + "smithy.api#documentation": "

        In IPAM, an allocation is a CIDR assignment from an IPAM pool to another IPAM pool or to a resource.

        " } }, "com.amazonaws.ec2#IpamPoolAllocationDisallowedCidrs": { @@ -59506,6 +60457,24 @@ "smithy.api#documentation": "

        Details related to why an IPAM pool CIDR failed to be provisioned.

        ", "smithy.api#xmlName": "failureReason" } + }, + "IpamPoolCidrId": { + "target": "com.amazonaws.ec2#IpamPoolCidrId", + "traits": { + "aws.protocols#ec2QueryName": "IpamPoolCidrId", + "smithy.api#documentation": "

        The IPAM pool CIDR ID.

        ", + "smithy.api#xmlName": "ipamPoolCidrId" + } + }, + "NetmaskLength": { + "target": "com.amazonaws.ec2#Integer", + "traits": { + "aws.protocols#ec2QueryName": "NetmaskLength", + "smithy.api#clientOptional": {}, + "smithy.api#default": 0, + "smithy.api#documentation": "

        The netmask length of the CIDR you'd like to provision to a pool. Can be used for provisioning Amazon-provided IPv6 CIDRs to top-level pools and for provisioning CIDRs to pools with source pools. Cannot be used to provision BYOIP CIDRs to top-level pools. \"NetmaskLength\" or \"Cidr\" is required.

        ", + "smithy.api#xmlName": "netmaskLength" + } } }, "traits": { @@ -59520,6 +60489,12 @@ "traits": { "smithy.api#enumValue": "cidr-not-available" } + }, + "limit_exceeded": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "limit-exceeded" + } } } }, @@ -59547,6 +60522,9 @@ "smithy.api#documentation": "

        Details related to why an IPAM pool CIDR failed to be provisioned.

        " } }, + "com.amazonaws.ec2#IpamPoolCidrId": { + "type": "string" + }, "com.amazonaws.ec2#IpamPoolCidrSet": { "type": "list", "member": { @@ -59612,6 +60590,23 @@ "com.amazonaws.ec2#IpamPoolId": { "type": "string" }, + "com.amazonaws.ec2#IpamPoolPublicIpSource": { + "type": "enum", + "members": { + "amazon": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "amazon" + } + }, + "byoip": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "byoip" + } + } + } + }, "com.amazonaws.ec2#IpamPoolSet": { "type": "list", "member": { @@ -59785,7 +60780,7 @@ "target": "com.amazonaws.ec2#BoxedDouble", "traits": { "aws.protocols#ec2QueryName": "IpUsage", - "smithy.api#documentation": "

        The percentage of IP address space in use. To convert the decimal to a percentage, multiply the decimal by 100. Note the following:

        \n
          \n
        • \n

          For a resources that are VPCs, this is the percentage of IP address space in the VPC that's taken up by subnet CIDRs.\n

          \n
        • \n
        • \n

          For resources that are subnets, if the subnet has an IPv4 CIDR provisioned to it, this is the percentage of IPv4 address space in the subnet that's in use. If the subnet has an IPv6 CIDR provisioned to it, the percentage of IPv6 address space in use is not represented. The percentage of IPv6 address space in use cannot currently be calculated.\n

          \n
        • \n
        • \n

          For resources that are public IPv4 pools, this is the percentage of IP address space in the pool that's been allocated to Elastic IP addresses (EIPs).\n

          \n
        • \n
        ", + "smithy.api#documentation": "

        The percentage of IP address space in use. To convert the decimal to a percentage, multiply the decimal by 100. Note the following:

        \n
          \n
        • \n

          For resources that are VPCs, this is the percentage of IP address space in the VPC that's taken up by subnet CIDRs.\n

          \n
        • \n
        • \n

          For resources that are subnets, if the subnet has an IPv4 CIDR provisioned to it, this is the percentage of IPv4 address space in the subnet that's in use. If the subnet has an IPv6 CIDR provisioned to it, the percentage of IPv6 address space in use is not represented. The percentage of IPv6 address space in use cannot currently be calculated.\n

          \n
        • \n
        • \n

          For resources that are public IPv4 pools, this is the percentage of IP address space in the pool that's been allocated to Elastic IP addresses (EIPs).\n

          \n
        • \n
        ", "smithy.api#xmlName": "ipUsage" } }, @@ -59835,6 +60830,346 @@ } } }, + "com.amazonaws.ec2#IpamResourceDiscovery": { + "type": "structure", + "members": { + "OwnerId": { + "target": "com.amazonaws.ec2#String", + "traits": { + "aws.protocols#ec2QueryName": "OwnerId", + "smithy.api#documentation": "

        The ID of the owner.

        ", + "smithy.api#xmlName": "ownerId" + } + }, + "IpamResourceDiscoveryId": { + "target": "com.amazonaws.ec2#IpamResourceDiscoveryId", + "traits": { + "aws.protocols#ec2QueryName": "IpamResourceDiscoveryId", + "smithy.api#documentation": "

        The resource discovery ID.

        ", + "smithy.api#xmlName": "ipamResourceDiscoveryId" + } + }, + "IpamResourceDiscoveryArn": { + "target": "com.amazonaws.ec2#String", + "traits": { + "aws.protocols#ec2QueryName": "IpamResourceDiscoveryArn", + "smithy.api#documentation": "

        The resource discovery Amazon Resource Name (ARN).

        ", + "smithy.api#xmlName": "ipamResourceDiscoveryArn" + } + }, + "IpamResourceDiscoveryRegion": { + "target": "com.amazonaws.ec2#String", + "traits": { + "aws.protocols#ec2QueryName": "IpamResourceDiscoveryRegion", + "smithy.api#documentation": "

        The resource discovery Region.

        ", + "smithy.api#xmlName": "ipamResourceDiscoveryRegion" + } + }, + "Description": { + "target": "com.amazonaws.ec2#String", + "traits": { + "aws.protocols#ec2QueryName": "Description", + "smithy.api#documentation": "

        The resource discovery description.

        ", + "smithy.api#xmlName": "description" + } + }, + "OperatingRegions": { + "target": "com.amazonaws.ec2#IpamOperatingRegionSet", + "traits": { + "aws.protocols#ec2QueryName": "OperatingRegionSet", + "smithy.api#documentation": "

        The operating Regions for the resource discovery. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the Amazon Web Services Regions you select as operating Regions.

        ", + "smithy.api#xmlName": "operatingRegionSet" + } + }, + "IsDefault": { + "target": "com.amazonaws.ec2#Boolean", + "traits": { + "aws.protocols#ec2QueryName": "IsDefault", + "smithy.api#clientOptional": {}, + "smithy.api#default": false, + "smithy.api#documentation": "

        Defines if the resource discovery is the default. The default resource discovery is the resource discovery automatically created when you create an IPAM.

        ", + "smithy.api#xmlName": "isDefault" + } + }, + "State": { + "target": "com.amazonaws.ec2#IpamResourceDiscoveryState", + "traits": { + "aws.protocols#ec2QueryName": "State", + "smithy.api#documentation": "

        The lifecycle state of the resource discovery.

        \n
          \n
        • \n

          \n create-in-progress - Resource discovery is being created.

          \n
        • \n
        • \n

          \n create-complete - Resource discovery creation is complete.

          \n
        • \n
        • \n

          \n create-failed - Resource discovery creation has failed.

          \n
        • \n
        • \n

          \n modify-in-progress - Resource discovery is being modified.

          \n
        • \n
        • \n

          \n modify-complete - Resource discovery modification is complete.

          \n
        • \n
        • \n

          \n modify-failed - Resource discovery modification has failed.

          \n
        • \n
        • \n

          \n delete-in-progress - Resource discovery is being deleted.

          \n
        • \n
        • \n

          \n delete-complete - Resource discovery deletion is complete.

          \n
        • \n
        • \n

          \n delete-failed - Resource discovery deletion has failed.

          \n
        • \n
        • \n

          \n isolate-in-progress - Amazon Web Services account that created the resource discovery has been removed and the resource discovery is being isolated.

          \n
        • \n
        • \n

          \n isolate-complete - Resource discovery isolation is complete.

          \n
        • \n
        • \n

          \n restore-in-progress - Amazon Web Services account that created the resource discovery and was isolated has been restored.

          \n
        • \n
        ", + "smithy.api#xmlName": "state" + } + }, + "Tags": { + "target": "com.amazonaws.ec2#TagList", + "traits": { + "aws.protocols#ec2QueryName": "TagSet", + "smithy.api#documentation": "

        A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. You can use tags to search and filter your resources or track your Amazon Web Services costs.

        ", + "smithy.api#xmlName": "tagSet" + } + } + }, + "traits": { + "smithy.api#documentation": "

        A resource discovery is an IPAM component that enables IPAM Service to manage and monitor resources that belong to the owning account.

        " + } + }, + "com.amazonaws.ec2#IpamResourceDiscoveryAssociation": { + "type": "structure", + "members": { + "OwnerId": { + "target": "com.amazonaws.ec2#String", + "traits": { + "aws.protocols#ec2QueryName": "OwnerId", + "smithy.api#documentation": "

        The Amazon Web Services account ID of the resource discovery owner.

        ", + "smithy.api#xmlName": "ownerId" + } + }, + "IpamResourceDiscoveryAssociationId": { + "target": "com.amazonaws.ec2#IpamResourceDiscoveryAssociationId", + "traits": { + "aws.protocols#ec2QueryName": "IpamResourceDiscoveryAssociationId", + "smithy.api#documentation": "

        The resource discovery association ID.

        ", + "smithy.api#xmlName": "ipamResourceDiscoveryAssociationId" + } + }, + "IpamResourceDiscoveryAssociationArn": { + "target": "com.amazonaws.ec2#String", + "traits": { + "aws.protocols#ec2QueryName": "IpamResourceDiscoveryAssociationArn", + "smithy.api#documentation": "

        The resource discovery association Amazon Resource Name (ARN).

        ", + "smithy.api#xmlName": "ipamResourceDiscoveryAssociationArn" + } + }, + "IpamResourceDiscoveryId": { + "target": "com.amazonaws.ec2#IpamResourceDiscoveryId", + "traits": { + "aws.protocols#ec2QueryName": "IpamResourceDiscoveryId", + "smithy.api#documentation": "

        The resource discovery ID.

        ", + "smithy.api#xmlName": "ipamResourceDiscoveryId" + } + }, + "IpamId": { + "target": "com.amazonaws.ec2#IpamId", + "traits": { + "aws.protocols#ec2QueryName": "IpamId", + "smithy.api#documentation": "

        The IPAM ID.

        ", + "smithy.api#xmlName": "ipamId" + } + }, + "IpamArn": { + "target": "com.amazonaws.ec2#ResourceArn", + "traits": { + "aws.protocols#ec2QueryName": "IpamArn", + "smithy.api#documentation": "

        The IPAM ARN.

        ", + "smithy.api#xmlName": "ipamArn" + } + }, + "IpamRegion": { + "target": "com.amazonaws.ec2#String", + "traits": { + "aws.protocols#ec2QueryName": "IpamRegion", + "smithy.api#documentation": "

        The IPAM home Region.

        ", + "smithy.api#xmlName": "ipamRegion" + } + }, + "IsDefault": { + "target": "com.amazonaws.ec2#Boolean", + "traits": { + "aws.protocols#ec2QueryName": "IsDefault", + "smithy.api#clientOptional": {}, + "smithy.api#default": false, + "smithy.api#documentation": "

        Defines if the resource discovery is the default. When you create an IPAM, a default resource discovery is created for your IPAM and it's associated with your IPAM.

        ", + "smithy.api#xmlName": "isDefault" + } + }, + "ResourceDiscoveryStatus": { + "target": "com.amazonaws.ec2#IpamAssociatedResourceDiscoveryStatus", + "traits": { + "aws.protocols#ec2QueryName": "ResourceDiscoveryStatus", + "smithy.api#documentation": "

        The resource discovery status.

        \n
          \n
        • \n

          \n active - Connection or permissions required to read the\n results of the resource discovery are intact.

          \n
        • \n
        • \n

          \n not-found - Connection or permissions required to read the\n results of the resource discovery are broken. This may happen if the owner of the resource discovery stopped sharing it or deleted the resource discovery. Verify the resource discovery still exists and the Amazon Web Services RAM resource share is still intact.

          \n
        • \n
        ", + "smithy.api#xmlName": "resourceDiscoveryStatus" + } + }, + "State": { + "target": "com.amazonaws.ec2#IpamResourceDiscoveryAssociationState", + "traits": { + "aws.protocols#ec2QueryName": "State", + "smithy.api#documentation": "

        The lifecycle state of the association when you associate or disassociate a resource discovery.

        \n
          \n
        • \n

          \n associate-in-progress - Resource discovery is being associated.

          \n
        • \n
        • \n

          \n associate-complete - Resource discovery association is complete.

          \n
        • \n
        • \n

          \n associate-failed - Resource discovery association has failed.

          \n
        • \n
        • \n

          \n disassociate-in-progress - Resource discovery is being disassociated.

          \n
        • \n
        • \n

          \n disassociate-complete - Resource discovery disassociation is complete.

          \n
        • \n
        • \n

          \n disassociate-failed - Resource discovery disassociation has failed.

          \n
        • \n
        • \n

          \n isolate-in-progress - Amazon Web Services account that created the resource discovery association has been removed and the resource discovery associatation is being isolated.

          \n
        • \n
        • \n

          \n isolate-complete - Resource discovery isolation is complete..

          \n
        • \n
        • \n

          \n restore-in-progress - Resource discovery is being restored.

          \n
        • \n
        ", + "smithy.api#xmlName": "state" + } + }, + "Tags": { + "target": "com.amazonaws.ec2#TagList", + "traits": { + "aws.protocols#ec2QueryName": "TagSet", + "smithy.api#documentation": "

        A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. You can use tags to search and filter your resources or track your Amazon Web Services costs.

        ", + "smithy.api#xmlName": "tagSet" + } + } + }, + "traits": { + "smithy.api#documentation": "

        An IPAM resource discovery association. An associated resource discovery is a resource discovery that has been associated with an IPAM. IPAM aggregates the resource CIDRs discovered by the associated resource discovery.

        " + } + }, + "com.amazonaws.ec2#IpamResourceDiscoveryAssociationId": { + "type": "string" + }, + "com.amazonaws.ec2#IpamResourceDiscoveryAssociationSet": { + "type": "list", + "member": { + "target": "com.amazonaws.ec2#IpamResourceDiscoveryAssociation", + "traits": { + "smithy.api#xmlName": "item" + } + } + }, + "com.amazonaws.ec2#IpamResourceDiscoveryAssociationState": { + "type": "enum", + "members": { + "ASSOCIATE_IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "associate-in-progress" + } + }, + "ASSOCIATE_COMPLETE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "associate-complete" + } + }, + "ASSOCIATE_FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "associate-failed" + } + }, + "DISASSOCIATE_IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "disassociate-in-progress" + } + }, + "DISASSOCIATE_COMPLETE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "disassociate-complete" + } + }, + "DISASSOCIATE_FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "disassociate-failed" + } + }, + "ISOLATE_IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "isolate-in-progress" + } + }, + "ISOLATE_COMPLETE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "isolate-complete" + } + }, + "RESTORE_IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "restore-in-progress" + } + } + } + }, + "com.amazonaws.ec2#IpamResourceDiscoveryId": { + "type": "string" + }, + "com.amazonaws.ec2#IpamResourceDiscoverySet": { + "type": "list", + "member": { + "target": "com.amazonaws.ec2#IpamResourceDiscovery", + "traits": { + "smithy.api#xmlName": "item" + } + } + }, + "com.amazonaws.ec2#IpamResourceDiscoveryState": { + "type": "enum", + "members": { + "CREATE_IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "create-in-progress" + } + }, + "CREATE_COMPLETE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "create-complete" + } + }, + "CREATE_FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "create-failed" + } + }, + "MODIFY_IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "modify-in-progress" + } + }, + "MODIFY_COMPLETE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "modify-complete" + } + }, + "MODIFY_FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "modify-failed" + } + }, + "DELETE_IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "delete-in-progress" + } + }, + "DELETE_COMPLETE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "delete-complete" + } + }, + "DELETE_FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "delete-failed" + } + }, + "ISOLATE_IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "isolate-in-progress" + } + }, + "ISOLATE_COMPLETE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "isolate-complete" + } + }, + "RESTORE_IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "restore-in-progress" + } + } + } + }, "com.amazonaws.ec2#IpamResourceTag": { "type": "structure", "members": { @@ -59926,7 +61261,7 @@ "target": "com.amazonaws.ec2#ResourceArn", "traits": { "aws.protocols#ec2QueryName": "IpamScopeArn", - "smithy.api#documentation": "

        The ARN of the scope.

        ", + "smithy.api#documentation": "

        The Amazon Resource Name (ARN) of the scope.

        ", "smithy.api#xmlName": "ipamScopeArn" } }, @@ -63039,6 +64374,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n\t\t\tand provides an error response. If you have the required permissions, the error response is \n\t\t\tDryRunOperation. Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ListImagesInRecycleBinResult": { @@ -63119,6 +64457,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ListSnapshotsInRecycleBinResult": { @@ -64512,6 +65853,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifyAddressAttributeResult": { @@ -64566,6 +65910,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifyAvailabilityZoneGroupResult": { @@ -64665,6 +66012,9 @@ "smithy.api#documentation": "

        Indicates whether to remove the end date from the Capacity Reservation Fleet. If you remove the \n\t\t\tend date, the Capacity Reservation Fleet does not expire and it remains active until you explicitly \n\t\t\tcancel it using the CancelCapacityReservationFleet action.

        \n

        You can't specify RemoveEndDate and \n\t\t\tEndDate in the same request.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifyCapacityReservationFleetResult": { @@ -64735,6 +66085,9 @@ "smithy.api#documentation": "

        Reserved for future use.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifyCapacityReservationResult": { @@ -64862,6 +66215,9 @@ "smithy.api#documentation": "

        Options for enabling a customizable text banner that will be displayed on\n\t\t\tAmazon Web Services provided clients when a VPN session is established.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifyClientVpnEndpointResult": { @@ -64918,6 +66274,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifyDefaultCreditSpecificationResult": { @@ -64964,6 +66323,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifyEbsDefaultKmsKeyIdResult": { @@ -65035,6 +66397,9 @@ "smithy.api#documentation": "

        Reserved.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifyFleetResult": { @@ -65134,6 +66499,9 @@ "smithy.api#documentation": "

        A name for the AFI.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifyFpgaImageAttributeResult": { @@ -65200,6 +66568,9 @@ "smithy.api#documentation": "

        Specifies the instance family to be supported by the Dedicated Host. Specify this\n parameter to modify a Dedicated Host to support multiple instance types within its\n current instance family.

        \n

        If you want to modify a Dedicated Host to support a specific instance type only, omit\n this parameter and specify InstanceType instead. You\n cannot specify InstanceFamily and InstanceType in the same request.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifyHostsResult": { @@ -65255,6 +66626,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifyIdentityIdFormat": { @@ -65303,6 +66677,9 @@ "smithy.api#xmlName": "useLongIds" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifyImageAttribute": { @@ -65405,7 +66782,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for ModifyImageAttribute.

        " + "smithy.api#documentation": "

        Contains the parameters for ModifyImageAttribute.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifyInstanceAttribute": { @@ -65558,6 +66936,9 @@ "smithy.api#documentation": "

        Indicates whether an instance is enabled for stop protection. For more information,\n see Stop\n Protection.

        \n

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifyInstanceCapacityReservationAttributes": { @@ -65599,6 +66980,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifyInstanceCapacityReservationAttributesResult": { @@ -65654,6 +67038,9 @@ "smithy.api#xmlName": "InstanceCreditSpecification" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifyInstanceCreditSpecificationResult": { @@ -65724,6 +67111,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifyInstanceEventStartTimeResult": { @@ -65789,6 +67179,9 @@ "smithy.api#documentation": "

        The cron expression of the event window, for example, * 0-4,20-23 * * 1,5.

        \n

        Constraints:

        \n
          \n
        • \n

          Only hour and day of the week values are supported.

          \n
        • \n
        • \n

          For day of the week values, you can specify either integers 0 through\n 6, or alternative single values SUN through\n SAT.

          \n
        • \n
        • \n

          The minute, month, and year must be specified by *.

          \n
        • \n
        • \n

          The hour value must be one or a multiple range, for example, 0-4 or\n 0-4,20-23.

          \n
        • \n
        • \n

          Each hour range must be >= 2 hours, for example, 0-2 or\n 20-23.

          \n
        • \n
        • \n

          The event window must be >= 4 hours. The combined total time ranges in the event\n window must be >= 4 hours.

          \n
        • \n
        \n

        For more information about cron expressions, see cron on the Wikipedia\n website.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifyInstanceEventWindowResult": { @@ -65841,6 +67234,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually\n making the request, and provides an error response. If you have the required\n permissions, the error response is DryRunOperation. Otherwise, it is\n UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifyInstanceMaintenanceOptionsResult": { @@ -65927,6 +67323,9 @@ "smithy.api#documentation": "

        Set to enabled to allow access to instance tags from the instance\n metadata. Set to disabled to turn off access to instance tags from the\n instance metadata. For more information, see Work with\n instance tags using the instance metadata.

        \n

        Default: disabled\n

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifyInstanceMetadataOptionsResult": { @@ -66025,6 +67424,9 @@ "smithy.api#documentation": "

        The Group Id of a placement group. You must specify the Placement Group Group Id to launch an instance in a shared placement\n group.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifyInstancePlacementResult": { @@ -66145,6 +67547,9 @@ "smithy.api#xmlName": "RemoveAllocationResourceTag" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifyIpamPoolResult": { @@ -66188,7 +67593,7 @@ "AddOperatingRegions": { "target": "com.amazonaws.ec2#AddIpamOperatingRegionSet", "traits": { - "smithy.api#documentation": "

        Choose the operating Regions for the IPAM. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only\n discovers and monitors resources in the Amazon Web Services Regions you select as operating Regions.

        \n

        For more information about operating Regions, see Create an IPAM in the Amazon VPC IPAM User Guide.

        ", + "smithy.api#documentation": "

        Choose the operating Regions for the IPAM. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the Amazon Web Services Regions you select as operating Regions.

        \n

        For more information about operating Regions, see Create an IPAM in the Amazon VPC IPAM User Guide.

        ", "smithy.api#xmlName": "AddOperatingRegion" } }, @@ -66199,6 +67604,9 @@ "smithy.api#xmlName": "RemoveOperatingRegion" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifyIpamResourceCidr": { @@ -66271,6 +67679,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifyIpamResourceCidrResult": { @@ -66286,6 +67697,75 @@ } } }, + "com.amazonaws.ec2#ModifyIpamResourceDiscovery": { + "type": "operation", + "input": { + "target": "com.amazonaws.ec2#ModifyIpamResourceDiscoveryRequest" + }, + "output": { + "target": "com.amazonaws.ec2#ModifyIpamResourceDiscoveryResult" + }, + "traits": { + "smithy.api#documentation": "

        Modifies a resource discovery. A resource discovery is an IPAM component that enables IPAM Service to manage and monitor resources that belong to the owning account.

        " + } + }, + "com.amazonaws.ec2#ModifyIpamResourceDiscoveryRequest": { + "type": "structure", + "members": { + "DryRun": { + "target": "com.amazonaws.ec2#Boolean", + "traits": { + "smithy.api#clientOptional": {}, + "smithy.api#default": false, + "smithy.api#documentation": "

        A check for whether you have the required permissions for the action without actually making the request \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " + } + }, + "IpamResourceDiscoveryId": { + "target": "com.amazonaws.ec2#IpamResourceDiscoveryId", + "traits": { + "smithy.api#clientOptional": {}, + "smithy.api#documentation": "

        A resource discovery ID.

        ", + "smithy.api#required": {} + } + }, + "Description": { + "target": "com.amazonaws.ec2#String", + "traits": { + "smithy.api#documentation": "

        A resource discovery description.

        " + } + }, + "AddOperatingRegions": { + "target": "com.amazonaws.ec2#AddIpamOperatingRegionSet", + "traits": { + "smithy.api#documentation": "

        Add operating Regions to the resource discovery. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the Amazon Web Services Regions you select as operating Regions.

        ", + "smithy.api#xmlName": "AddOperatingRegion" + } + }, + "RemoveOperatingRegions": { + "target": "com.amazonaws.ec2#RemoveIpamOperatingRegionSet", + "traits": { + "smithy.api#documentation": "

        Remove operating Regions.

        ", + "smithy.api#xmlName": "RemoveOperatingRegion" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.ec2#ModifyIpamResourceDiscoveryResult": { + "type": "structure", + "members": { + "IpamResourceDiscovery": { + "target": "com.amazonaws.ec2#IpamResourceDiscovery", + "traits": { + "aws.protocols#ec2QueryName": "IpamResourceDiscovery", + "smithy.api#documentation": "

        A resource discovery.

        ", + "smithy.api#xmlName": "ipamResourceDiscovery" + } + } + } + }, "com.amazonaws.ec2#ModifyIpamResult": { "type": "structure", "members": { @@ -66336,6 +67816,9 @@ "smithy.api#documentation": "

        The description of the scope you want to modify.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifyIpamScopeResult": { @@ -66399,6 +67882,9 @@ "smithy.api#xmlName": "SetDefaultVersion" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifyLaunchTemplateResult": { @@ -66465,6 +67951,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifyLocalGatewayRouteResult": { @@ -66547,6 +68036,9 @@ "smithy.api#documentation": "

        The maximum number of entries for the prefix list. You cannot modify the entries \n of a prefix list and modify the size of a prefix list at the same time.

        \n

        If any of the resources that reference the prefix list cannot support the new\n maximum size, the modify operation fails. Check the state message for the IDs of \n the first ten resources that do not support the new maximum size.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifyManagedPrefixListResult": { @@ -66636,7 +68128,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for ModifyNetworkInterfaceAttribute.

        " + "smithy.api#documentation": "

        Contains the parameters for ModifyNetworkInterfaceAttribute.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifyPrivateDnsNameOptions": { @@ -66690,6 +68183,9 @@ "smithy.api#documentation": "

        Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA\n records.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifyPrivateDnsNameOptionsResult": { @@ -66750,7 +68246,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for ModifyReservedInstances.

        " + "smithy.api#documentation": "

        Contains the parameters for ModifyReservedInstances.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifyReservedInstancesResult": { @@ -66809,6 +68306,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifySecurityGroupRulesResult": { @@ -66891,6 +68391,9 @@ "smithy.api#xmlName": "dryRun" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifySnapshotTier": { @@ -66930,6 +68433,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifySnapshotTierResult": { @@ -67019,7 +68525,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for ModifySpotFleetRequest.

        " + "smithy.api#documentation": "

        Contains the parameters for ModifySpotFleetRequest.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifySpotFleetRequestResponse": { @@ -67037,7 +68544,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the output of ModifySpotFleetRequest.

        " + "smithy.api#documentation": "

        Contains the output of ModifySpotFleetRequest.

        ", + "smithy.api#output": {} } }, "com.amazonaws.ec2#ModifySubnetAttribute": { @@ -67127,6 +68635,9 @@ "smithy.api#documentation": "

        \n Specify true to indicate that local network interfaces at the current \n position should be disabled. \n

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifyTrafficMirrorFilterNetworkServices": { @@ -67174,6 +68685,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifyTrafficMirrorFilterNetworkServicesResult": { @@ -67285,6 +68799,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifyTrafficMirrorFilterRuleResult": { @@ -67380,6 +68897,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifyTrafficMirrorSessionResult": { @@ -67530,6 +69050,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifyTransitGatewayPrefixListReferenceResult": { @@ -67576,6 +69099,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifyTransitGatewayResult": { @@ -67640,6 +69166,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifyTransitGatewayVpcAttachmentRequestOptions": { @@ -67797,6 +69326,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifyVerifiedAccessEndpointPolicyResult": { @@ -67872,6 +69404,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifyVerifiedAccessEndpointResult": { @@ -67961,6 +69496,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifyVerifiedAccessGroupPolicyResult": { @@ -68024,6 +69562,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifyVerifiedAccessGroupResult": { @@ -68097,6 +69638,9 @@ "smithy.api#idempotencyToken": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifyVerifiedAccessInstanceLoggingConfigurationResult": { @@ -68144,6 +69688,9 @@ "smithy.api#idempotencyToken": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifyVerifiedAccessInstanceResult": { @@ -68223,6 +69770,9 @@ "smithy.api#idempotencyToken": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifyVerifiedAccessTrustProviderResult": { @@ -68289,6 +69839,9 @@ "smithy.api#xmlName": "dryRun" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifyVolumeRequest": { @@ -68348,6 +69901,9 @@ "smithy.api#documentation": "

        Specifies whether to enable Amazon EBS Multi-Attach. If you enable Multi-Attach, you can attach the \n\t\tvolume to up to 16 \n\t\t\tNitro-based instances in the same Availability Zone. This parameter is \n\t\tsupported with io1 and io2 volumes only. For more information, see \n\t\t\n\t\t\tAmazon EBS Multi-Attach in the Amazon Elastic Compute Cloud User Guide.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifyVolumeResult": { @@ -68406,6 +69962,9 @@ "smithy.api#documentation": "

        Indicates whether Network Address Usage metrics are enabled for your VPC.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifyVpcEndpoint": { @@ -68463,6 +70022,9 @@ "smithy.api#documentation": "

        The events for the endpoint. Valid values are Accept,\n Connect, Delete, and Reject.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifyVpcEndpointConnectionNotificationResult": { @@ -68575,6 +70137,9 @@ "smithy.api#documentation": "

        (Interface endpoint) Indicates whether a private hosted zone is associated with the\n VPC.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifyVpcEndpointResult": { @@ -68687,6 +70252,9 @@ "smithy.api#xmlName": "RemoveSupportedIpAddressType" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifyVpcEndpointServiceConfigurationResult": { @@ -68743,6 +70311,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifyVpcEndpointServicePayerResponsibilityResult": { @@ -68803,6 +70374,9 @@ "smithy.api#documentation": "

        The Amazon Resource Names (ARN) of the principals.\n\t Permissions are revoked for principals in this list.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifyVpcEndpointServicePermissionsResult": { @@ -68871,6 +70445,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifyVpcPeeringConnectionOptionsResult": { @@ -68933,6 +70510,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifyVpcTenancyResult": { @@ -69017,6 +70597,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifyVpnConnectionOptionsResult": { @@ -69069,6 +70652,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually\n making the request, and provides an error response. If you have the required\n permissions, the error response is DryRunOperation. Otherwise, it is\n UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifyVpnConnectionResult": { @@ -69123,6 +70709,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually\n making the request, and provides an error response. If you have the required\n permissions, the error response is DryRunOperation. Otherwise, it is\n UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifyVpnTunnelCertificateResult": { @@ -69185,6 +70774,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually\n making the request, and provides an error response. If you have the required\n permissions, the error response is DryRunOperation. Otherwise, it is\n UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ModifyVpnTunnelOptionsResult": { @@ -69375,6 +70967,9 @@ "smithy.api#xmlName": "dryRun" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#MonitorInstancesResult": { @@ -69470,6 +71065,9 @@ "smithy.api#xmlName": "publicIp" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#MoveAddressToVpcResult": { @@ -69502,7 +71100,7 @@ "target": "com.amazonaws.ec2#MoveByoipCidrToIpamResult" }, "traits": { - "smithy.api#documentation": "

        Move an BYOIP IPv4 CIDR to IPAM from a public IPv4 pool.

        \n

        If you already have an IPv4 BYOIP CIDR with Amazon Web Services, you can move the CIDR to IPAM from a public IPv4 pool. You cannot move an IPv6 CIDR to IPAM. If you are bringing a new IP address to Amazon Web Services for the first time, complete the steps in Tutorial: BYOIP address CIDRs to IPAM.

        " + "smithy.api#documentation": "

        Move a BYOIPv4 CIDR to IPAM from a public IPv4 pool.

        \n

        If you already have a BYOIPv4 CIDR with Amazon Web Services, you can move the CIDR to IPAM from a public IPv4 pool. You cannot move an IPv6 CIDR to IPAM. If you are bringing a new IP address to Amazon Web Services for the first time, complete the steps in Tutorial: BYOIP address CIDRs to IPAM.

        " } }, "com.amazonaws.ec2#MoveByoipCidrToIpamRequest": { @@ -69540,6 +71138,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#MoveByoipCidrToIpamResult": { @@ -74207,6 +75808,9 @@ "smithy.api#documentation": "

        Reserved.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ProvisionByoipCidrResult": { @@ -74256,7 +75860,7 @@ "Cidr": { "target": "com.amazonaws.ec2#String", "traits": { - "smithy.api#documentation": "

        The CIDR you want to assign to the IPAM pool.

        " + "smithy.api#documentation": "

        The CIDR you want to assign to the IPAM pool. Either \"NetmaskLength\" or \"Cidr\" is required. This value will be null if you specify \"NetmaskLength\" and will be filled in during the provisioning process.

        " } }, "CidrAuthorizationContext": { @@ -74264,7 +75868,25 @@ "traits": { "smithy.api#documentation": "

        A signed document that proves that you are authorized to bring a specified IP address range to Amazon using BYOIP. This option applies to public pools only.

        " } + }, + "NetmaskLength": { + "target": "com.amazonaws.ec2#Integer", + "traits": { + "smithy.api#clientOptional": {}, + "smithy.api#default": 0, + "smithy.api#documentation": "

        The netmask length of the CIDR you'd like to provision to a pool. Can be used for provisioning Amazon-provided IPv6 CIDRs to top-level pools and for provisioning CIDRs to pools with source pools. Cannot be used to provision BYOIP CIDRs to top-level pools. Either \"NetmaskLength\" or \"Cidr\" is required.

        " + } + }, + "ClientToken": { + "target": "com.amazonaws.ec2#String", + "traits": { + "smithy.api#documentation": "

        A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.

        ", + "smithy.api#idempotencyToken": {} + } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ProvisionIpamPoolCidrResult": { @@ -74328,6 +75950,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ProvisionPublicIpv4PoolCidrResult": { @@ -74712,6 +76337,9 @@ "smithy.api#xmlName": "TagSpecification" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#PurchaseHostReservationResult": { @@ -74856,7 +76484,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for PurchaseReservedInstancesOffering.

        " + "smithy.api#documentation": "

        Contains the parameters for PurchaseReservedInstancesOffering.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#PurchaseReservedInstancesOfferingResult": { @@ -74916,7 +76545,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for PurchaseScheduledInstances.

        " + "smithy.api#documentation": "

        Contains the parameters for PurchaseScheduledInstances.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#PurchaseScheduledInstancesResult": { @@ -75018,6 +76648,9 @@ "smithy.api#xmlName": "dryRun" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#RecurringCharge": { @@ -75323,7 +76956,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for RegisterImage.

        " + "smithy.api#documentation": "

        Contains the parameters for RegisterImage.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#RegisterImageResult": { @@ -75371,6 +77005,9 @@ "smithy.api#documentation": "

        Information about the tag keys to register.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#RegisterInstanceEventNotificationAttributesResult": { @@ -75450,6 +77087,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#RegisterTransitGatewayMulticastGroupMembersResult": { @@ -75506,6 +77146,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#RegisterTransitGatewayMulticastGroupSourcesResult": { @@ -75562,6 +77205,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#RejectTransitGatewayMulticastDomainAssociationsResult": { @@ -75608,6 +77254,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#RejectTransitGatewayPeeringAttachmentResult": { @@ -75654,6 +77303,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#RejectTransitGatewayVpcAttachmentResult": { @@ -75709,6 +77361,9 @@ "smithy.api#xmlName": "VpcEndpointId" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#RejectVpcEndpointConnectionsResult": { @@ -75759,6 +77414,9 @@ "smithy.api#xmlName": "vpcPeeringConnectionId" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#RejectVpcPeeringConnectionResult": { @@ -75819,6 +77477,9 @@ "smithy.api#xmlName": "dryRun" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ReleaseHosts": { @@ -75846,6 +77507,9 @@ "smithy.api#xmlName": "hostId" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ReleaseHostsResult": { @@ -75916,6 +77580,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ReleaseIpamPoolAllocationResult": { @@ -75944,7 +77611,7 @@ } }, "traits": { - "smithy.api#documentation": "

        Remove an operating Region from an IPAM. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only\n discovers and monitors resources in the Amazon Web Services Regions you select as operating Regions.

        \n

        For more information about operating Regions, see Create an IPAM in the Amazon VPC IPAM User Guide\n

        " + "smithy.api#documentation": "

        Remove an operating Region from an IPAM. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the Amazon Web Services Regions you select as operating Regions.

        \n

        For more information about operating Regions, see Create an IPAM in the Amazon VPC IPAM User Guide\n

        " } }, "com.amazonaws.ec2#RemoveIpamOperatingRegionSet": { @@ -76018,6 +77685,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ReplaceIamInstanceProfileAssociationResult": { @@ -76078,6 +77748,9 @@ "smithy.api#xmlName": "networkAclId" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ReplaceNetworkAclAssociationResult": { @@ -76201,6 +77874,9 @@ "smithy.api#xmlName": "ruleNumber" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ReplaceRootVolumeTask": { @@ -76490,6 +78166,9 @@ "smithy.api#documentation": "

        The Amazon Resource Name (ARN) of the core network.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ReplaceRouteTableAssociation": { @@ -76537,6 +78216,9 @@ "smithy.api#xmlName": "routeTableId" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ReplaceRouteTableAssociationResult": { @@ -76613,6 +78295,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ReplaceTransitGatewayRouteResult": { @@ -76783,6 +78468,9 @@ "smithy.api#xmlName": "status" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ReportStatusType": { @@ -77107,7 +78795,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for RequestSpotFleet.

        " + "smithy.api#documentation": "

        Contains the parameters for RequestSpotFleet.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#RequestSpotFleetResponse": { @@ -77123,7 +78812,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the output of RequestSpotFleet.

        " + "smithy.api#documentation": "

        Contains the output of RequestSpotFleet.

        ", + "smithy.api#output": {} } }, "com.amazonaws.ec2#RequestSpotInstances": { @@ -77248,7 +78938,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for RequestSpotInstances.

        " + "smithy.api#documentation": "

        Contains the parameters for RequestSpotInstances.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#RequestSpotInstancesResult": { @@ -78397,6 +80088,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ResetAddressAttributeResult": { @@ -78435,6 +80129,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ResetEbsDefaultKmsKeyIdResult": { @@ -78498,6 +80195,9 @@ "smithy.api#documentation": "

        The attribute.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ResetFpgaImageAttributeResult": { @@ -78569,7 +80269,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for ResetImageAttribute.

        " + "smithy.api#documentation": "

        Contains the parameters for ResetImageAttribute.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#ResetInstanceAttribute": { @@ -78617,6 +80318,9 @@ "smithy.api#xmlName": "instanceId" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ResetNetworkInterfaceAttribute": { @@ -78664,7 +80368,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for ResetNetworkInterfaceAttribute.

        " + "smithy.api#documentation": "

        Contains the parameters for ResetNetworkInterfaceAttribute.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#ResetSnapshotAttribute": { @@ -78708,6 +80413,9 @@ "smithy.api#xmlName": "dryRun" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#ResourceArn": { @@ -79280,6 +80988,18 @@ "traits": { "smithy.api#enumValue": "vpc-block-public-access-exclusion" } + }, + "ipam_resource_discovery": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ipam-resource-discovery" + } + }, + "ipam_resource_discovery_association": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ipam-resource-discovery-association" + } } } }, @@ -79628,6 +81348,9 @@ "smithy.api#xmlName": "publicIp" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#RestoreAddressToClassicResult": { @@ -79682,6 +81405,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n\t\t\tand provides an error response. If you have the required permissions, the error response is \n\t\t\tDryRunOperation. Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#RestoreImageFromRecycleBinResult": { @@ -79748,6 +81474,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#RestoreManagedPrefixListVersionResult": { @@ -79794,6 +81523,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#RestoreSnapshotFromRecycleBinResult": { @@ -79930,6 +81662,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#RestoreSnapshotTierRequestTemporaryRestoreDays": { @@ -80039,6 +81774,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#RevokeClientVpnIngressResult": { @@ -80156,6 +81894,9 @@ "smithy.api#xmlName": "sourceSecurityGroupOwnerId" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#RevokeSecurityGroupEgressResult": { @@ -80271,6 +82012,9 @@ "smithy.api#xmlName": "SecurityGroupRuleId" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#RevokeSecurityGroupIngressResult": { @@ -81057,6 +82801,9 @@ "smithy.api#documentation": "

        Indicates whether an instance is enabled for stop protection. For more information,\n see Stop\n protection.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#RunInstancesUserData": { @@ -81121,7 +82868,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for RunScheduledInstances.

        " + "smithy.api#documentation": "

        Contains the parameters for RunScheduledInstances.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#RunScheduledInstancesResult": { @@ -82056,6 +83804,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#SearchLocalGatewayRoutesResult": { @@ -82135,6 +83886,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#SearchTransitGatewayMulticastGroupsResult": { @@ -82206,6 +83960,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#SearchTransitGatewayRoutesResult": { @@ -82715,6 +84472,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#SensitiveUserData": { @@ -85384,6 +87144,9 @@ "smithy.api#xmlName": "dryRun" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#StartInstancesResult": { @@ -85446,6 +87209,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#StartNetworkInsightsAccessScopeAnalysisResult": { @@ -85522,6 +87288,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#StartNetworkInsightsAnalysisResult": { @@ -85568,6 +87337,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#StartVpcEndpointServicePrivateDnsVerificationResult": { @@ -85805,6 +87577,9 @@ "smithy.api#xmlName": "force" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#StopInstancesResult": { @@ -87127,6 +88902,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#TerminateClientVpnConnectionsResult": { @@ -87233,6 +89011,9 @@ "smithy.api#xmlName": "dryRun" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#TerminateInstancesResult": { @@ -91309,6 +93090,9 @@ "smithy.api#xmlName": "networkInterfaceId" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#UnassignIpv6AddressesResult": { @@ -91382,7 +93166,8 @@ } }, "traits": { - "smithy.api#documentation": "

        Contains the parameters for UnassignPrivateIpAddresses.

        " + "smithy.api#documentation": "

        Contains the parameters for UnassignPrivateIpAddresses.

        ", + "smithy.api#input": {} } }, "com.amazonaws.ec2#UnlimitedSupportedInstanceFamily": { @@ -91448,6 +93233,9 @@ "smithy.api#xmlName": "dryRun" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#UnmonitorInstancesResult": { @@ -91663,6 +93451,9 @@ "smithy.api#xmlName": "SecurityGroupRuleDescription" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#UpdateSecurityGroupRuleDescriptionsEgressResult": { @@ -91728,6 +93519,9 @@ "smithy.api#xmlName": "SecurityGroupRuleDescription" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#UpdateSecurityGroupRuleDescriptionsIngressResult": { @@ -96047,6 +97841,9 @@ "smithy.api#documentation": "

        Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

        " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2#WithdrawByoipCidrResult": {