aws-sdk-lambda 1.135.0 → 1.136.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 +20 -284
- data/lib/aws-sdk-lambda/client_api.rb +0 -125
- data/lib/aws-sdk-lambda/endpoints.rb +0 -55
- data/lib/aws-sdk-lambda/errors.rb +0 -21
- data/lib/aws-sdk-lambda/plugins/endpoints.rb +0 -10
- data/lib/aws-sdk-lambda/types.rb +3 -225
- data/lib/aws-sdk-lambda.rb +1 -1
- data/sig/client.rbs +0 -55
- data/sig/errors.rbs +0 -4
- data/sig/types.rbs +0 -63
- 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: dac65828325b5d8b2c010bb55ddb3e1654e3f2da02cdad9813b914980999a35c
|
4
|
+
data.tar.gz: 9a9dc770346d8be2dd064f67968fdecb6a794bb25b4050403433b65620aecd5e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e367e6748502fd4934959fc383623f88cd23e9a7b04948375acf78ebd9a04b3d6e04039c4141b60ccce74a2691cf857421da0d25323d53aab85b5a6e17b326d
|
7
|
+
data.tar.gz: 7704bb114d638fc28a40dd8ca401f4a6683a364e44f332ce462c51886fdc42513dc21f7c852e81c8defbaf73f250674384c39b288cdf25195345eaf00264205d
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.136.0
|
@@ -560,9 +560,9 @@ module Aws::Lambda
|
|
560
560
|
# To grant permission to another account, specify the account ID as the
|
561
561
|
# `Principal`. To grant permission to an organization defined in
|
562
562
|
# Organizations, specify the organization ID as the `PrincipalOrgID`.
|
563
|
-
# For Amazon Web
|
563
|
+
# For Amazon Web Services services, the principal is a domain-style
|
564
564
|
# identifier that the service defines, such as `s3.amazonaws.com` or
|
565
|
-
# `sns.amazonaws.com`. For Amazon Web
|
565
|
+
# `sns.amazonaws.com`. For Amazon Web Services services, you can also
|
566
566
|
# specify the ARN of the associated resource as the `SourceArn`. If you
|
567
567
|
# grant permission to a service principal without specifying the source,
|
568
568
|
# other accounts could potentially configure resources in their account
|
@@ -603,13 +603,13 @@ module Aws::Lambda
|
|
603
603
|
# `lambda:InvokeFunction` or `lambda:GetFunction`.
|
604
604
|
#
|
605
605
|
# @option params [required, String] :principal
|
606
|
-
# The Amazon Web
|
607
|
-
# or IAM role that invokes the function. If you specify a service,
|
608
|
-
# `SourceArn` or `SourceAccount` to limit who can invoke the
|
609
|
-
# through that service.
|
606
|
+
# The Amazon Web Services service, Amazon Web Services account, IAM
|
607
|
+
# user, or IAM role that invokes the function. If you specify a service,
|
608
|
+
# use `SourceArn` or `SourceAccount` to limit who can invoke the
|
609
|
+
# function through that service.
|
610
610
|
#
|
611
611
|
# @option params [String] :source_arn
|
612
|
-
# For Amazon Web
|
612
|
+
# For Amazon Web Services services, the ARN of the Amazon Web Services
|
613
613
|
# resource that invokes the function. For example, an Amazon S3 bucket
|
614
614
|
# or Amazon SNS topic.
|
615
615
|
#
|
@@ -617,7 +617,7 @@ module Aws::Lambda
|
|
617
617
|
# operator.
|
618
618
|
#
|
619
619
|
# @option params [String] :source_account
|
620
|
-
# For Amazon Web
|
620
|
+
# For Amazon Web Services service, the ID of the Amazon Web Services
|
621
621
|
# account that owns the resource. Use this together with `SourceArn` to
|
622
622
|
# ensure that the specified account owns the resource. It is possible
|
623
623
|
# for an Amazon S3 bucket to be deleted by its owner and recreated by
|
@@ -1321,7 +1321,7 @@ module Aws::Lambda
|
|
1321
1321
|
# [deployment package][1] and an [execution role][2]. The deployment
|
1322
1322
|
# package is a .zip file archive or container image that contains your
|
1323
1323
|
# function code. The execution role grants the function permission to
|
1324
|
-
# use Amazon Web
|
1324
|
+
# use Amazon Web Services services, such as Amazon CloudWatch Logs for
|
1325
1325
|
# log streaming and X-Ray for request tracing.
|
1326
1326
|
#
|
1327
1327
|
# If the deployment package is a [container image][3], then you set the
|
@@ -1368,14 +1368,14 @@ module Aws::Lambda
|
|
1368
1368
|
# configuration includes set of signing profiles, which define the
|
1369
1369
|
# trusted publishers for this function.
|
1370
1370
|
#
|
1371
|
-
# If another Amazon Web Services account or an Amazon Web
|
1372
|
-
#
|
1373
|
-
#
|
1374
|
-
#
|
1375
|
-
#
|
1371
|
+
# If another Amazon Web Services account or an Amazon Web Services
|
1372
|
+
# service invokes your function, use AddPermission to grant permission
|
1373
|
+
# by creating a resource-based Identity and Access Management (IAM)
|
1374
|
+
# policy. You can grant permissions at the function level, on a version,
|
1375
|
+
# or on an alias.
|
1376
1376
|
#
|
1377
1377
|
# To invoke your function directly, use Invoke. To invoke your function
|
1378
|
-
# in response to events in other Amazon Web
|
1378
|
+
# in response to events in other Amazon Web Services services, create an
|
1379
1379
|
# event source mapping (CreateEventSourceMapping), or configure a
|
1380
1380
|
# function trigger in the other service. For more information, see
|
1381
1381
|
# [Invoking Lambda functions][6].
|
@@ -2138,7 +2138,7 @@ module Aws::Lambda
|
|
2138
2138
|
# for DeleteAlias.
|
2139
2139
|
#
|
2140
2140
|
# To delete Lambda event source mappings that invoke a function, use
|
2141
|
-
# DeleteEventSourceMapping. For Amazon Web
|
2141
|
+
# DeleteEventSourceMapping. For Amazon Web Services services and
|
2142
2142
|
# resources that invoke your function directly, delete the trigger in
|
2143
2143
|
# the service where you originally configured it.
|
2144
2144
|
#
|
@@ -2454,48 +2454,6 @@ module Aws::Lambda
|
|
2454
2454
|
req.send_request(options)
|
2455
2455
|
end
|
2456
2456
|
|
2457
|
-
# <note markdown="1"> The option to create and modify full JSON resource-based policies, and
|
2458
|
-
# to use the PutResourcePolicy, GetResourcePolicy, and
|
2459
|
-
# DeleteResourcePolicy APIs, won't be available in all Amazon Web
|
2460
|
-
# Services Regions until September 30, 2024.
|
2461
|
-
#
|
2462
|
-
# </note>
|
2463
|
-
#
|
2464
|
-
# Deletes a [resource-based policy][1] from a function.
|
2465
|
-
#
|
2466
|
-
#
|
2467
|
-
#
|
2468
|
-
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html
|
2469
|
-
#
|
2470
|
-
# @option params [required, String] :resource_arn
|
2471
|
-
# The Amazon Resource Name (ARN) of the function you want to delete the
|
2472
|
-
# policy from. You can use either a qualified or an unqualified ARN, but
|
2473
|
-
# the value you specify must be a complete ARN and wildcard characters
|
2474
|
-
# are not accepted.
|
2475
|
-
#
|
2476
|
-
# @option params [String] :revision_id
|
2477
|
-
# Delete the existing policy only if its revision ID matches the string
|
2478
|
-
# you specify. To find the revision ID of the policy currently attached
|
2479
|
-
# to your function, use the GetResourcePolicy action.
|
2480
|
-
#
|
2481
|
-
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2482
|
-
#
|
2483
|
-
# @example Request syntax with placeholder values
|
2484
|
-
#
|
2485
|
-
# resp = client.delete_resource_policy({
|
2486
|
-
# resource_arn: "PolicyResourceArn", # required
|
2487
|
-
# revision_id: "RevisionId",
|
2488
|
-
# })
|
2489
|
-
#
|
2490
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteResourcePolicy AWS API Documentation
|
2491
|
-
#
|
2492
|
-
# @overload delete_resource_policy(params = {})
|
2493
|
-
# @param [Hash] params ({})
|
2494
|
-
def delete_resource_policy(params = {}, options = {})
|
2495
|
-
req = build_request(:delete_resource_policy, params)
|
2496
|
-
req.send_request(options)
|
2497
|
-
end
|
2498
|
-
|
2499
2457
|
# Retrieves details about your account's [limits][1] and usage in an
|
2500
2458
|
# Amazon Web Services Region.
|
2501
2459
|
#
|
@@ -3810,86 +3768,6 @@ module Aws::Lambda
|
|
3810
3768
|
req.send_request(options)
|
3811
3769
|
end
|
3812
3770
|
|
3813
|
-
# <note markdown="1"> The option to configure public-access settings, and to use the
|
3814
|
-
# PutPublicAccessBlock and GetPublicAccessBlock APIs, won't be
|
3815
|
-
# available in all Amazon Web Services Regions until September 30, 2024.
|
3816
|
-
#
|
3817
|
-
# </note>
|
3818
|
-
#
|
3819
|
-
# Retrieve the public-access settings for a function.
|
3820
|
-
#
|
3821
|
-
# @option params [required, String] :resource_arn
|
3822
|
-
# The Amazon Resource Name (ARN) of the function you want to retrieve
|
3823
|
-
# public-access settings for.
|
3824
|
-
#
|
3825
|
-
# @return [Types::GetPublicAccessBlockConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3826
|
-
#
|
3827
|
-
# * {Types::GetPublicAccessBlockConfigResponse#public_access_block_config #public_access_block_config} => Types::PublicAccessBlockConfig
|
3828
|
-
#
|
3829
|
-
# @example Request syntax with placeholder values
|
3830
|
-
#
|
3831
|
-
# resp = client.get_public_access_block_config({
|
3832
|
-
# resource_arn: "PublicAccessBlockResourceArn", # required
|
3833
|
-
# })
|
3834
|
-
#
|
3835
|
-
# @example Response structure
|
3836
|
-
#
|
3837
|
-
# resp.public_access_block_config.block_public_policy #=> Boolean
|
3838
|
-
# resp.public_access_block_config.restrict_public_resource #=> Boolean
|
3839
|
-
#
|
3840
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetPublicAccessBlockConfig AWS API Documentation
|
3841
|
-
#
|
3842
|
-
# @overload get_public_access_block_config(params = {})
|
3843
|
-
# @param [Hash] params ({})
|
3844
|
-
def get_public_access_block_config(params = {}, options = {})
|
3845
|
-
req = build_request(:get_public_access_block_config, params)
|
3846
|
-
req.send_request(options)
|
3847
|
-
end
|
3848
|
-
|
3849
|
-
# <note markdown="1"> The option to create and modify full JSON resource-based policies, and
|
3850
|
-
# to use the PutResourcePolicy, GetResourcePolicy, and
|
3851
|
-
# DeleteResourcePolicy APIs, won't be available in all Amazon Web
|
3852
|
-
# Services Regions until September 30, 2024.
|
3853
|
-
#
|
3854
|
-
# </note>
|
3855
|
-
#
|
3856
|
-
# Retrieves the [resource-based policy][1] attached to a function.
|
3857
|
-
#
|
3858
|
-
#
|
3859
|
-
#
|
3860
|
-
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html
|
3861
|
-
#
|
3862
|
-
# @option params [required, String] :resource_arn
|
3863
|
-
# The Amazon Resource Name (ARN) of the function you want to retrieve
|
3864
|
-
# the policy for. You can use either a qualified or an unqualified ARN,
|
3865
|
-
# but the value you specify must be a complete ARN and wildcard
|
3866
|
-
# characters are not accepted.
|
3867
|
-
#
|
3868
|
-
# @return [Types::GetResourcePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3869
|
-
#
|
3870
|
-
# * {Types::GetResourcePolicyResponse#policy #policy} => String
|
3871
|
-
# * {Types::GetResourcePolicyResponse#revision_id #revision_id} => String
|
3872
|
-
#
|
3873
|
-
# @example Request syntax with placeholder values
|
3874
|
-
#
|
3875
|
-
# resp = client.get_resource_policy({
|
3876
|
-
# resource_arn: "PolicyResourceArn", # required
|
3877
|
-
# })
|
3878
|
-
#
|
3879
|
-
# @example Response structure
|
3880
|
-
#
|
3881
|
-
# resp.policy #=> String
|
3882
|
-
# resp.revision_id #=> String
|
3883
|
-
#
|
3884
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetResourcePolicy AWS API Documentation
|
3885
|
-
#
|
3886
|
-
# @overload get_resource_policy(params = {})
|
3887
|
-
# @param [Hash] params ({})
|
3888
|
-
def get_resource_policy(params = {}, options = {})
|
3889
|
-
req = build_request(:get_resource_policy, params)
|
3890
|
-
req.send_request(options)
|
3891
|
-
end
|
3892
|
-
|
3893
3771
|
# Retrieves the runtime management configuration for a function's
|
3894
3772
|
# version. If the runtime update mode is **Manual**, this includes the
|
3895
3773
|
# ARN of the runtime version and the runtime update mode. If the runtime
|
@@ -5414,7 +5292,7 @@ module Aws::Lambda
|
|
5414
5292
|
end
|
5415
5293
|
|
5416
5294
|
# Returns a function, event source mapping, or code signing
|
5417
|
-
# configuration's [tags][1]. You can also view
|
5295
|
+
# configuration's [tags][1]. You can also view function tags with
|
5418
5296
|
# GetFunction.
|
5419
5297
|
#
|
5420
5298
|
#
|
@@ -6434,148 +6312,6 @@ module Aws::Lambda
|
|
6434
6312
|
req.send_request(options)
|
6435
6313
|
end
|
6436
6314
|
|
6437
|
-
# <note markdown="1"> The option to configure public-access settings, and to use the
|
6438
|
-
# PutPublicAccessBlock and GetPublicAccessBlock APIs, won't be
|
6439
|
-
# available in all Amazon Web Services Regions until September 30, 2024.
|
6440
|
-
#
|
6441
|
-
# </note>
|
6442
|
-
#
|
6443
|
-
# Configure your function's public-access settings.
|
6444
|
-
#
|
6445
|
-
# To control public access to a Lambda function, you can choose whether
|
6446
|
-
# to allow the creation of [resource-based policies][1] that allow
|
6447
|
-
# public access to that function. You can also block public access to a
|
6448
|
-
# function, even if it has an existing resource-based policy that allows
|
6449
|
-
# it.
|
6450
|
-
#
|
6451
|
-
#
|
6452
|
-
#
|
6453
|
-
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html
|
6454
|
-
#
|
6455
|
-
# @option params [required, String] :resource_arn
|
6456
|
-
# The Amazon Resource Name (ARN) of the function you want to configure
|
6457
|
-
# public-access settings for. Public-access settings are applied at the
|
6458
|
-
# function level, so you can't apply different settings to function
|
6459
|
-
# versions or aliases.
|
6460
|
-
#
|
6461
|
-
# @option params [required, Types::PublicAccessBlockConfig] :public_access_block_config
|
6462
|
-
# An object defining the public-access settings you want to apply.
|
6463
|
-
#
|
6464
|
-
# To block the creation of resource-based policies that would grant
|
6465
|
-
# public access to your function, set `BlockPublicPolicy` to `true`. To
|
6466
|
-
# allow the creation of resource-based policies that would grant public
|
6467
|
-
# access to your function, set `BlockPublicPolicy` to `false`.
|
6468
|
-
#
|
6469
|
-
# To block public access to your function, even if its resource-based
|
6470
|
-
# policy allows it, set `RestrictPublicResource` to `true`. To allow
|
6471
|
-
# public access to a function with a resource-based policy that permits
|
6472
|
-
# it, set `RestrictPublicResource` to `false`.
|
6473
|
-
#
|
6474
|
-
# The default setting for both `BlockPublicPolicy` and
|
6475
|
-
# `RestrictPublicResource` is `true`.
|
6476
|
-
#
|
6477
|
-
# @return [Types::PutPublicAccessBlockConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6478
|
-
#
|
6479
|
-
# * {Types::PutPublicAccessBlockConfigResponse#public_access_block_config #public_access_block_config} => Types::PublicAccessBlockConfig
|
6480
|
-
#
|
6481
|
-
# @example Request syntax with placeholder values
|
6482
|
-
#
|
6483
|
-
# resp = client.put_public_access_block_config({
|
6484
|
-
# resource_arn: "PublicAccessBlockResourceArn", # required
|
6485
|
-
# public_access_block_config: { # required
|
6486
|
-
# block_public_policy: false,
|
6487
|
-
# restrict_public_resource: false,
|
6488
|
-
# },
|
6489
|
-
# })
|
6490
|
-
#
|
6491
|
-
# @example Response structure
|
6492
|
-
#
|
6493
|
-
# resp.public_access_block_config.block_public_policy #=> Boolean
|
6494
|
-
# resp.public_access_block_config.restrict_public_resource #=> Boolean
|
6495
|
-
#
|
6496
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutPublicAccessBlockConfig AWS API Documentation
|
6497
|
-
#
|
6498
|
-
# @overload put_public_access_block_config(params = {})
|
6499
|
-
# @param [Hash] params ({})
|
6500
|
-
def put_public_access_block_config(params = {}, options = {})
|
6501
|
-
req = build_request(:put_public_access_block_config, params)
|
6502
|
-
req.send_request(options)
|
6503
|
-
end
|
6504
|
-
|
6505
|
-
# <note markdown="1"> The option to create and modify full JSON resource-based policies, and
|
6506
|
-
# to use the PutResourcePolicy, GetResourcePolicy, and
|
6507
|
-
# DeleteResourcePolicy APIs, won't be available in all Amazon Web
|
6508
|
-
# Services Regions until September 30, 2024.
|
6509
|
-
#
|
6510
|
-
# </note>
|
6511
|
-
#
|
6512
|
-
# Adds a [resource-based policy][1] to a function. You can use
|
6513
|
-
# resource-based policies to grant access to other [Amazon Web Services
|
6514
|
-
# accounts][2], [organizations][3], or [services][4]. Resource-based
|
6515
|
-
# policies apply to a single function, version, or alias.
|
6516
|
-
#
|
6517
|
-
# Adding a resource-based policy using this API action replaces any
|
6518
|
-
# existing policy you've previously created. This means that if you've
|
6519
|
-
# previously added resource-based permissions to a function using the
|
6520
|
-
# AddPermission action, those permissions will be overwritten by your
|
6521
|
-
# new policy.
|
6522
|
-
#
|
6523
|
-
#
|
6524
|
-
#
|
6525
|
-
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html
|
6526
|
-
# [2]: https://docs.aws.amazon.com/lambda/latest/dg/permissions-function-cross-account.html
|
6527
|
-
# [3]: https://docs.aws.amazon.com/lambda/latest/dg/permissions-function-organization.html
|
6528
|
-
# [4]: https://docs.aws.amazon.com/lambda/latest/dg/permissions-function-services.html
|
6529
|
-
#
|
6530
|
-
# @option params [required, String] :resource_arn
|
6531
|
-
# The Amazon Resource Name (ARN) of the function you want to add the
|
6532
|
-
# policy to. You can use either a qualified or an unqualified ARN, but
|
6533
|
-
# the value you specify must be a complete ARN and wildcard characters
|
6534
|
-
# are not accepted.
|
6535
|
-
#
|
6536
|
-
# @option params [required, String] :policy
|
6537
|
-
# The JSON resource-based policy you want to add to your function.
|
6538
|
-
#
|
6539
|
-
# To learn more about creating resource-based policies for controlling
|
6540
|
-
# access to Lambda, see [Working with resource-based IAM policies in
|
6541
|
-
# Lambda][1] in the *Lambda Developer Guide*.
|
6542
|
-
#
|
6543
|
-
#
|
6544
|
-
#
|
6545
|
-
# [1]: https://docs.aws.amazon.com/
|
6546
|
-
#
|
6547
|
-
# @option params [String] :revision_id
|
6548
|
-
# Replace the existing policy only if its revision ID matches the string
|
6549
|
-
# you specify. To find the revision ID of the policy currently attached
|
6550
|
-
# to your function, use the GetResourcePolicy action.
|
6551
|
-
#
|
6552
|
-
# @return [Types::PutResourcePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6553
|
-
#
|
6554
|
-
# * {Types::PutResourcePolicyResponse#policy #policy} => String
|
6555
|
-
# * {Types::PutResourcePolicyResponse#revision_id #revision_id} => String
|
6556
|
-
#
|
6557
|
-
# @example Request syntax with placeholder values
|
6558
|
-
#
|
6559
|
-
# resp = client.put_resource_policy({
|
6560
|
-
# resource_arn: "PolicyResourceArn", # required
|
6561
|
-
# policy: "ResourcePolicy", # required
|
6562
|
-
# revision_id: "RevisionId",
|
6563
|
-
# })
|
6564
|
-
#
|
6565
|
-
# @example Response structure
|
6566
|
-
#
|
6567
|
-
# resp.policy #=> String
|
6568
|
-
# resp.revision_id #=> String
|
6569
|
-
#
|
6570
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutResourcePolicy AWS API Documentation
|
6571
|
-
#
|
6572
|
-
# @overload put_resource_policy(params = {})
|
6573
|
-
# @param [Hash] params ({})
|
6574
|
-
def put_resource_policy(params = {}, options = {})
|
6575
|
-
req = build_request(:put_resource_policy, params)
|
6576
|
-
req.send_request(options)
|
6577
|
-
end
|
6578
|
-
|
6579
6315
|
# Sets the runtime management configuration for a function's version.
|
6580
6316
|
# For more information, see [Runtime updates][1].
|
6581
6317
|
#
|
@@ -6722,7 +6458,7 @@ module Aws::Lambda
|
|
6722
6458
|
req.send_request(options)
|
6723
6459
|
end
|
6724
6460
|
|
6725
|
-
# Revokes function-use permission from an Amazon Web
|
6461
|
+
# Revokes function-use permission from an Amazon Web Services service or
|
6726
6462
|
# another Amazon Web Services account. You can get the ID of the
|
6727
6463
|
# statement from the output of GetPolicy.
|
6728
6464
|
#
|
@@ -7677,7 +7413,7 @@ module Aws::Lambda
|
|
7677
7413
|
#
|
7678
7414
|
# To configure function concurrency, use PutFunctionConcurrency. To
|
7679
7415
|
# grant invoke permissions to an Amazon Web Services account or Amazon
|
7680
|
-
# Web
|
7416
|
+
# Web Services service, use AddPermission.
|
7681
7417
|
#
|
7682
7418
|
#
|
7683
7419
|
#
|
@@ -8295,7 +8031,7 @@ module Aws::Lambda
|
|
8295
8031
|
tracer: tracer
|
8296
8032
|
)
|
8297
8033
|
context[:gem_name] = 'aws-sdk-lambda'
|
8298
|
-
context[:gem_version] = '1.
|
8034
|
+
context[:gem_version] = '1.136.0'
|
8299
8035
|
Seahorse::Client::Request.new(handlers, context)
|
8300
8036
|
end
|
8301
8037
|
|
@@ -76,7 +76,6 @@ module Aws::Lambda
|
|
76
76
|
DeleteFunctionUrlConfigRequest = Shapes::StructureShape.new(name: 'DeleteFunctionUrlConfigRequest')
|
77
77
|
DeleteLayerVersionRequest = Shapes::StructureShape.new(name: 'DeleteLayerVersionRequest')
|
78
78
|
DeleteProvisionedConcurrencyConfigRequest = Shapes::StructureShape.new(name: 'DeleteProvisionedConcurrencyConfigRequest')
|
79
|
-
DeleteResourcePolicyRequest = Shapes::StructureShape.new(name: 'DeleteResourcePolicyRequest')
|
80
79
|
Description = Shapes::StringShape.new(name: 'Description')
|
81
80
|
DestinationArn = Shapes::StringShape.new(name: 'DestinationArn')
|
82
81
|
DestinationConfig = Shapes::StructureShape.new(name: 'DestinationConfig')
|
@@ -161,10 +160,6 @@ module Aws::Lambda
|
|
161
160
|
GetPolicyResponse = Shapes::StructureShape.new(name: 'GetPolicyResponse')
|
162
161
|
GetProvisionedConcurrencyConfigRequest = Shapes::StructureShape.new(name: 'GetProvisionedConcurrencyConfigRequest')
|
163
162
|
GetProvisionedConcurrencyConfigResponse = Shapes::StructureShape.new(name: 'GetProvisionedConcurrencyConfigResponse')
|
164
|
-
GetPublicAccessBlockConfigRequest = Shapes::StructureShape.new(name: 'GetPublicAccessBlockConfigRequest')
|
165
|
-
GetPublicAccessBlockConfigResponse = Shapes::StructureShape.new(name: 'GetPublicAccessBlockConfigResponse')
|
166
|
-
GetResourcePolicyRequest = Shapes::StructureShape.new(name: 'GetResourcePolicyRequest')
|
167
|
-
GetResourcePolicyResponse = Shapes::StructureShape.new(name: 'GetResourcePolicyResponse')
|
168
163
|
GetRuntimeManagementConfigRequest = Shapes::StructureShape.new(name: 'GetRuntimeManagementConfigRequest')
|
169
164
|
GetRuntimeManagementConfigResponse = Shapes::StructureShape.new(name: 'GetRuntimeManagementConfigResponse')
|
170
165
|
Handler = Shapes::StringShape.new(name: 'Handler')
|
@@ -275,7 +270,6 @@ module Aws::Lambda
|
|
275
270
|
ParallelizationFactor = Shapes::IntegerShape.new(name: 'ParallelizationFactor')
|
276
271
|
Pattern = Shapes::StringShape.new(name: 'Pattern')
|
277
272
|
PolicyLengthExceededException = Shapes::StructureShape.new(name: 'PolicyLengthExceededException')
|
278
|
-
PolicyResourceArn = Shapes::StringShape.new(name: 'PolicyResourceArn')
|
279
273
|
PositiveInteger = Shapes::IntegerShape.new(name: 'PositiveInteger')
|
280
274
|
PreconditionFailedException = Shapes::StructureShape.new(name: 'PreconditionFailedException')
|
281
275
|
Principal = Shapes::StringShape.new(name: 'Principal')
|
@@ -284,9 +278,6 @@ module Aws::Lambda
|
|
284
278
|
ProvisionedConcurrencyConfigListItem = Shapes::StructureShape.new(name: 'ProvisionedConcurrencyConfigListItem')
|
285
279
|
ProvisionedConcurrencyConfigNotFoundException = Shapes::StructureShape.new(name: 'ProvisionedConcurrencyConfigNotFoundException')
|
286
280
|
ProvisionedConcurrencyStatusEnum = Shapes::StringShape.new(name: 'ProvisionedConcurrencyStatusEnum')
|
287
|
-
PublicAccessBlockConfig = Shapes::StructureShape.new(name: 'PublicAccessBlockConfig')
|
288
|
-
PublicAccessBlockResourceArn = Shapes::StringShape.new(name: 'PublicAccessBlockResourceArn')
|
289
|
-
PublicPolicyException = Shapes::StructureShape.new(name: 'PublicPolicyException')
|
290
281
|
PublishLayerVersionRequest = Shapes::StructureShape.new(name: 'PublishLayerVersionRequest')
|
291
282
|
PublishLayerVersionResponse = Shapes::StructureShape.new(name: 'PublishLayerVersionResponse')
|
292
283
|
PublishVersionRequest = Shapes::StructureShape.new(name: 'PublishVersionRequest')
|
@@ -298,10 +289,6 @@ module Aws::Lambda
|
|
298
289
|
PutFunctionRecursionConfigResponse = Shapes::StructureShape.new(name: 'PutFunctionRecursionConfigResponse')
|
299
290
|
PutProvisionedConcurrencyConfigRequest = Shapes::StructureShape.new(name: 'PutProvisionedConcurrencyConfigRequest')
|
300
291
|
PutProvisionedConcurrencyConfigResponse = Shapes::StructureShape.new(name: 'PutProvisionedConcurrencyConfigResponse')
|
301
|
-
PutPublicAccessBlockConfigRequest = Shapes::StructureShape.new(name: 'PutPublicAccessBlockConfigRequest')
|
302
|
-
PutPublicAccessBlockConfigResponse = Shapes::StructureShape.new(name: 'PutPublicAccessBlockConfigResponse')
|
303
|
-
PutResourcePolicyRequest = Shapes::StructureShape.new(name: 'PutResourcePolicyRequest')
|
304
|
-
PutResourcePolicyResponse = Shapes::StructureShape.new(name: 'PutResourcePolicyResponse')
|
305
292
|
PutRuntimeManagementConfigRequest = Shapes::StructureShape.new(name: 'PutRuntimeManagementConfigRequest')
|
306
293
|
PutRuntimeManagementConfigResponse = Shapes::StructureShape.new(name: 'PutRuntimeManagementConfigResponse')
|
307
294
|
Qualifier = Shapes::StringShape.new(name: 'Qualifier')
|
@@ -318,9 +305,7 @@ module Aws::Lambda
|
|
318
305
|
ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
|
319
306
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
320
307
|
ResourceNotReadyException = Shapes::StructureShape.new(name: 'ResourceNotReadyException')
|
321
|
-
ResourcePolicy = Shapes::StringShape.new(name: 'ResourcePolicy')
|
322
308
|
ResponseStreamingInvocationType = Shapes::StringShape.new(name: 'ResponseStreamingInvocationType')
|
323
|
-
RevisionId = Shapes::StringShape.new(name: 'RevisionId')
|
324
309
|
RoleArn = Shapes::StringShape.new(name: 'RoleArn')
|
325
310
|
Runtime = Shapes::StringShape.new(name: 'Runtime')
|
326
311
|
RuntimeVersionArn = Shapes::StringShape.new(name: 'RuntimeVersionArn')
|
@@ -629,10 +614,6 @@ module Aws::Lambda
|
|
629
614
|
DeleteProvisionedConcurrencyConfigRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: Qualifier, required: true, location: "querystring", location_name: "Qualifier"))
|
630
615
|
DeleteProvisionedConcurrencyConfigRequest.struct_class = Types::DeleteProvisionedConcurrencyConfigRequest
|
631
616
|
|
632
|
-
DeleteResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: PolicyResourceArn, required: true, location: "uri", location_name: "ResourceArn"))
|
633
|
-
DeleteResourcePolicyRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, location: "querystring", location_name: "RevisionId"))
|
634
|
-
DeleteResourcePolicyRequest.struct_class = Types::DeleteResourcePolicyRequest
|
635
|
-
|
636
617
|
DestinationConfig.add_member(:on_success, Shapes::ShapeRef.new(shape: OnSuccess, location_name: "OnSuccess"))
|
637
618
|
DestinationConfig.add_member(:on_failure, Shapes::ShapeRef.new(shape: OnFailure, location_name: "OnFailure"))
|
638
619
|
DestinationConfig.struct_class = Types::DestinationConfig
|
@@ -941,19 +922,6 @@ module Aws::Lambda
|
|
941
922
|
GetProvisionedConcurrencyConfigResponse.add_member(:last_modified, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModified"))
|
942
923
|
GetProvisionedConcurrencyConfigResponse.struct_class = Types::GetProvisionedConcurrencyConfigResponse
|
943
924
|
|
944
|
-
GetPublicAccessBlockConfigRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: PublicAccessBlockResourceArn, required: true, location: "uri", location_name: "ResourceArn"))
|
945
|
-
GetPublicAccessBlockConfigRequest.struct_class = Types::GetPublicAccessBlockConfigRequest
|
946
|
-
|
947
|
-
GetPublicAccessBlockConfigResponse.add_member(:public_access_block_config, Shapes::ShapeRef.new(shape: PublicAccessBlockConfig, location_name: "PublicAccessBlockConfig"))
|
948
|
-
GetPublicAccessBlockConfigResponse.struct_class = Types::GetPublicAccessBlockConfigResponse
|
949
|
-
|
950
|
-
GetResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: PolicyResourceArn, required: true, location: "uri", location_name: "ResourceArn"))
|
951
|
-
GetResourcePolicyRequest.struct_class = Types::GetResourcePolicyRequest
|
952
|
-
|
953
|
-
GetResourcePolicyResponse.add_member(:policy, Shapes::ShapeRef.new(shape: ResourcePolicy, location_name: "Policy"))
|
954
|
-
GetResourcePolicyResponse.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, location_name: "RevisionId"))
|
955
|
-
GetResourcePolicyResponse.struct_class = Types::GetResourcePolicyResponse
|
956
|
-
|
957
925
|
GetRuntimeManagementConfigRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: NamespacedFunctionName, required: true, location: "uri", location_name: "FunctionName"))
|
958
926
|
GetRuntimeManagementConfigRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: Qualifier, location: "querystring", location_name: "Qualifier"))
|
959
927
|
GetRuntimeManagementConfigRequest.struct_class = Types::GetRuntimeManagementConfigRequest
|
@@ -1266,14 +1234,6 @@ module Aws::Lambda
|
|
1266
1234
|
ProvisionedConcurrencyConfigNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
1267
1235
|
ProvisionedConcurrencyConfigNotFoundException.struct_class = Types::ProvisionedConcurrencyConfigNotFoundException
|
1268
1236
|
|
1269
|
-
PublicAccessBlockConfig.add_member(:block_public_policy, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "BlockPublicPolicy"))
|
1270
|
-
PublicAccessBlockConfig.add_member(:restrict_public_resource, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "RestrictPublicResource"))
|
1271
|
-
PublicAccessBlockConfig.struct_class = Types::PublicAccessBlockConfig
|
1272
|
-
|
1273
|
-
PublicPolicyException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
|
1274
|
-
PublicPolicyException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
1275
|
-
PublicPolicyException.struct_class = Types::PublicPolicyException
|
1276
|
-
|
1277
1237
|
PublishLayerVersionRequest.add_member(:layer_name, Shapes::ShapeRef.new(shape: LayerName, required: true, location: "uri", location_name: "LayerName"))
|
1278
1238
|
PublishLayerVersionRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
1279
1239
|
PublishLayerVersionRequest.add_member(:content, Shapes::ShapeRef.new(shape: LayerVersionContentInput, required: true, location_name: "Content"))
|
@@ -1338,22 +1298,6 @@ module Aws::Lambda
|
|
1338
1298
|
PutProvisionedConcurrencyConfigResponse.add_member(:last_modified, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModified"))
|
1339
1299
|
PutProvisionedConcurrencyConfigResponse.struct_class = Types::PutProvisionedConcurrencyConfigResponse
|
1340
1300
|
|
1341
|
-
PutPublicAccessBlockConfigRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: PublicAccessBlockResourceArn, required: true, location: "uri", location_name: "ResourceArn"))
|
1342
|
-
PutPublicAccessBlockConfigRequest.add_member(:public_access_block_config, Shapes::ShapeRef.new(shape: PublicAccessBlockConfig, required: true, location_name: "PublicAccessBlockConfig"))
|
1343
|
-
PutPublicAccessBlockConfigRequest.struct_class = Types::PutPublicAccessBlockConfigRequest
|
1344
|
-
|
1345
|
-
PutPublicAccessBlockConfigResponse.add_member(:public_access_block_config, Shapes::ShapeRef.new(shape: PublicAccessBlockConfig, location_name: "PublicAccessBlockConfig"))
|
1346
|
-
PutPublicAccessBlockConfigResponse.struct_class = Types::PutPublicAccessBlockConfigResponse
|
1347
|
-
|
1348
|
-
PutResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: PolicyResourceArn, required: true, location: "uri", location_name: "ResourceArn"))
|
1349
|
-
PutResourcePolicyRequest.add_member(:policy, Shapes::ShapeRef.new(shape: ResourcePolicy, required: true, location_name: "Policy"))
|
1350
|
-
PutResourcePolicyRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, location_name: "RevisionId"))
|
1351
|
-
PutResourcePolicyRequest.struct_class = Types::PutResourcePolicyRequest
|
1352
|
-
|
1353
|
-
PutResourcePolicyResponse.add_member(:policy, Shapes::ShapeRef.new(shape: ResourcePolicy, location_name: "Policy"))
|
1354
|
-
PutResourcePolicyResponse.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, location_name: "RevisionId"))
|
1355
|
-
PutResourcePolicyResponse.struct_class = Types::PutResourcePolicyResponse
|
1356
|
-
|
1357
1301
|
PutRuntimeManagementConfigRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
|
1358
1302
|
PutRuntimeManagementConfigRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: Qualifier, location: "querystring", location_name: "Qualifier"))
|
1359
1303
|
PutRuntimeManagementConfigRequest.add_member(:update_runtime_on, Shapes::ShapeRef.new(shape: UpdateRuntimeOn, required: true, location_name: "UpdateRuntimeOn"))
|
@@ -1641,7 +1585,6 @@ module Aws::Lambda
|
|
1641
1585
|
o.errors << Shapes::ShapeRef.new(shape: PolicyLengthExceededException)
|
1642
1586
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1643
1587
|
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
|
1644
|
-
o.errors << Shapes::ShapeRef.new(shape: PublicPolicyException)
|
1645
1588
|
end)
|
1646
1589
|
|
1647
1590
|
api.add_operation(:create_alias, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1836,20 +1779,6 @@ module Aws::Lambda
|
|
1836
1779
|
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1837
1780
|
end)
|
1838
1781
|
|
1839
|
-
api.add_operation(:delete_resource_policy, Seahorse::Model::Operation.new.tap do |o|
|
1840
|
-
o.name = "DeleteResourcePolicy"
|
1841
|
-
o.http_method = "DELETE"
|
1842
|
-
o.http_request_uri = "/2024-09-16/resource-policy/{ResourceArn}"
|
1843
|
-
o.input = Shapes::ShapeRef.new(shape: DeleteResourcePolicyRequest)
|
1844
|
-
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1845
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1846
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1847
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
1848
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1849
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1850
|
-
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
|
1851
|
-
end)
|
1852
|
-
|
1853
1782
|
api.add_operation(:get_account_settings, Seahorse::Model::Operation.new.tap do |o|
|
1854
1783
|
o.name = "GetAccountSettings"
|
1855
1784
|
o.http_method = "GET"
|
@@ -2040,30 +1969,6 @@ module Aws::Lambda
|
|
2040
1969
|
o.errors << Shapes::ShapeRef.new(shape: ProvisionedConcurrencyConfigNotFoundException)
|
2041
1970
|
end)
|
2042
1971
|
|
2043
|
-
api.add_operation(:get_public_access_block_config, Seahorse::Model::Operation.new.tap do |o|
|
2044
|
-
o.name = "GetPublicAccessBlockConfig"
|
2045
|
-
o.http_method = "GET"
|
2046
|
-
o.http_request_uri = "/2024-09-16/public-access-block/{ResourceArn}"
|
2047
|
-
o.input = Shapes::ShapeRef.new(shape: GetPublicAccessBlockConfigRequest)
|
2048
|
-
o.output = Shapes::ShapeRef.new(shape: GetPublicAccessBlockConfigResponse)
|
2049
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2050
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2051
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2052
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2053
|
-
end)
|
2054
|
-
|
2055
|
-
api.add_operation(:get_resource_policy, Seahorse::Model::Operation.new.tap do |o|
|
2056
|
-
o.name = "GetResourcePolicy"
|
2057
|
-
o.http_method = "GET"
|
2058
|
-
o.http_request_uri = "/2024-09-16/resource-policy/{ResourceArn}"
|
2059
|
-
o.input = Shapes::ShapeRef.new(shape: GetResourcePolicyRequest)
|
2060
|
-
o.output = Shapes::ShapeRef.new(shape: GetResourcePolicyResponse)
|
2061
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2062
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2063
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2064
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2065
|
-
end)
|
2066
|
-
|
2067
1972
|
api.add_operation(:get_runtime_management_config, Seahorse::Model::Operation.new.tap do |o|
|
2068
1973
|
o.name = "GetRuntimeManagementConfig"
|
2069
1974
|
o.http_method = "GET"
|
@@ -2465,35 +2370,6 @@ module Aws::Lambda
|
|
2465
2370
|
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2466
2371
|
end)
|
2467
2372
|
|
2468
|
-
api.add_operation(:put_public_access_block_config, Seahorse::Model::Operation.new.tap do |o|
|
2469
|
-
o.name = "PutPublicAccessBlockConfig"
|
2470
|
-
o.http_method = "PUT"
|
2471
|
-
o.http_request_uri = "/2024-09-16/public-access-block/{ResourceArn}"
|
2472
|
-
o.input = Shapes::ShapeRef.new(shape: PutPublicAccessBlockConfigRequest)
|
2473
|
-
o.output = Shapes::ShapeRef.new(shape: PutPublicAccessBlockConfigResponse)
|
2474
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2475
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2476
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
2477
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2478
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2479
|
-
end)
|
2480
|
-
|
2481
|
-
api.add_operation(:put_resource_policy, Seahorse::Model::Operation.new.tap do |o|
|
2482
|
-
o.name = "PutResourcePolicy"
|
2483
|
-
o.http_method = "PUT"
|
2484
|
-
o.http_request_uri = "/2024-09-16/resource-policy/{ResourceArn}"
|
2485
|
-
o.input = Shapes::ShapeRef.new(shape: PutResourcePolicyRequest)
|
2486
|
-
o.output = Shapes::ShapeRef.new(shape: PutResourcePolicyResponse)
|
2487
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2488
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2489
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
2490
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2491
|
-
o.errors << Shapes::ShapeRef.new(shape: PolicyLengthExceededException)
|
2492
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2493
|
-
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
|
2494
|
-
o.errors << Shapes::ShapeRef.new(shape: PublicPolicyException)
|
2495
|
-
end)
|
2496
|
-
|
2497
2373
|
api.add_operation(:put_runtime_management_config, Seahorse::Model::Operation.new.tap do |o|
|
2498
2374
|
o.name = "PutRuntimeManagementConfig"
|
2499
2375
|
o.http_method = "PUT"
|
@@ -2531,7 +2407,6 @@ module Aws::Lambda
|
|
2531
2407
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2532
2408
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2533
2409
|
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
|
2534
|
-
o.errors << Shapes::ShapeRef.new(shape: PublicPolicyException)
|
2535
2410
|
end)
|
2536
2411
|
|
2537
2412
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
@@ -199,17 +199,6 @@ module Aws::Lambda
|
|
199
199
|
end
|
200
200
|
end
|
201
201
|
|
202
|
-
class DeleteResourcePolicy
|
203
|
-
def self.build(context)
|
204
|
-
Aws::Lambda::EndpointParameters.new(
|
205
|
-
region: context.config.region,
|
206
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
207
|
-
use_fips: context.config.use_fips_endpoint,
|
208
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
209
|
-
)
|
210
|
-
end
|
211
|
-
end
|
212
|
-
|
213
202
|
class GetAccountSettings
|
214
203
|
def self.build(context)
|
215
204
|
Aws::Lambda::EndpointParameters.new(
|
@@ -386,28 +375,6 @@ module Aws::Lambda
|
|
386
375
|
end
|
387
376
|
end
|
388
377
|
|
389
|
-
class GetPublicAccessBlockConfig
|
390
|
-
def self.build(context)
|
391
|
-
Aws::Lambda::EndpointParameters.new(
|
392
|
-
region: context.config.region,
|
393
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
394
|
-
use_fips: context.config.use_fips_endpoint,
|
395
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
396
|
-
)
|
397
|
-
end
|
398
|
-
end
|
399
|
-
|
400
|
-
class GetResourcePolicy
|
401
|
-
def self.build(context)
|
402
|
-
Aws::Lambda::EndpointParameters.new(
|
403
|
-
region: context.config.region,
|
404
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
405
|
-
use_fips: context.config.use_fips_endpoint,
|
406
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
407
|
-
)
|
408
|
-
end
|
409
|
-
end
|
410
|
-
|
411
378
|
class GetRuntimeManagementConfig
|
412
379
|
def self.build(context)
|
413
380
|
Aws::Lambda::EndpointParameters.new(
|
@@ -661,28 +628,6 @@ module Aws::Lambda
|
|
661
628
|
end
|
662
629
|
end
|
663
630
|
|
664
|
-
class PutPublicAccessBlockConfig
|
665
|
-
def self.build(context)
|
666
|
-
Aws::Lambda::EndpointParameters.new(
|
667
|
-
region: context.config.region,
|
668
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
669
|
-
use_fips: context.config.use_fips_endpoint,
|
670
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
671
|
-
)
|
672
|
-
end
|
673
|
-
end
|
674
|
-
|
675
|
-
class PutResourcePolicy
|
676
|
-
def self.build(context)
|
677
|
-
Aws::Lambda::EndpointParameters.new(
|
678
|
-
region: context.config.region,
|
679
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
680
|
-
use_fips: context.config.use_fips_endpoint,
|
681
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
682
|
-
)
|
683
|
-
end
|
684
|
-
end
|
685
|
-
|
686
631
|
class PutRuntimeManagementConfig
|
687
632
|
def self.build(context)
|
688
633
|
Aws::Lambda::EndpointParameters.new(
|
@@ -52,7 +52,6 @@ module Aws::Lambda
|
|
52
52
|
# * {PolicyLengthExceededException}
|
53
53
|
# * {PreconditionFailedException}
|
54
54
|
# * {ProvisionedConcurrencyConfigNotFoundException}
|
55
|
-
# * {PublicPolicyException}
|
56
55
|
# * {RecursiveInvocationException}
|
57
56
|
# * {RequestTooLargeException}
|
58
57
|
# * {ResourceConflictException}
|
@@ -578,26 +577,6 @@ module Aws::Lambda
|
|
578
577
|
end
|
579
578
|
end
|
580
579
|
|
581
|
-
class PublicPolicyException < ServiceError
|
582
|
-
|
583
|
-
# @param [Seahorse::Client::RequestContext] context
|
584
|
-
# @param [String] message
|
585
|
-
# @param [Aws::Lambda::Types::PublicPolicyException] data
|
586
|
-
def initialize(context, message, data = Aws::EmptyStructure.new)
|
587
|
-
super(context, message, data)
|
588
|
-
end
|
589
|
-
|
590
|
-
# @return [String]
|
591
|
-
def type
|
592
|
-
@data[:type]
|
593
|
-
end
|
594
|
-
|
595
|
-
# @return [String]
|
596
|
-
def message
|
597
|
-
@message || @data[:message]
|
598
|
-
end
|
599
|
-
end
|
600
|
-
|
601
580
|
class RecursiveInvocationException < ServiceError
|
602
581
|
|
603
582
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -104,8 +104,6 @@ The endpoint provider used to resolve endpoints. Any object that responds to
|
|
104
104
|
Aws::Lambda::Endpoints::DeleteLayerVersion.build(context)
|
105
105
|
when :delete_provisioned_concurrency_config
|
106
106
|
Aws::Lambda::Endpoints::DeleteProvisionedConcurrencyConfig.build(context)
|
107
|
-
when :delete_resource_policy
|
108
|
-
Aws::Lambda::Endpoints::DeleteResourcePolicy.build(context)
|
109
107
|
when :get_account_settings
|
110
108
|
Aws::Lambda::Endpoints::GetAccountSettings.build(context)
|
111
109
|
when :get_alias
|
@@ -138,10 +136,6 @@ The endpoint provider used to resolve endpoints. Any object that responds to
|
|
138
136
|
Aws::Lambda::Endpoints::GetPolicy.build(context)
|
139
137
|
when :get_provisioned_concurrency_config
|
140
138
|
Aws::Lambda::Endpoints::GetProvisionedConcurrencyConfig.build(context)
|
141
|
-
when :get_public_access_block_config
|
142
|
-
Aws::Lambda::Endpoints::GetPublicAccessBlockConfig.build(context)
|
143
|
-
when :get_resource_policy
|
144
|
-
Aws::Lambda::Endpoints::GetResourcePolicy.build(context)
|
145
139
|
when :get_runtime_management_config
|
146
140
|
Aws::Lambda::Endpoints::GetRuntimeManagementConfig.build(context)
|
147
141
|
when :invoke
|
@@ -188,10 +182,6 @@ The endpoint provider used to resolve endpoints. Any object that responds to
|
|
188
182
|
Aws::Lambda::Endpoints::PutFunctionRecursionConfig.build(context)
|
189
183
|
when :put_provisioned_concurrency_config
|
190
184
|
Aws::Lambda::Endpoints::PutProvisionedConcurrencyConfig.build(context)
|
191
|
-
when :put_public_access_block_config
|
192
|
-
Aws::Lambda::Endpoints::PutPublicAccessBlockConfig.build(context)
|
193
|
-
when :put_resource_policy
|
194
|
-
Aws::Lambda::Endpoints::PutResourcePolicy.build(context)
|
195
185
|
when :put_runtime_management_config
|
196
186
|
Aws::Lambda::Endpoints::PutRuntimeManagementConfig.build(context)
|
197
187
|
when :remove_layer_version_permission
|
data/lib/aws-sdk-lambda/types.rb
CHANGED
@@ -167,14 +167,14 @@ module Aws::Lambda
|
|
167
167
|
# @return [String]
|
168
168
|
#
|
169
169
|
# @!attribute [rw] principal
|
170
|
-
# The Amazon Web
|
170
|
+
# The Amazon Web Services service, Amazon Web Services account, IAM
|
171
171
|
# user, or IAM role that invokes the function. If you specify a
|
172
172
|
# service, use `SourceArn` or `SourceAccount` to limit who can invoke
|
173
173
|
# the function through that service.
|
174
174
|
# @return [String]
|
175
175
|
#
|
176
176
|
# @!attribute [rw] source_arn
|
177
|
-
# For Amazon Web
|
177
|
+
# For Amazon Web Services services, the ARN of the Amazon Web Services
|
178
178
|
# resource that invokes the function. For example, an Amazon S3 bucket
|
179
179
|
# or Amazon SNS topic.
|
180
180
|
#
|
@@ -183,7 +183,7 @@ module Aws::Lambda
|
|
183
183
|
# @return [String]
|
184
184
|
#
|
185
185
|
# @!attribute [rw] source_account
|
186
|
-
# For Amazon Web
|
186
|
+
# For Amazon Web Services service, the ID of the Amazon Web Services
|
187
187
|
# account that owns the resource. Use this together with `SourceArn`
|
188
188
|
# to ensure that the specified account owns the resource. It is
|
189
189
|
# possible for an Amazon S3 bucket to be deleted by its owner and
|
@@ -1542,28 +1542,6 @@ module Aws::Lambda
|
|
1542
1542
|
include Aws::Structure
|
1543
1543
|
end
|
1544
1544
|
|
1545
|
-
# @!attribute [rw] resource_arn
|
1546
|
-
# The Amazon Resource Name (ARN) of the function you want to delete
|
1547
|
-
# the policy from. You can use either a qualified or an unqualified
|
1548
|
-
# ARN, but the value you specify must be a complete ARN and wildcard
|
1549
|
-
# characters are not accepted.
|
1550
|
-
# @return [String]
|
1551
|
-
#
|
1552
|
-
# @!attribute [rw] revision_id
|
1553
|
-
# Delete the existing policy only if its revision ID matches the
|
1554
|
-
# string you specify. To find the revision ID of the policy currently
|
1555
|
-
# attached to your function, use the GetResourcePolicy action.
|
1556
|
-
# @return [String]
|
1557
|
-
#
|
1558
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteResourcePolicyRequest AWS API Documentation
|
1559
|
-
#
|
1560
|
-
class DeleteResourcePolicyRequest < Struct.new(
|
1561
|
-
:resource_arn,
|
1562
|
-
:revision_id)
|
1563
|
-
SENSITIVE = []
|
1564
|
-
include Aws::Structure
|
1565
|
-
end
|
1566
|
-
|
1567
1545
|
# A configuration object that specifies the destination of an event
|
1568
1546
|
# after Lambda processes it.
|
1569
1547
|
#
|
@@ -3337,63 +3315,6 @@ module Aws::Lambda
|
|
3337
3315
|
include Aws::Structure
|
3338
3316
|
end
|
3339
3317
|
|
3340
|
-
# @!attribute [rw] resource_arn
|
3341
|
-
# The Amazon Resource Name (ARN) of the function you want to retrieve
|
3342
|
-
# public-access settings for.
|
3343
|
-
# @return [String]
|
3344
|
-
#
|
3345
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetPublicAccessBlockConfigRequest AWS API Documentation
|
3346
|
-
#
|
3347
|
-
class GetPublicAccessBlockConfigRequest < Struct.new(
|
3348
|
-
:resource_arn)
|
3349
|
-
SENSITIVE = []
|
3350
|
-
include Aws::Structure
|
3351
|
-
end
|
3352
|
-
|
3353
|
-
# @!attribute [rw] public_access_block_config
|
3354
|
-
# The public-access settings configured for the function you specified
|
3355
|
-
# @return [Types::PublicAccessBlockConfig]
|
3356
|
-
#
|
3357
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetPublicAccessBlockConfigResponse AWS API Documentation
|
3358
|
-
#
|
3359
|
-
class GetPublicAccessBlockConfigResponse < Struct.new(
|
3360
|
-
:public_access_block_config)
|
3361
|
-
SENSITIVE = []
|
3362
|
-
include Aws::Structure
|
3363
|
-
end
|
3364
|
-
|
3365
|
-
# @!attribute [rw] resource_arn
|
3366
|
-
# The Amazon Resource Name (ARN) of the function you want to retrieve
|
3367
|
-
# the policy for. You can use either a qualified or an unqualified
|
3368
|
-
# ARN, but the value you specify must be a complete ARN and wildcard
|
3369
|
-
# characters are not accepted.
|
3370
|
-
# @return [String]
|
3371
|
-
#
|
3372
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetResourcePolicyRequest AWS API Documentation
|
3373
|
-
#
|
3374
|
-
class GetResourcePolicyRequest < Struct.new(
|
3375
|
-
:resource_arn)
|
3376
|
-
SENSITIVE = []
|
3377
|
-
include Aws::Structure
|
3378
|
-
end
|
3379
|
-
|
3380
|
-
# @!attribute [rw] policy
|
3381
|
-
# The resource-based policy attached to the function you specified.
|
3382
|
-
# @return [String]
|
3383
|
-
#
|
3384
|
-
# @!attribute [rw] revision_id
|
3385
|
-
# The revision ID of the policy.
|
3386
|
-
# @return [String]
|
3387
|
-
#
|
3388
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetResourcePolicyResponse AWS API Documentation
|
3389
|
-
#
|
3390
|
-
class GetResourcePolicyResponse < Struct.new(
|
3391
|
-
:policy,
|
3392
|
-
:revision_id)
|
3393
|
-
SENSITIVE = []
|
3394
|
-
include Aws::Structure
|
3395
|
-
end
|
3396
|
-
|
3397
3318
|
# @!attribute [rw] function_name
|
3398
3319
|
# The name or ARN of the Lambda function.
|
3399
3320
|
#
|
@@ -5045,52 +4966,6 @@ module Aws::Lambda
|
|
5045
4966
|
include Aws::Structure
|
5046
4967
|
end
|
5047
4968
|
|
5048
|
-
# An object that defines the public-access settings for a function.
|
5049
|
-
#
|
5050
|
-
# @!attribute [rw] block_public_policy
|
5051
|
-
# To block the creation of resource-based policies that would grant
|
5052
|
-
# public access to your function, set `BlockPublicPolicy` to `true`.
|
5053
|
-
# To allow the creation of resource-based policies that would grant
|
5054
|
-
# public access to your function, set `BlockPublicPolicy` to `false`.
|
5055
|
-
# @return [Boolean]
|
5056
|
-
#
|
5057
|
-
# @!attribute [rw] restrict_public_resource
|
5058
|
-
# To block public access to your function, even if its resource-based
|
5059
|
-
# policy allows it, set `RestrictPublicResource` to `true`. To allow
|
5060
|
-
# public access to a function with a resource-based policy that
|
5061
|
-
# permits it, set `RestrictPublicResource` to `false`.
|
5062
|
-
# @return [Boolean]
|
5063
|
-
#
|
5064
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublicAccessBlockConfig AWS API Documentation
|
5065
|
-
#
|
5066
|
-
class PublicAccessBlockConfig < Struct.new(
|
5067
|
-
:block_public_policy,
|
5068
|
-
:restrict_public_resource)
|
5069
|
-
SENSITIVE = []
|
5070
|
-
include Aws::Structure
|
5071
|
-
end
|
5072
|
-
|
5073
|
-
# Lambda prevented your policy from being created because it would grant
|
5074
|
-
# public access to your function. If you intended to create a public
|
5075
|
-
# policy, use the PutPublicAccessBlockConfig API action to configure
|
5076
|
-
# your function's public-access settings to allow public policies.
|
5077
|
-
#
|
5078
|
-
# @!attribute [rw] type
|
5079
|
-
# The exception type.
|
5080
|
-
# @return [String]
|
5081
|
-
#
|
5082
|
-
# @!attribute [rw] message
|
5083
|
-
# @return [String]
|
5084
|
-
#
|
5085
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublicPolicyException AWS API Documentation
|
5086
|
-
#
|
5087
|
-
class PublicPolicyException < Struct.new(
|
5088
|
-
:type,
|
5089
|
-
:message)
|
5090
|
-
SENSITIVE = []
|
5091
|
-
include Aws::Structure
|
5092
|
-
end
|
5093
|
-
|
5094
4969
|
# @!attribute [rw] layer_name
|
5095
4970
|
# The name or Amazon Resource Name (ARN) of the layer.
|
5096
4971
|
# @return [String]
|
@@ -5575,103 +5450,6 @@ module Aws::Lambda
|
|
5575
5450
|
include Aws::Structure
|
5576
5451
|
end
|
5577
5452
|
|
5578
|
-
# @!attribute [rw] resource_arn
|
5579
|
-
# The Amazon Resource Name (ARN) of the function you want to configure
|
5580
|
-
# public-access settings for. Public-access settings are applied at
|
5581
|
-
# the function level, so you can't apply different settings to
|
5582
|
-
# function versions or aliases.
|
5583
|
-
# @return [String]
|
5584
|
-
#
|
5585
|
-
# @!attribute [rw] public_access_block_config
|
5586
|
-
# An object defining the public-access settings you want to apply.
|
5587
|
-
#
|
5588
|
-
# To block the creation of resource-based policies that would grant
|
5589
|
-
# public access to your function, set `BlockPublicPolicy` to `true`.
|
5590
|
-
# To allow the creation of resource-based policies that would grant
|
5591
|
-
# public access to your function, set `BlockPublicPolicy` to `false`.
|
5592
|
-
#
|
5593
|
-
# To block public access to your function, even if its resource-based
|
5594
|
-
# policy allows it, set `RestrictPublicResource` to `true`. To allow
|
5595
|
-
# public access to a function with a resource-based policy that
|
5596
|
-
# permits it, set `RestrictPublicResource` to `false`.
|
5597
|
-
#
|
5598
|
-
# The default setting for both `BlockPublicPolicy` and
|
5599
|
-
# `RestrictPublicResource` is `true`.
|
5600
|
-
# @return [Types::PublicAccessBlockConfig]
|
5601
|
-
#
|
5602
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutPublicAccessBlockConfigRequest AWS API Documentation
|
5603
|
-
#
|
5604
|
-
class PutPublicAccessBlockConfigRequest < Struct.new(
|
5605
|
-
:resource_arn,
|
5606
|
-
:public_access_block_config)
|
5607
|
-
SENSITIVE = []
|
5608
|
-
include Aws::Structure
|
5609
|
-
end
|
5610
|
-
|
5611
|
-
# @!attribute [rw] public_access_block_config
|
5612
|
-
# The public-access settings Lambda applied to your function.
|
5613
|
-
# @return [Types::PublicAccessBlockConfig]
|
5614
|
-
#
|
5615
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutPublicAccessBlockConfigResponse AWS API Documentation
|
5616
|
-
#
|
5617
|
-
class PutPublicAccessBlockConfigResponse < Struct.new(
|
5618
|
-
:public_access_block_config)
|
5619
|
-
SENSITIVE = []
|
5620
|
-
include Aws::Structure
|
5621
|
-
end
|
5622
|
-
|
5623
|
-
# @!attribute [rw] resource_arn
|
5624
|
-
# The Amazon Resource Name (ARN) of the function you want to add the
|
5625
|
-
# policy to. You can use either a qualified or an unqualified ARN, but
|
5626
|
-
# the value you specify must be a complete ARN and wildcard characters
|
5627
|
-
# are not accepted.
|
5628
|
-
# @return [String]
|
5629
|
-
#
|
5630
|
-
# @!attribute [rw] policy
|
5631
|
-
# The JSON resource-based policy you want to add to your function.
|
5632
|
-
#
|
5633
|
-
# To learn more about creating resource-based policies for controlling
|
5634
|
-
# access to Lambda, see [Working with resource-based IAM policies in
|
5635
|
-
# Lambda][1] in the *Lambda Developer Guide*.
|
5636
|
-
#
|
5637
|
-
#
|
5638
|
-
#
|
5639
|
-
# [1]: https://docs.aws.amazon.com/
|
5640
|
-
# @return [String]
|
5641
|
-
#
|
5642
|
-
# @!attribute [rw] revision_id
|
5643
|
-
# Replace the existing policy only if its revision ID matches the
|
5644
|
-
# string you specify. To find the revision ID of the policy currently
|
5645
|
-
# attached to your function, use the GetResourcePolicy action.
|
5646
|
-
# @return [String]
|
5647
|
-
#
|
5648
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutResourcePolicyRequest AWS API Documentation
|
5649
|
-
#
|
5650
|
-
class PutResourcePolicyRequest < Struct.new(
|
5651
|
-
:resource_arn,
|
5652
|
-
:policy,
|
5653
|
-
:revision_id)
|
5654
|
-
SENSITIVE = []
|
5655
|
-
include Aws::Structure
|
5656
|
-
end
|
5657
|
-
|
5658
|
-
# @!attribute [rw] policy
|
5659
|
-
# The policy Lambda added to your function.
|
5660
|
-
# @return [String]
|
5661
|
-
#
|
5662
|
-
# @!attribute [rw] revision_id
|
5663
|
-
# The revision ID of the policy Lambda added to your function.
|
5664
|
-
# @return [String]
|
5665
|
-
#
|
5666
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutResourcePolicyResponse AWS API Documentation
|
5667
|
-
#
|
5668
|
-
class PutResourcePolicyResponse < Struct.new(
|
5669
|
-
:policy,
|
5670
|
-
:revision_id)
|
5671
|
-
SENSITIVE = []
|
5672
|
-
include Aws::Structure
|
5673
|
-
end
|
5674
|
-
|
5675
5453
|
# @!attribute [rw] function_name
|
5676
5454
|
# The name or ARN of the Lambda function.
|
5677
5455
|
#
|
data/lib/aws-sdk-lambda.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -476,13 +476,6 @@ module Aws
|
|
476
476
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
477
477
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
478
478
|
|
479
|
-
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#delete_resource_policy-instance_method
|
480
|
-
def delete_resource_policy: (
|
481
|
-
resource_arn: ::String,
|
482
|
-
?revision_id: ::String
|
483
|
-
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
484
|
-
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
485
|
-
|
486
479
|
interface _GetAccountSettingsResponseSuccess
|
487
480
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetAccountSettingsResponse]
|
488
481
|
def account_limit: () -> Types::AccountLimit
|
@@ -758,27 +751,6 @@ module Aws
|
|
758
751
|
) -> _GetProvisionedConcurrencyConfigResponseSuccess
|
759
752
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetProvisionedConcurrencyConfigResponseSuccess
|
760
753
|
|
761
|
-
interface _GetPublicAccessBlockConfigResponseSuccess
|
762
|
-
include ::Seahorse::Client::_ResponseSuccess[Types::GetPublicAccessBlockConfigResponse]
|
763
|
-
def public_access_block_config: () -> Types::PublicAccessBlockConfig
|
764
|
-
end
|
765
|
-
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#get_public_access_block_config-instance_method
|
766
|
-
def get_public_access_block_config: (
|
767
|
-
resource_arn: ::String
|
768
|
-
) -> _GetPublicAccessBlockConfigResponseSuccess
|
769
|
-
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPublicAccessBlockConfigResponseSuccess
|
770
|
-
|
771
|
-
interface _GetResourcePolicyResponseSuccess
|
772
|
-
include ::Seahorse::Client::_ResponseSuccess[Types::GetResourcePolicyResponse]
|
773
|
-
def policy: () -> ::String
|
774
|
-
def revision_id: () -> ::String
|
775
|
-
end
|
776
|
-
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#get_resource_policy-instance_method
|
777
|
-
def get_resource_policy: (
|
778
|
-
resource_arn: ::String
|
779
|
-
) -> _GetResourcePolicyResponseSuccess
|
780
|
-
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetResourcePolicyResponseSuccess
|
781
|
-
|
782
754
|
interface _GetRuntimeManagementConfigResponseSuccess
|
783
755
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetRuntimeManagementConfigResponse]
|
784
756
|
def update_runtime_on: () -> ("Auto" | "Manual" | "FunctionUpdate")
|
@@ -1150,33 +1122,6 @@ module Aws
|
|
1150
1122
|
) -> _PutProvisionedConcurrencyConfigResponseSuccess
|
1151
1123
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutProvisionedConcurrencyConfigResponseSuccess
|
1152
1124
|
|
1153
|
-
interface _PutPublicAccessBlockConfigResponseSuccess
|
1154
|
-
include ::Seahorse::Client::_ResponseSuccess[Types::PutPublicAccessBlockConfigResponse]
|
1155
|
-
def public_access_block_config: () -> Types::PublicAccessBlockConfig
|
1156
|
-
end
|
1157
|
-
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#put_public_access_block_config-instance_method
|
1158
|
-
def put_public_access_block_config: (
|
1159
|
-
resource_arn: ::String,
|
1160
|
-
public_access_block_config: {
|
1161
|
-
block_public_policy: bool?,
|
1162
|
-
restrict_public_resource: bool?
|
1163
|
-
}
|
1164
|
-
) -> _PutPublicAccessBlockConfigResponseSuccess
|
1165
|
-
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutPublicAccessBlockConfigResponseSuccess
|
1166
|
-
|
1167
|
-
interface _PutResourcePolicyResponseSuccess
|
1168
|
-
include ::Seahorse::Client::_ResponseSuccess[Types::PutResourcePolicyResponse]
|
1169
|
-
def policy: () -> ::String
|
1170
|
-
def revision_id: () -> ::String
|
1171
|
-
end
|
1172
|
-
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#put_resource_policy-instance_method
|
1173
|
-
def put_resource_policy: (
|
1174
|
-
resource_arn: ::String,
|
1175
|
-
policy: ::String,
|
1176
|
-
?revision_id: ::String
|
1177
|
-
) -> _PutResourcePolicyResponseSuccess
|
1178
|
-
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutResourcePolicyResponseSuccess
|
1179
|
-
|
1180
1125
|
interface _PutRuntimeManagementConfigResponseSuccess
|
1181
1126
|
include ::Seahorse::Client::_ResponseSuccess[Types::PutRuntimeManagementConfigResponse]
|
1182
1127
|
def update_runtime_on: () -> ("Auto" | "Manual" | "FunctionUpdate")
|
data/sig/errors.rbs
CHANGED
@@ -112,10 +112,6 @@ module Aws
|
|
112
112
|
def type: () -> ::String
|
113
113
|
def message: () -> ::String
|
114
114
|
end
|
115
|
-
class PublicPolicyException < ::Aws::Errors::ServiceError
|
116
|
-
def type: () -> ::String
|
117
|
-
def message: () -> ::String
|
118
|
-
end
|
119
115
|
class RecursiveInvocationException < ::Aws::Errors::ServiceError
|
120
116
|
def type: () -> ::String
|
121
117
|
def message: () -> ::String
|
data/sig/types.rbs
CHANGED
@@ -295,12 +295,6 @@ module Aws::Lambda
|
|
295
295
|
SENSITIVE: []
|
296
296
|
end
|
297
297
|
|
298
|
-
class DeleteResourcePolicyRequest
|
299
|
-
attr_accessor resource_arn: ::String
|
300
|
-
attr_accessor revision_id: ::String
|
301
|
-
SENSITIVE: []
|
302
|
-
end
|
303
|
-
|
304
298
|
class DestinationConfig
|
305
299
|
attr_accessor on_success: Types::OnSuccess
|
306
300
|
attr_accessor on_failure: Types::OnFailure
|
@@ -686,27 +680,6 @@ module Aws::Lambda
|
|
686
680
|
SENSITIVE: []
|
687
681
|
end
|
688
682
|
|
689
|
-
class GetPublicAccessBlockConfigRequest
|
690
|
-
attr_accessor resource_arn: ::String
|
691
|
-
SENSITIVE: []
|
692
|
-
end
|
693
|
-
|
694
|
-
class GetPublicAccessBlockConfigResponse
|
695
|
-
attr_accessor public_access_block_config: Types::PublicAccessBlockConfig
|
696
|
-
SENSITIVE: []
|
697
|
-
end
|
698
|
-
|
699
|
-
class GetResourcePolicyRequest
|
700
|
-
attr_accessor resource_arn: ::String
|
701
|
-
SENSITIVE: []
|
702
|
-
end
|
703
|
-
|
704
|
-
class GetResourcePolicyResponse
|
705
|
-
attr_accessor policy: ::String
|
706
|
-
attr_accessor revision_id: ::String
|
707
|
-
SENSITIVE: []
|
708
|
-
end
|
709
|
-
|
710
683
|
class GetRuntimeManagementConfigRequest
|
711
684
|
attr_accessor function_name: ::String
|
712
685
|
attr_accessor qualifier: ::String
|
@@ -1115,18 +1088,6 @@ module Aws::Lambda
|
|
1115
1088
|
SENSITIVE: []
|
1116
1089
|
end
|
1117
1090
|
|
1118
|
-
class PublicAccessBlockConfig
|
1119
|
-
attr_accessor block_public_policy: bool
|
1120
|
-
attr_accessor restrict_public_resource: bool
|
1121
|
-
SENSITIVE: []
|
1122
|
-
end
|
1123
|
-
|
1124
|
-
class PublicPolicyException
|
1125
|
-
attr_accessor type: ::String
|
1126
|
-
attr_accessor message: ::String
|
1127
|
-
SENSITIVE: []
|
1128
|
-
end
|
1129
|
-
|
1130
1091
|
class PublishLayerVersionRequest
|
1131
1092
|
attr_accessor layer_name: ::String
|
1132
1093
|
attr_accessor description: ::String
|
@@ -1213,30 +1174,6 @@ module Aws::Lambda
|
|
1213
1174
|
SENSITIVE: []
|
1214
1175
|
end
|
1215
1176
|
|
1216
|
-
class PutPublicAccessBlockConfigRequest
|
1217
|
-
attr_accessor resource_arn: ::String
|
1218
|
-
attr_accessor public_access_block_config: Types::PublicAccessBlockConfig
|
1219
|
-
SENSITIVE: []
|
1220
|
-
end
|
1221
|
-
|
1222
|
-
class PutPublicAccessBlockConfigResponse
|
1223
|
-
attr_accessor public_access_block_config: Types::PublicAccessBlockConfig
|
1224
|
-
SENSITIVE: []
|
1225
|
-
end
|
1226
|
-
|
1227
|
-
class PutResourcePolicyRequest
|
1228
|
-
attr_accessor resource_arn: ::String
|
1229
|
-
attr_accessor policy: ::String
|
1230
|
-
attr_accessor revision_id: ::String
|
1231
|
-
SENSITIVE: []
|
1232
|
-
end
|
1233
|
-
|
1234
|
-
class PutResourcePolicyResponse
|
1235
|
-
attr_accessor policy: ::String
|
1236
|
-
attr_accessor revision_id: ::String
|
1237
|
-
SENSITIVE: []
|
1238
|
-
end
|
1239
|
-
|
1240
1177
|
class PutRuntimeManagementConfigRequest
|
1241
1178
|
attr_accessor function_name: ::String
|
1242
1179
|
attr_accessor qualifier: ::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.136.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-09-
|
11
|
+
date: 2024-09-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|