Skip to content

Commit 25d7ba3

Browse files
committed
fix(ec2): add missing DependencyViolation to Detach*
1 parent 56e298a commit 25d7ba3

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

scripts/service-patches.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,7 @@ export const servicePatches: Record<string, ServicePatches> = {
457457
"InvalidInternetGatewayId.Malformed",
458458
"InvalidVpcID.NotFound",
459459
"Gateway.NotAttached",
460+
"DependencyViolation",
460461
],
461462
},
462463

@@ -677,6 +678,7 @@ export const servicePatches: Record<string, ServicePatches> = {
677678
errors: [
678679
"InvalidAttachmentID.NotFound",
679680
"InvalidNetworkInterfaceAttachmentId.Malformed",
681+
"DependencyViolation",
680682
],
681683
},
682684
ModifyNetworkInterfaceAttribute: {
@@ -1297,6 +1299,7 @@ export const servicePatches: Record<string, ServicePatches> = {
12971299
errors: [
12981300
"InvalidVerifiedAccessInstanceId.NotFound",
12991301
"InvalidVerifiedAccessTrustProviderId.NotFound",
1302+
"DependencyViolation",
13001303
],
13011304
},
13021305
GetVerifiedAccessEndpointPolicy: {
@@ -1370,6 +1373,7 @@ export const servicePatches: Record<string, ServicePatches> = {
13701373
"InvalidVolume.NotFound",
13711374
"InvalidInstanceID.NotFound",
13721375
"InvalidAttachment.NotFound",
1376+
"DependencyViolation",
13731377
],
13741378
},
13751379
EnableVolumeIO: {
@@ -1571,6 +1575,7 @@ export const servicePatches: Record<string, ServicePatches> = {
15711575
"InvalidVpnGatewayID.NotFound",
15721576
"InvalidVpcID.NotFound",
15731577
"InvalidVpnGatewayAttachment.NotFound",
1578+
"DependencyViolation",
15741579
],
15751580
},
15761581
DisableVgwRoutePropagation: {

src/services/ec2/types.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2284,6 +2284,7 @@ export declare class EC2 extends AWSServiceClient {
22842284
| InvalidInternetGatewayIdMalformed
22852285
| InvalidVpcIDNotFound
22862286
| GatewayNotAttached
2287+
| DependencyViolation
22872288
| CommonAwsError
22882289
>;
22892290
detachNetworkInterface(
@@ -2292,6 +2293,7 @@ export declare class EC2 extends AWSServiceClient {
22922293
{},
22932294
| InvalidAttachmentIDNotFound
22942295
| InvalidNetworkInterfaceAttachmentIdMalformed
2296+
| DependencyViolation
22952297
| CommonAwsError
22962298
>;
22972299
detachVerifiedAccessTrustProvider(
@@ -2300,6 +2302,7 @@ export declare class EC2 extends AWSServiceClient {
23002302
DetachVerifiedAccessTrustProviderResult,
23012303
| InvalidVerifiedAccessInstanceIdNotFound
23022304
| InvalidVerifiedAccessTrustProviderIdNotFound
2305+
| DependencyViolation
23032306
| CommonAwsError
23042307
>;
23052308
detachVolume(
@@ -2309,6 +2312,7 @@ export declare class EC2 extends AWSServiceClient {
23092312
| InvalidVolumeNotFound
23102313
| InvalidInstanceIDNotFound
23112314
| InvalidAttachmentNotFound
2315+
| DependencyViolation
23122316
| CommonAwsError
23132317
>;
23142318
detachVpnGateway(
@@ -2318,6 +2322,7 @@ export declare class EC2 extends AWSServiceClient {
23182322
| InvalidVpnGatewayIDNotFound
23192323
| InvalidVpcIDNotFound
23202324
| InvalidVpnGatewayAttachmentNotFound
2325+
| DependencyViolation
23212326
| CommonAwsError
23222327
>;
23232328
disableAddressTransfer(
@@ -24910,6 +24915,7 @@ export declare namespace DetachInternetGateway {
2491024915
| InvalidInternetGatewayIdMalformed
2491124916
| InvalidVpcIDNotFound
2491224917
| GatewayNotAttached
24918+
| DependencyViolation
2491324919
| CommonAwsError;
2491424920
}
2491524921

@@ -24919,6 +24925,7 @@ export declare namespace DetachNetworkInterface {
2491924925
export type Error =
2492024926
| InvalidAttachmentIDNotFound
2492124927
| InvalidNetworkInterfaceAttachmentIdMalformed
24928+
| DependencyViolation
2492224929
| CommonAwsError;
2492324930
}
2492424931

@@ -24928,6 +24935,7 @@ export declare namespace DetachVerifiedAccessTrustProvider {
2492824935
export type Error =
2492924936
| InvalidVerifiedAccessInstanceIdNotFound
2493024937
| InvalidVerifiedAccessTrustProviderIdNotFound
24938+
| DependencyViolation
2493124939
| CommonAwsError;
2493224940
}
2493324941

@@ -24938,6 +24946,7 @@ export declare namespace DetachVolume {
2493824946
| InvalidVolumeNotFound
2493924947
| InvalidInstanceIDNotFound
2494024948
| InvalidAttachmentNotFound
24949+
| DependencyViolation
2494124950
| CommonAwsError;
2494224951
}
2494324952

@@ -24948,6 +24957,7 @@ export declare namespace DetachVpnGateway {
2494824957
| InvalidVpnGatewayIDNotFound
2494924958
| InvalidVpcIDNotFound
2495024959
| InvalidVpnGatewayAttachmentNotFound
24960+
| DependencyViolation
2495124961
| CommonAwsError;
2495224962
}
2495324963

0 commit comments

Comments
 (0)