aws-sdk-lambda 1.135.0 → 1.137.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: a129db8fdb76c586e70b04df813f55affd4a39a78a601d3530a7400c89a09399
4
- data.tar.gz: d8b34d97d47796c7396cc6f5e1a6d8a5703855dbad9afba3434cb0290def5dd3
3
+ metadata.gz: 52720ff5dfb5fe59f3f8787245bf5ce5699538aec83ebbae057e7850e845a694
4
+ data.tar.gz: eb7ee00da7082ab5ad8ce8d97e71bd1462425484509812079e7b63aca07ca7fd
5
5
  SHA512:
6
- metadata.gz: e5f8d3756a56e223786a58bb0dea4c993bb11e6b55ccd3018796c9a853783df15e0f72798a3a8a89766184d29e5e9f145e5502e184db35a4c6f713385f747223
7
- data.tar.gz: 4654ee85e6e7cd77f629f94b99d398230dfb6075d017e55af504be4f779e773cab24ef70ff21acb3189b76219e33a73d9ec97ba374bc57f86858988a3e09a036
6
+ metadata.gz: 3a517bbd643c7531d42a7f06b562c79ded41a3d97263e1e53eaa5b59d1ff831a0ea81908c9820a8a03e3191dea32a320141e4f683620855d80a31f4a34c7c0a8
7
+ data.tar.gz: 3747df8c49a96c3dde79633ec3720607d9ad61b9c3b72ee26a7bbbef81830b84929ac324653070345c0cff5c78ae844ce39f1b244056310c2fd0647b7f49d976
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.137.0 (2024-10-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.136.0 (2024-09-26)
10
+ ------------------
11
+
12
+ * Feature - Reverting Lambda resource-based policy and block public access APIs.
13
+
4
14
  1.135.0 (2024-09-24)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.135.0
1
+ 1.137.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 Servicesservices, the principal is a domain-style
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 Servicesservices, you can also
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 Servicesservice, Amazon Web Services account, IAM user,
607
- # or IAM role that invokes the function. If you specify a service, use
608
- # `SourceArn` or `SourceAccount` to limit who can invoke the function
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 Servicesservices, the ARN of the Amazon Web Services
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 Servicesservice, the ID of the Amazon Web Services
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 Servicesservices, such as Amazon CloudWatch Logs for
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
- # Servicesservice invokes your function, use AddPermission to grant
1373
- # permission by creating a resource-based Identity and Access Management
1374
- # (IAM) policy. You can grant permissions at the function level, on a
1375
- # version, or on an alias.
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 Servicesservices, create an
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 Servicesservices and
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 funciton tags with
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 Servicesservice or
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 Servicesservice, use AddPermission.
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.135.0'
8034
+ context[:gem_version] = '1.137.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|