@@ -262,6 +262,16 @@ import {
262
262
CreateClientVpnRouteCommandInput,
263
263
CreateClientVpnRouteCommandOutput,
264
264
} from "./commands/CreateClientVpnRouteCommand";
265
+ import {
266
+ CreateCoipCidrCommand,
267
+ CreateCoipCidrCommandInput,
268
+ CreateCoipCidrCommandOutput,
269
+ } from "./commands/CreateCoipCidrCommand";
270
+ import {
271
+ CreateCoipPoolCommand,
272
+ CreateCoipPoolCommandInput,
273
+ CreateCoipPoolCommandOutput,
274
+ } from "./commands/CreateCoipPoolCommand";
265
275
import {
266
276
CreateCustomerGatewayCommand,
267
277
CreateCustomerGatewayCommandInput,
@@ -345,6 +355,16 @@ import {
345
355
CreateLocalGatewayRouteCommandInput,
346
356
CreateLocalGatewayRouteCommandOutput,
347
357
} from "./commands/CreateLocalGatewayRouteCommand";
358
+ import {
359
+ CreateLocalGatewayRouteTableCommand,
360
+ CreateLocalGatewayRouteTableCommandInput,
361
+ CreateLocalGatewayRouteTableCommandOutput,
362
+ } from "./commands/CreateLocalGatewayRouteTableCommand";
363
+ import {
364
+ CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand,
365
+ CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommandInput,
366
+ CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommandOutput,
367
+ } from "./commands/CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand";
348
368
import {
349
369
CreateLocalGatewayRouteTableVpcAssociationCommand,
350
370
CreateLocalGatewayRouteTableVpcAssociationCommandInput,
@@ -588,6 +608,16 @@ import {
588
608
DeleteClientVpnRouteCommandInput,
589
609
DeleteClientVpnRouteCommandOutput,
590
610
} from "./commands/DeleteClientVpnRouteCommand";
611
+ import {
612
+ DeleteCoipCidrCommand,
613
+ DeleteCoipCidrCommandInput,
614
+ DeleteCoipCidrCommandOutput,
615
+ } from "./commands/DeleteCoipCidrCommand";
616
+ import {
617
+ DeleteCoipPoolCommand,
618
+ DeleteCoipPoolCommandInput,
619
+ DeleteCoipPoolCommandOutput,
620
+ } from "./commands/DeleteCoipPoolCommand";
591
621
import {
592
622
DeleteCustomerGatewayCommand,
593
623
DeleteCustomerGatewayCommandInput,
@@ -659,6 +689,16 @@ import {
659
689
DeleteLocalGatewayRouteCommandInput,
660
690
DeleteLocalGatewayRouteCommandOutput,
661
691
} from "./commands/DeleteLocalGatewayRouteCommand";
692
+ import {
693
+ DeleteLocalGatewayRouteTableCommand,
694
+ DeleteLocalGatewayRouteTableCommandInput,
695
+ DeleteLocalGatewayRouteTableCommandOutput,
696
+ } from "./commands/DeleteLocalGatewayRouteTableCommand";
697
+ import {
698
+ DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand,
699
+ DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommandInput,
700
+ DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommandOutput,
701
+ } from "./commands/DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand";
662
702
import {
663
703
DeleteLocalGatewayRouteTableVpcAssociationCommand,
664
704
DeleteLocalGatewayRouteTableVpcAssociationCommandInput,
@@ -4639,6 +4679,72 @@ export class EC2 extends EC2Client {
4639
4679
}
4640
4680
}
4641
4681
4682
+ /**
4683
+ * <p>
4684
+ * Creates a range of customer-owned IP addresses.
4685
+ * </p>
4686
+ */
4687
+ public createCoipCidr(
4688
+ args: CreateCoipCidrCommandInput,
4689
+ options?: __HttpHandlerOptions
4690
+ ): Promise<CreateCoipCidrCommandOutput>;
4691
+ public createCoipCidr(
4692
+ args: CreateCoipCidrCommandInput,
4693
+ cb: (err: any, data?: CreateCoipCidrCommandOutput) => void
4694
+ ): void;
4695
+ public createCoipCidr(
4696
+ args: CreateCoipCidrCommandInput,
4697
+ options: __HttpHandlerOptions,
4698
+ cb: (err: any, data?: CreateCoipCidrCommandOutput) => void
4699
+ ): void;
4700
+ public createCoipCidr(
4701
+ args: CreateCoipCidrCommandInput,
4702
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateCoipCidrCommandOutput) => void),
4703
+ cb?: (err: any, data?: CreateCoipCidrCommandOutput) => void
4704
+ ): Promise<CreateCoipCidrCommandOutput> | void {
4705
+ const command = new CreateCoipCidrCommand(args);
4706
+ if (typeof optionsOrCb === "function") {
4707
+ this.send(command, optionsOrCb);
4708
+ } else if (typeof cb === "function") {
4709
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
4710
+ this.send(command, optionsOrCb || {}, cb);
4711
+ } else {
4712
+ return this.send(command, optionsOrCb);
4713
+ }
4714
+ }
4715
+
4716
+ /**
4717
+ * <p> Creates a pool of customer-owned IP (CoIP) addresses. </p>
4718
+ */
4719
+ public createCoipPool(
4720
+ args: CreateCoipPoolCommandInput,
4721
+ options?: __HttpHandlerOptions
4722
+ ): Promise<CreateCoipPoolCommandOutput>;
4723
+ public createCoipPool(
4724
+ args: CreateCoipPoolCommandInput,
4725
+ cb: (err: any, data?: CreateCoipPoolCommandOutput) => void
4726
+ ): void;
4727
+ public createCoipPool(
4728
+ args: CreateCoipPoolCommandInput,
4729
+ options: __HttpHandlerOptions,
4730
+ cb: (err: any, data?: CreateCoipPoolCommandOutput) => void
4731
+ ): void;
4732
+ public createCoipPool(
4733
+ args: CreateCoipPoolCommandInput,
4734
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateCoipPoolCommandOutput) => void),
4735
+ cb?: (err: any, data?: CreateCoipPoolCommandOutput) => void
4736
+ ): Promise<CreateCoipPoolCommandOutput> | void {
4737
+ const command = new CreateCoipPoolCommand(args);
4738
+ if (typeof optionsOrCb === "function") {
4739
+ this.send(command, optionsOrCb);
4740
+ } else if (typeof cb === "function") {
4741
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
4742
+ this.send(command, optionsOrCb || {}, cb);
4743
+ } else {
4744
+ return this.send(command, optionsOrCb);
4745
+ }
4746
+ }
4747
+
4642
4748
/**
4643
4749
* <p>Provides information to Amazon Web Services about your customer gateway device. The
4644
4750
* customer gateway device is the appliance at your end of the VPN connection. You
@@ -5431,6 +5537,76 @@ export class EC2 extends EC2Client {
5431
5537
}
5432
5538
}
5433
5539
5540
+ /**
5541
+ * <p>
5542
+ * Creates a local gateway route table.
5543
+ * </p>
5544
+ */
5545
+ public createLocalGatewayRouteTable(
5546
+ args: CreateLocalGatewayRouteTableCommandInput,
5547
+ options?: __HttpHandlerOptions
5548
+ ): Promise<CreateLocalGatewayRouteTableCommandOutput>;
5549
+ public createLocalGatewayRouteTable(
5550
+ args: CreateLocalGatewayRouteTableCommandInput,
5551
+ cb: (err: any, data?: CreateLocalGatewayRouteTableCommandOutput) => void
5552
+ ): void;
5553
+ public createLocalGatewayRouteTable(
5554
+ args: CreateLocalGatewayRouteTableCommandInput,
5555
+ options: __HttpHandlerOptions,
5556
+ cb: (err: any, data?: CreateLocalGatewayRouteTableCommandOutput) => void
5557
+ ): void;
5558
+ public createLocalGatewayRouteTable(
5559
+ args: CreateLocalGatewayRouteTableCommandInput,
5560
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateLocalGatewayRouteTableCommandOutput) => void),
5561
+ cb?: (err: any, data?: CreateLocalGatewayRouteTableCommandOutput) => void
5562
+ ): Promise<CreateLocalGatewayRouteTableCommandOutput> | void {
5563
+ const command = new CreateLocalGatewayRouteTableCommand(args);
5564
+ if (typeof optionsOrCb === "function") {
5565
+ this.send(command, optionsOrCb);
5566
+ } else if (typeof cb === "function") {
5567
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
5568
+ this.send(command, optionsOrCb || {}, cb);
5569
+ } else {
5570
+ return this.send(command, optionsOrCb);
5571
+ }
5572
+ }
5573
+
5574
+ /**
5575
+ * <p>
5576
+ * Creates a local gateway route table virtual interface group association.
5577
+ * </p>
5578
+ */
5579
+ public createLocalGatewayRouteTableVirtualInterfaceGroupAssociation(
5580
+ args: CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommandInput,
5581
+ options?: __HttpHandlerOptions
5582
+ ): Promise<CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommandOutput>;
5583
+ public createLocalGatewayRouteTableVirtualInterfaceGroupAssociation(
5584
+ args: CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommandInput,
5585
+ cb: (err: any, data?: CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommandOutput) => void
5586
+ ): void;
5587
+ public createLocalGatewayRouteTableVirtualInterfaceGroupAssociation(
5588
+ args: CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommandInput,
5589
+ options: __HttpHandlerOptions,
5590
+ cb: (err: any, data?: CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommandOutput) => void
5591
+ ): void;
5592
+ public createLocalGatewayRouteTableVirtualInterfaceGroupAssociation(
5593
+ args: CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommandInput,
5594
+ optionsOrCb?:
5595
+ | __HttpHandlerOptions
5596
+ | ((err: any, data?: CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommandOutput) => void),
5597
+ cb?: (err: any, data?: CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommandOutput) => void
5598
+ ): Promise<CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommandOutput> | void {
5599
+ const command = new CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand(args);
5600
+ if (typeof optionsOrCb === "function") {
5601
+ this.send(command, optionsOrCb);
5602
+ } else if (typeof cb === "function") {
5603
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
5604
+ this.send(command, optionsOrCb || {}, cb);
5605
+ } else {
5606
+ return this.send(command, optionsOrCb);
5607
+ }
5608
+ }
5609
+
5434
5610
/**
5435
5611
* <p>Associates the specified VPC with the specified local gateway route table.</p>
5436
5612
*/
@@ -7352,6 +7528,72 @@ export class EC2 extends EC2Client {
7352
7528
}
7353
7529
}
7354
7530
7531
+ /**
7532
+ * <p>
7533
+ * Deletes a range of customer-owned IP addresses.
7534
+ * </p>
7535
+ */
7536
+ public deleteCoipCidr(
7537
+ args: DeleteCoipCidrCommandInput,
7538
+ options?: __HttpHandlerOptions
7539
+ ): Promise<DeleteCoipCidrCommandOutput>;
7540
+ public deleteCoipCidr(
7541
+ args: DeleteCoipCidrCommandInput,
7542
+ cb: (err: any, data?: DeleteCoipCidrCommandOutput) => void
7543
+ ): void;
7544
+ public deleteCoipCidr(
7545
+ args: DeleteCoipCidrCommandInput,
7546
+ options: __HttpHandlerOptions,
7547
+ cb: (err: any, data?: DeleteCoipCidrCommandOutput) => void
7548
+ ): void;
7549
+ public deleteCoipCidr(
7550
+ args: DeleteCoipCidrCommandInput,
7551
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteCoipCidrCommandOutput) => void),
7552
+ cb?: (err: any, data?: DeleteCoipCidrCommandOutput) => void
7553
+ ): Promise<DeleteCoipCidrCommandOutput> | void {
7554
+ const command = new DeleteCoipCidrCommand(args);
7555
+ if (typeof optionsOrCb === "function") {
7556
+ this.send(command, optionsOrCb);
7557
+ } else if (typeof cb === "function") {
7558
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
7559
+ this.send(command, optionsOrCb || {}, cb);
7560
+ } else {
7561
+ return this.send(command, optionsOrCb);
7562
+ }
7563
+ }
7564
+
7565
+ /**
7566
+ * <p>Deletes a pool of customer-owned IP (CoIP) addresses. </p>
7567
+ */
7568
+ public deleteCoipPool(
7569
+ args: DeleteCoipPoolCommandInput,
7570
+ options?: __HttpHandlerOptions
7571
+ ): Promise<DeleteCoipPoolCommandOutput>;
7572
+ public deleteCoipPool(
7573
+ args: DeleteCoipPoolCommandInput,
7574
+ cb: (err: any, data?: DeleteCoipPoolCommandOutput) => void
7575
+ ): void;
7576
+ public deleteCoipPool(
7577
+ args: DeleteCoipPoolCommandInput,
7578
+ options: __HttpHandlerOptions,
7579
+ cb: (err: any, data?: DeleteCoipPoolCommandOutput) => void
7580
+ ): void;
7581
+ public deleteCoipPool(
7582
+ args: DeleteCoipPoolCommandInput,
7583
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteCoipPoolCommandOutput) => void),
7584
+ cb?: (err: any, data?: DeleteCoipPoolCommandOutput) => void
7585
+ ): Promise<DeleteCoipPoolCommandOutput> | void {
7586
+ const command = new DeleteCoipPoolCommand(args);
7587
+ if (typeof optionsOrCb === "function") {
7588
+ this.send(command, optionsOrCb);
7589
+ } else if (typeof cb === "function") {
7590
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
7591
+ this.send(command, optionsOrCb || {}, cb);
7592
+ } else {
7593
+ return this.send(command, optionsOrCb);
7594
+ }
7595
+ }
7596
+
7355
7597
/**
7356
7598
* <p>Deletes the specified customer gateway. You must delete the VPN connection before you
7357
7599
* can delete the customer gateway.</p>
@@ -7868,6 +8110,76 @@ export class EC2 extends EC2Client {
7868
8110
}
7869
8111
}
7870
8112
8113
+ /**
8114
+ * <p>
8115
+ * Deletes a local gateway route table.
8116
+ * </p>
8117
+ */
8118
+ public deleteLocalGatewayRouteTable(
8119
+ args: DeleteLocalGatewayRouteTableCommandInput,
8120
+ options?: __HttpHandlerOptions
8121
+ ): Promise<DeleteLocalGatewayRouteTableCommandOutput>;
8122
+ public deleteLocalGatewayRouteTable(
8123
+ args: DeleteLocalGatewayRouteTableCommandInput,
8124
+ cb: (err: any, data?: DeleteLocalGatewayRouteTableCommandOutput) => void
8125
+ ): void;
8126
+ public deleteLocalGatewayRouteTable(
8127
+ args: DeleteLocalGatewayRouteTableCommandInput,
8128
+ options: __HttpHandlerOptions,
8129
+ cb: (err: any, data?: DeleteLocalGatewayRouteTableCommandOutput) => void
8130
+ ): void;
8131
+ public deleteLocalGatewayRouteTable(
8132
+ args: DeleteLocalGatewayRouteTableCommandInput,
8133
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteLocalGatewayRouteTableCommandOutput) => void),
8134
+ cb?: (err: any, data?: DeleteLocalGatewayRouteTableCommandOutput) => void
8135
+ ): Promise<DeleteLocalGatewayRouteTableCommandOutput> | void {
8136
+ const command = new DeleteLocalGatewayRouteTableCommand(args);
8137
+ if (typeof optionsOrCb === "function") {
8138
+ this.send(command, optionsOrCb);
8139
+ } else if (typeof cb === "function") {
8140
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
8141
+ this.send(command, optionsOrCb || {}, cb);
8142
+ } else {
8143
+ return this.send(command, optionsOrCb);
8144
+ }
8145
+ }
8146
+
8147
+ /**
8148
+ * <p>
8149
+ * Deletes a local gateway route table virtual interface group association.
8150
+ * </p>
8151
+ */
8152
+ public deleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation(
8153
+ args: DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommandInput,
8154
+ options?: __HttpHandlerOptions
8155
+ ): Promise<DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommandOutput>;
8156
+ public deleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation(
8157
+ args: DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommandInput,
8158
+ cb: (err: any, data?: DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommandOutput) => void
8159
+ ): void;
8160
+ public deleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation(
8161
+ args: DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommandInput,
8162
+ options: __HttpHandlerOptions,
8163
+ cb: (err: any, data?: DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommandOutput) => void
8164
+ ): void;
8165
+ public deleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation(
8166
+ args: DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommandInput,
8167
+ optionsOrCb?:
8168
+ | __HttpHandlerOptions
8169
+ | ((err: any, data?: DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommandOutput) => void),
8170
+ cb?: (err: any, data?: DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommandOutput) => void
8171
+ ): Promise<DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommandOutput> | void {
8172
+ const command = new DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand(args);
8173
+ if (typeof optionsOrCb === "function") {
8174
+ this.send(command, optionsOrCb);
8175
+ } else if (typeof cb === "function") {
8176
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
8177
+ this.send(command, optionsOrCb || {}, cb);
8178
+ } else {
8179
+ return this.send(command, optionsOrCb);
8180
+ }
8181
+ }
8182
+
7871
8183
/**
7872
8184
* <p>Deletes the specified association between a VPC and local gateway route table.</p>
7873
8185
*/
0 commit comments