aws-sdk-lambda 1.25.0 → 1.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-lambda.rb +1 -1
- data/lib/aws-sdk-lambda/client.rb +1 -1
- data/lib/aws-sdk-lambda/client_api.rb +103 -0
- data/lib/aws-sdk-lambda/errors.rb +540 -0
- data/lib/aws-sdk-lambda/types.rb +458 -0
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fd4a1d627ca8741cf2a00638c1dfff0d1f571549
|
|
4
|
+
data.tar.gz: 6bdf4ffccfb398d43ee04f139af7e4ff8cb0ee49
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 918a6eba3acdcbb9c1c3429f1a75c18a489d4bfe7676f653443a6a5a844facca12c388cdb2b778487cb8728d0ba4d5b540b9ef64b27d759508b0c87789fc2982
|
|
7
|
+
data.tar.gz: ee76eed6a0329939faef01f08d9a295999430dfc6c474043f923297ffc0d5493770c3393406a7fb4e6c02f2b218f905d938db31128f670e057f99ab95ca3ab33
|
data/lib/aws-sdk-lambda.rb
CHANGED
|
@@ -3613,7 +3613,7 @@ module Aws::Lambda
|
|
|
3613
3613
|
params: params,
|
|
3614
3614
|
config: config)
|
|
3615
3615
|
context[:gem_name] = 'aws-sdk-lambda'
|
|
3616
|
-
context[:gem_version] = '1.
|
|
3616
|
+
context[:gem_version] = '1.26.0'
|
|
3617
3617
|
Seahorse::Client::Request.new(handlers, context)
|
|
3618
3618
|
end
|
|
3619
3619
|
|
|
@@ -248,6 +248,10 @@ module Aws::Lambda
|
|
|
248
248
|
AliasRoutingConfiguration.add_member(:additional_version_weights, Shapes::ShapeRef.new(shape: AdditionalVersionWeights, location_name: "AdditionalVersionWeights"))
|
|
249
249
|
AliasRoutingConfiguration.struct_class = Types::AliasRoutingConfiguration
|
|
250
250
|
|
|
251
|
+
CodeStorageExceededException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
|
|
252
|
+
CodeStorageExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
|
253
|
+
CodeStorageExceededException.struct_class = Types::CodeStorageExceededException
|
|
254
|
+
|
|
251
255
|
CompatibleRuntimes.member = Shapes::ShapeRef.new(shape: Runtime)
|
|
252
256
|
|
|
253
257
|
Concurrency.add_member(:reserved_concurrent_executions, Shapes::ShapeRef.new(shape: ReservedConcurrentExecutions, location_name: "ReservedConcurrentExecutions"))
|
|
@@ -307,6 +311,23 @@ module Aws::Lambda
|
|
|
307
311
|
DeleteLayerVersionRequest.add_member(:version_number, Shapes::ShapeRef.new(shape: LayerVersionNumber, required: true, location: "uri", location_name: "VersionNumber"))
|
|
308
312
|
DeleteLayerVersionRequest.struct_class = Types::DeleteLayerVersionRequest
|
|
309
313
|
|
|
314
|
+
EC2AccessDeniedException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
|
|
315
|
+
EC2AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
|
316
|
+
EC2AccessDeniedException.struct_class = Types::EC2AccessDeniedException
|
|
317
|
+
|
|
318
|
+
EC2ThrottledException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
|
|
319
|
+
EC2ThrottledException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
|
320
|
+
EC2ThrottledException.struct_class = Types::EC2ThrottledException
|
|
321
|
+
|
|
322
|
+
EC2UnexpectedException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
|
|
323
|
+
EC2UnexpectedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
|
324
|
+
EC2UnexpectedException.add_member(:ec2_error_code, Shapes::ShapeRef.new(shape: String, location_name: "EC2ErrorCode"))
|
|
325
|
+
EC2UnexpectedException.struct_class = Types::EC2UnexpectedException
|
|
326
|
+
|
|
327
|
+
ENILimitReachedException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
|
|
328
|
+
ENILimitReachedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
|
329
|
+
ENILimitReachedException.struct_class = Types::ENILimitReachedException
|
|
330
|
+
|
|
310
331
|
Environment.add_member(:variables, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "Variables"))
|
|
311
332
|
Environment.struct_class = Types::Environment
|
|
312
333
|
|
|
@@ -427,6 +448,30 @@ module Aws::Lambda
|
|
|
427
448
|
GetPolicyResponse.add_member(:revision_id, Shapes::ShapeRef.new(shape: String, location_name: "RevisionId"))
|
|
428
449
|
GetPolicyResponse.struct_class = Types::GetPolicyResponse
|
|
429
450
|
|
|
451
|
+
InvalidParameterValueException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
|
|
452
|
+
InvalidParameterValueException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
|
453
|
+
InvalidParameterValueException.struct_class = Types::InvalidParameterValueException
|
|
454
|
+
|
|
455
|
+
InvalidRequestContentException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
|
|
456
|
+
InvalidRequestContentException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
|
457
|
+
InvalidRequestContentException.struct_class = Types::InvalidRequestContentException
|
|
458
|
+
|
|
459
|
+
InvalidRuntimeException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
|
|
460
|
+
InvalidRuntimeException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
|
461
|
+
InvalidRuntimeException.struct_class = Types::InvalidRuntimeException
|
|
462
|
+
|
|
463
|
+
InvalidSecurityGroupIDException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
|
|
464
|
+
InvalidSecurityGroupIDException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
|
465
|
+
InvalidSecurityGroupIDException.struct_class = Types::InvalidSecurityGroupIDException
|
|
466
|
+
|
|
467
|
+
InvalidSubnetIDException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
|
|
468
|
+
InvalidSubnetIDException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
|
469
|
+
InvalidSubnetIDException.struct_class = Types::InvalidSubnetIDException
|
|
470
|
+
|
|
471
|
+
InvalidZipFileException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
|
|
472
|
+
InvalidZipFileException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
|
473
|
+
InvalidZipFileException.struct_class = Types::InvalidZipFileException
|
|
474
|
+
|
|
430
475
|
InvocationRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: NamespacedFunctionName, required: true, location: "uri", location_name: "FunctionName"))
|
|
431
476
|
InvocationRequest.add_member(:invocation_type, Shapes::ShapeRef.new(shape: InvocationType, location: "header", location_name: "X-Amz-Invocation-Type"))
|
|
432
477
|
InvocationRequest.add_member(:log_type, Shapes::ShapeRef.new(shape: LogType, location: "header", location_name: "X-Amz-Log-Type"))
|
|
@@ -455,6 +500,22 @@ module Aws::Lambda
|
|
|
455
500
|
InvokeAsyncResponse.add_member(:status, Shapes::ShapeRef.new(shape: HttpStatus, location: "statusCode", location_name: "Status"))
|
|
456
501
|
InvokeAsyncResponse.struct_class = Types::InvokeAsyncResponse
|
|
457
502
|
|
|
503
|
+
KMSAccessDeniedException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
|
|
504
|
+
KMSAccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
|
505
|
+
KMSAccessDeniedException.struct_class = Types::KMSAccessDeniedException
|
|
506
|
+
|
|
507
|
+
KMSDisabledException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
|
|
508
|
+
KMSDisabledException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
|
509
|
+
KMSDisabledException.struct_class = Types::KMSDisabledException
|
|
510
|
+
|
|
511
|
+
KMSInvalidStateException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
|
|
512
|
+
KMSInvalidStateException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
|
513
|
+
KMSInvalidStateException.struct_class = Types::KMSInvalidStateException
|
|
514
|
+
|
|
515
|
+
KMSNotFoundException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
|
|
516
|
+
KMSNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
|
517
|
+
KMSNotFoundException.struct_class = Types::KMSNotFoundException
|
|
518
|
+
|
|
458
519
|
Layer.add_member(:arn, Shapes::ShapeRef.new(shape: LayerVersionArn, location_name: "Arn"))
|
|
459
520
|
Layer.add_member(:code_size, Shapes::ShapeRef.new(shape: Long, location_name: "CodeSize"))
|
|
460
521
|
Layer.struct_class = Types::Layer
|
|
@@ -555,6 +616,14 @@ module Aws::Lambda
|
|
|
555
616
|
ListVersionsByFunctionResponse.add_member(:versions, Shapes::ShapeRef.new(shape: FunctionList, location_name: "Versions"))
|
|
556
617
|
ListVersionsByFunctionResponse.struct_class = Types::ListVersionsByFunctionResponse
|
|
557
618
|
|
|
619
|
+
PolicyLengthExceededException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
|
|
620
|
+
PolicyLengthExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
|
621
|
+
PolicyLengthExceededException.struct_class = Types::PolicyLengthExceededException
|
|
622
|
+
|
|
623
|
+
PreconditionFailedException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
|
|
624
|
+
PreconditionFailedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
|
625
|
+
PreconditionFailedException.struct_class = Types::PreconditionFailedException
|
|
626
|
+
|
|
558
627
|
PublishLayerVersionRequest.add_member(:layer_name, Shapes::ShapeRef.new(shape: LayerName, required: true, location: "uri", location_name: "LayerName"))
|
|
559
628
|
PublishLayerVersionRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
|
560
629
|
PublishLayerVersionRequest.add_member(:content, Shapes::ShapeRef.new(shape: LayerVersionContentInput, required: true, location_name: "Content"))
|
|
@@ -594,8 +663,32 @@ module Aws::Lambda
|
|
|
594
663
|
RemovePermissionRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "RevisionId"))
|
|
595
664
|
RemovePermissionRequest.struct_class = Types::RemovePermissionRequest
|
|
596
665
|
|
|
666
|
+
RequestTooLargeException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
|
|
667
|
+
RequestTooLargeException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
|
668
|
+
RequestTooLargeException.struct_class = Types::RequestTooLargeException
|
|
669
|
+
|
|
670
|
+
ResourceConflictException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
|
|
671
|
+
ResourceConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
|
672
|
+
ResourceConflictException.struct_class = Types::ResourceConflictException
|
|
673
|
+
|
|
674
|
+
ResourceInUseException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
|
|
675
|
+
ResourceInUseException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
|
676
|
+
ResourceInUseException.struct_class = Types::ResourceInUseException
|
|
677
|
+
|
|
678
|
+
ResourceNotFoundException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
|
|
679
|
+
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
|
680
|
+
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
|
681
|
+
|
|
597
682
|
SecurityGroupIds.member = Shapes::ShapeRef.new(shape: SecurityGroupId)
|
|
598
683
|
|
|
684
|
+
ServiceException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
|
|
685
|
+
ServiceException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
|
686
|
+
ServiceException.struct_class = Types::ServiceException
|
|
687
|
+
|
|
688
|
+
SubnetIPAddressLimitReachedException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
|
|
689
|
+
SubnetIPAddressLimitReachedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
|
690
|
+
SubnetIPAddressLimitReachedException.struct_class = Types::SubnetIPAddressLimitReachedException
|
|
691
|
+
|
|
599
692
|
SubnetIds.member = Shapes::ShapeRef.new(shape: SubnetId)
|
|
600
693
|
|
|
601
694
|
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
|
@@ -607,12 +700,22 @@ module Aws::Lambda
|
|
|
607
700
|
Tags.key = Shapes::ShapeRef.new(shape: TagKey)
|
|
608
701
|
Tags.value = Shapes::ShapeRef.new(shape: TagValue)
|
|
609
702
|
|
|
703
|
+
TooManyRequestsException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "Retry-After"))
|
|
704
|
+
TooManyRequestsException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
|
|
705
|
+
TooManyRequestsException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
|
706
|
+
TooManyRequestsException.add_member(:reason, Shapes::ShapeRef.new(shape: ThrottleReason, location_name: "Reason"))
|
|
707
|
+
TooManyRequestsException.struct_class = Types::TooManyRequestsException
|
|
708
|
+
|
|
610
709
|
TracingConfig.add_member(:mode, Shapes::ShapeRef.new(shape: TracingMode, location_name: "Mode"))
|
|
611
710
|
TracingConfig.struct_class = Types::TracingConfig
|
|
612
711
|
|
|
613
712
|
TracingConfigResponse.add_member(:mode, Shapes::ShapeRef.new(shape: TracingMode, location_name: "Mode"))
|
|
614
713
|
TracingConfigResponse.struct_class = Types::TracingConfigResponse
|
|
615
714
|
|
|
715
|
+
UnsupportedMediaTypeException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
|
|
716
|
+
UnsupportedMediaTypeException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
|
717
|
+
UnsupportedMediaTypeException.struct_class = Types::UnsupportedMediaTypeException
|
|
718
|
+
|
|
616
719
|
UntagResourceRequest.add_member(:resource, Shapes::ShapeRef.new(shape: FunctionArn, required: true, location: "uri", location_name: "ARN"))
|
|
617
720
|
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
|
|
618
721
|
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
|
@@ -10,5 +10,545 @@ module Aws::Lambda
|
|
|
10
10
|
|
|
11
11
|
extend Aws::Errors::DynamicErrors
|
|
12
12
|
|
|
13
|
+
class CodeStorageExceededException < ServiceError
|
|
14
|
+
|
|
15
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
16
|
+
# @param [String] message
|
|
17
|
+
# @param [Aws::Lambda::Types::CodeStorageExceededException] data
|
|
18
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
19
|
+
super(context, message, data)
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
# @return [String]
|
|
23
|
+
def type
|
|
24
|
+
@data[:type]
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
# @return [String]
|
|
28
|
+
def message
|
|
29
|
+
@message || @data[:message]
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
class EC2AccessDeniedException < ServiceError
|
|
35
|
+
|
|
36
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
37
|
+
# @param [String] message
|
|
38
|
+
# @param [Aws::Lambda::Types::EC2AccessDeniedException] data
|
|
39
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
40
|
+
super(context, message, data)
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
# @return [String]
|
|
44
|
+
def type
|
|
45
|
+
@data[:type]
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
# @return [String]
|
|
49
|
+
def message
|
|
50
|
+
@message || @data[:message]
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
class EC2ThrottledException < ServiceError
|
|
56
|
+
|
|
57
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
58
|
+
# @param [String] message
|
|
59
|
+
# @param [Aws::Lambda::Types::EC2ThrottledException] data
|
|
60
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
61
|
+
super(context, message, data)
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
# @return [String]
|
|
65
|
+
def type
|
|
66
|
+
@data[:type]
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
# @return [String]
|
|
70
|
+
def message
|
|
71
|
+
@message || @data[:message]
|
|
72
|
+
end
|
|
73
|
+
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
class EC2UnexpectedException < ServiceError
|
|
77
|
+
|
|
78
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
79
|
+
# @param [String] message
|
|
80
|
+
# @param [Aws::Lambda::Types::EC2UnexpectedException] data
|
|
81
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
82
|
+
super(context, message, data)
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
# @return [String]
|
|
86
|
+
def type
|
|
87
|
+
@data[:type]
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
# @return [String]
|
|
91
|
+
def message
|
|
92
|
+
@message || @data[:message]
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
# @return [String]
|
|
96
|
+
def ec2_error_code
|
|
97
|
+
@data[:ec2_error_code]
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
class ENILimitReachedException < ServiceError
|
|
103
|
+
|
|
104
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
105
|
+
# @param [String] message
|
|
106
|
+
# @param [Aws::Lambda::Types::ENILimitReachedException] data
|
|
107
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
108
|
+
super(context, message, data)
|
|
109
|
+
end
|
|
110
|
+
|
|
111
|
+
# @return [String]
|
|
112
|
+
def type
|
|
113
|
+
@data[:type]
|
|
114
|
+
end
|
|
115
|
+
|
|
116
|
+
# @return [String]
|
|
117
|
+
def message
|
|
118
|
+
@message || @data[:message]
|
|
119
|
+
end
|
|
120
|
+
|
|
121
|
+
end
|
|
122
|
+
|
|
123
|
+
class InvalidParameterValueException < ServiceError
|
|
124
|
+
|
|
125
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
126
|
+
# @param [String] message
|
|
127
|
+
# @param [Aws::Lambda::Types::InvalidParameterValueException] data
|
|
128
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
129
|
+
super(context, message, data)
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
# @return [String]
|
|
133
|
+
def type
|
|
134
|
+
@data[:type]
|
|
135
|
+
end
|
|
136
|
+
|
|
137
|
+
# @return [String]
|
|
138
|
+
def message
|
|
139
|
+
@message || @data[:message]
|
|
140
|
+
end
|
|
141
|
+
|
|
142
|
+
end
|
|
143
|
+
|
|
144
|
+
class InvalidRequestContentException < ServiceError
|
|
145
|
+
|
|
146
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
147
|
+
# @param [String] message
|
|
148
|
+
# @param [Aws::Lambda::Types::InvalidRequestContentException] data
|
|
149
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
150
|
+
super(context, message, data)
|
|
151
|
+
end
|
|
152
|
+
|
|
153
|
+
# @return [String]
|
|
154
|
+
def type
|
|
155
|
+
@data[:type]
|
|
156
|
+
end
|
|
157
|
+
|
|
158
|
+
# @return [String]
|
|
159
|
+
def message
|
|
160
|
+
@message || @data[:message]
|
|
161
|
+
end
|
|
162
|
+
|
|
163
|
+
end
|
|
164
|
+
|
|
165
|
+
class InvalidRuntimeException < ServiceError
|
|
166
|
+
|
|
167
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
168
|
+
# @param [String] message
|
|
169
|
+
# @param [Aws::Lambda::Types::InvalidRuntimeException] data
|
|
170
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
171
|
+
super(context, message, data)
|
|
172
|
+
end
|
|
173
|
+
|
|
174
|
+
# @return [String]
|
|
175
|
+
def type
|
|
176
|
+
@data[:type]
|
|
177
|
+
end
|
|
178
|
+
|
|
179
|
+
# @return [String]
|
|
180
|
+
def message
|
|
181
|
+
@message || @data[:message]
|
|
182
|
+
end
|
|
183
|
+
|
|
184
|
+
end
|
|
185
|
+
|
|
186
|
+
class InvalidSecurityGroupIDException < ServiceError
|
|
187
|
+
|
|
188
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
189
|
+
# @param [String] message
|
|
190
|
+
# @param [Aws::Lambda::Types::InvalidSecurityGroupIDException] data
|
|
191
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
192
|
+
super(context, message, data)
|
|
193
|
+
end
|
|
194
|
+
|
|
195
|
+
# @return [String]
|
|
196
|
+
def type
|
|
197
|
+
@data[:type]
|
|
198
|
+
end
|
|
199
|
+
|
|
200
|
+
# @return [String]
|
|
201
|
+
def message
|
|
202
|
+
@message || @data[:message]
|
|
203
|
+
end
|
|
204
|
+
|
|
205
|
+
end
|
|
206
|
+
|
|
207
|
+
class InvalidSubnetIDException < ServiceError
|
|
208
|
+
|
|
209
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
210
|
+
# @param [String] message
|
|
211
|
+
# @param [Aws::Lambda::Types::InvalidSubnetIDException] data
|
|
212
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
213
|
+
super(context, message, data)
|
|
214
|
+
end
|
|
215
|
+
|
|
216
|
+
# @return [String]
|
|
217
|
+
def type
|
|
218
|
+
@data[:type]
|
|
219
|
+
end
|
|
220
|
+
|
|
221
|
+
# @return [String]
|
|
222
|
+
def message
|
|
223
|
+
@message || @data[:message]
|
|
224
|
+
end
|
|
225
|
+
|
|
226
|
+
end
|
|
227
|
+
|
|
228
|
+
class InvalidZipFileException < ServiceError
|
|
229
|
+
|
|
230
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
231
|
+
# @param [String] message
|
|
232
|
+
# @param [Aws::Lambda::Types::InvalidZipFileException] data
|
|
233
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
234
|
+
super(context, message, data)
|
|
235
|
+
end
|
|
236
|
+
|
|
237
|
+
# @return [String]
|
|
238
|
+
def type
|
|
239
|
+
@data[:type]
|
|
240
|
+
end
|
|
241
|
+
|
|
242
|
+
# @return [String]
|
|
243
|
+
def message
|
|
244
|
+
@message || @data[:message]
|
|
245
|
+
end
|
|
246
|
+
|
|
247
|
+
end
|
|
248
|
+
|
|
249
|
+
class KMSAccessDeniedException < ServiceError
|
|
250
|
+
|
|
251
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
252
|
+
# @param [String] message
|
|
253
|
+
# @param [Aws::Lambda::Types::KMSAccessDeniedException] data
|
|
254
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
255
|
+
super(context, message, data)
|
|
256
|
+
end
|
|
257
|
+
|
|
258
|
+
# @return [String]
|
|
259
|
+
def type
|
|
260
|
+
@data[:type]
|
|
261
|
+
end
|
|
262
|
+
|
|
263
|
+
# @return [String]
|
|
264
|
+
def message
|
|
265
|
+
@message || @data[:message]
|
|
266
|
+
end
|
|
267
|
+
|
|
268
|
+
end
|
|
269
|
+
|
|
270
|
+
class KMSDisabledException < ServiceError
|
|
271
|
+
|
|
272
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
273
|
+
# @param [String] message
|
|
274
|
+
# @param [Aws::Lambda::Types::KMSDisabledException] data
|
|
275
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
276
|
+
super(context, message, data)
|
|
277
|
+
end
|
|
278
|
+
|
|
279
|
+
# @return [String]
|
|
280
|
+
def type
|
|
281
|
+
@data[:type]
|
|
282
|
+
end
|
|
283
|
+
|
|
284
|
+
# @return [String]
|
|
285
|
+
def message
|
|
286
|
+
@message || @data[:message]
|
|
287
|
+
end
|
|
288
|
+
|
|
289
|
+
end
|
|
290
|
+
|
|
291
|
+
class KMSInvalidStateException < ServiceError
|
|
292
|
+
|
|
293
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
294
|
+
# @param [String] message
|
|
295
|
+
# @param [Aws::Lambda::Types::KMSInvalidStateException] data
|
|
296
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
297
|
+
super(context, message, data)
|
|
298
|
+
end
|
|
299
|
+
|
|
300
|
+
# @return [String]
|
|
301
|
+
def type
|
|
302
|
+
@data[:type]
|
|
303
|
+
end
|
|
304
|
+
|
|
305
|
+
# @return [String]
|
|
306
|
+
def message
|
|
307
|
+
@message || @data[:message]
|
|
308
|
+
end
|
|
309
|
+
|
|
310
|
+
end
|
|
311
|
+
|
|
312
|
+
class KMSNotFoundException < ServiceError
|
|
313
|
+
|
|
314
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
315
|
+
# @param [String] message
|
|
316
|
+
# @param [Aws::Lambda::Types::KMSNotFoundException] data
|
|
317
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
318
|
+
super(context, message, data)
|
|
319
|
+
end
|
|
320
|
+
|
|
321
|
+
# @return [String]
|
|
322
|
+
def type
|
|
323
|
+
@data[:type]
|
|
324
|
+
end
|
|
325
|
+
|
|
326
|
+
# @return [String]
|
|
327
|
+
def message
|
|
328
|
+
@message || @data[:message]
|
|
329
|
+
end
|
|
330
|
+
|
|
331
|
+
end
|
|
332
|
+
|
|
333
|
+
class PolicyLengthExceededException < ServiceError
|
|
334
|
+
|
|
335
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
336
|
+
# @param [String] message
|
|
337
|
+
# @param [Aws::Lambda::Types::PolicyLengthExceededException] data
|
|
338
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
339
|
+
super(context, message, data)
|
|
340
|
+
end
|
|
341
|
+
|
|
342
|
+
# @return [String]
|
|
343
|
+
def type
|
|
344
|
+
@data[:type]
|
|
345
|
+
end
|
|
346
|
+
|
|
347
|
+
# @return [String]
|
|
348
|
+
def message
|
|
349
|
+
@message || @data[:message]
|
|
350
|
+
end
|
|
351
|
+
|
|
352
|
+
end
|
|
353
|
+
|
|
354
|
+
class PreconditionFailedException < ServiceError
|
|
355
|
+
|
|
356
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
357
|
+
# @param [String] message
|
|
358
|
+
# @param [Aws::Lambda::Types::PreconditionFailedException] data
|
|
359
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
360
|
+
super(context, message, data)
|
|
361
|
+
end
|
|
362
|
+
|
|
363
|
+
# @return [String]
|
|
364
|
+
def type
|
|
365
|
+
@data[:type]
|
|
366
|
+
end
|
|
367
|
+
|
|
368
|
+
# @return [String]
|
|
369
|
+
def message
|
|
370
|
+
@message || @data[:message]
|
|
371
|
+
end
|
|
372
|
+
|
|
373
|
+
end
|
|
374
|
+
|
|
375
|
+
class RequestTooLargeException < ServiceError
|
|
376
|
+
|
|
377
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
378
|
+
# @param [String] message
|
|
379
|
+
# @param [Aws::Lambda::Types::RequestTooLargeException] data
|
|
380
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
381
|
+
super(context, message, data)
|
|
382
|
+
end
|
|
383
|
+
|
|
384
|
+
# @return [String]
|
|
385
|
+
def type
|
|
386
|
+
@data[:type]
|
|
387
|
+
end
|
|
388
|
+
|
|
389
|
+
# @return [String]
|
|
390
|
+
def message
|
|
391
|
+
@message || @data[:message]
|
|
392
|
+
end
|
|
393
|
+
|
|
394
|
+
end
|
|
395
|
+
|
|
396
|
+
class ResourceConflictException < ServiceError
|
|
397
|
+
|
|
398
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
399
|
+
# @param [String] message
|
|
400
|
+
# @param [Aws::Lambda::Types::ResourceConflictException] data
|
|
401
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
402
|
+
super(context, message, data)
|
|
403
|
+
end
|
|
404
|
+
|
|
405
|
+
# @return [String]
|
|
406
|
+
def type
|
|
407
|
+
@data[:type]
|
|
408
|
+
end
|
|
409
|
+
|
|
410
|
+
# @return [String]
|
|
411
|
+
def message
|
|
412
|
+
@message || @data[:message]
|
|
413
|
+
end
|
|
414
|
+
|
|
415
|
+
end
|
|
416
|
+
|
|
417
|
+
class ResourceInUseException < ServiceError
|
|
418
|
+
|
|
419
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
420
|
+
# @param [String] message
|
|
421
|
+
# @param [Aws::Lambda::Types::ResourceInUseException] data
|
|
422
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
423
|
+
super(context, message, data)
|
|
424
|
+
end
|
|
425
|
+
|
|
426
|
+
# @return [String]
|
|
427
|
+
def type
|
|
428
|
+
@data[:type]
|
|
429
|
+
end
|
|
430
|
+
|
|
431
|
+
# @return [String]
|
|
432
|
+
def message
|
|
433
|
+
@message || @data[:message]
|
|
434
|
+
end
|
|
435
|
+
|
|
436
|
+
end
|
|
437
|
+
|
|
438
|
+
class ResourceNotFoundException < ServiceError
|
|
439
|
+
|
|
440
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
441
|
+
# @param [String] message
|
|
442
|
+
# @param [Aws::Lambda::Types::ResourceNotFoundException] data
|
|
443
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
444
|
+
super(context, message, data)
|
|
445
|
+
end
|
|
446
|
+
|
|
447
|
+
# @return [String]
|
|
448
|
+
def type
|
|
449
|
+
@data[:type]
|
|
450
|
+
end
|
|
451
|
+
|
|
452
|
+
# @return [String]
|
|
453
|
+
def message
|
|
454
|
+
@message || @data[:message]
|
|
455
|
+
end
|
|
456
|
+
|
|
457
|
+
end
|
|
458
|
+
|
|
459
|
+
class ServiceException < ServiceError
|
|
460
|
+
|
|
461
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
462
|
+
# @param [String] message
|
|
463
|
+
# @param [Aws::Lambda::Types::ServiceException] data
|
|
464
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
465
|
+
super(context, message, data)
|
|
466
|
+
end
|
|
467
|
+
|
|
468
|
+
# @return [String]
|
|
469
|
+
def type
|
|
470
|
+
@data[:type]
|
|
471
|
+
end
|
|
472
|
+
|
|
473
|
+
# @return [String]
|
|
474
|
+
def message
|
|
475
|
+
@message || @data[:message]
|
|
476
|
+
end
|
|
477
|
+
|
|
478
|
+
end
|
|
479
|
+
|
|
480
|
+
class SubnetIPAddressLimitReachedException < ServiceError
|
|
481
|
+
|
|
482
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
483
|
+
# @param [String] message
|
|
484
|
+
# @param [Aws::Lambda::Types::SubnetIPAddressLimitReachedException] data
|
|
485
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
486
|
+
super(context, message, data)
|
|
487
|
+
end
|
|
488
|
+
|
|
489
|
+
# @return [String]
|
|
490
|
+
def type
|
|
491
|
+
@data[:type]
|
|
492
|
+
end
|
|
493
|
+
|
|
494
|
+
# @return [String]
|
|
495
|
+
def message
|
|
496
|
+
@message || @data[:message]
|
|
497
|
+
end
|
|
498
|
+
|
|
499
|
+
end
|
|
500
|
+
|
|
501
|
+
class TooManyRequestsException < ServiceError
|
|
502
|
+
|
|
503
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
504
|
+
# @param [String] message
|
|
505
|
+
# @param [Aws::Lambda::Types::TooManyRequestsException] data
|
|
506
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
507
|
+
super(context, message, data)
|
|
508
|
+
end
|
|
509
|
+
|
|
510
|
+
# @return [String]
|
|
511
|
+
def retry_after_seconds
|
|
512
|
+
@data[:retry_after_seconds]
|
|
513
|
+
end
|
|
514
|
+
|
|
515
|
+
# @return [String]
|
|
516
|
+
def type
|
|
517
|
+
@data[:type]
|
|
518
|
+
end
|
|
519
|
+
|
|
520
|
+
# @return [String]
|
|
521
|
+
def message
|
|
522
|
+
@message || @data[:message]
|
|
523
|
+
end
|
|
524
|
+
|
|
525
|
+
# @return [String]
|
|
526
|
+
def reason
|
|
527
|
+
@data[:reason]
|
|
528
|
+
end
|
|
529
|
+
|
|
530
|
+
end
|
|
531
|
+
|
|
532
|
+
class UnsupportedMediaTypeException < ServiceError
|
|
533
|
+
|
|
534
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
535
|
+
# @param [String] message
|
|
536
|
+
# @param [Aws::Lambda::Types::UnsupportedMediaTypeException] data
|
|
537
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
538
|
+
super(context, message, data)
|
|
539
|
+
end
|
|
540
|
+
|
|
541
|
+
# @return [String]
|
|
542
|
+
def type
|
|
543
|
+
@data[:type]
|
|
544
|
+
end
|
|
545
|
+
|
|
546
|
+
# @return [String]
|
|
547
|
+
def message
|
|
548
|
+
@message || @data[:message]
|
|
549
|
+
end
|
|
550
|
+
|
|
551
|
+
end
|
|
552
|
+
|
|
13
553
|
end
|
|
14
554
|
end
|
data/lib/aws-sdk-lambda/types.rb
CHANGED
|
@@ -320,6 +320,28 @@ module Aws::Lambda
|
|
|
320
320
|
include Aws::Structure
|
|
321
321
|
end
|
|
322
322
|
|
|
323
|
+
# You have exceeded your maximum total code size per account. [Learn
|
|
324
|
+
# more][1]
|
|
325
|
+
#
|
|
326
|
+
#
|
|
327
|
+
#
|
|
328
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/limits.html
|
|
329
|
+
#
|
|
330
|
+
# @!attribute [rw] type
|
|
331
|
+
# The exception type.
|
|
332
|
+
# @return [String]
|
|
333
|
+
#
|
|
334
|
+
# @!attribute [rw] message
|
|
335
|
+
# @return [String]
|
|
336
|
+
#
|
|
337
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CodeStorageExceededException AWS API Documentation
|
|
338
|
+
#
|
|
339
|
+
class CodeStorageExceededException < Struct.new(
|
|
340
|
+
:type,
|
|
341
|
+
:message)
|
|
342
|
+
include Aws::Structure
|
|
343
|
+
end
|
|
344
|
+
|
|
323
345
|
# @!attribute [rw] reserved_concurrent_executions
|
|
324
346
|
# The number of concurrent executions that are reserved for this
|
|
325
347
|
# function. For more information, see [Managing Concurrency][1].
|
|
@@ -829,6 +851,79 @@ module Aws::Lambda
|
|
|
829
851
|
include Aws::Structure
|
|
830
852
|
end
|
|
831
853
|
|
|
854
|
+
# Need additional permissions to configure VPC settings.
|
|
855
|
+
#
|
|
856
|
+
# @!attribute [rw] type
|
|
857
|
+
# @return [String]
|
|
858
|
+
#
|
|
859
|
+
# @!attribute [rw] message
|
|
860
|
+
# @return [String]
|
|
861
|
+
#
|
|
862
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EC2AccessDeniedException AWS API Documentation
|
|
863
|
+
#
|
|
864
|
+
class EC2AccessDeniedException < Struct.new(
|
|
865
|
+
:type,
|
|
866
|
+
:message)
|
|
867
|
+
include Aws::Structure
|
|
868
|
+
end
|
|
869
|
+
|
|
870
|
+
# AWS Lambda was throttled by Amazon EC2 during Lambda function
|
|
871
|
+
# initialization using the execution role provided for the Lambda
|
|
872
|
+
# function.
|
|
873
|
+
#
|
|
874
|
+
# @!attribute [rw] type
|
|
875
|
+
# @return [String]
|
|
876
|
+
#
|
|
877
|
+
# @!attribute [rw] message
|
|
878
|
+
# @return [String]
|
|
879
|
+
#
|
|
880
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EC2ThrottledException AWS API Documentation
|
|
881
|
+
#
|
|
882
|
+
class EC2ThrottledException < Struct.new(
|
|
883
|
+
:type,
|
|
884
|
+
:message)
|
|
885
|
+
include Aws::Structure
|
|
886
|
+
end
|
|
887
|
+
|
|
888
|
+
# AWS Lambda received an unexpected EC2 client exception while setting
|
|
889
|
+
# up for the Lambda function.
|
|
890
|
+
#
|
|
891
|
+
# @!attribute [rw] type
|
|
892
|
+
# @return [String]
|
|
893
|
+
#
|
|
894
|
+
# @!attribute [rw] message
|
|
895
|
+
# @return [String]
|
|
896
|
+
#
|
|
897
|
+
# @!attribute [rw] ec2_error_code
|
|
898
|
+
# @return [String]
|
|
899
|
+
#
|
|
900
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EC2UnexpectedException AWS API Documentation
|
|
901
|
+
#
|
|
902
|
+
class EC2UnexpectedException < Struct.new(
|
|
903
|
+
:type,
|
|
904
|
+
:message,
|
|
905
|
+
:ec2_error_code)
|
|
906
|
+
include Aws::Structure
|
|
907
|
+
end
|
|
908
|
+
|
|
909
|
+
# AWS Lambda was not able to create an Elastic Network Interface (ENI)
|
|
910
|
+
# in the VPC, specified as part of Lambda function configuration,
|
|
911
|
+
# because the limit for network interfaces has been reached.
|
|
912
|
+
#
|
|
913
|
+
# @!attribute [rw] type
|
|
914
|
+
# @return [String]
|
|
915
|
+
#
|
|
916
|
+
# @!attribute [rw] message
|
|
917
|
+
# @return [String]
|
|
918
|
+
#
|
|
919
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ENILimitReachedException AWS API Documentation
|
|
920
|
+
#
|
|
921
|
+
class ENILimitReachedException < Struct.new(
|
|
922
|
+
:type,
|
|
923
|
+
:message)
|
|
924
|
+
include Aws::Structure
|
|
925
|
+
end
|
|
926
|
+
|
|
832
927
|
# A function's environment variable settings.
|
|
833
928
|
#
|
|
834
929
|
# @note When making an API call, you may pass Environment
|
|
@@ -1496,6 +1591,111 @@ module Aws::Lambda
|
|
|
1496
1591
|
include Aws::Structure
|
|
1497
1592
|
end
|
|
1498
1593
|
|
|
1594
|
+
# One of the parameters in the request is invalid. For example, if you
|
|
1595
|
+
# provided an IAM role for AWS Lambda to assume in the `CreateFunction`
|
|
1596
|
+
# or the `UpdateFunctionConfiguration` API, that AWS Lambda is unable to
|
|
1597
|
+
# assume you will get this exception.
|
|
1598
|
+
#
|
|
1599
|
+
# @!attribute [rw] type
|
|
1600
|
+
# The exception type.
|
|
1601
|
+
# @return [String]
|
|
1602
|
+
#
|
|
1603
|
+
# @!attribute [rw] message
|
|
1604
|
+
# The exception message.
|
|
1605
|
+
# @return [String]
|
|
1606
|
+
#
|
|
1607
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/InvalidParameterValueException AWS API Documentation
|
|
1608
|
+
#
|
|
1609
|
+
class InvalidParameterValueException < Struct.new(
|
|
1610
|
+
:type,
|
|
1611
|
+
:message)
|
|
1612
|
+
include Aws::Structure
|
|
1613
|
+
end
|
|
1614
|
+
|
|
1615
|
+
# The request body could not be parsed as JSON.
|
|
1616
|
+
#
|
|
1617
|
+
# @!attribute [rw] type
|
|
1618
|
+
# The exception type.
|
|
1619
|
+
# @return [String]
|
|
1620
|
+
#
|
|
1621
|
+
# @!attribute [rw] message
|
|
1622
|
+
# The exception message.
|
|
1623
|
+
# @return [String]
|
|
1624
|
+
#
|
|
1625
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/InvalidRequestContentException AWS API Documentation
|
|
1626
|
+
#
|
|
1627
|
+
class InvalidRequestContentException < Struct.new(
|
|
1628
|
+
:type,
|
|
1629
|
+
:message)
|
|
1630
|
+
include Aws::Structure
|
|
1631
|
+
end
|
|
1632
|
+
|
|
1633
|
+
# The runtime or runtime version specified is not supported.
|
|
1634
|
+
#
|
|
1635
|
+
# @!attribute [rw] type
|
|
1636
|
+
# @return [String]
|
|
1637
|
+
#
|
|
1638
|
+
# @!attribute [rw] message
|
|
1639
|
+
# @return [String]
|
|
1640
|
+
#
|
|
1641
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/InvalidRuntimeException AWS API Documentation
|
|
1642
|
+
#
|
|
1643
|
+
class InvalidRuntimeException < Struct.new(
|
|
1644
|
+
:type,
|
|
1645
|
+
:message)
|
|
1646
|
+
include Aws::Structure
|
|
1647
|
+
end
|
|
1648
|
+
|
|
1649
|
+
# The Security Group ID provided in the Lambda function VPC
|
|
1650
|
+
# configuration is invalid.
|
|
1651
|
+
#
|
|
1652
|
+
# @!attribute [rw] type
|
|
1653
|
+
# @return [String]
|
|
1654
|
+
#
|
|
1655
|
+
# @!attribute [rw] message
|
|
1656
|
+
# @return [String]
|
|
1657
|
+
#
|
|
1658
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/InvalidSecurityGroupIDException AWS API Documentation
|
|
1659
|
+
#
|
|
1660
|
+
class InvalidSecurityGroupIDException < Struct.new(
|
|
1661
|
+
:type,
|
|
1662
|
+
:message)
|
|
1663
|
+
include Aws::Structure
|
|
1664
|
+
end
|
|
1665
|
+
|
|
1666
|
+
# The Subnet ID provided in the Lambda function VPC configuration is
|
|
1667
|
+
# invalid.
|
|
1668
|
+
#
|
|
1669
|
+
# @!attribute [rw] type
|
|
1670
|
+
# @return [String]
|
|
1671
|
+
#
|
|
1672
|
+
# @!attribute [rw] message
|
|
1673
|
+
# @return [String]
|
|
1674
|
+
#
|
|
1675
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/InvalidSubnetIDException AWS API Documentation
|
|
1676
|
+
#
|
|
1677
|
+
class InvalidSubnetIDException < Struct.new(
|
|
1678
|
+
:type,
|
|
1679
|
+
:message)
|
|
1680
|
+
include Aws::Structure
|
|
1681
|
+
end
|
|
1682
|
+
|
|
1683
|
+
# AWS Lambda could not unzip the deployment package.
|
|
1684
|
+
#
|
|
1685
|
+
# @!attribute [rw] type
|
|
1686
|
+
# @return [String]
|
|
1687
|
+
#
|
|
1688
|
+
# @!attribute [rw] message
|
|
1689
|
+
# @return [String]
|
|
1690
|
+
#
|
|
1691
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/InvalidZipFileException AWS API Documentation
|
|
1692
|
+
#
|
|
1693
|
+
class InvalidZipFileException < Struct.new(
|
|
1694
|
+
:type,
|
|
1695
|
+
:message)
|
|
1696
|
+
include Aws::Structure
|
|
1697
|
+
end
|
|
1698
|
+
|
|
1499
1699
|
# @note When making an API call, you may pass InvocationRequest
|
|
1500
1700
|
# data as a hash:
|
|
1501
1701
|
#
|
|
@@ -1666,6 +1866,75 @@ module Aws::Lambda
|
|
|
1666
1866
|
include Aws::Structure
|
|
1667
1867
|
end
|
|
1668
1868
|
|
|
1869
|
+
# Lambda was unable to decrypt the environment variables because KMS
|
|
1870
|
+
# access was denied. Check the Lambda function's KMS permissions.
|
|
1871
|
+
#
|
|
1872
|
+
# @!attribute [rw] type
|
|
1873
|
+
# @return [String]
|
|
1874
|
+
#
|
|
1875
|
+
# @!attribute [rw] message
|
|
1876
|
+
# @return [String]
|
|
1877
|
+
#
|
|
1878
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/KMSAccessDeniedException AWS API Documentation
|
|
1879
|
+
#
|
|
1880
|
+
class KMSAccessDeniedException < Struct.new(
|
|
1881
|
+
:type,
|
|
1882
|
+
:message)
|
|
1883
|
+
include Aws::Structure
|
|
1884
|
+
end
|
|
1885
|
+
|
|
1886
|
+
# Lambda was unable to decrypt the environment variables because the KMS
|
|
1887
|
+
# key used is disabled. Check the Lambda function's KMS key settings.
|
|
1888
|
+
#
|
|
1889
|
+
# @!attribute [rw] type
|
|
1890
|
+
# @return [String]
|
|
1891
|
+
#
|
|
1892
|
+
# @!attribute [rw] message
|
|
1893
|
+
# @return [String]
|
|
1894
|
+
#
|
|
1895
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/KMSDisabledException AWS API Documentation
|
|
1896
|
+
#
|
|
1897
|
+
class KMSDisabledException < Struct.new(
|
|
1898
|
+
:type,
|
|
1899
|
+
:message)
|
|
1900
|
+
include Aws::Structure
|
|
1901
|
+
end
|
|
1902
|
+
|
|
1903
|
+
# Lambda was unable to decrypt the environment variables because the KMS
|
|
1904
|
+
# key used is in an invalid state for Decrypt. Check the function's KMS
|
|
1905
|
+
# key settings.
|
|
1906
|
+
#
|
|
1907
|
+
# @!attribute [rw] type
|
|
1908
|
+
# @return [String]
|
|
1909
|
+
#
|
|
1910
|
+
# @!attribute [rw] message
|
|
1911
|
+
# @return [String]
|
|
1912
|
+
#
|
|
1913
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/KMSInvalidStateException AWS API Documentation
|
|
1914
|
+
#
|
|
1915
|
+
class KMSInvalidStateException < Struct.new(
|
|
1916
|
+
:type,
|
|
1917
|
+
:message)
|
|
1918
|
+
include Aws::Structure
|
|
1919
|
+
end
|
|
1920
|
+
|
|
1921
|
+
# Lambda was unable to decrypt the environment variables because the KMS
|
|
1922
|
+
# key was not found. Check the function's KMS key settings.
|
|
1923
|
+
#
|
|
1924
|
+
# @!attribute [rw] type
|
|
1925
|
+
# @return [String]
|
|
1926
|
+
#
|
|
1927
|
+
# @!attribute [rw] message
|
|
1928
|
+
# @return [String]
|
|
1929
|
+
#
|
|
1930
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/KMSNotFoundException AWS API Documentation
|
|
1931
|
+
#
|
|
1932
|
+
class KMSNotFoundException < Struct.new(
|
|
1933
|
+
:type,
|
|
1934
|
+
:message)
|
|
1935
|
+
include Aws::Structure
|
|
1936
|
+
end
|
|
1937
|
+
|
|
1669
1938
|
# An [AWS Lambda layer][1].
|
|
1670
1939
|
#
|
|
1671
1940
|
#
|
|
@@ -2220,6 +2489,46 @@ module Aws::Lambda
|
|
|
2220
2489
|
include Aws::Structure
|
|
2221
2490
|
end
|
|
2222
2491
|
|
|
2492
|
+
# The permissions policy for the resource is too large. [Learn more][1]
|
|
2493
|
+
#
|
|
2494
|
+
#
|
|
2495
|
+
#
|
|
2496
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/limits.html
|
|
2497
|
+
#
|
|
2498
|
+
# @!attribute [rw] type
|
|
2499
|
+
# @return [String]
|
|
2500
|
+
#
|
|
2501
|
+
# @!attribute [rw] message
|
|
2502
|
+
# @return [String]
|
|
2503
|
+
#
|
|
2504
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PolicyLengthExceededException AWS API Documentation
|
|
2505
|
+
#
|
|
2506
|
+
class PolicyLengthExceededException < Struct.new(
|
|
2507
|
+
:type,
|
|
2508
|
+
:message)
|
|
2509
|
+
include Aws::Structure
|
|
2510
|
+
end
|
|
2511
|
+
|
|
2512
|
+
# The RevisionId provided does not match the latest RevisionId for the
|
|
2513
|
+
# Lambda function or alias. Call the `GetFunction` or the `GetAlias` API
|
|
2514
|
+
# to retrieve the latest RevisionId for your resource.
|
|
2515
|
+
#
|
|
2516
|
+
# @!attribute [rw] type
|
|
2517
|
+
# The exception type.
|
|
2518
|
+
# @return [String]
|
|
2519
|
+
#
|
|
2520
|
+
# @!attribute [rw] message
|
|
2521
|
+
# The exception message.
|
|
2522
|
+
# @return [String]
|
|
2523
|
+
#
|
|
2524
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PreconditionFailedException AWS API Documentation
|
|
2525
|
+
#
|
|
2526
|
+
class PreconditionFailedException < Struct.new(
|
|
2527
|
+
:type,
|
|
2528
|
+
:message)
|
|
2529
|
+
include Aws::Structure
|
|
2530
|
+
end
|
|
2531
|
+
|
|
2223
2532
|
# @note When making an API call, you may pass PublishLayerVersionRequest
|
|
2224
2533
|
# data as a hash:
|
|
2225
2534
|
#
|
|
@@ -2516,6 +2825,114 @@ module Aws::Lambda
|
|
|
2516
2825
|
include Aws::Structure
|
|
2517
2826
|
end
|
|
2518
2827
|
|
|
2828
|
+
# The request payload exceeded the `Invoke` request body JSON input
|
|
2829
|
+
# limit. For more information, see [Limits][1].
|
|
2830
|
+
#
|
|
2831
|
+
#
|
|
2832
|
+
#
|
|
2833
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/limits.html
|
|
2834
|
+
#
|
|
2835
|
+
# @!attribute [rw] type
|
|
2836
|
+
# @return [String]
|
|
2837
|
+
#
|
|
2838
|
+
# @!attribute [rw] message
|
|
2839
|
+
# @return [String]
|
|
2840
|
+
#
|
|
2841
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/RequestTooLargeException AWS API Documentation
|
|
2842
|
+
#
|
|
2843
|
+
class RequestTooLargeException < Struct.new(
|
|
2844
|
+
:type,
|
|
2845
|
+
:message)
|
|
2846
|
+
include Aws::Structure
|
|
2847
|
+
end
|
|
2848
|
+
|
|
2849
|
+
# The resource already exists.
|
|
2850
|
+
#
|
|
2851
|
+
# @!attribute [rw] type
|
|
2852
|
+
# The exception type.
|
|
2853
|
+
# @return [String]
|
|
2854
|
+
#
|
|
2855
|
+
# @!attribute [rw] message
|
|
2856
|
+
# The exception message.
|
|
2857
|
+
# @return [String]
|
|
2858
|
+
#
|
|
2859
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ResourceConflictException AWS API Documentation
|
|
2860
|
+
#
|
|
2861
|
+
class ResourceConflictException < Struct.new(
|
|
2862
|
+
:type,
|
|
2863
|
+
:message)
|
|
2864
|
+
include Aws::Structure
|
|
2865
|
+
end
|
|
2866
|
+
|
|
2867
|
+
# The operation conflicts with the resource's availability. For
|
|
2868
|
+
# example, you attempted to update an EventSource Mapping in CREATING,
|
|
2869
|
+
# or tried to delete a EventSource mapping currently in the UPDATING
|
|
2870
|
+
# state.
|
|
2871
|
+
#
|
|
2872
|
+
# @!attribute [rw] type
|
|
2873
|
+
# @return [String]
|
|
2874
|
+
#
|
|
2875
|
+
# @!attribute [rw] message
|
|
2876
|
+
# @return [String]
|
|
2877
|
+
#
|
|
2878
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ResourceInUseException AWS API Documentation
|
|
2879
|
+
#
|
|
2880
|
+
class ResourceInUseException < Struct.new(
|
|
2881
|
+
:type,
|
|
2882
|
+
:message)
|
|
2883
|
+
include Aws::Structure
|
|
2884
|
+
end
|
|
2885
|
+
|
|
2886
|
+
# The resource (for example, a Lambda function or access policy
|
|
2887
|
+
# statement) specified in the request does not exist.
|
|
2888
|
+
#
|
|
2889
|
+
# @!attribute [rw] type
|
|
2890
|
+
# @return [String]
|
|
2891
|
+
#
|
|
2892
|
+
# @!attribute [rw] message
|
|
2893
|
+
# @return [String]
|
|
2894
|
+
#
|
|
2895
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ResourceNotFoundException AWS API Documentation
|
|
2896
|
+
#
|
|
2897
|
+
class ResourceNotFoundException < Struct.new(
|
|
2898
|
+
:type,
|
|
2899
|
+
:message)
|
|
2900
|
+
include Aws::Structure
|
|
2901
|
+
end
|
|
2902
|
+
|
|
2903
|
+
# The AWS Lambda service encountered an internal error.
|
|
2904
|
+
#
|
|
2905
|
+
# @!attribute [rw] type
|
|
2906
|
+
# @return [String]
|
|
2907
|
+
#
|
|
2908
|
+
# @!attribute [rw] message
|
|
2909
|
+
# @return [String]
|
|
2910
|
+
#
|
|
2911
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ServiceException AWS API Documentation
|
|
2912
|
+
#
|
|
2913
|
+
class ServiceException < Struct.new(
|
|
2914
|
+
:type,
|
|
2915
|
+
:message)
|
|
2916
|
+
include Aws::Structure
|
|
2917
|
+
end
|
|
2918
|
+
|
|
2919
|
+
# AWS Lambda was not able to set up VPC access for the Lambda function
|
|
2920
|
+
# because one or more configured subnets has no available IP addresses.
|
|
2921
|
+
#
|
|
2922
|
+
# @!attribute [rw] type
|
|
2923
|
+
# @return [String]
|
|
2924
|
+
#
|
|
2925
|
+
# @!attribute [rw] message
|
|
2926
|
+
# @return [String]
|
|
2927
|
+
#
|
|
2928
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/SubnetIPAddressLimitReachedException AWS API Documentation
|
|
2929
|
+
#
|
|
2930
|
+
class SubnetIPAddressLimitReachedException < Struct.new(
|
|
2931
|
+
:type,
|
|
2932
|
+
:message)
|
|
2933
|
+
include Aws::Structure
|
|
2934
|
+
end
|
|
2935
|
+
|
|
2519
2936
|
# @note When making an API call, you may pass TagResourceRequest
|
|
2520
2937
|
# data as a hash:
|
|
2521
2938
|
#
|
|
@@ -2542,6 +2959,31 @@ module Aws::Lambda
|
|
|
2542
2959
|
include Aws::Structure
|
|
2543
2960
|
end
|
|
2544
2961
|
|
|
2962
|
+
# Request throughput limit exceeded.
|
|
2963
|
+
#
|
|
2964
|
+
# @!attribute [rw] retry_after_seconds
|
|
2965
|
+
# The number of seconds the caller should wait before retrying.
|
|
2966
|
+
# @return [String]
|
|
2967
|
+
#
|
|
2968
|
+
# @!attribute [rw] type
|
|
2969
|
+
# @return [String]
|
|
2970
|
+
#
|
|
2971
|
+
# @!attribute [rw] message
|
|
2972
|
+
# @return [String]
|
|
2973
|
+
#
|
|
2974
|
+
# @!attribute [rw] reason
|
|
2975
|
+
# @return [String]
|
|
2976
|
+
#
|
|
2977
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/TooManyRequestsException AWS API Documentation
|
|
2978
|
+
#
|
|
2979
|
+
class TooManyRequestsException < Struct.new(
|
|
2980
|
+
:retry_after_seconds,
|
|
2981
|
+
:type,
|
|
2982
|
+
:message,
|
|
2983
|
+
:reason)
|
|
2984
|
+
include Aws::Structure
|
|
2985
|
+
end
|
|
2986
|
+
|
|
2545
2987
|
# The function's AWS X-Ray tracing configuration.
|
|
2546
2988
|
#
|
|
2547
2989
|
# @note When making an API call, you may pass TracingConfig
|
|
@@ -2575,6 +3017,22 @@ module Aws::Lambda
|
|
|
2575
3017
|
include Aws::Structure
|
|
2576
3018
|
end
|
|
2577
3019
|
|
|
3020
|
+
# The content type of the `Invoke` request body is not JSON.
|
|
3021
|
+
#
|
|
3022
|
+
# @!attribute [rw] type
|
|
3023
|
+
# @return [String]
|
|
3024
|
+
#
|
|
3025
|
+
# @!attribute [rw] message
|
|
3026
|
+
# @return [String]
|
|
3027
|
+
#
|
|
3028
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UnsupportedMediaTypeException AWS API Documentation
|
|
3029
|
+
#
|
|
3030
|
+
class UnsupportedMediaTypeException < Struct.new(
|
|
3031
|
+
:type,
|
|
3032
|
+
:message)
|
|
3033
|
+
include Aws::Structure
|
|
3034
|
+
end
|
|
3035
|
+
|
|
2578
3036
|
# @note When making an API call, you may pass UntagResourceRequest
|
|
2579
3037
|
# data as a hash:
|
|
2580
3038
|
#
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-lambda
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.26.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-05-
|
|
11
|
+
date: 2019-05-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|
|
@@ -19,7 +19,7 @@ dependencies:
|
|
|
19
19
|
version: '3'
|
|
20
20
|
- - ">="
|
|
21
21
|
- !ruby/object:Gem::Version
|
|
22
|
-
version: 3.
|
|
22
|
+
version: 3.53.0
|
|
23
23
|
type: :runtime
|
|
24
24
|
prerelease: false
|
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -29,7 +29,7 @@ dependencies:
|
|
|
29
29
|
version: '3'
|
|
30
30
|
- - ">="
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
|
-
version: 3.
|
|
32
|
+
version: 3.53.0
|
|
33
33
|
- !ruby/object:Gem::Dependency
|
|
34
34
|
name: aws-sigv4
|
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|