distilled-aws 0.0.16 → 0.0.18
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.
- package/lib/services/ec2.d.ts +22 -22
- package/lib/services/ec2.d.ts.map +1 -1
- package/lib/services/ec2.js +27 -9
- package/lib/services/ec2.js.map +1 -1
- package/package.json +1 -1
- package/src/services/ec2.ts +50 -17
package/lib/services/ec2.js
CHANGED
|
@@ -21719,6 +21719,8 @@ export class InvalidCertificateArnMalformed extends S.TaggedError()("InvalidCert
|
|
|
21719
21719
|
}
|
|
21720
21720
|
export class InvalidRoleArnMalformed extends S.TaggedError()("InvalidRoleArn.Malformed", {}) {
|
|
21721
21721
|
}
|
|
21722
|
+
export class NatGatewayMalformed extends S.TaggedError()("NatGatewayMalformed", {}) {
|
|
21723
|
+
}
|
|
21722
21724
|
export class NatGatewayNotFound extends S.TaggedError()("NatGatewayNotFound", {}) {
|
|
21723
21725
|
}
|
|
21724
21726
|
export class InvalidGroupIdMalformed extends S.TaggedError()("InvalidGroupId.Malformed", {}) {
|
|
@@ -21811,8 +21813,6 @@ export class InvalidLocalGatewayVirtualInterfaceGroupIDMalformed extends S.Tagge
|
|
|
21811
21813
|
}
|
|
21812
21814
|
export class InvalidLocalGatewayVirtualInterfaceGroupIDNotFound extends S.TaggedError()("InvalidLocalGatewayVirtualInterfaceGroupID.NotFound", {}) {
|
|
21813
21815
|
}
|
|
21814
|
-
export class NatGatewayMalformed extends S.TaggedError()("NatGatewayMalformed", {}) {
|
|
21815
|
-
}
|
|
21816
21816
|
export class InvalidNetworkInsightsAccessScopeIdNotFound extends S.TaggedError()("InvalidNetworkInsightsAccessScopeId.NotFound", {}) {
|
|
21817
21817
|
}
|
|
21818
21818
|
export class InvalidPermissionIDMalformed extends S.TaggedError()("InvalidPermissionID.Malformed", {}) {
|
|
@@ -22090,6 +22090,7 @@ export const attachInternetGateway = API.make(() => ({
|
|
|
22090
22090
|
input: AttachInternetGatewayRequest,
|
|
22091
22091
|
output: AttachInternetGatewayResponse,
|
|
22092
22092
|
errors: [
|
|
22093
|
+
InvalidVpcIDNotFound,
|
|
22093
22094
|
InvalidInternetGatewayIDNotFound,
|
|
22094
22095
|
InvalidInternetGatewayIdMalformed,
|
|
22095
22096
|
InvalidVpcIdMalformed,
|
|
@@ -22174,6 +22175,7 @@ export const deleteNetworkAcl = API.make(() => ({
|
|
|
22174
22175
|
input: DeleteNetworkAclRequest,
|
|
22175
22176
|
output: DeleteNetworkAclResponse,
|
|
22176
22177
|
errors: [
|
|
22178
|
+
DependencyViolation,
|
|
22177
22179
|
DryRunOperation,
|
|
22178
22180
|
InvalidNetworkAclIDNotFound,
|
|
22179
22181
|
InvalidNetworkAclIdMalformed,
|
|
@@ -22390,6 +22392,7 @@ export const detachInternetGateway = API.make(() => ({
|
|
|
22390
22392
|
input: DetachInternetGatewayRequest,
|
|
22391
22393
|
output: DetachInternetGatewayResponse,
|
|
22392
22394
|
errors: [
|
|
22395
|
+
DependencyViolation,
|
|
22393
22396
|
GatewayNotAttached,
|
|
22394
22397
|
InvalidInternetGatewayIDNotFound,
|
|
22395
22398
|
InvalidInternetGatewayIdMalformed,
|
|
@@ -22403,6 +22406,7 @@ export const detachNetworkInterface = API.make(() => ({
|
|
|
22403
22406
|
input: DetachNetworkInterfaceRequest,
|
|
22404
22407
|
output: DetachNetworkInterfaceResponse,
|
|
22405
22408
|
errors: [
|
|
22409
|
+
DependencyViolation,
|
|
22406
22410
|
InvalidAttachmentIDNotFound,
|
|
22407
22411
|
InvalidNetworkInterfaceAttachmentIdMalformed,
|
|
22408
22412
|
],
|
|
@@ -22429,7 +22433,12 @@ export const detachNetworkInterface = API.make(() => ({
|
|
|
22429
22433
|
export const detachVolume = API.make(() => ({
|
|
22430
22434
|
input: DetachVolumeRequest,
|
|
22431
22435
|
output: VolumeAttachment,
|
|
22432
|
-
errors: [
|
|
22436
|
+
errors: [
|
|
22437
|
+
DependencyViolation,
|
|
22438
|
+
IncorrectState,
|
|
22439
|
+
InvalidParameterValue,
|
|
22440
|
+
InvalidVolumeNotFound,
|
|
22441
|
+
],
|
|
22433
22442
|
}));
|
|
22434
22443
|
/**
|
|
22435
22444
|
* Detaches a virtual private gateway from a VPC. You do this if you're planning to turn
|
|
@@ -22961,7 +22970,7 @@ export const associateEnclaveCertificateIamRole = API.make(() => ({
|
|
|
22961
22970
|
export const associateNatGatewayAddress = API.make(() => ({
|
|
22962
22971
|
input: AssociateNatGatewayAddressRequest,
|
|
22963
22972
|
output: AssociateNatGatewayAddressResult,
|
|
22964
|
-
errors: [MissingParameter, NatGatewayNotFound],
|
|
22973
|
+
errors: [MissingParameter, NatGatewayMalformed, NatGatewayNotFound],
|
|
22965
22974
|
}));
|
|
22966
22975
|
/**
|
|
22967
22976
|
* Associates a security group with another VPC in the same Region. This enables you to use the same security group with network interfaces and instances in the specified VPC.
|
|
@@ -23797,6 +23806,7 @@ export const deleteNatGateway = API.make(() => ({
|
|
|
23797
23806
|
InvalidParameter,
|
|
23798
23807
|
MissingParameter,
|
|
23799
23808
|
NatGatewayMalformed,
|
|
23809
|
+
NatGatewayNotFound,
|
|
23800
23810
|
],
|
|
23801
23811
|
}));
|
|
23802
23812
|
/**
|
|
@@ -24130,7 +24140,7 @@ export const deleteVpcEndpointConnectionNotifications = API.make(() => ({
|
|
|
24130
24140
|
export const deleteVpcEndpoints = API.make(() => ({
|
|
24131
24141
|
input: DeleteVpcEndpointsRequest,
|
|
24132
24142
|
output: DeleteVpcEndpointsResult,
|
|
24133
|
-
errors: [ParseError],
|
|
24143
|
+
errors: [InvalidVpcEndpointIdNotFound, ParseError],
|
|
24134
24144
|
}));
|
|
24135
24145
|
/**
|
|
24136
24146
|
* Deletes the specified VPC endpoint service configurations. Before you can delete
|
|
@@ -25379,7 +25389,12 @@ export const describeVpnGateways = API.make(() => ({
|
|
|
25379
25389
|
export const detachClassicLinkVpc = API.make(() => ({
|
|
25380
25390
|
input: DetachClassicLinkVpcRequest,
|
|
25381
25391
|
output: DetachClassicLinkVpcResult,
|
|
25382
|
-
errors: [
|
|
25392
|
+
errors: [
|
|
25393
|
+
DependencyViolation,
|
|
25394
|
+
InvalidInstanceIDMalformed,
|
|
25395
|
+
InvalidVpcIDNotFound,
|
|
25396
|
+
MissingParameter,
|
|
25397
|
+
],
|
|
25383
25398
|
}));
|
|
25384
25399
|
/**
|
|
25385
25400
|
* Detaches the specified Amazon Web Services Verified Access trust provider from the specified Amazon Web Services Verified Access instance.
|
|
@@ -25387,7 +25402,7 @@ export const detachClassicLinkVpc = API.make(() => ({
|
|
|
25387
25402
|
export const detachVerifiedAccessTrustProvider = API.make(() => ({
|
|
25388
25403
|
input: DetachVerifiedAccessTrustProviderRequest,
|
|
25389
25404
|
output: DetachVerifiedAccessTrustProviderResult,
|
|
25390
|
-
errors: [InvalidVerifiedAccessInstanceIdNotFound],
|
|
25405
|
+
errors: [DependencyViolation, InvalidVerifiedAccessInstanceIdNotFound],
|
|
25391
25406
|
}));
|
|
25392
25407
|
/**
|
|
25393
25408
|
* Disables Elastic IP address transfer. For more information, see Transfer Elastic IP addresses in the *Amazon VPC User Guide*.
|
|
@@ -25687,7 +25702,7 @@ export const disassociateIpamResourceDiscovery = API.make(() => ({
|
|
|
25687
25702
|
export const disassociateNatGatewayAddress = API.make(() => ({
|
|
25688
25703
|
input: DisassociateNatGatewayAddressRequest,
|
|
25689
25704
|
output: DisassociateNatGatewayAddressResult,
|
|
25690
|
-
errors: [MissingParameter, NatGatewayNotFound],
|
|
25705
|
+
errors: [MissingParameter, NatGatewayMalformed, NatGatewayNotFound],
|
|
25691
25706
|
}));
|
|
25692
25707
|
/**
|
|
25693
25708
|
* Disassociates a route server from a VPC.
|
|
@@ -27983,6 +27998,7 @@ export const associateRouteTable = API.make(() => ({
|
|
|
27983
27998
|
InvalidPublicIpv4PoolIDMalformed,
|
|
27984
27999
|
InvalidPublicIpv4PoolIDNotFound,
|
|
27985
28000
|
InvalidRouteTableIDNotFound,
|
|
28001
|
+
InvalidSubnetIDNotFound,
|
|
27986
28002
|
MissingParameter,
|
|
27987
28003
|
],
|
|
27988
28004
|
}));
|
|
@@ -30113,7 +30129,7 @@ export const disableTransitGatewayRouteTablePropagation = API.make(() => ({
|
|
|
30113
30129
|
export const disassociateInstanceEventWindow = API.make(() => ({
|
|
30114
30130
|
input: DisassociateInstanceEventWindowRequest,
|
|
30115
30131
|
output: DisassociateInstanceEventWindowResult,
|
|
30116
|
-
errors: [MissingParameter],
|
|
30132
|
+
errors: [DependencyViolation, MissingParameter],
|
|
30117
30133
|
}));
|
|
30118
30134
|
/**
|
|
30119
30135
|
* When you enable Windows fast launch for a Windows AMI, images are pre-provisioned, using
|
|
@@ -30970,6 +30986,7 @@ export const revokeSecurityGroupEgress = API.make(() => ({
|
|
|
30970
30986
|
InvalidGroupIdMalformed,
|
|
30971
30987
|
InvalidParameterValue,
|
|
30972
30988
|
InvalidPrefixListIDNotFound,
|
|
30989
|
+
InvalidPermissionNotFound,
|
|
30973
30990
|
InvalidSecurityGroupRuleIdMalformed,
|
|
30974
30991
|
MissingParameter,
|
|
30975
30992
|
UnknownParameter,
|
|
@@ -32117,6 +32134,7 @@ export const describeNatGateways = API.makePaginated(() => ({
|
|
|
32117
32134
|
FilterLimitExceeded,
|
|
32118
32135
|
InvalidParameter,
|
|
32119
32136
|
NatGatewayMalformed,
|
|
32137
|
+
NatGatewayNotFound,
|
|
32120
32138
|
ParseError,
|
|
32121
32139
|
],
|
|
32122
32140
|
pagination: {
|