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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 476b7369396155e00dfad4e6f6e1d3bf024ff868
4
- data.tar.gz: 568c6b11dc298dd1f3e87604befad0d1806c7067
3
+ metadata.gz: 772e672ad681fc8db63624d83dad41b85f8f51c5
4
+ data.tar.gz: b6585cf2255eb349543081039e30f7a2efad548f
5
5
  SHA512:
6
- metadata.gz: eef2b5c52e84cd63b0d4d824a5fa503110e6d8e5fde6677f667915223293d7c765909c5eb6d6b55c32709ced03102b9a3b7821d7e12786b1fce7af8a0fc67a20
7
- data.tar.gz: 947d8e41aae4abf2cb8874921ded87e96f732dd4b6912f6862e1cfa5c612243c83a1a2a17b6835f0e8da962157f300984c7d87dc544400b4a297edd9596a4c07
6
+ metadata.gz: 64e7c4fa1e17ee12d859a4e6c00e92f3eb2f06fe24a33e074f4e97ae5e9afc826b5e7f410255e7b342fec2417b350c783f9b20c2ec7ce474625c6330e999a548
7
+ data.tar.gz: 4cf3a17b7cec546c123e9ce58f6de2b71d203ede9ae527b3bf50059322e547c27526e2595aa52df555ddb061378879e37778aaa04820ca761d25b519aa610367
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.0.rc12
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(profile_name: 'default')
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 = {})
@@ -40,6 +40,6 @@ require_relative 'aws-sdk-sts/customizations'
40
40
  # @service
41
41
  module Aws::STS
42
42
 
43
- GEM_VERSION = '3.0.0.rc11'
43
+ GEM_VERSION = '3.0.0.rc12'
44
44
 
45
45
  end
@@ -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 validate this parameter is a string of characters
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.rc11'
1254
+ context[:gem_version] = '3.0.0.rc12'
1255
1255
  Seahorse::Client::Request.new(handlers, context)
1256
1256
  end
1257
1257
 
@@ -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 validate this parameter is a string of characters
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.rc12
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-05-23 00:00:00.000000000 Z
11
+ date: 2017-06-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jmespath