aws-sdk-core 3.0.0.rc12 → 3.0.0.rc13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/aws-sdk-core/client_stubs.rb +13 -0
- data/lib/aws-sdk-core/credential_provider_chain.rb +2 -1
- data/lib/aws-sdk-core/log/param_filter.rb +1 -1
- data/lib/aws-sdk-sts.rb +1 -1
- data/lib/aws-sdk-sts/client.rb +4 -4
- data/lib/aws-sdk-sts/types.rb +3 -3
- 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: 772e672ad681fc8db63624d83dad41b85f8f51c5
|
4
|
+
data.tar.gz: b6585cf2255eb349543081039e30f7a2efad548f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64e7c4fa1e17ee12d859a4e6c00e92f3eb2f06fe24a33e074f4e97ae5e9afc826b5e7f410255e7b342fec2417b350c783f9b20c2ec7ce474625c6330e999a548
|
7
|
+
data.tar.gz: 4cf3a17b7cec546c123e9ce58f6de2b71d203ede9ae527b3bf50059322e547c27526e2595aa52df555ddb061378879e37778aaa04820ca761d25b519aa610367
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.0.
|
1
|
+
3.0.0.rc13
|
@@ -76,6 +76,19 @@ module Aws
|
|
76
76
|
# Aws::S3::Resource.new.buckets.map(&:name)
|
77
77
|
# #=> ['my-bucket']
|
78
78
|
#
|
79
|
+
# ## Dynamic Stubbing
|
80
|
+
#
|
81
|
+
# In addition to creating static stubs, it's also possible to generate
|
82
|
+
# stubs dynamically based on the parameters with which operations were
|
83
|
+
# called, by passing a `Proc` object:
|
84
|
+
#
|
85
|
+
# s3 = Aws::S3::Resource.new(stub_responses: true)
|
86
|
+
# s3.client.stub_responses(:put_object, -> (context) {
|
87
|
+
# s3.client.stub_responses(:get_object, content_type: context.params[:content_type])
|
88
|
+
# })
|
89
|
+
#
|
90
|
+
# The yielded object is an instance of {Seahorse::Client::RequestContext}.
|
91
|
+
#
|
79
92
|
# ## Stubbing Errors
|
80
93
|
#
|
81
94
|
# When stubbing is enabled, the SDK will default to generate
|
@@ -62,7 +62,8 @@ module Aws
|
|
62
62
|
if options[:config]
|
63
63
|
SharedCredentials.new(profile_name: options[:config].profile)
|
64
64
|
else
|
65
|
-
SharedCredentials.new(
|
65
|
+
SharedCredentials.new(
|
66
|
+
profile_name: ENV['AWS_PROFILE'].nil? ? 'default' : ENV['AWS_PROFILE'])
|
66
67
|
end
|
67
68
|
rescue Errors::NoSuchProfileError
|
68
69
|
nil
|
@@ -11,7 +11,7 @@ module Aws
|
|
11
11
|
#
|
12
12
|
# @api private
|
13
13
|
# begin
|
14
|
-
SENSITIVE = [:access_token, :account_name, :admin_contact, :artifact_credentials, :auth_code, :base_32_string_seed, :client_id, :client_secret, :copy_source_sse_customer_key, :credentials, :db_password, :description, :email, :id, :id_token, :local_console_password, :master_account_email, :message, :name, :new_password, :notes, :old_password, :owner_information, :parameters, :password, :payload, :plaintext, :previous_password, :private_key, :proposed_password, :public_key, :qr_code_png, :query, :refresh_token, :registrant_contact, :secret_access_key, :secret_hash, :service_password, :shared_secret, :sse_customer_key, :ssekms_key_id, :status_message, :task_parameters, :tech_contact, :temporary_password, :trust_password, :upload_credentials, :upload_url, :username, :value, :values, :variables, :zip_file]
|
14
|
+
SENSITIVE = [:access_token, :account_name, :admin_contact, :artifact_credentials, :auth_code, :authentication_token, :base_32_string_seed, :client_id, :client_secret, :copy_source_sse_customer_key, :credentials, :db_password, :description, :email, :id, :id_token, :local_console_password, :master_account_email, :message, :name, :new_password, :notes, :old_password, :owner_information, :parameters, :password, :payload, :plaintext, :previous_password, :private_key, :proposed_password, :public_key, :qr_code_png, :query, :refresh_token, :registrant_contact, :secret_access_key, :secret_hash, :service_password, :shared_secret, :sse_customer_key, :ssekms_key_id, :status_message, :task_parameters, :tech_contact, :temporary_password, :text, :trust_password, :upload_credentials, :upload_url, :username, :value, :values, :variables, :zip_file]
|
15
15
|
# end
|
16
16
|
|
17
17
|
def initialize(options = {})
|
data/lib/aws-sdk-sts.rb
CHANGED
data/lib/aws-sdk-sts/client.rb
CHANGED
@@ -336,7 +336,7 @@ module Aws::STS
|
|
336
336
|
# The regex used to validated this parameter is a string of characters
|
337
337
|
# consisting of upper- and lower-case alphanumeric characters with no
|
338
338
|
# spaces. You can also include underscores or any of the following
|
339
|
-
# characters:
|
339
|
+
# characters: =,.@:/-
|
340
340
|
#
|
341
341
|
#
|
342
342
|
#
|
@@ -1194,10 +1194,10 @@ module Aws::STS
|
|
1194
1194
|
# device for an IAM user by going to the AWS Management Console and
|
1195
1195
|
# viewing the user's security credentials.
|
1196
1196
|
#
|
1197
|
-
# The regex used to
|
1197
|
+
# The regex used to validated this parameter is a string of characters
|
1198
1198
|
# consisting of upper- and lower-case alphanumeric characters with no
|
1199
1199
|
# spaces. You can also include underscores or any of the following
|
1200
|
-
# characters:
|
1200
|
+
# characters: =,.@:/-
|
1201
1201
|
#
|
1202
1202
|
# @option params [String] :token_code
|
1203
1203
|
# The value provided by the MFA device, if MFA is required. If any
|
@@ -1251,7 +1251,7 @@ module Aws::STS
|
|
1251
1251
|
params: params,
|
1252
1252
|
config: config)
|
1253
1253
|
context[:gem_name] = 'aws-sdk-core'
|
1254
|
-
context[:gem_version] = '3.0.0.
|
1254
|
+
context[:gem_version] = '3.0.0.rc12'
|
1255
1255
|
Seahorse::Client::Request.new(handlers, context)
|
1256
1256
|
end
|
1257
1257
|
|
data/lib/aws-sdk-sts/types.rb
CHANGED
@@ -114,7 +114,7 @@ module Aws::STS
|
|
114
114
|
# The regex used to validated this parameter is a string of characters
|
115
115
|
# consisting of upper- and lower-case alphanumeric characters with no
|
116
116
|
# spaces. You can also include underscores or any of the following
|
117
|
-
# characters:
|
117
|
+
# characters: =,.@:/-
|
118
118
|
#
|
119
119
|
#
|
120
120
|
#
|
@@ -866,10 +866,10 @@ module Aws::STS
|
|
866
866
|
# the device for an IAM user by going to the AWS Management Console
|
867
867
|
# and viewing the user's security credentials.
|
868
868
|
#
|
869
|
-
# The regex used to
|
869
|
+
# The regex used to validated this parameter is a string of characters
|
870
870
|
# consisting of upper- and lower-case alphanumeric characters with no
|
871
871
|
# spaces. You can also include underscores or any of the following
|
872
|
-
# characters:
|
872
|
+
# characters: =,.@:/-
|
873
873
|
# @return [String]
|
874
874
|
#
|
875
875
|
# @!attribute [rw] token_code
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.0.
|
4
|
+
version: 3.0.0.rc13
|
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: 2017-
|
11
|
+
date: 2017-06-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jmespath
|