aws-sdk-lambda 1.154.0 → 1.155.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 79285cf65cbce2eed139a14c8c7662434104d3ece27ce9d4535e181c223d5728
4
- data.tar.gz: 7608c1ad3f1fedf6256a3855e4c567e7e5f98a7d6cc57150561667f09d3282cd
3
+ metadata.gz: d73cd5bfc988b14997d170d619f2c538f59d47c28f5313229bed120a90f94367
4
+ data.tar.gz: 307e61e8f88294289a805bb18ee264b0c52941be8a98bacea93dd3facc5803ba
5
5
  SHA512:
6
- metadata.gz: 0b3c5a7dca0d5f0433724c053f5db660a1ccb3078f6d9cc2957df0e0eca12cc65d872947c9265f22aa7d6477da49d02eb0987ce69df763d20b00b980209794df
7
- data.tar.gz: '08938d0f9a21e424cdd07896dc421075e788da06a833bcb28eeeda764532902244c82cbca773abb996655fb1ea0a034e19d1a85e6af3c19bb20ac1fa3384131b'
6
+ metadata.gz: b6bc05e4bf35a6192ed9d20f8923b8aefc0cde5c8c3041ba3083a37e7252fb7ba62d9cdba3894a0e4a775e9008dabd528f6d044cce0fc12d5199b86dd5a185c4
7
+ data.tar.gz: '07578ba4b559beaddf74d985a08469b2ebd1d99d5c284ee7a0b54999dd3eb472790639d5c8ec6d418c186b275c084b0e9b8c4152f96acad990a0ac972cbac702'
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.155.0 (2025-07-22)
5
+ ------------------
6
+
7
+ * Feature - This release migrated the model to Smithy keeping all features unchanged.
8
+
4
9
  1.154.0 (2025-07-21)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.154.0
1
+ 1.155.0
@@ -4180,9 +4180,10 @@ module Aws::Lambda
4180
4180
 
4181
4181
  # For asynchronous function invocation, use Invoke.
4182
4182
  #
4183
- # Invokes a function asynchronously.
4183
+ # Invokes a function asynchronously.
4184
4184
  #
4185
- # <note markdown="1"> If you do use the InvokeAsync action, note that it doesn't support
4185
+ # <note markdown="1"> If you do use the InvokeAsync action, note that
4186
+ # it doesn't support
4186
4187
  # the use of X-Ray active tracing. Trace ID is not propagated to the
4187
4188
  # function, even if X-Ray active tracing is turned on.
4188
4189
  #
@@ -8362,7 +8363,7 @@ module Aws::Lambda
8362
8363
  tracer: tracer
8363
8364
  )
8364
8365
  context[:gem_name] = 'aws-sdk-lambda'
8365
- context[:gem_version] = '1.154.0'
8366
+ context[:gem_version] = '1.155.0'
8366
8367
  Seahorse::Client::Request.new(handlers, context)
8367
8368
  end
8368
8369
 
@@ -1232,7 +1232,7 @@ module Aws::Lambda
1232
1232
  ListProvisionedConcurrencyConfigsResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: String, location_name: "NextMarker"))
1233
1233
  ListProvisionedConcurrencyConfigsResponse.struct_class = Types::ListProvisionedConcurrencyConfigsResponse
1234
1234
 
1235
- ListTagsRequest.add_member(:resource, Shapes::ShapeRef.new(shape: TaggableResource, required: true, location: "uri", location_name: "ARN"))
1235
+ ListTagsRequest.add_member(:resource, Shapes::ShapeRef.new(shape: TaggableResource, required: true, location: "uri", location_name: "Resource"))
1236
1236
  ListTagsRequest.struct_class = Types::ListTagsRequest
1237
1237
 
1238
1238
  ListTagsResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
@@ -1460,7 +1460,7 @@ module Aws::Lambda
1460
1460
 
1461
1461
  TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
1462
1462
 
1463
- TagResourceRequest.add_member(:resource, Shapes::ShapeRef.new(shape: TaggableResource, required: true, location: "uri", location_name: "ARN"))
1463
+ TagResourceRequest.add_member(:resource, Shapes::ShapeRef.new(shape: TaggableResource, required: true, location: "uri", location_name: "Resource"))
1464
1464
  TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, required: true, location_name: "Tags"))
1465
1465
  TagResourceRequest.struct_class = Types::TagResourceRequest
1466
1466
 
@@ -1489,7 +1489,7 @@ module Aws::Lambda
1489
1489
  UnsupportedMediaTypeException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
1490
1490
  UnsupportedMediaTypeException.struct_class = Types::UnsupportedMediaTypeException
1491
1491
 
1492
- UntagResourceRequest.add_member(:resource, Shapes::ShapeRef.new(shape: TaggableResource, required: true, location: "uri", location_name: "ARN"))
1492
+ UntagResourceRequest.add_member(:resource, Shapes::ShapeRef.new(shape: TaggableResource, required: true, location: "uri", location_name: "Resource"))
1493
1493
  UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
1494
1494
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
1495
1495
 
@@ -1616,6 +1616,7 @@ module Aws::Lambda
1616
1616
  "serviceFullName" => "AWS Lambda",
1617
1617
  "serviceId" => "Lambda",
1618
1618
  "signatureVersion" => "v4",
1619
+ "signingName" => "lambda",
1619
1620
  "uid" => "lambda-2015-03-31",
1620
1621
  }
1621
1622
 
@@ -1625,12 +1626,12 @@ module Aws::Lambda
1625
1626
  o.http_request_uri = "/2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy"
1626
1627
  o.input = Shapes::ShapeRef.new(shape: AddLayerVersionPermissionRequest)
1627
1628
  o.output = Shapes::ShapeRef.new(shape: AddLayerVersionPermissionResponse)
1628
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1629
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1629
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1630
1630
  o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1631
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1631
1632
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1632
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1633
1633
  o.errors << Shapes::ShapeRef.new(shape: PolicyLengthExceededException)
1634
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1634
1635
  o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
1635
1636
  end)
1636
1637
 
@@ -1640,12 +1641,12 @@ module Aws::Lambda
1640
1641
  o.http_request_uri = "/2015-03-31/functions/{FunctionName}/policy"
1641
1642
  o.input = Shapes::ShapeRef.new(shape: AddPermissionRequest)
1642
1643
  o.output = Shapes::ShapeRef.new(shape: AddPermissionResponse)
1643
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1644
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1645
- o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1646
1644
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1647
- o.errors << Shapes::ShapeRef.new(shape: PolicyLengthExceededException)
1645
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1646
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1648
1647
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1648
+ o.errors << Shapes::ShapeRef.new(shape: PolicyLengthExceededException)
1649
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1649
1650
  o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
1650
1651
  end)
1651
1652
 
@@ -1655,32 +1656,32 @@ module Aws::Lambda
1655
1656
  o.http_request_uri = "/2015-03-31/functions/{FunctionName}/aliases"
1656
1657
  o.input = Shapes::ShapeRef.new(shape: CreateAliasRequest)
1657
1658
  o.output = Shapes::ShapeRef.new(shape: AliasConfiguration)
1658
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1659
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1660
- o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1661
1659
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1660
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1661
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1662
1662
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1663
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1663
1664
  end)
1664
1665
 
1665
1666
  api.add_operation(:create_code_signing_config, Seahorse::Model::Operation.new.tap do |o|
1666
1667
  o.name = "CreateCodeSigningConfig"
1667
1668
  o.http_method = "POST"
1668
- o.http_request_uri = "/2020-04-22/code-signing-configs/"
1669
+ o.http_request_uri = "/2020-04-22/code-signing-configs"
1669
1670
  o.input = Shapes::ShapeRef.new(shape: CreateCodeSigningConfigRequest)
1670
1671
  o.output = Shapes::ShapeRef.new(shape: CreateCodeSigningConfigResponse)
1671
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1672
1672
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1673
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1673
1674
  end)
1674
1675
 
1675
1676
  api.add_operation(:create_event_source_mapping, Seahorse::Model::Operation.new.tap do |o|
1676
1677
  o.name = "CreateEventSourceMapping"
1677
1678
  o.http_method = "POST"
1678
- o.http_request_uri = "/2015-03-31/event-source-mappings/"
1679
+ o.http_request_uri = "/2015-03-31/event-source-mappings"
1679
1680
  o.input = Shapes::ShapeRef.new(shape: CreateEventSourceMappingRequest)
1680
1681
  o.output = Shapes::ShapeRef.new(shape: EventSourceMappingConfiguration)
1681
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1682
1682
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1683
1683
  o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1684
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1684
1685
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1685
1686
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1686
1687
  end)
@@ -1691,15 +1692,15 @@ module Aws::Lambda
1691
1692
  o.http_request_uri = "/2015-03-31/functions"
1692
1693
  o.input = Shapes::ShapeRef.new(shape: CreateFunctionRequest)
1693
1694
  o.output = Shapes::ShapeRef.new(shape: FunctionConfiguration)
1694
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1695
1695
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1696
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1697
1696
  o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1697
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1698
1698
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1699
- o.errors << Shapes::ShapeRef.new(shape: CodeStorageExceededException)
1700
- o.errors << Shapes::ShapeRef.new(shape: CodeVerificationFailedException)
1701
1699
  o.errors << Shapes::ShapeRef.new(shape: InvalidCodeSignatureException)
1700
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1701
+ o.errors << Shapes::ShapeRef.new(shape: CodeVerificationFailedException)
1702
1702
  o.errors << Shapes::ShapeRef.new(shape: CodeSigningConfigNotFoundException)
1703
+ o.errors << Shapes::ShapeRef.new(shape: CodeStorageExceededException)
1703
1704
  end)
1704
1705
 
1705
1706
  api.add_operation(:create_function_url_config, Seahorse::Model::Operation.new.tap do |o|
@@ -1708,11 +1709,11 @@ module Aws::Lambda
1708
1709
  o.http_request_uri = "/2021-10-31/functions/{FunctionName}/url"
1709
1710
  o.input = Shapes::ShapeRef.new(shape: CreateFunctionUrlConfigRequest)
1710
1711
  o.output = Shapes::ShapeRef.new(shape: CreateFunctionUrlConfigResponse)
1711
- o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1712
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1713
1712
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1713
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1714
1714
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1715
1715
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1716
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1716
1717
  end)
1717
1718
 
1718
1719
  api.add_operation(:delete_alias, Seahorse::Model::Operation.new.tap do |o|
@@ -1721,9 +1722,9 @@ module Aws::Lambda
1721
1722
  o.http_request_uri = "/2015-03-31/functions/{FunctionName}/aliases/{Name}"
1722
1723
  o.input = Shapes::ShapeRef.new(shape: DeleteAliasRequest)
1723
1724
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1724
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1725
1725
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1726
1726
  o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1727
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1727
1728
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1728
1729
  end)
1729
1730
 
@@ -1733,10 +1734,10 @@ module Aws::Lambda
1733
1734
  o.http_request_uri = "/2020-04-22/code-signing-configs/{CodeSigningConfigArn}"
1734
1735
  o.input = Shapes::ShapeRef.new(shape: DeleteCodeSigningConfigRequest)
1735
1736
  o.output = Shapes::ShapeRef.new(shape: DeleteCodeSigningConfigResponse)
1736
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1737
1737
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1738
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1739
1738
  o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1739
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1740
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1740
1741
  end)
1741
1742
 
1742
1743
  api.add_operation(:delete_event_source_mapping, Seahorse::Model::Operation.new.tap do |o|
@@ -1745,12 +1746,12 @@ module Aws::Lambda
1745
1746
  o.http_request_uri = "/2015-03-31/event-source-mappings/{UUID}"
1746
1747
  o.input = Shapes::ShapeRef.new(shape: DeleteEventSourceMappingRequest)
1747
1748
  o.output = Shapes::ShapeRef.new(shape: EventSourceMappingConfiguration)
1748
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1749
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1750
1749
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1751
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1752
- o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1753
1750
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1751
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1752
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1753
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1754
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1754
1755
  end)
1755
1756
 
1756
1757
  api.add_operation(:delete_function, Seahorse::Model::Operation.new.tap do |o|
@@ -1759,11 +1760,11 @@ module Aws::Lambda
1759
1760
  o.http_request_uri = "/2015-03-31/functions/{FunctionName}"
1760
1761
  o.input = Shapes::ShapeRef.new(shape: DeleteFunctionRequest)
1761
1762
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1762
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1763
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1764
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1765
1763
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1766
1764
  o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1765
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1766
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1767
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1767
1768
  end)
1768
1769
 
1769
1770
  api.add_operation(:delete_function_code_signing_config, Seahorse::Model::Operation.new.tap do |o|
@@ -1773,11 +1774,11 @@ module Aws::Lambda
1773
1774
  o.input = Shapes::ShapeRef.new(shape: DeleteFunctionCodeSigningConfigRequest)
1774
1775
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1775
1776
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1776
- o.errors << Shapes::ShapeRef.new(shape: CodeSigningConfigNotFoundException)
1777
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1777
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1778
1778
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1779
1779
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1780
- o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1780
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1781
+ o.errors << Shapes::ShapeRef.new(shape: CodeSigningConfigNotFoundException)
1781
1782
  end)
1782
1783
 
1783
1784
  api.add_operation(:delete_function_concurrency, Seahorse::Model::Operation.new.tap do |o|
@@ -1786,11 +1787,11 @@ module Aws::Lambda
1786
1787
  o.http_request_uri = "/2017-10-31/functions/{FunctionName}/concurrency"
1787
1788
  o.input = Shapes::ShapeRef.new(shape: DeleteFunctionConcurrencyRequest)
1788
1789
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1789
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1790
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1791
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1792
1790
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1793
1791
  o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1792
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1793
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1794
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1794
1795
  end)
1795
1796
 
1796
1797
  api.add_operation(:delete_function_event_invoke_config, Seahorse::Model::Operation.new.tap do |o|
@@ -1799,11 +1800,11 @@ module Aws::Lambda
1799
1800
  o.http_request_uri = "/2019-09-25/functions/{FunctionName}/event-invoke-config"
1800
1801
  o.input = Shapes::ShapeRef.new(shape: DeleteFunctionEventInvokeConfigRequest)
1801
1802
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1802
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1803
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1804
1803
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1805
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1806
1804
  o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1805
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1806
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1807
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1807
1808
  end)
1808
1809
 
1809
1810
  api.add_operation(:delete_function_url_config, Seahorse::Model::Operation.new.tap do |o|
@@ -1813,9 +1814,9 @@ module Aws::Lambda
1813
1814
  o.input = Shapes::ShapeRef.new(shape: DeleteFunctionUrlConfigRequest)
1814
1815
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1815
1816
  o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1816
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1817
1817
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1818
1818
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1819
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1819
1820
  end)
1820
1821
 
1821
1822
  api.add_operation(:delete_layer_version, Seahorse::Model::Operation.new.tap do |o|
@@ -1836,19 +1837,19 @@ module Aws::Lambda
1836
1837
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1837
1838
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1838
1839
  o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1839
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1840
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1841
1840
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1841
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1842
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1842
1843
  end)
1843
1844
 
1844
1845
  api.add_operation(:get_account_settings, Seahorse::Model::Operation.new.tap do |o|
1845
1846
  o.name = "GetAccountSettings"
1846
1847
  o.http_method = "GET"
1847
- o.http_request_uri = "/2016-08-19/account-settings/"
1848
+ o.http_request_uri = "/2016-08-19/account-settings"
1848
1849
  o.input = Shapes::ShapeRef.new(shape: GetAccountSettingsRequest)
1849
1850
  o.output = Shapes::ShapeRef.new(shape: GetAccountSettingsResponse)
1850
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1851
1851
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1852
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1852
1853
  end)
1853
1854
 
1854
1855
  api.add_operation(:get_alias, Seahorse::Model::Operation.new.tap do |o|
@@ -1857,10 +1858,10 @@ module Aws::Lambda
1857
1858
  o.http_request_uri = "/2015-03-31/functions/{FunctionName}/aliases/{Name}"
1858
1859
  o.input = Shapes::ShapeRef.new(shape: GetAliasRequest)
1859
1860
  o.output = Shapes::ShapeRef.new(shape: AliasConfiguration)
1860
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1861
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1862
1861
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1862
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1863
1863
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1864
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1864
1865
  end)
1865
1866
 
1866
1867
  api.add_operation(:get_code_signing_config, Seahorse::Model::Operation.new.tap do |o|
@@ -1869,8 +1870,8 @@ module Aws::Lambda
1869
1870
  o.http_request_uri = "/2020-04-22/code-signing-configs/{CodeSigningConfigArn}"
1870
1871
  o.input = Shapes::ShapeRef.new(shape: GetCodeSigningConfigRequest)
1871
1872
  o.output = Shapes::ShapeRef.new(shape: GetCodeSigningConfigResponse)
1872
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1873
1873
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1874
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1874
1875
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1875
1876
  end)
1876
1877
 
@@ -1880,10 +1881,10 @@ module Aws::Lambda
1880
1881
  o.http_request_uri = "/2015-03-31/event-source-mappings/{UUID}"
1881
1882
  o.input = Shapes::ShapeRef.new(shape: GetEventSourceMappingRequest)
1882
1883
  o.output = Shapes::ShapeRef.new(shape: EventSourceMappingConfiguration)
1883
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1884
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1885
1884
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1885
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1886
1886
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1887
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1887
1888
  end)
1888
1889
 
1889
1890
  api.add_operation(:get_function, Seahorse::Model::Operation.new.tap do |o|
@@ -1892,10 +1893,10 @@ module Aws::Lambda
1892
1893
  o.http_request_uri = "/2015-03-31/functions/{FunctionName}"
1893
1894
  o.input = Shapes::ShapeRef.new(shape: GetFunctionRequest)
1894
1895
  o.output = Shapes::ShapeRef.new(shape: GetFunctionResponse)
1896
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1895
1897
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1896
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1897
1898
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1898
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1899
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1899
1900
  end)
1900
1901
 
1901
1902
  api.add_operation(:get_function_code_signing_config, Seahorse::Model::Operation.new.tap do |o|
@@ -1905,9 +1906,9 @@ module Aws::Lambda
1905
1906
  o.input = Shapes::ShapeRef.new(shape: GetFunctionCodeSigningConfigRequest)
1906
1907
  o.output = Shapes::ShapeRef.new(shape: GetFunctionCodeSigningConfigResponse)
1907
1908
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1908
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1909
1909
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1910
1910
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1911
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1911
1912
  end)
1912
1913
 
1913
1914
  api.add_operation(:get_function_concurrency, Seahorse::Model::Operation.new.tap do |o|
@@ -1917,9 +1918,9 @@ module Aws::Lambda
1917
1918
  o.input = Shapes::ShapeRef.new(shape: GetFunctionConcurrencyRequest)
1918
1919
  o.output = Shapes::ShapeRef.new(shape: GetFunctionConcurrencyResponse)
1919
1920
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1920
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1921
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1922
1921
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1922
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1923
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1923
1924
  end)
1924
1925
 
1925
1926
  api.add_operation(:get_function_configuration, Seahorse::Model::Operation.new.tap do |o|
@@ -1928,10 +1929,10 @@ module Aws::Lambda
1928
1929
  o.http_request_uri = "/2015-03-31/functions/{FunctionName}/configuration"
1929
1930
  o.input = Shapes::ShapeRef.new(shape: GetFunctionConfigurationRequest)
1930
1931
  o.output = Shapes::ShapeRef.new(shape: FunctionConfiguration)
1932
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1931
1933
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1932
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1933
1934
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1934
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1935
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1935
1936
  end)
1936
1937
 
1937
1938
  api.add_operation(:get_function_event_invoke_config, Seahorse::Model::Operation.new.tap do |o|
@@ -1940,10 +1941,10 @@ module Aws::Lambda
1940
1941
  o.http_request_uri = "/2019-09-25/functions/{FunctionName}/event-invoke-config"
1941
1942
  o.input = Shapes::ShapeRef.new(shape: GetFunctionEventInvokeConfigRequest)
1942
1943
  o.output = Shapes::ShapeRef.new(shape: FunctionEventInvokeConfig)
1943
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1944
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1945
1944
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1945
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1946
1946
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1947
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1947
1948
  end)
1948
1949
 
1949
1950
  api.add_operation(:get_function_recursion_config, Seahorse::Model::Operation.new.tap do |o|
@@ -1953,9 +1954,9 @@ module Aws::Lambda
1953
1954
  o.input = Shapes::ShapeRef.new(shape: GetFunctionRecursionConfigRequest)
1954
1955
  o.output = Shapes::ShapeRef.new(shape: GetFunctionRecursionConfigResponse)
1955
1956
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1956
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1957
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1958
1957
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1958
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1959
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1959
1960
  end)
1960
1961
 
1961
1962
  api.add_operation(:get_function_url_config, Seahorse::Model::Operation.new.tap do |o|
@@ -1966,8 +1967,8 @@ module Aws::Lambda
1966
1967
  o.output = Shapes::ShapeRef.new(shape: GetFunctionUrlConfigResponse)
1967
1968
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1968
1969
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1969
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1970
1970
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1971
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1971
1972
  end)
1972
1973
 
1973
1974
  api.add_operation(:get_layer_version, Seahorse::Model::Operation.new.tap do |o|
@@ -1976,8 +1977,8 @@ module Aws::Lambda
1976
1977
  o.http_request_uri = "/2018-10-31/layers/{LayerName}/versions/{VersionNumber}"
1977
1978
  o.input = Shapes::ShapeRef.new(shape: GetLayerVersionRequest)
1978
1979
  o.output = Shapes::ShapeRef.new(shape: GetLayerVersionResponse)
1979
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1980
1980
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1981
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1981
1982
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1982
1983
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1983
1984
  end)
@@ -1988,8 +1989,8 @@ module Aws::Lambda
1988
1989
  o.http_request_uri = "/2018-10-31/layers?find=LayerVersion"
1989
1990
  o.input = Shapes::ShapeRef.new(shape: GetLayerVersionByArnRequest)
1990
1991
  o.output = Shapes::ShapeRef.new(shape: GetLayerVersionResponse)
1991
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1992
1992
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1993
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1993
1994
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1994
1995
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1995
1996
  end)
@@ -2000,10 +2001,10 @@ module Aws::Lambda
2000
2001
  o.http_request_uri = "/2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy"
2001
2002
  o.input = Shapes::ShapeRef.new(shape: GetLayerVersionPolicyRequest)
2002
2003
  o.output = Shapes::ShapeRef.new(shape: GetLayerVersionPolicyResponse)
2004
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2003
2005
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2004
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2005
2006
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2006
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2007
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2007
2008
  end)
2008
2009
 
2009
2010
  api.add_operation(:get_policy, Seahorse::Model::Operation.new.tap do |o|
@@ -2012,10 +2013,10 @@ module Aws::Lambda
2012
2013
  o.http_request_uri = "/2015-03-31/functions/{FunctionName}/policy"
2013
2014
  o.input = Shapes::ShapeRef.new(shape: GetPolicyRequest)
2014
2015
  o.output = Shapes::ShapeRef.new(shape: GetPolicyResponse)
2016
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2015
2017
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2016
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2017
2018
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2018
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2019
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2019
2020
  end)
2020
2021
 
2021
2022
  api.add_operation(:get_provisioned_concurrency_config, Seahorse::Model::Operation.new.tap do |o|
@@ -2025,10 +2026,10 @@ module Aws::Lambda
2025
2026
  o.input = Shapes::ShapeRef.new(shape: GetProvisionedConcurrencyConfigRequest)
2026
2027
  o.output = Shapes::ShapeRef.new(shape: GetProvisionedConcurrencyConfigResponse)
2027
2028
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2028
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2029
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2030
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2031
2029
  o.errors << Shapes::ShapeRef.new(shape: ProvisionedConcurrencyConfigNotFoundException)
2030
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2031
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2032
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2032
2033
  end)
2033
2034
 
2034
2035
  api.add_operation(:get_runtime_management_config, Seahorse::Model::Operation.new.tap do |o|
@@ -2037,10 +2038,10 @@ module Aws::Lambda
2037
2038
  o.http_request_uri = "/2021-07-20/functions/{FunctionName}/runtime-management-config"
2038
2039
  o.input = Shapes::ShapeRef.new(shape: GetRuntimeManagementConfigRequest)
2039
2040
  o.output = Shapes::ShapeRef.new(shape: GetRuntimeManagementConfigResponse)
2040
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2041
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2042
2041
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2042
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2043
2043
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2044
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2044
2045
  end)
2045
2046
 
2046
2047
  api.add_operation(:invoke, Seahorse::Model::Operation.new.tap do |o|
@@ -2049,50 +2050,50 @@ module Aws::Lambda
2049
2050
  o.http_request_uri = "/2015-03-31/functions/{FunctionName}/invocations"
2050
2051
  o.input = Shapes::ShapeRef.new(shape: InvocationRequest)
2051
2052
  o.output = Shapes::ShapeRef.new(shape: InvocationResponse)
2052
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2053
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2054
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestContentException)
2053
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotReadyException)
2054
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSecurityGroupIDException)
2055
+ o.errors << Shapes::ShapeRef.new(shape: SnapStartTimeoutException)
2056
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2057
+ o.errors << Shapes::ShapeRef.new(shape: EC2ThrottledException)
2058
+ o.errors << Shapes::ShapeRef.new(shape: EFSMountConnectivityException)
2059
+ o.errors << Shapes::ShapeRef.new(shape: SubnetIPAddressLimitReachedException)
2060
+ o.errors << Shapes::ShapeRef.new(shape: KMSAccessDeniedException)
2055
2061
  o.errors << Shapes::ShapeRef.new(shape: RequestTooLargeException)
2062
+ o.errors << Shapes::ShapeRef.new(shape: KMSDisabledException)
2056
2063
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedMediaTypeException)
2057
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2058
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2064
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRuntimeException)
2059
2065
  o.errors << Shapes::ShapeRef.new(shape: EC2UnexpectedException)
2060
- o.errors << Shapes::ShapeRef.new(shape: SubnetIPAddressLimitReachedException)
2061
- o.errors << Shapes::ShapeRef.new(shape: ENILimitReachedException)
2062
- o.errors << Shapes::ShapeRef.new(shape: EFSMountConnectivityException)
2063
- o.errors << Shapes::ShapeRef.new(shape: EFSMountFailureException)
2064
- o.errors << Shapes::ShapeRef.new(shape: EFSMountTimeoutException)
2065
- o.errors << Shapes::ShapeRef.new(shape: EFSIOException)
2066
- o.errors << Shapes::ShapeRef.new(shape: SnapStartException)
2067
- o.errors << Shapes::ShapeRef.new(shape: SnapStartTimeoutException)
2068
- o.errors << Shapes::ShapeRef.new(shape: SnapStartNotReadyException)
2069
- o.errors << Shapes::ShapeRef.new(shape: EC2ThrottledException)
2070
- o.errors << Shapes::ShapeRef.new(shape: EC2AccessDeniedException)
2071
2066
  o.errors << Shapes::ShapeRef.new(shape: InvalidSubnetIDException)
2072
- o.errors << Shapes::ShapeRef.new(shape: InvalidSecurityGroupIDException)
2073
- o.errors << Shapes::ShapeRef.new(shape: InvalidZipFileException)
2074
- o.errors << Shapes::ShapeRef.new(shape: KMSDisabledException)
2075
- o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
2076
- o.errors << Shapes::ShapeRef.new(shape: KMSAccessDeniedException)
2077
2067
  o.errors << Shapes::ShapeRef.new(shape: KMSNotFoundException)
2078
- o.errors << Shapes::ShapeRef.new(shape: InvalidRuntimeException)
2068
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2069
+ o.errors << Shapes::ShapeRef.new(shape: EC2AccessDeniedException)
2070
+ o.errors << Shapes::ShapeRef.new(shape: EFSIOException)
2071
+ o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
2079
2072
  o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
2080
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotReadyException)
2073
+ o.errors << Shapes::ShapeRef.new(shape: ENILimitReachedException)
2074
+ o.errors << Shapes::ShapeRef.new(shape: SnapStartNotReadyException)
2075
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2076
+ o.errors << Shapes::ShapeRef.new(shape: SnapStartException)
2081
2077
  o.errors << Shapes::ShapeRef.new(shape: RecursiveInvocationException)
2078
+ o.errors << Shapes::ShapeRef.new(shape: EFSMountTimeoutException)
2079
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2080
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestContentException)
2081
+ o.errors << Shapes::ShapeRef.new(shape: InvalidZipFileException)
2082
+ o.errors << Shapes::ShapeRef.new(shape: EFSMountFailureException)
2082
2083
  end)
2083
2084
 
2084
2085
  api.add_operation(:invoke_async, Seahorse::Model::Operation.new.tap do |o|
2085
2086
  o.name = "InvokeAsync"
2086
2087
  o.http_method = "POST"
2087
- o.http_request_uri = "/2014-11-13/functions/{FunctionName}/invoke-async/"
2088
+ o.http_request_uri = "/2014-11-13/functions/{FunctionName}/invoke-async"
2088
2089
  o.deprecated = true
2089
2090
  o.input = Shapes::ShapeRef.new(shape: InvokeAsyncRequest)
2090
2091
  o.output = Shapes::ShapeRef.new(shape: InvokeAsyncResponse)
2092
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRuntimeException)
2093
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
2091
2094
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2092
2095
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2093
2096
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestContentException)
2094
- o.errors << Shapes::ShapeRef.new(shape: InvalidRuntimeException)
2095
- o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
2096
2097
  end)
2097
2098
 
2098
2099
  api.add_operation(:invoke_with_response_stream, Seahorse::Model::Operation.new.tap do |o|
@@ -2101,36 +2102,36 @@ module Aws::Lambda
2101
2102
  o.http_request_uri = "/2021-11-15/functions/{FunctionName}/response-streaming-invocations"
2102
2103
  o.input = Shapes::ShapeRef.new(shape: InvokeWithResponseStreamRequest)
2103
2104
  o.output = Shapes::ShapeRef.new(shape: InvokeWithResponseStreamResponse)
2104
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2105
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2106
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestContentException)
2105
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotReadyException)
2106
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSecurityGroupIDException)
2107
+ o.errors << Shapes::ShapeRef.new(shape: SnapStartTimeoutException)
2108
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2109
+ o.errors << Shapes::ShapeRef.new(shape: EC2ThrottledException)
2110
+ o.errors << Shapes::ShapeRef.new(shape: EFSMountConnectivityException)
2111
+ o.errors << Shapes::ShapeRef.new(shape: SubnetIPAddressLimitReachedException)
2112
+ o.errors << Shapes::ShapeRef.new(shape: KMSAccessDeniedException)
2107
2113
  o.errors << Shapes::ShapeRef.new(shape: RequestTooLargeException)
2114
+ o.errors << Shapes::ShapeRef.new(shape: KMSDisabledException)
2108
2115
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedMediaTypeException)
2109
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2110
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2116
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRuntimeException)
2111
2117
  o.errors << Shapes::ShapeRef.new(shape: EC2UnexpectedException)
2112
- o.errors << Shapes::ShapeRef.new(shape: SubnetIPAddressLimitReachedException)
2113
- o.errors << Shapes::ShapeRef.new(shape: ENILimitReachedException)
2114
- o.errors << Shapes::ShapeRef.new(shape: EFSMountConnectivityException)
2115
- o.errors << Shapes::ShapeRef.new(shape: EFSMountFailureException)
2116
- o.errors << Shapes::ShapeRef.new(shape: EFSMountTimeoutException)
2117
- o.errors << Shapes::ShapeRef.new(shape: EFSIOException)
2118
- o.errors << Shapes::ShapeRef.new(shape: SnapStartException)
2119
- o.errors << Shapes::ShapeRef.new(shape: SnapStartTimeoutException)
2120
- o.errors << Shapes::ShapeRef.new(shape: SnapStartNotReadyException)
2121
- o.errors << Shapes::ShapeRef.new(shape: EC2ThrottledException)
2122
- o.errors << Shapes::ShapeRef.new(shape: EC2AccessDeniedException)
2123
2118
  o.errors << Shapes::ShapeRef.new(shape: InvalidSubnetIDException)
2124
- o.errors << Shapes::ShapeRef.new(shape: InvalidSecurityGroupIDException)
2125
- o.errors << Shapes::ShapeRef.new(shape: InvalidZipFileException)
2126
- o.errors << Shapes::ShapeRef.new(shape: KMSDisabledException)
2127
- o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
2128
- o.errors << Shapes::ShapeRef.new(shape: KMSAccessDeniedException)
2129
2119
  o.errors << Shapes::ShapeRef.new(shape: KMSNotFoundException)
2130
- o.errors << Shapes::ShapeRef.new(shape: InvalidRuntimeException)
2120
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2121
+ o.errors << Shapes::ShapeRef.new(shape: EC2AccessDeniedException)
2122
+ o.errors << Shapes::ShapeRef.new(shape: EFSIOException)
2123
+ o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
2131
2124
  o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
2132
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotReadyException)
2125
+ o.errors << Shapes::ShapeRef.new(shape: ENILimitReachedException)
2126
+ o.errors << Shapes::ShapeRef.new(shape: SnapStartNotReadyException)
2127
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2128
+ o.errors << Shapes::ShapeRef.new(shape: SnapStartException)
2133
2129
  o.errors << Shapes::ShapeRef.new(shape: RecursiveInvocationException)
2130
+ o.errors << Shapes::ShapeRef.new(shape: EFSMountTimeoutException)
2131
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2132
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestContentException)
2133
+ o.errors << Shapes::ShapeRef.new(shape: InvalidZipFileException)
2134
+ o.errors << Shapes::ShapeRef.new(shape: EFSMountFailureException)
2134
2135
  end)
2135
2136
 
2136
2137
  api.add_operation(:list_aliases, Seahorse::Model::Operation.new.tap do |o|
@@ -2139,10 +2140,10 @@ module Aws::Lambda
2139
2140
  o.http_request_uri = "/2015-03-31/functions/{FunctionName}/aliases"
2140
2141
  o.input = Shapes::ShapeRef.new(shape: ListAliasesRequest)
2141
2142
  o.output = Shapes::ShapeRef.new(shape: ListAliasesResponse)
2142
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2143
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2144
2143
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2144
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2145
2145
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2146
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2146
2147
  o[:pager] = Aws::Pager.new(
2147
2148
  limit_key: "max_items",
2148
2149
  tokens: {
@@ -2154,11 +2155,11 @@ module Aws::Lambda
2154
2155
  api.add_operation(:list_code_signing_configs, Seahorse::Model::Operation.new.tap do |o|
2155
2156
  o.name = "ListCodeSigningConfigs"
2156
2157
  o.http_method = "GET"
2157
- o.http_request_uri = "/2020-04-22/code-signing-configs/"
2158
+ o.http_request_uri = "/2020-04-22/code-signing-configs"
2158
2159
  o.input = Shapes::ShapeRef.new(shape: ListCodeSigningConfigsRequest)
2159
2160
  o.output = Shapes::ShapeRef.new(shape: ListCodeSigningConfigsResponse)
2160
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2161
2161
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2162
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2162
2163
  o[:pager] = Aws::Pager.new(
2163
2164
  limit_key: "max_items",
2164
2165
  tokens: {
@@ -2170,13 +2171,13 @@ module Aws::Lambda
2170
2171
  api.add_operation(:list_event_source_mappings, Seahorse::Model::Operation.new.tap do |o|
2171
2172
  o.name = "ListEventSourceMappings"
2172
2173
  o.http_method = "GET"
2173
- o.http_request_uri = "/2015-03-31/event-source-mappings/"
2174
+ o.http_request_uri = "/2015-03-31/event-source-mappings"
2174
2175
  o.input = Shapes::ShapeRef.new(shape: ListEventSourceMappingsRequest)
2175
2176
  o.output = Shapes::ShapeRef.new(shape: ListEventSourceMappingsResponse)
2176
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2177
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2178
2177
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2178
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2179
2179
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2180
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2180
2181
  o[:pager] = Aws::Pager.new(
2181
2182
  limit_key: "max_items",
2182
2183
  tokens: {
@@ -2192,9 +2193,9 @@ module Aws::Lambda
2192
2193
  o.input = Shapes::ShapeRef.new(shape: ListFunctionEventInvokeConfigsRequest)
2193
2194
  o.output = Shapes::ShapeRef.new(shape: ListFunctionEventInvokeConfigsResponse)
2194
2195
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2195
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2196
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2197
2196
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2197
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2198
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2198
2199
  o[:pager] = Aws::Pager.new(
2199
2200
  limit_key: "max_items",
2200
2201
  tokens: {
@@ -2211,8 +2212,8 @@ module Aws::Lambda
2211
2212
  o.output = Shapes::ShapeRef.new(shape: ListFunctionUrlConfigsResponse)
2212
2213
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2213
2214
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2214
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2215
2215
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2216
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2216
2217
  o[:pager] = Aws::Pager.new(
2217
2218
  limit_key: "max_items",
2218
2219
  tokens: {
@@ -2224,12 +2225,12 @@ module Aws::Lambda
2224
2225
  api.add_operation(:list_functions, Seahorse::Model::Operation.new.tap do |o|
2225
2226
  o.name = "ListFunctions"
2226
2227
  o.http_method = "GET"
2227
- o.http_request_uri = "/2015-03-31/functions/"
2228
+ o.http_request_uri = "/2015-03-31/functions"
2228
2229
  o.input = Shapes::ShapeRef.new(shape: ListFunctionsRequest)
2229
2230
  o.output = Shapes::ShapeRef.new(shape: ListFunctionsResponse)
2231
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2230
2232
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2231
2233
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2232
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2233
2234
  o[:pager] = Aws::Pager.new(
2234
2235
  limit_key: "max_items",
2235
2236
  tokens: {
@@ -2244,8 +2245,8 @@ module Aws::Lambda
2244
2245
  o.http_request_uri = "/2020-04-22/code-signing-configs/{CodeSigningConfigArn}/functions"
2245
2246
  o.input = Shapes::ShapeRef.new(shape: ListFunctionsByCodeSigningConfigRequest)
2246
2247
  o.output = Shapes::ShapeRef.new(shape: ListFunctionsByCodeSigningConfigResponse)
2247
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2248
2248
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2249
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2249
2250
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2250
2251
  o[:pager] = Aws::Pager.new(
2251
2252
  limit_key: "max_items",
@@ -2261,10 +2262,10 @@ module Aws::Lambda
2261
2262
  o.http_request_uri = "/2018-10-31/layers/{LayerName}/versions"
2262
2263
  o.input = Shapes::ShapeRef.new(shape: ListLayerVersionsRequest)
2263
2264
  o.output = Shapes::ShapeRef.new(shape: ListLayerVersionsResponse)
2264
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2265
2265
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2266
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2266
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2267
2267
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2268
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2268
2269
  o[:pager] = Aws::Pager.new(
2269
2270
  limit_key: "max_items",
2270
2271
  tokens: {
@@ -2279,8 +2280,8 @@ module Aws::Lambda
2279
2280
  o.http_request_uri = "/2018-10-31/layers"
2280
2281
  o.input = Shapes::ShapeRef.new(shape: ListLayersRequest)
2281
2282
  o.output = Shapes::ShapeRef.new(shape: ListLayersResponse)
2282
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2283
2283
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2284
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2284
2285
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2285
2286
  o[:pager] = Aws::Pager.new(
2286
2287
  limit_key: "max_items",
@@ -2297,9 +2298,9 @@ module Aws::Lambda
2297
2298
  o.input = Shapes::ShapeRef.new(shape: ListProvisionedConcurrencyConfigsRequest)
2298
2299
  o.output = Shapes::ShapeRef.new(shape: ListProvisionedConcurrencyConfigsResponse)
2299
2300
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2300
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2301
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2302
2301
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2302
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2303
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2303
2304
  o[:pager] = Aws::Pager.new(
2304
2305
  limit_key: "max_items",
2305
2306
  tokens: {
@@ -2311,13 +2312,13 @@ module Aws::Lambda
2311
2312
  api.add_operation(:list_tags, Seahorse::Model::Operation.new.tap do |o|
2312
2313
  o.name = "ListTags"
2313
2314
  o.http_method = "GET"
2314
- o.http_request_uri = "/2017-03-31/tags/{ARN}"
2315
+ o.http_request_uri = "/2017-03-31/tags/{Resource}"
2315
2316
  o.input = Shapes::ShapeRef.new(shape: ListTagsRequest)
2316
2317
  o.output = Shapes::ShapeRef.new(shape: ListTagsResponse)
2317
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2318
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2319
2318
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2319
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2320
2320
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2321
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2321
2322
  end)
2322
2323
 
2323
2324
  api.add_operation(:list_versions_by_function, Seahorse::Model::Operation.new.tap do |o|
@@ -2326,10 +2327,10 @@ module Aws::Lambda
2326
2327
  o.http_request_uri = "/2015-03-31/functions/{FunctionName}/versions"
2327
2328
  o.input = Shapes::ShapeRef.new(shape: ListVersionsByFunctionRequest)
2328
2329
  o.output = Shapes::ShapeRef.new(shape: ListVersionsByFunctionResponse)
2329
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2330
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2331
2330
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2331
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2332
2332
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2333
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2333
2334
  o[:pager] = Aws::Pager.new(
2334
2335
  limit_key: "max_items",
2335
2336
  tokens: {
@@ -2344,10 +2345,10 @@ module Aws::Lambda
2344
2345
  o.http_request_uri = "/2018-10-31/layers/{LayerName}/versions"
2345
2346
  o.input = Shapes::ShapeRef.new(shape: PublishLayerVersionRequest)
2346
2347
  o.output = Shapes::ShapeRef.new(shape: PublishLayerVersionResponse)
2348
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2347
2349
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2348
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2349
2350
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2350
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2351
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2351
2352
  o.errors << Shapes::ShapeRef.new(shape: CodeStorageExceededException)
2352
2353
  end)
2353
2354
 
@@ -2357,13 +2358,13 @@ module Aws::Lambda
2357
2358
  o.http_request_uri = "/2015-03-31/functions/{FunctionName}/versions"
2358
2359
  o.input = Shapes::ShapeRef.new(shape: PublishVersionRequest)
2359
2360
  o.output = Shapes::ShapeRef.new(shape: FunctionConfiguration)
2360
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2361
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2362
2361
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2362
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
2363
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2363
2364
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2365
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2364
2366
  o.errors << Shapes::ShapeRef.new(shape: CodeStorageExceededException)
2365
2367
  o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
2366
- o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
2367
2368
  end)
2368
2369
 
2369
2370
  api.add_operation(:put_function_code_signing_config, Seahorse::Model::Operation.new.tap do |o|
@@ -2372,11 +2373,11 @@ module Aws::Lambda
2372
2373
  o.http_request_uri = "/2020-06-30/functions/{FunctionName}/code-signing-config"
2373
2374
  o.input = Shapes::ShapeRef.new(shape: PutFunctionCodeSigningConfigRequest)
2374
2375
  o.output = Shapes::ShapeRef.new(shape: PutFunctionCodeSigningConfigResponse)
2375
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2376
2376
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2377
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2378
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2379
2377
  o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
2378
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2379
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2380
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2380
2381
  o.errors << Shapes::ShapeRef.new(shape: CodeSigningConfigNotFoundException)
2381
2382
  end)
2382
2383
 
@@ -2386,11 +2387,11 @@ module Aws::Lambda
2386
2387
  o.http_request_uri = "/2017-10-31/functions/{FunctionName}/concurrency"
2387
2388
  o.input = Shapes::ShapeRef.new(shape: PutFunctionConcurrencyRequest)
2388
2389
  o.output = Shapes::ShapeRef.new(shape: Concurrency)
2389
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2390
2390
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2391
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2392
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2393
2391
  o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
2392
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2393
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2394
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2394
2395
  end)
2395
2396
 
2396
2397
  api.add_operation(:put_function_event_invoke_config, Seahorse::Model::Operation.new.tap do |o|
@@ -2399,11 +2400,11 @@ module Aws::Lambda
2399
2400
  o.http_request_uri = "/2019-09-25/functions/{FunctionName}/event-invoke-config"
2400
2401
  o.input = Shapes::ShapeRef.new(shape: PutFunctionEventInvokeConfigRequest)
2401
2402
  o.output = Shapes::ShapeRef.new(shape: FunctionEventInvokeConfig)
2402
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2403
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2404
2403
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2405
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2406
2404
  o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
2405
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2406
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2407
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2407
2408
  end)
2408
2409
 
2409
2410
  api.add_operation(:put_function_recursion_config, Seahorse::Model::Operation.new.tap do |o|
@@ -2414,9 +2415,9 @@ module Aws::Lambda
2414
2415
  o.output = Shapes::ShapeRef.new(shape: PutFunctionRecursionConfigResponse)
2415
2416
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2416
2417
  o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
2417
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2418
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2419
2418
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2419
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2420
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2420
2421
  end)
2421
2422
 
2422
2423
  api.add_operation(:put_provisioned_concurrency_config, Seahorse::Model::Operation.new.tap do |o|
@@ -2426,10 +2427,10 @@ module Aws::Lambda
2426
2427
  o.input = Shapes::ShapeRef.new(shape: PutProvisionedConcurrencyConfigRequest)
2427
2428
  o.output = Shapes::ShapeRef.new(shape: PutProvisionedConcurrencyConfigResponse)
2428
2429
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2429
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2430
2430
  o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
2431
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2432
2431
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2432
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2433
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2433
2434
  end)
2434
2435
 
2435
2436
  api.add_operation(:put_runtime_management_config, Seahorse::Model::Operation.new.tap do |o|
@@ -2438,11 +2439,11 @@ module Aws::Lambda
2438
2439
  o.http_request_uri = "/2021-07-20/functions/{FunctionName}/runtime-management-config"
2439
2440
  o.input = Shapes::ShapeRef.new(shape: PutRuntimeManagementConfigRequest)
2440
2441
  o.output = Shapes::ShapeRef.new(shape: PutRuntimeManagementConfigResponse)
2441
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2442
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2443
- o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
2444
2442
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2443
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
2444
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2445
2445
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2446
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2446
2447
  end)
2447
2448
 
2448
2449
  api.add_operation(:remove_layer_version_permission, Seahorse::Model::Operation.new.tap do |o|
@@ -2451,10 +2452,10 @@ module Aws::Lambda
2451
2452
  o.http_request_uri = "/2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy/{StatementId}"
2452
2453
  o.input = Shapes::ShapeRef.new(shape: RemoveLayerVersionPermissionRequest)
2453
2454
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2454
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2455
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2456
2455
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2456
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2457
2457
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2458
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2458
2459
  o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
2459
2460
  end)
2460
2461
 
@@ -2464,37 +2465,37 @@ module Aws::Lambda
2464
2465
  o.http_request_uri = "/2015-03-31/functions/{FunctionName}/policy/{StatementId}"
2465
2466
  o.input = Shapes::ShapeRef.new(shape: RemovePermissionRequest)
2466
2467
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2467
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2468
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2469
2468
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2469
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2470
2470
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2471
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2471
2472
  o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
2472
2473
  end)
2473
2474
 
2474
2475
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
2475
2476
  o.name = "TagResource"
2476
2477
  o.http_method = "POST"
2477
- o.http_request_uri = "/2017-03-31/tags/{ARN}"
2478
+ o.http_request_uri = "/2017-03-31/tags/{Resource}"
2478
2479
  o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
2479
2480
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2480
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2481
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2482
2481
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2483
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2484
2482
  o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
2483
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2484
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2485
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2485
2486
  end)
2486
2487
 
2487
2488
  api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
2488
2489
  o.name = "UntagResource"
2489
2490
  o.http_method = "DELETE"
2490
- o.http_request_uri = "/2017-03-31/tags/{ARN}"
2491
+ o.http_request_uri = "/2017-03-31/tags/{Resource}"
2491
2492
  o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
2492
2493
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2493
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2494
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2495
2494
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2496
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2497
2495
  o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
2496
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2497
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2498
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2498
2499
  end)
2499
2500
 
2500
2501
  api.add_operation(:update_alias, Seahorse::Model::Operation.new.tap do |o|
@@ -2503,12 +2504,12 @@ module Aws::Lambda
2503
2504
  o.http_request_uri = "/2015-03-31/functions/{FunctionName}/aliases/{Name}"
2504
2505
  o.input = Shapes::ShapeRef.new(shape: UpdateAliasRequest)
2505
2506
  o.output = Shapes::ShapeRef.new(shape: AliasConfiguration)
2506
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2507
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2508
2507
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2508
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
2509
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2509
2510
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2511
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2510
2512
  o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
2511
- o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
2512
2513
  end)
2513
2514
 
2514
2515
  api.add_operation(:update_code_signing_config, Seahorse::Model::Operation.new.tap do |o|
@@ -2517,8 +2518,8 @@ module Aws::Lambda
2517
2518
  o.http_request_uri = "/2020-04-22/code-signing-configs/{CodeSigningConfigArn}"
2518
2519
  o.input = Shapes::ShapeRef.new(shape: UpdateCodeSigningConfigRequest)
2519
2520
  o.output = Shapes::ShapeRef.new(shape: UpdateCodeSigningConfigResponse)
2520
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2521
2521
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2522
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2522
2523
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2523
2524
  end)
2524
2525
 
@@ -2528,12 +2529,12 @@ module Aws::Lambda
2528
2529
  o.http_request_uri = "/2015-03-31/event-source-mappings/{UUID}"
2529
2530
  o.input = Shapes::ShapeRef.new(shape: UpdateEventSourceMappingRequest)
2530
2531
  o.output = Shapes::ShapeRef.new(shape: EventSourceMappingConfiguration)
2531
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2532
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2533
2532
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2534
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2535
- o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
2536
2533
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
2534
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
2535
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2536
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2537
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2537
2538
  end)
2538
2539
 
2539
2540
  api.add_operation(:update_function_code, Seahorse::Model::Operation.new.tap do |o|
@@ -2542,16 +2543,16 @@ module Aws::Lambda
2542
2543
  o.http_request_uri = "/2015-03-31/functions/{FunctionName}/code"
2543
2544
  o.input = Shapes::ShapeRef.new(shape: UpdateFunctionCodeRequest)
2544
2545
  o.output = Shapes::ShapeRef.new(shape: FunctionConfiguration)
2545
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2546
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2547
2546
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2548
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2549
- o.errors << Shapes::ShapeRef.new(shape: CodeStorageExceededException)
2550
- o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
2551
2547
  o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
2552
- o.errors << Shapes::ShapeRef.new(shape: CodeVerificationFailedException)
2548
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2549
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2553
2550
  o.errors << Shapes::ShapeRef.new(shape: InvalidCodeSignatureException)
2551
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2552
+ o.errors << Shapes::ShapeRef.new(shape: CodeVerificationFailedException)
2554
2553
  o.errors << Shapes::ShapeRef.new(shape: CodeSigningConfigNotFoundException)
2554
+ o.errors << Shapes::ShapeRef.new(shape: CodeStorageExceededException)
2555
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
2555
2556
  end)
2556
2557
 
2557
2558
  api.add_operation(:update_function_configuration, Seahorse::Model::Operation.new.tap do |o|
@@ -2560,15 +2561,15 @@ module Aws::Lambda
2560
2561
  o.http_request_uri = "/2015-03-31/functions/{FunctionName}/configuration"
2561
2562
  o.input = Shapes::ShapeRef.new(shape: UpdateFunctionConfigurationRequest)
2562
2563
  o.output = Shapes::ShapeRef.new(shape: FunctionConfiguration)
2563
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2564
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2565
2564
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2566
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2567
2565
  o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
2568
- o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
2569
- o.errors << Shapes::ShapeRef.new(shape: CodeVerificationFailedException)
2566
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2567
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2570
2568
  o.errors << Shapes::ShapeRef.new(shape: InvalidCodeSignatureException)
2569
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2570
+ o.errors << Shapes::ShapeRef.new(shape: CodeVerificationFailedException)
2571
2571
  o.errors << Shapes::ShapeRef.new(shape: CodeSigningConfigNotFoundException)
2572
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
2572
2573
  end)
2573
2574
 
2574
2575
  api.add_operation(:update_function_event_invoke_config, Seahorse::Model::Operation.new.tap do |o|
@@ -2577,11 +2578,11 @@ module Aws::Lambda
2577
2578
  o.http_request_uri = "/2019-09-25/functions/{FunctionName}/event-invoke-config"
2578
2579
  o.input = Shapes::ShapeRef.new(shape: UpdateFunctionEventInvokeConfigRequest)
2579
2580
  o.output = Shapes::ShapeRef.new(shape: FunctionEventInvokeConfig)
2580
- o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2581
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2582
2581
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2583
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2584
2582
  o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
2583
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2584
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2585
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2585
2586
  end)
2586
2587
 
2587
2588
  api.add_operation(:update_function_url_config, Seahorse::Model::Operation.new.tap do |o|
@@ -2590,11 +2591,11 @@ module Aws::Lambda
2590
2591
  o.http_request_uri = "/2021-10-31/functions/{FunctionName}/url"
2591
2592
  o.input = Shapes::ShapeRef.new(shape: UpdateFunctionUrlConfigRequest)
2592
2593
  o.output = Shapes::ShapeRef.new(shape: UpdateFunctionUrlConfigResponse)
2593
- o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
2594
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2595
2594
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2595
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
2596
2596
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2597
2597
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2598
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2598
2599
  end)
2599
2600
  end
2600
2601
 
@@ -96,21 +96,21 @@ module Aws::Lambda
96
96
  operation_name: :get_function_configuration,
97
97
  acceptors: [
98
98
  {
99
- "state" => "success",
100
99
  "matcher" => "path",
101
100
  "argument" => "state",
101
+ "state" => "success",
102
102
  "expected" => "Active"
103
103
  },
104
104
  {
105
- "state" => "failure",
106
105
  "matcher" => "path",
107
106
  "argument" => "state",
107
+ "state" => "failure",
108
108
  "expected" => "Failed"
109
109
  },
110
110
  {
111
- "state" => "retry",
112
111
  "matcher" => "path",
113
112
  "argument" => "state",
113
+ "state" => "retry",
114
114
  "expected" => "Pending"
115
115
  }
116
116
  ]
@@ -147,21 +147,21 @@ module Aws::Lambda
147
147
  operation_name: :get_function,
148
148
  acceptors: [
149
149
  {
150
- "state" => "success",
151
150
  "matcher" => "path",
152
151
  "argument" => "configuration.state",
152
+ "state" => "success",
153
153
  "expected" => "Active"
154
154
  },
155
155
  {
156
- "state" => "failure",
157
156
  "matcher" => "path",
158
157
  "argument" => "configuration.state",
158
+ "state" => "failure",
159
159
  "expected" => "Failed"
160
160
  },
161
161
  {
162
- "state" => "retry",
163
162
  "matcher" => "path",
164
163
  "argument" => "configuration.state",
164
+ "state" => "retry",
165
165
  "expected" => "Pending"
166
166
  }
167
167
  ]
@@ -197,13 +197,13 @@ module Aws::Lambda
197
197
  operation_name: :get_function,
198
198
  acceptors: [
199
199
  {
200
+ "matcher" => "error",
200
201
  "state" => "success",
201
- "matcher" => "status",
202
- "expected" => 200
202
+ "expected" => false
203
203
  },
204
204
  {
205
- "state" => "retry",
206
205
  "matcher" => "error",
206
+ "state" => "retry",
207
207
  "expected" => "ResourceNotFoundException"
208
208
  }
209
209
  ]
@@ -240,21 +240,21 @@ module Aws::Lambda
240
240
  operation_name: :get_function_configuration,
241
241
  acceptors: [
242
242
  {
243
- "state" => "success",
244
243
  "matcher" => "path",
245
244
  "argument" => "last_update_status",
245
+ "state" => "success",
246
246
  "expected" => "Successful"
247
247
  },
248
248
  {
249
- "state" => "failure",
250
249
  "matcher" => "path",
251
250
  "argument" => "last_update_status",
251
+ "state" => "failure",
252
252
  "expected" => "Failed"
253
253
  },
254
254
  {
255
- "state" => "retry",
256
255
  "matcher" => "path",
257
256
  "argument" => "last_update_status",
257
+ "state" => "retry",
258
258
  "expected" => "InProgress"
259
259
  }
260
260
  ]
@@ -291,21 +291,21 @@ module Aws::Lambda
291
291
  operation_name: :get_function,
292
292
  acceptors: [
293
293
  {
294
- "state" => "success",
295
294
  "matcher" => "path",
296
295
  "argument" => "configuration.last_update_status",
296
+ "state" => "success",
297
297
  "expected" => "Successful"
298
298
  },
299
299
  {
300
- "state" => "failure",
301
300
  "matcher" => "path",
302
301
  "argument" => "configuration.last_update_status",
302
+ "state" => "failure",
303
303
  "expected" => "Failed"
304
304
  },
305
305
  {
306
- "state" => "retry",
307
306
  "matcher" => "path",
308
307
  "argument" => "configuration.last_update_status",
308
+ "state" => "retry",
309
309
  "expected" => "InProgress"
310
310
  }
311
311
  ]
@@ -342,21 +342,21 @@ module Aws::Lambda
342
342
  operation_name: :get_function_configuration,
343
343
  acceptors: [
344
344
  {
345
- "state" => "success",
346
345
  "matcher" => "path",
347
346
  "argument" => "state",
347
+ "state" => "success",
348
348
  "expected" => "Active"
349
349
  },
350
350
  {
351
- "state" => "failure",
352
351
  "matcher" => "path",
353
352
  "argument" => "state",
353
+ "state" => "failure",
354
354
  "expected" => "Failed"
355
355
  },
356
356
  {
357
- "state" => "retry",
358
357
  "matcher" => "path",
359
358
  "argument" => "state",
359
+ "state" => "retry",
360
360
  "expected" => "Pending"
361
361
  }
362
362
  ]
@@ -56,7 +56,7 @@ module Aws::Lambda
56
56
  autoload :Endpoints, 'aws-sdk-lambda/endpoints'
57
57
  autoload :EventStreams, 'aws-sdk-lambda/event_streams'
58
58
 
59
- GEM_VERSION = '1.154.0'
59
+ GEM_VERSION = '1.155.0'
60
60
 
61
61
  end
62
62
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-lambda
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.154.0
4
+ version: 1.155.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services