aws-sdk-lambda 1.99.0 → 1.101.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
  SHA256:
3
- metadata.gz: 8742819a13f8cfed1c547e085570a9839f0a8ad74136f0878e2398de747212ac
4
- data.tar.gz: c8a36782967269ed0b94f776db8103d4f1d096b351c808e689a5579a15a7e927
3
+ metadata.gz: ec41240b9afd16a47497b1dbdc2ab9625ef3d058808c99c02514e78437035a1f
4
+ data.tar.gz: 5a29d529b47b00f1a8aba70e229484aa981052333bde54dfe3a2c0849f245f7d
5
5
  SHA512:
6
- metadata.gz: f8afc63d2b0fa6c69ce4103a7191c98d4305548fe9523fc206afe32a1ff6227c3a0b94ff77f2063300671128b643dda3f72a34c27d8f3b8a820bf8876dbfe229
7
- data.tar.gz: 9bcc3fa2167e19e228e2e6afd89d455e8eb389a0c31cb738467810b1f9da0d32c6c1c39dfd852ef4b842da13fef88e40829c4f092dcd5311380c8bb5d3406685
6
+ metadata.gz: ef799912209393ac4c1fb9c0e938eb8ea4ecb417428d77552c464e4f2cdb4cfe53c275a83d7d7ab63a019b9daf190641b9b477f602f9c2d9ce3c1ff135aac40e
7
+ data.tar.gz: 015d5729f08216db5ee236a9bfaa23ec4afbe153d9830f42424b32c634b50b6014623dbd4d680fca32da516281291814348cc0017eaab34260fe0dfdc716f0b8
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.101.0 (2023-06-28)
5
+ ------------------
6
+
7
+ * Feature - Surface ResourceConflictException in DeleteEventSourceMapping
8
+
9
+ 1.100.0 (2023-06-20)
10
+ ------------------
11
+
12
+ * Feature - This release adds RecursiveInvocationException to the Invoke API and InvokeWithResponseStream API.
13
+
4
14
  1.99.0 (2023-06-15)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.99.0
1
+ 1.101.0
@@ -898,13 +898,13 @@ module Aws::Lambda
898
898
  #
899
899
  # @option params [String] :starting_position
900
900
  # The position in a stream from which to start reading. Required for
901
- # Amazon Kinesis, Amazon DynamoDB, and Amazon MSK Streams sources.
902
- # `AT_TIMESTAMP` is supported only for Amazon Kinesis streams and Amazon
903
- # DocumentDB.
901
+ # Amazon Kinesis and Amazon DynamoDB Stream event sources.
902
+ # `AT_TIMESTAMP` is supported only for Amazon Kinesis streams, Amazon
903
+ # DocumentDB, Amazon MSK, and self-managed Apache Kafka.
904
904
  #
905
905
  # @option params [Time,DateTime,Date,Integer,String] :starting_position_timestamp
906
906
  # With `StartingPosition` set to `AT_TIMESTAMP`, the time from which to
907
- # start reading.
907
+ # start reading. `StartingPositionTimestamp` cannot be in the future.
908
908
  #
909
909
  # @option params [Types::DestinationConfig] :destination_config
910
910
  # (Kinesis and DynamoDB Streams only) A standard Amazon SQS queue or
@@ -1794,7 +1794,8 @@ module Aws::Lambda
1794
1794
 
1795
1795
  # Deletes a Lambda function. To delete a specific function version, use
1796
1796
  # the `Qualifier` parameter. Otherwise, all versions and aliases are
1797
- # deleted.
1797
+ # deleted. This doesn't require the user to have explicit permissions
1798
+ # for DeleteAlias.
1798
1799
  #
1799
1800
  # To delete Lambda event source mappings that invoke a function, use
1800
1801
  # DeleteEventSourceMapping. For Amazon Web Services and resources that
@@ -6393,7 +6394,7 @@ module Aws::Lambda
6393
6394
  params: params,
6394
6395
  config: config)
6395
6396
  context[:gem_name] = 'aws-sdk-lambda'
6396
- context[:gem_version] = '1.99.0'
6397
+ context[:gem_version] = '1.101.0'
6397
6398
  Seahorse::Client::Request.new(handlers, context)
6398
6399
  end
6399
6400
 
@@ -280,6 +280,7 @@ module Aws::Lambda
280
280
  Qualifier = Shapes::StringShape.new(name: 'Qualifier')
281
281
  Queue = Shapes::StringShape.new(name: 'Queue')
282
282
  Queues = Shapes::ListShape.new(name: 'Queues')
283
+ RecursiveInvocationException = Shapes::StructureShape.new(name: 'RecursiveInvocationException')
283
284
  RemoveLayerVersionPermissionRequest = Shapes::StructureShape.new(name: 'RemoveLayerVersionPermissionRequest')
284
285
  RemovePermissionRequest = Shapes::StructureShape.new(name: 'RemovePermissionRequest')
285
286
  RequestTooLargeException = Shapes::StructureShape.new(name: 'RequestTooLargeException')
@@ -1261,6 +1262,10 @@ module Aws::Lambda
1261
1262
 
1262
1263
  Queues.member = Shapes::ShapeRef.new(shape: Queue)
1263
1264
 
1265
+ RecursiveInvocationException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
1266
+ RecursiveInvocationException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
1267
+ RecursiveInvocationException.struct_class = Types::RecursiveInvocationException
1268
+
1264
1269
  RemoveLayerVersionPermissionRequest.add_member(:layer_name, Shapes::ShapeRef.new(shape: LayerName, required: true, location: "uri", location_name: "LayerName"))
1265
1270
  RemoveLayerVersionPermissionRequest.add_member(:version_number, Shapes::ShapeRef.new(shape: LayerVersionNumber, required: true, location: "uri", location_name: "VersionNumber"))
1266
1271
  RemoveLayerVersionPermissionRequest.add_member(:statement_id, Shapes::ShapeRef.new(shape: StatementId, required: true, location: "uri", location_name: "StatementId"))
@@ -1627,6 +1632,7 @@ module Aws::Lambda
1627
1632
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1628
1633
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1629
1634
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1635
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1630
1636
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1631
1637
  end)
1632
1638
 
@@ -1943,6 +1949,7 @@ module Aws::Lambda
1943
1949
  o.errors << Shapes::ShapeRef.new(shape: InvalidRuntimeException)
1944
1950
  o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1945
1951
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotReadyException)
1952
+ o.errors << Shapes::ShapeRef.new(shape: RecursiveInvocationException)
1946
1953
  end)
1947
1954
 
1948
1955
  api.add_operation(:invoke_async, Seahorse::Model::Operation.new.tap do |o|
@@ -1994,6 +2001,7 @@ module Aws::Lambda
1994
2001
  o.errors << Shapes::ShapeRef.new(shape: InvalidRuntimeException)
1995
2002
  o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1996
2003
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotReadyException)
2004
+ o.errors << Shapes::ShapeRef.new(shape: RecursiveInvocationException)
1997
2005
  end)
1998
2006
 
1999
2007
  api.add_operation(:list_aliases, Seahorse::Model::Operation.new.tap do |o|
@@ -52,6 +52,7 @@ module Aws::Lambda
52
52
  # * {PolicyLengthExceededException}
53
53
  # * {PreconditionFailedException}
54
54
  # * {ProvisionedConcurrencyConfigNotFoundException}
55
+ # * {RecursiveInvocationException}
55
56
  # * {RequestTooLargeException}
56
57
  # * {ResourceConflictException}
57
58
  # * {ResourceInUseException}
@@ -576,6 +577,26 @@ module Aws::Lambda
576
577
  end
577
578
  end
578
579
 
580
+ class RecursiveInvocationException < ServiceError
581
+
582
+ # @param [Seahorse::Client::RequestContext] context
583
+ # @param [String] message
584
+ # @param [Aws::Lambda::Types::RecursiveInvocationException] data
585
+ def initialize(context, message, data = Aws::EmptyStructure.new)
586
+ super(context, message, data)
587
+ end
588
+
589
+ # @return [String]
590
+ def type
591
+ @data[:type]
592
+ end
593
+
594
+ # @return [String]
595
+ def message
596
+ @message || @data[:message]
597
+ end
598
+ end
599
+
579
600
  class RequestTooLargeException < ServiceError
580
601
 
581
602
  # @param [Seahorse::Client::RequestContext] context
@@ -751,14 +751,15 @@ module Aws::Lambda
751
751
  #
752
752
  # @!attribute [rw] starting_position
753
753
  # The position in a stream from which to start reading. Required for
754
- # Amazon Kinesis, Amazon DynamoDB, and Amazon MSK Streams sources.
755
- # `AT_TIMESTAMP` is supported only for Amazon Kinesis streams and
756
- # Amazon DocumentDB.
754
+ # Amazon Kinesis and Amazon DynamoDB Stream event sources.
755
+ # `AT_TIMESTAMP` is supported only for Amazon Kinesis streams, Amazon
756
+ # DocumentDB, Amazon MSK, and self-managed Apache Kafka.
757
757
  # @return [String]
758
758
  #
759
759
  # @!attribute [rw] starting_position_timestamp
760
760
  # With `StartingPosition` set to `AT_TIMESTAMP`, the time from which
761
- # to start reading.
761
+ # to start reading. `StartingPositionTimestamp` cannot be in the
762
+ # future.
762
763
  # @return [Time]
763
764
  #
764
765
  # @!attribute [rw] destination_config
@@ -1781,14 +1782,15 @@ module Aws::Lambda
1781
1782
  #
1782
1783
  # @!attribute [rw] starting_position
1783
1784
  # The position in a stream from which to start reading. Required for
1784
- # Amazon Kinesis, Amazon DynamoDB, and Amazon MSK stream sources.
1785
- # `AT_TIMESTAMP` is supported only for Amazon Kinesis streams and
1786
- # Amazon DocumentDB.
1785
+ # Amazon Kinesis and Amazon DynamoDB Stream event sources.
1786
+ # `AT_TIMESTAMP` is supported only for Amazon Kinesis streams, Amazon
1787
+ # DocumentDB, Amazon MSK, and self-managed Apache Kafka.
1787
1788
  # @return [String]
1788
1789
  #
1789
1790
  # @!attribute [rw] starting_position_timestamp
1790
1791
  # With `StartingPosition` set to `AT_TIMESTAMP`, the time from which
1791
- # to start reading.
1792
+ # to start reading. `StartingPositionTimestamp` cannot be in the
1793
+ # future.
1792
1794
  # @return [Time]
1793
1795
  #
1794
1796
  # @!attribute [rw] batch_size
@@ -5223,6 +5225,27 @@ module Aws::Lambda
5223
5225
  include Aws::Structure
5224
5226
  end
5225
5227
 
5228
+ # Lambda has detected your function being invoked in a recursive loop
5229
+ # with other Amazon Web Services resources and stopped your function's
5230
+ # invocation.
5231
+ #
5232
+ # @!attribute [rw] type
5233
+ # The exception type.
5234
+ # @return [String]
5235
+ #
5236
+ # @!attribute [rw] message
5237
+ # The exception message.
5238
+ # @return [String]
5239
+ #
5240
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/RecursiveInvocationException AWS API Documentation
5241
+ #
5242
+ class RecursiveInvocationException < Struct.new(
5243
+ :type,
5244
+ :message)
5245
+ SENSITIVE = []
5246
+ include Aws::Structure
5247
+ end
5248
+
5226
5249
  # @!attribute [rw] layer_name
5227
5250
  # The name or Amazon Resource Name (ARN) of the layer.
5228
5251
  # @return [String]
@@ -5506,14 +5529,10 @@ module Aws::Lambda
5506
5529
  include Aws::Structure
5507
5530
  end
5508
5531
 
5509
- # The function's Lambda SnapStart setting. Set `ApplyOn` to
5532
+ # The function's [Lambda SnapStart][1] setting. Set `ApplyOn` to
5510
5533
  # `PublishedVersions` to create a snapshot of the initialized execution
5511
5534
  # environment when you publish a function version.
5512
5535
  #
5513
- # SnapStart is supported with the `java11` runtime. For more
5514
- # information, see [Improving startup performance with Lambda
5515
- # SnapStart][1].
5516
- #
5517
5536
  #
5518
5537
  #
5519
5538
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html
@@ -54,6 +54,6 @@ require_relative 'aws-sdk-lambda/event_streams'
54
54
  # @!group service
55
55
  module Aws::Lambda
56
56
 
57
- GEM_VERSION = '1.99.0'
57
+ GEM_VERSION = '1.101.0'
58
58
 
59
59
  end
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.99.0
4
+ version: 1.101.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: 2023-06-15 00:00:00.000000000 Z
11
+ date: 2023-06-28 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.174.0
22
+ version: 3.176.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.174.0
32
+ version: 3.176.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement