aws-sdk 1.6.6 → 1.6.7
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.
- data/lib/aws/auto_scaling/client.rb +35 -35
- data/lib/aws/cloud_formation/client.rb +15 -15
- data/lib/aws/cloud_watch/client.rb +13 -13
- data/lib/aws/core.rb +1 -1
- data/lib/aws/core/http/request.rb +1 -1
- data/lib/aws/core/option_grammar.rb +2 -2
- data/lib/aws/core/signature/version_4.rb +1 -1
- data/lib/aws/dynamo_db/client.rb +15 -15
- data/lib/aws/ec2/client.rb +145 -144
- data/lib/aws/elb/client.rb +25 -25
- data/lib/aws/emr/client.rb +11 -9
- data/lib/aws/iam/client.rb +71 -71
- data/lib/aws/route_53/client.rb +11 -9
- data/lib/aws/s3/bucket.rb +26 -4
- data/lib/aws/s3/client.rb +15 -6
- data/lib/aws/s3/s3_object.rb +4 -4
- data/lib/aws/simple_db/client.rb +12 -12
- data/lib/aws/simple_email_service/client.rb +20 -20
- data/lib/aws/simple_workflow/client.rb +33 -33
- data/lib/aws/sns/client.rb +17 -17
- data/lib/aws/sqs/client.rb +17 -17
- data/lib/aws/sts.rb +1 -1
- data/lib/aws/sts/client.rb +4 -4
- metadata +69 -81
data/lib/aws/sqs/client.rb
CHANGED
@@ -17,13 +17,15 @@ module AWS
|
|
17
17
|
# Client class for Amazon Simple Queue Service (SQS).
|
18
18
|
class Client < Core::QueryClient
|
19
19
|
|
20
|
+
define_client_methods('2011-10-01')
|
21
|
+
|
20
22
|
# @private
|
21
23
|
CACHEABLE_REQUESTS = Set[]
|
22
24
|
|
23
25
|
## client methods ##
|
24
26
|
|
27
|
+
# @!method add_permission(options = {})
|
25
28
|
# Calls the AddPermission API operation.
|
26
|
-
# @method add_permission(options = {})
|
27
29
|
# @param [Hash] options
|
28
30
|
# * +:queue_url+ - *required* - (String) The URL of the SQS queue to
|
29
31
|
# take action on.
|
@@ -39,8 +41,8 @@ module AWS
|
|
39
41
|
# wants to allow for the specified principal.
|
40
42
|
# @return [Core::Response]
|
41
43
|
|
44
|
+
# @!method change_message_visibility(options = {})
|
42
45
|
# Calls the ChangeMessageVisibility API operation.
|
43
|
-
# @method change_message_visibility(options = {})
|
44
46
|
# @param [Hash] options
|
45
47
|
# * +:queue_url+ - *required* - (String) The URL of the SQS queue to
|
46
48
|
# take action on.
|
@@ -51,8 +53,8 @@ module AWS
|
|
51
53
|
# seconds) for the message's visibility timeout.
|
52
54
|
# @return [Core::Response]
|
53
55
|
|
56
|
+
# @!method change_message_visibility_batch(options = {})
|
54
57
|
# Calls the ChangeMessageVisibilityBatch API operation.
|
55
|
-
# @method change_message_visibility_batch(options = {})
|
56
58
|
# @param [Hash] options
|
57
59
|
# * +:queue_url+ - *required* - (String) The URL of the SQS queue to
|
58
60
|
# take action on.
|
@@ -75,8 +77,8 @@ module AWS
|
|
75
77
|
# * +:code+ - (String)
|
76
78
|
# * +:message+ - (String)
|
77
79
|
|
80
|
+
# @!method create_queue(options = {})
|
78
81
|
# Calls the CreateQueue API operation.
|
79
|
-
# @method create_queue(options = {})
|
80
82
|
# @param [Hash] options
|
81
83
|
# * +:queue_name+ - *required* - (String) The name for the queue to be
|
82
84
|
# created.
|
@@ -87,8 +89,8 @@ module AWS
|
|
87
89
|
# a hash with the following structure:
|
88
90
|
# * +:queue_url+ - (String)
|
89
91
|
|
92
|
+
# @!method delete_message(options = {})
|
90
93
|
# Calls the DeleteMessage API operation.
|
91
|
-
# @method delete_message(options = {})
|
92
94
|
# @param [Hash] options
|
93
95
|
# * +:queue_url+ - *required* - (String) The URL of the SQS queue to
|
94
96
|
# take action on.
|
@@ -96,8 +98,8 @@ module AWS
|
|
96
98
|
# associated with the message to delete.
|
97
99
|
# @return [Core::Response]
|
98
100
|
|
101
|
+
# @!method delete_message_batch(options = {})
|
99
102
|
# Calls the DeleteMessageBatch API operation.
|
100
|
-
# @method delete_message_batch(options = {})
|
101
103
|
# @param [Hash] options
|
102
104
|
# * +:queue_url+ - *required* - (String) The URL of the SQS queue to
|
103
105
|
# take action on.
|
@@ -118,15 +120,15 @@ module AWS
|
|
118
120
|
# * +:code+ - (String)
|
119
121
|
# * +:message+ - (String)
|
120
122
|
|
123
|
+
# @!method delete_queue(options = {})
|
121
124
|
# Calls the DeleteQueue API operation.
|
122
|
-
# @method delete_queue(options = {})
|
123
125
|
# @param [Hash] options
|
124
126
|
# * +:queue_url+ - *required* - (String) The URL of the SQS queue to
|
125
127
|
# take action on.
|
126
128
|
# @return [Core::Response]
|
127
129
|
|
130
|
+
# @!method get_queue_attributes(options = {})
|
128
131
|
# Calls the GetQueueAttributes API operation.
|
129
|
-
# @method get_queue_attributes(options = {})
|
130
132
|
# @param [Hash] options
|
131
133
|
# * +:queue_url+ - *required* - (String) The URL of the SQS queue to
|
132
134
|
# take action on.
|
@@ -137,8 +139,8 @@ module AWS
|
|
137
139
|
# a hash with the following structure:
|
138
140
|
# * +:attributes+ - (Hash<String,String>)
|
139
141
|
|
142
|
+
# @!method get_queue_url(options = {})
|
140
143
|
# Calls the GetQueueUrl API operation.
|
141
|
-
# @method get_queue_url(options = {})
|
142
144
|
# @param [Hash] options
|
143
145
|
# * +:queue_name+ - *required* - (String) The name of the queue whose
|
144
146
|
# URL must be fetched.
|
@@ -149,8 +151,8 @@ module AWS
|
|
149
151
|
# a hash with the following structure:
|
150
152
|
# * +:queue_url+ - (String)
|
151
153
|
|
154
|
+
# @!method list_queues(options = {})
|
152
155
|
# Calls the ListQueues API operation.
|
153
|
-
# @method list_queues(options = {})
|
154
156
|
# @param [Hash] options
|
155
157
|
# * +:queue_name_prefix+ - (String) A string to use for filtering the
|
156
158
|
# list results. Only those queues whose name begins with the
|
@@ -160,8 +162,8 @@ module AWS
|
|
160
162
|
# a hash with the following structure:
|
161
163
|
# * +:queue_urls+ - (Array<String>)
|
162
164
|
|
165
|
+
# @!method receive_message(options = {})
|
163
166
|
# Calls the ReceiveMessage API operation.
|
164
|
-
# @method receive_message(options = {})
|
165
167
|
# @param [Hash] options
|
166
168
|
# * +:queue_url+ - *required* - (String) The URL of the SQS queue to
|
167
169
|
# take action on.
|
@@ -184,8 +186,8 @@ module AWS
|
|
184
186
|
# * +:body+ - (String)
|
185
187
|
# * +:attributes+ - (Hash<String,String>)
|
186
188
|
|
189
|
+
# @!method remove_permission(options = {})
|
187
190
|
# Calls the RemovePermission API operation.
|
188
|
-
# @method remove_permission(options = {})
|
189
191
|
# @param [Hash] options
|
190
192
|
# * +:queue_url+ - *required* - (String) The URL of the SQS queue to
|
191
193
|
# take action on.
|
@@ -194,8 +196,8 @@ module AWS
|
|
194
196
|
# AddPermission operation.
|
195
197
|
# @return [Core::Response]
|
196
198
|
|
199
|
+
# @!method send_message(options = {})
|
197
200
|
# Calls the SendMessage API operation.
|
198
|
-
# @method send_message(options = {})
|
199
201
|
# @param [Hash] options
|
200
202
|
# * +:queue_url+ - *required* - (String) The URL of the SQS queue to
|
201
203
|
# take action on.
|
@@ -208,8 +210,8 @@ module AWS
|
|
208
210
|
# * +:md5_of_message_body+ - (String)
|
209
211
|
# * +:message_id+ - (String)
|
210
212
|
|
213
|
+
# @!method send_message_batch(options = {})
|
211
214
|
# Calls the SendMessageBatch API operation.
|
212
|
-
# @method send_message_batch(options = {})
|
213
215
|
# @param [Hash] options
|
214
216
|
# * +:queue_url+ - *required* - (String) The URL of the SQS queue to
|
215
217
|
# take action on.
|
@@ -234,8 +236,8 @@ module AWS
|
|
234
236
|
# * +:code+ - (String)
|
235
237
|
# * +:message+ - (String)
|
236
238
|
|
239
|
+
# @!method set_queue_attributes(options = {})
|
237
240
|
# Calls the SetQueueAttributes API operation.
|
238
|
-
# @method set_queue_attributes(options = {})
|
239
241
|
# @param [Hash] options
|
240
242
|
# * +:queue_url+ - *required* - (String) The URL of the SQS queue to
|
241
243
|
# take action on.
|
@@ -245,8 +247,6 @@ module AWS
|
|
245
247
|
|
246
248
|
## end client methods ##
|
247
249
|
|
248
|
-
define_client_methods('2011-10-01')
|
249
|
-
|
250
250
|
end
|
251
251
|
end
|
252
252
|
end
|
data/lib/aws/sts.rb
CHANGED
@@ -67,7 +67,7 @@ module AWS
|
|
67
67
|
# account owners are restricted to a maximum of 3600s (one
|
68
68
|
# hour).
|
69
69
|
#
|
70
|
-
# @option opts [String] :
|
70
|
+
# @option opts [String] :serial_number The identification number of the
|
71
71
|
# Multi-Factor Authentication (MFA) device for the user.
|
72
72
|
#
|
73
73
|
# @option opts [String] :token_code The value provided by the MFA device.
|
data/lib/aws/sts/client.rb
CHANGED
@@ -17,6 +17,8 @@ module AWS
|
|
17
17
|
# Client class for AWS Security Token Service (STS).
|
18
18
|
class Client < Core::QueryClient
|
19
19
|
|
20
|
+
define_client_methods('2011-06-15')
|
21
|
+
|
20
22
|
REGION_US_E1 = 'sts.amazonaws.com'
|
21
23
|
|
22
24
|
# @private
|
@@ -33,8 +35,8 @@ module AWS
|
|
33
35
|
|
34
36
|
## client methods ##
|
35
37
|
|
38
|
+
# @!method get_federation_token(options = {})
|
36
39
|
# Calls the GetFederationToken API operation.
|
37
|
-
# @method get_federation_token(options = {})
|
38
40
|
# @param [Hash] options
|
39
41
|
# * +:name+ - *required* - (String) The name of the federated user
|
40
42
|
# associated with the credentials. For information about limitations
|
@@ -64,8 +66,8 @@ module AWS
|
|
64
66
|
# * +:arn+ - (String)
|
65
67
|
# * +:packed_policy_size+ - (Integer)
|
66
68
|
|
69
|
+
# @!method get_session_token(options = {})
|
67
70
|
# Calls the GetSessionToken API operation.
|
68
|
-
# @method get_session_token(options = {})
|
69
71
|
# @param [Hash] options
|
70
72
|
# * +:duration_seconds+ - (Integer) The duration, in seconds, that the
|
71
73
|
# credentials should remain valid. Acceptable durations for IAM user
|
@@ -99,8 +101,6 @@ module AWS
|
|
99
101
|
|
100
102
|
## end client methods ##
|
101
103
|
|
102
|
-
define_client_methods('2011-06-15')
|
103
|
-
|
104
104
|
end
|
105
105
|
end
|
106
106
|
end
|
metadata
CHANGED
@@ -1,92 +1,86 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.6.7
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 1
|
8
|
-
- 6
|
9
|
-
- 6
|
10
|
-
version: 1.6.6
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Amazon Web Services
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
12
|
+
date: 2012-10-01 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: uuidtools
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
22
17
|
none: false
|
23
|
-
requirements:
|
18
|
+
requirements:
|
24
19
|
- - ~>
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
|
27
|
-
segments:
|
28
|
-
- 2
|
29
|
-
- 1
|
30
|
-
version: "2.1"
|
31
|
-
name: uuidtools
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '2.1'
|
32
22
|
type: :runtime
|
33
23
|
prerelease: false
|
34
|
-
|
35
|
-
- !ruby/object:Gem::Dependency
|
36
|
-
version_requirements: &id002 !ruby/object:Gem::Requirement
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
25
|
none: false
|
38
|
-
requirements:
|
26
|
+
requirements:
|
39
27
|
- - ~>
|
40
|
-
- !ruby/object:Gem::Version
|
41
|
-
|
42
|
-
|
43
|
-
- 0
|
44
|
-
- 7
|
45
|
-
version: "0.7"
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '2.1'
|
30
|
+
- !ruby/object:Gem::Dependency
|
46
31
|
name: httparty
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ~>
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0.7'
|
47
38
|
type: :runtime
|
48
39
|
prerelease: false
|
49
|
-
|
50
|
-
- !ruby/object:Gem::Dependency
|
51
|
-
version_requirements: &id003 !ruby/object:Gem::Requirement
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
41
|
none: false
|
53
|
-
requirements:
|
54
|
-
- -
|
55
|
-
- !ruby/object:Gem::Version
|
56
|
-
|
57
|
-
|
58
|
-
- 1
|
59
|
-
- 4
|
60
|
-
- 4
|
61
|
-
version: 1.4.4
|
42
|
+
requirements:
|
43
|
+
- - ~>
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0.7'
|
46
|
+
- !ruby/object:Gem::Dependency
|
62
47
|
name: nokogiri
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: 1.4.4
|
63
54
|
type: :runtime
|
64
55
|
prerelease: false
|
65
|
-
|
66
|
-
- !ruby/object:Gem::Dependency
|
67
|
-
version_requirements: &id004 !ruby/object:Gem::Requirement
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
68
57
|
none: false
|
69
|
-
requirements:
|
70
|
-
- -
|
71
|
-
- !ruby/object:Gem::Version
|
72
|
-
|
73
|
-
|
74
|
-
- 1
|
75
|
-
- 4
|
76
|
-
version: "1.4"
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 1.4.4
|
62
|
+
- !ruby/object:Gem::Dependency
|
77
63
|
name: json
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ~>
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '1.4'
|
78
70
|
type: :runtime
|
79
71
|
prerelease: false
|
80
|
-
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ~>
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '1.4'
|
81
78
|
description: AWS SDK for Ruby
|
82
79
|
email:
|
83
80
|
executables: []
|
84
|
-
|
85
81
|
extensions: []
|
86
|
-
|
87
82
|
extra_rdoc_files: []
|
88
|
-
|
89
|
-
files:
|
83
|
+
files:
|
90
84
|
- ca-bundle.crt
|
91
85
|
- rails/init.rb
|
92
86
|
- lib/aws/auto_scaling/activity.rb
|
@@ -532,37 +526,31 @@ files:
|
|
532
526
|
- NOTICE.txt
|
533
527
|
- LICENSE.txt
|
534
528
|
homepage: http://aws.amazon.com/sdkforruby
|
535
|
-
licenses:
|
529
|
+
licenses:
|
536
530
|
- Apache 2.0
|
537
531
|
post_install_message:
|
538
532
|
rdoc_options: []
|
539
|
-
|
540
|
-
require_paths:
|
533
|
+
require_paths:
|
541
534
|
- lib
|
542
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
535
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
543
536
|
none: false
|
544
|
-
requirements:
|
545
|
-
- -
|
546
|
-
- !ruby/object:Gem::Version
|
547
|
-
|
548
|
-
segments:
|
537
|
+
requirements:
|
538
|
+
- - ! '>='
|
539
|
+
- !ruby/object:Gem::Version
|
540
|
+
version: '0'
|
541
|
+
segments:
|
549
542
|
- 0
|
550
|
-
|
551
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
543
|
+
hash: -16682750197108041
|
544
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
552
545
|
none: false
|
553
|
-
requirements:
|
554
|
-
- -
|
555
|
-
- !ruby/object:Gem::Version
|
556
|
-
|
557
|
-
segments:
|
558
|
-
- 0
|
559
|
-
version: "0"
|
546
|
+
requirements:
|
547
|
+
- - ! '>='
|
548
|
+
- !ruby/object:Gem::Version
|
549
|
+
version: '0'
|
560
550
|
requirements: []
|
561
|
-
|
562
551
|
rubyforge_project:
|
563
|
-
rubygems_version: 1.8.
|
552
|
+
rubygems_version: 1.8.24
|
564
553
|
signing_key:
|
565
554
|
specification_version: 3
|
566
555
|
summary: AWS SDK for Ruby
|
567
556
|
test_files: []
|
568
|
-
|