aws-sdk-v1 1.63.0 → 1.64.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws/api_config/Kinesis-2013-12-02.yml +38 -13
- data/lib/aws/auto_scaling/group_options.rb +1 -1
- data/lib/aws/core/policy.rb +2 -2
- data/lib/aws/ec2/image.rb +4 -0
- data/lib/aws/ec2/image_collection.rb +1 -1
- data/lib/aws/ec2/snapshot_collection.rb +1 -1
- data/lib/aws/ec2/subnet_collection.rb +1 -1
- data/lib/aws/ec2/volume_collection.rb +1 -1
- data/lib/aws/elb/load_balancer.rb +2 -2
- data/lib/aws/iam.rb +1 -1
- data/lib/aws/iam/account_alias_collection.rb +1 -1
- data/lib/aws/iam/login_profile.rb +1 -1
- data/lib/aws/iam/server_certificate.rb +2 -2
- data/lib/aws/iam/server_certificate_collection.rb +2 -2
- data/lib/aws/iam/user_collection.rb +1 -1
- data/lib/aws/s3/access_control_list.rb +2 -2
- data/lib/aws/s3/bucket_collection.rb +1 -1
- data/lib/aws/s3/presigned_post.rb +1 -1
- data/lib/aws/simple_email_service.rb +1 -1
- data/lib/aws/sns/message.rb +3 -3
- data/lib/aws/sqs/queue.rb +3 -3
- data/lib/aws/sqs/received_message.rb +1 -1
- data/lib/aws/sts.rb +1 -1
- data/lib/aws/sts/federated_session.rb +1 -1
- data/lib/aws/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b42b5f39cf93c4272099c12cc84eea29bd3b814e
|
4
|
+
data.tar.gz: b7f81bda456adfbd0f7b3b7507de2b7c3d47d730
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4576088dc41d99414c9e36a1d7990190a71bdfa3e23ee43a7ec6abc8e4678acab6d5e22f65c83d5b24b510875252850b09ef8151ad61b02eb2d4690f63cb301c
|
7
|
+
data.tar.gz: 35c07f9453f6204f68f15aa2946f9a755948bf570f73202b67da189510cfa86e6d1041962b82002449dd5feedcbfc6911cd290eed22bd0ae33ce41d1539e61c0
|
@@ -1,16 +1,3 @@
|
|
1
|
-
# Copyright 2011-2014 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
1
|
---
|
15
2
|
:json_version: '1.1'
|
16
3
|
:target_prefix: Kinesis_20131202.
|
@@ -224,6 +211,44 @@
|
|
224
211
|
SequenceNumber:
|
225
212
|
:sym: :sequence_number
|
226
213
|
:type: :string
|
214
|
+
- :name: PutRecords
|
215
|
+
:method: :put_records
|
216
|
+
:inputs:
|
217
|
+
Records:
|
218
|
+
- :list:
|
219
|
+
- :structure:
|
220
|
+
Data:
|
221
|
+
- :blob
|
222
|
+
- :required
|
223
|
+
ExplicitHashKey:
|
224
|
+
- :string
|
225
|
+
PartitionKey:
|
226
|
+
- :string
|
227
|
+
- :required
|
228
|
+
- :required
|
229
|
+
StreamName:
|
230
|
+
- :string
|
231
|
+
- :required
|
232
|
+
:outputs:
|
233
|
+
FailedRecordCount:
|
234
|
+
:sym: :failed_record_count
|
235
|
+
:type: :integer
|
236
|
+
Records:
|
237
|
+
:sym: :records
|
238
|
+
:type: :hash
|
239
|
+
:members:
|
240
|
+
SequenceNumber:
|
241
|
+
:sym: :sequence_number
|
242
|
+
:type: :string
|
243
|
+
ShardId:
|
244
|
+
:sym: :shard_id
|
245
|
+
:type: :string
|
246
|
+
ErrorCode:
|
247
|
+
:sym: :error_code
|
248
|
+
:type: :string
|
249
|
+
ErrorMessage:
|
250
|
+
:sym: :error_message
|
251
|
+
:type: :string
|
227
252
|
- :name: RemoveTagsFromStream
|
228
253
|
:method: :remove_tags_from_stream
|
229
254
|
:inputs:
|
@@ -59,7 +59,7 @@ module AWS
|
|
59
59
|
# @option options [String] :placement_group
|
60
60
|
# Physical location of your cluster placement group created in
|
61
61
|
# Amazon EC2. For more information about cluster placement group, see
|
62
|
-
# [Using Cluster Instances](http://docs.
|
62
|
+
# [Using Cluster Instances](http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using_cluster_computing.html).
|
63
63
|
#
|
64
64
|
# @option options [Array<String>] :termination_policies
|
65
65
|
# A standalone termination policy or a list of termination policies used
|
data/lib/aws/core/policy.rb
CHANGED
@@ -29,7 +29,7 @@ module AWS
|
|
29
29
|
# policy.to_json # => '{ "Version":"2008-10-17", ...'
|
30
30
|
#
|
31
31
|
# @see #initialize More ways to construct a policy.
|
32
|
-
# @see http://docs.
|
32
|
+
# @see http://docs.aws.amazon.com/AmazonS3/latest/dev/AccessPolicyLanguage_UseCases_s3_a.html Example policies (in JSON).
|
33
33
|
class Policy
|
34
34
|
|
35
35
|
# @see Statement
|
@@ -350,7 +350,7 @@ module AWS
|
|
350
350
|
# `:s3_prefix` is sent as "s3:prefix" while
|
351
351
|
# `:secure_transport` is sent as "aws:SecureTransport".
|
352
352
|
# See
|
353
|
-
# http://docs.
|
353
|
+
# http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingResOpsConditions.html
|
354
354
|
# for a list of the available keys for each action in S3.
|
355
355
|
#
|
356
356
|
# @param [Mixed] values The value to compare against.
|
data/lib/aws/ec2/image.rb
CHANGED
@@ -86,6 +86,8 @@ module AWS
|
|
86
86
|
# @attr_reader [Array<String>] product_codes Returns an array of
|
87
87
|
# product codes attached to this instance.
|
88
88
|
#
|
89
|
+
# @attr_reader [String] creation_date The date and time the image was created in ISO-8601 format
|
90
|
+
#
|
89
91
|
class Image < Resource
|
90
92
|
|
91
93
|
include TaggedItem
|
@@ -143,6 +145,8 @@ module AWS
|
|
143
145
|
(list || []).collect{|item| item.product_code }
|
144
146
|
end
|
145
147
|
end
|
148
|
+
|
149
|
+
attribute :creation_date, :static => true
|
146
150
|
|
147
151
|
populates_from(:describe_images) do |resp|
|
148
152
|
resp.image_index[id]
|
@@ -86,7 +86,7 @@ module AWS
|
|
86
86
|
|
87
87
|
# Creates an AMI. There are several ways to create an AMI
|
88
88
|
# using this method; for detailed information on each strategy
|
89
|
-
# see [the EC2 Developer Guide](http://docs.
|
89
|
+
# see [the EC2 Developer Guide](http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami.html).
|
90
90
|
#
|
91
91
|
# @param [Hash] options Options for creating the image.
|
92
92
|
# `:name` is required, and you must also specify one of the
|
@@ -87,7 +87,7 @@ module AWS
|
|
87
87
|
# Amazon S3. You can use snapshots for backups, to make
|
88
88
|
# identical copies of instance devices, and to save data
|
89
89
|
# before shutting down an instance. For more information about
|
90
|
-
# Amazon EBS, go to the [Amazon Elastic Compute Cloud User Guide](http://docs.
|
90
|
+
# Amazon EBS, go to the [Amazon Elastic Compute Cloud User Guide](http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/index.html?using-ebs.html).
|
91
91
|
#
|
92
92
|
# @return [Snapshot] An object representing the new snapshot.
|
93
93
|
#
|
@@ -42,7 +42,7 @@ module AWS
|
|
42
42
|
# subnet = subnets['subnet-id-here']
|
43
43
|
#
|
44
44
|
# You can filter subnets as well. See the EC2 API documentation
|
45
|
-
# (http://docs.
|
45
|
+
# (http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeSubnets.html) for a complete list of accepted filters.
|
46
46
|
#
|
47
47
|
# subnet = subnets.filter('state', 'available').first
|
48
48
|
#
|
@@ -48,7 +48,7 @@ module AWS
|
|
48
48
|
|
49
49
|
# Creates a new Amazon EBS volume that any Amazon EC2 instance
|
50
50
|
# in the same Availability Zone can attach to. For more
|
51
|
-
# information about Amazon EBS, go to the [Amazon Elastic Compute Cloud User Guide](http://docs.
|
51
|
+
# information about Amazon EBS, go to the [Amazon Elastic Compute Cloud User Guide](http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/index.html?using-ebs.html).
|
52
52
|
#
|
53
53
|
# @return [Volume] An object representing the new volume.
|
54
54
|
#
|
@@ -21,11 +21,11 @@ module AWS
|
|
21
21
|
#
|
22
22
|
# @attr_reader [String] canonical_hosted_zone_name Provides the name of
|
23
23
|
# the Amazon Route 53 hosted zone that is associated with the load
|
24
|
-
# balancer. For more information: [using-domain-names-with-elb.html](http://docs.
|
24
|
+
# balancer. For more information: [using-domain-names-with-elb.html](http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/index.html?using-domain-names-with-elb.html).
|
25
25
|
#
|
26
26
|
# @attr_reader [String] canonical_hosted_zone_name_id Provides the ID of
|
27
27
|
# the Amazon Route 53 hosted zone name that is associated with the
|
28
|
-
# load balancer. For more information: [using-domain-names-with-elb.html](http://docs.
|
28
|
+
# load balancer. For more information: [using-domain-names-with-elb.html](http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/index.html?using-domain-names-with-elb.html).
|
29
29
|
#
|
30
30
|
# @attr_reader [String] dns_name Specifies the external DNS name
|
31
31
|
# associated with this load balancer.
|
data/lib/aws/iam.rb
CHANGED
@@ -239,7 +239,7 @@ module AWS
|
|
239
239
|
# service to support the use of server certificates with
|
240
240
|
# IAM. Using server certificates with Amazon Elastic Load
|
241
241
|
# Balancing is described in the
|
242
|
-
# {http://docs.
|
242
|
+
# {http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/US_SettingUpLoadBalancerHTTPSIntegrated.html
|
243
243
|
# Amazon Elastic Load Balancing} Developer Guide.
|
244
244
|
#
|
245
245
|
# Returns a collection that represents the server certificates
|
@@ -40,7 +40,7 @@ module AWS
|
|
40
40
|
# iam.account_aliases.create('myaccountalias')
|
41
41
|
#
|
42
42
|
# For information about account alias restrictions and usage,
|
43
|
-
# see http://docs.
|
43
|
+
# see http://docs.aws.amazon.com/IAM/latest/UserGuide/index.html?AccountAlias.html.
|
44
44
|
#
|
45
45
|
# @param [String] account_alias
|
46
46
|
# @return [String] Returns the account_alias string that was passed.
|
@@ -19,7 +19,7 @@ module AWS
|
|
19
19
|
# Console}. Without a login profile, a user cannot access the
|
20
20
|
# console. (For information about accessing and using the AWS
|
21
21
|
# Management Console, see
|
22
|
-
# {http://docs.
|
22
|
+
# {http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_AWSManagementConsole.html
|
23
23
|
# Using the AWS Management Console}.)
|
24
24
|
#
|
25
25
|
# @example Setting a password for a user's login profile
|
@@ -32,7 +32,7 @@ module AWS
|
|
32
32
|
# @attr_reader [String] arn The Amazon Resource Name (ARN)
|
33
33
|
# specifying the server certificate. For more information
|
34
34
|
# about ARNs and how to use them in policies, see
|
35
|
-
# {http://docs.
|
35
|
+
# {http://docs.aws.amazon.com/IAM/latest/UserGuide/index.html?Using_Identifiers.html
|
36
36
|
# Identifiers for IAM Entities} in <i>Using AWS Identity and
|
37
37
|
# Access Management</i>.
|
38
38
|
#
|
@@ -114,7 +114,7 @@ module AWS
|
|
114
114
|
# remove the reference to the certificate from Elastic Load
|
115
115
|
# Balancing before using this command to delete the
|
116
116
|
# certificate. For more information, go to
|
117
|
-
# {http://docs.
|
117
|
+
# {http://docs.aws.amazon.com/ElasticLoadBalancing/latest/APIReference/API_DeleteLoadBalancerListeners.html
|
118
118
|
# DeleteLoadBalancerListeners} in the _Elastic Load Balancing
|
119
119
|
# API Reference_.
|
120
120
|
#
|
@@ -30,7 +30,7 @@ module AWS
|
|
30
30
|
#
|
31
31
|
# For information about generating a server certificate for use
|
32
32
|
# with IAM, see
|
33
|
-
# {http://docs.
|
33
|
+
# {http://docs.aws.amazon.com/IAM/latest/UserGuide/InstallCert.html
|
34
34
|
# Creating and Uploading Server Certificates} in <i>Using AWS
|
35
35
|
# Identity and Access Management</i>.
|
36
36
|
#
|
@@ -74,7 +74,7 @@ module AWS
|
|
74
74
|
#
|
75
75
|
# @option options [String] :path The path for the server
|
76
76
|
# certificate. For more information about paths, see
|
77
|
-
# {http://docs.
|
77
|
+
# {http://docs.aws.amazon.com/IAM/latest/UserGuide/index.html?Using_Identifiers.html
|
78
78
|
# Identifiers for IAM Entities} in <i>Using AWS Identity and
|
79
79
|
# Access Management</i>.
|
80
80
|
#
|
@@ -60,7 +60,7 @@ module AWS
|
|
60
60
|
# @param [String] name Name of the user to create.
|
61
61
|
# @option options [String] :path ('/') The path for the user name.
|
62
62
|
# For more information about paths, see
|
63
|
-
# [Identifiers for IAM Entities](http://docs.
|
63
|
+
# [Identifiers for IAM Entities](http://docs.aws.amazon.com/IAM/latest/UserGuide/index.html?Using_Identifiers.html)
|
64
64
|
# @return [User] Returns the newly created user.
|
65
65
|
def create name, options = {}
|
66
66
|
create_opts = {}
|
@@ -80,7 +80,7 @@ module AWS
|
|
80
80
|
# Grantee.new(:group_uri => 'http://acs.amazonaws.com/groups/global/AllUsers')
|
81
81
|
#
|
82
82
|
# For more details about group URIs, see:
|
83
|
-
# http://docs.
|
83
|
+
# http://docs.aws.amazon.com/AmazonS3/latest/dev/ACLOverview.html
|
84
84
|
#
|
85
85
|
# When constructing a grantee, you must provide a value for
|
86
86
|
# exactly one of the following attributes:
|
@@ -182,7 +182,7 @@ module AWS
|
|
182
182
|
# ACL.
|
183
183
|
#
|
184
184
|
# See
|
185
|
-
# http://docs.
|
185
|
+
# http://docs.aws.amazon.com/AmazonS3/latest/dev/ACLOverview.html
|
186
186
|
# for more information on how grantees and permissions are
|
187
187
|
# interpreted by S3.
|
188
188
|
#
|
@@ -47,7 +47,7 @@ module AWS
|
|
47
47
|
# bucket = s3.buckets.create("my.eu.bucket")
|
48
48
|
#
|
49
49
|
# For a full list of endpoints and regions, see
|
50
|
-
# {http://docs.
|
50
|
+
# {http://docs.aws.amazon.com/general/latest/gr/index.html?rande.html
|
51
51
|
# Regions and Endpoints} in the Amazon Web Services General
|
52
52
|
# Reference.
|
53
53
|
#
|
@@ -179,7 +179,7 @@ module AWS
|
|
179
179
|
# If the value is set to 201, Amazon S3 returns an XML
|
180
180
|
# document with a 201 status code. For information on the
|
181
181
|
# content of the XML document, see
|
182
|
-
# [POST Object](http://docs.
|
182
|
+
# [POST Object](http://docs.aws.amazon.com/AmazonS3/2006-03-01/API/index.html?RESTObjectPOST.html).
|
183
183
|
#
|
184
184
|
# @option opts [Hash] :metadata A hash of the metadata fields
|
185
185
|
# included in the signed fields. Additional metadata fields
|
@@ -72,7 +72,7 @@ module AWS
|
|
72
72
|
#
|
73
73
|
# Before you can send emails, you need to verify one or more identities.
|
74
74
|
# Identities are email addresses or domain names that you have control over.
|
75
|
-
# Until you have [requested production access](http://docs.
|
75
|
+
# Until you have [requested production access](http://docs.aws.amazon.com/ses/latest/DeveloperGuide/InitialSetup.Customer.html)
|
76
76
|
# you will only be able to send emails to and from verified email addresses
|
77
77
|
# and domains.
|
78
78
|
#
|
data/lib/aws/sns/message.rb
CHANGED
@@ -27,14 +27,14 @@ module AWS
|
|
27
27
|
|
28
28
|
# Represents a single SNS message.
|
29
29
|
#
|
30
|
-
# See also http://docs.
|
30
|
+
# See also http://docs.aws.amazon.com/sns/latest/gsg/json-formats.html
|
31
31
|
#
|
32
32
|
# = Originators
|
33
33
|
# Originators are sources of SNS messages. {FromAutoScaling} is one. {Message}
|
34
34
|
# can be extended by originators if their #applicable? method returns true when
|
35
35
|
# passed the raw message.
|
36
36
|
# Originator modules must implement `applicable? sns` module function.
|
37
|
-
# If an originator is applicable, it should set the `@origin` accessor to denote
|
37
|
+
# If an originator is applicable, it should set the `@origin` accessor to denote
|
38
38
|
# itself.
|
39
39
|
class Message
|
40
40
|
SIGNABLE_KEYS = [
|
@@ -73,7 +73,7 @@ module AWS
|
|
73
73
|
# correctly cryptographically signed by sender
|
74
74
|
# nothing went wrong during authenticating the {Message}
|
75
75
|
#
|
76
|
-
# See http://docs.
|
76
|
+
# See http://docs.aws.amazon.com/sns/latest/gsg/SendMessageToHttp.verify.signature.html
|
77
77
|
def authentic?
|
78
78
|
begin
|
79
79
|
decoded_from_base64 = decode signature
|
data/lib/aws/sqs/queue.rb
CHANGED
@@ -314,7 +314,7 @@ module AWS
|
|
314
314
|
|
315
315
|
# @return [Integer] The approximate number of visible messages
|
316
316
|
# in a queue. For more information, see
|
317
|
-
# [Resources Required to Process Messages](http://docs.
|
317
|
+
# [Resources Required to Process Messages](http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/IntroductionArticle.html#ApproximateNumber)
|
318
318
|
# in the Amazon SQS Developer Guide.
|
319
319
|
def approximate_number_of_messages
|
320
320
|
get_attribute("ApproximateNumberOfMessages").to_i
|
@@ -323,7 +323,7 @@ module AWS
|
|
323
323
|
|
324
324
|
# @return [Integer] The approximate number of messages that
|
325
325
|
# are not timed-out and not deleted. For more information,
|
326
|
-
# see [Resources Required to Process Messages](http://docs.
|
326
|
+
# see [Resources Required to Process Messages](http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/IntroductionArticle.html#ApproximateNumber)
|
327
327
|
# in the Amazon SQS Developer Guide.
|
328
328
|
def approximate_number_of_messages_not_visible
|
329
329
|
get_attribute("ApproximateNumberOfMessagesNotVisible").to_i
|
@@ -332,7 +332,7 @@ module AWS
|
|
332
332
|
|
333
333
|
# @return [Integer] Returns the visibility timeout for the
|
334
334
|
# queue. For more information about visibility timeout, see
|
335
|
-
# [Visibility Timeout](http://docs.
|
335
|
+
# [Visibility Timeout](http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/IntroductionArticle.html#AboutVT)
|
336
336
|
# in the Amazon SQS Developer Guide.
|
337
337
|
def visibility_timeout
|
338
338
|
get_attribute("VisibilityTimeout").to_i
|
@@ -118,7 +118,7 @@ module AWS
|
|
118
118
|
# extend the timeout of a message in an existing queue to more
|
119
119
|
# than a total visibility timeout of 12 hours. (For more
|
120
120
|
# information visibility timeout, see
|
121
|
-
# [Visibility Timeout](http://docs.
|
121
|
+
# [Visibility Timeout](http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/IntroductionArticle.html#AboutVT)
|
122
122
|
# in the Amazon SQS Developer Guide.)
|
123
123
|
#
|
124
124
|
# For example, let's say the timeout for the queue is 30
|
data/lib/aws/sts.rb
CHANGED
@@ -101,7 +101,7 @@ module AWS
|
|
101
101
|
# any resource or user policies that apply to the caller of the
|
102
102
|
# GetFederationToken API. For more information about how token
|
103
103
|
# permissions work, see
|
104
|
-
# {http://docs.
|
104
|
+
# {http://docs.aws.amazon.com/IAM/latest/UserGuide/TokenPermissions.html
|
105
105
|
# Controlling Token Permissions} in Using AWS Identity and Access
|
106
106
|
# Management.
|
107
107
|
#
|
@@ -28,7 +28,7 @@ module AWS
|
|
28
28
|
# The ARN specifying the federated user associated with the
|
29
29
|
# session. For more information about ARNs and how to use them
|
30
30
|
# in policies, see
|
31
|
-
# {http://docs.
|
31
|
+
# {http://docs.aws.amazon.com/IAM/latest/UserGuide/index.html?Using_Identifiers.html
|
32
32
|
# Identifiers for IAM Entities} in <i>Using AWS Identity and
|
33
33
|
# Access Management</i>.
|
34
34
|
#
|
data/lib/aws/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.64.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-04-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|