aws-sdk-lambdacore 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-lambdacore/client.rb +884 -0
- data/lib/aws-sdk-lambdacore/client_api.rb +281 -0
- data/lib/aws-sdk-lambdacore/customizations.rb +0 -0
- data/lib/aws-sdk-lambdacore/endpoint_parameters.rb +69 -0
- data/lib/aws-sdk-lambdacore/endpoint_provider.rb +50 -0
- data/lib/aws-sdk-lambdacore/endpoints.rb +20 -0
- data/lib/aws-sdk-lambdacore/errors.rb +174 -0
- data/lib/aws-sdk-lambdacore/plugins/endpoints.rb +77 -0
- data/lib/aws-sdk-lambdacore/resource.rb +26 -0
- data/lib/aws-sdk-lambdacore/types.rb +619 -0
- data/lib/aws-sdk-lambdacore.rb +61 -0
- data/sig/client.rbs +173 -0
- data/sig/errors.rbs +42 -0
- data/sig/params.rbs +22 -0
- data/sig/resource.rbs +85 -0
- data/sig/types.rbs +168 -0
- metadata +96 -0
|
@@ -0,0 +1,619 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
|
4
|
+
#
|
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
7
|
+
#
|
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
|
9
|
+
|
|
10
|
+
module Aws::LambdaCore
|
|
11
|
+
module Types
|
|
12
|
+
|
|
13
|
+
# @!attribute [rw] name
|
|
14
|
+
# A unique name for the network connector within your account and
|
|
15
|
+
# Region. You can use the name to identify the connector in subsequent
|
|
16
|
+
# API calls.
|
|
17
|
+
# @return [String]
|
|
18
|
+
#
|
|
19
|
+
# @!attribute [rw] configuration
|
|
20
|
+
# The network configuration for the connector. Specify a
|
|
21
|
+
# `VpcEgressConfiguration` to enable outbound traffic routing through
|
|
22
|
+
# your VPC.
|
|
23
|
+
# @return [Types::NetworkConnectorConfiguration]
|
|
24
|
+
#
|
|
25
|
+
# @!attribute [rw] operator_role
|
|
26
|
+
# The ARN of the IAM role that Lambda assumes to manage elastic
|
|
27
|
+
# network interfaces in your VPC. This role must have permissions for
|
|
28
|
+
# `ec2:CreateNetworkInterface`, `ec2:DeleteNetworkInterface`, and
|
|
29
|
+
# related describe operations.
|
|
30
|
+
# @return [String]
|
|
31
|
+
#
|
|
32
|
+
# @!attribute [rw] client_token
|
|
33
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
|
34
|
+
# idempotency of the request. If you retry a request with the same
|
|
35
|
+
# client token, the API returns the existing connector without
|
|
36
|
+
# creating a duplicate.
|
|
37
|
+
#
|
|
38
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
39
|
+
# not need to pass this option.
|
|
40
|
+
# @return [String]
|
|
41
|
+
#
|
|
42
|
+
# @!attribute [rw] tags
|
|
43
|
+
# A map of key-value pairs to associate with the network connector for
|
|
44
|
+
# organization, cost allocation, or access control.
|
|
45
|
+
# @return [Hash<String,String>]
|
|
46
|
+
#
|
|
47
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-core-2026-04-30/CreateNetworkConnectorRequest AWS API Documentation
|
|
48
|
+
#
|
|
49
|
+
class CreateNetworkConnectorRequest < Struct.new(
|
|
50
|
+
:name,
|
|
51
|
+
:configuration,
|
|
52
|
+
:operator_role,
|
|
53
|
+
:client_token,
|
|
54
|
+
:tags)
|
|
55
|
+
SENSITIVE = []
|
|
56
|
+
include Aws::Structure
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
# @!attribute [rw] arn
|
|
60
|
+
# The Amazon Resource Name (ARN) of the network connector.
|
|
61
|
+
# @return [String]
|
|
62
|
+
#
|
|
63
|
+
# @!attribute [rw] name
|
|
64
|
+
# The name of the network connector.
|
|
65
|
+
# @return [String]
|
|
66
|
+
#
|
|
67
|
+
# @!attribute [rw] id
|
|
68
|
+
# The unique identifier for a network connector, assigned by the
|
|
69
|
+
# service at creation time
|
|
70
|
+
# @return [String]
|
|
71
|
+
#
|
|
72
|
+
# @!attribute [rw] configuration
|
|
73
|
+
# The network configuration of the connector, including VPC subnets
|
|
74
|
+
# and security groups.
|
|
75
|
+
# @return [Types::NetworkConnectorConfiguration]
|
|
76
|
+
#
|
|
77
|
+
# @!attribute [rw] operator_role
|
|
78
|
+
# The ARN of the IAM role that Lambda uses to manage the underlying
|
|
79
|
+
# ENI resources for this connector.
|
|
80
|
+
# @return [String]
|
|
81
|
+
#
|
|
82
|
+
# @!attribute [rw] state
|
|
83
|
+
# The current state of the network connector.
|
|
84
|
+
# @return [String]
|
|
85
|
+
#
|
|
86
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-core-2026-04-30/CreateNetworkConnectorResponse AWS API Documentation
|
|
87
|
+
#
|
|
88
|
+
class CreateNetworkConnectorResponse < Struct.new(
|
|
89
|
+
:arn,
|
|
90
|
+
:name,
|
|
91
|
+
:id,
|
|
92
|
+
:configuration,
|
|
93
|
+
:operator_role,
|
|
94
|
+
:state)
|
|
95
|
+
SENSITIVE = []
|
|
96
|
+
include Aws::Structure
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
# @!attribute [rw] identifier
|
|
100
|
+
# A flexible identifier that accepts a network connector ID, name, or
|
|
101
|
+
# ARN
|
|
102
|
+
# @return [String]
|
|
103
|
+
#
|
|
104
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-core-2026-04-30/DeleteNetworkConnectorRequest AWS API Documentation
|
|
105
|
+
#
|
|
106
|
+
class DeleteNetworkConnectorRequest < Struct.new(
|
|
107
|
+
:identifier)
|
|
108
|
+
SENSITIVE = []
|
|
109
|
+
include Aws::Structure
|
|
110
|
+
end
|
|
111
|
+
|
|
112
|
+
# @!attribute [rw] arn
|
|
113
|
+
# The Amazon Resource Name (ARN) of the network connector.
|
|
114
|
+
# @return [String]
|
|
115
|
+
#
|
|
116
|
+
# @!attribute [rw] name
|
|
117
|
+
# The name of the network connector.
|
|
118
|
+
# @return [String]
|
|
119
|
+
#
|
|
120
|
+
# @!attribute [rw] id
|
|
121
|
+
# The unique identifier for a network connector, assigned by the
|
|
122
|
+
# service at creation time
|
|
123
|
+
# @return [String]
|
|
124
|
+
#
|
|
125
|
+
# @!attribute [rw] configuration
|
|
126
|
+
# The network configuration of the connector, including VPC subnets
|
|
127
|
+
# and security groups.
|
|
128
|
+
# @return [Types::NetworkConnectorConfiguration]
|
|
129
|
+
#
|
|
130
|
+
# @!attribute [rw] operator_role
|
|
131
|
+
# The ARN of the IAM role that Lambda uses to manage the underlying
|
|
132
|
+
# ENI resources for this connector.
|
|
133
|
+
# @return [String]
|
|
134
|
+
#
|
|
135
|
+
# @!attribute [rw] state
|
|
136
|
+
# The current state of the network connector. The State field is
|
|
137
|
+
# typically `DELETING` after this call.
|
|
138
|
+
# @return [String]
|
|
139
|
+
#
|
|
140
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-core-2026-04-30/DeleteNetworkConnectorResponse AWS API Documentation
|
|
141
|
+
#
|
|
142
|
+
class DeleteNetworkConnectorResponse < Struct.new(
|
|
143
|
+
:arn,
|
|
144
|
+
:name,
|
|
145
|
+
:id,
|
|
146
|
+
:configuration,
|
|
147
|
+
:operator_role,
|
|
148
|
+
:state)
|
|
149
|
+
SENSITIVE = []
|
|
150
|
+
include Aws::Structure
|
|
151
|
+
end
|
|
152
|
+
|
|
153
|
+
# @!attribute [rw] identifier
|
|
154
|
+
# A flexible identifier that accepts a network connector ID, name, or
|
|
155
|
+
# ARN
|
|
156
|
+
# @return [String]
|
|
157
|
+
#
|
|
158
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-core-2026-04-30/GetNetworkConnectorRequest AWS API Documentation
|
|
159
|
+
#
|
|
160
|
+
class GetNetworkConnectorRequest < Struct.new(
|
|
161
|
+
:identifier)
|
|
162
|
+
SENSITIVE = []
|
|
163
|
+
include Aws::Structure
|
|
164
|
+
end
|
|
165
|
+
|
|
166
|
+
# @!attribute [rw] arn
|
|
167
|
+
# The Amazon Resource Name (ARN) of the network connector.
|
|
168
|
+
# @return [String]
|
|
169
|
+
#
|
|
170
|
+
# @!attribute [rw] name
|
|
171
|
+
# The name of the network connector.
|
|
172
|
+
# @return [String]
|
|
173
|
+
#
|
|
174
|
+
# @!attribute [rw] id
|
|
175
|
+
# The unique identifier for a network connector, assigned by the
|
|
176
|
+
# service at creation time
|
|
177
|
+
# @return [String]
|
|
178
|
+
#
|
|
179
|
+
# @!attribute [rw] version
|
|
180
|
+
# The version number of the connector configuration, incremented on
|
|
181
|
+
# each update.
|
|
182
|
+
# @return [Integer]
|
|
183
|
+
#
|
|
184
|
+
# @!attribute [rw] configuration
|
|
185
|
+
# The network configuration of the connector, including VPC subnets
|
|
186
|
+
# and security groups.
|
|
187
|
+
# @return [Types::NetworkConnectorConfiguration]
|
|
188
|
+
#
|
|
189
|
+
# @!attribute [rw] operator_role
|
|
190
|
+
# The ARN of the IAM role that Lambda uses to manage the underlying
|
|
191
|
+
# ENI resources for this connector.
|
|
192
|
+
# @return [String]
|
|
193
|
+
#
|
|
194
|
+
# @!attribute [rw] state
|
|
195
|
+
# The current state of the network connector.
|
|
196
|
+
# @return [String]
|
|
197
|
+
#
|
|
198
|
+
# @!attribute [rw] state_reason
|
|
199
|
+
# A human-readable explanation of the current state, populated when
|
|
200
|
+
# the state is `FAILED` or `DELETE_FAILED`.
|
|
201
|
+
# @return [String]
|
|
202
|
+
#
|
|
203
|
+
# @!attribute [rw] state_reason_code
|
|
204
|
+
# A machine-readable code indicating the reason for the current state.
|
|
205
|
+
# Use this for programmatic error handling.
|
|
206
|
+
# @return [String]
|
|
207
|
+
#
|
|
208
|
+
# @!attribute [rw] last_update_status
|
|
209
|
+
# The status of the most recent update operation (`Successful`,
|
|
210
|
+
# `Failed`, or `InProgress`).
|
|
211
|
+
# @return [String]
|
|
212
|
+
#
|
|
213
|
+
# @!attribute [rw] last_update_status_reason
|
|
214
|
+
# A human-readable explanation of the last update status.
|
|
215
|
+
# @return [String]
|
|
216
|
+
#
|
|
217
|
+
# @!attribute [rw] last_update_status_reason_code
|
|
218
|
+
# A machine-readable code indicating the reason for the last update
|
|
219
|
+
# status. Use this for programmatic error handling.
|
|
220
|
+
# @return [String]
|
|
221
|
+
#
|
|
222
|
+
# @!attribute [rw] last_modified
|
|
223
|
+
# The date and time when the connector configuration was last
|
|
224
|
+
# modified.
|
|
225
|
+
# @return [Time]
|
|
226
|
+
#
|
|
227
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-core-2026-04-30/GetNetworkConnectorResponse AWS API Documentation
|
|
228
|
+
#
|
|
229
|
+
class GetNetworkConnectorResponse < Struct.new(
|
|
230
|
+
:arn,
|
|
231
|
+
:name,
|
|
232
|
+
:id,
|
|
233
|
+
:version,
|
|
234
|
+
:configuration,
|
|
235
|
+
:operator_role,
|
|
236
|
+
:state,
|
|
237
|
+
:state_reason,
|
|
238
|
+
:state_reason_code,
|
|
239
|
+
:last_update_status,
|
|
240
|
+
:last_update_status_reason,
|
|
241
|
+
:last_update_status_reason_code,
|
|
242
|
+
:last_modified)
|
|
243
|
+
SENSITIVE = []
|
|
244
|
+
include Aws::Structure
|
|
245
|
+
end
|
|
246
|
+
|
|
247
|
+
# One of the parameters in the request is not valid. Check the error
|
|
248
|
+
# message for details about which parameter failed validation.
|
|
249
|
+
#
|
|
250
|
+
# @!attribute [rw] type
|
|
251
|
+
# The exception type.
|
|
252
|
+
# @return [String]
|
|
253
|
+
#
|
|
254
|
+
# @!attribute [rw] message
|
|
255
|
+
# @return [String]
|
|
256
|
+
#
|
|
257
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-core-2026-04-30/InvalidParameterValueException AWS API Documentation
|
|
258
|
+
#
|
|
259
|
+
class InvalidParameterValueException < Struct.new(
|
|
260
|
+
:type,
|
|
261
|
+
:message)
|
|
262
|
+
SENSITIVE = []
|
|
263
|
+
include Aws::Structure
|
|
264
|
+
end
|
|
265
|
+
|
|
266
|
+
# @!attribute [rw] state
|
|
267
|
+
# Optional filter to return only connectors in the specified state
|
|
268
|
+
# (for example, `ACTIVE` or `FAILED`).
|
|
269
|
+
# @return [String]
|
|
270
|
+
#
|
|
271
|
+
# @!attribute [rw] marker
|
|
272
|
+
# The pagination token from a previous `ListNetworkConnectors`
|
|
273
|
+
# response. Use this value to retrieve the next page of results.
|
|
274
|
+
# @return [String]
|
|
275
|
+
#
|
|
276
|
+
# @!attribute [rw] max_items
|
|
277
|
+
# The maximum number of connectors to return per page. Valid range: 1
|
|
278
|
+
# to 100.
|
|
279
|
+
# @return [Integer]
|
|
280
|
+
#
|
|
281
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-core-2026-04-30/ListNetworkConnectorsRequest AWS API Documentation
|
|
282
|
+
#
|
|
283
|
+
class ListNetworkConnectorsRequest < Struct.new(
|
|
284
|
+
:state,
|
|
285
|
+
:marker,
|
|
286
|
+
:max_items)
|
|
287
|
+
SENSITIVE = []
|
|
288
|
+
include Aws::Structure
|
|
289
|
+
end
|
|
290
|
+
|
|
291
|
+
# @!attribute [rw] network_connectors
|
|
292
|
+
# A list of network connector summaries for the current page of
|
|
293
|
+
# results.
|
|
294
|
+
# @return [Array<Types::NetworkConnectorSummary>]
|
|
295
|
+
#
|
|
296
|
+
# @!attribute [rw] next_marker
|
|
297
|
+
# The pagination token to include in a subsequent request to retrieve
|
|
298
|
+
# the next page. This value is null when there are no more results.
|
|
299
|
+
# @return [String]
|
|
300
|
+
#
|
|
301
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-core-2026-04-30/ListNetworkConnectorsResponse AWS API Documentation
|
|
302
|
+
#
|
|
303
|
+
class ListNetworkConnectorsResponse < Struct.new(
|
|
304
|
+
:network_connectors,
|
|
305
|
+
:next_marker)
|
|
306
|
+
SENSITIVE = []
|
|
307
|
+
include Aws::Structure
|
|
308
|
+
end
|
|
309
|
+
|
|
310
|
+
# The network configuration for a network connector. Different connector
|
|
311
|
+
# types use different configuration shapes; specify the configuration
|
|
312
|
+
# that matches your connector type.
|
|
313
|
+
#
|
|
314
|
+
# @note NetworkConnectorConfiguration is a union - when making an API calls you must set exactly one of the members.
|
|
315
|
+
#
|
|
316
|
+
# @note NetworkConnectorConfiguration is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of NetworkConnectorConfiguration corresponding to the set member.
|
|
317
|
+
#
|
|
318
|
+
# @!attribute [rw] vpc_egress_configuration
|
|
319
|
+
# Configuration for a VPC egress network connector. Specifies the
|
|
320
|
+
# subnets, security groups, and network protocol for routing outbound
|
|
321
|
+
# traffic through your VPC.
|
|
322
|
+
# @return [Types::NetworkConnectorVpcEgressConfiguration]
|
|
323
|
+
#
|
|
324
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-core-2026-04-30/NetworkConnectorConfiguration AWS API Documentation
|
|
325
|
+
#
|
|
326
|
+
class NetworkConnectorConfiguration < Struct.new(
|
|
327
|
+
:vpc_egress_configuration,
|
|
328
|
+
:unknown)
|
|
329
|
+
SENSITIVE = []
|
|
330
|
+
include Aws::Structure
|
|
331
|
+
include Aws::Structure::Union
|
|
332
|
+
|
|
333
|
+
class VpcEgressConfiguration < NetworkConnectorConfiguration; end
|
|
334
|
+
class Unknown < NetworkConnectorConfiguration; end
|
|
335
|
+
end
|
|
336
|
+
|
|
337
|
+
# The account has reached the maximum number of network connectors
|
|
338
|
+
# allowed. Delete unused connectors or request a limit increase through
|
|
339
|
+
# Service Quotas.
|
|
340
|
+
#
|
|
341
|
+
# @!attribute [rw] type
|
|
342
|
+
# The exception type.
|
|
343
|
+
# @return [String]
|
|
344
|
+
#
|
|
345
|
+
# @!attribute [rw] message
|
|
346
|
+
# A human-readable description of the error.
|
|
347
|
+
# @return [String]
|
|
348
|
+
#
|
|
349
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-core-2026-04-30/NetworkConnectorLimitExceededException AWS API Documentation
|
|
350
|
+
#
|
|
351
|
+
class NetworkConnectorLimitExceededException < Struct.new(
|
|
352
|
+
:type,
|
|
353
|
+
:message)
|
|
354
|
+
SENSITIVE = []
|
|
355
|
+
include Aws::Structure
|
|
356
|
+
end
|
|
357
|
+
|
|
358
|
+
# Summary information about a network connector returned by
|
|
359
|
+
# `ListNetworkConnectors`. Contains identifying fields and current
|
|
360
|
+
# state. To retrieve full configuration details, use
|
|
361
|
+
# `GetNetworkConnector`.
|
|
362
|
+
#
|
|
363
|
+
# @!attribute [rw] arn
|
|
364
|
+
# The ARN of the network connector.
|
|
365
|
+
# @return [String]
|
|
366
|
+
#
|
|
367
|
+
# @!attribute [rw] name
|
|
368
|
+
# The name of the network connector.
|
|
369
|
+
# @return [String]
|
|
370
|
+
#
|
|
371
|
+
# @!attribute [rw] id
|
|
372
|
+
# The unique identifier for a network connector, assigned by the
|
|
373
|
+
# service at creation time
|
|
374
|
+
# @return [String]
|
|
375
|
+
#
|
|
376
|
+
# @!attribute [rw] type
|
|
377
|
+
# The type of the network connector (`VPC_EGRESS`).
|
|
378
|
+
# @return [String]
|
|
379
|
+
#
|
|
380
|
+
# @!attribute [rw] state
|
|
381
|
+
# The current state of the network connector.
|
|
382
|
+
# @return [String]
|
|
383
|
+
#
|
|
384
|
+
# @!attribute [rw] last_modified
|
|
385
|
+
# The date and time when the connector was last modified.
|
|
386
|
+
# @return [Time]
|
|
387
|
+
#
|
|
388
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-core-2026-04-30/NetworkConnectorSummary AWS API Documentation
|
|
389
|
+
#
|
|
390
|
+
class NetworkConnectorSummary < Struct.new(
|
|
391
|
+
:arn,
|
|
392
|
+
:name,
|
|
393
|
+
:id,
|
|
394
|
+
:type,
|
|
395
|
+
:state,
|
|
396
|
+
:last_modified)
|
|
397
|
+
SENSITIVE = []
|
|
398
|
+
include Aws::Structure
|
|
399
|
+
end
|
|
400
|
+
|
|
401
|
+
# Configuration for a VPC egress network connector. Specifies the VPC
|
|
402
|
+
# subnets, security groups, network protocol, and associated Lambda
|
|
403
|
+
# compute resource types.
|
|
404
|
+
#
|
|
405
|
+
# @!attribute [rw] subnet_ids
|
|
406
|
+
# The IDs of the VPC subnets where Lambda provisions elastic network
|
|
407
|
+
# interfaces (ENIs). Specify 1 to 16 subnets. All subnets must be in
|
|
408
|
+
# the same VPC.
|
|
409
|
+
# @return [Array<String>]
|
|
410
|
+
#
|
|
411
|
+
# @!attribute [rw] security_group_ids
|
|
412
|
+
# The IDs of the VPC security groups to attach to the ENIs. Specify 0
|
|
413
|
+
# to 5 security groups. All security groups must be in the same VPC as
|
|
414
|
+
# the subnets.
|
|
415
|
+
# @return [Array<String>]
|
|
416
|
+
#
|
|
417
|
+
# @!attribute [rw] network_protocol
|
|
418
|
+
# The network protocol for the connector. Specify `IPv4` for IPv4-only
|
|
419
|
+
# networking, or `DualStack` for both IPv4 and IPv6.
|
|
420
|
+
# @return [String]
|
|
421
|
+
#
|
|
422
|
+
# @!attribute [rw] associated_compute_resource_types
|
|
423
|
+
# The types of Lambda compute resources that can use this connector.
|
|
424
|
+
# Currently, only `MicroVm` is supported.
|
|
425
|
+
# @return [Array<String>]
|
|
426
|
+
#
|
|
427
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-core-2026-04-30/NetworkConnectorVpcEgressConfiguration AWS API Documentation
|
|
428
|
+
#
|
|
429
|
+
class NetworkConnectorVpcEgressConfiguration < Struct.new(
|
|
430
|
+
:subnet_ids,
|
|
431
|
+
:security_group_ids,
|
|
432
|
+
:network_protocol,
|
|
433
|
+
:associated_compute_resource_types)
|
|
434
|
+
SENSITIVE = []
|
|
435
|
+
include Aws::Structure
|
|
436
|
+
end
|
|
437
|
+
|
|
438
|
+
# The request could not be completed due to a conflict with the current
|
|
439
|
+
# state of the resource. For example, attempting to update a connector
|
|
440
|
+
# that is not in `ACTIVE` state.
|
|
441
|
+
#
|
|
442
|
+
# @!attribute [rw] type
|
|
443
|
+
# The exception type.
|
|
444
|
+
# @return [String]
|
|
445
|
+
#
|
|
446
|
+
# @!attribute [rw] message
|
|
447
|
+
# @return [String]
|
|
448
|
+
#
|
|
449
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-core-2026-04-30/ResourceConflictException AWS API Documentation
|
|
450
|
+
#
|
|
451
|
+
class ResourceConflictException < Struct.new(
|
|
452
|
+
:type,
|
|
453
|
+
:message)
|
|
454
|
+
SENSITIVE = []
|
|
455
|
+
include Aws::Structure
|
|
456
|
+
end
|
|
457
|
+
|
|
458
|
+
# The specified network connector does not exist. Verify the identifier
|
|
459
|
+
# (ID, name, or ARN) and Region.
|
|
460
|
+
#
|
|
461
|
+
# @!attribute [rw] type
|
|
462
|
+
# The exception type.
|
|
463
|
+
# @return [String]
|
|
464
|
+
#
|
|
465
|
+
# @!attribute [rw] message
|
|
466
|
+
# @return [String]
|
|
467
|
+
#
|
|
468
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-core-2026-04-30/ResourceNotFoundException AWS API Documentation
|
|
469
|
+
#
|
|
470
|
+
class ResourceNotFoundException < Struct.new(
|
|
471
|
+
:type,
|
|
472
|
+
:message)
|
|
473
|
+
SENSITIVE = []
|
|
474
|
+
include Aws::Structure
|
|
475
|
+
end
|
|
476
|
+
|
|
477
|
+
# An internal service error occurred. Retry the request with exponential
|
|
478
|
+
# backoff.
|
|
479
|
+
#
|
|
480
|
+
# @!attribute [rw] type
|
|
481
|
+
# The exception type.
|
|
482
|
+
# @return [String]
|
|
483
|
+
#
|
|
484
|
+
# @!attribute [rw] message
|
|
485
|
+
# @return [String]
|
|
486
|
+
#
|
|
487
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-core-2026-04-30/ServiceException AWS API Documentation
|
|
488
|
+
#
|
|
489
|
+
class ServiceException < Struct.new(
|
|
490
|
+
:type,
|
|
491
|
+
:message)
|
|
492
|
+
SENSITIVE = []
|
|
493
|
+
include Aws::Structure
|
|
494
|
+
end
|
|
495
|
+
|
|
496
|
+
# The request was throttled due to exceeding the allowed request rate.
|
|
497
|
+
# Retry the request after a brief wait using exponential backoff.
|
|
498
|
+
#
|
|
499
|
+
# @!attribute [rw] retry_after_seconds
|
|
500
|
+
# The number of seconds to wait before retrying the request.
|
|
501
|
+
# @return [String]
|
|
502
|
+
#
|
|
503
|
+
# @!attribute [rw] type
|
|
504
|
+
# The exception type.
|
|
505
|
+
# @return [String]
|
|
506
|
+
#
|
|
507
|
+
# @!attribute [rw] message
|
|
508
|
+
# @return [String]
|
|
509
|
+
#
|
|
510
|
+
# @!attribute [rw] reason
|
|
511
|
+
# The reason for the throttling.
|
|
512
|
+
# @return [String]
|
|
513
|
+
#
|
|
514
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-core-2026-04-30/TooManyRequestsException AWS API Documentation
|
|
515
|
+
#
|
|
516
|
+
class TooManyRequestsException < Struct.new(
|
|
517
|
+
:retry_after_seconds,
|
|
518
|
+
:type,
|
|
519
|
+
:message,
|
|
520
|
+
:reason)
|
|
521
|
+
SENSITIVE = []
|
|
522
|
+
include Aws::Structure
|
|
523
|
+
end
|
|
524
|
+
|
|
525
|
+
# @!attribute [rw] identifier
|
|
526
|
+
# A flexible identifier that accepts a network connector ID, name, or
|
|
527
|
+
# ARN
|
|
528
|
+
# @return [String]
|
|
529
|
+
#
|
|
530
|
+
# @!attribute [rw] configuration
|
|
531
|
+
# The updated network configuration for the connector. Provide the
|
|
532
|
+
# full `VpcEgressConfiguration` including all subnet IDs and security
|
|
533
|
+
# group IDs — this replaces the existing configuration.
|
|
534
|
+
# @return [Types::NetworkConnectorConfiguration]
|
|
535
|
+
#
|
|
536
|
+
# @!attribute [rw] operator_role
|
|
537
|
+
# The updated ARN of the IAM role that Lambda assumes to manage ENIs.
|
|
538
|
+
# Use this to change the operator role without recreating the
|
|
539
|
+
# connector.
|
|
540
|
+
# @return [String]
|
|
541
|
+
#
|
|
542
|
+
# @!attribute [rw] client_token
|
|
543
|
+
# A unique, case-sensitive identifier to ensure idempotency of the
|
|
544
|
+
# update request.
|
|
545
|
+
#
|
|
546
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
547
|
+
# not need to pass this option.
|
|
548
|
+
# @return [String]
|
|
549
|
+
#
|
|
550
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-core-2026-04-30/UpdateNetworkConnectorRequest AWS API Documentation
|
|
551
|
+
#
|
|
552
|
+
class UpdateNetworkConnectorRequest < Struct.new(
|
|
553
|
+
:identifier,
|
|
554
|
+
:configuration,
|
|
555
|
+
:operator_role,
|
|
556
|
+
:client_token)
|
|
557
|
+
SENSITIVE = []
|
|
558
|
+
include Aws::Structure
|
|
559
|
+
end
|
|
560
|
+
|
|
561
|
+
# @!attribute [rw] arn
|
|
562
|
+
# The Amazon Resource Name (ARN) of the network connector.
|
|
563
|
+
# @return [String]
|
|
564
|
+
#
|
|
565
|
+
# @!attribute [rw] name
|
|
566
|
+
# The name of the network connector.
|
|
567
|
+
# @return [String]
|
|
568
|
+
#
|
|
569
|
+
# @!attribute [rw] id
|
|
570
|
+
# The unique identifier for a network connector, assigned by the
|
|
571
|
+
# service at creation time
|
|
572
|
+
# @return [String]
|
|
573
|
+
#
|
|
574
|
+
# @!attribute [rw] operator_role
|
|
575
|
+
# The ARN of the IAM role that Lambda uses to manage the underlying
|
|
576
|
+
# ENI resources for this connector.
|
|
577
|
+
# @return [String]
|
|
578
|
+
#
|
|
579
|
+
# @!attribute [rw] configuration
|
|
580
|
+
# The network configuration of the connector, including VPC subnets
|
|
581
|
+
# and security groups.
|
|
582
|
+
# @return [Types::NetworkConnectorConfiguration]
|
|
583
|
+
#
|
|
584
|
+
# @!attribute [rw] state
|
|
585
|
+
# The current state of the network connector.
|
|
586
|
+
# @return [String]
|
|
587
|
+
#
|
|
588
|
+
# @!attribute [rw] last_update_status
|
|
589
|
+
# The status of this update operation (typically `InProgress`
|
|
590
|
+
# immediately after the call).
|
|
591
|
+
# @return [String]
|
|
592
|
+
#
|
|
593
|
+
# @!attribute [rw] last_update_status_reason
|
|
594
|
+
# A human-readable explanation of the update status.
|
|
595
|
+
# @return [String]
|
|
596
|
+
#
|
|
597
|
+
# @!attribute [rw] last_modified
|
|
598
|
+
# The timestamp of this update.
|
|
599
|
+
# @return [Time]
|
|
600
|
+
#
|
|
601
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-core-2026-04-30/UpdateNetworkConnectorResponse AWS API Documentation
|
|
602
|
+
#
|
|
603
|
+
class UpdateNetworkConnectorResponse < Struct.new(
|
|
604
|
+
:arn,
|
|
605
|
+
:name,
|
|
606
|
+
:id,
|
|
607
|
+
:operator_role,
|
|
608
|
+
:configuration,
|
|
609
|
+
:state,
|
|
610
|
+
:last_update_status,
|
|
611
|
+
:last_update_status_reason,
|
|
612
|
+
:last_modified)
|
|
613
|
+
SENSITIVE = []
|
|
614
|
+
include Aws::Structure
|
|
615
|
+
end
|
|
616
|
+
|
|
617
|
+
end
|
|
618
|
+
end
|
|
619
|
+
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
|
4
|
+
#
|
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
7
|
+
#
|
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
require 'aws-sdk-core'
|
|
12
|
+
require 'aws-sigv4'
|
|
13
|
+
|
|
14
|
+
Aws::Plugins::GlobalConfiguration.add_identifier(:lambdacore)
|
|
15
|
+
|
|
16
|
+
# This module provides support for AWS Lambda Core. This module is available in the
|
|
17
|
+
# `aws-sdk-lambdacore` gem.
|
|
18
|
+
#
|
|
19
|
+
# # Client
|
|
20
|
+
#
|
|
21
|
+
# The {Client} class provides one method for each API operation. Operation
|
|
22
|
+
# methods each accept a hash of request parameters and return a response
|
|
23
|
+
# structure.
|
|
24
|
+
#
|
|
25
|
+
# lambda_core = Aws::LambdaCore::Client.new
|
|
26
|
+
# resp = lambda_core.create_network_connector(params)
|
|
27
|
+
#
|
|
28
|
+
# See {Client} for more information.
|
|
29
|
+
#
|
|
30
|
+
# # Errors
|
|
31
|
+
#
|
|
32
|
+
# Errors returned from AWS Lambda Core are defined in the
|
|
33
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
|
34
|
+
#
|
|
35
|
+
# begin
|
|
36
|
+
# # do stuff
|
|
37
|
+
# rescue Aws::LambdaCore::Errors::ServiceError
|
|
38
|
+
# # rescues all AWS Lambda Core API errors
|
|
39
|
+
# end
|
|
40
|
+
#
|
|
41
|
+
# See {Errors} for more information.
|
|
42
|
+
#
|
|
43
|
+
# @!group service
|
|
44
|
+
module Aws::LambdaCore
|
|
45
|
+
autoload :Types, 'aws-sdk-lambdacore/types'
|
|
46
|
+
autoload :ClientApi, 'aws-sdk-lambdacore/client_api'
|
|
47
|
+
module Plugins
|
|
48
|
+
autoload :Endpoints, 'aws-sdk-lambdacore/plugins/endpoints.rb'
|
|
49
|
+
end
|
|
50
|
+
autoload :Client, 'aws-sdk-lambdacore/client'
|
|
51
|
+
autoload :Errors, 'aws-sdk-lambdacore/errors'
|
|
52
|
+
autoload :Resource, 'aws-sdk-lambdacore/resource'
|
|
53
|
+
autoload :EndpointParameters, 'aws-sdk-lambdacore/endpoint_parameters'
|
|
54
|
+
autoload :EndpointProvider, 'aws-sdk-lambdacore/endpoint_provider'
|
|
55
|
+
autoload :Endpoints, 'aws-sdk-lambdacore/endpoints'
|
|
56
|
+
|
|
57
|
+
GEM_VERSION = '1.0.0'
|
|
58
|
+
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
require_relative 'aws-sdk-lambdacore/customizations'
|