Skip to content

Commit 2a9f8c3

Browse files
author
awstools
committed
feat(client-rds): Removes Amazon RDS on VMware with the deletion of APIs related to Custom Availability Zones and Media installation
1 parent 6d8eb0b commit 2a9f8c3

21 files changed

+602
-3379
lines changed

clients/client-rds/src/RDS.ts

+1-241
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,6 @@ import {
6565
CopyOptionGroupCommandInput,
6666
CopyOptionGroupCommandOutput,
6767
} from "./commands/CopyOptionGroupCommand";
68-
import {
69-
CreateCustomAvailabilityZoneCommand,
70-
CreateCustomAvailabilityZoneCommandInput,
71-
CreateCustomAvailabilityZoneCommandOutput,
72-
} from "./commands/CreateCustomAvailabilityZoneCommand";
7368
import {
7469
CreateCustomDBEngineVersionCommand,
7570
CreateCustomDBEngineVersionCommandInput,
@@ -150,11 +145,6 @@ import {
150145
CreateOptionGroupCommandInput,
151146
CreateOptionGroupCommandOutput,
152147
} from "./commands/CreateOptionGroupCommand";
153-
import {
154-
DeleteCustomAvailabilityZoneCommand,
155-
DeleteCustomAvailabilityZoneCommandInput,
156-
DeleteCustomAvailabilityZoneCommandOutput,
157-
} from "./commands/DeleteCustomAvailabilityZoneCommand";
158148
import {
159149
DeleteCustomDBEngineVersionCommand,
160150
DeleteCustomDBEngineVersionCommandInput,
@@ -230,11 +220,6 @@ import {
230220
DeleteGlobalClusterCommandInput,
231221
DeleteGlobalClusterCommandOutput,
232222
} from "./commands/DeleteGlobalClusterCommand";
233-
import {
234-
DeleteInstallationMediaCommand,
235-
DeleteInstallationMediaCommandInput,
236-
DeleteInstallationMediaCommandOutput,
237-
} from "./commands/DeleteInstallationMediaCommand";
238223
import {
239224
DeleteOptionGroupCommand,
240225
DeleteOptionGroupCommandInput,
@@ -255,11 +240,6 @@ import {
255240
DescribeCertificatesCommandInput,
256241
DescribeCertificatesCommandOutput,
257242
} from "./commands/DescribeCertificatesCommand";
258-
import {
259-
DescribeCustomAvailabilityZonesCommand,
260-
DescribeCustomAvailabilityZonesCommandInput,
261-
DescribeCustomAvailabilityZonesCommandOutput,
262-
} from "./commands/DescribeCustomAvailabilityZonesCommand";
263243
import {
264244
DescribeDBClusterBacktracksCommand,
265245
DescribeDBClusterBacktracksCommandInput,
@@ -400,11 +380,6 @@ import {
400380
DescribeGlobalClustersCommandInput,
401381
DescribeGlobalClustersCommandOutput,
402382
} from "./commands/DescribeGlobalClustersCommand";
403-
import {
404-
DescribeInstallationMediaCommand,
405-
DescribeInstallationMediaCommandInput,
406-
DescribeInstallationMediaCommandOutput,
407-
} from "./commands/DescribeInstallationMediaCommand";
408383
import {
409384
DescribeOptionGroupOptionsCommand,
410385
DescribeOptionGroupOptionsCommandInput,
@@ -460,11 +435,6 @@ import {
460435
FailoverGlobalClusterCommandInput,
461436
FailoverGlobalClusterCommandOutput,
462437
} from "./commands/FailoverGlobalClusterCommand";
463-
import {
464-
ImportInstallationMediaCommand,
465-
ImportInstallationMediaCommandInput,
466-
ImportInstallationMediaCommandOutput,
467-
} from "./commands/ImportInstallationMediaCommand";
468438
import {
469439
ListTagsForResourceCommand,
470440
ListTagsForResourceCommandInput,
@@ -1279,43 +1249,6 @@ export class RDS extends RDSClient {
12791249
}
12801250
}
12811251

1282-
/**
1283-
* <p>Creates a custom Availability Zone (AZ).</p>
1284-
* <p>A custom AZ is an on-premises AZ that is integrated with a VMware vSphere cluster.</p>
1285-
* <p>For more information about RDS on VMware, see the
1286-
* <a href="https://docs.aws.amazon.com/AmazonRDS/latest/RDSonVMwareUserGuide/rds-on-vmware.html">
1287-
* RDS on VMware User Guide.</a>
1288-
* </p>
1289-
*/
1290-
public createCustomAvailabilityZone(
1291-
args: CreateCustomAvailabilityZoneCommandInput,
1292-
options?: __HttpHandlerOptions
1293-
): Promise<CreateCustomAvailabilityZoneCommandOutput>;
1294-
public createCustomAvailabilityZone(
1295-
args: CreateCustomAvailabilityZoneCommandInput,
1296-
cb: (err: any, data?: CreateCustomAvailabilityZoneCommandOutput) => void
1297-
): void;
1298-
public createCustomAvailabilityZone(
1299-
args: CreateCustomAvailabilityZoneCommandInput,
1300-
options: __HttpHandlerOptions,
1301-
cb: (err: any, data?: CreateCustomAvailabilityZoneCommandOutput) => void
1302-
): void;
1303-
public createCustomAvailabilityZone(
1304-
args: CreateCustomAvailabilityZoneCommandInput,
1305-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateCustomAvailabilityZoneCommandOutput) => void),
1306-
cb?: (err: any, data?: CreateCustomAvailabilityZoneCommandOutput) => void
1307-
): Promise<CreateCustomAvailabilityZoneCommandOutput> | void {
1308-
const command = new CreateCustomAvailabilityZoneCommand(args);
1309-
if (typeof optionsOrCb === "function") {
1310-
this.send(command, optionsOrCb);
1311-
} else if (typeof cb === "function") {
1312-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1313-
this.send(command, optionsOrCb || {}, cb);
1314-
} else {
1315-
return this.send(command, optionsOrCb);
1316-
}
1317-
}
1318-
13191252
/**
13201253
* <p>Creates a custom DB engine version (CEV). A CEV is a binary volume snapshot of a database engine and specific
13211254
* AMI. The supported engines are the following:</p>
@@ -1976,43 +1909,6 @@ export class RDS extends RDSClient {
19761909
}
19771910
}
19781911

1979-
/**
1980-
* <p>Deletes a custom Availability Zone (AZ).</p>
1981-
* <p>A custom AZ is an on-premises AZ that is integrated with a VMware vSphere cluster.</p>
1982-
* <p>For more information about RDS on VMware, see the
1983-
* <a href="https://docs.aws.amazon.com/AmazonRDS/latest/RDSonVMwareUserGuide/rds-on-vmware.html">
1984-
* RDS on VMware User Guide.</a>
1985-
* </p>
1986-
*/
1987-
public deleteCustomAvailabilityZone(
1988-
args: DeleteCustomAvailabilityZoneCommandInput,
1989-
options?: __HttpHandlerOptions
1990-
): Promise<DeleteCustomAvailabilityZoneCommandOutput>;
1991-
public deleteCustomAvailabilityZone(
1992-
args: DeleteCustomAvailabilityZoneCommandInput,
1993-
cb: (err: any, data?: DeleteCustomAvailabilityZoneCommandOutput) => void
1994-
): void;
1995-
public deleteCustomAvailabilityZone(
1996-
args: DeleteCustomAvailabilityZoneCommandInput,
1997-
options: __HttpHandlerOptions,
1998-
cb: (err: any, data?: DeleteCustomAvailabilityZoneCommandOutput) => void
1999-
): void;
2000-
public deleteCustomAvailabilityZone(
2001-
args: DeleteCustomAvailabilityZoneCommandInput,
2002-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteCustomAvailabilityZoneCommandOutput) => void),
2003-
cb?: (err: any, data?: DeleteCustomAvailabilityZoneCommandOutput) => void
2004-
): Promise<DeleteCustomAvailabilityZoneCommandOutput> | void {
2005-
const command = new DeleteCustomAvailabilityZoneCommand(args);
2006-
if (typeof optionsOrCb === "function") {
2007-
this.send(command, optionsOrCb);
2008-
} else if (typeof cb === "function") {
2009-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2010-
this.send(command, optionsOrCb || {}, cb);
2011-
} else {
2012-
return this.send(command, optionsOrCb);
2013-
}
2014-
}
2015-
20161912
/**
20171913
* <p>Deletes a custom engine version. To run this command, make sure you meet the following prerequisites:</p>
20181914
* <ul>
@@ -2578,39 +2474,6 @@ export class RDS extends RDSClient {
25782474
}
25792475
}
25802476

2581-
/**
2582-
* <p>Deletes the installation medium for a DB engine that requires an on-premises customer provided license,
2583-
* such as Microsoft SQL Server.</p>
2584-
*/
2585-
public deleteInstallationMedia(
2586-
args: DeleteInstallationMediaCommandInput,
2587-
options?: __HttpHandlerOptions
2588-
): Promise<DeleteInstallationMediaCommandOutput>;
2589-
public deleteInstallationMedia(
2590-
args: DeleteInstallationMediaCommandInput,
2591-
cb: (err: any, data?: DeleteInstallationMediaCommandOutput) => void
2592-
): void;
2593-
public deleteInstallationMedia(
2594-
args: DeleteInstallationMediaCommandInput,
2595-
options: __HttpHandlerOptions,
2596-
cb: (err: any, data?: DeleteInstallationMediaCommandOutput) => void
2597-
): void;
2598-
public deleteInstallationMedia(
2599-
args: DeleteInstallationMediaCommandInput,
2600-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteInstallationMediaCommandOutput) => void),
2601-
cb?: (err: any, data?: DeleteInstallationMediaCommandOutput) => void
2602-
): Promise<DeleteInstallationMediaCommandOutput> | void {
2603-
const command = new DeleteInstallationMediaCommand(args);
2604-
if (typeof optionsOrCb === "function") {
2605-
this.send(command, optionsOrCb);
2606-
} else if (typeof cb === "function") {
2607-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2608-
this.send(command, optionsOrCb || {}, cb);
2609-
} else {
2610-
return this.send(command, optionsOrCb);
2611-
}
2612-
}
2613-
26142477
/**
26152478
* <p>Deletes an existing option group.</p>
26162479
*/
@@ -2740,43 +2603,6 @@ export class RDS extends RDSClient {
27402603
}
27412604
}
27422605

2743-
/**
2744-
* <p>Returns information about custom Availability Zones (AZs).</p>
2745-
* <p>A custom AZ is an on-premises AZ that is integrated with a VMware vSphere cluster.</p>
2746-
* <p>For more information about RDS on VMware, see the
2747-
* <a href="https://docs.aws.amazon.com/AmazonRDS/latest/RDSonVMwareUserGuide/rds-on-vmware.html">
2748-
* RDS on VMware User Guide.</a>
2749-
* </p>
2750-
*/
2751-
public describeCustomAvailabilityZones(
2752-
args: DescribeCustomAvailabilityZonesCommandInput,
2753-
options?: __HttpHandlerOptions
2754-
): Promise<DescribeCustomAvailabilityZonesCommandOutput>;
2755-
public describeCustomAvailabilityZones(
2756-
args: DescribeCustomAvailabilityZonesCommandInput,
2757-
cb: (err: any, data?: DescribeCustomAvailabilityZonesCommandOutput) => void
2758-
): void;
2759-
public describeCustomAvailabilityZones(
2760-
args: DescribeCustomAvailabilityZonesCommandInput,
2761-
options: __HttpHandlerOptions,
2762-
cb: (err: any, data?: DescribeCustomAvailabilityZonesCommandOutput) => void
2763-
): void;
2764-
public describeCustomAvailabilityZones(
2765-
args: DescribeCustomAvailabilityZonesCommandInput,
2766-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeCustomAvailabilityZonesCommandOutput) => void),
2767-
cb?: (err: any, data?: DescribeCustomAvailabilityZonesCommandOutput) => void
2768-
): Promise<DescribeCustomAvailabilityZonesCommandOutput> | void {
2769-
const command = new DescribeCustomAvailabilityZonesCommand(args);
2770-
if (typeof optionsOrCb === "function") {
2771-
this.send(command, optionsOrCb);
2772-
} else if (typeof cb === "function") {
2773-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2774-
this.send(command, optionsOrCb || {}, cb);
2775-
} else {
2776-
return this.send(command, optionsOrCb);
2777-
}
2778-
}
2779-
27802606
/**
27812607
* <p>Returns information about backtracks for a DB cluster.</p>
27822608
* <p>For more information on Amazon Aurora, see
@@ -3761,39 +3587,6 @@ export class RDS extends RDSClient {
37613587
}
37623588
}
37633589

3764-
/**
3765-
* <p>Describes the available installation media for a DB engine that requires an
3766-
* on-premises customer provided license, such as Microsoft SQL Server.</p>
3767-
*/
3768-
public describeInstallationMedia(
3769-
args: DescribeInstallationMediaCommandInput,
3770-
options?: __HttpHandlerOptions
3771-
): Promise<DescribeInstallationMediaCommandOutput>;
3772-
public describeInstallationMedia(
3773-
args: DescribeInstallationMediaCommandInput,
3774-
cb: (err: any, data?: DescribeInstallationMediaCommandOutput) => void
3775-
): void;
3776-
public describeInstallationMedia(
3777-
args: DescribeInstallationMediaCommandInput,
3778-
options: __HttpHandlerOptions,
3779-
cb: (err: any, data?: DescribeInstallationMediaCommandOutput) => void
3780-
): void;
3781-
public describeInstallationMedia(
3782-
args: DescribeInstallationMediaCommandInput,
3783-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeInstallationMediaCommandOutput) => void),
3784-
cb?: (err: any, data?: DescribeInstallationMediaCommandOutput) => void
3785-
): Promise<DescribeInstallationMediaCommandOutput> | void {
3786-
const command = new DescribeInstallationMediaCommand(args);
3787-
if (typeof optionsOrCb === "function") {
3788-
this.send(command, optionsOrCb);
3789-
} else if (typeof cb === "function") {
3790-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3791-
this.send(command, optionsOrCb || {}, cb);
3792-
} else {
3793-
return this.send(command, optionsOrCb);
3794-
}
3795-
}
3796-
37973590
/**
37983591
* <p>Describes all available options.</p>
37993592
*/
@@ -4178,39 +3971,6 @@ export class RDS extends RDSClient {
41783971
}
41793972
}
41803973

4181-
/**
4182-
* <p>Imports the installation media for a DB engine that requires an on-premises
4183-
* customer provided license, such as SQL Server.</p>
4184-
*/
4185-
public importInstallationMedia(
4186-
args: ImportInstallationMediaCommandInput,
4187-
options?: __HttpHandlerOptions
4188-
): Promise<ImportInstallationMediaCommandOutput>;
4189-
public importInstallationMedia(
4190-
args: ImportInstallationMediaCommandInput,
4191-
cb: (err: any, data?: ImportInstallationMediaCommandOutput) => void
4192-
): void;
4193-
public importInstallationMedia(
4194-
args: ImportInstallationMediaCommandInput,
4195-
options: __HttpHandlerOptions,
4196-
cb: (err: any, data?: ImportInstallationMediaCommandOutput) => void
4197-
): void;
4198-
public importInstallationMedia(
4199-
args: ImportInstallationMediaCommandInput,
4200-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ImportInstallationMediaCommandOutput) => void),
4201-
cb?: (err: any, data?: ImportInstallationMediaCommandOutput) => void
4202-
): Promise<ImportInstallationMediaCommandOutput> | void {
4203-
const command = new ImportInstallationMediaCommand(args);
4204-
if (typeof optionsOrCb === "function") {
4205-
this.send(command, optionsOrCb);
4206-
} else if (typeof cb === "function") {
4207-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
4208-
this.send(command, optionsOrCb || {}, cb);
4209-
} else {
4210-
return this.send(command, optionsOrCb);
4211-
}
4212-
}
4213-
42143974
/**
42153975
* <p>Lists all tags on an Amazon RDS resource.</p>
42163976
* <p>For an overview on tagging an Amazon RDS resource,
@@ -4248,7 +4008,7 @@ export class RDS extends RDSClient {
42484008

42494009
/**
42504010
* <p>Override the system-default Secure Sockets Layer/Transport Layer Security (SSL/TLS)
4251-
* certificate for Amazon RDS for new DB instances temporarily, or remove the override.</p>
4011+
* certificate for Amazon RDS for new DB instances, or remove the override.</p>
42524012
* <p>By using this operation, you can specify an RDS-approved SSL/TLS certificate for new DB
42534013
* instances that is different from the default certificate provided by RDS. You can also
42544014
* use this operation to remove the override, so that new DB instances use the default

0 commit comments

Comments
 (0)