aws-sdk-lambda 1.183.0 → 1.184.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/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lambda/client.rb +328 -328
- data/lib/aws-sdk-lambda/client_api.rb +153 -59
- data/lib/aws-sdk-lambda/errors.rb +189 -0
- data/lib/aws-sdk-lambda/types.rb +523 -294
- data/lib/aws-sdk-lambda.rb +1 -1
- data/sig/client.rbs +102 -102
- data/sig/errors.rbs +36 -0
- data/sig/types.rbs +98 -44
- metadata +1 -1
|
@@ -27,8 +27,12 @@ module Aws::Lambda
|
|
|
27
27
|
# See {Seahorse::Client::RequestContext} for more information.
|
|
28
28
|
#
|
|
29
29
|
# ## Error Classes
|
|
30
|
+
# * {AliasLimitExceededException}
|
|
30
31
|
# * {CallbackTimeoutException}
|
|
31
32
|
# * {CapacityProviderLimitExceededException}
|
|
33
|
+
# * {CodeArtifactUserDeletedException}
|
|
34
|
+
# * {CodeArtifactUserFailedException}
|
|
35
|
+
# * {CodeArtifactUserPendingException}
|
|
32
36
|
# * {CodeSigningConfigNotFoundException}
|
|
33
37
|
# * {CodeStorageExceededException}
|
|
34
38
|
# * {CodeVerificationFailedException}
|
|
@@ -41,6 +45,7 @@ module Aws::Lambda
|
|
|
41
45
|
# * {EFSMountFailureException}
|
|
42
46
|
# * {EFSMountTimeoutException}
|
|
43
47
|
# * {ENILimitReachedException}
|
|
48
|
+
# * {ENINotReadyException}
|
|
44
49
|
# * {FunctionVersionsPerCapacityProviderLimitExceededException}
|
|
45
50
|
# * {InvalidCodeSignatureException}
|
|
46
51
|
# * {InvalidParameterValueException}
|
|
@@ -53,10 +58,12 @@ module Aws::Lambda
|
|
|
53
58
|
# * {KMSDisabledException}
|
|
54
59
|
# * {KMSInvalidStateException}
|
|
55
60
|
# * {KMSNotFoundException}
|
|
61
|
+
# * {ModeNotSupportedException}
|
|
56
62
|
# * {NoPublishedVersionException}
|
|
57
63
|
# * {PolicyLengthExceededException}
|
|
58
64
|
# * {PreconditionFailedException}
|
|
59
65
|
# * {ProvisionedConcurrencyConfigNotFoundException}
|
|
66
|
+
# * {PublicPolicyException}
|
|
60
67
|
# * {RecursiveInvocationException}
|
|
61
68
|
# * {RequestTooLargeException}
|
|
62
69
|
# * {ResourceConflictException}
|
|
@@ -68,8 +75,10 @@ module Aws::Lambda
|
|
|
68
75
|
# * {S3FilesMountTimeoutException}
|
|
69
76
|
# * {SerializedRequestEntityTooLargeException}
|
|
70
77
|
# * {ServiceException}
|
|
78
|
+
# * {ServiceQuotaExceededException}
|
|
71
79
|
# * {SnapStartException}
|
|
72
80
|
# * {SnapStartNotReadyException}
|
|
81
|
+
# * {SnapStartRegenerationFailureException}
|
|
73
82
|
# * {SnapStartTimeoutException}
|
|
74
83
|
# * {SubnetIPAddressLimitReachedException}
|
|
75
84
|
# * {TooManyRequestsException}
|
|
@@ -81,6 +90,26 @@ module Aws::Lambda
|
|
|
81
90
|
|
|
82
91
|
extend Aws::Errors::DynamicErrors
|
|
83
92
|
|
|
93
|
+
class AliasLimitExceededException < ServiceError
|
|
94
|
+
|
|
95
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
96
|
+
# @param [String] message
|
|
97
|
+
# @param [Aws::Lambda::Types::AliasLimitExceededException] data
|
|
98
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
99
|
+
super(context, message, data)
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
# @return [String]
|
|
103
|
+
def type
|
|
104
|
+
@data[:type]
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
# @return [String]
|
|
108
|
+
def message
|
|
109
|
+
@message || @data[:message]
|
|
110
|
+
end
|
|
111
|
+
end
|
|
112
|
+
|
|
84
113
|
class CallbackTimeoutException < ServiceError
|
|
85
114
|
|
|
86
115
|
# @param [Seahorse::Client::RequestContext] context
|
|
@@ -121,6 +150,66 @@ module Aws::Lambda
|
|
|
121
150
|
end
|
|
122
151
|
end
|
|
123
152
|
|
|
153
|
+
class CodeArtifactUserDeletedException < ServiceError
|
|
154
|
+
|
|
155
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
156
|
+
# @param [String] message
|
|
157
|
+
# @param [Aws::Lambda::Types::CodeArtifactUserDeletedException] data
|
|
158
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
159
|
+
super(context, message, data)
|
|
160
|
+
end
|
|
161
|
+
|
|
162
|
+
# @return [String]
|
|
163
|
+
def type
|
|
164
|
+
@data[:type]
|
|
165
|
+
end
|
|
166
|
+
|
|
167
|
+
# @return [String]
|
|
168
|
+
def message
|
|
169
|
+
@message || @data[:message]
|
|
170
|
+
end
|
|
171
|
+
end
|
|
172
|
+
|
|
173
|
+
class CodeArtifactUserFailedException < ServiceError
|
|
174
|
+
|
|
175
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
176
|
+
# @param [String] message
|
|
177
|
+
# @param [Aws::Lambda::Types::CodeArtifactUserFailedException] data
|
|
178
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
179
|
+
super(context, message, data)
|
|
180
|
+
end
|
|
181
|
+
|
|
182
|
+
# @return [String]
|
|
183
|
+
def type
|
|
184
|
+
@data[:type]
|
|
185
|
+
end
|
|
186
|
+
|
|
187
|
+
# @return [String]
|
|
188
|
+
def message
|
|
189
|
+
@message || @data[:message]
|
|
190
|
+
end
|
|
191
|
+
end
|
|
192
|
+
|
|
193
|
+
class CodeArtifactUserPendingException < ServiceError
|
|
194
|
+
|
|
195
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
196
|
+
# @param [String] message
|
|
197
|
+
# @param [Aws::Lambda::Types::CodeArtifactUserPendingException] data
|
|
198
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
199
|
+
super(context, message, data)
|
|
200
|
+
end
|
|
201
|
+
|
|
202
|
+
# @return [String]
|
|
203
|
+
def type
|
|
204
|
+
@data[:type]
|
|
205
|
+
end
|
|
206
|
+
|
|
207
|
+
# @return [String]
|
|
208
|
+
def message
|
|
209
|
+
@message || @data[:message]
|
|
210
|
+
end
|
|
211
|
+
end
|
|
212
|
+
|
|
124
213
|
class CodeSigningConfigNotFoundException < ServiceError
|
|
125
214
|
|
|
126
215
|
# @param [Seahorse::Client::RequestContext] context
|
|
@@ -366,6 +455,26 @@ module Aws::Lambda
|
|
|
366
455
|
end
|
|
367
456
|
end
|
|
368
457
|
|
|
458
|
+
class ENINotReadyException < ServiceError
|
|
459
|
+
|
|
460
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
461
|
+
# @param [String] message
|
|
462
|
+
# @param [Aws::Lambda::Types::ENINotReadyException] data
|
|
463
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
464
|
+
super(context, message, data)
|
|
465
|
+
end
|
|
466
|
+
|
|
467
|
+
# @return [String]
|
|
468
|
+
def type
|
|
469
|
+
@data[:type]
|
|
470
|
+
end
|
|
471
|
+
|
|
472
|
+
# @return [String]
|
|
473
|
+
def message
|
|
474
|
+
@message || @data[:message]
|
|
475
|
+
end
|
|
476
|
+
end
|
|
477
|
+
|
|
369
478
|
class FunctionVersionsPerCapacityProviderLimitExceededException < ServiceError
|
|
370
479
|
|
|
371
480
|
# @param [Seahorse::Client::RequestContext] context
|
|
@@ -606,6 +715,26 @@ module Aws::Lambda
|
|
|
606
715
|
end
|
|
607
716
|
end
|
|
608
717
|
|
|
718
|
+
class ModeNotSupportedException < ServiceError
|
|
719
|
+
|
|
720
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
721
|
+
# @param [String] message
|
|
722
|
+
# @param [Aws::Lambda::Types::ModeNotSupportedException] data
|
|
723
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
724
|
+
super(context, message, data)
|
|
725
|
+
end
|
|
726
|
+
|
|
727
|
+
# @return [String]
|
|
728
|
+
def type
|
|
729
|
+
@data[:type]
|
|
730
|
+
end
|
|
731
|
+
|
|
732
|
+
# @return [String]
|
|
733
|
+
def message
|
|
734
|
+
@message || @data[:message]
|
|
735
|
+
end
|
|
736
|
+
end
|
|
737
|
+
|
|
609
738
|
class NoPublishedVersionException < ServiceError
|
|
610
739
|
|
|
611
740
|
# @param [Seahorse::Client::RequestContext] context
|
|
@@ -686,6 +815,26 @@ module Aws::Lambda
|
|
|
686
815
|
end
|
|
687
816
|
end
|
|
688
817
|
|
|
818
|
+
class PublicPolicyException < ServiceError
|
|
819
|
+
|
|
820
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
821
|
+
# @param [String] message
|
|
822
|
+
# @param [Aws::Lambda::Types::PublicPolicyException] data
|
|
823
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
824
|
+
super(context, message, data)
|
|
825
|
+
end
|
|
826
|
+
|
|
827
|
+
# @return [String]
|
|
828
|
+
def type
|
|
829
|
+
@data[:type]
|
|
830
|
+
end
|
|
831
|
+
|
|
832
|
+
# @return [String]
|
|
833
|
+
def message
|
|
834
|
+
@message || @data[:message]
|
|
835
|
+
end
|
|
836
|
+
end
|
|
837
|
+
|
|
689
838
|
class RecursiveInvocationException < ServiceError
|
|
690
839
|
|
|
691
840
|
# @param [Seahorse::Client::RequestContext] context
|
|
@@ -906,6 +1055,26 @@ module Aws::Lambda
|
|
|
906
1055
|
end
|
|
907
1056
|
end
|
|
908
1057
|
|
|
1058
|
+
class ServiceQuotaExceededException < ServiceError
|
|
1059
|
+
|
|
1060
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
1061
|
+
# @param [String] message
|
|
1062
|
+
# @param [Aws::Lambda::Types::ServiceQuotaExceededException] data
|
|
1063
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
1064
|
+
super(context, message, data)
|
|
1065
|
+
end
|
|
1066
|
+
|
|
1067
|
+
# @return [String]
|
|
1068
|
+
def type
|
|
1069
|
+
@data[:type]
|
|
1070
|
+
end
|
|
1071
|
+
|
|
1072
|
+
# @return [String]
|
|
1073
|
+
def message
|
|
1074
|
+
@message || @data[:message]
|
|
1075
|
+
end
|
|
1076
|
+
end
|
|
1077
|
+
|
|
909
1078
|
class SnapStartException < ServiceError
|
|
910
1079
|
|
|
911
1080
|
# @param [Seahorse::Client::RequestContext] context
|
|
@@ -946,6 +1115,26 @@ module Aws::Lambda
|
|
|
946
1115
|
end
|
|
947
1116
|
end
|
|
948
1117
|
|
|
1118
|
+
class SnapStartRegenerationFailureException < ServiceError
|
|
1119
|
+
|
|
1120
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
1121
|
+
# @param [String] message
|
|
1122
|
+
# @param [Aws::Lambda::Types::SnapStartRegenerationFailureException] data
|
|
1123
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
1124
|
+
super(context, message, data)
|
|
1125
|
+
end
|
|
1126
|
+
|
|
1127
|
+
# @return [String]
|
|
1128
|
+
def type
|
|
1129
|
+
@data[:type]
|
|
1130
|
+
end
|
|
1131
|
+
|
|
1132
|
+
# @return [String]
|
|
1133
|
+
def message
|
|
1134
|
+
@message || @data[:message]
|
|
1135
|
+
end
|
|
1136
|
+
end
|
|
1137
|
+
|
|
949
1138
|
class SnapStartTimeoutException < ServiceError
|
|
950
1139
|
|
|
951
1140
|
# @param [Seahorse::Client::RequestContext] context
|