aws-sdk-rds 1.156.0 → 1.157.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-rds/client.rb +45 -3
- data/lib/aws-sdk-rds/client_api.rb +4 -0
- data/lib/aws-sdk-rds/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-rds/endpoint_provider.rb +137 -0
- data/lib/aws-sdk-rds/endpoints.rb +1933 -0
- data/lib/aws-sdk-rds/plugins/cross_region_copying.rb +12 -11
- data/lib/aws-sdk-rds/plugins/endpoints.rb +342 -0
- data/lib/aws-sdk-rds/types.rb +35 -2
- data/lib/aws-sdk-rds.rb +5 -1
- metadata +8 -4
@@ -36,22 +36,23 @@ module Aws
|
|
36
36
|
context.operation.input,
|
37
37
|
params
|
38
38
|
)
|
39
|
-
|
40
|
-
|
39
|
+
|
40
|
+
endpoint_params = Aws::RDS::EndpointParameters.new(
|
41
41
|
region: source_region,
|
42
|
-
|
42
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
43
|
+
use_fips: context.config.use_fips_endpoint
|
43
44
|
)
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
45
|
+
endpoint = context.config.endpoint_provider
|
46
|
+
.resolve_endpoint(endpoint_params)
|
47
|
+
auth_scheme = Aws::Endpoints.resolve_auth_scheme(context, endpoint)
|
48
|
+
|
49
|
+
signer = Aws::Plugins::Sign.signer_for(
|
50
|
+
auth_scheme, context.config, source_region
|
50
51
|
)
|
51
|
-
|
52
|
+
|
52
53
|
signer.presign_url(
|
53
54
|
http_method: 'GET',
|
54
|
-
url: url,
|
55
|
+
url: "#{endpoint.url}?#{param_list}",
|
55
56
|
expires_in: 3600
|
56
57
|
).to_s
|
57
58
|
end
|
@@ -0,0 +1,342 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
|
11
|
+
module Aws::RDS
|
12
|
+
module Plugins
|
13
|
+
class Endpoints < Seahorse::Client::Plugin
|
14
|
+
option(
|
15
|
+
:endpoint_provider,
|
16
|
+
doc_type: 'Aws::RDS::EndpointProvider',
|
17
|
+
docstring: 'The endpoint provider used to resolve endpoints. Any '\
|
18
|
+
'object that responds to `#resolve_endpoint(parameters)` '\
|
19
|
+
'where `parameters` is a Struct similar to '\
|
20
|
+
'`Aws::RDS::EndpointParameters`'
|
21
|
+
) do |cfg|
|
22
|
+
Aws::RDS::EndpointProvider.new
|
23
|
+
end
|
24
|
+
|
25
|
+
# @api private
|
26
|
+
class Handler < Seahorse::Client::Handler
|
27
|
+
def call(context)
|
28
|
+
# If endpoint was discovered, do not resolve or apply the endpoint.
|
29
|
+
unless context[:discovered_endpoint]
|
30
|
+
params = parameters_for_operation(context)
|
31
|
+
endpoint = context.config.endpoint_provider.resolve_endpoint(params)
|
32
|
+
|
33
|
+
context.http_request.endpoint = endpoint.url
|
34
|
+
apply_endpoint_headers(context, endpoint.headers)
|
35
|
+
end
|
36
|
+
|
37
|
+
context[:endpoint_params] = params
|
38
|
+
context[:auth_scheme] =
|
39
|
+
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
|
40
|
+
|
41
|
+
@handler.call(context)
|
42
|
+
end
|
43
|
+
|
44
|
+
private
|
45
|
+
|
46
|
+
def apply_endpoint_headers(context, headers)
|
47
|
+
headers.each do |key, values|
|
48
|
+
value = values
|
49
|
+
.compact
|
50
|
+
.map { |s| Seahorse::Util.escape_header_list_string(s.to_s) }
|
51
|
+
.join(',')
|
52
|
+
|
53
|
+
context.http_request.headers[key] = value
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
def parameters_for_operation(context)
|
58
|
+
case context.operation_name
|
59
|
+
when :add_role_to_db_cluster
|
60
|
+
Aws::RDS::Endpoints::AddRoleToDBCluster.build(context)
|
61
|
+
when :add_role_to_db_instance
|
62
|
+
Aws::RDS::Endpoints::AddRoleToDBInstance.build(context)
|
63
|
+
when :add_source_identifier_to_subscription
|
64
|
+
Aws::RDS::Endpoints::AddSourceIdentifierToSubscription.build(context)
|
65
|
+
when :add_tags_to_resource
|
66
|
+
Aws::RDS::Endpoints::AddTagsToResource.build(context)
|
67
|
+
when :apply_pending_maintenance_action
|
68
|
+
Aws::RDS::Endpoints::ApplyPendingMaintenanceAction.build(context)
|
69
|
+
when :authorize_db_security_group_ingress
|
70
|
+
Aws::RDS::Endpoints::AuthorizeDBSecurityGroupIngress.build(context)
|
71
|
+
when :backtrack_db_cluster
|
72
|
+
Aws::RDS::Endpoints::BacktrackDBCluster.build(context)
|
73
|
+
when :cancel_export_task
|
74
|
+
Aws::RDS::Endpoints::CancelExportTask.build(context)
|
75
|
+
when :copy_db_cluster_parameter_group
|
76
|
+
Aws::RDS::Endpoints::CopyDBClusterParameterGroup.build(context)
|
77
|
+
when :copy_db_cluster_snapshot
|
78
|
+
Aws::RDS::Endpoints::CopyDBClusterSnapshot.build(context)
|
79
|
+
when :copy_db_parameter_group
|
80
|
+
Aws::RDS::Endpoints::CopyDBParameterGroup.build(context)
|
81
|
+
when :copy_db_snapshot
|
82
|
+
Aws::RDS::Endpoints::CopyDBSnapshot.build(context)
|
83
|
+
when :copy_option_group
|
84
|
+
Aws::RDS::Endpoints::CopyOptionGroup.build(context)
|
85
|
+
when :create_custom_db_engine_version
|
86
|
+
Aws::RDS::Endpoints::CreateCustomDBEngineVersion.build(context)
|
87
|
+
when :create_db_cluster
|
88
|
+
Aws::RDS::Endpoints::CreateDBCluster.build(context)
|
89
|
+
when :create_db_cluster_endpoint
|
90
|
+
Aws::RDS::Endpoints::CreateDBClusterEndpoint.build(context)
|
91
|
+
when :create_db_cluster_parameter_group
|
92
|
+
Aws::RDS::Endpoints::CreateDBClusterParameterGroup.build(context)
|
93
|
+
when :create_db_cluster_snapshot
|
94
|
+
Aws::RDS::Endpoints::CreateDBClusterSnapshot.build(context)
|
95
|
+
when :create_db_instance
|
96
|
+
Aws::RDS::Endpoints::CreateDBInstance.build(context)
|
97
|
+
when :create_db_instance_read_replica
|
98
|
+
Aws::RDS::Endpoints::CreateDBInstanceReadReplica.build(context)
|
99
|
+
when :create_db_parameter_group
|
100
|
+
Aws::RDS::Endpoints::CreateDBParameterGroup.build(context)
|
101
|
+
when :create_db_proxy
|
102
|
+
Aws::RDS::Endpoints::CreateDBProxy.build(context)
|
103
|
+
when :create_db_proxy_endpoint
|
104
|
+
Aws::RDS::Endpoints::CreateDBProxyEndpoint.build(context)
|
105
|
+
when :create_db_security_group
|
106
|
+
Aws::RDS::Endpoints::CreateDBSecurityGroup.build(context)
|
107
|
+
when :create_db_snapshot
|
108
|
+
Aws::RDS::Endpoints::CreateDBSnapshot.build(context)
|
109
|
+
when :create_db_subnet_group
|
110
|
+
Aws::RDS::Endpoints::CreateDBSubnetGroup.build(context)
|
111
|
+
when :create_event_subscription
|
112
|
+
Aws::RDS::Endpoints::CreateEventSubscription.build(context)
|
113
|
+
when :create_global_cluster
|
114
|
+
Aws::RDS::Endpoints::CreateGlobalCluster.build(context)
|
115
|
+
when :create_option_group
|
116
|
+
Aws::RDS::Endpoints::CreateOptionGroup.build(context)
|
117
|
+
when :delete_custom_db_engine_version
|
118
|
+
Aws::RDS::Endpoints::DeleteCustomDBEngineVersion.build(context)
|
119
|
+
when :delete_db_cluster
|
120
|
+
Aws::RDS::Endpoints::DeleteDBCluster.build(context)
|
121
|
+
when :delete_db_cluster_endpoint
|
122
|
+
Aws::RDS::Endpoints::DeleteDBClusterEndpoint.build(context)
|
123
|
+
when :delete_db_cluster_parameter_group
|
124
|
+
Aws::RDS::Endpoints::DeleteDBClusterParameterGroup.build(context)
|
125
|
+
when :delete_db_cluster_snapshot
|
126
|
+
Aws::RDS::Endpoints::DeleteDBClusterSnapshot.build(context)
|
127
|
+
when :delete_db_instance
|
128
|
+
Aws::RDS::Endpoints::DeleteDBInstance.build(context)
|
129
|
+
when :delete_db_instance_automated_backup
|
130
|
+
Aws::RDS::Endpoints::DeleteDBInstanceAutomatedBackup.build(context)
|
131
|
+
when :delete_db_parameter_group
|
132
|
+
Aws::RDS::Endpoints::DeleteDBParameterGroup.build(context)
|
133
|
+
when :delete_db_proxy
|
134
|
+
Aws::RDS::Endpoints::DeleteDBProxy.build(context)
|
135
|
+
when :delete_db_proxy_endpoint
|
136
|
+
Aws::RDS::Endpoints::DeleteDBProxyEndpoint.build(context)
|
137
|
+
when :delete_db_security_group
|
138
|
+
Aws::RDS::Endpoints::DeleteDBSecurityGroup.build(context)
|
139
|
+
when :delete_db_snapshot
|
140
|
+
Aws::RDS::Endpoints::DeleteDBSnapshot.build(context)
|
141
|
+
when :delete_db_subnet_group
|
142
|
+
Aws::RDS::Endpoints::DeleteDBSubnetGroup.build(context)
|
143
|
+
when :delete_event_subscription
|
144
|
+
Aws::RDS::Endpoints::DeleteEventSubscription.build(context)
|
145
|
+
when :delete_global_cluster
|
146
|
+
Aws::RDS::Endpoints::DeleteGlobalCluster.build(context)
|
147
|
+
when :delete_option_group
|
148
|
+
Aws::RDS::Endpoints::DeleteOptionGroup.build(context)
|
149
|
+
when :deregister_db_proxy_targets
|
150
|
+
Aws::RDS::Endpoints::DeregisterDBProxyTargets.build(context)
|
151
|
+
when :describe_account_attributes
|
152
|
+
Aws::RDS::Endpoints::DescribeAccountAttributes.build(context)
|
153
|
+
when :describe_certificates
|
154
|
+
Aws::RDS::Endpoints::DescribeCertificates.build(context)
|
155
|
+
when :describe_db_cluster_backtracks
|
156
|
+
Aws::RDS::Endpoints::DescribeDBClusterBacktracks.build(context)
|
157
|
+
when :describe_db_cluster_endpoints
|
158
|
+
Aws::RDS::Endpoints::DescribeDBClusterEndpoints.build(context)
|
159
|
+
when :describe_db_cluster_parameter_groups
|
160
|
+
Aws::RDS::Endpoints::DescribeDBClusterParameterGroups.build(context)
|
161
|
+
when :describe_db_cluster_parameters
|
162
|
+
Aws::RDS::Endpoints::DescribeDBClusterParameters.build(context)
|
163
|
+
when :describe_db_cluster_snapshot_attributes
|
164
|
+
Aws::RDS::Endpoints::DescribeDBClusterSnapshotAttributes.build(context)
|
165
|
+
when :describe_db_cluster_snapshots
|
166
|
+
Aws::RDS::Endpoints::DescribeDBClusterSnapshots.build(context)
|
167
|
+
when :describe_db_clusters
|
168
|
+
Aws::RDS::Endpoints::DescribeDBClusters.build(context)
|
169
|
+
when :describe_db_engine_versions
|
170
|
+
Aws::RDS::Endpoints::DescribeDBEngineVersions.build(context)
|
171
|
+
when :describe_db_instance_automated_backups
|
172
|
+
Aws::RDS::Endpoints::DescribeDBInstanceAutomatedBackups.build(context)
|
173
|
+
when :describe_db_instances
|
174
|
+
Aws::RDS::Endpoints::DescribeDBInstances.build(context)
|
175
|
+
when :describe_db_log_files
|
176
|
+
Aws::RDS::Endpoints::DescribeDBLogFiles.build(context)
|
177
|
+
when :describe_db_parameter_groups
|
178
|
+
Aws::RDS::Endpoints::DescribeDBParameterGroups.build(context)
|
179
|
+
when :describe_db_parameters
|
180
|
+
Aws::RDS::Endpoints::DescribeDBParameters.build(context)
|
181
|
+
when :describe_db_proxies
|
182
|
+
Aws::RDS::Endpoints::DescribeDBProxies.build(context)
|
183
|
+
when :describe_db_proxy_endpoints
|
184
|
+
Aws::RDS::Endpoints::DescribeDBProxyEndpoints.build(context)
|
185
|
+
when :describe_db_proxy_target_groups
|
186
|
+
Aws::RDS::Endpoints::DescribeDBProxyTargetGroups.build(context)
|
187
|
+
when :describe_db_proxy_targets
|
188
|
+
Aws::RDS::Endpoints::DescribeDBProxyTargets.build(context)
|
189
|
+
when :describe_db_security_groups
|
190
|
+
Aws::RDS::Endpoints::DescribeDBSecurityGroups.build(context)
|
191
|
+
when :describe_db_snapshot_attributes
|
192
|
+
Aws::RDS::Endpoints::DescribeDBSnapshotAttributes.build(context)
|
193
|
+
when :describe_db_snapshots
|
194
|
+
Aws::RDS::Endpoints::DescribeDBSnapshots.build(context)
|
195
|
+
when :describe_db_subnet_groups
|
196
|
+
Aws::RDS::Endpoints::DescribeDBSubnetGroups.build(context)
|
197
|
+
when :describe_engine_default_cluster_parameters
|
198
|
+
Aws::RDS::Endpoints::DescribeEngineDefaultClusterParameters.build(context)
|
199
|
+
when :describe_engine_default_parameters
|
200
|
+
Aws::RDS::Endpoints::DescribeEngineDefaultParameters.build(context)
|
201
|
+
when :describe_event_categories
|
202
|
+
Aws::RDS::Endpoints::DescribeEventCategories.build(context)
|
203
|
+
when :describe_event_subscriptions
|
204
|
+
Aws::RDS::Endpoints::DescribeEventSubscriptions.build(context)
|
205
|
+
when :describe_events
|
206
|
+
Aws::RDS::Endpoints::DescribeEvents.build(context)
|
207
|
+
when :describe_export_tasks
|
208
|
+
Aws::RDS::Endpoints::DescribeExportTasks.build(context)
|
209
|
+
when :describe_global_clusters
|
210
|
+
Aws::RDS::Endpoints::DescribeGlobalClusters.build(context)
|
211
|
+
when :describe_option_group_options
|
212
|
+
Aws::RDS::Endpoints::DescribeOptionGroupOptions.build(context)
|
213
|
+
when :describe_option_groups
|
214
|
+
Aws::RDS::Endpoints::DescribeOptionGroups.build(context)
|
215
|
+
when :describe_orderable_db_instance_options
|
216
|
+
Aws::RDS::Endpoints::DescribeOrderableDBInstanceOptions.build(context)
|
217
|
+
when :describe_pending_maintenance_actions
|
218
|
+
Aws::RDS::Endpoints::DescribePendingMaintenanceActions.build(context)
|
219
|
+
when :describe_reserved_db_instances
|
220
|
+
Aws::RDS::Endpoints::DescribeReservedDBInstances.build(context)
|
221
|
+
when :describe_reserved_db_instances_offerings
|
222
|
+
Aws::RDS::Endpoints::DescribeReservedDBInstancesOfferings.build(context)
|
223
|
+
when :describe_source_regions
|
224
|
+
Aws::RDS::Endpoints::DescribeSourceRegions.build(context)
|
225
|
+
when :describe_valid_db_instance_modifications
|
226
|
+
Aws::RDS::Endpoints::DescribeValidDBInstanceModifications.build(context)
|
227
|
+
when :download_db_log_file_portion
|
228
|
+
Aws::RDS::Endpoints::DownloadDBLogFilePortion.build(context)
|
229
|
+
when :failover_db_cluster
|
230
|
+
Aws::RDS::Endpoints::FailoverDBCluster.build(context)
|
231
|
+
when :failover_global_cluster
|
232
|
+
Aws::RDS::Endpoints::FailoverGlobalCluster.build(context)
|
233
|
+
when :list_tags_for_resource
|
234
|
+
Aws::RDS::Endpoints::ListTagsForResource.build(context)
|
235
|
+
when :modify_activity_stream
|
236
|
+
Aws::RDS::Endpoints::ModifyActivityStream.build(context)
|
237
|
+
when :modify_certificates
|
238
|
+
Aws::RDS::Endpoints::ModifyCertificates.build(context)
|
239
|
+
when :modify_current_db_cluster_capacity
|
240
|
+
Aws::RDS::Endpoints::ModifyCurrentDBClusterCapacity.build(context)
|
241
|
+
when :modify_custom_db_engine_version
|
242
|
+
Aws::RDS::Endpoints::ModifyCustomDBEngineVersion.build(context)
|
243
|
+
when :modify_db_cluster
|
244
|
+
Aws::RDS::Endpoints::ModifyDBCluster.build(context)
|
245
|
+
when :modify_db_cluster_endpoint
|
246
|
+
Aws::RDS::Endpoints::ModifyDBClusterEndpoint.build(context)
|
247
|
+
when :modify_db_cluster_parameter_group
|
248
|
+
Aws::RDS::Endpoints::ModifyDBClusterParameterGroup.build(context)
|
249
|
+
when :modify_db_cluster_snapshot_attribute
|
250
|
+
Aws::RDS::Endpoints::ModifyDBClusterSnapshotAttribute.build(context)
|
251
|
+
when :modify_db_instance
|
252
|
+
Aws::RDS::Endpoints::ModifyDBInstance.build(context)
|
253
|
+
when :modify_db_parameter_group
|
254
|
+
Aws::RDS::Endpoints::ModifyDBParameterGroup.build(context)
|
255
|
+
when :modify_db_proxy
|
256
|
+
Aws::RDS::Endpoints::ModifyDBProxy.build(context)
|
257
|
+
when :modify_db_proxy_endpoint
|
258
|
+
Aws::RDS::Endpoints::ModifyDBProxyEndpoint.build(context)
|
259
|
+
when :modify_db_proxy_target_group
|
260
|
+
Aws::RDS::Endpoints::ModifyDBProxyTargetGroup.build(context)
|
261
|
+
when :modify_db_snapshot
|
262
|
+
Aws::RDS::Endpoints::ModifyDBSnapshot.build(context)
|
263
|
+
when :modify_db_snapshot_attribute
|
264
|
+
Aws::RDS::Endpoints::ModifyDBSnapshotAttribute.build(context)
|
265
|
+
when :modify_db_subnet_group
|
266
|
+
Aws::RDS::Endpoints::ModifyDBSubnetGroup.build(context)
|
267
|
+
when :modify_event_subscription
|
268
|
+
Aws::RDS::Endpoints::ModifyEventSubscription.build(context)
|
269
|
+
when :modify_global_cluster
|
270
|
+
Aws::RDS::Endpoints::ModifyGlobalCluster.build(context)
|
271
|
+
when :modify_option_group
|
272
|
+
Aws::RDS::Endpoints::ModifyOptionGroup.build(context)
|
273
|
+
when :promote_read_replica
|
274
|
+
Aws::RDS::Endpoints::PromoteReadReplica.build(context)
|
275
|
+
when :promote_read_replica_db_cluster
|
276
|
+
Aws::RDS::Endpoints::PromoteReadReplicaDBCluster.build(context)
|
277
|
+
when :purchase_reserved_db_instances_offering
|
278
|
+
Aws::RDS::Endpoints::PurchaseReservedDBInstancesOffering.build(context)
|
279
|
+
when :reboot_db_cluster
|
280
|
+
Aws::RDS::Endpoints::RebootDBCluster.build(context)
|
281
|
+
when :reboot_db_instance
|
282
|
+
Aws::RDS::Endpoints::RebootDBInstance.build(context)
|
283
|
+
when :register_db_proxy_targets
|
284
|
+
Aws::RDS::Endpoints::RegisterDBProxyTargets.build(context)
|
285
|
+
when :remove_from_global_cluster
|
286
|
+
Aws::RDS::Endpoints::RemoveFromGlobalCluster.build(context)
|
287
|
+
when :remove_role_from_db_cluster
|
288
|
+
Aws::RDS::Endpoints::RemoveRoleFromDBCluster.build(context)
|
289
|
+
when :remove_role_from_db_instance
|
290
|
+
Aws::RDS::Endpoints::RemoveRoleFromDBInstance.build(context)
|
291
|
+
when :remove_source_identifier_from_subscription
|
292
|
+
Aws::RDS::Endpoints::RemoveSourceIdentifierFromSubscription.build(context)
|
293
|
+
when :remove_tags_from_resource
|
294
|
+
Aws::RDS::Endpoints::RemoveTagsFromResource.build(context)
|
295
|
+
when :reset_db_cluster_parameter_group
|
296
|
+
Aws::RDS::Endpoints::ResetDBClusterParameterGroup.build(context)
|
297
|
+
when :reset_db_parameter_group
|
298
|
+
Aws::RDS::Endpoints::ResetDBParameterGroup.build(context)
|
299
|
+
when :restore_db_cluster_from_s3
|
300
|
+
Aws::RDS::Endpoints::RestoreDBClusterFromS3.build(context)
|
301
|
+
when :restore_db_cluster_from_snapshot
|
302
|
+
Aws::RDS::Endpoints::RestoreDBClusterFromSnapshot.build(context)
|
303
|
+
when :restore_db_cluster_to_point_in_time
|
304
|
+
Aws::RDS::Endpoints::RestoreDBClusterToPointInTime.build(context)
|
305
|
+
when :restore_db_instance_from_db_snapshot
|
306
|
+
Aws::RDS::Endpoints::RestoreDBInstanceFromDBSnapshot.build(context)
|
307
|
+
when :restore_db_instance_from_s3
|
308
|
+
Aws::RDS::Endpoints::RestoreDBInstanceFromS3.build(context)
|
309
|
+
when :restore_db_instance_to_point_in_time
|
310
|
+
Aws::RDS::Endpoints::RestoreDBInstanceToPointInTime.build(context)
|
311
|
+
when :revoke_db_security_group_ingress
|
312
|
+
Aws::RDS::Endpoints::RevokeDBSecurityGroupIngress.build(context)
|
313
|
+
when :start_activity_stream
|
314
|
+
Aws::RDS::Endpoints::StartActivityStream.build(context)
|
315
|
+
when :start_db_cluster
|
316
|
+
Aws::RDS::Endpoints::StartDBCluster.build(context)
|
317
|
+
when :start_db_instance
|
318
|
+
Aws::RDS::Endpoints::StartDBInstance.build(context)
|
319
|
+
when :start_db_instance_automated_backups_replication
|
320
|
+
Aws::RDS::Endpoints::StartDBInstanceAutomatedBackupsReplication.build(context)
|
321
|
+
when :start_export_task
|
322
|
+
Aws::RDS::Endpoints::StartExportTask.build(context)
|
323
|
+
when :stop_activity_stream
|
324
|
+
Aws::RDS::Endpoints::StopActivityStream.build(context)
|
325
|
+
when :stop_db_cluster
|
326
|
+
Aws::RDS::Endpoints::StopDBCluster.build(context)
|
327
|
+
when :stop_db_instance
|
328
|
+
Aws::RDS::Endpoints::StopDBInstance.build(context)
|
329
|
+
when :stop_db_instance_automated_backups_replication
|
330
|
+
Aws::RDS::Endpoints::StopDBInstanceAutomatedBackupsReplication.build(context)
|
331
|
+
when :switchover_read_replica
|
332
|
+
Aws::RDS::Endpoints::SwitchoverReadReplica.build(context)
|
333
|
+
end
|
334
|
+
end
|
335
|
+
end
|
336
|
+
|
337
|
+
def add_handlers(handlers, _config)
|
338
|
+
handlers.add(Handler, step: :build, priority: 75)
|
339
|
+
end
|
340
|
+
end
|
341
|
+
end
|
342
|
+
end
|
data/lib/aws-sdk-rds/types.rb
CHANGED
@@ -820,6 +820,9 @@ module Aws::RDS
|
|
820
820
|
# `max_connections` setting for the RDS DB instance or Aurora DB
|
821
821
|
# cluster used by the target group.
|
822
822
|
#
|
823
|
+
# If you specify `MaxIdleConnectionsPercent`, then you must also
|
824
|
+
# include a value for this parameter.
|
825
|
+
#
|
823
826
|
# Default: 10 for RDS for Microsoft SQL Server, and 100 for all other
|
824
827
|
# engines
|
825
828
|
#
|
@@ -835,6 +838,9 @@ module Aws::RDS
|
|
835
838
|
# value causes the proxy to close more idle connections and return
|
836
839
|
# them to the database.
|
837
840
|
#
|
841
|
+
# If you specify this parameter, then you must also include a value
|
842
|
+
# for `MaxConnectionsPercent`.
|
843
|
+
#
|
838
844
|
# Default: The default value is half of the value of
|
839
845
|
# `MaxConnectionsPercent`. For example, if `MaxConnectionsPercent` is
|
840
846
|
# 80, then the default value of `MaxIdleConnectionsPercent` is 40. If
|
@@ -12128,6 +12134,10 @@ module Aws::RDS
|
|
12128
12134
|
#
|
12129
12135
|
# * `aurora-postgresql13`
|
12130
12136
|
#
|
12137
|
+
# * `aurora-postgresql14`
|
12138
|
+
#
|
12139
|
+
# * `custom-oracle-ee-19`
|
12140
|
+
#
|
12131
12141
|
# * `mariadb10.2`
|
12132
12142
|
#
|
12133
12143
|
# * `mariadb10.3`
|
@@ -12142,6 +12152,18 @@ module Aws::RDS
|
|
12142
12152
|
#
|
12143
12153
|
# * `mysql8.0`
|
12144
12154
|
#
|
12155
|
+
# * `oracle-ee-19`
|
12156
|
+
#
|
12157
|
+
# * `oracle-ee-cdb-19`
|
12158
|
+
#
|
12159
|
+
# * `oracle-ee-cdb-21`
|
12160
|
+
#
|
12161
|
+
# * `oracle-se2-19`
|
12162
|
+
#
|
12163
|
+
# * `oracle-se2-cdb-19`
|
12164
|
+
#
|
12165
|
+
# * `oracle-se2-cdb-21`
|
12166
|
+
#
|
12145
12167
|
# * `postgres10`
|
12146
12168
|
#
|
12147
12169
|
# * `postgres11`
|
@@ -12472,6 +12494,7 @@ module Aws::RDS
|
|
12472
12494
|
# ],
|
12473
12495
|
# marker: "String",
|
12474
12496
|
# max_records: 1,
|
12497
|
+
# source_type: "SNAPSHOT", # accepts SNAPSHOT, CLUSTER
|
12475
12498
|
# }
|
12476
12499
|
#
|
12477
12500
|
# @!attribute [rw] export_task_identifier
|
@@ -12533,6 +12556,10 @@ module Aws::RDS
|
|
12533
12556
|
# Constraints: Minimum 20, maximum 100.
|
12534
12557
|
# @return [Integer]
|
12535
12558
|
#
|
12559
|
+
# @!attribute [rw] source_type
|
12560
|
+
# The type of source for the export.
|
12561
|
+
# @return [String]
|
12562
|
+
#
|
12536
12563
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeExportTasksMessage AWS API Documentation
|
12537
12564
|
#
|
12538
12565
|
class DescribeExportTasksMessage < Struct.new(
|
@@ -12540,7 +12567,8 @@ module Aws::RDS
|
|
12540
12567
|
:source_arn,
|
12541
12568
|
:filters,
|
12542
12569
|
:marker,
|
12543
|
-
:max_records
|
12570
|
+
:max_records,
|
12571
|
+
:source_type)
|
12544
12572
|
SENSITIVE = []
|
12545
12573
|
include Aws::Structure
|
12546
12574
|
end
|
@@ -13828,6 +13856,10 @@ module Aws::RDS
|
|
13828
13856
|
# A warning about the snapshot export task.
|
13829
13857
|
# @return [String]
|
13830
13858
|
#
|
13859
|
+
# @!attribute [rw] source_type
|
13860
|
+
# The type of source for the export.
|
13861
|
+
# @return [String]
|
13862
|
+
#
|
13831
13863
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ExportTask AWS API Documentation
|
13832
13864
|
#
|
13833
13865
|
class ExportTask < Struct.new(
|
@@ -13845,7 +13877,8 @@ module Aws::RDS
|
|
13845
13877
|
:percent_progress,
|
13846
13878
|
:total_extracted_data_in_gb,
|
13847
13879
|
:failure_cause,
|
13848
|
-
:warning_message
|
13880
|
+
:warning_message,
|
13881
|
+
:source_type)
|
13849
13882
|
SENSITIVE = []
|
13850
13883
|
include Aws::Structure
|
13851
13884
|
end
|
data/lib/aws-sdk-rds.rb
CHANGED
@@ -13,10 +13,14 @@ require 'aws-sdk-core'
|
|
13
13
|
|
14
14
|
require_relative 'aws-sdk-rds/types'
|
15
15
|
require_relative 'aws-sdk-rds/client_api'
|
16
|
+
require_relative 'aws-sdk-rds/plugins/endpoints.rb'
|
16
17
|
require_relative 'aws-sdk-rds/client'
|
17
18
|
require_relative 'aws-sdk-rds/errors'
|
18
19
|
require_relative 'aws-sdk-rds/waiters'
|
19
20
|
require_relative 'aws-sdk-rds/resource'
|
21
|
+
require_relative 'aws-sdk-rds/endpoint_parameters'
|
22
|
+
require_relative 'aws-sdk-rds/endpoint_provider'
|
23
|
+
require_relative 'aws-sdk-rds/endpoints'
|
20
24
|
require_relative 'aws-sdk-rds/account_quota'
|
21
25
|
require_relative 'aws-sdk-rds/certificate'
|
22
26
|
require_relative 'aws-sdk-rds/db_cluster'
|
@@ -74,6 +78,6 @@ require_relative 'aws-sdk-rds/customizations'
|
|
74
78
|
# @!group service
|
75
79
|
module Aws::RDS
|
76
80
|
|
77
|
-
GEM_VERSION = '1.
|
81
|
+
GEM_VERSION = '1.157.0'
|
78
82
|
|
79
83
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-rds
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.157.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-10-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|
@@ -33,7 +33,7 @@ dependencies:
|
|
33
33
|
version: '3'
|
34
34
|
- - ">="
|
35
35
|
- !ruby/object:Gem::Version
|
36
|
-
version: 3.
|
36
|
+
version: 3.165.0
|
37
37
|
type: :runtime
|
38
38
|
prerelease: false
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
version: '3'
|
44
44
|
- - ">="
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: 3.
|
46
|
+
version: 3.165.0
|
47
47
|
description: Official AWS Ruby gem for Amazon Relational Database Service (Amazon
|
48
48
|
RDS). This gem is part of the AWS SDK for Ruby.
|
49
49
|
email:
|
@@ -75,6 +75,9 @@ files:
|
|
75
75
|
- lib/aws-sdk-rds/db_snapshot.rb
|
76
76
|
- lib/aws-sdk-rds/db_snapshot_attribute.rb
|
77
77
|
- lib/aws-sdk-rds/db_subnet_group.rb
|
78
|
+
- lib/aws-sdk-rds/endpoint_parameters.rb
|
79
|
+
- lib/aws-sdk-rds/endpoint_provider.rb
|
80
|
+
- lib/aws-sdk-rds/endpoints.rb
|
78
81
|
- lib/aws-sdk-rds/errors.rb
|
79
82
|
- lib/aws-sdk-rds/event.rb
|
80
83
|
- lib/aws-sdk-rds/event_category_map.rb
|
@@ -84,6 +87,7 @@ files:
|
|
84
87
|
- lib/aws-sdk-rds/parameter.rb
|
85
88
|
- lib/aws-sdk-rds/pending_maintenance_action.rb
|
86
89
|
- lib/aws-sdk-rds/plugins/cross_region_copying.rb
|
90
|
+
- lib/aws-sdk-rds/plugins/endpoints.rb
|
87
91
|
- lib/aws-sdk-rds/reserved_db_instance.rb
|
88
92
|
- lib/aws-sdk-rds/reserved_db_instances_offering.rb
|
89
93
|
- lib/aws-sdk-rds/resource.rb
|