aws-sdk-lambdapreview 1.11.0 → 1.12.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2a154c5c33e3e89197364eeca9e8ea9c0cb6b309
4
- data.tar.gz: 06a364681435b3d00f9920993547352ac090190d
3
+ metadata.gz: edcd03578a7507f67b8ff1f1d3ac8f6c60713773
4
+ data.tar.gz: 48e08109847bb7feeaf81058372414f3ba417ea9
5
5
  SHA512:
6
- metadata.gz: a3f9ad85ffa1ad016c57f2f72ec4121580928020c141af268f8d14c2cefaa8ddd9212e2f1247666b5edeb42e9e2d5d90377deaefd62d8b0bab880f1fcb391e8a
7
- data.tar.gz: e13b1bf8a419a28f927bfb6ff4c896da6d4985c07b78c62f506dadf2e25a9eb7a6dfd6cf361a4f5017778efb967547194f37f1a833171db6ad65e06b13d90f1a
6
+ metadata.gz: 6f2aa483dd8882b0f561fbb57d28c99329f40e5dd7df2a97ba17e407250365f999d0e3f0ff9f31219b315cfdefcf6421bb53a1af605fad2a176c0387fedd9c26
7
+ data.tar.gz: f486415d48434867ee7038ae2bf24be20699c6173194964463adc5f63d234baf779c88e20f6059908582fd0699d33532281c927438a1468cff1b016baffdcbd7
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-lambdapreview/customizations'
42
42
  # @service
43
43
  module Aws::LambdaPreview
44
44
 
45
- GEM_VERSION = '1.11.0'
45
+ GEM_VERSION = '1.12.0'
46
46
 
47
47
  end
@@ -928,7 +928,7 @@ module Aws::LambdaPreview
928
928
  params: params,
929
929
  config: config)
930
930
  context[:gem_name] = 'aws-sdk-lambdapreview'
931
- context[:gem_version] = '1.11.0'
931
+ context[:gem_version] = '1.12.0'
932
932
  Seahorse::Client::Request.new(handlers, context)
933
933
  end
934
934
 
@@ -110,6 +110,14 @@ module Aws::LambdaPreview
110
110
  GetFunctionResponse.add_member(:code, Shapes::ShapeRef.new(shape: FunctionCodeLocation, location_name: "Code"))
111
111
  GetFunctionResponse.struct_class = Types::GetFunctionResponse
112
112
 
113
+ InvalidParameterValueException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
114
+ InvalidParameterValueException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
115
+ InvalidParameterValueException.struct_class = Types::InvalidParameterValueException
116
+
117
+ InvalidRequestContentException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
118
+ InvalidRequestContentException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
119
+ InvalidRequestContentException.struct_class = Types::InvalidRequestContentException
120
+
113
121
  InvokeAsyncRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
114
122
  InvokeAsyncRequest.add_member(:invoke_args, Shapes::ShapeRef.new(shape: Blob, required: true, location_name: "InvokeArgs"))
115
123
  InvokeAsyncRequest.struct_class = Types::InvokeAsyncRequest
@@ -143,6 +151,14 @@ module Aws::LambdaPreview
143
151
  RemoveEventSourceRequest.add_member(:uuid, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "UUID"))
144
152
  RemoveEventSourceRequest.struct_class = Types::RemoveEventSourceRequest
145
153
 
154
+ ResourceNotFoundException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
155
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
156
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
157
+
158
+ ServiceException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
159
+ ServiceException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
160
+ ServiceException.struct_class = Types::ServiceException
161
+
146
162
  UpdateFunctionConfigurationRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
147
163
  UpdateFunctionConfigurationRequest.add_member(:role, Shapes::ShapeRef.new(shape: RoleArn, location: "querystring", location_name: "Role"))
148
164
  UpdateFunctionConfigurationRequest.add_member(:handler, Shapes::ShapeRef.new(shape: Handler, location: "querystring", location_name: "Handler"))
@@ -10,5 +10,89 @@ module Aws::LambdaPreview
10
10
 
11
11
  extend Aws::Errors::DynamicErrors
12
12
 
13
+ class InvalidParameterValueException < ServiceError
14
+
15
+ # @param [Seahorse::Client::RequestContext] context
16
+ # @param [String] message
17
+ # @param [Aws::LambdaPreview::Types::InvalidParameterValueException] 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 InvalidRequestContentException < ServiceError
35
+
36
+ # @param [Seahorse::Client::RequestContext] context
37
+ # @param [String] message
38
+ # @param [Aws::LambdaPreview::Types::InvalidRequestContentException] 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 ResourceNotFoundException < ServiceError
56
+
57
+ # @param [Seahorse::Client::RequestContext] context
58
+ # @param [String] message
59
+ # @param [Aws::LambdaPreview::Types::ResourceNotFoundException] 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 ServiceException < ServiceError
77
+
78
+ # @param [Seahorse::Client::RequestContext] context
79
+ # @param [String] message
80
+ # @param [Aws::LambdaPreview::Types::ServiceException] 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
+ end
96
+
13
97
  end
14
98
  end
@@ -317,6 +317,41 @@ module Aws::LambdaPreview
317
317
  include Aws::Structure
318
318
  end
319
319
 
320
+ # One of the parameters in the request is invalid. For example, if you
321
+ # provided an IAM role for AWS Lambda to assume in the `UploadFunction`
322
+ # or the `UpdateFunctionConfiguration` API, that AWS Lambda is unable to
323
+ # assume you will get this exception.
324
+ #
325
+ # @!attribute [rw] type
326
+ # @return [String]
327
+ #
328
+ # @!attribute [rw] message
329
+ # @return [String]
330
+ #
331
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2014-11-11/InvalidParameterValueException AWS API Documentation
332
+ #
333
+ class InvalidParameterValueException < Struct.new(
334
+ :type,
335
+ :message)
336
+ include Aws::Structure
337
+ end
338
+
339
+ # The request body could not be parsed as JSON.
340
+ #
341
+ # @!attribute [rw] type
342
+ # @return [String]
343
+ #
344
+ # @!attribute [rw] message
345
+ # @return [String]
346
+ #
347
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2014-11-11/InvalidRequestContentException AWS API Documentation
348
+ #
349
+ class InvalidRequestContentException < Struct.new(
350
+ :type,
351
+ :message)
352
+ include Aws::Structure
353
+ end
354
+
320
355
  # @note When making an API call, you may pass InvokeAsyncRequest
321
356
  # data as a hash:
322
357
  #
@@ -477,6 +512,39 @@ module Aws::LambdaPreview
477
512
  include Aws::Structure
478
513
  end
479
514
 
515
+ # The function or the event source specified in the request does not
516
+ # exist.
517
+ #
518
+ # @!attribute [rw] type
519
+ # @return [String]
520
+ #
521
+ # @!attribute [rw] message
522
+ # @return [String]
523
+ #
524
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2014-11-11/ResourceNotFoundException AWS API Documentation
525
+ #
526
+ class ResourceNotFoundException < Struct.new(
527
+ :type,
528
+ :message)
529
+ include Aws::Structure
530
+ end
531
+
532
+ # The AWS Lambda service encountered an internal error.
533
+ #
534
+ # @!attribute [rw] type
535
+ # @return [String]
536
+ #
537
+ # @!attribute [rw] message
538
+ # @return [String]
539
+ #
540
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2014-11-11/ServiceException AWS API Documentation
541
+ #
542
+ class ServiceException < Struct.new(
543
+ :type,
544
+ :message)
545
+ include Aws::Structure
546
+ end
547
+
480
548
  # @note When making an API call, you may pass UpdateFunctionConfigurationRequest
481
549
  # data as a hash:
482
550
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-lambdapreview
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.0
4
+ version: 1.12.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-15 00:00:00.000000000 Z
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.52.1
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.52.1
32
+ version: 3.53.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement