aws-sdk-apigateway 1.64.0 → 1.68.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -423,6 +423,7 @@ module Aws::APIGateway
423
423
  CreateDomainNameRequest.add_member(:tags, Shapes::ShapeRef.new(shape: MapOfStringToString, location_name: "tags"))
424
424
  CreateDomainNameRequest.add_member(:security_policy, Shapes::ShapeRef.new(shape: SecurityPolicy, location_name: "securityPolicy"))
425
425
  CreateDomainNameRequest.add_member(:mutual_tls_authentication, Shapes::ShapeRef.new(shape: MutualTlsAuthenticationInput, location_name: "mutualTlsAuthentication"))
426
+ CreateDomainNameRequest.add_member(:ownership_verification_certificate_arn, Shapes::ShapeRef.new(shape: String, location_name: "ownershipVerificationCertificateArn"))
426
427
  CreateDomainNameRequest.struct_class = Types::CreateDomainNameRequest
427
428
 
428
429
  CreateModelRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
@@ -632,6 +633,7 @@ module Aws::APIGateway
632
633
  DomainName.add_member(:security_policy, Shapes::ShapeRef.new(shape: SecurityPolicy, location_name: "securityPolicy"))
633
634
  DomainName.add_member(:tags, Shapes::ShapeRef.new(shape: MapOfStringToString, location_name: "tags"))
634
635
  DomainName.add_member(:mutual_tls_authentication, Shapes::ShapeRef.new(shape: MutualTlsAuthentication, location_name: "mutualTlsAuthentication"))
636
+ DomainName.add_member(:ownership_verification_certificate_arn, Shapes::ShapeRef.new(shape: String, location_name: "ownershipVerificationCertificateArn"))
635
637
  DomainName.struct_class = Types::DomainName
636
638
 
637
639
  DomainNames.add_member(:position, Shapes::ShapeRef.new(shape: String, location_name: "position"))
@@ -1492,12 +1494,12 @@ module Aws::APIGateway
1492
1494
  o.http_request_uri = "/apikeys"
1493
1495
  o.input = Shapes::ShapeRef.new(shape: CreateApiKeyRequest)
1494
1496
  o.output = Shapes::ShapeRef.new(shape: ApiKey)
1495
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1496
- o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1497
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1498
- o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1499
1497
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1500
1498
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1499
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1500
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1501
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1502
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1501
1503
  end)
1502
1504
 
1503
1505
  api.add_operation(:create_authorizer, Seahorse::Model::Operation.new.tap do |o|
@@ -1507,9 +1509,10 @@ module Aws::APIGateway
1507
1509
  o.input = Shapes::ShapeRef.new(shape: CreateAuthorizerRequest)
1508
1510
  o.output = Shapes::ShapeRef.new(shape: Authorizer)
1509
1511
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1510
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1511
- o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1512
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1512
1513
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1514
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1515
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1513
1516
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1514
1517
  end)
1515
1518
 
@@ -1519,10 +1522,11 @@ module Aws::APIGateway
1519
1522
  o.http_request_uri = "/domainnames/{domain_name}/basepathmappings"
1520
1523
  o.input = Shapes::ShapeRef.new(shape: CreateBasePathMappingRequest)
1521
1524
  o.output = Shapes::ShapeRef.new(shape: BasePathMapping)
1522
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1523
- o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1524
1525
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1526
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1527
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1525
1528
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1529
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1526
1530
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1527
1531
  end)
1528
1532
 
@@ -1532,11 +1536,11 @@ module Aws::APIGateway
1532
1536
  o.http_request_uri = "/restapis/{restapi_id}/deployments"
1533
1537
  o.input = Shapes::ShapeRef.new(shape: CreateDeploymentRequest)
1534
1538
  o.output = Shapes::ShapeRef.new(shape: Deployment)
1535
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1536
1539
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1537
- o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1538
1540
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1539
1541
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1542
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1543
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1540
1544
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1541
1545
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1542
1546
  end)
@@ -1549,9 +1553,9 @@ module Aws::APIGateway
1549
1553
  o.output = Shapes::ShapeRef.new(shape: DocumentationPart)
1550
1554
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1551
1555
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1552
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1553
- o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1554
1556
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1557
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1558
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1555
1559
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1556
1560
  end)
1557
1561
 
@@ -1563,9 +1567,9 @@ module Aws::APIGateway
1563
1567
  o.output = Shapes::ShapeRef.new(shape: DocumentationVersion)
1564
1568
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1565
1569
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1566
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1567
- o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1568
1570
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1571
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1572
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1569
1573
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1570
1574
  end)
1571
1575
 
@@ -1575,9 +1579,10 @@ module Aws::APIGateway
1575
1579
  o.http_request_uri = "/domainnames"
1576
1580
  o.input = Shapes::ShapeRef.new(shape: CreateDomainNameRequest)
1577
1581
  o.output = Shapes::ShapeRef.new(shape: DomainName)
1578
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1579
1582
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1580
1583
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1584
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1585
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1581
1586
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1582
1587
  end)
1583
1588
 
@@ -1588,10 +1593,10 @@ module Aws::APIGateway
1588
1593
  o.input = Shapes::ShapeRef.new(shape: CreateModelRequest)
1589
1594
  o.output = Shapes::ShapeRef.new(shape: Model)
1590
1595
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1591
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1592
- o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1593
1596
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1594
1597
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1598
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1599
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1595
1600
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1596
1601
  end)
1597
1602
 
@@ -1602,9 +1607,10 @@ module Aws::APIGateway
1602
1607
  o.input = Shapes::ShapeRef.new(shape: CreateRequestValidatorRequest)
1603
1608
  o.output = Shapes::ShapeRef.new(shape: RequestValidator)
1604
1609
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1605
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1606
- o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1610
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1607
1611
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1612
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1613
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1608
1614
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1609
1615
  end)
1610
1616
 
@@ -1628,9 +1634,10 @@ module Aws::APIGateway
1628
1634
  o.http_request_uri = "/restapis"
1629
1635
  o.input = Shapes::ShapeRef.new(shape: CreateRestApiRequest)
1630
1636
  o.output = Shapes::ShapeRef.new(shape: RestApi)
1631
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1632
- o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1633
1637
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1638
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1639
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1640
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1634
1641
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1635
1642
  end)
1636
1643
 
@@ -1655,11 +1662,11 @@ module Aws::APIGateway
1655
1662
  o.input = Shapes::ShapeRef.new(shape: CreateUsagePlanRequest)
1656
1663
  o.output = Shapes::ShapeRef.new(shape: UsagePlan)
1657
1664
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1658
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1659
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1660
- o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1661
1665
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1666
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1662
1667
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1668
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1669
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1663
1670
  end)
1664
1671
 
1665
1672
  api.add_operation(:create_usage_plan_key, Seahorse::Model::Operation.new.tap do |o|
@@ -1670,8 +1677,9 @@ module Aws::APIGateway
1670
1677
  o.output = Shapes::ShapeRef.new(shape: UsagePlanKey)
1671
1678
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1672
1679
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1673
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1680
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1674
1681
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1682
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1675
1683
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1676
1684
  end)
1677
1685
 
@@ -1681,8 +1689,10 @@ module Aws::APIGateway
1681
1689
  o.http_request_uri = "/vpclinks"
1682
1690
  o.input = Shapes::ShapeRef.new(shape: CreateVpcLinkRequest)
1683
1691
  o.output = Shapes::ShapeRef.new(shape: VpcLink)
1684
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1685
1692
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1693
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1694
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1695
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1686
1696
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1687
1697
  end)
1688
1698
 
@@ -1692,8 +1702,10 @@ module Aws::APIGateway
1692
1702
  o.http_request_uri = "/apikeys/{api_Key}"
1693
1703
  o.input = Shapes::ShapeRef.new(shape: DeleteApiKeyRequest)
1694
1704
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1695
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1705
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1706
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1696
1707
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1708
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1697
1709
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1698
1710
  end)
1699
1711
 
@@ -1703,11 +1715,11 @@ module Aws::APIGateway
1703
1715
  o.http_request_uri = "/restapis/{restapi_id}/authorizers/{authorizer_id}"
1704
1716
  o.input = Shapes::ShapeRef.new(shape: DeleteAuthorizerRequest)
1705
1717
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1706
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1707
- o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1708
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1709
1718
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1710
1719
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1720
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1721
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1722
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1711
1723
  end)
1712
1724
 
1713
1725
  api.add_operation(:delete_base_path_mapping, Seahorse::Model::Operation.new.tap do |o|
@@ -1716,10 +1728,10 @@ module Aws::APIGateway
1716
1728
  o.http_request_uri = "/domainnames/{domain_name}/basepathmappings/{base_path}"
1717
1729
  o.input = Shapes::ShapeRef.new(shape: DeleteBasePathMappingRequest)
1718
1730
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1719
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1720
- o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1721
- o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1722
1731
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1732
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1733
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1734
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1723
1735
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1724
1736
  end)
1725
1737
 
@@ -1729,10 +1741,11 @@ module Aws::APIGateway
1729
1741
  o.http_request_uri = "/clientcertificates/{clientcertificate_id}"
1730
1742
  o.input = Shapes::ShapeRef.new(shape: DeleteClientCertificateRequest)
1731
1743
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1732
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1733
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1734
1744
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1745
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1735
1746
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1747
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1748
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1736
1749
  end)
1737
1750
 
1738
1751
  api.add_operation(:delete_deployment, Seahorse::Model::Operation.new.tap do |o|
@@ -1741,9 +1754,11 @@ module Aws::APIGateway
1741
1754
  o.http_request_uri = "/restapis/{restapi_id}/deployments/{deployment_id}"
1742
1755
  o.input = Shapes::ShapeRef.new(shape: DeleteDeploymentRequest)
1743
1756
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1744
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1745
- o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1746
1757
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1758
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1759
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1760
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1761
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1747
1762
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1748
1763
  end)
1749
1764
 
@@ -1753,11 +1768,11 @@ module Aws::APIGateway
1753
1768
  o.http_request_uri = "/restapis/{restapi_id}/documentation/parts/{part_id}"
1754
1769
  o.input = Shapes::ShapeRef.new(shape: DeleteDocumentationPartRequest)
1755
1770
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1756
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1771
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1772
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1757
1773
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1774
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1758
1775
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1759
- o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1760
- o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1761
1776
  end)
1762
1777
 
1763
1778
  api.add_operation(:delete_documentation_version, Seahorse::Model::Operation.new.tap do |o|
@@ -1766,10 +1781,10 @@ module Aws::APIGateway
1766
1781
  o.http_request_uri = "/restapis/{restapi_id}/documentation/versions/{doc_version}"
1767
1782
  o.input = Shapes::ShapeRef.new(shape: DeleteDocumentationVersionRequest)
1768
1783
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1769
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1770
- o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1771
1784
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1772
1785
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1786
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1787
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1773
1788
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1774
1789
  end)
1775
1790
 
@@ -1779,10 +1794,11 @@ module Aws::APIGateway
1779
1794
  o.http_request_uri = "/domainnames/{domain_name}"
1780
1795
  o.input = Shapes::ShapeRef.new(shape: DeleteDomainNameRequest)
1781
1796
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1782
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1797
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1798
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1783
1799
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1800
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1784
1801
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1785
- o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1786
1802
  end)
1787
1803
 
1788
1804
  api.add_operation(:delete_gateway_response, Seahorse::Model::Operation.new.tap do |o|
@@ -1791,11 +1807,11 @@ module Aws::APIGateway
1791
1807
  o.http_request_uri = "/restapis/{restapi_id}/gatewayresponses/{response_type}"
1792
1808
  o.input = Shapes::ShapeRef.new(shape: DeleteGatewayResponseRequest)
1793
1809
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1794
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1795
- o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1796
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1797
1810
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1798
1811
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1812
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1813
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1814
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1799
1815
  end)
1800
1816
 
1801
1817
  api.add_operation(:delete_integration, Seahorse::Model::Operation.new.tap do |o|
@@ -1804,10 +1820,11 @@ module Aws::APIGateway
1804
1820
  o.http_request_uri = "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration"
1805
1821
  o.input = Shapes::ShapeRef.new(shape: DeleteIntegrationRequest)
1806
1822
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1807
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1823
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1824
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1808
1825
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1826
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1809
1827
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1810
- o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1811
1828
  end)
1812
1829
 
1813
1830
  api.add_operation(:delete_integration_response, Seahorse::Model::Operation.new.tap do |o|
@@ -1816,11 +1833,11 @@ module Aws::APIGateway
1816
1833
  o.http_request_uri = "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}"
1817
1834
  o.input = Shapes::ShapeRef.new(shape: DeleteIntegrationResponseRequest)
1818
1835
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1819
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1820
- o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1821
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1822
1836
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1823
1837
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1838
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1839
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1840
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1824
1841
  end)
1825
1842
 
1826
1843
  api.add_operation(:delete_method, Seahorse::Model::Operation.new.tap do |o|
@@ -1854,11 +1871,11 @@ module Aws::APIGateway
1854
1871
  o.http_request_uri = "/restapis/{restapi_id}/models/{model_name}"
1855
1872
  o.input = Shapes::ShapeRef.new(shape: DeleteModelRequest)
1856
1873
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1857
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1858
- o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1859
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1860
1874
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1861
1875
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1876
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1877
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1878
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1862
1879
  end)
1863
1880
 
1864
1881
  api.add_operation(:delete_request_validator, Seahorse::Model::Operation.new.tap do |o|
@@ -1867,11 +1884,11 @@ module Aws::APIGateway
1867
1884
  o.http_request_uri = "/restapis/{restapi_id}/requestvalidators/{requestvalidator_id}"
1868
1885
  o.input = Shapes::ShapeRef.new(shape: DeleteRequestValidatorRequest)
1869
1886
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1870
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1871
- o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1872
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1873
1887
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1874
1888
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1889
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1890
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1891
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1875
1892
  end)
1876
1893
 
1877
1894
  api.add_operation(:delete_resource, Seahorse::Model::Operation.new.tap do |o|
@@ -1893,10 +1910,11 @@ module Aws::APIGateway
1893
1910
  o.http_request_uri = "/restapis/{restapi_id}"
1894
1911
  o.input = Shapes::ShapeRef.new(shape: DeleteRestApiRequest)
1895
1912
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1896
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1913
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1914
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1897
1915
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1916
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1898
1917
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1899
- o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1900
1918
  end)
1901
1919
 
1902
1920
  api.add_operation(:delete_stage, Seahorse::Model::Operation.new.tap do |o|
@@ -1905,10 +1923,12 @@ module Aws::APIGateway
1905
1923
  o.http_request_uri = "/restapis/{restapi_id}/stages/{stage_name}"
1906
1924
  o.input = Shapes::ShapeRef.new(shape: DeleteStageRequest)
1907
1925
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1908
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1926
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1927
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1928
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1909
1929
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1930
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1910
1931
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1911
- o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1912
1932
  end)
1913
1933
 
1914
1934
  api.add_operation(:delete_usage_plan, Seahorse::Model::Operation.new.tap do |o|
@@ -1917,10 +1937,11 @@ module Aws::APIGateway
1917
1937
  o.http_request_uri = "/usageplans/{usageplanId}"
1918
1938
  o.input = Shapes::ShapeRef.new(shape: DeleteUsagePlanRequest)
1919
1939
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1920
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1921
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1922
1940
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1941
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1923
1942
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1943
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1944
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1924
1945
  end)
1925
1946
 
1926
1947
  api.add_operation(:delete_usage_plan_key, Seahorse::Model::Operation.new.tap do |o|
@@ -1931,8 +1952,8 @@ module Aws::APIGateway
1931
1952
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1932
1953
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1933
1954
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1934
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1935
1955
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1956
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1936
1957
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1937
1958
  end)
1938
1959
 
@@ -1942,10 +1963,11 @@ module Aws::APIGateway
1942
1963
  o.http_request_uri = "/vpclinks/{vpclink_id}"
1943
1964
  o.input = Shapes::ShapeRef.new(shape: DeleteVpcLinkRequest)
1944
1965
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1945
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1966
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1967
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1946
1968
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1969
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1947
1970
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1948
- o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1949
1971
  end)
1950
1972
 
1951
1973
  api.add_operation(:flush_stage_authorizers_cache, Seahorse::Model::Operation.new.tap do |o|
@@ -1954,9 +1976,11 @@ module Aws::APIGateway
1954
1976
  o.http_request_uri = "/restapis/{restapi_id}/stages/{stage_name}/cache/authorizers"
1955
1977
  o.input = Shapes::ShapeRef.new(shape: FlushStageAuthorizersCacheRequest)
1956
1978
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1957
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1958
- o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1959
1979
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1980
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1981
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1982
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1983
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1960
1984
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1961
1985
  end)
1962
1986
 
@@ -1966,9 +1990,11 @@ module Aws::APIGateway
1966
1990
  o.http_request_uri = "/restapis/{restapi_id}/stages/{stage_name}/cache/data"
1967
1991
  o.input = Shapes::ShapeRef.new(shape: FlushStageCacheRequest)
1968
1992
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1969
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1970
- o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1971
1993
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1994
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1995
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1996
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1997
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1972
1998
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1973
1999
  end)
1974
2000
 
@@ -1978,9 +2004,11 @@ module Aws::APIGateway
1978
2004
  o.http_request_uri = "/clientcertificates"
1979
2005
  o.input = Shapes::ShapeRef.new(shape: GenerateClientCertificateRequest)
1980
2006
  o.output = Shapes::ShapeRef.new(shape: ClientCertificate)
2007
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2008
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2009
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1981
2010
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1982
2011
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1983
- o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1984
2012
  end)
1985
2013
 
1986
2014
  api.add_operation(:get_account, Seahorse::Model::Operation.new.tap do |o|
@@ -1989,8 +2017,9 @@ module Aws::APIGateway
1989
2017
  o.http_request_uri = "/account"
1990
2018
  o.input = Shapes::ShapeRef.new(shape: GetAccountRequest)
1991
2019
  o.output = Shapes::ShapeRef.new(shape: Account)
1992
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2020
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1993
2021
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2022
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1994
2023
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1995
2024
  end)
1996
2025
 
@@ -2000,8 +2029,9 @@ module Aws::APIGateway
2000
2029
  o.http_request_uri = "/apikeys/{api_Key}"
2001
2030
  o.input = Shapes::ShapeRef.new(shape: GetApiKeyRequest)
2002
2031
  o.output = Shapes::ShapeRef.new(shape: ApiKey)
2003
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2032
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2004
2033
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2034
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2005
2035
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2006
2036
  end)
2007
2037
 
@@ -2012,6 +2042,7 @@ module Aws::APIGateway
2012
2042
  o.input = Shapes::ShapeRef.new(shape: GetApiKeysRequest)
2013
2043
  o.output = Shapes::ShapeRef.new(shape: ApiKeys)
2014
2044
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2045
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2015
2046
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2016
2047
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2017
2048
  o[:pager] = Aws::Pager.new(
@@ -2028,8 +2059,9 @@ module Aws::APIGateway
2028
2059
  o.http_request_uri = "/restapis/{restapi_id}/authorizers/{authorizer_id}"
2029
2060
  o.input = Shapes::ShapeRef.new(shape: GetAuthorizerRequest)
2030
2061
  o.output = Shapes::ShapeRef.new(shape: Authorizer)
2031
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2062
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2032
2063
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2064
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2033
2065
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2034
2066
  end)
2035
2067
 
@@ -2040,8 +2072,8 @@ module Aws::APIGateway
2040
2072
  o.input = Shapes::ShapeRef.new(shape: GetAuthorizersRequest)
2041
2073
  o.output = Shapes::ShapeRef.new(shape: Authorizers)
2042
2074
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2043
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2044
2075
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2076
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2045
2077
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2046
2078
  end)
2047
2079
 
@@ -2051,8 +2083,9 @@ module Aws::APIGateway
2051
2083
  o.http_request_uri = "/domainnames/{domain_name}/basepathmappings/{base_path}"
2052
2084
  o.input = Shapes::ShapeRef.new(shape: GetBasePathMappingRequest)
2053
2085
  o.output = Shapes::ShapeRef.new(shape: BasePathMapping)
2054
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2086
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2055
2087
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2088
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2056
2089
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2057
2090
  end)
2058
2091
 
@@ -2062,8 +2095,9 @@ module Aws::APIGateway
2062
2095
  o.http_request_uri = "/domainnames/{domain_name}/basepathmappings"
2063
2096
  o.input = Shapes::ShapeRef.new(shape: GetBasePathMappingsRequest)
2064
2097
  o.output = Shapes::ShapeRef.new(shape: BasePathMappings)
2065
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2098
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2066
2099
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2100
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2067
2101
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2068
2102
  o[:pager] = Aws::Pager.new(
2069
2103
  limit_key: "limit",
@@ -2079,8 +2113,9 @@ module Aws::APIGateway
2079
2113
  o.http_request_uri = "/clientcertificates/{clientcertificate_id}"
2080
2114
  o.input = Shapes::ShapeRef.new(shape: GetClientCertificateRequest)
2081
2115
  o.output = Shapes::ShapeRef.new(shape: ClientCertificate)
2082
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2116
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2083
2117
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2118
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2084
2119
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2085
2120
  end)
2086
2121
 
@@ -2091,6 +2126,7 @@ module Aws::APIGateway
2091
2126
  o.input = Shapes::ShapeRef.new(shape: GetClientCertificatesRequest)
2092
2127
  o.output = Shapes::ShapeRef.new(shape: ClientCertificates)
2093
2128
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2129
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2094
2130
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2095
2131
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2096
2132
  o[:pager] = Aws::Pager.new(
@@ -2107,8 +2143,9 @@ module Aws::APIGateway
2107
2143
  o.http_request_uri = "/restapis/{restapi_id}/deployments/{deployment_id}"
2108
2144
  o.input = Shapes::ShapeRef.new(shape: GetDeploymentRequest)
2109
2145
  o.output = Shapes::ShapeRef.new(shape: Deployment)
2110
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2146
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2111
2147
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2148
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2112
2149
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2113
2150
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
2114
2151
  end)
@@ -2138,8 +2175,9 @@ module Aws::APIGateway
2138
2175
  o.http_request_uri = "/restapis/{restapi_id}/documentation/parts/{part_id}"
2139
2176
  o.input = Shapes::ShapeRef.new(shape: GetDocumentationPartRequest)
2140
2177
  o.output = Shapes::ShapeRef.new(shape: DocumentationPart)
2141
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2178
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2142
2179
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2180
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2143
2181
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2144
2182
  end)
2145
2183
 
@@ -2150,8 +2188,8 @@ module Aws::APIGateway
2150
2188
  o.input = Shapes::ShapeRef.new(shape: GetDocumentationPartsRequest)
2151
2189
  o.output = Shapes::ShapeRef.new(shape: DocumentationParts)
2152
2190
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2153
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2154
2191
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2192
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2155
2193
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2156
2194
  end)
2157
2195
 
@@ -2184,9 +2222,9 @@ module Aws::APIGateway
2184
2222
  o.http_request_uri = "/domainnames/{domain_name}"
2185
2223
  o.input = Shapes::ShapeRef.new(shape: GetDomainNameRequest)
2186
2224
  o.output = Shapes::ShapeRef.new(shape: DomainName)
2187
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2225
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2188
2226
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2189
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
2227
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2190
2228
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2191
2229
  end)
2192
2230
 
@@ -2197,6 +2235,7 @@ module Aws::APIGateway
2197
2235
  o.input = Shapes::ShapeRef.new(shape: GetDomainNamesRequest)
2198
2236
  o.output = Shapes::ShapeRef.new(shape: DomainNames)
2199
2237
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2238
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2200
2239
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2201
2240
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2202
2241
  o[:pager] = Aws::Pager.new(
@@ -2213,10 +2252,11 @@ module Aws::APIGateway
2213
2252
  o.http_request_uri = "/restapis/{restapi_id}/stages/{stage_name}/exports/{export_type}"
2214
2253
  o.input = Shapes::ShapeRef.new(shape: GetExportRequest)
2215
2254
  o.output = Shapes::ShapeRef.new(shape: ExportResponse)
2216
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2217
- o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2218
2255
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2219
2256
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2257
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2258
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2259
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2220
2260
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2221
2261
  end)
2222
2262
 
@@ -2226,8 +2266,9 @@ module Aws::APIGateway
2226
2266
  o.http_request_uri = "/restapis/{restapi_id}/gatewayresponses/{response_type}"
2227
2267
  o.input = Shapes::ShapeRef.new(shape: GetGatewayResponseRequest)
2228
2268
  o.output = Shapes::ShapeRef.new(shape: GatewayResponse)
2229
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2269
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2230
2270
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2271
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2231
2272
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2232
2273
  end)
2233
2274
 
@@ -2238,8 +2279,8 @@ module Aws::APIGateway
2238
2279
  o.input = Shapes::ShapeRef.new(shape: GetGatewayResponsesRequest)
2239
2280
  o.output = Shapes::ShapeRef.new(shape: GatewayResponses)
2240
2281
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2241
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2242
2282
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2283
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2243
2284
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2244
2285
  end)
2245
2286
 
@@ -2249,8 +2290,9 @@ module Aws::APIGateway
2249
2290
  o.http_request_uri = "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration"
2250
2291
  o.input = Shapes::ShapeRef.new(shape: GetIntegrationRequest)
2251
2292
  o.output = Shapes::ShapeRef.new(shape: Integration)
2252
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2293
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2253
2294
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2295
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2254
2296
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2255
2297
  end)
2256
2298
 
@@ -2260,8 +2302,9 @@ module Aws::APIGateway
2260
2302
  o.http_request_uri = "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}"
2261
2303
  o.input = Shapes::ShapeRef.new(shape: GetIntegrationResponseRequest)
2262
2304
  o.output = Shapes::ShapeRef.new(shape: IntegrationResponse)
2263
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2305
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2264
2306
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2307
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2265
2308
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2266
2309
  end)
2267
2310
 
@@ -2293,8 +2336,9 @@ module Aws::APIGateway
2293
2336
  o.http_request_uri = "/restapis/{restapi_id}/models/{model_name}"
2294
2337
  o.input = Shapes::ShapeRef.new(shape: GetModelRequest)
2295
2338
  o.output = Shapes::ShapeRef.new(shape: Model)
2296
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2339
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2297
2340
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2341
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2298
2342
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2299
2343
  end)
2300
2344
 
@@ -2334,8 +2378,9 @@ module Aws::APIGateway
2334
2378
  o.http_request_uri = "/restapis/{restapi_id}/requestvalidators/{requestvalidator_id}"
2335
2379
  o.input = Shapes::ShapeRef.new(shape: GetRequestValidatorRequest)
2336
2380
  o.output = Shapes::ShapeRef.new(shape: RequestValidator)
2337
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2381
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2338
2382
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2383
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2339
2384
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2340
2385
  end)
2341
2386
 
@@ -2346,8 +2391,8 @@ module Aws::APIGateway
2346
2391
  o.input = Shapes::ShapeRef.new(shape: GetRequestValidatorsRequest)
2347
2392
  o.output = Shapes::ShapeRef.new(shape: RequestValidators)
2348
2393
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2349
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2350
2394
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2395
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2351
2396
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2352
2397
  end)
2353
2398
 
@@ -2386,8 +2431,9 @@ module Aws::APIGateway
2386
2431
  o.http_request_uri = "/restapis/{restapi_id}"
2387
2432
  o.input = Shapes::ShapeRef.new(shape: GetRestApiRequest)
2388
2433
  o.output = Shapes::ShapeRef.new(shape: RestApi)
2389
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2434
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2390
2435
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2436
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2391
2437
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2392
2438
  end)
2393
2439
 
@@ -2398,6 +2444,7 @@ module Aws::APIGateway
2398
2444
  o.input = Shapes::ShapeRef.new(shape: GetRestApisRequest)
2399
2445
  o.output = Shapes::ShapeRef.new(shape: RestApis)
2400
2446
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2447
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2401
2448
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2402
2449
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2403
2450
  o[:pager] = Aws::Pager.new(
@@ -2414,10 +2461,11 @@ module Aws::APIGateway
2414
2461
  o.http_request_uri = "/restapis/{restapi_id}/stages/{stage_name}/sdks/{sdk_type}"
2415
2462
  o.input = Shapes::ShapeRef.new(shape: GetSdkRequest)
2416
2463
  o.output = Shapes::ShapeRef.new(shape: SdkResponse)
2417
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2418
- o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2419
2464
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2420
2465
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2466
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2467
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2468
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2421
2469
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2422
2470
  end)
2423
2471
 
@@ -2427,8 +2475,9 @@ module Aws::APIGateway
2427
2475
  o.http_request_uri = "/sdktypes/{sdktype_id}"
2428
2476
  o.input = Shapes::ShapeRef.new(shape: GetSdkTypeRequest)
2429
2477
  o.output = Shapes::ShapeRef.new(shape: SdkType)
2430
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2478
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2431
2479
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2480
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2432
2481
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2433
2482
  end)
2434
2483
 
@@ -2438,6 +2487,8 @@ module Aws::APIGateway
2438
2487
  o.http_request_uri = "/sdktypes"
2439
2488
  o.input = Shapes::ShapeRef.new(shape: GetSdkTypesRequest)
2440
2489
  o.output = Shapes::ShapeRef.new(shape: SdkTypes)
2490
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2491
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2441
2492
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2442
2493
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2443
2494
  end)
@@ -2448,8 +2499,11 @@ module Aws::APIGateway
2448
2499
  o.http_request_uri = "/restapis/{restapi_id}/stages/{stage_name}"
2449
2500
  o.input = Shapes::ShapeRef.new(shape: GetStageRequest)
2450
2501
  o.output = Shapes::ShapeRef.new(shape: Stage)
2451
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2502
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2503
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2504
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2452
2505
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2506
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2453
2507
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2454
2508
  end)
2455
2509
 
@@ -2459,8 +2513,11 @@ module Aws::APIGateway
2459
2513
  o.http_request_uri = "/restapis/{restapi_id}/stages"
2460
2514
  o.input = Shapes::ShapeRef.new(shape: GetStagesRequest)
2461
2515
  o.output = Shapes::ShapeRef.new(shape: Stages)
2462
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2516
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2517
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2518
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2463
2519
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2520
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2464
2521
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2465
2522
  end)
2466
2523
 
@@ -2471,10 +2528,9 @@ module Aws::APIGateway
2471
2528
  o.input = Shapes::ShapeRef.new(shape: GetTagsRequest)
2472
2529
  o.output = Shapes::ShapeRef.new(shape: Tags)
2473
2530
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2531
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2474
2532
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2475
2533
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2476
- o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2477
- o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2478
2534
  end)
2479
2535
 
2480
2536
  api.add_operation(:get_usage, Seahorse::Model::Operation.new.tap do |o|
@@ -2502,8 +2558,8 @@ module Aws::APIGateway
2502
2558
  o.input = Shapes::ShapeRef.new(shape: GetUsagePlanRequest)
2503
2559
  o.output = Shapes::ShapeRef.new(shape: UsagePlan)
2504
2560
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2505
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2506
2561
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2562
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2507
2563
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2508
2564
  end)
2509
2565
 
@@ -2514,8 +2570,8 @@ module Aws::APIGateway
2514
2570
  o.input = Shapes::ShapeRef.new(shape: GetUsagePlanKeyRequest)
2515
2571
  o.output = Shapes::ShapeRef.new(shape: UsagePlanKey)
2516
2572
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2517
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2518
2573
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2574
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2519
2575
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2520
2576
  end)
2521
2577
 
@@ -2526,8 +2582,8 @@ module Aws::APIGateway
2526
2582
  o.input = Shapes::ShapeRef.new(shape: GetUsagePlanKeysRequest)
2527
2583
  o.output = Shapes::ShapeRef.new(shape: UsagePlanKeys)
2528
2584
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2529
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2530
2585
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2586
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2531
2587
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2532
2588
  o[:pager] = Aws::Pager.new(
2533
2589
  limit_key: "limit",
@@ -2544,10 +2600,9 @@ module Aws::APIGateway
2544
2600
  o.input = Shapes::ShapeRef.new(shape: GetUsagePlansRequest)
2545
2601
  o.output = Shapes::ShapeRef.new(shape: UsagePlans)
2546
2602
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2603
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2547
2604
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2548
2605
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2549
- o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2550
- o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2551
2606
  o[:pager] = Aws::Pager.new(
2552
2607
  limit_key: "limit",
2553
2608
  tokens: {
@@ -2562,8 +2617,9 @@ module Aws::APIGateway
2562
2617
  o.http_request_uri = "/vpclinks/{vpclink_id}"
2563
2618
  o.input = Shapes::ShapeRef.new(shape: GetVpcLinkRequest)
2564
2619
  o.output = Shapes::ShapeRef.new(shape: VpcLink)
2565
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2620
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2566
2621
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2622
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2567
2623
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2568
2624
  end)
2569
2625
 
@@ -2574,6 +2630,7 @@ module Aws::APIGateway
2574
2630
  o.input = Shapes::ShapeRef.new(shape: GetVpcLinksRequest)
2575
2631
  o.output = Shapes::ShapeRef.new(shape: VpcLinks)
2576
2632
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2633
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2577
2634
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2578
2635
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2579
2636
  o[:pager] = Aws::Pager.new(
@@ -2590,12 +2647,12 @@ module Aws::APIGateway
2590
2647
  o.http_request_uri = "/apikeys?mode=import"
2591
2648
  o.input = Shapes::ShapeRef.new(shape: ImportApiKeysRequest)
2592
2649
  o.output = Shapes::ShapeRef.new(shape: ApiKeyIds)
2593
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2594
- o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2595
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2596
- o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2597
2650
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2598
2651
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2652
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2653
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2654
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2655
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2599
2656
  end)
2600
2657
 
2601
2658
  api.add_operation(:import_documentation_parts, Seahorse::Model::Operation.new.tap do |o|
@@ -2604,10 +2661,11 @@ module Aws::APIGateway
2604
2661
  o.http_request_uri = "/restapis/{restapi_id}/documentation/parts"
2605
2662
  o.input = Shapes::ShapeRef.new(shape: ImportDocumentationPartsRequest)
2606
2663
  o.output = Shapes::ShapeRef.new(shape: DocumentationPartIds)
2607
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2608
- o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2609
2664
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2665
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2610
2666
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2667
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2668
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2611
2669
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2612
2670
  end)
2613
2671
 
@@ -2617,11 +2675,12 @@ module Aws::APIGateway
2617
2675
  o.http_request_uri = "/restapis?mode=import"
2618
2676
  o.input = Shapes::ShapeRef.new(shape: ImportRestApiRequest)
2619
2677
  o.output = Shapes::ShapeRef.new(shape: RestApi)
2620
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2621
- o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2622
2678
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2623
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2624
2679
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2680
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2681
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2682
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2683
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2625
2684
  end)
2626
2685
 
2627
2686
  api.add_operation(:put_gateway_response, Seahorse::Model::Operation.new.tap do |o|
@@ -2631,9 +2690,10 @@ module Aws::APIGateway
2631
2690
  o.input = Shapes::ShapeRef.new(shape: PutGatewayResponseRequest)
2632
2691
  o.output = Shapes::ShapeRef.new(shape: GatewayResponse)
2633
2692
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2634
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2635
- o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2693
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2636
2694
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2695
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2696
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2637
2697
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2638
2698
  end)
2639
2699
 
@@ -2643,10 +2703,11 @@ module Aws::APIGateway
2643
2703
  o.http_request_uri = "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration"
2644
2704
  o.input = Shapes::ShapeRef.new(shape: PutIntegrationRequest)
2645
2705
  o.output = Shapes::ShapeRef.new(shape: Integration)
2646
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2647
2706
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2648
2707
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2708
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2649
2709
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2710
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2650
2711
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2651
2712
  end)
2652
2713
 
@@ -2656,12 +2717,12 @@ module Aws::APIGateway
2656
2717
  o.http_request_uri = "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}"
2657
2718
  o.input = Shapes::ShapeRef.new(shape: PutIntegrationResponseRequest)
2658
2719
  o.output = Shapes::ShapeRef.new(shape: IntegrationResponse)
2659
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2660
- o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2661
- o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2662
2720
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2663
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2664
2721
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2722
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2723
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2724
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2725
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2665
2726
  end)
2666
2727
 
2667
2728
  api.add_operation(:put_method, Seahorse::Model::Operation.new.tap do |o|
@@ -2698,12 +2759,12 @@ module Aws::APIGateway
2698
2759
  o.http_request_uri = "/restapis/{restapi_id}"
2699
2760
  o.input = Shapes::ShapeRef.new(shape: PutRestApiRequest)
2700
2761
  o.output = Shapes::ShapeRef.new(shape: RestApi)
2701
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2762
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2763
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2702
2764
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2703
2765
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2704
- o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2766
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2705
2767
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2706
- o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2707
2768
  end)
2708
2769
 
2709
2770
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
@@ -2713,11 +2774,11 @@ module Aws::APIGateway
2713
2774
  o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
2714
2775
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2715
2776
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2777
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2778
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2779
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2716
2780
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2717
2781
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2718
- o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2719
- o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2720
- o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2721
2782
  end)
2722
2783
 
2723
2784
  api.add_operation(:test_invoke_authorizer, Seahorse::Model::Operation.new.tap do |o|
@@ -2751,10 +2812,11 @@ module Aws::APIGateway
2751
2812
  o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
2752
2813
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2753
2814
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2815
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2816
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2817
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2754
2818
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2755
2819
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2756
- o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2757
- o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2758
2820
  end)
2759
2821
 
2760
2822
  api.add_operation(:update_account, Seahorse::Model::Operation.new.tap do |o|
@@ -2763,9 +2825,11 @@ module Aws::APIGateway
2763
2825
  o.http_request_uri = "/account"
2764
2826
  o.input = Shapes::ShapeRef.new(shape: UpdateAccountRequest)
2765
2827
  o.output = Shapes::ShapeRef.new(shape: Account)
2766
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2767
2828
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2829
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2830
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2768
2831
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2832
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2769
2833
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2770
2834
  end)
2771
2835
 
@@ -2775,11 +2839,12 @@ module Aws::APIGateway
2775
2839
  o.http_request_uri = "/apikeys/{api_Key}"
2776
2840
  o.input = Shapes::ShapeRef.new(shape: UpdateApiKeyRequest)
2777
2841
  o.output = Shapes::ShapeRef.new(shape: ApiKey)
2778
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2779
- o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2780
2842
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2781
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2782
2843
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2844
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2845
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2846
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2847
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2783
2848
  end)
2784
2849
 
2785
2850
  api.add_operation(:update_authorizer, Seahorse::Model::Operation.new.tap do |o|
@@ -2788,9 +2853,11 @@ module Aws::APIGateway
2788
2853
  o.http_request_uri = "/restapis/{restapi_id}/authorizers/{authorizer_id}"
2789
2854
  o.input = Shapes::ShapeRef.new(shape: UpdateAuthorizerRequest)
2790
2855
  o.output = Shapes::ShapeRef.new(shape: Authorizer)
2791
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2792
- o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2793
2856
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2857
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2858
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2859
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2860
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2794
2861
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2795
2862
  end)
2796
2863
 
@@ -2800,10 +2867,11 @@ module Aws::APIGateway
2800
2867
  o.http_request_uri = "/domainnames/{domain_name}/basepathmappings/{base_path}"
2801
2868
  o.input = Shapes::ShapeRef.new(shape: UpdateBasePathMappingRequest)
2802
2869
  o.output = Shapes::ShapeRef.new(shape: BasePathMapping)
2803
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2804
- o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2805
- o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2806
2870
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2871
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2872
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2873
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2874
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2807
2875
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2808
2876
  end)
2809
2877
 
@@ -2813,10 +2881,12 @@ module Aws::APIGateway
2813
2881
  o.http_request_uri = "/clientcertificates/{clientcertificate_id}"
2814
2882
  o.input = Shapes::ShapeRef.new(shape: UpdateClientCertificateRequest)
2815
2883
  o.output = Shapes::ShapeRef.new(shape: ClientCertificate)
2816
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2817
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2818
2884
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2885
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2886
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2819
2887
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2888
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2889
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2820
2890
  end)
2821
2891
 
2822
2892
  api.add_operation(:update_deployment, Seahorse::Model::Operation.new.tap do |o|
@@ -2825,9 +2895,11 @@ module Aws::APIGateway
2825
2895
  o.http_request_uri = "/restapis/{restapi_id}/deployments/{deployment_id}"
2826
2896
  o.input = Shapes::ShapeRef.new(shape: UpdateDeploymentRequest)
2827
2897
  o.output = Shapes::ShapeRef.new(shape: Deployment)
2828
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2829
- o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2830
2898
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2899
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2900
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2901
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2902
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2831
2903
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2832
2904
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
2833
2905
  end)
@@ -2839,10 +2911,10 @@ module Aws::APIGateway
2839
2911
  o.input = Shapes::ShapeRef.new(shape: UpdateDocumentationPartRequest)
2840
2912
  o.output = Shapes::ShapeRef.new(shape: DocumentationPart)
2841
2913
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2842
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2843
- o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2844
2914
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2845
2915
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2916
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2917
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2846
2918
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2847
2919
  end)
2848
2920
 
@@ -2852,10 +2924,11 @@ module Aws::APIGateway
2852
2924
  o.http_request_uri = "/restapis/{restapi_id}/documentation/versions/{doc_version}"
2853
2925
  o.input = Shapes::ShapeRef.new(shape: UpdateDocumentationVersionRequest)
2854
2926
  o.output = Shapes::ShapeRef.new(shape: DocumentationVersion)
2855
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2856
- o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2857
- o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2858
2927
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2928
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2929
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2930
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2931
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2859
2932
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2860
2933
  end)
2861
2934
 
@@ -2865,10 +2938,11 @@ module Aws::APIGateway
2865
2938
  o.http_request_uri = "/domainnames/{domain_name}"
2866
2939
  o.input = Shapes::ShapeRef.new(shape: UpdateDomainNameRequest)
2867
2940
  o.output = Shapes::ShapeRef.new(shape: DomainName)
2868
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2869
- o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2870
2941
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2871
2942
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2943
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2944
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2945
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2872
2946
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2873
2947
  end)
2874
2948
 
@@ -2878,9 +2952,11 @@ module Aws::APIGateway
2878
2952
  o.http_request_uri = "/restapis/{restapi_id}/gatewayresponses/{response_type}"
2879
2953
  o.input = Shapes::ShapeRef.new(shape: UpdateGatewayResponseRequest)
2880
2954
  o.output = Shapes::ShapeRef.new(shape: GatewayResponse)
2881
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2882
- o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2883
2955
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2956
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2957
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2958
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2959
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2884
2960
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2885
2961
  end)
2886
2962
 
@@ -2890,11 +2966,12 @@ module Aws::APIGateway
2890
2966
  o.http_request_uri = "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration"
2891
2967
  o.input = Shapes::ShapeRef.new(shape: UpdateIntegrationRequest)
2892
2968
  o.output = Shapes::ShapeRef.new(shape: Integration)
2893
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2894
- o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2895
2969
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2896
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2897
2970
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2971
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2972
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2973
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2974
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2898
2975
  end)
2899
2976
 
2900
2977
  api.add_operation(:update_integration_response, Seahorse::Model::Operation.new.tap do |o|
@@ -2903,10 +2980,11 @@ module Aws::APIGateway
2903
2980
  o.http_request_uri = "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}"
2904
2981
  o.input = Shapes::ShapeRef.new(shape: UpdateIntegrationResponseRequest)
2905
2982
  o.output = Shapes::ShapeRef.new(shape: IntegrationResponse)
2906
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2907
- o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2908
- o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2909
2983
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2984
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2985
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2986
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2987
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2910
2988
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2911
2989
  end)
2912
2990
 
@@ -2943,10 +3021,11 @@ module Aws::APIGateway
2943
3021
  o.http_request_uri = "/restapis/{restapi_id}/models/{model_name}"
2944
3022
  o.input = Shapes::ShapeRef.new(shape: UpdateModelRequest)
2945
3023
  o.output = Shapes::ShapeRef.new(shape: Model)
2946
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2947
- o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2948
3024
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2949
3025
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
3026
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
3027
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
3028
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2950
3029
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2951
3030
  end)
2952
3031
 
@@ -2956,9 +3035,11 @@ module Aws::APIGateway
2956
3035
  o.http_request_uri = "/restapis/{restapi_id}/requestvalidators/{requestvalidator_id}"
2957
3036
  o.input = Shapes::ShapeRef.new(shape: UpdateRequestValidatorRequest)
2958
3037
  o.output = Shapes::ShapeRef.new(shape: RequestValidator)
2959
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2960
- o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2961
3038
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
3039
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
3040
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
3041
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
3042
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2962
3043
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2963
3044
  end)
2964
3045
 
@@ -2981,10 +3062,11 @@ module Aws::APIGateway
2981
3062
  o.http_request_uri = "/restapis/{restapi_id}"
2982
3063
  o.input = Shapes::ShapeRef.new(shape: UpdateRestApiRequest)
2983
3064
  o.output = Shapes::ShapeRef.new(shape: RestApi)
2984
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2985
- o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2986
- o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2987
3065
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
3066
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
3067
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
3068
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
3069
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2988
3070
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2989
3071
  end)
2990
3072
 
@@ -2994,10 +3076,11 @@ module Aws::APIGateway
2994
3076
  o.http_request_uri = "/restapis/{restapi_id}/stages/{stage_name}"
2995
3077
  o.input = Shapes::ShapeRef.new(shape: UpdateStageRequest)
2996
3078
  o.output = Shapes::ShapeRef.new(shape: Stage)
2997
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2998
- o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2999
- o.errors << Shapes::ShapeRef.new(shape: ConflictException)
3000
3079
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
3080
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
3081
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
3082
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
3083
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
3001
3084
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
3002
3085
  end)
3003
3086
 
@@ -3007,10 +3090,12 @@ module Aws::APIGateway
3007
3090
  o.http_request_uri = "/usageplans/{usageplanId}/keys/{keyId}/usage"
3008
3091
  o.input = Shapes::ShapeRef.new(shape: UpdateUsageRequest)
3009
3092
  o.output = Shapes::ShapeRef.new(shape: Usage)
3010
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
3011
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
3012
3093
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
3094
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
3095
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
3013
3096
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
3097
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
3098
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
3014
3099
  end)
3015
3100
 
3016
3101
  api.add_operation(:update_usage_plan, Seahorse::Model::Operation.new.tap do |o|
@@ -3019,11 +3104,12 @@ module Aws::APIGateway
3019
3104
  o.http_request_uri = "/usageplans/{usageplanId}"
3020
3105
  o.input = Shapes::ShapeRef.new(shape: UpdateUsagePlanRequest)
3021
3106
  o.output = Shapes::ShapeRef.new(shape: UsagePlan)
3022
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
3023
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
3024
3107
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
3025
- o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
3026
3108
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
3109
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
3110
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
3111
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
3112
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
3027
3113
  end)
3028
3114
 
3029
3115
  api.add_operation(:update_vpc_link, Seahorse::Model::Operation.new.tap do |o|
@@ -3032,10 +3118,11 @@ module Aws::APIGateway
3032
3118
  o.http_request_uri = "/vpclinks/{vpclink_id}"
3033
3119
  o.input = Shapes::ShapeRef.new(shape: UpdateVpcLinkRequest)
3034
3120
  o.output = Shapes::ShapeRef.new(shape: VpcLink)
3035
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
3036
- o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
3037
3121
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
3038
3122
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
3123
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
3124
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
3125
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
3039
3126
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
3040
3127
  end)
3041
3128
  end