aws-sdk-lambdapreview 1.17.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
- SHA1:
3
- metadata.gz: 4563845a2c26fd9a6db72d6086d4e2d2bf90b59f
4
- data.tar.gz: 85b18c4fc35ef5999fc11b565d6ee5af999fb8db
2
+ SHA256:
3
+ metadata.gz: b5e05f5f948656d4eb65a31601feed2ede1c2a36facce0eddf6050292ad0b338
4
+ data.tar.gz: 9005875bcdb23aacf221346d2bc8b013afc9b4d5da1febebae358c215c5cc502
5
5
  SHA512:
6
- metadata.gz: dd1345185035ac287a05e740e7599c4b800003a3d8a7ce91c397305eba5b69c1813f8c7be54d736dd29ab1254a27a7e2a1fdf966c8a45a97d5e027441cb2a00f
7
- data.tar.gz: 871623afe0f0555453ca03f579ddac2430fcc1374b1d348e522b8e4cf6ea266c88b6d85d2e7944d67bfdc572e1eaf7aecb6308ab0561f9b7fa2c15718794af79
6
+ metadata.gz: 4f588cf2a0e2e2770091304e8ce2ddebcd840181b361c1c2e754fe9da872a7bd6f25bb5d28f75cb6a35034907f8d13d301dcf7e6704ccb887e7151bf106dd81a
7
+ data.tar.gz: 11c3703a146d283d084f652c4f0b79b3cad47fb12b8e31b1918381956cc15f5ffd467356666f49209554d1e5bd929753de1d525569b91766957140b2971dfac3
@@ -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-lambdapreview/customizations'
42
44
  #
43
45
  # See {Errors} for more information.
44
46
  #
45
- # @service
47
+ # @!group service
46
48
  module Aws::LambdaPreview
47
49
 
48
- GEM_VERSION = '1.17.0'
50
+ GEM_VERSION = '1.22.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/rest_json.rb'
29
32
 
@@ -32,11 +35,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:lambdapreview)
32
35
  module Aws::LambdaPreview
33
36
  # An API client for LambdaPreview. To construct a client, you need to configure a `:region` and `:credentials`.
34
37
  #
35
- # client = Aws::LambdaPreview::Client.new(
36
- # region: region_name,
37
- # credentials: credentials,
38
- # # ...
39
- # )
38
+ # client = Aws::LambdaPreview::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::LambdaPreview
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::RestJson)
74
78
 
@@ -81,13 +85,28 @@ module Aws::LambdaPreview
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::LambdaPreview
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::LambdaPreview
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::LambdaPreview
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::LambdaPreview
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
  #
@@ -265,8 +288,7 @@ module Aws::LambdaPreview
265
288
  #
266
289
  # @option options [Integer] :http_read_timeout (60) The default
267
290
  # number of seconds to wait for response data. This value can
268
- # safely be set
269
- # per-request on the session yielded by {#session_for}.
291
+ # safely be set per-request on the session.
270
292
  #
271
293
  # @option options [Float] :http_idle_timeout (5) The number of
272
294
  # seconds a connection is allowed to sit idle before it is
@@ -278,7 +300,7 @@ module Aws::LambdaPreview
278
300
  # request body. This option has no effect unless the request has
279
301
  # "Expect" header set to "100-continue". Defaults to `nil` which
280
302
  # disables this behaviour. This value can safely be set per
281
- # request on the session yielded by {#session_for}.
303
+ # request on the session.
282
304
  #
283
305
  # @option options [Boolean] :http_wire_trace (false) When `true`,
284
306
  # HTTP debug output will be sent to the `:logger`.
@@ -600,7 +622,7 @@ module Aws::LambdaPreview
600
622
  # @option params [required, String] :function_name
601
623
  # The Lambda function name.
602
624
  #
603
- # @option params [required, String, IO] :invoke_args
625
+ # @option params [required, String, StringIO, File] :invoke_args
604
626
  # JSON that you want to provide to your Lambda function as input.
605
627
  #
606
628
  # @return [Types::InvokeAsyncResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -657,6 +679,8 @@ module Aws::LambdaPreview
657
679
  # * {Types::ListEventSourcesResponse#next_marker #next_marker} => String
658
680
  # * {Types::ListEventSourcesResponse#event_sources #event_sources} => Array<Types::EventSourceConfiguration>
659
681
  #
682
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
683
+ #
660
684
  # @example Request syntax with placeholder values
661
685
  #
662
686
  # resp = client.list_event_sources({
@@ -711,6 +735,8 @@ module Aws::LambdaPreview
711
735
  # * {Types::ListFunctionsResponse#next_marker #next_marker} => String
712
736
  # * {Types::ListFunctionsResponse#functions #functions} => Array<Types::FunctionConfiguration>
713
737
  #
738
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
739
+ #
714
740
  # @example Request syntax with placeholder values
715
741
  #
716
742
  # resp = client.list_functions({
@@ -873,7 +899,7 @@ module Aws::LambdaPreview
873
899
  # ListFunctions API. Function names are used to specify functions to
874
900
  # other AWS Lambda APIs, such as InvokeAsync.
875
901
  #
876
- # @option params [required, String, IO] :function_zip
902
+ # @option params [required, String, StringIO, File] :function_zip
877
903
  # A .zip file containing your packaged source code. For more information
878
904
  # about creating a .zip file, go to [AWS LambdaL How it Works][1] in the
879
905
  # AWS Lambda Developer Guide.
@@ -983,7 +1009,7 @@ module Aws::LambdaPreview
983
1009
  params: params,
984
1010
  config: config)
985
1011
  context[:gem_name] = 'aws-sdk-lambdapreview'
986
- context[:gem_version] = '1.17.0'
1012
+ context[:gem_version] = '1.22.0'
987
1013
  Seahorse::Client::Request.new(handlers, context)
988
1014
  end
989
1015
 
@@ -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,4 @@
1
+ # frozen_string_literal: true
1
2
  # WARNING ABOUT GENERATED CODE
2
3
  #
3
4
  # This file is generated. See the contributing for info on making contributions:
@@ -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::LambdaPreview
9
- # This class provides a resource oriented interface for LambdaPreview.
10
- # To create a resource object:
11
- # resource = Aws::LambdaPreview::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::LambdaPreview::Client.new(region: 'us-west-2')
15
- # resource = Aws::LambdaPreview::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:
@@ -64,6 +66,7 @@ module Aws::LambdaPreview
64
66
  :role,
65
67
  :batch_size,
66
68
  :parameters)
69
+ SENSITIVE = []
67
70
  include Aws::Structure
68
71
  end
69
72
 
@@ -82,6 +85,7 @@ module Aws::LambdaPreview
82
85
  #
83
86
  class DeleteFunctionRequest < Struct.new(
84
87
  :function_name)
88
+ SENSITIVE = []
85
89
  include Aws::Structure
86
90
  end
87
91
 
@@ -146,6 +150,7 @@ module Aws::LambdaPreview
146
150
  :last_modified,
147
151
  :is_active,
148
152
  :status)
153
+ SENSITIVE = []
149
154
  include Aws::Structure
150
155
  end
151
156
 
@@ -165,6 +170,7 @@ module Aws::LambdaPreview
165
170
  class FunctionCodeLocation < Struct.new(
166
171
  :repository_type,
167
172
  :location)
173
+ SENSITIVE = []
168
174
  include Aws::Structure
169
175
  end
170
176
 
@@ -240,6 +246,7 @@ module Aws::LambdaPreview
240
246
  :timeout,
241
247
  :memory_size,
242
248
  :last_modified)
249
+ SENSITIVE = []
243
250
  include Aws::Structure
244
251
  end
245
252
 
@@ -258,6 +265,7 @@ module Aws::LambdaPreview
258
265
  #
259
266
  class GetEventSourceRequest < Struct.new(
260
267
  :uuid)
268
+ SENSITIVE = []
261
269
  include Aws::Structure
262
270
  end
263
271
 
@@ -277,6 +285,7 @@ module Aws::LambdaPreview
277
285
  #
278
286
  class GetFunctionConfigurationRequest < Struct.new(
279
287
  :function_name)
288
+ SENSITIVE = []
280
289
  include Aws::Structure
281
290
  end
282
291
 
@@ -295,6 +304,7 @@ module Aws::LambdaPreview
295
304
  #
296
305
  class GetFunctionRequest < Struct.new(
297
306
  :function_name)
307
+ SENSITIVE = []
298
308
  include Aws::Structure
299
309
  end
300
310
 
@@ -314,6 +324,7 @@ module Aws::LambdaPreview
314
324
  class GetFunctionResponse < Struct.new(
315
325
  :configuration,
316
326
  :code)
327
+ SENSITIVE = []
317
328
  include Aws::Structure
318
329
  end
319
330
 
@@ -333,6 +344,7 @@ module Aws::LambdaPreview
333
344
  class InvalidParameterValueException < Struct.new(
334
345
  :type,
335
346
  :message)
347
+ SENSITIVE = []
336
348
  include Aws::Structure
337
349
  end
338
350
 
@@ -349,6 +361,7 @@ module Aws::LambdaPreview
349
361
  class InvalidRequestContentException < Struct.new(
350
362
  :type,
351
363
  :message)
364
+ SENSITIVE = []
352
365
  include Aws::Structure
353
366
  end
354
367
 
@@ -373,6 +386,7 @@ module Aws::LambdaPreview
373
386
  class InvokeAsyncRequest < Struct.new(
374
387
  :function_name,
375
388
  :invoke_args)
389
+ SENSITIVE = []
376
390
  include Aws::Structure
377
391
  end
378
392
 
@@ -387,6 +401,7 @@ module Aws::LambdaPreview
387
401
  #
388
402
  class InvokeAsyncResponse < Struct.new(
389
403
  :status)
404
+ SENSITIVE = []
390
405
  include Aws::Structure
391
406
  end
392
407
 
@@ -426,6 +441,7 @@ module Aws::LambdaPreview
426
441
  :function_name,
427
442
  :marker,
428
443
  :max_items)
444
+ SENSITIVE = []
429
445
  include Aws::Structure
430
446
  end
431
447
 
@@ -444,6 +460,7 @@ module Aws::LambdaPreview
444
460
  class ListEventSourcesResponse < Struct.new(
445
461
  :next_marker,
446
462
  :event_sources)
463
+ SENSITIVE = []
447
464
  include Aws::Structure
448
465
  end
449
466
 
@@ -472,6 +489,7 @@ module Aws::LambdaPreview
472
489
  class ListFunctionsRequest < Struct.new(
473
490
  :marker,
474
491
  :max_items)
492
+ SENSITIVE = []
475
493
  include Aws::Structure
476
494
  end
477
495
 
@@ -491,6 +509,7 @@ module Aws::LambdaPreview
491
509
  class ListFunctionsResponse < Struct.new(
492
510
  :next_marker,
493
511
  :functions)
512
+ SENSITIVE = []
494
513
  include Aws::Structure
495
514
  end
496
515
 
@@ -509,6 +528,7 @@ module Aws::LambdaPreview
509
528
  #
510
529
  class RemoveEventSourceRequest < Struct.new(
511
530
  :uuid)
531
+ SENSITIVE = []
512
532
  include Aws::Structure
513
533
  end
514
534
 
@@ -526,6 +546,7 @@ module Aws::LambdaPreview
526
546
  class ResourceNotFoundException < Struct.new(
527
547
  :type,
528
548
  :message)
549
+ SENSITIVE = []
529
550
  include Aws::Structure
530
551
  end
531
552
 
@@ -542,6 +563,7 @@ module Aws::LambdaPreview
542
563
  class ServiceException < Struct.new(
543
564
  :type,
544
565
  :message)
566
+ SENSITIVE = []
545
567
  include Aws::Structure
546
568
  end
547
569
 
@@ -601,6 +623,7 @@ module Aws::LambdaPreview
601
623
  :description,
602
624
  :timeout,
603
625
  :memory_size)
626
+ SENSITIVE = []
604
627
  include Aws::Structure
605
628
  end
606
629
 
@@ -690,6 +713,7 @@ module Aws::LambdaPreview
690
713
  :description,
691
714
  :timeout,
692
715
  :memory_size)
716
+ SENSITIVE = []
693
717
  include Aws::Structure
694
718
  end
695
719
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-lambdapreview
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.17.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-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 - AWS Lambda