aws-sdk-lambda 1.167.0 → 1.169.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.
@@ -27,9 +27,12 @@ module Aws::Lambda
27
27
  # See {Seahorse::Client::RequestContext} for more information.
28
28
  #
29
29
  # ## Error Classes
30
+ # * {CallbackTimeoutException}
31
+ # * {CapacityProviderLimitExceededException}
30
32
  # * {CodeSigningConfigNotFoundException}
31
33
  # * {CodeStorageExceededException}
32
34
  # * {CodeVerificationFailedException}
35
+ # * {DurableExecutionAlreadyStartedException}
33
36
  # * {EC2AccessDeniedException}
34
37
  # * {EC2ThrottledException}
35
38
  # * {EC2UnexpectedException}
@@ -38,6 +41,7 @@ module Aws::Lambda
38
41
  # * {EFSMountFailureException}
39
42
  # * {EFSMountTimeoutException}
40
43
  # * {ENILimitReachedException}
44
+ # * {FunctionVersionsPerCapacityProviderLimitExceededException}
41
45
  # * {InvalidCodeSignatureException}
42
46
  # * {InvalidParameterValueException}
43
47
  # * {InvalidRequestContentException}
@@ -49,6 +53,7 @@ module Aws::Lambda
49
53
  # * {KMSDisabledException}
50
54
  # * {KMSInvalidStateException}
51
55
  # * {KMSNotFoundException}
56
+ # * {NoPublishedVersionException}
52
57
  # * {PolicyLengthExceededException}
53
58
  # * {PreconditionFailedException}
54
59
  # * {ProvisionedConcurrencyConfigNotFoundException}
@@ -73,6 +78,46 @@ module Aws::Lambda
73
78
 
74
79
  extend Aws::Errors::DynamicErrors
75
80
 
81
+ class CallbackTimeoutException < ServiceError
82
+
83
+ # @param [Seahorse::Client::RequestContext] context
84
+ # @param [String] message
85
+ # @param [Aws::Lambda::Types::CallbackTimeoutException] data
86
+ def initialize(context, message, data = Aws::EmptyStructure.new)
87
+ super(context, message, data)
88
+ end
89
+
90
+ # @return [String]
91
+ def type
92
+ @data[:type]
93
+ end
94
+
95
+ # @return [String]
96
+ def message
97
+ @message || @data[:message]
98
+ end
99
+ end
100
+
101
+ class CapacityProviderLimitExceededException < ServiceError
102
+
103
+ # @param [Seahorse::Client::RequestContext] context
104
+ # @param [String] message
105
+ # @param [Aws::Lambda::Types::CapacityProviderLimitExceededException] data
106
+ def initialize(context, message, data = Aws::EmptyStructure.new)
107
+ super(context, message, data)
108
+ end
109
+
110
+ # @return [String]
111
+ def type
112
+ @data[:type]
113
+ end
114
+
115
+ # @return [String]
116
+ def message
117
+ @message || @data[:message]
118
+ end
119
+ end
120
+
76
121
  class CodeSigningConfigNotFoundException < ServiceError
77
122
 
78
123
  # @param [Seahorse::Client::RequestContext] context
@@ -133,6 +178,26 @@ module Aws::Lambda
133
178
  end
134
179
  end
135
180
 
181
+ class DurableExecutionAlreadyStartedException < ServiceError
182
+
183
+ # @param [Seahorse::Client::RequestContext] context
184
+ # @param [String] message
185
+ # @param [Aws::Lambda::Types::DurableExecutionAlreadyStartedException] data
186
+ def initialize(context, message, data = Aws::EmptyStructure.new)
187
+ super(context, message, data)
188
+ end
189
+
190
+ # @return [String]
191
+ def type
192
+ @data[:type]
193
+ end
194
+
195
+ # @return [String]
196
+ def message
197
+ @message || @data[:message]
198
+ end
199
+ end
200
+
136
201
  class EC2AccessDeniedException < ServiceError
137
202
 
138
203
  # @param [Seahorse::Client::RequestContext] context
@@ -298,6 +363,26 @@ module Aws::Lambda
298
363
  end
299
364
  end
300
365
 
366
+ class FunctionVersionsPerCapacityProviderLimitExceededException < ServiceError
367
+
368
+ # @param [Seahorse::Client::RequestContext] context
369
+ # @param [String] message
370
+ # @param [Aws::Lambda::Types::FunctionVersionsPerCapacityProviderLimitExceededException] data
371
+ def initialize(context, message, data = Aws::EmptyStructure.new)
372
+ super(context, message, data)
373
+ end
374
+
375
+ # @return [String]
376
+ def type
377
+ @data[:type]
378
+ end
379
+
380
+ # @return [String]
381
+ def message
382
+ @message || @data[:message]
383
+ end
384
+ end
385
+
301
386
  class InvalidCodeSignatureException < ServiceError
302
387
 
303
388
  # @param [Seahorse::Client::RequestContext] context
@@ -518,6 +603,26 @@ module Aws::Lambda
518
603
  end
519
604
  end
520
605
 
606
+ class NoPublishedVersionException < ServiceError
607
+
608
+ # @param [Seahorse::Client::RequestContext] context
609
+ # @param [String] message
610
+ # @param [Aws::Lambda::Types::NoPublishedVersionException] data
611
+ def initialize(context, message, data = Aws::EmptyStructure.new)
612
+ super(context, message, data)
613
+ end
614
+
615
+ # @return [String]
616
+ def type
617
+ @data[:type]
618
+ end
619
+
620
+ # @return [String]
621
+ def message
622
+ @message || @data[:message]
623
+ end
624
+ end
625
+
521
626
  class PolicyLengthExceededException < ServiceError
522
627
 
523
628
  # @param [Seahorse::Client::RequestContext] context