aws-sdk 1.2.5 → 1.2.6
Sign up to get free protection for your applications and to get access to all the features.
- data/NOTICE.txt +1 -1
- data/lib/aws-sdk.rb +1 -1
- data/lib/aws.rb +1 -1
- data/lib/aws/api_config/EC2-2011-02-28.yml +1 -1
- data/lib/aws/api_config/ELB-2011-08-15.yml +1 -1
- data/lib/aws/api_config/IAM-2010-07-15.yml +1 -1
- data/lib/aws/api_config/SNS-2010-03-31.yml +1 -1
- data/lib/aws/api_config/{SQS-2009-02-01.yml → SQS-2011-10-01.yml} +117 -3
- data/lib/aws/api_config/STS-2011-06-15.yml +1 -1
- data/lib/aws/api_config/SimpleDB-2009-04-15.yml +1 -1
- data/lib/aws/api_config/SimpleEmailService-2010-12-01.yml +1 -1
- data/lib/aws/core.rb +4 -3
- data/lib/aws/core/api_config.rb +1 -1
- data/lib/aws/core/async_handle.rb +1 -1
- data/lib/aws/core/authorize_v2.rb +1 -1
- data/lib/aws/core/authorize_v3.rb +1 -1
- data/lib/aws/core/authorize_with_session_token.rb +1 -1
- data/lib/aws/core/autoloader.rb +1 -1
- data/lib/aws/core/cacheable.rb +1 -1
- data/lib/aws/core/client.rb +1 -1
- data/lib/aws/core/client_logging.rb +7 -5
- data/lib/aws/core/collection.rb +1 -1
- data/lib/aws/core/collection/batchable.rb +1 -1
- data/lib/aws/core/collection/limitable.rb +1 -1
- data/lib/aws/core/collection/simple.rb +1 -1
- data/lib/aws/core/configuration.rb +1 -1
- data/lib/aws/core/configured_client_methods.rb +1 -1
- data/lib/aws/core/configured_grammars.rb +1 -1
- data/lib/aws/core/configured_option_grammars.rb +1 -1
- data/lib/aws/core/configured_xml_grammars.rb +1 -1
- data/lib/aws/core/default_signer.rb +1 -1
- data/lib/aws/core/http/curb_handler.rb +1 -1
- data/lib/aws/core/http/handler.rb +1 -1
- data/lib/aws/core/http/httparty_handler.rb +1 -1
- data/lib/aws/core/http/net_http_handler.rb +1 -1
- data/lib/aws/core/http/request.rb +5 -14
- data/lib/aws/core/http/response.rb +1 -1
- data/lib/aws/core/ignore_result_element.rb +1 -1
- data/lib/aws/core/indifferent_hash.rb +1 -1
- data/lib/aws/core/inflection.rb +1 -1
- data/lib/aws/core/lazy_error_classes.rb +1 -1
- data/lib/aws/core/meta_utils.rb +1 -1
- data/lib/aws/core/model.rb +1 -1
- data/lib/aws/core/naming.rb +1 -1
- data/lib/aws/core/option_grammar.rb +81 -1
- data/lib/aws/core/page_result.rb +1 -1
- data/lib/aws/core/policy.rb +1 -1
- data/lib/aws/core/resource.rb +1 -1
- data/lib/aws/core/resource_cache.rb +1 -1
- data/lib/aws/core/response.rb +1 -1
- data/lib/aws/core/response_cache.rb +1 -1
- data/lib/aws/core/service_interface.rb +1 -1
- data/lib/aws/core/uri_escape.rb +1 -1
- data/lib/aws/core/xml_grammar.rb +1 -1
- data/lib/aws/ec2.rb +1 -1
- data/lib/aws/ec2/attachment.rb +1 -1
- data/lib/aws/ec2/attachment_collection.rb +1 -1
- data/lib/aws/ec2/availability_zone.rb +1 -1
- data/lib/aws/ec2/availability_zone_collection.rb +1 -1
- data/lib/aws/ec2/block_device_mappings.rb +1 -1
- data/lib/aws/ec2/client.rb +1 -1
- data/lib/aws/ec2/client/xml.rb +1 -1
- data/lib/aws/ec2/collection.rb +1 -1
- data/lib/aws/ec2/config.rb +1 -1
- data/lib/aws/ec2/config_transform.rb +1 -1
- data/lib/aws/ec2/elastic_ip.rb +1 -1
- data/lib/aws/ec2/elastic_ip_collection.rb +1 -1
- data/lib/aws/ec2/errors.rb +1 -1
- data/lib/aws/ec2/filtered_collection.rb +1 -1
- data/lib/aws/ec2/has_permissions.rb +1 -1
- data/lib/aws/ec2/image.rb +1 -1
- data/lib/aws/ec2/image_collection.rb +1 -1
- data/lib/aws/ec2/instance.rb +2 -1
- data/lib/aws/ec2/instance_collection.rb +1 -1
- data/lib/aws/ec2/key_pair.rb +1 -1
- data/lib/aws/ec2/key_pair_collection.rb +1 -1
- data/lib/aws/ec2/permission_collection.rb +1 -1
- data/lib/aws/ec2/region.rb +1 -1
- data/lib/aws/ec2/region_collection.rb +1 -1
- data/lib/aws/ec2/request.rb +1 -1
- data/lib/aws/ec2/reserved_instances.rb +1 -1
- data/lib/aws/ec2/reserved_instances_collection.rb +1 -1
- data/lib/aws/ec2/reserved_instances_offering.rb +1 -1
- data/lib/aws/ec2/reserved_instances_offering_collection.rb +1 -1
- data/lib/aws/ec2/resource.rb +1 -1
- data/lib/aws/ec2/resource_tag_collection.rb +1 -1
- data/lib/aws/ec2/security_group.rb +2 -2
- data/lib/aws/ec2/security_group/egress_ip_permission_collection.rb +1 -1
- data/lib/aws/ec2/security_group/ingress_ip_permission_collection.rb +1 -1
- data/lib/aws/ec2/security_group/ip_permission.rb +1 -1
- data/lib/aws/ec2/security_group_collection.rb +1 -1
- data/lib/aws/ec2/snapshot.rb +1 -1
- data/lib/aws/ec2/snapshot_collection.rb +1 -1
- data/lib/aws/ec2/tag.rb +1 -1
- data/lib/aws/ec2/tag_collection.rb +1 -1
- data/lib/aws/ec2/tagged_collection.rb +1 -1
- data/lib/aws/ec2/tagged_item.rb +1 -1
- data/lib/aws/ec2/volume.rb +1 -1
- data/lib/aws/ec2/volume_collection.rb +1 -1
- data/lib/aws/elb.rb +1 -1
- data/lib/aws/elb/availability_zone_collection.rb +1 -1
- data/lib/aws/elb/backend_server_policy_collection.rb +1 -1
- data/lib/aws/elb/client.rb +1 -1
- data/lib/aws/elb/client/xml.rb +1 -1
- data/lib/aws/elb/config.rb +1 -1
- data/lib/aws/elb/errors.rb +1 -1
- data/lib/aws/elb/instance_collection.rb +1 -1
- data/lib/aws/elb/listener.rb +1 -1
- data/lib/aws/elb/listener_collection.rb +1 -1
- data/lib/aws/elb/listener_opts.rb +1 -1
- data/lib/aws/elb/listener_spec.rb +1 -1
- data/lib/aws/elb/load_balancer.rb +1 -1
- data/lib/aws/elb/load_balancer_collection.rb +1 -1
- data/lib/aws/elb/load_balancer_policy.rb +1 -1
- data/lib/aws/elb/load_balancer_policy_collection.rb +1 -1
- data/lib/aws/elb/request.rb +1 -1
- data/lib/aws/errors.rb +1 -1
- data/lib/aws/iam.rb +1 -1
- data/lib/aws/iam/access_key.rb +1 -1
- data/lib/aws/iam/access_key_collection.rb +1 -1
- data/lib/aws/iam/account_alias_collection.rb +1 -1
- data/lib/aws/iam/client.rb +1 -1
- data/lib/aws/iam/client/xml.rb +1 -1
- data/lib/aws/iam/collection.rb +1 -1
- data/lib/aws/iam/config.rb +1 -1
- data/lib/aws/iam/errors.rb +1 -1
- data/lib/aws/iam/group.rb +1 -1
- data/lib/aws/iam/group_collection.rb +1 -1
- data/lib/aws/iam/group_policy_collection.rb +1 -1
- data/lib/aws/iam/group_user_collection.rb +1 -1
- data/lib/aws/iam/login_profile.rb +1 -1
- data/lib/aws/iam/mfa_device.rb +1 -1
- data/lib/aws/iam/mfa_device_collection.rb +1 -1
- data/lib/aws/iam/policy.rb +1 -1
- data/lib/aws/iam/policy_collection.rb +1 -1
- data/lib/aws/iam/request.rb +1 -1
- data/lib/aws/iam/resource.rb +1 -1
- data/lib/aws/iam/server_certificate.rb +1 -1
- data/lib/aws/iam/server_certificate_collection.rb +1 -1
- data/lib/aws/iam/signing_certificate.rb +1 -1
- data/lib/aws/iam/signing_certificate_collection.rb +1 -1
- data/lib/aws/iam/user.rb +1 -1
- data/lib/aws/iam/user_collection.rb +1 -1
- data/lib/aws/iam/user_group_collection.rb +1 -1
- data/lib/aws/iam/user_policy.rb +1 -1
- data/lib/aws/iam/user_policy_collection.rb +1 -1
- data/lib/aws/rails.rb +1 -1
- data/lib/aws/record.rb +1 -1
- data/lib/aws/record/attribute.rb +1 -1
- data/lib/aws/record/attribute_macros.rb +1 -1
- data/lib/aws/record/attributes/boolean.rb +1 -1
- data/lib/aws/record/attributes/date.rb +1 -1
- data/lib/aws/record/attributes/datetime.rb +1 -1
- data/lib/aws/record/attributes/float.rb +1 -1
- data/lib/aws/record/attributes/integer.rb +1 -1
- data/lib/aws/record/attributes/sortable_float.rb +1 -1
- data/lib/aws/record/attributes/sortable_integer.rb +1 -1
- data/lib/aws/record/attributes/string.rb +1 -1
- data/lib/aws/record/base.rb +1 -1
- data/lib/aws/record/conversion.rb +1 -1
- data/lib/aws/record/dirty_tracking.rb +1 -1
- data/lib/aws/record/errors.rb +1 -1
- data/lib/aws/record/exceptions.rb +1 -1
- data/lib/aws/record/finder_methods.rb +1 -1
- data/lib/aws/record/naming.rb +1 -1
- data/lib/aws/record/optimistic_locking.rb +1 -1
- data/lib/aws/record/scope.rb +1 -1
- data/lib/aws/record/scopes.rb +1 -1
- data/lib/aws/record/validations.rb +1 -1
- data/lib/aws/record/validator.rb +1 -1
- data/lib/aws/record/validators/acceptance.rb +1 -1
- data/lib/aws/record/validators/block.rb +1 -1
- data/lib/aws/record/validators/confirmation.rb +1 -1
- data/lib/aws/record/validators/count.rb +1 -1
- data/lib/aws/record/validators/exclusion.rb +1 -1
- data/lib/aws/record/validators/format.rb +1 -1
- data/lib/aws/record/validators/inclusion.rb +1 -1
- data/lib/aws/record/validators/length.rb +1 -1
- data/lib/aws/record/validators/method.rb +1 -1
- data/lib/aws/record/validators/numericality.rb +1 -1
- data/lib/aws/record/validators/presence.rb +1 -1
- data/lib/aws/s3.rb +1 -1
- data/lib/aws/s3/access_control_list.rb +1 -1
- data/lib/aws/s3/acl_object.rb +1 -1
- data/lib/aws/s3/bucket.rb +1 -1
- data/lib/aws/s3/bucket_collection.rb +1 -1
- data/lib/aws/s3/bucket_version_collection.rb +1 -1
- data/lib/aws/s3/client.rb +1 -1
- data/lib/aws/s3/client/xml.rb +1 -1
- data/lib/aws/s3/config.rb +1 -1
- data/lib/aws/s3/data_options.rb +1 -1
- data/lib/aws/s3/errors.rb +1 -1
- data/lib/aws/s3/multipart_upload.rb +1 -1
- data/lib/aws/s3/multipart_upload_collection.rb +1 -1
- data/lib/aws/s3/object_collection.rb +1 -1
- data/lib/aws/s3/object_metadata.rb +1 -1
- data/lib/aws/s3/object_upload_collection.rb +1 -1
- data/lib/aws/s3/object_version.rb +1 -1
- data/lib/aws/s3/object_version_collection.rb +1 -1
- data/lib/aws/s3/paginated_collection.rb +1 -1
- data/lib/aws/s3/policy.rb +1 -1
- data/lib/aws/s3/prefix_and_delimiter_collection.rb +1 -1
- data/lib/aws/s3/prefixed_collection.rb +1 -1
- data/lib/aws/s3/presigned_post.rb +1 -1
- data/lib/aws/s3/request.rb +1 -1
- data/lib/aws/s3/s3_object.rb +1 -1
- data/lib/aws/s3/tree.rb +1 -1
- data/lib/aws/s3/tree/branch_node.rb +1 -1
- data/lib/aws/s3/tree/child_collection.rb +1 -1
- data/lib/aws/s3/tree/leaf_node.rb +1 -1
- data/lib/aws/s3/tree/node.rb +1 -1
- data/lib/aws/s3/tree/parent.rb +1 -1
- data/lib/aws/s3/uploaded_part.rb +1 -1
- data/lib/aws/s3/uploaded_part_collection.rb +1 -1
- data/lib/aws/simple_db.rb +1 -1
- data/lib/aws/simple_db/attribute.rb +1 -1
- data/lib/aws/simple_db/attribute_collection.rb +1 -1
- data/lib/aws/simple_db/client.rb +1 -1
- data/lib/aws/simple_db/client/options.rb +1 -1
- data/lib/aws/simple_db/client/xml.rb +1 -1
- data/lib/aws/simple_db/config.rb +1 -1
- data/lib/aws/simple_db/consistent_read_option.rb +1 -1
- data/lib/aws/simple_db/delete_attributes.rb +1 -1
- data/lib/aws/simple_db/domain.rb +1 -1
- data/lib/aws/simple_db/domain_collection.rb +1 -1
- data/lib/aws/simple_db/domain_metadata.rb +1 -1
- data/lib/aws/simple_db/errors.rb +1 -1
- data/lib/aws/simple_db/expect_condition_option.rb +1 -1
- data/lib/aws/simple_db/item.rb +1 -1
- data/lib/aws/simple_db/item_collection.rb +1 -1
- data/lib/aws/simple_db/item_data.rb +1 -1
- data/lib/aws/simple_db/put_attributes.rb +1 -1
- data/lib/aws/simple_db/request.rb +1 -1
- data/lib/aws/simple_email_service.rb +1 -1
- data/lib/aws/simple_email_service/client.rb +1 -1
- data/lib/aws/simple_email_service/client/xml.rb +1 -1
- data/lib/aws/simple_email_service/config.rb +1 -1
- data/lib/aws/simple_email_service/email_address_collection.rb +1 -1
- data/lib/aws/simple_email_service/errors.rb +1 -1
- data/lib/aws/simple_email_service/quotas.rb +1 -1
- data/lib/aws/simple_email_service/request.rb +1 -1
- data/lib/aws/sns.rb +1 -1
- data/lib/aws/sns/client.rb +1 -1
- data/lib/aws/sns/client/xml.rb +1 -1
- data/lib/aws/sns/config.rb +1 -1
- data/lib/aws/sns/errors.rb +1 -1
- data/lib/aws/sns/policy.rb +1 -1
- data/lib/aws/sns/request.rb +1 -1
- data/lib/aws/sns/subscription.rb +1 -1
- data/lib/aws/sns/subscription_collection.rb +1 -1
- data/lib/aws/sns/topic.rb +1 -1
- data/lib/aws/sns/topic_collection.rb +1 -1
- data/lib/aws/sns/topic_subscription_collection.rb +1 -1
- data/lib/aws/sqs.rb +1 -1
- data/lib/aws/sqs/client.rb +2 -2
- data/lib/aws/sqs/client/xml.rb +1 -1
- data/lib/aws/sqs/config.rb +1 -1
- data/lib/aws/sqs/errors.rb +78 -2
- data/lib/aws/sqs/policy.rb +1 -1
- data/lib/aws/sqs/queue.rb +230 -5
- data/lib/aws/sqs/queue_collection.rb +84 -18
- data/lib/aws/sqs/received_message.rb +2 -3
- data/lib/aws/sqs/received_sns_message.rb +1 -1
- data/lib/aws/sqs/request.rb +1 -1
- data/lib/aws/sts.rb +1 -1
- data/lib/aws/sts/client.rb +1 -1
- data/lib/aws/sts/client/xml.rb +1 -1
- data/lib/aws/sts/config.rb +1 -1
- data/lib/aws/sts/errors.rb +1 -1
- data/lib/aws/sts/federated_session.rb +1 -1
- data/lib/aws/sts/policy.rb +1 -1
- data/lib/aws/sts/request.rb +1 -1
- data/lib/aws/sts/session.rb +1 -1
- data/lib/net/http/connection_pool.rb +1 -1
- data/lib/net/http/connection_pool/connection.rb +1 -1
- data/lib/net/http/connection_pool/session.rb +1 -1
- data/rails/init.rb +1 -1
- metadata +17 -44
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2011 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
1
|
+
# Copyright 2011-2012 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
|
@@ -53,27 +53,60 @@ module AWS
|
|
53
53
|
# Constraints: Maximum 80 characters; alphanumeric
|
54
54
|
# characters, hyphens (-), and underscores (_) are allowed.
|
55
55
|
#
|
56
|
-
#
|
57
|
-
# name
|
58
|
-
#
|
59
|
-
#
|
60
|
-
# returned. Instead, the request succeeds and the queue URL
|
61
|
-
# for the existing queue is returned. Exception: if you
|
62
|
-
# provide a value for +:default_visibility_timeout+ that is
|
63
|
-
# different from the value for the existing queue, you
|
64
|
-
# receive an error.
|
56
|
+
# The name of the queue should be unique within your account. If
|
57
|
+
# you provide the name of an existing queue with the same options
|
58
|
+
# it was created with then no error is raised and the existing
|
59
|
+
# queue will be returned.
|
65
60
|
#
|
66
|
-
# @param [Hash]
|
67
|
-
# queue.
|
61
|
+
# @param [Hash] options
|
68
62
|
#
|
69
|
-
# @option
|
70
|
-
#
|
63
|
+
# @option options [Integer] :visibility_timeout (30) The number of
|
64
|
+
# seconds a message received from a queue will be invisible to
|
65
|
+
# others when they ask to receive messages.
|
66
|
+
#
|
67
|
+
# @option options [Policy] :policy A policy object or policy desription
|
68
|
+
# (a json string).
|
69
|
+
#
|
70
|
+
# @option options [Integer] :maximum_message_size (65536) The maximum
|
71
|
+
# number of bytes a message can contain before Amazon SQS rejects
|
72
|
+
# it.
|
73
|
+
#
|
74
|
+
# @option options [Integer] :delay_seconds The time in seconds that
|
75
|
+
# the delivery of all messages in the queue will be delayed.
|
76
|
+
# This can be overriden when sending a message to the queue.
|
77
|
+
#
|
78
|
+
# @option options [Integer] :message_retention_period The number of
|
79
|
+
# seconds from 60 (1 minute) to 1209600 (14 days). The default
|
80
|
+
# is 345600 (4 days).
|
71
81
|
#
|
72
82
|
# @return [Queue] The newly created queue.
|
73
83
|
#
|
74
|
-
def create
|
75
|
-
|
76
|
-
|
84
|
+
def create name, options = {}
|
85
|
+
|
86
|
+
# SQS removed the default prefix to the visibility timeout option
|
87
|
+
# in the 2011-10-01 update -- this allows us to not break existing
|
88
|
+
# customers.
|
89
|
+
if options[:default_visibility_timeout]
|
90
|
+
options[:visibility_timeout] =
|
91
|
+
options.delete(:default_visibility_timeout)
|
92
|
+
end
|
93
|
+
|
94
|
+
if policy = options[:policy]
|
95
|
+
options[:policy] = policy.to_json unless policy.is_a?(String)
|
96
|
+
end
|
97
|
+
|
98
|
+
client_opts = {}
|
99
|
+
client_opts[:queue_name] = name
|
100
|
+
unless options.empty?
|
101
|
+
client_opts[:attributes] = options.inject({}) do |attributes,(k,v)|
|
102
|
+
attributes.merge(Core::Inflection.class_name(k.to_s) => v.to_s)
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
106
|
+
response = client.create_queue(client_opts)
|
107
|
+
|
108
|
+
Queue.new(response.queue_url, :config => config)
|
109
|
+
|
77
110
|
end
|
78
111
|
|
79
112
|
# @yieldparam [Queue] queue Each {Queue} object in the collection.
|
@@ -94,9 +127,42 @@ module AWS
|
|
94
127
|
end
|
95
128
|
|
96
129
|
# @return [Queue] The queue with the given URL.
|
97
|
-
def []
|
130
|
+
def [] url
|
98
131
|
Queue.new(url, :config => config)
|
99
132
|
end
|
133
|
+
|
134
|
+
# Returns the queue with the given name. This requires making
|
135
|
+
# a request to SQS to get the queue url. If you know the url,
|
136
|
+
# you should use {#[]} instead.
|
137
|
+
#
|
138
|
+
# queue = AWS::SQS.new.queues.named('my-queue')
|
139
|
+
#
|
140
|
+
# @param (see #url_for)
|
141
|
+
# @option (see #url_for)
|
142
|
+
# @return [Queue] Returns the queue with the given name.
|
143
|
+
def named queue_name, options = {}
|
144
|
+
self[url_for(queue_name, options = {})]
|
145
|
+
end
|
146
|
+
|
147
|
+
# Returns the url for the given queue.
|
148
|
+
#
|
149
|
+
# sqs.queues.url_for('my-queue')
|
150
|
+
# #=> "https://sqs.us-east-1.amazonaws.com/123456789012/my-queue"
|
151
|
+
#
|
152
|
+
# @param [String] queue_name The name of the queue you need a URL for.
|
153
|
+
#
|
154
|
+
# @param [Hash] options
|
155
|
+
#
|
156
|
+
# @option options [String] :queue_owner_aws_account_id The AWS account
|
157
|
+
# ID of the account that created the queue. You can only get the
|
158
|
+
# url for queues in other accounts when the account owner has
|
159
|
+
# granted you permission.
|
160
|
+
#
|
161
|
+
def url_for queue_name, options = {}
|
162
|
+
client_opts = {}
|
163
|
+
client_opts[:queue_name] = queue_name
|
164
|
+
client.get_queue_url(client_opts.merge(options)).queue_url
|
165
|
+
end
|
100
166
|
|
101
167
|
end
|
102
168
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2011 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
1
|
+
# Copyright 2011-2012 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
|
@@ -99,8 +99,7 @@ module AWS
|
|
99
99
|
def delete
|
100
100
|
client.delete_message(
|
101
101
|
:queue_url => queue.url,
|
102
|
-
:receipt_handle => handle
|
103
|
-
)
|
102
|
+
:receipt_handle => handle)
|
104
103
|
nil
|
105
104
|
end
|
106
105
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2011 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
1
|
+
# Copyright 2011-2012 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
|
data/lib/aws/sqs/request.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2011 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
1
|
+
# Copyright 2011-2012 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
|
data/lib/aws/sts.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2011 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
1
|
+
# Copyright 2011-2012 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
|
data/lib/aws/sts/client.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2011 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
1
|
+
# Copyright 2011-2012 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
|
data/lib/aws/sts/client/xml.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2011 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
1
|
+
# Copyright 2011-2012 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
|
data/lib/aws/sts/config.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2011 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
1
|
+
# Copyright 2011-2012 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
|
data/lib/aws/sts/errors.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2011 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
1
|
+
# Copyright 2011-2012 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
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2011 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
1
|
+
# Copyright 2011-2012 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
|
data/lib/aws/sts/policy.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2011 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
1
|
+
# Copyright 2011-2012 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
|
data/lib/aws/sts/request.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2011 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
1
|
+
# Copyright 2011-2012 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
|
data/lib/aws/sts/session.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2011 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
1
|
+
# Copyright 2011-2012 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
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2011 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
1
|
+
# Copyright 2011-2012 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
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2011 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
1
|
+
# Copyright 2011-2012 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
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2011 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
1
|
+
# Copyright 2011-2012 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
|
data/rails/init.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2011 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
1
|
+
# Copyright 2011-2012 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
|
metadata
CHANGED
@@ -1,13 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: 21
|
5
4
|
prerelease:
|
6
|
-
|
7
|
-
- 1
|
8
|
-
- 2
|
9
|
-
- 5
|
10
|
-
version: 1.2.5
|
5
|
+
version: 1.2.6
|
11
6
|
platform: ruby
|
12
7
|
authors:
|
13
8
|
- Amazon Web Services
|
@@ -15,70 +10,52 @@ autorequire:
|
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
12
|
|
18
|
-
date:
|
19
|
-
default_executable:
|
13
|
+
date: 2012-01-04 00:00:00 Z
|
20
14
|
dependencies:
|
21
15
|
- !ruby/object:Gem::Dependency
|
22
16
|
name: uuidtools
|
23
|
-
|
24
|
-
version_requirements: &id001 !ruby/object:Gem::Requirement
|
17
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
18
|
none: false
|
26
19
|
requirements:
|
27
20
|
- - ~>
|
28
21
|
- !ruby/object:Gem::Version
|
29
|
-
hash: 1
|
30
|
-
segments:
|
31
|
-
- 2
|
32
|
-
- 1
|
33
22
|
version: "2.1"
|
34
23
|
type: :runtime
|
35
|
-
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: *id001
|
36
26
|
- !ruby/object:Gem::Dependency
|
37
27
|
name: httparty
|
38
|
-
|
39
|
-
version_requirements: &id002 !ruby/object:Gem::Requirement
|
28
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
40
29
|
none: false
|
41
30
|
requirements:
|
42
31
|
- - ~>
|
43
32
|
- !ruby/object:Gem::Version
|
44
|
-
hash: 5
|
45
|
-
segments:
|
46
|
-
- 0
|
47
|
-
- 7
|
48
33
|
version: "0.7"
|
49
34
|
type: :runtime
|
50
|
-
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: *id002
|
51
37
|
- !ruby/object:Gem::Dependency
|
52
38
|
name: nokogiri
|
53
|
-
|
54
|
-
version_requirements: &id003 !ruby/object:Gem::Requirement
|
39
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
55
40
|
none: false
|
56
41
|
requirements:
|
57
42
|
- - ">="
|
58
43
|
- !ruby/object:Gem::Version
|
59
|
-
hash: 15
|
60
|
-
segments:
|
61
|
-
- 1
|
62
|
-
- 4
|
63
|
-
- 4
|
64
44
|
version: 1.4.4
|
65
45
|
type: :runtime
|
66
|
-
|
46
|
+
prerelease: false
|
47
|
+
version_requirements: *id003
|
67
48
|
- !ruby/object:Gem::Dependency
|
68
49
|
name: json
|
69
|
-
|
70
|
-
version_requirements: &id004 !ruby/object:Gem::Requirement
|
50
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
71
51
|
none: false
|
72
52
|
requirements:
|
73
53
|
- - ~>
|
74
54
|
- !ruby/object:Gem::Version
|
75
|
-
hash: 7
|
76
|
-
segments:
|
77
|
-
- 1
|
78
|
-
- 4
|
79
55
|
version: "1.4"
|
80
56
|
type: :runtime
|
81
|
-
|
57
|
+
prerelease: false
|
58
|
+
version_requirements: *id004
|
82
59
|
description: AWS SDK for Ruby
|
83
60
|
email:
|
84
61
|
executables: []
|
@@ -363,14 +340,13 @@ files:
|
|
363
340
|
- lib/aws/api_config/SimpleDB-2009-04-15.yml
|
364
341
|
- lib/aws/api_config/SimpleEmailService-2010-12-01.yml
|
365
342
|
- lib/aws/api_config/SNS-2010-03-31.yml
|
366
|
-
- lib/aws/api_config/SQS-
|
343
|
+
- lib/aws/api_config/SQS-2011-10-01.yml
|
367
344
|
- lib/aws/api_config/STS-2011-06-15.yml
|
368
345
|
- lib/aws/api_config/.document
|
369
346
|
- .yardopts
|
370
347
|
- README.rdoc
|
371
348
|
- NOTICE.txt
|
372
349
|
- LICENSE.txt
|
373
|
-
has_rdoc: true
|
374
350
|
homepage: http://aws.amazon.com/sdkforruby
|
375
351
|
licenses:
|
376
352
|
- Apache 2.0
|
@@ -384,7 +360,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
384
360
|
requirements:
|
385
361
|
- - ">="
|
386
362
|
- !ruby/object:Gem::Version
|
387
|
-
hash:
|
363
|
+
hash: -2254749614229087864
|
388
364
|
segments:
|
389
365
|
- 0
|
390
366
|
version: "0"
|
@@ -393,14 +369,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
393
369
|
requirements:
|
394
370
|
- - ">="
|
395
371
|
- !ruby/object:Gem::Version
|
396
|
-
hash: 3
|
397
|
-
segments:
|
398
|
-
- 0
|
399
372
|
version: "0"
|
400
373
|
requirements: []
|
401
374
|
|
402
375
|
rubyforge_project:
|
403
|
-
rubygems_version: 1.
|
376
|
+
rubygems_version: 1.8.5
|
404
377
|
signing_key:
|
405
378
|
specification_version: 3
|
406
379
|
summary: AWS SDK for Ruby
|