aws-sdk-odb 1.5.0 → 1.6.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 527f0d59297a1c230de58957ef2a7eb30d1bccb17c3156e2a560761379e9c8d1
4
- data.tar.gz: 9b48709dada6f7b9229f094a787831abc565d643a10687a149660d7308fc7b96
3
+ metadata.gz: 43f04d33e3314e382a8c43cf861fbf3b93b963cade030d8878ec9763715f3aff
4
+ data.tar.gz: 5388ef73d7eefcdbfd330cf5baa0277a754dc72c92d493b4d7c39890407f2107
5
5
  SHA512:
6
- metadata.gz: 4a3714652d7740decd5ff4fea4536d1db60a8f304a29ff8268510b28aad81edd1c27154fa89ba8cba5c94e89bc1e92fef012ecaf1d9a6b2bd8a8b8975a7e3908
7
- data.tar.gz: f4837f0b7d2277c79e617a1149617f8a23d0e8b3856bb5f2e1b64b8aab7502a241fbb2f4c7ed87a7560ae7c3e7fb1d5995a8ea9333688f53947fd8fc9ef60725
6
+ metadata.gz: 568a0ce4d3bd6a2e311a03882f8f6203a283cf9b35f0b50ac2081ca852c36d5a796990621c61035816924d446b1396a8b28687da44251f30e3f0ada79e8e8eb2
7
+ data.tar.gz: 126009db5fae5c294c6ea352d04499d07c1d25b61d195023ca57456e5f9ec6fef1515cd06b894812c821e880250ffb395cf8fd9555aa75396d6a062db23aa297
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.6.0 (2025-10-10)
5
+ ------------------
6
+
7
+ * Feature - This release adds APIs that allow you to specify CIDR ranges in your ODB peering connection.
8
+
4
9
  1.5.0 (2025-08-26)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.5.0
1
+ 1.6.0
@@ -1065,8 +1065,7 @@ module Aws::Odb
1065
1065
  req.send_request(options)
1066
1066
  end
1067
1067
 
1068
- # Creates a peering connection between an ODB network and either another
1069
- # ODB network or a customer-owned VPC.
1068
+ # Creates a peering connection between an ODB network and a VPC.
1070
1069
  #
1071
1070
  # A peering connection enables private connectivity between the networks
1072
1071
  # for application-tier communication.
@@ -1082,6 +1081,11 @@ module Aws::Odb
1082
1081
  # @option params [String] :display_name
1083
1082
  # The display name for the ODB peering connection.
1084
1083
  #
1084
+ # @option params [Array<String>] :peer_network_cidrs_to_be_added
1085
+ # A list of CIDR blocks to add to the peering connection. These CIDR
1086
+ # blocks define the IP address ranges that can communicate through the
1087
+ # peering connection.
1088
+ #
1085
1089
  # @option params [String] :client_token
1086
1090
  # The client token for the ODB peering connection request.
1087
1091
  #
@@ -1110,6 +1114,7 @@ module Aws::Odb
1110
1114
  # odb_network_id: "ResourceIdOrArn", # required
1111
1115
  # peer_network_id: "ResourceIdOrArn", # required
1112
1116
  # display_name: "ResourceDisplayName",
1117
+ # peer_network_cidrs_to_be_added: ["PeeredCidr"],
1113
1118
  # client_token: "CreateOdbPeeringConnectionInputClientTokenString",
1114
1119
  # tags: {
1115
1120
  # "TagKey" => "TagValue",
@@ -1777,6 +1782,8 @@ module Aws::Odb
1777
1782
  # resp.odb_peering_connection.odb_network_arn #=> String
1778
1783
  # resp.odb_peering_connection.peer_network_arn #=> String
1779
1784
  # resp.odb_peering_connection.odb_peering_connection_type #=> String
1785
+ # resp.odb_peering_connection.peer_network_cidrs #=> Array
1786
+ # resp.odb_peering_connection.peer_network_cidrs[0] #=> String
1780
1787
  # resp.odb_peering_connection.created_at #=> Time
1781
1788
  # resp.odb_peering_connection.percent_progress #=> Float
1782
1789
  #
@@ -2552,6 +2559,8 @@ module Aws::Odb
2552
2559
  # resp.odb_peering_connections[0].odb_network_arn #=> String
2553
2560
  # resp.odb_peering_connections[0].peer_network_arn #=> String
2554
2561
  # resp.odb_peering_connections[0].odb_peering_connection_type #=> String
2562
+ # resp.odb_peering_connections[0].peer_network_cidrs #=> Array
2563
+ # resp.odb_peering_connections[0].peer_network_cidrs[0] #=> String
2555
2564
  # resp.odb_peering_connections[0].created_at #=> Time
2556
2565
  # resp.odb_peering_connections[0].percent_progress #=> Float
2557
2566
  #
@@ -2933,6 +2942,59 @@ module Aws::Odb
2933
2942
  req.send_request(options)
2934
2943
  end
2935
2944
 
2945
+ # Modifies the settings of an Oracle Database@Amazon Web Services
2946
+ # peering connection. You can update the display name and add or remove
2947
+ # CIDR blocks from the peering connection.
2948
+ #
2949
+ # @option params [required, String] :odb_peering_connection_id
2950
+ # The identifier of the Oracle Database@Amazon Web Services peering
2951
+ # connection to update.
2952
+ #
2953
+ # @option params [String] :display_name
2954
+ # A new display name for the peering connection.
2955
+ #
2956
+ # @option params [Array<String>] :peer_network_cidrs_to_be_added
2957
+ # A list of CIDR blocks to add to the peering connection. These CIDR
2958
+ # blocks define the IP address ranges that can communicate through the
2959
+ # peering connection. The CIDR blocks must not overlap with existing
2960
+ # CIDR blocks in the Oracle Database@Amazon Web Services network.
2961
+ #
2962
+ # @option params [Array<String>] :peer_network_cidrs_to_be_removed
2963
+ # A list of CIDR blocks to remove from the peering connection. The CIDR
2964
+ # blocks must currently exist in the peering connection.
2965
+ #
2966
+ # @return [Types::UpdateOdbPeeringConnectionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2967
+ #
2968
+ # * {Types::UpdateOdbPeeringConnectionOutput#display_name #display_name} => String
2969
+ # * {Types::UpdateOdbPeeringConnectionOutput#status #status} => String
2970
+ # * {Types::UpdateOdbPeeringConnectionOutput#status_reason #status_reason} => String
2971
+ # * {Types::UpdateOdbPeeringConnectionOutput#odb_peering_connection_id #odb_peering_connection_id} => String
2972
+ #
2973
+ # @example Request syntax with placeholder values
2974
+ #
2975
+ # resp = client.update_odb_peering_connection({
2976
+ # odb_peering_connection_id: "ResourceIdOrArn", # required
2977
+ # display_name: "ResourceDisplayName",
2978
+ # peer_network_cidrs_to_be_added: ["PeeredCidr"],
2979
+ # peer_network_cidrs_to_be_removed: ["PeeredCidr"],
2980
+ # })
2981
+ #
2982
+ # @example Response structure
2983
+ #
2984
+ # resp.display_name #=> String
2985
+ # resp.status #=> String, one of "AVAILABLE", "FAILED", "PROVISIONING", "TERMINATED", "TERMINATING", "UPDATING", "MAINTENANCE_IN_PROGRESS"
2986
+ # resp.status_reason #=> String
2987
+ # resp.odb_peering_connection_id #=> String
2988
+ #
2989
+ # @see http://docs.aws.amazon.com/goto/WebAPI/odb-2024-08-20/UpdateOdbPeeringConnection AWS API Documentation
2990
+ #
2991
+ # @overload update_odb_peering_connection(params = {})
2992
+ # @param [Hash] params ({})
2993
+ def update_odb_peering_connection(params = {}, options = {})
2994
+ req = build_request(:update_odb_peering_connection, params)
2995
+ req.send_request(options)
2996
+ end
2997
+
2936
2998
  # @!endgroup
2937
2999
 
2938
3000
  # @param params ({})
@@ -2951,7 +3013,7 @@ module Aws::Odb
2951
3013
  tracer: tracer
2952
3014
  )
2953
3015
  context[:gem_name] = 'aws-sdk-odb'
2954
- context[:gem_version] = '1.5.0'
3016
+ context[:gem_version] = '1.6.0'
2955
3017
  Seahorse::Client::Request.new(handlers, context)
2956
3018
  end
2957
3019
 
@@ -226,6 +226,8 @@ module Aws::Odb
226
226
  OdbPeeringConnectionList = Shapes::ListShape.new(name: 'OdbPeeringConnectionList')
227
227
  OdbPeeringConnectionSummary = Shapes::StructureShape.new(name: 'OdbPeeringConnectionSummary')
228
228
  PatchingModeType = Shapes::StringShape.new(name: 'PatchingModeType')
229
+ PeeredCidr = Shapes::StringShape.new(name: 'PeeredCidr')
230
+ PeeredCidrList = Shapes::ListShape.new(name: 'PeeredCidrList')
229
231
  PolicyDocument = Shapes::StringShape.new(name: 'PolicyDocument')
230
232
  PreferenceType = Shapes::StringShape.new(name: 'PreferenceType')
231
233
  RebootDbNodeInput = Shapes::StructureShape.new(name: 'RebootDbNodeInput')
@@ -265,6 +267,8 @@ module Aws::Odb
265
267
  UpdateCloudExadataInfrastructureOutput = Shapes::StructureShape.new(name: 'UpdateCloudExadataInfrastructureOutput')
266
268
  UpdateOdbNetworkInput = Shapes::StructureShape.new(name: 'UpdateOdbNetworkInput')
267
269
  UpdateOdbNetworkOutput = Shapes::StructureShape.new(name: 'UpdateOdbNetworkOutput')
270
+ UpdateOdbPeeringConnectionInput = Shapes::StructureShape.new(name: 'UpdateOdbPeeringConnectionInput')
271
+ UpdateOdbPeeringConnectionOutput = Shapes::StructureShape.new(name: 'UpdateOdbPeeringConnectionOutput')
268
272
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
269
273
  ValidationExceptionField = Shapes::StructureShape.new(name: 'ValidationExceptionField')
270
274
  ValidationExceptionFieldList = Shapes::ListShape.new(name: 'ValidationExceptionFieldList')
@@ -687,6 +691,7 @@ module Aws::Odb
687
691
  CreateOdbPeeringConnectionInput.add_member(:odb_network_id, Shapes::ShapeRef.new(shape: ResourceIdOrArn, required: true, location_name: "odbNetworkId"))
688
692
  CreateOdbPeeringConnectionInput.add_member(:peer_network_id, Shapes::ShapeRef.new(shape: ResourceIdOrArn, required: true, location_name: "peerNetworkId"))
689
693
  CreateOdbPeeringConnectionInput.add_member(:display_name, Shapes::ShapeRef.new(shape: ResourceDisplayName, location_name: "displayName"))
694
+ CreateOdbPeeringConnectionInput.add_member(:peer_network_cidrs_to_be_added, Shapes::ShapeRef.new(shape: PeeredCidrList, location_name: "peerNetworkCidrsToBeAdded"))
690
695
  CreateOdbPeeringConnectionInput.add_member(:client_token, Shapes::ShapeRef.new(shape: CreateOdbPeeringConnectionInputClientTokenString, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
691
696
  CreateOdbPeeringConnectionInput.add_member(:tags, Shapes::ShapeRef.new(shape: RequestTagMap, location_name: "tags"))
692
697
  CreateOdbPeeringConnectionInput.struct_class = Types::CreateOdbPeeringConnectionInput
@@ -1161,6 +1166,7 @@ module Aws::Odb
1161
1166
  OdbPeeringConnection.add_member(:odb_network_arn, Shapes::ShapeRef.new(shape: String, location_name: "odbNetworkArn"))
1162
1167
  OdbPeeringConnection.add_member(:peer_network_arn, Shapes::ShapeRef.new(shape: String, location_name: "peerNetworkArn"))
1163
1168
  OdbPeeringConnection.add_member(:odb_peering_connection_type, Shapes::ShapeRef.new(shape: String, location_name: "odbPeeringConnectionType"))
1169
+ OdbPeeringConnection.add_member(:peer_network_cidrs, Shapes::ShapeRef.new(shape: PeeredCidrList, location_name: "peerNetworkCidrs"))
1164
1170
  OdbPeeringConnection.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "createdAt"))
1165
1171
  OdbPeeringConnection.add_member(:percent_progress, Shapes::ShapeRef.new(shape: Float, location_name: "percentProgress"))
1166
1172
  OdbPeeringConnection.struct_class = Types::OdbPeeringConnection
@@ -1175,10 +1181,13 @@ module Aws::Odb
1175
1181
  OdbPeeringConnectionSummary.add_member(:odb_network_arn, Shapes::ShapeRef.new(shape: String, location_name: "odbNetworkArn"))
1176
1182
  OdbPeeringConnectionSummary.add_member(:peer_network_arn, Shapes::ShapeRef.new(shape: String, location_name: "peerNetworkArn"))
1177
1183
  OdbPeeringConnectionSummary.add_member(:odb_peering_connection_type, Shapes::ShapeRef.new(shape: String, location_name: "odbPeeringConnectionType"))
1184
+ OdbPeeringConnectionSummary.add_member(:peer_network_cidrs, Shapes::ShapeRef.new(shape: PeeredCidrList, location_name: "peerNetworkCidrs"))
1178
1185
  OdbPeeringConnectionSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "createdAt"))
1179
1186
  OdbPeeringConnectionSummary.add_member(:percent_progress, Shapes::ShapeRef.new(shape: Float, location_name: "percentProgress"))
1180
1187
  OdbPeeringConnectionSummary.struct_class = Types::OdbPeeringConnectionSummary
1181
1188
 
1189
+ PeeredCidrList.member = Shapes::ShapeRef.new(shape: PeeredCidr)
1190
+
1182
1191
  RebootDbNodeInput.add_member(:cloud_vm_cluster_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "cloudVmClusterId"))
1183
1192
  RebootDbNodeInput.add_member(:db_node_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "dbNodeId"))
1184
1193
  RebootDbNodeInput.struct_class = Types::RebootDbNodeInput
@@ -1287,6 +1296,18 @@ module Aws::Odb
1287
1296
  UpdateOdbNetworkOutput.add_member(:odb_network_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "odbNetworkId"))
1288
1297
  UpdateOdbNetworkOutput.struct_class = Types::UpdateOdbNetworkOutput
1289
1298
 
1299
+ UpdateOdbPeeringConnectionInput.add_member(:odb_peering_connection_id, Shapes::ShapeRef.new(shape: ResourceIdOrArn, required: true, location_name: "odbPeeringConnectionId"))
1300
+ UpdateOdbPeeringConnectionInput.add_member(:display_name, Shapes::ShapeRef.new(shape: ResourceDisplayName, location_name: "displayName"))
1301
+ UpdateOdbPeeringConnectionInput.add_member(:peer_network_cidrs_to_be_added, Shapes::ShapeRef.new(shape: PeeredCidrList, location_name: "peerNetworkCidrsToBeAdded"))
1302
+ UpdateOdbPeeringConnectionInput.add_member(:peer_network_cidrs_to_be_removed, Shapes::ShapeRef.new(shape: PeeredCidrList, location_name: "peerNetworkCidrsToBeRemoved"))
1303
+ UpdateOdbPeeringConnectionInput.struct_class = Types::UpdateOdbPeeringConnectionInput
1304
+
1305
+ UpdateOdbPeeringConnectionOutput.add_member(:display_name, Shapes::ShapeRef.new(shape: String, location_name: "displayName"))
1306
+ UpdateOdbPeeringConnectionOutput.add_member(:status, Shapes::ShapeRef.new(shape: ResourceStatus, location_name: "status"))
1307
+ UpdateOdbPeeringConnectionOutput.add_member(:status_reason, Shapes::ShapeRef.new(shape: String, location_name: "statusReason"))
1308
+ UpdateOdbPeeringConnectionOutput.add_member(:odb_peering_connection_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "odbPeeringConnectionId"))
1309
+ UpdateOdbPeeringConnectionOutput.struct_class = Types::UpdateOdbPeeringConnectionOutput
1310
+
1290
1311
  ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
1291
1312
  ValidationException.add_member(:reason, Shapes::ShapeRef.new(shape: ValidationExceptionReason, required: true, location_name: "reason"))
1292
1313
  ValidationException.add_member(:field_list, Shapes::ShapeRef.new(shape: ValidationExceptionFieldList, location_name: "fieldList"))
@@ -1903,6 +1924,20 @@ module Aws::Odb
1903
1924
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1904
1925
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1905
1926
  end)
1927
+
1928
+ api.add_operation(:update_odb_peering_connection, Seahorse::Model::Operation.new.tap do |o|
1929
+ o.name = "UpdateOdbPeeringConnection"
1930
+ o.http_method = "POST"
1931
+ o.http_request_uri = "/"
1932
+ o.input = Shapes::ShapeRef.new(shape: UpdateOdbPeeringConnectionInput)
1933
+ o.output = Shapes::ShapeRef.new(shape: UpdateOdbPeeringConnectionOutput)
1934
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1935
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1936
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1937
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1938
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1939
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1940
+ end)
1906
1941
  end
1907
1942
 
1908
1943
  end
@@ -13,22 +13,22 @@ module Aws::Odb
13
13
  # @!attribute region
14
14
  # The AWS region used to dispatch the request.
15
15
  #
16
- # @return [String]
16
+ # @return [string]
17
17
  #
18
18
  # @!attribute use_dual_stack
19
19
  # When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
20
20
  #
21
- # @return [Boolean]
21
+ # @return [boolean]
22
22
  #
23
23
  # @!attribute use_fips
24
24
  # When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
25
25
  #
26
- # @return [Boolean]
26
+ # @return [boolean]
27
27
  #
28
28
  # @!attribute endpoint
29
29
  # Override the endpoint used to send this request
30
30
  #
31
- # @return [String]
31
+ # @return [string]
32
32
  #
33
33
  EndpointParameters = Struct.new(
34
34
  :region,
@@ -2314,6 +2314,12 @@ module Aws::Odb
2314
2314
  # The display name for the ODB peering connection.
2315
2315
  # @return [String]
2316
2316
  #
2317
+ # @!attribute [rw] peer_network_cidrs_to_be_added
2318
+ # A list of CIDR blocks to add to the peering connection. These CIDR
2319
+ # blocks define the IP address ranges that can communicate through the
2320
+ # peering connection.
2321
+ # @return [Array<String>]
2322
+ #
2317
2323
  # @!attribute [rw] client_token
2318
2324
  # The client token for the ODB peering connection request.
2319
2325
  #
@@ -2337,6 +2343,7 @@ module Aws::Odb
2337
2343
  :odb_network_id,
2338
2344
  :peer_network_id,
2339
2345
  :display_name,
2346
+ :peer_network_cidrs_to_be_added,
2340
2347
  :client_token,
2341
2348
  :tags)
2342
2349
  SENSITIVE = []
@@ -4558,6 +4565,12 @@ module Aws::Odb
4558
4565
  # Valid Values: `ODB-VPC | ODB-ODB`
4559
4566
  # @return [String]
4560
4567
  #
4568
+ # @!attribute [rw] peer_network_cidrs
4569
+ # The CIDR blocks associated with the peering connection. These CIDR
4570
+ # blocks define the IP address ranges that can communicate through the
4571
+ # peering connection.
4572
+ # @return [Array<String>]
4573
+ #
4561
4574
  # @!attribute [rw] created_at
4562
4575
  # The timestamp when the ODB peering connection was created.
4563
4576
  # @return [Time]
@@ -4578,6 +4591,7 @@ module Aws::Odb
4578
4591
  :odb_network_arn,
4579
4592
  :peer_network_arn,
4580
4593
  :odb_peering_connection_type,
4594
+ :peer_network_cidrs,
4581
4595
  :created_at,
4582
4596
  :percent_progress)
4583
4597
  SENSITIVE = []
@@ -4625,6 +4639,12 @@ module Aws::Odb
4625
4639
  # Valid Values: `ODB-VPC | ODB-ODB`
4626
4640
  # @return [String]
4627
4641
  #
4642
+ # @!attribute [rw] peer_network_cidrs
4643
+ # The CIDR blocks associated with the peering connection. These CIDR
4644
+ # blocks define the IP address ranges that can communicate through the
4645
+ # peering connection.
4646
+ # @return [Array<String>]
4647
+ #
4628
4648
  # @!attribute [rw] created_at
4629
4649
  # The timestamp when the ODB peering connection was created.
4630
4650
  # @return [Time]
@@ -4645,6 +4665,7 @@ module Aws::Odb
4645
4665
  :odb_network_arn,
4646
4666
  :peer_network_arn,
4647
4667
  :odb_peering_connection_type,
4668
+ :peer_network_cidrs,
4648
4669
  :created_at,
4649
4670
  :percent_progress)
4650
4671
  SENSITIVE = []
@@ -5086,6 +5107,67 @@ module Aws::Odb
5086
5107
  include Aws::Structure
5087
5108
  end
5088
5109
 
5110
+ # @!attribute [rw] odb_peering_connection_id
5111
+ # The identifier of the Oracle Database@Amazon Web Services peering
5112
+ # connection to update.
5113
+ # @return [String]
5114
+ #
5115
+ # @!attribute [rw] display_name
5116
+ # A new display name for the peering connection.
5117
+ # @return [String]
5118
+ #
5119
+ # @!attribute [rw] peer_network_cidrs_to_be_added
5120
+ # A list of CIDR blocks to add to the peering connection. These CIDR
5121
+ # blocks define the IP address ranges that can communicate through the
5122
+ # peering connection. The CIDR blocks must not overlap with existing
5123
+ # CIDR blocks in the Oracle Database@Amazon Web Services network.
5124
+ # @return [Array<String>]
5125
+ #
5126
+ # @!attribute [rw] peer_network_cidrs_to_be_removed
5127
+ # A list of CIDR blocks to remove from the peering connection. The
5128
+ # CIDR blocks must currently exist in the peering connection.
5129
+ # @return [Array<String>]
5130
+ #
5131
+ # @see http://docs.aws.amazon.com/goto/WebAPI/odb-2024-08-20/UpdateOdbPeeringConnectionInput AWS API Documentation
5132
+ #
5133
+ class UpdateOdbPeeringConnectionInput < Struct.new(
5134
+ :odb_peering_connection_id,
5135
+ :display_name,
5136
+ :peer_network_cidrs_to_be_added,
5137
+ :peer_network_cidrs_to_be_removed)
5138
+ SENSITIVE = []
5139
+ include Aws::Structure
5140
+ end
5141
+
5142
+ # @!attribute [rw] display_name
5143
+ # The display name of the peering connection.
5144
+ # @return [String]
5145
+ #
5146
+ # @!attribute [rw] status
5147
+ # The status of the peering connection update operation.
5148
+ # @return [String]
5149
+ #
5150
+ # @!attribute [rw] status_reason
5151
+ # Additional information about the status of the peering connection
5152
+ # update operation.
5153
+ # @return [String]
5154
+ #
5155
+ # @!attribute [rw] odb_peering_connection_id
5156
+ # The identifier of the Oracle Database@Amazon Web Services peering
5157
+ # connection that was updated.
5158
+ # @return [String]
5159
+ #
5160
+ # @see http://docs.aws.amazon.com/goto/WebAPI/odb-2024-08-20/UpdateOdbPeeringConnectionOutput AWS API Documentation
5161
+ #
5162
+ class UpdateOdbPeeringConnectionOutput < Struct.new(
5163
+ :display_name,
5164
+ :status,
5165
+ :status_reason,
5166
+ :odb_peering_connection_id)
5167
+ SENSITIVE = []
5168
+ include Aws::Structure
5169
+ end
5170
+
5089
5171
  # The request has failed validation because it is missing required
5090
5172
  # fields or has invalid inputs.
5091
5173
  #
data/lib/aws-sdk-odb.rb CHANGED
@@ -55,7 +55,7 @@ module Aws::Odb
55
55
  autoload :EndpointProvider, 'aws-sdk-odb/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-odb/endpoints'
57
57
 
58
- GEM_VERSION = '1.5.0'
58
+ GEM_VERSION = '1.6.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -256,6 +256,7 @@ module Aws
256
256
  odb_network_id: ::String,
257
257
  peer_network_id: ::String,
258
258
  ?display_name: ::String,
259
+ ?peer_network_cidrs_to_be_added: Array[::String],
259
260
  ?client_token: ::String,
260
261
  ?tags: Hash[::String, ::String]
261
262
  ) -> _CreateOdbPeeringConnectionResponseSuccess
@@ -672,6 +673,22 @@ module Aws
672
673
  ?s3_policy_document: ::String
673
674
  ) -> _UpdateOdbNetworkResponseSuccess
674
675
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateOdbNetworkResponseSuccess
676
+
677
+ interface _UpdateOdbPeeringConnectionResponseSuccess
678
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateOdbPeeringConnectionOutput]
679
+ def display_name: () -> ::String
680
+ def status: () -> ("AVAILABLE" | "FAILED" | "PROVISIONING" | "TERMINATED" | "TERMINATING" | "UPDATING" | "MAINTENANCE_IN_PROGRESS")
681
+ def status_reason: () -> ::String
682
+ def odb_peering_connection_id: () -> ::String
683
+ end
684
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Odb/Client.html#update_odb_peering_connection-instance_method
685
+ def update_odb_peering_connection: (
686
+ odb_peering_connection_id: ::String,
687
+ ?display_name: ::String,
688
+ ?peer_network_cidrs_to_be_added: Array[::String],
689
+ ?peer_network_cidrs_to_be_removed: Array[::String]
690
+ ) -> _UpdateOdbPeeringConnectionResponseSuccess
691
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateOdbPeeringConnectionResponseSuccess
675
692
  end
676
693
  end
677
694
  end
data/sig/types.rbs CHANGED
@@ -454,6 +454,7 @@ module Aws::Odb
454
454
  attr_accessor odb_network_id: ::String
455
455
  attr_accessor peer_network_id: ::String
456
456
  attr_accessor display_name: ::String
457
+ attr_accessor peer_network_cidrs_to_be_added: ::Array[::String]
457
458
  attr_accessor client_token: ::String
458
459
  attr_accessor tags: ::Hash[::String, ::String]
459
460
  SENSITIVE: []
@@ -1050,6 +1051,7 @@ module Aws::Odb
1050
1051
  attr_accessor odb_network_arn: ::String
1051
1052
  attr_accessor peer_network_arn: ::String
1052
1053
  attr_accessor odb_peering_connection_type: ::String
1054
+ attr_accessor peer_network_cidrs: ::Array[::String]
1053
1055
  attr_accessor created_at: ::Time
1054
1056
  attr_accessor percent_progress: ::Float
1055
1057
  SENSITIVE: []
@@ -1064,6 +1066,7 @@ module Aws::Odb
1064
1066
  attr_accessor odb_network_arn: ::String
1065
1067
  attr_accessor peer_network_arn: ::String
1066
1068
  attr_accessor odb_peering_connection_type: ::String
1069
+ attr_accessor peer_network_cidrs: ::Array[::String]
1067
1070
  attr_accessor created_at: ::Time
1068
1071
  attr_accessor percent_progress: ::Float
1069
1072
  SENSITIVE: []
@@ -1201,6 +1204,22 @@ module Aws::Odb
1201
1204
  SENSITIVE: []
1202
1205
  end
1203
1206
 
1207
+ class UpdateOdbPeeringConnectionInput
1208
+ attr_accessor odb_peering_connection_id: ::String
1209
+ attr_accessor display_name: ::String
1210
+ attr_accessor peer_network_cidrs_to_be_added: ::Array[::String]
1211
+ attr_accessor peer_network_cidrs_to_be_removed: ::Array[::String]
1212
+ SENSITIVE: []
1213
+ end
1214
+
1215
+ class UpdateOdbPeeringConnectionOutput
1216
+ attr_accessor display_name: ::String
1217
+ attr_accessor status: ("AVAILABLE" | "FAILED" | "PROVISIONING" | "TERMINATED" | "TERMINATING" | "UPDATING" | "MAINTENANCE_IN_PROGRESS")
1218
+ attr_accessor status_reason: ::String
1219
+ attr_accessor odb_peering_connection_id: ::String
1220
+ SENSITIVE: []
1221
+ end
1222
+
1204
1223
  class ValidationException
1205
1224
  attr_accessor message: ::String
1206
1225
  attr_accessor reason: ("unknownOperation" | "cannotParse" | "fieldValidationFailed" | "other")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-odb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services