aws-sdk 1.6.9 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. data/README.rdoc +1 -1
  2. data/lib/aws.rb +8 -0
  3. data/lib/aws/api_config/CloudSearch-2011-02-01.yml +681 -0
  4. data/lib/aws/api_config/DynamoDB-2011-12-05.yml +4 -0
  5. data/lib/aws/api_config/EMR-2009-03-31.yml +18 -0
  6. data/lib/aws/api_config/ElastiCache-2012-03-09.yml +777 -0
  7. data/lib/aws/api_config/ElasticBeanstalk-2010-12-01.yml +823 -0
  8. data/lib/aws/api_config/RDS-2012-07-31.yml +1621 -0
  9. data/lib/aws/cloud_search.rb +31 -0
  10. data/lib/aws/cloud_search/client.rb +558 -0
  11. data/lib/aws/cloud_search/config.rb +18 -0
  12. data/lib/aws/cloud_search/errors.rb +22 -0
  13. data/lib/aws/cloud_search/request.rb +23 -0
  14. data/lib/aws/cloud_watch/alarm.rb +1 -1
  15. data/lib/aws/cloud_watch/metric.rb +3 -3
  16. data/lib/aws/core.rb +18 -3
  17. data/lib/aws/core/configuration.rb +11 -0
  18. data/lib/aws/core/inflection.rb +1 -0
  19. data/lib/aws/core/service_interface.rb +1 -1
  20. data/lib/aws/dynamo_db/batch_get.rb +19 -12
  21. data/lib/aws/dynamo_db/client.rb +27 -1
  22. data/lib/aws/dynamo_db/config.rb +2 -0
  23. data/lib/aws/dynamo_db/item_collection.rb +2 -2
  24. data/lib/aws/dynamo_db/table.rb +8 -2
  25. data/lib/aws/ec2/reserved_instances.rb +3 -0
  26. data/lib/aws/ec2/reserved_instances_offering.rb +3 -1
  27. data/lib/aws/elastic_beanstalk.rb +48 -0
  28. data/lib/aws/elastic_beanstalk/client.rb +867 -0
  29. data/lib/aws/elastic_beanstalk/config.rb +18 -0
  30. data/lib/aws/elastic_beanstalk/errors.rb +22 -0
  31. data/lib/aws/elastic_beanstalk/request.rb +23 -0
  32. data/lib/aws/elasticache.rb +48 -0
  33. data/lib/aws/elasticache/client.rb +758 -0
  34. data/lib/aws/elasticache/config.rb +18 -0
  35. data/lib/aws/elasticache/errors.rb +22 -0
  36. data/lib/aws/elasticache/request.rb +23 -0
  37. data/lib/aws/emr/client.rb +30 -6
  38. data/lib/aws/emr/job_flow.rb +10 -0
  39. data/lib/aws/rds.rb +69 -0
  40. data/lib/aws/rds/client.rb +1592 -0
  41. data/lib/aws/rds/config.rb +18 -0
  42. data/lib/aws/rds/db_instance.rb +201 -0
  43. data/lib/aws/rds/db_instance_collection.rb +75 -0
  44. data/lib/aws/rds/db_snapshot.rb +163 -0
  45. data/lib/aws/rds/db_snapshot_collection.rb +89 -0
  46. data/lib/aws/rds/errors.rb +22 -0
  47. data/lib/aws/rds/request.rb +23 -0
  48. data/lib/aws/s3/bucket_tag_collection.rb +1 -1
  49. data/lib/aws/s3/client.rb +4 -2
  50. data/lib/aws/s3/errors.rb +0 -1
  51. data/lib/aws/s3/object_collection.rb +40 -22
  52. data/lib/aws/s3/object_version.rb +7 -2
  53. data/lib/aws/s3/request.rb +1 -1
  54. data/lib/aws/s3/s3_object.rb +35 -11
  55. data/lib/aws/version.rb +1 -1
  56. metadata +33 -2
@@ -0,0 +1,18 @@
1
+ # Copyright 2011-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License"). You
4
+ # may not use this file except in compliance with the License. A copy of
5
+ # the License is located at
6
+ #
7
+ # http://aws.amazon.com/apache2.0/
8
+ #
9
+ # or in the "license" file accompanying this file. This file is
10
+ # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
11
+ # ANY KIND, either express or implied. See the License for the specific
12
+ # language governing permissions and limitations under the License.
13
+
14
+ AWS::Core::Configuration.module_eval do
15
+
16
+ add_service 'ElasticBeanstalk', 'elastic_beanstalk', 'elasticbeanstalk.us-east-1.amazonaws.com'
17
+
18
+ end
@@ -0,0 +1,22 @@
1
+ # Copyright 2011-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License"). You
4
+ # may not use this file except in compliance with the License. A copy of
5
+ # the License is located at
6
+ #
7
+ # http://aws.amazon.com/apache2.0/
8
+ #
9
+ # or in the "license" file accompanying this file. This file is
10
+ # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
11
+ # ANY KIND, either express or implied. See the License for the specific
12
+ # language governing permissions and limitations under the License.
13
+
14
+ module AWS
15
+ class ElasticBeanstalk
16
+ module Errors
17
+
18
+ extend Core::LazyErrorClasses
19
+
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,23 @@
1
+ # Copyright 2011-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License"). You
4
+ # may not use this file except in compliance with the License. A copy of
5
+ # the License is located at
6
+ #
7
+ # http://aws.amazon.com/apache2.0/
8
+ #
9
+ # or in the "license" file accompanying this file. This file is
10
+ # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
11
+ # ANY KIND, either express or implied. See the License for the specific
12
+ # language governing permissions and limitations under the License.
13
+
14
+ module AWS
15
+ class ElasticBeanstalk
16
+
17
+ # @private
18
+ class Request < Core::Http::Request
19
+ include Core::Signature::Version2
20
+ end
21
+
22
+ end
23
+ end
@@ -0,0 +1,48 @@
1
+ # Copyright 2011-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License"). You
4
+ # may not use this file except in compliance with the License. A copy of
5
+ # the License is located at
6
+ #
7
+ # http://aws.amazon.com/apache2.0/
8
+ #
9
+ # or in the "license" file accompanying this file. This file is
10
+ # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
11
+ # ANY KIND, either express or implied. See the License for the specific
12
+ # language governing permissions and limitations under the License.
13
+
14
+ require 'aws/core'
15
+ require 'aws/elasticache/config'
16
+
17
+ module AWS
18
+
19
+ # Provides an expressive, object-oriented interface to Amazon ElastiCache.
20
+ #
21
+ # == Credentials
22
+ #
23
+ # You can setup default credentials for all AWS services via
24
+ # AWS.config:
25
+ #
26
+ # AWS.config(
27
+ # :access_key_id => 'YOUR_ACCESS_KEY_ID',
28
+ # :secret_access_key => 'YOUR_SECRET_ACCESS_KEY')
29
+ #
30
+ # Or you can set them directly on the ElastiCache interface:
31
+ #
32
+ # ec = AWS::ElastiCache.new(
33
+ # :access_key_id => 'YOUR_ACCESS_KEY_ID',
34
+ # :secret_access_key => 'YOUR_SECRET_ACCESS_KEY')
35
+ #
36
+ class ElastiCache
37
+
38
+ AWS.register_autoloads(self) do
39
+ autoload :Client, 'client'
40
+ autoload :Errors, 'errors'
41
+ autoload :Request, 'request'
42
+ end
43
+
44
+ include Core::ServiceInterface
45
+
46
+ end
47
+
48
+ end
@@ -0,0 +1,758 @@
1
+ # Copyright 2011-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License"). You
4
+ # may not use this file except in compliance with the License. A copy of
5
+ # the License is located at
6
+ #
7
+ # http://aws.amazon.com/apache2.0/
8
+ #
9
+ # or in the "license" file accompanying this file. This file is
10
+ # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
11
+ # ANY KIND, either express or implied. See the License for the specific
12
+ # language governing permissions and limitations under the License.
13
+
14
+ module AWS
15
+ class ElastiCache
16
+
17
+ # Client class for Amazon ElastiCache.
18
+ class Client < Core::QueryClient
19
+
20
+ define_client_methods('2012-03-09')
21
+
22
+ # @private
23
+ CACHEABLE_REQUESTS = Set[]
24
+
25
+ ## client methods ##
26
+
27
+ # @!method authorize_cache_security_group_ingress(options = {})
28
+ # Calls the AuthorizeCacheSecurityGroupIngress API operation.
29
+ # @param [Hash] options
30
+ # * +:cache_security_group_name+ - *required* - (String) The name of
31
+ # the Cache Security Group to authorize.
32
+ # * +:ec2_security_group_name+ - *required* - (String) Name of the EC2
33
+ # Security Group to include in the authorization.
34
+ # * +:ec2_security_group_owner_id+ - *required* - (String) AWS Account
35
+ # Number of the owner of the security group specified in the
36
+ # EC2SecurityGroupName parameter. The AWS Access Key ID is not an
37
+ # acceptable value.
38
+ # @return [Core::Response]
39
+ # The #data method of the response object returns
40
+ # a hash with the following structure:
41
+ # * +:owner_id+ - (String)
42
+ # * +:cache_security_group_name+ - (String)
43
+ # * +:description+ - (String)
44
+ # * +:ec_2_security_groups+ - (Array<Hash>)
45
+ # * +:status+ - (String)
46
+ # * +:ec2_security_group_name+ - (String)
47
+ # * +:ec2_security_group_owner_id+ - (String)
48
+
49
+ # @!method create_cache_cluster(options = {})
50
+ # Calls the CreateCacheCluster API operation.
51
+ # @param [Hash] options
52
+ # * +:cache_cluster_id+ - *required* - (String) The Cache Cluster
53
+ # identifier. This parameter is stored as a lowercase string.
54
+ # Constraints: Must contain from 1 to 20 alphanumeric characters or
55
+ # hyphens. First character must be a letter. Cannot end with a hyphen
56
+ # or contain two consecutive hyphens. Example: mycachecluster
57
+ # * +:num_cache_nodes+ - *required* - (Integer) The number of Cache
58
+ # Nodes the Cache Cluster should have.
59
+ # * +:cache_node_type+ - *required* - (String) The compute and memory
60
+ # capacity of nodes in a Cache Cluster. Valid values: cache.m1.large
61
+ # | cache.m1.xlarge | cache.m2.xlarge | cache.m2.2xlarge |
62
+ # cache.m2.4xlarge | cache.c1.xlarge
63
+ # * +:engine+ - *required* - (String) The name of the cache engine to
64
+ # be used for this Cache Cluster. Currently, memcached is the only
65
+ # cache engine supported by the service.
66
+ # * +:engine_version+ - (String) The version of the cache engine to be
67
+ # used for this cluster.
68
+ # * +:cache_parameter_group_name+ - (String) The name of the cache
69
+ # parameter group to associate with this Cache cluster. If this
70
+ # argument is omitted, the default CacheParameterGroup for the
71
+ # specified engine will be used.
72
+ # * +:cache_security_group_names+ - *required* - (Array<String>) A list
73
+ # of Cache Security Group Names to associate with this Cache Cluster.
74
+ # * +:preferred_availability_zone+ - (String) The EC2 Availability Zone
75
+ # that the Cache Cluster will be created in. In normal use, all
76
+ # CacheNodes belonging to a CacheCluster are placed in the preferred
77
+ # availability zone. In rare circumstances, some of the CacheNodes
78
+ # might temporarily be in a different availability zone. Default:
79
+ # System chosen (random) availability zone.
80
+ # * +:preferred_maintenance_window+ - (String) The weekly time range
81
+ # (in UTC) during which system maintenance can occur. Example:
82
+ # sun:05:00-sun:09:00
83
+ # * +:port+ - (Integer) The port number on which each of the Cache
84
+ # Nodes will accept connections.
85
+ # * +:notification_topic_arn+ - (String) The Amazon Resource Name (ARN)
86
+ # of the Amazon Simple Notification Service (SNS) topic to which
87
+ # notifications will be sent. The Amazon SNS topic owner must be the
88
+ # same as the Cache Cluster owner.
89
+ # * +:auto_minor_version_upgrade+ - (Boolean) Indicates that minor
90
+ # engine upgrades will be applied automatically to the Cache Cluster
91
+ # during the maintenance window. Default: +true+
92
+ # @return [Core::Response]
93
+ # The #data method of the response object returns
94
+ # a hash with the following structure:
95
+ # * +:cache_cluster_id+ - (String)
96
+ # * +:cache_node_type+ - (String)
97
+ # * +:engine+ - (String)
98
+ # * +:engine_version+ - (String)
99
+ # * +:cache_cluster_status+ - (String)
100
+ # * +:num_cache_nodes+ - (Integer)
101
+ # * +:preferred_availability_zone+ - (String)
102
+ # * +:cache_cluster_create_time+ - (Time)
103
+ # * +:preferred_maintenance_window+ - (String)
104
+ # * +:pending_modified_values+ - (Hash)
105
+ # * +:num_cache_nodes+ - (Integer)
106
+ # * +:cache_node_ids_to_remove+ - (Array<String>)
107
+ # * +:engine_version+ - (String)
108
+ # * +:notification_configuration+ - (Hash)
109
+ # * +:topic_arn+ - (String)
110
+ # * +:topic_status+ - (String)
111
+ # * +:cache_security_groups+ - (Array<Hash>)
112
+ # * +:cache_security_group_name+ - (String)
113
+ # * +:status+ - (String)
114
+ # * +:cache_parameter_group+ - (Hash)
115
+ # * +:cache_parameter_group_name+ - (String)
116
+ # * +:parameter_apply_status+ - (String)
117
+ # * +:cache_node_ids_to_reboot+ - (Array<String>)
118
+ # * +:cache_nodes+ - (Array<Hash>)
119
+ # * +:cache_node_id+ - (String)
120
+ # * +:cache_node_status+ - (String)
121
+ # * +:cache_node_create_time+ - (Time)
122
+ # * +:endpoint+ - (Hash)
123
+ # * +:address+ - (String)
124
+ # * +:port+ - (Integer)
125
+ # * +:parameter_group_status+ - (String)
126
+ # * +:auto_minor_version_upgrade+ - (Boolean)
127
+
128
+ # @!method create_cache_parameter_group(options = {})
129
+ # Calls the CreateCacheParameterGroup API operation.
130
+ # @param [Hash] options
131
+ # * +:cache_parameter_group_name+ - *required* - (String) The name of
132
+ # the Cache Parameter Group.
133
+ # * +:cache_parameter_group_family+ - *required* - (String) The name of
134
+ # the Cache Parameter Group Family the Cache Parameter Group can be
135
+ # used with. Currently, memcached1.4 is the only cache parameter
136
+ # group family supported by the service.
137
+ # * +:description+ - *required* - (String) The description for the
138
+ # Cache Parameter Group.
139
+ # @return [Core::Response]
140
+ # The #data method of the response object returns
141
+ # a hash with the following structure:
142
+ # * +:cache_parameter_group_name+ - (String)
143
+ # * +:cache_parameter_group_family+ - (String)
144
+ # * +:description+ - (String)
145
+
146
+ # @!method create_cache_security_group(options = {})
147
+ # Calls the CreateCacheSecurityGroup API operation.
148
+ # @param [Hash] options
149
+ # * +:cache_security_group_name+ - *required* - (String) The name for
150
+ # the Cache Security Group. This value is stored as a lowercase
151
+ # string. Constraints: Must contain no more than 255 alphanumeric
152
+ # characters. Must not be "Default". Example: mysecuritygroup
153
+ # * +:description+ - *required* - (String) The description for the
154
+ # Cache Security Group.
155
+ # @return [Core::Response]
156
+ # The #data method of the response object returns
157
+ # a hash with the following structure:
158
+ # * +:owner_id+ - (String)
159
+ # * +:cache_security_group_name+ - (String)
160
+ # * +:description+ - (String)
161
+ # * +:ec_2_security_groups+ - (Array<Hash>)
162
+ # * +:status+ - (String)
163
+ # * +:ec2_security_group_name+ - (String)
164
+ # * +:ec2_security_group_owner_id+ - (String)
165
+
166
+ # @!method delete_cache_cluster(options = {})
167
+ # Calls the DeleteCacheCluster API operation.
168
+ # @param [Hash] options
169
+ # * +:cache_cluster_id+ - *required* - (String) The Cache Cluster
170
+ # identifier for the Cache Cluster to be deleted. This parameter
171
+ # isn't case sensitive.
172
+ # @return [Core::Response]
173
+ # The #data method of the response object returns
174
+ # a hash with the following structure:
175
+ # * +:cache_cluster_id+ - (String)
176
+ # * +:cache_node_type+ - (String)
177
+ # * +:engine+ - (String)
178
+ # * +:engine_version+ - (String)
179
+ # * +:cache_cluster_status+ - (String)
180
+ # * +:num_cache_nodes+ - (Integer)
181
+ # * +:preferred_availability_zone+ - (String)
182
+ # * +:cache_cluster_create_time+ - (Time)
183
+ # * +:preferred_maintenance_window+ - (String)
184
+ # * +:pending_modified_values+ - (Hash)
185
+ # * +:num_cache_nodes+ - (Integer)
186
+ # * +:cache_node_ids_to_remove+ - (Array<String>)
187
+ # * +:engine_version+ - (String)
188
+ # * +:notification_configuration+ - (Hash)
189
+ # * +:topic_arn+ - (String)
190
+ # * +:topic_status+ - (String)
191
+ # * +:cache_security_groups+ - (Array<Hash>)
192
+ # * +:cache_security_group_name+ - (String)
193
+ # * +:status+ - (String)
194
+ # * +:cache_parameter_group+ - (Hash)
195
+ # * +:cache_parameter_group_name+ - (String)
196
+ # * +:parameter_apply_status+ - (String)
197
+ # * +:cache_node_ids_to_reboot+ - (Array<String>)
198
+ # * +:cache_nodes+ - (Array<Hash>)
199
+ # * +:cache_node_id+ - (String)
200
+ # * +:cache_node_status+ - (String)
201
+ # * +:cache_node_create_time+ - (Time)
202
+ # * +:endpoint+ - (Hash)
203
+ # * +:address+ - (String)
204
+ # * +:port+ - (Integer)
205
+ # * +:parameter_group_status+ - (String)
206
+ # * +:auto_minor_version_upgrade+ - (Boolean)
207
+
208
+ # @!method delete_cache_parameter_group(options = {})
209
+ # Calls the DeleteCacheParameterGroup API operation.
210
+ # @param [Hash] options
211
+ # * +:cache_parameter_group_name+ - *required* - (String) The name of
212
+ # the Cache Parameter Group to delete. The specified cache security
213
+ # group must not be associated with any Cache clusters.
214
+ # @return [Core::Response]
215
+
216
+ # @!method delete_cache_security_group(options = {})
217
+ # Calls the DeleteCacheSecurityGroup API operation.
218
+ # @param [Hash] options
219
+ # * +:cache_security_group_name+ - *required* - (String) The name of
220
+ # the Cache Security Group to delete. You cannot delete the default
221
+ # security group.
222
+ # @return [Core::Response]
223
+
224
+ # @!method describe_cache_clusters(options = {})
225
+ # Calls the DescribeCacheClusters API operation.
226
+ # @param [Hash] options
227
+ # * +:cache_cluster_id+ - (String) The user-supplied cluster
228
+ # identifier. If this parameter is specified, only information about
229
+ # that specific Cache Cluster is returned. This parameter isn't case
230
+ # sensitive.
231
+ # * +:max_records+ - (Integer) The maximum number of records to include
232
+ # in the response. If more records exist than the specified
233
+ # MaxRecords value, a marker is included in the response so that the
234
+ # remaining results may be retrieved. Default: 100 Constraints:
235
+ # minimum 20, maximum 100
236
+ # * +:marker+ - (String) An optional marker provided in the previous
237
+ # DescribeCacheClusters request. If this parameter is specified, the
238
+ # response includes only records beyond the marker, up to the value
239
+ # specified by MaxRecords.
240
+ # * +:show_cache_node_info+ - (Boolean) An optional flag that can be
241
+ # included in the DescribeCacheCluster request to retrieve Cache
242
+ # Nodes information.
243
+ # @return [Core::Response]
244
+ # The #data method of the response object returns
245
+ # a hash with the following structure:
246
+ # * +:marker+ - (String)
247
+ # * +:cache_clusters+ - (Array<Hash>)
248
+ # * +:cache_cluster_id+ - (String)
249
+ # * +:cache_node_type+ - (String)
250
+ # * +:engine+ - (String)
251
+ # * +:engine_version+ - (String)
252
+ # * +:cache_cluster_status+ - (String)
253
+ # * +:num_cache_nodes+ - (Integer)
254
+ # * +:preferred_availability_zone+ - (String)
255
+ # * +:cache_cluster_create_time+ - (Time)
256
+ # * +:preferred_maintenance_window+ - (String)
257
+ # * +:pending_modified_values+ - (Hash)
258
+ # * +:num_cache_nodes+ - (Integer)
259
+ # * +:cache_node_ids_to_remove+ - (Array<String>)
260
+ # * +:engine_version+ - (String)
261
+ # * +:notification_configuration+ - (Hash)
262
+ # * +:topic_arn+ - (String)
263
+ # * +:topic_status+ - (String)
264
+ # * +:cache_security_groups+ - (Array<Hash>)
265
+ # * +:cache_security_group_name+ - (String)
266
+ # * +:status+ - (String)
267
+ # * +:cache_parameter_group+ - (Hash)
268
+ # * +:cache_parameter_group_name+ - (String)
269
+ # * +:parameter_apply_status+ - (String)
270
+ # * +:cache_node_ids_to_reboot+ - (Array<String>)
271
+ # * +:cache_nodes+ - (Array<Hash>)
272
+ # * +:cache_node_id+ - (String)
273
+ # * +:cache_node_status+ - (String)
274
+ # * +:cache_node_create_time+ - (Time)
275
+ # * +:endpoint+ - (Hash)
276
+ # * +:address+ - (String)
277
+ # * +:port+ - (Integer)
278
+ # * +:parameter_group_status+ - (String)
279
+ # * +:auto_minor_version_upgrade+ - (Boolean)
280
+
281
+ # @!method describe_cache_parameter_groups(options = {})
282
+ # Calls the DescribeCacheParameterGroups API operation.
283
+ # @param [Hash] options
284
+ # * +:cache_parameter_group_name+ - (String) The name of a specific
285
+ # cache parameter group to return details for.
286
+ # * +:max_records+ - (Integer) The maximum number of records to include
287
+ # in the response. If more records exist than the specified
288
+ # MaxRecords value, a marker is included in the response so that the
289
+ # remaining results may be retrieved.
290
+ # * +:marker+ - (String) An optional marker provided in the previous
291
+ # DescribeCacheParameterGroups request. If this parameter is
292
+ # specified, the response includes only records beyond the marker, up
293
+ # to the value specified by MaxRecords.
294
+ # @return [Core::Response]
295
+ # The #data method of the response object returns
296
+ # a hash with the following structure:
297
+ # * +:marker+ - (String)
298
+ # * +:cache_parameter_groups+ - (Array<Hash>)
299
+ # * +:cache_parameter_group_name+ - (String)
300
+ # * +:cache_parameter_group_family+ - (String)
301
+ # * +:description+ - (String)
302
+
303
+ # @!method describe_cache_parameters(options = {})
304
+ # Calls the DescribeCacheParameters API operation.
305
+ # @param [Hash] options
306
+ # * +:cache_parameter_group_name+ - *required* - (String) The name of a
307
+ # specific cache parameter group to return details for.
308
+ # * +:source+ - (String) The parameter types to return. Valid values:
309
+ # user | system | engine-default
310
+ # * +:max_records+ - (Integer) The maximum number of records to include
311
+ # in the response. If more records exist than the specified
312
+ # MaxRecords value, a marker is included in the response so that the
313
+ # remaining results may be retrieved.
314
+ # * +:marker+ - (String) An optional marker provided in the previous
315
+ # DescribeCacheClusters request. If this parameter is specified, the
316
+ # response includes only records beyond the marker, up to the value
317
+ # specified by MaxRecords.
318
+ # @return [Core::Response]
319
+ # The #data method of the response object returns
320
+ # a hash with the following structure:
321
+ # * +:marker+ - (String)
322
+ # * +:parameters+ - (Array<Hash>)
323
+ # * +:parameter_name+ - (String)
324
+ # * +:parameter_value+ - (String)
325
+ # * +:description+ - (String)
326
+ # * +:source+ - (String)
327
+ # * +:data_type+ - (String)
328
+ # * +:allowed_values+ - (String)
329
+ # * +:is_modifiable+ - (Boolean)
330
+ # * +:minimum_engine_version+ - (String)
331
+ # * +:cache_node_type_specific_parameters+ - (Array<Hash>)
332
+ # * +:parameter_name+ - (String)
333
+ # * +:description+ - (String)
334
+ # * +:source+ - (String)
335
+ # * +:data_type+ - (String)
336
+ # * +:allowed_values+ - (String)
337
+ # * +:is_modifiable+ - (Boolean)
338
+ # * +:minimum_engine_version+ - (String)
339
+ # * +:cache_node_type_specific_values+ - (Array<Hash>)
340
+ # * +:cache_node_type+ - (String)
341
+ # * +:value+ - (String)
342
+
343
+ # @!method describe_cache_security_groups(options = {})
344
+ # Calls the DescribeCacheSecurityGroups API operation.
345
+ # @param [Hash] options
346
+ # * +:cache_security_group_name+ - (String) The name of the Cache
347
+ # Security Group to return details for.
348
+ # * +:max_records+ - (Integer) The maximum number of records to include
349
+ # in the response. If more records exist than the specified
350
+ # MaxRecords value, a marker is included in the response so that the
351
+ # remaining results may be retrieved. Default: 100 Constraints:
352
+ # minimum 20, maximum 100
353
+ # * +:marker+ - (String) An optional marker provided in the previous
354
+ # DescribeCacheClusters request. If this parameter is specified, the
355
+ # response includes only records beyond the marker, up to the value
356
+ # specified by MaxRecords.
357
+ # @return [Core::Response]
358
+ # The #data method of the response object returns
359
+ # a hash with the following structure:
360
+ # * +:marker+ - (String)
361
+ # * +:cache_security_groups+ - (Array<Hash>)
362
+ # * +:owner_id+ - (String)
363
+ # * +:cache_security_group_name+ - (String)
364
+ # * +:description+ - (String)
365
+ # * +:ec_2_security_groups+ - (Array<Hash>)
366
+ # * +:status+ - (String)
367
+ # * +:ec2_security_group_name+ - (String)
368
+ # * +:ec2_security_group_owner_id+ - (String)
369
+
370
+ # @!method describe_engine_default_parameters(options = {})
371
+ # Calls the DescribeEngineDefaultParameters API operation.
372
+ # @param [Hash] options
373
+ # * +:cache_parameter_group_family+ - *required* - (String) The name of
374
+ # the Cache Parameter Group Family. Currently, memcached1.4 is the
375
+ # only cache parameter group family supported by the service.
376
+ # * +:max_records+ - (Integer) The maximum number of records to include
377
+ # in the response. If more records exist than the specified
378
+ # MaxRecords value, a marker is included in the response so that the
379
+ # remaining results may be retrieved.
380
+ # * +:marker+ - (String) An optional marker provided in the previous
381
+ # DescribeCacheClusters request. If this parameter is specified, the
382
+ # response includes only records beyond the marker, up to the value
383
+ # specified by MaxRecords.
384
+ # @return [Core::Response]
385
+ # The #data method of the response object returns
386
+ # a hash with the following structure:
387
+ # * +:cache_parameter_group_family+ - (String)
388
+ # * +:marker+ - (String)
389
+ # * +:parameters+ - (Array<Hash>)
390
+ # * +:parameter_name+ - (String)
391
+ # * +:parameter_value+ - (String)
392
+ # * +:description+ - (String)
393
+ # * +:source+ - (String)
394
+ # * +:data_type+ - (String)
395
+ # * +:allowed_values+ - (String)
396
+ # * +:is_modifiable+ - (Boolean)
397
+ # * +:minimum_engine_version+ - (String)
398
+ # * +:cache_node_type_specific_parameters+ - (Array<Hash>)
399
+ # * +:parameter_name+ - (String)
400
+ # * +:description+ - (String)
401
+ # * +:source+ - (String)
402
+ # * +:data_type+ - (String)
403
+ # * +:allowed_values+ - (String)
404
+ # * +:is_modifiable+ - (Boolean)
405
+ # * +:minimum_engine_version+ - (String)
406
+ # * +:cache_node_type_specific_values+ - (Array<Hash>)
407
+ # * +:cache_node_type+ - (String)
408
+ # * +:value+ - (String)
409
+
410
+ # @!method describe_events(options = {})
411
+ # Calls the DescribeEvents API operation.
412
+ # @param [Hash] options
413
+ # * +:source_identifier+ - (String) The identifier of the event source
414
+ # for which events will be returned. If not specified, then all
415
+ # sources are included in the response.
416
+ # * +:source_type+ - (String) The event source to retrieve events for.
417
+ # If no value is specified, all events are returned.
418
+ # * +:start_time+ - (String<ISO8601 datetime>) The beginning of the
419
+ # time interval to retrieve events for, specified in ISO 8601 format.
420
+ # * +:end_time+ - (String<ISO8601 datetime>) The end of the time
421
+ # interval for which to retrieve events, specified in ISO 8601
422
+ # format.
423
+ # * +:duration+ - (Integer) The number of minutes to retrieve events
424
+ # for.
425
+ # * +:max_records+ - (Integer) The maximum number of records to include
426
+ # in the response. If more records exist than the specified
427
+ # MaxRecords value, a marker is included in the response so that the
428
+ # remaining results may be retrieved.
429
+ # * +:marker+ - (String) An optional marker provided in the previous
430
+ # DescribeCacheClusters request. If this parameter is specified, the
431
+ # response includes only records beyond the marker, up to the value
432
+ # specified by MaxRecords.
433
+ # @return [Core::Response]
434
+ # The #data method of the response object returns
435
+ # a hash with the following structure:
436
+ # * +:marker+ - (String)
437
+ # * +:events+ - (Array<Hash>)
438
+ # * +:source_identifier+ - (String)
439
+ # * +:source_type+ - (String)
440
+ # * +:message+ - (String)
441
+ # * +:date+ - (Time)
442
+
443
+ # @!method describe_reserved_cache_nodes(options = {})
444
+ # Calls the DescribeReservedCacheNodes API operation.
445
+ # @param [Hash] options
446
+ # * +:reserved_cache_node_id+ - (String) The reserved Cache Node
447
+ # identifier filter value. Specify this parameter to show only the
448
+ # reservation that matches the specified reservation ID.
449
+ # * +:reserved_cache_nodes_offering_id+ - (String) The offering
450
+ # identifier filter value. Specify this parameter to show only
451
+ # purchased reservations matching the specified offering identifier.
452
+ # * +:cache_node_type+ - (String) The Cache Node type filter value.
453
+ # Specify this parameter to show only those reservations matching the
454
+ # specified Cache Nodes type.
455
+ # * +:duration+ - (String) The duration filter value, specified in
456
+ # years or seconds. Specify this parameter to show only reservations
457
+ # for this duration. Valid Values: 1 | 3 | 31536000 | 94608000
458
+ # * +:product_description+ - (String) The product description filter
459
+ # value. Specify this parameter to show only those reservations
460
+ # matching the specified product description.
461
+ # * +:offering_type+ - (String) The offering type filter value. Specify
462
+ # this parameter to show only the available offerings matching the
463
+ # specified offering type. Valid Values: "Light Utilization" |
464
+ # "Medium Utilization" | "Heavy Utilization"
465
+ # * +:max_records+ - (Integer) The maximum number of records to include
466
+ # in the response. If more than the MaxRecords value is available, a
467
+ # marker is included in the response so that the following results
468
+ # can be retrieved. Default: 100 Constraints: minimum 20, maximum 100
469
+ # * +:marker+ - (String) The marker provided in the previous request.
470
+ # If this parameter is specified, the response includes records
471
+ # beyond the marker only, up to MaxRecords.
472
+ # @return [Core::Response]
473
+ # The #data method of the response object returns
474
+ # a hash with the following structure:
475
+ # * +:marker+ - (String)
476
+ # * +:reserved_cache_nodes+ - (Array<Hash>)
477
+ # * +:reserved_cache_node_id+ - (String)
478
+ # * +:reserved_cache_nodes_offering_id+ - (String)
479
+ # * +:cache_node_type+ - (String)
480
+ # * +:start_time+ - (Time)
481
+ # * +:duration+ - (Integer)
482
+ # * +:fixed_price+ - (Numeric)
483
+ # * +:usage_price+ - (Numeric)
484
+ # * +:cache_node_count+ - (Integer)
485
+ # * +:product_description+ - (String)
486
+ # * +:offering_type+ - (String)
487
+ # * +:state+ - (String)
488
+ # * +:recurring_charges+ - (Array<Hash>)
489
+ # * +:recurring_charge_amount+ - (Numeric)
490
+ # * +:recurring_charge_frequency+ - (String)
491
+
492
+ # @!method describe_reserved_cache_nodes_offerings(options = {})
493
+ # Calls the DescribeReservedCacheNodesOfferings API operation.
494
+ # @param [Hash] options
495
+ # * +:reserved_cache_nodes_offering_id+ - (String) The offering
496
+ # identifier filter value. Specify this parameter to show only the
497
+ # available offering that matches the specified reservation
498
+ # identifier. Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706
499
+ # * +:cache_node_type+ - (String) The Cache Node type filter value.
500
+ # Specify this parameter to show only the available offerings
501
+ # matching the specified Cache Node type.
502
+ # * +:duration+ - (String) Duration filter value, specified in years or
503
+ # seconds. Specify this parameter to show only reservations for this
504
+ # duration. Valid Values: 1 | 3 | 31536000 | 94608000
505
+ # * +:product_description+ - (String) Product description filter value.
506
+ # Specify this parameter to show only the available offerings
507
+ # matching the specified product description.
508
+ # * +:offering_type+ - (String) The offering type filter value. Specify
509
+ # this parameter to show only the available offerings matching the
510
+ # specified offering type. Valid Values: "Light Utilization" |
511
+ # "Medium Utilization" | "Heavy Utilization"
512
+ # * +:max_records+ - (Integer) The maximum number of records to include
513
+ # in the response. If more than the MaxRecords value is available, a
514
+ # marker is included in the response so that the following results
515
+ # can be retrieved. Default: 100 Constraints: minimum 20, maximum 100
516
+ # * +:marker+ - (String) The marker provided in the previous request.
517
+ # If this parameter is specified, the response includes records
518
+ # beyond the marker only, up to MaxRecords.
519
+ # @return [Core::Response]
520
+ # The #data method of the response object returns
521
+ # a hash with the following structure:
522
+ # * +:marker+ - (String)
523
+ # * +:reserved_cache_nodes_offerings+ - (Array<Hash>)
524
+ # * +:reserved_cache_nodes_offering_id+ - (String)
525
+ # * +:cache_node_type+ - (String)
526
+ # * +:duration+ - (Integer)
527
+ # * +:fixed_price+ - (Numeric)
528
+ # * +:usage_price+ - (Numeric)
529
+ # * +:product_description+ - (String)
530
+ # * +:offering_type+ - (String)
531
+ # * +:recurring_charges+ - (Array<Hash>)
532
+ # * +:recurring_charge_amount+ - (Numeric)
533
+ # * +:recurring_charge_frequency+ - (String)
534
+
535
+ # @!method modify_cache_cluster(options = {})
536
+ # Calls the ModifyCacheCluster API operation.
537
+ # @param [Hash] options
538
+ # * +:cache_cluster_id+ - *required* - (String) The Cache Cluster
539
+ # identifier. This value is stored as a lowercase string.
540
+ # * +:num_cache_nodes+ - (Integer) The number of Cache Nodes the Cache
541
+ # Cluster should have. If NumCacheNodes is greater than the existing
542
+ # number of Cache Nodes, Cache Nodes will be added. If NumCacheNodes
543
+ # is less than the existing number of Cache Nodes, Cache Nodes will
544
+ # be removed. When removing Cache Nodes, the Ids of the specific
545
+ # Cache Nodes to be removed must be supplied using the
546
+ # CacheNodeIdsToRemove parameter.
547
+ # * +:cache_node_ids_to_remove+ - (Array<String>) The list of Cache
548
+ # Node IDs to be removed. This parameter is only valid when
549
+ # NumCacheNodes is less than the existing number of Cache Nodes. The
550
+ # number of Cache Node Ids supplied in this parameter must match the
551
+ # difference between the existing number of Cache Nodes in the
552
+ # cluster and the new NumCacheNodes requested.
553
+ # * +:cache_security_group_names+ - (Array<String>) A list of Cache
554
+ # Security Group Names to authorize on this Cache Cluster. This
555
+ # change is asynchronously applied as soon as possible. Constraints:
556
+ # Must contain no more than 255 alphanumeric characters. Must not be
557
+ # "Default".
558
+ # * +:preferred_maintenance_window+ - (String) The weekly time range
559
+ # (in UTC) during which system maintenance can occur, which may
560
+ # result in an outage. This change is made immediately. If moving
561
+ # this window to the current time, there must be at least 120 minutes
562
+ # between the current time and end of the window to ensure pending
563
+ # changes are applied.
564
+ # * +:notification_topic_arn+ - (String) The Amazon Resource Name (ARN)
565
+ # of the SNS topic to which notifications will be sent. The SNS topic
566
+ # owner must be same as the Cache Cluster owner.
567
+ # * +:cache_parameter_group_name+ - (String) The name of the Cache
568
+ # Parameter Group to apply to this Cache Cluster. This change is
569
+ # asynchronously applied as soon as possible for parameters when the
570
+ # ApplyImmediately parameter is specified as +true+ for this request.
571
+ # * +:notification_topic_status+ - (String) The status of the Amazon
572
+ # SNS notification topic. The value can be active or inactive.
573
+ # Notifications are sent only if the status is active.
574
+ # * +:apply_immediately+ - (Boolean) Specifies whether or not the
575
+ # modifications in this request and any pending modifications are
576
+ # asynchronously applied as soon as possible, regardless of the
577
+ # PreferredMaintenanceWindow setting for the Cache Cluster. If this
578
+ # parameter is passed as +false+ , changes to the Cache Cluster are
579
+ # applied on the next maintenance reboot, or the next failure reboot,
580
+ # whichever occurs first. Default: +false+
581
+ # * +:engine_version+ - (String) The version of the cache engine to
582
+ # upgrade this cluster to.
583
+ # * +:auto_minor_version_upgrade+ - (Boolean) Indicates that minor
584
+ # engine upgrades will be applied automatically to the Cache Cluster
585
+ # during the maintenance window. Default: +true+
586
+ # @return [Core::Response]
587
+ # The #data method of the response object returns
588
+ # a hash with the following structure:
589
+ # * +:cache_cluster_id+ - (String)
590
+ # * +:cache_node_type+ - (String)
591
+ # * +:engine+ - (String)
592
+ # * +:engine_version+ - (String)
593
+ # * +:cache_cluster_status+ - (String)
594
+ # * +:num_cache_nodes+ - (Integer)
595
+ # * +:preferred_availability_zone+ - (String)
596
+ # * +:cache_cluster_create_time+ - (Time)
597
+ # * +:preferred_maintenance_window+ - (String)
598
+ # * +:pending_modified_values+ - (Hash)
599
+ # * +:num_cache_nodes+ - (Integer)
600
+ # * +:cache_node_ids_to_remove+ - (Array<String>)
601
+ # * +:engine_version+ - (String)
602
+ # * +:notification_configuration+ - (Hash)
603
+ # * +:topic_arn+ - (String)
604
+ # * +:topic_status+ - (String)
605
+ # * +:cache_security_groups+ - (Array<Hash>)
606
+ # * +:cache_security_group_name+ - (String)
607
+ # * +:status+ - (String)
608
+ # * +:cache_parameter_group+ - (Hash)
609
+ # * +:cache_parameter_group_name+ - (String)
610
+ # * +:parameter_apply_status+ - (String)
611
+ # * +:cache_node_ids_to_reboot+ - (Array<String>)
612
+ # * +:cache_nodes+ - (Array<Hash>)
613
+ # * +:cache_node_id+ - (String)
614
+ # * +:cache_node_status+ - (String)
615
+ # * +:cache_node_create_time+ - (Time)
616
+ # * +:endpoint+ - (Hash)
617
+ # * +:address+ - (String)
618
+ # * +:port+ - (Integer)
619
+ # * +:parameter_group_status+ - (String)
620
+ # * +:auto_minor_version_upgrade+ - (Boolean)
621
+
622
+ # @!method modify_cache_parameter_group(options = {})
623
+ # Calls the ModifyCacheParameterGroup API operation.
624
+ # @param [Hash] options
625
+ # * +:cache_parameter_group_name+ - *required* - (String) The name of
626
+ # the cache parameter group to modify.
627
+ # * +:parameter_name_values+ - *required* - (Array<Hash>) An array of
628
+ # parameter names and values for the parameter update. At least one
629
+ # parameter name and value must be supplied; subsequent arguments are
630
+ # optional. A maximum of 20 parameters may be modified in a single
631
+ # request.
632
+ # * +:parameter_name+ - (String) Specifies the name of the parameter.
633
+ # * +:parameter_value+ - (String) Specifies the value of the
634
+ # parameter.
635
+ # @return [Core::Response]
636
+ # The #data method of the response object returns
637
+ # a hash with the following structure:
638
+ # * +:cache_parameter_group_name+ - (String)
639
+
640
+ # @!method purchase_reserved_cache_nodes_offering(options = {})
641
+ # Calls the PurchaseReservedCacheNodesOffering API operation.
642
+ # @param [Hash] options
643
+ # * +:reserved_cache_nodes_offering_id+ - *required* - (String) The ID
644
+ # of the Reserved Cache Node offering to purchase. Example:
645
+ # 438012d3-4052-4cc7-b2e3-8d3372e0e706
646
+ # * +:reserved_cache_node_id+ - (String) Customer-specified identifier
647
+ # to track this reservation. Example: myreservationID
648
+ # * +:cache_node_count+ - (Integer) The number of instances to reserve.
649
+ # Default: 1
650
+ # @return [Core::Response]
651
+ # The #data method of the response object returns
652
+ # a hash with the following structure:
653
+ # * +:reserved_cache_node_id+ - (String)
654
+ # * +:reserved_cache_nodes_offering_id+ - (String)
655
+ # * +:cache_node_type+ - (String)
656
+ # * +:start_time+ - (Time)
657
+ # * +:duration+ - (Integer)
658
+ # * +:fixed_price+ - (Numeric)
659
+ # * +:usage_price+ - (Numeric)
660
+ # * +:cache_node_count+ - (Integer)
661
+ # * +:product_description+ - (String)
662
+ # * +:offering_type+ - (String)
663
+ # * +:state+ - (String)
664
+ # * +:recurring_charges+ - (Array<Hash>)
665
+ # * +:recurring_charge_amount+ - (Numeric)
666
+ # * +:recurring_charge_frequency+ - (String)
667
+
668
+ # @!method reboot_cache_cluster(options = {})
669
+ # Calls the RebootCacheCluster API operation.
670
+ # @param [Hash] options
671
+ # * +:cache_cluster_id+ - *required* - (String) The Cache Cluster
672
+ # identifier. This parameter is stored as a lowercase string.
673
+ # * +:cache_node_ids_to_reboot+ - *required* - (Array<String>) A list
674
+ # of Cache Cluster Node Ids to reboot. To reboot an entire cache
675
+ # cluster, specify all cache cluster node Ids.
676
+ # @return [Core::Response]
677
+ # The #data method of the response object returns
678
+ # a hash with the following structure:
679
+ # * +:cache_cluster_id+ - (String)
680
+ # * +:cache_node_type+ - (String)
681
+ # * +:engine+ - (String)
682
+ # * +:engine_version+ - (String)
683
+ # * +:cache_cluster_status+ - (String)
684
+ # * +:num_cache_nodes+ - (Integer)
685
+ # * +:preferred_availability_zone+ - (String)
686
+ # * +:cache_cluster_create_time+ - (Time)
687
+ # * +:preferred_maintenance_window+ - (String)
688
+ # * +:pending_modified_values+ - (Hash)
689
+ # * +:num_cache_nodes+ - (Integer)
690
+ # * +:cache_node_ids_to_remove+ - (Array<String>)
691
+ # * +:engine_version+ - (String)
692
+ # * +:notification_configuration+ - (Hash)
693
+ # * +:topic_arn+ - (String)
694
+ # * +:topic_status+ - (String)
695
+ # * +:cache_security_groups+ - (Array<Hash>)
696
+ # * +:cache_security_group_name+ - (String)
697
+ # * +:status+ - (String)
698
+ # * +:cache_parameter_group+ - (Hash)
699
+ # * +:cache_parameter_group_name+ - (String)
700
+ # * +:parameter_apply_status+ - (String)
701
+ # * +:cache_node_ids_to_reboot+ - (Array<String>)
702
+ # * +:cache_nodes+ - (Array<Hash>)
703
+ # * +:cache_node_id+ - (String)
704
+ # * +:cache_node_status+ - (String)
705
+ # * +:cache_node_create_time+ - (Time)
706
+ # * +:endpoint+ - (Hash)
707
+ # * +:address+ - (String)
708
+ # * +:port+ - (Integer)
709
+ # * +:parameter_group_status+ - (String)
710
+ # * +:auto_minor_version_upgrade+ - (Boolean)
711
+
712
+ # @!method reset_cache_parameter_group(options = {})
713
+ # Calls the ResetCacheParameterGroup API operation.
714
+ # @param [Hash] options
715
+ # * +:cache_parameter_group_name+ - *required* - (String) The name of
716
+ # the Cache Parameter Group.
717
+ # * +:reset_all_parameters+ - (Boolean) Specifies whether ( +true+ ) or
718
+ # not ( +false+ ) to reset all parameters in the Cache Parameter
719
+ # Group to default values.
720
+ # * +:parameter_name_values+ - *required* - (Array<Hash>) An array of
721
+ # parameter names which should be reset. If not resetting the entire
722
+ # CacheParameterGroup, at least one parameter name must be supplied.
723
+ # * +:parameter_name+ - (String) Specifies the name of the parameter.
724
+ # * +:parameter_value+ - (String) Specifies the value of the
725
+ # parameter.
726
+ # @return [Core::Response]
727
+ # The #data method of the response object returns
728
+ # a hash with the following structure:
729
+ # * +:cache_parameter_group_name+ - (String)
730
+
731
+ # @!method revoke_cache_security_group_ingress(options = {})
732
+ # Calls the RevokeCacheSecurityGroupIngress API operation.
733
+ # @param [Hash] options
734
+ # * +:cache_security_group_name+ - *required* - (String) The name of
735
+ # the Cache Security Group to revoke ingress from.
736
+ # * +:ec2_security_group_name+ - *required* - (String) The name of the
737
+ # EC2 Security Group to revoke access from.
738
+ # * +:ec2_security_group_owner_id+ - *required* - (String) The AWS
739
+ # Account Number of the owner of the security group specified in the
740
+ # EC2SecurityGroupName parameter. The AWS Access Key ID is not an
741
+ # acceptable value.
742
+ # @return [Core::Response]
743
+ # The #data method of the response object returns
744
+ # a hash with the following structure:
745
+ # * +:owner_id+ - (String)
746
+ # * +:cache_security_group_name+ - (String)
747
+ # * +:description+ - (String)
748
+ # * +:ec_2_security_groups+ - (Array<Hash>)
749
+ # * +:status+ - (String)
750
+ # * +:ec2_security_group_name+ - (String)
751
+ # * +:ec2_security_group_owner_id+ - (String)
752
+
753
+ ## end client methods ##
754
+ ## end clienet methods ##
755
+
756
+ end
757
+ end
758
+ end