@aws-sdk/client-odb 3.906.0 → 3.908.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  AWS SDK for JavaScript Odb Client for Node.js, Browser and React Native.
8
8
 
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>
10
10
 
11
11
  ## Installing
12
12
 
@@ -523,3 +523,11 @@ UpdateOdbNetwork
523
523
  [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/)
524
524
 
525
525
  </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>
@@ -2,6 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
4
  const s = "required", t = "fn", u = "argv", v = "ref";
5
- const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "String" }, i = { [s]: true, "default": false, "type": "Boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
5
+ const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "string" }, i = { [s]: true, "default": false, "type": "boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
6
6
  const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }], type: f }, { rules: [{ conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ rules: [{ endpoint: { url: "https://odb-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ rules: [{ endpoint: { url: "https://odb-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ rules: [{ endpoint: { url: "https://odb.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { rules: [{ endpoint: { url: "https://odb.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
7
7
  exports.ruleSet = _data;
package/dist-cjs/index.js CHANGED
@@ -640,6 +640,12 @@ const se_UpdateOdbNetworkCommand = async (input, context) => {
640
640
  body = JSON.stringify(smithyClient._json(input));
641
641
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
642
642
  };
643
+ const se_UpdateOdbPeeringConnectionCommand = async (input, context) => {
644
+ const headers = sharedHeaders("UpdateOdbPeeringConnection");
645
+ let body;
646
+ body = JSON.stringify(smithyClient._json(input));
647
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
648
+ };
643
649
  const de_AcceptMarketplaceRegistrationCommand = async (output, context) => {
644
650
  if (output.statusCode >= 300) {
645
651
  return de_CommandError(output, context);
@@ -1160,6 +1166,19 @@ const de_UpdateOdbNetworkCommand = async (output, context) => {
1160
1166
  };
1161
1167
  return response;
1162
1168
  };
1169
+ const de_UpdateOdbPeeringConnectionCommand = async (output, context) => {
1170
+ if (output.statusCode >= 300) {
1171
+ return de_CommandError(output, context);
1172
+ }
1173
+ const data = await core$1.parseJsonBody(output.body, context);
1174
+ let contents = {};
1175
+ contents = smithyClient._json(data);
1176
+ const response = {
1177
+ $metadata: deserializeMetadata(output),
1178
+ ...contents,
1179
+ };
1180
+ return response;
1181
+ };
1163
1182
  const de_CommandError = async (output, context) => {
1164
1183
  const parsedOutput = {
1165
1184
  ...output,
@@ -1343,6 +1362,7 @@ const se_CreateOdbPeeringConnectionInput = (input, context) => {
1343
1362
  clientToken: [true, (_) => _ ?? uuid.v4()],
1344
1363
  displayName: [],
1345
1364
  odbNetworkId: [],
1365
+ peerNetworkCidrsToBeAdded: smithyClient._json,
1346
1366
  peerNetworkId: [],
1347
1367
  tags: smithyClient._json,
1348
1368
  });
@@ -1949,6 +1969,7 @@ const de_OdbPeeringConnection = (output, context) => {
1949
1969
  odbPeeringConnectionId: smithyClient.expectString,
1950
1970
  odbPeeringConnectionType: smithyClient.expectString,
1951
1971
  peerNetworkArn: smithyClient.expectString,
1972
+ peerNetworkCidrs: smithyClient._json,
1952
1973
  percentProgress: smithyClient.limitedParseFloat32,
1953
1974
  status: smithyClient.expectString,
1954
1975
  statusReason: smithyClient.expectString,
@@ -1971,6 +1992,7 @@ const de_OdbPeeringConnectionSummary = (output, context) => {
1971
1992
  odbPeeringConnectionId: smithyClient.expectString,
1972
1993
  odbPeeringConnectionType: smithyClient.expectString,
1973
1994
  peerNetworkArn: smithyClient.expectString,
1995
+ peerNetworkCidrs: smithyClient._json,
1974
1996
  percentProgress: smithyClient.limitedParseFloat32,
1975
1997
  status: smithyClient.expectString,
1976
1998
  statusReason: smithyClient.expectString,
@@ -2685,6 +2707,23 @@ class UpdateOdbNetworkCommand extends smithyClient.Command
2685
2707
  .build() {
2686
2708
  }
2687
2709
 
2710
+ class UpdateOdbPeeringConnectionCommand extends smithyClient.Command
2711
+ .classBuilder()
2712
+ .ep(commonParams)
2713
+ .m(function (Command, cs, config, o) {
2714
+ return [
2715
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2716
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2717
+ ];
2718
+ })
2719
+ .s("Odb", "UpdateOdbPeeringConnection", {})
2720
+ .n("OdbClient", "UpdateOdbPeeringConnectionCommand")
2721
+ .f(void 0, void 0)
2722
+ .ser(se_UpdateOdbPeeringConnectionCommand)
2723
+ .de(de_UpdateOdbPeeringConnectionCommand)
2724
+ .build() {
2725
+ }
2726
+
2688
2727
  const commands = {
2689
2728
  AcceptMarketplaceRegistrationCommand,
2690
2729
  CreateCloudAutonomousVmClusterCommand,
@@ -2726,6 +2765,7 @@ const commands = {
2726
2765
  UntagResourceCommand,
2727
2766
  UpdateCloudExadataInfrastructureCommand,
2728
2767
  UpdateOdbNetworkCommand,
2768
+ UpdateOdbPeeringConnectionCommand,
2729
2769
  };
2730
2770
  class Odb extends OdbClient {
2731
2771
  }
@@ -2837,6 +2877,7 @@ exports.ThrottlingException = ThrottlingException;
2837
2877
  exports.UntagResourceCommand = UntagResourceCommand;
2838
2878
  exports.UpdateCloudExadataInfrastructureCommand = UpdateCloudExadataInfrastructureCommand;
2839
2879
  exports.UpdateOdbNetworkCommand = UpdateOdbNetworkCommand;
2880
+ exports.UpdateOdbPeeringConnectionCommand = UpdateOdbPeeringConnectionCommand;
2840
2881
  exports.ValidationException = ValidationException;
2841
2882
  exports.ValidationExceptionReason = ValidationExceptionReason;
2842
2883
  exports.VpcEndpointType = VpcEndpointType;
package/dist-es/Odb.js CHANGED
@@ -39,6 +39,7 @@ import { TagResourceCommand } from "./commands/TagResourceCommand";
39
39
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
40
40
  import { UpdateCloudExadataInfrastructureCommand, } from "./commands/UpdateCloudExadataInfrastructureCommand";
41
41
  import { UpdateOdbNetworkCommand, } from "./commands/UpdateOdbNetworkCommand";
42
+ import { UpdateOdbPeeringConnectionCommand, } from "./commands/UpdateOdbPeeringConnectionCommand";
42
43
  import { OdbClient } from "./OdbClient";
43
44
  const commands = {
44
45
  AcceptMarketplaceRegistrationCommand,
@@ -81,6 +82,7 @@ const commands = {
81
82
  UntagResourceCommand,
82
83
  UpdateCloudExadataInfrastructureCommand,
83
84
  UpdateOdbNetworkCommand,
85
+ UpdateOdbPeeringConnectionCommand,
84
86
  };
85
87
  export class Odb extends OdbClient {
86
88
  }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_UpdateOdbPeeringConnectionCommand, se_UpdateOdbPeeringConnectionCommand } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class UpdateOdbPeeringConnectionCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("Odb", "UpdateOdbPeeringConnection", {})
17
+ .n("OdbClient", "UpdateOdbPeeringConnectionCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_UpdateOdbPeeringConnectionCommand)
20
+ .de(de_UpdateOdbPeeringConnectionCommand)
21
+ .build() {
22
+ }
@@ -38,3 +38,4 @@ export * from "./TagResourceCommand";
38
38
  export * from "./UntagResourceCommand";
39
39
  export * from "./UpdateCloudExadataInfrastructureCommand";
40
40
  export * from "./UpdateOdbNetworkCommand";
41
+ export * from "./UpdateOdbPeeringConnectionCommand";
@@ -1,4 +1,4 @@
1
1
  const s = "required", t = "fn", u = "argv", v = "ref";
2
- const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "String" }, i = { [s]: true, "default": false, "type": "Boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
2
+ const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "string" }, i = { [s]: true, "default": false, "type": "boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
3
3
  const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }], type: f }, { rules: [{ conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ rules: [{ endpoint: { url: "https://odb-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ rules: [{ endpoint: { url: "https://odb-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ rules: [{ endpoint: { url: "https://odb.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { rules: [{ endpoint: { url: "https://odb.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
4
4
  export const ruleSet = _data;
@@ -244,6 +244,12 @@ export const se_UpdateOdbNetworkCommand = async (input, context) => {
244
244
  body = JSON.stringify(_json(input));
245
245
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
246
246
  };
247
+ export const se_UpdateOdbPeeringConnectionCommand = async (input, context) => {
248
+ const headers = sharedHeaders("UpdateOdbPeeringConnection");
249
+ let body;
250
+ body = JSON.stringify(_json(input));
251
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
252
+ };
247
253
  export const de_AcceptMarketplaceRegistrationCommand = async (output, context) => {
248
254
  if (output.statusCode >= 300) {
249
255
  return de_CommandError(output, context);
@@ -764,6 +770,19 @@ export const de_UpdateOdbNetworkCommand = async (output, context) => {
764
770
  };
765
771
  return response;
766
772
  };
773
+ export const de_UpdateOdbPeeringConnectionCommand = async (output, context) => {
774
+ if (output.statusCode >= 300) {
775
+ return de_CommandError(output, context);
776
+ }
777
+ const data = await parseBody(output.body, context);
778
+ let contents = {};
779
+ contents = _json(data);
780
+ const response = {
781
+ $metadata: deserializeMetadata(output),
782
+ ...contents,
783
+ };
784
+ return response;
785
+ };
767
786
  const de_CommandError = async (output, context) => {
768
787
  const parsedOutput = {
769
788
  ...output,
@@ -947,6 +966,7 @@ const se_CreateOdbPeeringConnectionInput = (input, context) => {
947
966
  clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
948
967
  displayName: [],
949
968
  odbNetworkId: [],
969
+ peerNetworkCidrsToBeAdded: _json,
950
970
  peerNetworkId: [],
951
971
  tags: _json,
952
972
  });
@@ -1553,6 +1573,7 @@ const de_OdbPeeringConnection = (output, context) => {
1553
1573
  odbPeeringConnectionId: __expectString,
1554
1574
  odbPeeringConnectionType: __expectString,
1555
1575
  peerNetworkArn: __expectString,
1576
+ peerNetworkCidrs: _json,
1556
1577
  percentProgress: __limitedParseFloat32,
1557
1578
  status: __expectString,
1558
1579
  statusReason: __expectString,
@@ -1575,6 +1596,7 @@ const de_OdbPeeringConnectionSummary = (output, context) => {
1575
1596
  odbPeeringConnectionId: __expectString,
1576
1597
  odbPeeringConnectionType: __expectString,
1577
1598
  peerNetworkArn: __expectString,
1599
+ peerNetworkCidrs: _json,
1578
1600
  percentProgress: __limitedParseFloat32,
1579
1601
  status: __expectString,
1580
1602
  statusReason: __expectString,
@@ -39,6 +39,7 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
39
39
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
40
40
  import { UpdateCloudExadataInfrastructureCommandInput, UpdateCloudExadataInfrastructureCommandOutput } from "./commands/UpdateCloudExadataInfrastructureCommand";
41
41
  import { UpdateOdbNetworkCommandInput, UpdateOdbNetworkCommandOutput } from "./commands/UpdateOdbNetworkCommand";
42
+ import { UpdateOdbPeeringConnectionCommandInput, UpdateOdbPeeringConnectionCommandOutput } from "./commands/UpdateOdbPeeringConnectionCommand";
42
43
  import { OdbClient } from "./OdbClient";
43
44
  export interface Odb {
44
45
  /**
@@ -290,9 +291,15 @@ export interface Odb {
290
291
  updateOdbNetwork(args: UpdateOdbNetworkCommandInput, options?: __HttpHandlerOptions): Promise<UpdateOdbNetworkCommandOutput>;
291
292
  updateOdbNetwork(args: UpdateOdbNetworkCommandInput, cb: (err: any, data?: UpdateOdbNetworkCommandOutput) => void): void;
292
293
  updateOdbNetwork(args: UpdateOdbNetworkCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateOdbNetworkCommandOutput) => void): void;
294
+ /**
295
+ * @see {@link UpdateOdbPeeringConnectionCommand}
296
+ */
297
+ updateOdbPeeringConnection(args: UpdateOdbPeeringConnectionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateOdbPeeringConnectionCommandOutput>;
298
+ updateOdbPeeringConnection(args: UpdateOdbPeeringConnectionCommandInput, cb: (err: any, data?: UpdateOdbPeeringConnectionCommandOutput) => void): void;
299
+ updateOdbPeeringConnection(args: UpdateOdbPeeringConnectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateOdbPeeringConnectionCommandOutput) => void): void;
293
300
  }
294
301
  /**
295
- * <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>
302
+ * <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>
296
303
  * @public
297
304
  */
298
305
  export declare class Odb extends OdbClient implements Odb {
@@ -47,17 +47,18 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
47
47
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
48
48
  import { UpdateCloudExadataInfrastructureCommandInput, UpdateCloudExadataInfrastructureCommandOutput } from "./commands/UpdateCloudExadataInfrastructureCommand";
49
49
  import { UpdateOdbNetworkCommandInput, UpdateOdbNetworkCommandOutput } from "./commands/UpdateOdbNetworkCommand";
50
+ import { UpdateOdbPeeringConnectionCommandInput, UpdateOdbPeeringConnectionCommandOutput } from "./commands/UpdateOdbPeeringConnectionCommand";
50
51
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
51
52
  import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
52
53
  export { __Client };
53
54
  /**
54
55
  * @public
55
56
  */
56
- export type ServiceInputTypes = AcceptMarketplaceRegistrationCommandInput | CreateCloudAutonomousVmClusterCommandInput | CreateCloudExadataInfrastructureCommandInput | CreateCloudVmClusterCommandInput | CreateOdbNetworkCommandInput | CreateOdbPeeringConnectionCommandInput | DeleteCloudAutonomousVmClusterCommandInput | DeleteCloudExadataInfrastructureCommandInput | DeleteCloudVmClusterCommandInput | DeleteOdbNetworkCommandInput | DeleteOdbPeeringConnectionCommandInput | GetCloudAutonomousVmClusterCommandInput | GetCloudExadataInfrastructureCommandInput | GetCloudExadataInfrastructureUnallocatedResourcesCommandInput | GetCloudVmClusterCommandInput | GetDbNodeCommandInput | GetDbServerCommandInput | GetOciOnboardingStatusCommandInput | GetOdbNetworkCommandInput | GetOdbPeeringConnectionCommandInput | InitializeServiceCommandInput | ListAutonomousVirtualMachinesCommandInput | ListCloudAutonomousVmClustersCommandInput | ListCloudExadataInfrastructuresCommandInput | ListCloudVmClustersCommandInput | ListDbNodesCommandInput | ListDbServersCommandInput | ListDbSystemShapesCommandInput | ListGiVersionsCommandInput | ListOdbNetworksCommandInput | ListOdbPeeringConnectionsCommandInput | ListSystemVersionsCommandInput | ListTagsForResourceCommandInput | RebootDbNodeCommandInput | StartDbNodeCommandInput | StopDbNodeCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateCloudExadataInfrastructureCommandInput | UpdateOdbNetworkCommandInput;
57
+ export type ServiceInputTypes = AcceptMarketplaceRegistrationCommandInput | CreateCloudAutonomousVmClusterCommandInput | CreateCloudExadataInfrastructureCommandInput | CreateCloudVmClusterCommandInput | CreateOdbNetworkCommandInput | CreateOdbPeeringConnectionCommandInput | DeleteCloudAutonomousVmClusterCommandInput | DeleteCloudExadataInfrastructureCommandInput | DeleteCloudVmClusterCommandInput | DeleteOdbNetworkCommandInput | DeleteOdbPeeringConnectionCommandInput | GetCloudAutonomousVmClusterCommandInput | GetCloudExadataInfrastructureCommandInput | GetCloudExadataInfrastructureUnallocatedResourcesCommandInput | GetCloudVmClusterCommandInput | GetDbNodeCommandInput | GetDbServerCommandInput | GetOciOnboardingStatusCommandInput | GetOdbNetworkCommandInput | GetOdbPeeringConnectionCommandInput | InitializeServiceCommandInput | ListAutonomousVirtualMachinesCommandInput | ListCloudAutonomousVmClustersCommandInput | ListCloudExadataInfrastructuresCommandInput | ListCloudVmClustersCommandInput | ListDbNodesCommandInput | ListDbServersCommandInput | ListDbSystemShapesCommandInput | ListGiVersionsCommandInput | ListOdbNetworksCommandInput | ListOdbPeeringConnectionsCommandInput | ListSystemVersionsCommandInput | ListTagsForResourceCommandInput | RebootDbNodeCommandInput | StartDbNodeCommandInput | StopDbNodeCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateCloudExadataInfrastructureCommandInput | UpdateOdbNetworkCommandInput | UpdateOdbPeeringConnectionCommandInput;
57
58
  /**
58
59
  * @public
59
60
  */
60
- export type ServiceOutputTypes = AcceptMarketplaceRegistrationCommandOutput | CreateCloudAutonomousVmClusterCommandOutput | CreateCloudExadataInfrastructureCommandOutput | CreateCloudVmClusterCommandOutput | CreateOdbNetworkCommandOutput | CreateOdbPeeringConnectionCommandOutput | DeleteCloudAutonomousVmClusterCommandOutput | DeleteCloudExadataInfrastructureCommandOutput | DeleteCloudVmClusterCommandOutput | DeleteOdbNetworkCommandOutput | DeleteOdbPeeringConnectionCommandOutput | GetCloudAutonomousVmClusterCommandOutput | GetCloudExadataInfrastructureCommandOutput | GetCloudExadataInfrastructureUnallocatedResourcesCommandOutput | GetCloudVmClusterCommandOutput | GetDbNodeCommandOutput | GetDbServerCommandOutput | GetOciOnboardingStatusCommandOutput | GetOdbNetworkCommandOutput | GetOdbPeeringConnectionCommandOutput | InitializeServiceCommandOutput | ListAutonomousVirtualMachinesCommandOutput | ListCloudAutonomousVmClustersCommandOutput | ListCloudExadataInfrastructuresCommandOutput | ListCloudVmClustersCommandOutput | ListDbNodesCommandOutput | ListDbServersCommandOutput | ListDbSystemShapesCommandOutput | ListGiVersionsCommandOutput | ListOdbNetworksCommandOutput | ListOdbPeeringConnectionsCommandOutput | ListSystemVersionsCommandOutput | ListTagsForResourceCommandOutput | RebootDbNodeCommandOutput | StartDbNodeCommandOutput | StopDbNodeCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateCloudExadataInfrastructureCommandOutput | UpdateOdbNetworkCommandOutput;
61
+ export type ServiceOutputTypes = AcceptMarketplaceRegistrationCommandOutput | CreateCloudAutonomousVmClusterCommandOutput | CreateCloudExadataInfrastructureCommandOutput | CreateCloudVmClusterCommandOutput | CreateOdbNetworkCommandOutput | CreateOdbPeeringConnectionCommandOutput | DeleteCloudAutonomousVmClusterCommandOutput | DeleteCloudExadataInfrastructureCommandOutput | DeleteCloudVmClusterCommandOutput | DeleteOdbNetworkCommandOutput | DeleteOdbPeeringConnectionCommandOutput | GetCloudAutonomousVmClusterCommandOutput | GetCloudExadataInfrastructureCommandOutput | GetCloudExadataInfrastructureUnallocatedResourcesCommandOutput | GetCloudVmClusterCommandOutput | GetDbNodeCommandOutput | GetDbServerCommandOutput | GetOciOnboardingStatusCommandOutput | GetOdbNetworkCommandOutput | GetOdbPeeringConnectionCommandOutput | InitializeServiceCommandOutput | ListAutonomousVirtualMachinesCommandOutput | ListCloudAutonomousVmClustersCommandOutput | ListCloudExadataInfrastructuresCommandOutput | ListCloudVmClustersCommandOutput | ListDbNodesCommandOutput | ListDbServersCommandOutput | ListDbSystemShapesCommandOutput | ListGiVersionsCommandOutput | ListOdbNetworksCommandOutput | ListOdbPeeringConnectionsCommandOutput | ListSystemVersionsCommandOutput | ListTagsForResourceCommandOutput | RebootDbNodeCommandOutput | StartDbNodeCommandOutput | StopDbNodeCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateCloudExadataInfrastructureCommandOutput | UpdateOdbNetworkCommandOutput | UpdateOdbPeeringConnectionCommandOutput;
61
62
  /**
62
63
  * @public
63
64
  */
@@ -209,7 +210,7 @@ export type OdbClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHa
209
210
  export interface OdbClientResolvedConfig extends OdbClientResolvedConfigType {
210
211
  }
211
212
  /**
212
- * <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>
213
+ * <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>
213
214
  * @public
214
215
  */
215
216
  export declare class OdbClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, OdbClientResolvedConfig> {
@@ -27,7 +27,7 @@ declare const CreateOdbPeeringConnectionCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <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>
30
+ * <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>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -40,6 +40,9 @@ declare const CreateOdbPeeringConnectionCommand_base: {
40
40
  * odbNetworkId: "STRING_VALUE", // required
41
41
  * peerNetworkId: "STRING_VALUE", // required
42
42
  * displayName: "STRING_VALUE",
43
+ * peerNetworkCidrsToBeAdded: [ // PeeredCidrList
44
+ * "STRING_VALUE",
45
+ * ],
43
46
  * clientToken: "STRING_VALUE",
44
47
  * tags: { // RequestTagMap
45
48
  * "<keys>": "STRING_VALUE",
@@ -51,6 +51,9 @@ declare const GetOdbPeeringConnectionCommand_base: {
51
51
  * // odbNetworkArn: "STRING_VALUE",
52
52
  * // peerNetworkArn: "STRING_VALUE",
53
53
  * // odbPeeringConnectionType: "STRING_VALUE",
54
+ * // peerNetworkCidrs: [ // PeeredCidrList
55
+ * // "STRING_VALUE",
56
+ * // ],
54
57
  * // createdAt: new Date("TIMESTAMP"),
55
58
  * // percentProgress: Number("float"),
56
59
  * // },
@@ -55,6 +55,9 @@ declare const ListOdbPeeringConnectionsCommand_base: {
55
55
  * // odbNetworkArn: "STRING_VALUE",
56
56
  * // peerNetworkArn: "STRING_VALUE",
57
57
  * // odbPeeringConnectionType: "STRING_VALUE",
58
+ * // peerNetworkCidrs: [ // PeeredCidrList
59
+ * // "STRING_VALUE",
60
+ * // ],
58
61
  * // createdAt: new Date("TIMESTAMP"),
59
62
  * // percentProgress: Number("float"),
60
63
  * // },
@@ -0,0 +1,102 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { UpdateOdbPeeringConnectionInput, UpdateOdbPeeringConnectionOutput } from "../models/models_0";
4
+ import { OdbClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OdbClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateOdbPeeringConnectionCommand}.
14
+ */
15
+ export interface UpdateOdbPeeringConnectionCommandInput extends UpdateOdbPeeringConnectionInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateOdbPeeringConnectionCommand}.
21
+ */
22
+ export interface UpdateOdbPeeringConnectionCommandOutput extends UpdateOdbPeeringConnectionOutput, __MetadataBearer {
23
+ }
24
+ declare const UpdateOdbPeeringConnectionCommand_base: {
25
+ new (input: UpdateOdbPeeringConnectionCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateOdbPeeringConnectionCommandInput, UpdateOdbPeeringConnectionCommandOutput, OdbClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdateOdbPeeringConnectionCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateOdbPeeringConnectionCommandInput, UpdateOdbPeeringConnectionCommandOutput, OdbClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Modifies the settings of an Oracle Database@Amazon Web Services peering connection. You can update the display name and add or remove CIDR blocks from the peering connection.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { OdbClient, UpdateOdbPeeringConnectionCommand } from "@aws-sdk/client-odb"; // ES Modules import
35
+ * // const { OdbClient, UpdateOdbPeeringConnectionCommand } = require("@aws-sdk/client-odb"); // CommonJS import
36
+ * // import type { OdbClientConfig } from "@aws-sdk/client-odb";
37
+ * const config = {}; // type is OdbClientConfig
38
+ * const client = new OdbClient(config);
39
+ * const input = { // UpdateOdbPeeringConnectionInput
40
+ * odbPeeringConnectionId: "STRING_VALUE", // required
41
+ * displayName: "STRING_VALUE",
42
+ * peerNetworkCidrsToBeAdded: [ // PeeredCidrList
43
+ * "STRING_VALUE",
44
+ * ],
45
+ * peerNetworkCidrsToBeRemoved: [
46
+ * "STRING_VALUE",
47
+ * ],
48
+ * };
49
+ * const command = new UpdateOdbPeeringConnectionCommand(input);
50
+ * const response = await client.send(command);
51
+ * // { // UpdateOdbPeeringConnectionOutput
52
+ * // displayName: "STRING_VALUE",
53
+ * // status: "AVAILABLE" || "FAILED" || "PROVISIONING" || "TERMINATED" || "TERMINATING" || "UPDATING" || "MAINTENANCE_IN_PROGRESS",
54
+ * // statusReason: "STRING_VALUE",
55
+ * // odbPeeringConnectionId: "STRING_VALUE", // required
56
+ * // };
57
+ *
58
+ * ```
59
+ *
60
+ * @param UpdateOdbPeeringConnectionCommandInput - {@link UpdateOdbPeeringConnectionCommandInput}
61
+ * @returns {@link UpdateOdbPeeringConnectionCommandOutput}
62
+ * @see {@link UpdateOdbPeeringConnectionCommandInput} for command's `input` shape.
63
+ * @see {@link UpdateOdbPeeringConnectionCommandOutput} for command's `response` shape.
64
+ * @see {@link OdbClientResolvedConfig | config} for OdbClient's `config` shape.
65
+ *
66
+ * @throws {@link AccessDeniedException} (client fault)
67
+ * <p>You don't have sufficient access to perform this action. Make sure you have the required permissions and try again.</p>
68
+ *
69
+ * @throws {@link ConflictException} (client fault)
70
+ * <p>Occurs when a conflict with the current status of your resource. Fix any inconsistencies with your resource and try again.</p>
71
+ *
72
+ * @throws {@link InternalServerException} (server fault)
73
+ * <p>Occurs when there is an internal failure in the Oracle Database@Amazon Web Services service. Wait and try again.</p>
74
+ *
75
+ * @throws {@link ResourceNotFoundException} (client fault)
76
+ * <p>The operation tried to access a resource that doesn't exist. Make sure you provided the correct resource and try again.</p>
77
+ *
78
+ * @throws {@link ThrottlingException} (client fault)
79
+ * <p>The request was denied due to request throttling.</p>
80
+ *
81
+ * @throws {@link ValidationException} (client fault)
82
+ * <p>The request has failed validation because it is missing required fields or has invalid inputs.</p>
83
+ *
84
+ * @throws {@link OdbServiceException}
85
+ * <p>Base exception class for all service exceptions from Odb service.</p>
86
+ *
87
+ *
88
+ * @public
89
+ */
90
+ export declare class UpdateOdbPeeringConnectionCommand extends UpdateOdbPeeringConnectionCommand_base {
91
+ /** @internal type navigation helper, not in runtime. */
92
+ protected static __types: {
93
+ api: {
94
+ input: UpdateOdbPeeringConnectionInput;
95
+ output: UpdateOdbPeeringConnectionOutput;
96
+ };
97
+ sdk: {
98
+ input: UpdateOdbPeeringConnectionCommandInput;
99
+ output: UpdateOdbPeeringConnectionCommandOutput;
100
+ };
101
+ };
102
+ }
@@ -38,3 +38,4 @@ export * from "./TagResourceCommand";
38
38
  export * from "./UntagResourceCommand";
39
39
  export * from "./UpdateCloudExadataInfrastructureCommand";
40
40
  export * from "./UpdateOdbNetworkCommand";
41
+ export * from "./UpdateOdbPeeringConnectionCommand";
@@ -1,5 +1,5 @@
1
1
  /**
2
- * <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>
2
+ * <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>
3
3
  *
4
4
  * @packageDocumentation
5
5
  */
@@ -3000,6 +3000,11 @@ export interface CreateOdbPeeringConnectionInput {
3000
3000
  * @public
3001
3001
  */
3002
3002
  displayName?: string | undefined;
3003
+ /**
3004
+ * <p>A list of CIDR blocks to add to the peering connection. These CIDR blocks define the IP address ranges that can communicate through the peering connection.</p>
3005
+ * @public
3006
+ */
3007
+ peerNetworkCidrsToBeAdded?: string[] | undefined;
3003
3008
  /**
3004
3009
  * <p>The client token for the ODB peering connection request.</p> <p>Constraints:</p> <ul> <li> <p>Must be unique for each request.</p> </li> </ul>
3005
3010
  * @public
@@ -4077,6 +4082,11 @@ export interface OdbPeeringConnection {
4077
4082
  * @public
4078
4083
  */
4079
4084
  odbPeeringConnectionType?: string | undefined;
4085
+ /**
4086
+ * <p>The CIDR blocks associated with the peering connection. These CIDR blocks define the IP address ranges that can communicate through the peering connection.</p>
4087
+ * @public
4088
+ */
4089
+ peerNetworkCidrs?: string[] | undefined;
4080
4090
  /**
4081
4091
  * <p>The timestamp when the ODB peering connection was created.</p>
4082
4092
  * @public
@@ -4400,6 +4410,11 @@ export interface OdbPeeringConnectionSummary {
4400
4410
  * @public
4401
4411
  */
4402
4412
  odbPeeringConnectionType?: string | undefined;
4413
+ /**
4414
+ * <p>The CIDR blocks associated with the peering connection. These CIDR blocks define the IP address ranges that can communicate through the peering connection.</p>
4415
+ * @public
4416
+ */
4417
+ peerNetworkCidrs?: string[] | undefined;
4403
4418
  /**
4404
4419
  * <p>The timestamp when the ODB peering connection was created.</p>
4405
4420
  * @public
@@ -4572,6 +4587,56 @@ export interface UpdateOdbNetworkOutput {
4572
4587
  */
4573
4588
  odbNetworkId: string | undefined;
4574
4589
  }
4590
+ /**
4591
+ * @public
4592
+ */
4593
+ export interface UpdateOdbPeeringConnectionInput {
4594
+ /**
4595
+ * <p>The identifier of the Oracle Database@Amazon Web Services peering connection to update.</p>
4596
+ * @public
4597
+ */
4598
+ odbPeeringConnectionId: string | undefined;
4599
+ /**
4600
+ * <p>A new display name for the peering connection.</p>
4601
+ * @public
4602
+ */
4603
+ displayName?: string | undefined;
4604
+ /**
4605
+ * <p>A list of CIDR blocks to add to the peering connection. These CIDR blocks define the IP address ranges that can communicate through the peering connection. The CIDR blocks must not overlap with existing CIDR blocks in the Oracle Database@Amazon Web Services network.</p>
4606
+ * @public
4607
+ */
4608
+ peerNetworkCidrsToBeAdded?: string[] | undefined;
4609
+ /**
4610
+ * <p>A list of CIDR blocks to remove from the peering connection. The CIDR blocks must currently exist in the peering connection.</p>
4611
+ * @public
4612
+ */
4613
+ peerNetworkCidrsToBeRemoved?: string[] | undefined;
4614
+ }
4615
+ /**
4616
+ * @public
4617
+ */
4618
+ export interface UpdateOdbPeeringConnectionOutput {
4619
+ /**
4620
+ * <p>The display name of the peering connection.</p>
4621
+ * @public
4622
+ */
4623
+ displayName?: string | undefined;
4624
+ /**
4625
+ * <p>The status of the peering connection update operation.</p>
4626
+ * @public
4627
+ */
4628
+ status?: ResourceStatus | undefined;
4629
+ /**
4630
+ * <p>Additional information about the status of the peering connection update operation.</p>
4631
+ * @public
4632
+ */
4633
+ statusReason?: string | undefined;
4634
+ /**
4635
+ * <p>The identifier of the Oracle Database@Amazon Web Services peering connection that was updated.</p>
4636
+ * @public
4637
+ */
4638
+ odbPeeringConnectionId: string | undefined;
4639
+ }
4575
4640
  /**
4576
4641
  * @public
4577
4642
  */
@@ -40,6 +40,7 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/T
40
40
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
41
41
  import { UpdateCloudExadataInfrastructureCommandInput, UpdateCloudExadataInfrastructureCommandOutput } from "../commands/UpdateCloudExadataInfrastructureCommand";
42
42
  import { UpdateOdbNetworkCommandInput, UpdateOdbNetworkCommandOutput } from "../commands/UpdateOdbNetworkCommand";
43
+ import { UpdateOdbPeeringConnectionCommandInput, UpdateOdbPeeringConnectionCommandOutput } from "../commands/UpdateOdbPeeringConnectionCommand";
43
44
  /**
44
45
  * serializeAws_json1_0AcceptMarketplaceRegistrationCommand
45
46
  */
@@ -200,6 +201,10 @@ export declare const se_UpdateCloudExadataInfrastructureCommand: (input: UpdateC
200
201
  * serializeAws_json1_0UpdateOdbNetworkCommand
201
202
  */
202
203
  export declare const se_UpdateOdbNetworkCommand: (input: UpdateOdbNetworkCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
204
+ /**
205
+ * serializeAws_json1_0UpdateOdbPeeringConnectionCommand
206
+ */
207
+ export declare const se_UpdateOdbPeeringConnectionCommand: (input: UpdateOdbPeeringConnectionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
203
208
  /**
204
209
  * deserializeAws_json1_0AcceptMarketplaceRegistrationCommand
205
210
  */
@@ -360,3 +365,7 @@ export declare const de_UpdateCloudExadataInfrastructureCommand: (output: __Http
360
365
  * deserializeAws_json1_0UpdateOdbNetworkCommand
361
366
  */
362
367
  export declare const de_UpdateOdbNetworkCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateOdbNetworkCommandOutput>;
368
+ /**
369
+ * deserializeAws_json1_0UpdateOdbPeeringConnectionCommand
370
+ */
371
+ export declare const de_UpdateOdbPeeringConnectionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateOdbPeeringConnectionCommandOutput>;
@@ -159,6 +159,10 @@ import {
159
159
  UpdateOdbNetworkCommandInput,
160
160
  UpdateOdbNetworkCommandOutput,
161
161
  } from "./commands/UpdateOdbNetworkCommand";
162
+ import {
163
+ UpdateOdbPeeringConnectionCommandInput,
164
+ UpdateOdbPeeringConnectionCommandOutput,
165
+ } from "./commands/UpdateOdbPeeringConnectionCommand";
162
166
  import { OdbClient } from "./OdbClient";
163
167
  export interface Odb {
164
168
  acceptMarketplaceRegistration(
@@ -696,5 +700,18 @@ export interface Odb {
696
700
  options: __HttpHandlerOptions,
697
701
  cb: (err: any, data?: UpdateOdbNetworkCommandOutput) => void
698
702
  ): void;
703
+ updateOdbPeeringConnection(
704
+ args: UpdateOdbPeeringConnectionCommandInput,
705
+ options?: __HttpHandlerOptions
706
+ ): Promise<UpdateOdbPeeringConnectionCommandOutput>;
707
+ updateOdbPeeringConnection(
708
+ args: UpdateOdbPeeringConnectionCommandInput,
709
+ cb: (err: any, data?: UpdateOdbPeeringConnectionCommandOutput) => void
710
+ ): void;
711
+ updateOdbPeeringConnection(
712
+ args: UpdateOdbPeeringConnectionCommandInput,
713
+ options: __HttpHandlerOptions,
714
+ cb: (err: any, data?: UpdateOdbPeeringConnectionCommandOutput) => void
715
+ ): void;
699
716
  }
700
717
  export declare class Odb extends OdbClient implements Odb {}
@@ -205,6 +205,10 @@ import {
205
205
  UpdateOdbNetworkCommandInput,
206
206
  UpdateOdbNetworkCommandOutput,
207
207
  } from "./commands/UpdateOdbNetworkCommand";
208
+ import {
209
+ UpdateOdbPeeringConnectionCommandInput,
210
+ UpdateOdbPeeringConnectionCommandOutput,
211
+ } from "./commands/UpdateOdbPeeringConnectionCommand";
208
212
  import {
209
213
  ClientInputEndpointParameters,
210
214
  ClientResolvedEndpointParameters,
@@ -252,7 +256,8 @@ export type ServiceInputTypes =
252
256
  | TagResourceCommandInput
253
257
  | UntagResourceCommandInput
254
258
  | UpdateCloudExadataInfrastructureCommandInput
255
- | UpdateOdbNetworkCommandInput;
259
+ | UpdateOdbNetworkCommandInput
260
+ | UpdateOdbPeeringConnectionCommandInput;
256
261
  export type ServiceOutputTypes =
257
262
  | AcceptMarketplaceRegistrationCommandOutput
258
263
  | CreateCloudAutonomousVmClusterCommandOutput
@@ -293,7 +298,8 @@ export type ServiceOutputTypes =
293
298
  | TagResourceCommandOutput
294
299
  | UntagResourceCommandOutput
295
300
  | UpdateCloudExadataInfrastructureCommandOutput
296
- | UpdateOdbNetworkCommandOutput;
301
+ | UpdateOdbNetworkCommandOutput
302
+ | UpdateOdbPeeringConnectionCommandOutput;
297
303
  export interface ClientDefaults
298
304
  extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
299
305
  requestHandler?: __HttpHandlerUserInput;
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ UpdateOdbPeeringConnectionInput,
5
+ UpdateOdbPeeringConnectionOutput,
6
+ } from "../models/models_0";
7
+ import {
8
+ OdbClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../OdbClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface UpdateOdbPeeringConnectionCommandInput
15
+ extends UpdateOdbPeeringConnectionInput {}
16
+ export interface UpdateOdbPeeringConnectionCommandOutput
17
+ extends UpdateOdbPeeringConnectionOutput,
18
+ __MetadataBearer {}
19
+ declare const UpdateOdbPeeringConnectionCommand_base: {
20
+ new (
21
+ input: UpdateOdbPeeringConnectionCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ UpdateOdbPeeringConnectionCommandInput,
24
+ UpdateOdbPeeringConnectionCommandOutput,
25
+ OdbClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: UpdateOdbPeeringConnectionCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ UpdateOdbPeeringConnectionCommandInput,
33
+ UpdateOdbPeeringConnectionCommandOutput,
34
+ OdbClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class UpdateOdbPeeringConnectionCommand extends UpdateOdbPeeringConnectionCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: UpdateOdbPeeringConnectionInput;
44
+ output: UpdateOdbPeeringConnectionOutput;
45
+ };
46
+ sdk: {
47
+ input: UpdateOdbPeeringConnectionCommandInput;
48
+ output: UpdateOdbPeeringConnectionCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -38,3 +38,4 @@ export * from "./TagResourceCommand";
38
38
  export * from "./UntagResourceCommand";
39
39
  export * from "./UpdateCloudExadataInfrastructureCommand";
40
40
  export * from "./UpdateOdbNetworkCommand";
41
+ export * from "./UpdateOdbPeeringConnectionCommand";
@@ -750,6 +750,7 @@ export interface CreateOdbPeeringConnectionInput {
750
750
  odbNetworkId: string | undefined;
751
751
  peerNetworkId: string | undefined;
752
752
  displayName?: string | undefined;
753
+ peerNetworkCidrsToBeAdded?: string[] | undefined;
753
754
  clientToken?: string | undefined;
754
755
  tags?: Record<string, string> | undefined;
755
756
  }
@@ -1027,6 +1028,7 @@ export interface OdbPeeringConnection {
1027
1028
  odbNetworkArn?: string | undefined;
1028
1029
  peerNetworkArn?: string | undefined;
1029
1030
  odbPeeringConnectionType?: string | undefined;
1031
+ peerNetworkCidrs?: string[] | undefined;
1030
1032
  createdAt?: Date | undefined;
1031
1033
  percentProgress?: number | undefined;
1032
1034
  }
@@ -1102,6 +1104,7 @@ export interface OdbPeeringConnectionSummary {
1102
1104
  odbNetworkArn?: string | undefined;
1103
1105
  peerNetworkArn?: string | undefined;
1104
1106
  odbPeeringConnectionType?: string | undefined;
1107
+ peerNetworkCidrs?: string[] | undefined;
1105
1108
  createdAt?: Date | undefined;
1106
1109
  percentProgress?: number | undefined;
1107
1110
  }
@@ -1145,6 +1148,18 @@ export interface UpdateOdbNetworkOutput {
1145
1148
  statusReason?: string | undefined;
1146
1149
  odbNetworkId: string | undefined;
1147
1150
  }
1151
+ export interface UpdateOdbPeeringConnectionInput {
1152
+ odbPeeringConnectionId: string | undefined;
1153
+ displayName?: string | undefined;
1154
+ peerNetworkCidrsToBeAdded?: string[] | undefined;
1155
+ peerNetworkCidrsToBeRemoved?: string[] | undefined;
1156
+ }
1157
+ export interface UpdateOdbPeeringConnectionOutput {
1158
+ displayName?: string | undefined;
1159
+ status?: ResourceStatus | undefined;
1160
+ statusReason?: string | undefined;
1161
+ odbPeeringConnectionId: string | undefined;
1162
+ }
1148
1163
  export interface TagResourceRequest {
1149
1164
  resourceArn: string | undefined;
1150
1165
  tags: Record<string, string> | undefined;
@@ -163,6 +163,10 @@ import {
163
163
  UpdateOdbNetworkCommandInput,
164
164
  UpdateOdbNetworkCommandOutput,
165
165
  } from "../commands/UpdateOdbNetworkCommand";
166
+ import {
167
+ UpdateOdbPeeringConnectionCommandInput,
168
+ UpdateOdbPeeringConnectionCommandOutput,
169
+ } from "../commands/UpdateOdbPeeringConnectionCommand";
166
170
  export declare const se_AcceptMarketplaceRegistrationCommand: (
167
171
  input: AcceptMarketplaceRegistrationCommandInput,
168
172
  context: __SerdeContext
@@ -323,6 +327,10 @@ export declare const se_UpdateOdbNetworkCommand: (
323
327
  input: UpdateOdbNetworkCommandInput,
324
328
  context: __SerdeContext
325
329
  ) => Promise<__HttpRequest>;
330
+ export declare const se_UpdateOdbPeeringConnectionCommand: (
331
+ input: UpdateOdbPeeringConnectionCommandInput,
332
+ context: __SerdeContext
333
+ ) => Promise<__HttpRequest>;
326
334
  export declare const de_AcceptMarketplaceRegistrationCommand: (
327
335
  output: __HttpResponse,
328
336
  context: __SerdeContext
@@ -483,3 +491,7 @@ export declare const de_UpdateOdbNetworkCommand: (
483
491
  output: __HttpResponse,
484
492
  context: __SerdeContext
485
493
  ) => Promise<UpdateOdbNetworkCommandOutput>;
494
+ export declare const de_UpdateOdbPeeringConnectionCommand: (
495
+ output: __HttpResponse,
496
+ context: __SerdeContext
497
+ ) => Promise<UpdateOdbPeeringConnectionCommandOutput>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-odb",
3
3
  "description": "AWS SDK for JavaScript Odb Client for Node.js, Browser and React Native",
4
- "version": "3.906.0",
4
+ "version": "3.908.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-odb",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.906.0",
24
- "@aws-sdk/credential-provider-node": "3.906.0",
23
+ "@aws-sdk/core": "3.908.0",
24
+ "@aws-sdk/credential-provider-node": "3.908.0",
25
25
  "@aws-sdk/middleware-host-header": "3.901.0",
26
26
  "@aws-sdk/middleware-logger": "3.901.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.901.0",
28
- "@aws-sdk/middleware-user-agent": "3.906.0",
28
+ "@aws-sdk/middleware-user-agent": "3.908.0",
29
29
  "@aws-sdk/region-config-resolver": "3.901.0",
30
30
  "@aws-sdk/types": "3.901.0",
31
31
  "@aws-sdk/util-endpoints": "3.901.0",
32
- "@aws-sdk/util-user-agent-browser": "3.901.0",
33
- "@aws-sdk/util-user-agent-node": "3.906.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.907.0",
33
+ "@aws-sdk/util-user-agent-node": "3.908.0",
34
34
  "@smithy/config-resolver": "^4.3.0",
35
- "@smithy/core": "^3.14.0",
36
- "@smithy/fetch-http-handler": "^5.3.0",
35
+ "@smithy/core": "^3.15.0",
36
+ "@smithy/fetch-http-handler": "^5.3.1",
37
37
  "@smithy/hash-node": "^4.2.0",
38
38
  "@smithy/invalid-dependency": "^4.2.0",
39
39
  "@smithy/middleware-content-length": "^4.2.0",
40
- "@smithy/middleware-endpoint": "^4.3.0",
41
- "@smithy/middleware-retry": "^4.4.0",
40
+ "@smithy/middleware-endpoint": "^4.3.1",
41
+ "@smithy/middleware-retry": "^4.4.1",
42
42
  "@smithy/middleware-serde": "^4.2.0",
43
43
  "@smithy/middleware-stack": "^4.2.0",
44
44
  "@smithy/node-config-provider": "^4.3.0",
45
45
  "@smithy/node-http-handler": "^4.3.0",
46
46
  "@smithy/protocol-http": "^5.3.0",
47
- "@smithy/smithy-client": "^4.7.0",
47
+ "@smithy/smithy-client": "^4.7.1",
48
48
  "@smithy/types": "^4.6.0",
49
49
  "@smithy/url-parser": "^4.2.0",
50
- "@smithy/util-base64": "^4.2.0",
50
+ "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
- "@smithy/util-body-length-node": "^4.2.0",
53
- "@smithy/util-defaults-mode-browser": "^4.2.0",
54
- "@smithy/util-defaults-mode-node": "^4.2.0",
52
+ "@smithy/util-body-length-node": "^4.2.1",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.0",
54
+ "@smithy/util-defaults-mode-node": "^4.2.1",
55
55
  "@smithy/util-endpoints": "^3.2.0",
56
56
  "@smithy/util-middleware": "^4.2.0",
57
57
  "@smithy/util-retry": "^4.2.0",