aws-sdk-core 3.72.1 → 3.78.0

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: 1c8c4db57d03bd05d3adfe09d9d876b7890535c3
4
- data.tar.gz: c30b98ebd29575bbc331cae8816e90d480da95a7
3
+ metadata.gz: 90c773fc0577d5607211e10f3d18d9cf3786d430
4
+ data.tar.gz: 1ac8f99565e2437ebb25f545a31fc13b252e619f
5
5
  SHA512:
6
- metadata.gz: ef7377cade1b307dbb6843d8c997e7eb16344f6fe14e8df88c1e5c13b1e1c3d257c79aaed3a4b804187605d0ed999de3fce2dcbec8b613cf346b7918b46ed1c4
7
- data.tar.gz: a7ee5f5fc1da82d50f88b953f0c865c0b678bed8f5e20b7de67be0f4b25026f76ec6a8282cb1d317d501e13fcee87bad6c25ef512407cc25f270adbca57ce76f
6
+ metadata.gz: 5113990f262a560e7aabb293b4b08a4435d9fa0a0437ef4e7469aa922c8814dcb04a033e771345c396df2150a759a6e9ffc4cf36747f828d0e2669e3afa00c43
7
+ data.tar.gz: 0506d13ebca4fd603a3c78ba4f0e77a6e8d3e1b8ea0e2bf4d694efb7041bfb5c60d1ff36945fdd8da386b7d0dd2f486ddd49e2bfed1981e4a05600cd33db0ed1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.72.1
1
+ 3.78.0
@@ -1,10 +1,6 @@
1
- require_relative 'deprecations'
2
-
3
1
  module Aws
4
2
  module CredentialProvider
5
3
 
6
- extend Deprecations
7
-
8
4
  # @return [Credentials]
9
5
  attr_reader :credentials
10
6
 
@@ -13,29 +9,5 @@ module Aws
13
9
  !!credentials && credentials.set?
14
10
  end
15
11
 
16
- # @deprecated This method is subject to errors from a race condition when
17
- # called against refreshable credential objects. This will be removed.
18
- # @see #credentials
19
- def access_key_id
20
- credentials ? credentials.access_key_id : nil
21
- end
22
- deprecated(:access_key_id, use: '#credentials', version: '3.75')
23
-
24
- # @deprecated This method is subject to errors from a race condition when
25
- # called against refreshable credential objects. This will be removed.
26
- # @see #credentials
27
- def secret_access_key
28
- credentials ? credentials.secret_access_key : nil
29
- end
30
- deprecated(:secret_access_key, use: '#credentials', version: '3.75')
31
-
32
- # @deprecated This method is subject to errors from a race condition when
33
- # called against refreshable credential objects. This will be removed.
34
- # @see #credentials
35
- def session_token
36
- credentials ? credentials.session_token : nil
37
- end
38
- deprecated(:session_token, use: '#credentials', version: '3.75')
39
-
40
12
  end
41
13
  end
@@ -11,7 +11,7 @@ module Aws
11
11
  #
12
12
  # @api private
13
13
  # begin
14
- SENSITIVE = [:access_token, :account_name, :account_password, :address, :admin_contact, :admin_password, :artifact_credentials, :auth_code, :authentication_token, :authorization_result, :backup_plan_tags, :backup_vault_tags, :base_32_string_seed, :block, :block_address, :body, :bot_configuration, :bot_email, :calling_name, :cause, :client_id, :client_secret, :comment, :configuration, :copy_source_sse_customer_key, :credentials, :current_password, :custom_attributes, :custom_private_key, :db_password, :default_phone_number, :definition, :description, :digest_tip_address, :display_name, :e164_phone_number, :email, :email_address, :email_message, :embed_url, :error, :feedback_token, :file, :first_name, :host_key, :id, :id_token, :input, :input_text, :ion_text, :key_id, :key_store_password, :kms_key_id, :kms_master_key_id, :lambda_function_arn, :last_name, :local_console_password, :master_account_email, :master_user_password, :message, :name, :new_password, :next_password, :notes, :number, :old_password, :outbound_events_https_endpoint, :output, :owner_information, :parameters, :passphrase, :password, :payload, :phone_number, :plaintext, :previous_password, :primary_email, :primary_provisioned_number, :private_key, :proof, :proposed_password, :public_key, :qr_code_png, :query, :random_password, :recovery_point_tags, :refresh_token, :registrant_contact, :request_attributes, :revision, :search_query, :secret_access_key, :secret_binary, :secret_code, :secret_hash, :secret_string, :secret_to_authenticate_initiator, :secret_to_authenticate_target, :security_token, :service_password, :session_attributes, :share_notes, :shared_secret, :slots, :sse_customer_key, :ssekms_encryption_context, :ssekms_key_id, :status_message, :tag_key_list, :tags, :task_parameters, :tech_contact, :temporary_password, :text, :token, :trust_password, :type, :upload_credentials, :upload_url, :uri, :user_email, :user_name, :user_password, :username, :value, :values, :variables, :vpn_psk, :zip_file]
14
+ SENSITIVE = [:access_token, :account_name, :account_password, :address, :admin_contact, :admin_password, :artifact_credentials, :auth_code, :authentication_token, :authorization_result, :backup_plan_tags, :backup_vault_tags, :base_32_string_seed, :block, :block_address, :body, :bot_configuration, :bot_email, :calling_name, :cause, :client_id, :client_request_token, :client_secret, :comment, :configuration, :copy_source_sse_customer_key, :credentials, :current_password, :custom_attributes, :custom_private_key, :db_password, :default_phone_number, :definition, :description, :digest_tip_address, :display_name, :e164_phone_number, :email, :email_address, :email_message, :embed_url, :error, :feedback_token, :file, :first_name, :full_name, :host_key, :id, :id_token, :input, :input_text, :ion_text, :key_id, :key_material, :key_store_password, :kms_key_id, :kms_master_key_id, :lambda_function_arn, :last_name, :local_console_password, :master_account_email, :master_user_password, :message, :name, :new_password, :next_password, :notes, :number, :old_password, :outbound_events_https_endpoint, :output, :owner_information, :parameters, :passphrase, :password, :payload, :phone_number, :plaintext, :previous_password, :primary_email, :primary_provisioned_number, :private_key, :proof, :proposed_password, :public_key, :qr_code_png, :query, :random_password, :recovery_point_tags, :refresh_token, :registrant_contact, :request_attributes, :revision, :search_query, :secret_access_key, :secret_binary, :secret_code, :secret_hash, :secret_string, :secret_to_authenticate_initiator, :secret_to_authenticate_target, :security_token, :service_password, :session_attributes, :session_token, :share_notes, :shared_secret, :slots, :sse_customer_key, :ssekms_encryption_context, :ssekms_key_id, :status_message, :tag_key_list, :tags, :target_address, :task_parameters, :tech_contact, :temporary_password, :text, :token, :trust_password, :type, :upload_credentials, :upload_url, :uri, :user_data, :user_email, :user_name, :user_password, :username, :value, :values, :variables, :vpn_psk, :zip_file]
15
15
  # end
16
16
 
17
17
  def initialize(options = {})
@@ -35,9 +35,14 @@ to test endpoints. This should be avalid HTTP(S) URI.
35
35
  DOCS
36
36
  endpoint_prefix = cfg.api.metadata['endpointPrefix']
37
37
  if cfg.region && endpoint_prefix
38
- sts_regional = cfg.respond_to?(:sts_regional_endpoints) ? cfg.sts_regional_endpoints : nil
38
+ if cfg.respond_to?(:sts_regional_endpoints)
39
+ sts_regional = cfg.sts_regional_endpoints
40
+ end
39
41
  Aws::Partitions::EndpointProvider.resolve(
40
- cfg.region, endpoint_prefix, sts_regional)
42
+ cfg.region,
43
+ endpoint_prefix,
44
+ sts_regional
45
+ )
41
46
  end
42
47
  end
43
48
 
@@ -168,6 +168,21 @@ module Aws
168
168
  end
169
169
  end
170
170
 
171
+ def s3_us_east_1_regional_endpoint(opts = {})
172
+ p = opts[:profile] || @profile_name
173
+ if @config_enabled
174
+ if @parsed_credentials
175
+ mode = @parsed_credentials.fetch(p, {})["s3_us_east_1_regional_endpoint"]
176
+ end
177
+ if @parsed_config
178
+ mode ||= @parsed_config.fetch(p, {})["s3_us_east_1_regional_endpoint"]
179
+ end
180
+ mode
181
+ else
182
+ nil
183
+ end
184
+ end
185
+
171
186
  def endpoint_discovery(opts = {})
172
187
  p = opts[:profile] || @profile_name
173
188
  if @config_enabled && @parsed_config
@@ -40,6 +40,6 @@ require_relative 'aws-sdk-sts/customizations'
40
40
  # @service
41
41
  module Aws::STS
42
42
 
43
- GEM_VERSION = '3.72.1'
43
+ GEM_VERSION = '3.78.0'
44
44
 
45
45
  end
@@ -1815,7 +1815,7 @@ module Aws::STS
1815
1815
  params: params,
1816
1816
  config: config)
1817
1817
  context[:gem_name] = 'aws-sdk-core'
1818
- context[:gem_version] = '3.72.1'
1818
+ context[:gem_version] = '3.78.0'
1819
1819
  Seahorse::Client::Request.new(handlers, context)
1820
1820
  end
1821
1821
 
@@ -123,8 +123,8 @@ module Seahorse
123
123
  attr_accessor :docstring
124
124
 
125
125
  def doc_default
126
- if @doc_default.nil?
127
- Proc === default ? nil : default
126
+ if @doc_default.nil? && !default.is_a?(Proc)
127
+ default
128
128
  else
129
129
  @doc_default
130
130
  end
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.72.1
4
+ version: 3.78.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: 2019-10-31 00:00:00.000000000 Z
11
+ date: 2019-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jmespath
@@ -33,7 +33,7 @@ dependencies:
33
33
  version: '1'
34
34
  - - ">="
35
35
  - !ruby/object:Gem::Version
36
- version: 1.228.0
36
+ version: 1.239.0
37
37
  type: :runtime
38
38
  prerelease: false
39
39
  version_requirements: !ruby/object:Gem::Requirement
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: '1'
44
44
  - - ">="
45
45
  - !ruby/object:Gem::Version
46
- version: 1.228.0
46
+ version: 1.239.0
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: aws-sigv4
49
49
  requirement: !ruby/object:Gem::Requirement