aws-sdk-lambda 1.137.0 → 1.138.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lambda/client.rb +8 -5
- data/lib/aws-sdk-lambda/client_api.rb +8 -0
- data/lib/aws-sdk-lambda/types.rb +29 -1
- data/lib/aws-sdk-lambda.rb +1 -1
- data/sig/client.rbs +1 -0
- data/sig/types.rbs +7 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3a50fc0147ae147df20b3ea44d022386321c20fe460054b3cfaafc357d34882a
|
4
|
+
data.tar.gz: ac311e7731eeefdc925901d5dc4c5424c858fc01a94f9852dceaa85c87299117
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9af3081399ca7e635d774c626eeb216dd91476f6cfc08af25048a8d64e7927715b70881c69683e438de2b925313a170b776a0e5d4a366a2bed710433057366fd
|
7
|
+
data.tar.gz: bd670f36d41bed2a1df6c42b1b18fc22696f880e3b2f0d85b33b24321882fd03378d62bcf1d773886f31215fbca91c2761a53a64ea05de279d3f0ee3e168f063
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.138.0 (2024-10-25)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Add TagsError field in Lambda GetFunctionResponse. The TagsError field contains details related to errors retrieving tags.
|
8
|
+
|
4
9
|
1.137.0 (2024-10-18)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.138.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
|
3711
|
+
# @example Example: To get a provisioned concurrency configuration
|
3709
3712
|
#
|
3710
|
-
# # The following example
|
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
|
3730
|
+
# @example Example: To view a provisioned concurrency configuration
|
3728
3731
|
#
|
3729
|
-
# # The following example
|
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({
|
@@ -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.
|
8037
|
+
context[:gem_version] = '1.138.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"))
|
data/lib/aws-sdk-lambda/types.rb
CHANGED
@@ -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
|
@@ -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
|
#
|
data/lib/aws-sdk-lambda.rb
CHANGED
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.
|
4
|
+
version: 1.138.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-
|
11
|
+
date: 2024-10-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|