aws-sdk-lambdapreview 1.42.0 → 1.44.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: e56b853702bee7781f05ecdade91dc35fc5f834f2e69adaec9dcc1a3aeb5352a
4
- data.tar.gz: 61b51cbdb8b4db36a1173799f59e47583643c56eb049b2851345009ae44dc5a9
3
+ metadata.gz: fd448dbce67c5e8159b34f5914302fb30160caa2ba227ba58f99abf2895f415b
4
+ data.tar.gz: ed9135a7152a0b1e33b650f6922acde3c130c17a14d9197e159888e76263a01a
5
5
  SHA512:
6
- metadata.gz: fc0af955e4bf1a8187e2005bb7df768d3181b264faca2b469090252e63d15385dcec56254cb3e704b8fe94083557868fd6f737962e476feaf44f0294459715b9
7
- data.tar.gz: a218c657988620c15df8c0a9206ea0f6c5478437cd36aba95195c539ad9dd01b9a99985de6b6c4d84020642015ee5cfa93d7f3eef6f0899894f3fc1919ea29a6
6
+ metadata.gz: 4605d0e5c5b6baa2729ff7b8eae40175df8b432ad70bb77a7ed47de3bb0d66b1b32855c20cbea7aec5e07e44837d07b7509aa41253611426177d80eb553845fb
7
+ data.tar.gz: b85d7bd61138f16719d5777bf26d23ea35a0586333f940c8d7ba57b16a3a4306eae87cb1154494e61ac2a288d11f4bae08b3ad594121abbaa7b1fbb3828efacb
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.44.0 (2024-04-25)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.43.0 (2024-01-26)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.42.0 (2023-11-22)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.42.0
1
+ 1.44.0
@@ -22,6 +22,7 @@ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
22
22
  require 'aws-sdk-core/plugins/response_paging.rb'
23
23
  require 'aws-sdk-core/plugins/stub_responses.rb'
24
24
  require 'aws-sdk-core/plugins/idempotency_token.rb'
25
+ require 'aws-sdk-core/plugins/invocation_id.rb'
25
26
  require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
26
27
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
28
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
@@ -72,6 +73,7 @@ module Aws::LambdaPreview
72
73
  add_plugin(Aws::Plugins::ResponsePaging)
73
74
  add_plugin(Aws::Plugins::StubResponses)
74
75
  add_plugin(Aws::Plugins::IdempotencyToken)
76
+ add_plugin(Aws::Plugins::InvocationId)
75
77
  add_plugin(Aws::Plugins::JsonvalueConverter)
76
78
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
77
79
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
@@ -195,10 +197,17 @@ module Aws::LambdaPreview
195
197
  # When set to 'true' the request body will not be compressed
196
198
  # for supported operations.
197
199
  #
198
- # @option options [String] :endpoint
199
- # The client endpoint is normally constructed from the `:region`
200
- # option. You should only configure an `:endpoint` when connecting
201
- # to test or custom endpoints. This should be a valid HTTP(S) URI.
200
+ # @option options [String, URI::HTTPS, URI::HTTP] :endpoint
201
+ # Normally you should not configure the `:endpoint` option
202
+ # directly. This is normally constructed from the `:region`
203
+ # option. Configuring `:endpoint` is normally reserved for
204
+ # connecting to test or custom endpoints. The endpoint should
205
+ # be a URI formatted like:
206
+ #
207
+ # 'http://example.com'
208
+ # 'https://example.com'
209
+ # 'http://example.com:123'
210
+ #
202
211
  #
203
212
  # @option options [Integer] :endpoint_cache_max_entries (1000)
204
213
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -333,50 +342,65 @@ module Aws::LambdaPreview
333
342
  # When `true`, request parameters are validated before
334
343
  # sending the request.
335
344
  #
336
- # @option options [URI::HTTP,String] :http_proxy A proxy to send
337
- # requests through. Formatted like 'http://proxy.com:123'.
338
- #
339
- # @option options [Float] :http_open_timeout (15) The number of
340
- # seconds to wait when opening a HTTP session before raising a
341
- # `Timeout::Error`.
342
- #
343
- # @option options [Float] :http_read_timeout (60) The default
344
- # number of seconds to wait for response data. This value can
345
- # safely be set per-request on the session.
346
- #
347
- # @option options [Float] :http_idle_timeout (5) The number of
348
- # seconds a connection is allowed to sit idle before it is
349
- # considered stale. Stale connections are closed and removed
350
- # from the pool before making a request.
351
- #
352
- # @option options [Float] :http_continue_timeout (1) The number of
353
- # seconds to wait for a 100-continue response before sending the
354
- # request body. This option has no effect unless the request has
355
- # "Expect" header set to "100-continue". Defaults to `nil` which
356
- # disables this behaviour. This value can safely be set per
357
- # request on the session.
358
- #
359
- # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
360
- # in seconds.
345
+ # @option options [Float] :http_continue_timeout (1)
346
+ # The number of seconds to wait for a 100-continue response before sending the
347
+ # request body. This option has no effect unless the request has "Expect"
348
+ # header set to "100-continue". Defaults to `nil` which disables this
349
+ # behaviour. This value can safely be set per request on the session.
350
+ #
351
+ # @option options [Float] :http_idle_timeout (5)
352
+ # The number of seconds a connection is allowed to sit idle before it
353
+ # is considered stale. Stale connections are closed and removed from the
354
+ # pool before making a request.
355
+ #
356
+ # @option options [Float] :http_open_timeout (15)
357
+ # The default number of seconds to wait for response data.
358
+ # This value can safely be set per-request on the session.
359
+ #
360
+ # @option options [URI::HTTP,String] :http_proxy
361
+ # A proxy to send requests through. Formatted like 'http://proxy.com:123'.
362
+ #
363
+ # @option options [Float] :http_read_timeout (60)
364
+ # The default number of seconds to wait for response data.
365
+ # This value can safely be set per-request on the session.
366
+ #
367
+ # @option options [Boolean] :http_wire_trace (false)
368
+ # When `true`, HTTP debug output will be sent to the `:logger`.
369
+ #
370
+ # @option options [Proc] :on_chunk_received
371
+ # When a Proc object is provided, it will be used as callback when each chunk
372
+ # of the response body is received. It provides three arguments: the chunk,
373
+ # the number of bytes received, and the total number of
374
+ # bytes in the response (or nil if the server did not send a `content-length`).
375
+ #
376
+ # @option options [Proc] :on_chunk_sent
377
+ # When a Proc object is provided, it will be used as callback when each chunk
378
+ # of the request body is sent. It provides three arguments: the chunk,
379
+ # the number of bytes read from the body, and the total number of
380
+ # bytes in the body.
381
+ #
382
+ # @option options [Boolean] :raise_response_errors (true)
383
+ # When `true`, response errors are raised.
384
+ #
385
+ # @option options [String] :ssl_ca_bundle
386
+ # Full path to the SSL certificate authority bundle file that should be used when
387
+ # verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
388
+ # `:ssl_ca_directory` the the system default will be used if available.
389
+ #
390
+ # @option options [String] :ssl_ca_directory
391
+ # Full path of the directory that contains the unbundled SSL certificate
392
+ # authority files for verifying peer certificates. If you do
393
+ # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
394
+ # default will be used if available.
361
395
  #
362
- # @option options [Boolean] :http_wire_trace (false) When `true`,
363
- # HTTP debug output will be sent to the `:logger`.
396
+ # @option options [String] :ssl_ca_store
397
+ # Sets the X509::Store to verify peer certificate.
364
398
  #
365
- # @option options [Boolean] :ssl_verify_peer (true) When `true`,
366
- # SSL peer certificates are verified when establishing a
367
- # connection.
399
+ # @option options [Float] :ssl_timeout
400
+ # Sets the SSL timeout in seconds
368
401
  #
369
- # @option options [String] :ssl_ca_bundle Full path to the SSL
370
- # certificate authority bundle file that should be used when
371
- # verifying peer certificates. If you do not pass
372
- # `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
373
- # will be used if available.
374
- #
375
- # @option options [String] :ssl_ca_directory Full path of the
376
- # directory that contains the unbundled SSL certificate
377
- # authority files for verifying peer certificates. If you do
378
- # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
379
- # system default will be used if available.
402
+ # @option options [Boolean] :ssl_verify_peer (true)
403
+ # When `true`, SSL peer certificates are verified when establishing a connection.
380
404
  #
381
405
  def initialize(*args)
382
406
  super
@@ -1066,7 +1090,7 @@ module Aws::LambdaPreview
1066
1090
  params: params,
1067
1091
  config: config)
1068
1092
  context[:gem_name] = 'aws-sdk-lambdapreview'
1069
- context[:gem_version] = '1.42.0'
1093
+ context[:gem_version] = '1.44.0'
1070
1094
  Seahorse::Client::Request.new(handlers, context)
1071
1095
  end
1072
1096
 
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-lambdapreview/customizations'
48
48
  # @!group service
49
49
  module Aws::LambdaPreview
50
50
 
51
- GEM_VERSION = '1.42.0'
51
+ GEM_VERSION = '1.44.0'
52
52
 
53
53
  end
data/sig/client.rbs ADDED
@@ -0,0 +1,252 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module LambdaPreview
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LambdaPreview/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?stub_responses: untyped,
52
+ ?token_provider: untyped,
53
+ ?use_dualstack_endpoint: bool,
54
+ ?use_fips_endpoint: bool,
55
+ ?validate_params: bool,
56
+ ?http_proxy: String,
57
+ ?http_open_timeout: (Float | Integer),
58
+ ?http_read_timeout: (Float | Integer),
59
+ ?http_idle_timeout: (Float | Integer),
60
+ ?http_continue_timeout: (Float | Integer),
61
+ ?ssl_timeout: (Float | Integer | nil),
62
+ ?http_wire_trace: bool,
63
+ ?ssl_verify_peer: bool,
64
+ ?ssl_ca_bundle: String,
65
+ ?ssl_ca_directory: String,
66
+ ?ssl_ca_store: String,
67
+ ?on_chunk_received: Proc,
68
+ ?on_chunk_sent: Proc,
69
+ ?raise_response_errors: bool
70
+ ) -> instance
71
+ | (?Hash[Symbol, untyped]) -> instance
72
+
73
+
74
+ interface _AddEventSourceResponseSuccess
75
+ include ::Seahorse::Client::_ResponseSuccess[Types::EventSourceConfiguration]
76
+ def uuid: () -> ::String
77
+ def batch_size: () -> ::Integer
78
+ def event_source: () -> ::String
79
+ def function_name: () -> ::String
80
+ def parameters: () -> ::Hash[::String, ::String]
81
+ def role: () -> ::String
82
+ def last_modified: () -> ::Time
83
+ def is_active: () -> bool
84
+ def status: () -> ::String
85
+ end
86
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LambdaPreview/Client.html#add_event_source-instance_method
87
+ def add_event_source: (
88
+ event_source: ::String,
89
+ function_name: ::String,
90
+ role: ::String,
91
+ ?batch_size: ::Integer,
92
+ ?parameters: Hash[::String, ::String]
93
+ ) -> _AddEventSourceResponseSuccess
94
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AddEventSourceResponseSuccess
95
+
96
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LambdaPreview/Client.html#delete_function-instance_method
97
+ def delete_function: (
98
+ function_name: ::String
99
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
100
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
101
+
102
+ interface _GetEventSourceResponseSuccess
103
+ include ::Seahorse::Client::_ResponseSuccess[Types::EventSourceConfiguration]
104
+ def uuid: () -> ::String
105
+ def batch_size: () -> ::Integer
106
+ def event_source: () -> ::String
107
+ def function_name: () -> ::String
108
+ def parameters: () -> ::Hash[::String, ::String]
109
+ def role: () -> ::String
110
+ def last_modified: () -> ::Time
111
+ def is_active: () -> bool
112
+ def status: () -> ::String
113
+ end
114
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LambdaPreview/Client.html#get_event_source-instance_method
115
+ def get_event_source: (
116
+ uuid: ::String
117
+ ) -> _GetEventSourceResponseSuccess
118
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetEventSourceResponseSuccess
119
+
120
+ interface _GetFunctionResponseSuccess
121
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetFunctionResponse]
122
+ def configuration: () -> Types::FunctionConfiguration
123
+ def code: () -> Types::FunctionCodeLocation
124
+ end
125
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LambdaPreview/Client.html#get_function-instance_method
126
+ def get_function: (
127
+ function_name: ::String
128
+ ) -> _GetFunctionResponseSuccess
129
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetFunctionResponseSuccess
130
+
131
+ interface _GetFunctionConfigurationResponseSuccess
132
+ include ::Seahorse::Client::_ResponseSuccess[Types::FunctionConfiguration]
133
+ def function_name: () -> ::String
134
+ def function_arn: () -> ::String
135
+ def configuration_id: () -> ::String
136
+ def runtime: () -> ("nodejs")
137
+ def role: () -> ::String
138
+ def handler: () -> ::String
139
+ def mode: () -> ("event")
140
+ def code_size: () -> ::Integer
141
+ def description: () -> ::String
142
+ def timeout: () -> ::Integer
143
+ def memory_size: () -> ::Integer
144
+ def last_modified: () -> ::Time
145
+ end
146
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LambdaPreview/Client.html#get_function_configuration-instance_method
147
+ def get_function_configuration: (
148
+ function_name: ::String
149
+ ) -> _GetFunctionConfigurationResponseSuccess
150
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetFunctionConfigurationResponseSuccess
151
+
152
+ interface _InvokeAsyncResponseSuccess
153
+ include ::Seahorse::Client::_ResponseSuccess[Types::InvokeAsyncResponse]
154
+ def status: () -> ::Integer
155
+ end
156
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LambdaPreview/Client.html#invoke_async-instance_method
157
+ def invoke_async: (
158
+ function_name: ::String,
159
+ invoke_args: ::String
160
+ ) -> _InvokeAsyncResponseSuccess
161
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _InvokeAsyncResponseSuccess
162
+
163
+ interface _ListEventSourcesResponseSuccess
164
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListEventSourcesResponse]
165
+ def next_marker: () -> ::String
166
+ def event_sources: () -> ::Array[Types::EventSourceConfiguration]
167
+ end
168
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LambdaPreview/Client.html#list_event_sources-instance_method
169
+ def list_event_sources: (
170
+ ?event_source_arn: ::String,
171
+ ?function_name: ::String,
172
+ ?marker: ::String,
173
+ ?max_items: ::Integer
174
+ ) -> _ListEventSourcesResponseSuccess
175
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListEventSourcesResponseSuccess
176
+
177
+ interface _ListFunctionsResponseSuccess
178
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListFunctionsResponse]
179
+ def next_marker: () -> ::String
180
+ def functions: () -> ::Array[Types::FunctionConfiguration]
181
+ end
182
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LambdaPreview/Client.html#list_functions-instance_method
183
+ def list_functions: (
184
+ ?marker: ::String,
185
+ ?max_items: ::Integer
186
+ ) -> _ListFunctionsResponseSuccess
187
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListFunctionsResponseSuccess
188
+
189
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LambdaPreview/Client.html#remove_event_source-instance_method
190
+ def remove_event_source: (
191
+ uuid: ::String
192
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
193
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
194
+
195
+ interface _UpdateFunctionConfigurationResponseSuccess
196
+ include ::Seahorse::Client::_ResponseSuccess[Types::FunctionConfiguration]
197
+ def function_name: () -> ::String
198
+ def function_arn: () -> ::String
199
+ def configuration_id: () -> ::String
200
+ def runtime: () -> ("nodejs")
201
+ def role: () -> ::String
202
+ def handler: () -> ::String
203
+ def mode: () -> ("event")
204
+ def code_size: () -> ::Integer
205
+ def description: () -> ::String
206
+ def timeout: () -> ::Integer
207
+ def memory_size: () -> ::Integer
208
+ def last_modified: () -> ::Time
209
+ end
210
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LambdaPreview/Client.html#update_function_configuration-instance_method
211
+ def update_function_configuration: (
212
+ function_name: ::String,
213
+ ?role: ::String,
214
+ ?handler: ::String,
215
+ ?description: ::String,
216
+ ?timeout: ::Integer,
217
+ ?memory_size: ::Integer
218
+ ) -> _UpdateFunctionConfigurationResponseSuccess
219
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateFunctionConfigurationResponseSuccess
220
+
221
+ interface _UploadFunctionResponseSuccess
222
+ include ::Seahorse::Client::_ResponseSuccess[Types::FunctionConfiguration]
223
+ def function_name: () -> ::String
224
+ def function_arn: () -> ::String
225
+ def configuration_id: () -> ::String
226
+ def runtime: () -> ("nodejs")
227
+ def role: () -> ::String
228
+ def handler: () -> ::String
229
+ def mode: () -> ("event")
230
+ def code_size: () -> ::Integer
231
+ def description: () -> ::String
232
+ def timeout: () -> ::Integer
233
+ def memory_size: () -> ::Integer
234
+ def last_modified: () -> ::Time
235
+ end
236
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LambdaPreview/Client.html#upload_function-instance_method
237
+ def upload_function: (
238
+ function_name: ::String,
239
+ function_zip: ::String,
240
+ runtime: ("nodejs"),
241
+ role: ::String,
242
+ handler: ::String,
243
+ mode: ("event"),
244
+ ?description: ::String,
245
+ ?timeout: ::Integer,
246
+ ?memory_size: ::Integer
247
+ ) -> _UploadFunctionResponseSuccess
248
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UploadFunctionResponseSuccess
249
+ end
250
+ end
251
+ end
252
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,32 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module LambdaPreview
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class InvalidParameterValueException < ::Aws::Errors::ServiceError
15
+ def type: () -> ::String
16
+ def message: () -> ::String
17
+ end
18
+ class InvalidRequestContentException < ::Aws::Errors::ServiceError
19
+ def type: () -> ::String
20
+ def message: () -> ::String
21
+ end
22
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
23
+ def type: () -> ::String
24
+ def message: () -> ::String
25
+ end
26
+ class ServiceException < ::Aws::Errors::ServiceError
27
+ def type: () -> ::String
28
+ def message: () -> ::String
29
+ end
30
+ end
31
+ end
32
+ end
data/sig/resource.rbs ADDED
@@ -0,0 +1,78 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module LambdaPreview
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LambdaPreview/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LambdaPreview/Resource.html#initialize-instance_method
13
+ def initialize: (
14
+ ?client: Client,
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?stub_responses: untyped,
52
+ ?token_provider: untyped,
53
+ ?use_dualstack_endpoint: bool,
54
+ ?use_fips_endpoint: bool,
55
+ ?validate_params: bool,
56
+ ?http_proxy: String,
57
+ ?http_open_timeout: (Float | Integer),
58
+ ?http_read_timeout: (Float | Integer),
59
+ ?http_idle_timeout: (Float | Integer),
60
+ ?http_continue_timeout: (Float | Integer),
61
+ ?ssl_timeout: (Float | Integer | nil),
62
+ ?http_wire_trace: bool,
63
+ ?ssl_verify_peer: bool,
64
+ ?ssl_ca_bundle: String,
65
+ ?ssl_ca_directory: String,
66
+ ?ssl_ca_store: String,
67
+ ?on_chunk_received: Proc,
68
+ ?on_chunk_sent: Proc,
69
+ ?raise_response_errors: bool
70
+ ) -> void
71
+ | (?Hash[Symbol, untyped]) -> void
72
+
73
+ def client: () -> Client
74
+
75
+
76
+ end
77
+ end
78
+ end
data/sig/types.rbs ADDED
@@ -0,0 +1,170 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::LambdaPreview
9
+ module Types
10
+
11
+ class AddEventSourceRequest
12
+ attr_accessor event_source: ::String
13
+ attr_accessor function_name: ::String
14
+ attr_accessor role: ::String
15
+ attr_accessor batch_size: ::Integer
16
+ attr_accessor parameters: ::Hash[::String, ::String]
17
+ SENSITIVE: []
18
+ end
19
+
20
+ class DeleteFunctionRequest
21
+ attr_accessor function_name: ::String
22
+ SENSITIVE: []
23
+ end
24
+
25
+ class EventSourceConfiguration
26
+ attr_accessor uuid: ::String
27
+ attr_accessor batch_size: ::Integer
28
+ attr_accessor event_source: ::String
29
+ attr_accessor function_name: ::String
30
+ attr_accessor parameters: ::Hash[::String, ::String]
31
+ attr_accessor role: ::String
32
+ attr_accessor last_modified: ::Time
33
+ attr_accessor is_active: bool
34
+ attr_accessor status: ::String
35
+ SENSITIVE: []
36
+ end
37
+
38
+ class FunctionCodeLocation
39
+ attr_accessor repository_type: ::String
40
+ attr_accessor location: ::String
41
+ SENSITIVE: []
42
+ end
43
+
44
+ class FunctionConfiguration
45
+ attr_accessor function_name: ::String
46
+ attr_accessor function_arn: ::String
47
+ attr_accessor configuration_id: ::String
48
+ attr_accessor runtime: ("nodejs")
49
+ attr_accessor role: ::String
50
+ attr_accessor handler: ::String
51
+ attr_accessor mode: ("event")
52
+ attr_accessor code_size: ::Integer
53
+ attr_accessor description: ::String
54
+ attr_accessor timeout: ::Integer
55
+ attr_accessor memory_size: ::Integer
56
+ attr_accessor last_modified: ::Time
57
+ SENSITIVE: []
58
+ end
59
+
60
+ class GetEventSourceRequest
61
+ attr_accessor uuid: ::String
62
+ SENSITIVE: []
63
+ end
64
+
65
+ class GetFunctionConfigurationRequest
66
+ attr_accessor function_name: ::String
67
+ SENSITIVE: []
68
+ end
69
+
70
+ class GetFunctionRequest
71
+ attr_accessor function_name: ::String
72
+ SENSITIVE: []
73
+ end
74
+
75
+ class GetFunctionResponse
76
+ attr_accessor configuration: Types::FunctionConfiguration
77
+ attr_accessor code: Types::FunctionCodeLocation
78
+ SENSITIVE: []
79
+ end
80
+
81
+ class InvalidParameterValueException
82
+ attr_accessor type: ::String
83
+ attr_accessor message: ::String
84
+ SENSITIVE: []
85
+ end
86
+
87
+ class InvalidRequestContentException
88
+ attr_accessor type: ::String
89
+ attr_accessor message: ::String
90
+ SENSITIVE: []
91
+ end
92
+
93
+ class InvokeAsyncRequest
94
+ attr_accessor function_name: ::String
95
+ attr_accessor invoke_args: ::IO
96
+ SENSITIVE: []
97
+ end
98
+
99
+ class InvokeAsyncResponse
100
+ attr_accessor status: ::Integer
101
+ SENSITIVE: []
102
+ end
103
+
104
+ class ListEventSourcesRequest
105
+ attr_accessor event_source_arn: ::String
106
+ attr_accessor function_name: ::String
107
+ attr_accessor marker: ::String
108
+ attr_accessor max_items: ::Integer
109
+ SENSITIVE: []
110
+ end
111
+
112
+ class ListEventSourcesResponse
113
+ attr_accessor next_marker: ::String
114
+ attr_accessor event_sources: ::Array[Types::EventSourceConfiguration]
115
+ SENSITIVE: []
116
+ end
117
+
118
+ class ListFunctionsRequest
119
+ attr_accessor marker: ::String
120
+ attr_accessor max_items: ::Integer
121
+ SENSITIVE: []
122
+ end
123
+
124
+ class ListFunctionsResponse
125
+ attr_accessor next_marker: ::String
126
+ attr_accessor functions: ::Array[Types::FunctionConfiguration]
127
+ SENSITIVE: []
128
+ end
129
+
130
+ class RemoveEventSourceRequest
131
+ attr_accessor uuid: ::String
132
+ SENSITIVE: []
133
+ end
134
+
135
+ class ResourceNotFoundException
136
+ attr_accessor type: ::String
137
+ attr_accessor message: ::String
138
+ SENSITIVE: []
139
+ end
140
+
141
+ class ServiceException
142
+ attr_accessor type: ::String
143
+ attr_accessor message: ::String
144
+ SENSITIVE: []
145
+ end
146
+
147
+ class UpdateFunctionConfigurationRequest
148
+ attr_accessor function_name: ::String
149
+ attr_accessor role: ::String
150
+ attr_accessor handler: ::String
151
+ attr_accessor description: ::String
152
+ attr_accessor timeout: ::Integer
153
+ attr_accessor memory_size: ::Integer
154
+ SENSITIVE: []
155
+ end
156
+
157
+ class UploadFunctionRequest
158
+ attr_accessor function_name: ::String
159
+ attr_accessor function_zip: ::IO
160
+ attr_accessor runtime: ("nodejs")
161
+ attr_accessor role: ::String
162
+ attr_accessor handler: ::String
163
+ attr_accessor mode: ("event")
164
+ attr_accessor description: ::String
165
+ attr_accessor timeout: ::Integer
166
+ attr_accessor memory_size: ::Integer
167
+ SENSITIVE: []
168
+ end
169
+ end
170
+ end
data/sig/waiters.rbs ADDED
@@ -0,0 +1,13 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module LambdaPreview
10
+ module Waiters
11
+ end
12
+ end
13
+ end
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.42.0
4
+ version: 1.44.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-22 00:00:00.000000000 Z
11
+ date: 2024-04-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.188.0
22
+ version: 3.193.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.188.0
32
+ version: 3.193.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -62,13 +62,18 @@ files:
62
62
  - lib/aws-sdk-lambdapreview/errors.rb
63
63
  - lib/aws-sdk-lambdapreview/resource.rb
64
64
  - lib/aws-sdk-lambdapreview/types.rb
65
+ - sig/client.rbs
66
+ - sig/errors.rbs
67
+ - sig/resource.rbs
68
+ - sig/types.rbs
69
+ - sig/waiters.rbs
65
70
  homepage: https://github.com/aws/aws-sdk-ruby
66
71
  licenses:
67
72
  - Apache-2.0
68
73
  metadata:
69
74
  source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-lambdapreview
70
75
  changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-lambdapreview/CHANGELOG.md
71
- post_install_message:
76
+ post_install_message:
72
77
  rdoc_options: []
73
78
  require_paths:
74
79
  - lib
@@ -83,8 +88,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
83
88
  - !ruby/object:Gem::Version
84
89
  version: '0'
85
90
  requirements: []
86
- rubygems_version: 3.1.6
87
- signing_key:
91
+ rubygems_version: 3.4.10
92
+ signing_key:
88
93
  specification_version: 4
89
94
  summary: AWS SDK for Ruby - AWS Lambda
90
95
  test_files: []