aws-sdk-s3control 1.21.0 → 1.22.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1ffa7ac5b97407f90f2dcb19841e8fe31507786bcb3301f6019dca81ddfa81d2
4
- data.tar.gz: a66f13867cc1c66ef6f55a93d0f393ea79b0a80f70582050c11c7f7c37629f92
3
+ metadata.gz: 91e6ea3b210d0a39fc487a2837face8de0ad075b2641d6e580c1665ebe6c0249
4
+ data.tar.gz: ad6d774afaf809daba8f7688283865cdd0eb68c45672814225d6f0a23922eb53
5
5
  SHA512:
6
- metadata.gz: 9fda750cbaa0082b7b63bd77db403d6b5158b490a863bef4e27eb5c8d3317a8d2261ff25639982a27a09ed0e9613698af2c3fdbe60c6c3afaf88dc04fb6d4a0b
7
- data.tar.gz: a359917a76e74eb51618e487485e6046a306dd0a69d86c62b0694e90249adf80630339420d057ebb817d247f8c81befc84d9f49146ffd3e911fb29d12fe10bec
6
+ metadata.gz: 48b50f77cb22e7037be15393298c81c70d02e4583c6610cec945bde69982d786879921e249634a1d125d58836fb2769b2dae8066203bf8cbfc85ce80164f052e
7
+ data.tar.gz: 718399507cf13dc0170f1a4e7e844c49600b93ac5a60c547c225e6fc0545c3a8a76f30778e63704d2f9db3ebefe69d59b1c298292465f4cf5e3fab91743557ca
@@ -44,9 +44,9 @@ require_relative 'aws-sdk-s3control/customizations'
44
44
  #
45
45
  # See {Errors} for more information.
46
46
  #
47
- # @service
47
+ # @!group service
48
48
  module Aws::S3Control
49
49
 
50
- GEM_VERSION = '1.21.0'
50
+ GEM_VERSION = '1.22.0'
51
51
 
52
52
  end
@@ -91,13 +91,28 @@ module Aws::S3Control
91
91
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
92
92
  # credentials.
93
93
  #
94
+ # * `Aws::SharedCredentials` - Used for loading static credentials from a
95
+ # shared file, such as `~/.aws/config`.
96
+ #
97
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
98
+ #
99
+ # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
100
+ # assume a role after providing credentials via the web.
101
+ #
102
+ # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
103
+ # access token generated from `aws login`.
104
+ #
105
+ # * `Aws::ProcessCredentials` - Used for loading credentials from a
106
+ # process that outputs to stdout.
107
+ #
94
108
  # * `Aws::InstanceProfileCredentials` - Used for loading credentials
95
109
  # from an EC2 IMDS on an EC2 instance.
96
110
  #
97
- # * `Aws::SharedCredentials` - Used for loading credentials from a
98
- # shared file, such as `~/.aws/config`.
111
+ # * `Aws::ECSCredentials` - Used for loading credentials from
112
+ # instances running in ECS.
99
113
  #
100
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
114
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
115
+ # from the Cognito Identity service.
101
116
  #
102
117
  # When `:credentials` are not configured directly, the following
103
118
  # locations will be searched for credentials:
@@ -107,10 +122,10 @@ module Aws::S3Control
107
122
  # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
108
123
  # * `~/.aws/credentials`
109
124
  # * `~/.aws/config`
110
- # * EC2 IMDS instance profile - When used by default, the timeouts are
111
- # very aggressive. Construct and pass an instance of
112
- # `Aws::InstanceProfileCredentails` to enable retries and extended
113
- # timeouts.
125
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts
126
+ # are very aggressive. Construct and pass an instance of
127
+ # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
128
+ # enable retries and extended timeouts.
114
129
  #
115
130
  # @option options [required, String] :region
116
131
  # The AWS region to connect to. The configured `:region` is
@@ -1485,7 +1500,7 @@ module Aws::S3Control
1485
1500
  params: params,
1486
1501
  config: config)
1487
1502
  context[:gem_name] = 'aws-sdk-s3control'
1488
- context[:gem_version] = '1.21.0'
1503
+ context[:gem_version] = '1.22.0'
1489
1504
  Seahorse::Client::Request.new(handlers, context)
1490
1505
  end
1491
1506
 
@@ -22,7 +22,9 @@ for all operations.
22
22
  # @api private
23
23
  class OptionHandler < Seahorse::Client::Handler
24
24
  def call(context)
25
- dualstack = context.params.delete(:use_dualstack_endpoint)
25
+ if context.params.is_a?(Hash)
26
+ dualstack = context.params.delete(:use_dualstack_endpoint)
27
+ end
26
28
  dualstack = context.config.use_dualstack_endpoint if dualstack.nil?
27
29
  context[:use_dualstack_endpoint] = dualstack
28
30
  @handler.call(context)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-s3control
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.21.0
4
+ version: 1.22.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: 2020-06-23 00:00:00.000000000 Z
11
+ date: 2020-08-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4