aws-sdk 1.9.0 → 1.9.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (293) hide show
  1. data/.yardopts +2 -2
  2. data/lib/aws/auto_scaling/activity.rb +1 -1
  3. data/lib/aws/auto_scaling/activity_collection.rb +1 -1
  4. data/lib/aws/auto_scaling/client.rb +1 -1
  5. data/lib/aws/auto_scaling/group_options.rb +1 -1
  6. data/lib/aws/auto_scaling/instance.rb +1 -1
  7. data/lib/aws/auto_scaling/launch_configuration.rb +1 -1
  8. data/lib/aws/auto_scaling/notification_configuration.rb +2 -2
  9. data/lib/aws/auto_scaling/notification_configuration_collection.rb +1 -1
  10. data/lib/aws/auto_scaling/request.rb +1 -1
  11. data/lib/aws/auto_scaling/scaling_policy.rb +1 -1
  12. data/lib/aws/auto_scaling/scaling_policy_options.rb +1 -1
  13. data/lib/aws/auto_scaling/scheduled_action.rb +1 -1
  14. data/lib/aws/auto_scaling/scheduled_action_collection.rb +1 -1
  15. data/lib/aws/auto_scaling/tag.rb +1 -1
  16. data/lib/aws/auto_scaling/tag_collection.rb +1 -1
  17. data/lib/aws/cloud_formation/client.rb +1 -1
  18. data/lib/aws/cloud_formation/request.rb +1 -1
  19. data/lib/aws/cloud_formation/stack.rb +1 -1
  20. data/lib/aws/cloud_formation/stack_collection.rb +1 -1
  21. data/lib/aws/cloud_formation/stack_event.rb +1 -1
  22. data/lib/aws/cloud_formation/stack_options.rb +1 -1
  23. data/lib/aws/cloud_formation/stack_output.rb +1 -1
  24. data/lib/aws/cloud_formation/stack_resource.rb +1 -1
  25. data/lib/aws/cloud_formation/stack_summary_collection.rb +1 -1
  26. data/lib/aws/cloud_front/client.rb +1 -1
  27. data/lib/aws/cloud_front/request.rb +1 -1
  28. data/lib/aws/cloud_search/client.rb +1 -1
  29. data/lib/aws/cloud_search/request.rb +1 -1
  30. data/lib/aws/cloud_watch/alarm.rb +1 -1
  31. data/lib/aws/cloud_watch/alarm_history_item.rb +1 -1
  32. data/lib/aws/cloud_watch/alarm_history_item_collection.rb +1 -1
  33. data/lib/aws/cloud_watch/client.rb +1 -1
  34. data/lib/aws/cloud_watch/metric_alarm_collection.rb +1 -1
  35. data/lib/aws/cloud_watch/metric_collection.rb +1 -1
  36. data/lib/aws/cloud_watch/request.rb +1 -1
  37. data/lib/aws/core.rb +5 -5
  38. data/lib/aws/core/cacheable.rb +5 -5
  39. data/lib/aws/core/client.rb +11 -11
  40. data/lib/aws/core/configuration.rb +4 -4
  41. data/lib/aws/core/credential_providers.rb +3 -3
  42. data/lib/aws/core/data.rb +4 -4
  43. data/lib/aws/core/http/connection_pool.rb +6 -5
  44. data/lib/aws/core/http/curb_handler.rb +1 -1
  45. data/lib/aws/core/http/handler.rb +1 -1
  46. data/lib/aws/core/http/net_http_handler.rb +3 -2
  47. data/lib/aws/core/http/patch.rb +2 -2
  48. data/lib/aws/core/http/request.rb +8 -8
  49. data/lib/aws/core/indifferent_hash.rb +1 -1
  50. data/lib/aws/core/inflection.rb +1 -1
  51. data/lib/aws/core/json_parser.rb +1 -1
  52. data/lib/aws/core/json_request_builder.rb +1 -1
  53. data/lib/aws/core/json_response_parser.rb +1 -1
  54. data/lib/aws/core/lazy_error_classes.rb +1 -1
  55. data/lib/aws/core/log_formatter.rb +1 -1
  56. data/lib/aws/core/managed_file.rb +1 -1
  57. data/lib/aws/core/meta_utils.rb +1 -1
  58. data/lib/aws/core/model.rb +2 -2
  59. data/lib/aws/core/naming.rb +1 -1
  60. data/lib/aws/core/option_grammar.rb +17 -17
  61. data/lib/aws/core/policy.rb +32 -32
  62. data/lib/aws/core/query_error_parser.rb +1 -1
  63. data/lib/aws/core/query_request_builder.rb +1 -1
  64. data/lib/aws/core/query_response_parser.rb +1 -1
  65. data/lib/aws/core/region_collection.rb +3 -3
  66. data/lib/aws/core/resource.rb +25 -25
  67. data/lib/aws/core/resource_cache.rb +1 -1
  68. data/lib/aws/core/response.rb +4 -4
  69. data/lib/aws/core/response_cache.rb +1 -1
  70. data/lib/aws/core/rest_error_parser.rb +1 -1
  71. data/lib/aws/core/rest_request_builder.rb +1 -1
  72. data/lib/aws/core/rest_response_parser.rb +1 -1
  73. data/lib/aws/core/service_interface.rb +2 -2
  74. data/lib/aws/core/xml/frame_stack.rb +1 -1
  75. data/lib/aws/data_pipeline/client.rb +1 -1
  76. data/lib/aws/data_pipeline/request.rb +1 -1
  77. data/lib/aws/direct_connect/client.rb +1 -1
  78. data/lib/aws/direct_connect/errors.rb +1 -1
  79. data/lib/aws/direct_connect/request.rb +1 -1
  80. data/lib/aws/dynamo_db/attribute_collection.rb +3 -3
  81. data/lib/aws/dynamo_db/item.rb +2 -2
  82. data/lib/aws/dynamo_db/item_collection.rb +5 -5
  83. data/lib/aws/dynamo_db/keys.rb +1 -1
  84. data/lib/aws/dynamo_db/request.rb +1 -1
  85. data/lib/aws/dynamo_db/resource.rb +1 -1
  86. data/lib/aws/dynamo_db/table.rb +1 -1
  87. data/lib/aws/dynamo_db/table_collection.rb +1 -1
  88. data/lib/aws/dynamo_db/types.rb +1 -1
  89. data/lib/aws/ec2/attachment.rb +1 -1
  90. data/lib/aws/ec2/attachment_collection.rb +1 -1
  91. data/lib/aws/ec2/availability_zone_collection.rb +1 -1
  92. data/lib/aws/ec2/block_device_mappings.rb +2 -2
  93. data/lib/aws/ec2/client.rb +1 -1
  94. data/lib/aws/ec2/config_transform.rb +1 -1
  95. data/lib/aws/ec2/customer_gateway.rb +1 -1
  96. data/lib/aws/ec2/dhcp_options.rb +1 -1
  97. data/lib/aws/ec2/elastic_ip.rb +4 -4
  98. data/lib/aws/ec2/errors.rb +1 -1
  99. data/lib/aws/ec2/export_task.rb +1 -1
  100. data/lib/aws/ec2/filtered_collection.rb +3 -3
  101. data/lib/aws/ec2/image.rb +1 -1
  102. data/lib/aws/ec2/image_collection.rb +3 -3
  103. data/lib/aws/ec2/instance.rb +7 -7
  104. data/lib/aws/ec2/instance_collection.rb +3 -3
  105. data/lib/aws/ec2/internet_gateway/attachment.rb +1 -1
  106. data/lib/aws/ec2/key_pair_collection.rb +2 -2
  107. data/lib/aws/ec2/permission_collection.rb +10 -10
  108. data/lib/aws/ec2/region_collection.rb +1 -1
  109. data/lib/aws/ec2/request.rb +1 -1
  110. data/lib/aws/ec2/resource.rb +3 -3
  111. data/lib/aws/ec2/resource_tag_collection.rb +1 -1
  112. data/lib/aws/ec2/route_table/association.rb +1 -1
  113. data/lib/aws/ec2/security_group.rb +9 -9
  114. data/lib/aws/ec2/snapshot.rb +2 -2
  115. data/lib/aws/ec2/snapshot_collection.rb +3 -3
  116. data/lib/aws/ec2/tag.rb +2 -2
  117. data/lib/aws/ec2/tag_collection.rb +3 -3
  118. data/lib/aws/ec2/tagged_item.rb +2 -2
  119. data/lib/aws/ec2/volume.rb +1 -1
  120. data/lib/aws/ec2/volume_collection.rb +1 -1
  121. data/lib/aws/ec2/vpn_connection.rb +1 -1
  122. data/lib/aws/ec2/vpn_gateway/attachment.rb +1 -1
  123. data/lib/aws/elastic_beanstalk/client.rb +1 -1
  124. data/lib/aws/elastic_beanstalk/request.rb +1 -1
  125. data/lib/aws/elastic_transcoder/client.rb +2 -2
  126. data/lib/aws/elastic_transcoder/request.rb +1 -1
  127. data/lib/aws/elasticache/client.rb +1 -1
  128. data/lib/aws/elasticache/request.rb +1 -1
  129. data/lib/aws/elb/client.rb +1 -1
  130. data/lib/aws/elb/listener.rb +2 -2
  131. data/lib/aws/elb/listener_opts.rb +1 -1
  132. data/lib/aws/elb/load_balancer_policy.rb +1 -1
  133. data/lib/aws/elb/request.rb +1 -1
  134. data/lib/aws/emr/client.rb +1 -1
  135. data/lib/aws/emr/instance_group.rb +1 -1
  136. data/lib/aws/emr/instance_group_collection.rb +1 -1
  137. data/lib/aws/emr/job_flow.rb +1 -1
  138. data/lib/aws/emr/job_flow_collection.rb +1 -1
  139. data/lib/aws/emr/request.rb +1 -1
  140. data/lib/aws/errors.rb +1 -1
  141. data/lib/aws/glacier/client.rb +1 -1
  142. data/lib/aws/glacier/request.rb +1 -1
  143. data/lib/aws/glacier/resource.rb +1 -1
  144. data/lib/aws/iam.rb +1 -1
  145. data/lib/aws/iam/access_key.rb +3 -3
  146. data/lib/aws/iam/access_key_collection.rb +2 -2
  147. data/lib/aws/iam/account_alias_collection.rb +3 -3
  148. data/lib/aws/iam/client.rb +1 -1
  149. data/lib/aws/iam/collection.rb +1 -1
  150. data/lib/aws/iam/group.rb +2 -2
  151. data/lib/aws/iam/group_collection.rb +1 -1
  152. data/lib/aws/iam/group_policy_collection.rb +1 -1
  153. data/lib/aws/iam/group_user_collection.rb +2 -2
  154. data/lib/aws/iam/login_profile.rb +1 -1
  155. data/lib/aws/iam/mfa_device_collection.rb +1 -1
  156. data/lib/aws/iam/request.rb +1 -1
  157. data/lib/aws/iam/resource.rb +2 -2
  158. data/lib/aws/iam/server_certificate.rb +2 -2
  159. data/lib/aws/iam/server_certificate_collection.rb +1 -1
  160. data/lib/aws/iam/signing_certificate.rb +3 -3
  161. data/lib/aws/iam/signing_certificate_collection.rb +2 -2
  162. data/lib/aws/iam/user.rb +1 -1
  163. data/lib/aws/iam/user_collection.rb +1 -1
  164. data/lib/aws/iam/user_group_collection.rb +3 -3
  165. data/lib/aws/iam/user_policy.rb +1 -1
  166. data/lib/aws/iam/virtual_mfa_device.rb +1 -1
  167. data/lib/aws/import_export/client.rb +1 -1
  168. data/lib/aws/import_export/request.rb +1 -1
  169. data/lib/aws/ops_works/client.rb +1 -1
  170. data/lib/aws/ops_works/request.rb +1 -1
  171. data/lib/aws/rails.rb +4 -4
  172. data/lib/aws/rds/client.rb +1 -1
  173. data/lib/aws/rds/db_snapshot_collection.rb +1 -1
  174. data/lib/aws/rds/request.rb +1 -1
  175. data/lib/aws/record.rb +3 -3
  176. data/lib/aws/record/abstract_base.rb +4 -4
  177. data/lib/aws/record/attributes.rb +7 -7
  178. data/lib/aws/record/conversion.rb +4 -4
  179. data/lib/aws/record/dirty_tracking.rb +5 -5
  180. data/lib/aws/record/exceptions.rb +3 -3
  181. data/lib/aws/record/hash_model.rb +2 -2
  182. data/lib/aws/record/model.rb +6 -6
  183. data/lib/aws/record/model/scope.rb +5 -5
  184. data/lib/aws/record/naming.rb +2 -2
  185. data/lib/aws/record/scope.rb +7 -7
  186. data/lib/aws/record/validations.rb +1 -1
  187. data/lib/aws/record/validator.rb +14 -14
  188. data/lib/aws/record/validators/acceptance.rb +1 -1
  189. data/lib/aws/record/validators/block.rb +1 -1
  190. data/lib/aws/record/validators/confirmation.rb +1 -1
  191. data/lib/aws/record/validators/count.rb +4 -4
  192. data/lib/aws/record/validators/exclusion.rb +1 -1
  193. data/lib/aws/record/validators/format.rb +1 -1
  194. data/lib/aws/record/validators/inclusion.rb +1 -1
  195. data/lib/aws/record/validators/length.rb +4 -4
  196. data/lib/aws/record/validators/method.rb +1 -1
  197. data/lib/aws/record/validators/numericality.rb +1 -1
  198. data/lib/aws/record/validators/presence.rb +1 -1
  199. data/lib/aws/redshift/client.rb +1 -1
  200. data/lib/aws/redshift/request.rb +1 -1
  201. data/lib/aws/route_53/change_batch.rb +2 -2
  202. data/lib/aws/route_53/change_info.rb +1 -1
  203. data/lib/aws/route_53/client.rb +1 -1
  204. data/lib/aws/route_53/hosted_zone.rb +1 -1
  205. data/lib/aws/route_53/hosted_zone_collection.rb +1 -1
  206. data/lib/aws/route_53/request.rb +1 -1
  207. data/lib/aws/route_53/resource_record_set.rb +1 -1
  208. data/lib/aws/route_53/resource_record_set_collection.rb +1 -1
  209. data/lib/aws/s3/access_control_list.rb +7 -7
  210. data/lib/aws/s3/acl_object.rb +6 -6
  211. data/lib/aws/s3/acl_options.rb +1 -1
  212. data/lib/aws/s3/bucket.rb +3 -3
  213. data/lib/aws/s3/bucket_collection.rb +1 -1
  214. data/lib/aws/s3/bucket_lifecycle_configuration.rb +3 -3
  215. data/lib/aws/s3/bucket_tag_collection.rb +1 -1
  216. data/lib/aws/s3/bucket_version_collection.rb +4 -4
  217. data/lib/aws/s3/cipher_io.rb +1 -1
  218. data/lib/aws/s3/client.rb +2 -2
  219. data/lib/aws/s3/client/xml.rb +1 -1
  220. data/lib/aws/s3/data_options.rb +2 -2
  221. data/lib/aws/s3/encryption_utils.rb +1 -1
  222. data/lib/aws/s3/errors.rb +1 -1
  223. data/lib/aws/s3/multipart_upload.rb +5 -5
  224. data/lib/aws/s3/multipart_upload_collection.rb +1 -1
  225. data/lib/aws/s3/object_collection.rb +5 -5
  226. data/lib/aws/s3/object_upload_collection.rb +1 -1
  227. data/lib/aws/s3/object_version.rb +1 -1
  228. data/lib/aws/s3/paginated_collection.rb +1 -1
  229. data/lib/aws/s3/prefix_and_delimiter_collection.rb +3 -3
  230. data/lib/aws/s3/prefixed_collection.rb +2 -2
  231. data/lib/aws/s3/presigned_post.rb +18 -18
  232. data/lib/aws/s3/request.rb +2 -2
  233. data/lib/aws/s3/s3_object.rb +3 -3
  234. data/lib/aws/s3/tree/branch_node.rb +1 -1
  235. data/lib/aws/s3/tree/child_collection.rb +1 -1
  236. data/lib/aws/s3/tree/leaf_node.rb +1 -1
  237. data/lib/aws/s3/tree/node.rb +1 -1
  238. data/lib/aws/s3/tree/parent.rb +1 -1
  239. data/lib/aws/s3/uploaded_part.rb +2 -2
  240. data/lib/aws/s3/uploaded_part_collection.rb +6 -6
  241. data/lib/aws/s3/website_configuration.rb +4 -4
  242. data/lib/aws/simple_db.rb +2 -2
  243. data/lib/aws/simple_db/attribute.rb +2 -2
  244. data/lib/aws/simple_db/client.rb +6 -6
  245. data/lib/aws/simple_db/consistent_read_option.rb +1 -1
  246. data/lib/aws/simple_db/delete_attributes.rb +3 -3
  247. data/lib/aws/simple_db/domain.rb +2 -2
  248. data/lib/aws/simple_db/domain_metadata.rb +1 -1
  249. data/lib/aws/simple_db/errors.rb +2 -2
  250. data/lib/aws/simple_db/expect_condition_option.rb +2 -2
  251. data/lib/aws/simple_db/item_collection.rb +17 -17
  252. data/lib/aws/simple_db/item_data.rb +1 -1
  253. data/lib/aws/simple_db/put_attributes.rb +3 -3
  254. data/lib/aws/simple_db/request.rb +1 -1
  255. data/lib/aws/simple_email_service.rb +3 -3
  256. data/lib/aws/simple_email_service/client.rb +1 -1
  257. data/lib/aws/simple_email_service/identity.rb +1 -1
  258. data/lib/aws/simple_email_service/identity_collection.rb +1 -1
  259. data/lib/aws/simple_email_service/quotas.rb +1 -1
  260. data/lib/aws/simple_email_service/request.rb +1 -1
  261. data/lib/aws/simple_workflow/activity_task.rb +1 -1
  262. data/lib/aws/simple_workflow/activity_task_collection.rb +1 -1
  263. data/lib/aws/simple_workflow/client.rb +1 -1
  264. data/lib/aws/simple_workflow/count.rb +1 -1
  265. data/lib/aws/simple_workflow/decision_task.rb +1 -1
  266. data/lib/aws/simple_workflow/decision_task_collection.rb +1 -1
  267. data/lib/aws/simple_workflow/domain.rb +1 -1
  268. data/lib/aws/simple_workflow/history_event.rb +3 -3
  269. data/lib/aws/simple_workflow/option_formatters.rb +1 -1
  270. data/lib/aws/simple_workflow/request.rb +1 -1
  271. data/lib/aws/simple_workflow/resource.rb +8 -8
  272. data/lib/aws/simple_workflow/type_collection.rb +1 -1
  273. data/lib/aws/simple_workflow/workflow_execution_collection.rb +2 -2
  274. data/lib/aws/sns/client.rb +1 -1
  275. data/lib/aws/sns/request.rb +1 -1
  276. data/lib/aws/sns/subscription.rb +2 -2
  277. data/lib/aws/sns/topic.rb +3 -3
  278. data/lib/aws/sns/topic_subscription_collection.rb +1 -1
  279. data/lib/aws/sqs/client.rb +1 -1
  280. data/lib/aws/sqs/errors.rb +1 -1
  281. data/lib/aws/sqs/queue.rb +8 -8
  282. data/lib/aws/sqs/queue_collection.rb +1 -1
  283. data/lib/aws/sqs/received_message.rb +3 -3
  284. data/lib/aws/sqs/request.rb +1 -1
  285. data/lib/aws/storage_gateway/client.rb +1 -1
  286. data/lib/aws/storage_gateway/request.rb +1 -1
  287. data/lib/aws/sts/client.rb +1 -1
  288. data/lib/aws/sts/federated_session.rb +1 -1
  289. data/lib/aws/sts/request.rb +1 -1
  290. data/lib/aws/sts/session.rb +1 -1
  291. data/lib/aws/version.rb +1 -1
  292. metadata +16 -8
  293. checksums.yaml +0 -7
data/.yardopts CHANGED
@@ -1,6 +1,6 @@
1
- --no-private
2
1
  --title 'AWS SDK for Ruby'
3
2
  --template-path doc-src/templates
4
3
  --markup markdown
5
- -
4
+ --no-api private
5
+ lib/**/*.rb
6
6
  LICENSE.txt
@@ -35,7 +35,7 @@ module AWS
35
35
  #
36
36
  class Activity < Core::Resource
37
37
 
38
- # @private
38
+ # @api private
39
39
  def initialize activity_id, options = {}
40
40
  @activity_id = activity_id
41
41
  super
@@ -37,7 +37,7 @@ module AWS
37
37
 
38
38
  include Core::Collection::WithLimitAndNextToken
39
39
 
40
- # @private
40
+ # @api private
41
41
  def initialize options = {}
42
42
  @group = options[:group]
43
43
  if @group
@@ -17,7 +17,7 @@ module AWS
17
17
  # Client class for Auto Scaling.
18
18
  class Client < Core::QueryClient
19
19
 
20
- # @private
20
+ # @api private
21
21
  CACHEABLE_REQUESTS = Set[
22
22
  :describe_adjustment_types,
23
23
  :describe_auto_scaling_groups,
@@ -16,7 +16,7 @@ module AWS
16
16
 
17
17
  # This mixin provides a method for parsing Auto Scaling group options
18
18
  # (for create and update methods).
19
- # @private
19
+ # @api private
20
20
  module GroupOptions
21
21
 
22
22
  protected
@@ -57,7 +57,7 @@ module AWS
57
57
  #
58
58
  class Instance < Core::Resource
59
59
 
60
- # @private
60
+ # @api private
61
61
  def initialize instance_id, options = {}
62
62
  @instance_id = instance_id
63
63
  super
@@ -44,7 +44,7 @@ module AWS
44
44
  #
45
45
  class LaunchConfiguration < Core::Resource
46
46
 
47
- # @private
47
+ # @api private
48
48
  def initialize name, options = {}
49
49
  super(options.merge(:name => name))
50
50
  end
@@ -15,7 +15,7 @@ module AWS
15
15
  class AutoScaling
16
16
  class NotificationConfiguration
17
17
 
18
- # @private
18
+ # @api private
19
19
  def initialize auto_scaling_group, topic_arn, notification_types = []
20
20
  @group = auto_scaling_group
21
21
  @topic_arn = topic_arn
@@ -74,7 +74,7 @@ module AWS
74
74
 
75
75
  end
76
76
 
77
- # @private
77
+ # @api private
78
78
  def eql? other
79
79
  other.is_a?(NotificationConfiguration) and
80
80
  other.group == group and
@@ -48,7 +48,7 @@ module AWS
48
48
 
49
49
  include Core::Collection::WithLimitAndNextToken
50
50
 
51
- # @private
51
+ # @api private
52
52
  def initialize options = {}
53
53
  @group = options[:group]
54
54
  if @group
@@ -14,7 +14,7 @@
14
14
  module AWS
15
15
  class AutoScaling
16
16
 
17
- # @private
17
+ # @api private
18
18
  class Request < Core::Http::Request
19
19
 
20
20
  include Core::Signature::Version4
@@ -32,7 +32,7 @@ module AWS
32
32
 
33
33
  include ScalingPolicyOptions
34
34
 
35
- # @private
35
+ # @api private
36
36
  def initialize auto_scaling_group, policy_name, options = {}
37
37
  @group = auto_scaling_group
38
38
  @name = policy_name
@@ -15,7 +15,7 @@ module AWS
15
15
  class AutoScaling
16
16
 
17
17
  # Provides a helper method for parsing scaling policy options.
18
- # @private
18
+ # @api private
19
19
  module ScalingPolicyOptions
20
20
 
21
21
  protected
@@ -34,7 +34,7 @@ module AWS
34
34
  #
35
35
  class ScheduledAction < Core::Resource
36
36
 
37
- # @private
37
+ # @api private
38
38
  def initialize name, options = {}
39
39
  @name = name
40
40
  super
@@ -20,7 +20,7 @@ module AWS
20
20
 
21
21
  include Core::Collection::WithLimitAndNextToken
22
22
 
23
- # @private
23
+ # @api private
24
24
  def initialize options = {}
25
25
  @filters = options[:filters] || {}
26
26
  super
@@ -21,7 +21,7 @@ module AWS
21
21
  #
22
22
  class Tag < Hash
23
23
 
24
- # @private
24
+ # @api private
25
25
  def initialize options = {}
26
26
 
27
27
  super()
@@ -61,7 +61,7 @@ module AWS
61
61
 
62
62
  include Core::Collection::WithLimitAndNextToken
63
63
 
64
- # @private
64
+ # @api private
65
65
  def initialize options = {}
66
66
  @filters = options.delete(:filters) || []
67
67
  super
@@ -17,7 +17,7 @@ module AWS
17
17
  # Client class for AWS CloudFormation.
18
18
  class Client < Core::QueryClient
19
19
 
20
- # @private
20
+ # @api private
21
21
  CACHEABLE_REQUESTS = Set[
22
22
  :describe_adjustment_types,
23
23
  :describe_auto_scaling_groups,
@@ -14,7 +14,7 @@
14
14
  module AWS
15
15
  class CloudFormation
16
16
 
17
- # @private
17
+ # @api private
18
18
  class Request < Core::Http::Request
19
19
 
20
20
  include Core::Signature::Version4
@@ -51,7 +51,7 @@ module AWS
51
51
 
52
52
  include StackOptions
53
53
 
54
- # @private
54
+ # @api private
55
55
  def initialize name, options = {}
56
56
  @name = name
57
57
  super
@@ -18,7 +18,7 @@ module AWS
18
18
  include Core::Collection::WithNextToken
19
19
  include StackOptions
20
20
 
21
- # @private
21
+ # @api private
22
22
  def initialize options = {}
23
23
  @status_filter = options[:status_filter]
24
24
  super
@@ -24,7 +24,7 @@ module AWS
24
24
  # end
25
25
  class StackEvent
26
26
 
27
- # @private
27
+ # @api private
28
28
  def initialize stack, details
29
29
  @stack = stack
30
30
  details.each_pair do |attr_name,attr_value|
@@ -15,7 +15,7 @@ module AWS
15
15
  class CloudFormation
16
16
 
17
17
  # This module provide option helpers for methods operation on stacks.
18
- # @private
18
+ # @api private
19
19
  module StackOptions
20
20
 
21
21
  protected
@@ -38,7 +38,7 @@ module AWS
38
38
  # @return [String]
39
39
  attr_reader :description
40
40
 
41
- # @private
41
+ # @api private
42
42
  def eql? other
43
43
  other.is_a?(StackOutput) and
44
44
  other.stack == stack and
@@ -45,7 +45,7 @@ module AWS
45
45
  #
46
46
  class StackResource < Core::Resource
47
47
 
48
- # @private
48
+ # @api private
49
49
  def initialize stack, logical_resource_id, options = {}
50
50
  @stack = stack
51
51
  @logical_resource_id = logical_resource_id
@@ -50,7 +50,7 @@ module AWS
50
50
 
51
51
  include Core::Collection::WithNextToken
52
52
 
53
- # @private
53
+ # @api private
54
54
  def initialize options = {}
55
55
  @filters = options[:filters]
56
56
  super
@@ -15,7 +15,7 @@ module AWS
15
15
  class CloudFront
16
16
  class Client < Core::RESTXMLClient
17
17
 
18
- # @private
18
+ # @api private
19
19
  CACHEABLE_REQUESTS = Set[]
20
20
 
21
21
  # client methods #
@@ -16,7 +16,7 @@ require 'time'
16
16
  module AWS
17
17
  class CloudFront
18
18
 
19
- # @private
19
+ # @api private
20
20
  class Request < Core::Http::Request
21
21
 
22
22
  def add_authorization! credentials
@@ -17,7 +17,7 @@ module AWS
17
17
  # Client class for Amazon Cloud Search.
18
18
  class Client < Core::QueryClient
19
19
 
20
- # @private
20
+ # @api private
21
21
  CACHEABLE_REQUESTS = Set[]
22
22
 
23
23
  # client methods #
@@ -14,7 +14,7 @@
14
14
  module AWS
15
15
  class CloudSearch
16
16
 
17
- # @private
17
+ # @api private
18
18
  class Request < Core::Http::Request
19
19
  include Core::Signature::Version2
20
20
  end
@@ -69,7 +69,7 @@ module AWS
69
69
  #
70
70
  class Alarm < Core::Resource
71
71
 
72
- # @private
72
+ # @api private
73
73
  def initialize alarm_name, options = {}
74
74
  @alarm_name = alarm_name
75
75
  super
@@ -15,7 +15,7 @@ module AWS
15
15
  class CloudWatch
16
16
  class AlarmHistoryItem
17
17
 
18
- # @private
18
+ # @api private
19
19
  def initialize options
20
20
  @alarm_name = options[:alarm_name]
21
21
  @history_data = options[:history_data]
@@ -20,7 +20,7 @@ module AWS
20
20
 
21
21
  include Core::Collection::WithLimitAndNextToken
22
22
 
23
- # @private
23
+ # @api private
24
24
  def initialize options = {}
25
25
  @filters = options[:filters] || {}
26
26
  super
@@ -17,7 +17,7 @@ module AWS
17
17
  # Client class for Cloud Watch
18
18
  class Client < Core::QueryClient
19
19
 
20
- # @private
20
+ # @api private
21
21
  CACHEABLE_REQUESTS = Set[
22
22
  :describe_alarm_history,
23
23
  :describe_alarms,
@@ -45,7 +45,7 @@ module AWS
45
45
 
46
46
  include Core::Collection::Simple
47
47
 
48
- # @private
48
+ # @api private
49
49
  def initialize metric, options = {}
50
50
  @metric = metric
51
51
  super(options.merge(:config => metric.config))
@@ -17,7 +17,7 @@ module AWS
17
17
 
18
18
  include Core::Collection::WithNextToken
19
19
 
20
- # @private
20
+ # @api private
21
21
  def initialize options = {}
22
22
  @filters = options[:filters] || {}
23
23
  super
@@ -14,7 +14,7 @@
14
14
  module AWS
15
15
  class CloudWatch
16
16
 
17
- # @private
17
+ # @api private
18
18
  class Request < Core::Http::Request
19
19
  include Core::Signature::Version2
20
20
  end
@@ -82,7 +82,7 @@ require 'aws/version'
82
82
  #
83
83
  module AWS
84
84
 
85
- # @private
85
+ # @api private
86
86
  SERVICES = {
87
87
  'AutoScaling' => 'auto_scaling',
88
88
  'CloudFormation' => 'cloud_formation',
@@ -114,7 +114,7 @@ module AWS
114
114
  'STS' => 'sts',
115
115
  }
116
116
 
117
- # @private
117
+ # @api private
118
118
  ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..', '..'))
119
119
 
120
120
  autoload :Errors, 'aws/errors'
@@ -209,7 +209,7 @@ module AWS
209
209
 
210
210
  class << self
211
211
 
212
- # @private
212
+ # @api private
213
213
  @@config = nil
214
214
 
215
215
  # The global configuration for AWS. Generally you set your preferred
@@ -555,7 +555,7 @@ module AWS
555
555
  end
556
556
  end
557
557
 
558
- # @private
558
+ # @api private
559
559
  def resource_cache
560
560
  if memoizing?
561
561
  Thread.current[:aws_memoization][:resource_cache] ||=
@@ -563,7 +563,7 @@ module AWS
563
563
  end
564
564
  end
565
565
 
566
- # @private
566
+ # @api private
567
567
  def response_cache
568
568
  if memoizing?
569
569
  Thread.current[:aws_memoization][:response_cache] ||=
@@ -14,23 +14,23 @@
14
14
  module AWS
15
15
  module Core
16
16
 
17
- # @private
17
+ # @api private
18
18
  module Cacheable
19
19
 
20
- # @private
20
+ # @api private
21
21
  class NoData < StandardError; end
22
22
 
23
23
  def self.included base
24
24
  base.extend Naming unless base.respond_to?(:service_ruby_name)
25
25
  end
26
26
 
27
- # @private
27
+ # @api private
28
28
  protected
29
29
  def local_cache_key
30
30
  raise NotImplementedError
31
31
  end
32
32
 
33
- # @private
33
+ # @api private
34
34
  protected
35
35
  def cache_key
36
36
  @cache_key ||= begin
@@ -41,7 +41,7 @@ module AWS
41
41
  end
42
42
  end
43
43
 
44
- # @private
44
+ # @api private
45
45
  public
46
46
  def retrieve_attribute attr, &block
47
47
 
@@ -29,7 +29,7 @@ module AWS
29
29
 
30
30
  extend Naming
31
31
 
32
- # @private
32
+ # @api private
33
33
  CACHEABLE_REQUESTS = Set[]
34
34
 
35
35
  # Creates a new low-level client.
@@ -68,16 +68,16 @@ module AWS
68
68
 
69
69
  # @return [CredentialProviders::Provider] Returns the credential
70
70
  # provider for this client.
71
- # @private
71
+ # @api private
72
72
  attr_reader :credential_provider
73
73
 
74
74
  # @return [String] The snake-cased ruby name for the service
75
75
  # (e.g. 's3', 'iam', 'dynamo_db', etc).
76
- # @private
76
+ # @api private
77
77
  attr_reader :service_ruby_name
78
78
 
79
79
  # @return [Integer] What port this client makes requests via.
80
- # @private
80
+ # @api private
81
81
  attr_reader :port
82
82
 
83
83
  # @return [Integer] The number of seconds before requests made by
@@ -86,7 +86,7 @@ module AWS
86
86
 
87
87
  # @return [String] Returns the service endpoint (hostname) this client
88
88
  # makes requests against.
89
- # @private
89
+ # @api private
90
90
  attr_reader :endpoint
91
91
 
92
92
  # @return (see Client.operations)
@@ -135,14 +135,14 @@ module AWS
135
135
  # @param [Configuration] config The configuration object to use.
136
136
  # @return [Core::Client] Returns a new client object with the given
137
137
  # configuration.
138
- # @private
138
+ # @api private
139
139
  def with_config config
140
140
  self.class.new(:config => config)
141
141
  end
142
142
 
143
143
  # The stub returned is memoized.
144
144
  # @see new_stub_for
145
- # @private
145
+ # @api private
146
146
  def stub_for method_name
147
147
  @stubs ||= {}
148
148
  @stubs[method_name] ||= new_stub_for(method_name)
@@ -151,7 +151,7 @@ module AWS
151
151
  # Primarily used for testing, this method returns an empty pseudo
152
152
  # service response without making a request. Its used primarily for
153
153
  # testing the lighter level service interfaces.
154
- # @private
154
+ # @api private
155
155
  def new_stub_for method_name
156
156
  response = Response.new(Http::Request.new, Http::Response.new)
157
157
  response.request_type = method_name
@@ -574,12 +574,12 @@ module AWS
574
574
  @operations ||= []
575
575
  end
576
576
 
577
- # @private
577
+ # @api private
578
578
  def request_builders
579
579
  @request_builders ||= {}
580
580
  end
581
581
 
582
- # @private
582
+ # @api private
583
583
  def response_parsers
584
584
  @response_parsers ||= {}
585
585
  end
@@ -673,7 +673,7 @@ module AWS
673
673
 
674
674
  end
675
675
 
676
- # @private
676
+ # @api private
677
677
  class ClientRequestMethodBuilder
678
678
 
679
679
  def initialize client_class, method_name, &block