aws-sdk 1.8.5 → 1.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (386) hide show
  1. checksums.yaml +7 -0
  2. data/.yardopts +1 -0
  3. data/README.rdoc +8 -0
  4. data/lib/aws-sdk.rb +39 -35
  5. data/lib/aws/api_config/CloudFront-2012-07-01.yml +2398 -0
  6. data/lib/aws/api_config/DirectConnect-2012-10-25.yml +475 -0
  7. data/lib/aws/api_config/DynamoDB-2011-12-05.yml +8 -0
  8. data/lib/aws/api_config/DynamoDB-2012-08-10.yml +1516 -0
  9. data/lib/aws/api_config/OpsWorks-2013-02-18.yml +2 -2
  10. data/lib/aws/auto_scaling.rb +44 -44
  11. data/lib/aws/auto_scaling/activity.rb +1 -1
  12. data/lib/aws/auto_scaling/activity_collection.rb +14 -15
  13. data/lib/aws/auto_scaling/client.rb +277 -277
  14. data/lib/aws/auto_scaling/config.rb +1 -1
  15. data/lib/aws/auto_scaling/group.rb +35 -36
  16. data/lib/aws/auto_scaling/group_collection.rb +10 -10
  17. data/lib/aws/auto_scaling/group_options.rb +19 -19
  18. data/lib/aws/auto_scaling/instance.rb +27 -27
  19. data/lib/aws/auto_scaling/instance_collection.rb +10 -10
  20. data/lib/aws/auto_scaling/launch_configuration.rb +3 -3
  21. data/lib/aws/auto_scaling/launch_configuration_collection.rb +1 -1
  22. data/lib/aws/auto_scaling/notification_configuration.rb +2 -2
  23. data/lib/aws/auto_scaling/notification_configuration_collection.rb +37 -38
  24. data/lib/aws/auto_scaling/scaling_policy.rb +3 -3
  25. data/lib/aws/auto_scaling/scaling_policy_collection.rb +6 -6
  26. data/lib/aws/auto_scaling/scaling_policy_options.rb +8 -7
  27. data/lib/aws/auto_scaling/scheduled_action.rb +3 -3
  28. data/lib/aws/auto_scaling/scheduled_action_collection.rb +28 -28
  29. data/lib/aws/auto_scaling/tag_collection.rb +30 -28
  30. data/lib/aws/cloud_formation.rb +95 -94
  31. data/lib/aws/cloud_formation/client.rb +136 -133
  32. data/lib/aws/cloud_formation/config.rb +1 -1
  33. data/lib/aws/cloud_formation/stack.rb +37 -37
  34. data/lib/aws/cloud_formation/stack_collection.rb +28 -27
  35. data/lib/aws/cloud_formation/stack_event.rb +9 -11
  36. data/lib/aws/cloud_formation/stack_output.rb +1 -1
  37. data/lib/aws/cloud_formation/stack_resource.rb +6 -6
  38. data/lib/aws/cloud_formation/stack_resource_collection.rb +11 -12
  39. data/lib/aws/cloud_formation/stack_resource_summary_collection.rb +11 -11
  40. data/lib/aws/cloud_formation/stack_summary_collection.rb +39 -39
  41. data/lib/aws/cloud_front.rb +21 -21
  42. data/lib/aws/cloud_front/client.rb +853 -652
  43. data/lib/aws/cloud_front/request.rb +3 -0
  44. data/lib/aws/cloud_search.rb +22 -22
  45. data/lib/aws/cloud_search/client.rb +322 -315
  46. data/lib/aws/cloud_search/config.rb +1 -1
  47. data/lib/aws/cloud_watch.rb +39 -39
  48. data/lib/aws/cloud_watch/alarm.rb +55 -37
  49. data/lib/aws/cloud_watch/alarm_collection.rb +18 -18
  50. data/lib/aws/cloud_watch/alarm_history_item_collection.rb +2 -2
  51. data/lib/aws/cloud_watch/client.rb +360 -146
  52. data/lib/aws/cloud_watch/config.rb +1 -1
  53. data/lib/aws/cloud_watch/metric.rb +15 -15
  54. data/lib/aws/cloud_watch/metric_alarm_collection.rb +17 -17
  55. data/lib/aws/cloud_watch/metric_collection.rb +16 -16
  56. data/lib/aws/cloud_watch/metric_statistics.rb +11 -11
  57. data/lib/aws/core.rb +243 -225
  58. data/lib/aws/core/async_handle.rb +13 -13
  59. data/lib/aws/core/cacheable.rb +14 -15
  60. data/lib/aws/core/client.rb +40 -15
  61. data/lib/aws/core/collection.rb +42 -46
  62. data/lib/aws/core/collection/with_limit_and_next_token.rb +1 -1
  63. data/lib/aws/core/collection/with_next_token.rb +1 -1
  64. data/lib/aws/core/configuration.rb +97 -133
  65. data/lib/aws/core/credential_providers.rb +16 -16
  66. data/lib/aws/core/data.rb +23 -23
  67. data/lib/aws/core/http/connection_pool.rb +348 -0
  68. data/lib/aws/core/http/net_http_handler.rb +17 -26
  69. data/lib/aws/core/http/patch.rb +102 -0
  70. data/lib/aws/core/http/request.rb +13 -19
  71. data/lib/aws/core/http/response.rb +2 -2
  72. data/lib/aws/core/lazy_error_classes.rb +17 -17
  73. data/lib/aws/core/log_formatter.rb +70 -104
  74. data/lib/aws/core/options/json_serializer.rb +1 -1
  75. data/lib/aws/core/options/validator.rb +4 -4
  76. data/lib/aws/core/page_result.rb +8 -8
  77. data/lib/aws/core/policy.rb +49 -49
  78. data/lib/aws/core/region.rb +72 -0
  79. data/lib/aws/core/region_collection.rb +106 -0
  80. data/lib/aws/core/resource.rb +5 -5
  81. data/lib/aws/core/response.rb +20 -17
  82. data/lib/aws/core/rest_request_builder.rb +4 -4
  83. data/lib/aws/core/service_interface.rb +24 -2
  84. data/lib/aws/core/signature/version_3.rb +2 -2
  85. data/lib/aws/core/uri_escape.rb +1 -1
  86. data/lib/aws/core/xml/frame_stack.rb +1 -1
  87. data/lib/aws/core/xml/grammar.rb +3 -4
  88. data/lib/aws/core/xml/sax_handlers/libxml.rb +2 -2
  89. data/lib/aws/core/xml/sax_handlers/nokogiri.rb +3 -3
  90. data/lib/aws/core/xml/sax_handlers/rexml.rb +5 -5
  91. data/lib/aws/core/xml/stub.rb +9 -9
  92. data/lib/aws/data_pipeline.rb +21 -21
  93. data/lib/aws/data_pipeline/client.rb +189 -133
  94. data/lib/aws/data_pipeline/config.rb +1 -1
  95. data/lib/aws/direct_connect.rb +74 -0
  96. data/lib/aws/direct_connect/client.rb +253 -0
  97. data/lib/aws/direct_connect/config.rb +18 -0
  98. data/lib/aws/direct_connect/errors.rb +22 -0
  99. data/lib/aws/direct_connect/request.rb +27 -0
  100. data/lib/aws/dynamo_db.rb +71 -69
  101. data/lib/aws/dynamo_db/attribute_collection.rb +53 -58
  102. data/lib/aws/dynamo_db/batch_get.rb +23 -23
  103. data/lib/aws/dynamo_db/batch_write.rb +43 -43
  104. data/lib/aws/dynamo_db/binary.rb +9 -9
  105. data/lib/aws/dynamo_db/client.rb +494 -509
  106. data/lib/aws/dynamo_db/client_base.rb +91 -0
  107. data/lib/aws/dynamo_db/client_v2.rb +825 -0
  108. data/lib/aws/dynamo_db/config.rb +1 -1
  109. data/lib/aws/dynamo_db/item.rb +10 -10
  110. data/lib/aws/dynamo_db/item_collection.rb +75 -75
  111. data/lib/aws/dynamo_db/table.rb +85 -85
  112. data/lib/aws/dynamo_db/table_collection.rb +13 -13
  113. data/lib/aws/ec2.rb +132 -142
  114. data/lib/aws/ec2/attachment.rb +31 -36
  115. data/lib/aws/ec2/attachment_collection.rb +1 -1
  116. data/lib/aws/ec2/availability_zone.rb +4 -4
  117. data/lib/aws/ec2/client.rb +2272 -2125
  118. data/lib/aws/ec2/config.rb +1 -1
  119. data/lib/aws/ec2/customer_gateway.rb +6 -6
  120. data/lib/aws/ec2/customer_gateway_collection.rb +6 -6
  121. data/lib/aws/ec2/dhcp_options.rb +3 -3
  122. data/lib/aws/ec2/dhcp_options_collection.rb +10 -10
  123. data/lib/aws/ec2/elastic_ip.rb +15 -15
  124. data/lib/aws/ec2/elastic_ip_collection.rb +11 -15
  125. data/lib/aws/ec2/export_task.rb +4 -4
  126. data/lib/aws/ec2/export_task_collection.rb +11 -11
  127. data/lib/aws/ec2/filtered_collection.rb +6 -8
  128. data/lib/aws/ec2/image.rb +46 -40
  129. data/lib/aws/ec2/image_collection.rb +44 -52
  130. data/lib/aws/ec2/instance.rb +64 -62
  131. data/lib/aws/ec2/instance_collection.rb +47 -50
  132. data/lib/aws/ec2/internet_gateway.rb +6 -6
  133. data/lib/aws/ec2/internet_gateway/attachment.rb +13 -13
  134. data/lib/aws/ec2/internet_gateway_collection.rb +3 -3
  135. data/lib/aws/ec2/key_pair.rb +3 -3
  136. data/lib/aws/ec2/key_pair_collection.rb +12 -12
  137. data/lib/aws/ec2/network_acl.rb +39 -39
  138. data/lib/aws/ec2/network_acl/association.rb +2 -2
  139. data/lib/aws/ec2/network_acl/entry.rb +22 -22
  140. data/lib/aws/ec2/network_acl_collection.rb +2 -2
  141. data/lib/aws/ec2/network_interface.rb +13 -4
  142. data/lib/aws/ec2/network_interface/attachment.rb +3 -3
  143. data/lib/aws/ec2/network_interface_collection.rb +5 -5
  144. data/lib/aws/ec2/permission_collection.rb +1 -1
  145. data/lib/aws/ec2/region.rb +6 -6
  146. data/lib/aws/ec2/region_collection.rb +1 -1
  147. data/lib/aws/ec2/reserved_instances_collection.rb +2 -2
  148. data/lib/aws/ec2/reserved_instances_offering_collection.rb +2 -2
  149. data/lib/aws/ec2/resource_tag_collection.rb +5 -5
  150. data/lib/aws/ec2/route_table.rb +14 -14
  151. data/lib/aws/ec2/route_table/association.rb +22 -22
  152. data/lib/aws/ec2/route_table/route.rb +8 -8
  153. data/lib/aws/ec2/route_table_collection.rb +3 -3
  154. data/lib/aws/ec2/security_group.rb +39 -41
  155. data/lib/aws/ec2/security_group_collection.rb +19 -21
  156. data/lib/aws/ec2/snapshot.rb +3 -3
  157. data/lib/aws/ec2/snapshot_collection.rb +11 -12
  158. data/lib/aws/ec2/subnet.rb +2 -2
  159. data/lib/aws/ec2/subnet_collection.rb +17 -17
  160. data/lib/aws/ec2/tag_collection.rb +1 -1
  161. data/lib/aws/ec2/tagged_collection.rb +7 -7
  162. data/lib/aws/ec2/tagged_item.rb +10 -10
  163. data/lib/aws/ec2/volume.rb +16 -16
  164. data/lib/aws/ec2/volume_collection.rb +9 -12
  165. data/lib/aws/ec2/vpc.rb +6 -6
  166. data/lib/aws/ec2/vpc_collection.rb +10 -10
  167. data/lib/aws/ec2/vpn_connection.rb +4 -4
  168. data/lib/aws/ec2/vpn_connection/telemetry.rb +1 -1
  169. data/lib/aws/ec2/vpn_connection_collection.rb +6 -6
  170. data/lib/aws/ec2/vpn_gateway.rb +2 -2
  171. data/lib/aws/ec2/vpn_gateway_collection.rb +5 -5
  172. data/lib/aws/elastic_beanstalk.rb +12 -12
  173. data/lib/aws/elastic_beanstalk/client.rb +376 -368
  174. data/lib/aws/elastic_beanstalk/config.rb +1 -1
  175. data/lib/aws/elastic_transcoder.rb +5 -5
  176. data/lib/aws/elastic_transcoder/client.rb +283 -283
  177. data/lib/aws/elastic_transcoder/config.rb +1 -1
  178. data/lib/aws/elasticache.rb +12 -12
  179. data/lib/aws/elasticache/client.rb +484 -479
  180. data/lib/aws/elasticache/config.rb +1 -1
  181. data/lib/aws/elb.rb +23 -23
  182. data/lib/aws/elb/availability_zone_collection.rb +34 -34
  183. data/lib/aws/elb/backend_server_policy_collection.rb +24 -24
  184. data/lib/aws/elb/client.rb +153 -153
  185. data/lib/aws/elb/config.rb +1 -1
  186. data/lib/aws/elb/errors.rb +1 -1
  187. data/lib/aws/elb/instance_collection.rb +20 -25
  188. data/lib/aws/elb/listener.rb +3 -3
  189. data/lib/aws/elb/listener_collection.rb +8 -8
  190. data/lib/aws/elb/load_balancer.rb +15 -16
  191. data/lib/aws/elb/load_balancer_collection.rb +36 -24
  192. data/lib/aws/elb/load_balancer_policy.rb +1 -1
  193. data/lib/aws/elb/load_balancer_policy_collection.rb +5 -5
  194. data/lib/aws/emr.rb +28 -26
  195. data/lib/aws/emr/client.rb +165 -149
  196. data/lib/aws/emr/config.rb +1 -1
  197. data/lib/aws/emr/instance_group.rb +1 -1
  198. data/lib/aws/emr/instance_group_collection.rb +1 -1
  199. data/lib/aws/emr/job_flow.rb +27 -26
  200. data/lib/aws/emr/job_flow_collection.rb +34 -34
  201. data/lib/aws/errors.rb +7 -7
  202. data/lib/aws/glacier.rb +21 -21
  203. data/lib/aws/glacier/archive_collection.rb +2 -2
  204. data/lib/aws/glacier/client.rb +139 -140
  205. data/lib/aws/glacier/config.rb +1 -1
  206. data/lib/aws/glacier/vault.rb +2 -2
  207. data/lib/aws/glacier/vault_collection.rb +1 -1
  208. data/lib/aws/iam.rb +133 -144
  209. data/lib/aws/iam/access_key.rb +17 -17
  210. data/lib/aws/iam/access_key_collection.rb +22 -22
  211. data/lib/aws/iam/account_alias_collection.rb +2 -2
  212. data/lib/aws/iam/client.rb +429 -420
  213. data/lib/aws/iam/collection.rb +1 -1
  214. data/lib/aws/iam/config.rb +2 -2
  215. data/lib/aws/iam/group.rb +8 -8
  216. data/lib/aws/iam/group_collection.rb +16 -16
  217. data/lib/aws/iam/group_policy_collection.rb +6 -6
  218. data/lib/aws/iam/group_user_collection.rb +3 -3
  219. data/lib/aws/iam/mfa_device.rb +1 -1
  220. data/lib/aws/iam/mfa_device_collection.rb +9 -9
  221. data/lib/aws/iam/policy_collection.rb +4 -4
  222. data/lib/aws/iam/resource.rb +2 -2
  223. data/lib/aws/iam/server_certificate.rb +1 -1
  224. data/lib/aws/iam/server_certificate_collection.rb +15 -15
  225. data/lib/aws/iam/signing_certificate.rb +29 -29
  226. data/lib/aws/iam/signing_certificate_collection.rb +23 -23
  227. data/lib/aws/iam/user.rb +33 -38
  228. data/lib/aws/iam/user_collection.rb +27 -27
  229. data/lib/aws/iam/user_group_collection.rb +3 -3
  230. data/lib/aws/iam/user_policy_collection.rb +6 -6
  231. data/lib/aws/iam/virtual_mfa_device.rb +12 -12
  232. data/lib/aws/iam/virtual_mfa_device_collection.rb +4 -4
  233. data/lib/aws/import_export.rb +22 -21
  234. data/lib/aws/import_export/client.rb +47 -43
  235. data/lib/aws/ops_works.rb +5 -5
  236. data/lib/aws/ops_works/client.rb +484 -438
  237. data/lib/aws/ops_works/config.rb +1 -1
  238. data/lib/aws/rails.rb +34 -34
  239. data/lib/aws/rds.rb +18 -18
  240. data/lib/aws/rds/client.rb +1286 -1277
  241. data/lib/aws/rds/config.rb +1 -1
  242. data/lib/aws/rds/db_instance.rb +15 -4
  243. data/lib/aws/rds/db_snapshot.rb +1 -1
  244. data/lib/aws/record.rb +50 -24
  245. data/lib/aws/record/abstract_base.rb +52 -60
  246. data/lib/aws/record/attributes.rb +79 -79
  247. data/lib/aws/record/conversion.rb +1 -1
  248. data/lib/aws/record/dirty_tracking.rb +69 -67
  249. data/lib/aws/record/errors.rb +21 -21
  250. data/lib/aws/record/exceptions.rb +2 -2
  251. data/lib/aws/record/hash_model.rb +20 -21
  252. data/lib/aws/record/hash_model/attributes.rb +13 -15
  253. data/lib/aws/record/hash_model/finder_methods.rb +46 -46
  254. data/lib/aws/record/hash_model/scope.rb +31 -31
  255. data/lib/aws/record/model.rb +136 -136
  256. data/lib/aws/record/model/attributes.rb +57 -59
  257. data/lib/aws/record/model/finder_methods.rb +67 -67
  258. data/lib/aws/record/model/scope.rb +48 -49
  259. data/lib/aws/record/naming.rb +1 -1
  260. data/lib/aws/record/scope.rb +23 -19
  261. data/lib/aws/record/validations.rb +253 -271
  262. data/lib/aws/record/validator.rb +3 -3
  263. data/lib/aws/record/validators/acceptance.rb +1 -3
  264. data/lib/aws/record/validators/block.rb +1 -3
  265. data/lib/aws/record/validators/confirmation.rb +1 -3
  266. data/lib/aws/record/validators/count.rb +2 -4
  267. data/lib/aws/record/validators/exclusion.rb +2 -4
  268. data/lib/aws/record/validators/format.rb +2 -4
  269. data/lib/aws/record/validators/inclusion.rb +1 -3
  270. data/lib/aws/record/validators/length.rb +5 -7
  271. data/lib/aws/record/validators/method.rb +1 -3
  272. data/lib/aws/record/validators/numericality.rb +6 -8
  273. data/lib/aws/record/validators/presence.rb +1 -3
  274. data/lib/aws/redshift.rb +14 -14
  275. data/lib/aws/redshift/client.rb +596 -592
  276. data/lib/aws/redshift/config.rb +1 -1
  277. data/lib/aws/route_53.rb +30 -30
  278. data/lib/aws/route_53/change_batch.rb +7 -7
  279. data/lib/aws/route_53/client.rb +188 -152
  280. data/lib/aws/route_53/hosted_zone.rb +4 -4
  281. data/lib/aws/route_53/hosted_zone_collection.rb +7 -7
  282. data/lib/aws/route_53/resource_record_set.rb +10 -10
  283. data/lib/aws/route_53/resource_record_set_collection.rb +6 -6
  284. data/lib/aws/s3.rb +79 -79
  285. data/lib/aws/s3/access_control_list.rb +44 -36
  286. data/lib/aws/s3/acl_options.rb +51 -51
  287. data/lib/aws/s3/bucket.rb +146 -146
  288. data/lib/aws/s3/bucket_collection.rb +21 -21
  289. data/lib/aws/s3/bucket_lifecycle_configuration.rb +81 -82
  290. data/lib/aws/s3/bucket_tag_collection.rb +4 -2
  291. data/lib/aws/s3/cipher_io.rb +5 -4
  292. data/lib/aws/s3/client.rb +89 -84
  293. data/lib/aws/s3/client/xml.rb +1 -1
  294. data/lib/aws/s3/config.rb +7 -1
  295. data/lib/aws/s3/cors_rule.rb +2 -0
  296. data/lib/aws/s3/cors_rule_collection.rb +42 -40
  297. data/lib/aws/s3/data_options.rb +16 -11
  298. data/lib/aws/s3/encryption_utils.rb +2 -2
  299. data/lib/aws/s3/errors.rb +7 -7
  300. data/lib/aws/s3/multipart_upload.rb +30 -33
  301. data/lib/aws/s3/multipart_upload_collection.rb +8 -6
  302. data/lib/aws/s3/object_collection.rb +35 -35
  303. data/lib/aws/s3/object_metadata.rb +6 -6
  304. data/lib/aws/s3/object_version.rb +4 -4
  305. data/lib/aws/s3/object_version_collection.rb +15 -15
  306. data/lib/aws/s3/policy.rb +2 -2
  307. data/lib/aws/s3/prefixed_collection.rb +9 -5
  308. data/lib/aws/s3/presigned_post.rb +39 -37
  309. data/lib/aws/s3/request.rb +11 -11
  310. data/lib/aws/s3/s3_object.rb +210 -200
  311. data/lib/aws/s3/tree.rb +25 -27
  312. data/lib/aws/s3/tree/child_collection.rb +3 -3
  313. data/lib/aws/s3/tree/leaf_node.rb +2 -2
  314. data/lib/aws/s3/tree/parent.rb +1 -1
  315. data/lib/aws/s3/website_configuration.rb +13 -13
  316. data/lib/aws/simple_db.rb +83 -83
  317. data/lib/aws/simple_db/attribute.rb +9 -7
  318. data/lib/aws/simple_db/attribute_collection.rb +22 -13
  319. data/lib/aws/simple_db/client.rb +107 -107
  320. data/lib/aws/simple_db/config.rb +7 -1
  321. data/lib/aws/simple_db/consistent_read_option.rb +5 -5
  322. data/lib/aws/simple_db/domain.rb +4 -2
  323. data/lib/aws/simple_db/domain_collection.rb +4 -4
  324. data/lib/aws/simple_db/domain_metadata.rb +5 -5
  325. data/lib/aws/simple_db/errors.rb +9 -9
  326. data/lib/aws/simple_db/item.rb +5 -5
  327. data/lib/aws/simple_db/item_collection.rb +83 -81
  328. data/lib/aws/simple_db/item_data.rb +4 -4
  329. data/lib/aws/simple_db/put_attributes.rb +3 -3
  330. data/lib/aws/simple_email_service.rb +140 -140
  331. data/lib/aws/simple_email_service/client.rb +82 -76
  332. data/lib/aws/simple_email_service/config.rb +1 -2
  333. data/lib/aws/simple_email_service/email_address_collection.rb +3 -3
  334. data/lib/aws/simple_email_service/identity.rb +8 -8
  335. data/lib/aws/simple_email_service/quotas.rb +8 -6
  336. data/lib/aws/simple_workflow.rb +106 -106
  337. data/lib/aws/simple_workflow/activity_task.rb +15 -22
  338. data/lib/aws/simple_workflow/activity_task_collection.rb +15 -15
  339. data/lib/aws/simple_workflow/activity_type.rb +23 -23
  340. data/lib/aws/simple_workflow/activity_type_collection.rb +23 -23
  341. data/lib/aws/simple_workflow/client.rb +1004 -956
  342. data/lib/aws/simple_workflow/config.rb +1 -1
  343. data/lib/aws/simple_workflow/count.rb +5 -5
  344. data/lib/aws/simple_workflow/decision_task.rb +129 -129
  345. data/lib/aws/simple_workflow/decision_task_collection.rb +59 -59
  346. data/lib/aws/simple_workflow/domain.rb +11 -11
  347. data/lib/aws/simple_workflow/domain_collection.rb +26 -26
  348. data/lib/aws/simple_workflow/history_event.rb +32 -32
  349. data/lib/aws/simple_workflow/history_event_collection.rb +3 -3
  350. data/lib/aws/simple_workflow/option_formatters.rb +5 -5
  351. data/lib/aws/simple_workflow/request.rb +1 -1
  352. data/lib/aws/simple_workflow/resource.rb +1 -1
  353. data/lib/aws/simple_workflow/type.rb +8 -8
  354. data/lib/aws/simple_workflow/type_collection.rb +15 -15
  355. data/lib/aws/simple_workflow/workflow_execution.rb +70 -72
  356. data/lib/aws/simple_workflow/workflow_execution_collection.rb +130 -130
  357. data/lib/aws/simple_workflow/workflow_type.rb +27 -25
  358. data/lib/aws/simple_workflow/workflow_type_collection.rb +20 -20
  359. data/lib/aws/sns.rb +25 -25
  360. data/lib/aws/sns/client.rb +55 -55
  361. data/lib/aws/sns/config.rb +1 -1
  362. data/lib/aws/sns/policy.rb +1 -1
  363. data/lib/aws/sns/subscription.rb +7 -7
  364. data/lib/aws/sns/subscription_collection.rb +5 -5
  365. data/lib/aws/sns/topic.rb +49 -49
  366. data/lib/aws/sns/topic_collection.rb +2 -2
  367. data/lib/aws/sns/topic_subscription_collection.rb +5 -5
  368. data/lib/aws/sqs.rb +20 -20
  369. data/lib/aws/sqs/client.rb +78 -78
  370. data/lib/aws/sqs/config.rb +1 -1
  371. data/lib/aws/sqs/errors.rb +12 -12
  372. data/lib/aws/sqs/queue.rb +66 -67
  373. data/lib/aws/sqs/queue_collection.rb +16 -8
  374. data/lib/aws/sqs/received_message.rb +7 -6
  375. data/lib/aws/storage_gateway.rb +21 -21
  376. data/lib/aws/storage_gateway/client.rb +269 -202
  377. data/lib/aws/storage_gateway/config.rb +1 -1
  378. data/lib/aws/sts.rb +10 -8
  379. data/lib/aws/sts/client.rb +35 -35
  380. data/lib/aws/sts/session.rb +3 -3
  381. data/lib/aws/version.rb +1 -2
  382. metadata +23 -21
  383. data/lib/aws/core/autoloader.rb +0 -64
  384. data/lib/net/http/connection_pool.rb +0 -226
  385. data/lib/net/http/connection_pool/connection.rb +0 -189
  386. data/lib/net/http/connection_pool/session.rb +0 -126
@@ -14,39 +14,38 @@
14
14
  module AWS
15
15
  class CloudFormation
16
16
 
17
- # = Stack Summaries
17
+ # # Stack Summaries
18
18
  #
19
19
  # Stack summaries contain information about CloudFormation
20
20
  # stacks. You can filter the stacks you want summary information
21
21
  # for by one or more statuses. You can even get information
22
22
  # about deleted stacks for up to 90 days.
23
23
  #
24
- # == Enumerating Stack Summaries
24
+ # ## Enumerating Stack Summaries
25
25
  #
26
26
  # You can enumerate all available summaries using enumerable
27
27
  # methods. Yielded summaries are simple hashes.
28
28
  #
29
- # cfm = AWS::CloudFormation.new
30
- # cfm.stack_summaries.each do |summary|
31
- # puts summary.to_yaml
32
- # end
29
+ # cfm = AWS::CloudFormation.new
30
+ # cfm.stack_summaries.each do |summary|
31
+ # puts summary.to_yaml
32
+ # end
33
33
  #
34
- # == Filtering Stack Summaries
34
+ # ## Filtering Stack Summaries
35
35
  #
36
36
  # You can optionally provide one or more stack stasus values
37
37
  # to filter the results by. Only stacks with the given status(es)
38
38
  # will be enumerated.
39
39
  #
40
- # cfm.stack_summaries.with_status(:create_failed).each do |summary|
41
- # # ...
42
- # end
43
- #
44
- # # enumerate stacks with various delete statuses
45
- # statuses = %w(delete_in_progress delete_failed delete_complete)
46
- # cf.stack_summaries.with_status(statuses).each do |summary|
47
- # # ...
48
- # end
40
+ # cfm.stack_summaries.with_status(:create_failed).each do |summary|
41
+ # # ...
42
+ # end
49
43
  #
44
+ # # enumerate stacks with various delete statuses
45
+ # statuses = %w(delete_in_progress delete_failed delete_complete)
46
+ # cf.stack_summaries.with_status(statuses).each do |summary|
47
+ # # ...
48
+ # end
50
49
  class StackSummaryCollection
51
50
 
52
51
  include Core::Collection::WithNextToken
@@ -59,38 +58,39 @@ module AWS
59
58
 
60
59
  # Limits the stacks summaries that are enumerated.
61
60
  #
62
- # cfm.stack_summaries.with_status(:create_complete).each do |summary|
63
- # puts summary[:stack_name]
64
- # end
61
+ # cfm.stack_summaries.with_status(:create_complete).each do |summary|
62
+ # puts summary[:stack_name]
63
+ # end
65
64
  #
66
65
  # You can provide multiple statuses:
67
66
  #
68
- # statuses = [:create_failed, :rollback_failed]
69
- # cfm.stack_summaries.with_status(statuses).each do |summary|
70
- # puts summary[:stack_name]
71
- # end
67
+ # statuses = [:create_failed, :rollback_failed]
68
+ # cfm.stack_summaries.with_status(statuses).each do |summary|
69
+ # puts summary[:stack_name]
70
+ # end
72
71
  #
73
72
  # Status names may be symbolized (snake-cased) or upper-cased strings
74
73
  # (e.g. :create_in_progress, 'CREATE_IN_PROGRESS').
75
74
  #
76
75
  # @param [Symbol,String] status_filters One or more statuses to filter
77
76
  # stacks with. Valid values include:
78
- # * +:create_in_progress+
79
- # * +:create_failed+
80
- # * +:create_complete+
81
- # * +:rollback_in_progress+
82
- # * +:rollback_failed+
83
- # * +:rollback_complete+
84
- # * +:delete_in_progress+
85
- # * +:delete_failed+
86
- # * +:delete_complete+
87
- # * +:update_in_progress+
88
- # * +:update_complete_cleanup_in_progress+
89
- # * +:update_complete+
90
- # * +:update_rollback_in_progress+
91
- # * +:update_rollback_failed+
92
- # * +:update_rollback_complete_cleanup_in_progress+
93
- # * +:update_rollback_complete+
77
+ #
78
+ # * `:create_in_progress`
79
+ # * `:create_failed`
80
+ # * `:create_complete`
81
+ # * `:rollback_in_progress`
82
+ # * `:rollback_failed`
83
+ # * `:rollback_complete`
84
+ # * `:delete_in_progress`
85
+ # * `:delete_failed`
86
+ # * `:delete_complete`
87
+ # * `:update_in_progress`
88
+ # * `:update_complete_cleanup_in_progress`
89
+ # * `:update_complete`
90
+ # * `:update_rollback_in_progress`
91
+ # * `:update_rollback_failed`
92
+ # * `:update_rollback_complete_cleanup_in_progress`
93
+ # * `:update_rollback_complete`
94
94
  #
95
95
  # @return [StackSummaryCollection] Returns a new stack summary
96
96
  # collection that restricts what stack summariess will be
@@ -19,41 +19,41 @@ module AWS
19
19
  # This class is the starting point for working with Amazon CloudFront.
20
20
  #
21
21
  # To use Amazon CloudFront you must first
22
- # {sign up here}[http://aws.amazon.com/cloudfront/].
22
+ # [sign up here](http://aws.amazon.com/cloudfront/).
23
23
  #
24
24
  # For more information about Amazon CloudFront:
25
25
  #
26
- # * {Amazon CloudFront}[http://aws.amazon.com/cloudfront/]
27
- # * {Amazon CloudFront Documentation}[http://aws.amazon.com/documentation/cloudfront/]
26
+ # * [Amazon CloudFront](http://aws.amazon.com/cloudfront/)
27
+ # * [Amazon CloudFront Documentation](http://aws.amazon.com/documentation/cloudfront/)
28
28
  #
29
- # = Credentials
29
+ # # Credentials
30
30
  #
31
31
  # You can setup default credentials for all AWS services via
32
32
  # AWS.config:
33
33
  #
34
- # AWS.config(
35
- # :access_key_id => 'YOUR_ACCESS_KEY_ID',
36
- # :secret_access_key => 'YOUR_SECRET_ACCESS_KEY')
34
+ # AWS.config(
35
+ # :access_key_id => 'YOUR_ACCESS_KEY_ID',
36
+ # :secret_access_key => 'YOUR_SECRET_ACCESS_KEY')
37
37
  #
38
38
  # Or you can set them directly on the AWS::Route53 interface:
39
39
  #
40
- # cf = AWS::CloudFront.new(
41
- # :access_key_id => 'YOUR_ACCESS_KEY_ID',
42
- # :secret_access_key => 'YOUR_SECRET_ACCESS_KEY')
40
+ # cf = AWS::CloudFront.new(
41
+ # :access_key_id => 'YOUR_ACCESS_KEY_ID',
42
+ # :secret_access_key => 'YOUR_SECRET_ACCESS_KEY')
43
43
  #
44
- # = Using the Client
44
+ # # Using the Client
45
45
  #
46
46
  # AWS::CloudFront does not provide higher level abstractions for CloudFront at
47
47
  # this time. You can still access all of the API methods using
48
48
  # {AWS::CloudFront::Client}. Here is how you access the client and make
49
49
  # a simple request:
50
50
  #
51
- # cf = AWS::CloudFront.new
51
+ # cf = AWS::CloudFront.new
52
52
  #
53
- # resp = cf.client.list_distributions
54
- # resp[:items].each do |distribution|
55
- # # ...
56
- # end
53
+ # resp = cf.client.list_distributions
54
+ # resp[:items].each do |distribution|
55
+ # # ...
56
+ # end
57
57
  #
58
58
  # See {Client} for documentation on all of the supported operations.
59
59
  #
@@ -61,13 +61,13 @@ module AWS
61
61
  # @return [Client] the low-level CloudFront client object
62
62
  class CloudFront
63
63
 
64
- AWS.register_autoloads(self, 'aws/cloud_front') do
65
- autoload :Client, 'client'
66
- autoload :Errors, 'errors'
67
- autoload :Request, 'request'
68
- end
64
+ autoload :Client, 'aws/cloud_front/client'
65
+ autoload :Errors, 'aws/cloud_front/errors'
66
+ autoload :Request, 'aws/cloud_front/request'
69
67
 
70
68
  include Core::ServiceInterface
71
69
 
70
+ endpoint_prefix 'cloudfront', :global => true
71
+
72
72
  end
73
73
  end
@@ -23,9 +23,9 @@ module AWS
23
23
  # @!method create_cloud_front_origin_access_identity(options = {})
24
24
  # Calls the POST CreateCloudFrontOriginAccessIdentity API operation.
25
25
  # @param [Hash] options
26
- # * +:cloud_front_origin_access_identity_config+ - *required* - (Hash)
26
+ # * `:cloud_front_origin_access_identity_config` - *required* - (Hash)
27
27
  # The origin access identity's configuration information.
28
- # * +:caller_reference+ - *required* - (String) A unique number that
28
+ # * `:caller_reference` - *required* - (String) A unique number that
29
29
  # ensures the request can't be replayed. If the CallerReference is
30
30
  # new (no matter the content of the
31
31
  # CloudFrontOriginAccessIdentityConfig object), a new origin access
@@ -39,23 +39,23 @@ module AWS
39
39
  # CloudFrontOriginAccessIdentityConfig is different from the original
40
40
  # request, CloudFront returns a
41
41
  # CloudFrontOriginAccessIdentityAlreadyExists error.
42
- # * +:comment+ - *required* - (String) Any comments you want to include
42
+ # * `:comment` - *required* - (String) Any comments you want to include
43
43
  # about the origin access identity.
44
44
  # @return [Core::Response]
45
45
  # The #data method of the response object returns
46
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)
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
52
 
53
53
  # @!method create_distribution(options = {})
54
54
  # Calls the POST CreateDistribution API operation.
55
55
  # @param [Hash] options
56
- # * +:distribution_config+ - *required* - (Hash) The distribution's
56
+ # * `:distribution_config` - *required* - (Hash) The distribution's
57
57
  # configuration information.
58
- # * +:caller_reference+ - *required* - (String) A unique number that
58
+ # * `:caller_reference` - *required* - (String) A unique number that
59
59
  # ensures the request can't be replayed. If the CallerReference is
60
60
  # new (no matter the content of the DistributionConfig object), a new
61
61
  # distribution is created. If the CallerReference is a value you
@@ -67,15 +67,15 @@ module AWS
67
67
  # to create a distribution but the content of the DistributionConfig
68
68
  # is different from the original request, CloudFront returns a
69
69
  # DistributionAlreadyExists error.
70
- # * +:aliases+ - *required* - (Hash) A complex type that contains
70
+ # * `:aliases` - *required* - (Hash) A complex type that contains
71
71
  # information about CNAMEs (alternate domain names), if any, for this
72
72
  # distribution.
73
- # * +:quantity+ - *required* - (Integer) The number of CNAMEs, if
73
+ # * `:quantity` - *required* - (Integer) The number of CNAMEs, if
74
74
  # any, for this distribution.
75
- # * +:items+ - (Array<String>) Optional: A complex type that contains
75
+ # * `:items` - (Array<String>) Optional: A complex type that contains
76
76
  # CNAME elements, if any, for this distribution. If Quantity is 0,
77
77
  # you can omit Items.
78
- # * +:default_root_object+ - *required* - (String) The object that you
78
+ # * `:default_root_object` - *required* - (String) The object that you
79
79
  # want CloudFront to return (for example, index.html) when an end
80
80
  # user requests the root URL for your distribution
81
81
  # (http://www.example.com) instead of an object in your distribution
@@ -87,28 +87,28 @@ module AWS
87
87
  # distribution configuration and include an empty DefaultRootObject
88
88
  # element. To replace the default root object, update the
89
89
  # distribution configuration and specify the new object.
90
- # * +:origins+ - *required* - (Hash) A complex type that contains
90
+ # * `:origins` - *required* - (Hash) A complex type that contains
91
91
  # information about origins for this distribution.
92
- # * +:quantity+ - *required* - (Integer) The number of origins for
92
+ # * `:quantity` - *required* - (Integer) The number of origins for
93
93
  # this distribution.
94
- # * +:items+ - (Array<Hash>) A complex type that contains origins for
94
+ # * `:items` - (Array<Hash>) A complex type that contains origins for
95
95
  # this distribution.
96
- # * +:id+ - *required* - (String) A unique identifier for the
96
+ # * `:id` - *required* - (String) A unique identifier for the
97
97
  # origin. The value of Id must be unique within the distribution.
98
98
  # You use the value of Id when you create a cache behavior. The
99
99
  # Id identifies the origin that CloudFront routes a request to
100
100
  # when the request matches the path pattern for that cache
101
101
  # behavior.
102
- # * +:domain_name+ - *required* - (String) Amazon S3 origins: The
102
+ # * `:domain_name` - *required* - (String) Amazon S3 origins: The
103
103
  # DNS name of the Amazon S3 bucket from which you want CloudFront
104
104
  # to get objects for this origin, for example,
105
105
  # myawsbucket.s3.amazonaws.com. Custom origins: The DNS domain
106
106
  # name for the HTTP server from which you want CloudFront to get
107
107
  # objects for this origin, for example, www.example.com.
108
- # * +:s3_origin_config+ - (Hash) A complex type that contains
108
+ # * `:s3_origin_config` - (Hash) A complex type that contains
109
109
  # information about the Amazon S3 origin. If the origin is a
110
110
  # custom origin, use the CustomOriginConfig element instead.
111
- # * +:origin_access_identity+ - *required* - (String) The
111
+ # * `:origin_access_identity` - *required* - (String) The
112
112
  # CloudFront origin access identity to associate with the
113
113
  # origin. Use an origin access identity to configure the origin
114
114
  # so that end users can only access objects in an Amazon S3
@@ -120,31 +120,54 @@ module AWS
120
120
  # include an empty OriginAccessIdentity element. To replace the
121
121
  # origin access identity, update the distribution configuration
122
122
  # and specify the new origin access identity.
123
- # * +:custom_origin_config+ - (Hash) A complex type that contains
123
+ # * `:custom_origin_config` - (Hash) A complex type that contains
124
124
  # information about a custom origin. If the origin is an Amazon
125
125
  # S3 bucket, use the S3OriginConfig element instead.
126
- # * +:http_port+ - *required* - (Integer) The HTTP port the
126
+ # * `:http_port` - *required* - (Integer) The HTTP port the
127
127
  # custom origin listens on.
128
- # * +:https_port+ - *required* - (Integer) The HTTPS port the
128
+ # * `:https_port` - *required* - (Integer) The HTTPS port the
129
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
130
+ # * `:origin_protocol_policy` - *required* - (String) The origin
131
+ # protocol policy to apply to your origin. Valid values
132
+ # include:
133
+ # * `http-only`
134
+ # * `match-viewer`
135
+ # * `:default_cache_behavior` - *required* - (Hash) A complex type that
133
136
  # describes the default cache behavior if you do not specify a
134
137
  # CacheBehavior element or if files don't match any of the values of
135
138
  # PathPattern in CacheBehavior elements.You must create exactly one
136
139
  # default cache behavior.
137
- # * +:target_origin_id+ - *required* - (String) The value of ID for
140
+ # * `:target_origin_id` - *required* - (String) The value of ID for
138
141
  # the origin that you want CloudFront to route requests to when a
139
142
  # request matches the path pattern either for a cache behavior or
140
143
  # 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
+ # * `:forwarded_values` - *required* - (Hash) A complex type that
145
+ # specifies how CloudFront handles query strings and cookies.
146
+ # * `:query_string` - *required* - (Boolean) Indicates whether you
144
147
  # want CloudFront to forward query strings to the origin that is
145
148
  # associated with this cache behavior. If so, specify +true+ ; if
146
149
  # not, specify +false+ .
147
- # * +:trusted_signers+ - *required* - (Hash) A complex type that
150
+ # * `:cookies` - *required* - (Hash) A complex type that specifies
151
+ # how CloudFront handles cookies.
152
+ # * `:forward` - *required* - (String) Use this element to
153
+ # specify whether you want CloudFront to forward cookies to the
154
+ # origin that is associated with this cache behavior. You can
155
+ # specify all, none or whitelist. If you choose All, CloudFront
156
+ # forwards all cookies regardless of how many your application
157
+ # uses. Valid values include:
158
+ # * `none`
159
+ # * `whitelist`
160
+ # * `all`
161
+ # * `:whitelisted_names` - (Hash) A complex type that specifies
162
+ # the whitelisted cookies, if any, that you want CloudFront to
163
+ # forward to your origin that is associated with this cache
164
+ # behavior.
165
+ # * `:quantity` - *required* - (Integer) The number of
166
+ # whitelisted cookies for this cache behavior.
167
+ # * `:items` - (Array<String>) Optional: A complex type that
168
+ # contains whitelisted cookies for this cache behavior. If
169
+ # Quantity is 0, you can omit Items.
170
+ # * `:trusted_signers` - *required* - (Hash) A complex type that
148
171
  # specifies the AWS accounts, if any, that you want to allow to
149
172
  # create signed URLs for private content. If you want to require
150
173
  # signed URLs in requests for objects in the target origin that
@@ -159,34 +182,36 @@ module AWS
159
182
  # +false+ ), change Quantity as applicable, and specify all of the
160
183
  # trusted signers that you want to include in the updated
161
184
  # distribution.
162
- # * +:enabled+ - *required* - (Boolean) Specifies whether you want
185
+ # * `:enabled` - *required* - (Boolean) Specifies whether you want
163
186
  # to require end users to use signed URLs to access the files
164
187
  # specified by PathPattern and TargetOriginId.
165
- # * +:quantity+ - *required* - (Integer) The number of trusted
188
+ # * `:quantity` - *required* - (Integer) The number of trusted
166
189
  # signers for this cache behavior.
167
- # * +:items+ - (Array<String>) Optional: A complex type that
190
+ # * `:items` - (Array<String>) Optional: A complex type that
168
191
  # contains trusted signers for this cache behavior. If Quantity
169
192
  # is 0, you can omit Items.
170
- # * +:viewer_protocol_policy+ - *required* - (String) Use this
193
+ # * `:viewer_protocol_policy` - *required* - (String) Use this
171
194
  # element to specify the protocol that users can use to access the
172
195
  # files in the origin specified by TargetOriginId when a request
173
196
  # matches the path pattern in PathPattern. If you want CloudFront
174
197
  # to allow end users to use any available protocol, specify
175
198
  # allow-all. If you want CloudFront to require HTTPS, specify
176
- # https.
177
- # * +:min_ttl+ - *required* - (Integer) The minimum amount of time
199
+ # https. Valid values include:
200
+ # * `allow-all`
201
+ # * `https-only`
202
+ # * `:min_ttl` - *required* - (Integer) The minimum amount of time
178
203
  # that you want objects to stay in CloudFront caches before
179
204
  # CloudFront queries your origin to see whether the object has been
180
205
  # updated.You can specify a value from 0 to 3,153,600,000 seconds
181
206
  # (100 years).
182
- # * +:cache_behaviors+ - *required* - (Hash) A complex type that
207
+ # * `:cache_behaviors` - *required* - (Hash) A complex type that
183
208
  # contains zero or more CacheBehavior elements.
184
- # * +:quantity+ - *required* - (Integer) The number of cache
209
+ # * `:quantity` - *required* - (Integer) The number of cache
185
210
  # behaviors for this distribution.
186
- # * +:items+ - (Array<Hash>) Optional: A complex type that contains
211
+ # * `:items` - (Array<Hash>) Optional: A complex type that contains
187
212
  # cache behaviors for this distribution. If Quantity is 0, you can
188
213
  # omit Items.
189
- # * +:path_pattern+ - *required* - (String) The pattern (for
214
+ # * `:path_pattern` - *required* - (String) The pattern (for
190
215
  # example, images/*.jpg) that specifies which requests you want
191
216
  # this cache behavior to apply to. When CloudFront receives an
192
217
  # end-user request, the requested path is compared with path
@@ -195,17 +220,37 @@ module AWS
195
220
  # behavior is * and cannot be changed. If the request for an
196
221
  # object does not match the path pattern for any cache behaviors,
197
222
  # CloudFront applies the behavior in the default cache behavior.
198
- # * +:target_origin_id+ - *required* - (String) The value of ID for
223
+ # * `:target_origin_id` - *required* - (String) The value of ID for
199
224
  # the origin that you want CloudFront to route requests to when a
200
225
  # request matches the path pattern either for a cache behavior or
201
226
  # 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
227
+ # * `:forwarded_values` - *required* - (Hash) A complex type that
228
+ # specifies how CloudFront handles query strings and cookies.
229
+ # * `:query_string` - *required* - (Boolean) Indicates whether
205
230
  # you want CloudFront to forward query strings to the origin
206
231
  # that is associated with this cache behavior. If so, specify
207
232
  # +true+ ; if not, specify +false+ .
208
- # * +:trusted_signers+ - *required* - (Hash) A complex type that
233
+ # * `:cookies` - *required* - (Hash) A complex type that
234
+ # specifies how CloudFront handles cookies.
235
+ # * `:forward` - *required* - (String) Use this element to
236
+ # specify whether you want CloudFront to forward cookies to
237
+ # the origin that is associated with this cache behavior. You
238
+ # can specify all, none or whitelist. If you choose All,
239
+ # CloudFront forwards all cookies regardless of how many your
240
+ # application uses. Valid values include:
241
+ # * `none`
242
+ # * `whitelist`
243
+ # * `all`
244
+ # * `:whitelisted_names` - (Hash) A complex type that specifies
245
+ # the whitelisted cookies, if any, that you want CloudFront
246
+ # to forward to your origin that is associated with this
247
+ # cache behavior.
248
+ # * `:quantity` - *required* - (Integer) The number of
249
+ # whitelisted cookies for this cache behavior.
250
+ # * `:items` - (Array<String>) Optional: A complex type that
251
+ # contains whitelisted cookies for this cache behavior. If
252
+ # Quantity is 0, you can omit Items.
253
+ # * `:trusted_signers` - *required* - (Hash) A complex type that
209
254
  # specifies the AWS accounts, if any, that you want to allow to
210
255
  # create signed URLs for private content. If you want to require
211
256
  # signed URLs in requests for objects in the target origin that
@@ -220,117 +265,145 @@ module AWS
220
265
  # +false+ ), change Quantity as applicable, and specify all of
221
266
  # the trusted signers that you want to include in the updated
222
267
  # distribution.
223
- # * +:enabled+ - *required* - (Boolean) Specifies whether you
268
+ # * `:enabled` - *required* - (Boolean) Specifies whether you
224
269
  # want to require end users to use signed URLs to access the
225
270
  # files specified by PathPattern and TargetOriginId.
226
- # * +:quantity+ - *required* - (Integer) The number of trusted
271
+ # * `:quantity` - *required* - (Integer) The number of trusted
227
272
  # signers for this cache behavior.
228
- # * +:items+ - (Array<String>) Optional: A complex type that
273
+ # * `:items` - (Array<String>) Optional: A complex type that
229
274
  # contains trusted signers for this cache behavior. If Quantity
230
275
  # is 0, you can omit Items.
231
- # * +:viewer_protocol_policy+ - *required* - (String) Use this
276
+ # * `:viewer_protocol_policy` - *required* - (String) Use this
232
277
  # element to specify the protocol that users can use to access
233
278
  # the files in the origin specified by TargetOriginId when a
234
279
  # request matches the path pattern in PathPattern. If you want
235
280
  # CloudFront to allow end users to use any available protocol,
236
281
  # specify allow-all. If you want CloudFront to require HTTPS,
237
- # specify https.
238
- # * +:min_ttl+ - *required* - (Integer) The minimum amount of time
282
+ # specify https. Valid values include:
283
+ # * `allow-all`
284
+ # * `https-only`
285
+ # * `:min_ttl` - *required* - (Integer) The minimum amount of time
239
286
  # that you want objects to stay in CloudFront caches before
240
287
  # CloudFront queries your origin to see whether the object has
241
288
  # been updated.You can specify a value from 0 to 3,153,600,000
242
289
  # seconds (100 years).
243
- # * +:comment+ - *required* - (String) Any comments you want to include
290
+ # * `:comment` - *required* - (String) Any comments you want to include
244
291
  # about the distribution.
245
- # * +:logging+ - *required* - (Hash) A complex type that controls
292
+ # * `:logging` - *required* - (Hash) A complex type that controls
246
293
  # whether access logs are written for the distribution.
247
- # * +:enabled+ - *required* - (Boolean) Specifies whether you want
294
+ # * `:enabled` - *required* - (Boolean) Specifies whether you want
248
295
  # CloudFront to save access logs to an Amazon S3 bucket. If you do
249
296
  # not want to enable logging when you create a distribution or if
250
297
  # you want to disable logging for an existing distribution, specify
251
298
  # +false+ for Enabled, and specify empty Bucket and Prefix
252
299
  # 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
300
+ # values for Bucket, prefix and IncludeCookies, the values are
301
+ # automatically deleted.
302
+ # * `:include_cookies` - *required* - (Boolean) Specifies whether you
303
+ # want CloudFront to include cookies in access logs, specify +true+
304
+ # for IncludeCookies. If you choose to include cookies in logs,
305
+ # CloudFront logs all cookies regardless of how you configure the
306
+ # cache behaviors for this distribution. If you do not want to
307
+ # include cookies when you create a distribution or if you want to
308
+ # disable include cookies for an existing distribution, specify
309
+ # +false+ for IncludeCookies.
310
+ # * `:bucket` - *required* - (String) The Amazon S3 bucket to store
256
311
  # the access logs in, for example, myawslogbucket.s3.amazonaws.com.
257
- # * +:prefix+ - *required* - (String) An optional string that you
312
+ # * `:prefix` - *required* - (String) An optional string that you
258
313
  # want CloudFront to prefix to the access log filenames for this
259
314
  # distribution, for example, myprefix/. If you want to enable
260
315
  # logging, but you do not want to specify a prefix, you still must
261
316
  # include an empty Prefix element in the Logging element.
262
- # * +:enabled+ - *required* - (Boolean) Whether the distribution is
317
+ # * `:price_class` - *required* - (String) A complex type that contains
318
+ # information about price class for this distribution. Valid values
319
+ # include:
320
+ # * `PriceClass_100`
321
+ # * `PriceClass_200`
322
+ # * `PriceClass_All`
323
+ # * `:enabled` - *required* - (Boolean) Whether the distribution is
263
324
  # enabled to accept end user requests for content.
264
325
  # @return [Core::Response]
265
326
  # The #data method of the response object returns
266
327
  # 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)
328
+ # * `:id` - (String)
329
+ # * `:status` - (String)
330
+ # * `:last_modified_time` - (Time)
331
+ # * `:in_progress_invalidation_batches` - (Integer)
332
+ # * `:domain_name` - (String)
333
+ # * `:active_trusted_signers` - (Hash)
334
+ # * `:enabled` - (Boolean)
335
+ # * `:quantity` - (Integer)
336
+ # * `:items` - (Array<Hash>)
337
+ # * `:aws_account_number` - (String)
338
+ # * `:key_pair_ids` - (Hash)
339
+ # * `:quantity` - (Integer)
340
+ # * `:items` - (Array<String>)
341
+ # * `:distribution_config` - (Hash)
342
+ # * `:caller_reference` - (String)
343
+ # * `:aliases` - (Hash)
344
+ # * `:quantity` - (Integer)
345
+ # * `:items` - (Array<String>)
346
+ # * `:default_root_object` - (String)
347
+ # * `:origins` - (Hash)
348
+ # * `:quantity` - (Integer)
349
+ # * `:items` - (Array<Hash>)
350
+ # * `:id` - (String)
351
+ # * `:domain_name` - (String)
352
+ # * `:s3_origin_config` - (Hash)
353
+ # * `:origin_access_identity` - (String)
354
+ # * `:custom_origin_config` - (Hash)
355
+ # * `:http_port` - (Integer)
356
+ # * `:https_port` - (Integer)
357
+ # * `:origin_protocol_policy` - (String)
358
+ # * `:default_cache_behavior` - (Hash)
359
+ # * `:target_origin_id` - (String)
360
+ # * `:forwarded_values` - (Hash)
361
+ # * `:query_string` - (Boolean)
362
+ # * `:cookies` - (Hash)
363
+ # * `:forward` - (String)
364
+ # * `:whitelisted_names` - (Hash)
365
+ # * `:quantity` - (Integer)
366
+ # * `:items` - (Array<String>)
367
+ # * `:trusted_signers` - (Hash)
368
+ # * `:enabled` - (Boolean)
369
+ # * `:quantity` - (Integer)
370
+ # * `:items` - (Array<String>)
371
+ # * `:viewer_protocol_policy` - (String)
372
+ # * `:min_ttl` - (Integer)
373
+ # * `:cache_behaviors` - (Hash)
374
+ # * `:quantity` - (Integer)
375
+ # * `:items` - (Array<Hash>)
376
+ # * `:path_pattern` - (String)
377
+ # * `:target_origin_id` - (String)
378
+ # * `:forwarded_values` - (Hash)
379
+ # * `:query_string` - (Boolean)
380
+ # * `:cookies` - (Hash)
381
+ # * `:forward` - (String)
382
+ # * `:whitelisted_names` - (Hash)
383
+ # * `:quantity` - (Integer)
384
+ # * `:items` - (Array<String>)
385
+ # * `:trusted_signers` - (Hash)
386
+ # * `:enabled` - (Boolean)
387
+ # * `:quantity` - (Integer)
388
+ # * `:items` - (Array<String>)
389
+ # * `:viewer_protocol_policy` - (String)
390
+ # * `:min_ttl` - (Integer)
391
+ # * `:comment` - (String)
392
+ # * `:logging` - (Hash)
393
+ # * `:enabled` - (Boolean)
394
+ # * `:include_cookies` - (Boolean)
395
+ # * `:bucket` - (String)
396
+ # * `:prefix` - (String)
397
+ # * `:price_class` - (String)
398
+ # * `:enabled` - (Boolean)
326
399
 
327
400
  # @!method create_invalidation(options = {})
328
401
  # Calls the POST CreateInvalidation API operation.
329
402
  # @param [Hash] options
330
- # * +:distribution_id+ - *required* - (String) The distribution's id.
331
- # * +:invalidation_batch+ - *required* - (Hash) The batch information for
403
+ # * `:distribution_id` - *required* - (String) The distribution's id.
404
+ # * `:invalidation_batch` - *required* - (Hash) The batch information for
332
405
  # the invalidation.
333
- # * +:paths+ - *required* - (Hash) The path of the object to
406
+ # * `:paths` - *required* - (Hash) The path of the object to
334
407
  # invalidate. The path is relative to the distribution and must begin
335
408
  # with a slash (/). You must enclose each invalidation object with
336
409
  # the Path element tags. If the path includes non-ASCII characters or
@@ -338,11 +411,11 @@ module AWS
338
411
  # (http://www.ietf.org/rfc/rfc1738.txt), URL encode those characters.
339
412
  # Do not URL encode any other characters in the path, or CloudFront
340
413
  # will not invalidate the old version of the updated object.
341
- # * +:quantity+ - *required* - (Integer) The number of objects that
414
+ # * `:quantity` - *required* - (Integer) The number of objects that
342
415
  # you want to invalidate.
343
- # * +:items+ - (Array<String>) A complex type that contains a list of
416
+ # * `:items` - (Array<String>) A complex type that contains a list of
344
417
  # the objects that you want to invalidate.
345
- # * +:caller_reference+ - *required* - (String) A unique name that
418
+ # * `:caller_reference` - *required* - (String) A unique name that
346
419
  # ensures the request can't be replayed. If the CallerReference is
347
420
  # new (no matter the content of the Path object), a new distribution
348
421
  # is created. If the CallerReference is a value you already sent in a
@@ -356,21 +429,21 @@ module AWS
356
429
  # @return [Core::Response]
357
430
  # The #data method of the response object returns
358
431
  # 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)
432
+ # * `:id` - (String)
433
+ # * `:status` - (String)
434
+ # * `:create_time` - (Time)
435
+ # * `:invalidation_batch` - (Hash)
436
+ # * `:paths` - (Hash)
437
+ # * `:quantity` - (Integer)
438
+ # * `:items` - (Array<String>)
439
+ # * `:caller_reference` - (String)
367
440
 
368
441
  # @!method create_streaming_distribution(options = {})
369
442
  # Calls the POST CreateStreamingDistribution API operation.
370
443
  # @param [Hash] options
371
- # * +:streaming_distribution_config+ - *required* - (Hash) The streaming
444
+ # * `:streaming_distribution_config` - *required* - (Hash) The streaming
372
445
  # distribution's configuration information.
373
- # * +:caller_reference+ - *required* - (String) A unique number that
446
+ # * `:caller_reference` - *required* - (String) A unique number that
374
447
  # ensures the request can't be replayed. If the CallerReference is
375
448
  # new (no matter the content of the StreamingDistributionConfig
376
449
  # object), a new streaming distribution is created. If the
@@ -383,41 +456,42 @@ module AWS
383
456
  # distribution but the content of the StreamingDistributionConfig is
384
457
  # different from the original request, CloudFront returns a
385
458
  # DistributionAlreadyExists error.
386
- # * +:s3_origin+ - *required* - (Hash) A complex type that contains
459
+ # * `:s3_origin` - *required* - (Hash) A complex type that contains
387
460
  # information about the Amazon S3 bucket from which you want
388
461
  # CloudFront to get your media files for distribution.
389
- # * +:domain_name+ - *required* - (String) The DNS name of the S3
462
+ # * `:domain_name` - *required* - (String) The DNS name of the S3
390
463
  # origin.
391
- # * +:origin_access_identity+ - *required* - (String) Your S3
464
+ # * `:origin_access_identity` - *required* - (String) Your S3
392
465
  # origin's origin access identity.
393
- # * +:aliases+ - *required* - (Hash) A complex type that contains
466
+ # * `:aliases` - *required* - (Hash) A complex type that contains
394
467
  # information about CNAMEs (alternate domain names), if any, for this
395
468
  # streaming distribution.
396
- # * +:quantity+ - *required* - (Integer) The number of CNAMEs, if
469
+ # * `:quantity` - *required* - (Integer) The number of CNAMEs, if
397
470
  # any, for this distribution.
398
- # * +:items+ - (Array<String>) Optional: A complex type that contains
471
+ # * `:items` - (Array<String>) Optional: A complex type that contains
399
472
  # CNAME elements, if any, for this distribution. If Quantity is 0,
400
473
  # you can omit Items.
401
- # * +:comment+ - *required* - (String) Any comments you want to include
474
+ # * `:comment` - *required* - (String) Any comments you want to include
402
475
  # about the streaming distribution.
403
- # * +:logging+ - *required* - (Hash) A complex type that controls
476
+ # * `:logging` - *required* - (Hash) A complex type that controls
404
477
  # whether access logs are written for the streaming distribution.
405
- # * +:enabled+ - *required* - (Boolean) Specifies whether you want
478
+ # * `:enabled` - *required* - (Boolean) Specifies whether you want
406
479
  # 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
480
+ # not want to enable logging when you create a streaming
481
+ # distribution or if you want to disable logging for an existing
482
+ # streaming distribution, specify +false+ for Enabled, and specify
483
+ # empty Bucket and Prefix elements. If you specify +false+ for
484
+ # Enabled but you specify values for Bucket and Prefix, the values
485
+ # are automatically deleted.
486
+ # * `:bucket` - *required* - (String) The Amazon S3 bucket to store
414
487
  # the access logs in, for example, myawslogbucket.s3.amazonaws.com.
415
- # * +:prefix+ - *required* - (String) An optional string that you
488
+ # * `:prefix` - *required* - (String) An optional string that you
416
489
  # 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
490
+ # streaming distribution, for example, myprefix/. If you want to
491
+ # enable logging, but you do not want to specify a prefix, you
492
+ # still must include an empty Prefix element in the Logging
493
+ # element.
494
+ # * `:trusted_signers` - *required* - (Hash) A complex type that
421
495
  # specifies the AWS accounts, if any, that you want to allow to
422
496
  # create signed URLs for private content. If you want to require
423
497
  # signed URLs in requests for objects in the target origin that match
@@ -431,390 +505,434 @@ module AWS
431
505
  # change Enabled to +true+ (if it's currently +false+ ), change
432
506
  # Quantity as applicable, and specify all of the trusted signers that
433
507
  # you want to include in the updated distribution.
434
- # * +:enabled+ - *required* - (Boolean) Specifies whether you want to
508
+ # * `:enabled` - *required* - (Boolean) Specifies whether you want to
435
509
  # require end users to use signed URLs to access the files
436
510
  # specified by PathPattern and TargetOriginId.
437
- # * +:quantity+ - *required* - (Integer) The number of trusted
511
+ # * `:quantity` - *required* - (Integer) The number of trusted
438
512
  # signers for this cache behavior.
439
- # * +:items+ - (Array<String>) Optional: A complex type that contains
513
+ # * `:items` - (Array<String>) Optional: A complex type that contains
440
514
  # trusted signers for this cache behavior. If Quantity is 0, you
441
515
  # can omit Items.
442
- # * +:enabled+ - *required* - (Boolean) Whether the streaming
516
+ # * `:price_class` - *required* - (String) A complex type that contains
517
+ # information about price class for this streaming distribution.
518
+ # Valid values include:
519
+ # * `PriceClass_100`
520
+ # * `PriceClass_200`
521
+ # * `PriceClass_All`
522
+ # * `:enabled` - *required* - (Boolean) Whether the streaming
443
523
  # distribution is enabled to accept end user requests for content.
444
524
  # @return [Core::Response]
445
525
  # The #data method of the response object returns
446
526
  # 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)
527
+ # * `:id` - (String)
528
+ # * `:status` - (String)
529
+ # * `:last_modified_time` - (Time)
530
+ # * `:domain_name` - (String)
531
+ # * `:active_trusted_signers` - (Hash)
532
+ # * `:enabled` - (Boolean)
533
+ # * `:quantity` - (Integer)
534
+ # * `:items` - (Array<Hash>)
535
+ # * `:aws_account_number` - (String)
536
+ # * `:key_pair_ids` - (Hash)
537
+ # * `:quantity` - (Integer)
538
+ # * `:items` - (Array<String>)
539
+ # * `:streaming_distribution_config` - (Hash)
540
+ # * `:caller_reference` - (String)
541
+ # * `:s3_origin` - (Hash)
542
+ # * `:domain_name` - (String)
543
+ # * `:origin_access_identity` - (String)
544
+ # * `:aliases` - (Hash)
545
+ # * `:quantity` - (Integer)
546
+ # * `:items` - (Array<String>)
547
+ # * `:comment` - (String)
548
+ # * `:logging` - (Hash)
549
+ # * `:enabled` - (Boolean)
550
+ # * `:bucket` - (String)
551
+ # * `:prefix` - (String)
552
+ # * `:trusted_signers` - (Hash)
553
+ # * `:enabled` - (Boolean)
554
+ # * `:quantity` - (Integer)
555
+ # * `:items` - (Array<String>)
556
+ # * `:price_class` - (String)
557
+ # * `:enabled` - (Boolean)
477
558
 
478
559
  # @!method delete_cloud_front_origin_access_identity(options = {})
479
560
  # Calls the DELETE DeleteCloudFrontOriginAccessIdentity API operation.
480
561
  # @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
562
+ # * `:id` - *required* - (String) The origin access identity's id.
563
+ # * `:if_match` - (String) The value of the ETag header you received from
483
564
  # a previous GET or PUT request. For example: E2QWRUHAPOMQZL.
484
565
  # @return [Core::Response]
485
566
 
486
567
  # @!method delete_distribution(options = {})
487
568
  # Calls the DELETE DeleteDistribution API operation.
488
569
  # @param [Hash] options
489
- # * +:id+ - *required* - (String) The distribution id.
490
- # * +:if_match+ - (String) The value of the ETag header you received when
570
+ # * `:id` - *required* - (String) The distribution id.
571
+ # * `:if_match` - (String) The value of the ETag header you received when
491
572
  # you disabled the distribution. For example: E2QWRUHAPOMQZL.
492
573
  # @return [Core::Response]
493
574
 
494
575
  # @!method delete_streaming_distribution(options = {})
495
576
  # Calls the DELETE DeleteStreamingDistribution API operation.
496
577
  # @param [Hash] options
497
- # * +:id+ - *required* - (String) The distribution id.
498
- # * +:if_match+ - (String) The value of the ETag header you received when
578
+ # * `:id` - *required* - (String) The distribution id.
579
+ # * `:if_match` - (String) The value of the ETag header you received when
499
580
  # you disabled the streaming distribution. For example: E2QWRUHAPOMQZL.
500
581
  # @return [Core::Response]
501
582
 
502
583
  # @!method get_cloud_front_origin_access_identity(options = {})
503
584
  # Calls the GET GetCloudFrontOriginAccessIdentity API operation.
504
585
  # @param [Hash] options
505
- # * +:id+ - *required* - (String) The identity's id.
586
+ # * `:id` - *required* - (String) The identity's id.
506
587
  # @return [Core::Response]
507
588
  # The #data method of the response object returns
508
589
  # 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)
590
+ # * `:id` - (String)
591
+ # * `:s3_canonical_user_id` - (String)
592
+ # * `:cloud_front_origin_access_identity_config` - (Hash)
593
+ # * `:caller_reference` - (String)
594
+ # * `:comment` - (String)
514
595
 
515
596
  # @!method get_cloud_front_origin_access_identity_config(options = {})
516
597
  # Calls the GET GetCloudFrontOriginAccessIdentityConfig API operation.
517
598
  # @param [Hash] options
518
- # * +:id+ - *required* - (String) The identity's id.
599
+ # * `:id` - *required* - (String) The identity's id.
519
600
  # @return [Core::Response]
520
601
  # The #data method of the response object returns
521
602
  # a hash with the following structure:
522
- # * +:caller_reference+ - (String)
523
- # * +:comment+ - (String)
603
+ # * `:caller_reference` - (String)
604
+ # * `:comment` - (String)
524
605
 
525
606
  # @!method get_distribution(options = {})
526
607
  # Calls the GET GetDistribution API operation.
527
608
  # @param [Hash] options
528
- # * +:id+ - *required* - (String) The distribution's id.
609
+ # * `:id` - *required* - (String) The distribution's id.
529
610
  # @return [Core::Response]
530
611
  # The #data method of the response object returns
531
612
  # 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)
613
+ # * `:id` - (String)
614
+ # * `:status` - (String)
615
+ # * `:last_modified_time` - (Time)
616
+ # * `:in_progress_invalidation_batches` - (Integer)
617
+ # * `:domain_name` - (String)
618
+ # * `:active_trusted_signers` - (Hash)
619
+ # * `:enabled` - (Boolean)
620
+ # * `:quantity` - (Integer)
621
+ # * `:items` - (Array<Hash>)
622
+ # * `:aws_account_number` - (String)
623
+ # * `:key_pair_ids` - (Hash)
624
+ # * `:quantity` - (Integer)
625
+ # * `:items` - (Array<String>)
626
+ # * `:distribution_config` - (Hash)
627
+ # * `:caller_reference` - (String)
628
+ # * `:aliases` - (Hash)
629
+ # * `:quantity` - (Integer)
630
+ # * `:items` - (Array<String>)
631
+ # * `:default_root_object` - (String)
632
+ # * `:origins` - (Hash)
633
+ # * `:quantity` - (Integer)
634
+ # * `:items` - (Array<Hash>)
635
+ # * `:id` - (String)
636
+ # * `:domain_name` - (String)
637
+ # * `:s3_origin_config` - (Hash)
638
+ # * `:origin_access_identity` - (String)
639
+ # * `:custom_origin_config` - (Hash)
640
+ # * `:http_port` - (Integer)
641
+ # * `:https_port` - (Integer)
642
+ # * `:origin_protocol_policy` - (String)
643
+ # * `:default_cache_behavior` - (Hash)
644
+ # * `:target_origin_id` - (String)
645
+ # * `:forwarded_values` - (Hash)
646
+ # * `:query_string` - (Boolean)
647
+ # * `:cookies` - (Hash)
648
+ # * `:forward` - (String)
649
+ # * `:whitelisted_names` - (Hash)
650
+ # * `:quantity` - (Integer)
651
+ # * `:items` - (Array<String>)
652
+ # * `:trusted_signers` - (Hash)
653
+ # * `:enabled` - (Boolean)
654
+ # * `:quantity` - (Integer)
655
+ # * `:items` - (Array<String>)
656
+ # * `:viewer_protocol_policy` - (String)
657
+ # * `:min_ttl` - (Integer)
658
+ # * `:cache_behaviors` - (Hash)
659
+ # * `:quantity` - (Integer)
660
+ # * `:items` - (Array<Hash>)
661
+ # * `:path_pattern` - (String)
662
+ # * `:target_origin_id` - (String)
663
+ # * `:forwarded_values` - (Hash)
664
+ # * `:query_string` - (Boolean)
665
+ # * `:cookies` - (Hash)
666
+ # * `:forward` - (String)
667
+ # * `:whitelisted_names` - (Hash)
668
+ # * `:quantity` - (Integer)
669
+ # * `:items` - (Array<String>)
670
+ # * `:trusted_signers` - (Hash)
671
+ # * `:enabled` - (Boolean)
672
+ # * `:quantity` - (Integer)
673
+ # * `:items` - (Array<String>)
674
+ # * `:viewer_protocol_policy` - (String)
675
+ # * `:min_ttl` - (Integer)
676
+ # * `:comment` - (String)
677
+ # * `:logging` - (Hash)
678
+ # * `:enabled` - (Boolean)
679
+ # * `:include_cookies` - (Boolean)
680
+ # * `:bucket` - (String)
681
+ # * `:prefix` - (String)
682
+ # * `:price_class` - (String)
683
+ # * `:enabled` - (Boolean)
591
684
 
592
685
  # @!method get_distribution_config(options = {})
593
686
  # Calls the GET GetDistributionConfig API operation.
594
687
  # @param [Hash] options
595
- # * +:id+ - *required* - (String) The distribution's id.
688
+ # * `:id` - *required* - (String) The distribution's id.
596
689
  # @return [Core::Response]
597
690
  # The #data method of the response object returns
598
691
  # 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)
692
+ # * `:caller_reference` - (String)
693
+ # * `:aliases` - (Hash)
694
+ # * `:quantity` - (Integer)
695
+ # * `:items` - (Array<String>)
696
+ # * `:default_root_object` - (String)
697
+ # * `:origins` - (Hash)
698
+ # * `:quantity` - (Integer)
699
+ # * `:items` - (Array<Hash>)
700
+ # * `:id` - (String)
701
+ # * `:domain_name` - (String)
702
+ # * `:s3_origin_config` - (Hash)
703
+ # * `:origin_access_identity` - (String)
704
+ # * `:custom_origin_config` - (Hash)
705
+ # * `:http_port` - (Integer)
706
+ # * `:https_port` - (Integer)
707
+ # * `:origin_protocol_policy` - (String)
708
+ # * `:default_cache_behavior` - (Hash)
709
+ # * `:target_origin_id` - (String)
710
+ # * `:forwarded_values` - (Hash)
711
+ # * `:query_string` - (Boolean)
712
+ # * `:cookies` - (Hash)
713
+ # * `:forward` - (String)
714
+ # * `:whitelisted_names` - (Hash)
715
+ # * `:quantity` - (Integer)
716
+ # * `:items` - (Array<String>)
717
+ # * `:trusted_signers` - (Hash)
718
+ # * `:enabled` - (Boolean)
719
+ # * `:quantity` - (Integer)
720
+ # * `:items` - (Array<String>)
721
+ # * `:viewer_protocol_policy` - (String)
722
+ # * `:min_ttl` - (Integer)
723
+ # * `:cache_behaviors` - (Hash)
724
+ # * `:quantity` - (Integer)
725
+ # * `:items` - (Array<Hash>)
726
+ # * `:path_pattern` - (String)
727
+ # * `:target_origin_id` - (String)
728
+ # * `:forwarded_values` - (Hash)
729
+ # * `:query_string` - (Boolean)
730
+ # * `:cookies` - (Hash)
731
+ # * `:forward` - (String)
732
+ # * `:whitelisted_names` - (Hash)
733
+ # * `:quantity` - (Integer)
734
+ # * `:items` - (Array<String>)
735
+ # * `:trusted_signers` - (Hash)
736
+ # * `:enabled` - (Boolean)
737
+ # * `:quantity` - (Integer)
738
+ # * `:items` - (Array<String>)
739
+ # * `:viewer_protocol_policy` - (String)
740
+ # * `:min_ttl` - (Integer)
741
+ # * `:comment` - (String)
742
+ # * `:logging` - (Hash)
743
+ # * `:enabled` - (Boolean)
744
+ # * `:include_cookies` - (Boolean)
745
+ # * `:bucket` - (String)
746
+ # * `:prefix` - (String)
747
+ # * `:price_class` - (String)
748
+ # * `:enabled` - (Boolean)
644
749
 
645
750
  # @!method get_invalidation(options = {})
646
751
  # Calls the GET GetInvalidation API operation.
647
752
  # @param [Hash] options
648
- # * +:distribution_id+ - *required* - (String) The distribution's id.
649
- # * +:id+ - *required* - (String) The invalidation's id.
753
+ # * `:distribution_id` - *required* - (String) The distribution's id.
754
+ # * `:id` - *required* - (String) The invalidation's id.
650
755
  # @return [Core::Response]
651
756
  # The #data method of the response object returns
652
757
  # 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)
758
+ # * `:id` - (String)
759
+ # * `:status` - (String)
760
+ # * `:create_time` - (Time)
761
+ # * `:invalidation_batch` - (Hash)
762
+ # * `:paths` - (Hash)
763
+ # * `:quantity` - (Integer)
764
+ # * `:items` - (Array<String>)
765
+ # * `:caller_reference` - (String)
661
766
 
662
767
  # @!method get_streaming_distribution(options = {})
663
768
  # Calls the GET GetStreamingDistribution API operation.
664
769
  # @param [Hash] options
665
- # * +:id+ - *required* - (String) The streaming distribution's id.
770
+ # * `:id` - *required* - (String) The streaming distribution's id.
666
771
  # @return [Core::Response]
667
772
  # The #data method of the response object returns
668
773
  # 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)
774
+ # * `:id` - (String)
775
+ # * `:status` - (String)
776
+ # * `:last_modified_time` - (Time)
777
+ # * `:domain_name` - (String)
778
+ # * `:active_trusted_signers` - (Hash)
779
+ # * `:enabled` - (Boolean)
780
+ # * `:quantity` - (Integer)
781
+ # * `:items` - (Array<Hash>)
782
+ # * `:aws_account_number` - (String)
783
+ # * `:key_pair_ids` - (Hash)
784
+ # * `:quantity` - (Integer)
785
+ # * `:items` - (Array<String>)
786
+ # * `:streaming_distribution_config` - (Hash)
787
+ # * `:caller_reference` - (String)
788
+ # * `:s3_origin` - (Hash)
789
+ # * `:domain_name` - (String)
790
+ # * `:origin_access_identity` - (String)
791
+ # * `:aliases` - (Hash)
792
+ # * `:quantity` - (Integer)
793
+ # * `:items` - (Array<String>)
794
+ # * `:comment` - (String)
795
+ # * `:logging` - (Hash)
796
+ # * `:enabled` - (Boolean)
797
+ # * `:bucket` - (String)
798
+ # * `:prefix` - (String)
799
+ # * `:trusted_signers` - (Hash)
800
+ # * `:enabled` - (Boolean)
801
+ # * `:quantity` - (Integer)
802
+ # * `:items` - (Array<String>)
803
+ # * `:price_class` - (String)
804
+ # * `:enabled` - (Boolean)
699
805
 
700
806
  # @!method get_streaming_distribution_config(options = {})
701
807
  # Calls the GET GetStreamingDistributionConfig API operation.
702
808
  # @param [Hash] options
703
- # * +:id+ - *required* - (String) The streaming distribution's id.
809
+ # * `:id` - *required* - (String) The streaming distribution's id.
704
810
  # @return [Core::Response]
705
811
  # The #data method of the response object returns
706
812
  # 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)
813
+ # * `:caller_reference` - (String)
814
+ # * `:s3_origin` - (Hash)
815
+ # * `:domain_name` - (String)
816
+ # * `:origin_access_identity` - (String)
817
+ # * `:aliases` - (Hash)
818
+ # * `:quantity` - (Integer)
819
+ # * `:items` - (Array<String>)
820
+ # * `:comment` - (String)
821
+ # * `:logging` - (Hash)
822
+ # * `:enabled` - (Boolean)
823
+ # * `:bucket` - (String)
824
+ # * `:prefix` - (String)
825
+ # * `:trusted_signers` - (Hash)
826
+ # * `:enabled` - (Boolean)
827
+ # * `:quantity` - (Integer)
828
+ # * `:items` - (Array<String>)
829
+ # * `:price_class` - (String)
830
+ # * `:enabled` - (Boolean)
724
831
 
725
832
  # @!method list_cloud_front_origin_access_identities(options = {})
726
833
  # Calls the GET ListCloudFrontOriginAccessIdentities API operation.
727
834
  # @param [Hash] options
728
- # * +:marker+ - (String) Use this when paginating results to indicate
835
+ # * `:marker` - (String) Use this when paginating results to indicate
729
836
  # where to begin in your list of origin access identities. The results
730
837
  # include identities in the list that occur after the marker. To get
731
838
  # the next page of results, set the Marker to the value of the
732
839
  # NextMarker from the current page's response (which is also the ID of
733
840
  # the last identity on that page).
734
- # * +:max_items+ - (Integer) The maximum number of origin access
841
+ # * `:max_items` - (Integer) The maximum number of origin access
735
842
  # identities you want in the response body.
736
843
  # @return [Core::Response]
737
844
  # The #data method of the response object returns
738
845
  # 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)
846
+ # * `:marker` - (String)
847
+ # * `:next_marker` - (String)
848
+ # * `:max_items` - (Integer)
849
+ # * `:is_truncated` - (Boolean)
850
+ # * `:quantity` - (Integer)
851
+ # * `:items` - (Array<Hash>)
852
+ # * `:id` - (String)
853
+ # * `:s3_canonical_user_id` - (String)
854
+ # * `:comment` - (String)
748
855
 
749
856
  # @!method list_distributions(options = {})
750
857
  # Calls the GET ListDistributions API operation.
751
858
  # @param [Hash] options
752
- # * +:marker+ - (String) Use this when paginating results to indicate
859
+ # * `:marker` - (String) Use this when paginating results to indicate
753
860
  # where to begin in your list of distributions. The results include
754
861
  # distributions in the list that occur after the marker. To get the
755
862
  # next page of results, set the Marker to the value of the NextMarker
756
863
  # from the current page's response (which is also the ID of the last
757
864
  # distribution on that page).
758
- # * +:max_items+ - (Integer) The maximum number of distributions you want
865
+ # * `:max_items` - (Integer) The maximum number of distributions you want
759
866
  # in the response body.
760
867
  # @return [Core::Response]
761
868
  # The #data method of the response object returns
762
869
  # 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)
870
+ # * `:marker` - (String)
871
+ # * `:next_marker` - (String)
872
+ # * `:max_items` - (Integer)
873
+ # * `:is_truncated` - (Boolean)
874
+ # * `:quantity` - (Integer)
875
+ # * `:items` - (Array<Hash>)
876
+ # * `:id` - (String)
877
+ # * `:status` - (String)
878
+ # * `:last_modified_time` - (Time)
879
+ # * `:domain_name` - (String)
880
+ # * `:aliases` - (Hash)
881
+ # * `:quantity` - (Integer)
882
+ # * `:items` - (Array<String>)
883
+ # * `:origins` - (Hash)
884
+ # * `:quantity` - (Integer)
885
+ # * `:items` - (Array<Hash>)
886
+ # * `:id` - (String)
887
+ # * `:domain_name` - (String)
888
+ # * `:s3_origin_config` - (Hash)
889
+ # * `:origin_access_identity` - (String)
890
+ # * `:custom_origin_config` - (Hash)
891
+ # * `:http_port` - (Integer)
892
+ # * `:https_port` - (Integer)
893
+ # * `:origin_protocol_policy` - (String)
894
+ # * `:default_cache_behavior` - (Hash)
895
+ # * `:target_origin_id` - (String)
896
+ # * `:forwarded_values` - (Hash)
897
+ # * `:query_string` - (Boolean)
898
+ # * `:cookies` - (Hash)
899
+ # * `:forward` - (String)
900
+ # * `:whitelisted_names` - (Hash)
901
+ # * `:quantity` - (Integer)
902
+ # * `:items` - (Array<String>)
903
+ # * `:trusted_signers` - (Hash)
904
+ # * `:enabled` - (Boolean)
905
+ # * `:quantity` - (Integer)
906
+ # * `:items` - (Array<String>)
907
+ # * `:viewer_protocol_policy` - (String)
908
+ # * `:min_ttl` - (Integer)
909
+ # * `:cache_behaviors` - (Hash)
910
+ # * `:quantity` - (Integer)
911
+ # * `:items` - (Array<Hash>)
912
+ # * `:path_pattern` - (String)
913
+ # * `:target_origin_id` - (String)
914
+ # * `:forwarded_values` - (Hash)
915
+ # * `:query_string` - (Boolean)
916
+ # * `:cookies` - (Hash)
917
+ # * `:forward` - (String)
918
+ # * `:whitelisted_names` - (Hash)
919
+ # * `:quantity` - (Integer)
920
+ # * `:items` - (Array<String>)
921
+ # * `:trusted_signers` - (Hash)
922
+ # * `:enabled` - (Boolean)
923
+ # * `:quantity` - (Integer)
924
+ # * `:items` - (Array<String>)
925
+ # * `:viewer_protocol_policy` - (String)
926
+ # * `:min_ttl` - (Integer)
927
+ # * `:comment` - (String)
928
+ # * `:price_class` - (String)
929
+ # * `:enabled` - (Boolean)
812
930
 
813
931
  # @!method list_invalidations(options = {})
814
932
  # Calls the GET ListInvalidations API operation.
815
933
  # @param [Hash] options
816
- # * +:distribution_id+ - *required* - (String) The distribution's id.
817
- # * +:marker+ - (String) Use this parameter when paginating results to
934
+ # * `:distribution_id` - *required* - (String) The distribution's id.
935
+ # * `:marker` - (String) Use this parameter when paginating results to
818
936
  # indicate where to begin in your list of invalidation batches. Because
819
937
  # the results are returned in decreasing order from most recent to
820
938
  # oldest, the most recent results are on the first page, the second
@@ -822,63 +940,65 @@ module AWS
822
940
  # results, set the Marker to the value of the NextMarker from the
823
941
  # current page's response. This value is the same as the ID of the last
824
942
  # invalidation batch on that page.
825
- # * +:max_items+ - (Integer) The maximum number of invalidation batches
943
+ # * `:max_items` - (Integer) The maximum number of invalidation batches
826
944
  # you want in the response body.
827
945
  # @return [Core::Response]
828
946
  # The #data method of the response object returns
829
947
  # 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)
948
+ # * `:marker` - (String)
949
+ # * `:next_marker` - (String)
950
+ # * `:max_items` - (Integer)
951
+ # * `:is_truncated` - (Boolean)
952
+ # * `:quantity` - (Integer)
953
+ # * `:items` - (Array<Hash>)
954
+ # * `:id` - (String)
955
+ # * `:create_time` - (Time)
956
+ # * `:status` - (String)
838
957
 
839
958
  # @!method list_streaming_distributions(options = {})
840
959
  # Calls the GET ListStreamingDistributions API operation.
841
960
  # @param [Hash] options
842
- # * +:marker+ - (String) Use this when paginating results to indicate
961
+ # * `:marker` - (String) Use this when paginating results to indicate
843
962
  # where to begin in your list of streaming distributions. The results
844
963
  # include distributions in the list that occur after the marker. To get
845
964
  # the next page of results, set the Marker to the value of the
846
965
  # NextMarker from the current page's response (which is also the ID of
847
966
  # the last distribution on that page).
848
- # * +:max_items+ - (Integer) The maximum number of streaming
967
+ # * `:max_items` - (Integer) The maximum number of streaming
849
968
  # distributions you want in the response body.
850
969
  # @return [Core::Response]
851
970
  # The #data method of the response object returns
852
971
  # 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)
972
+ # * `:marker` - (String)
973
+ # * `:next_marker` - (String)
974
+ # * `:max_items` - (Integer)
975
+ # * `:is_truncated` - (Boolean)
976
+ # * `:quantity` - (Integer)
977
+ # * `:items` - (Array<Hash>)
978
+ # * `:id` - (String)
979
+ # * `:status` - (String)
980
+ # * `:last_modified_time` - (Time)
981
+ # * `:domain_name` - (String)
982
+ # * `:s3_origin` - (Hash)
983
+ # * `:domain_name` - (String)
984
+ # * `:origin_access_identity` - (String)
985
+ # * `:aliases` - (Hash)
986
+ # * `:quantity` - (Integer)
987
+ # * `:items` - (Array<String>)
988
+ # * `:trusted_signers` - (Hash)
989
+ # * `:enabled` - (Boolean)
990
+ # * `:quantity` - (Integer)
991
+ # * `:items` - (Array<String>)
992
+ # * `:comment` - (String)
993
+ # * `:price_class` - (String)
994
+ # * `:enabled` - (Boolean)
875
995
 
876
996
  # @!method update_cloud_front_origin_access_identity(options = {})
877
997
  # Calls the PUT UpdateCloudFrontOriginAccessIdentity API operation.
878
998
  # @param [Hash] options
879
- # * +:cloud_front_origin_access_identity_config+ - *required* - (Hash)
999
+ # * `:cloud_front_origin_access_identity_config` - *required* - (Hash)
880
1000
  # The identity's configuration information.
881
- # * +:caller_reference+ - *required* - (String) A unique number that
1001
+ # * `:caller_reference` - *required* - (String) A unique number that
882
1002
  # ensures the request can't be replayed. If the CallerReference is
883
1003
  # new (no matter the content of the
884
1004
  # CloudFrontOriginAccessIdentityConfig object), a new origin access
@@ -892,26 +1012,26 @@ module AWS
892
1012
  # CloudFrontOriginAccessIdentityConfig is different from the original
893
1013
  # request, CloudFront returns a
894
1014
  # CloudFrontOriginAccessIdentityAlreadyExists error.
895
- # * +:comment+ - *required* - (String) Any comments you want to include
1015
+ # * `:comment` - *required* - (String) Any comments you want to include
896
1016
  # 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
1017
+ # * `:id` - *required* - (String) The identity's id.
1018
+ # * `:if_match` - (String) The value of the ETag header you received when
899
1019
  # retrieving the identity's configuration. For example: E2QWRUHAPOMQZL.
900
1020
  # @return [Core::Response]
901
1021
  # The #data method of the response object returns
902
1022
  # 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)
1023
+ # * `:id` - (String)
1024
+ # * `:s3_canonical_user_id` - (String)
1025
+ # * `:cloud_front_origin_access_identity_config` - (Hash)
1026
+ # * `:caller_reference` - (String)
1027
+ # * `:comment` - (String)
908
1028
 
909
1029
  # @!method update_distribution(options = {})
910
1030
  # Calls the PUT UpdateDistribution API operation.
911
1031
  # @param [Hash] options
912
- # * +:distribution_config+ - *required* - (Hash) The distribution's
1032
+ # * `:distribution_config` - *required* - (Hash) The distribution's
913
1033
  # configuration information.
914
- # * +:caller_reference+ - *required* - (String) A unique number that
1034
+ # * `:caller_reference` - *required* - (String) A unique number that
915
1035
  # ensures the request can't be replayed. If the CallerReference is
916
1036
  # new (no matter the content of the DistributionConfig object), a new
917
1037
  # distribution is created. If the CallerReference is a value you
@@ -923,15 +1043,15 @@ module AWS
923
1043
  # to create a distribution but the content of the DistributionConfig
924
1044
  # is different from the original request, CloudFront returns a
925
1045
  # DistributionAlreadyExists error.
926
- # * +:aliases+ - *required* - (Hash) A complex type that contains
1046
+ # * `:aliases` - *required* - (Hash) A complex type that contains
927
1047
  # information about CNAMEs (alternate domain names), if any, for this
928
1048
  # distribution.
929
- # * +:quantity+ - *required* - (Integer) The number of CNAMEs, if
1049
+ # * `:quantity` - *required* - (Integer) The number of CNAMEs, if
930
1050
  # any, for this distribution.
931
- # * +:items+ - (Array<String>) Optional: A complex type that contains
1051
+ # * `:items` - (Array<String>) Optional: A complex type that contains
932
1052
  # CNAME elements, if any, for this distribution. If Quantity is 0,
933
1053
  # you can omit Items.
934
- # * +:default_root_object+ - *required* - (String) The object that you
1054
+ # * `:default_root_object` - *required* - (String) The object that you
935
1055
  # want CloudFront to return (for example, index.html) when an end
936
1056
  # user requests the root URL for your distribution
937
1057
  # (http://www.example.com) instead of an object in your distribution
@@ -943,28 +1063,28 @@ module AWS
943
1063
  # distribution configuration and include an empty DefaultRootObject
944
1064
  # element. To replace the default root object, update the
945
1065
  # distribution configuration and specify the new object.
946
- # * +:origins+ - *required* - (Hash) A complex type that contains
1066
+ # * `:origins` - *required* - (Hash) A complex type that contains
947
1067
  # information about origins for this distribution.
948
- # * +:quantity+ - *required* - (Integer) The number of origins for
1068
+ # * `:quantity` - *required* - (Integer) The number of origins for
949
1069
  # this distribution.
950
- # * +:items+ - (Array<Hash>) A complex type that contains origins for
1070
+ # * `:items` - (Array<Hash>) A complex type that contains origins for
951
1071
  # this distribution.
952
- # * +:id+ - *required* - (String) A unique identifier for the
1072
+ # * `:id` - *required* - (String) A unique identifier for the
953
1073
  # origin. The value of Id must be unique within the distribution.
954
1074
  # You use the value of Id when you create a cache behavior. The
955
1075
  # Id identifies the origin that CloudFront routes a request to
956
1076
  # when the request matches the path pattern for that cache
957
1077
  # behavior.
958
- # * +:domain_name+ - *required* - (String) Amazon S3 origins: The
1078
+ # * `:domain_name` - *required* - (String) Amazon S3 origins: The
959
1079
  # DNS name of the Amazon S3 bucket from which you want CloudFront
960
1080
  # to get objects for this origin, for example,
961
1081
  # myawsbucket.s3.amazonaws.com. Custom origins: The DNS domain
962
1082
  # name for the HTTP server from which you want CloudFront to get
963
1083
  # objects for this origin, for example, www.example.com.
964
- # * +:s3_origin_config+ - (Hash) A complex type that contains
1084
+ # * `:s3_origin_config` - (Hash) A complex type that contains
965
1085
  # information about the Amazon S3 origin. If the origin is a
966
1086
  # custom origin, use the CustomOriginConfig element instead.
967
- # * +:origin_access_identity+ - *required* - (String) The
1087
+ # * `:origin_access_identity` - *required* - (String) The
968
1088
  # CloudFront origin access identity to associate with the
969
1089
  # origin. Use an origin access identity to configure the origin
970
1090
  # so that end users can only access objects in an Amazon S3
@@ -976,31 +1096,54 @@ module AWS
976
1096
  # include an empty OriginAccessIdentity element. To replace the
977
1097
  # origin access identity, update the distribution configuration
978
1098
  # and specify the new origin access identity.
979
- # * +:custom_origin_config+ - (Hash) A complex type that contains
1099
+ # * `:custom_origin_config` - (Hash) A complex type that contains
980
1100
  # information about a custom origin. If the origin is an Amazon
981
1101
  # S3 bucket, use the S3OriginConfig element instead.
982
- # * +:http_port+ - *required* - (Integer) The HTTP port the
1102
+ # * `:http_port` - *required* - (Integer) The HTTP port the
983
1103
  # custom origin listens on.
984
- # * +:https_port+ - *required* - (Integer) The HTTPS port the
1104
+ # * `:https_port` - *required* - (Integer) The HTTPS port the
985
1105
  # 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
1106
+ # * `:origin_protocol_policy` - *required* - (String) The origin
1107
+ # protocol policy to apply to your origin. Valid values
1108
+ # include:
1109
+ # * `http-only`
1110
+ # * `match-viewer`
1111
+ # * `:default_cache_behavior` - *required* - (Hash) A complex type that
989
1112
  # describes the default cache behavior if you do not specify a
990
1113
  # CacheBehavior element or if files don't match any of the values of
991
1114
  # PathPattern in CacheBehavior elements.You must create exactly one
992
1115
  # default cache behavior.
993
- # * +:target_origin_id+ - *required* - (String) The value of ID for
1116
+ # * `:target_origin_id` - *required* - (String) The value of ID for
994
1117
  # the origin that you want CloudFront to route requests to when a
995
1118
  # request matches the path pattern either for a cache behavior or
996
1119
  # 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
1120
+ # * `:forwarded_values` - *required* - (Hash) A complex type that
1121
+ # specifies how CloudFront handles query strings and cookies.
1122
+ # * `:query_string` - *required* - (Boolean) Indicates whether you
1000
1123
  # want CloudFront to forward query strings to the origin that is
1001
1124
  # associated with this cache behavior. If so, specify +true+ ; if
1002
1125
  # not, specify +false+ .
1003
- # * +:trusted_signers+ - *required* - (Hash) A complex type that
1126
+ # * `:cookies` - *required* - (Hash) A complex type that specifies
1127
+ # how CloudFront handles cookies.
1128
+ # * `:forward` - *required* - (String) Use this element to
1129
+ # specify whether you want CloudFront to forward cookies to the
1130
+ # origin that is associated with this cache behavior. You can
1131
+ # specify all, none or whitelist. If you choose All, CloudFront
1132
+ # forwards all cookies regardless of how many your application
1133
+ # uses. Valid values include:
1134
+ # * `none`
1135
+ # * `whitelist`
1136
+ # * `all`
1137
+ # * `:whitelisted_names` - (Hash) A complex type that specifies
1138
+ # the whitelisted cookies, if any, that you want CloudFront to
1139
+ # forward to your origin that is associated with this cache
1140
+ # behavior.
1141
+ # * `:quantity` - *required* - (Integer) The number of
1142
+ # whitelisted cookies for this cache behavior.
1143
+ # * `:items` - (Array<String>) Optional: A complex type that
1144
+ # contains whitelisted cookies for this cache behavior. If
1145
+ # Quantity is 0, you can omit Items.
1146
+ # * `:trusted_signers` - *required* - (Hash) A complex type that
1004
1147
  # specifies the AWS accounts, if any, that you want to allow to
1005
1148
  # create signed URLs for private content. If you want to require
1006
1149
  # signed URLs in requests for objects in the target origin that
@@ -1015,34 +1158,36 @@ module AWS
1015
1158
  # +false+ ), change Quantity as applicable, and specify all of the
1016
1159
  # trusted signers that you want to include in the updated
1017
1160
  # distribution.
1018
- # * +:enabled+ - *required* - (Boolean) Specifies whether you want
1161
+ # * `:enabled` - *required* - (Boolean) Specifies whether you want
1019
1162
  # to require end users to use signed URLs to access the files
1020
1163
  # specified by PathPattern and TargetOriginId.
1021
- # * +:quantity+ - *required* - (Integer) The number of trusted
1164
+ # * `:quantity` - *required* - (Integer) The number of trusted
1022
1165
  # signers for this cache behavior.
1023
- # * +:items+ - (Array<String>) Optional: A complex type that
1166
+ # * `:items` - (Array<String>) Optional: A complex type that
1024
1167
  # contains trusted signers for this cache behavior. If Quantity
1025
1168
  # is 0, you can omit Items.
1026
- # * +:viewer_protocol_policy+ - *required* - (String) Use this
1169
+ # * `:viewer_protocol_policy` - *required* - (String) Use this
1027
1170
  # element to specify the protocol that users can use to access the
1028
1171
  # files in the origin specified by TargetOriginId when a request
1029
1172
  # matches the path pattern in PathPattern. If you want CloudFront
1030
1173
  # to allow end users to use any available protocol, specify
1031
1174
  # allow-all. If you want CloudFront to require HTTPS, specify
1032
- # https.
1033
- # * +:min_ttl+ - *required* - (Integer) The minimum amount of time
1175
+ # https. Valid values include:
1176
+ # * `allow-all`
1177
+ # * `https-only`
1178
+ # * `:min_ttl` - *required* - (Integer) The minimum amount of time
1034
1179
  # that you want objects to stay in CloudFront caches before
1035
1180
  # CloudFront queries your origin to see whether the object has been
1036
1181
  # updated.You can specify a value from 0 to 3,153,600,000 seconds
1037
1182
  # (100 years).
1038
- # * +:cache_behaviors+ - *required* - (Hash) A complex type that
1183
+ # * `:cache_behaviors` - *required* - (Hash) A complex type that
1039
1184
  # contains zero or more CacheBehavior elements.
1040
- # * +:quantity+ - *required* - (Integer) The number of cache
1185
+ # * `:quantity` - *required* - (Integer) The number of cache
1041
1186
  # behaviors for this distribution.
1042
- # * +:items+ - (Array<Hash>) Optional: A complex type that contains
1187
+ # * `:items` - (Array<Hash>) Optional: A complex type that contains
1043
1188
  # cache behaviors for this distribution. If Quantity is 0, you can
1044
1189
  # omit Items.
1045
- # * +:path_pattern+ - *required* - (String) The pattern (for
1190
+ # * `:path_pattern` - *required* - (String) The pattern (for
1046
1191
  # example, images/*.jpg) that specifies which requests you want
1047
1192
  # this cache behavior to apply to. When CloudFront receives an
1048
1193
  # end-user request, the requested path is compared with path
@@ -1051,17 +1196,37 @@ module AWS
1051
1196
  # behavior is * and cannot be changed. If the request for an
1052
1197
  # object does not match the path pattern for any cache behaviors,
1053
1198
  # CloudFront applies the behavior in the default cache behavior.
1054
- # * +:target_origin_id+ - *required* - (String) The value of ID for
1199
+ # * `:target_origin_id` - *required* - (String) The value of ID for
1055
1200
  # the origin that you want CloudFront to route requests to when a
1056
1201
  # request matches the path pattern either for a cache behavior or
1057
1202
  # 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
1203
+ # * `:forwarded_values` - *required* - (Hash) A complex type that
1204
+ # specifies how CloudFront handles query strings and cookies.
1205
+ # * `:query_string` - *required* - (Boolean) Indicates whether
1061
1206
  # you want CloudFront to forward query strings to the origin
1062
1207
  # that is associated with this cache behavior. If so, specify
1063
1208
  # +true+ ; if not, specify +false+ .
1064
- # * +:trusted_signers+ - *required* - (Hash) A complex type that
1209
+ # * `:cookies` - *required* - (Hash) A complex type that
1210
+ # specifies how CloudFront handles cookies.
1211
+ # * `:forward` - *required* - (String) Use this element to
1212
+ # specify whether you want CloudFront to forward cookies to
1213
+ # the origin that is associated with this cache behavior. You
1214
+ # can specify all, none or whitelist. If you choose All,
1215
+ # CloudFront forwards all cookies regardless of how many your
1216
+ # application uses. Valid values include:
1217
+ # * `none`
1218
+ # * `whitelist`
1219
+ # * `all`
1220
+ # * `:whitelisted_names` - (Hash) A complex type that specifies
1221
+ # the whitelisted cookies, if any, that you want CloudFront
1222
+ # to forward to your origin that is associated with this
1223
+ # cache behavior.
1224
+ # * `:quantity` - *required* - (Integer) The number of
1225
+ # whitelisted cookies for this cache behavior.
1226
+ # * `:items` - (Array<String>) Optional: A complex type that
1227
+ # contains whitelisted cookies for this cache behavior. If
1228
+ # Quantity is 0, you can omit Items.
1229
+ # * `:trusted_signers` - *required* - (Hash) A complex type that
1065
1230
  # specifies the AWS accounts, if any, that you want to allow to
1066
1231
  # create signed URLs for private content. If you want to require
1067
1232
  # signed URLs in requests for objects in the target origin that
@@ -1076,120 +1241,148 @@ module AWS
1076
1241
  # +false+ ), change Quantity as applicable, and specify all of
1077
1242
  # the trusted signers that you want to include in the updated
1078
1243
  # distribution.
1079
- # * +:enabled+ - *required* - (Boolean) Specifies whether you
1244
+ # * `:enabled` - *required* - (Boolean) Specifies whether you
1080
1245
  # want to require end users to use signed URLs to access the
1081
1246
  # files specified by PathPattern and TargetOriginId.
1082
- # * +:quantity+ - *required* - (Integer) The number of trusted
1247
+ # * `:quantity` - *required* - (Integer) The number of trusted
1083
1248
  # signers for this cache behavior.
1084
- # * +:items+ - (Array<String>) Optional: A complex type that
1249
+ # * `:items` - (Array<String>) Optional: A complex type that
1085
1250
  # contains trusted signers for this cache behavior. If Quantity
1086
1251
  # is 0, you can omit Items.
1087
- # * +:viewer_protocol_policy+ - *required* - (String) Use this
1252
+ # * `:viewer_protocol_policy` - *required* - (String) Use this
1088
1253
  # element to specify the protocol that users can use to access
1089
1254
  # the files in the origin specified by TargetOriginId when a
1090
1255
  # request matches the path pattern in PathPattern. If you want
1091
1256
  # CloudFront to allow end users to use any available protocol,
1092
1257
  # specify allow-all. If you want CloudFront to require HTTPS,
1093
- # specify https.
1094
- # * +:min_ttl+ - *required* - (Integer) The minimum amount of time
1258
+ # specify https. Valid values include:
1259
+ # * `allow-all`
1260
+ # * `https-only`
1261
+ # * `:min_ttl` - *required* - (Integer) The minimum amount of time
1095
1262
  # that you want objects to stay in CloudFront caches before
1096
1263
  # CloudFront queries your origin to see whether the object has
1097
1264
  # been updated.You can specify a value from 0 to 3,153,600,000
1098
1265
  # seconds (100 years).
1099
- # * +:comment+ - *required* - (String) Any comments you want to include
1266
+ # * `:comment` - *required* - (String) Any comments you want to include
1100
1267
  # about the distribution.
1101
- # * +:logging+ - *required* - (Hash) A complex type that controls
1268
+ # * `:logging` - *required* - (Hash) A complex type that controls
1102
1269
  # whether access logs are written for the distribution.
1103
- # * +:enabled+ - *required* - (Boolean) Specifies whether you want
1270
+ # * `:enabled` - *required* - (Boolean) Specifies whether you want
1104
1271
  # CloudFront to save access logs to an Amazon S3 bucket. If you do
1105
1272
  # not want to enable logging when you create a distribution or if
1106
1273
  # you want to disable logging for an existing distribution, specify
1107
1274
  # +false+ for Enabled, and specify empty Bucket and Prefix
1108
1275
  # 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
1276
+ # values for Bucket, prefix and IncludeCookies, the values are
1277
+ # automatically deleted.
1278
+ # * `:include_cookies` - *required* - (Boolean) Specifies whether you
1279
+ # want CloudFront to include cookies in access logs, specify +true+
1280
+ # for IncludeCookies. If you choose to include cookies in logs,
1281
+ # CloudFront logs all cookies regardless of how you configure the
1282
+ # cache behaviors for this distribution. If you do not want to
1283
+ # include cookies when you create a distribution or if you want to
1284
+ # disable include cookies for an existing distribution, specify
1285
+ # +false+ for IncludeCookies.
1286
+ # * `:bucket` - *required* - (String) The Amazon S3 bucket to store
1112
1287
  # the access logs in, for example, myawslogbucket.s3.amazonaws.com.
1113
- # * +:prefix+ - *required* - (String) An optional string that you
1288
+ # * `:prefix` - *required* - (String) An optional string that you
1114
1289
  # want CloudFront to prefix to the access log filenames for this
1115
1290
  # distribution, for example, myprefix/. If you want to enable
1116
1291
  # logging, but you do not want to specify a prefix, you still must
1117
1292
  # include an empty Prefix element in the Logging element.
1118
- # * +:enabled+ - *required* - (Boolean) Whether the distribution is
1293
+ # * `:price_class` - *required* - (String) A complex type that contains
1294
+ # information about price class for this distribution. Valid values
1295
+ # include:
1296
+ # * `PriceClass_100`
1297
+ # * `PriceClass_200`
1298
+ # * `PriceClass_All`
1299
+ # * `:enabled` - *required* - (Boolean) Whether the distribution is
1119
1300
  # 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
1301
+ # * `:id` - *required* - (String) The distribution's id.
1302
+ # * `:if_match` - (String) The value of the ETag header you received when
1122
1303
  # retrieving the distribution's configuration. For example:
1123
1304
  # E2QWRUHAPOMQZL.
1124
1305
  # @return [Core::Response]
1125
1306
  # The #data method of the response object returns
1126
1307
  # 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)
1308
+ # * `:id` - (String)
1309
+ # * `:status` - (String)
1310
+ # * `:last_modified_time` - (Time)
1311
+ # * `:in_progress_invalidation_batches` - (Integer)
1312
+ # * `:domain_name` - (String)
1313
+ # * `:active_trusted_signers` - (Hash)
1314
+ # * `:enabled` - (Boolean)
1315
+ # * `:quantity` - (Integer)
1316
+ # * `:items` - (Array<Hash>)
1317
+ # * `:aws_account_number` - (String)
1318
+ # * `:key_pair_ids` - (Hash)
1319
+ # * `:quantity` - (Integer)
1320
+ # * `:items` - (Array<String>)
1321
+ # * `:distribution_config` - (Hash)
1322
+ # * `:caller_reference` - (String)
1323
+ # * `:aliases` - (Hash)
1324
+ # * `:quantity` - (Integer)
1325
+ # * `:items` - (Array<String>)
1326
+ # * `:default_root_object` - (String)
1327
+ # * `:origins` - (Hash)
1328
+ # * `:quantity` - (Integer)
1329
+ # * `:items` - (Array<Hash>)
1330
+ # * `:id` - (String)
1331
+ # * `:domain_name` - (String)
1332
+ # * `:s3_origin_config` - (Hash)
1333
+ # * `:origin_access_identity` - (String)
1334
+ # * `:custom_origin_config` - (Hash)
1335
+ # * `:http_port` - (Integer)
1336
+ # * `:https_port` - (Integer)
1337
+ # * `:origin_protocol_policy` - (String)
1338
+ # * `:default_cache_behavior` - (Hash)
1339
+ # * `:target_origin_id` - (String)
1340
+ # * `:forwarded_values` - (Hash)
1341
+ # * `:query_string` - (Boolean)
1342
+ # * `:cookies` - (Hash)
1343
+ # * `:forward` - (String)
1344
+ # * `:whitelisted_names` - (Hash)
1345
+ # * `:quantity` - (Integer)
1346
+ # * `:items` - (Array<String>)
1347
+ # * `:trusted_signers` - (Hash)
1348
+ # * `:enabled` - (Boolean)
1349
+ # * `:quantity` - (Integer)
1350
+ # * `:items` - (Array<String>)
1351
+ # * `:viewer_protocol_policy` - (String)
1352
+ # * `:min_ttl` - (Integer)
1353
+ # * `:cache_behaviors` - (Hash)
1354
+ # * `:quantity` - (Integer)
1355
+ # * `:items` - (Array<Hash>)
1356
+ # * `:path_pattern` - (String)
1357
+ # * `:target_origin_id` - (String)
1358
+ # * `:forwarded_values` - (Hash)
1359
+ # * `:query_string` - (Boolean)
1360
+ # * `:cookies` - (Hash)
1361
+ # * `:forward` - (String)
1362
+ # * `:whitelisted_names` - (Hash)
1363
+ # * `:quantity` - (Integer)
1364
+ # * `:items` - (Array<String>)
1365
+ # * `:trusted_signers` - (Hash)
1366
+ # * `:enabled` - (Boolean)
1367
+ # * `:quantity` - (Integer)
1368
+ # * `:items` - (Array<String>)
1369
+ # * `:viewer_protocol_policy` - (String)
1370
+ # * `:min_ttl` - (Integer)
1371
+ # * `:comment` - (String)
1372
+ # * `:logging` - (Hash)
1373
+ # * `:enabled` - (Boolean)
1374
+ # * `:include_cookies` - (Boolean)
1375
+ # * `:bucket` - (String)
1376
+ # * `:prefix` - (String)
1377
+ # * `:price_class` - (String)
1378
+ # * `:enabled` - (Boolean)
1186
1379
 
1187
1380
  # @!method update_streaming_distribution(options = {})
1188
1381
  # Calls the PUT UpdateStreamingDistribution API operation.
1189
1382
  # @param [Hash] options
1190
- # * +:streaming_distribution_config+ - *required* - (Hash) The streaming
1383
+ # * `:streaming_distribution_config` - *required* - (Hash) The streaming
1191
1384
  # distribution's configuration information.
1192
- # * +:caller_reference+ - *required* - (String) A unique number that
1385
+ # * `:caller_reference` - *required* - (String) A unique number that
1193
1386
  # ensures the request can't be replayed. If the CallerReference is
1194
1387
  # new (no matter the content of the StreamingDistributionConfig
1195
1388
  # object), a new streaming distribution is created. If the
@@ -1202,41 +1395,42 @@ module AWS
1202
1395
  # distribution but the content of the StreamingDistributionConfig is
1203
1396
  # different from the original request, CloudFront returns a
1204
1397
  # DistributionAlreadyExists error.
1205
- # * +:s3_origin+ - *required* - (Hash) A complex type that contains
1398
+ # * `:s3_origin` - *required* - (Hash) A complex type that contains
1206
1399
  # information about the Amazon S3 bucket from which you want
1207
1400
  # CloudFront to get your media files for distribution.
1208
- # * +:domain_name+ - *required* - (String) The DNS name of the S3
1401
+ # * `:domain_name` - *required* - (String) The DNS name of the S3
1209
1402
  # origin.
1210
- # * +:origin_access_identity+ - *required* - (String) Your S3
1403
+ # * `:origin_access_identity` - *required* - (String) Your S3
1211
1404
  # origin's origin access identity.
1212
- # * +:aliases+ - *required* - (Hash) A complex type that contains
1405
+ # * `:aliases` - *required* - (Hash) A complex type that contains
1213
1406
  # information about CNAMEs (alternate domain names), if any, for this
1214
1407
  # streaming distribution.
1215
- # * +:quantity+ - *required* - (Integer) The number of CNAMEs, if
1408
+ # * `:quantity` - *required* - (Integer) The number of CNAMEs, if
1216
1409
  # any, for this distribution.
1217
- # * +:items+ - (Array<String>) Optional: A complex type that contains
1410
+ # * `:items` - (Array<String>) Optional: A complex type that contains
1218
1411
  # CNAME elements, if any, for this distribution. If Quantity is 0,
1219
1412
  # you can omit Items.
1220
- # * +:comment+ - *required* - (String) Any comments you want to include
1413
+ # * `:comment` - *required* - (String) Any comments you want to include
1221
1414
  # about the streaming distribution.
1222
- # * +:logging+ - *required* - (Hash) A complex type that controls
1415
+ # * `:logging` - *required* - (Hash) A complex type that controls
1223
1416
  # whether access logs are written for the streaming distribution.
1224
- # * +:enabled+ - *required* - (Boolean) Specifies whether you want
1417
+ # * `:enabled` - *required* - (Boolean) Specifies whether you want
1225
1418
  # 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
1419
+ # not want to enable logging when you create a streaming
1420
+ # distribution or if you want to disable logging for an existing
1421
+ # streaming distribution, specify +false+ for Enabled, and specify
1422
+ # empty Bucket and Prefix elements. If you specify +false+ for
1423
+ # Enabled but you specify values for Bucket and Prefix, the values
1424
+ # are automatically deleted.
1425
+ # * `:bucket` - *required* - (String) The Amazon S3 bucket to store
1233
1426
  # the access logs in, for example, myawslogbucket.s3.amazonaws.com.
1234
- # * +:prefix+ - *required* - (String) An optional string that you
1427
+ # * `:prefix` - *required* - (String) An optional string that you
1235
1428
  # 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
1429
+ # streaming distribution, for example, myprefix/. If you want to
1430
+ # enable logging, but you do not want to specify a prefix, you
1431
+ # still must include an empty Prefix element in the Logging
1432
+ # element.
1433
+ # * `:trusted_signers` - *required* - (Hash) A complex type that
1240
1434
  # specifies the AWS accounts, if any, that you want to allow to
1241
1435
  # create signed URLs for private content. If you want to require
1242
1436
  # signed URLs in requests for objects in the target origin that match
@@ -1250,57 +1444,64 @@ module AWS
1250
1444
  # change Enabled to +true+ (if it's currently +false+ ), change
1251
1445
  # Quantity as applicable, and specify all of the trusted signers that
1252
1446
  # you want to include in the updated distribution.
1253
- # * +:enabled+ - *required* - (Boolean) Specifies whether you want to
1447
+ # * `:enabled` - *required* - (Boolean) Specifies whether you want to
1254
1448
  # require end users to use signed URLs to access the files
1255
1449
  # specified by PathPattern and TargetOriginId.
1256
- # * +:quantity+ - *required* - (Integer) The number of trusted
1450
+ # * `:quantity` - *required* - (Integer) The number of trusted
1257
1451
  # signers for this cache behavior.
1258
- # * +:items+ - (Array<String>) Optional: A complex type that contains
1452
+ # * `:items` - (Array<String>) Optional: A complex type that contains
1259
1453
  # trusted signers for this cache behavior. If Quantity is 0, you
1260
1454
  # can omit Items.
1261
- # * +:enabled+ - *required* - (Boolean) Whether the streaming
1455
+ # * `:price_class` - *required* - (String) A complex type that contains
1456
+ # information about price class for this streaming distribution.
1457
+ # Valid values include:
1458
+ # * `PriceClass_100`
1459
+ # * `PriceClass_200`
1460
+ # * `PriceClass_All`
1461
+ # * `:enabled` - *required* - (Boolean) Whether the streaming
1262
1462
  # 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
1463
+ # * `:id` - *required* - (String) The streaming distribution's id.
1464
+ # * `:if_match` - (String) The value of the ETag header you received when
1265
1465
  # retrieving the streaming distribution's configuration. For example:
1266
1466
  # E2QWRUHAPOMQZL.
1267
1467
  # @return [Core::Response]
1268
1468
  # The #data method of the response object returns
1269
1469
  # 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)
1470
+ # * `:id` - (String)
1471
+ # * `:status` - (String)
1472
+ # * `:last_modified_time` - (Time)
1473
+ # * `:domain_name` - (String)
1474
+ # * `:active_trusted_signers` - (Hash)
1475
+ # * `:enabled` - (Boolean)
1476
+ # * `:quantity` - (Integer)
1477
+ # * `:items` - (Array<Hash>)
1478
+ # * `:aws_account_number` - (String)
1479
+ # * `:key_pair_ids` - (Hash)
1480
+ # * `:quantity` - (Integer)
1481
+ # * `:items` - (Array<String>)
1482
+ # * `:streaming_distribution_config` - (Hash)
1483
+ # * `:caller_reference` - (String)
1484
+ # * `:s3_origin` - (Hash)
1485
+ # * `:domain_name` - (String)
1486
+ # * `:origin_access_identity` - (String)
1487
+ # * `:aliases` - (Hash)
1488
+ # * `:quantity` - (Integer)
1489
+ # * `:items` - (Array<String>)
1490
+ # * `:comment` - (String)
1491
+ # * `:logging` - (Hash)
1492
+ # * `:enabled` - (Boolean)
1493
+ # * `:bucket` - (String)
1494
+ # * `:prefix` - (String)
1495
+ # * `:trusted_signers` - (Hash)
1496
+ # * `:enabled` - (Boolean)
1497
+ # * `:quantity` - (Integer)
1498
+ # * `:items` - (Array<String>)
1499
+ # * `:price_class` - (String)
1500
+ # * `:enabled` - (Boolean)
1300
1501
 
1301
1502
  # end client methods #
1302
1503
 
1303
- define_client_methods('2012-05-05')
1504
+ define_client_methods('2012-07-01')
1304
1505
 
1305
1506
  end
1306
1507
  end