aws-sdk-lambda 1.0.0.rc2 → 1.0.0.rc3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,766 +1,764 @@
1
1
  # WARNING ABOUT GENERATED CODE
2
2
  #
3
- # This file is generated. See the contributing for info on making contributions:
3
+ # This file is generated. See the contributing guide for more information:
4
4
  # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
5
  #
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
- module Aws
9
- module Lambda
10
- # @api private
11
- module ClientApi
12
-
13
- include Seahorse::Model
14
-
15
- AccountLimit = Shapes::StructureShape.new(name: 'AccountLimit')
16
- AccountUsage = Shapes::StructureShape.new(name: 'AccountUsage')
17
- Action = Shapes::StringShape.new(name: 'Action')
18
- AddPermissionRequest = Shapes::StructureShape.new(name: 'AddPermissionRequest')
19
- AddPermissionResponse = Shapes::StructureShape.new(name: 'AddPermissionResponse')
20
- Alias = Shapes::StringShape.new(name: 'Alias')
21
- AliasConfiguration = Shapes::StructureShape.new(name: 'AliasConfiguration')
22
- AliasList = Shapes::ListShape.new(name: 'AliasList')
23
- Arn = Shapes::StringShape.new(name: 'Arn')
24
- BatchSize = Shapes::IntegerShape.new(name: 'BatchSize')
25
- Blob = Shapes::BlobShape.new(name: 'Blob')
26
- BlobStream = Shapes::BlobShape.new(name: 'BlobStream')
27
- Boolean = Shapes::BooleanShape.new(name: 'Boolean')
28
- CodeStorageExceededException = Shapes::StructureShape.new(name: 'CodeStorageExceededException')
29
- CreateAliasRequest = Shapes::StructureShape.new(name: 'CreateAliasRequest')
30
- CreateEventSourceMappingRequest = Shapes::StructureShape.new(name: 'CreateEventSourceMappingRequest')
31
- CreateFunctionRequest = Shapes::StructureShape.new(name: 'CreateFunctionRequest')
32
- Date = Shapes::TimestampShape.new(name: 'Date')
33
- DeadLetterConfig = Shapes::StructureShape.new(name: 'DeadLetterConfig')
34
- DeleteAliasRequest = Shapes::StructureShape.new(name: 'DeleteAliasRequest')
35
- DeleteEventSourceMappingRequest = Shapes::StructureShape.new(name: 'DeleteEventSourceMappingRequest')
36
- DeleteFunctionRequest = Shapes::StructureShape.new(name: 'DeleteFunctionRequest')
37
- Description = Shapes::StringShape.new(name: 'Description')
38
- EC2AccessDeniedException = Shapes::StructureShape.new(name: 'EC2AccessDeniedException')
39
- EC2ThrottledException = Shapes::StructureShape.new(name: 'EC2ThrottledException')
40
- EC2UnexpectedException = Shapes::StructureShape.new(name: 'EC2UnexpectedException')
41
- ENILimitReachedException = Shapes::StructureShape.new(name: 'ENILimitReachedException')
42
- Enabled = Shapes::BooleanShape.new(name: 'Enabled')
43
- Environment = Shapes::StructureShape.new(name: 'Environment')
44
- EnvironmentError = Shapes::StructureShape.new(name: 'EnvironmentError')
45
- EnvironmentResponse = Shapes::StructureShape.new(name: 'EnvironmentResponse')
46
- EnvironmentVariableName = Shapes::StringShape.new(name: 'EnvironmentVariableName')
47
- EnvironmentVariableValue = Shapes::StringShape.new(name: 'EnvironmentVariableValue')
48
- EnvironmentVariables = Shapes::MapShape.new(name: 'EnvironmentVariables')
49
- EventSourceMappingConfiguration = Shapes::StructureShape.new(name: 'EventSourceMappingConfiguration')
50
- EventSourceMappingsList = Shapes::ListShape.new(name: 'EventSourceMappingsList')
51
- EventSourcePosition = Shapes::StringShape.new(name: 'EventSourcePosition')
52
- EventSourceToken = Shapes::StringShape.new(name: 'EventSourceToken')
53
- FunctionArn = Shapes::StringShape.new(name: 'FunctionArn')
54
- FunctionCode = Shapes::StructureShape.new(name: 'FunctionCode')
55
- FunctionCodeLocation = Shapes::StructureShape.new(name: 'FunctionCodeLocation')
56
- FunctionConfiguration = Shapes::StructureShape.new(name: 'FunctionConfiguration')
57
- FunctionList = Shapes::ListShape.new(name: 'FunctionList')
58
- FunctionName = Shapes::StringShape.new(name: 'FunctionName')
59
- GetAccountSettingsRequest = Shapes::StructureShape.new(name: 'GetAccountSettingsRequest')
60
- GetAccountSettingsResponse = Shapes::StructureShape.new(name: 'GetAccountSettingsResponse')
61
- GetAliasRequest = Shapes::StructureShape.new(name: 'GetAliasRequest')
62
- GetEventSourceMappingRequest = Shapes::StructureShape.new(name: 'GetEventSourceMappingRequest')
63
- GetFunctionConfigurationRequest = Shapes::StructureShape.new(name: 'GetFunctionConfigurationRequest')
64
- GetFunctionRequest = Shapes::StructureShape.new(name: 'GetFunctionRequest')
65
- GetFunctionResponse = Shapes::StructureShape.new(name: 'GetFunctionResponse')
66
- GetPolicyRequest = Shapes::StructureShape.new(name: 'GetPolicyRequest')
67
- GetPolicyResponse = Shapes::StructureShape.new(name: 'GetPolicyResponse')
68
- Handler = Shapes::StringShape.new(name: 'Handler')
69
- HttpStatus = Shapes::IntegerShape.new(name: 'HttpStatus')
70
- Integer = Shapes::IntegerShape.new(name: 'Integer')
71
- InvalidParameterValueException = Shapes::StructureShape.new(name: 'InvalidParameterValueException')
72
- InvalidRequestContentException = Shapes::StructureShape.new(name: 'InvalidRequestContentException')
73
- InvalidSecurityGroupIDException = Shapes::StructureShape.new(name: 'InvalidSecurityGroupIDException')
74
- InvalidSubnetIDException = Shapes::StructureShape.new(name: 'InvalidSubnetIDException')
75
- InvalidZipFileException = Shapes::StructureShape.new(name: 'InvalidZipFileException')
76
- InvocationRequest = Shapes::StructureShape.new(name: 'InvocationRequest')
77
- InvocationResponse = Shapes::StructureShape.new(name: 'InvocationResponse')
78
- InvocationType = Shapes::StringShape.new(name: 'InvocationType')
79
- InvokeAsyncRequest = Shapes::StructureShape.new(name: 'InvokeAsyncRequest')
80
- InvokeAsyncResponse = Shapes::StructureShape.new(name: 'InvokeAsyncResponse')
81
- KMSAccessDeniedException = Shapes::StructureShape.new(name: 'KMSAccessDeniedException')
82
- KMSDisabledException = Shapes::StructureShape.new(name: 'KMSDisabledException')
83
- KMSInvalidStateException = Shapes::StructureShape.new(name: 'KMSInvalidStateException')
84
- KMSKeyArn = Shapes::StringShape.new(name: 'KMSKeyArn')
85
- KMSNotFoundException = Shapes::StructureShape.new(name: 'KMSNotFoundException')
86
- ListAliasesRequest = Shapes::StructureShape.new(name: 'ListAliasesRequest')
87
- ListAliasesResponse = Shapes::StructureShape.new(name: 'ListAliasesResponse')
88
- ListEventSourceMappingsRequest = Shapes::StructureShape.new(name: 'ListEventSourceMappingsRequest')
89
- ListEventSourceMappingsResponse = Shapes::StructureShape.new(name: 'ListEventSourceMappingsResponse')
90
- ListFunctionsRequest = Shapes::StructureShape.new(name: 'ListFunctionsRequest')
91
- ListFunctionsResponse = Shapes::StructureShape.new(name: 'ListFunctionsResponse')
92
- ListVersionsByFunctionRequest = Shapes::StructureShape.new(name: 'ListVersionsByFunctionRequest')
93
- ListVersionsByFunctionResponse = Shapes::StructureShape.new(name: 'ListVersionsByFunctionResponse')
94
- LogType = Shapes::StringShape.new(name: 'LogType')
95
- Long = Shapes::IntegerShape.new(name: 'Long')
96
- MaxListItems = Shapes::IntegerShape.new(name: 'MaxListItems')
97
- MemorySize = Shapes::IntegerShape.new(name: 'MemorySize')
98
- PolicyLengthExceededException = Shapes::StructureShape.new(name: 'PolicyLengthExceededException')
99
- Principal = Shapes::StringShape.new(name: 'Principal')
100
- PublishVersionRequest = Shapes::StructureShape.new(name: 'PublishVersionRequest')
101
- Qualifier = Shapes::StringShape.new(name: 'Qualifier')
102
- RemovePermissionRequest = Shapes::StructureShape.new(name: 'RemovePermissionRequest')
103
- RequestTooLargeException = Shapes::StructureShape.new(name: 'RequestTooLargeException')
104
- ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
105
- ResourceConflictException = Shapes::StructureShape.new(name: 'ResourceConflictException')
106
- ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
107
- RoleArn = Shapes::StringShape.new(name: 'RoleArn')
108
- Runtime = Shapes::StringShape.new(name: 'Runtime')
109
- S3Bucket = Shapes::StringShape.new(name: 'S3Bucket')
110
- S3Key = Shapes::StringShape.new(name: 'S3Key')
111
- S3ObjectVersion = Shapes::StringShape.new(name: 'S3ObjectVersion')
112
- SecurityGroupId = Shapes::StringShape.new(name: 'SecurityGroupId')
113
- SecurityGroupIds = Shapes::ListShape.new(name: 'SecurityGroupIds')
114
- SensitiveString = Shapes::StringShape.new(name: 'SensitiveString')
115
- ServiceException = Shapes::StructureShape.new(name: 'ServiceException')
116
- SourceOwner = Shapes::StringShape.new(name: 'SourceOwner')
117
- StatementId = Shapes::StringShape.new(name: 'StatementId')
118
- String = Shapes::StringShape.new(name: 'String')
119
- SubnetIPAddressLimitReachedException = Shapes::StructureShape.new(name: 'SubnetIPAddressLimitReachedException')
120
- SubnetId = Shapes::StringShape.new(name: 'SubnetId')
121
- SubnetIds = Shapes::ListShape.new(name: 'SubnetIds')
122
- ThrottleReason = Shapes::StringShape.new(name: 'ThrottleReason')
123
- Timeout = Shapes::IntegerShape.new(name: 'Timeout')
124
- Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
125
- TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
126
- UnsupportedMediaTypeException = Shapes::StructureShape.new(name: 'UnsupportedMediaTypeException')
127
- UpdateAliasRequest = Shapes::StructureShape.new(name: 'UpdateAliasRequest')
128
- UpdateEventSourceMappingRequest = Shapes::StructureShape.new(name: 'UpdateEventSourceMappingRequest')
129
- UpdateFunctionCodeRequest = Shapes::StructureShape.new(name: 'UpdateFunctionCodeRequest')
130
- UpdateFunctionConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateFunctionConfigurationRequest')
131
- Version = Shapes::StringShape.new(name: 'Version')
132
- VpcConfig = Shapes::StructureShape.new(name: 'VpcConfig')
133
- VpcConfigResponse = Shapes::StructureShape.new(name: 'VpcConfigResponse')
134
- VpcId = Shapes::StringShape.new(name: 'VpcId')
135
-
136
- AccountLimit.add_member(:total_code_size, Shapes::ShapeRef.new(shape: Long, location_name: "TotalCodeSize"))
137
- AccountLimit.add_member(:code_size_unzipped, Shapes::ShapeRef.new(shape: Long, location_name: "CodeSizeUnzipped"))
138
- AccountLimit.add_member(:code_size_zipped, Shapes::ShapeRef.new(shape: Long, location_name: "CodeSizeZipped"))
139
- AccountLimit.add_member(:concurrent_executions, Shapes::ShapeRef.new(shape: Integer, location_name: "ConcurrentExecutions"))
140
- AccountLimit.struct_class = Types::AccountLimit
141
-
142
- AccountUsage.add_member(:total_code_size, Shapes::ShapeRef.new(shape: Long, location_name: "TotalCodeSize"))
143
- AccountUsage.add_member(:function_count, Shapes::ShapeRef.new(shape: Long, location_name: "FunctionCount"))
144
- AccountUsage.struct_class = Types::AccountUsage
145
-
146
- AddPermissionRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
147
- AddPermissionRequest.add_member(:statement_id, Shapes::ShapeRef.new(shape: StatementId, required: true, location_name: "StatementId"))
148
- AddPermissionRequest.add_member(:action, Shapes::ShapeRef.new(shape: Action, required: true, location_name: "Action"))
149
- AddPermissionRequest.add_member(:principal, Shapes::ShapeRef.new(shape: Principal, required: true, location_name: "Principal"))
150
- AddPermissionRequest.add_member(:source_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "SourceArn"))
151
- AddPermissionRequest.add_member(:source_account, Shapes::ShapeRef.new(shape: SourceOwner, location_name: "SourceAccount"))
152
- AddPermissionRequest.add_member(:event_source_token, Shapes::ShapeRef.new(shape: EventSourceToken, location_name: "EventSourceToken"))
153
- AddPermissionRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: Qualifier, location: "querystring", location_name: "Qualifier"))
154
- AddPermissionRequest.struct_class = Types::AddPermissionRequest
155
-
156
- AddPermissionResponse.add_member(:statement, Shapes::ShapeRef.new(shape: String, location_name: "Statement"))
157
- AddPermissionResponse.struct_class = Types::AddPermissionResponse
158
-
159
- AliasConfiguration.add_member(:alias_arn, Shapes::ShapeRef.new(shape: FunctionArn, location_name: "AliasArn"))
160
- AliasConfiguration.add_member(:name, Shapes::ShapeRef.new(shape: Alias, location_name: "Name"))
161
- AliasConfiguration.add_member(:function_version, Shapes::ShapeRef.new(shape: Version, location_name: "FunctionVersion"))
162
- AliasConfiguration.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
163
- AliasConfiguration.struct_class = Types::AliasConfiguration
164
-
165
- AliasList.member = Shapes::ShapeRef.new(shape: AliasConfiguration)
166
-
167
- CreateAliasRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
168
- CreateAliasRequest.add_member(:name, Shapes::ShapeRef.new(shape: Alias, required: true, location_name: "Name"))
169
- CreateAliasRequest.add_member(:function_version, Shapes::ShapeRef.new(shape: Version, required: true, location_name: "FunctionVersion"))
170
- CreateAliasRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
171
- CreateAliasRequest.struct_class = Types::CreateAliasRequest
172
-
173
- CreateEventSourceMappingRequest.add_member(:event_source_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "EventSourceArn"))
174
- CreateEventSourceMappingRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location_name: "FunctionName"))
175
- CreateEventSourceMappingRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "Enabled"))
176
- CreateEventSourceMappingRequest.add_member(:batch_size, Shapes::ShapeRef.new(shape: BatchSize, location_name: "BatchSize"))
177
- CreateEventSourceMappingRequest.add_member(:starting_position, Shapes::ShapeRef.new(shape: EventSourcePosition, required: true, location_name: "StartingPosition"))
178
- CreateEventSourceMappingRequest.add_member(:starting_position_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "StartingPositionTimestamp"))
179
- CreateEventSourceMappingRequest.struct_class = Types::CreateEventSourceMappingRequest
180
-
181
- CreateFunctionRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location_name: "FunctionName"))
182
- CreateFunctionRequest.add_member(:runtime, Shapes::ShapeRef.new(shape: Runtime, required: true, location_name: "Runtime"))
183
- CreateFunctionRequest.add_member(:role, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "Role"))
184
- CreateFunctionRequest.add_member(:handler, Shapes::ShapeRef.new(shape: Handler, required: true, location_name: "Handler"))
185
- CreateFunctionRequest.add_member(:code, Shapes::ShapeRef.new(shape: FunctionCode, required: true, location_name: "Code"))
186
- CreateFunctionRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
187
- CreateFunctionRequest.add_member(:timeout, Shapes::ShapeRef.new(shape: Timeout, location_name: "Timeout"))
188
- CreateFunctionRequest.add_member(:memory_size, Shapes::ShapeRef.new(shape: MemorySize, location_name: "MemorySize"))
189
- CreateFunctionRequest.add_member(:publish, Shapes::ShapeRef.new(shape: Boolean, location_name: "Publish"))
190
- CreateFunctionRequest.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
191
- CreateFunctionRequest.add_member(:dead_letter_config, Shapes::ShapeRef.new(shape: DeadLetterConfig, location_name: "DeadLetterConfig"))
192
- CreateFunctionRequest.add_member(:environment, Shapes::ShapeRef.new(shape: Environment, location_name: "Environment"))
193
- CreateFunctionRequest.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KMSKeyArn, location_name: "KMSKeyArn"))
194
- CreateFunctionRequest.struct_class = Types::CreateFunctionRequest
195
-
196
- DeadLetterConfig.add_member(:target_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "TargetArn"))
197
- DeadLetterConfig.struct_class = Types::DeadLetterConfig
198
-
199
- DeleteAliasRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
200
- DeleteAliasRequest.add_member(:name, Shapes::ShapeRef.new(shape: Alias, required: true, location: "uri", location_name: "Name"))
201
- DeleteAliasRequest.struct_class = Types::DeleteAliasRequest
202
-
203
- DeleteEventSourceMappingRequest.add_member(:uuid, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "UUID"))
204
- DeleteEventSourceMappingRequest.struct_class = Types::DeleteEventSourceMappingRequest
205
-
206
- DeleteFunctionRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
207
- DeleteFunctionRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: Qualifier, location: "querystring", location_name: "Qualifier"))
208
- DeleteFunctionRequest.struct_class = Types::DeleteFunctionRequest
209
-
210
- Environment.add_member(:variables, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "Variables"))
211
- Environment.struct_class = Types::Environment
212
-
213
- EnvironmentError.add_member(:error_code, Shapes::ShapeRef.new(shape: String, location_name: "ErrorCode"))
214
- EnvironmentError.add_member(:message, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "Message"))
215
- EnvironmentError.struct_class = Types::EnvironmentError
216
-
217
- EnvironmentResponse.add_member(:variables, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "Variables"))
218
- EnvironmentResponse.add_member(:error, Shapes::ShapeRef.new(shape: EnvironmentError, location_name: "Error"))
219
- EnvironmentResponse.struct_class = Types::EnvironmentResponse
220
-
221
- EnvironmentVariables.key = Shapes::ShapeRef.new(shape: EnvironmentVariableName)
222
- EnvironmentVariables.value = Shapes::ShapeRef.new(shape: EnvironmentVariableValue)
223
-
224
- EventSourceMappingConfiguration.add_member(:uuid, Shapes::ShapeRef.new(shape: String, location_name: "UUID"))
225
- EventSourceMappingConfiguration.add_member(:batch_size, Shapes::ShapeRef.new(shape: BatchSize, location_name: "BatchSize"))
226
- EventSourceMappingConfiguration.add_member(:event_source_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "EventSourceArn"))
227
- EventSourceMappingConfiguration.add_member(:function_arn, Shapes::ShapeRef.new(shape: FunctionArn, location_name: "FunctionArn"))
228
- EventSourceMappingConfiguration.add_member(:last_modified, Shapes::ShapeRef.new(shape: Date, location_name: "LastModified"))
229
- EventSourceMappingConfiguration.add_member(:last_processing_result, Shapes::ShapeRef.new(shape: String, location_name: "LastProcessingResult"))
230
- EventSourceMappingConfiguration.add_member(:state, Shapes::ShapeRef.new(shape: String, location_name: "State"))
231
- EventSourceMappingConfiguration.add_member(:state_transition_reason, Shapes::ShapeRef.new(shape: String, location_name: "StateTransitionReason"))
232
- EventSourceMappingConfiguration.struct_class = Types::EventSourceMappingConfiguration
233
-
234
- EventSourceMappingsList.member = Shapes::ShapeRef.new(shape: EventSourceMappingConfiguration)
235
-
236
- FunctionCode.add_member(:zip_file, Shapes::ShapeRef.new(shape: Blob, location_name: "ZipFile"))
237
- FunctionCode.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: S3Bucket, location_name: "S3Bucket"))
238
- FunctionCode.add_member(:s3_key, Shapes::ShapeRef.new(shape: S3Key, location_name: "S3Key"))
239
- FunctionCode.add_member(:s3_object_version, Shapes::ShapeRef.new(shape: S3ObjectVersion, location_name: "S3ObjectVersion"))
240
- FunctionCode.struct_class = Types::FunctionCode
241
-
242
- FunctionCodeLocation.add_member(:repository_type, Shapes::ShapeRef.new(shape: String, location_name: "RepositoryType"))
243
- FunctionCodeLocation.add_member(:location, Shapes::ShapeRef.new(shape: String, location_name: "Location"))
244
- FunctionCodeLocation.struct_class = Types::FunctionCodeLocation
245
-
246
- FunctionConfiguration.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, location_name: "FunctionName"))
247
- FunctionConfiguration.add_member(:function_arn, Shapes::ShapeRef.new(shape: FunctionArn, location_name: "FunctionArn"))
248
- FunctionConfiguration.add_member(:runtime, Shapes::ShapeRef.new(shape: Runtime, location_name: "Runtime"))
249
- FunctionConfiguration.add_member(:role, Shapes::ShapeRef.new(shape: RoleArn, location_name: "Role"))
250
- FunctionConfiguration.add_member(:handler, Shapes::ShapeRef.new(shape: Handler, location_name: "Handler"))
251
- FunctionConfiguration.add_member(:code_size, Shapes::ShapeRef.new(shape: Long, location_name: "CodeSize"))
252
- FunctionConfiguration.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
253
- FunctionConfiguration.add_member(:timeout, Shapes::ShapeRef.new(shape: Timeout, location_name: "Timeout"))
254
- FunctionConfiguration.add_member(:memory_size, Shapes::ShapeRef.new(shape: MemorySize, location_name: "MemorySize"))
255
- FunctionConfiguration.add_member(:last_modified, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModified"))
256
- FunctionConfiguration.add_member(:code_sha_256, Shapes::ShapeRef.new(shape: String, location_name: "CodeSha256"))
257
- FunctionConfiguration.add_member(:version, Shapes::ShapeRef.new(shape: Version, location_name: "Version"))
258
- FunctionConfiguration.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfigResponse, location_name: "VpcConfig"))
259
- FunctionConfiguration.add_member(:dead_letter_config, Shapes::ShapeRef.new(shape: DeadLetterConfig, location_name: "DeadLetterConfig"))
260
- FunctionConfiguration.add_member(:environment, Shapes::ShapeRef.new(shape: EnvironmentResponse, location_name: "Environment"))
261
- FunctionConfiguration.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KMSKeyArn, location_name: "KMSKeyArn"))
262
- FunctionConfiguration.struct_class = Types::FunctionConfiguration
263
-
264
- FunctionList.member = Shapes::ShapeRef.new(shape: FunctionConfiguration)
265
-
266
- GetAccountSettingsRequest.struct_class = Types::GetAccountSettingsRequest
267
-
268
- GetAccountSettingsResponse.add_member(:account_limit, Shapes::ShapeRef.new(shape: AccountLimit, location_name: "AccountLimit"))
269
- GetAccountSettingsResponse.add_member(:account_usage, Shapes::ShapeRef.new(shape: AccountUsage, location_name: "AccountUsage"))
270
- GetAccountSettingsResponse.struct_class = Types::GetAccountSettingsResponse
271
-
272
- GetAliasRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
273
- GetAliasRequest.add_member(:name, Shapes::ShapeRef.new(shape: Alias, required: true, location: "uri", location_name: "Name"))
274
- GetAliasRequest.struct_class = Types::GetAliasRequest
275
-
276
- GetEventSourceMappingRequest.add_member(:uuid, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "UUID"))
277
- GetEventSourceMappingRequest.struct_class = Types::GetEventSourceMappingRequest
278
-
279
- GetFunctionConfigurationRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
280
- GetFunctionConfigurationRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: Qualifier, location: "querystring", location_name: "Qualifier"))
281
- GetFunctionConfigurationRequest.struct_class = Types::GetFunctionConfigurationRequest
282
-
283
- GetFunctionRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
284
- GetFunctionRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: Qualifier, location: "querystring", location_name: "Qualifier"))
285
- GetFunctionRequest.struct_class = Types::GetFunctionRequest
286
-
287
- GetFunctionResponse.add_member(:configuration, Shapes::ShapeRef.new(shape: FunctionConfiguration, location_name: "Configuration"))
288
- GetFunctionResponse.add_member(:code, Shapes::ShapeRef.new(shape: FunctionCodeLocation, location_name: "Code"))
289
- GetFunctionResponse.struct_class = Types::GetFunctionResponse
290
-
291
- GetPolicyRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
292
- GetPolicyRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: Qualifier, location: "querystring", location_name: "Qualifier"))
293
- GetPolicyRequest.struct_class = Types::GetPolicyRequest
294
-
295
- GetPolicyResponse.add_member(:policy, Shapes::ShapeRef.new(shape: String, location_name: "Policy"))
296
- GetPolicyResponse.struct_class = Types::GetPolicyResponse
297
-
298
- InvocationRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
299
- InvocationRequest.add_member(:invocation_type, Shapes::ShapeRef.new(shape: InvocationType, location: "header", location_name: "X-Amz-Invocation-Type"))
300
- InvocationRequest.add_member(:log_type, Shapes::ShapeRef.new(shape: LogType, location: "header", location_name: "X-Amz-Log-Type"))
301
- InvocationRequest.add_member(:client_context, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "X-Amz-Client-Context"))
302
- InvocationRequest.add_member(:payload, Shapes::ShapeRef.new(shape: Blob, location_name: "Payload"))
303
- InvocationRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: Qualifier, location: "querystring", location_name: "Qualifier"))
304
- InvocationRequest.struct_class = Types::InvocationRequest
305
- InvocationRequest[:payload] = :payload
306
- InvocationRequest[:payload_member] = InvocationRequest.member(:payload)
307
-
308
- InvocationResponse.add_member(:status_code, Shapes::ShapeRef.new(shape: Integer, location: "statusCode", location_name: "StatusCode"))
309
- InvocationResponse.add_member(:function_error, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "X-Amz-Function-Error"))
310
- InvocationResponse.add_member(:log_result, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "X-Amz-Log-Result"))
311
- InvocationResponse.add_member(:payload, Shapes::ShapeRef.new(shape: Blob, location_name: "Payload"))
312
- InvocationResponse.struct_class = Types::InvocationResponse
313
- InvocationResponse[:payload] = :payload
314
- InvocationResponse[:payload_member] = InvocationResponse.member(:payload)
315
-
316
- InvokeAsyncRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
317
- InvokeAsyncRequest.add_member(:invoke_args, Shapes::ShapeRef.new(shape: BlobStream, required: true, location_name: "InvokeArgs"))
318
- InvokeAsyncRequest.struct_class = Types::InvokeAsyncRequest
319
- InvokeAsyncRequest[:payload] = :invoke_args
320
- InvokeAsyncRequest[:payload_member] = InvokeAsyncRequest.member(:invoke_args)
321
-
322
- InvokeAsyncResponse.add_member(:status, Shapes::ShapeRef.new(shape: HttpStatus, location: "statusCode", location_name: "Status"))
323
- InvokeAsyncResponse.struct_class = Types::InvokeAsyncResponse
324
-
325
- ListAliasesRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
326
- ListAliasesRequest.add_member(:function_version, Shapes::ShapeRef.new(shape: Version, location: "querystring", location_name: "FunctionVersion"))
327
- ListAliasesRequest.add_member(:marker, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "Marker"))
328
- ListAliasesRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: MaxListItems, location: "querystring", location_name: "MaxItems"))
329
- ListAliasesRequest.struct_class = Types::ListAliasesRequest
330
-
331
- ListAliasesResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: String, location_name: "NextMarker"))
332
- ListAliasesResponse.add_member(:aliases, Shapes::ShapeRef.new(shape: AliasList, location_name: "Aliases"))
333
- ListAliasesResponse.struct_class = Types::ListAliasesResponse
334
-
335
- ListEventSourceMappingsRequest.add_member(:event_source_arn, Shapes::ShapeRef.new(shape: Arn, location: "querystring", location_name: "EventSourceArn"))
336
- ListEventSourceMappingsRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, location: "querystring", location_name: "FunctionName"))
337
- ListEventSourceMappingsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "Marker"))
338
- ListEventSourceMappingsRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: MaxListItems, location: "querystring", location_name: "MaxItems"))
339
- ListEventSourceMappingsRequest.struct_class = Types::ListEventSourceMappingsRequest
340
-
341
- ListEventSourceMappingsResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: String, location_name: "NextMarker"))
342
- ListEventSourceMappingsResponse.add_member(:event_source_mappings, Shapes::ShapeRef.new(shape: EventSourceMappingsList, location_name: "EventSourceMappings"))
343
- ListEventSourceMappingsResponse.struct_class = Types::ListEventSourceMappingsResponse
344
-
345
- ListFunctionsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "Marker"))
346
- ListFunctionsRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: MaxListItems, location: "querystring", location_name: "MaxItems"))
347
- ListFunctionsRequest.struct_class = Types::ListFunctionsRequest
348
-
349
- ListFunctionsResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: String, location_name: "NextMarker"))
350
- ListFunctionsResponse.add_member(:functions, Shapes::ShapeRef.new(shape: FunctionList, location_name: "Functions"))
351
- ListFunctionsResponse.struct_class = Types::ListFunctionsResponse
352
-
353
- ListVersionsByFunctionRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
354
- ListVersionsByFunctionRequest.add_member(:marker, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "Marker"))
355
- ListVersionsByFunctionRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: MaxListItems, location: "querystring", location_name: "MaxItems"))
356
- ListVersionsByFunctionRequest.struct_class = Types::ListVersionsByFunctionRequest
357
-
358
- ListVersionsByFunctionResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: String, location_name: "NextMarker"))
359
- ListVersionsByFunctionResponse.add_member(:versions, Shapes::ShapeRef.new(shape: FunctionList, location_name: "Versions"))
360
- ListVersionsByFunctionResponse.struct_class = Types::ListVersionsByFunctionResponse
361
-
362
- PublishVersionRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
363
- PublishVersionRequest.add_member(:code_sha_256, Shapes::ShapeRef.new(shape: String, location_name: "CodeSha256"))
364
- PublishVersionRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
365
- PublishVersionRequest.struct_class = Types::PublishVersionRequest
366
-
367
- RemovePermissionRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
368
- RemovePermissionRequest.add_member(:statement_id, Shapes::ShapeRef.new(shape: StatementId, required: true, location: "uri", location_name: "StatementId"))
369
- RemovePermissionRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: Qualifier, location: "querystring", location_name: "Qualifier"))
370
- RemovePermissionRequest.struct_class = Types::RemovePermissionRequest
371
-
372
- SecurityGroupIds.member = Shapes::ShapeRef.new(shape: SecurityGroupId)
373
-
374
- SubnetIds.member = Shapes::ShapeRef.new(shape: SubnetId)
375
-
376
- UpdateAliasRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
377
- UpdateAliasRequest.add_member(:name, Shapes::ShapeRef.new(shape: Alias, required: true, location: "uri", location_name: "Name"))
378
- UpdateAliasRequest.add_member(:function_version, Shapes::ShapeRef.new(shape: Version, location_name: "FunctionVersion"))
379
- UpdateAliasRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
380
- UpdateAliasRequest.struct_class = Types::UpdateAliasRequest
381
-
382
- UpdateEventSourceMappingRequest.add_member(:uuid, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "UUID"))
383
- UpdateEventSourceMappingRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, location_name: "FunctionName"))
384
- UpdateEventSourceMappingRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "Enabled"))
385
- UpdateEventSourceMappingRequest.add_member(:batch_size, Shapes::ShapeRef.new(shape: BatchSize, location_name: "BatchSize"))
386
- UpdateEventSourceMappingRequest.struct_class = Types::UpdateEventSourceMappingRequest
387
-
388
- UpdateFunctionCodeRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
389
- UpdateFunctionCodeRequest.add_member(:zip_file, Shapes::ShapeRef.new(shape: Blob, location_name: "ZipFile"))
390
- UpdateFunctionCodeRequest.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: S3Bucket, location_name: "S3Bucket"))
391
- UpdateFunctionCodeRequest.add_member(:s3_key, Shapes::ShapeRef.new(shape: S3Key, location_name: "S3Key"))
392
- UpdateFunctionCodeRequest.add_member(:s3_object_version, Shapes::ShapeRef.new(shape: S3ObjectVersion, location_name: "S3ObjectVersion"))
393
- UpdateFunctionCodeRequest.add_member(:publish, Shapes::ShapeRef.new(shape: Boolean, location_name: "Publish"))
394
- UpdateFunctionCodeRequest.struct_class = Types::UpdateFunctionCodeRequest
395
-
396
- UpdateFunctionConfigurationRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
397
- UpdateFunctionConfigurationRequest.add_member(:role, Shapes::ShapeRef.new(shape: RoleArn, location_name: "Role"))
398
- UpdateFunctionConfigurationRequest.add_member(:handler, Shapes::ShapeRef.new(shape: Handler, location_name: "Handler"))
399
- UpdateFunctionConfigurationRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
400
- UpdateFunctionConfigurationRequest.add_member(:timeout, Shapes::ShapeRef.new(shape: Timeout, location_name: "Timeout"))
401
- UpdateFunctionConfigurationRequest.add_member(:memory_size, Shapes::ShapeRef.new(shape: MemorySize, location_name: "MemorySize"))
402
- UpdateFunctionConfigurationRequest.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
403
- UpdateFunctionConfigurationRequest.add_member(:environment, Shapes::ShapeRef.new(shape: Environment, location_name: "Environment"))
404
- UpdateFunctionConfigurationRequest.add_member(:runtime, Shapes::ShapeRef.new(shape: Runtime, location_name: "Runtime"))
405
- UpdateFunctionConfigurationRequest.add_member(:dead_letter_config, Shapes::ShapeRef.new(shape: DeadLetterConfig, location_name: "DeadLetterConfig"))
406
- UpdateFunctionConfigurationRequest.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KMSKeyArn, location_name: "KMSKeyArn"))
407
- UpdateFunctionConfigurationRequest.struct_class = Types::UpdateFunctionConfigurationRequest
408
-
409
- VpcConfig.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIds, location_name: "SubnetIds"))
410
- VpcConfig.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIds, location_name: "SecurityGroupIds"))
411
- VpcConfig.struct_class = Types::VpcConfig
412
-
413
- VpcConfigResponse.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIds, location_name: "SubnetIds"))
414
- VpcConfigResponse.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIds, location_name: "SecurityGroupIds"))
415
- VpcConfigResponse.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, location_name: "VpcId"))
416
- VpcConfigResponse.struct_class = Types::VpcConfigResponse
417
-
418
-
419
- # @api private
420
- API = Seahorse::Model::Api.new.tap do |api|
421
-
422
- api.version = "2015-03-31"
423
-
424
- api.metadata = {
425
- "endpointPrefix" => "lambda",
426
- "protocol" => "rest-json",
427
- "serviceFullName" => "AWS Lambda",
428
- "signatureVersion" => "v4",
429
- }
430
-
431
- api.add_operation(:add_permission, Seahorse::Model::Operation.new.tap do |o|
432
- o.name = "AddPermission"
433
- o.http_method = "POST"
434
- o.http_request_uri = "/2015-03-31/functions/{FunctionName}/policy"
435
- o.input = Shapes::ShapeRef.new(shape: AddPermissionRequest)
436
- o.output = Shapes::ShapeRef.new(shape: AddPermissionResponse)
437
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
438
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
439
- o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
440
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
441
- o.errors << Shapes::ShapeRef.new(shape: PolicyLengthExceededException)
442
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
443
- end)
444
-
445
- api.add_operation(:create_alias, Seahorse::Model::Operation.new.tap do |o|
446
- o.name = "CreateAlias"
447
- o.http_method = "POST"
448
- o.http_request_uri = "/2015-03-31/functions/{FunctionName}/aliases"
449
- o.input = Shapes::ShapeRef.new(shape: CreateAliasRequest)
450
- o.output = Shapes::ShapeRef.new(shape: AliasConfiguration)
451
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
452
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
453
- o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
454
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
455
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
456
- end)
457
-
458
- api.add_operation(:create_event_source_mapping, Seahorse::Model::Operation.new.tap do |o|
459
- o.name = "CreateEventSourceMapping"
460
- o.http_method = "POST"
461
- o.http_request_uri = "/2015-03-31/event-source-mappings/"
462
- o.input = Shapes::ShapeRef.new(shape: CreateEventSourceMappingRequest)
463
- o.output = Shapes::ShapeRef.new(shape: EventSourceMappingConfiguration)
464
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
465
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
466
- o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
467
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
468
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
469
- end)
470
-
471
- api.add_operation(:create_function, Seahorse::Model::Operation.new.tap do |o|
472
- o.name = "CreateFunction"
473
- o.http_method = "POST"
474
- o.http_request_uri = "/2015-03-31/functions"
475
- o.input = Shapes::ShapeRef.new(shape: CreateFunctionRequest)
476
- o.output = Shapes::ShapeRef.new(shape: FunctionConfiguration)
477
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
478
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
479
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
480
- o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
481
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
482
- o.errors << Shapes::ShapeRef.new(shape: CodeStorageExceededException)
483
- end)
484
-
485
- api.add_operation(:delete_alias, Seahorse::Model::Operation.new.tap do |o|
486
- o.name = "DeleteAlias"
487
- o.http_method = "DELETE"
488
- o.http_request_uri = "/2015-03-31/functions/{FunctionName}/aliases/{Name}"
489
- o.input = Shapes::ShapeRef.new(shape: DeleteAliasRequest)
490
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
491
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
492
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
493
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
494
- end)
495
-
496
- api.add_operation(:delete_event_source_mapping, Seahorse::Model::Operation.new.tap do |o|
497
- o.name = "DeleteEventSourceMapping"
498
- o.http_method = "DELETE"
499
- o.http_request_uri = "/2015-03-31/event-source-mappings/{UUID}"
500
- o.input = Shapes::ShapeRef.new(shape: DeleteEventSourceMappingRequest)
501
- o.output = Shapes::ShapeRef.new(shape: EventSourceMappingConfiguration)
502
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
503
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
504
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
505
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
506
- end)
507
-
508
- api.add_operation(:delete_function, Seahorse::Model::Operation.new.tap do |o|
509
- o.name = "DeleteFunction"
510
- o.http_method = "DELETE"
511
- o.http_request_uri = "/2015-03-31/functions/{FunctionName}"
512
- o.input = Shapes::ShapeRef.new(shape: DeleteFunctionRequest)
513
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
514
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
515
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
516
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
517
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
518
- o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
519
- end)
520
-
521
- api.add_operation(:get_account_settings, Seahorse::Model::Operation.new.tap do |o|
522
- o.name = "GetAccountSettings"
523
- o.http_method = "GET"
524
- o.http_request_uri = "/2016-08-19/account-settings/"
525
- o.input = Shapes::ShapeRef.new(shape: GetAccountSettingsRequest)
526
- o.output = Shapes::ShapeRef.new(shape: GetAccountSettingsResponse)
527
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
528
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
529
- end)
530
-
531
- api.add_operation(:get_alias, Seahorse::Model::Operation.new.tap do |o|
532
- o.name = "GetAlias"
533
- o.http_method = "GET"
534
- o.http_request_uri = "/2015-03-31/functions/{FunctionName}/aliases/{Name}"
535
- o.input = Shapes::ShapeRef.new(shape: GetAliasRequest)
536
- o.output = Shapes::ShapeRef.new(shape: AliasConfiguration)
537
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
538
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
539
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
540
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
541
- end)
542
-
543
- api.add_operation(:get_event_source_mapping, Seahorse::Model::Operation.new.tap do |o|
544
- o.name = "GetEventSourceMapping"
545
- o.http_method = "GET"
546
- o.http_request_uri = "/2015-03-31/event-source-mappings/{UUID}"
547
- o.input = Shapes::ShapeRef.new(shape: GetEventSourceMappingRequest)
548
- o.output = Shapes::ShapeRef.new(shape: EventSourceMappingConfiguration)
549
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
550
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
551
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
552
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
553
- end)
554
-
555
- api.add_operation(:get_function, Seahorse::Model::Operation.new.tap do |o|
556
- o.name = "GetFunction"
557
- o.http_method = "GET"
558
- o.http_request_uri = "/2015-03-31/functions/{FunctionName}"
559
- o.input = Shapes::ShapeRef.new(shape: GetFunctionRequest)
560
- o.output = Shapes::ShapeRef.new(shape: GetFunctionResponse)
561
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
562
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
563
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
564
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
565
- end)
566
-
567
- api.add_operation(:get_function_configuration, Seahorse::Model::Operation.new.tap do |o|
568
- o.name = "GetFunctionConfiguration"
569
- o.http_method = "GET"
570
- o.http_request_uri = "/2015-03-31/functions/{FunctionName}/configuration"
571
- o.input = Shapes::ShapeRef.new(shape: GetFunctionConfigurationRequest)
572
- o.output = Shapes::ShapeRef.new(shape: FunctionConfiguration)
573
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
574
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
575
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
576
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
577
- end)
578
-
579
- api.add_operation(:get_policy, Seahorse::Model::Operation.new.tap do |o|
580
- o.name = "GetPolicy"
581
- o.http_method = "GET"
582
- o.http_request_uri = "/2015-03-31/functions/{FunctionName}/policy"
583
- o.input = Shapes::ShapeRef.new(shape: GetPolicyRequest)
584
- o.output = Shapes::ShapeRef.new(shape: GetPolicyResponse)
585
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
586
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
587
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
588
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
589
- end)
590
-
591
- api.add_operation(:invoke, Seahorse::Model::Operation.new.tap do |o|
592
- o.name = "Invoke"
593
- o.http_method = "POST"
594
- o.http_request_uri = "/2015-03-31/functions/{FunctionName}/invocations"
595
- o.input = Shapes::ShapeRef.new(shape: InvocationRequest)
596
- o.output = Shapes::ShapeRef.new(shape: InvocationResponse)
597
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
598
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
599
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestContentException)
600
- o.errors << Shapes::ShapeRef.new(shape: RequestTooLargeException)
601
- o.errors << Shapes::ShapeRef.new(shape: UnsupportedMediaTypeException)
602
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
603
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
604
- o.errors << Shapes::ShapeRef.new(shape: EC2UnexpectedException)
605
- o.errors << Shapes::ShapeRef.new(shape: SubnetIPAddressLimitReachedException)
606
- o.errors << Shapes::ShapeRef.new(shape: ENILimitReachedException)
607
- o.errors << Shapes::ShapeRef.new(shape: EC2ThrottledException)
608
- o.errors << Shapes::ShapeRef.new(shape: EC2AccessDeniedException)
609
- o.errors << Shapes::ShapeRef.new(shape: InvalidSubnetIDException)
610
- o.errors << Shapes::ShapeRef.new(shape: InvalidSecurityGroupIDException)
611
- o.errors << Shapes::ShapeRef.new(shape: InvalidZipFileException)
612
- o.errors << Shapes::ShapeRef.new(shape: KMSDisabledException)
613
- o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
614
- o.errors << Shapes::ShapeRef.new(shape: KMSAccessDeniedException)
615
- o.errors << Shapes::ShapeRef.new(shape: KMSNotFoundException)
616
- end)
617
-
618
- api.add_operation(:invoke_async, Seahorse::Model::Operation.new.tap do |o|
619
- o.name = "InvokeAsync"
620
- o.http_method = "POST"
621
- o.http_request_uri = "/2014-11-13/functions/{FunctionName}/invoke-async/"
622
- o.deprecated = true
623
- o.input = Shapes::ShapeRef.new(shape: InvokeAsyncRequest)
624
- o.output = Shapes::ShapeRef.new(shape: InvokeAsyncResponse)
625
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
626
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
627
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestContentException)
628
- end)
629
-
630
- api.add_operation(:list_aliases, Seahorse::Model::Operation.new.tap do |o|
631
- o.name = "ListAliases"
632
- o.http_method = "GET"
633
- o.http_request_uri = "/2015-03-31/functions/{FunctionName}/aliases"
634
- o.input = Shapes::ShapeRef.new(shape: ListAliasesRequest)
635
- o.output = Shapes::ShapeRef.new(shape: ListAliasesResponse)
636
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
637
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
638
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
639
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
640
- end)
641
-
642
- api.add_operation(:list_event_source_mappings, Seahorse::Model::Operation.new.tap do |o|
643
- o.name = "ListEventSourceMappings"
644
- o.http_method = "GET"
645
- o.http_request_uri = "/2015-03-31/event-source-mappings/"
646
- o.input = Shapes::ShapeRef.new(shape: ListEventSourceMappingsRequest)
647
- o.output = Shapes::ShapeRef.new(shape: ListEventSourceMappingsResponse)
648
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
649
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
650
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
651
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
652
- o[:pager] = Aws::Pager.new(
653
- limit_key: "max_items",
654
- tokens: {
655
- "next_marker" => "marker"
656
- }
657
- )
658
- end)
659
-
660
- api.add_operation(:list_functions, Seahorse::Model::Operation.new.tap do |o|
661
- o.name = "ListFunctions"
662
- o.http_method = "GET"
663
- o.http_request_uri = "/2015-03-31/functions/"
664
- o.input = Shapes::ShapeRef.new(shape: ListFunctionsRequest)
665
- o.output = Shapes::ShapeRef.new(shape: ListFunctionsResponse)
666
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
667
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
668
- o[:pager] = Aws::Pager.new(
669
- limit_key: "max_items",
670
- tokens: {
671
- "next_marker" => "marker"
672
- }
673
- )
674
- end)
675
-
676
- api.add_operation(:list_versions_by_function, Seahorse::Model::Operation.new.tap do |o|
677
- o.name = "ListVersionsByFunction"
678
- o.http_method = "GET"
679
- o.http_request_uri = "/2015-03-31/functions/{FunctionName}/versions"
680
- o.input = Shapes::ShapeRef.new(shape: ListVersionsByFunctionRequest)
681
- o.output = Shapes::ShapeRef.new(shape: ListVersionsByFunctionResponse)
682
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
683
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
684
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
685
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
686
- end)
687
-
688
- api.add_operation(:publish_version, Seahorse::Model::Operation.new.tap do |o|
689
- o.name = "PublishVersion"
690
- o.http_method = "POST"
691
- o.http_request_uri = "/2015-03-31/functions/{FunctionName}/versions"
692
- o.input = Shapes::ShapeRef.new(shape: PublishVersionRequest)
693
- o.output = Shapes::ShapeRef.new(shape: FunctionConfiguration)
694
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
695
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
696
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
697
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
698
- o.errors << Shapes::ShapeRef.new(shape: CodeStorageExceededException)
699
- end)
700
-
701
- api.add_operation(:remove_permission, Seahorse::Model::Operation.new.tap do |o|
702
- o.name = "RemovePermission"
703
- o.http_method = "DELETE"
704
- o.http_request_uri = "/2015-03-31/functions/{FunctionName}/policy/{StatementId}"
705
- o.input = Shapes::ShapeRef.new(shape: RemovePermissionRequest)
706
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
707
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
708
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
709
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
710
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
711
- end)
712
-
713
- api.add_operation(:update_alias, Seahorse::Model::Operation.new.tap do |o|
714
- o.name = "UpdateAlias"
715
- o.http_method = "PUT"
716
- o.http_request_uri = "/2015-03-31/functions/{FunctionName}/aliases/{Name}"
717
- o.input = Shapes::ShapeRef.new(shape: UpdateAliasRequest)
718
- o.output = Shapes::ShapeRef.new(shape: AliasConfiguration)
719
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
720
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
721
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
722
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
723
- end)
724
-
725
- api.add_operation(:update_event_source_mapping, Seahorse::Model::Operation.new.tap do |o|
726
- o.name = "UpdateEventSourceMapping"
727
- o.http_method = "PUT"
728
- o.http_request_uri = "/2015-03-31/event-source-mappings/{UUID}"
729
- o.input = Shapes::ShapeRef.new(shape: UpdateEventSourceMappingRequest)
730
- o.output = Shapes::ShapeRef.new(shape: EventSourceMappingConfiguration)
731
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
732
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
733
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
734
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
735
- o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
736
- end)
737
-
738
- api.add_operation(:update_function_code, Seahorse::Model::Operation.new.tap do |o|
739
- o.name = "UpdateFunctionCode"
740
- o.http_method = "PUT"
741
- o.http_request_uri = "/2015-03-31/functions/{FunctionName}/code"
742
- o.input = Shapes::ShapeRef.new(shape: UpdateFunctionCodeRequest)
743
- o.output = Shapes::ShapeRef.new(shape: FunctionConfiguration)
744
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
745
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
746
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
747
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
748
- o.errors << Shapes::ShapeRef.new(shape: CodeStorageExceededException)
749
- end)
750
-
751
- api.add_operation(:update_function_configuration, Seahorse::Model::Operation.new.tap do |o|
752
- o.name = "UpdateFunctionConfiguration"
753
- o.http_method = "PUT"
754
- o.http_request_uri = "/2015-03-31/functions/{FunctionName}/configuration"
755
- o.input = Shapes::ShapeRef.new(shape: UpdateFunctionConfigurationRequest)
756
- o.output = Shapes::ShapeRef.new(shape: FunctionConfiguration)
757
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
758
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
759
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
760
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
761
- end)
762
- end
8
+ module Aws::Lambda
9
+ # @api private
10
+ module ClientApi
11
+
12
+ include Seahorse::Model
13
+
14
+ AccountLimit = Shapes::StructureShape.new(name: 'AccountLimit')
15
+ AccountUsage = Shapes::StructureShape.new(name: 'AccountUsage')
16
+ Action = Shapes::StringShape.new(name: 'Action')
17
+ AddPermissionRequest = Shapes::StructureShape.new(name: 'AddPermissionRequest')
18
+ AddPermissionResponse = Shapes::StructureShape.new(name: 'AddPermissionResponse')
19
+ Alias = Shapes::StringShape.new(name: 'Alias')
20
+ AliasConfiguration = Shapes::StructureShape.new(name: 'AliasConfiguration')
21
+ AliasList = Shapes::ListShape.new(name: 'AliasList')
22
+ Arn = Shapes::StringShape.new(name: 'Arn')
23
+ BatchSize = Shapes::IntegerShape.new(name: 'BatchSize')
24
+ Blob = Shapes::BlobShape.new(name: 'Blob')
25
+ BlobStream = Shapes::BlobShape.new(name: 'BlobStream')
26
+ Boolean = Shapes::BooleanShape.new(name: 'Boolean')
27
+ CodeStorageExceededException = Shapes::StructureShape.new(name: 'CodeStorageExceededException')
28
+ CreateAliasRequest = Shapes::StructureShape.new(name: 'CreateAliasRequest')
29
+ CreateEventSourceMappingRequest = Shapes::StructureShape.new(name: 'CreateEventSourceMappingRequest')
30
+ CreateFunctionRequest = Shapes::StructureShape.new(name: 'CreateFunctionRequest')
31
+ Date = Shapes::TimestampShape.new(name: 'Date')
32
+ DeadLetterConfig = Shapes::StructureShape.new(name: 'DeadLetterConfig')
33
+ DeleteAliasRequest = Shapes::StructureShape.new(name: 'DeleteAliasRequest')
34
+ DeleteEventSourceMappingRequest = Shapes::StructureShape.new(name: 'DeleteEventSourceMappingRequest')
35
+ DeleteFunctionRequest = Shapes::StructureShape.new(name: 'DeleteFunctionRequest')
36
+ Description = Shapes::StringShape.new(name: 'Description')
37
+ EC2AccessDeniedException = Shapes::StructureShape.new(name: 'EC2AccessDeniedException')
38
+ EC2ThrottledException = Shapes::StructureShape.new(name: 'EC2ThrottledException')
39
+ EC2UnexpectedException = Shapes::StructureShape.new(name: 'EC2UnexpectedException')
40
+ ENILimitReachedException = Shapes::StructureShape.new(name: 'ENILimitReachedException')
41
+ Enabled = Shapes::BooleanShape.new(name: 'Enabled')
42
+ Environment = Shapes::StructureShape.new(name: 'Environment')
43
+ EnvironmentError = Shapes::StructureShape.new(name: 'EnvironmentError')
44
+ EnvironmentResponse = Shapes::StructureShape.new(name: 'EnvironmentResponse')
45
+ EnvironmentVariableName = Shapes::StringShape.new(name: 'EnvironmentVariableName')
46
+ EnvironmentVariableValue = Shapes::StringShape.new(name: 'EnvironmentVariableValue')
47
+ EnvironmentVariables = Shapes::MapShape.new(name: 'EnvironmentVariables')
48
+ EventSourceMappingConfiguration = Shapes::StructureShape.new(name: 'EventSourceMappingConfiguration')
49
+ EventSourceMappingsList = Shapes::ListShape.new(name: 'EventSourceMappingsList')
50
+ EventSourcePosition = Shapes::StringShape.new(name: 'EventSourcePosition')
51
+ EventSourceToken = Shapes::StringShape.new(name: 'EventSourceToken')
52
+ FunctionArn = Shapes::StringShape.new(name: 'FunctionArn')
53
+ FunctionCode = Shapes::StructureShape.new(name: 'FunctionCode')
54
+ FunctionCodeLocation = Shapes::StructureShape.new(name: 'FunctionCodeLocation')
55
+ FunctionConfiguration = Shapes::StructureShape.new(name: 'FunctionConfiguration')
56
+ FunctionList = Shapes::ListShape.new(name: 'FunctionList')
57
+ FunctionName = Shapes::StringShape.new(name: 'FunctionName')
58
+ GetAccountSettingsRequest = Shapes::StructureShape.new(name: 'GetAccountSettingsRequest')
59
+ GetAccountSettingsResponse = Shapes::StructureShape.new(name: 'GetAccountSettingsResponse')
60
+ GetAliasRequest = Shapes::StructureShape.new(name: 'GetAliasRequest')
61
+ GetEventSourceMappingRequest = Shapes::StructureShape.new(name: 'GetEventSourceMappingRequest')
62
+ GetFunctionConfigurationRequest = Shapes::StructureShape.new(name: 'GetFunctionConfigurationRequest')
63
+ GetFunctionRequest = Shapes::StructureShape.new(name: 'GetFunctionRequest')
64
+ GetFunctionResponse = Shapes::StructureShape.new(name: 'GetFunctionResponse')
65
+ GetPolicyRequest = Shapes::StructureShape.new(name: 'GetPolicyRequest')
66
+ GetPolicyResponse = Shapes::StructureShape.new(name: 'GetPolicyResponse')
67
+ Handler = Shapes::StringShape.new(name: 'Handler')
68
+ HttpStatus = Shapes::IntegerShape.new(name: 'HttpStatus')
69
+ Integer = Shapes::IntegerShape.new(name: 'Integer')
70
+ InvalidParameterValueException = Shapes::StructureShape.new(name: 'InvalidParameterValueException')
71
+ InvalidRequestContentException = Shapes::StructureShape.new(name: 'InvalidRequestContentException')
72
+ InvalidSecurityGroupIDException = Shapes::StructureShape.new(name: 'InvalidSecurityGroupIDException')
73
+ InvalidSubnetIDException = Shapes::StructureShape.new(name: 'InvalidSubnetIDException')
74
+ InvalidZipFileException = Shapes::StructureShape.new(name: 'InvalidZipFileException')
75
+ InvocationRequest = Shapes::StructureShape.new(name: 'InvocationRequest')
76
+ InvocationResponse = Shapes::StructureShape.new(name: 'InvocationResponse')
77
+ InvocationType = Shapes::StringShape.new(name: 'InvocationType')
78
+ InvokeAsyncRequest = Shapes::StructureShape.new(name: 'InvokeAsyncRequest')
79
+ InvokeAsyncResponse = Shapes::StructureShape.new(name: 'InvokeAsyncResponse')
80
+ KMSAccessDeniedException = Shapes::StructureShape.new(name: 'KMSAccessDeniedException')
81
+ KMSDisabledException = Shapes::StructureShape.new(name: 'KMSDisabledException')
82
+ KMSInvalidStateException = Shapes::StructureShape.new(name: 'KMSInvalidStateException')
83
+ KMSKeyArn = Shapes::StringShape.new(name: 'KMSKeyArn')
84
+ KMSNotFoundException = Shapes::StructureShape.new(name: 'KMSNotFoundException')
85
+ ListAliasesRequest = Shapes::StructureShape.new(name: 'ListAliasesRequest')
86
+ ListAliasesResponse = Shapes::StructureShape.new(name: 'ListAliasesResponse')
87
+ ListEventSourceMappingsRequest = Shapes::StructureShape.new(name: 'ListEventSourceMappingsRequest')
88
+ ListEventSourceMappingsResponse = Shapes::StructureShape.new(name: 'ListEventSourceMappingsResponse')
89
+ ListFunctionsRequest = Shapes::StructureShape.new(name: 'ListFunctionsRequest')
90
+ ListFunctionsResponse = Shapes::StructureShape.new(name: 'ListFunctionsResponse')
91
+ ListVersionsByFunctionRequest = Shapes::StructureShape.new(name: 'ListVersionsByFunctionRequest')
92
+ ListVersionsByFunctionResponse = Shapes::StructureShape.new(name: 'ListVersionsByFunctionResponse')
93
+ LogType = Shapes::StringShape.new(name: 'LogType')
94
+ Long = Shapes::IntegerShape.new(name: 'Long')
95
+ MaxListItems = Shapes::IntegerShape.new(name: 'MaxListItems')
96
+ MemorySize = Shapes::IntegerShape.new(name: 'MemorySize')
97
+ PolicyLengthExceededException = Shapes::StructureShape.new(name: 'PolicyLengthExceededException')
98
+ Principal = Shapes::StringShape.new(name: 'Principal')
99
+ PublishVersionRequest = Shapes::StructureShape.new(name: 'PublishVersionRequest')
100
+ Qualifier = Shapes::StringShape.new(name: 'Qualifier')
101
+ RemovePermissionRequest = Shapes::StructureShape.new(name: 'RemovePermissionRequest')
102
+ RequestTooLargeException = Shapes::StructureShape.new(name: 'RequestTooLargeException')
103
+ ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
104
+ ResourceConflictException = Shapes::StructureShape.new(name: 'ResourceConflictException')
105
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
106
+ RoleArn = Shapes::StringShape.new(name: 'RoleArn')
107
+ Runtime = Shapes::StringShape.new(name: 'Runtime')
108
+ S3Bucket = Shapes::StringShape.new(name: 'S3Bucket')
109
+ S3Key = Shapes::StringShape.new(name: 'S3Key')
110
+ S3ObjectVersion = Shapes::StringShape.new(name: 'S3ObjectVersion')
111
+ SecurityGroupId = Shapes::StringShape.new(name: 'SecurityGroupId')
112
+ SecurityGroupIds = Shapes::ListShape.new(name: 'SecurityGroupIds')
113
+ SensitiveString = Shapes::StringShape.new(name: 'SensitiveString')
114
+ ServiceException = Shapes::StructureShape.new(name: 'ServiceException')
115
+ SourceOwner = Shapes::StringShape.new(name: 'SourceOwner')
116
+ StatementId = Shapes::StringShape.new(name: 'StatementId')
117
+ String = Shapes::StringShape.new(name: 'String')
118
+ SubnetIPAddressLimitReachedException = Shapes::StructureShape.new(name: 'SubnetIPAddressLimitReachedException')
119
+ SubnetId = Shapes::StringShape.new(name: 'SubnetId')
120
+ SubnetIds = Shapes::ListShape.new(name: 'SubnetIds')
121
+ ThrottleReason = Shapes::StringShape.new(name: 'ThrottleReason')
122
+ Timeout = Shapes::IntegerShape.new(name: 'Timeout')
123
+ Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
124
+ TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
125
+ UnsupportedMediaTypeException = Shapes::StructureShape.new(name: 'UnsupportedMediaTypeException')
126
+ UpdateAliasRequest = Shapes::StructureShape.new(name: 'UpdateAliasRequest')
127
+ UpdateEventSourceMappingRequest = Shapes::StructureShape.new(name: 'UpdateEventSourceMappingRequest')
128
+ UpdateFunctionCodeRequest = Shapes::StructureShape.new(name: 'UpdateFunctionCodeRequest')
129
+ UpdateFunctionConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateFunctionConfigurationRequest')
130
+ Version = Shapes::StringShape.new(name: 'Version')
131
+ VpcConfig = Shapes::StructureShape.new(name: 'VpcConfig')
132
+ VpcConfigResponse = Shapes::StructureShape.new(name: 'VpcConfigResponse')
133
+ VpcId = Shapes::StringShape.new(name: 'VpcId')
134
+
135
+ AccountLimit.add_member(:total_code_size, Shapes::ShapeRef.new(shape: Long, location_name: "TotalCodeSize"))
136
+ AccountLimit.add_member(:code_size_unzipped, Shapes::ShapeRef.new(shape: Long, location_name: "CodeSizeUnzipped"))
137
+ AccountLimit.add_member(:code_size_zipped, Shapes::ShapeRef.new(shape: Long, location_name: "CodeSizeZipped"))
138
+ AccountLimit.add_member(:concurrent_executions, Shapes::ShapeRef.new(shape: Integer, location_name: "ConcurrentExecutions"))
139
+ AccountLimit.struct_class = Types::AccountLimit
140
+
141
+ AccountUsage.add_member(:total_code_size, Shapes::ShapeRef.new(shape: Long, location_name: "TotalCodeSize"))
142
+ AccountUsage.add_member(:function_count, Shapes::ShapeRef.new(shape: Long, location_name: "FunctionCount"))
143
+ AccountUsage.struct_class = Types::AccountUsage
144
+
145
+ AddPermissionRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
146
+ AddPermissionRequest.add_member(:statement_id, Shapes::ShapeRef.new(shape: StatementId, required: true, location_name: "StatementId"))
147
+ AddPermissionRequest.add_member(:action, Shapes::ShapeRef.new(shape: Action, required: true, location_name: "Action"))
148
+ AddPermissionRequest.add_member(:principal, Shapes::ShapeRef.new(shape: Principal, required: true, location_name: "Principal"))
149
+ AddPermissionRequest.add_member(:source_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "SourceArn"))
150
+ AddPermissionRequest.add_member(:source_account, Shapes::ShapeRef.new(shape: SourceOwner, location_name: "SourceAccount"))
151
+ AddPermissionRequest.add_member(:event_source_token, Shapes::ShapeRef.new(shape: EventSourceToken, location_name: "EventSourceToken"))
152
+ AddPermissionRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: Qualifier, location: "querystring", location_name: "Qualifier"))
153
+ AddPermissionRequest.struct_class = Types::AddPermissionRequest
154
+
155
+ AddPermissionResponse.add_member(:statement, Shapes::ShapeRef.new(shape: String, location_name: "Statement"))
156
+ AddPermissionResponse.struct_class = Types::AddPermissionResponse
157
+
158
+ AliasConfiguration.add_member(:alias_arn, Shapes::ShapeRef.new(shape: FunctionArn, location_name: "AliasArn"))
159
+ AliasConfiguration.add_member(:name, Shapes::ShapeRef.new(shape: Alias, location_name: "Name"))
160
+ AliasConfiguration.add_member(:function_version, Shapes::ShapeRef.new(shape: Version, location_name: "FunctionVersion"))
161
+ AliasConfiguration.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
162
+ AliasConfiguration.struct_class = Types::AliasConfiguration
163
+
164
+ AliasList.member = Shapes::ShapeRef.new(shape: AliasConfiguration)
165
+
166
+ CreateAliasRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
167
+ CreateAliasRequest.add_member(:name, Shapes::ShapeRef.new(shape: Alias, required: true, location_name: "Name"))
168
+ CreateAliasRequest.add_member(:function_version, Shapes::ShapeRef.new(shape: Version, required: true, location_name: "FunctionVersion"))
169
+ CreateAliasRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
170
+ CreateAliasRequest.struct_class = Types::CreateAliasRequest
171
+
172
+ CreateEventSourceMappingRequest.add_member(:event_source_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "EventSourceArn"))
173
+ CreateEventSourceMappingRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location_name: "FunctionName"))
174
+ CreateEventSourceMappingRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "Enabled"))
175
+ CreateEventSourceMappingRequest.add_member(:batch_size, Shapes::ShapeRef.new(shape: BatchSize, location_name: "BatchSize"))
176
+ CreateEventSourceMappingRequest.add_member(:starting_position, Shapes::ShapeRef.new(shape: EventSourcePosition, required: true, location_name: "StartingPosition"))
177
+ CreateEventSourceMappingRequest.add_member(:starting_position_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "StartingPositionTimestamp"))
178
+ CreateEventSourceMappingRequest.struct_class = Types::CreateEventSourceMappingRequest
179
+
180
+ CreateFunctionRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location_name: "FunctionName"))
181
+ CreateFunctionRequest.add_member(:runtime, Shapes::ShapeRef.new(shape: Runtime, required: true, location_name: "Runtime"))
182
+ CreateFunctionRequest.add_member(:role, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "Role"))
183
+ CreateFunctionRequest.add_member(:handler, Shapes::ShapeRef.new(shape: Handler, required: true, location_name: "Handler"))
184
+ CreateFunctionRequest.add_member(:code, Shapes::ShapeRef.new(shape: FunctionCode, required: true, location_name: "Code"))
185
+ CreateFunctionRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
186
+ CreateFunctionRequest.add_member(:timeout, Shapes::ShapeRef.new(shape: Timeout, location_name: "Timeout"))
187
+ CreateFunctionRequest.add_member(:memory_size, Shapes::ShapeRef.new(shape: MemorySize, location_name: "MemorySize"))
188
+ CreateFunctionRequest.add_member(:publish, Shapes::ShapeRef.new(shape: Boolean, location_name: "Publish"))
189
+ CreateFunctionRequest.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
190
+ CreateFunctionRequest.add_member(:dead_letter_config, Shapes::ShapeRef.new(shape: DeadLetterConfig, location_name: "DeadLetterConfig"))
191
+ CreateFunctionRequest.add_member(:environment, Shapes::ShapeRef.new(shape: Environment, location_name: "Environment"))
192
+ CreateFunctionRequest.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KMSKeyArn, location_name: "KMSKeyArn"))
193
+ CreateFunctionRequest.struct_class = Types::CreateFunctionRequest
194
+
195
+ DeadLetterConfig.add_member(:target_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "TargetArn"))
196
+ DeadLetterConfig.struct_class = Types::DeadLetterConfig
197
+
198
+ DeleteAliasRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
199
+ DeleteAliasRequest.add_member(:name, Shapes::ShapeRef.new(shape: Alias, required: true, location: "uri", location_name: "Name"))
200
+ DeleteAliasRequest.struct_class = Types::DeleteAliasRequest
201
+
202
+ DeleteEventSourceMappingRequest.add_member(:uuid, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "UUID"))
203
+ DeleteEventSourceMappingRequest.struct_class = Types::DeleteEventSourceMappingRequest
204
+
205
+ DeleteFunctionRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
206
+ DeleteFunctionRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: Qualifier, location: "querystring", location_name: "Qualifier"))
207
+ DeleteFunctionRequest.struct_class = Types::DeleteFunctionRequest
208
+
209
+ Environment.add_member(:variables, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "Variables"))
210
+ Environment.struct_class = Types::Environment
211
+
212
+ EnvironmentError.add_member(:error_code, Shapes::ShapeRef.new(shape: String, location_name: "ErrorCode"))
213
+ EnvironmentError.add_member(:message, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "Message"))
214
+ EnvironmentError.struct_class = Types::EnvironmentError
215
+
216
+ EnvironmentResponse.add_member(:variables, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "Variables"))
217
+ EnvironmentResponse.add_member(:error, Shapes::ShapeRef.new(shape: EnvironmentError, location_name: "Error"))
218
+ EnvironmentResponse.struct_class = Types::EnvironmentResponse
219
+
220
+ EnvironmentVariables.key = Shapes::ShapeRef.new(shape: EnvironmentVariableName)
221
+ EnvironmentVariables.value = Shapes::ShapeRef.new(shape: EnvironmentVariableValue)
222
+
223
+ EventSourceMappingConfiguration.add_member(:uuid, Shapes::ShapeRef.new(shape: String, location_name: "UUID"))
224
+ EventSourceMappingConfiguration.add_member(:batch_size, Shapes::ShapeRef.new(shape: BatchSize, location_name: "BatchSize"))
225
+ EventSourceMappingConfiguration.add_member(:event_source_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "EventSourceArn"))
226
+ EventSourceMappingConfiguration.add_member(:function_arn, Shapes::ShapeRef.new(shape: FunctionArn, location_name: "FunctionArn"))
227
+ EventSourceMappingConfiguration.add_member(:last_modified, Shapes::ShapeRef.new(shape: Date, location_name: "LastModified"))
228
+ EventSourceMappingConfiguration.add_member(:last_processing_result, Shapes::ShapeRef.new(shape: String, location_name: "LastProcessingResult"))
229
+ EventSourceMappingConfiguration.add_member(:state, Shapes::ShapeRef.new(shape: String, location_name: "State"))
230
+ EventSourceMappingConfiguration.add_member(:state_transition_reason, Shapes::ShapeRef.new(shape: String, location_name: "StateTransitionReason"))
231
+ EventSourceMappingConfiguration.struct_class = Types::EventSourceMappingConfiguration
232
+
233
+ EventSourceMappingsList.member = Shapes::ShapeRef.new(shape: EventSourceMappingConfiguration)
234
+
235
+ FunctionCode.add_member(:zip_file, Shapes::ShapeRef.new(shape: Blob, location_name: "ZipFile"))
236
+ FunctionCode.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: S3Bucket, location_name: "S3Bucket"))
237
+ FunctionCode.add_member(:s3_key, Shapes::ShapeRef.new(shape: S3Key, location_name: "S3Key"))
238
+ FunctionCode.add_member(:s3_object_version, Shapes::ShapeRef.new(shape: S3ObjectVersion, location_name: "S3ObjectVersion"))
239
+ FunctionCode.struct_class = Types::FunctionCode
240
+
241
+ FunctionCodeLocation.add_member(:repository_type, Shapes::ShapeRef.new(shape: String, location_name: "RepositoryType"))
242
+ FunctionCodeLocation.add_member(:location, Shapes::ShapeRef.new(shape: String, location_name: "Location"))
243
+ FunctionCodeLocation.struct_class = Types::FunctionCodeLocation
244
+
245
+ FunctionConfiguration.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, location_name: "FunctionName"))
246
+ FunctionConfiguration.add_member(:function_arn, Shapes::ShapeRef.new(shape: FunctionArn, location_name: "FunctionArn"))
247
+ FunctionConfiguration.add_member(:runtime, Shapes::ShapeRef.new(shape: Runtime, location_name: "Runtime"))
248
+ FunctionConfiguration.add_member(:role, Shapes::ShapeRef.new(shape: RoleArn, location_name: "Role"))
249
+ FunctionConfiguration.add_member(:handler, Shapes::ShapeRef.new(shape: Handler, location_name: "Handler"))
250
+ FunctionConfiguration.add_member(:code_size, Shapes::ShapeRef.new(shape: Long, location_name: "CodeSize"))
251
+ FunctionConfiguration.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
252
+ FunctionConfiguration.add_member(:timeout, Shapes::ShapeRef.new(shape: Timeout, location_name: "Timeout"))
253
+ FunctionConfiguration.add_member(:memory_size, Shapes::ShapeRef.new(shape: MemorySize, location_name: "MemorySize"))
254
+ FunctionConfiguration.add_member(:last_modified, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModified"))
255
+ FunctionConfiguration.add_member(:code_sha_256, Shapes::ShapeRef.new(shape: String, location_name: "CodeSha256"))
256
+ FunctionConfiguration.add_member(:version, Shapes::ShapeRef.new(shape: Version, location_name: "Version"))
257
+ FunctionConfiguration.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfigResponse, location_name: "VpcConfig"))
258
+ FunctionConfiguration.add_member(:dead_letter_config, Shapes::ShapeRef.new(shape: DeadLetterConfig, location_name: "DeadLetterConfig"))
259
+ FunctionConfiguration.add_member(:environment, Shapes::ShapeRef.new(shape: EnvironmentResponse, location_name: "Environment"))
260
+ FunctionConfiguration.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KMSKeyArn, location_name: "KMSKeyArn"))
261
+ FunctionConfiguration.struct_class = Types::FunctionConfiguration
262
+
263
+ FunctionList.member = Shapes::ShapeRef.new(shape: FunctionConfiguration)
264
+
265
+ GetAccountSettingsRequest.struct_class = Types::GetAccountSettingsRequest
266
+
267
+ GetAccountSettingsResponse.add_member(:account_limit, Shapes::ShapeRef.new(shape: AccountLimit, location_name: "AccountLimit"))
268
+ GetAccountSettingsResponse.add_member(:account_usage, Shapes::ShapeRef.new(shape: AccountUsage, location_name: "AccountUsage"))
269
+ GetAccountSettingsResponse.struct_class = Types::GetAccountSettingsResponse
270
+
271
+ GetAliasRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
272
+ GetAliasRequest.add_member(:name, Shapes::ShapeRef.new(shape: Alias, required: true, location: "uri", location_name: "Name"))
273
+ GetAliasRequest.struct_class = Types::GetAliasRequest
274
+
275
+ GetEventSourceMappingRequest.add_member(:uuid, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "UUID"))
276
+ GetEventSourceMappingRequest.struct_class = Types::GetEventSourceMappingRequest
277
+
278
+ GetFunctionConfigurationRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
279
+ GetFunctionConfigurationRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: Qualifier, location: "querystring", location_name: "Qualifier"))
280
+ GetFunctionConfigurationRequest.struct_class = Types::GetFunctionConfigurationRequest
281
+
282
+ GetFunctionRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
283
+ GetFunctionRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: Qualifier, location: "querystring", location_name: "Qualifier"))
284
+ GetFunctionRequest.struct_class = Types::GetFunctionRequest
285
+
286
+ GetFunctionResponse.add_member(:configuration, Shapes::ShapeRef.new(shape: FunctionConfiguration, location_name: "Configuration"))
287
+ GetFunctionResponse.add_member(:code, Shapes::ShapeRef.new(shape: FunctionCodeLocation, location_name: "Code"))
288
+ GetFunctionResponse.struct_class = Types::GetFunctionResponse
289
+
290
+ GetPolicyRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
291
+ GetPolicyRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: Qualifier, location: "querystring", location_name: "Qualifier"))
292
+ GetPolicyRequest.struct_class = Types::GetPolicyRequest
293
+
294
+ GetPolicyResponse.add_member(:policy, Shapes::ShapeRef.new(shape: String, location_name: "Policy"))
295
+ GetPolicyResponse.struct_class = Types::GetPolicyResponse
296
+
297
+ InvocationRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
298
+ InvocationRequest.add_member(:invocation_type, Shapes::ShapeRef.new(shape: InvocationType, location: "header", location_name: "X-Amz-Invocation-Type"))
299
+ InvocationRequest.add_member(:log_type, Shapes::ShapeRef.new(shape: LogType, location: "header", location_name: "X-Amz-Log-Type"))
300
+ InvocationRequest.add_member(:client_context, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "X-Amz-Client-Context"))
301
+ InvocationRequest.add_member(:payload, Shapes::ShapeRef.new(shape: Blob, location_name: "Payload"))
302
+ InvocationRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: Qualifier, location: "querystring", location_name: "Qualifier"))
303
+ InvocationRequest.struct_class = Types::InvocationRequest
304
+ InvocationRequest[:payload] = :payload
305
+ InvocationRequest[:payload_member] = InvocationRequest.member(:payload)
306
+
307
+ InvocationResponse.add_member(:status_code, Shapes::ShapeRef.new(shape: Integer, location: "statusCode", location_name: "StatusCode"))
308
+ InvocationResponse.add_member(:function_error, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "X-Amz-Function-Error"))
309
+ InvocationResponse.add_member(:log_result, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "X-Amz-Log-Result"))
310
+ InvocationResponse.add_member(:payload, Shapes::ShapeRef.new(shape: Blob, location_name: "Payload"))
311
+ InvocationResponse.struct_class = Types::InvocationResponse
312
+ InvocationResponse[:payload] = :payload
313
+ InvocationResponse[:payload_member] = InvocationResponse.member(:payload)
314
+
315
+ InvokeAsyncRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
316
+ InvokeAsyncRequest.add_member(:invoke_args, Shapes::ShapeRef.new(shape: BlobStream, required: true, location_name: "InvokeArgs"))
317
+ InvokeAsyncRequest.struct_class = Types::InvokeAsyncRequest
318
+ InvokeAsyncRequest[:payload] = :invoke_args
319
+ InvokeAsyncRequest[:payload_member] = InvokeAsyncRequest.member(:invoke_args)
320
+
321
+ InvokeAsyncResponse.add_member(:status, Shapes::ShapeRef.new(shape: HttpStatus, location: "statusCode", location_name: "Status"))
322
+ InvokeAsyncResponse.struct_class = Types::InvokeAsyncResponse
323
+
324
+ ListAliasesRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
325
+ ListAliasesRequest.add_member(:function_version, Shapes::ShapeRef.new(shape: Version, location: "querystring", location_name: "FunctionVersion"))
326
+ ListAliasesRequest.add_member(:marker, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "Marker"))
327
+ ListAliasesRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: MaxListItems, location: "querystring", location_name: "MaxItems"))
328
+ ListAliasesRequest.struct_class = Types::ListAliasesRequest
329
+
330
+ ListAliasesResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: String, location_name: "NextMarker"))
331
+ ListAliasesResponse.add_member(:aliases, Shapes::ShapeRef.new(shape: AliasList, location_name: "Aliases"))
332
+ ListAliasesResponse.struct_class = Types::ListAliasesResponse
333
+
334
+ ListEventSourceMappingsRequest.add_member(:event_source_arn, Shapes::ShapeRef.new(shape: Arn, location: "querystring", location_name: "EventSourceArn"))
335
+ ListEventSourceMappingsRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, location: "querystring", location_name: "FunctionName"))
336
+ ListEventSourceMappingsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "Marker"))
337
+ ListEventSourceMappingsRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: MaxListItems, location: "querystring", location_name: "MaxItems"))
338
+ ListEventSourceMappingsRequest.struct_class = Types::ListEventSourceMappingsRequest
339
+
340
+ ListEventSourceMappingsResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: String, location_name: "NextMarker"))
341
+ ListEventSourceMappingsResponse.add_member(:event_source_mappings, Shapes::ShapeRef.new(shape: EventSourceMappingsList, location_name: "EventSourceMappings"))
342
+ ListEventSourceMappingsResponse.struct_class = Types::ListEventSourceMappingsResponse
343
+
344
+ ListFunctionsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "Marker"))
345
+ ListFunctionsRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: MaxListItems, location: "querystring", location_name: "MaxItems"))
346
+ ListFunctionsRequest.struct_class = Types::ListFunctionsRequest
347
+
348
+ ListFunctionsResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: String, location_name: "NextMarker"))
349
+ ListFunctionsResponse.add_member(:functions, Shapes::ShapeRef.new(shape: FunctionList, location_name: "Functions"))
350
+ ListFunctionsResponse.struct_class = Types::ListFunctionsResponse
351
+
352
+ ListVersionsByFunctionRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
353
+ ListVersionsByFunctionRequest.add_member(:marker, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "Marker"))
354
+ ListVersionsByFunctionRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: MaxListItems, location: "querystring", location_name: "MaxItems"))
355
+ ListVersionsByFunctionRequest.struct_class = Types::ListVersionsByFunctionRequest
356
+
357
+ ListVersionsByFunctionResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: String, location_name: "NextMarker"))
358
+ ListVersionsByFunctionResponse.add_member(:versions, Shapes::ShapeRef.new(shape: FunctionList, location_name: "Versions"))
359
+ ListVersionsByFunctionResponse.struct_class = Types::ListVersionsByFunctionResponse
360
+
361
+ PublishVersionRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
362
+ PublishVersionRequest.add_member(:code_sha_256, Shapes::ShapeRef.new(shape: String, location_name: "CodeSha256"))
363
+ PublishVersionRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
364
+ PublishVersionRequest.struct_class = Types::PublishVersionRequest
365
+
366
+ RemovePermissionRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
367
+ RemovePermissionRequest.add_member(:statement_id, Shapes::ShapeRef.new(shape: StatementId, required: true, location: "uri", location_name: "StatementId"))
368
+ RemovePermissionRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: Qualifier, location: "querystring", location_name: "Qualifier"))
369
+ RemovePermissionRequest.struct_class = Types::RemovePermissionRequest
370
+
371
+ SecurityGroupIds.member = Shapes::ShapeRef.new(shape: SecurityGroupId)
372
+
373
+ SubnetIds.member = Shapes::ShapeRef.new(shape: SubnetId)
374
+
375
+ UpdateAliasRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
376
+ UpdateAliasRequest.add_member(:name, Shapes::ShapeRef.new(shape: Alias, required: true, location: "uri", location_name: "Name"))
377
+ UpdateAliasRequest.add_member(:function_version, Shapes::ShapeRef.new(shape: Version, location_name: "FunctionVersion"))
378
+ UpdateAliasRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
379
+ UpdateAliasRequest.struct_class = Types::UpdateAliasRequest
380
+
381
+ UpdateEventSourceMappingRequest.add_member(:uuid, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "UUID"))
382
+ UpdateEventSourceMappingRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, location_name: "FunctionName"))
383
+ UpdateEventSourceMappingRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "Enabled"))
384
+ UpdateEventSourceMappingRequest.add_member(:batch_size, Shapes::ShapeRef.new(shape: BatchSize, location_name: "BatchSize"))
385
+ UpdateEventSourceMappingRequest.struct_class = Types::UpdateEventSourceMappingRequest
386
+
387
+ UpdateFunctionCodeRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
388
+ UpdateFunctionCodeRequest.add_member(:zip_file, Shapes::ShapeRef.new(shape: Blob, location_name: "ZipFile"))
389
+ UpdateFunctionCodeRequest.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: S3Bucket, location_name: "S3Bucket"))
390
+ UpdateFunctionCodeRequest.add_member(:s3_key, Shapes::ShapeRef.new(shape: S3Key, location_name: "S3Key"))
391
+ UpdateFunctionCodeRequest.add_member(:s3_object_version, Shapes::ShapeRef.new(shape: S3ObjectVersion, location_name: "S3ObjectVersion"))
392
+ UpdateFunctionCodeRequest.add_member(:publish, Shapes::ShapeRef.new(shape: Boolean, location_name: "Publish"))
393
+ UpdateFunctionCodeRequest.struct_class = Types::UpdateFunctionCodeRequest
394
+
395
+ UpdateFunctionConfigurationRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
396
+ UpdateFunctionConfigurationRequest.add_member(:role, Shapes::ShapeRef.new(shape: RoleArn, location_name: "Role"))
397
+ UpdateFunctionConfigurationRequest.add_member(:handler, Shapes::ShapeRef.new(shape: Handler, location_name: "Handler"))
398
+ UpdateFunctionConfigurationRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
399
+ UpdateFunctionConfigurationRequest.add_member(:timeout, Shapes::ShapeRef.new(shape: Timeout, location_name: "Timeout"))
400
+ UpdateFunctionConfigurationRequest.add_member(:memory_size, Shapes::ShapeRef.new(shape: MemorySize, location_name: "MemorySize"))
401
+ UpdateFunctionConfigurationRequest.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
402
+ UpdateFunctionConfigurationRequest.add_member(:environment, Shapes::ShapeRef.new(shape: Environment, location_name: "Environment"))
403
+ UpdateFunctionConfigurationRequest.add_member(:runtime, Shapes::ShapeRef.new(shape: Runtime, location_name: "Runtime"))
404
+ UpdateFunctionConfigurationRequest.add_member(:dead_letter_config, Shapes::ShapeRef.new(shape: DeadLetterConfig, location_name: "DeadLetterConfig"))
405
+ UpdateFunctionConfigurationRequest.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KMSKeyArn, location_name: "KMSKeyArn"))
406
+ UpdateFunctionConfigurationRequest.struct_class = Types::UpdateFunctionConfigurationRequest
407
+
408
+ VpcConfig.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIds, location_name: "SubnetIds"))
409
+ VpcConfig.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIds, location_name: "SecurityGroupIds"))
410
+ VpcConfig.struct_class = Types::VpcConfig
411
+
412
+ VpcConfigResponse.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIds, location_name: "SubnetIds"))
413
+ VpcConfigResponse.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIds, location_name: "SecurityGroupIds"))
414
+ VpcConfigResponse.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, location_name: "VpcId"))
415
+ VpcConfigResponse.struct_class = Types::VpcConfigResponse
416
+
763
417
 
418
+ # @api private
419
+ API = Seahorse::Model::Api.new.tap do |api|
420
+
421
+ api.version = "2015-03-31"
422
+
423
+ api.metadata = {
424
+ "endpointPrefix" => "lambda",
425
+ "protocol" => "rest-json",
426
+ "serviceFullName" => "AWS Lambda",
427
+ "signatureVersion" => "v4",
428
+ }
429
+
430
+ api.add_operation(:add_permission, Seahorse::Model::Operation.new.tap do |o|
431
+ o.name = "AddPermission"
432
+ o.http_method = "POST"
433
+ o.http_request_uri = "/2015-03-31/functions/{FunctionName}/policy"
434
+ o.input = Shapes::ShapeRef.new(shape: AddPermissionRequest)
435
+ o.output = Shapes::ShapeRef.new(shape: AddPermissionResponse)
436
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
437
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
438
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
439
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
440
+ o.errors << Shapes::ShapeRef.new(shape: PolicyLengthExceededException)
441
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
442
+ end)
443
+
444
+ api.add_operation(:create_alias, Seahorse::Model::Operation.new.tap do |o|
445
+ o.name = "CreateAlias"
446
+ o.http_method = "POST"
447
+ o.http_request_uri = "/2015-03-31/functions/{FunctionName}/aliases"
448
+ o.input = Shapes::ShapeRef.new(shape: CreateAliasRequest)
449
+ o.output = Shapes::ShapeRef.new(shape: AliasConfiguration)
450
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
451
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
452
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
453
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
454
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
455
+ end)
456
+
457
+ api.add_operation(:create_event_source_mapping, Seahorse::Model::Operation.new.tap do |o|
458
+ o.name = "CreateEventSourceMapping"
459
+ o.http_method = "POST"
460
+ o.http_request_uri = "/2015-03-31/event-source-mappings/"
461
+ o.input = Shapes::ShapeRef.new(shape: CreateEventSourceMappingRequest)
462
+ o.output = Shapes::ShapeRef.new(shape: EventSourceMappingConfiguration)
463
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
464
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
465
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
466
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
467
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
468
+ end)
469
+
470
+ api.add_operation(:create_function, Seahorse::Model::Operation.new.tap do |o|
471
+ o.name = "CreateFunction"
472
+ o.http_method = "POST"
473
+ o.http_request_uri = "/2015-03-31/functions"
474
+ o.input = Shapes::ShapeRef.new(shape: CreateFunctionRequest)
475
+ o.output = Shapes::ShapeRef.new(shape: FunctionConfiguration)
476
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
477
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
478
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
479
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
480
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
481
+ o.errors << Shapes::ShapeRef.new(shape: CodeStorageExceededException)
482
+ end)
483
+
484
+ api.add_operation(:delete_alias, Seahorse::Model::Operation.new.tap do |o|
485
+ o.name = "DeleteAlias"
486
+ o.http_method = "DELETE"
487
+ o.http_request_uri = "/2015-03-31/functions/{FunctionName}/aliases/{Name}"
488
+ o.input = Shapes::ShapeRef.new(shape: DeleteAliasRequest)
489
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
490
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
491
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
492
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
493
+ end)
494
+
495
+ api.add_operation(:delete_event_source_mapping, Seahorse::Model::Operation.new.tap do |o|
496
+ o.name = "DeleteEventSourceMapping"
497
+ o.http_method = "DELETE"
498
+ o.http_request_uri = "/2015-03-31/event-source-mappings/{UUID}"
499
+ o.input = Shapes::ShapeRef.new(shape: DeleteEventSourceMappingRequest)
500
+ o.output = Shapes::ShapeRef.new(shape: EventSourceMappingConfiguration)
501
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
502
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
503
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
504
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
505
+ end)
506
+
507
+ api.add_operation(:delete_function, Seahorse::Model::Operation.new.tap do |o|
508
+ o.name = "DeleteFunction"
509
+ o.http_method = "DELETE"
510
+ o.http_request_uri = "/2015-03-31/functions/{FunctionName}"
511
+ o.input = Shapes::ShapeRef.new(shape: DeleteFunctionRequest)
512
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
513
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
514
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
515
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
516
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
517
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
518
+ end)
519
+
520
+ api.add_operation(:get_account_settings, Seahorse::Model::Operation.new.tap do |o|
521
+ o.name = "GetAccountSettings"
522
+ o.http_method = "GET"
523
+ o.http_request_uri = "/2016-08-19/account-settings/"
524
+ o.input = Shapes::ShapeRef.new(shape: GetAccountSettingsRequest)
525
+ o.output = Shapes::ShapeRef.new(shape: GetAccountSettingsResponse)
526
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
527
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
528
+ end)
529
+
530
+ api.add_operation(:get_alias, Seahorse::Model::Operation.new.tap do |o|
531
+ o.name = "GetAlias"
532
+ o.http_method = "GET"
533
+ o.http_request_uri = "/2015-03-31/functions/{FunctionName}/aliases/{Name}"
534
+ o.input = Shapes::ShapeRef.new(shape: GetAliasRequest)
535
+ o.output = Shapes::ShapeRef.new(shape: AliasConfiguration)
536
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
537
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
538
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
539
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
540
+ end)
541
+
542
+ api.add_operation(:get_event_source_mapping, Seahorse::Model::Operation.new.tap do |o|
543
+ o.name = "GetEventSourceMapping"
544
+ o.http_method = "GET"
545
+ o.http_request_uri = "/2015-03-31/event-source-mappings/{UUID}"
546
+ o.input = Shapes::ShapeRef.new(shape: GetEventSourceMappingRequest)
547
+ o.output = Shapes::ShapeRef.new(shape: EventSourceMappingConfiguration)
548
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
549
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
550
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
551
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
552
+ end)
553
+
554
+ api.add_operation(:get_function, Seahorse::Model::Operation.new.tap do |o|
555
+ o.name = "GetFunction"
556
+ o.http_method = "GET"
557
+ o.http_request_uri = "/2015-03-31/functions/{FunctionName}"
558
+ o.input = Shapes::ShapeRef.new(shape: GetFunctionRequest)
559
+ o.output = Shapes::ShapeRef.new(shape: GetFunctionResponse)
560
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
561
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
562
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
563
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
564
+ end)
565
+
566
+ api.add_operation(:get_function_configuration, Seahorse::Model::Operation.new.tap do |o|
567
+ o.name = "GetFunctionConfiguration"
568
+ o.http_method = "GET"
569
+ o.http_request_uri = "/2015-03-31/functions/{FunctionName}/configuration"
570
+ o.input = Shapes::ShapeRef.new(shape: GetFunctionConfigurationRequest)
571
+ o.output = Shapes::ShapeRef.new(shape: FunctionConfiguration)
572
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
573
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
574
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
575
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
576
+ end)
577
+
578
+ api.add_operation(:get_policy, Seahorse::Model::Operation.new.tap do |o|
579
+ o.name = "GetPolicy"
580
+ o.http_method = "GET"
581
+ o.http_request_uri = "/2015-03-31/functions/{FunctionName}/policy"
582
+ o.input = Shapes::ShapeRef.new(shape: GetPolicyRequest)
583
+ o.output = Shapes::ShapeRef.new(shape: GetPolicyResponse)
584
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
585
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
586
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
587
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
588
+ end)
589
+
590
+ api.add_operation(:invoke, Seahorse::Model::Operation.new.tap do |o|
591
+ o.name = "Invoke"
592
+ o.http_method = "POST"
593
+ o.http_request_uri = "/2015-03-31/functions/{FunctionName}/invocations"
594
+ o.input = Shapes::ShapeRef.new(shape: InvocationRequest)
595
+ o.output = Shapes::ShapeRef.new(shape: InvocationResponse)
596
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
597
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
598
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestContentException)
599
+ o.errors << Shapes::ShapeRef.new(shape: RequestTooLargeException)
600
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedMediaTypeException)
601
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
602
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
603
+ o.errors << Shapes::ShapeRef.new(shape: EC2UnexpectedException)
604
+ o.errors << Shapes::ShapeRef.new(shape: SubnetIPAddressLimitReachedException)
605
+ o.errors << Shapes::ShapeRef.new(shape: ENILimitReachedException)
606
+ o.errors << Shapes::ShapeRef.new(shape: EC2ThrottledException)
607
+ o.errors << Shapes::ShapeRef.new(shape: EC2AccessDeniedException)
608
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSubnetIDException)
609
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSecurityGroupIDException)
610
+ o.errors << Shapes::ShapeRef.new(shape: InvalidZipFileException)
611
+ o.errors << Shapes::ShapeRef.new(shape: KMSDisabledException)
612
+ o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
613
+ o.errors << Shapes::ShapeRef.new(shape: KMSAccessDeniedException)
614
+ o.errors << Shapes::ShapeRef.new(shape: KMSNotFoundException)
615
+ end)
616
+
617
+ api.add_operation(:invoke_async, Seahorse::Model::Operation.new.tap do |o|
618
+ o.name = "InvokeAsync"
619
+ o.http_method = "POST"
620
+ o.http_request_uri = "/2014-11-13/functions/{FunctionName}/invoke-async/"
621
+ o.deprecated = true
622
+ o.input = Shapes::ShapeRef.new(shape: InvokeAsyncRequest)
623
+ o.output = Shapes::ShapeRef.new(shape: InvokeAsyncResponse)
624
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
625
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
626
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestContentException)
627
+ end)
628
+
629
+ api.add_operation(:list_aliases, Seahorse::Model::Operation.new.tap do |o|
630
+ o.name = "ListAliases"
631
+ o.http_method = "GET"
632
+ o.http_request_uri = "/2015-03-31/functions/{FunctionName}/aliases"
633
+ o.input = Shapes::ShapeRef.new(shape: ListAliasesRequest)
634
+ o.output = Shapes::ShapeRef.new(shape: ListAliasesResponse)
635
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
636
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
637
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
638
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
639
+ end)
640
+
641
+ api.add_operation(:list_event_source_mappings, Seahorse::Model::Operation.new.tap do |o|
642
+ o.name = "ListEventSourceMappings"
643
+ o.http_method = "GET"
644
+ o.http_request_uri = "/2015-03-31/event-source-mappings/"
645
+ o.input = Shapes::ShapeRef.new(shape: ListEventSourceMappingsRequest)
646
+ o.output = Shapes::ShapeRef.new(shape: ListEventSourceMappingsResponse)
647
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
648
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
649
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
650
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
651
+ o[:pager] = Aws::Pager.new(
652
+ limit_key: "max_items",
653
+ tokens: {
654
+ "next_marker" => "marker"
655
+ }
656
+ )
657
+ end)
658
+
659
+ api.add_operation(:list_functions, Seahorse::Model::Operation.new.tap do |o|
660
+ o.name = "ListFunctions"
661
+ o.http_method = "GET"
662
+ o.http_request_uri = "/2015-03-31/functions/"
663
+ o.input = Shapes::ShapeRef.new(shape: ListFunctionsRequest)
664
+ o.output = Shapes::ShapeRef.new(shape: ListFunctionsResponse)
665
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
666
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
667
+ o[:pager] = Aws::Pager.new(
668
+ limit_key: "max_items",
669
+ tokens: {
670
+ "next_marker" => "marker"
671
+ }
672
+ )
673
+ end)
674
+
675
+ api.add_operation(:list_versions_by_function, Seahorse::Model::Operation.new.tap do |o|
676
+ o.name = "ListVersionsByFunction"
677
+ o.http_method = "GET"
678
+ o.http_request_uri = "/2015-03-31/functions/{FunctionName}/versions"
679
+ o.input = Shapes::ShapeRef.new(shape: ListVersionsByFunctionRequest)
680
+ o.output = Shapes::ShapeRef.new(shape: ListVersionsByFunctionResponse)
681
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
682
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
683
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
684
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
685
+ end)
686
+
687
+ api.add_operation(:publish_version, Seahorse::Model::Operation.new.tap do |o|
688
+ o.name = "PublishVersion"
689
+ o.http_method = "POST"
690
+ o.http_request_uri = "/2015-03-31/functions/{FunctionName}/versions"
691
+ o.input = Shapes::ShapeRef.new(shape: PublishVersionRequest)
692
+ o.output = Shapes::ShapeRef.new(shape: FunctionConfiguration)
693
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
694
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
695
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
696
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
697
+ o.errors << Shapes::ShapeRef.new(shape: CodeStorageExceededException)
698
+ end)
699
+
700
+ api.add_operation(:remove_permission, Seahorse::Model::Operation.new.tap do |o|
701
+ o.name = "RemovePermission"
702
+ o.http_method = "DELETE"
703
+ o.http_request_uri = "/2015-03-31/functions/{FunctionName}/policy/{StatementId}"
704
+ o.input = Shapes::ShapeRef.new(shape: RemovePermissionRequest)
705
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
706
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
707
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
708
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
709
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
710
+ end)
711
+
712
+ api.add_operation(:update_alias, Seahorse::Model::Operation.new.tap do |o|
713
+ o.name = "UpdateAlias"
714
+ o.http_method = "PUT"
715
+ o.http_request_uri = "/2015-03-31/functions/{FunctionName}/aliases/{Name}"
716
+ o.input = Shapes::ShapeRef.new(shape: UpdateAliasRequest)
717
+ o.output = Shapes::ShapeRef.new(shape: AliasConfiguration)
718
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
719
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
720
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
721
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
722
+ end)
723
+
724
+ api.add_operation(:update_event_source_mapping, Seahorse::Model::Operation.new.tap do |o|
725
+ o.name = "UpdateEventSourceMapping"
726
+ o.http_method = "PUT"
727
+ o.http_request_uri = "/2015-03-31/event-source-mappings/{UUID}"
728
+ o.input = Shapes::ShapeRef.new(shape: UpdateEventSourceMappingRequest)
729
+ o.output = Shapes::ShapeRef.new(shape: EventSourceMappingConfiguration)
730
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
731
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
732
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
733
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
734
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
735
+ end)
736
+
737
+ api.add_operation(:update_function_code, Seahorse::Model::Operation.new.tap do |o|
738
+ o.name = "UpdateFunctionCode"
739
+ o.http_method = "PUT"
740
+ o.http_request_uri = "/2015-03-31/functions/{FunctionName}/code"
741
+ o.input = Shapes::ShapeRef.new(shape: UpdateFunctionCodeRequest)
742
+ o.output = Shapes::ShapeRef.new(shape: FunctionConfiguration)
743
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
744
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
745
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
746
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
747
+ o.errors << Shapes::ShapeRef.new(shape: CodeStorageExceededException)
748
+ end)
749
+
750
+ api.add_operation(:update_function_configuration, Seahorse::Model::Operation.new.tap do |o|
751
+ o.name = "UpdateFunctionConfiguration"
752
+ o.http_method = "PUT"
753
+ o.http_request_uri = "/2015-03-31/functions/{FunctionName}/configuration"
754
+ o.input = Shapes::ShapeRef.new(shape: UpdateFunctionConfigurationRequest)
755
+ o.output = Shapes::ShapeRef.new(shape: FunctionConfiguration)
756
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
757
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
758
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
759
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
760
+ end)
764
761
  end
762
+
765
763
  end
766
764
  end