aws-sdk-ec2instanceconnect 1.4.0 → 1.9.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
- SHA1:
3
- metadata.gz: 459c749c9698ed94f6ecfd749e7334e1222cc8c0
4
- data.tar.gz: 72c4051813ee0cb7151848d970718eb8aca86283
2
+ SHA256:
3
+ metadata.gz: 0760f8ea3caf1355bb5042c871938261d6b935062895deecda625067c97c2110
4
+ data.tar.gz: ead7523983647f75849037d2b60edec190ed9ea00bbacab7bb77a7ccce3c6ac0
5
5
  SHA512:
6
- metadata.gz: 1632a125248af44b82288a43f7122f49747cf5f36b8a58bb2ced831682e87db704afb0ad589b122a47cd6f3ce9e878d9e044190a3762affb686bb7f0cd1a8c46
7
- data.tar.gz: e300e01327217c78eb3adcc010986bf5f6d117c9743ecb05c2e742c31e46064ed284d5cff32dbc340cd3d40212776c26cf67581174c8cea20542c54d601a81ba
6
+ metadata.gz: 43101046584724888265c9f45c45934f017546c74aa944b93f099310032486f6364f36eebc7fc8c825da8a174e4a1b3438f61261d3480daa3fd67de0a6573075
7
+ data.tar.gz: 46e2042b7a3a5e2fd1db9e6643bc129f79887d7d0730481aae5e3ffc94339d25d1cd3501ad99974cd1af20bf3e12a54f6a13120bc0d40d4682147c69567f3282
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -42,9 +44,9 @@ require_relative 'aws-sdk-ec2instanceconnect/customizations'
42
44
  #
43
45
  # See {Errors} for more information.
44
46
  #
45
- # @service
47
+ # @!group service
46
48
  module Aws::EC2InstanceConnect
47
49
 
48
- GEM_VERSION = '1.4.0'
50
+ GEM_VERSION = '1.9.0'
49
51
 
50
52
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
24
26
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
25
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
26
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
+ require 'aws-sdk-core/plugins/http_checksum.rb'
27
30
  require 'aws-sdk-core/plugins/signature_v4.rb'
28
31
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
29
32
 
@@ -32,11 +35,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:ec2instanceconnect)
32
35
  module Aws::EC2InstanceConnect
33
36
  # An API client for EC2InstanceConnect. To construct a client, you need to configure a `:region` and `:credentials`.
34
37
  #
35
- # client = Aws::EC2InstanceConnect::Client.new(
36
- # region: region_name,
37
- # credentials: credentials,
38
- # # ...
39
- # )
38
+ # client = Aws::EC2InstanceConnect::Client.new(
39
+ # region: region_name,
40
+ # credentials: credentials,
41
+ # # ...
42
+ # )
40
43
  #
41
44
  # For details on configuring region and credentials see
42
45
  # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
@@ -69,6 +72,7 @@ module Aws::EC2InstanceConnect
69
72
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
70
73
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
71
74
  add_plugin(Aws::Plugins::TransferEncoding)
75
+ add_plugin(Aws::Plugins::HttpChecksum)
72
76
  add_plugin(Aws::Plugins::SignatureV4)
73
77
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
74
78
 
@@ -81,13 +85,28 @@ module Aws::EC2InstanceConnect
81
85
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
82
86
  # credentials.
83
87
  #
88
+ # * `Aws::SharedCredentials` - Used for loading static credentials from a
89
+ # shared file, such as `~/.aws/config`.
90
+ #
91
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
92
+ #
93
+ # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
94
+ # assume a role after providing credentials via the web.
95
+ #
96
+ # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
97
+ # access token generated from `aws login`.
98
+ #
99
+ # * `Aws::ProcessCredentials` - Used for loading credentials from a
100
+ # process that outputs to stdout.
101
+ #
84
102
  # * `Aws::InstanceProfileCredentials` - Used for loading credentials
85
103
  # from an EC2 IMDS on an EC2 instance.
86
104
  #
87
- # * `Aws::SharedCredentials` - Used for loading credentials from a
88
- # shared file, such as `~/.aws/config`.
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
89
107
  #
90
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
91
110
  #
92
111
  # When `:credentials` are not configured directly, the following
93
112
  # locations will be searched for credentials:
@@ -97,15 +116,15 @@ module Aws::EC2InstanceConnect
97
116
  # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
98
117
  # * `~/.aws/credentials`
99
118
  # * `~/.aws/config`
100
- # * EC2 IMDS instance profile - When used by default, the timeouts are
101
- # very aggressive. Construct and pass an instance of
102
- # `Aws::InstanceProfileCredentails` to enable retries and extended
103
- # timeouts.
119
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
+ # are very aggressive. Construct and pass an instance of
121
+ # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
+ # enable retries and extended timeouts.
104
123
  #
105
124
  # @option options [required, String] :region
106
125
  # The AWS region to connect to. The configured `:region` is
107
126
  # used to determine the service `:endpoint`. When not passed,
108
- # a default `:region` is search for in the following locations:
127
+ # a default `:region` is searched for in the following locations:
109
128
  #
110
129
  # * `Aws.config[:region]`
111
130
  # * `ENV['AWS_REGION']`
@@ -161,7 +180,7 @@ module Aws::EC2InstanceConnect
161
180
  # @option options [String] :endpoint
162
181
  # The client endpoint is normally constructed from the `:region`
163
182
  # option. You should only configure an `:endpoint` when connecting
164
- # to test endpoints. This should be avalid HTTP(S) URI.
183
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
165
184
  #
166
185
  # @option options [Integer] :endpoint_cache_max_entries (1000)
167
186
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -176,7 +195,7 @@ module Aws::EC2InstanceConnect
176
195
  # requests fetching endpoints information. Defaults to 60 sec.
177
196
  #
178
197
  # @option options [Boolean] :endpoint_discovery (false)
179
- # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
198
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
180
199
  #
181
200
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
182
201
  # The log formatter.
@@ -229,15 +248,19 @@ module Aws::EC2InstanceConnect
229
248
  #
230
249
  # @option options [String] :retry_mode ("legacy")
231
250
  # Specifies which retry algorithm to use. Values are:
232
- # * `legacy` - The pre-existing retry behavior. This is default value if
233
- # no retry mode is provided.
234
- # * `standard` - A standardized set of retry rules across the AWS SDKs.
235
- # This includes support for retry quotas, which limit the number of
236
- # unsuccessful retries a client can make.
237
- # * `adaptive` - An experimental retry mode that includes all the
238
- # functionality of `standard` mode along with automatic client side
239
- # throttling. This is a provisional mode that may change behavior
240
- # in the future.
251
+ #
252
+ # * `legacy` - The pre-existing retry behavior. This is default value if
253
+ # no retry mode is provided.
254
+ #
255
+ # * `standard` - A standardized set of retry rules across the AWS SDKs.
256
+ # This includes support for retry quotas, which limit the number of
257
+ # unsuccessful retries a client can make.
258
+ #
259
+ # * `adaptive` - An experimental retry mode that includes all the
260
+ # functionality of `standard` mode along with automatic client side
261
+ # throttling. This is a provisional mode that may change behavior
262
+ # in the future.
263
+ #
241
264
  #
242
265
  # @option options [String] :secret_access_key
243
266
  #
@@ -275,8 +298,7 @@ module Aws::EC2InstanceConnect
275
298
  #
276
299
  # @option options [Integer] :http_read_timeout (60) The default
277
300
  # number of seconds to wait for response data. This value can
278
- # safely be set
279
- # per-request on the session yielded by {#session_for}.
301
+ # safely be set per-request on the session.
280
302
  #
281
303
  # @option options [Float] :http_idle_timeout (5) The number of
282
304
  # seconds a connection is allowed to sit idle before it is
@@ -288,7 +310,7 @@ module Aws::EC2InstanceConnect
288
310
  # request body. This option has no effect unless the request has
289
311
  # "Expect" header set to "100-continue". Defaults to `nil` which
290
312
  # disables this behaviour. This value can safely be set per
291
- # request on the session yielded by {#session_for}.
313
+ # request on the session.
292
314
  #
293
315
  # @option options [Boolean] :http_wire_trace (false) When `true`,
294
316
  # HTTP debug output will be sent to the `:logger`.
@@ -392,7 +414,7 @@ module Aws::EC2InstanceConnect
392
414
  params: params,
393
415
  config: config)
394
416
  context[:gem_name] = 'aws-sdk-ec2instanceconnect'
395
- context[:gem_version] = '1.4.0'
417
+ context[:gem_version] = '1.9.0'
396
418
  Seahorse::Client::Request.new(handlers, context)
397
419
  end
398
420
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -6,13 +8,7 @@
6
8
  # WARNING ABOUT GENERATED CODE
7
9
 
8
10
  module Aws::EC2InstanceConnect
9
- # This class provides a resource oriented interface for EC2InstanceConnect.
10
- # To create a resource object:
11
- # resource = Aws::EC2InstanceConnect::Resource.new(region: 'us-west-2')
12
- # You can supply a client object with custom configuration that will be used for all resource operations.
13
- # If you do not pass +:client+, a default client will be constructed.
14
- # client = Aws::EC2InstanceConnect::Client.new(region: 'us-west-2')
15
- # resource = Aws::EC2InstanceConnect::Resource.new(client: client)
11
+
16
12
  class Resource
17
13
 
18
14
  # @param options ({})
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -18,6 +20,7 @@ module Aws::EC2InstanceConnect
18
20
  #
19
21
  class AuthException < Struct.new(
20
22
  :message)
23
+ SENSITIVE = []
21
24
  include Aws::Structure
22
25
  end
23
26
 
@@ -31,6 +34,7 @@ module Aws::EC2InstanceConnect
31
34
  #
32
35
  class EC2InstanceNotFoundException < Struct.new(
33
36
  :message)
37
+ SENSITIVE = []
34
38
  include Aws::Structure
35
39
  end
36
40
 
@@ -44,6 +48,7 @@ module Aws::EC2InstanceConnect
44
48
  #
45
49
  class InvalidArgsException < Struct.new(
46
50
  :message)
51
+ SENSITIVE = []
47
52
  include Aws::Structure
48
53
  end
49
54
 
@@ -82,6 +87,7 @@ module Aws::EC2InstanceConnect
82
87
  :instance_os_user,
83
88
  :ssh_public_key,
84
89
  :availability_zone)
90
+ SENSITIVE = []
85
91
  include Aws::Structure
86
92
  end
87
93
 
@@ -99,6 +105,7 @@ module Aws::EC2InstanceConnect
99
105
  class SendSSHPublicKeyResponse < Struct.new(
100
106
  :request_id,
101
107
  :success)
108
+ SENSITIVE = []
102
109
  include Aws::Structure
103
110
  end
104
111
 
@@ -112,6 +119,7 @@ module Aws::EC2InstanceConnect
112
119
  #
113
120
  class ServiceException < Struct.new(
114
121
  :message)
122
+ SENSITIVE = []
115
123
  include Aws::Structure
116
124
  end
117
125
 
@@ -126,6 +134,7 @@ module Aws::EC2InstanceConnect
126
134
  #
127
135
  class ThrottlingException < Struct.new(
128
136
  :message)
137
+ SENSITIVE = []
129
138
  include Aws::Structure
130
139
  end
131
140
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ec2instanceconnect
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.9.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-03-09 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-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.71.0
22
+ version: 3.99.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.71.0
32
+ version: 3.99.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  version: '0'
82
82
  requirements: []
83
83
  rubyforge_project:
84
- rubygems_version: 2.5.2.3
84
+ rubygems_version: 2.7.6.2
85
85
  signing_key:
86
86
  specification_version: 4
87
87
  summary: AWS SDK for Ruby - EC2 Instance Connect