@@ -124,7 +124,7 @@ export const servicePatches: Record<string, ServicePatches> = {
124124
125125 // ========== Carrier Gateway Operations ==========
126126 DeleteCarrierGateway : {
127- errors : [ "InvalidCarrierGatewayID.NotFound" ] ,
127+ errors : [ "InvalidCarrierGatewayID.NotFound" , "DependencyViolation" ] ,
128128 } ,
129129 DescribeCarrierGateways : {
130130 errors : [ "InvalidCarrierGatewayID.NotFound" ] ,
@@ -217,7 +217,7 @@ export const servicePatches: Record<string, ServicePatches> = {
217217 ] ,
218218 } ,
219219 DeleteCustomerGateway : {
220- errors : [ "InvalidCustomerGatewayID.NotFound" ] ,
220+ errors : [ "InvalidCustomerGatewayID.NotFound" , "DependencyViolation" ] ,
221221 } ,
222222 DescribeCustomerGateways : {
223223 errors : [
@@ -540,7 +540,10 @@ export const servicePatches: Record<string, ServicePatches> = {
540540 errors : [ "InvalidLocalGatewayRouteTableVpcAssociationId.NotFound" ] ,
541541 } ,
542542 DeleteLocalGatewayRouteTableVpcAssociation : {
543- errors : [ "InvalidLocalGatewayRouteTableVpcAssociationId.NotFound" ] ,
543+ errors : [
544+ "InvalidLocalGatewayRouteTableVpcAssociationId.NotFound" ,
545+ "DependencyViolation" ,
546+ ] ,
544547 } ,
545548 DescribeLocalGatewayRouteTables : {
546549 errors : [ "InvalidLocalGatewayID.NotFound" ] ,
@@ -569,7 +572,11 @@ export const servicePatches: Record<string, ServicePatches> = {
569572 ] ,
570573 } ,
571574 DeleteNatGateway : {
572- errors : [ "NatGatewayNotFound" , "NatGatewayMalformed" ] ,
575+ errors : [
576+ "NatGatewayNotFound" ,
577+ "NatGatewayMalformed" ,
578+ "DependencyViolation" ,
579+ ] ,
573580 } ,
574581 DescribeNatGateways : {
575582 errors : [ "NatGatewayNotFound" , "NatGatewayMalformed" ] ,
@@ -584,6 +591,7 @@ export const servicePatches: Record<string, ServicePatches> = {
584591 "InvalidNetworkAclID.NotFound" ,
585592 "InvalidNetworkAclId.Malformed" ,
586593 "InvalidNetworkAcl.InUse" ,
594+ "DependencyViolation" ,
587595 ] ,
588596 } ,
589597 DeleteNetworkAclEntry : {
@@ -657,7 +665,7 @@ export const servicePatches: Record<string, ServicePatches> = {
657665 errors : [ "InvalidSubnetID.NotFound" , "InvalidSecurityGroupId.NotFound" ] ,
658666 } ,
659667 DeleteNetworkInterface : {
660- errors : [ "InvalidNetworkInterfaceID.NotFound" ] ,
668+ errors : [ "InvalidNetworkInterfaceID.NotFound" , "DependencyViolation" ] ,
661669 } ,
662670 DescribeNetworkInterfaceAttribute : {
663671 errors : [ "InvalidNetworkInterfaceID.NotFound" ] ,
@@ -1084,6 +1092,7 @@ export const servicePatches: Record<string, ServicePatches> = {
10841092 errors : [
10851093 "InvalidTransitGatewayId.NotFound" ,
10861094 "InvalidTransitGateway.NotFound" ,
1095+ "DependencyViolation" ,
10871096 ] ,
10881097 } ,
10891098 DeleteTransitGatewayConnect : {
@@ -1093,13 +1102,19 @@ export const servicePatches: Record<string, ServicePatches> = {
10931102 errors : [ "InvalidTransitGatewayConnectPeerId.NotFound" ] ,
10941103 } ,
10951104 DeleteTransitGatewayMulticastDomain : {
1096- errors : [ "InvalidTransitGatewayMulticastDomainId.NotFound" ] ,
1105+ errors : [
1106+ "InvalidTransitGatewayMulticastDomainId.NotFound" ,
1107+ "DependencyViolation" ,
1108+ ] ,
10971109 } ,
10981110 DeleteTransitGatewayPeeringAttachment : {
10991111 errors : [ "InvalidTransitGatewayAttachmentId.NotFound" ] ,
11001112 } ,
11011113 DeleteTransitGatewayPolicyTable : {
1102- errors : [ "InvalidTransitGatewayPolicyTableId.NotFound" ] ,
1114+ errors : [
1115+ "InvalidTransitGatewayPolicyTableId.NotFound" ,
1116+ "DependencyViolation" ,
1117+ ] ,
11031118 } ,
11041119 DeleteTransitGatewayPrefixListReference : {
11051120 errors : [ "InvalidTransitGatewayRouteTableId.NotFound" ] ,
@@ -1108,7 +1123,10 @@ export const servicePatches: Record<string, ServicePatches> = {
11081123 errors : [ "InvalidTransitGatewayRouteTableId.NotFound" ] ,
11091124 } ,
11101125 DeleteTransitGatewayRouteTable : {
1111- errors : [ "InvalidTransitGatewayRouteTableId.NotFound" ] ,
1126+ errors : [
1127+ "InvalidTransitGatewayRouteTableId.NotFound" ,
1128+ "DependencyViolation" ,
1129+ ] ,
11121130 } ,
11131131 DeleteTransitGatewayRouteTableAnnouncement : {
11141132 errors : [ "InvalidTransitGatewayRouteTableAnnouncementId.NotFound" ] ,
@@ -1249,10 +1267,13 @@ export const servicePatches: Record<string, ServicePatches> = {
12491267 errors : [ "InvalidVerifiedAccessEndpointId.NotFound" ] ,
12501268 } ,
12511269 DeleteVerifiedAccessGroup : {
1252- errors : [ "InvalidVerifiedAccessGroupId.NotFound" ] ,
1270+ errors : [ "InvalidVerifiedAccessGroupId.NotFound" , "DependencyViolation" ] ,
12531271 } ,
12541272 DeleteVerifiedAccessInstance : {
1255- errors : [ "InvalidVerifiedAccessInstanceId.NotFound" ] ,
1273+ errors : [
1274+ "InvalidVerifiedAccessInstanceId.NotFound" ,
1275+ "DependencyViolation" ,
1276+ ] ,
12561277 } ,
12571278 DeleteVerifiedAccessTrustProvider : {
12581279 errors : [ "InvalidVerifiedAccessTrustProviderId.NotFound" ] ,
@@ -1540,7 +1561,7 @@ export const servicePatches: Record<string, ServicePatches> = {
15401561 errors : [ "VpnGatewayLimitExceeded" ] ,
15411562 } ,
15421563 DeleteVpnGateway : {
1543- errors : [ "InvalidVpnGatewayID.NotFound" ] ,
1564+ errors : [ "InvalidVpnGatewayID.NotFound" , "DependencyViolation" ] ,
15441565 } ,
15451566 DescribeVpnGateways : {
15461567 errors : [ "InvalidVpnGatewayID.NotFound" ] ,
@@ -1572,7 +1593,7 @@ export const servicePatches: Record<string, ServicePatches> = {
15721593 errors : [ "InvalidVpcID.NotFound" ] ,
15731594 } ,
15741595 DeleteEgressOnlyInternetGateway : {
1575- errors : [ "InvalidGatewayID.NotFound" ] ,
1596+ errors : [ "InvalidGatewayID.NotFound" , "DependencyViolation" ] ,
15761597 } ,
15771598 DescribeEgressOnlyInternetGateways : {
15781599 errors : [ "InvalidGatewayID.NotFound" ] ,
@@ -1589,16 +1610,19 @@ export const servicePatches: Record<string, ServicePatches> = {
15891610 errors : [ "InvalidIpamId.NotFound" ] ,
15901611 } ,
15911612 DeleteIpam : {
1592- errors : [ "InvalidIpamId.NotFound" ] ,
1613+ errors : [ "InvalidIpamId.NotFound" , "DependencyViolation" ] ,
15931614 } ,
15941615 DeleteIpamPool : {
1595- errors : [ "InvalidIpamPoolId.NotFound" ] ,
1616+ errors : [ "InvalidIpamPoolId.NotFound" , "DependencyViolation" ] ,
15961617 } ,
15971618 DeleteIpamResourceDiscovery : {
1598- errors : [ "InvalidIpamResourceDiscoveryId.NotFound" ] ,
1619+ errors : [
1620+ "InvalidIpamResourceDiscoveryId.NotFound" ,
1621+ "DependencyViolation" ,
1622+ ] ,
15991623 } ,
16001624 DeleteIpamScope : {
1601- errors : [ "InvalidIpamScopeId.NotFound" ] ,
1625+ errors : [ "InvalidIpamScopeId.NotFound" , "DependencyViolation" ] ,
16021626 } ,
16031627 DeprovisionIpamByoasn : {
16041628 errors : [ "InvalidIpamId.NotFound" ] ,
0 commit comments