aws-sdk 1.40.0 → 1.40.1
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.
- checksums.yaml +4 -4
- data/README.md +5 -2
- data/lib/aws/api_config/CloudSearch-2013-01-01.yml +690 -300
- data/lib/aws/core/credential_providers.rb +1 -1
- data/lib/aws/iam/server_certificate.rb +7 -7
- data/lib/aws/s3/presign_v4.rb +3 -0
- data/lib/aws/version.rb +1 -1
- metadata +2 -2
@@ -272,7 +272,7 @@ module AWS
|
|
272
272
|
}
|
273
273
|
|
274
274
|
# @option [String] :path
|
275
|
-
# @option [String] :
|
275
|
+
# @option [String] :profile_name
|
276
276
|
def initialize(options = {})
|
277
277
|
@path = options[:path] || File.join(Dir.home, '.aws', 'credentials')
|
278
278
|
@profile_name = options[:profile_name]
|
@@ -21,27 +21,27 @@ module AWS
|
|
21
21
|
# You can use this class to get information about a certificate
|
22
22
|
# and to delete it.
|
23
23
|
#
|
24
|
-
# @attr [String] The name that identifies the server certificate.
|
24
|
+
# @attr [String] name The name that identifies the server certificate.
|
25
25
|
#
|
26
|
-
# @attr_reader [String] The stable and unique string identifying
|
26
|
+
# @attr_reader [String] id The stable and unique string identifying
|
27
27
|
# the server certificate.
|
28
28
|
#
|
29
|
-
# @attr_reader [Time] The date when the server certificate was
|
29
|
+
# @attr_reader [Time] updload_date The date when the server certificate was
|
30
30
|
# uploaded.
|
31
31
|
#
|
32
|
-
# @attr_reader [String] The Amazon Resource Name (ARN)
|
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
35
|
# {http://docs.amazonwebservices.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
|
#
|
39
|
-
# @attr [String] Path to the server certificate.
|
39
|
+
# @attr [String] path Path to the server certificate.
|
40
40
|
#
|
41
|
-
# @attr_reader [String] The contents of the public key
|
41
|
+
# @attr_reader [String] certificate_body The contents of the public key
|
42
42
|
# certificate.
|
43
43
|
#
|
44
|
-
# @attr_reader [String] The contents of the public key
|
44
|
+
# @attr_reader [String] certificate_chain The contents of the public key
|
45
45
|
# certificate chain.
|
46
46
|
#
|
47
47
|
class ServerCertificate < Resource
|
data/lib/aws/s3/presign_v4.rb
CHANGED
@@ -69,10 +69,13 @@ module AWS
|
|
69
69
|
end
|
70
70
|
end
|
71
71
|
|
72
|
+
token = client.credential_provider.session_token
|
73
|
+
|
72
74
|
request.add_param("X-Amz-Algorithm", "AWS4-HMAC-SHA256")
|
73
75
|
request.add_param("X-Amz-Date", now)
|
74
76
|
request.add_param("X-Amz-SignedHeaders", signed_headers)
|
75
77
|
request.add_param("X-Amz-Expires", seconds_away(options[:expires]))
|
78
|
+
request.add_param('X-Amz-Security-Token', token) if token
|
76
79
|
request.add_param("X-Amz-Credential", signer.credential(now))
|
77
80
|
request.add_param("X-Amz-Signature", signature(request, now))
|
78
81
|
|
data/lib/aws/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.40.
|
4
|
+
version: 1.40.1
|
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: 2014-05-
|
11
|
+
date: 2014-05-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|