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,281 @@
|
|
|
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
|
+
module Aws::LambdaCore
|
|
12
|
+
# @api private
|
|
13
|
+
module ClientApi
|
|
14
|
+
|
|
15
|
+
include Seahorse::Model
|
|
16
|
+
|
|
17
|
+
AssociatedComputeResourceTypesList = Shapes::ListShape.new(name: 'AssociatedComputeResourceTypesList')
|
|
18
|
+
ClientTokenString = Shapes::StringShape.new(name: 'ClientTokenString')
|
|
19
|
+
ComputeResourceType = Shapes::StringShape.new(name: 'ComputeResourceType')
|
|
20
|
+
CoreTimestamp = Shapes::TimestampShape.new(name: 'CoreTimestamp', timestampFormat: "iso8601")
|
|
21
|
+
CreateNetworkConnectorRequest = Shapes::StructureShape.new(name: 'CreateNetworkConnectorRequest')
|
|
22
|
+
CreateNetworkConnectorResponse = Shapes::StructureShape.new(name: 'CreateNetworkConnectorResponse')
|
|
23
|
+
DeleteNetworkConnectorRequest = Shapes::StructureShape.new(name: 'DeleteNetworkConnectorRequest')
|
|
24
|
+
DeleteNetworkConnectorResponse = Shapes::StructureShape.new(name: 'DeleteNetworkConnectorResponse')
|
|
25
|
+
GetNetworkConnectorRequest = Shapes::StructureShape.new(name: 'GetNetworkConnectorRequest')
|
|
26
|
+
GetNetworkConnectorResponse = Shapes::StructureShape.new(name: 'GetNetworkConnectorResponse')
|
|
27
|
+
InvalidParameterValueException = Shapes::StructureShape.new(name: 'InvalidParameterValueException')
|
|
28
|
+
ListNetworkConnectorsRequest = Shapes::StructureShape.new(name: 'ListNetworkConnectorsRequest')
|
|
29
|
+
ListNetworkConnectorsResponse = Shapes::StructureShape.new(name: 'ListNetworkConnectorsResponse')
|
|
30
|
+
MaxHundredListItems = Shapes::IntegerShape.new(name: 'MaxHundredListItems')
|
|
31
|
+
NetworkConnectorArn = Shapes::StringShape.new(name: 'NetworkConnectorArn')
|
|
32
|
+
NetworkConnectorConfiguration = Shapes::UnionShape.new(name: 'NetworkConnectorConfiguration')
|
|
33
|
+
NetworkConnectorId = Shapes::StringShape.new(name: 'NetworkConnectorId')
|
|
34
|
+
NetworkConnectorIdentifier = Shapes::StringShape.new(name: 'NetworkConnectorIdentifier')
|
|
35
|
+
NetworkConnectorLastUpdateStatus = Shapes::StringShape.new(name: 'NetworkConnectorLastUpdateStatus')
|
|
36
|
+
NetworkConnectorLastUpdateStatusReason = Shapes::StringShape.new(name: 'NetworkConnectorLastUpdateStatusReason')
|
|
37
|
+
NetworkConnectorLastUpdateStatusReasonCode = Shapes::StringShape.new(name: 'NetworkConnectorLastUpdateStatusReasonCode')
|
|
38
|
+
NetworkConnectorLimitExceededException = Shapes::StructureShape.new(name: 'NetworkConnectorLimitExceededException')
|
|
39
|
+
NetworkConnectorName = Shapes::StringShape.new(name: 'NetworkConnectorName')
|
|
40
|
+
NetworkConnectorRoleArn = Shapes::StringShape.new(name: 'NetworkConnectorRoleArn')
|
|
41
|
+
NetworkConnectorSecurityGroupId = Shapes::StringShape.new(name: 'NetworkConnectorSecurityGroupId')
|
|
42
|
+
NetworkConnectorSecurityGroupIds = Shapes::ListShape.new(name: 'NetworkConnectorSecurityGroupIds')
|
|
43
|
+
NetworkConnectorState = Shapes::StringShape.new(name: 'NetworkConnectorState')
|
|
44
|
+
NetworkConnectorStateReasonCode = Shapes::StringShape.new(name: 'NetworkConnectorStateReasonCode')
|
|
45
|
+
NetworkConnectorSubnetId = Shapes::StringShape.new(name: 'NetworkConnectorSubnetId')
|
|
46
|
+
NetworkConnectorSubnetIds = Shapes::ListShape.new(name: 'NetworkConnectorSubnetIds')
|
|
47
|
+
NetworkConnectorSummary = Shapes::StructureShape.new(name: 'NetworkConnectorSummary')
|
|
48
|
+
NetworkConnectorTagKey = Shapes::StringShape.new(name: 'NetworkConnectorTagKey')
|
|
49
|
+
NetworkConnectorTagValue = Shapes::StringShape.new(name: 'NetworkConnectorTagValue')
|
|
50
|
+
NetworkConnectorTags = Shapes::MapShape.new(name: 'NetworkConnectorTags')
|
|
51
|
+
NetworkConnectorType = Shapes::StringShape.new(name: 'NetworkConnectorType')
|
|
52
|
+
NetworkConnectorVersion = Shapes::IntegerShape.new(name: 'NetworkConnectorVersion')
|
|
53
|
+
NetworkConnectorVpcEgressConfiguration = Shapes::StructureShape.new(name: 'NetworkConnectorVpcEgressConfiguration')
|
|
54
|
+
NetworkConnectorsList = Shapes::ListShape.new(name: 'NetworkConnectorsList')
|
|
55
|
+
NetworkProtocol = Shapes::StringShape.new(name: 'NetworkProtocol')
|
|
56
|
+
ResourceConflictException = Shapes::StructureShape.new(name: 'ResourceConflictException')
|
|
57
|
+
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
|
58
|
+
ServiceException = Shapes::StructureShape.new(name: 'ServiceException')
|
|
59
|
+
String = Shapes::StringShape.new(name: 'String')
|
|
60
|
+
ThrottleReason = Shapes::StringShape.new(name: 'ThrottleReason')
|
|
61
|
+
TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
|
|
62
|
+
UpdateNetworkConnectorRequest = Shapes::StructureShape.new(name: 'UpdateNetworkConnectorRequest')
|
|
63
|
+
UpdateNetworkConnectorResponse = Shapes::StructureShape.new(name: 'UpdateNetworkConnectorResponse')
|
|
64
|
+
|
|
65
|
+
AssociatedComputeResourceTypesList.member = Shapes::ShapeRef.new(shape: ComputeResourceType)
|
|
66
|
+
|
|
67
|
+
CreateNetworkConnectorRequest.add_member(:name, Shapes::ShapeRef.new(shape: NetworkConnectorName, required: true, location_name: "Name"))
|
|
68
|
+
CreateNetworkConnectorRequest.add_member(:configuration, Shapes::ShapeRef.new(shape: NetworkConnectorConfiguration, required: true, location_name: "Configuration"))
|
|
69
|
+
CreateNetworkConnectorRequest.add_member(:operator_role, Shapes::ShapeRef.new(shape: NetworkConnectorRoleArn, location_name: "OperatorRole"))
|
|
70
|
+
CreateNetworkConnectorRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientTokenString, location_name: "ClientToken", metadata: {"idempotencyToken" => true}))
|
|
71
|
+
CreateNetworkConnectorRequest.add_member(:tags, Shapes::ShapeRef.new(shape: NetworkConnectorTags, location_name: "Tags"))
|
|
72
|
+
CreateNetworkConnectorRequest.struct_class = Types::CreateNetworkConnectorRequest
|
|
73
|
+
|
|
74
|
+
CreateNetworkConnectorResponse.add_member(:arn, Shapes::ShapeRef.new(shape: NetworkConnectorArn, required: true, location_name: "Arn"))
|
|
75
|
+
CreateNetworkConnectorResponse.add_member(:name, Shapes::ShapeRef.new(shape: NetworkConnectorName, required: true, location_name: "Name"))
|
|
76
|
+
CreateNetworkConnectorResponse.add_member(:id, Shapes::ShapeRef.new(shape: NetworkConnectorId, required: true, location_name: "Id"))
|
|
77
|
+
CreateNetworkConnectorResponse.add_member(:configuration, Shapes::ShapeRef.new(shape: NetworkConnectorConfiguration, location_name: "Configuration"))
|
|
78
|
+
CreateNetworkConnectorResponse.add_member(:operator_role, Shapes::ShapeRef.new(shape: NetworkConnectorRoleArn, location_name: "OperatorRole"))
|
|
79
|
+
CreateNetworkConnectorResponse.add_member(:state, Shapes::ShapeRef.new(shape: NetworkConnectorState, location_name: "State"))
|
|
80
|
+
CreateNetworkConnectorResponse.struct_class = Types::CreateNetworkConnectorResponse
|
|
81
|
+
|
|
82
|
+
DeleteNetworkConnectorRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: NetworkConnectorIdentifier, required: true, location: "uri", location_name: "Identifier"))
|
|
83
|
+
DeleteNetworkConnectorRequest.struct_class = Types::DeleteNetworkConnectorRequest
|
|
84
|
+
|
|
85
|
+
DeleteNetworkConnectorResponse.add_member(:arn, Shapes::ShapeRef.new(shape: NetworkConnectorArn, required: true, location_name: "Arn"))
|
|
86
|
+
DeleteNetworkConnectorResponse.add_member(:name, Shapes::ShapeRef.new(shape: NetworkConnectorName, required: true, location_name: "Name"))
|
|
87
|
+
DeleteNetworkConnectorResponse.add_member(:id, Shapes::ShapeRef.new(shape: NetworkConnectorId, required: true, location_name: "Id"))
|
|
88
|
+
DeleteNetworkConnectorResponse.add_member(:configuration, Shapes::ShapeRef.new(shape: NetworkConnectorConfiguration, location_name: "Configuration"))
|
|
89
|
+
DeleteNetworkConnectorResponse.add_member(:operator_role, Shapes::ShapeRef.new(shape: NetworkConnectorRoleArn, location_name: "OperatorRole"))
|
|
90
|
+
DeleteNetworkConnectorResponse.add_member(:state, Shapes::ShapeRef.new(shape: NetworkConnectorState, location_name: "State"))
|
|
91
|
+
DeleteNetworkConnectorResponse.struct_class = Types::DeleteNetworkConnectorResponse
|
|
92
|
+
|
|
93
|
+
GetNetworkConnectorRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: NetworkConnectorIdentifier, required: true, location: "uri", location_name: "Identifier"))
|
|
94
|
+
GetNetworkConnectorRequest.struct_class = Types::GetNetworkConnectorRequest
|
|
95
|
+
|
|
96
|
+
GetNetworkConnectorResponse.add_member(:arn, Shapes::ShapeRef.new(shape: NetworkConnectorArn, required: true, location_name: "Arn"))
|
|
97
|
+
GetNetworkConnectorResponse.add_member(:name, Shapes::ShapeRef.new(shape: NetworkConnectorName, required: true, location_name: "Name"))
|
|
98
|
+
GetNetworkConnectorResponse.add_member(:id, Shapes::ShapeRef.new(shape: NetworkConnectorId, required: true, location_name: "Id"))
|
|
99
|
+
GetNetworkConnectorResponse.add_member(:version, Shapes::ShapeRef.new(shape: NetworkConnectorVersion, location_name: "Version"))
|
|
100
|
+
GetNetworkConnectorResponse.add_member(:configuration, Shapes::ShapeRef.new(shape: NetworkConnectorConfiguration, location_name: "Configuration"))
|
|
101
|
+
GetNetworkConnectorResponse.add_member(:operator_role, Shapes::ShapeRef.new(shape: NetworkConnectorRoleArn, location_name: "OperatorRole"))
|
|
102
|
+
GetNetworkConnectorResponse.add_member(:state, Shapes::ShapeRef.new(shape: NetworkConnectorState, location_name: "State"))
|
|
103
|
+
GetNetworkConnectorResponse.add_member(:state_reason, Shapes::ShapeRef.new(shape: String, location_name: "StateReason"))
|
|
104
|
+
GetNetworkConnectorResponse.add_member(:state_reason_code, Shapes::ShapeRef.new(shape: NetworkConnectorStateReasonCode, location_name: "StateReasonCode"))
|
|
105
|
+
GetNetworkConnectorResponse.add_member(:last_update_status, Shapes::ShapeRef.new(shape: NetworkConnectorLastUpdateStatus, location_name: "LastUpdateStatus"))
|
|
106
|
+
GetNetworkConnectorResponse.add_member(:last_update_status_reason, Shapes::ShapeRef.new(shape: NetworkConnectorLastUpdateStatusReason, location_name: "LastUpdateStatusReason"))
|
|
107
|
+
GetNetworkConnectorResponse.add_member(:last_update_status_reason_code, Shapes::ShapeRef.new(shape: NetworkConnectorLastUpdateStatusReasonCode, location_name: "LastUpdateStatusReasonCode"))
|
|
108
|
+
GetNetworkConnectorResponse.add_member(:last_modified, Shapes::ShapeRef.new(shape: CoreTimestamp, location_name: "LastModified"))
|
|
109
|
+
GetNetworkConnectorResponse.struct_class = Types::GetNetworkConnectorResponse
|
|
110
|
+
|
|
111
|
+
InvalidParameterValueException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
|
|
112
|
+
InvalidParameterValueException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
|
113
|
+
InvalidParameterValueException.struct_class = Types::InvalidParameterValueException
|
|
114
|
+
|
|
115
|
+
ListNetworkConnectorsRequest.add_member(:state, Shapes::ShapeRef.new(shape: NetworkConnectorState, location: "querystring", location_name: "State"))
|
|
116
|
+
ListNetworkConnectorsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "Marker"))
|
|
117
|
+
ListNetworkConnectorsRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: MaxHundredListItems, location: "querystring", location_name: "MaxItems"))
|
|
118
|
+
ListNetworkConnectorsRequest.struct_class = Types::ListNetworkConnectorsRequest
|
|
119
|
+
|
|
120
|
+
ListNetworkConnectorsResponse.add_member(:network_connectors, Shapes::ShapeRef.new(shape: NetworkConnectorsList, required: true, location_name: "NetworkConnectors"))
|
|
121
|
+
ListNetworkConnectorsResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: String, location_name: "NextMarker"))
|
|
122
|
+
ListNetworkConnectorsResponse.struct_class = Types::ListNetworkConnectorsResponse
|
|
123
|
+
|
|
124
|
+
NetworkConnectorConfiguration.add_member(:vpc_egress_configuration, Shapes::ShapeRef.new(shape: NetworkConnectorVpcEgressConfiguration, location_name: "VpcEgressConfiguration"))
|
|
125
|
+
NetworkConnectorConfiguration.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
126
|
+
NetworkConnectorConfiguration.add_member_subclass(:vpc_egress_configuration, Types::NetworkConnectorConfiguration::VpcEgressConfiguration)
|
|
127
|
+
NetworkConnectorConfiguration.add_member_subclass(:unknown, Types::NetworkConnectorConfiguration::Unknown)
|
|
128
|
+
NetworkConnectorConfiguration.struct_class = Types::NetworkConnectorConfiguration
|
|
129
|
+
|
|
130
|
+
NetworkConnectorLimitExceededException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
|
|
131
|
+
NetworkConnectorLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
|
132
|
+
NetworkConnectorLimitExceededException.struct_class = Types::NetworkConnectorLimitExceededException
|
|
133
|
+
|
|
134
|
+
NetworkConnectorSecurityGroupIds.member = Shapes::ShapeRef.new(shape: NetworkConnectorSecurityGroupId)
|
|
135
|
+
|
|
136
|
+
NetworkConnectorSubnetIds.member = Shapes::ShapeRef.new(shape: NetworkConnectorSubnetId)
|
|
137
|
+
|
|
138
|
+
NetworkConnectorSummary.add_member(:arn, Shapes::ShapeRef.new(shape: NetworkConnectorArn, required: true, location_name: "Arn"))
|
|
139
|
+
NetworkConnectorSummary.add_member(:name, Shapes::ShapeRef.new(shape: NetworkConnectorName, required: true, location_name: "Name"))
|
|
140
|
+
NetworkConnectorSummary.add_member(:id, Shapes::ShapeRef.new(shape: NetworkConnectorId, required: true, location_name: "Id"))
|
|
141
|
+
NetworkConnectorSummary.add_member(:type, Shapes::ShapeRef.new(shape: NetworkConnectorType, required: true, location_name: "Type"))
|
|
142
|
+
NetworkConnectorSummary.add_member(:state, Shapes::ShapeRef.new(shape: NetworkConnectorState, location_name: "State"))
|
|
143
|
+
NetworkConnectorSummary.add_member(:last_modified, Shapes::ShapeRef.new(shape: CoreTimestamp, location_name: "LastModified"))
|
|
144
|
+
NetworkConnectorSummary.struct_class = Types::NetworkConnectorSummary
|
|
145
|
+
|
|
146
|
+
NetworkConnectorTags.key = Shapes::ShapeRef.new(shape: NetworkConnectorTagKey)
|
|
147
|
+
NetworkConnectorTags.value = Shapes::ShapeRef.new(shape: NetworkConnectorTagValue)
|
|
148
|
+
|
|
149
|
+
NetworkConnectorVpcEgressConfiguration.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: NetworkConnectorSubnetIds, location_name: "SubnetIds"))
|
|
150
|
+
NetworkConnectorVpcEgressConfiguration.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: NetworkConnectorSecurityGroupIds, location_name: "SecurityGroupIds"))
|
|
151
|
+
NetworkConnectorVpcEgressConfiguration.add_member(:network_protocol, Shapes::ShapeRef.new(shape: NetworkProtocol, location_name: "NetworkProtocol"))
|
|
152
|
+
NetworkConnectorVpcEgressConfiguration.add_member(:associated_compute_resource_types, Shapes::ShapeRef.new(shape: AssociatedComputeResourceTypesList, location_name: "AssociatedComputeResourceTypes"))
|
|
153
|
+
NetworkConnectorVpcEgressConfiguration.struct_class = Types::NetworkConnectorVpcEgressConfiguration
|
|
154
|
+
|
|
155
|
+
NetworkConnectorsList.member = Shapes::ShapeRef.new(shape: NetworkConnectorSummary)
|
|
156
|
+
|
|
157
|
+
ResourceConflictException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
|
|
158
|
+
ResourceConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
|
159
|
+
ResourceConflictException.struct_class = Types::ResourceConflictException
|
|
160
|
+
|
|
161
|
+
ResourceNotFoundException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
|
|
162
|
+
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
|
163
|
+
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
|
164
|
+
|
|
165
|
+
ServiceException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
|
|
166
|
+
ServiceException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
|
167
|
+
ServiceException.struct_class = Types::ServiceException
|
|
168
|
+
|
|
169
|
+
TooManyRequestsException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "Retry-After"))
|
|
170
|
+
TooManyRequestsException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
|
|
171
|
+
TooManyRequestsException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
|
172
|
+
TooManyRequestsException.add_member(:reason, Shapes::ShapeRef.new(shape: ThrottleReason, location_name: "Reason"))
|
|
173
|
+
TooManyRequestsException.struct_class = Types::TooManyRequestsException
|
|
174
|
+
|
|
175
|
+
UpdateNetworkConnectorRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: NetworkConnectorIdentifier, required: true, location: "uri", location_name: "Identifier"))
|
|
176
|
+
UpdateNetworkConnectorRequest.add_member(:configuration, Shapes::ShapeRef.new(shape: NetworkConnectorConfiguration, location_name: "Configuration"))
|
|
177
|
+
UpdateNetworkConnectorRequest.add_member(:operator_role, Shapes::ShapeRef.new(shape: NetworkConnectorRoleArn, location_name: "OperatorRole"))
|
|
178
|
+
UpdateNetworkConnectorRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientTokenString, location_name: "ClientToken", metadata: {"idempotencyToken" => true}))
|
|
179
|
+
UpdateNetworkConnectorRequest.struct_class = Types::UpdateNetworkConnectorRequest
|
|
180
|
+
|
|
181
|
+
UpdateNetworkConnectorResponse.add_member(:arn, Shapes::ShapeRef.new(shape: NetworkConnectorArn, required: true, location_name: "Arn"))
|
|
182
|
+
UpdateNetworkConnectorResponse.add_member(:name, Shapes::ShapeRef.new(shape: NetworkConnectorName, required: true, location_name: "Name"))
|
|
183
|
+
UpdateNetworkConnectorResponse.add_member(:id, Shapes::ShapeRef.new(shape: NetworkConnectorId, required: true, location_name: "Id"))
|
|
184
|
+
UpdateNetworkConnectorResponse.add_member(:operator_role, Shapes::ShapeRef.new(shape: NetworkConnectorRoleArn, location_name: "OperatorRole"))
|
|
185
|
+
UpdateNetworkConnectorResponse.add_member(:configuration, Shapes::ShapeRef.new(shape: NetworkConnectorConfiguration, location_name: "Configuration"))
|
|
186
|
+
UpdateNetworkConnectorResponse.add_member(:state, Shapes::ShapeRef.new(shape: NetworkConnectorState, location_name: "State"))
|
|
187
|
+
UpdateNetworkConnectorResponse.add_member(:last_update_status, Shapes::ShapeRef.new(shape: NetworkConnectorLastUpdateStatus, location_name: "LastUpdateStatus"))
|
|
188
|
+
UpdateNetworkConnectorResponse.add_member(:last_update_status_reason, Shapes::ShapeRef.new(shape: NetworkConnectorLastUpdateStatusReason, location_name: "LastUpdateStatusReason"))
|
|
189
|
+
UpdateNetworkConnectorResponse.add_member(:last_modified, Shapes::ShapeRef.new(shape: CoreTimestamp, location_name: "LastModified"))
|
|
190
|
+
UpdateNetworkConnectorResponse.struct_class = Types::UpdateNetworkConnectorResponse
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
# @api private
|
|
194
|
+
API = Seahorse::Model::Api.new.tap do |api|
|
|
195
|
+
|
|
196
|
+
api.version = "2026-04-30"
|
|
197
|
+
|
|
198
|
+
api.metadata = {
|
|
199
|
+
"apiVersion" => "2026-04-30",
|
|
200
|
+
"auth" => ["aws.auth#sigv4"],
|
|
201
|
+
"endpointPrefix" => "lambda",
|
|
202
|
+
"protocol" => "rest-json",
|
|
203
|
+
"protocols" => ["rest-json"],
|
|
204
|
+
"serviceFullName" => "AWS Lambda Core",
|
|
205
|
+
"serviceId" => "Lambda Core",
|
|
206
|
+
"signatureVersion" => "v4",
|
|
207
|
+
"signingName" => "lambda",
|
|
208
|
+
"uid" => "lambda-core-2026-04-30",
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
api.add_operation(:create_network_connector, Seahorse::Model::Operation.new.tap do |o|
|
|
212
|
+
o.name = "CreateNetworkConnector"
|
|
213
|
+
o.http_method = "POST"
|
|
214
|
+
o.http_request_uri = "/2026-04-04/network-connectors"
|
|
215
|
+
o.input = Shapes::ShapeRef.new(shape: CreateNetworkConnectorRequest)
|
|
216
|
+
o.output = Shapes::ShapeRef.new(shape: CreateNetworkConnectorResponse)
|
|
217
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
|
218
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
|
219
|
+
o.errors << Shapes::ShapeRef.new(shape: NetworkConnectorLimitExceededException)
|
|
220
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
|
221
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
222
|
+
end)
|
|
223
|
+
|
|
224
|
+
api.add_operation(:delete_network_connector, Seahorse::Model::Operation.new.tap do |o|
|
|
225
|
+
o.name = "DeleteNetworkConnector"
|
|
226
|
+
o.http_method = "DELETE"
|
|
227
|
+
o.http_request_uri = "/2026-04-04/network-connectors/{Identifier}"
|
|
228
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteNetworkConnectorRequest)
|
|
229
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteNetworkConnectorResponse)
|
|
230
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
|
231
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
|
232
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
|
233
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
234
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
235
|
+
end)
|
|
236
|
+
|
|
237
|
+
api.add_operation(:get_network_connector, Seahorse::Model::Operation.new.tap do |o|
|
|
238
|
+
o.name = "GetNetworkConnector"
|
|
239
|
+
o.http_method = "GET"
|
|
240
|
+
o.http_request_uri = "/2026-04-04/network-connectors/{Identifier}"
|
|
241
|
+
o.input = Shapes::ShapeRef.new(shape: GetNetworkConnectorRequest)
|
|
242
|
+
o.output = Shapes::ShapeRef.new(shape: GetNetworkConnectorResponse)
|
|
243
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
|
244
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
|
245
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
246
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
247
|
+
end)
|
|
248
|
+
|
|
249
|
+
api.add_operation(:list_network_connectors, Seahorse::Model::Operation.new.tap do |o|
|
|
250
|
+
o.name = "ListNetworkConnectors"
|
|
251
|
+
o.http_method = "GET"
|
|
252
|
+
o.http_request_uri = "/2026-04-04/network-connectors"
|
|
253
|
+
o.input = Shapes::ShapeRef.new(shape: ListNetworkConnectorsRequest)
|
|
254
|
+
o.output = Shapes::ShapeRef.new(shape: ListNetworkConnectorsResponse)
|
|
255
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
|
256
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
|
257
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
258
|
+
o[:pager] = Aws::Pager.new(
|
|
259
|
+
limit_key: "max_items",
|
|
260
|
+
tokens: {
|
|
261
|
+
"next_marker" => "marker"
|
|
262
|
+
}
|
|
263
|
+
)
|
|
264
|
+
end)
|
|
265
|
+
|
|
266
|
+
api.add_operation(:update_network_connector, Seahorse::Model::Operation.new.tap do |o|
|
|
267
|
+
o.name = "UpdateNetworkConnector"
|
|
268
|
+
o.http_method = "PUT"
|
|
269
|
+
o.http_request_uri = "/2026-04-04/network-connectors/{Identifier}"
|
|
270
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateNetworkConnectorRequest)
|
|
271
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateNetworkConnectorResponse)
|
|
272
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
|
273
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
|
274
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
|
275
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
276
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
277
|
+
end)
|
|
278
|
+
end
|
|
279
|
+
|
|
280
|
+
end
|
|
281
|
+
end
|
|
File without changes
|
|
@@ -0,0 +1,69 @@
|
|
|
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
|
+
# Endpoint parameters used to influence endpoints per request.
|
|
12
|
+
#
|
|
13
|
+
# @!attribute region
|
|
14
|
+
# The AWS region used to dispatch the request.
|
|
15
|
+
#
|
|
16
|
+
# @return [string]
|
|
17
|
+
#
|
|
18
|
+
# @!attribute use_dual_stack
|
|
19
|
+
# When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
|
|
20
|
+
#
|
|
21
|
+
# @return [boolean]
|
|
22
|
+
#
|
|
23
|
+
# @!attribute use_fips
|
|
24
|
+
# When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
|
|
25
|
+
#
|
|
26
|
+
# @return [boolean]
|
|
27
|
+
#
|
|
28
|
+
# @!attribute endpoint
|
|
29
|
+
# Override the endpoint used to send this request
|
|
30
|
+
#
|
|
31
|
+
# @return [string]
|
|
32
|
+
#
|
|
33
|
+
EndpointParameters = Struct.new(
|
|
34
|
+
:region,
|
|
35
|
+
:use_dual_stack,
|
|
36
|
+
:use_fips,
|
|
37
|
+
:endpoint,
|
|
38
|
+
) do
|
|
39
|
+
include Aws::Structure
|
|
40
|
+
|
|
41
|
+
# @api private
|
|
42
|
+
class << self
|
|
43
|
+
PARAM_MAP = {
|
|
44
|
+
'Region' => :region,
|
|
45
|
+
'UseDualStack' => :use_dual_stack,
|
|
46
|
+
'UseFIPS' => :use_fips,
|
|
47
|
+
'Endpoint' => :endpoint,
|
|
48
|
+
}.freeze
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
def initialize(options = {})
|
|
52
|
+
self[:region] = options[:region]
|
|
53
|
+
self[:use_dual_stack] = options[:use_dual_stack]
|
|
54
|
+
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
|
55
|
+
self[:use_fips] = options[:use_fips]
|
|
56
|
+
self[:use_fips] = false if self[:use_fips].nil?
|
|
57
|
+
self[:endpoint] = options[:endpoint]
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
def self.create(config, options={})
|
|
61
|
+
new({
|
|
62
|
+
region: config.region,
|
|
63
|
+
use_dual_stack: config.use_dualstack_endpoint,
|
|
64
|
+
use_fips: config.use_fips_endpoint,
|
|
65
|
+
endpoint: (config.endpoint.to_s unless config.regional_endpoint),
|
|
66
|
+
}.merge(options))
|
|
67
|
+
end
|
|
68
|
+
end
|
|
69
|
+
end
|
|
@@ -0,0 +1,50 @@
|
|
|
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
|
+
class EndpointProvider
|
|
12
|
+
def resolve_endpoint(parameters)
|
|
13
|
+
if Aws::Endpoints::Matchers.set?(parameters.endpoint)
|
|
14
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
|
|
15
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
|
16
|
+
end
|
|
17
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
|
18
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
|
19
|
+
end
|
|
20
|
+
return Aws::Endpoints::Endpoint.new(url: parameters.endpoint, headers: {}, properties: {})
|
|
21
|
+
end
|
|
22
|
+
if Aws::Endpoints::Matchers.set?(parameters.region)
|
|
23
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region))
|
|
24
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
|
25
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
|
26
|
+
return Aws::Endpoints::Endpoint.new(url: "https://lambda-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
|
27
|
+
end
|
|
28
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
|
29
|
+
end
|
|
30
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
|
|
31
|
+
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
|
32
|
+
return Aws::Endpoints::Endpoint.new(url: "https://lambda-fips.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
|
33
|
+
end
|
|
34
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
|
35
|
+
end
|
|
36
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
|
37
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
|
38
|
+
return Aws::Endpoints::Endpoint.new(url: "https://lambda.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
|
39
|
+
end
|
|
40
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
|
41
|
+
end
|
|
42
|
+
return Aws::Endpoints::Endpoint.new(url: "https://lambda.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
|
46
|
+
raise ArgumentError, 'No endpoint could be resolved'
|
|
47
|
+
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
end
|
|
@@ -0,0 +1,20 @@
|
|
|
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
|
+
module Aws::LambdaCore
|
|
12
|
+
# @api private
|
|
13
|
+
module Endpoints
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
def self.parameters_for_operation(context)
|
|
17
|
+
Aws::LambdaCore::EndpointParameters.create(context.config)
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
end
|
|
@@ -0,0 +1,174 @@
|
|
|
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
|
+
|
|
12
|
+
# When LambdaCore returns an error response, the Ruby SDK constructs and raises an error.
|
|
13
|
+
# These errors all extend Aws::LambdaCore::Errors::ServiceError < {Aws::Errors::ServiceError}
|
|
14
|
+
#
|
|
15
|
+
# You can rescue all LambdaCore errors using ServiceError:
|
|
16
|
+
#
|
|
17
|
+
# begin
|
|
18
|
+
# # do stuff
|
|
19
|
+
# rescue Aws::LambdaCore::Errors::ServiceError
|
|
20
|
+
# # rescues all LambdaCore API errors
|
|
21
|
+
# end
|
|
22
|
+
#
|
|
23
|
+
#
|
|
24
|
+
# ## Request Context
|
|
25
|
+
# ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
|
|
26
|
+
# information about the request that generated the error.
|
|
27
|
+
# See {Seahorse::Client::RequestContext} for more information.
|
|
28
|
+
#
|
|
29
|
+
# ## Error Classes
|
|
30
|
+
# * {InvalidParameterValueException}
|
|
31
|
+
# * {NetworkConnectorLimitExceededException}
|
|
32
|
+
# * {ResourceConflictException}
|
|
33
|
+
# * {ResourceNotFoundException}
|
|
34
|
+
# * {ServiceException}
|
|
35
|
+
# * {TooManyRequestsException}
|
|
36
|
+
#
|
|
37
|
+
# Additionally, error classes are dynamically generated for service errors based on the error code
|
|
38
|
+
# if they are not defined above.
|
|
39
|
+
module Errors
|
|
40
|
+
|
|
41
|
+
extend Aws::Errors::DynamicErrors
|
|
42
|
+
|
|
43
|
+
class InvalidParameterValueException < ServiceError
|
|
44
|
+
|
|
45
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
46
|
+
# @param [String] message
|
|
47
|
+
# @param [Aws::LambdaCore::Types::InvalidParameterValueException] data
|
|
48
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
49
|
+
super(context, message, data)
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
# @return [String]
|
|
53
|
+
def type
|
|
54
|
+
@data[:type]
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
# @return [String]
|
|
58
|
+
def message
|
|
59
|
+
@message || @data[:message]
|
|
60
|
+
end
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
class NetworkConnectorLimitExceededException < ServiceError
|
|
64
|
+
|
|
65
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
66
|
+
# @param [String] message
|
|
67
|
+
# @param [Aws::LambdaCore::Types::NetworkConnectorLimitExceededException] data
|
|
68
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
69
|
+
super(context, message, data)
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
# @return [String]
|
|
73
|
+
def type
|
|
74
|
+
@data[:type]
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
# @return [String]
|
|
78
|
+
def message
|
|
79
|
+
@message || @data[:message]
|
|
80
|
+
end
|
|
81
|
+
end
|
|
82
|
+
|
|
83
|
+
class ResourceConflictException < ServiceError
|
|
84
|
+
|
|
85
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
86
|
+
# @param [String] message
|
|
87
|
+
# @param [Aws::LambdaCore::Types::ResourceConflictException] data
|
|
88
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
89
|
+
super(context, message, data)
|
|
90
|
+
end
|
|
91
|
+
|
|
92
|
+
# @return [String]
|
|
93
|
+
def type
|
|
94
|
+
@data[:type]
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
# @return [String]
|
|
98
|
+
def message
|
|
99
|
+
@message || @data[:message]
|
|
100
|
+
end
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
class ResourceNotFoundException < ServiceError
|
|
104
|
+
|
|
105
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
106
|
+
# @param [String] message
|
|
107
|
+
# @param [Aws::LambdaCore::Types::ResourceNotFoundException] data
|
|
108
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
109
|
+
super(context, message, data)
|
|
110
|
+
end
|
|
111
|
+
|
|
112
|
+
# @return [String]
|
|
113
|
+
def type
|
|
114
|
+
@data[:type]
|
|
115
|
+
end
|
|
116
|
+
|
|
117
|
+
# @return [String]
|
|
118
|
+
def message
|
|
119
|
+
@message || @data[:message]
|
|
120
|
+
end
|
|
121
|
+
end
|
|
122
|
+
|
|
123
|
+
class ServiceException < ServiceError
|
|
124
|
+
|
|
125
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
126
|
+
# @param [String] message
|
|
127
|
+
# @param [Aws::LambdaCore::Types::ServiceException] data
|
|
128
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
129
|
+
super(context, message, data)
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
# @return [String]
|
|
133
|
+
def type
|
|
134
|
+
@data[:type]
|
|
135
|
+
end
|
|
136
|
+
|
|
137
|
+
# @return [String]
|
|
138
|
+
def message
|
|
139
|
+
@message || @data[:message]
|
|
140
|
+
end
|
|
141
|
+
end
|
|
142
|
+
|
|
143
|
+
class TooManyRequestsException < ServiceError
|
|
144
|
+
|
|
145
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
146
|
+
# @param [String] message
|
|
147
|
+
# @param [Aws::LambdaCore::Types::TooManyRequestsException] data
|
|
148
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
149
|
+
super(context, message, data)
|
|
150
|
+
end
|
|
151
|
+
|
|
152
|
+
# @return [String]
|
|
153
|
+
def retry_after_seconds
|
|
154
|
+
@data[:retry_after_seconds]
|
|
155
|
+
end
|
|
156
|
+
|
|
157
|
+
# @return [String]
|
|
158
|
+
def type
|
|
159
|
+
@data[:type]
|
|
160
|
+
end
|
|
161
|
+
|
|
162
|
+
# @return [String]
|
|
163
|
+
def message
|
|
164
|
+
@message || @data[:message]
|
|
165
|
+
end
|
|
166
|
+
|
|
167
|
+
# @return [String]
|
|
168
|
+
def reason
|
|
169
|
+
@data[:reason]
|
|
170
|
+
end
|
|
171
|
+
end
|
|
172
|
+
|
|
173
|
+
end
|
|
174
|
+
end
|