aws-sdk-lambda 1.137.0 → 1.139.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 52720ff5dfb5fe59f3f8787245bf5ce5699538aec83ebbae057e7850e845a694
4
- data.tar.gz: eb7ee00da7082ab5ad8ce8d97e71bd1462425484509812079e7b63aca07ca7fd
3
+ metadata.gz: 80e93f6c9c6db97083fff39054b54fa11313e49e740ed8080606d231826a2f79
4
+ data.tar.gz: aa2f209c10b031e76eef14bdaf0f579b039173c2752fedde71762149edd085e1
5
5
  SHA512:
6
- metadata.gz: 3a517bbd643c7531d42a7f06b562c79ded41a3d97263e1e53eaa5b59d1ff831a0ea81908c9820a8a03e3191dea32a320141e4f683620855d80a31f4a34c7c0a8
7
- data.tar.gz: 3747df8c49a96c3dde79633ec3720607d9ad61b9c3b72ee26a7bbbef81830b84929ac324653070345c0cff5c78ae844ce39f1b244056310c2fd0647b7f49d976
6
+ metadata.gz: 6ab784362136f1dcdd18e257a2721480fa4d58491e5239f0df0054debb612c039f39b0e1533c8d36951a8ef233dedfcfb2bba7cc1ff0cbf4ee3bf0858f2901dd
7
+ data.tar.gz: 662cdc81057e282903bf626184430f3b5fd9d1a2fc9a258bb78cd296212f5ce1bcd0e9b8398583f0cb453912f878fdbe53ce5917bdf691befa0f220a0c85ab80
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.139.0 (2024-11-06)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.138.0 (2024-10-25)
10
+ ------------------
11
+
12
+ * Feature - Add TagsError field in Lambda GetFunctionResponse. The TagsError field contains details related to errors retrieving tags.
13
+
4
14
  1.137.0 (2024-10-18)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.137.0
1
+ 1.139.0
@@ -2777,6 +2777,7 @@ module Aws::Lambda
2777
2777
  # * {Types::GetFunctionResponse#configuration #configuration} => Types::FunctionConfiguration
2778
2778
  # * {Types::GetFunctionResponse#code #code} => Types::FunctionCodeLocation
2779
2779
  # * {Types::GetFunctionResponse#tags #tags} => Hash<String,String>
2780
+ # * {Types::GetFunctionResponse#tags_error #tags_error} => Types::TagsError
2780
2781
  # * {Types::GetFunctionResponse#concurrency #concurrency} => Types::Concurrency
2781
2782
  #
2782
2783
  #
@@ -2905,6 +2906,8 @@ module Aws::Lambda
2905
2906
  # resp.code.resolved_image_uri #=> String
2906
2907
  # resp.tags #=> Hash
2907
2908
  # resp.tags["TagKey"] #=> String
2909
+ # resp.tags_error.error_code #=> String
2910
+ # resp.tags_error.message #=> String
2908
2911
  # resp.concurrency.reserved_concurrent_executions #=> Integer
2909
2912
  #
2910
2913
  #
@@ -3705,9 +3708,9 @@ module Aws::Lambda
3705
3708
  # * {Types::GetProvisionedConcurrencyConfigResponse#last_modified #last_modified} => Time
3706
3709
  #
3707
3710
  #
3708
- # @example Example: To view a provisioned concurrency configuration
3711
+ # @example Example: To get a provisioned concurrency configuration
3709
3712
  #
3710
- # # The following example displays details for the provisioned concurrency configuration for the BLUE alias of the specified
3713
+ # # The following example returns details for the provisioned concurrency configuration for the BLUE alias of the specified
3711
3714
  # # function.
3712
3715
  #
3713
3716
  # resp = client.get_provisioned_concurrency_config({
@@ -3724,9 +3727,9 @@ module Aws::Lambda
3724
3727
  # status: "READY",
3725
3728
  # }
3726
3729
  #
3727
- # @example Example: To get a provisioned concurrency configuration
3730
+ # @example Example: To view a provisioned concurrency configuration
3728
3731
  #
3729
- # # The following example returns details for the provisioned concurrency configuration for the BLUE alias of the specified
3732
+ # # The following example displays details for the provisioned concurrency configuration for the BLUE alias of the specified
3730
3733
  # # function.
3731
3734
  #
3732
3735
  # resp = client.get_provisioned_concurrency_config({
@@ -3928,9 +3931,9 @@ module Aws::Lambda
3928
3931
  # @option params [String, StringIO, File] :payload
3929
3932
  # The JSON that you want to provide to your Lambda function as input.
3930
3933
  #
3931
- # You can enter the JSON directly. For example, `--payload '\{ "key":
3932
- # "value" \}'`. You can also specify a file path. For example,
3933
- # `--payload file://payload.json`.
3934
+ # You can enter the JSON directly. For example, `--payload '{ "key":
3935
+ # "value" }'`. You can also specify a file path. For example, `--payload
3936
+ # file://payload.json`.
3934
3937
  #
3935
3938
  # @option params [String] :qualifier
3936
3939
  # Specify a version or alias to invoke a published version of the
@@ -4127,9 +4130,9 @@ module Aws::Lambda
4127
4130
  # @option params [String, StringIO, File] :payload
4128
4131
  # The JSON that you want to provide to your Lambda function as input.
4129
4132
  #
4130
- # You can enter the JSON directly. For example, `--payload '\{ "key":
4131
- # "value" \}'`. You can also specify a file path. For example,
4132
- # `--payload file://payload.json`.
4133
+ # You can enter the JSON directly. For example, `--payload '{ "key":
4134
+ # "value" }'`. You can also specify a file path. For example, `--payload
4135
+ # file://payload.json`.
4133
4136
  #
4134
4137
  # @return [Types::InvokeWithResponseStreamResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4135
4138
  #
@@ -8031,7 +8034,7 @@ module Aws::Lambda
8031
8034
  tracer: tracer
8032
8035
  )
8033
8036
  context[:gem_name] = 'aws-sdk-lambda'
8034
- context[:gem_version] = '1.137.0'
8037
+ context[:gem_version] = '1.139.0'
8035
8038
  Seahorse::Client::Request.new(handlers, context)
8036
8039
  end
8037
8040
 
@@ -349,6 +349,9 @@ module Aws::Lambda
349
349
  TagValue = Shapes::StringShape.new(name: 'TagValue')
350
350
  TaggableResource = Shapes::StringShape.new(name: 'TaggableResource')
351
351
  Tags = Shapes::MapShape.new(name: 'Tags')
352
+ TagsError = Shapes::StructureShape.new(name: 'TagsError')
353
+ TagsErrorCode = Shapes::StringShape.new(name: 'TagsErrorCode')
354
+ TagsErrorMessage = Shapes::StringShape.new(name: 'TagsErrorMessage')
352
355
  ThrottleReason = Shapes::StringShape.new(name: 'ThrottleReason')
353
356
  Timeout = Shapes::IntegerShape.new(name: 'Timeout')
354
357
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
@@ -860,6 +863,7 @@ module Aws::Lambda
860
863
  GetFunctionResponse.add_member(:configuration, Shapes::ShapeRef.new(shape: FunctionConfiguration, location_name: "Configuration"))
861
864
  GetFunctionResponse.add_member(:code, Shapes::ShapeRef.new(shape: FunctionCodeLocation, location_name: "Code"))
862
865
  GetFunctionResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
866
+ GetFunctionResponse.add_member(:tags_error, Shapes::ShapeRef.new(shape: TagsError, location_name: "TagsError"))
863
867
  GetFunctionResponse.add_member(:concurrency, Shapes::ShapeRef.new(shape: Concurrency, location_name: "Concurrency"))
864
868
  GetFunctionResponse.struct_class = Types::GetFunctionResponse
865
869
 
@@ -1414,6 +1418,10 @@ module Aws::Lambda
1414
1418
  Tags.key = Shapes::ShapeRef.new(shape: TagKey)
1415
1419
  Tags.value = Shapes::ShapeRef.new(shape: TagValue)
1416
1420
 
1421
+ TagsError.add_member(:error_code, Shapes::ShapeRef.new(shape: TagsErrorCode, required: true, location_name: "ErrorCode"))
1422
+ TagsError.add_member(:message, Shapes::ShapeRef.new(shape: TagsErrorMessage, required: true, location_name: "Message"))
1423
+ TagsError.struct_class = Types::TagsError
1424
+
1417
1425
  TooManyRequestsException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "Retry-After"))
1418
1426
  TooManyRequestsException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
1419
1427
  TooManyRequestsException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
@@ -2922,13 +2922,20 @@ module Aws::Lambda
2922
2922
  # @return [Types::FunctionCodeLocation]
2923
2923
  #
2924
2924
  # @!attribute [rw] tags
2925
- # The function's [tags][1].
2925
+ # The function's [tags][1]. Lambda returns tag data only if you have
2926
+ # explicit allow permissions for [lambda:ListTags][2].
2926
2927
  #
2927
2928
  #
2928
2929
  #
2929
2930
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/tagging.html
2931
+ # [2]: https://docs.aws.amazon.com/https:/docs.aws.amazon.com/lambda/latest/api/API_ListTags.html
2930
2932
  # @return [Hash<String,String>]
2931
2933
  #
2934
+ # @!attribute [rw] tags_error
2935
+ # An object that contains details about an error related to retrieving
2936
+ # tags.
2937
+ # @return [Types::TagsError]
2938
+ #
2932
2939
  # @!attribute [rw] concurrency
2933
2940
  # The function's [reserved concurrency][1].
2934
2941
  #
@@ -2943,6 +2950,7 @@ module Aws::Lambda
2943
2950
  :configuration,
2944
2951
  :code,
2945
2952
  :tags,
2953
+ :tags_error,
2946
2954
  :concurrency)
2947
2955
  SENSITIVE = []
2948
2956
  include Aws::Structure
@@ -3614,8 +3622,8 @@ module Aws::Lambda
3614
3622
  # @!attribute [rw] payload
3615
3623
  # The JSON that you want to provide to your Lambda function as input.
3616
3624
  #
3617
- # You can enter the JSON directly. For example, `--payload '\{ "key":
3618
- # "value" \}'`. You can also specify a file path. For example,
3625
+ # You can enter the JSON directly. For example, `--payload '{ "key":
3626
+ # "value" }'`. You can also specify a file path. For example,
3619
3627
  # `--payload file://payload.json`.
3620
3628
  # @return [String]
3621
3629
  #
@@ -3805,8 +3813,8 @@ module Aws::Lambda
3805
3813
  # @!attribute [rw] payload
3806
3814
  # The JSON that you want to provide to your Lambda function as input.
3807
3815
  #
3808
- # You can enter the JSON directly. For example, `--payload '\{ "key":
3809
- # "value" \}'`. You can also specify a file path. For example,
3816
+ # You can enter the JSON directly. For example, `--payload '{ "key":
3817
+ # "value" }'`. You can also specify a file path. For example,
3810
3818
  # `--payload file://payload.json`.
3811
3819
  # @return [String]
3812
3820
  #
@@ -6059,6 +6067,26 @@ module Aws::Lambda
6059
6067
  include Aws::Structure
6060
6068
  end
6061
6069
 
6070
+ # An object that contains details about an error related to retrieving
6071
+ # tags.
6072
+ #
6073
+ # @!attribute [rw] error_code
6074
+ # The error code.
6075
+ # @return [String]
6076
+ #
6077
+ # @!attribute [rw] message
6078
+ # The error message.
6079
+ # @return [String]
6080
+ #
6081
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/TagsError AWS API Documentation
6082
+ #
6083
+ class TagsError < Struct.new(
6084
+ :error_code,
6085
+ :message)
6086
+ SENSITIVE = []
6087
+ include Aws::Structure
6088
+ end
6089
+
6062
6090
  # The request throughput limit was exceeded. For more information, see
6063
6091
  # [Lambda quotas][1].
6064
6092
  #
@@ -56,7 +56,7 @@ module Aws::Lambda
56
56
  autoload :Endpoints, 'aws-sdk-lambda/endpoints'
57
57
  autoload :EventStreams, 'aws-sdk-lambda/event_streams'
58
58
 
59
- GEM_VERSION = '1.137.0'
59
+ GEM_VERSION = '1.139.0'
60
60
 
61
61
  end
62
62
 
data/sig/client.rbs CHANGED
@@ -556,6 +556,7 @@ module Aws
556
556
  def configuration: () -> Types::FunctionConfiguration
557
557
  def code: () -> Types::FunctionCodeLocation
558
558
  def tags: () -> ::Hash[::String, ::String]
559
+ def tags_error: () -> Types::TagsError
559
560
  def concurrency: () -> Types::Concurrency
560
561
  end
561
562
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#get_function-instance_method
data/sig/types.rbs CHANGED
@@ -595,6 +595,7 @@ module Aws::Lambda
595
595
  attr_accessor configuration: Types::FunctionConfiguration
596
596
  attr_accessor code: Types::FunctionCodeLocation
597
597
  attr_accessor tags: ::Hash[::String, ::String]
598
+ attr_accessor tags_error: Types::TagsError
598
599
  attr_accessor concurrency: Types::Concurrency
599
600
  SENSITIVE: []
600
601
  end
@@ -1321,6 +1322,12 @@ module Aws::Lambda
1321
1322
  SENSITIVE: []
1322
1323
  end
1323
1324
 
1325
+ class TagsError
1326
+ attr_accessor error_code: ::String
1327
+ attr_accessor message: ::String
1328
+ SENSITIVE: []
1329
+ end
1330
+
1324
1331
  class TooManyRequestsException
1325
1332
  attr_accessor retry_after_seconds: ::String
1326
1333
  attr_accessor type: ::String
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.137.0
4
+ version: 1.139.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: 2024-10-18 00:00:00.000000000 Z
11
+ date: 2024-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core