aws-sdk-euca 1.8.5

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.
Files changed (539) hide show
  1. data/.yardopts +5 -0
  2. data/LICENSE.txt +12 -0
  3. data/README.rdoc +189 -0
  4. data/ca-bundle.crt +3895 -0
  5. data/lib/aws-sdk-euca.rb +79 -0
  6. data/lib/aws-sdk.rb +79 -0
  7. data/lib/aws.rb +14 -0
  8. data/lib/aws/api_config/AutoScaling-2011-01-01.yml +825 -0
  9. data/lib/aws/api_config/CloudFormation-2010-05-15.yml +322 -0
  10. data/lib/aws/api_config/CloudFront-2012-05-05.yml +2102 -0
  11. data/lib/aws/api_config/CloudSearch-2011-02-01.yml +681 -0
  12. data/lib/aws/api_config/CloudWatch-2010-08-01.yml +433 -0
  13. data/lib/aws/api_config/DataPipeline-2012-10-29.yml +422 -0
  14. data/lib/aws/api_config/DynamoDB-2011-12-05.yml +1160 -0
  15. data/lib/aws/api_config/EC2-2013-02-01.yml +4368 -0
  16. data/lib/aws/api_config/ELB-2012-06-01.yml +597 -0
  17. data/lib/aws/api_config/EMR-2009-03-31.yml +370 -0
  18. data/lib/aws/api_config/ElastiCache-2012-03-09.yml +777 -0
  19. data/lib/aws/api_config/ElastiCache-2012-11-15.yml +979 -0
  20. data/lib/aws/api_config/ElasticBeanstalk-2010-12-01.yml +823 -0
  21. data/lib/aws/api_config/ElasticTranscoder-2012-09-25.yml +1036 -0
  22. data/lib/aws/api_config/Glacier-2012-06-01.yml +618 -0
  23. data/lib/aws/api_config/IAM-2010-05-08.yml +1222 -0
  24. data/lib/aws/api_config/ImportExport-2010-06-01.yml +109 -0
  25. data/lib/aws/api_config/OpsWorks-2013-02-18.yml +1463 -0
  26. data/lib/aws/api_config/RDS-2012-09-17.yml +1861 -0
  27. data/lib/aws/api_config/RDS-2013-02-12.yml +2377 -0
  28. data/lib/aws/api_config/Redshift-2012-12-01.yml +1149 -0
  29. data/lib/aws/api_config/Route53-2012-02-29.yml +380 -0
  30. data/lib/aws/api_config/Route53-2012-12-12.yml +547 -0
  31. data/lib/aws/api_config/SNS-2010-03-31.yml +249 -0
  32. data/lib/aws/api_config/SQS-2012-11-05.yml +317 -0
  33. data/lib/aws/api_config/STS-2011-06-15.yml +81 -0
  34. data/lib/aws/api_config/SimpleDB-2009-04-15.yml +306 -0
  35. data/lib/aws/api_config/SimpleEmailService-2010-12-01.yml +346 -0
  36. data/lib/aws/api_config/SimpleWorkflow-2012-01-25.yml +2358 -0
  37. data/lib/aws/api_config/StorageGateway-2012-06-30.yml +748 -0
  38. data/lib/aws/auto_scaling.rb +164 -0
  39. data/lib/aws/auto_scaling/activity.rb +102 -0
  40. data/lib/aws/auto_scaling/activity_collection.rb +82 -0
  41. data/lib/aws/auto_scaling/client.rb +521 -0
  42. data/lib/aws/auto_scaling/config.rb +18 -0
  43. data/lib/aws/auto_scaling/errors.rb +22 -0
  44. data/lib/aws/auto_scaling/group.rb +420 -0
  45. data/lib/aws/auto_scaling/group_collection.rb +96 -0
  46. data/lib/aws/auto_scaling/group_options.rb +146 -0
  47. data/lib/aws/auto_scaling/instance.rb +192 -0
  48. data/lib/aws/auto_scaling/instance_collection.rb +63 -0
  49. data/lib/aws/auto_scaling/launch_configuration.rb +158 -0
  50. data/lib/aws/auto_scaling/launch_configuration_collection.rb +154 -0
  51. data/lib/aws/auto_scaling/notification_configuration.rb +89 -0
  52. data/lib/aws/auto_scaling/notification_configuration_collection.rb +184 -0
  53. data/lib/aws/auto_scaling/request.rb +29 -0
  54. data/lib/aws/auto_scaling/scaling_policy.rb +142 -0
  55. data/lib/aws/auto_scaling/scaling_policy_collection.rb +72 -0
  56. data/lib/aws/auto_scaling/scaling_policy_options.rb +64 -0
  57. data/lib/aws/auto_scaling/scheduled_action.rb +145 -0
  58. data/lib/aws/auto_scaling/scheduled_action_collection.rb +195 -0
  59. data/lib/aws/auto_scaling/tag.rb +59 -0
  60. data/lib/aws/auto_scaling/tag_collection.rb +112 -0
  61. data/lib/aws/cloud_formation.rb +272 -0
  62. data/lib/aws/cloud_formation/client.rb +369 -0
  63. data/lib/aws/cloud_formation/config.rb +18 -0
  64. data/lib/aws/cloud_formation/errors.rb +22 -0
  65. data/lib/aws/cloud_formation/request.rb +29 -0
  66. data/lib/aws/cloud_formation/stack.rb +255 -0
  67. data/lib/aws/cloud_formation/stack_collection.rb +209 -0
  68. data/lib/aws/cloud_formation/stack_event.rb +75 -0
  69. data/lib/aws/cloud_formation/stack_event_collection.rb +47 -0
  70. data/lib/aws/cloud_formation/stack_options.rb +72 -0
  71. data/lib/aws/cloud_formation/stack_output.rb +53 -0
  72. data/lib/aws/cloud_formation/stack_resource.rb +117 -0
  73. data/lib/aws/cloud_formation/stack_resource_collection.rb +84 -0
  74. data/lib/aws/cloud_formation/stack_resource_summary_collection.rb +64 -0
  75. data/lib/aws/cloud_formation/stack_summary_collection.rb +123 -0
  76. data/lib/aws/cloud_front.rb +73 -0
  77. data/lib/aws/cloud_front/client.rb +1307 -0
  78. data/lib/aws/cloud_front/config.rb +18 -0
  79. data/lib/aws/cloud_front/errors.rb +22 -0
  80. data/lib/aws/cloud_front/request.rb +44 -0
  81. data/lib/aws/cloud_search.rb +74 -0
  82. data/lib/aws/cloud_search/client.rb +558 -0
  83. data/lib/aws/cloud_search/config.rb +18 -0
  84. data/lib/aws/cloud_search/errors.rb +22 -0
  85. data/lib/aws/cloud_search/request.rb +23 -0
  86. data/lib/aws/cloud_watch.rb +119 -0
  87. data/lib/aws/cloud_watch/alarm.rb +272 -0
  88. data/lib/aws/cloud_watch/alarm_collection.rb +153 -0
  89. data/lib/aws/cloud_watch/alarm_history_item.rb +50 -0
  90. data/lib/aws/cloud_watch/alarm_history_item_collection.rb +84 -0
  91. data/lib/aws/cloud_watch/client.rb +247 -0
  92. data/lib/aws/cloud_watch/config.rb +18 -0
  93. data/lib/aws/cloud_watch/errors.rb +22 -0
  94. data/lib/aws/cloud_watch/metric.rb +135 -0
  95. data/lib/aws/cloud_watch/metric_alarm_collection.rb +160 -0
  96. data/lib/aws/cloud_watch/metric_collection.rb +131 -0
  97. data/lib/aws/cloud_watch/metric_statistics.rb +69 -0
  98. data/lib/aws/cloud_watch/request.rb +23 -0
  99. data/lib/aws/core.rb +587 -0
  100. data/lib/aws/core/async_handle.rb +90 -0
  101. data/lib/aws/core/autoloader.rb +64 -0
  102. data/lib/aws/core/cacheable.rb +78 -0
  103. data/lib/aws/core/client.rb +691 -0
  104. data/lib/aws/core/collection.rb +267 -0
  105. data/lib/aws/core/collection/simple.rb +82 -0
  106. data/lib/aws/core/collection/with_limit_and_next_token.rb +71 -0
  107. data/lib/aws/core/collection/with_next_token.rb +97 -0
  108. data/lib/aws/core/configuration.rb +546 -0
  109. data/lib/aws/core/credential_providers.rb +461 -0
  110. data/lib/aws/core/data.rb +247 -0
  111. data/lib/aws/core/http/curb_handler.rb +155 -0
  112. data/lib/aws/core/http/handler.rb +89 -0
  113. data/lib/aws/core/http/net_http_handler.rb +128 -0
  114. data/lib/aws/core/http/request.rb +263 -0
  115. data/lib/aws/core/http/response.rb +81 -0
  116. data/lib/aws/core/indifferent_hash.rb +88 -0
  117. data/lib/aws/core/inflection.rb +56 -0
  118. data/lib/aws/core/json_client.rb +47 -0
  119. data/lib/aws/core/json_parser.rb +76 -0
  120. data/lib/aws/core/json_request_builder.rb +35 -0
  121. data/lib/aws/core/json_response_parser.rb +79 -0
  122. data/lib/aws/core/lazy_error_classes.rb +90 -0
  123. data/lib/aws/core/log_formatter.rb +462 -0
  124. data/lib/aws/core/managed_file.rb +32 -0
  125. data/lib/aws/core/meta_utils.rb +45 -0
  126. data/lib/aws/core/model.rb +57 -0
  127. data/lib/aws/core/naming.rb +30 -0
  128. data/lib/aws/core/option_grammar.rb +735 -0
  129. data/lib/aws/core/options/json_serializer.rb +82 -0
  130. data/lib/aws/core/options/validator.rb +155 -0
  131. data/lib/aws/core/options/xml_serializer.rb +118 -0
  132. data/lib/aws/core/page_result.rb +75 -0
  133. data/lib/aws/core/policy.rb +916 -0
  134. data/lib/aws/core/query_client.rb +41 -0
  135. data/lib/aws/core/query_error_parser.rb +24 -0
  136. data/lib/aws/core/query_request_builder.rb +47 -0
  137. data/lib/aws/core/query_response_parser.rb +35 -0
  138. data/lib/aws/core/resource.rb +413 -0
  139. data/lib/aws/core/resource_cache.rb +40 -0
  140. data/lib/aws/core/response.rb +208 -0
  141. data/lib/aws/core/response_cache.rb +50 -0
  142. data/lib/aws/core/rest_error_parser.rb +24 -0
  143. data/lib/aws/core/rest_json_client.rb +40 -0
  144. data/lib/aws/core/rest_request_builder.rb +146 -0
  145. data/lib/aws/core/rest_response_parser.rb +66 -0
  146. data/lib/aws/core/rest_xml_client.rb +47 -0
  147. data/lib/aws/core/service_interface.rb +61 -0
  148. data/lib/aws/core/signature/version_2.rb +56 -0
  149. data/lib/aws/core/signature/version_3.rb +77 -0
  150. data/lib/aws/core/signature/version_3_https.rb +54 -0
  151. data/lib/aws/core/signature/version_4.rb +135 -0
  152. data/lib/aws/core/signer.rb +46 -0
  153. data/lib/aws/core/uri_escape.rb +44 -0
  154. data/lib/aws/core/xml/frame.rb +244 -0
  155. data/lib/aws/core/xml/frame_stack.rb +85 -0
  156. data/lib/aws/core/xml/grammar.rb +307 -0
  157. data/lib/aws/core/xml/parser.rb +70 -0
  158. data/lib/aws/core/xml/root_frame.rb +65 -0
  159. data/lib/aws/core/xml/sax_handlers/libxml.rb +47 -0
  160. data/lib/aws/core/xml/sax_handlers/nokogiri.rb +55 -0
  161. data/lib/aws/core/xml/sax_handlers/ox.rb +41 -0
  162. data/lib/aws/core/xml/sax_handlers/rexml.rb +43 -0
  163. data/lib/aws/core/xml/stub.rb +123 -0
  164. data/lib/aws/data_pipeline.rb +73 -0
  165. data/lib/aws/data_pipeline/client.rb +339 -0
  166. data/lib/aws/data_pipeline/config.rb +18 -0
  167. data/lib/aws/data_pipeline/errors.rb +20 -0
  168. data/lib/aws/data_pipeline/request.rb +26 -0
  169. data/lib/aws/dynamo_db.rb +206 -0
  170. data/lib/aws/dynamo_db/attribute_collection.rb +461 -0
  171. data/lib/aws/dynamo_db/batch_get.rb +213 -0
  172. data/lib/aws/dynamo_db/batch_write.rb +252 -0
  173. data/lib/aws/dynamo_db/binary.rb +35 -0
  174. data/lib/aws/dynamo_db/client.rb +904 -0
  175. data/lib/aws/dynamo_db/config.rb +24 -0
  176. data/lib/aws/dynamo_db/errors.rb +20 -0
  177. data/lib/aws/dynamo_db/expectations.rb +40 -0
  178. data/lib/aws/dynamo_db/item.rb +133 -0
  179. data/lib/aws/dynamo_db/item_collection.rb +852 -0
  180. data/lib/aws/dynamo_db/item_data.rb +31 -0
  181. data/lib/aws/dynamo_db/keys.rb +41 -0
  182. data/lib/aws/dynamo_db/primary_key_element.rb +48 -0
  183. data/lib/aws/dynamo_db/request.rb +26 -0
  184. data/lib/aws/dynamo_db/resource.rb +33 -0
  185. data/lib/aws/dynamo_db/table.rb +491 -0
  186. data/lib/aws/dynamo_db/table_collection.rb +165 -0
  187. data/lib/aws/dynamo_db/types.rb +111 -0
  188. data/lib/aws/ec2.rb +440 -0
  189. data/lib/aws/ec2/attachment.rb +140 -0
  190. data/lib/aws/ec2/attachment_collection.rb +54 -0
  191. data/lib/aws/ec2/availability_zone.rb +86 -0
  192. data/lib/aws/ec2/availability_zone_collection.rb +43 -0
  193. data/lib/aws/ec2/block_device_mappings.rb +53 -0
  194. data/lib/aws/ec2/client.rb +3621 -0
  195. data/lib/aws/ec2/collection.rb +36 -0
  196. data/lib/aws/ec2/config.rb +18 -0
  197. data/lib/aws/ec2/config_transform.rb +63 -0
  198. data/lib/aws/ec2/customer_gateway.rb +90 -0
  199. data/lib/aws/ec2/customer_gateway_collection.rb +73 -0
  200. data/lib/aws/ec2/dhcp_options.rb +106 -0
  201. data/lib/aws/ec2/dhcp_options_collection.rb +87 -0
  202. data/lib/aws/ec2/elastic_ip.rb +208 -0
  203. data/lib/aws/ec2/elastic_ip_collection.rb +97 -0
  204. data/lib/aws/ec2/errors.rb +32 -0
  205. data/lib/aws/ec2/export_task.rb +120 -0
  206. data/lib/aws/ec2/export_task_collection.rb +67 -0
  207. data/lib/aws/ec2/filtered_collection.rb +89 -0
  208. data/lib/aws/ec2/has_permissions.rb +44 -0
  209. data/lib/aws/ec2/image.rb +264 -0
  210. data/lib/aws/ec2/image_collection.rb +228 -0
  211. data/lib/aws/ec2/instance.rb +796 -0
  212. data/lib/aws/ec2/instance_collection.rb +372 -0
  213. data/lib/aws/ec2/internet_gateway.rb +122 -0
  214. data/lib/aws/ec2/internet_gateway/attachment.rb +78 -0
  215. data/lib/aws/ec2/internet_gateway_collection.rb +54 -0
  216. data/lib/aws/ec2/key_pair.rb +82 -0
  217. data/lib/aws/ec2/key_pair_collection.rb +99 -0
  218. data/lib/aws/ec2/network_acl.rb +256 -0
  219. data/lib/aws/ec2/network_acl/association.rb +56 -0
  220. data/lib/aws/ec2/network_acl/entry.rb +147 -0
  221. data/lib/aws/ec2/network_acl_collection.rb +64 -0
  222. data/lib/aws/ec2/network_interface.rb +228 -0
  223. data/lib/aws/ec2/network_interface/attachment.rb +100 -0
  224. data/lib/aws/ec2/network_interface_collection.rb +103 -0
  225. data/lib/aws/ec2/permission_collection.rb +174 -0
  226. data/lib/aws/ec2/region.rb +106 -0
  227. data/lib/aws/ec2/region_collection.rb +51 -0
  228. data/lib/aws/ec2/request.rb +21 -0
  229. data/lib/aws/ec2/reserved_instances.rb +56 -0
  230. data/lib/aws/ec2/reserved_instances_collection.rb +40 -0
  231. data/lib/aws/ec2/reserved_instances_offering.rb +60 -0
  232. data/lib/aws/ec2/reserved_instances_offering_collection.rb +39 -0
  233. data/lib/aws/ec2/resource.rb +161 -0
  234. data/lib/aws/ec2/resource_tag_collection.rb +211 -0
  235. data/lib/aws/ec2/route_table.rb +205 -0
  236. data/lib/aws/ec2/route_table/association.rb +119 -0
  237. data/lib/aws/ec2/route_table/route.rb +119 -0
  238. data/lib/aws/ec2/route_table_collection.rb +72 -0
  239. data/lib/aws/ec2/security_group.rb +484 -0
  240. data/lib/aws/ec2/security_group/ip_permission.rb +135 -0
  241. data/lib/aws/ec2/security_group/ip_permission_collection.rb +82 -0
  242. data/lib/aws/ec2/security_group_collection.rb +135 -0
  243. data/lib/aws/ec2/snapshot.rb +143 -0
  244. data/lib/aws/ec2/snapshot_collection.rb +132 -0
  245. data/lib/aws/ec2/subnet.rb +161 -0
  246. data/lib/aws/ec2/subnet_collection.rb +115 -0
  247. data/lib/aws/ec2/tag.rb +81 -0
  248. data/lib/aws/ec2/tag_collection.rb +107 -0
  249. data/lib/aws/ec2/tagged_collection.rb +53 -0
  250. data/lib/aws/ec2/tagged_item.rb +85 -0
  251. data/lib/aws/ec2/volume.rb +174 -0
  252. data/lib/aws/ec2/volume_collection.rb +101 -0
  253. data/lib/aws/ec2/vpc.rb +166 -0
  254. data/lib/aws/ec2/vpc_collection.rb +70 -0
  255. data/lib/aws/ec2/vpn_connection.rb +99 -0
  256. data/lib/aws/ec2/vpn_connection/telemetry.rb +49 -0
  257. data/lib/aws/ec2/vpn_connection_collection.rb +96 -0
  258. data/lib/aws/ec2/vpn_gateway.rb +123 -0
  259. data/lib/aws/ec2/vpn_gateway/attachment.rb +45 -0
  260. data/lib/aws/ec2/vpn_gateway_collection.rb +77 -0
  261. data/lib/aws/elastic_beanstalk.rb +50 -0
  262. data/lib/aws/elastic_beanstalk/client.rb +867 -0
  263. data/lib/aws/elastic_beanstalk/config.rb +18 -0
  264. data/lib/aws/elastic_beanstalk/errors.rb +22 -0
  265. data/lib/aws/elastic_beanstalk/request.rb +29 -0
  266. data/lib/aws/elastic_transcoder.rb +30 -0
  267. data/lib/aws/elastic_transcoder/client.rb +672 -0
  268. data/lib/aws/elastic_transcoder/config.rb +18 -0
  269. data/lib/aws/elastic_transcoder/errors.rb +23 -0
  270. data/lib/aws/elastic_transcoder/request.rb +30 -0
  271. data/lib/aws/elasticache.rb +50 -0
  272. data/lib/aws/elasticache/client.rb +920 -0
  273. data/lib/aws/elasticache/config.rb +18 -0
  274. data/lib/aws/elasticache/errors.rb +22 -0
  275. data/lib/aws/elasticache/request.rb +23 -0
  276. data/lib/aws/elb.rb +67 -0
  277. data/lib/aws/elb/availability_zone_collection.rb +138 -0
  278. data/lib/aws/elb/backend_server_policy_collection.rb +139 -0
  279. data/lib/aws/elb/client.rb +500 -0
  280. data/lib/aws/elb/config.rb +18 -0
  281. data/lib/aws/elb/errors.rb +26 -0
  282. data/lib/aws/elb/instance_collection.rb +173 -0
  283. data/lib/aws/elb/listener.rb +190 -0
  284. data/lib/aws/elb/listener_collection.rb +113 -0
  285. data/lib/aws/elb/listener_opts.rb +45 -0
  286. data/lib/aws/elb/load_balancer.rb +281 -0
  287. data/lib/aws/elb/load_balancer_collection.rb +134 -0
  288. data/lib/aws/elb/load_balancer_policy.rb +93 -0
  289. data/lib/aws/elb/load_balancer_policy_collection.rb +208 -0
  290. data/lib/aws/elb/request.rb +29 -0
  291. data/lib/aws/emr.rb +86 -0
  292. data/lib/aws/emr/client.rb +330 -0
  293. data/lib/aws/emr/config.rb +18 -0
  294. data/lib/aws/emr/errors.rb +22 -0
  295. data/lib/aws/emr/instance_group.rb +138 -0
  296. data/lib/aws/emr/instance_group_collection.rb +82 -0
  297. data/lib/aws/emr/job_flow.rb +306 -0
  298. data/lib/aws/emr/job_flow_collection.rb +185 -0
  299. data/lib/aws/emr/request.rb +23 -0
  300. data/lib/aws/errors.rb +162 -0
  301. data/lib/aws/glacier.rb +80 -0
  302. data/lib/aws/glacier/archive.rb +56 -0
  303. data/lib/aws/glacier/archive_collection.rb +146 -0
  304. data/lib/aws/glacier/client.rb +286 -0
  305. data/lib/aws/glacier/config.rb +19 -0
  306. data/lib/aws/glacier/errors.rb +22 -0
  307. data/lib/aws/glacier/request.rb +34 -0
  308. data/lib/aws/glacier/resource.rb +30 -0
  309. data/lib/aws/glacier/vault.rb +145 -0
  310. data/lib/aws/glacier/vault_collection.rb +75 -0
  311. data/lib/aws/glacier/vault_notification_configuration.rb +29 -0
  312. data/lib/aws/iam.rb +420 -0
  313. data/lib/aws/iam/access_key.rb +180 -0
  314. data/lib/aws/iam/access_key_collection.rb +128 -0
  315. data/lib/aws/iam/account_alias_collection.rb +79 -0
  316. data/lib/aws/iam/client.rb +1092 -0
  317. data/lib/aws/iam/collection.rb +83 -0
  318. data/lib/aws/iam/config.rb +18 -0
  319. data/lib/aws/iam/errors.rb +22 -0
  320. data/lib/aws/iam/group.rb +111 -0
  321. data/lib/aws/iam/group_collection.rb +132 -0
  322. data/lib/aws/iam/group_policy_collection.rb +47 -0
  323. data/lib/aws/iam/group_user_collection.rb +84 -0
  324. data/lib/aws/iam/login_profile.rb +99 -0
  325. data/lib/aws/iam/mfa_device.rb +52 -0
  326. data/lib/aws/iam/mfa_device_collection.rb +127 -0
  327. data/lib/aws/iam/policy.rb +46 -0
  328. data/lib/aws/iam/policy_collection.rb +188 -0
  329. data/lib/aws/iam/request.rb +29 -0
  330. data/lib/aws/iam/resource.rb +62 -0
  331. data/lib/aws/iam/server_certificate.rb +141 -0
  332. data/lib/aws/iam/server_certificate_collection.rb +138 -0
  333. data/lib/aws/iam/signing_certificate.rb +169 -0
  334. data/lib/aws/iam/signing_certificate_collection.rb +131 -0
  335. data/lib/aws/iam/user.rb +205 -0
  336. data/lib/aws/iam/user_collection.rb +133 -0
  337. data/lib/aws/iam/user_group_collection.rb +98 -0
  338. data/lib/aws/iam/user_policy.rb +90 -0
  339. data/lib/aws/iam/user_policy_collection.rb +45 -0
  340. data/lib/aws/iam/virtual_mfa_device.rb +139 -0
  341. data/lib/aws/iam/virtual_mfa_device_collection.rb +73 -0
  342. data/lib/aws/import_export.rb +73 -0
  343. data/lib/aws/import_export/client.rb +109 -0
  344. data/lib/aws/import_export/config.rb +19 -0
  345. data/lib/aws/import_export/errors.rb +22 -0
  346. data/lib/aws/import_export/request.rb +23 -0
  347. data/lib/aws/ops_works.rb +30 -0
  348. data/lib/aws/ops_works/client.rb +713 -0
  349. data/lib/aws/ops_works/config.rb +18 -0
  350. data/lib/aws/ops_works/errors.rb +20 -0
  351. data/lib/aws/ops_works/request.rb +27 -0
  352. data/lib/aws/rails.rb +195 -0
  353. data/lib/aws/rds.rb +71 -0
  354. data/lib/aws/rds/client.rb +2228 -0
  355. data/lib/aws/rds/config.rb +18 -0
  356. data/lib/aws/rds/db_instance.rb +205 -0
  357. data/lib/aws/rds/db_instance_collection.rb +75 -0
  358. data/lib/aws/rds/db_snapshot.rb +163 -0
  359. data/lib/aws/rds/db_snapshot_collection.rb +89 -0
  360. data/lib/aws/rds/errors.rb +22 -0
  361. data/lib/aws/rds/request.rb +23 -0
  362. data/lib/aws/record.rb +116 -0
  363. data/lib/aws/record/abstract_base.rb +701 -0
  364. data/lib/aws/record/attributes.rb +384 -0
  365. data/lib/aws/record/conversion.rb +38 -0
  366. data/lib/aws/record/dirty_tracking.rb +285 -0
  367. data/lib/aws/record/errors.rb +143 -0
  368. data/lib/aws/record/exceptions.rb +48 -0
  369. data/lib/aws/record/hash_model.rb +161 -0
  370. data/lib/aws/record/hash_model/attributes.rb +197 -0
  371. data/lib/aws/record/hash_model/finder_methods.rb +172 -0
  372. data/lib/aws/record/hash_model/scope.rb +108 -0
  373. data/lib/aws/record/model.rb +427 -0
  374. data/lib/aws/record/model/attributes.rb +379 -0
  375. data/lib/aws/record/model/finder_methods.rb +232 -0
  376. data/lib/aws/record/model/scope.rb +213 -0
  377. data/lib/aws/record/naming.rb +31 -0
  378. data/lib/aws/record/scope.rb +199 -0
  379. data/lib/aws/record/validations.rb +712 -0
  380. data/lib/aws/record/validator.rb +246 -0
  381. data/lib/aws/record/validators/acceptance.rb +51 -0
  382. data/lib/aws/record/validators/block.rb +38 -0
  383. data/lib/aws/record/validators/confirmation.rb +43 -0
  384. data/lib/aws/record/validators/count.rb +108 -0
  385. data/lib/aws/record/validators/exclusion.rb +43 -0
  386. data/lib/aws/record/validators/format.rb +57 -0
  387. data/lib/aws/record/validators/inclusion.rb +56 -0
  388. data/lib/aws/record/validators/length.rb +107 -0
  389. data/lib/aws/record/validators/method.rb +33 -0
  390. data/lib/aws/record/validators/numericality.rb +138 -0
  391. data/lib/aws/record/validators/presence.rb +45 -0
  392. data/lib/aws/redshift.rb +52 -0
  393. data/lib/aws/redshift/client.rb +1291 -0
  394. data/lib/aws/redshift/config.rb +18 -0
  395. data/lib/aws/redshift/errors.rb +22 -0
  396. data/lib/aws/redshift/request.rb +29 -0
  397. data/lib/aws/route_53.rb +87 -0
  398. data/lib/aws/route_53/change_batch.rb +159 -0
  399. data/lib/aws/route_53/change_info.rb +72 -0
  400. data/lib/aws/route_53/client.rb +387 -0
  401. data/lib/aws/route_53/config.rb +18 -0
  402. data/lib/aws/route_53/errors.rb +22 -0
  403. data/lib/aws/route_53/hosted_zone.rb +111 -0
  404. data/lib/aws/route_53/hosted_zone_collection.rb +100 -0
  405. data/lib/aws/route_53/request.rb +23 -0
  406. data/lib/aws/route_53/resource_record_set.rb +237 -0
  407. data/lib/aws/route_53/resource_record_set_collection.rb +110 -0
  408. data/lib/aws/s3.rb +155 -0
  409. data/lib/aws/s3/access_control_list.rb +257 -0
  410. data/lib/aws/s3/acl_object.rb +264 -0
  411. data/lib/aws/s3/acl_options.rb +204 -0
  412. data/lib/aws/s3/bucket.rb +742 -0
  413. data/lib/aws/s3/bucket_collection.rb +160 -0
  414. data/lib/aws/s3/bucket_lifecycle_configuration.rb +458 -0
  415. data/lib/aws/s3/bucket_tag_collection.rb +109 -0
  416. data/lib/aws/s3/bucket_version_collection.rb +77 -0
  417. data/lib/aws/s3/cipher_io.rb +119 -0
  418. data/lib/aws/s3/client.rb +1700 -0
  419. data/lib/aws/s3/client/xml.rb +231 -0
  420. data/lib/aws/s3/config.rb +36 -0
  421. data/lib/aws/s3/cors_rule.rb +106 -0
  422. data/lib/aws/s3/cors_rule_collection.rb +192 -0
  423. data/lib/aws/s3/data_options.rb +185 -0
  424. data/lib/aws/s3/encryption_utils.rb +139 -0
  425. data/lib/aws/s3/errors.rb +94 -0
  426. data/lib/aws/s3/multipart_upload.rb +320 -0
  427. data/lib/aws/s3/multipart_upload_collection.rb +68 -0
  428. data/lib/aws/s3/object_collection.rb +355 -0
  429. data/lib/aws/s3/object_metadata.rb +96 -0
  430. data/lib/aws/s3/object_upload_collection.rb +77 -0
  431. data/lib/aws/s3/object_version.rb +148 -0
  432. data/lib/aws/s3/object_version_collection.rb +89 -0
  433. data/lib/aws/s3/paginated_collection.rb +75 -0
  434. data/lib/aws/s3/policy.rb +74 -0
  435. data/lib/aws/s3/prefix_and_delimiter_collection.rb +47 -0
  436. data/lib/aws/s3/prefixed_collection.rb +81 -0
  437. data/lib/aws/s3/presigned_post.rb +555 -0
  438. data/lib/aws/s3/request.rb +201 -0
  439. data/lib/aws/s3/s3_object.rb +1690 -0
  440. data/lib/aws/s3/tree.rb +118 -0
  441. data/lib/aws/s3/tree/branch_node.rb +68 -0
  442. data/lib/aws/s3/tree/child_collection.rb +104 -0
  443. data/lib/aws/s3/tree/leaf_node.rb +94 -0
  444. data/lib/aws/s3/tree/node.rb +22 -0
  445. data/lib/aws/s3/tree/parent.rb +87 -0
  446. data/lib/aws/s3/uploaded_part.rb +80 -0
  447. data/lib/aws/s3/uploaded_part_collection.rb +84 -0
  448. data/lib/aws/s3/website_configuration.rb +102 -0
  449. data/lib/aws/simple_db.rb +219 -0
  450. data/lib/aws/simple_db/attribute.rb +154 -0
  451. data/lib/aws/simple_db/attribute_collection.rb +231 -0
  452. data/lib/aws/simple_db/client.rb +287 -0
  453. data/lib/aws/simple_db/config.rb +20 -0
  454. data/lib/aws/simple_db/consistent_read_option.rb +42 -0
  455. data/lib/aws/simple_db/delete_attributes.rb +62 -0
  456. data/lib/aws/simple_db/domain.rb +121 -0
  457. data/lib/aws/simple_db/domain_collection.rb +86 -0
  458. data/lib/aws/simple_db/domain_metadata.rb +110 -0
  459. data/lib/aws/simple_db/errors.rb +55 -0
  460. data/lib/aws/simple_db/expect_condition_option.rb +45 -0
  461. data/lib/aws/simple_db/item.rb +93 -0
  462. data/lib/aws/simple_db/item_collection.rb +649 -0
  463. data/lib/aws/simple_db/item_data.rb +73 -0
  464. data/lib/aws/simple_db/put_attributes.rb +60 -0
  465. data/lib/aws/simple_db/request.rb +23 -0
  466. data/lib/aws/simple_email_service.rb +428 -0
  467. data/lib/aws/simple_email_service/client.rb +276 -0
  468. data/lib/aws/simple_email_service/config.rb +19 -0
  469. data/lib/aws/simple_email_service/email_address_collection.rb +69 -0
  470. data/lib/aws/simple_email_service/errors.rb +22 -0
  471. data/lib/aws/simple_email_service/identity.rb +209 -0
  472. data/lib/aws/simple_email_service/identity_collection.rb +81 -0
  473. data/lib/aws/simple_email_service/quotas.rb +64 -0
  474. data/lib/aws/simple_email_service/request.rb +27 -0
  475. data/lib/aws/simple_workflow.rb +228 -0
  476. data/lib/aws/simple_workflow/activity_task.rb +173 -0
  477. data/lib/aws/simple_workflow/activity_task_collection.rb +123 -0
  478. data/lib/aws/simple_workflow/activity_type.rb +131 -0
  479. data/lib/aws/simple_workflow/activity_type_collection.rb +93 -0
  480. data/lib/aws/simple_workflow/client.rb +1204 -0
  481. data/lib/aws/simple_workflow/config.rb +18 -0
  482. data/lib/aws/simple_workflow/count.rb +49 -0
  483. data/lib/aws/simple_workflow/decision_task.rb +603 -0
  484. data/lib/aws/simple_workflow/decision_task_collection.rb +225 -0
  485. data/lib/aws/simple_workflow/domain.rb +122 -0
  486. data/lib/aws/simple_workflow/domain_collection.rb +169 -0
  487. data/lib/aws/simple_workflow/errors.rb +20 -0
  488. data/lib/aws/simple_workflow/history_event.rb +276 -0
  489. data/lib/aws/simple_workflow/history_event_collection.rb +76 -0
  490. data/lib/aws/simple_workflow/option_formatters.rb +82 -0
  491. data/lib/aws/simple_workflow/request.rb +33 -0
  492. data/lib/aws/simple_workflow/resource.rb +94 -0
  493. data/lib/aws/simple_workflow/type.rb +89 -0
  494. data/lib/aws/simple_workflow/type_collection.rb +140 -0
  495. data/lib/aws/simple_workflow/workflow_execution.rb +386 -0
  496. data/lib/aws/simple_workflow/workflow_execution_collection.rb +617 -0
  497. data/lib/aws/simple_workflow/workflow_type.rb +177 -0
  498. data/lib/aws/simple_workflow/workflow_type_collection.rb +91 -0
  499. data/lib/aws/sns.rb +76 -0
  500. data/lib/aws/sns/client.rb +266 -0
  501. data/lib/aws/sns/config.rb +18 -0
  502. data/lib/aws/sns/errors.rb +22 -0
  503. data/lib/aws/sns/has_delivery_policy.rb +68 -0
  504. data/lib/aws/sns/policy.rb +47 -0
  505. data/lib/aws/sns/request.rb +23 -0
  506. data/lib/aws/sns/subscription.rb +144 -0
  507. data/lib/aws/sns/subscription_collection.rb +78 -0
  508. data/lib/aws/sns/topic.rb +403 -0
  509. data/lib/aws/sns/topic_collection.rb +62 -0
  510. data/lib/aws/sns/topic_subscription_collection.rb +54 -0
  511. data/lib/aws/sqs.rb +81 -0
  512. data/lib/aws/sqs/client.rb +258 -0
  513. data/lib/aws/sqs/config.rb +18 -0
  514. data/lib/aws/sqs/errors.rb +101 -0
  515. data/lib/aws/sqs/policy.rb +48 -0
  516. data/lib/aws/sqs/queue.rb +764 -0
  517. data/lib/aws/sqs/queue_collection.rb +174 -0
  518. data/lib/aws/sqs/received_message.rb +181 -0
  519. data/lib/aws/sqs/received_sns_message.rb +116 -0
  520. data/lib/aws/sqs/request.rb +67 -0
  521. data/lib/aws/storage_gateway.rb +73 -0
  522. data/lib/aws/storage_gateway/client.rb +472 -0
  523. data/lib/aws/storage_gateway/config.rb +18 -0
  524. data/lib/aws/storage_gateway/errors.rb +22 -0
  525. data/lib/aws/storage_gateway/request.rb +28 -0
  526. data/lib/aws/sts.rb +163 -0
  527. data/lib/aws/sts/client.rb +157 -0
  528. data/lib/aws/sts/config.rb +18 -0
  529. data/lib/aws/sts/errors.rb +22 -0
  530. data/lib/aws/sts/federated_session.rb +56 -0
  531. data/lib/aws/sts/policy.rb +30 -0
  532. data/lib/aws/sts/request.rb +29 -0
  533. data/lib/aws/sts/session.rb +48 -0
  534. data/lib/aws/version.rb +18 -0
  535. data/lib/net/http/connection_pool.rb +226 -0
  536. data/lib/net/http/connection_pool/connection.rb +189 -0
  537. data/lib/net/http/connection_pool/session.rb +126 -0
  538. data/rails/init.rb +15 -0
  539. metadata +632 -0
@@ -0,0 +1,18 @@
1
+ # Copyright 2011-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License"). You
4
+ # may not use this file except in compliance with the License. A copy of
5
+ # the License is located at
6
+ #
7
+ # http://aws.amazon.com/apache2.0/
8
+ #
9
+ # or in the "license" file accompanying this file. This file is
10
+ # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
11
+ # ANY KIND, either express or implied. See the License for the specific
12
+ # language governing permissions and limitations under the License.
13
+
14
+ AWS::Core::Configuration.module_eval do
15
+
16
+ add_service 'OpsWorks', 'ops_works', 'opsworks.us-east-1.amazonaws.com'
17
+
18
+ end
@@ -0,0 +1,20 @@
1
+ # Copyright 2011-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License"). You
4
+ # may not use this file except in compliance with the License. A copy of
5
+ # the License is located at
6
+ #
7
+ # http://aws.amazon.com/apache2.0/
8
+ #
9
+ # or in the "license" file accompanying this file. This file is
10
+ # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
11
+ # ANY KIND, either express or implied. See the License for the specific
12
+ # language governing permissions and limitations under the License.
13
+
14
+ module AWS
15
+ class OpsWorks
16
+ module Errors
17
+ extend Core::LazyErrorClasses
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,27 @@
1
+ # Copyright 2011-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License"). You
4
+ # may not use this file except in compliance with the License. A copy of
5
+ # the License is located at
6
+ #
7
+ # http://aws.amazon.com/apache2.0/
8
+ #
9
+ # or in the "license" file accompanying this file. This file is
10
+ # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
11
+ # ANY KIND, either express or implied. See the License for the specific
12
+ # language governing permissions and limitations under the License.
13
+
14
+ module AWS
15
+ class OpsWorks
16
+
17
+ # @private
18
+ class Request < Core::Http::Request
19
+ include Core::Signature::Version4
20
+
21
+ def service
22
+ 'opsworks'
23
+ end
24
+
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,195 @@
1
+ # Copyright 2011-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License"). You
4
+ # may not use this file except in compliance with the License. A copy of
5
+ # the License is located at
6
+ #
7
+ # http://aws.amazon.com/apache2.0/
8
+ #
9
+ # or in the "license" file accompanying this file. This file is
10
+ # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
11
+ # ANY KIND, either express or implied. See the License for the specific
12
+ # language governing permissions and limitations under the License.
13
+
14
+ require 'yaml'
15
+
16
+ module AWS
17
+
18
+ if Object.const_defined?(:Rails) and Rails.const_defined?(:Railtie)
19
+
20
+ # @private
21
+ class Railtie < Rails::Railtie
22
+
23
+ # configure our plugin on boot. other extension points such
24
+ # as configuration, rake tasks, etc, are also available
25
+ initializer "aws-sdk.initialize" do |app|
26
+ AWS::Rails.setup
27
+ end
28
+ end
29
+
30
+ end
31
+
32
+ # A handful of useful Rails integration methods.
33
+ #
34
+ # If you require this gem inside a Rails application (via config.gem
35
+ # for rails 2 and bundler for rails 3) then {setup} is called
36
+ # automatically.
37
+ module Rails
38
+
39
+ # Adds extra functionality to Rails.
40
+ #
41
+ # Normally this method is invoked automatically when you require this
42
+ # gem in a Rails Application:
43
+ #
44
+ # Rails 3+ (RAILS_ROOT/Gemfile)
45
+ #
46
+ # gem 'aws-sdk'
47
+ #
48
+ # Rails 2.1 - 2.3 (RAILS_ROOT/config/environment.rb)
49
+ #
50
+ # config.gem 'aws-sdk'
51
+ #
52
+ # @return [nil]
53
+ def self.setup
54
+ load_yaml_config
55
+ add_action_mailer_delivery_method
56
+ log_to_rails_logger
57
+ nil
58
+ end
59
+
60
+ # Loads AWS configuration options from +RAILS_ROOT/config/aws.yml+.
61
+ #
62
+ # This configuration file is optional. You can omit this file and instead
63
+ # use ruby to configure AWS inside a configuration initialization script
64
+ # (e.g. RAILS_ROOT/config/intializers/aws.rb).
65
+ #
66
+ # If you have a yaml configuration file it should be formatted like the
67
+ # standard +database.yml+ file in a Rails application. This means there
68
+ # should be one section for Rails environment:
69
+ #
70
+ # development:
71
+ # access_key_id: YOUR_ACCESS_KEY_ID
72
+ # secret_access_key: YOUR_SECRET_ACCESS_KEY
73
+ # simple_db_consistent_reads: false
74
+ #
75
+ # production:
76
+ # access_key_id: YOUR_ACCESS_KEY_ID
77
+ # secret_access_key: YOUR_SECRET_ACCESS_KEY
78
+ # simple_db_consistent_reads: true
79
+ #
80
+ # You should also consider DRYing up your configuration file using
81
+ # YAML references:
82
+ #
83
+ # development:
84
+ # access_key_id: YOUR_ACCESS_KEY_ID
85
+ # secret_access_key: YOUR_SECRET_ACCESS_KEY
86
+ # simple_db_consistent_reads: false
87
+ #
88
+ # production:
89
+ # <<: *development
90
+ # simple_db_consistent_reads: true
91
+ #
92
+ # The yaml file will also be ERB parsed so you can use ruby inside of it:
93
+ #
94
+ # development:
95
+ # access_key_id: YOUR_ACCESS_KEY_ID
96
+ # secret_access_key: <%= read_secret_from_a_secure_location %>
97
+ # simple_db_consistent_reads: false
98
+ #
99
+ # production:
100
+ # <<: *development
101
+ # simple_db_consistent_reads: true
102
+ #
103
+ def self.load_yaml_config
104
+
105
+ path = Pathname.new("#{rails_root}/config/aws.yml")
106
+
107
+ if File.exists?(path)
108
+ cfg = YAML::load(ERB.new(File.read(path)).result)
109
+ unless cfg[rails_env]
110
+ raise "config/aws.yml is missing a section for `#{rails_env}`"
111
+ end
112
+ AWS.config(cfg[rails_env])
113
+ end
114
+
115
+ end
116
+
117
+ # Adds a delivery method to ActionMailer that uses
118
+ # {AWS::SimpleEmailService}.
119
+ #
120
+ # Once you have an SES delivery method you can configure Rails to
121
+ # use this for ActionMailer in your environment configuration
122
+ # (e.g. RAILS_ROOT/config/environments/production.rb)
123
+ #
124
+ # config.action_mailer.delivery_method = :amazon_ses
125
+ #
126
+ # === Defaults
127
+ #
128
+ # Normally you don't need to call this method. By default a delivery method
129
+ # named +:amazon_ses+ is added to ActionMailer::Base. This delivery method
130
+ # uses your default configuration (#{AWS.config}).
131
+ #
132
+ # === Custom SES Options
133
+ #
134
+ # If you need to supply configuration values for SES that are different than
135
+ # those in {AWS.config} then you can pass those options:
136
+ #
137
+ # AWS.add_action_mailer_delivery_method(:ses, custom_options)
138
+ #
139
+ # @param [Symbol] name (:amazon_ses) The name of the delivery
140
+ # method. The name used here should be the same as you set in
141
+ # your environment config. If you name the delivery method
142
+ # +:amazon_ses+ then you could do something like this in your
143
+ # config/environments/ENV.rb file:
144
+ #
145
+ # config.action_mailer.delivery_method = :amazon_ses
146
+ #
147
+ # @param [Hash] options A hash of options that are passes to
148
+ # {AWS::SimpleEmailService#new} before delivering email.
149
+ #
150
+ # @return [nil]
151
+ #
152
+ def self.add_action_mailer_delivery_method name = :amazon_ses, options = {}
153
+
154
+ if ::Rails.version.to_f >= 3
155
+ ActiveSupport.on_load(:action_mailer) do
156
+ self.add_delivery_method(name, AWS::SimpleEmailService, options)
157
+ end
158
+ else
159
+ amb = ::ActionMailer::Base
160
+ amb.send(:define_method, "perform_delivery_#{name}") do |mail|
161
+ AWS::SimpleEmailService.new(options).send_raw_email(mail)
162
+ end
163
+ end
164
+
165
+ nil
166
+
167
+ end
168
+
169
+ # Configures AWS to log to the Rails default logger.
170
+ # @return [nil]
171
+ def self.log_to_rails_logger
172
+ AWS.config(:logger => rails_logger)
173
+ nil
174
+ end
175
+
176
+ # @private
177
+ protected
178
+ def self.rails_env
179
+ ::Rails.respond_to?(:env) ? ::Rails.env : RAILS_ENV
180
+ end
181
+
182
+ # @private
183
+ protected
184
+ def self.rails_root
185
+ ::Rails.respond_to?(:root) ? ::Rails.root.to_s : RAILS_ROOT
186
+ end
187
+
188
+ # @private
189
+ protected
190
+ def self.rails_logger
191
+ ::Rails.respond_to?(:logger) ? ::Rails.logger : ::RAILS_DEFAULT_LOGGER
192
+ end
193
+
194
+ end
195
+ end
@@ -0,0 +1,71 @@
1
+ # Copyright 2011-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License"). You
4
+ # may not use this file except in compliance with the License. A copy of
5
+ # the License is located at
6
+ #
7
+ # http://aws.amazon.com/apache2.0/
8
+ #
9
+ # or in the "license" file accompanying this file. This file is
10
+ # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
11
+ # ANY KIND, either express or implied. See the License for the specific
12
+ # language governing permissions and limitations under the License.
13
+
14
+ require 'aws/core'
15
+ require 'aws/rds/config'
16
+
17
+ module AWS
18
+
19
+ # This class is the starting point for working with Amazon Relational
20
+ # Database Service (RDS).
21
+ #
22
+ # For more information about RDS:
23
+ #
24
+ # * {Amazon RDS}[http://aws.amazon.com/rds/]
25
+ # * {Amazon RDS Documentation}[http://aws.amazon.com/documentation/rds/]
26
+ #
27
+ # = Credentials
28
+ #
29
+ # You can setup default credentials for all AWS services via
30
+ # AWS.config:
31
+ #
32
+ # AWS.config(
33
+ # :access_key_id => 'YOUR_ACCESS_KEY_ID',
34
+ # :secret_access_key => 'YOUR_SECRET_ACCESS_KEY')
35
+ #
36
+ # Or you can set them directly on the AWS::RDS interface:
37
+ #
38
+ # rds = AWS::RDS.new(
39
+ # :access_key_id => 'YOUR_ACCESS_KEY_ID',
40
+ # :secret_access_key => 'YOUR_SECRET_ACCESS_KEY')
41
+ #
42
+ # @!attribute [r] client
43
+ # @return [Client] the low-level RDS client object
44
+ class RDS
45
+
46
+ AWS.register_autoloads(self) do
47
+ autoload :Client, 'client'
48
+ autoload :Errors, 'errors'
49
+ autoload :DBInstance, 'db_instance'
50
+ autoload :DBInstanceCollection, 'db_instance_collection'
51
+ autoload :DBSnapshot, 'db_snapshot'
52
+ autoload :DBSnapshotCollection, 'db_snapshot_collection'
53
+ autoload :Request, 'request'
54
+ end
55
+
56
+ include Core::ServiceInterface
57
+
58
+ # @return [DBInstanceCollection]
59
+ def db_instances
60
+ DBInstanceCollection.new(:config => config)
61
+ end
62
+ alias_method :instances, :db_instances
63
+
64
+ # @return [DBSnapshotCollection]]
65
+ def db_snapshots
66
+ DBSnapshotCollection.new(:config => config)
67
+ end
68
+ alias_method :snapshots, :db_snapshots
69
+
70
+ end
71
+ end
@@ -0,0 +1,2228 @@
1
+ # Copyright 2011-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License"). You
4
+ # may not use this file except in compliance with the License. A copy of
5
+ # the License is located at
6
+ #
7
+ # http://aws.amazon.com/apache2.0/
8
+ #
9
+ # or in the "license" file accompanying this file. This file is
10
+ # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
11
+ # ANY KIND, either express or implied. See the License for the specific
12
+ # language governing permissions and limitations under the License.
13
+
14
+ module AWS
15
+ class RDS
16
+
17
+ # Client class for Amazon Relational Database Service (RDS).
18
+ class Client < Core::QueryClient
19
+
20
+ # @private
21
+ CACHEABLE_REQUESTS = Set[]
22
+
23
+ # client methods #
24
+
25
+ # @!method add_source_identifier_to_subscription(options = {})
26
+ # Calls the AddSourceIdentifierToSubscription API operation.
27
+ # @param [Hash] options
28
+ # * +:subscription_name+ - *required* - (String) The name of the RDS
29
+ # event notification subscription you want to add a source identifier
30
+ # to.
31
+ # * +:source_identifier+ - *required* - (String) The identifier of the
32
+ # event source to be added. An identifier must begin with a letter
33
+ # and must contain only ASCII letters, digits, and hyphens; it cannot
34
+ # end with a hyphen or contain two consecutive hyphens. Constraints:
35
+ # If the source type is a DB instance, then a DBInstanceIdentifier
36
+ # must be supplied. If the source type is a DB security group, a
37
+ # DBSecurityGroupName must be supplied. If the source type is a DB
38
+ # parameter group, a DBParameterGroupName must be supplied. If the
39
+ # source type is a DB Snapshot, a DBSnapshotIdentifier must be
40
+ # supplied.
41
+ # @return [Core::Response]
42
+ # The #data method of the response object returns
43
+ # a hash with the following structure:
44
+ # * +:customer_aws_id+ - (String)
45
+ # * +:cust_subscription_id+ - (String)
46
+ # * +:sns_topic_arn+ - (String)
47
+ # * +:status+ - (String)
48
+ # * +:subscription_creation_time+ - (String)
49
+ # * +:source_type+ - (String)
50
+ # * +:source_ids_list+ - (Array<String>)
51
+ # * +:event_categories_list+ - (Array<String>)
52
+ # * +:enabled+ - (Boolean)
53
+
54
+ # @!method add_tags_to_resource(options = {})
55
+ # Calls the AddTagsToResource API operation.
56
+ # @param [Hash] options
57
+ # * +:resource_name+ - *required* - (String) The DB Instance the tags
58
+ # will be added to.
59
+ # * +:tags+ - *required* - (Array<Hash>) The tags to be assigned to the
60
+ # DB Instance.
61
+ # * +:key+ - (String) A key is the required name of the tag. The
62
+ # string value can be from 1 to 128 Unicode characters in length
63
+ # and cannot be prefixed with "aws:". The string may only contain
64
+ # only the set of Unicode letters, digits, white-space, '_', '.',
65
+ # '/', '=', '+', '-' (Java regex:
66
+ # "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-]*)$").
67
+ # * +:value+ - (String) A value is the optional value of the tag. The
68
+ # string value can be from 1 to 256 Unicode characters in length
69
+ # and cannot be prefixed with "aws:". The string may only contain
70
+ # only the set of Unicode letters, digits, white-space, '_', '.',
71
+ # '/', '=', '+', '-' (Java regex:
72
+ # "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-]*)$").
73
+ # @return [Core::Response]
74
+
75
+ # @!method authorize_db_security_group_ingress(options = {})
76
+ # Calls the AuthorizeDBSecurityGroupIngress API operation.
77
+ # @param [Hash] options
78
+ # * +:db_security_group_name+ - *required* - (String) The name of the
79
+ # DB Security Group to authorize.
80
+ # * +:cidrip+ - (String) The IP range to authorize.
81
+ # * +:ec2_security_group_name+ - (String) Name of the EC2 Security
82
+ # Group to authorize.
83
+ # * +:ec2_security_group_id+ - (String) Id of the EC2 Security Group to
84
+ # authorize. For VPC DB Security Groups, EC2SecurityGroupId must be
85
+ # provided. Otherwise, EC2SecurityGroupOwnerId and either
86
+ # EC2SecurityGroupName or EC2SecurityGroupId must be provided.
87
+ # * +:ec2_security_group_owner_id+ - (String) AWS Account Number of the
88
+ # owner of the security group specified in the EC2SecurityGroupName
89
+ # parameter. The AWS Access Key ID is not an acceptable value.
90
+ # @return [Core::Response]
91
+ # The #data method of the response object returns
92
+ # a hash with the following structure:
93
+ # * +:owner_id+ - (String)
94
+ # * +:db_security_group_name+ - (String)
95
+ # * +:db_security_group_description+ - (String)
96
+ # * +:vpc_id+ - (String)
97
+ # * +:ec_2_security_groups+ - (Array<Hash>)
98
+ # * +:status+ - (String)
99
+ # * +:ec2_security_group_name+ - (String)
100
+ # * +:ec2_security_group_id+ - (String)
101
+ # * +:ec2_security_group_owner_id+ - (String)
102
+ # * +:ip_ranges+ - (Array<Hash>)
103
+ # * +:status+ - (String)
104
+ # * +:cidrip+ - (String)
105
+
106
+ # @!method copy_db_snapshot(options = {})
107
+ # Calls the CopyDBSnapshot API operation.
108
+ # @param [Hash] options
109
+ # * +:source_db_snapshot_identifier+ - *required* - (String) The
110
+ # identifier for the source DB snapshot. Constraints: Must be the
111
+ # identifier for a valid automated snapshot in the "available" state.
112
+ # Example: rds:mydb-2012-01-15-00-01
113
+ # * +:target_db_snapshot_identifier+ - *required* - (String) The
114
+ # identifier for the copied snapshot. Constraints: Cannot be null,
115
+ # empty, or blank Must contain from 1 to 255 alphanumeric characters
116
+ # or hyphens First character must be a letter Cannot end with a
117
+ # hyphen or contain two consecutive hyphens Example: my-db-snapshot
118
+ # @return [Core::Response]
119
+ # The #data method of the response object returns
120
+ # a hash with the following structure:
121
+ # * +:db_snapshot_identifier+ - (String)
122
+ # * +:db_instance_identifier+ - (String)
123
+ # * +:snapshot_create_time+ - (Time)
124
+ # * +:engine+ - (String)
125
+ # * +:allocated_storage+ - (Integer)
126
+ # * +:status+ - (String)
127
+ # * +:port+ - (Integer)
128
+ # * +:availability_zone+ - (String)
129
+ # * +:vpc_id+ - (String)
130
+ # * +:instance_create_time+ - (Time)
131
+ # * +:master_username+ - (String)
132
+ # * +:engine_version+ - (String)
133
+ # * +:license_model+ - (String)
134
+ # * +:snapshot_type+ - (String)
135
+ # * +:iops+ - (Integer)
136
+ # * +:option_group_name+ - (String)
137
+
138
+ # @!method create_db_instance(options = {})
139
+ # Calls the CreateDBInstance API operation.
140
+ # @param [Hash] options
141
+ # * +:db_name+ - (String) The name of the database to create when the
142
+ # DB Instance is created. If this parameter is not specified, no
143
+ # database is created in the DB Instance.
144
+ # * +:db_instance_identifier+ - *required* - (String) The DB Instance
145
+ # identifier. This parameter is stored as a lowercase string.
146
+ # * +:allocated_storage+ - *required* - (Integer) The amount of storage
147
+ # (in gigabytes) to be initially allocated for the database instance.
148
+ # * +:db_instance_class+ - *required* - (String) The compute and memory
149
+ # capacity of the DB Instance.
150
+ # * +:engine+ - *required* - (String) The name of the database engine
151
+ # to be used for this instance.
152
+ # * +:master_username+ - *required* - (String) The name of master user
153
+ # for the client DB Instance.
154
+ # * +:master_user_password+ - *required* - (String) The password for
155
+ # the master DB Instance user.
156
+ # * +:db_security_groups+ - (Array<String>) A list of DB Security
157
+ # Groups to associate with this DB Instance.
158
+ # * +:vpc_security_group_ids+ - (Array<String>) A list of Ec2 Vpc
159
+ # Security Groups to associate with this DB Instance. Default: The
160
+ # default Ec2 Vpc Security Group for the DB Subnet group's Vpc.
161
+ # * +:availability_zone+ - (String) The EC2 Availability Zone that the
162
+ # database instance will be created in.
163
+ # * +:db_subnet_group_name+ - (String) A DB Subnet Group to associate
164
+ # with this DB Instance. If there is no DB Subnet Group, then it is a
165
+ # non-VPC DB instance.
166
+ # * +:preferred_maintenance_window+ - (String) The weekly time range
167
+ # (in UTC) during which system maintenance can occur.
168
+ # * +:db_parameter_group_name+ - (String) The name of the database
169
+ # parameter group to associate with this DB instance. If this
170
+ # argument is omitted, the default DBParameterGroup for the specified
171
+ # engine will be used.
172
+ # * +:backup_retention_period+ - (Integer) The number of days for which
173
+ # automated backups are retained. Setting this parameter to a
174
+ # positive number enables backups. Setting this parameter to 0
175
+ # disables automated backups.
176
+ # * +:preferred_backup_window+ - (String) The daily time range during
177
+ # which automated backups are created if automated backups are
178
+ # enabled, as determined by the BackupRetentionPeriod.
179
+ # * +:port+ - (Integer) The port number on which the database accepts
180
+ # connections.
181
+ # * +:multi_az+ - (Boolean) Specifies if the DB Instance is a Multi-AZ
182
+ # deployment. You cannot set the AvailabilityZone parameter if the
183
+ # MultiAZ parameter is set to +true+ .
184
+ # * +:engine_version+ - (String) The version number of the database
185
+ # engine to use. Example: 5.1.42
186
+ # * +:auto_minor_version_upgrade+ - (Boolean) Indicates that minor
187
+ # engine upgrades will be applied automatically to the DB Instance
188
+ # during the maintenance window. Default: +true+
189
+ # * +:license_model+ - (String) License model information for this DB
190
+ # Instance. Valid values: license-included | bring-your-own-license |
191
+ # general-public-license
192
+ # * +:iops+ - (Integer) The amount of provisioned input/output
193
+ # operations per second to be initially allocated for the database
194
+ # instance. Constraints: Must be an integer Type: Integer
195
+ # * +:option_group_name+ - (String) Indicates that the DB Instance
196
+ # should be associated with the specified option group.
197
+ # * +:character_set_name+ - (String) For supported engines, indicates
198
+ # that the DB Instance should be associated with the specified
199
+ # CharacterSet.
200
+ # * +:publicly_accessible+ - (Boolean) Specifies the accessibility
201
+ # options for the DB Instance. A value of +true+ specifies an
202
+ # Internet-facing instance with a publicly resolvable DNS name, which
203
+ # resolves to a public IP address. A value of +false+ specifies an
204
+ # internal instance with a DNS name that resolves to a private IP
205
+ # address. Default: The default behavior varies depending on whether
206
+ # a VPC has been requested or not. The following list shows the
207
+ # default behavior in each case. Default VPC: +true+ VPC: +false+ If
208
+ # no DB subnet group has been specified as part of the request and
209
+ # the PubliclyAccessible value has not been set, the DB instance will
210
+ # be publicly accessible. If a specific DB subnet group has been
211
+ # specified as part of the request and the PubliclyAccessible value
212
+ # has not been set, the DB instance will be private.
213
+ # @return [Core::Response]
214
+ # The #data method of the response object returns
215
+ # a hash with the following structure:
216
+ # * +:db_instance_identifier+ - (String)
217
+ # * +:db_instance_class+ - (String)
218
+ # * +:engine+ - (String)
219
+ # * +:db_instance_status+ - (String)
220
+ # * +:master_username+ - (String)
221
+ # * +:db_name+ - (String)
222
+ # * +:endpoint+ - (Hash)
223
+ # * +:address+ - (String)
224
+ # * +:port+ - (Integer)
225
+ # * +:allocated_storage+ - (Integer)
226
+ # * +:instance_create_time+ - (Time)
227
+ # * +:preferred_backup_window+ - (String)
228
+ # * +:backup_retention_period+ - (Integer)
229
+ # * +:db_security_groups+ - (Array<Hash>)
230
+ # * +:db_security_group_name+ - (String)
231
+ # * +:status+ - (String)
232
+ # * +:vpc_security_groups+ - (Array<Hash>)
233
+ # * +:vpc_security_group_id+ - (String)
234
+ # * +:status+ - (String)
235
+ # * +:db_parameter_groups+ - (Array<Hash>)
236
+ # * +:db_parameter_group_name+ - (String)
237
+ # * +:parameter_apply_status+ - (String)
238
+ # * +:availability_zone+ - (String)
239
+ # * +:db_subnet_group+ - (Hash)
240
+ # * +:db_subnet_group_name+ - (String)
241
+ # * +:db_subnet_group_description+ - (String)
242
+ # * +:vpc_id+ - (String)
243
+ # * +:subnet_group_status+ - (String)
244
+ # * +:subnets+ - (Array<Hash>)
245
+ # * +:subnet_identifier+ - (String)
246
+ # * +:subnet_availability_zone+ - (Hash)
247
+ # * +:name+ - (String)
248
+ # * +:provisioned_iops_capable+ - (Boolean)
249
+ # * +:subnet_status+ - (String)
250
+ # * +:preferred_maintenance_window+ - (String)
251
+ # * +:pending_modified_values+ - (Hash)
252
+ # * +:db_instance_class+ - (String)
253
+ # * +:allocated_storage+ - (Integer)
254
+ # * +:master_user_password+ - (String)
255
+ # * +:port+ - (Integer)
256
+ # * +:backup_retention_period+ - (Integer)
257
+ # * +:multi_az+ - (Boolean)
258
+ # * +:engine_version+ - (String)
259
+ # * +:iops+ - (Integer)
260
+ # * +:db_instance_identifier+ - (String)
261
+ # * +:latest_restorable_time+ - (Time)
262
+ # * +:multi_az+ - (Boolean)
263
+ # * +:engine_version+ - (String)
264
+ # * +:auto_minor_version_upgrade+ - (Boolean)
265
+ # * +:read_replica_source_db_instance_identifier+ - (String)
266
+ # * +:read_replica_db_instance_identifiers+ - (Array<String>)
267
+ # * +:license_model+ - (String)
268
+ # * +:iops+ - (Integer)
269
+ # * +:option_group_memberships+ - (Array<Hash>)
270
+ # * +:option_group_name+ - (String)
271
+ # * +:status+ - (String)
272
+ # * +:character_set_name+ - (String)
273
+ # * +:secondary_availability_zone+ - (String)
274
+ # * +:publicly_accessible+ - (Boolean)
275
+
276
+ # @!method create_db_instance_read_replica(options = {})
277
+ # Calls the CreateDBInstanceReadReplica API operation.
278
+ # @param [Hash] options
279
+ # * +:db_instance_identifier+ - *required* - (String) The DB Instance
280
+ # identifier of the Read Replica. This is the unique key that
281
+ # identifies a DB Instance. This parameter is stored as a lowercase
282
+ # string.
283
+ # * +:source_db_instance_identifier+ - *required* - (String) The
284
+ # identifier of the DB Instance that will act as the source for the
285
+ # Read Replica. Each DB Instance can have up to five Read Replicas.
286
+ # Constraints: Must be the identifier of an existing DB Instance that
287
+ # is not already a Read Replica DB Instance.
288
+ # * +:db_instance_class+ - (String) The compute and memory capacity of
289
+ # the Read Replica. Valid Values: db.m1.small | db.m1.large |
290
+ # db.m1.xlarge | db.m2.xlarge |db.m2.2xlarge | db.m2.4xlarge Default:
291
+ # Inherits from the source DB Instance.
292
+ # * +:availability_zone+ - (String) The Amazon EC2 Availability Zone
293
+ # that the Read Replica will be created in. Default: A random,
294
+ # system-chosen Availability Zone in the endpoint's region. Example:
295
+ # us-east-1d
296
+ # * +:port+ - (Integer) The port number that the DB Instance uses for
297
+ # connections. Default: Inherits from the source DB Instance Valid
298
+ # Values: 1150-65535
299
+ # * +:auto_minor_version_upgrade+ - (Boolean) Indicates that minor
300
+ # engine upgrades will be applied automatically to the Read Replica
301
+ # during the maintenance window. Default: Inherits from the source DB
302
+ # Instance
303
+ # * +:iops+ - (Integer) The amount of Provisioned IOPS (input/output
304
+ # operations per second) to be initially allocated for the DB
305
+ # Instance.
306
+ # * +:option_group_name+ - (String) The option group the DB instance
307
+ # will be associated with. If omitted, the default Option Group for
308
+ # the engine specified will be used.
309
+ # * +:publicly_accessible+ - (Boolean) Specifies the accessibility
310
+ # options for the DB Instance. A value of +true+ specifies an
311
+ # Internet-facing instance with a publicly resolvable DNS name, which
312
+ # resolves to a public IP address. A value of +false+ specifies an
313
+ # internal instance with a DNS name that resolves to a private IP
314
+ # address. Default: The default behavior varies depending on whether
315
+ # a VPC has been requested or not. The following list shows the
316
+ # default behavior in each case. Default VPC: +true+ VPC: +false+ If
317
+ # no DB subnet group has been specified as part of the request and
318
+ # the PubliclyAccessible value has not been set, the DB instance will
319
+ # be publicly accessible. If a specific DB subnet group has been
320
+ # specified as part of the request and the PubliclyAccessible value
321
+ # has not been set, the DB instance will be private.
322
+ # @return [Core::Response]
323
+ # The #data method of the response object returns
324
+ # a hash with the following structure:
325
+ # * +:db_instance_identifier+ - (String)
326
+ # * +:db_instance_class+ - (String)
327
+ # * +:engine+ - (String)
328
+ # * +:db_instance_status+ - (String)
329
+ # * +:master_username+ - (String)
330
+ # * +:db_name+ - (String)
331
+ # * +:endpoint+ - (Hash)
332
+ # * +:address+ - (String)
333
+ # * +:port+ - (Integer)
334
+ # * +:allocated_storage+ - (Integer)
335
+ # * +:instance_create_time+ - (Time)
336
+ # * +:preferred_backup_window+ - (String)
337
+ # * +:backup_retention_period+ - (Integer)
338
+ # * +:db_security_groups+ - (Array<Hash>)
339
+ # * +:db_security_group_name+ - (String)
340
+ # * +:status+ - (String)
341
+ # * +:vpc_security_groups+ - (Array<Hash>)
342
+ # * +:vpc_security_group_id+ - (String)
343
+ # * +:status+ - (String)
344
+ # * +:db_parameter_groups+ - (Array<Hash>)
345
+ # * +:db_parameter_group_name+ - (String)
346
+ # * +:parameter_apply_status+ - (String)
347
+ # * +:availability_zone+ - (String)
348
+ # * +:db_subnet_group+ - (Hash)
349
+ # * +:db_subnet_group_name+ - (String)
350
+ # * +:db_subnet_group_description+ - (String)
351
+ # * +:vpc_id+ - (String)
352
+ # * +:subnet_group_status+ - (String)
353
+ # * +:subnets+ - (Array<Hash>)
354
+ # * +:subnet_identifier+ - (String)
355
+ # * +:subnet_availability_zone+ - (Hash)
356
+ # * +:name+ - (String)
357
+ # * +:provisioned_iops_capable+ - (Boolean)
358
+ # * +:subnet_status+ - (String)
359
+ # * +:preferred_maintenance_window+ - (String)
360
+ # * +:pending_modified_values+ - (Hash)
361
+ # * +:db_instance_class+ - (String)
362
+ # * +:allocated_storage+ - (Integer)
363
+ # * +:master_user_password+ - (String)
364
+ # * +:port+ - (Integer)
365
+ # * +:backup_retention_period+ - (Integer)
366
+ # * +:multi_az+ - (Boolean)
367
+ # * +:engine_version+ - (String)
368
+ # * +:iops+ - (Integer)
369
+ # * +:db_instance_identifier+ - (String)
370
+ # * +:latest_restorable_time+ - (Time)
371
+ # * +:multi_az+ - (Boolean)
372
+ # * +:engine_version+ - (String)
373
+ # * +:auto_minor_version_upgrade+ - (Boolean)
374
+ # * +:read_replica_source_db_instance_identifier+ - (String)
375
+ # * +:read_replica_db_instance_identifiers+ - (Array<String>)
376
+ # * +:license_model+ - (String)
377
+ # * +:iops+ - (Integer)
378
+ # * +:option_group_memberships+ - (Array<Hash>)
379
+ # * +:option_group_name+ - (String)
380
+ # * +:status+ - (String)
381
+ # * +:character_set_name+ - (String)
382
+ # * +:secondary_availability_zone+ - (String)
383
+ # * +:publicly_accessible+ - (Boolean)
384
+
385
+ # @!method create_db_parameter_group(options = {})
386
+ # Calls the CreateDBParameterGroup API operation.
387
+ # @param [Hash] options
388
+ # * +:db_parameter_group_name+ - *required* - (String) The name of the
389
+ # DB Parameter Group.
390
+ # * +:db_parameter_group_family+ - *required* - (String) The name of
391
+ # the DB Parameter Group Family the DB Parameter Group can be used
392
+ # with.
393
+ # * +:description+ - *required* - (String) The description for the DB
394
+ # Parameter Group.
395
+ # @return [Core::Response]
396
+ # The #data method of the response object returns
397
+ # a hash with the following structure:
398
+ # * +:db_parameter_group_name+ - (String)
399
+ # * +:db_parameter_group_family+ - (String)
400
+ # * +:description+ - (String)
401
+
402
+ # @!method create_db_security_group(options = {})
403
+ # Calls the CreateDBSecurityGroup API operation.
404
+ # @param [Hash] options
405
+ # * +:db_security_group_name+ - *required* - (String) The name for the
406
+ # DB Security Group. This value is stored as a lowercase string.
407
+ # * +:db_security_group_description+ - *required* - (String) The
408
+ # description for the DB Security Group.
409
+ # @return [Core::Response]
410
+ # The #data method of the response object returns
411
+ # a hash with the following structure:
412
+ # * +:owner_id+ - (String)
413
+ # * +:db_security_group_name+ - (String)
414
+ # * +:db_security_group_description+ - (String)
415
+ # * +:vpc_id+ - (String)
416
+ # * +:ec_2_security_groups+ - (Array<Hash>)
417
+ # * +:status+ - (String)
418
+ # * +:ec2_security_group_name+ - (String)
419
+ # * +:ec2_security_group_id+ - (String)
420
+ # * +:ec2_security_group_owner_id+ - (String)
421
+ # * +:ip_ranges+ - (Array<Hash>)
422
+ # * +:status+ - (String)
423
+ # * +:cidrip+ - (String)
424
+
425
+ # @!method create_db_snapshot(options = {})
426
+ # Calls the CreateDBSnapshot API operation.
427
+ # @param [Hash] options
428
+ # * +:db_snapshot_identifier+ - *required* - (String) The identifier
429
+ # for the DB Snapshot.
430
+ # * +:db_instance_identifier+ - *required* - (String) The DB Instance
431
+ # identifier. This is the unique key that identifies a DB Instance.
432
+ # This parameter isn't case sensitive.
433
+ # @return [Core::Response]
434
+ # The #data method of the response object returns
435
+ # a hash with the following structure:
436
+ # * +:db_snapshot_identifier+ - (String)
437
+ # * +:db_instance_identifier+ - (String)
438
+ # * +:snapshot_create_time+ - (Time)
439
+ # * +:engine+ - (String)
440
+ # * +:allocated_storage+ - (Integer)
441
+ # * +:status+ - (String)
442
+ # * +:port+ - (Integer)
443
+ # * +:availability_zone+ - (String)
444
+ # * +:vpc_id+ - (String)
445
+ # * +:instance_create_time+ - (Time)
446
+ # * +:master_username+ - (String)
447
+ # * +:engine_version+ - (String)
448
+ # * +:license_model+ - (String)
449
+ # * +:snapshot_type+ - (String)
450
+ # * +:iops+ - (Integer)
451
+ # * +:option_group_name+ - (String)
452
+
453
+ # @!method create_db_subnet_group(options = {})
454
+ # Calls the CreateDBSubnetGroup API operation.
455
+ # @param [Hash] options
456
+ # * +:db_subnet_group_name+ - *required* - (String) The name for the DB
457
+ # Subnet Group. This value is stored as a lowercase string.
458
+ # Constraints: Must contain no more than 255 alphanumeric characters
459
+ # or hyphens. Must not be "Default". Example: mySubnetgroup
460
+ # * +:db_subnet_group_description+ - *required* - (String) The
461
+ # description for the DB Subnet Group.
462
+ # * +:subnet_ids+ - *required* - (Array<String>) The EC2 Subnet IDs for
463
+ # the DB Subnet Group.
464
+ # @return [Core::Response]
465
+ # The #data method of the response object returns
466
+ # a hash with the following structure:
467
+ # * +:db_subnet_group_name+ - (String)
468
+ # * +:db_subnet_group_description+ - (String)
469
+ # * +:vpc_id+ - (String)
470
+ # * +:subnet_group_status+ - (String)
471
+ # * +:subnets+ - (Array<Hash>)
472
+ # * +:subnet_identifier+ - (String)
473
+ # * +:subnet_availability_zone+ - (Hash)
474
+ # * +:name+ - (String)
475
+ # * +:provisioned_iops_capable+ - (Boolean)
476
+ # * +:subnet_status+ - (String)
477
+
478
+ # @!method create_event_subscription(options = {})
479
+ # Calls the CreateEventSubscription API operation.
480
+ # @param [Hash] options
481
+ # * +:subscription_name+ - *required* - (String) The name of the
482
+ # subscription. Constraints: The name must be less than 255
483
+ # characters.
484
+ # * +:sns_topic_arn+ - *required* - (String) The Amazon Resource Name
485
+ # (ARN) of the SNS topic created for event notification. The ARN is
486
+ # created by Amazon SNS when you create a topic and subscribe to it.
487
+ # * +:source_type+ - (String) The type of source that will be
488
+ # generating the events. For example, if you want to be notified of
489
+ # events generated by a DB instance, you would set this parameter to
490
+ # db-instance. if this value is not specified, all events are
491
+ # returned. Valid values: db-instance | db-parameter-group |
492
+ # db-security-group | db-snapshot
493
+ # * +:event_categories+ - (Array<String>) A list of event categories
494
+ # for a SourceType that you want to subscribe to. You can see a list
495
+ # of the categories for a given SourceType in the Events topic in the
496
+ # Amazon RDS User Guide or by using the DescribeEventCategories
497
+ # action.
498
+ # * +:source_ids+ - (Array<String>) The list of identifiers of the
499
+ # event sources for which events will be returned. If not specified,
500
+ # then all sources are included in the response. An identifier must
501
+ # begin with a letter and must contain only ASCII letters, digits,
502
+ # and hyphens; it cannot end with a hyphen or contain two consecutive
503
+ # hyphens. Constraints: If SourceIds are supplied, SourceType must
504
+ # also be provided. If the source type is a DB instance, then a
505
+ # DBInstanceIdentifier must be supplied. If the source type is a DB
506
+ # security group, a DBSecurityGroupName must be supplied. If the
507
+ # source type is a DB parameter group, a DBParameterGroupName must be
508
+ # supplied. If the source type is a DB Snapshot, a
509
+ # DBSnapshotIdentifier must be supplied.
510
+ # * +:enabled+ - (Boolean) A Boolean value; set to +true+ to activate
511
+ # the subscription, set to +false+ to create the subscription but not
512
+ # active it.
513
+ # @return [Core::Response]
514
+ # The #data method of the response object returns
515
+ # a hash with the following structure:
516
+ # * +:customer_aws_id+ - (String)
517
+ # * +:cust_subscription_id+ - (String)
518
+ # * +:sns_topic_arn+ - (String)
519
+ # * +:status+ - (String)
520
+ # * +:subscription_creation_time+ - (String)
521
+ # * +:source_type+ - (String)
522
+ # * +:source_ids_list+ - (Array<String>)
523
+ # * +:event_categories_list+ - (Array<String>)
524
+ # * +:enabled+ - (Boolean)
525
+
526
+ # @!method create_option_group(options = {})
527
+ # Calls the CreateOptionGroup API operation.
528
+ # @param [Hash] options
529
+ # * +:option_group_name+ - *required* - (String) Specifies the name of
530
+ # the option group to be created. Constraints: Must be 1 to 255
531
+ # alphanumeric characters or hyphens First character must be a letter
532
+ # Cannot end with a hyphen or contain two consecutive hyphens
533
+ # Example: myOptiongroup
534
+ # * +:engine_name+ - *required* - (String) Specifies the name of the
535
+ # engine that this option group should be associated with.
536
+ # * +:major_engine_version+ - *required* - (String) Specifies the major
537
+ # version of the engine that this option group should be associated
538
+ # with.
539
+ # * +:option_group_description+ - *required* - (String) The description
540
+ # of the option group.
541
+ # @return [Core::Response]
542
+ # The #data method of the response object returns
543
+ # a hash with the following structure:
544
+ # * +:option_group_name+ - (String)
545
+ # * +:option_group_description+ - (String)
546
+ # * +:engine_name+ - (String)
547
+ # * +:major_engine_version+ - (String)
548
+ # * +:options+ - (Array<Hash>)
549
+ # * +:option_name+ - (String)
550
+ # * +:option_description+ - (String)
551
+ # * +:persistent+ - (Boolean)
552
+ # * +:port+ - (Integer)
553
+ # * +:option_settings+ - (Array<Hash>)
554
+ # * +:name+ - (String)
555
+ # * +:value+ - (String)
556
+ # * +:default_value+ - (String)
557
+ # * +:description+ - (String)
558
+ # * +:apply_type+ - (String)
559
+ # * +:data_type+ - (String)
560
+ # * +:allowed_values+ - (String)
561
+ # * +:is_modifiable+ - (Boolean)
562
+ # * +:is_collection+ - (Boolean)
563
+ # * +:db_security_group_memberships+ - (Array<Hash>)
564
+ # * +:db_security_group_name+ - (String)
565
+ # * +:status+ - (String)
566
+ # * +:vpc_security_group_memberships+ - (Array<Hash>)
567
+ # * +:vpc_security_group_id+ - (String)
568
+ # * +:status+ - (String)
569
+ # * +:allows_vpc_and_non_vpc_instance_memberships+ - (Boolean)
570
+ # * +:vpc_id+ - (String)
571
+
572
+ # @!method delete_db_instance(options = {})
573
+ # Calls the DeleteDBInstance API operation.
574
+ # @param [Hash] options
575
+ # * +:db_instance_identifier+ - *required* - (String) The DB Instance
576
+ # identifier for the DB Instance to be deleted. This parameter isn't
577
+ # case sensitive.
578
+ # * +:skip_final_snapshot+ - (Boolean)
579
+ # * +:final_db_snapshot_identifier+ - (String) Determines whether a
580
+ # final DB Snapshot is created before the DB Instance is deleted. If
581
+ # +true+ , no DBSnapshot is created. If +false+ , a DB Snapshot is
582
+ # created before the DB Instance is deleted.
583
+ # @return [Core::Response]
584
+ # The #data method of the response object returns
585
+ # a hash with the following structure:
586
+ # * +:db_instance_identifier+ - (String)
587
+ # * +:db_instance_class+ - (String)
588
+ # * +:engine+ - (String)
589
+ # * +:db_instance_status+ - (String)
590
+ # * +:master_username+ - (String)
591
+ # * +:db_name+ - (String)
592
+ # * +:endpoint+ - (Hash)
593
+ # * +:address+ - (String)
594
+ # * +:port+ - (Integer)
595
+ # * +:allocated_storage+ - (Integer)
596
+ # * +:instance_create_time+ - (Time)
597
+ # * +:preferred_backup_window+ - (String)
598
+ # * +:backup_retention_period+ - (Integer)
599
+ # * +:db_security_groups+ - (Array<Hash>)
600
+ # * +:db_security_group_name+ - (String)
601
+ # * +:status+ - (String)
602
+ # * +:vpc_security_groups+ - (Array<Hash>)
603
+ # * +:vpc_security_group_id+ - (String)
604
+ # * +:status+ - (String)
605
+ # * +:db_parameter_groups+ - (Array<Hash>)
606
+ # * +:db_parameter_group_name+ - (String)
607
+ # * +:parameter_apply_status+ - (String)
608
+ # * +:availability_zone+ - (String)
609
+ # * +:db_subnet_group+ - (Hash)
610
+ # * +:db_subnet_group_name+ - (String)
611
+ # * +:db_subnet_group_description+ - (String)
612
+ # * +:vpc_id+ - (String)
613
+ # * +:subnet_group_status+ - (String)
614
+ # * +:subnets+ - (Array<Hash>)
615
+ # * +:subnet_identifier+ - (String)
616
+ # * +:subnet_availability_zone+ - (Hash)
617
+ # * +:name+ - (String)
618
+ # * +:provisioned_iops_capable+ - (Boolean)
619
+ # * +:subnet_status+ - (String)
620
+ # * +:preferred_maintenance_window+ - (String)
621
+ # * +:pending_modified_values+ - (Hash)
622
+ # * +:db_instance_class+ - (String)
623
+ # * +:allocated_storage+ - (Integer)
624
+ # * +:master_user_password+ - (String)
625
+ # * +:port+ - (Integer)
626
+ # * +:backup_retention_period+ - (Integer)
627
+ # * +:multi_az+ - (Boolean)
628
+ # * +:engine_version+ - (String)
629
+ # * +:iops+ - (Integer)
630
+ # * +:db_instance_identifier+ - (String)
631
+ # * +:latest_restorable_time+ - (Time)
632
+ # * +:multi_az+ - (Boolean)
633
+ # * +:engine_version+ - (String)
634
+ # * +:auto_minor_version_upgrade+ - (Boolean)
635
+ # * +:read_replica_source_db_instance_identifier+ - (String)
636
+ # * +:read_replica_db_instance_identifiers+ - (Array<String>)
637
+ # * +:license_model+ - (String)
638
+ # * +:iops+ - (Integer)
639
+ # * +:option_group_memberships+ - (Array<Hash>)
640
+ # * +:option_group_name+ - (String)
641
+ # * +:status+ - (String)
642
+ # * +:character_set_name+ - (String)
643
+ # * +:secondary_availability_zone+ - (String)
644
+ # * +:publicly_accessible+ - (Boolean)
645
+
646
+ # @!method delete_db_parameter_group(options = {})
647
+ # Calls the DeleteDBParameterGroup API operation.
648
+ # @param [Hash] options
649
+ # * +:db_parameter_group_name+ - *required* - (String) The name of the
650
+ # DB Parameter Group. The specified database security group must not
651
+ # be associated with any DB instances.
652
+ # @return [Core::Response]
653
+
654
+ # @!method delete_db_security_group(options = {})
655
+ # Calls the DeleteDBSecurityGroup API operation.
656
+ # @param [Hash] options
657
+ # * +:db_security_group_name+ - *required* - (String) The name of the
658
+ # database security group to delete.
659
+ # @return [Core::Response]
660
+
661
+ # @!method delete_db_snapshot(options = {})
662
+ # Calls the DeleteDBSnapshot API operation.
663
+ # @param [Hash] options
664
+ # * +:db_snapshot_identifier+ - *required* - (String) The DBSnapshot
665
+ # identifier.
666
+ # @return [Core::Response]
667
+ # The #data method of the response object returns
668
+ # a hash with the following structure:
669
+ # * +:db_snapshot_identifier+ - (String)
670
+ # * +:db_instance_identifier+ - (String)
671
+ # * +:snapshot_create_time+ - (Time)
672
+ # * +:engine+ - (String)
673
+ # * +:allocated_storage+ - (Integer)
674
+ # * +:status+ - (String)
675
+ # * +:port+ - (Integer)
676
+ # * +:availability_zone+ - (String)
677
+ # * +:vpc_id+ - (String)
678
+ # * +:instance_create_time+ - (Time)
679
+ # * +:master_username+ - (String)
680
+ # * +:engine_version+ - (String)
681
+ # * +:license_model+ - (String)
682
+ # * +:snapshot_type+ - (String)
683
+ # * +:iops+ - (Integer)
684
+ # * +:option_group_name+ - (String)
685
+
686
+ # @!method delete_db_subnet_group(options = {})
687
+ # Calls the DeleteDBSubnetGroup API operation.
688
+ # @param [Hash] options
689
+ # * +:db_subnet_group_name+ - *required* - (String) The name of the
690
+ # database subnet group to delete. You cannot delete the default
691
+ # subnet group. Constraints: Must be 1 to 255 alphanumeric characters
692
+ # First character must be a letter Cannot end with a hyphen or
693
+ # contain two consecutive hyphens
694
+ # @return [Core::Response]
695
+
696
+ # @!method delete_event_subscription(options = {})
697
+ # Calls the DeleteEventSubscription API operation.
698
+ # @param [Hash] options
699
+ # * +:subscription_name+ - *required* - (String) The name of the RDS
700
+ # event notification subscription you want to delete.
701
+ # @return [Core::Response]
702
+ # The #data method of the response object returns
703
+ # a hash with the following structure:
704
+ # * +:customer_aws_id+ - (String)
705
+ # * +:cust_subscription_id+ - (String)
706
+ # * +:sns_topic_arn+ - (String)
707
+ # * +:status+ - (String)
708
+ # * +:subscription_creation_time+ - (String)
709
+ # * +:source_type+ - (String)
710
+ # * +:source_ids_list+ - (Array<String>)
711
+ # * +:event_categories_list+ - (Array<String>)
712
+ # * +:enabled+ - (Boolean)
713
+
714
+ # @!method delete_option_group(options = {})
715
+ # Calls the DeleteOptionGroup API operation.
716
+ # @param [Hash] options
717
+ # * +:option_group_name+ - *required* - (String) The name of the option
718
+ # group to be deleted. You cannot delete default Option Groups.
719
+ # @return [Core::Response]
720
+
721
+ # @!method describe_db_engine_versions(options = {})
722
+ # Calls the DescribeDBEngineVersions API operation.
723
+ # @param [Hash] options
724
+ # * +:engine+ - (String) The database engine to return.
725
+ # * +:engine_version+ - (String) The database engine version to return.
726
+ # * +:db_parameter_group_family+ - (String) The name of a specific
727
+ # database parameter group family to return details for. Constraints:
728
+ # Must be 1 to 255 alphanumeric characters First character must be a
729
+ # letter Cannot end with a hyphen or contain two consecutive hyphens
730
+ # * +:max_records+ - (Integer) The maximum number of records to include
731
+ # in the response. If more than the MaxRecords value is available, a
732
+ # marker is included in the response so that the following results
733
+ # can be retrieved. Default: 100 Constraints: minimum 20, maximum 100
734
+ # * +:marker+ - (String) The marker provided in the previous request.
735
+ # If this parameter is specified, the response includes records
736
+ # beyond the marker only, up to MaxRecords.
737
+ # * +:default_only+ - (Boolean) Indicates that only the default version
738
+ # of the specified engine or engine and major version combination is
739
+ # returned.
740
+ # * +:list_supported_character_sets+ - (Boolean) If this parameter is
741
+ # specified, and if the requested engine supports the
742
+ # CharacterSetName parameter for CreateDBInstance, the response
743
+ # includes a list of supported character sets for each engine
744
+ # version.
745
+ # @return [Core::Response]
746
+ # The #data method of the response object returns
747
+ # a hash with the following structure:
748
+ # * +:marker+ - (String)
749
+ # * +:db_engine_versions+ - (Array<Hash>)
750
+ # * +:engine+ - (String)
751
+ # * +:engine_version+ - (String)
752
+ # * +:db_parameter_group_family+ - (String)
753
+ # * +:db_engine_description+ - (String)
754
+ # * +:db_engine_version_description+ - (String)
755
+ # * +:default_character_set+ - (Hash)
756
+ # * +:character_set_name+ - (String)
757
+ # * +:character_set_description+ - (String)
758
+ # * +:supported_character_sets+ - (Array<Hash>)
759
+ # * +:character_set_name+ - (String)
760
+ # * +:character_set_description+ - (String)
761
+
762
+ # @!method describe_db_instances(options = {})
763
+ # Calls the DescribeDBInstances API operation.
764
+ # @param [Hash] options
765
+ # * +:db_instance_identifier+ - (String) The user-supplied instance
766
+ # identifier. If this parameter is specified, information from only
767
+ # the specific DB Instance is returned. This parameter isn't case
768
+ # sensitive.
769
+ # * +:max_records+ - (Integer) The maximum number of records to include
770
+ # in the response. If more records exist than the specified
771
+ # MaxRecords value, a marker is included in the response so that the
772
+ # remaining results may be retrieved.
773
+ # * +:marker+ - (String) An optional marker provided in the previous
774
+ # DescribeDBInstances request. If this parameter is specified, the
775
+ # response includes only records beyond the marker, up to the value
776
+ # specified by MaxRecords.
777
+ # @return [Core::Response]
778
+ # The #data method of the response object returns
779
+ # a hash with the following structure:
780
+ # * +:marker+ - (String)
781
+ # * +:db_instances+ - (Array<Hash>)
782
+ # * +:db_instance_identifier+ - (String)
783
+ # * +:db_instance_class+ - (String)
784
+ # * +:engine+ - (String)
785
+ # * +:db_instance_status+ - (String)
786
+ # * +:master_username+ - (String)
787
+ # * +:db_name+ - (String)
788
+ # * +:endpoint+ - (Hash)
789
+ # * +:address+ - (String)
790
+ # * +:port+ - (Integer)
791
+ # * +:allocated_storage+ - (Integer)
792
+ # * +:instance_create_time+ - (Time)
793
+ # * +:preferred_backup_window+ - (String)
794
+ # * +:backup_retention_period+ - (Integer)
795
+ # * +:db_security_groups+ - (Array<Hash>)
796
+ # * +:db_security_group_name+ - (String)
797
+ # * +:status+ - (String)
798
+ # * +:vpc_security_groups+ - (Array<Hash>)
799
+ # * +:vpc_security_group_id+ - (String)
800
+ # * +:status+ - (String)
801
+ # * +:db_parameter_groups+ - (Array<Hash>)
802
+ # * +:db_parameter_group_name+ - (String)
803
+ # * +:parameter_apply_status+ - (String)
804
+ # * +:availability_zone+ - (String)
805
+ # * +:db_subnet_group+ - (Hash)
806
+ # * +:db_subnet_group_name+ - (String)
807
+ # * +:db_subnet_group_description+ - (String)
808
+ # * +:vpc_id+ - (String)
809
+ # * +:subnet_group_status+ - (String)
810
+ # * +:subnets+ - (Array<Hash>)
811
+ # * +:subnet_identifier+ - (String)
812
+ # * +:subnet_availability_zone+ - (Hash)
813
+ # * +:name+ - (String)
814
+ # * +:provisioned_iops_capable+ - (Boolean)
815
+ # * +:subnet_status+ - (String)
816
+ # * +:preferred_maintenance_window+ - (String)
817
+ # * +:pending_modified_values+ - (Hash)
818
+ # * +:db_instance_class+ - (String)
819
+ # * +:allocated_storage+ - (Integer)
820
+ # * +:master_user_password+ - (String)
821
+ # * +:port+ - (Integer)
822
+ # * +:backup_retention_period+ - (Integer)
823
+ # * +:multi_az+ - (Boolean)
824
+ # * +:engine_version+ - (String)
825
+ # * +:iops+ - (Integer)
826
+ # * +:db_instance_identifier+ - (String)
827
+ # * +:latest_restorable_time+ - (Time)
828
+ # * +:multi_az+ - (Boolean)
829
+ # * +:engine_version+ - (String)
830
+ # * +:auto_minor_version_upgrade+ - (Boolean)
831
+ # * +:read_replica_source_db_instance_identifier+ - (String)
832
+ # * +:read_replica_db_instance_identifiers+ - (Array<String>)
833
+ # * +:license_model+ - (String)
834
+ # * +:iops+ - (Integer)
835
+ # * +:option_group_memberships+ - (Array<Hash>)
836
+ # * +:option_group_name+ - (String)
837
+ # * +:status+ - (String)
838
+ # * +:character_set_name+ - (String)
839
+ # * +:secondary_availability_zone+ - (String)
840
+ # * +:publicly_accessible+ - (Boolean)
841
+
842
+ # @!method describe_db_log_files(options = {})
843
+ # Calls the DescribeDBLogFiles API operation.
844
+ # @param [Hash] options
845
+ # * +:db_instance_identifier+ - (String) The customer-assigned name of
846
+ # the DB Instance that contains the log files you want to list.
847
+ # Constraints: Must contain from 1 to 63 alphanumeric characters or
848
+ # hyphens First character must be a letter Cannot end with a hyphen
849
+ # or contain two consecutive hyphens
850
+ # * +:filename_contains+ - (String) Filters the available log files for
851
+ # log file names that contain the specified string.
852
+ # * +:file_last_written+ - (Integer) Filters the available log files
853
+ # for files written since the specified date.
854
+ # * +:file_size+ - (Integer) Filters the available log files for files
855
+ # larger than the specified size.
856
+ # * +:max_records+ - (Integer) The maximum number of records to include
857
+ # in the response. If more records exist than the specified
858
+ # MaxRecords value, a pagination token called a marker is included in
859
+ # the response so that the remaining results can be retrieved.
860
+ # * +:marker+ - (String) The pagination token provided in the previous
861
+ # request. If this parameter is specified the response includes only
862
+ # records beyond the marker, up to MaxRecords.
863
+ # @return [Core::Response]
864
+ # The #data method of the response object returns
865
+ # a hash with the following structure:
866
+ # * +:describe_db_log_files+ - (Array<Hash>)
867
+ # * +:log_file_name+ - (String)
868
+ # * +:last_written+ - (Integer)
869
+ # * +:size+ - (Integer)
870
+ # * +:marker+ - (String)
871
+
872
+ # @!method describe_db_parameter_groups(options = {})
873
+ # Calls the DescribeDBParameterGroups API operation.
874
+ # @param [Hash] options
875
+ # * +:db_parameter_group_name+ - (String) The name of a specific
876
+ # database parameter group to return details for.
877
+ # * +:max_records+ - (Integer) The maximum number of records to include
878
+ # in the response. If more records exist than the specified
879
+ # MaxRecords value, a marker is included in the response so that the
880
+ # remaining results may be retrieved.
881
+ # * +:marker+ - (String) An optional marker provided in the previous
882
+ # DescribeDBInstances request. If this parameter is specified, the
883
+ # response includes only records beyond the marker, up to the value
884
+ # specified by MaxRecords.
885
+ # @return [Core::Response]
886
+ # The #data method of the response object returns
887
+ # a hash with the following structure:
888
+ # * +:marker+ - (String)
889
+ # * +:db_parameter_groups+ - (Array<Hash>)
890
+ # * +:db_parameter_group_name+ - (String)
891
+ # * +:db_parameter_group_family+ - (String)
892
+ # * +:description+ - (String)
893
+
894
+ # @!method describe_db_parameters(options = {})
895
+ # Calls the DescribeDBParameters API operation.
896
+ # @param [Hash] options
897
+ # * +:db_parameter_group_name+ - *required* - (String) The name of a
898
+ # specific database parameter group to return details for.
899
+ # * +:source+ - (String) The parameter types to return.
900
+ # * +:max_records+ - (Integer) The maximum number of records to include
901
+ # in the response. If more records exist than the specified
902
+ # MaxRecords value, a marker is included in the response so that the
903
+ # remaining results may be retrieved.
904
+ # * +:marker+ - (String) An optional marker provided in the previous
905
+ # DescribeDBInstances request. If this parameter is specified, the
906
+ # response includes only records beyond the marker, up to the value
907
+ # specified by MaxRecords.
908
+ # @return [Core::Response]
909
+ # The #data method of the response object returns
910
+ # a hash with the following structure:
911
+ # * +:parameters+ - (Array<Hash>)
912
+ # * +:parameter_name+ - (String)
913
+ # * +:parameter_value+ - (String)
914
+ # * +:description+ - (String)
915
+ # * +:source+ - (String)
916
+ # * +:apply_type+ - (String)
917
+ # * +:data_type+ - (String)
918
+ # * +:allowed_values+ - (String)
919
+ # * +:is_modifiable+ - (Boolean)
920
+ # * +:minimum_engine_version+ - (String)
921
+ # * +:apply_method+ - (String)
922
+ # * +:marker+ - (String)
923
+
924
+ # @!method describe_db_security_groups(options = {})
925
+ # Calls the DescribeDBSecurityGroups API operation.
926
+ # @param [Hash] options
927
+ # * +:db_security_group_name+ - (String) The name of the DB Security
928
+ # Group to return details for.
929
+ # * +:max_records+ - (Integer) The maximum number of records to include
930
+ # in the response. If more records exist than the specified
931
+ # MaxRecords value, a marker is included in the response so that the
932
+ # remaining results may be retrieved.
933
+ # * +:marker+ - (String) An optional marker provided in the previous
934
+ # DescribeDBInstances request. If this parameter is specified, the
935
+ # response includes only records beyond the marker, up to the value
936
+ # specified by MaxRecords.
937
+ # @return [Core::Response]
938
+ # The #data method of the response object returns
939
+ # a hash with the following structure:
940
+ # * +:marker+ - (String)
941
+ # * +:db_security_groups+ - (Array<Hash>)
942
+ # * +:owner_id+ - (String)
943
+ # * +:db_security_group_name+ - (String)
944
+ # * +:db_security_group_description+ - (String)
945
+ # * +:vpc_id+ - (String)
946
+ # * +:ec_2_security_groups+ - (Array<Hash>)
947
+ # * +:status+ - (String)
948
+ # * +:ec2_security_group_name+ - (String)
949
+ # * +:ec2_security_group_id+ - (String)
950
+ # * +:ec2_security_group_owner_id+ - (String)
951
+ # * +:ip_ranges+ - (Array<Hash>)
952
+ # * +:status+ - (String)
953
+ # * +:cidrip+ - (String)
954
+
955
+ # @!method describe_db_snapshots(options = {})
956
+ # Calls the DescribeDBSnapshots API operation.
957
+ # @param [Hash] options
958
+ # * +:db_instance_identifier+ - (String) The unique identifier for the
959
+ # Amazon RDS DB snapshot. This value is stored as a lowercase string.
960
+ # * +:db_snapshot_identifier+ - (String) The DB Instance identifier.
961
+ # This parameter isn't case sensitive.
962
+ # * +:snapshot_type+ - (String) An optional snapshot type for which
963
+ # snapshots will be returned. If not specified, the returned results
964
+ # will include snapshots of all types.
965
+ # * +:max_records+ - (Integer) The maximum number of records to include
966
+ # in the response. If more records exist than the specified
967
+ # MaxRecords value, a marker is included in the response so that the
968
+ # remaining results may be retrieved.
969
+ # * +:marker+ - (String) An optional marker provided in the previous
970
+ # DescribeDBInstances request. If this parameter is specified, the
971
+ # response includes only records beyond the marker, up to the value
972
+ # specified by MaxRecords.
973
+ # @return [Core::Response]
974
+ # The #data method of the response object returns
975
+ # a hash with the following structure:
976
+ # * +:marker+ - (String)
977
+ # * +:db_snapshots+ - (Array<Hash>)
978
+ # * +:db_snapshot_identifier+ - (String)
979
+ # * +:db_instance_identifier+ - (String)
980
+ # * +:snapshot_create_time+ - (Time)
981
+ # * +:engine+ - (String)
982
+ # * +:allocated_storage+ - (Integer)
983
+ # * +:status+ - (String)
984
+ # * +:port+ - (Integer)
985
+ # * +:availability_zone+ - (String)
986
+ # * +:vpc_id+ - (String)
987
+ # * +:instance_create_time+ - (Time)
988
+ # * +:master_username+ - (String)
989
+ # * +:engine_version+ - (String)
990
+ # * +:license_model+ - (String)
991
+ # * +:snapshot_type+ - (String)
992
+ # * +:iops+ - (Integer)
993
+ # * +:option_group_name+ - (String)
994
+
995
+ # @!method describe_db_subnet_groups(options = {})
996
+ # Calls the DescribeDBSubnetGroups API operation.
997
+ # @param [Hash] options
998
+ # * +:db_subnet_group_name+ - (String) The name of the DB Subnet Group
999
+ # to return details for.
1000
+ # * +:max_records+ - (Integer) The maximum number of records to include
1001
+ # in the response. If more records exist than the specified
1002
+ # MaxRecords value, a marker is included in the response so that the
1003
+ # remaining results may be retrieved. Default: 100 Constraints:
1004
+ # minimum 20, maximum 100
1005
+ # * +:marker+ - (String) An optional marker provided in the previous
1006
+ # DescribeDBSubnetGroups request. If this parameter is specified, the
1007
+ # response includes only records beyond the marker, up to the value
1008
+ # specified by MaxRecords.
1009
+ # @return [Core::Response]
1010
+ # The #data method of the response object returns
1011
+ # a hash with the following structure:
1012
+ # * +:marker+ - (String)
1013
+ # * +:db_subnet_groups+ - (Array<Hash>)
1014
+ # * +:db_subnet_group_name+ - (String)
1015
+ # * +:db_subnet_group_description+ - (String)
1016
+ # * +:vpc_id+ - (String)
1017
+ # * +:subnet_group_status+ - (String)
1018
+ # * +:subnets+ - (Array<Hash>)
1019
+ # * +:subnet_identifier+ - (String)
1020
+ # * +:subnet_availability_zone+ - (Hash)
1021
+ # * +:name+ - (String)
1022
+ # * +:provisioned_iops_capable+ - (Boolean)
1023
+ # * +:subnet_status+ - (String)
1024
+
1025
+ # @!method describe_engine_default_parameters(options = {})
1026
+ # Calls the DescribeEngineDefaultParameters API operation.
1027
+ # @param [Hash] options
1028
+ # * +:db_parameter_group_family+ - *required* - (String) The name of
1029
+ # the DB Parameter Group Family.
1030
+ # * +:max_records+ - (Integer) The maximum number of records to include
1031
+ # in the response. If more records exist than the specified
1032
+ # MaxRecords value, a marker is included in the response so that the
1033
+ # remaining results may be retrieved.
1034
+ # * +:marker+ - (String) An optional marker provided in the previous
1035
+ # DescribeDBInstances request. If this parameter is specified, the
1036
+ # response includes only records beyond the marker, up to the value
1037
+ # specified by MaxRecords.
1038
+ # @return [Core::Response]
1039
+ # The #data method of the response object returns
1040
+ # a hash with the following structure:
1041
+ # * +:db_parameter_group_family+ - (String)
1042
+ # * +:marker+ - (String)
1043
+ # * +:parameters+ - (Array<Hash>)
1044
+ # * +:parameter_name+ - (String)
1045
+ # * +:parameter_value+ - (String)
1046
+ # * +:description+ - (String)
1047
+ # * +:source+ - (String)
1048
+ # * +:apply_type+ - (String)
1049
+ # * +:data_type+ - (String)
1050
+ # * +:allowed_values+ - (String)
1051
+ # * +:is_modifiable+ - (Boolean)
1052
+ # * +:minimum_engine_version+ - (String)
1053
+ # * +:apply_method+ - (String)
1054
+
1055
+ # @!method describe_event_categories(options = {})
1056
+ # Calls the DescribeEventCategories API operation.
1057
+ # @param [Hash] options
1058
+ # * +:source_type+ - (String) The type of source that will be
1059
+ # generating the events. Valid values: db-instance |
1060
+ # db-parameter-group | db-security-group | db-snapshot
1061
+ # @return [Core::Response]
1062
+ # The #data method of the response object returns
1063
+ # a hash with the following structure:
1064
+ # * +:event_categories_map_list+ - (Array<Hash>)
1065
+ # * +:source_type+ - (String)
1066
+ # * +:event_categories+ - (Array<String>)
1067
+
1068
+ # @!method describe_event_subscriptions(options = {})
1069
+ # Calls the DescribeEventSubscriptions API operation.
1070
+ # @param [Hash] options
1071
+ # * +:subscription_name+ - (String) The name of the RDS event
1072
+ # notification subscription you want to describe.
1073
+ # * +:max_records+ - (Integer) The maximum number of records to include
1074
+ # in the response. If more records exist than the specified
1075
+ # MaxRecords value, a pagination token called a marker is included in
1076
+ # the response so that the remaining results can be retrieved.
1077
+ # Default: 100 Constraints: minimum 20, maximum 100
1078
+ # * +:marker+ - (String) An optional pagination token provided by a
1079
+ # previous DescribeOrderableDBInstanceOptions request. If this
1080
+ # parameter is specified, the response includes only records beyond
1081
+ # the marker, up to the value specified by MaxRecords .
1082
+ # @return [Core::Response]
1083
+ # The #data method of the response object returns
1084
+ # a hash with the following structure:
1085
+ # * +:marker+ - (String)
1086
+ # * +:event_subscriptions_list+ - (Array<Hash>)
1087
+ # * +:customer_aws_id+ - (String)
1088
+ # * +:cust_subscription_id+ - (String)
1089
+ # * +:sns_topic_arn+ - (String)
1090
+ # * +:status+ - (String)
1091
+ # * +:subscription_creation_time+ - (String)
1092
+ # * +:source_type+ - (String)
1093
+ # * +:source_ids_list+ - (Array<String>)
1094
+ # * +:event_categories_list+ - (Array<String>)
1095
+ # * +:enabled+ - (Boolean)
1096
+
1097
+ # @!method describe_events(options = {})
1098
+ # Calls the DescribeEvents API operation.
1099
+ # @param [Hash] options
1100
+ # * +:source_identifier+ - (String) The identifier of the event source
1101
+ # for which events will be returned. If not specified, then all
1102
+ # sources are included in the response.
1103
+ # * +:source_type+ - (String) The event source to retrieve events for.
1104
+ # If no value is specified, all events are returned.
1105
+ # * +:start_time+ - (String<ISO8601 datetime>) The beginning of the
1106
+ # time interval to retrieve events for, specified in ISO 8601 format.
1107
+ # * +:end_time+ - (String<ISO8601 datetime>) The end of the time
1108
+ # interval for which to retrieve events, specified in ISO 8601
1109
+ # format.
1110
+ # * +:duration+ - (Integer) The number of minutes to retrieve events
1111
+ # for.
1112
+ # * +:event_categories+ - (Array<String>) A list of event categories
1113
+ # that trigger notifications for a event notification subscription.
1114
+ # * +:max_records+ - (Integer) The maximum number of records to include
1115
+ # in the response. If more records exist than the specified
1116
+ # MaxRecords value, a marker is included in the response so that the
1117
+ # remaining results may be retrieved.
1118
+ # * +:marker+ - (String) An optional marker provided in the previous
1119
+ # DescribeDBInstances request. If this parameter is specified, the
1120
+ # response includes only records beyond the marker, up to the value
1121
+ # specified by MaxRecords.
1122
+ # @return [Core::Response]
1123
+ # The #data method of the response object returns
1124
+ # a hash with the following structure:
1125
+ # * +:marker+ - (String)
1126
+ # * +:events+ - (Array<Hash>)
1127
+ # * +:source_identifier+ - (String)
1128
+ # * +:source_type+ - (String)
1129
+ # * +:message+ - (String)
1130
+ # * +:event_categories+ - (Array<String>)
1131
+ # * +:date+ - (Time)
1132
+
1133
+ # @!method describe_option_group_options(options = {})
1134
+ # Calls the DescribeOptionGroupOptions API operation.
1135
+ # @param [Hash] options
1136
+ # * +:engine_name+ - *required* - (String) A required parameter.
1137
+ # Options available for the given Engine name will be described.
1138
+ # * +:major_engine_version+ - (String) If specified, filters the
1139
+ # results to include only options for the specified major engine
1140
+ # version.
1141
+ # * +:max_records+ - (Integer) The maximum number of records to include
1142
+ # in the response. If more records exist than the specified
1143
+ # MaxRecords value, a pagination token called a marker is included in
1144
+ # the response so that the remaining results can be retrieved.
1145
+ # Default: 100 Constraints: minimum 20, maximum 100
1146
+ # * +:marker+ - (String) An optional pagination token provided by a
1147
+ # previous request. If this parameter is specified, the response
1148
+ # includes only records beyond the marker, up to the value specified
1149
+ # by MaxRecords.
1150
+ # @return [Core::Response]
1151
+ # The #data method of the response object returns
1152
+ # a hash with the following structure:
1153
+ # * +:option_group_options+ - (Array<Hash>)
1154
+ # * +:name+ - (String)
1155
+ # * +:description+ - (String)
1156
+ # * +:engine_name+ - (String)
1157
+ # * +:major_engine_version+ - (String)
1158
+ # * +:minimum_required_minor_engine_version+ - (String)
1159
+ # * +:port_required+ - (Boolean)
1160
+ # * +:default_port+ - (Integer)
1161
+ # * +:options_depended_on+ - (Array<String>)
1162
+ # * +:persistent+ - (Boolean)
1163
+ # * +:option_group_option_settings+ - (Array<Hash>)
1164
+ # * +:setting_name+ - (String)
1165
+ # * +:setting_description+ - (String)
1166
+ # * +:default_value+ - (String)
1167
+ # * +:apply_type+ - (String)
1168
+ # * +:allowed_values+ - (String)
1169
+ # * +:is_modifiable+ - (Boolean)
1170
+ # * +:marker+ - (String)
1171
+
1172
+ # @!method describe_option_groups(options = {})
1173
+ # Calls the DescribeOptionGroups API operation.
1174
+ # @param [Hash] options
1175
+ # * +:option_group_name+ - (String) The name of the option group to
1176
+ # describe. Cannot be supplied together with EngineName or
1177
+ # MajorEngineVersion.
1178
+ # * +:marker+ - (String) An optional pagination token provided by a
1179
+ # previous DescribeOptionGroups request. If this parameter is
1180
+ # specified, the response includes only records beyond the marker, up
1181
+ # to the value specified by MaxRecords.
1182
+ # * +:max_records+ - (Integer) The maximum number of records to include
1183
+ # in the response. If more records exist than the specified
1184
+ # MaxRecords value, a pagination token called a marker is included in
1185
+ # the response so that the remaining results can be retrieved.
1186
+ # Default: 100 Constraints: minimum 20, maximum 100
1187
+ # * +:engine_name+ - (String) Filters the list of option groups to only
1188
+ # include groups associated with a specific database engine.
1189
+ # * +:major_engine_version+ - (String) Filters the list of option
1190
+ # groups to only include groups associated with a specific database
1191
+ # engine version. If specified, then EngineName must also be
1192
+ # specified.
1193
+ # @return [Core::Response]
1194
+ # The #data method of the response object returns
1195
+ # a hash with the following structure:
1196
+ # * +:option_groups_list+ - (Array<Hash>)
1197
+ # * +:option_group_name+ - (String)
1198
+ # * +:option_group_description+ - (String)
1199
+ # * +:engine_name+ - (String)
1200
+ # * +:major_engine_version+ - (String)
1201
+ # * +:options+ - (Array<Hash>)
1202
+ # * +:option_name+ - (String)
1203
+ # * +:option_description+ - (String)
1204
+ # * +:persistent+ - (Boolean)
1205
+ # * +:port+ - (Integer)
1206
+ # * +:option_settings+ - (Array<Hash>)
1207
+ # * +:name+ - (String)
1208
+ # * +:value+ - (String)
1209
+ # * +:default_value+ - (String)
1210
+ # * +:description+ - (String)
1211
+ # * +:apply_type+ - (String)
1212
+ # * +:data_type+ - (String)
1213
+ # * +:allowed_values+ - (String)
1214
+ # * +:is_modifiable+ - (Boolean)
1215
+ # * +:is_collection+ - (Boolean)
1216
+ # * +:db_security_group_memberships+ - (Array<Hash>)
1217
+ # * +:db_security_group_name+ - (String)
1218
+ # * +:status+ - (String)
1219
+ # * +:vpc_security_group_memberships+ - (Array<Hash>)
1220
+ # * +:vpc_security_group_id+ - (String)
1221
+ # * +:status+ - (String)
1222
+ # * +:allows_vpc_and_non_vpc_instance_memberships+ - (Boolean)
1223
+ # * +:vpc_id+ - (String)
1224
+ # * +:marker+ - (String)
1225
+
1226
+ # @!method describe_orderable_db_instance_options(options = {})
1227
+ # Calls the DescribeOrderableDBInstanceOptions API operation.
1228
+ # @param [Hash] options
1229
+ # * +:engine+ - *required* - (String) The name of the engine to
1230
+ # retrieve DB Instance options for.
1231
+ # * +:engine_version+ - (String) The engine version filter value.
1232
+ # Specify this parameter to show only the available offerings
1233
+ # matching the specified engine version.
1234
+ # * +:db_instance_class+ - (String) The DB Instance class filter value.
1235
+ # Specify this parameter to show only the available offerings
1236
+ # matching the specified DB Instance class.
1237
+ # * +:license_model+ - (String) The license model filter value. Specify
1238
+ # this parameter to show only the available offerings matching the
1239
+ # specified license model.
1240
+ # * +:vpc+ - (Boolean) The VPC filter value. Specify this parameter to
1241
+ # show only the available VPC or non-VPC offerings.
1242
+ # * +:max_records+ - (Integer) The maximum number of records to include
1243
+ # in the response. If more records exist than the specified
1244
+ # MaxRecords value, a marker is included in the response so that the
1245
+ # remaining results may be retrieved. Default: 100 Constraints:
1246
+ # minimum 20, maximum 100
1247
+ # * +:marker+ - (String) An optional marker provided in the previous
1248
+ # DescribeOrderableDBInstanceOptions request. If this parameter is
1249
+ # specified, the response includes only records beyond the marker, up
1250
+ # to the value specified by MaxRecords .
1251
+ # @return [Core::Response]
1252
+ # The #data method of the response object returns
1253
+ # a hash with the following structure:
1254
+ # * +:orderable_db_instance_options+ - (Array<Hash>)
1255
+ # * +:engine+ - (String)
1256
+ # * +:engine_version+ - (String)
1257
+ # * +:db_instance_class+ - (String)
1258
+ # * +:license_model+ - (String)
1259
+ # * +:availability_zones+ - (Array<Hash>)
1260
+ # * +:name+ - (String)
1261
+ # * +:provisioned_iops_capable+ - (Boolean)
1262
+ # * +:multi_az_capable+ - (Boolean)
1263
+ # * +:read_replica_capable+ - (Boolean)
1264
+ # * +:vpc+ - (Boolean)
1265
+ # * +:marker+ - (String)
1266
+
1267
+ # @!method describe_reserved_db_instances(options = {})
1268
+ # Calls the DescribeReservedDBInstances API operation.
1269
+ # @param [Hash] options
1270
+ # * +:reserved_db_instance_id+ - (String) The reserved DB Instance
1271
+ # identifier filter value. Specify this parameter to show only the
1272
+ # reservation that matches the specified reservation ID.
1273
+ # * +:reserved_db_instances_offering_id+ - (String) The offering
1274
+ # identifier filter value. Specify this parameter to show only
1275
+ # purchased reservations matching the specified offering identifier.
1276
+ # * +:db_instance_class+ - (String) The DB Instance class filter value.
1277
+ # Specify this parameter to show only those reservations matching the
1278
+ # specified DB Instances class.
1279
+ # * +:duration+ - (String) The duration filter value, specified in
1280
+ # years or seconds. Specify this parameter to show only reservations
1281
+ # for this duration. Valid Values: 1 | 3 | 31536000 | 94608000
1282
+ # * +:product_description+ - (String) The product description filter
1283
+ # value. Specify this parameter to show only those reservations
1284
+ # matching the specified product description.
1285
+ # * +:offering_type+ - (String) The offering type filter value. Specify
1286
+ # this parameter to show only the available offerings matching the
1287
+ # specified offering type. Valid Values: "Light Utilization" |
1288
+ # "Medium Utilization" | "Heavy Utilization"
1289
+ # * +:multi_az+ - (Boolean) The Multi-AZ filter value. Specify this
1290
+ # parameter to show only those reservations matching the specified
1291
+ # Multi-AZ parameter.
1292
+ # * +:max_records+ - (Integer) The maximum number of records to include
1293
+ # in the response. If more than the MaxRecords value is available, a
1294
+ # marker is included in the response so that the following results
1295
+ # can be retrieved. Default: 100 Constraints: minimum 20, maximum 100
1296
+ # * +:marker+ - (String) The marker provided in the previous request.
1297
+ # If this parameter is specified, the response includes records
1298
+ # beyond the marker only, up to MaxRecords.
1299
+ # @return [Core::Response]
1300
+ # The #data method of the response object returns
1301
+ # a hash with the following structure:
1302
+ # * +:marker+ - (String)
1303
+ # * +:reserved_db_instances+ - (Array<Hash>)
1304
+ # * +:reserved_db_instance_id+ - (String)
1305
+ # * +:reserved_db_instances_offering_id+ - (String)
1306
+ # * +:db_instance_class+ - (String)
1307
+ # * +:start_time+ - (Time)
1308
+ # * +:duration+ - (Integer)
1309
+ # * +:fixed_price+ - (Numeric)
1310
+ # * +:usage_price+ - (Numeric)
1311
+ # * +:currency_code+ - (String)
1312
+ # * +:db_instance_count+ - (Integer)
1313
+ # * +:product_description+ - (String)
1314
+ # * +:offering_type+ - (String)
1315
+ # * +:multi_az+ - (Boolean)
1316
+ # * +:state+ - (String)
1317
+ # * +:recurring_charges+ - (Array<Hash>)
1318
+ # * +:recurring_charge_amount+ - (Numeric)
1319
+ # * +:recurring_charge_frequency+ - (String)
1320
+
1321
+ # @!method describe_reserved_db_instances_offerings(options = {})
1322
+ # Calls the DescribeReservedDBInstancesOfferings API operation.
1323
+ # @param [Hash] options
1324
+ # * +:reserved_db_instances_offering_id+ - (String) The offering
1325
+ # identifier filter value. Specify this parameter to show only the
1326
+ # available offering that matches the specified reservation
1327
+ # identifier. Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706
1328
+ # * +:db_instance_class+ - (String) The DB Instance class filter value.
1329
+ # Specify this parameter to show only the available offerings
1330
+ # matching the specified DB Instance class.
1331
+ # * +:duration+ - (String) Duration filter value, specified in years or
1332
+ # seconds. Specify this parameter to show only reservations for this
1333
+ # duration. Valid Values: 1 | 3 | 31536000 | 94608000
1334
+ # * +:product_description+ - (String) Product description filter value.
1335
+ # Specify this parameter to show only the available offerings
1336
+ # matching the specified product description.
1337
+ # * +:offering_type+ - (String) The offering type filter value. Specify
1338
+ # this parameter to show only the available offerings matching the
1339
+ # specified offering type. Valid Values: "Light Utilization" |
1340
+ # "Medium Utilization" | "Heavy Utilization"
1341
+ # * +:multi_az+ - (Boolean) The Multi-AZ filter value. Specify this
1342
+ # parameter to show only the available offerings matching the
1343
+ # specified Multi-AZ parameter.
1344
+ # * +:max_records+ - (Integer) The maximum number of records to include
1345
+ # in the response. If more than the MaxRecords value is available, a
1346
+ # marker is included in the response so that the following results
1347
+ # can be retrieved. Default: 100 Constraints: minimum 20, maximum 100
1348
+ # * +:marker+ - (String) The marker provided in the previous request.
1349
+ # If this parameter is specified, the response includes records
1350
+ # beyond the marker only, up to MaxRecords.
1351
+ # @return [Core::Response]
1352
+ # The #data method of the response object returns
1353
+ # a hash with the following structure:
1354
+ # * +:marker+ - (String)
1355
+ # * +:reserved_db_instances_offerings+ - (Array<Hash>)
1356
+ # * +:reserved_db_instances_offering_id+ - (String)
1357
+ # * +:db_instance_class+ - (String)
1358
+ # * +:duration+ - (Integer)
1359
+ # * +:fixed_price+ - (Numeric)
1360
+ # * +:usage_price+ - (Numeric)
1361
+ # * +:currency_code+ - (String)
1362
+ # * +:product_description+ - (String)
1363
+ # * +:offering_type+ - (String)
1364
+ # * +:multi_az+ - (Boolean)
1365
+ # * +:recurring_charges+ - (Array<Hash>)
1366
+ # * +:recurring_charge_amount+ - (Numeric)
1367
+ # * +:recurring_charge_frequency+ - (String)
1368
+
1369
+ # @!method download_db_log_file_portion(options = {})
1370
+ # Calls the DownloadDBLogFilePortion API operation.
1371
+ # @param [Hash] options
1372
+ # * +:db_instance_identifier+ - (String)
1373
+ # * +:log_file_name+ - (String)
1374
+ # * +:marker+ - (String) The pagination token provided in the previous
1375
+ # request. If this parameter is specified the response includes only
1376
+ # records beyond the marker, up to MaxRecords.
1377
+ # * +:number_of_lines+ - (Integer) The number of lines remaining to be
1378
+ # downloaded.
1379
+ # @return [Core::Response]
1380
+ # The #data method of the response object returns
1381
+ # a hash with the following structure:
1382
+ # * +:log_file_data+ - (String)
1383
+ # * +:marker+ - (String)
1384
+ # * +:additional_data_pending+ - (Boolean)
1385
+
1386
+ # @!method list_tags_for_resource(options = {})
1387
+ # Calls the ListTagsForResource API operation.
1388
+ # @param [Hash] options
1389
+ # * +:resource_name+ - *required* - (String) The DB Instance with tags
1390
+ # to be listed.
1391
+ # @return [Core::Response]
1392
+ # The #data method of the response object returns
1393
+ # a hash with the following structure:
1394
+ # * +:tag_list+ - (Array<Hash>)
1395
+ # * +:key+ - (String)
1396
+ # * +:value+ - (String)
1397
+
1398
+ # @!method modify_db_instance(options = {})
1399
+ # Calls the ModifyDBInstance API operation.
1400
+ # @param [Hash] options
1401
+ # * +:db_instance_identifier+ - *required* - (String) The DB Instance
1402
+ # identifier. This value is stored as a lowercase string.
1403
+ # * +:allocated_storage+ - (Integer) The new storage capacity of the
1404
+ # RDS instance. This change does not result in an outage and is
1405
+ # applied during the next maintenance window unless the
1406
+ # ApplyImmediately parameter is specified as +true+ for this request.
1407
+ # * +:db_instance_class+ - (String) The new compute and memory capacity
1408
+ # of the DB Instance. Passing a value for this parameter causes an
1409
+ # outage during the change and is applied during the next maintenance
1410
+ # window, unless the ApplyImmediately parameter is specified as
1411
+ # +true+ for this request.
1412
+ # * +:db_security_groups+ - (Array<String>) A list of DB Security
1413
+ # Groups to authorize on this DB Instance. This change is
1414
+ # asynchronously applied as soon as possible.
1415
+ # * +:vpc_security_group_ids+ - (Array<String>) A list of Ec2 Vpc
1416
+ # Security Groups to authorize on this DB Instance. This change is
1417
+ # asynchronously applied as soon as possible. Constraints: Must be 1
1418
+ # to 255 alphanumeric characters First character must be a letter
1419
+ # Cannot end with a hyphen or contain two consecutive hyphens
1420
+ # * +:apply_immediately+ - (Boolean) Specifies whether or not the
1421
+ # modifications in this request and any pending modifications are
1422
+ # asynchronously applied as soon as possible, regardless of the
1423
+ # PreferredMaintenanceWindow setting for the DB Instance. If this
1424
+ # parameter is passed as +false+ , changes to the DB Instance are
1425
+ # applied on the next call to RebootDBInstance, the next maintenance
1426
+ # reboot, or the next failure reboot, whichever occurs first.
1427
+ # * +:master_user_password+ - (String) The new password for the DB
1428
+ # Instance master user. This change is asynchronously applied as soon
1429
+ # as possible. Between the time of the request and the completion of
1430
+ # the request, the MasterUserPassword element exists in the
1431
+ # PendingModifiedValues element of the operation response.
1432
+ # * +:db_parameter_group_name+ - (String) The name of the DB Parameter
1433
+ # Group to apply to this DB Instance. This change is asynchronously
1434
+ # applied as soon as possible for parameters when the
1435
+ # ApplyImmediately parameter is specified as +true+ for this request.
1436
+ # * +:backup_retention_period+ - (Integer) The number of days to retain
1437
+ # automated backups. Setting this parameter to a positive number
1438
+ # enables backups. Setting this parameter to 0 disables automated
1439
+ # backups.
1440
+ # * +:preferred_backup_window+ - (String) The daily time range during
1441
+ # which automated backups are created if automated backups are
1442
+ # enabled, as determined by the BackupRetentionPeriod.
1443
+ # * +:preferred_maintenance_window+ - (String) The weekly time range
1444
+ # (in UTC) during which system maintenance can occur, which may
1445
+ # result in an outage. This change is made immediately. If moving
1446
+ # this window to the current time, there must be at least 120 minutes
1447
+ # between the current time and end of the window to ensure pending
1448
+ # changes are applied.
1449
+ # * +:multi_az+ - (Boolean) Specifies if the DB Instance is a Multi-AZ
1450
+ # deployment. Constraints: Cannot be specified if the DB Instance is
1451
+ # a read replica.
1452
+ # * +:engine_version+ - (String) The version number of the database
1453
+ # engine to upgrade to. For major version upgrades, if a nondefault
1454
+ # DB Parameter Group is currently in use, a new DB Parameter Group in
1455
+ # the DB Parameter Group Family for the new engine version must be
1456
+ # specified. The new DB Parameter Group can be the default for that
1457
+ # DB Parameter Group Family. Example: 5.1.42
1458
+ # * +:allow_major_version_upgrade+ - (Boolean) Indicates that major
1459
+ # version upgrades are allowed. Constraints: This parameter must be
1460
+ # set to +true+ when specifying a value for the EngineVersion
1461
+ # parameter that is a different major version than the DB Instance's
1462
+ # current version.
1463
+ # * +:auto_minor_version_upgrade+ - (Boolean) Indicates that minor
1464
+ # version upgrades will be applied automatically to the DB Instance
1465
+ # during the maintenance window.
1466
+ # * +:iops+ - (Integer) The new provisioned I/O operations per second
1467
+ # of the RDS instance. This change does not result in an outage and
1468
+ # is applied during the next maintenance window unless the
1469
+ # ApplyImmediately parameter is specified as +true+ for this request.
1470
+ # Default: Uses existing setting Constraints: Value supplied must be
1471
+ # at least 10% greater than the current value. Values that are not at
1472
+ # least 10% greater than the existing value are rounded up so that
1473
+ # they are 10% greater than the current value. Type: Integer
1474
+ # * +:option_group_name+ - (String) Indicates that the DB Instance
1475
+ # should be associated with the specified option group.
1476
+ # * +:new_db_instance_identifier+ - (String) The new DB Instance
1477
+ # identifier for the DB Instance when renaming a DB Instance. This
1478
+ # value is stored as a lowercase string. Constraints: Must contain
1479
+ # from 1 to 63 alphanumeric characters or hyphens First character
1480
+ # must be a letter Cannot end with a hyphen or contain two
1481
+ # consecutive hyphens
1482
+ # @return [Core::Response]
1483
+ # The #data method of the response object returns
1484
+ # a hash with the following structure:
1485
+ # * +:db_instance_identifier+ - (String)
1486
+ # * +:db_instance_class+ - (String)
1487
+ # * +:engine+ - (String)
1488
+ # * +:db_instance_status+ - (String)
1489
+ # * +:master_username+ - (String)
1490
+ # * +:db_name+ - (String)
1491
+ # * +:endpoint+ - (Hash)
1492
+ # * +:address+ - (String)
1493
+ # * +:port+ - (Integer)
1494
+ # * +:allocated_storage+ - (Integer)
1495
+ # * +:instance_create_time+ - (Time)
1496
+ # * +:preferred_backup_window+ - (String)
1497
+ # * +:backup_retention_period+ - (Integer)
1498
+ # * +:db_security_groups+ - (Array<Hash>)
1499
+ # * +:db_security_group_name+ - (String)
1500
+ # * +:status+ - (String)
1501
+ # * +:vpc_security_groups+ - (Array<Hash>)
1502
+ # * +:vpc_security_group_id+ - (String)
1503
+ # * +:status+ - (String)
1504
+ # * +:db_parameter_groups+ - (Array<Hash>)
1505
+ # * +:db_parameter_group_name+ - (String)
1506
+ # * +:parameter_apply_status+ - (String)
1507
+ # * +:availability_zone+ - (String)
1508
+ # * +:db_subnet_group+ - (Hash)
1509
+ # * +:db_subnet_group_name+ - (String)
1510
+ # * +:db_subnet_group_description+ - (String)
1511
+ # * +:vpc_id+ - (String)
1512
+ # * +:subnet_group_status+ - (String)
1513
+ # * +:subnets+ - (Array<Hash>)
1514
+ # * +:subnet_identifier+ - (String)
1515
+ # * +:subnet_availability_zone+ - (Hash)
1516
+ # * +:name+ - (String)
1517
+ # * +:provisioned_iops_capable+ - (Boolean)
1518
+ # * +:subnet_status+ - (String)
1519
+ # * +:preferred_maintenance_window+ - (String)
1520
+ # * +:pending_modified_values+ - (Hash)
1521
+ # * +:db_instance_class+ - (String)
1522
+ # * +:allocated_storage+ - (Integer)
1523
+ # * +:master_user_password+ - (String)
1524
+ # * +:port+ - (Integer)
1525
+ # * +:backup_retention_period+ - (Integer)
1526
+ # * +:multi_az+ - (Boolean)
1527
+ # * +:engine_version+ - (String)
1528
+ # * +:iops+ - (Integer)
1529
+ # * +:db_instance_identifier+ - (String)
1530
+ # * +:latest_restorable_time+ - (Time)
1531
+ # * +:multi_az+ - (Boolean)
1532
+ # * +:engine_version+ - (String)
1533
+ # * +:auto_minor_version_upgrade+ - (Boolean)
1534
+ # * +:read_replica_source_db_instance_identifier+ - (String)
1535
+ # * +:read_replica_db_instance_identifiers+ - (Array<String>)
1536
+ # * +:license_model+ - (String)
1537
+ # * +:iops+ - (Integer)
1538
+ # * +:option_group_memberships+ - (Array<Hash>)
1539
+ # * +:option_group_name+ - (String)
1540
+ # * +:status+ - (String)
1541
+ # * +:character_set_name+ - (String)
1542
+ # * +:secondary_availability_zone+ - (String)
1543
+ # * +:publicly_accessible+ - (Boolean)
1544
+
1545
+ # @!method modify_db_parameter_group(options = {})
1546
+ # Calls the ModifyDBParameterGroup API operation.
1547
+ # @param [Hash] options
1548
+ # * +:db_parameter_group_name+ - *required* - (String) The name of the
1549
+ # database parameter group.
1550
+ # * +:parameters+ - *required* - (Array<Hash>) An array of parameter
1551
+ # names, values, and the apply method for the parameter update. At
1552
+ # least one parameter name, value, and apply method must be supplied;
1553
+ # subsequent arguments are optional. A maximum of 20 parameters may
1554
+ # be modified in a single request.
1555
+ # * +:parameter_name+ - (String) Specifies the name of the parameter.
1556
+ # * +:parameter_value+ - (String) Specifies the value of the
1557
+ # parameter.
1558
+ # * +:description+ - (String) Provides a description of the
1559
+ # parameter.
1560
+ # * +:source+ - (String) Indicates the source of the parameter value.
1561
+ # * +:apply_type+ - (String) Specifies the engine specific parameters
1562
+ # type.
1563
+ # * +:data_type+ - (String) Specifies the valid data type for the
1564
+ # parameter.
1565
+ # * +:allowed_values+ - (String) Specifies the valid range of values
1566
+ # for the parameter.
1567
+ # * +:is_modifiable+ - (Boolean) Indicates whether ( +true+ ) or not
1568
+ # ( +false+ ) the parameter can be modified. Some parameters have
1569
+ # security or operational implications that prevent them from being
1570
+ # changed.
1571
+ # * +:minimum_engine_version+ - (String) The earliest engine version
1572
+ # to which the parameter can apply.
1573
+ # * +:apply_method+ - (String) Indicates when to apply parameter
1574
+ # updates.
1575
+ # @return [Core::Response]
1576
+ # The #data method of the response object returns
1577
+ # a hash with the following structure:
1578
+ # * +:db_parameter_group_name+ - (String)
1579
+
1580
+ # @!method modify_db_subnet_group(options = {})
1581
+ # Calls the ModifyDBSubnetGroup API operation.
1582
+ # @param [Hash] options
1583
+ # * +:db_subnet_group_name+ - *required* - (String) The name for the DB
1584
+ # Subnet Group. This value is stored as a lowercase string.
1585
+ # Constraints: Must contain no more than 255 alphanumeric characters
1586
+ # or hyphens. Must not be "Default". Example: mySubnetgroup
1587
+ # * +:db_subnet_group_description+ - (String) The description for the
1588
+ # DB Subnet Group.
1589
+ # * +:subnet_ids+ - *required* - (Array<String>) The EC2 Subnet IDs for
1590
+ # the DB Subnet Group.
1591
+ # @return [Core::Response]
1592
+ # The #data method of the response object returns
1593
+ # a hash with the following structure:
1594
+ # * +:db_subnet_group_name+ - (String)
1595
+ # * +:db_subnet_group_description+ - (String)
1596
+ # * +:vpc_id+ - (String)
1597
+ # * +:subnet_group_status+ - (String)
1598
+ # * +:subnets+ - (Array<Hash>)
1599
+ # * +:subnet_identifier+ - (String)
1600
+ # * +:subnet_availability_zone+ - (Hash)
1601
+ # * +:name+ - (String)
1602
+ # * +:provisioned_iops_capable+ - (Boolean)
1603
+ # * +:subnet_status+ - (String)
1604
+
1605
+ # @!method modify_event_subscription(options = {})
1606
+ # Calls the ModifyEventSubscription API operation.
1607
+ # @param [Hash] options
1608
+ # * +:subscription_name+ - *required* - (String) The name of the RDS
1609
+ # event notification subscription.
1610
+ # * +:sns_topic_arn+ - (String) The Amazon Resource Name (ARN) of the
1611
+ # SNS topic created for event notification. The ARN is created by
1612
+ # Amazon SNS when you create a topic and subscribe to it.
1613
+ # * +:source_type+ - (String) The type of source that will be
1614
+ # generating the events. For example, if you want to be notified of
1615
+ # events generated by a DB instance, you would set this parameter to
1616
+ # db-instance. if this value is not specified, all events are
1617
+ # returned. Valid values: db-instance | db-parameter-group |
1618
+ # db-security-group | db-snapshot
1619
+ # * +:event_categories+ - (Array<String>) A list of event categories
1620
+ # for a SourceType that you want to subscribe to. You can see a list
1621
+ # of the categories for a given SourceType in the Events topic in the
1622
+ # Amazon RDS User Guide or by using the DescribeEventCategories
1623
+ # action.
1624
+ # * +:enabled+ - (Boolean) A Boolean value; set to +true+ to activate
1625
+ # the subscription.
1626
+ # @return [Core::Response]
1627
+ # The #data method of the response object returns
1628
+ # a hash with the following structure:
1629
+ # * +:customer_aws_id+ - (String)
1630
+ # * +:cust_subscription_id+ - (String)
1631
+ # * +:sns_topic_arn+ - (String)
1632
+ # * +:status+ - (String)
1633
+ # * +:subscription_creation_time+ - (String)
1634
+ # * +:source_type+ - (String)
1635
+ # * +:source_ids_list+ - (Array<String>)
1636
+ # * +:event_categories_list+ - (Array<String>)
1637
+ # * +:enabled+ - (Boolean)
1638
+
1639
+ # @!method modify_option_group(options = {})
1640
+ # Calls the ModifyOptionGroup API operation.
1641
+ # @param [Hash] options
1642
+ # * +:option_group_name+ - *required* - (String) The name of the option
1643
+ # group to be modified.
1644
+ # * +:options_to_include+ - (Array<Hash>) Options in this list are
1645
+ # added to the Option Group or, if already present, the specified
1646
+ # configuration is used to update the existing configuration.
1647
+ # * +:option_name+ - *required* - (String) The configuration of
1648
+ # options to include in a group.
1649
+ # * +:port+ - (Integer) The optional port for the option.
1650
+ # * +:db_security_group_memberships+ - (Array<String>) A list of
1651
+ # DBSecurityGroupMemebrship name strings used for this option.
1652
+ # * +:vpc_security_group_memberships+ - (Array<String>) A list of
1653
+ # VpcSecurityGroupMemebrship name strings used for this option.
1654
+ # * +:option_settings+ - (Array<Hash>) A list of option settings
1655
+ # applied for this option.
1656
+ # * +:name+ - (String) The name of the setting.
1657
+ # * +:value+ - (String) The value of this setting.
1658
+ # * +:default_value+ - (String) Default value for this setting.
1659
+ # * +:description+ - (String) The description of the setting.
1660
+ # * +:apply_type+ - (String) Specifies the apply type for this
1661
+ # setting.
1662
+ # * +:data_type+ - (String) Specifies the valid data type of this
1663
+ # setting
1664
+ # * +:allowed_values+ - (String) Specifies a valid list/range of
1665
+ # values allowed for this setting.
1666
+ # * +:is_modifiable+ - (Boolean) Indicates if the setting is
1667
+ # modifiable or not.
1668
+ # * +:is_collection+ - (Boolean) Indicates if the value for the
1669
+ # setting can be a list of values or a single value.
1670
+ # * +:options_to_remove+ - (Array<String>) Options in this list are
1671
+ # removed from the Option Group.
1672
+ # * +:apply_immediately+ - (Boolean) Indicates whether the changes
1673
+ # should be applied immediately, or during the next maintenance
1674
+ # window for each instance associated with the Option Group.
1675
+ # @return [Core::Response]
1676
+ # The #data method of the response object returns
1677
+ # a hash with the following structure:
1678
+ # * +:option_group_name+ - (String)
1679
+ # * +:option_group_description+ - (String)
1680
+ # * +:engine_name+ - (String)
1681
+ # * +:major_engine_version+ - (String)
1682
+ # * +:options+ - (Array<Hash>)
1683
+ # * +:option_name+ - (String)
1684
+ # * +:option_description+ - (String)
1685
+ # * +:persistent+ - (Boolean)
1686
+ # * +:port+ - (Integer)
1687
+ # * +:option_settings+ - (Array<Hash>)
1688
+ # * +:name+ - (String)
1689
+ # * +:value+ - (String)
1690
+ # * +:default_value+ - (String)
1691
+ # * +:description+ - (String)
1692
+ # * +:apply_type+ - (String)
1693
+ # * +:data_type+ - (String)
1694
+ # * +:allowed_values+ - (String)
1695
+ # * +:is_modifiable+ - (Boolean)
1696
+ # * +:is_collection+ - (Boolean)
1697
+ # * +:db_security_group_memberships+ - (Array<Hash>)
1698
+ # * +:db_security_group_name+ - (String)
1699
+ # * +:status+ - (String)
1700
+ # * +:vpc_security_group_memberships+ - (Array<Hash>)
1701
+ # * +:vpc_security_group_id+ - (String)
1702
+ # * +:status+ - (String)
1703
+ # * +:allows_vpc_and_non_vpc_instance_memberships+ - (Boolean)
1704
+ # * +:vpc_id+ - (String)
1705
+
1706
+ # @!method promote_read_replica(options = {})
1707
+ # Calls the PromoteReadReplica API operation.
1708
+ # @param [Hash] options
1709
+ # * +:db_instance_identifier+ - *required* - (String) The DB Instance
1710
+ # identifier. This value is stored as a lowercase string.
1711
+ # Constraints: Must be the identifier for an existing Read Replica DB
1712
+ # Instance Must contain from 1 to 63 alphanumeric characters or
1713
+ # hyphens First character must be a letter Cannot end with a hyphen
1714
+ # or contain two consecutive hyphens Example: mydbinstance
1715
+ # * +:backup_retention_period+ - (Integer) The number of days to retain
1716
+ # automated backups. Setting this parameter to a positive number
1717
+ # enables backups. Setting this parameter to 0 disables automated
1718
+ # backups. Default: 1 Constraints: Must be a value from 0 to 8
1719
+ # * +:preferred_backup_window+ - (String) The daily time range during
1720
+ # which automated backups are created if automated backups are
1721
+ # enabled, using the BackupRetentionPeriod parameter. Default: A
1722
+ # 30-minute window selected at random from an 8-hour block of time
1723
+ # per region. The following list shows the time blocks for each
1724
+ # region from which the default backup windows are assigned. US-East
1725
+ # (Northern Virginia) Region: 03:00-11:00 UTC US-West (Northern
1726
+ # California) Region: 06:00-14:00 UTC EU (Ireland) Region:
1727
+ # 22:00-06:00 UTC Asia Pacific (Singapore) Region: 14:00-22:00 UTC
1728
+ # Asia Pacific (Tokyo) Region: 17:00-03:00 UTC Constraints: Must be
1729
+ # in the format hh24:mi-hh24:mi. Times should be Universal Time
1730
+ # Coordinated (UTC). Must not conflict with the preferred maintenance
1731
+ # window. Must be at least 30 minutes.
1732
+ # @return [Core::Response]
1733
+ # The #data method of the response object returns
1734
+ # a hash with the following structure:
1735
+ # * +:db_instance_identifier+ - (String)
1736
+ # * +:db_instance_class+ - (String)
1737
+ # * +:engine+ - (String)
1738
+ # * +:db_instance_status+ - (String)
1739
+ # * +:master_username+ - (String)
1740
+ # * +:db_name+ - (String)
1741
+ # * +:endpoint+ - (Hash)
1742
+ # * +:address+ - (String)
1743
+ # * +:port+ - (Integer)
1744
+ # * +:allocated_storage+ - (Integer)
1745
+ # * +:instance_create_time+ - (Time)
1746
+ # * +:preferred_backup_window+ - (String)
1747
+ # * +:backup_retention_period+ - (Integer)
1748
+ # * +:db_security_groups+ - (Array<Hash>)
1749
+ # * +:db_security_group_name+ - (String)
1750
+ # * +:status+ - (String)
1751
+ # * +:vpc_security_groups+ - (Array<Hash>)
1752
+ # * +:vpc_security_group_id+ - (String)
1753
+ # * +:status+ - (String)
1754
+ # * +:db_parameter_groups+ - (Array<Hash>)
1755
+ # * +:db_parameter_group_name+ - (String)
1756
+ # * +:parameter_apply_status+ - (String)
1757
+ # * +:availability_zone+ - (String)
1758
+ # * +:db_subnet_group+ - (Hash)
1759
+ # * +:db_subnet_group_name+ - (String)
1760
+ # * +:db_subnet_group_description+ - (String)
1761
+ # * +:vpc_id+ - (String)
1762
+ # * +:subnet_group_status+ - (String)
1763
+ # * +:subnets+ - (Array<Hash>)
1764
+ # * +:subnet_identifier+ - (String)
1765
+ # * +:subnet_availability_zone+ - (Hash)
1766
+ # * +:name+ - (String)
1767
+ # * +:provisioned_iops_capable+ - (Boolean)
1768
+ # * +:subnet_status+ - (String)
1769
+ # * +:preferred_maintenance_window+ - (String)
1770
+ # * +:pending_modified_values+ - (Hash)
1771
+ # * +:db_instance_class+ - (String)
1772
+ # * +:allocated_storage+ - (Integer)
1773
+ # * +:master_user_password+ - (String)
1774
+ # * +:port+ - (Integer)
1775
+ # * +:backup_retention_period+ - (Integer)
1776
+ # * +:multi_az+ - (Boolean)
1777
+ # * +:engine_version+ - (String)
1778
+ # * +:iops+ - (Integer)
1779
+ # * +:db_instance_identifier+ - (String)
1780
+ # * +:latest_restorable_time+ - (Time)
1781
+ # * +:multi_az+ - (Boolean)
1782
+ # * +:engine_version+ - (String)
1783
+ # * +:auto_minor_version_upgrade+ - (Boolean)
1784
+ # * +:read_replica_source_db_instance_identifier+ - (String)
1785
+ # * +:read_replica_db_instance_identifiers+ - (Array<String>)
1786
+ # * +:license_model+ - (String)
1787
+ # * +:iops+ - (Integer)
1788
+ # * +:option_group_memberships+ - (Array<Hash>)
1789
+ # * +:option_group_name+ - (String)
1790
+ # * +:status+ - (String)
1791
+ # * +:character_set_name+ - (String)
1792
+ # * +:secondary_availability_zone+ - (String)
1793
+ # * +:publicly_accessible+ - (Boolean)
1794
+
1795
+ # @!method purchase_reserved_db_instances_offering(options = {})
1796
+ # Calls the PurchaseReservedDBInstancesOffering API operation.
1797
+ # @param [Hash] options
1798
+ # * +:reserved_db_instances_offering_id+ - *required* - (String) The ID
1799
+ # of the Reserved DB Instance offering to purchase. Example:
1800
+ # 438012d3-4052-4cc7-b2e3-8d3372e0e706
1801
+ # * +:reserved_db_instance_id+ - (String) Customer-specified identifier
1802
+ # to track this reservation. Example: myreservationID
1803
+ # * +:db_instance_count+ - (Integer) The number of instances to
1804
+ # reserve. Default: 1
1805
+ # @return [Core::Response]
1806
+ # The #data method of the response object returns
1807
+ # a hash with the following structure:
1808
+ # * +:reserved_db_instance_id+ - (String)
1809
+ # * +:reserved_db_instances_offering_id+ - (String)
1810
+ # * +:db_instance_class+ - (String)
1811
+ # * +:start_time+ - (Time)
1812
+ # * +:duration+ - (Integer)
1813
+ # * +:fixed_price+ - (Numeric)
1814
+ # * +:usage_price+ - (Numeric)
1815
+ # * +:currency_code+ - (String)
1816
+ # * +:db_instance_count+ - (Integer)
1817
+ # * +:product_description+ - (String)
1818
+ # * +:offering_type+ - (String)
1819
+ # * +:multi_az+ - (Boolean)
1820
+ # * +:state+ - (String)
1821
+ # * +:recurring_charges+ - (Array<Hash>)
1822
+ # * +:recurring_charge_amount+ - (Numeric)
1823
+ # * +:recurring_charge_frequency+ - (String)
1824
+
1825
+ # @!method reboot_db_instance(options = {})
1826
+ # Calls the RebootDBInstance API operation.
1827
+ # @param [Hash] options
1828
+ # * +:db_instance_identifier+ - *required* - (String) The DB Instance
1829
+ # identifier. This parameter is stored as a lowercase string.
1830
+ # * +:force_failover+ - (Boolean) When +true+ , the reboot will be
1831
+ # conducted through a MultiAZ failover. Constraint: You cannot
1832
+ # specify +true+ if the instance is not configured for MultiAZ.
1833
+ # @return [Core::Response]
1834
+ # The #data method of the response object returns
1835
+ # a hash with the following structure:
1836
+ # * +:db_instance_identifier+ - (String)
1837
+ # * +:db_instance_class+ - (String)
1838
+ # * +:engine+ - (String)
1839
+ # * +:db_instance_status+ - (String)
1840
+ # * +:master_username+ - (String)
1841
+ # * +:db_name+ - (String)
1842
+ # * +:endpoint+ - (Hash)
1843
+ # * +:address+ - (String)
1844
+ # * +:port+ - (Integer)
1845
+ # * +:allocated_storage+ - (Integer)
1846
+ # * +:instance_create_time+ - (Time)
1847
+ # * +:preferred_backup_window+ - (String)
1848
+ # * +:backup_retention_period+ - (Integer)
1849
+ # * +:db_security_groups+ - (Array<Hash>)
1850
+ # * +:db_security_group_name+ - (String)
1851
+ # * +:status+ - (String)
1852
+ # * +:vpc_security_groups+ - (Array<Hash>)
1853
+ # * +:vpc_security_group_id+ - (String)
1854
+ # * +:status+ - (String)
1855
+ # * +:db_parameter_groups+ - (Array<Hash>)
1856
+ # * +:db_parameter_group_name+ - (String)
1857
+ # * +:parameter_apply_status+ - (String)
1858
+ # * +:availability_zone+ - (String)
1859
+ # * +:db_subnet_group+ - (Hash)
1860
+ # * +:db_subnet_group_name+ - (String)
1861
+ # * +:db_subnet_group_description+ - (String)
1862
+ # * +:vpc_id+ - (String)
1863
+ # * +:subnet_group_status+ - (String)
1864
+ # * +:subnets+ - (Array<Hash>)
1865
+ # * +:subnet_identifier+ - (String)
1866
+ # * +:subnet_availability_zone+ - (Hash)
1867
+ # * +:name+ - (String)
1868
+ # * +:provisioned_iops_capable+ - (Boolean)
1869
+ # * +:subnet_status+ - (String)
1870
+ # * +:preferred_maintenance_window+ - (String)
1871
+ # * +:pending_modified_values+ - (Hash)
1872
+ # * +:db_instance_class+ - (String)
1873
+ # * +:allocated_storage+ - (Integer)
1874
+ # * +:master_user_password+ - (String)
1875
+ # * +:port+ - (Integer)
1876
+ # * +:backup_retention_period+ - (Integer)
1877
+ # * +:multi_az+ - (Boolean)
1878
+ # * +:engine_version+ - (String)
1879
+ # * +:iops+ - (Integer)
1880
+ # * +:db_instance_identifier+ - (String)
1881
+ # * +:latest_restorable_time+ - (Time)
1882
+ # * +:multi_az+ - (Boolean)
1883
+ # * +:engine_version+ - (String)
1884
+ # * +:auto_minor_version_upgrade+ - (Boolean)
1885
+ # * +:read_replica_source_db_instance_identifier+ - (String)
1886
+ # * +:read_replica_db_instance_identifiers+ - (Array<String>)
1887
+ # * +:license_model+ - (String)
1888
+ # * +:iops+ - (Integer)
1889
+ # * +:option_group_memberships+ - (Array<Hash>)
1890
+ # * +:option_group_name+ - (String)
1891
+ # * +:status+ - (String)
1892
+ # * +:character_set_name+ - (String)
1893
+ # * +:secondary_availability_zone+ - (String)
1894
+ # * +:publicly_accessible+ - (Boolean)
1895
+
1896
+ # @!method remove_source_identifier_from_subscription(options = {})
1897
+ # Calls the RemoveSourceIdentifierFromSubscription API operation.
1898
+ # @param [Hash] options
1899
+ # * +:subscription_name+ - *required* - (String) The name of the RDS
1900
+ # event notification subscription you want to remove a source
1901
+ # identifier from.
1902
+ # * +:source_identifier+ - *required* - (String) The source identifier
1903
+ # to be removed from the subscription, such as the DB instance
1904
+ # identifier for a DB instance or the name of a security group.
1905
+ # @return [Core::Response]
1906
+ # The #data method of the response object returns
1907
+ # a hash with the following structure:
1908
+ # * +:customer_aws_id+ - (String)
1909
+ # * +:cust_subscription_id+ - (String)
1910
+ # * +:sns_topic_arn+ - (String)
1911
+ # * +:status+ - (String)
1912
+ # * +:subscription_creation_time+ - (String)
1913
+ # * +:source_type+ - (String)
1914
+ # * +:source_ids_list+ - (Array<String>)
1915
+ # * +:event_categories_list+ - (Array<String>)
1916
+ # * +:enabled+ - (Boolean)
1917
+
1918
+ # @!method remove_tags_from_resource(options = {})
1919
+ # Calls the RemoveTagsFromResource API operation.
1920
+ # @param [Hash] options
1921
+ # * +:resource_name+ - *required* - (String) The DB Instance the tags
1922
+ # will be removed from.
1923
+ # * +:tag_keys+ - *required* - (Array<String>) The tag key (name) of
1924
+ # the tag to be removed.
1925
+ # @return [Core::Response]
1926
+
1927
+ # @!method reset_db_parameter_group(options = {})
1928
+ # Calls the ResetDBParameterGroup API operation.
1929
+ # @param [Hash] options
1930
+ # * +:db_parameter_group_name+ - *required* - (String) The name of the
1931
+ # DB Parameter Group.
1932
+ # * +:reset_all_parameters+ - (Boolean) Specifies whether ( +true+ ) or
1933
+ # not ( +false+ ) to reset all parameters in the DB Parameter Group
1934
+ # to default values.
1935
+ # * +:parameters+ - (Array<Hash>) An array of parameter names, values,
1936
+ # and the apply method for the parameter update. At least one
1937
+ # parameter name, value, and apply method must be supplied;
1938
+ # subsequent arguments are optional. A maximum of 20 parameters may
1939
+ # be modified in a single request.
1940
+ # * +:parameter_name+ - (String) Specifies the name of the parameter.
1941
+ # * +:parameter_value+ - (String) Specifies the value of the
1942
+ # parameter.
1943
+ # * +:description+ - (String) Provides a description of the
1944
+ # parameter.
1945
+ # * +:source+ - (String) Indicates the source of the parameter value.
1946
+ # * +:apply_type+ - (String) Specifies the engine specific parameters
1947
+ # type.
1948
+ # * +:data_type+ - (String) Specifies the valid data type for the
1949
+ # parameter.
1950
+ # * +:allowed_values+ - (String) Specifies the valid range of values
1951
+ # for the parameter.
1952
+ # * +:is_modifiable+ - (Boolean) Indicates whether ( +true+ ) or not
1953
+ # ( +false+ ) the parameter can be modified. Some parameters have
1954
+ # security or operational implications that prevent them from being
1955
+ # changed.
1956
+ # * +:minimum_engine_version+ - (String) The earliest engine version
1957
+ # to which the parameter can apply.
1958
+ # * +:apply_method+ - (String) Indicates when to apply parameter
1959
+ # updates.
1960
+ # @return [Core::Response]
1961
+ # The #data method of the response object returns
1962
+ # a hash with the following structure:
1963
+ # * +:db_parameter_group_name+ - (String)
1964
+
1965
+ # @!method restore_db_instance_from_db_snapshot(options = {})
1966
+ # Calls the RestoreDBInstanceFromDBSnapshot API operation.
1967
+ # @param [Hash] options
1968
+ # * +:db_instance_identifier+ - *required* - (String) The identifier
1969
+ # for the DB Snapshot to restore from.
1970
+ # * +:db_snapshot_identifier+ - *required* - (String) Name of the DB
1971
+ # Instance to create from the DB Snapshot. This parameter isn't case
1972
+ # sensitive.
1973
+ # * +:db_instance_class+ - (String) The compute and memory capacity of
1974
+ # the Amazon RDS DB instance.
1975
+ # * +:port+ - (Integer) The port number on which the database accepts
1976
+ # connections.
1977
+ # * +:availability_zone+ - (String) The EC2 Availability Zone that the
1978
+ # database instance will be created in.
1979
+ # * +:db_subnet_group_name+ - (String) The DB Subnet Group name to use
1980
+ # for the new instance.
1981
+ # * +:multi_az+ - (Boolean) Specifies if the DB Instance is a Multi-AZ
1982
+ # deployment. Constraint: You cannot specify the AvailabilityZone
1983
+ # parameter if the MultiAZ parameter is set to +true+ .
1984
+ # * +:publicly_accessible+ - (Boolean) Specifies the accessibility
1985
+ # options for the DB Instance. A value of +true+ specifies an
1986
+ # Internet-facing instance with a publicly resolvable DNS name, which
1987
+ # resolves to a public IP address. A value of +false+ specifies an
1988
+ # internal instance with a DNS name that resolves to a private IP
1989
+ # address. Default: The default behavior varies depending on whether
1990
+ # a VPC has been requested or not. The following list shows the
1991
+ # default behavior in each case. Default VPC: +true+ VPC: +false+ If
1992
+ # no DB subnet group has been specified as part of the request and
1993
+ # the PubliclyAccessible value has not been set, the DB instance will
1994
+ # be publicly accessible. If a specific DB subnet group has been
1995
+ # specified as part of the request and the PubliclyAccessible value
1996
+ # has not been set, the DB instance will be private.
1997
+ # * +:auto_minor_version_upgrade+ - (Boolean) Indicates that minor
1998
+ # version upgrades will be applied automatically to the DB Instance
1999
+ # during the maintenance window.
2000
+ # * +:license_model+ - (String) License model information for the
2001
+ # restored DB Instance. Default: Same as source. Valid values:
2002
+ # license-included | bring-your-own-license | general-public-license
2003
+ # * +:db_name+ - (String) The database name for the restored DB
2004
+ # Instance. This parameter doesn't apply to the MySQL engine.
2005
+ # * +:engine+ - (String) The database engine to use for the new
2006
+ # instance. Default: The same as source Constraint: Must be
2007
+ # compatible with the engine of the source Example: oracle-ee
2008
+ # * +:iops+ - (Integer) The amount of Provisioned IOPS (input/output
2009
+ # operations per second) to be initially allocated for the DB
2010
+ # Instance. Constraints: Must be an integer greater than 1000.
2011
+ # * +:option_group_name+ - (String)
2012
+ # @return [Core::Response]
2013
+ # The #data method of the response object returns
2014
+ # a hash with the following structure:
2015
+ # * +:db_instance_identifier+ - (String)
2016
+ # * +:db_instance_class+ - (String)
2017
+ # * +:engine+ - (String)
2018
+ # * +:db_instance_status+ - (String)
2019
+ # * +:master_username+ - (String)
2020
+ # * +:db_name+ - (String)
2021
+ # * +:endpoint+ - (Hash)
2022
+ # * +:address+ - (String)
2023
+ # * +:port+ - (Integer)
2024
+ # * +:allocated_storage+ - (Integer)
2025
+ # * +:instance_create_time+ - (Time)
2026
+ # * +:preferred_backup_window+ - (String)
2027
+ # * +:backup_retention_period+ - (Integer)
2028
+ # * +:db_security_groups+ - (Array<Hash>)
2029
+ # * +:db_security_group_name+ - (String)
2030
+ # * +:status+ - (String)
2031
+ # * +:vpc_security_groups+ - (Array<Hash>)
2032
+ # * +:vpc_security_group_id+ - (String)
2033
+ # * +:status+ - (String)
2034
+ # * +:db_parameter_groups+ - (Array<Hash>)
2035
+ # * +:db_parameter_group_name+ - (String)
2036
+ # * +:parameter_apply_status+ - (String)
2037
+ # * +:availability_zone+ - (String)
2038
+ # * +:db_subnet_group+ - (Hash)
2039
+ # * +:db_subnet_group_name+ - (String)
2040
+ # * +:db_subnet_group_description+ - (String)
2041
+ # * +:vpc_id+ - (String)
2042
+ # * +:subnet_group_status+ - (String)
2043
+ # * +:subnets+ - (Array<Hash>)
2044
+ # * +:subnet_identifier+ - (String)
2045
+ # * +:subnet_availability_zone+ - (Hash)
2046
+ # * +:name+ - (String)
2047
+ # * +:provisioned_iops_capable+ - (Boolean)
2048
+ # * +:subnet_status+ - (String)
2049
+ # * +:preferred_maintenance_window+ - (String)
2050
+ # * +:pending_modified_values+ - (Hash)
2051
+ # * +:db_instance_class+ - (String)
2052
+ # * +:allocated_storage+ - (Integer)
2053
+ # * +:master_user_password+ - (String)
2054
+ # * +:port+ - (Integer)
2055
+ # * +:backup_retention_period+ - (Integer)
2056
+ # * +:multi_az+ - (Boolean)
2057
+ # * +:engine_version+ - (String)
2058
+ # * +:iops+ - (Integer)
2059
+ # * +:db_instance_identifier+ - (String)
2060
+ # * +:latest_restorable_time+ - (Time)
2061
+ # * +:multi_az+ - (Boolean)
2062
+ # * +:engine_version+ - (String)
2063
+ # * +:auto_minor_version_upgrade+ - (Boolean)
2064
+ # * +:read_replica_source_db_instance_identifier+ - (String)
2065
+ # * +:read_replica_db_instance_identifiers+ - (Array<String>)
2066
+ # * +:license_model+ - (String)
2067
+ # * +:iops+ - (Integer)
2068
+ # * +:option_group_memberships+ - (Array<Hash>)
2069
+ # * +:option_group_name+ - (String)
2070
+ # * +:status+ - (String)
2071
+ # * +:character_set_name+ - (String)
2072
+ # * +:secondary_availability_zone+ - (String)
2073
+ # * +:publicly_accessible+ - (Boolean)
2074
+
2075
+ # @!method restore_db_instance_to_point_in_time(options = {})
2076
+ # Calls the RestoreDBInstanceToPointInTime API operation.
2077
+ # @param [Hash] options
2078
+ # * +:source_db_instance_identifier+ - *required* - (String) The
2079
+ # identifier of the source DB Instance from which to restore.
2080
+ # * +:target_db_instance_identifier+ - *required* - (String) The name
2081
+ # of the new database instance to be created.
2082
+ # * +:restore_time+ - (String<ISO8601 datetime>) The date and time from
2083
+ # to restore from.
2084
+ # * +:use_latest_restorable_time+ - (Boolean) Specifies whether (
2085
+ # +true+ ) or not ( +false+ ) the DB Instance is restored from the
2086
+ # latest backup time.
2087
+ # * +:db_instance_class+ - (String) The compute and memory capacity of
2088
+ # the Amazon RDS DB instance.
2089
+ # * +:port+ - (Integer) The port number on which the database accepts
2090
+ # connections.
2091
+ # * +:availability_zone+ - (String) The EC2 Availability Zone that the
2092
+ # database instance will be created in.
2093
+ # * +:db_subnet_group_name+ - (String) The DB subnet group name to use
2094
+ # for the new instance.
2095
+ # * +:multi_az+ - (Boolean) Specifies if the DB Instance is a Multi-AZ
2096
+ # deployment. Constraint: You cannot specify the AvailabilityZone
2097
+ # parameter if the MultiAZ parameter is set to +true+ .
2098
+ # * +:publicly_accessible+ - (Boolean) Specifies the accessibility
2099
+ # options for the DB Instance. A value of +true+ specifies an
2100
+ # Internet-facing instance with a publicly resolvable DNS name, which
2101
+ # resolves to a public IP address. A value of +false+ specifies an
2102
+ # internal instance with a DNS name that resolves to a private IP
2103
+ # address. Default: The default behavior varies depending on whether
2104
+ # a VPC has been requested or not. The following list shows the
2105
+ # default behavior in each case. Default VPC: +true+ VPC: +false+ If
2106
+ # no DB subnet group has been specified as part of the request and
2107
+ # the PubliclyAccessible value has not been set, the DB instance will
2108
+ # be publicly accessible. If a specific DB subnet group has been
2109
+ # specified as part of the request and the PubliclyAccessible value
2110
+ # has not been set, the DB instance will be private.
2111
+ # * +:auto_minor_version_upgrade+ - (Boolean) Indicates that minor
2112
+ # version upgrades will be applied automatically to the DB Instance
2113
+ # during the maintenance window.
2114
+ # * +:license_model+ - (String) License model information for the
2115
+ # restored DB Instance. Default: Same as source. Valid values:
2116
+ # license-included | bring-your-own-license | general-public-license
2117
+ # * +:db_name+ - (String) The database name for the restored DB
2118
+ # Instance. This parameter is not used for the MySQL engine.
2119
+ # * +:engine+ - (String) The database engine to use for the new
2120
+ # instance. Default: The same as source Constraint: Must be
2121
+ # compatible with the engine of the source Example: oracle-ee
2122
+ # * +:iops+ - (Integer) The amount of Provisioned IOPS (input/output
2123
+ # operations per second) to be initially allocated for the DB
2124
+ # Instance. Constraints: Must be an integer greater than 1000.
2125
+ # * +:option_group_name+ - (String)
2126
+ # @return [Core::Response]
2127
+ # The #data method of the response object returns
2128
+ # a hash with the following structure:
2129
+ # * +:db_instance_identifier+ - (String)
2130
+ # * +:db_instance_class+ - (String)
2131
+ # * +:engine+ - (String)
2132
+ # * +:db_instance_status+ - (String)
2133
+ # * +:master_username+ - (String)
2134
+ # * +:db_name+ - (String)
2135
+ # * +:endpoint+ - (Hash)
2136
+ # * +:address+ - (String)
2137
+ # * +:port+ - (Integer)
2138
+ # * +:allocated_storage+ - (Integer)
2139
+ # * +:instance_create_time+ - (Time)
2140
+ # * +:preferred_backup_window+ - (String)
2141
+ # * +:backup_retention_period+ - (Integer)
2142
+ # * +:db_security_groups+ - (Array<Hash>)
2143
+ # * +:db_security_group_name+ - (String)
2144
+ # * +:status+ - (String)
2145
+ # * +:vpc_security_groups+ - (Array<Hash>)
2146
+ # * +:vpc_security_group_id+ - (String)
2147
+ # * +:status+ - (String)
2148
+ # * +:db_parameter_groups+ - (Array<Hash>)
2149
+ # * +:db_parameter_group_name+ - (String)
2150
+ # * +:parameter_apply_status+ - (String)
2151
+ # * +:availability_zone+ - (String)
2152
+ # * +:db_subnet_group+ - (Hash)
2153
+ # * +:db_subnet_group_name+ - (String)
2154
+ # * +:db_subnet_group_description+ - (String)
2155
+ # * +:vpc_id+ - (String)
2156
+ # * +:subnet_group_status+ - (String)
2157
+ # * +:subnets+ - (Array<Hash>)
2158
+ # * +:subnet_identifier+ - (String)
2159
+ # * +:subnet_availability_zone+ - (Hash)
2160
+ # * +:name+ - (String)
2161
+ # * +:provisioned_iops_capable+ - (Boolean)
2162
+ # * +:subnet_status+ - (String)
2163
+ # * +:preferred_maintenance_window+ - (String)
2164
+ # * +:pending_modified_values+ - (Hash)
2165
+ # * +:db_instance_class+ - (String)
2166
+ # * +:allocated_storage+ - (Integer)
2167
+ # * +:master_user_password+ - (String)
2168
+ # * +:port+ - (Integer)
2169
+ # * +:backup_retention_period+ - (Integer)
2170
+ # * +:multi_az+ - (Boolean)
2171
+ # * +:engine_version+ - (String)
2172
+ # * +:iops+ - (Integer)
2173
+ # * +:db_instance_identifier+ - (String)
2174
+ # * +:latest_restorable_time+ - (Time)
2175
+ # * +:multi_az+ - (Boolean)
2176
+ # * +:engine_version+ - (String)
2177
+ # * +:auto_minor_version_upgrade+ - (Boolean)
2178
+ # * +:read_replica_source_db_instance_identifier+ - (String)
2179
+ # * +:read_replica_db_instance_identifiers+ - (Array<String>)
2180
+ # * +:license_model+ - (String)
2181
+ # * +:iops+ - (Integer)
2182
+ # * +:option_group_memberships+ - (Array<Hash>)
2183
+ # * +:option_group_name+ - (String)
2184
+ # * +:status+ - (String)
2185
+ # * +:character_set_name+ - (String)
2186
+ # * +:secondary_availability_zone+ - (String)
2187
+ # * +:publicly_accessible+ - (Boolean)
2188
+
2189
+ # @!method revoke_db_security_group_ingress(options = {})
2190
+ # Calls the RevokeDBSecurityGroupIngress API operation.
2191
+ # @param [Hash] options
2192
+ # * +:db_security_group_name+ - *required* - (String) The name of the
2193
+ # DB Security Group to revoke ingress from.
2194
+ # * +:cidrip+ - (String) The IP range to revoke access from.
2195
+ # * +:ec2_security_group_name+ - (String) The name of the EC2 Security
2196
+ # Group to revoke access from.
2197
+ # * +:ec2_security_group_id+ - (String) The id of the EC2 Security
2198
+ # Group to revoke access from. For VPC DB Security Groups,
2199
+ # EC2SecurityGroupId must be provided. Otherwise,
2200
+ # EC2SecurityGroupOwnerId and either EC2SecurityGroupName or
2201
+ # EC2SecurityGroupId must be provided.
2202
+ # * +:ec2_security_group_owner_id+ - (String) The AWS Account Number of
2203
+ # the owner of the security group specified in the
2204
+ # EC2SecurityGroupName parameter. The AWS Access Key ID is not an
2205
+ # acceptable value.
2206
+ # @return [Core::Response]
2207
+ # The #data method of the response object returns
2208
+ # a hash with the following structure:
2209
+ # * +:owner_id+ - (String)
2210
+ # * +:db_security_group_name+ - (String)
2211
+ # * +:db_security_group_description+ - (String)
2212
+ # * +:vpc_id+ - (String)
2213
+ # * +:ec_2_security_groups+ - (Array<Hash>)
2214
+ # * +:status+ - (String)
2215
+ # * +:ec2_security_group_name+ - (String)
2216
+ # * +:ec2_security_group_id+ - (String)
2217
+ # * +:ec2_security_group_owner_id+ - (String)
2218
+ # * +:ip_ranges+ - (Array<Hash>)
2219
+ # * +:status+ - (String)
2220
+ # * +:cidrip+ - (String)
2221
+
2222
+ # end client methods #
2223
+
2224
+ define_client_methods('2013-02-12')
2225
+
2226
+ end
2227
+ end
2228
+ end