Skip to content

Commit 72de496

Browse files
author
awstools
committed
feat(client-odb): This release adds APIs that allow you to specify CIDR ranges in your ODB peering connection.
1 parent bbe5fc5 commit 72de496

File tree

13 files changed

+461
-90
lines changed

13 files changed

+461
-90
lines changed

clients/client-odb/README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
AWS SDK for JavaScript Odb Client for Node.js, Browser and React Native.
88

9-
<p>Oracle Database@Amazon Web Services is an offering that enables you to access Oracle Exadata infrastructure managed by Oracle Cloud Infrastructure (OCI) inside Amazon Web Services data centers. You can migrate your Oracle Exadata workloads, establish low-latency connectivity with applications running on Amazon Web Services, and integrate with Amazon Web Services services. For example, you can run application servers in a virtual private cloud (VPC) and access an Oracle Exadata system running in Oracle Database@Amazon Web Services. You can get started with Oracle Database@Amazon Web Services by using the familiar Amazon Web Services Management Console, APIs, or CLI.</p> <p>This interface reference for Oracle Database@Amazon Web Services contains documentation for a programming or command line interface that you can use to manage Oracle Database@Amazon Web Services. Oracle Database@Amazon Web Services is asynchronous, which means that some interfaces might require techniques such as polling or callback functions to determine when a command has been applied. The reference structure is as follows.</p> <note> <p>In this preview release documentation, the links in the "See Also" sections do not work.</p> </note> <p> <b>Oracle Database@Amazon Web Services API Reference</b> </p> <ul> <li> <p>For the alphabetical list of API actions, see .</p> </li> <li> <p>For the alphabetical list of data types, see .</p> </li> <li> <p>For a list of common parameters, see <a>CommonParameters</a>.</p> </li> <li> <p>For descriptions of the error codes, see <a>CommonErrors</a>.</p> </li> </ul>
9+
<p>Oracle Database@Amazon Web Services is an offering that enables you to access Oracle Exadata infrastructure managed by Oracle Cloud Infrastructure (OCI) inside Amazon Web Services data centers. You can migrate your Oracle Exadata workloads, establish low-latency connectivity with applications running on Amazon Web Services, and integrate with Amazon Web Services services. For example, you can run application servers in a Virtual Private Cloud (VPC) and access an Oracle Exadata system running in Oracle Database@Amazon Web Services. You can get started with Oracle Database@Amazon Web Services by using the familiar Amazon Web Services Management Console, APIs, or CLI.</p> <p>This interface reference for Oracle Database@Amazon Web Services contains documentation for a programming or command line interface that you can use to manage Oracle Database@Amazon Web Services. Oracle Database@Amazon Web Services is asynchronous, which means that some interfaces might require techniques such as polling or callback functions to determine when a command has been applied. The reference structure is as follows.</p> <p> <b>Oracle Database@Amazon Web Services API Reference</b> </p> <ul> <li> <p>For the alphabetical list of API actions, see <a href="https://docs.aws.amazon.com/odb/latest/APIReference/API_Operations.html">API Actions</a>.</p> </li> <li> <p>For the alphabetical list of data types, see <a href="https://docs.aws.amazon.com/odb/latest/APIReference/API_Types.html">Data Types</a>.</p> </li> <li> <p>For a list of common query parameters, see <a href="https://docs.aws.amazon.com/odb/latest/APIReference/CommonParameters.html">Common Parameters</a>.</p> </li> <li> <p>For descriptions of the error codes, see <a href="https://docs.aws.amazon.com/odb/latest/APIReference/CommonErrors.html">Common Errors</a>.</p> </li> </ul>
1010

1111
## Installing
1212

@@ -523,3 +523,11 @@ UpdateOdbNetwork
523523
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/odb/command/UpdateOdbNetworkCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-odb/Interface/UpdateOdbNetworkCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-odb/Interface/UpdateOdbNetworkCommandOutput/)
524524

525525
</details>
526+
<details>
527+
<summary>
528+
UpdateOdbPeeringConnection
529+
</summary>
530+
531+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/odb/command/UpdateOdbPeeringConnectionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-odb/Interface/UpdateOdbPeeringConnectionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-odb/Interface/UpdateOdbPeeringConnectionCommandOutput/)
532+
533+
</details>

clients/client-odb/src/Odb.ts

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,11 @@ import {
178178
UpdateOdbNetworkCommandInput,
179179
UpdateOdbNetworkCommandOutput,
180180
} from "./commands/UpdateOdbNetworkCommand";
181+
import {
182+
UpdateOdbPeeringConnectionCommand,
183+
UpdateOdbPeeringConnectionCommandInput,
184+
UpdateOdbPeeringConnectionCommandOutput,
185+
} from "./commands/UpdateOdbPeeringConnectionCommand";
181186
import { OdbClient, OdbClientConfig } from "./OdbClient";
182187

183188
const commands = {
@@ -221,6 +226,7 @@ const commands = {
221226
UntagResourceCommand,
222227
UpdateCloudExadataInfrastructureCommand,
223228
UpdateOdbNetworkCommand,
229+
UpdateOdbPeeringConnectionCommand,
224230
};
225231

226232
export interface Odb {
@@ -846,10 +852,27 @@ export interface Odb {
846852
options: __HttpHandlerOptions,
847853
cb: (err: any, data?: UpdateOdbNetworkCommandOutput) => void
848854
): void;
855+
856+
/**
857+
* @see {@link UpdateOdbPeeringConnectionCommand}
858+
*/
859+
updateOdbPeeringConnection(
860+
args: UpdateOdbPeeringConnectionCommandInput,
861+
options?: __HttpHandlerOptions
862+
): Promise<UpdateOdbPeeringConnectionCommandOutput>;
863+
updateOdbPeeringConnection(
864+
args: UpdateOdbPeeringConnectionCommandInput,
865+
cb: (err: any, data?: UpdateOdbPeeringConnectionCommandOutput) => void
866+
): void;
867+
updateOdbPeeringConnection(
868+
args: UpdateOdbPeeringConnectionCommandInput,
869+
options: __HttpHandlerOptions,
870+
cb: (err: any, data?: UpdateOdbPeeringConnectionCommandOutput) => void
871+
): void;
849872
}
850873

851874
/**
852-
* <p>Oracle Database@Amazon Web Services is an offering that enables you to access Oracle Exadata infrastructure managed by Oracle Cloud Infrastructure (OCI) inside Amazon Web Services data centers. You can migrate your Oracle Exadata workloads, establish low-latency connectivity with applications running on Amazon Web Services, and integrate with Amazon Web Services services. For example, you can run application servers in a virtual private cloud (VPC) and access an Oracle Exadata system running in Oracle Database@Amazon Web Services. You can get started with Oracle Database@Amazon Web Services by using the familiar Amazon Web Services Management Console, APIs, or CLI.</p> <p>This interface reference for Oracle Database@Amazon Web Services contains documentation for a programming or command line interface that you can use to manage Oracle Database@Amazon Web Services. Oracle Database@Amazon Web Services is asynchronous, which means that some interfaces might require techniques such as polling or callback functions to determine when a command has been applied. The reference structure is as follows.</p> <note> <p>In this preview release documentation, the links in the "See Also" sections do not work.</p> </note> <p> <b>Oracle Database@Amazon Web Services API Reference</b> </p> <ul> <li> <p>For the alphabetical list of API actions, see .</p> </li> <li> <p>For the alphabetical list of data types, see .</p> </li> <li> <p>For a list of common parameters, see <a>CommonParameters</a>.</p> </li> <li> <p>For descriptions of the error codes, see <a>CommonErrors</a>.</p> </li> </ul>
875+
* <p>Oracle Database@Amazon Web Services is an offering that enables you to access Oracle Exadata infrastructure managed by Oracle Cloud Infrastructure (OCI) inside Amazon Web Services data centers. You can migrate your Oracle Exadata workloads, establish low-latency connectivity with applications running on Amazon Web Services, and integrate with Amazon Web Services services. For example, you can run application servers in a Virtual Private Cloud (VPC) and access an Oracle Exadata system running in Oracle Database@Amazon Web Services. You can get started with Oracle Database@Amazon Web Services by using the familiar Amazon Web Services Management Console, APIs, or CLI.</p> <p>This interface reference for Oracle Database@Amazon Web Services contains documentation for a programming or command line interface that you can use to manage Oracle Database@Amazon Web Services. Oracle Database@Amazon Web Services is asynchronous, which means that some interfaces might require techniques such as polling or callback functions to determine when a command has been applied. The reference structure is as follows.</p> <p> <b>Oracle Database@Amazon Web Services API Reference</b> </p> <ul> <li> <p>For the alphabetical list of API actions, see <a href="https://docs.aws.amazon.com/odb/latest/APIReference/API_Operations.html">API Actions</a>.</p> </li> <li> <p>For the alphabetical list of data types, see <a href="https://docs.aws.amazon.com/odb/latest/APIReference/API_Types.html">Data Types</a>.</p> </li> <li> <p>For a list of common query parameters, see <a href="https://docs.aws.amazon.com/odb/latest/APIReference/CommonParameters.html">Common Parameters</a>.</p> </li> <li> <p>For descriptions of the error codes, see <a href="https://docs.aws.amazon.com/odb/latest/APIReference/CommonErrors.html">Common Errors</a>.</p> </li> </ul>
853876
* @public
854877
*/
855878
export class Odb extends OdbClient implements Odb {}

clients/client-odb/src/OdbClient.ts

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,10 @@ import {
156156
UpdateCloudExadataInfrastructureCommandOutput,
157157
} from "./commands/UpdateCloudExadataInfrastructureCommand";
158158
import { UpdateOdbNetworkCommandInput, UpdateOdbNetworkCommandOutput } from "./commands/UpdateOdbNetworkCommand";
159+
import {
160+
UpdateOdbPeeringConnectionCommandInput,
161+
UpdateOdbPeeringConnectionCommandOutput,
162+
} from "./commands/UpdateOdbPeeringConnectionCommand";
159163
import {
160164
ClientInputEndpointParameters,
161165
ClientResolvedEndpointParameters,
@@ -210,7 +214,8 @@ export type ServiceInputTypes =
210214
| TagResourceCommandInput
211215
| UntagResourceCommandInput
212216
| UpdateCloudExadataInfrastructureCommandInput
213-
| UpdateOdbNetworkCommandInput;
217+
| UpdateOdbNetworkCommandInput
218+
| UpdateOdbPeeringConnectionCommandInput;
214219

215220
/**
216221
* @public
@@ -255,7 +260,8 @@ export type ServiceOutputTypes =
255260
| TagResourceCommandOutput
256261
| UntagResourceCommandOutput
257262
| UpdateCloudExadataInfrastructureCommandOutput
258-
| UpdateOdbNetworkCommandOutput;
263+
| UpdateOdbNetworkCommandOutput
264+
| UpdateOdbPeeringConnectionCommandOutput;
259265

260266
/**
261267
* @public
@@ -448,7 +454,7 @@ export type OdbClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHa
448454
export interface OdbClientResolvedConfig extends OdbClientResolvedConfigType {}
449455

450456
/**
451-
* <p>Oracle Database@Amazon Web Services is an offering that enables you to access Oracle Exadata infrastructure managed by Oracle Cloud Infrastructure (OCI) inside Amazon Web Services data centers. You can migrate your Oracle Exadata workloads, establish low-latency connectivity with applications running on Amazon Web Services, and integrate with Amazon Web Services services. For example, you can run application servers in a virtual private cloud (VPC) and access an Oracle Exadata system running in Oracle Database@Amazon Web Services. You can get started with Oracle Database@Amazon Web Services by using the familiar Amazon Web Services Management Console, APIs, or CLI.</p> <p>This interface reference for Oracle Database@Amazon Web Services contains documentation for a programming or command line interface that you can use to manage Oracle Database@Amazon Web Services. Oracle Database@Amazon Web Services is asynchronous, which means that some interfaces might require techniques such as polling or callback functions to determine when a command has been applied. The reference structure is as follows.</p> <note> <p>In this preview release documentation, the links in the "See Also" sections do not work.</p> </note> <p> <b>Oracle Database@Amazon Web Services API Reference</b> </p> <ul> <li> <p>For the alphabetical list of API actions, see .</p> </li> <li> <p>For the alphabetical list of data types, see .</p> </li> <li> <p>For a list of common parameters, see <a>CommonParameters</a>.</p> </li> <li> <p>For descriptions of the error codes, see <a>CommonErrors</a>.</p> </li> </ul>
457+
* <p>Oracle Database@Amazon Web Services is an offering that enables you to access Oracle Exadata infrastructure managed by Oracle Cloud Infrastructure (OCI) inside Amazon Web Services data centers. You can migrate your Oracle Exadata workloads, establish low-latency connectivity with applications running on Amazon Web Services, and integrate with Amazon Web Services services. For example, you can run application servers in a Virtual Private Cloud (VPC) and access an Oracle Exadata system running in Oracle Database@Amazon Web Services. You can get started with Oracle Database@Amazon Web Services by using the familiar Amazon Web Services Management Console, APIs, or CLI.</p> <p>This interface reference for Oracle Database@Amazon Web Services contains documentation for a programming or command line interface that you can use to manage Oracle Database@Amazon Web Services. Oracle Database@Amazon Web Services is asynchronous, which means that some interfaces might require techniques such as polling or callback functions to determine when a command has been applied. The reference structure is as follows.</p> <p> <b>Oracle Database@Amazon Web Services API Reference</b> </p> <ul> <li> <p>For the alphabetical list of API actions, see <a href="https://docs.aws.amazon.com/odb/latest/APIReference/API_Operations.html">API Actions</a>.</p> </li> <li> <p>For the alphabetical list of data types, see <a href="https://docs.aws.amazon.com/odb/latest/APIReference/API_Types.html">Data Types</a>.</p> </li> <li> <p>For a list of common query parameters, see <a href="https://docs.aws.amazon.com/odb/latest/APIReference/CommonParameters.html">Common Parameters</a>.</p> </li> <li> <p>For descriptions of the error codes, see <a href="https://docs.aws.amazon.com/odb/latest/APIReference/CommonErrors.html">Common Errors</a>.</p> </li> </ul>
452458
* @public
453459
*/
454460
export class OdbClient extends __Client<

clients/client-odb/src/commands/CreateOdbPeeringConnectionCommand.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export interface CreateOdbPeeringConnectionCommandInput extends CreateOdbPeering
2828
export interface CreateOdbPeeringConnectionCommandOutput extends CreateOdbPeeringConnectionOutput, __MetadataBearer {}
2929

3030
/**
31-
* <p>Creates a peering connection between an ODB network and either another ODB network or a customer-owned VPC.</p> <p>A peering connection enables private connectivity between the networks for application-tier communication.</p>
31+
* <p>Creates a peering connection between an ODB network and a VPC.</p> <p>A peering connection enables private connectivity between the networks for application-tier communication.</p>
3232
* @example
3333
* Use a bare-bones client and the command you need to make an API call.
3434
* ```javascript
@@ -41,6 +41,9 @@ export interface CreateOdbPeeringConnectionCommandOutput extends CreateOdbPeerin
4141
* odbNetworkId: "STRING_VALUE", // required
4242
* peerNetworkId: "STRING_VALUE", // required
4343
* displayName: "STRING_VALUE",
44+
* peerNetworkCidrsToBeAdded: [ // PeeredCidrList
45+
* "STRING_VALUE",
46+
* ],
4447
* clientToken: "STRING_VALUE",
4548
* tags: { // RequestTagMap
4649
* "<keys>": "STRING_VALUE",

clients/client-odb/src/commands/GetOdbPeeringConnectionCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ export interface GetOdbPeeringConnectionCommandOutput extends GetOdbPeeringConne
5252
* // odbNetworkArn: "STRING_VALUE",
5353
* // peerNetworkArn: "STRING_VALUE",
5454
* // odbPeeringConnectionType: "STRING_VALUE",
55+
* // peerNetworkCidrs: [ // PeeredCidrList
56+
* // "STRING_VALUE",
57+
* // ],
5558
* // createdAt: new Date("TIMESTAMP"),
5659
* // percentProgress: Number("float"),
5760
* // },

clients/client-odb/src/commands/ListOdbPeeringConnectionsCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ export interface ListOdbPeeringConnectionsCommandOutput extends ListOdbPeeringCo
5656
* // odbNetworkArn: "STRING_VALUE",
5757
* // peerNetworkArn: "STRING_VALUE",
5858
* // odbPeeringConnectionType: "STRING_VALUE",
59+
* // peerNetworkCidrs: [ // PeeredCidrList
60+
* // "STRING_VALUE",
61+
* // ],
5962
* // createdAt: new Date("TIMESTAMP"),
6063
* // percentProgress: Number("float"),
6164
* // },

0 commit comments

Comments
 (0)