aws-sdk-euca 1.8.5

Sign up to get free protection for your applications and to get access to all the features.
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,1307 @@
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 CloudFront
16
+ class Client < Core::RESTXMLClient
17
+
18
+ # @private
19
+ CACHEABLE_REQUESTS = Set[]
20
+
21
+ # client methods #
22
+
23
+ # @!method create_cloud_front_origin_access_identity(options = {})
24
+ # Calls the POST CreateCloudFrontOriginAccessIdentity API operation.
25
+ # @param [Hash] options
26
+ # * +:cloud_front_origin_access_identity_config+ - *required* - (Hash)
27
+ # The origin access identity's configuration information.
28
+ # * +:caller_reference+ - *required* - (String) A unique number that
29
+ # ensures the request can't be replayed. If the CallerReference is
30
+ # new (no matter the content of the
31
+ # CloudFrontOriginAccessIdentityConfig object), a new origin access
32
+ # identity is created. If the CallerReference is a value you already
33
+ # sent in a previous request to create an identity, and the content
34
+ # of the CloudFrontOriginAccessIdentityConfig is identical to the
35
+ # original request (ignoring white space), the response includes the
36
+ # same information returned to the original request. If the
37
+ # CallerReference is a value you already sent in a previous request
38
+ # to create an identity but the content of the
39
+ # CloudFrontOriginAccessIdentityConfig is different from the original
40
+ # request, CloudFront returns a
41
+ # CloudFrontOriginAccessIdentityAlreadyExists error.
42
+ # * +:comment+ - *required* - (String) Any comments you want to include
43
+ # about the origin access identity.
44
+ # @return [Core::Response]
45
+ # The #data method of the response object returns
46
+ # a hash with the following structure:
47
+ # * +:id+ - (String)
48
+ # * +:s3_canonical_user_id+ - (String)
49
+ # * +:cloud_front_origin_access_identity_config+ - (Hash)
50
+ # * +:caller_reference+ - (String)
51
+ # * +:comment+ - (String)
52
+
53
+ # @!method create_distribution(options = {})
54
+ # Calls the POST CreateDistribution API operation.
55
+ # @param [Hash] options
56
+ # * +:distribution_config+ - *required* - (Hash) The distribution's
57
+ # configuration information.
58
+ # * +:caller_reference+ - *required* - (String) A unique number that
59
+ # ensures the request can't be replayed. If the CallerReference is
60
+ # new (no matter the content of the DistributionConfig object), a new
61
+ # distribution is created. If the CallerReference is a value you
62
+ # already sent in a previous request to create a distribution, and
63
+ # the content of the DistributionConfig is identical to the original
64
+ # request (ignoring white space), the response includes the same
65
+ # information returned to the original request. If the
66
+ # CallerReference is a value you already sent in a previous request
67
+ # to create a distribution but the content of the DistributionConfig
68
+ # is different from the original request, CloudFront returns a
69
+ # DistributionAlreadyExists error.
70
+ # * +:aliases+ - *required* - (Hash) A complex type that contains
71
+ # information about CNAMEs (alternate domain names), if any, for this
72
+ # distribution.
73
+ # * +:quantity+ - *required* - (Integer) The number of CNAMEs, if
74
+ # any, for this distribution.
75
+ # * +:items+ - (Array<String>) Optional: A complex type that contains
76
+ # CNAME elements, if any, for this distribution. If Quantity is 0,
77
+ # you can omit Items.
78
+ # * +:default_root_object+ - *required* - (String) The object that you
79
+ # want CloudFront to return (for example, index.html) when an end
80
+ # user requests the root URL for your distribution
81
+ # (http://www.example.com) instead of an object in your distribution
82
+ # (http://www.example.com/index.html). Specifying a default root
83
+ # object avoids exposing the contents of your distribution. If you
84
+ # don't want to specify a default root object when you create a
85
+ # distribution, include an empty DefaultRootObject element. To delete
86
+ # the default root object from an existing distribution, update the
87
+ # distribution configuration and include an empty DefaultRootObject
88
+ # element. To replace the default root object, update the
89
+ # distribution configuration and specify the new object.
90
+ # * +:origins+ - *required* - (Hash) A complex type that contains
91
+ # information about origins for this distribution.
92
+ # * +:quantity+ - *required* - (Integer) The number of origins for
93
+ # this distribution.
94
+ # * +:items+ - (Array<Hash>) A complex type that contains origins for
95
+ # this distribution.
96
+ # * +:id+ - *required* - (String) A unique identifier for the
97
+ # origin. The value of Id must be unique within the distribution.
98
+ # You use the value of Id when you create a cache behavior. The
99
+ # Id identifies the origin that CloudFront routes a request to
100
+ # when the request matches the path pattern for that cache
101
+ # behavior.
102
+ # * +:domain_name+ - *required* - (String) Amazon S3 origins: The
103
+ # DNS name of the Amazon S3 bucket from which you want CloudFront
104
+ # to get objects for this origin, for example,
105
+ # myawsbucket.s3.amazonaws.com. Custom origins: The DNS domain
106
+ # name for the HTTP server from which you want CloudFront to get
107
+ # objects for this origin, for example, www.example.com.
108
+ # * +:s3_origin_config+ - (Hash) A complex type that contains
109
+ # information about the Amazon S3 origin. If the origin is a
110
+ # custom origin, use the CustomOriginConfig element instead.
111
+ # * +:origin_access_identity+ - *required* - (String) The
112
+ # CloudFront origin access identity to associate with the
113
+ # origin. Use an origin access identity to configure the origin
114
+ # so that end users can only access objects in an Amazon S3
115
+ # bucket through CloudFront. If you want end users to be able
116
+ # to access objects using either the CloudFront URL or the
117
+ # Amazon S3 URL, specify an empty OriginAccessIdentity element.
118
+ # To delete the origin access identity from an existing
119
+ # distribution, update the distribution configuration and
120
+ # include an empty OriginAccessIdentity element. To replace the
121
+ # origin access identity, update the distribution configuration
122
+ # and specify the new origin access identity.
123
+ # * +:custom_origin_config+ - (Hash) A complex type that contains
124
+ # information about a custom origin. If the origin is an Amazon
125
+ # S3 bucket, use the S3OriginConfig element instead.
126
+ # * +:http_port+ - *required* - (Integer) The HTTP port the
127
+ # custom origin listens on.
128
+ # * +:https_port+ - *required* - (Integer) The HTTPS port the
129
+ # custom origin listens on.
130
+ # * +:origin_protocol_policy+ - *required* - (String) The origin
131
+ # protocol policy to apply to your origin.
132
+ # * +:default_cache_behavior+ - *required* - (Hash) A complex type that
133
+ # describes the default cache behavior if you do not specify a
134
+ # CacheBehavior element or if files don't match any of the values of
135
+ # PathPattern in CacheBehavior elements.You must create exactly one
136
+ # default cache behavior.
137
+ # * +:target_origin_id+ - *required* - (String) The value of ID for
138
+ # the origin that you want CloudFront to route requests to when a
139
+ # request matches the path pattern either for a cache behavior or
140
+ # for the default cache behavior.
141
+ # * +:forwarded_values+ - *required* - (Hash) A complex type that
142
+ # specifies how CloudFront handles query strings.
143
+ # * +:query_string+ - *required* - (Boolean) Indicates whether you
144
+ # want CloudFront to forward query strings to the origin that is
145
+ # associated with this cache behavior. If so, specify +true+ ; if
146
+ # not, specify +false+ .
147
+ # * +:trusted_signers+ - *required* - (Hash) A complex type that
148
+ # specifies the AWS accounts, if any, that you want to allow to
149
+ # create signed URLs for private content. If you want to require
150
+ # signed URLs in requests for objects in the target origin that
151
+ # match the PathPattern for this cache behavior, specify +true+ for
152
+ # Enabled, and specify the applicable values for Quantity and
153
+ # Items. For more information, go to Using a Signed URL to Serve
154
+ # Private Content in the Amazon CloudFront Developer Guide. If you
155
+ # don't want to require signed URLs in requests for objects that
156
+ # match PathPattern, specify +false+ for Enabled and 0 for
157
+ # Quantity. Omit Items. To add, change, or remove one or more
158
+ # trusted signers, change Enabled to +true+ (if it's currently
159
+ # +false+ ), change Quantity as applicable, and specify all of the
160
+ # trusted signers that you want to include in the updated
161
+ # distribution.
162
+ # * +:enabled+ - *required* - (Boolean) Specifies whether you want
163
+ # to require end users to use signed URLs to access the files
164
+ # specified by PathPattern and TargetOriginId.
165
+ # * +:quantity+ - *required* - (Integer) The number of trusted
166
+ # signers for this cache behavior.
167
+ # * +:items+ - (Array<String>) Optional: A complex type that
168
+ # contains trusted signers for this cache behavior. If Quantity
169
+ # is 0, you can omit Items.
170
+ # * +:viewer_protocol_policy+ - *required* - (String) Use this
171
+ # element to specify the protocol that users can use to access the
172
+ # files in the origin specified by TargetOriginId when a request
173
+ # matches the path pattern in PathPattern. If you want CloudFront
174
+ # to allow end users to use any available protocol, specify
175
+ # allow-all. If you want CloudFront to require HTTPS, specify
176
+ # https.
177
+ # * +:min_ttl+ - *required* - (Integer) The minimum amount of time
178
+ # that you want objects to stay in CloudFront caches before
179
+ # CloudFront queries your origin to see whether the object has been
180
+ # updated.You can specify a value from 0 to 3,153,600,000 seconds
181
+ # (100 years).
182
+ # * +:cache_behaviors+ - *required* - (Hash) A complex type that
183
+ # contains zero or more CacheBehavior elements.
184
+ # * +:quantity+ - *required* - (Integer) The number of cache
185
+ # behaviors for this distribution.
186
+ # * +:items+ - (Array<Hash>) Optional: A complex type that contains
187
+ # cache behaviors for this distribution. If Quantity is 0, you can
188
+ # omit Items.
189
+ # * +:path_pattern+ - *required* - (String) The pattern (for
190
+ # example, images/*.jpg) that specifies which requests you want
191
+ # this cache behavior to apply to. When CloudFront receives an
192
+ # end-user request, the requested path is compared with path
193
+ # patterns in the order in which cache behaviors are listed in
194
+ # the distribution. The path pattern for the default cache
195
+ # behavior is * and cannot be changed. If the request for an
196
+ # object does not match the path pattern for any cache behaviors,
197
+ # CloudFront applies the behavior in the default cache behavior.
198
+ # * +:target_origin_id+ - *required* - (String) The value of ID for
199
+ # the origin that you want CloudFront to route requests to when a
200
+ # request matches the path pattern either for a cache behavior or
201
+ # for the default cache behavior.
202
+ # * +:forwarded_values+ - *required* - (Hash) A complex type that
203
+ # specifies how CloudFront handles query strings.
204
+ # * +:query_string+ - *required* - (Boolean) Indicates whether
205
+ # you want CloudFront to forward query strings to the origin
206
+ # that is associated with this cache behavior. If so, specify
207
+ # +true+ ; if not, specify +false+ .
208
+ # * +:trusted_signers+ - *required* - (Hash) A complex type that
209
+ # specifies the AWS accounts, if any, that you want to allow to
210
+ # create signed URLs for private content. If you want to require
211
+ # signed URLs in requests for objects in the target origin that
212
+ # match the PathPattern for this cache behavior, specify +true+
213
+ # for Enabled, and specify the applicable values for Quantity and
214
+ # Items. For more information, go to Using a Signed URL to Serve
215
+ # Private Content in the Amazon CloudFront Developer Guide. If
216
+ # you don't want to require signed URLs in requests for objects
217
+ # that match PathPattern, specify +false+ for Enabled and 0 for
218
+ # Quantity. Omit Items. To add, change, or remove one or more
219
+ # trusted signers, change Enabled to +true+ (if it's currently
220
+ # +false+ ), change Quantity as applicable, and specify all of
221
+ # the trusted signers that you want to include in the updated
222
+ # distribution.
223
+ # * +:enabled+ - *required* - (Boolean) Specifies whether you
224
+ # want to require end users to use signed URLs to access the
225
+ # files specified by PathPattern and TargetOriginId.
226
+ # * +:quantity+ - *required* - (Integer) The number of trusted
227
+ # signers for this cache behavior.
228
+ # * +:items+ - (Array<String>) Optional: A complex type that
229
+ # contains trusted signers for this cache behavior. If Quantity
230
+ # is 0, you can omit Items.
231
+ # * +:viewer_protocol_policy+ - *required* - (String) Use this
232
+ # element to specify the protocol that users can use to access
233
+ # the files in the origin specified by TargetOriginId when a
234
+ # request matches the path pattern in PathPattern. If you want
235
+ # CloudFront to allow end users to use any available protocol,
236
+ # specify allow-all. If you want CloudFront to require HTTPS,
237
+ # specify https.
238
+ # * +:min_ttl+ - *required* - (Integer) The minimum amount of time
239
+ # that you want objects to stay in CloudFront caches before
240
+ # CloudFront queries your origin to see whether the object has
241
+ # been updated.You can specify a value from 0 to 3,153,600,000
242
+ # seconds (100 years).
243
+ # * +:comment+ - *required* - (String) Any comments you want to include
244
+ # about the distribution.
245
+ # * +:logging+ - *required* - (Hash) A complex type that controls
246
+ # whether access logs are written for the distribution.
247
+ # * +:enabled+ - *required* - (Boolean) Specifies whether you want
248
+ # CloudFront to save access logs to an Amazon S3 bucket. If you do
249
+ # not want to enable logging when you create a distribution or if
250
+ # you want to disable logging for an existing distribution, specify
251
+ # +false+ for Enabled, and specify empty Bucket and Prefix
252
+ # elements. If you specify +false+ for Enabled but you specify
253
+ # values for Bucket and Prefix, the values are automatically
254
+ # deleted.
255
+ # * +:bucket+ - *required* - (String) The Amazon S3 bucket to store
256
+ # the access logs in, for example, myawslogbucket.s3.amazonaws.com.
257
+ # * +:prefix+ - *required* - (String) An optional string that you
258
+ # want CloudFront to prefix to the access log filenames for this
259
+ # distribution, for example, myprefix/. If you want to enable
260
+ # logging, but you do not want to specify a prefix, you still must
261
+ # include an empty Prefix element in the Logging element.
262
+ # * +:enabled+ - *required* - (Boolean) Whether the distribution is
263
+ # enabled to accept end user requests for content.
264
+ # @return [Core::Response]
265
+ # The #data method of the response object returns
266
+ # a hash with the following structure:
267
+ # * +:id+ - (String)
268
+ # * +:status+ - (String)
269
+ # * +:last_modified_time+ - (Time)
270
+ # * +:in_progress_invalidation_batches+ - (Integer)
271
+ # * +:domain_name+ - (String)
272
+ # * +:active_trusted_signers+ - (Hash)
273
+ # * +:enabled+ - (Boolean)
274
+ # * +:quantity+ - (Integer)
275
+ # * +:items+ - (Array<Hash>)
276
+ # * +:aws_account_number+ - (String)
277
+ # * +:key_pair_ids+ - (Hash)
278
+ # * +:quantity+ - (Integer)
279
+ # * +:items+ - (Array<String>)
280
+ # * +:distribution_config+ - (Hash)
281
+ # * +:caller_reference+ - (String)
282
+ # * +:aliases+ - (Hash)
283
+ # * +:quantity+ - (Integer)
284
+ # * +:items+ - (Array<String>)
285
+ # * +:default_root_object+ - (String)
286
+ # * +:origins+ - (Hash)
287
+ # * +:quantity+ - (Integer)
288
+ # * +:items+ - (Array<Hash>)
289
+ # * +:id+ - (String)
290
+ # * +:domain_name+ - (String)
291
+ # * +:s3_origin_config+ - (Hash)
292
+ # * +:origin_access_identity+ - (String)
293
+ # * +:custom_origin_config+ - (Hash)
294
+ # * +:http_port+ - (Integer)
295
+ # * +:https_port+ - (Integer)
296
+ # * +:origin_protocol_policy+ - (String)
297
+ # * +:default_cache_behavior+ - (Hash)
298
+ # * +:target_origin_id+ - (String)
299
+ # * +:forwarded_values+ - (Hash)
300
+ # * +:query_string+ - (Boolean)
301
+ # * +:trusted_signers+ - (Hash)
302
+ # * +:enabled+ - (Boolean)
303
+ # * +:quantity+ - (Integer)
304
+ # * +:items+ - (Array<String>)
305
+ # * +:viewer_protocol_policy+ - (String)
306
+ # * +:min_ttl+ - (Integer)
307
+ # * +:cache_behaviors+ - (Hash)
308
+ # * +:quantity+ - (Integer)
309
+ # * +:items+ - (Array<Hash>)
310
+ # * +:path_pattern+ - (String)
311
+ # * +:target_origin_id+ - (String)
312
+ # * +:forwarded_values+ - (Hash)
313
+ # * +:query_string+ - (Boolean)
314
+ # * +:trusted_signers+ - (Hash)
315
+ # * +:enabled+ - (Boolean)
316
+ # * +:quantity+ - (Integer)
317
+ # * +:items+ - (Array<String>)
318
+ # * +:viewer_protocol_policy+ - (String)
319
+ # * +:min_ttl+ - (Integer)
320
+ # * +:comment+ - (String)
321
+ # * +:logging+ - (Hash)
322
+ # * +:enabled+ - (Boolean)
323
+ # * +:bucket+ - (String)
324
+ # * +:prefix+ - (String)
325
+ # * +:enabled+ - (Boolean)
326
+
327
+ # @!method create_invalidation(options = {})
328
+ # Calls the POST CreateInvalidation API operation.
329
+ # @param [Hash] options
330
+ # * +:distribution_id+ - *required* - (String) The distribution's id.
331
+ # * +:invalidation_batch+ - *required* - (Hash) The batch information for
332
+ # the invalidation.
333
+ # * +:paths+ - *required* - (Hash) The path of the object to
334
+ # invalidate. The path is relative to the distribution and must begin
335
+ # with a slash (/). You must enclose each invalidation object with
336
+ # the Path element tags. If the path includes non-ASCII characters or
337
+ # unsafe characters as defined in RFC 1783
338
+ # (http://www.ietf.org/rfc/rfc1738.txt), URL encode those characters.
339
+ # Do not URL encode any other characters in the path, or CloudFront
340
+ # will not invalidate the old version of the updated object.
341
+ # * +:quantity+ - *required* - (Integer) The number of objects that
342
+ # you want to invalidate.
343
+ # * +:items+ - (Array<String>) A complex type that contains a list of
344
+ # the objects that you want to invalidate.
345
+ # * +:caller_reference+ - *required* - (String) A unique name that
346
+ # ensures the request can't be replayed. If the CallerReference is
347
+ # new (no matter the content of the Path object), a new distribution
348
+ # is created. If the CallerReference is a value you already sent in a
349
+ # previous request to create an invalidation batch, and the content
350
+ # of each Path element is identical to the original request, the
351
+ # response includes the same information returned to the original
352
+ # request. If the CallerReference is a value you already sent in a
353
+ # previous request to create a distribution but the content of any
354
+ # Path is different from the original request, CloudFront returns an
355
+ # InvalidationBatchAlreadyExists error.
356
+ # @return [Core::Response]
357
+ # The #data method of the response object returns
358
+ # a hash with the following structure:
359
+ # * +:id+ - (String)
360
+ # * +:status+ - (String)
361
+ # * +:create_time+ - (Time)
362
+ # * +:invalidation_batch+ - (Hash)
363
+ # * +:paths+ - (Hash)
364
+ # * +:quantity+ - (Integer)
365
+ # * +:items+ - (Array<String>)
366
+ # * +:caller_reference+ - (String)
367
+
368
+ # @!method create_streaming_distribution(options = {})
369
+ # Calls the POST CreateStreamingDistribution API operation.
370
+ # @param [Hash] options
371
+ # * +:streaming_distribution_config+ - *required* - (Hash) The streaming
372
+ # distribution's configuration information.
373
+ # * +:caller_reference+ - *required* - (String) A unique number that
374
+ # ensures the request can't be replayed. If the CallerReference is
375
+ # new (no matter the content of the StreamingDistributionConfig
376
+ # object), a new streaming distribution is created. If the
377
+ # CallerReference is a value you already sent in a previous request
378
+ # to create a streaming distribution, and the content of the
379
+ # StreamingDistributionConfig is identical to the original request
380
+ # (ignoring white space), the response includes the same information
381
+ # returned to the original request. If the CallerReference is a value
382
+ # you already sent in a previous request to create a streaming
383
+ # distribution but the content of the StreamingDistributionConfig is
384
+ # different from the original request, CloudFront returns a
385
+ # DistributionAlreadyExists error.
386
+ # * +:s3_origin+ - *required* - (Hash) A complex type that contains
387
+ # information about the Amazon S3 bucket from which you want
388
+ # CloudFront to get your media files for distribution.
389
+ # * +:domain_name+ - *required* - (String) The DNS name of the S3
390
+ # origin.
391
+ # * +:origin_access_identity+ - *required* - (String) Your S3
392
+ # origin's origin access identity.
393
+ # * +:aliases+ - *required* - (Hash) A complex type that contains
394
+ # information about CNAMEs (alternate domain names), if any, for this
395
+ # streaming distribution.
396
+ # * +:quantity+ - *required* - (Integer) The number of CNAMEs, if
397
+ # any, for this distribution.
398
+ # * +:items+ - (Array<String>) Optional: A complex type that contains
399
+ # CNAME elements, if any, for this distribution. If Quantity is 0,
400
+ # you can omit Items.
401
+ # * +:comment+ - *required* - (String) Any comments you want to include
402
+ # about the streaming distribution.
403
+ # * +:logging+ - *required* - (Hash) A complex type that controls
404
+ # whether access logs are written for the streaming distribution.
405
+ # * +:enabled+ - *required* - (Boolean) Specifies whether you want
406
+ # CloudFront to save access logs to an Amazon S3 bucket. If you do
407
+ # not want to enable logging when you create a distribution or if
408
+ # you want to disable logging for an existing distribution, specify
409
+ # +false+ for Enabled, and specify empty Bucket and Prefix
410
+ # elements. If you specify +false+ for Enabled but you specify
411
+ # values for Bucket and Prefix, the values are automatically
412
+ # deleted.
413
+ # * +:bucket+ - *required* - (String) The Amazon S3 bucket to store
414
+ # the access logs in, for example, myawslogbucket.s3.amazonaws.com.
415
+ # * +:prefix+ - *required* - (String) An optional string that you
416
+ # want CloudFront to prefix to the access log filenames for this
417
+ # distribution, for example, myprefix/. If you want to enable
418
+ # logging, but you do not want to specify a prefix, you still must
419
+ # include an empty Prefix element in the Logging element.
420
+ # * +:trusted_signers+ - *required* - (Hash) A complex type that
421
+ # specifies the AWS accounts, if any, that you want to allow to
422
+ # create signed URLs for private content. If you want to require
423
+ # signed URLs in requests for objects in the target origin that match
424
+ # the PathPattern for this cache behavior, specify +true+ for
425
+ # Enabled, and specify the applicable values for Quantity and Items.
426
+ # For more information, go to Using a Signed URL to Serve Private
427
+ # Content in the Amazon CloudFront Developer Guide. If you don't want
428
+ # to require signed URLs in requests for objects that match
429
+ # PathPattern, specify +false+ for Enabled and 0 for Quantity. Omit
430
+ # Items. To add, change, or remove one or more trusted signers,
431
+ # change Enabled to +true+ (if it's currently +false+ ), change
432
+ # Quantity as applicable, and specify all of the trusted signers that
433
+ # you want to include in the updated distribution.
434
+ # * +:enabled+ - *required* - (Boolean) Specifies whether you want to
435
+ # require end users to use signed URLs to access the files
436
+ # specified by PathPattern and TargetOriginId.
437
+ # * +:quantity+ - *required* - (Integer) The number of trusted
438
+ # signers for this cache behavior.
439
+ # * +:items+ - (Array<String>) Optional: A complex type that contains
440
+ # trusted signers for this cache behavior. If Quantity is 0, you
441
+ # can omit Items.
442
+ # * +:enabled+ - *required* - (Boolean) Whether the streaming
443
+ # distribution is enabled to accept end user requests for content.
444
+ # @return [Core::Response]
445
+ # The #data method of the response object returns
446
+ # a hash with the following structure:
447
+ # * +:id+ - (String)
448
+ # * +:status+ - (String)
449
+ # * +:last_modified_time+ - (Time)
450
+ # * +:domain_name+ - (String)
451
+ # * +:active_trusted_signers+ - (Hash)
452
+ # * +:enabled+ - (Boolean)
453
+ # * +:quantity+ - (Integer)
454
+ # * +:items+ - (Array<Hash>)
455
+ # * +:aws_account_number+ - (String)
456
+ # * +:key_pair_ids+ - (Hash)
457
+ # * +:quantity+ - (Integer)
458
+ # * +:items+ - (Array<String>)
459
+ # * +:streaming_distribution_config+ - (Hash)
460
+ # * +:caller_reference+ - (String)
461
+ # * +:s3_origin+ - (Hash)
462
+ # * +:domain_name+ - (String)
463
+ # * +:origin_access_identity+ - (String)
464
+ # * +:aliases+ - (Hash)
465
+ # * +:quantity+ - (Integer)
466
+ # * +:items+ - (Array<String>)
467
+ # * +:comment+ - (String)
468
+ # * +:logging+ - (Hash)
469
+ # * +:enabled+ - (Boolean)
470
+ # * +:bucket+ - (String)
471
+ # * +:prefix+ - (String)
472
+ # * +:trusted_signers+ - (Hash)
473
+ # * +:enabled+ - (Boolean)
474
+ # * +:quantity+ - (Integer)
475
+ # * +:items+ - (Array<String>)
476
+ # * +:enabled+ - (Boolean)
477
+
478
+ # @!method delete_cloud_front_origin_access_identity(options = {})
479
+ # Calls the DELETE DeleteCloudFrontOriginAccessIdentity API operation.
480
+ # @param [Hash] options
481
+ # * +:id+ - *required* - (String) The origin access identity's id.
482
+ # * +:if_match+ - (String) The value of the ETag header you received from
483
+ # a previous GET or PUT request. For example: E2QWRUHAPOMQZL.
484
+ # @return [Core::Response]
485
+
486
+ # @!method delete_distribution(options = {})
487
+ # Calls the DELETE DeleteDistribution API operation.
488
+ # @param [Hash] options
489
+ # * +:id+ - *required* - (String) The distribution id.
490
+ # * +:if_match+ - (String) The value of the ETag header you received when
491
+ # you disabled the distribution. For example: E2QWRUHAPOMQZL.
492
+ # @return [Core::Response]
493
+
494
+ # @!method delete_streaming_distribution(options = {})
495
+ # Calls the DELETE DeleteStreamingDistribution API operation.
496
+ # @param [Hash] options
497
+ # * +:id+ - *required* - (String) The distribution id.
498
+ # * +:if_match+ - (String) The value of the ETag header you received when
499
+ # you disabled the streaming distribution. For example: E2QWRUHAPOMQZL.
500
+ # @return [Core::Response]
501
+
502
+ # @!method get_cloud_front_origin_access_identity(options = {})
503
+ # Calls the GET GetCloudFrontOriginAccessIdentity API operation.
504
+ # @param [Hash] options
505
+ # * +:id+ - *required* - (String) The identity's id.
506
+ # @return [Core::Response]
507
+ # The #data method of the response object returns
508
+ # a hash with the following structure:
509
+ # * +:id+ - (String)
510
+ # * +:s3_canonical_user_id+ - (String)
511
+ # * +:cloud_front_origin_access_identity_config+ - (Hash)
512
+ # * +:caller_reference+ - (String)
513
+ # * +:comment+ - (String)
514
+
515
+ # @!method get_cloud_front_origin_access_identity_config(options = {})
516
+ # Calls the GET GetCloudFrontOriginAccessIdentityConfig API operation.
517
+ # @param [Hash] options
518
+ # * +:id+ - *required* - (String) The identity's id.
519
+ # @return [Core::Response]
520
+ # The #data method of the response object returns
521
+ # a hash with the following structure:
522
+ # * +:caller_reference+ - (String)
523
+ # * +:comment+ - (String)
524
+
525
+ # @!method get_distribution(options = {})
526
+ # Calls the GET GetDistribution API operation.
527
+ # @param [Hash] options
528
+ # * +:id+ - *required* - (String) The distribution's id.
529
+ # @return [Core::Response]
530
+ # The #data method of the response object returns
531
+ # a hash with the following structure:
532
+ # * +:id+ - (String)
533
+ # * +:status+ - (String)
534
+ # * +:last_modified_time+ - (Time)
535
+ # * +:in_progress_invalidation_batches+ - (Integer)
536
+ # * +:domain_name+ - (String)
537
+ # * +:active_trusted_signers+ - (Hash)
538
+ # * +:enabled+ - (Boolean)
539
+ # * +:quantity+ - (Integer)
540
+ # * +:items+ - (Array<Hash>)
541
+ # * +:aws_account_number+ - (String)
542
+ # * +:key_pair_ids+ - (Hash)
543
+ # * +:quantity+ - (Integer)
544
+ # * +:items+ - (Array<String>)
545
+ # * +:distribution_config+ - (Hash)
546
+ # * +:caller_reference+ - (String)
547
+ # * +:aliases+ - (Hash)
548
+ # * +:quantity+ - (Integer)
549
+ # * +:items+ - (Array<String>)
550
+ # * +:default_root_object+ - (String)
551
+ # * +:origins+ - (Hash)
552
+ # * +:quantity+ - (Integer)
553
+ # * +:items+ - (Array<Hash>)
554
+ # * +:id+ - (String)
555
+ # * +:domain_name+ - (String)
556
+ # * +:s3_origin_config+ - (Hash)
557
+ # * +:origin_access_identity+ - (String)
558
+ # * +:custom_origin_config+ - (Hash)
559
+ # * +:http_port+ - (Integer)
560
+ # * +:https_port+ - (Integer)
561
+ # * +:origin_protocol_policy+ - (String)
562
+ # * +:default_cache_behavior+ - (Hash)
563
+ # * +:target_origin_id+ - (String)
564
+ # * +:forwarded_values+ - (Hash)
565
+ # * +:query_string+ - (Boolean)
566
+ # * +:trusted_signers+ - (Hash)
567
+ # * +:enabled+ - (Boolean)
568
+ # * +:quantity+ - (Integer)
569
+ # * +:items+ - (Array<String>)
570
+ # * +:viewer_protocol_policy+ - (String)
571
+ # * +:min_ttl+ - (Integer)
572
+ # * +:cache_behaviors+ - (Hash)
573
+ # * +:quantity+ - (Integer)
574
+ # * +:items+ - (Array<Hash>)
575
+ # * +:path_pattern+ - (String)
576
+ # * +:target_origin_id+ - (String)
577
+ # * +:forwarded_values+ - (Hash)
578
+ # * +:query_string+ - (Boolean)
579
+ # * +:trusted_signers+ - (Hash)
580
+ # * +:enabled+ - (Boolean)
581
+ # * +:quantity+ - (Integer)
582
+ # * +:items+ - (Array<String>)
583
+ # * +:viewer_protocol_policy+ - (String)
584
+ # * +:min_ttl+ - (Integer)
585
+ # * +:comment+ - (String)
586
+ # * +:logging+ - (Hash)
587
+ # * +:enabled+ - (Boolean)
588
+ # * +:bucket+ - (String)
589
+ # * +:prefix+ - (String)
590
+ # * +:enabled+ - (Boolean)
591
+
592
+ # @!method get_distribution_config(options = {})
593
+ # Calls the GET GetDistributionConfig API operation.
594
+ # @param [Hash] options
595
+ # * +:id+ - *required* - (String) The distribution's id.
596
+ # @return [Core::Response]
597
+ # The #data method of the response object returns
598
+ # a hash with the following structure:
599
+ # * +:caller_reference+ - (String)
600
+ # * +:aliases+ - (Hash)
601
+ # * +:quantity+ - (Integer)
602
+ # * +:items+ - (Array<String>)
603
+ # * +:default_root_object+ - (String)
604
+ # * +:origins+ - (Hash)
605
+ # * +:quantity+ - (Integer)
606
+ # * +:items+ - (Array<Hash>)
607
+ # * +:id+ - (String)
608
+ # * +:domain_name+ - (String)
609
+ # * +:s3_origin_config+ - (Hash)
610
+ # * +:origin_access_identity+ - (String)
611
+ # * +:custom_origin_config+ - (Hash)
612
+ # * +:http_port+ - (Integer)
613
+ # * +:https_port+ - (Integer)
614
+ # * +:origin_protocol_policy+ - (String)
615
+ # * +:default_cache_behavior+ - (Hash)
616
+ # * +:target_origin_id+ - (String)
617
+ # * +:forwarded_values+ - (Hash)
618
+ # * +:query_string+ - (Boolean)
619
+ # * +:trusted_signers+ - (Hash)
620
+ # * +:enabled+ - (Boolean)
621
+ # * +:quantity+ - (Integer)
622
+ # * +:items+ - (Array<String>)
623
+ # * +:viewer_protocol_policy+ - (String)
624
+ # * +:min_ttl+ - (Integer)
625
+ # * +:cache_behaviors+ - (Hash)
626
+ # * +:quantity+ - (Integer)
627
+ # * +:items+ - (Array<Hash>)
628
+ # * +:path_pattern+ - (String)
629
+ # * +:target_origin_id+ - (String)
630
+ # * +:forwarded_values+ - (Hash)
631
+ # * +:query_string+ - (Boolean)
632
+ # * +:trusted_signers+ - (Hash)
633
+ # * +:enabled+ - (Boolean)
634
+ # * +:quantity+ - (Integer)
635
+ # * +:items+ - (Array<String>)
636
+ # * +:viewer_protocol_policy+ - (String)
637
+ # * +:min_ttl+ - (Integer)
638
+ # * +:comment+ - (String)
639
+ # * +:logging+ - (Hash)
640
+ # * +:enabled+ - (Boolean)
641
+ # * +:bucket+ - (String)
642
+ # * +:prefix+ - (String)
643
+ # * +:enabled+ - (Boolean)
644
+
645
+ # @!method get_invalidation(options = {})
646
+ # Calls the GET GetInvalidation API operation.
647
+ # @param [Hash] options
648
+ # * +:distribution_id+ - *required* - (String) The distribution's id.
649
+ # * +:id+ - *required* - (String) The invalidation's id.
650
+ # @return [Core::Response]
651
+ # The #data method of the response object returns
652
+ # a hash with the following structure:
653
+ # * +:id+ - (String)
654
+ # * +:status+ - (String)
655
+ # * +:create_time+ - (Time)
656
+ # * +:invalidation_batch+ - (Hash)
657
+ # * +:paths+ - (Hash)
658
+ # * +:quantity+ - (Integer)
659
+ # * +:items+ - (Array<String>)
660
+ # * +:caller_reference+ - (String)
661
+
662
+ # @!method get_streaming_distribution(options = {})
663
+ # Calls the GET GetStreamingDistribution API operation.
664
+ # @param [Hash] options
665
+ # * +:id+ - *required* - (String) The streaming distribution's id.
666
+ # @return [Core::Response]
667
+ # The #data method of the response object returns
668
+ # a hash with the following structure:
669
+ # * +:id+ - (String)
670
+ # * +:status+ - (String)
671
+ # * +:last_modified_time+ - (Time)
672
+ # * +:domain_name+ - (String)
673
+ # * +:active_trusted_signers+ - (Hash)
674
+ # * +:enabled+ - (Boolean)
675
+ # * +:quantity+ - (Integer)
676
+ # * +:items+ - (Array<Hash>)
677
+ # * +:aws_account_number+ - (String)
678
+ # * +:key_pair_ids+ - (Hash)
679
+ # * +:quantity+ - (Integer)
680
+ # * +:items+ - (Array<String>)
681
+ # * +:streaming_distribution_config+ - (Hash)
682
+ # * +:caller_reference+ - (String)
683
+ # * +:s3_origin+ - (Hash)
684
+ # * +:domain_name+ - (String)
685
+ # * +:origin_access_identity+ - (String)
686
+ # * +:aliases+ - (Hash)
687
+ # * +:quantity+ - (Integer)
688
+ # * +:items+ - (Array<String>)
689
+ # * +:comment+ - (String)
690
+ # * +:logging+ - (Hash)
691
+ # * +:enabled+ - (Boolean)
692
+ # * +:bucket+ - (String)
693
+ # * +:prefix+ - (String)
694
+ # * +:trusted_signers+ - (Hash)
695
+ # * +:enabled+ - (Boolean)
696
+ # * +:quantity+ - (Integer)
697
+ # * +:items+ - (Array<String>)
698
+ # * +:enabled+ - (Boolean)
699
+
700
+ # @!method get_streaming_distribution_config(options = {})
701
+ # Calls the GET GetStreamingDistributionConfig API operation.
702
+ # @param [Hash] options
703
+ # * +:id+ - *required* - (String) The streaming distribution's id.
704
+ # @return [Core::Response]
705
+ # The #data method of the response object returns
706
+ # a hash with the following structure:
707
+ # * +:caller_reference+ - (String)
708
+ # * +:s3_origin+ - (Hash)
709
+ # * +:domain_name+ - (String)
710
+ # * +:origin_access_identity+ - (String)
711
+ # * +:aliases+ - (Hash)
712
+ # * +:quantity+ - (Integer)
713
+ # * +:items+ - (Array<String>)
714
+ # * +:comment+ - (String)
715
+ # * +:logging+ - (Hash)
716
+ # * +:enabled+ - (Boolean)
717
+ # * +:bucket+ - (String)
718
+ # * +:prefix+ - (String)
719
+ # * +:trusted_signers+ - (Hash)
720
+ # * +:enabled+ - (Boolean)
721
+ # * +:quantity+ - (Integer)
722
+ # * +:items+ - (Array<String>)
723
+ # * +:enabled+ - (Boolean)
724
+
725
+ # @!method list_cloud_front_origin_access_identities(options = {})
726
+ # Calls the GET ListCloudFrontOriginAccessIdentities API operation.
727
+ # @param [Hash] options
728
+ # * +:marker+ - (String) Use this when paginating results to indicate
729
+ # where to begin in your list of origin access identities. The results
730
+ # include identities in the list that occur after the marker. To get
731
+ # the next page of results, set the Marker to the value of the
732
+ # NextMarker from the current page's response (which is also the ID of
733
+ # the last identity on that page).
734
+ # * +:max_items+ - (Integer) The maximum number of origin access
735
+ # identities you want in the response body.
736
+ # @return [Core::Response]
737
+ # The #data method of the response object returns
738
+ # a hash with the following structure:
739
+ # * +:marker+ - (String)
740
+ # * +:next_marker+ - (String)
741
+ # * +:max_items+ - (Integer)
742
+ # * +:is_truncated+ - (Boolean)
743
+ # * +:quantity+ - (Integer)
744
+ # * +:items+ - (Array<Hash>)
745
+ # * +:id+ - (String)
746
+ # * +:s3_canonical_user_id+ - (String)
747
+ # * +:comment+ - (String)
748
+
749
+ # @!method list_distributions(options = {})
750
+ # Calls the GET ListDistributions API operation.
751
+ # @param [Hash] options
752
+ # * +:marker+ - (String) Use this when paginating results to indicate
753
+ # where to begin in your list of distributions. The results include
754
+ # distributions in the list that occur after the marker. To get the
755
+ # next page of results, set the Marker to the value of the NextMarker
756
+ # from the current page's response (which is also the ID of the last
757
+ # distribution on that page).
758
+ # * +:max_items+ - (Integer) The maximum number of distributions you want
759
+ # in the response body.
760
+ # @return [Core::Response]
761
+ # The #data method of the response object returns
762
+ # a hash with the following structure:
763
+ # * +:marker+ - (String)
764
+ # * +:next_marker+ - (String)
765
+ # * +:max_items+ - (Integer)
766
+ # * +:is_truncated+ - (Boolean)
767
+ # * +:quantity+ - (Integer)
768
+ # * +:items+ - (Array<Hash>)
769
+ # * +:id+ - (String)
770
+ # * +:status+ - (String)
771
+ # * +:last_modified_time+ - (Time)
772
+ # * +:domain_name+ - (String)
773
+ # * +:aliases+ - (Hash)
774
+ # * +:quantity+ - (Integer)
775
+ # * +:items+ - (Array<String>)
776
+ # * +:origins+ - (Hash)
777
+ # * +:quantity+ - (Integer)
778
+ # * +:items+ - (Array<Hash>)
779
+ # * +:id+ - (String)
780
+ # * +:domain_name+ - (String)
781
+ # * +:s3_origin_config+ - (Hash)
782
+ # * +:origin_access_identity+ - (String)
783
+ # * +:custom_origin_config+ - (Hash)
784
+ # * +:http_port+ - (Integer)
785
+ # * +:https_port+ - (Integer)
786
+ # * +:origin_protocol_policy+ - (String)
787
+ # * +:default_cache_behavior+ - (Hash)
788
+ # * +:target_origin_id+ - (String)
789
+ # * +:forwarded_values+ - (Hash)
790
+ # * +:query_string+ - (Boolean)
791
+ # * +:trusted_signers+ - (Hash)
792
+ # * +:enabled+ - (Boolean)
793
+ # * +:quantity+ - (Integer)
794
+ # * +:items+ - (Array<String>)
795
+ # * +:viewer_protocol_policy+ - (String)
796
+ # * +:min_ttl+ - (Integer)
797
+ # * +:cache_behaviors+ - (Hash)
798
+ # * +:quantity+ - (Integer)
799
+ # * +:items+ - (Array<Hash>)
800
+ # * +:path_pattern+ - (String)
801
+ # * +:target_origin_id+ - (String)
802
+ # * +:forwarded_values+ - (Hash)
803
+ # * +:query_string+ - (Boolean)
804
+ # * +:trusted_signers+ - (Hash)
805
+ # * +:enabled+ - (Boolean)
806
+ # * +:quantity+ - (Integer)
807
+ # * +:items+ - (Array<String>)
808
+ # * +:viewer_protocol_policy+ - (String)
809
+ # * +:min_ttl+ - (Integer)
810
+ # * +:comment+ - (String)
811
+ # * +:enabled+ - (Boolean)
812
+
813
+ # @!method list_invalidations(options = {})
814
+ # Calls the GET ListInvalidations API operation.
815
+ # @param [Hash] options
816
+ # * +:distribution_id+ - *required* - (String) The distribution's id.
817
+ # * +:marker+ - (String) Use this parameter when paginating results to
818
+ # indicate where to begin in your list of invalidation batches. Because
819
+ # the results are returned in decreasing order from most recent to
820
+ # oldest, the most recent results are on the first page, the second
821
+ # page will contain earlier results, and so on. To get the next page of
822
+ # results, set the Marker to the value of the NextMarker from the
823
+ # current page's response. This value is the same as the ID of the last
824
+ # invalidation batch on that page.
825
+ # * +:max_items+ - (Integer) The maximum number of invalidation batches
826
+ # you want in the response body.
827
+ # @return [Core::Response]
828
+ # The #data method of the response object returns
829
+ # a hash with the following structure:
830
+ # * +:marker+ - (String)
831
+ # * +:next_marker+ - (String)
832
+ # * +:max_items+ - (Integer)
833
+ # * +:is_truncated+ - (Boolean)
834
+ # * +:quantity+ - (Integer)
835
+ # * +:items+ - (Array<Hash>)
836
+ # * +:id+ - (String)
837
+ # * +:status+ - (String)
838
+
839
+ # @!method list_streaming_distributions(options = {})
840
+ # Calls the GET ListStreamingDistributions API operation.
841
+ # @param [Hash] options
842
+ # * +:marker+ - (String) Use this when paginating results to indicate
843
+ # where to begin in your list of streaming distributions. The results
844
+ # include distributions in the list that occur after the marker. To get
845
+ # the next page of results, set the Marker to the value of the
846
+ # NextMarker from the current page's response (which is also the ID of
847
+ # the last distribution on that page).
848
+ # * +:max_items+ - (Integer) The maximum number of streaming
849
+ # distributions you want in the response body.
850
+ # @return [Core::Response]
851
+ # The #data method of the response object returns
852
+ # a hash with the following structure:
853
+ # * +:marker+ - (String)
854
+ # * +:next_marker+ - (String)
855
+ # * +:max_items+ - (Integer)
856
+ # * +:is_truncated+ - (Boolean)
857
+ # * +:quantity+ - (Integer)
858
+ # * +:items+ - (Array<Hash>)
859
+ # * +:id+ - (String)
860
+ # * +:status+ - (String)
861
+ # * +:last_modified_time+ - (Time)
862
+ # * +:domain_name+ - (String)
863
+ # * +:s3_origin+ - (Hash)
864
+ # * +:domain_name+ - (String)
865
+ # * +:origin_access_identity+ - (String)
866
+ # * +:aliases+ - (Hash)
867
+ # * +:quantity+ - (Integer)
868
+ # * +:items+ - (Array<String>)
869
+ # * +:trusted_signers+ - (Hash)
870
+ # * +:enabled+ - (Boolean)
871
+ # * +:quantity+ - (Integer)
872
+ # * +:items+ - (Array<String>)
873
+ # * +:comment+ - (String)
874
+ # * +:enabled+ - (Boolean)
875
+
876
+ # @!method update_cloud_front_origin_access_identity(options = {})
877
+ # Calls the PUT UpdateCloudFrontOriginAccessIdentity API operation.
878
+ # @param [Hash] options
879
+ # * +:cloud_front_origin_access_identity_config+ - *required* - (Hash)
880
+ # The identity's configuration information.
881
+ # * +:caller_reference+ - *required* - (String) A unique number that
882
+ # ensures the request can't be replayed. If the CallerReference is
883
+ # new (no matter the content of the
884
+ # CloudFrontOriginAccessIdentityConfig object), a new origin access
885
+ # identity is created. If the CallerReference is a value you already
886
+ # sent in a previous request to create an identity, and the content
887
+ # of the CloudFrontOriginAccessIdentityConfig is identical to the
888
+ # original request (ignoring white space), the response includes the
889
+ # same information returned to the original request. If the
890
+ # CallerReference is a value you already sent in a previous request
891
+ # to create an identity but the content of the
892
+ # CloudFrontOriginAccessIdentityConfig is different from the original
893
+ # request, CloudFront returns a
894
+ # CloudFrontOriginAccessIdentityAlreadyExists error.
895
+ # * +:comment+ - *required* - (String) Any comments you want to include
896
+ # about the origin access identity.
897
+ # * +:id+ - *required* - (String) The identity's id.
898
+ # * +:if_match+ - (String) The value of the ETag header you received when
899
+ # retrieving the identity's configuration. For example: E2QWRUHAPOMQZL.
900
+ # @return [Core::Response]
901
+ # The #data method of the response object returns
902
+ # a hash with the following structure:
903
+ # * +:id+ - (String)
904
+ # * +:s3_canonical_user_id+ - (String)
905
+ # * +:cloud_front_origin_access_identity_config+ - (Hash)
906
+ # * +:caller_reference+ - (String)
907
+ # * +:comment+ - (String)
908
+
909
+ # @!method update_distribution(options = {})
910
+ # Calls the PUT UpdateDistribution API operation.
911
+ # @param [Hash] options
912
+ # * +:distribution_config+ - *required* - (Hash) The distribution's
913
+ # configuration information.
914
+ # * +:caller_reference+ - *required* - (String) A unique number that
915
+ # ensures the request can't be replayed. If the CallerReference is
916
+ # new (no matter the content of the DistributionConfig object), a new
917
+ # distribution is created. If the CallerReference is a value you
918
+ # already sent in a previous request to create a distribution, and
919
+ # the content of the DistributionConfig is identical to the original
920
+ # request (ignoring white space), the response includes the same
921
+ # information returned to the original request. If the
922
+ # CallerReference is a value you already sent in a previous request
923
+ # to create a distribution but the content of the DistributionConfig
924
+ # is different from the original request, CloudFront returns a
925
+ # DistributionAlreadyExists error.
926
+ # * +:aliases+ - *required* - (Hash) A complex type that contains
927
+ # information about CNAMEs (alternate domain names), if any, for this
928
+ # distribution.
929
+ # * +:quantity+ - *required* - (Integer) The number of CNAMEs, if
930
+ # any, for this distribution.
931
+ # * +:items+ - (Array<String>) Optional: A complex type that contains
932
+ # CNAME elements, if any, for this distribution. If Quantity is 0,
933
+ # you can omit Items.
934
+ # * +:default_root_object+ - *required* - (String) The object that you
935
+ # want CloudFront to return (for example, index.html) when an end
936
+ # user requests the root URL for your distribution
937
+ # (http://www.example.com) instead of an object in your distribution
938
+ # (http://www.example.com/index.html). Specifying a default root
939
+ # object avoids exposing the contents of your distribution. If you
940
+ # don't want to specify a default root object when you create a
941
+ # distribution, include an empty DefaultRootObject element. To delete
942
+ # the default root object from an existing distribution, update the
943
+ # distribution configuration and include an empty DefaultRootObject
944
+ # element. To replace the default root object, update the
945
+ # distribution configuration and specify the new object.
946
+ # * +:origins+ - *required* - (Hash) A complex type that contains
947
+ # information about origins for this distribution.
948
+ # * +:quantity+ - *required* - (Integer) The number of origins for
949
+ # this distribution.
950
+ # * +:items+ - (Array<Hash>) A complex type that contains origins for
951
+ # this distribution.
952
+ # * +:id+ - *required* - (String) A unique identifier for the
953
+ # origin. The value of Id must be unique within the distribution.
954
+ # You use the value of Id when you create a cache behavior. The
955
+ # Id identifies the origin that CloudFront routes a request to
956
+ # when the request matches the path pattern for that cache
957
+ # behavior.
958
+ # * +:domain_name+ - *required* - (String) Amazon S3 origins: The
959
+ # DNS name of the Amazon S3 bucket from which you want CloudFront
960
+ # to get objects for this origin, for example,
961
+ # myawsbucket.s3.amazonaws.com. Custom origins: The DNS domain
962
+ # name for the HTTP server from which you want CloudFront to get
963
+ # objects for this origin, for example, www.example.com.
964
+ # * +:s3_origin_config+ - (Hash) A complex type that contains
965
+ # information about the Amazon S3 origin. If the origin is a
966
+ # custom origin, use the CustomOriginConfig element instead.
967
+ # * +:origin_access_identity+ - *required* - (String) The
968
+ # CloudFront origin access identity to associate with the
969
+ # origin. Use an origin access identity to configure the origin
970
+ # so that end users can only access objects in an Amazon S3
971
+ # bucket through CloudFront. If you want end users to be able
972
+ # to access objects using either the CloudFront URL or the
973
+ # Amazon S3 URL, specify an empty OriginAccessIdentity element.
974
+ # To delete the origin access identity from an existing
975
+ # distribution, update the distribution configuration and
976
+ # include an empty OriginAccessIdentity element. To replace the
977
+ # origin access identity, update the distribution configuration
978
+ # and specify the new origin access identity.
979
+ # * +:custom_origin_config+ - (Hash) A complex type that contains
980
+ # information about a custom origin. If the origin is an Amazon
981
+ # S3 bucket, use the S3OriginConfig element instead.
982
+ # * +:http_port+ - *required* - (Integer) The HTTP port the
983
+ # custom origin listens on.
984
+ # * +:https_port+ - *required* - (Integer) The HTTPS port the
985
+ # custom origin listens on.
986
+ # * +:origin_protocol_policy+ - *required* - (String) The origin
987
+ # protocol policy to apply to your origin.
988
+ # * +:default_cache_behavior+ - *required* - (Hash) A complex type that
989
+ # describes the default cache behavior if you do not specify a
990
+ # CacheBehavior element or if files don't match any of the values of
991
+ # PathPattern in CacheBehavior elements.You must create exactly one
992
+ # default cache behavior.
993
+ # * +:target_origin_id+ - *required* - (String) The value of ID for
994
+ # the origin that you want CloudFront to route requests to when a
995
+ # request matches the path pattern either for a cache behavior or
996
+ # for the default cache behavior.
997
+ # * +:forwarded_values+ - *required* - (Hash) A complex type that
998
+ # specifies how CloudFront handles query strings.
999
+ # * +:query_string+ - *required* - (Boolean) Indicates whether you
1000
+ # want CloudFront to forward query strings to the origin that is
1001
+ # associated with this cache behavior. If so, specify +true+ ; if
1002
+ # not, specify +false+ .
1003
+ # * +:trusted_signers+ - *required* - (Hash) A complex type that
1004
+ # specifies the AWS accounts, if any, that you want to allow to
1005
+ # create signed URLs for private content. If you want to require
1006
+ # signed URLs in requests for objects in the target origin that
1007
+ # match the PathPattern for this cache behavior, specify +true+ for
1008
+ # Enabled, and specify the applicable values for Quantity and
1009
+ # Items. For more information, go to Using a Signed URL to Serve
1010
+ # Private Content in the Amazon CloudFront Developer Guide. If you
1011
+ # don't want to require signed URLs in requests for objects that
1012
+ # match PathPattern, specify +false+ for Enabled and 0 for
1013
+ # Quantity. Omit Items. To add, change, or remove one or more
1014
+ # trusted signers, change Enabled to +true+ (if it's currently
1015
+ # +false+ ), change Quantity as applicable, and specify all of the
1016
+ # trusted signers that you want to include in the updated
1017
+ # distribution.
1018
+ # * +:enabled+ - *required* - (Boolean) Specifies whether you want
1019
+ # to require end users to use signed URLs to access the files
1020
+ # specified by PathPattern and TargetOriginId.
1021
+ # * +:quantity+ - *required* - (Integer) The number of trusted
1022
+ # signers for this cache behavior.
1023
+ # * +:items+ - (Array<String>) Optional: A complex type that
1024
+ # contains trusted signers for this cache behavior. If Quantity
1025
+ # is 0, you can omit Items.
1026
+ # * +:viewer_protocol_policy+ - *required* - (String) Use this
1027
+ # element to specify the protocol that users can use to access the
1028
+ # files in the origin specified by TargetOriginId when a request
1029
+ # matches the path pattern in PathPattern. If you want CloudFront
1030
+ # to allow end users to use any available protocol, specify
1031
+ # allow-all. If you want CloudFront to require HTTPS, specify
1032
+ # https.
1033
+ # * +:min_ttl+ - *required* - (Integer) The minimum amount of time
1034
+ # that you want objects to stay in CloudFront caches before
1035
+ # CloudFront queries your origin to see whether the object has been
1036
+ # updated.You can specify a value from 0 to 3,153,600,000 seconds
1037
+ # (100 years).
1038
+ # * +:cache_behaviors+ - *required* - (Hash) A complex type that
1039
+ # contains zero or more CacheBehavior elements.
1040
+ # * +:quantity+ - *required* - (Integer) The number of cache
1041
+ # behaviors for this distribution.
1042
+ # * +:items+ - (Array<Hash>) Optional: A complex type that contains
1043
+ # cache behaviors for this distribution. If Quantity is 0, you can
1044
+ # omit Items.
1045
+ # * +:path_pattern+ - *required* - (String) The pattern (for
1046
+ # example, images/*.jpg) that specifies which requests you want
1047
+ # this cache behavior to apply to. When CloudFront receives an
1048
+ # end-user request, the requested path is compared with path
1049
+ # patterns in the order in which cache behaviors are listed in
1050
+ # the distribution. The path pattern for the default cache
1051
+ # behavior is * and cannot be changed. If the request for an
1052
+ # object does not match the path pattern for any cache behaviors,
1053
+ # CloudFront applies the behavior in the default cache behavior.
1054
+ # * +:target_origin_id+ - *required* - (String) The value of ID for
1055
+ # the origin that you want CloudFront to route requests to when a
1056
+ # request matches the path pattern either for a cache behavior or
1057
+ # for the default cache behavior.
1058
+ # * +:forwarded_values+ - *required* - (Hash) A complex type that
1059
+ # specifies how CloudFront handles query strings.
1060
+ # * +:query_string+ - *required* - (Boolean) Indicates whether
1061
+ # you want CloudFront to forward query strings to the origin
1062
+ # that is associated with this cache behavior. If so, specify
1063
+ # +true+ ; if not, specify +false+ .
1064
+ # * +:trusted_signers+ - *required* - (Hash) A complex type that
1065
+ # specifies the AWS accounts, if any, that you want to allow to
1066
+ # create signed URLs for private content. If you want to require
1067
+ # signed URLs in requests for objects in the target origin that
1068
+ # match the PathPattern for this cache behavior, specify +true+
1069
+ # for Enabled, and specify the applicable values for Quantity and
1070
+ # Items. For more information, go to Using a Signed URL to Serve
1071
+ # Private Content in the Amazon CloudFront Developer Guide. If
1072
+ # you don't want to require signed URLs in requests for objects
1073
+ # that match PathPattern, specify +false+ for Enabled and 0 for
1074
+ # Quantity. Omit Items. To add, change, or remove one or more
1075
+ # trusted signers, change Enabled to +true+ (if it's currently
1076
+ # +false+ ), change Quantity as applicable, and specify all of
1077
+ # the trusted signers that you want to include in the updated
1078
+ # distribution.
1079
+ # * +:enabled+ - *required* - (Boolean) Specifies whether you
1080
+ # want to require end users to use signed URLs to access the
1081
+ # files specified by PathPattern and TargetOriginId.
1082
+ # * +:quantity+ - *required* - (Integer) The number of trusted
1083
+ # signers for this cache behavior.
1084
+ # * +:items+ - (Array<String>) Optional: A complex type that
1085
+ # contains trusted signers for this cache behavior. If Quantity
1086
+ # is 0, you can omit Items.
1087
+ # * +:viewer_protocol_policy+ - *required* - (String) Use this
1088
+ # element to specify the protocol that users can use to access
1089
+ # the files in the origin specified by TargetOriginId when a
1090
+ # request matches the path pattern in PathPattern. If you want
1091
+ # CloudFront to allow end users to use any available protocol,
1092
+ # specify allow-all. If you want CloudFront to require HTTPS,
1093
+ # specify https.
1094
+ # * +:min_ttl+ - *required* - (Integer) The minimum amount of time
1095
+ # that you want objects to stay in CloudFront caches before
1096
+ # CloudFront queries your origin to see whether the object has
1097
+ # been updated.You can specify a value from 0 to 3,153,600,000
1098
+ # seconds (100 years).
1099
+ # * +:comment+ - *required* - (String) Any comments you want to include
1100
+ # about the distribution.
1101
+ # * +:logging+ - *required* - (Hash) A complex type that controls
1102
+ # whether access logs are written for the distribution.
1103
+ # * +:enabled+ - *required* - (Boolean) Specifies whether you want
1104
+ # CloudFront to save access logs to an Amazon S3 bucket. If you do
1105
+ # not want to enable logging when you create a distribution or if
1106
+ # you want to disable logging for an existing distribution, specify
1107
+ # +false+ for Enabled, and specify empty Bucket and Prefix
1108
+ # elements. If you specify +false+ for Enabled but you specify
1109
+ # values for Bucket and Prefix, the values are automatically
1110
+ # deleted.
1111
+ # * +:bucket+ - *required* - (String) The Amazon S3 bucket to store
1112
+ # the access logs in, for example, myawslogbucket.s3.amazonaws.com.
1113
+ # * +:prefix+ - *required* - (String) An optional string that you
1114
+ # want CloudFront to prefix to the access log filenames for this
1115
+ # distribution, for example, myprefix/. If you want to enable
1116
+ # logging, but you do not want to specify a prefix, you still must
1117
+ # include an empty Prefix element in the Logging element.
1118
+ # * +:enabled+ - *required* - (Boolean) Whether the distribution is
1119
+ # enabled to accept end user requests for content.
1120
+ # * +:id+ - *required* - (String) The distribution's id.
1121
+ # * +:if_match+ - (String) The value of the ETag header you received when
1122
+ # retrieving the distribution's configuration. For example:
1123
+ # E2QWRUHAPOMQZL.
1124
+ # @return [Core::Response]
1125
+ # The #data method of the response object returns
1126
+ # a hash with the following structure:
1127
+ # * +:id+ - (String)
1128
+ # * +:status+ - (String)
1129
+ # * +:last_modified_time+ - (Time)
1130
+ # * +:in_progress_invalidation_batches+ - (Integer)
1131
+ # * +:domain_name+ - (String)
1132
+ # * +:active_trusted_signers+ - (Hash)
1133
+ # * +:enabled+ - (Boolean)
1134
+ # * +:quantity+ - (Integer)
1135
+ # * +:items+ - (Array<Hash>)
1136
+ # * +:aws_account_number+ - (String)
1137
+ # * +:key_pair_ids+ - (Hash)
1138
+ # * +:quantity+ - (Integer)
1139
+ # * +:items+ - (Array<String>)
1140
+ # * +:distribution_config+ - (Hash)
1141
+ # * +:caller_reference+ - (String)
1142
+ # * +:aliases+ - (Hash)
1143
+ # * +:quantity+ - (Integer)
1144
+ # * +:items+ - (Array<String>)
1145
+ # * +:default_root_object+ - (String)
1146
+ # * +:origins+ - (Hash)
1147
+ # * +:quantity+ - (Integer)
1148
+ # * +:items+ - (Array<Hash>)
1149
+ # * +:id+ - (String)
1150
+ # * +:domain_name+ - (String)
1151
+ # * +:s3_origin_config+ - (Hash)
1152
+ # * +:origin_access_identity+ - (String)
1153
+ # * +:custom_origin_config+ - (Hash)
1154
+ # * +:http_port+ - (Integer)
1155
+ # * +:https_port+ - (Integer)
1156
+ # * +:origin_protocol_policy+ - (String)
1157
+ # * +:default_cache_behavior+ - (Hash)
1158
+ # * +:target_origin_id+ - (String)
1159
+ # * +:forwarded_values+ - (Hash)
1160
+ # * +:query_string+ - (Boolean)
1161
+ # * +:trusted_signers+ - (Hash)
1162
+ # * +:enabled+ - (Boolean)
1163
+ # * +:quantity+ - (Integer)
1164
+ # * +:items+ - (Array<String>)
1165
+ # * +:viewer_protocol_policy+ - (String)
1166
+ # * +:min_ttl+ - (Integer)
1167
+ # * +:cache_behaviors+ - (Hash)
1168
+ # * +:quantity+ - (Integer)
1169
+ # * +:items+ - (Array<Hash>)
1170
+ # * +:path_pattern+ - (String)
1171
+ # * +:target_origin_id+ - (String)
1172
+ # * +:forwarded_values+ - (Hash)
1173
+ # * +:query_string+ - (Boolean)
1174
+ # * +:trusted_signers+ - (Hash)
1175
+ # * +:enabled+ - (Boolean)
1176
+ # * +:quantity+ - (Integer)
1177
+ # * +:items+ - (Array<String>)
1178
+ # * +:viewer_protocol_policy+ - (String)
1179
+ # * +:min_ttl+ - (Integer)
1180
+ # * +:comment+ - (String)
1181
+ # * +:logging+ - (Hash)
1182
+ # * +:enabled+ - (Boolean)
1183
+ # * +:bucket+ - (String)
1184
+ # * +:prefix+ - (String)
1185
+ # * +:enabled+ - (Boolean)
1186
+
1187
+ # @!method update_streaming_distribution(options = {})
1188
+ # Calls the PUT UpdateStreamingDistribution API operation.
1189
+ # @param [Hash] options
1190
+ # * +:streaming_distribution_config+ - *required* - (Hash) The streaming
1191
+ # distribution's configuration information.
1192
+ # * +:caller_reference+ - *required* - (String) A unique number that
1193
+ # ensures the request can't be replayed. If the CallerReference is
1194
+ # new (no matter the content of the StreamingDistributionConfig
1195
+ # object), a new streaming distribution is created. If the
1196
+ # CallerReference is a value you already sent in a previous request
1197
+ # to create a streaming distribution, and the content of the
1198
+ # StreamingDistributionConfig is identical to the original request
1199
+ # (ignoring white space), the response includes the same information
1200
+ # returned to the original request. If the CallerReference is a value
1201
+ # you already sent in a previous request to create a streaming
1202
+ # distribution but the content of the StreamingDistributionConfig is
1203
+ # different from the original request, CloudFront returns a
1204
+ # DistributionAlreadyExists error.
1205
+ # * +:s3_origin+ - *required* - (Hash) A complex type that contains
1206
+ # information about the Amazon S3 bucket from which you want
1207
+ # CloudFront to get your media files for distribution.
1208
+ # * +:domain_name+ - *required* - (String) The DNS name of the S3
1209
+ # origin.
1210
+ # * +:origin_access_identity+ - *required* - (String) Your S3
1211
+ # origin's origin access identity.
1212
+ # * +:aliases+ - *required* - (Hash) A complex type that contains
1213
+ # information about CNAMEs (alternate domain names), if any, for this
1214
+ # streaming distribution.
1215
+ # * +:quantity+ - *required* - (Integer) The number of CNAMEs, if
1216
+ # any, for this distribution.
1217
+ # * +:items+ - (Array<String>) Optional: A complex type that contains
1218
+ # CNAME elements, if any, for this distribution. If Quantity is 0,
1219
+ # you can omit Items.
1220
+ # * +:comment+ - *required* - (String) Any comments you want to include
1221
+ # about the streaming distribution.
1222
+ # * +:logging+ - *required* - (Hash) A complex type that controls
1223
+ # whether access logs are written for the streaming distribution.
1224
+ # * +:enabled+ - *required* - (Boolean) Specifies whether you want
1225
+ # CloudFront to save access logs to an Amazon S3 bucket. If you do
1226
+ # not want to enable logging when you create a distribution or if
1227
+ # you want to disable logging for an existing distribution, specify
1228
+ # +false+ for Enabled, and specify empty Bucket and Prefix
1229
+ # elements. If you specify +false+ for Enabled but you specify
1230
+ # values for Bucket and Prefix, the values are automatically
1231
+ # deleted.
1232
+ # * +:bucket+ - *required* - (String) The Amazon S3 bucket to store
1233
+ # the access logs in, for example, myawslogbucket.s3.amazonaws.com.
1234
+ # * +:prefix+ - *required* - (String) An optional string that you
1235
+ # want CloudFront to prefix to the access log filenames for this
1236
+ # distribution, for example, myprefix/. If you want to enable
1237
+ # logging, but you do not want to specify a prefix, you still must
1238
+ # include an empty Prefix element in the Logging element.
1239
+ # * +:trusted_signers+ - *required* - (Hash) A complex type that
1240
+ # specifies the AWS accounts, if any, that you want to allow to
1241
+ # create signed URLs for private content. If you want to require
1242
+ # signed URLs in requests for objects in the target origin that match
1243
+ # the PathPattern for this cache behavior, specify +true+ for
1244
+ # Enabled, and specify the applicable values for Quantity and Items.
1245
+ # For more information, go to Using a Signed URL to Serve Private
1246
+ # Content in the Amazon CloudFront Developer Guide. If you don't want
1247
+ # to require signed URLs in requests for objects that match
1248
+ # PathPattern, specify +false+ for Enabled and 0 for Quantity. Omit
1249
+ # Items. To add, change, or remove one or more trusted signers,
1250
+ # change Enabled to +true+ (if it's currently +false+ ), change
1251
+ # Quantity as applicable, and specify all of the trusted signers that
1252
+ # you want to include in the updated distribution.
1253
+ # * +:enabled+ - *required* - (Boolean) Specifies whether you want to
1254
+ # require end users to use signed URLs to access the files
1255
+ # specified by PathPattern and TargetOriginId.
1256
+ # * +:quantity+ - *required* - (Integer) The number of trusted
1257
+ # signers for this cache behavior.
1258
+ # * +:items+ - (Array<String>) Optional: A complex type that contains
1259
+ # trusted signers for this cache behavior. If Quantity is 0, you
1260
+ # can omit Items.
1261
+ # * +:enabled+ - *required* - (Boolean) Whether the streaming
1262
+ # distribution is enabled to accept end user requests for content.
1263
+ # * +:id+ - *required* - (String) The streaming distribution's id.
1264
+ # * +:if_match+ - (String) The value of the ETag header you received when
1265
+ # retrieving the streaming distribution's configuration. For example:
1266
+ # E2QWRUHAPOMQZL.
1267
+ # @return [Core::Response]
1268
+ # The #data method of the response object returns
1269
+ # a hash with the following structure:
1270
+ # * +:id+ - (String)
1271
+ # * +:status+ - (String)
1272
+ # * +:last_modified_time+ - (Time)
1273
+ # * +:domain_name+ - (String)
1274
+ # * +:active_trusted_signers+ - (Hash)
1275
+ # * +:enabled+ - (Boolean)
1276
+ # * +:quantity+ - (Integer)
1277
+ # * +:items+ - (Array<Hash>)
1278
+ # * +:aws_account_number+ - (String)
1279
+ # * +:key_pair_ids+ - (Hash)
1280
+ # * +:quantity+ - (Integer)
1281
+ # * +:items+ - (Array<String>)
1282
+ # * +:streaming_distribution_config+ - (Hash)
1283
+ # * +:caller_reference+ - (String)
1284
+ # * +:s3_origin+ - (Hash)
1285
+ # * +:domain_name+ - (String)
1286
+ # * +:origin_access_identity+ - (String)
1287
+ # * +:aliases+ - (Hash)
1288
+ # * +:quantity+ - (Integer)
1289
+ # * +:items+ - (Array<String>)
1290
+ # * +:comment+ - (String)
1291
+ # * +:logging+ - (Hash)
1292
+ # * +:enabled+ - (Boolean)
1293
+ # * +:bucket+ - (String)
1294
+ # * +:prefix+ - (String)
1295
+ # * +:trusted_signers+ - (Hash)
1296
+ # * +:enabled+ - (Boolean)
1297
+ # * +:quantity+ - (Integer)
1298
+ # * +:items+ - (Array<String>)
1299
+ # * +:enabled+ - (Boolean)
1300
+
1301
+ # end client methods #
1302
+
1303
+ define_client_methods('2012-05-05')
1304
+
1305
+ end
1306
+ end
1307
+ end