aws-sdk-lambdaweb 1.0.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 +7 -0
- data/CHANGELOG.md +8 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-lambdaweb/client.rb +1887 -0
- data/lib/aws-sdk-lambdaweb/client_api.rb +869 -0
- data/lib/aws-sdk-lambdaweb/customizations.rb +0 -0
- data/lib/aws-sdk-lambdaweb/endpoint_parameters.rb +69 -0
- data/lib/aws-sdk-lambdaweb/endpoint_provider.rb +50 -0
- data/lib/aws-sdk-lambdaweb/endpoints.rb +20 -0
- data/lib/aws-sdk-lambdaweb/errors.rb +217 -0
- data/lib/aws-sdk-lambdaweb/plugins/endpoints.rb +77 -0
- data/lib/aws-sdk-lambdaweb/resource.rb +26 -0
- data/lib/aws-sdk-lambdaweb/types.rb +2098 -0
- data/lib/aws-sdk-lambdaweb/waiters.rb +385 -0
- data/lib/aws-sdk-lambdaweb.rb +62 -0
- data/sig/client.rbs +472 -0
- data/sig/errors.rbs +48 -0
- data/sig/params.rbs +40 -0
- data/sig/resource.rbs +85 -0
- data/sig/types.rbs +518 -0
- data/sig/waiters.rbs +77 -0
- metadata +98 -0
data/sig/client.rbs
ADDED
|
@@ -0,0 +1,472 @@
|
|
|
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 LambdaWeb
|
|
10
|
+
class Client < ::Seahorse::Client::Base
|
|
11
|
+
include ::Aws::ClientStubs
|
|
12
|
+
|
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LambdaWeb/Client.html#initialize-instance_method
|
|
14
|
+
def self.new: (
|
|
15
|
+
?credentials: untyped,
|
|
16
|
+
?region: String,
|
|
17
|
+
?access_key_id: String,
|
|
18
|
+
?account_id: String,
|
|
19
|
+
?active_endpoint_cache: bool,
|
|
20
|
+
?adaptive_retry_wait_to_fill: bool,
|
|
21
|
+
?auth_scheme_preference: Array[String],
|
|
22
|
+
?client_side_monitoring: bool,
|
|
23
|
+
?client_side_monitoring_client_id: String,
|
|
24
|
+
?client_side_monitoring_host: String,
|
|
25
|
+
?client_side_monitoring_port: Integer,
|
|
26
|
+
?client_side_monitoring_publisher: untyped,
|
|
27
|
+
?convert_params: bool,
|
|
28
|
+
?correct_clock_skew: bool,
|
|
29
|
+
?defaults_mode: String,
|
|
30
|
+
?disable_host_prefix_injection: bool,
|
|
31
|
+
?disable_request_compression: bool,
|
|
32
|
+
?endpoint: String,
|
|
33
|
+
?endpoint_cache_max_entries: Integer,
|
|
34
|
+
?endpoint_cache_max_threads: Integer,
|
|
35
|
+
?endpoint_cache_poll_interval: Integer,
|
|
36
|
+
?endpoint_discovery: bool,
|
|
37
|
+
?ignore_configured_endpoint_urls: bool,
|
|
38
|
+
?log_formatter: untyped,
|
|
39
|
+
?log_level: Symbol,
|
|
40
|
+
?logger: untyped,
|
|
41
|
+
?max_attempts: Integer,
|
|
42
|
+
?profile: String,
|
|
43
|
+
?request_checksum_calculation: String,
|
|
44
|
+
?request_min_compression_size_bytes: Integer,
|
|
45
|
+
?response_checksum_validation: String,
|
|
46
|
+
?retry_backoff: Proc,
|
|
47
|
+
?retry_base_delay: Float,
|
|
48
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
|
49
|
+
?retry_limit: Integer,
|
|
50
|
+
?retry_max_delay: Integer,
|
|
51
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
|
52
|
+
?sdk_ua_app_id: String,
|
|
53
|
+
?secret_access_key: String,
|
|
54
|
+
?session_token: String,
|
|
55
|
+
?sigv4a_signing_region_set: Array[String],
|
|
56
|
+
?stub_responses: untyped,
|
|
57
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
|
58
|
+
?token_provider: untyped,
|
|
59
|
+
?use_dualstack_endpoint: bool,
|
|
60
|
+
?use_fips_endpoint: bool,
|
|
61
|
+
?validate_params: bool,
|
|
62
|
+
?endpoint_provider: untyped,
|
|
63
|
+
?http_proxy: String,
|
|
64
|
+
?http_open_timeout: (Float | Integer),
|
|
65
|
+
?http_read_timeout: (Float | Integer),
|
|
66
|
+
?http_idle_timeout: (Float | Integer),
|
|
67
|
+
?http_continue_timeout: (Float | Integer),
|
|
68
|
+
?ssl_timeout: (Float | Integer | nil),
|
|
69
|
+
?http_wire_trace: bool,
|
|
70
|
+
?ssl_verify_peer: bool,
|
|
71
|
+
?ssl_ca_bundle: String,
|
|
72
|
+
?ssl_ca_directory: String,
|
|
73
|
+
?ssl_ca_store: String,
|
|
74
|
+
?on_chunk_received: Proc,
|
|
75
|
+
?on_chunk_sent: Proc,
|
|
76
|
+
?raise_response_errors: bool
|
|
77
|
+
) -> instance
|
|
78
|
+
| (?Hash[Symbol, untyped]) -> instance
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
interface _CreateWebFunctionResponseSuccess
|
|
82
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateWebFunctionResponse]
|
|
83
|
+
def function_name: () -> ::String
|
|
84
|
+
def function_arn: () -> ::String
|
|
85
|
+
def state: () -> ("Pending" | "Active" | "Failed" | "Deleting")
|
|
86
|
+
def state_reason: () -> ::String
|
|
87
|
+
def created_at: () -> ::Time
|
|
88
|
+
def updated_at: () -> ::Time
|
|
89
|
+
def revision: () -> Types::FunctionRevisionSummary
|
|
90
|
+
def endpoint: () -> Types::FunctionEndpointSummary
|
|
91
|
+
def tags: () -> ::Hash[::String, ::String]
|
|
92
|
+
end
|
|
93
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LambdaWeb/Client.html#create_web_function-instance_method
|
|
94
|
+
def create_web_function: (
|
|
95
|
+
function_name: ::String,
|
|
96
|
+
?revision_config: {
|
|
97
|
+
description: ::String?,
|
|
98
|
+
kms_key_arn: ::String?,
|
|
99
|
+
build_config: Params::build_config,
|
|
100
|
+
service_config: Params::service_config
|
|
101
|
+
},
|
|
102
|
+
?endpoint_config: {
|
|
103
|
+
endpoint_name: ::String,
|
|
104
|
+
description: ::String?,
|
|
105
|
+
endpoint_type: ("HomeRegion" | "MultiRegion" | "PerRegion"),
|
|
106
|
+
auth_type: ("ApplicationManaged" | "IamAuth"),
|
|
107
|
+
auto_deployment_mode: ("LatestRevision" | "Disabled")?,
|
|
108
|
+
regions: Array[::String]?,
|
|
109
|
+
scaling_config: {
|
|
110
|
+
max_environments: ::Integer?
|
|
111
|
+
}?,
|
|
112
|
+
throttle_config: {
|
|
113
|
+
rate_limit: ::Integer?
|
|
114
|
+
}?
|
|
115
|
+
},
|
|
116
|
+
?tags: Hash[::String, ::String]
|
|
117
|
+
) -> _CreateWebFunctionResponseSuccess
|
|
118
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateWebFunctionResponseSuccess
|
|
119
|
+
|
|
120
|
+
interface _CreateWebFunctionEndpointResponseSuccess
|
|
121
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateWebFunctionEndpointResponse]
|
|
122
|
+
def function_arn: () -> ::String
|
|
123
|
+
def endpoint_arn: () -> ::String
|
|
124
|
+
def endpoint_name: () -> ::String
|
|
125
|
+
def description: () -> ::String
|
|
126
|
+
def endpoint_type: () -> ("HomeRegion" | "MultiRegion" | "PerRegion")
|
|
127
|
+
def domain_name: () -> ::String
|
|
128
|
+
def auth_type: () -> ("ApplicationManaged" | "IamAuth")
|
|
129
|
+
def auto_deployment_mode: () -> ("LatestRevision" | "Disabled")
|
|
130
|
+
def revision_weights: () -> ::Array[Types::RevisionWeight]
|
|
131
|
+
def regions: () -> ::Array[::String]
|
|
132
|
+
def scaling_config: () -> Types::ScalingConfig
|
|
133
|
+
def throttle_config: () -> Types::ThrottleConfig
|
|
134
|
+
def state: () -> ("Pending" | "Active" | "Failed" | "Deleting")
|
|
135
|
+
def state_reason: () -> ::String
|
|
136
|
+
def update_status: () -> ("InProgress" | "Successful" | "Failed")
|
|
137
|
+
def update_status_reason: () -> ::String
|
|
138
|
+
def regional_endpoints: () -> ::Hash[::String, Types::RegionalEndpoint]
|
|
139
|
+
def created_at: () -> ::Time
|
|
140
|
+
def updated_at: () -> ::Time
|
|
141
|
+
end
|
|
142
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LambdaWeb/Client.html#create_web_function_endpoint-instance_method
|
|
143
|
+
def create_web_function_endpoint: (
|
|
144
|
+
function_name: ::String,
|
|
145
|
+
endpoint_name: ::String,
|
|
146
|
+
?description: ::String,
|
|
147
|
+
endpoint_type: ("HomeRegion" | "MultiRegion" | "PerRegion"),
|
|
148
|
+
auth_type: ("ApplicationManaged" | "IamAuth"),
|
|
149
|
+
?auto_deployment_mode: ("LatestRevision" | "Disabled"),
|
|
150
|
+
?revision_weights: Array[
|
|
151
|
+
{
|
|
152
|
+
revision_id: ::String,
|
|
153
|
+
weight: ::Integer
|
|
154
|
+
}
|
|
155
|
+
],
|
|
156
|
+
?regions: Array[::String],
|
|
157
|
+
?scaling_config: {
|
|
158
|
+
max_environments: ::Integer?
|
|
159
|
+
},
|
|
160
|
+
?throttle_config: {
|
|
161
|
+
rate_limit: ::Integer?
|
|
162
|
+
}
|
|
163
|
+
) -> _CreateWebFunctionEndpointResponseSuccess
|
|
164
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateWebFunctionEndpointResponseSuccess
|
|
165
|
+
|
|
166
|
+
interface _CreateWebFunctionRevisionResponseSuccess
|
|
167
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateWebFunctionRevisionResponse]
|
|
168
|
+
def function_arn: () -> ::String
|
|
169
|
+
def revision_arn: () -> ::String
|
|
170
|
+
def revision_id: () -> ::String
|
|
171
|
+
def description: () -> ::String
|
|
172
|
+
def kms_key_arn: () -> ::String
|
|
173
|
+
def build_config: () -> Types::BuildConfig
|
|
174
|
+
def service_config: () -> Types::ServiceConfig
|
|
175
|
+
def state: () -> ("Pending" | "Active" | "Failed")
|
|
176
|
+
def state_reason: () -> ::String
|
|
177
|
+
def errors: () -> ::Array[Types::RevisionError]
|
|
178
|
+
def created_at: () -> ::Time
|
|
179
|
+
end
|
|
180
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LambdaWeb/Client.html#create_web_function_revision-instance_method
|
|
181
|
+
def create_web_function_revision: (
|
|
182
|
+
function_name: ::String,
|
|
183
|
+
?description: ::String,
|
|
184
|
+
?kms_key_arn: ::String,
|
|
185
|
+
build_config: Params::build_config,
|
|
186
|
+
service_config: Params::service_config
|
|
187
|
+
) -> _CreateWebFunctionRevisionResponseSuccess
|
|
188
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateWebFunctionRevisionResponseSuccess
|
|
189
|
+
|
|
190
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LambdaWeb/Client.html#delete_resource_policy-instance_method
|
|
191
|
+
def delete_resource_policy: (
|
|
192
|
+
resource_arn: ::String,
|
|
193
|
+
?revision_id: ::String
|
|
194
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
195
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
196
|
+
|
|
197
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LambdaWeb/Client.html#delete_web_function-instance_method
|
|
198
|
+
def delete_web_function: (
|
|
199
|
+
function_name: ::String
|
|
200
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
201
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
202
|
+
|
|
203
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LambdaWeb/Client.html#delete_web_function_endpoint-instance_method
|
|
204
|
+
def delete_web_function_endpoint: (
|
|
205
|
+
function_name: ::String,
|
|
206
|
+
endpoint_name: ::String
|
|
207
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
208
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
209
|
+
|
|
210
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LambdaWeb/Client.html#delete_web_function_revision-instance_method
|
|
211
|
+
def delete_web_function_revision: (
|
|
212
|
+
function_name: ::String,
|
|
213
|
+
revision_id: ::String
|
|
214
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
215
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
216
|
+
|
|
217
|
+
interface _GetResourcePolicyResponseSuccess
|
|
218
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetResourcePolicyResponse]
|
|
219
|
+
def policy: () -> ::String
|
|
220
|
+
def revision_id: () -> ::String
|
|
221
|
+
end
|
|
222
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LambdaWeb/Client.html#get_resource_policy-instance_method
|
|
223
|
+
def get_resource_policy: (
|
|
224
|
+
resource_arn: ::String
|
|
225
|
+
) -> _GetResourcePolicyResponseSuccess
|
|
226
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetResourcePolicyResponseSuccess
|
|
227
|
+
|
|
228
|
+
interface _GetWebAccountSettingsResponseSuccess
|
|
229
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetWebAccountSettingsResponse]
|
|
230
|
+
def account_quotas: () -> Types::AccountQuotas
|
|
231
|
+
def account_usage: () -> Types::AccountUsage
|
|
232
|
+
end
|
|
233
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LambdaWeb/Client.html#get_web_account_settings-instance_method
|
|
234
|
+
def get_web_account_settings: (
|
|
235
|
+
) -> _GetWebAccountSettingsResponseSuccess
|
|
236
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetWebAccountSettingsResponseSuccess
|
|
237
|
+
|
|
238
|
+
interface _GetWebFunctionResponseSuccess
|
|
239
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetWebFunctionResponse]
|
|
240
|
+
def function_name: () -> ::String
|
|
241
|
+
def function_arn: () -> ::String
|
|
242
|
+
def state: () -> ("Pending" | "Active" | "Failed" | "Deleting")
|
|
243
|
+
def state_reason: () -> ::String
|
|
244
|
+
def created_at: () -> ::Time
|
|
245
|
+
def updated_at: () -> ::Time
|
|
246
|
+
end
|
|
247
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LambdaWeb/Client.html#get_web_function-instance_method
|
|
248
|
+
def get_web_function: (
|
|
249
|
+
function_name: ::String
|
|
250
|
+
) -> _GetWebFunctionResponseSuccess
|
|
251
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetWebFunctionResponseSuccess
|
|
252
|
+
|
|
253
|
+
interface _GetWebFunctionEndpointResponseSuccess
|
|
254
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetWebFunctionEndpointResponse]
|
|
255
|
+
def function_arn: () -> ::String
|
|
256
|
+
def endpoint_arn: () -> ::String
|
|
257
|
+
def endpoint_name: () -> ::String
|
|
258
|
+
def description: () -> ::String
|
|
259
|
+
def endpoint_type: () -> ("HomeRegion" | "MultiRegion" | "PerRegion")
|
|
260
|
+
def domain_name: () -> ::String
|
|
261
|
+
def auth_type: () -> ("ApplicationManaged" | "IamAuth")
|
|
262
|
+
def auto_deployment_mode: () -> ("LatestRevision" | "Disabled")
|
|
263
|
+
def revision_weights: () -> ::Array[Types::RevisionWeight]
|
|
264
|
+
def regions: () -> ::Array[::String]
|
|
265
|
+
def scaling_config: () -> Types::ScalingConfig
|
|
266
|
+
def throttle_config: () -> Types::ThrottleConfig
|
|
267
|
+
def state: () -> ("Pending" | "Active" | "Failed" | "Deleting")
|
|
268
|
+
def state_reason: () -> ::String
|
|
269
|
+
def update_status: () -> ("InProgress" | "Successful" | "Failed")
|
|
270
|
+
def update_status_reason: () -> ::String
|
|
271
|
+
def regional_endpoints: () -> ::Hash[::String, Types::RegionalEndpoint]
|
|
272
|
+
def created_at: () -> ::Time
|
|
273
|
+
def updated_at: () -> ::Time
|
|
274
|
+
end
|
|
275
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LambdaWeb/Client.html#get_web_function_endpoint-instance_method
|
|
276
|
+
def get_web_function_endpoint: (
|
|
277
|
+
function_name: ::String,
|
|
278
|
+
endpoint_name: ::String
|
|
279
|
+
) -> _GetWebFunctionEndpointResponseSuccess
|
|
280
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetWebFunctionEndpointResponseSuccess
|
|
281
|
+
|
|
282
|
+
interface _GetWebFunctionRevisionResponseSuccess
|
|
283
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetWebFunctionRevisionResponse]
|
|
284
|
+
def function_arn: () -> ::String
|
|
285
|
+
def revision_arn: () -> ::String
|
|
286
|
+
def revision_id: () -> ::String
|
|
287
|
+
def description: () -> ::String
|
|
288
|
+
def kms_key_arn: () -> ::String
|
|
289
|
+
def build_config: () -> Types::BuildConfig
|
|
290
|
+
def service_config: () -> Types::ServiceConfig
|
|
291
|
+
def state: () -> ("Pending" | "Active" | "Failed")
|
|
292
|
+
def state_reason: () -> ::String
|
|
293
|
+
def errors: () -> ::Array[Types::RevisionError]
|
|
294
|
+
def created_at: () -> ::Time
|
|
295
|
+
end
|
|
296
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LambdaWeb/Client.html#get_web_function_revision-instance_method
|
|
297
|
+
def get_web_function_revision: (
|
|
298
|
+
function_name: ::String,
|
|
299
|
+
revision_id: ::String
|
|
300
|
+
) -> _GetWebFunctionRevisionResponseSuccess
|
|
301
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetWebFunctionRevisionResponseSuccess
|
|
302
|
+
|
|
303
|
+
interface _ListTagsResponseSuccess
|
|
304
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsResponse]
|
|
305
|
+
def tags: () -> ::Hash[::String, ::String]
|
|
306
|
+
end
|
|
307
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LambdaWeb/Client.html#list_tags-instance_method
|
|
308
|
+
def list_tags: (
|
|
309
|
+
resource: ::String
|
|
310
|
+
) -> _ListTagsResponseSuccess
|
|
311
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsResponseSuccess
|
|
312
|
+
|
|
313
|
+
interface _ListWebFunctionEndpointsResponseSuccess
|
|
314
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListWebFunctionEndpointsResponse]
|
|
315
|
+
def endpoints: () -> ::Array[Types::FunctionEndpointSummary]
|
|
316
|
+
def next_token: () -> ::String
|
|
317
|
+
end
|
|
318
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LambdaWeb/Client.html#list_web_function_endpoints-instance_method
|
|
319
|
+
def list_web_function_endpoints: (
|
|
320
|
+
function_name: ::String,
|
|
321
|
+
?filters: Array[
|
|
322
|
+
{
|
|
323
|
+
name: ::String,
|
|
324
|
+
values: Array[::String]
|
|
325
|
+
}
|
|
326
|
+
],
|
|
327
|
+
?max_results: ::Integer,
|
|
328
|
+
?next_token: ::String
|
|
329
|
+
) -> _ListWebFunctionEndpointsResponseSuccess
|
|
330
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListWebFunctionEndpointsResponseSuccess
|
|
331
|
+
|
|
332
|
+
interface _ListWebFunctionRevisionsResponseSuccess
|
|
333
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListWebFunctionRevisionsResponse]
|
|
334
|
+
def revisions: () -> ::Array[Types::FunctionRevisionSummary]
|
|
335
|
+
def next_token: () -> ::String
|
|
336
|
+
end
|
|
337
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LambdaWeb/Client.html#list_web_function_revisions-instance_method
|
|
338
|
+
def list_web_function_revisions: (
|
|
339
|
+
function_name: ::String,
|
|
340
|
+
?filters: Array[
|
|
341
|
+
{
|
|
342
|
+
name: ::String,
|
|
343
|
+
values: Array[::String]
|
|
344
|
+
}
|
|
345
|
+
],
|
|
346
|
+
?max_results: ::Integer,
|
|
347
|
+
?next_token: ::String
|
|
348
|
+
) -> _ListWebFunctionRevisionsResponseSuccess
|
|
349
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListWebFunctionRevisionsResponseSuccess
|
|
350
|
+
|
|
351
|
+
interface _ListWebFunctionsResponseSuccess
|
|
352
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListWebFunctionsResponse]
|
|
353
|
+
def functions: () -> ::Array[Types::FunctionSummary]
|
|
354
|
+
def next_token: () -> ::String
|
|
355
|
+
end
|
|
356
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LambdaWeb/Client.html#list_web_functions-instance_method
|
|
357
|
+
def list_web_functions: (
|
|
358
|
+
?filters: Array[
|
|
359
|
+
{
|
|
360
|
+
name: ::String,
|
|
361
|
+
values: Array[::String]
|
|
362
|
+
}
|
|
363
|
+
],
|
|
364
|
+
?max_results: ::Integer,
|
|
365
|
+
?next_token: ::String
|
|
366
|
+
) -> _ListWebFunctionsResponseSuccess
|
|
367
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListWebFunctionsResponseSuccess
|
|
368
|
+
|
|
369
|
+
interface _PutResourcePolicyResponseSuccess
|
|
370
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutResourcePolicyResponse]
|
|
371
|
+
def policy: () -> ::String
|
|
372
|
+
def revision_id: () -> ::String
|
|
373
|
+
end
|
|
374
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LambdaWeb/Client.html#put_resource_policy-instance_method
|
|
375
|
+
def put_resource_policy: (
|
|
376
|
+
resource_arn: ::String,
|
|
377
|
+
policy: ::String,
|
|
378
|
+
?revision_id: ::String
|
|
379
|
+
) -> _PutResourcePolicyResponseSuccess
|
|
380
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutResourcePolicyResponseSuccess
|
|
381
|
+
|
|
382
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LambdaWeb/Client.html#tag_resource-instance_method
|
|
383
|
+
def tag_resource: (
|
|
384
|
+
resource: ::String,
|
|
385
|
+
tags: Hash[::String, ::String]
|
|
386
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
387
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
388
|
+
|
|
389
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LambdaWeb/Client.html#untag_resource-instance_method
|
|
390
|
+
def untag_resource: (
|
|
391
|
+
resource: ::String,
|
|
392
|
+
tag_keys: Array[::String]
|
|
393
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
394
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
395
|
+
|
|
396
|
+
interface _UpdateWebFunctionEndpointResponseSuccess
|
|
397
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateWebFunctionEndpointResponse]
|
|
398
|
+
def function_arn: () -> ::String
|
|
399
|
+
def endpoint_arn: () -> ::String
|
|
400
|
+
def endpoint_name: () -> ::String
|
|
401
|
+
def description: () -> ::String
|
|
402
|
+
def endpoint_type: () -> ("HomeRegion" | "MultiRegion" | "PerRegion")
|
|
403
|
+
def domain_name: () -> ::String
|
|
404
|
+
def auth_type: () -> ("ApplicationManaged" | "IamAuth")
|
|
405
|
+
def auto_deployment_mode: () -> ("LatestRevision" | "Disabled")
|
|
406
|
+
def revision_weights: () -> ::Array[Types::RevisionWeight]
|
|
407
|
+
def regions: () -> ::Array[::String]
|
|
408
|
+
def scaling_config: () -> Types::ScalingConfig
|
|
409
|
+
def throttle_config: () -> Types::ThrottleConfig
|
|
410
|
+
def state: () -> ("Pending" | "Active" | "Failed" | "Deleting")
|
|
411
|
+
def state_reason: () -> ::String
|
|
412
|
+
def update_status: () -> ("InProgress" | "Successful" | "Failed")
|
|
413
|
+
def update_status_reason: () -> ::String
|
|
414
|
+
def regional_endpoints: () -> ::Hash[::String, Types::RegionalEndpoint]
|
|
415
|
+
def created_at: () -> ::Time
|
|
416
|
+
def updated_at: () -> ::Time
|
|
417
|
+
end
|
|
418
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LambdaWeb/Client.html#update_web_function_endpoint-instance_method
|
|
419
|
+
def update_web_function_endpoint: (
|
|
420
|
+
function_name: ::String,
|
|
421
|
+
endpoint_name: ::String,
|
|
422
|
+
?description: ::String,
|
|
423
|
+
?auth_type: ("ApplicationManaged" | "IamAuth"),
|
|
424
|
+
?auto_deployment_mode: ("LatestRevision" | "Disabled"),
|
|
425
|
+
?revision_weights: Array[
|
|
426
|
+
{
|
|
427
|
+
revision_id: ::String,
|
|
428
|
+
weight: ::Integer
|
|
429
|
+
}
|
|
430
|
+
],
|
|
431
|
+
?scaling_config: {
|
|
432
|
+
max_environments: ::Integer?
|
|
433
|
+
},
|
|
434
|
+
?throttle_config: {
|
|
435
|
+
rate_limit: ::Integer?
|
|
436
|
+
}
|
|
437
|
+
) -> _UpdateWebFunctionEndpointResponseSuccess
|
|
438
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateWebFunctionEndpointResponseSuccess
|
|
439
|
+
|
|
440
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LambdaWeb/Client.html#wait_until-instance_method
|
|
441
|
+
def wait_until: (:web_function_active waiter_name,
|
|
442
|
+
function_name: ::String
|
|
443
|
+
) -> Client::_GetWebFunctionResponseSuccess
|
|
444
|
+
| (:web_function_active waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetWebFunctionResponseSuccess
|
|
445
|
+
| (:web_function_deleted waiter_name,
|
|
446
|
+
function_name: ::String
|
|
447
|
+
) -> Client::_GetWebFunctionResponseSuccess
|
|
448
|
+
| (:web_function_deleted waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetWebFunctionResponseSuccess
|
|
449
|
+
| (:web_function_endpoint_active waiter_name,
|
|
450
|
+
function_name: ::String,
|
|
451
|
+
endpoint_name: ::String
|
|
452
|
+
) -> Client::_GetWebFunctionEndpointResponseSuccess
|
|
453
|
+
| (:web_function_endpoint_active waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetWebFunctionEndpointResponseSuccess
|
|
454
|
+
| (:web_function_endpoint_deleted waiter_name,
|
|
455
|
+
function_name: ::String,
|
|
456
|
+
endpoint_name: ::String
|
|
457
|
+
) -> Client::_GetWebFunctionEndpointResponseSuccess
|
|
458
|
+
| (:web_function_endpoint_deleted waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetWebFunctionEndpointResponseSuccess
|
|
459
|
+
| (:web_function_endpoint_updated waiter_name,
|
|
460
|
+
function_name: ::String,
|
|
461
|
+
endpoint_name: ::String
|
|
462
|
+
) -> Client::_GetWebFunctionEndpointResponseSuccess
|
|
463
|
+
| (:web_function_endpoint_updated waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetWebFunctionEndpointResponseSuccess
|
|
464
|
+
| (:web_function_revision_active waiter_name,
|
|
465
|
+
function_name: ::String,
|
|
466
|
+
revision_id: ::String
|
|
467
|
+
) -> Client::_GetWebFunctionRevisionResponseSuccess
|
|
468
|
+
| (:web_function_revision_active waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetWebFunctionRevisionResponseSuccess
|
|
469
|
+
end
|
|
470
|
+
end
|
|
471
|
+
end
|
|
472
|
+
|
data/sig/errors.rbs
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
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 LambdaWeb
|
|
10
|
+
module Errors
|
|
11
|
+
class ServiceError < ::Aws::Errors::ServiceError
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
class AccessDeniedException < ::Aws::Errors::ServiceError
|
|
15
|
+
def message: () -> ::String
|
|
16
|
+
end
|
|
17
|
+
class ConflictException < ::Aws::Errors::ServiceError
|
|
18
|
+
def message: () -> ::String
|
|
19
|
+
def resource_id: () -> ::String
|
|
20
|
+
def resource_type: () -> ::String
|
|
21
|
+
end
|
|
22
|
+
class InternalServerException < ::Aws::Errors::ServiceError
|
|
23
|
+
def message: () -> ::String
|
|
24
|
+
end
|
|
25
|
+
class ResourceNotFoundException < ::Aws::Errors::ServiceError
|
|
26
|
+
def message: () -> ::String
|
|
27
|
+
def resource_id: () -> ::String
|
|
28
|
+
def resource_type: () -> ::String
|
|
29
|
+
end
|
|
30
|
+
class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
|
|
31
|
+
def message: () -> ::String
|
|
32
|
+
def resource_id: () -> ::String
|
|
33
|
+
def resource_type: () -> ::String
|
|
34
|
+
def service_code: () -> ::String
|
|
35
|
+
def quota_code: () -> ::String
|
|
36
|
+
end
|
|
37
|
+
class ThrottlingException < ::Aws::Errors::ServiceError
|
|
38
|
+
def message: () -> ::String
|
|
39
|
+
def retry_after_seconds: () -> ::String
|
|
40
|
+
def service_code: () -> ::String
|
|
41
|
+
def quota_code: () -> ::String
|
|
42
|
+
end
|
|
43
|
+
class ValidationException < ::Aws::Errors::ServiceError
|
|
44
|
+
def message: () -> ::String
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
data/sig/params.rbs
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
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 LambdaWeb
|
|
10
|
+
module Params
|
|
11
|
+
type build_config = {
|
|
12
|
+
code_config: {
|
|
13
|
+
s3_object: {
|
|
14
|
+
bucket: ::String,
|
|
15
|
+
key: ::String,
|
|
16
|
+
version_id: ::String?
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
runtime_config: {
|
|
20
|
+
runtime: ::String
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
type service_config = {
|
|
25
|
+
execution_role_arn: ::String,
|
|
26
|
+
timeout_seconds: ::Integer?,
|
|
27
|
+
max_concurrency_per_environment: ::Integer?,
|
|
28
|
+
environment_variables: Hash[::String, ::String]?,
|
|
29
|
+
telemetry_config: {
|
|
30
|
+
logging_config: {
|
|
31
|
+
log_group: ::String?,
|
|
32
|
+
application_log_level: ("TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR" | "FATAL")?,
|
|
33
|
+
system_log_level: ("DEBUG" | "INFO" | "WARN")?
|
|
34
|
+
}?
|
|
35
|
+
}?
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
data/sig/resource.rbs
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
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 LambdaWeb
|
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LambdaWeb/Resource.html
|
|
11
|
+
class Resource
|
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LambdaWeb/Resource.html#initialize-instance_method
|
|
13
|
+
def initialize: (
|
|
14
|
+
?client: Client,
|
|
15
|
+
?credentials: untyped,
|
|
16
|
+
?region: String,
|
|
17
|
+
?access_key_id: String,
|
|
18
|
+
?account_id: String,
|
|
19
|
+
?active_endpoint_cache: bool,
|
|
20
|
+
?adaptive_retry_wait_to_fill: bool,
|
|
21
|
+
?auth_scheme_preference: Array[String],
|
|
22
|
+
?client_side_monitoring: bool,
|
|
23
|
+
?client_side_monitoring_client_id: String,
|
|
24
|
+
?client_side_monitoring_host: String,
|
|
25
|
+
?client_side_monitoring_port: Integer,
|
|
26
|
+
?client_side_monitoring_publisher: untyped,
|
|
27
|
+
?convert_params: bool,
|
|
28
|
+
?correct_clock_skew: bool,
|
|
29
|
+
?defaults_mode: String,
|
|
30
|
+
?disable_host_prefix_injection: bool,
|
|
31
|
+
?disable_request_compression: bool,
|
|
32
|
+
?endpoint: String,
|
|
33
|
+
?endpoint_cache_max_entries: Integer,
|
|
34
|
+
?endpoint_cache_max_threads: Integer,
|
|
35
|
+
?endpoint_cache_poll_interval: Integer,
|
|
36
|
+
?endpoint_discovery: bool,
|
|
37
|
+
?ignore_configured_endpoint_urls: bool,
|
|
38
|
+
?log_formatter: untyped,
|
|
39
|
+
?log_level: Symbol,
|
|
40
|
+
?logger: untyped,
|
|
41
|
+
?max_attempts: Integer,
|
|
42
|
+
?profile: String,
|
|
43
|
+
?request_checksum_calculation: String,
|
|
44
|
+
?request_min_compression_size_bytes: Integer,
|
|
45
|
+
?response_checksum_validation: String,
|
|
46
|
+
?retry_backoff: Proc,
|
|
47
|
+
?retry_base_delay: Float,
|
|
48
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
|
49
|
+
?retry_limit: Integer,
|
|
50
|
+
?retry_max_delay: Integer,
|
|
51
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
|
52
|
+
?sdk_ua_app_id: String,
|
|
53
|
+
?secret_access_key: String,
|
|
54
|
+
?session_token: String,
|
|
55
|
+
?sigv4a_signing_region_set: Array[String],
|
|
56
|
+
?stub_responses: untyped,
|
|
57
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
|
58
|
+
?token_provider: untyped,
|
|
59
|
+
?use_dualstack_endpoint: bool,
|
|
60
|
+
?use_fips_endpoint: bool,
|
|
61
|
+
?validate_params: bool,
|
|
62
|
+
?endpoint_provider: untyped,
|
|
63
|
+
?http_proxy: String,
|
|
64
|
+
?http_open_timeout: (Float | Integer),
|
|
65
|
+
?http_read_timeout: (Float | Integer),
|
|
66
|
+
?http_idle_timeout: (Float | Integer),
|
|
67
|
+
?http_continue_timeout: (Float | Integer),
|
|
68
|
+
?ssl_timeout: (Float | Integer | nil),
|
|
69
|
+
?http_wire_trace: bool,
|
|
70
|
+
?ssl_verify_peer: bool,
|
|
71
|
+
?ssl_ca_bundle: String,
|
|
72
|
+
?ssl_ca_directory: String,
|
|
73
|
+
?ssl_ca_store: String,
|
|
74
|
+
?on_chunk_received: Proc,
|
|
75
|
+
?on_chunk_sent: Proc,
|
|
76
|
+
?raise_response_errors: bool
|
|
77
|
+
) -> void
|
|
78
|
+
| (?Hash[Symbol, untyped]) -> void
|
|
79
|
+
|
|
80
|
+
def client: () -> Client
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
end
|
|
84
|
+
end
|
|
85
|
+
end
|