@aws-sdk/client-ec2 3.695.0 → 3.696.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. package/README.md +48 -0
  2. package/dist-cjs/index.js +551 -19
  3. package/dist-es/EC2.js +12 -0
  4. package/dist-es/commands/CreateVpcBlockPublicAccessExclusionCommand.js +22 -0
  5. package/dist-es/commands/DeleteVpcBlockPublicAccessExclusionCommand.js +22 -0
  6. package/dist-es/commands/DescribeVpcBlockPublicAccessExclusionsCommand.js +22 -0
  7. package/dist-es/commands/DescribeVpcBlockPublicAccessOptionsCommand.js +22 -0
  8. package/dist-es/commands/ModifyVpcBlockPublicAccessExclusionCommand.js +22 -0
  9. package/dist-es/commands/ModifyVpcBlockPublicAccessOptionsCommand.js +22 -0
  10. package/dist-es/commands/index.js +6 -0
  11. package/dist-es/models/models_1.js +5 -0
  12. package/dist-es/models/models_2.js +16 -0
  13. package/dist-es/models/models_4.js +0 -15
  14. package/dist-es/models/models_5.js +25 -0
  15. package/dist-es/protocols/Aws_ec2.js +395 -2
  16. package/dist-types/EC2.d.ts +44 -0
  17. package/dist-types/EC2Client.d.ts +8 -2
  18. package/dist-types/commands/BundleInstanceCommand.d.ts +4 -2
  19. package/dist-types/commands/CancelImageLaunchPermissionCommand.d.ts +3 -4
  20. package/dist-types/commands/CopyImageCommand.d.ts +8 -7
  21. package/dist-types/commands/CreateDefaultSubnetCommand.d.ts +3 -0
  22. package/dist-types/commands/CreateDefaultVpcCommand.d.ts +3 -0
  23. package/dist-types/commands/CreateImageCommand.d.ts +6 -5
  24. package/dist-types/commands/CreateNetworkInsightsAccessScopeCommand.d.ts +1 -2
  25. package/dist-types/commands/CreateRestoreImageTaskCommand.d.ts +3 -3
  26. package/dist-types/commands/CreateStoreImageTaskCommand.d.ts +1 -1
  27. package/dist-types/commands/CreateSubnetCommand.d.ts +3 -0
  28. package/dist-types/commands/CreateVpcBlockPublicAccessExclusionCommand.d.ts +100 -0
  29. package/dist-types/commands/CreateVpcCommand.d.ts +3 -0
  30. package/dist-types/commands/DeleteIpamExternalResourceVerificationTokenCommand.d.ts +2 -1
  31. package/dist-types/commands/DeleteIpamPoolCommand.d.ts +1 -1
  32. package/dist-types/commands/DeleteIpamResourceDiscoveryCommand.d.ts +1 -1
  33. package/dist-types/commands/DeleteIpamScopeCommand.d.ts +1 -1
  34. package/dist-types/commands/DeleteVpcBlockPublicAccessExclusionCommand.d.ts +87 -0
  35. package/dist-types/commands/DeregisterImageCommand.d.ts +11 -11
  36. package/dist-types/commands/DescribeBundleTasksCommand.d.ts +6 -4
  37. package/dist-types/commands/DescribeHostsCommand.d.ts +1 -1
  38. package/dist-types/commands/DescribeIamInstanceProfileAssociationsCommand.d.ts +1 -1
  39. package/dist-types/commands/DescribeImageAttributeCommand.d.ts +4 -4
  40. package/dist-types/commands/DescribeImagesCommand.d.ts +8 -7
  41. package/dist-types/commands/DescribeSnapshotAttributeCommand.d.ts +1 -1
  42. package/dist-types/commands/DescribeSnapshotTierStatusCommand.d.ts +1 -2
  43. package/dist-types/commands/DescribeSnapshotsCommand.d.ts +1 -1
  44. package/dist-types/commands/DescribeStoreImageTasksCommand.d.ts +1 -1
  45. package/dist-types/commands/DescribeSubnetsCommand.d.ts +3 -0
  46. package/dist-types/commands/DescribeVpcBlockPublicAccessExclusionsCommand.d.ts +102 -0
  47. package/dist-types/commands/DescribeVpcBlockPublicAccessOptionsCommand.d.ts +78 -0
  48. package/dist-types/commands/DescribeVpcsCommand.d.ts +3 -0
  49. package/dist-types/commands/DisableFastLaunchCommand.d.ts +6 -4
  50. package/dist-types/commands/DisableImageBlockPublicAccessCommand.d.ts +2 -2
  51. package/dist-types/commands/EnableFastLaunchCommand.d.ts +8 -7
  52. package/dist-types/commands/EnableImageDeprecationCommand.d.ts +2 -1
  53. package/dist-types/commands/GetAssociatedEnclaveCertificateIamRolesCommand.d.ts +1 -1
  54. package/dist-types/commands/GetAssociatedIpv6PoolCidrsCommand.d.ts +1 -1
  55. package/dist-types/commands/GetAwsNetworkPerformanceDataCommand.d.ts +1 -1
  56. package/dist-types/commands/GetCapacityReservationUsageCommand.d.ts +1 -1
  57. package/dist-types/commands/GetCoipPoolUsageCommand.d.ts +1 -2
  58. package/dist-types/commands/ListImagesInRecycleBinCommand.d.ts +2 -2
  59. package/dist-types/commands/ModifyImageAttributeCommand.d.ts +7 -5
  60. package/dist-types/commands/ModifyVerifiedAccessEndpointCommand.d.ts +1 -1
  61. package/dist-types/commands/ModifyVerifiedAccessEndpointPolicyCommand.d.ts +1 -1
  62. package/dist-types/commands/ModifyVerifiedAccessGroupCommand.d.ts +1 -1
  63. package/dist-types/commands/ModifyVerifiedAccessGroupPolicyCommand.d.ts +1 -1
  64. package/dist-types/commands/ModifyVerifiedAccessInstanceCommand.d.ts +1 -1
  65. package/dist-types/commands/ModifyVerifiedAccessInstanceLoggingConfigurationCommand.d.ts +1 -1
  66. package/dist-types/commands/ModifyVpcBlockPublicAccessExclusionCommand.d.ts +88 -0
  67. package/dist-types/commands/ModifyVpcBlockPublicAccessOptionsCommand.d.ts +79 -0
  68. package/dist-types/commands/RegisterImageCommand.d.ts +6 -7
  69. package/dist-types/commands/RestoreImageFromRecycleBinCommand.d.ts +2 -1
  70. package/dist-types/commands/index.d.ts +6 -0
  71. package/dist-types/models/models_0.d.ts +27 -23
  72. package/dist-types/models/models_1.d.ts +66 -80
  73. package/dist-types/models/models_2.d.ts +220 -106
  74. package/dist-types/models/models_3.d.ts +155 -371
  75. package/dist-types/models/models_4.d.ts +423 -401
  76. package/dist-types/models/models_5.d.ts +567 -506
  77. package/dist-types/models/models_6.d.ts +3268 -3187
  78. package/dist-types/models/models_7.d.ts +502 -28
  79. package/dist-types/protocols/Aws_ec2.d.ts +54 -0
  80. package/dist-types/ts3.4/EC2.d.ts +140 -0
  81. package/dist-types/ts3.4/EC2Client.d.ts +36 -0
  82. package/dist-types/ts3.4/commands/CreateNetworkInsightsAccessScopeCommand.d.ts +4 -2
  83. package/dist-types/ts3.4/commands/CreateVpcBlockPublicAccessExclusionCommand.d.ts +51 -0
  84. package/dist-types/ts3.4/commands/DeleteIpamExternalResourceVerificationTokenCommand.d.ts +2 -4
  85. package/dist-types/ts3.4/commands/DeleteIpamPoolCommand.d.ts +1 -1
  86. package/dist-types/ts3.4/commands/DeleteIpamResourceDiscoveryCommand.d.ts +1 -1
  87. package/dist-types/ts3.4/commands/DeleteIpamScopeCommand.d.ts +1 -1
  88. package/dist-types/ts3.4/commands/DeleteVpcBlockPublicAccessExclusionCommand.d.ts +51 -0
  89. package/dist-types/ts3.4/commands/DescribeHostsCommand.d.ts +1 -1
  90. package/dist-types/ts3.4/commands/DescribeIamInstanceProfileAssociationsCommand.d.ts +1 -1
  91. package/dist-types/ts3.4/commands/DescribeSnapshotAttributeCommand.d.ts +1 -1
  92. package/dist-types/ts3.4/commands/DescribeSnapshotTierStatusCommand.d.ts +4 -2
  93. package/dist-types/ts3.4/commands/DescribeSnapshotsCommand.d.ts +1 -1
  94. package/dist-types/ts3.4/commands/DescribeVpcBlockPublicAccessExclusionsCommand.d.ts +51 -0
  95. package/dist-types/ts3.4/commands/DescribeVpcBlockPublicAccessOptionsCommand.d.ts +51 -0
  96. package/dist-types/ts3.4/commands/GetAssociatedEnclaveCertificateIamRolesCommand.d.ts +1 -1
  97. package/dist-types/ts3.4/commands/GetAssociatedIpv6PoolCidrsCommand.d.ts +1 -1
  98. package/dist-types/ts3.4/commands/GetAwsNetworkPerformanceDataCommand.d.ts +1 -1
  99. package/dist-types/ts3.4/commands/GetCapacityReservationUsageCommand.d.ts +1 -1
  100. package/dist-types/ts3.4/commands/GetCoipPoolUsageCommand.d.ts +4 -2
  101. package/dist-types/ts3.4/commands/ModifyVerifiedAccessEndpointCommand.d.ts +1 -1
  102. package/dist-types/ts3.4/commands/ModifyVerifiedAccessEndpointPolicyCommand.d.ts +1 -1
  103. package/dist-types/ts3.4/commands/ModifyVerifiedAccessGroupCommand.d.ts +1 -1
  104. package/dist-types/ts3.4/commands/ModifyVerifiedAccessGroupPolicyCommand.d.ts +1 -1
  105. package/dist-types/ts3.4/commands/ModifyVerifiedAccessInstanceCommand.d.ts +1 -1
  106. package/dist-types/ts3.4/commands/ModifyVerifiedAccessInstanceLoggingConfigurationCommand.d.ts +1 -1
  107. package/dist-types/ts3.4/commands/ModifyVpcBlockPublicAccessExclusionCommand.d.ts +51 -0
  108. package/dist-types/ts3.4/commands/ModifyVpcBlockPublicAccessOptionsCommand.d.ts +51 -0
  109. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  110. package/dist-types/ts3.4/models/models_1.d.ts +12 -15
  111. package/dist-types/ts3.4/models/models_2.d.ts +56 -32
  112. package/dist-types/ts3.4/models/models_3.d.ts +39 -69
  113. package/dist-types/ts3.4/models/models_4.d.ts +70 -70
  114. package/dist-types/ts3.4/models/models_5.d.ts +111 -101
  115. package/dist-types/ts3.4/models/models_6.d.ts +100 -102
  116. package/dist-types/ts3.4/models/models_7.d.ts +124 -2
  117. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +72 -0
  118. package/package.json +37 -37
package/dist-es/EC2.js CHANGED
@@ -133,6 +133,7 @@ import { CreateVerifiedAccessGroupCommand, } from "./commands/CreateVerifiedAcce
133
133
  import { CreateVerifiedAccessInstanceCommand, } from "./commands/CreateVerifiedAccessInstanceCommand";
134
134
  import { CreateVerifiedAccessTrustProviderCommand, } from "./commands/CreateVerifiedAccessTrustProviderCommand";
135
135
  import { CreateVolumeCommand, } from "./commands/CreateVolumeCommand";
136
+ import { CreateVpcBlockPublicAccessExclusionCommand, } from "./commands/CreateVpcBlockPublicAccessExclusionCommand";
136
137
  import { CreateVpcCommand } from "./commands/CreateVpcCommand";
137
138
  import { CreateVpcEndpointCommand, } from "./commands/CreateVpcEndpointCommand";
138
139
  import { CreateVpcEndpointConnectionNotificationCommand, } from "./commands/CreateVpcEndpointConnectionNotificationCommand";
@@ -208,6 +209,7 @@ import { DeleteVerifiedAccessGroupCommand, } from "./commands/DeleteVerifiedAcce
208
209
  import { DeleteVerifiedAccessInstanceCommand, } from "./commands/DeleteVerifiedAccessInstanceCommand";
209
210
  import { DeleteVerifiedAccessTrustProviderCommand, } from "./commands/DeleteVerifiedAccessTrustProviderCommand";
210
211
  import { DeleteVolumeCommand, } from "./commands/DeleteVolumeCommand";
212
+ import { DeleteVpcBlockPublicAccessExclusionCommand, } from "./commands/DeleteVpcBlockPublicAccessExclusionCommand";
211
213
  import { DeleteVpcCommand } from "./commands/DeleteVpcCommand";
212
214
  import { DeleteVpcEndpointConnectionNotificationsCommand, } from "./commands/DeleteVpcEndpointConnectionNotificationsCommand";
213
215
  import { DeleteVpcEndpointsCommand, } from "./commands/DeleteVpcEndpointsCommand";
@@ -367,6 +369,8 @@ import { DescribeVolumesCommand, } from "./commands/DescribeVolumesCommand";
367
369
  import { DescribeVolumesModificationsCommand, } from "./commands/DescribeVolumesModificationsCommand";
368
370
  import { DescribeVolumeStatusCommand, } from "./commands/DescribeVolumeStatusCommand";
369
371
  import { DescribeVpcAttributeCommand, } from "./commands/DescribeVpcAttributeCommand";
372
+ import { DescribeVpcBlockPublicAccessExclusionsCommand, } from "./commands/DescribeVpcBlockPublicAccessExclusionsCommand";
373
+ import { DescribeVpcBlockPublicAccessOptionsCommand, } from "./commands/DescribeVpcBlockPublicAccessOptionsCommand";
370
374
  import { DescribeVpcClassicLinkCommand, } from "./commands/DescribeVpcClassicLinkCommand";
371
375
  import { DescribeVpcClassicLinkDnsSupportCommand, } from "./commands/DescribeVpcClassicLinkDnsSupportCommand";
372
376
  import { DescribeVpcEndpointConnectionNotificationsCommand, } from "./commands/DescribeVpcEndpointConnectionNotificationsCommand";
@@ -553,6 +557,8 @@ import { ModifyVerifiedAccessTrustProviderCommand, } from "./commands/ModifyVeri
553
557
  import { ModifyVolumeAttributeCommand, } from "./commands/ModifyVolumeAttributeCommand";
554
558
  import { ModifyVolumeCommand, } from "./commands/ModifyVolumeCommand";
555
559
  import { ModifyVpcAttributeCommand, } from "./commands/ModifyVpcAttributeCommand";
560
+ import { ModifyVpcBlockPublicAccessExclusionCommand, } from "./commands/ModifyVpcBlockPublicAccessExclusionCommand";
561
+ import { ModifyVpcBlockPublicAccessOptionsCommand, } from "./commands/ModifyVpcBlockPublicAccessOptionsCommand";
556
562
  import { ModifyVpcEndpointCommand, } from "./commands/ModifyVpcEndpointCommand";
557
563
  import { ModifyVpcEndpointConnectionNotificationCommand, } from "./commands/ModifyVpcEndpointConnectionNotificationCommand";
558
564
  import { ModifyVpcEndpointServiceConfigurationCommand, } from "./commands/ModifyVpcEndpointServiceConfigurationCommand";
@@ -773,6 +779,7 @@ const commands = {
773
779
  CreateVerifiedAccessTrustProviderCommand,
774
780
  CreateVolumeCommand,
775
781
  CreateVpcCommand,
782
+ CreateVpcBlockPublicAccessExclusionCommand,
776
783
  CreateVpcEndpointCommand,
777
784
  CreateVpcEndpointConnectionNotificationCommand,
778
785
  CreateVpcEndpointServiceConfigurationCommand,
@@ -848,6 +855,7 @@ const commands = {
848
855
  DeleteVerifiedAccessTrustProviderCommand,
849
856
  DeleteVolumeCommand,
850
857
  DeleteVpcCommand,
858
+ DeleteVpcBlockPublicAccessExclusionCommand,
851
859
  DeleteVpcEndpointConnectionNotificationsCommand,
852
860
  DeleteVpcEndpointsCommand,
853
861
  DeleteVpcEndpointServiceConfigurationsCommand,
@@ -1006,6 +1014,8 @@ const commands = {
1006
1014
  DescribeVolumesModificationsCommand,
1007
1015
  DescribeVolumeStatusCommand,
1008
1016
  DescribeVpcAttributeCommand,
1017
+ DescribeVpcBlockPublicAccessExclusionsCommand,
1018
+ DescribeVpcBlockPublicAccessOptionsCommand,
1009
1019
  DescribeVpcClassicLinkCommand,
1010
1020
  DescribeVpcClassicLinkDnsSupportCommand,
1011
1021
  DescribeVpcEndpointConnectionNotificationsCommand,
@@ -1192,6 +1202,8 @@ const commands = {
1192
1202
  ModifyVolumeCommand,
1193
1203
  ModifyVolumeAttributeCommand,
1194
1204
  ModifyVpcAttributeCommand,
1205
+ ModifyVpcBlockPublicAccessExclusionCommand,
1206
+ ModifyVpcBlockPublicAccessOptionsCommand,
1195
1207
  ModifyVpcEndpointCommand,
1196
1208
  ModifyVpcEndpointConnectionNotificationCommand,
1197
1209
  ModifyVpcEndpointServiceConfigurationCommand,
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_CreateVpcBlockPublicAccessExclusionCommand, se_CreateVpcBlockPublicAccessExclusionCommand, } from "../protocols/Aws_ec2";
6
+ export { $Command };
7
+ export class CreateVpcBlockPublicAccessExclusionCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AmazonEC2", "CreateVpcBlockPublicAccessExclusion", {})
17
+ .n("EC2Client", "CreateVpcBlockPublicAccessExclusionCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_CreateVpcBlockPublicAccessExclusionCommand)
20
+ .de(de_CreateVpcBlockPublicAccessExclusionCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DeleteVpcBlockPublicAccessExclusionCommand, se_DeleteVpcBlockPublicAccessExclusionCommand, } from "../protocols/Aws_ec2";
6
+ export { $Command };
7
+ export class DeleteVpcBlockPublicAccessExclusionCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AmazonEC2", "DeleteVpcBlockPublicAccessExclusion", {})
17
+ .n("EC2Client", "DeleteVpcBlockPublicAccessExclusionCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_DeleteVpcBlockPublicAccessExclusionCommand)
20
+ .de(de_DeleteVpcBlockPublicAccessExclusionCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DescribeVpcBlockPublicAccessExclusionsCommand, se_DescribeVpcBlockPublicAccessExclusionsCommand, } from "../protocols/Aws_ec2";
6
+ export { $Command };
7
+ export class DescribeVpcBlockPublicAccessExclusionsCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AmazonEC2", "DescribeVpcBlockPublicAccessExclusions", {})
17
+ .n("EC2Client", "DescribeVpcBlockPublicAccessExclusionsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_DescribeVpcBlockPublicAccessExclusionsCommand)
20
+ .de(de_DescribeVpcBlockPublicAccessExclusionsCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DescribeVpcBlockPublicAccessOptionsCommand, se_DescribeVpcBlockPublicAccessOptionsCommand, } from "../protocols/Aws_ec2";
6
+ export { $Command };
7
+ export class DescribeVpcBlockPublicAccessOptionsCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AmazonEC2", "DescribeVpcBlockPublicAccessOptions", {})
17
+ .n("EC2Client", "DescribeVpcBlockPublicAccessOptionsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_DescribeVpcBlockPublicAccessOptionsCommand)
20
+ .de(de_DescribeVpcBlockPublicAccessOptionsCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ModifyVpcBlockPublicAccessExclusionCommand, se_ModifyVpcBlockPublicAccessExclusionCommand, } from "../protocols/Aws_ec2";
6
+ export { $Command };
7
+ export class ModifyVpcBlockPublicAccessExclusionCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AmazonEC2", "ModifyVpcBlockPublicAccessExclusion", {})
17
+ .n("EC2Client", "ModifyVpcBlockPublicAccessExclusionCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ModifyVpcBlockPublicAccessExclusionCommand)
20
+ .de(de_ModifyVpcBlockPublicAccessExclusionCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ModifyVpcBlockPublicAccessOptionsCommand, se_ModifyVpcBlockPublicAccessOptionsCommand, } from "../protocols/Aws_ec2";
6
+ export { $Command };
7
+ export class ModifyVpcBlockPublicAccessOptionsCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AmazonEC2", "ModifyVpcBlockPublicAccessOptions", {})
17
+ .n("EC2Client", "ModifyVpcBlockPublicAccessOptionsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ModifyVpcBlockPublicAccessOptionsCommand)
20
+ .de(de_ModifyVpcBlockPublicAccessOptionsCommand)
21
+ .build() {
22
+ }
@@ -132,6 +132,7 @@ export * from "./CreateVerifiedAccessGroupCommand";
132
132
  export * from "./CreateVerifiedAccessInstanceCommand";
133
133
  export * from "./CreateVerifiedAccessTrustProviderCommand";
134
134
  export * from "./CreateVolumeCommand";
135
+ export * from "./CreateVpcBlockPublicAccessExclusionCommand";
135
136
  export * from "./CreateVpcCommand";
136
137
  export * from "./CreateVpcEndpointCommand";
137
138
  export * from "./CreateVpcEndpointConnectionNotificationCommand";
@@ -207,6 +208,7 @@ export * from "./DeleteVerifiedAccessGroupCommand";
207
208
  export * from "./DeleteVerifiedAccessInstanceCommand";
208
209
  export * from "./DeleteVerifiedAccessTrustProviderCommand";
209
210
  export * from "./DeleteVolumeCommand";
211
+ export * from "./DeleteVpcBlockPublicAccessExclusionCommand";
210
212
  export * from "./DeleteVpcCommand";
211
213
  export * from "./DeleteVpcEndpointConnectionNotificationsCommand";
212
214
  export * from "./DeleteVpcEndpointServiceConfigurationsCommand";
@@ -366,6 +368,8 @@ export * from "./DescribeVolumeStatusCommand";
366
368
  export * from "./DescribeVolumesCommand";
367
369
  export * from "./DescribeVolumesModificationsCommand";
368
370
  export * from "./DescribeVpcAttributeCommand";
371
+ export * from "./DescribeVpcBlockPublicAccessExclusionsCommand";
372
+ export * from "./DescribeVpcBlockPublicAccessOptionsCommand";
369
373
  export * from "./DescribeVpcClassicLinkCommand";
370
374
  export * from "./DescribeVpcClassicLinkDnsSupportCommand";
371
375
  export * from "./DescribeVpcEndpointConnectionNotificationsCommand";
@@ -552,6 +556,8 @@ export * from "./ModifyVerifiedAccessTrustProviderCommand";
552
556
  export * from "./ModifyVolumeAttributeCommand";
553
557
  export * from "./ModifyVolumeCommand";
554
558
  export * from "./ModifyVpcAttributeCommand";
559
+ export * from "./ModifyVpcBlockPublicAccessExclusionCommand";
560
+ export * from "./ModifyVpcBlockPublicAccessOptionsCommand";
555
561
  export * from "./ModifyVpcEndpointCommand";
556
562
  export * from "./ModifyVpcEndpointConnectionNotificationCommand";
557
563
  export * from "./ModifyVpcEndpointServiceConfigurationCommand";
@@ -905,6 +905,11 @@ export const ClientVpnRouteStatusCode = {
905
905
  export const GatewayType = {
906
906
  ipsec_1: "ipsec.1",
907
907
  };
908
+ export const BlockPublicAccessMode = {
909
+ block_bidirectional: "block-bidirectional",
910
+ block_ingress: "block-ingress",
911
+ off: "off",
912
+ };
908
913
  export const HostnameType = {
909
914
  ip_name: "ip-name",
910
915
  resource_name: "resource-name",
@@ -243,6 +243,22 @@ export const VolumeState = {
243
243
  error: "error",
244
244
  in_use: "in-use",
245
245
  };
246
+ export const InternetGatewayExclusionMode = {
247
+ allow_bidirectional: "allow-bidirectional",
248
+ allow_egress: "allow-egress",
249
+ };
250
+ export const VpcBlockPublicAccessExclusionState = {
251
+ create_complete: "create-complete",
252
+ create_failed: "create-failed",
253
+ create_in_progress: "create-in-progress",
254
+ delete_complete: "delete-complete",
255
+ delete_in_progress: "delete-in-progress",
256
+ disable_complete: "disable-complete",
257
+ disable_in_progress: "disable-in-progress",
258
+ update_complete: "update-complete",
259
+ update_failed: "update-failed",
260
+ update_in_progress: "update-in-progress",
261
+ };
246
262
  export const DnsRecordIpType = {
247
263
  dualstack: "dualstack",
248
264
  ipv4: "ipv4",
@@ -290,21 +290,6 @@ export const ReservedInstanceState = {
290
290
  queued_deleted: "queued-deleted",
291
291
  retired: "retired",
292
292
  };
293
- export const SnapshotAttributeName = {
294
- createVolumePermission: "createVolumePermission",
295
- productCodes: "productCodes",
296
- };
297
- export const TieringOperationStatus = {
298
- archival_completed: "archival-completed",
299
- archival_failed: "archival-failed",
300
- archival_in_progress: "archival-in-progress",
301
- permanent_restore_completed: "permanent-restore-completed",
302
- permanent_restore_failed: "permanent-restore-failed",
303
- permanent_restore_in_progress: "permanent-restore-in-progress",
304
- temporary_restore_completed: "temporary-restore-completed",
305
- temporary_restore_failed: "temporary-restore-failed",
306
- temporary_restore_in_progress: "temporary-restore-in-progress",
307
- };
308
293
  export const SnapshotDetailFilterSensitiveLog = (obj) => ({
309
294
  ...obj,
310
295
  ...(obj.Url && { Url: SENSITIVE_STRING }),
@@ -1,6 +1,21 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { VerifiedAccessTrustProviderFilterSensitiveLog, } from "./models_0";
3
3
  import { VpnConnectionFilterSensitiveLog, } from "./models_2";
4
+ export const SnapshotAttributeName = {
5
+ createVolumePermission: "createVolumePermission",
6
+ productCodes: "productCodes",
7
+ };
8
+ export const TieringOperationStatus = {
9
+ archival_completed: "archival-completed",
10
+ archival_failed: "archival-failed",
11
+ archival_in_progress: "archival-in-progress",
12
+ permanent_restore_completed: "permanent-restore-completed",
13
+ permanent_restore_failed: "permanent-restore-failed",
14
+ permanent_restore_in_progress: "permanent-restore-in-progress",
15
+ temporary_restore_completed: "temporary-restore-completed",
16
+ temporary_restore_failed: "temporary-restore-failed",
17
+ temporary_restore_in_progress: "temporary-restore-in-progress",
18
+ };
4
19
  export const EventType = {
5
20
  BATCH_CHANGE: "fleetRequestChange",
6
21
  ERROR: "error",
@@ -55,6 +70,16 @@ export const VpcAttributeName = {
55
70
  enableDnsSupport: "enableDnsSupport",
56
71
  enableNetworkAddressUsageMetrics: "enableNetworkAddressUsageMetrics",
57
72
  };
73
+ export const InternetGatewayBlockMode = {
74
+ block_bidirectional: "block-bidirectional",
75
+ block_ingress: "block-ingress",
76
+ off: "off",
77
+ };
78
+ export const VpcBlockPublicAccessState = {
79
+ default_state: "default-state",
80
+ update_complete: "update-complete",
81
+ update_in_progress: "update-in-progress",
82
+ };
58
83
  export const ImageBlockPublicAccessDisabledState = {
59
84
  unblocked: "unblocked",
60
85
  };