aws-sdk 1.32.0 → 1.50.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +28 -10
- data/bin/aws-rb +11 -1
- data/endpoints.json +191 -26
- data/lib/aws/api_config/AutoScaling-2011-01-01.yml +201 -0
- data/lib/aws/api_config/CloudFormation-2010-05-15.yml +15 -1
- data/lib/aws/api_config/CloudFront-2013-11-22.yml +2918 -0
- data/lib/aws/api_config/CloudFront-2014-01-31.yml +2934 -0
- data/lib/aws/api_config/CloudFront-2014-05-31.yml +3100 -0
- data/lib/aws/api_config/CloudSearch-2013-01-01.yml +1164 -0
- data/lib/aws/api_config/CloudTrail-2013-11-01.yml +4 -33
- data/lib/aws/api_config/DynamoDB-2012-08-10.yml +101 -1
- data/lib/aws/api_config/EC2-2013-08-15.yml +2 -2
- data/lib/aws/api_config/EC2-2013-10-01.yml +2 -2
- data/lib/aws/api_config/EC2-2013-10-15.yml +3 -78
- data/lib/aws/api_config/EC2-2014-02-01.yml +4755 -0
- data/lib/aws/api_config/EC2-2014-05-01.yml +4812 -0
- data/lib/aws/api_config/ELB-2012-06-01.yml +65 -1
- data/lib/aws/api_config/EMR-2009-03-31.yml +20 -1
- data/lib/aws/api_config/ElastiCache-2014-03-24.yml +1375 -0
- data/lib/aws/api_config/ElastiCache-2014-07-15.yml +1385 -0
- data/lib/aws/api_config/ElasticBeanstalk-2010-12-01.yml +8 -1
- data/lib/aws/api_config/ElasticTranscoder-2012-09-25.yml +798 -1
- data/lib/aws/api_config/IAM-2010-05-08.yml +44 -2
- data/lib/aws/api_config/Kinesis-2013-12-02.yml +1 -1
- data/lib/aws/api_config/OpsWorks-2013-02-18.yml +201 -1
- data/lib/aws/api_config/RDS-2013-09-09.yml +1 -2
- data/lib/aws/api_config/Redshift-2012-12-01.yml +25 -1
- data/lib/aws/api_config/Route53-2013-04-01.yml +889 -0
- data/lib/aws/api_config/SNS-2010-03-31.yml +16 -1
- data/lib/aws/api_config/SQS-2012-11-05.yml +86 -1
- data/lib/aws/api_config/STS-2011-06-15.yml +5 -1
- data/lib/aws/api_config/SimpleEmailService-2010-12-01.yml +1 -1
- data/lib/aws/api_config/Support-2013-04-15.yml +63 -0
- data/lib/aws/auto_scaling/group.rb +1 -1
- data/lib/aws/cloud_formation/stack_resource_collection.rb +1 -1
- data/lib/aws/cloud_front/client.rb +13 -1
- data/lib/aws/cloud_search/client.rb +6 -2
- data/lib/aws/cloud_watch/alarm.rb +3 -0
- data/lib/aws/core.rb +16 -1
- data/lib/aws/core/client.rb +10 -1
- data/lib/aws/core/configuration.rb +3 -2
- data/lib/aws/core/credential_providers.rb +130 -12
- data/lib/aws/core/http/connection_pool.rb +23 -3
- data/lib/aws/core/http/net_http_handler.rb +18 -21
- data/lib/aws/core/http/request.rb +10 -0
- data/lib/aws/core/ini_parser.rb +42 -0
- data/lib/aws/core/lazy_error_classes.rb +20 -2
- data/lib/aws/core/log_formatter.rb +1 -1
- data/lib/aws/core/model.rb +5 -0
- data/lib/aws/core/option_grammar.rb +9 -9
- data/lib/aws/core/policy.rb +2 -3
- data/lib/aws/core/response.rb +4 -0
- data/lib/aws/core/signers/version_4.rb +1 -1
- data/lib/aws/core/signers/version_4/chunk_signed_stream.rb +1 -1
- data/lib/aws/core/xml/frame.rb +1 -0
- data/lib/aws/core/xml/grammar.rb +1 -0
- data/lib/aws/dynamo_db.rb +16 -0
- data/lib/aws/dynamo_db/batch_write.rb +2 -0
- data/lib/aws/dynamo_db/table.rb +4 -8
- data/lib/aws/ec2.rb +1 -1
- data/lib/aws/ec2/client.rb +64 -1
- data/lib/aws/ec2/image_collection.rb +1 -2
- data/lib/aws/ec2/instance.rb +3 -3
- data/lib/aws/ec2/instance_collection.rb +14 -3
- data/lib/aws/ec2/snapshot_collection.rb +1 -1
- data/lib/aws/ec2/subnet_collection.rb +7 -3
- data/lib/aws/ec2/tagged_collection.rb +14 -0
- data/lib/aws/ec2/volume_collection.rb +4 -0
- data/lib/aws/ec2/vpc.rb +8 -0
- data/lib/aws/ec2/vpc_collection.rb +1 -1
- data/lib/aws/elasticache/client.rb +8 -2
- data/lib/aws/emr/job_flow_collection.rb +4 -6
- data/lib/aws/glacier.rb +4 -4
- data/lib/aws/glacier/vault.rb +1 -1
- data/lib/aws/iam/server_certificate.rb +24 -17
- data/lib/aws/iam/signing_certificate.rb +13 -1
- data/lib/aws/rails.rb +1 -1
- data/lib/aws/rds/db_instance.rb +5 -6
- data/lib/aws/record/abstract_base.rb +0 -1
- data/lib/aws/record/hash_model.rb +1 -1
- data/lib/aws/record/model.rb +1 -1
- data/lib/aws/route_53/client.rb +5 -2
- data/lib/aws/route_53/hosted_zone.rb +39 -16
- data/lib/aws/route_53/hosted_zone_collection.rb +2 -1
- data/lib/aws/s3/bucket_lifecycle_configuration.rb +22 -6
- data/lib/aws/s3/cipher_io.rb +1 -1
- data/lib/aws/s3/client.rb +155 -7
- data/lib/aws/s3/client/xml.rb +7 -0
- data/lib/aws/s3/multipart_upload.rb +3 -1
- data/lib/aws/s3/object_collection.rb +1 -1
- data/lib/aws/s3/presign_v4.rb +13 -4
- data/lib/aws/s3/s3_object.rb +3 -0
- data/lib/aws/simple_email_service.rb +13 -0
- data/lib/aws/simple_email_service/identity.rb +21 -0
- data/lib/aws/simple_workflow/decision_task.rb +2 -2
- data/lib/aws/simple_workflow/decision_task_collection.rb +0 -2
- data/lib/aws/simple_workflow/option_formatters.rb +1 -1
- data/lib/aws/simple_workflow/workflow_execution_collection.rb +2 -2
- data/lib/aws/simple_workflow/workflow_type.rb +0 -2
- data/lib/aws/sns/message.rb +11 -1
- data/lib/aws/sns/topic.rb +1 -1
- data/lib/aws/sns/topic_collection.rb +1 -1
- data/lib/aws/sqs/queue.rb +26 -14
- data/lib/aws/sqs/queue_collection.rb +4 -0
- data/lib/aws/sqs/received_message.rb +4 -0
- data/lib/aws/sts/client.rb +9 -0
- data/lib/aws/version.rb +1 -1
- metadata +113 -117
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2011-
|
1
|
+
# Copyright 2011-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License"). You
|
4
4
|
# may not use this file except in compliance with the License. A copy of
|
@@ -325,6 +325,21 @@
|
|
325
325
|
- :string
|
326
326
|
MessageStructure:
|
327
327
|
- :string
|
328
|
+
MessageAttributes:
|
329
|
+
- :map:
|
330
|
+
:key:
|
331
|
+
- :string
|
332
|
+
:value:
|
333
|
+
- :structure:
|
334
|
+
DataType:
|
335
|
+
- :string
|
336
|
+
- :required
|
337
|
+
StringValue:
|
338
|
+
- :string
|
339
|
+
BinaryValue:
|
340
|
+
- :blob
|
341
|
+
:key_param: Name
|
342
|
+
:value_param: Value
|
328
343
|
:outputs:
|
329
344
|
:children:
|
330
345
|
PublishResult:
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2011-
|
1
|
+
# Copyright 2011-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License"). You
|
4
4
|
# may not use this file except in compliance with the License. A copy of
|
@@ -192,6 +192,20 @@
|
|
192
192
|
:children:
|
193
193
|
GetQueueUrlResult:
|
194
194
|
:ignore: true
|
195
|
+
- :name: ListDeadLetterSourceQueues
|
196
|
+
:method: :list_dead_letter_source_queues
|
197
|
+
:inputs:
|
198
|
+
QueueUrl:
|
199
|
+
- :string
|
200
|
+
- :required
|
201
|
+
:outputs:
|
202
|
+
:children:
|
203
|
+
ListDeadLetterSourceQueuesResult:
|
204
|
+
:ignore: true
|
205
|
+
:children:
|
206
|
+
QueueUrl:
|
207
|
+
:list: true
|
208
|
+
:rename: :queue_urls
|
195
209
|
- :name: ListQueues
|
196
210
|
:method: :list_queues
|
197
211
|
:inputs:
|
@@ -215,6 +229,10 @@
|
|
215
229
|
- :list:
|
216
230
|
- :string
|
217
231
|
- :rename: AttributeNames
|
232
|
+
MessageAttributeName:
|
233
|
+
- :list:
|
234
|
+
- :string
|
235
|
+
- :rename: MessageAttributeNames
|
218
236
|
MaxNumberOfMessages:
|
219
237
|
- :integer
|
220
238
|
VisibilityTimeout:
|
@@ -235,6 +253,23 @@
|
|
235
253
|
:map:
|
236
254
|
- Name
|
237
255
|
- Value
|
256
|
+
MessageAttribute:
|
257
|
+
:rename: :message_attributes
|
258
|
+
:map:
|
259
|
+
- Name
|
260
|
+
- Value
|
261
|
+
:children:
|
262
|
+
Value:
|
263
|
+
:children:
|
264
|
+
BinaryValue:
|
265
|
+
:type: :blob
|
266
|
+
StringListValue:
|
267
|
+
:list: true
|
268
|
+
:rename: :string_list_values
|
269
|
+
BinaryListValue:
|
270
|
+
:list: true
|
271
|
+
:rename: :binary_list_values
|
272
|
+
:type: :blob
|
238
273
|
- :name: RemovePermission
|
239
274
|
:method: :remove_permission
|
240
275
|
:inputs:
|
@@ -259,6 +294,31 @@
|
|
259
294
|
- :required
|
260
295
|
DelaySeconds:
|
261
296
|
- :integer
|
297
|
+
MessageAttribute:
|
298
|
+
- :map:
|
299
|
+
:key:
|
300
|
+
- :string
|
301
|
+
:value:
|
302
|
+
- :structure:
|
303
|
+
StringValue:
|
304
|
+
- :string
|
305
|
+
BinaryValue:
|
306
|
+
- :blob
|
307
|
+
StringListValue:
|
308
|
+
- :list:
|
309
|
+
- :string
|
310
|
+
- :rename: StringListValues
|
311
|
+
BinaryListValue:
|
312
|
+
- :list:
|
313
|
+
- :blob
|
314
|
+
- :rename: BinaryListValues
|
315
|
+
DataType:
|
316
|
+
- :string
|
317
|
+
- :required
|
318
|
+
:key_param: Name
|
319
|
+
:value_param: Value
|
320
|
+
:flattened: true
|
321
|
+
- :rename: MessageAttributes
|
262
322
|
:outputs:
|
263
323
|
:children:
|
264
324
|
SendMessageResult:
|
@@ -280,6 +340,31 @@
|
|
280
340
|
- :required
|
281
341
|
DelaySeconds:
|
282
342
|
- :integer
|
343
|
+
MessageAttribute:
|
344
|
+
- :map:
|
345
|
+
:key:
|
346
|
+
- :string
|
347
|
+
:value:
|
348
|
+
- :structure:
|
349
|
+
StringValue:
|
350
|
+
- :string
|
351
|
+
BinaryValue:
|
352
|
+
- :blob
|
353
|
+
StringListValue:
|
354
|
+
- :list:
|
355
|
+
- :string
|
356
|
+
- :rename: StringListValues
|
357
|
+
BinaryListValue:
|
358
|
+
- :list:
|
359
|
+
- :blob
|
360
|
+
- :rename: BinaryListValues
|
361
|
+
DataType:
|
362
|
+
- :string
|
363
|
+
- :required
|
364
|
+
:key_param: Name
|
365
|
+
:value_param: Value
|
366
|
+
:flattened: true
|
367
|
+
- :rename: MessageAttributes
|
283
368
|
- :required
|
284
369
|
- :rename: Entries
|
285
370
|
:outputs:
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2011-
|
1
|
+
# Copyright 2011-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License"). You
|
4
4
|
# may not use this file except in compliance with the License. A copy of
|
@@ -29,6 +29,10 @@
|
|
29
29
|
- :integer
|
30
30
|
ExternalId:
|
31
31
|
- :string
|
32
|
+
SerialNumber:
|
33
|
+
- :string
|
34
|
+
TokenCode:
|
35
|
+
- :string
|
32
36
|
:outputs:
|
33
37
|
:children:
|
34
38
|
AssumeRoleResult:
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2011-
|
1
|
+
# Copyright 2011-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License"). You
|
4
4
|
# may not use this file except in compliance with the License. A copy of
|
@@ -16,6 +16,26 @@
|
|
16
16
|
:target_prefix: AWSSupport_20130415.
|
17
17
|
:api_version: '2013-04-15'
|
18
18
|
:operations:
|
19
|
+
- :name: AddAttachmentsToSet
|
20
|
+
:method: :add_attachments_to_set
|
21
|
+
:inputs:
|
22
|
+
attachmentSetId:
|
23
|
+
- :string
|
24
|
+
attachments:
|
25
|
+
- :list:
|
26
|
+
- :structure:
|
27
|
+
fileName:
|
28
|
+
- :string
|
29
|
+
data:
|
30
|
+
- :blob
|
31
|
+
- :required
|
32
|
+
:outputs:
|
33
|
+
attachmentSetId:
|
34
|
+
:sym: :attachment_set_id
|
35
|
+
:type: :string
|
36
|
+
expiryTime:
|
37
|
+
:sym: :expiry_time
|
38
|
+
:type: :string
|
19
39
|
- :name: AddCommunicationToCase
|
20
40
|
:method: :add_communication_to_case
|
21
41
|
:inputs:
|
@@ -27,6 +47,8 @@
|
|
27
47
|
ccEmailAddresses:
|
28
48
|
- :list:
|
29
49
|
- :string
|
50
|
+
attachmentSetId:
|
51
|
+
- :string
|
30
52
|
:outputs:
|
31
53
|
result:
|
32
54
|
:sym: :result
|
@@ -53,10 +75,29 @@
|
|
53
75
|
- :string
|
54
76
|
issueType:
|
55
77
|
- :string
|
78
|
+
attachmentSetId:
|
79
|
+
- :string
|
56
80
|
:outputs:
|
57
81
|
caseId:
|
58
82
|
:sym: :case_id
|
59
83
|
:type: :string
|
84
|
+
- :name: DescribeAttachment
|
85
|
+
:method: :describe_attachment
|
86
|
+
:inputs:
|
87
|
+
attachmentId:
|
88
|
+
- :string
|
89
|
+
- :required
|
90
|
+
:outputs:
|
91
|
+
attachment:
|
92
|
+
:sym: :attachment
|
93
|
+
:type: :hash
|
94
|
+
:members:
|
95
|
+
fileName:
|
96
|
+
:sym: :file_name
|
97
|
+
:type: :string
|
98
|
+
data:
|
99
|
+
:sym: :data
|
100
|
+
:type: :blob
|
60
101
|
- :name: DescribeCases
|
61
102
|
:method: :describe_cases
|
62
103
|
:inputs:
|
@@ -77,6 +118,8 @@
|
|
77
118
|
- :integer
|
78
119
|
language:
|
79
120
|
- :string
|
121
|
+
includeCommunications:
|
122
|
+
- :boolean
|
80
123
|
:outputs:
|
81
124
|
cases:
|
82
125
|
:sym: :cases
|
@@ -129,6 +172,16 @@
|
|
129
172
|
timeCreated:
|
130
173
|
:sym: :time_created
|
131
174
|
:type: :string
|
175
|
+
attachmentSet:
|
176
|
+
:sym: :attachment_set
|
177
|
+
:type: :hash
|
178
|
+
:members:
|
179
|
+
attachmentId:
|
180
|
+
:sym: :attachment_id
|
181
|
+
:type: :string
|
182
|
+
fileName:
|
183
|
+
:sym: :file_name
|
184
|
+
:type: :string
|
132
185
|
nextToken:
|
133
186
|
:sym: :next_token
|
134
187
|
:type: :string
|
@@ -172,6 +225,16 @@
|
|
172
225
|
timeCreated:
|
173
226
|
:sym: :time_created
|
174
227
|
:type: :string
|
228
|
+
attachmentSet:
|
229
|
+
:sym: :attachment_set
|
230
|
+
:type: :hash
|
231
|
+
:members:
|
232
|
+
attachmentId:
|
233
|
+
:sym: :attachment_id
|
234
|
+
:type: :string
|
235
|
+
fileName:
|
236
|
+
:sym: :file_name
|
237
|
+
:type: :string
|
175
238
|
nextToken:
|
176
239
|
:sym: :next_token
|
177
240
|
:type: :string
|
@@ -175,7 +175,7 @@ module AWS
|
|
175
175
|
#
|
176
176
|
def ec2_instances
|
177
177
|
instances = EC2::InstanceCollection.new(:config => config)
|
178
|
-
instances.
|
178
|
+
instances.filter('tag:aws:autoscaling:groupName', name)
|
179
179
|
end
|
180
180
|
|
181
181
|
# @return [Array<EC2::Subnet>]
|
@@ -16,7 +16,7 @@ module AWS
|
|
16
16
|
|
17
17
|
class Client < Core::RESTXMLClient
|
18
18
|
|
19
|
-
API_VERSION = '
|
19
|
+
API_VERSION = '2014-05-31'
|
20
20
|
|
21
21
|
signature_version :Version4, 'cloudfront'
|
22
22
|
|
@@ -41,5 +41,17 @@ module AWS
|
|
41
41
|
define_client_methods('2013-11-11')
|
42
42
|
end
|
43
43
|
|
44
|
+
class Client::V20131122 < Client
|
45
|
+
define_client_methods('2013-11-22')
|
46
|
+
end
|
47
|
+
|
48
|
+
class Client::V20140131 < Client
|
49
|
+
define_client_methods('2014-01-31')
|
50
|
+
end
|
51
|
+
|
52
|
+
class Client::V20140531 < Client
|
53
|
+
define_client_methods('2014-05-31')
|
54
|
+
end
|
55
|
+
|
44
56
|
end
|
45
57
|
end
|
@@ -17,7 +17,8 @@ module AWS
|
|
17
17
|
# Client class for Amazon Cloud Search.
|
18
18
|
class Client < Core::QueryClient
|
19
19
|
|
20
|
-
|
20
|
+
# The 2013 API is not backwards compatible with the 2011 API,
|
21
|
+
# so we continue to default to the older version.
|
21
22
|
API_VERSION = '2011-02-01'
|
22
23
|
|
23
24
|
signature_version :Version4, 'cloudsearch'
|
@@ -28,9 +29,12 @@ module AWS
|
|
28
29
|
end
|
29
30
|
|
30
31
|
class Client::V20110201 < Client
|
31
|
-
|
32
32
|
define_client_methods('2011-02-01')
|
33
|
+
end
|
33
34
|
|
35
|
+
class Client::V20130101 < Client
|
36
|
+
define_client_methods('2013-01-01')
|
34
37
|
end
|
38
|
+
|
35
39
|
end
|
36
40
|
end
|
@@ -161,6 +161,9 @@ module AWS
|
|
161
161
|
# * 'LessThanThreshold'
|
162
162
|
# * 'LessThanOrEqualToThreshold'
|
163
163
|
#
|
164
|
+
# @option options [String,required] :namespace The namespace for the
|
165
|
+
# alarm's associated metric.
|
166
|
+
#
|
164
167
|
# @option options [Integer,required] :evaluation_periods The number
|
165
168
|
# of periods over which data is compared to the specified threshold.
|
166
169
|
#
|
data/lib/aws/core.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2011-
|
1
|
+
# Copyright 2011-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License"). You
|
4
4
|
# may not use this file except in compliance with the License. A copy of
|
@@ -12,6 +12,7 @@
|
|
12
12
|
# language governing permissions and limitations under the License.
|
13
13
|
|
14
14
|
require 'set'
|
15
|
+
require 'securerandom'
|
15
16
|
|
16
17
|
# AWS is the root module for all of the Amazon Web Services. It is also
|
17
18
|
# where you can configure you access to AWS.
|
@@ -167,6 +168,7 @@ module AWS
|
|
167
168
|
autoload :Endpoints, "#{SRC}/core/endpoints"
|
168
169
|
autoload :IndifferentHash, "#{SRC}/core/indifferent_hash"
|
169
170
|
autoload :Inflection, "#{SRC}/core/inflection"
|
171
|
+
autoload :IniParser, "#{SRC}/core/ini_parser"
|
170
172
|
autoload :JSONParser, "#{SRC}/core/json_parser"
|
171
173
|
|
172
174
|
autoload :JSONClient, "#{SRC}/core/json_client"
|
@@ -657,6 +659,7 @@ module AWS
|
|
657
659
|
end
|
658
660
|
end
|
659
661
|
end
|
662
|
+
visited
|
660
663
|
end
|
661
664
|
|
662
665
|
# Patches Net::HTTP, fixing a bug in how it handles non 100-continue
|
@@ -699,3 +702,15 @@ module AWS
|
|
699
702
|
end
|
700
703
|
|
701
704
|
end
|
705
|
+
|
706
|
+
# Backport SecureRandom.uuid for Ruby 1.8
|
707
|
+
unless SecureRandom.respond_to?(:uuid)
|
708
|
+
module SecureRandom
|
709
|
+
def self.uuid
|
710
|
+
ary = random_bytes(16).unpack("NnnnnN")
|
711
|
+
ary[2] = (ary[2] & 0x0fff) | 0x4000
|
712
|
+
ary[3] = (ary[3] & 0x3fff) | 0x8000
|
713
|
+
"%08x-%04x-%04x-%04x-%04x%08x" % ary
|
714
|
+
end
|
715
|
+
end
|
716
|
+
end
|
data/lib/aws/core/client.rb
CHANGED
@@ -186,6 +186,12 @@ module AWS
|
|
186
186
|
"#<#{self.class.name}>"
|
187
187
|
end
|
188
188
|
|
189
|
+
# @api private
|
190
|
+
def to_yaml_properties
|
191
|
+
skip = %w(@config @credential_provider @http_handler)
|
192
|
+
instance_variables.map(&:to_s) - skip
|
193
|
+
end
|
194
|
+
|
189
195
|
protected
|
190
196
|
|
191
197
|
# @api private
|
@@ -196,6 +202,7 @@ module AWS
|
|
196
202
|
def new_response(*args, &block)
|
197
203
|
resp = Response.new(*args, &block)
|
198
204
|
resp.config = config
|
205
|
+
resp.api_version = self.class::API_VERSION
|
199
206
|
resp
|
200
207
|
end
|
201
208
|
|
@@ -540,6 +547,7 @@ module AWS
|
|
540
547
|
|
541
548
|
http_request = new_request
|
542
549
|
http_request.access_key_id = credential_provider.access_key_id
|
550
|
+
http_request.service = self.class.name.split('::')[1]
|
543
551
|
|
544
552
|
# configure the http request
|
545
553
|
http_request.service_ruby_name = service_ruby_name
|
@@ -547,6 +555,7 @@ module AWS
|
|
547
555
|
http_request.port = port
|
548
556
|
http_request.region = @region
|
549
557
|
http_request.use_ssl = config.use_ssl?
|
558
|
+
http_request.read_timeout = config.http_read_timeout
|
550
559
|
|
551
560
|
send("configure_#{name}_request", http_request, opts)
|
552
561
|
|
@@ -692,7 +701,7 @@ module AWS
|
|
692
701
|
@signer ||= begin
|
693
702
|
signer_class = AWS::Core::Signers.const_get(version)
|
694
703
|
signer_args = (version == :Version4) ?
|
695
|
-
[credential_provider, service_signing_name,
|
704
|
+
[credential_provider, service_signing_name, req.region] :
|
696
705
|
[credential_provider]
|
697
706
|
signer_class.new(*signer_args)
|
698
707
|
end
|