aws-sdk 1.8.2 → 1.8.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,18 @@
1
+ # Copyright 2011-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License"). You
4
+ # may not use this file except in compliance with the License. A copy of
5
+ # the License is located at
6
+ #
7
+ # http://aws.amazon.com/apache2.0/
8
+ #
9
+ # or in the "license" file accompanying this file. This file is
10
+ # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
11
+ # ANY KIND, either express or implied. See the License for the specific
12
+ # language governing permissions and limitations under the License.
13
+
14
+ AWS::Core::Configuration.module_eval do
15
+
16
+ add_service 'OpsWorks', 'ops_works', 'opsworks.us-east-1.amazonaws.com'
17
+
18
+ end
@@ -0,0 +1,20 @@
1
+ # Copyright 2011-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License"). You
4
+ # may not use this file except in compliance with the License. A copy of
5
+ # the License is located at
6
+ #
7
+ # http://aws.amazon.com/apache2.0/
8
+ #
9
+ # or in the "license" file accompanying this file. This file is
10
+ # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
11
+ # ANY KIND, either express or implied. See the License for the specific
12
+ # language governing permissions and limitations under the License.
13
+
14
+ module AWS
15
+ class OpsWorks
16
+ module Errors
17
+ extend Core::LazyErrorClasses
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,27 @@
1
+ # Copyright 2011-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License"). You
4
+ # may not use this file except in compliance with the License. A copy of
5
+ # the License is located at
6
+ #
7
+ # http://aws.amazon.com/apache2.0/
8
+ #
9
+ # or in the "license" file accompanying this file. This file is
10
+ # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
11
+ # ANY KIND, either express or implied. See the License for the specific
12
+ # language governing permissions and limitations under the License.
13
+
14
+ module AWS
15
+ class OpsWorks
16
+
17
+ # @private
18
+ class Request < Core::Http::Request
19
+ include Core::Signature::Version4
20
+
21
+ def service
22
+ 'opsworks'
23
+ end
24
+
25
+ end
26
+ end
27
+ end
@@ -83,7 +83,7 @@ module AWS
83
83
  # a value that is populated onto all new instnaces of the class.
84
84
  #
85
85
  # class Book < AWS::Record::Model
86
- # string_attr :author, :deafult_value => 'Me'
86
+ # string_attr :author, :default_value => 'Me'
87
87
  # end
88
88
  #
89
89
  # Book.new.author #=> 'Me'
@@ -60,6 +60,23 @@ module AWS
60
60
  # resource record sets that have the same combination of DNS name
61
61
  # and type, a value that specifies the AWS region for the current
62
62
  # resource record set.
63
+ # * +:failover+ - (String) Failover resource record sets only:
64
+ # Among resource record sets that have the same combination of
65
+ # DNS name and type, a value that indicates whether the current
66
+ # resource record set is a primary or secondary resource record
67
+ # set. A failover set may contain at most one resource record set
68
+ # marked as primary and one resource record set marked as
69
+ # secondary. A resource record set marked as primary will be
70
+ # returned if any of the following are +true+ : (1) an associated
71
+ # health check is passing, (2) if the resource record set is an
72
+ # alias with the evaluate target health and at least one target
73
+ # resource record set is healthy, (3) both the primary and
74
+ # secondary resource record set are failing health checks or (4)
75
+ # there is no secondary resource record set. A secondary resource
76
+ # record set will be returned if: (1) the primary is failing a
77
+ # health check and either the secondary is passing a health check
78
+ # or has no associated health check, or (2) there is no primary
79
+ # resource record set. Valid values: PRIMARY | SECONDARY
63
80
  # * +:ttl+ - (Integer) The cache time to live for the current
64
81
  # resource record set.
65
82
  # * +:resource_records+ - (Array<Hash>) A complex type that
@@ -86,6 +103,19 @@ module AWS
86
103
  # zone ID for the LoadBalancer, see Creating Alias Resource
87
104
  # Record Sets for Elastic Load Balancing in the Amazon Route 53
88
105
  # Developer Guide.
106
+ # * +:evaluate_target_health+ - *required* - (Boolean) Alias
107
+ # resource record sets only: A boolean value that indicates
108
+ # whether this Resource Record Set should respect the health
109
+ # status of any health checks associated with the ALIAS target
110
+ # record which it is linked to. Currently, Route 53 supports
111
+ # health checks only for Elastic Load Balancing. For more
112
+ # information, an example, see Creating Alias Resource Record
113
+ # Sets for Elastic Load Balancing in the Amazon Route 53
114
+ # Developer Guide.
115
+ # * +:health_check_id+ - (String) Health Check resource record sets
116
+ # only, not required for alias resource record sets: An
117
+ # identifier that is used to identify health check associated
118
+ # with the resource record set.
89
119
  # @return [Core::Response]
90
120
  # The #data method of the response object returns
91
121
  # a hash with the following structure:
@@ -95,6 +125,45 @@ module AWS
95
125
  # * +:submitted_at+ - (Time)
96
126
  # * +:comment+ - (String)
97
127
 
128
+ # @!method create_health_check(options = {})
129
+ # Calls the POST CreateHealthCheck API operation.
130
+ # @param [Hash] options
131
+ # * +:caller_reference+ - *required* - (String) A unique string that
132
+ # identifies the request and that allows failed CreateHealthCheck
133
+ # requests to be retried without the risk of executing the operation
134
+ # twice. You must use a unique CallerReference string every time you
135
+ # create a health check. CallerReference can be any unique string; you
136
+ # might choose to use a string that identifies your project. Valid
137
+ # characters are any Unicode code points that are legal in an XML 1.0
138
+ # document. The UTF-8 encoding of the value must be less than 128
139
+ # bytes.
140
+ # * +:health_check_config+ - *required* - (Hash) A complex type that
141
+ # contains health check configuration.
142
+ # * +:ip_address+ - *required* - (String) IP Address of the instance
143
+ # being checked.
144
+ # * +:port+ - (Integer) Port on which connection will be opened to the
145
+ # instance to health check. For HTTP this defaults to 80 if the port
146
+ # is not specified.
147
+ # * +:type+ - *required* - (String) The type of health check to be
148
+ # performed. Currently supported protocols are TCP and HTTP.
149
+ # * +:resource_path+ - (String) Path to ping on the instance to check
150
+ # the health. Required only for HTTP health checks, HTTP request is
151
+ # issued to the instance on the given port and path.
152
+ # * +:fully_qualified_domain_name+ - (String) Fully qualified domain
153
+ # name of the instance to be health checked.
154
+ # @return [Core::Response]
155
+ # The #data method of the response object returns
156
+ # a hash with the following structure:
157
+ # * +:health_check+ - (Hash)
158
+ # * +:id+ - (String)
159
+ # * +:caller_reference+ - (String)
160
+ # * +:health_check_config+ - (Hash)
161
+ # * +:ip_address+ - (String)
162
+ # * +:port+ - (Integer)
163
+ # * +:type+ - (String)
164
+ # * +:resource_path+ - (String)
165
+ # * +:fully_qualified_domain_name+ - (String)
166
+
98
167
  # @!method create_hosted_zone(options = {})
99
168
  # Calls the POST CreateHostedZone API operation.
100
169
  # @param [Hash] options
@@ -139,6 +208,13 @@ module AWS
139
208
  # * +:delegation_set+ - (Hash)
140
209
  # * +:name_servers+ - (Array<String>)
141
210
 
211
+ # @!method delete_health_check(options = {})
212
+ # Calls the DELETE DeleteHealthCheck API operation.
213
+ # @param [Hash] options
214
+ # * +:health_check_id+ - *required* - (String) The ID of the health check
215
+ # to delete.
216
+ # @return [Core::Response]
217
+
142
218
  # @!method delete_hosted_zone(options = {})
143
219
  # Calls the DELETE DeleteHostedZone API operation.
144
220
  # @param [Hash] options
@@ -170,6 +246,24 @@ module AWS
170
246
  # * +:submitted_at+ - (Time)
171
247
  # * +:comment+ - (String)
172
248
 
249
+ # @!method get_health_check(options = {})
250
+ # Calls the GET GetHealthCheck API operation.
251
+ # @param [Hash] options
252
+ # * +:health_check_id+ - *required* - (String) The ID of the health check
253
+ # to retrieve.
254
+ # @return [Core::Response]
255
+ # The #data method of the response object returns
256
+ # a hash with the following structure:
257
+ # * +:health_check+ - (Hash)
258
+ # * +:id+ - (String)
259
+ # * +:caller_reference+ - (String)
260
+ # * +:health_check_config+ - (Hash)
261
+ # * +:ip_address+ - (String)
262
+ # * +:port+ - (Integer)
263
+ # * +:type+ - (String)
264
+ # * +:resource_path+ - (String)
265
+ # * +:fully_qualified_domain_name+ - (String)
266
+
173
267
  # @!method get_hosted_zone(options = {})
174
268
  # Calls the GET GetHostedZone API operation.
175
269
  # @param [Hash] options
@@ -188,6 +282,32 @@ module AWS
188
282
  # * +:delegation_set+ - (Hash)
189
283
  # * +:name_servers+ - (Array<String>)
190
284
 
285
+ # @!method list_health_checks(options = {})
286
+ # Calls the GET ListHealthChecks API operation.
287
+ # @param [Hash] options
288
+ # * +:marker+ - (String) If the request returned more than one page of
289
+ # results, submit another request and specify the value of NextMarker
290
+ # from the last response in the marker parameter to get the next page
291
+ # of results.
292
+ # * +:max_items+ - (Integer) Specify the maximum number of health checks
293
+ # to return per page of results.
294
+ # @return [Core::Response]
295
+ # The #data method of the response object returns
296
+ # a hash with the following structure:
297
+ # * +:health_checks+ - (Array<Hash>)
298
+ # * +:id+ - (String)
299
+ # * +:caller_reference+ - (String)
300
+ # * +:health_check_config+ - (Hash)
301
+ # * +:ip_address+ - (String)
302
+ # * +:port+ - (Integer)
303
+ # * +:type+ - (String)
304
+ # * +:resource_path+ - (String)
305
+ # * +:fully_qualified_domain_name+ - (String)
306
+ # * +:marker+ - (String)
307
+ # * +:is_truncated+ - (Boolean)
308
+ # * +:next_marker+ - (String)
309
+ # * +:max_items+ - (String)
310
+
191
311
  # @!method list_hosted_zones(options = {})
192
312
  # Calls the GET ListHostedZones API operation.
193
313
  # @param [Hash] options
@@ -243,12 +363,15 @@ module AWS
243
363
  # * +:set_identifier+ - (String)
244
364
  # * +:weight+ - (Integer)
245
365
  # * +:region+ - (String)
366
+ # * +:failover+ - (String)
246
367
  # * +:ttl+ - (Integer)
247
368
  # * +:resource_records+ - (Array<Hash>)
248
369
  # * +:value+ - (String)
249
370
  # * +:alias_target+ - (Hash)
250
371
  # * +:hosted_zone_id+ - (String)
251
372
  # * +:dns_name+ - (String)
373
+ # * +:evaluate_target_health+ - (Boolean)
374
+ # * +:health_check_id+ - (String)
252
375
  # * +:is_truncated+ - (Boolean)
253
376
  # * +:next_record_name+ - (String)
254
377
  # * +:next_record_type+ - (String)
@@ -257,7 +380,7 @@ module AWS
257
380
 
258
381
  # end client methods #
259
382
 
260
- define_client_methods('2012-02-29')
383
+ define_client_methods('2012-12-12')
261
384
 
262
385
  end
263
386
  end
@@ -153,39 +153,10 @@ module AWS
153
153
  end
154
154
  alias_method :put_bucket, :create_bucket
155
155
 
156
- # @overload put_bucket_website(options = {})
156
+ # @!method put_bucket_website(options = {})
157
157
  # @param [Hash] options
158
+ # @option (see WebsiteConfiguration#initialize)
158
159
  # @option options [required,String] :bucket_name
159
- # @option options [Hash] :redirect_all_requests_to
160
- # Describes the redirect behavior for every request to this
161
- # bucket's website endpoint. If this element is present, no
162
- # other options are are allowed.
163
- # * +:host_name+ - (*required*, String)
164
- # Name of the host where requests will be redirected.
165
- # * +:protocol+ - (String)
166
- # Protocol to use (http, https) when redirecting requests. The
167
- # default is the protocol that is used in the original request.
168
- # @option options [Hash] :index_document
169
- # * +:suffix+ - (*required*, String) - A suffix that is appended to
170
- # a request that is for a directory on the website endpoint
171
- # (e.g. if the suffix is index.html and you make a request to
172
- # samplebucket/images/ the data that is returned will be for
173
- # the object with the key name images/index.html).
174
- # The suffix must not be empty and must not include a
175
- # slash character.
176
- # @option options [Hash] :error_document
177
- # * +:key+ - (*required*, String) - The object key name to use
178
- # when a 4XX class error occurs.
179
- # @option options [Array<Hash>] :routing_rules
180
- # * +:redirect+ - (*required*, Hash)
181
- # * +:host_name+ - (String)
182
- # * +:protocol+ - (String)
183
- # * +:replace_key_prefix_with+ - (String)
184
- # * +:replace_key_with+ - (String)
185
- # * +:http_redirect_code+ - (String)
186
- # * +:condition+ - (Hash)
187
- # * +:key_prefix_equals+ - (String)
188
- # * +:http_error_code_returned_equals+ - (String)
189
160
  # @return [Core::Response]
190
161
  bucket_method(:put_bucket_website, :put, 'website') do
191
162
 
@@ -18,7 +18,36 @@ module AWS
18
18
  class S3
19
19
  class WebsiteConfiguration
20
20
 
21
- # @option (see S3::Client#put_bucket_website)
21
+ # @option options [Hash] :redirect_all_requests_to
22
+ # Describes the redirect behavior for every request to this
23
+ # bucket's website endpoint. If this element is present, no
24
+ # other options are are allowed.
25
+ # * +:host_name+ - (*required*, String)
26
+ # Name of the host where requests will be redirected.
27
+ # * +:protocol+ - (String)
28
+ # Protocol to use (http, https) when redirecting requests. The
29
+ # default is the protocol that is used in the original request.
30
+ # @option options [Hash] :index_document
31
+ # * +:suffix+ - (*required*, String) - A suffix that is appended to
32
+ # a request that is for a directory on the website endpoint
33
+ # (e.g. if the suffix is index.html and you make a request to
34
+ # samplebucket/images/ the data that is returned will be for
35
+ # the object with the key name images/index.html).
36
+ # The suffix must not be empty and must not include a
37
+ # slash character.
38
+ # @option options [Hash] :error_document
39
+ # * +:key+ - (*required*, String) - The object key name to use
40
+ # when a 4XX class error occurs.
41
+ # @option options [Array<Hash>] :routing_rules
42
+ # * +:redirect+ - (*required*, Hash)
43
+ # * +:host_name+ - (String)
44
+ # * +:protocol+ - (String)
45
+ # * +:replace_key_prefix_with+ - (String)
46
+ # * +:replace_key_with+ - (String)
47
+ # * +:http_redirect_code+ - (String)
48
+ # * +:condition+ - (Hash)
49
+ # * +:key_prefix_equals+ - (String)
50
+ # * +:http_error_code_returned_equals+ - (String)
22
51
  def initialize options = {}
23
52
  @options = deep_copy(options)
24
53
  if @options.empty?
@@ -14,5 +14,5 @@
14
14
 
15
15
  module AWS
16
16
  # Current version of the AWS SDK for Ruby
17
- VERSION = '1.8.2'
17
+ VERSION = '1.8.3'
18
18
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.2
4
+ version: 1.8.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-15 00:00:00.000000000 Z
12
+ date: 2013-02-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: uuidtools
@@ -379,6 +379,11 @@ files:
379
379
  - lib/aws/import_export/errors.rb
380
380
  - lib/aws/import_export/request.rb
381
381
  - lib/aws/import_export.rb
382
+ - lib/aws/ops_works/client.rb
383
+ - lib/aws/ops_works/config.rb
384
+ - lib/aws/ops_works/errors.rb
385
+ - lib/aws/ops_works/request.rb
386
+ - lib/aws/ops_works.rb
382
387
  - lib/aws/rails.rb
383
388
  - lib/aws/rds/client.rb
384
389
  - lib/aws/rds/config.rb
@@ -576,6 +581,7 @@ files:
576
581
  - lib/aws/api_config/DynamoDB-2011-12-05.yml
577
582
  - lib/aws/api_config/EC2-2012-12-01.yml
578
583
  - lib/aws/api_config/ElastiCache-2012-03-09.yml
584
+ - lib/aws/api_config/ElastiCache-2012-11-15.yml
579
585
  - lib/aws/api_config/ElasticBeanstalk-2010-12-01.yml
580
586
  - lib/aws/api_config/ElasticTranscoder-2012-09-25.yml
581
587
  - lib/aws/api_config/ELB-2012-06-01.yml
@@ -583,9 +589,11 @@ files:
583
589
  - lib/aws/api_config/Glacier-2012-06-01.yml
584
590
  - lib/aws/api_config/IAM-2010-05-08.yml
585
591
  - lib/aws/api_config/ImportExport-2010-06-01.yml
592
+ - lib/aws/api_config/OpsWorks-2013-02-18.yml
586
593
  - lib/aws/api_config/RDS-2012-09-17.yml
587
594
  - lib/aws/api_config/Redshift-2012-12-01.yml
588
595
  - lib/aws/api_config/Route53-2012-02-29.yml
596
+ - lib/aws/api_config/Route53-2012-12-12.yml
589
597
  - lib/aws/api_config/SimpleDB-2009-04-15.yml
590
598
  - lib/aws/api_config/SimpleEmailService-2010-12-01.yml
591
599
  - lib/aws/api_config/SimpleWorkflow-2012-01-25.yml
@@ -614,7 +622,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
614
622
  version: '0'
615
623
  requirements: []
616
624
  rubyforge_project:
617
- rubygems_version: 1.8.24
625
+ rubygems_version: 1.8.23
618
626
  signing_key:
619
627
  specification_version: 3
620
628
  summary: AWS SDK for Ruby