@aws-sdk/client-ec2 3.694.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 (144) hide show
  1. package/README.md +48 -0
  2. package/dist-cjs/index.js +672 -54
  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/models/models_6.js +0 -4
  16. package/dist-es/models/models_7.js +4 -1
  17. package/dist-es/protocols/Aws_ec2.js +511 -32
  18. package/dist-types/EC2.d.ts +44 -0
  19. package/dist-types/EC2Client.d.ts +8 -2
  20. package/dist-types/commands/BundleInstanceCommand.d.ts +4 -2
  21. package/dist-types/commands/CancelImageLaunchPermissionCommand.d.ts +3 -4
  22. package/dist-types/commands/CopyImageCommand.d.ts +8 -7
  23. package/dist-types/commands/CreateDefaultSubnetCommand.d.ts +3 -0
  24. package/dist-types/commands/CreateDefaultVpcCommand.d.ts +3 -0
  25. package/dist-types/commands/CreateImageCommand.d.ts +6 -5
  26. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +10 -0
  27. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +11 -0
  28. package/dist-types/commands/CreateNetworkInsightsAccessScopeCommand.d.ts +1 -1
  29. package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +7 -0
  30. package/dist-types/commands/CreateRestoreImageTaskCommand.d.ts +3 -3
  31. package/dist-types/commands/CreateStoreImageTaskCommand.d.ts +1 -1
  32. package/dist-types/commands/CreateSubnetCommand.d.ts +3 -0
  33. package/dist-types/commands/CreateVolumeCommand.d.ts +7 -0
  34. package/dist-types/commands/CreateVpcBlockPublicAccessExclusionCommand.d.ts +100 -0
  35. package/dist-types/commands/CreateVpcCommand.d.ts +3 -0
  36. package/dist-types/commands/DeleteIpamExternalResourceVerificationTokenCommand.d.ts +2 -1
  37. package/dist-types/commands/DeleteIpamPoolCommand.d.ts +1 -1
  38. package/dist-types/commands/DeleteIpamResourceDiscoveryCommand.d.ts +1 -1
  39. package/dist-types/commands/DeleteIpamScopeCommand.d.ts +1 -1
  40. package/dist-types/commands/DeleteKeyPairCommand.d.ts +1 -1
  41. package/dist-types/commands/DeleteLaunchTemplateCommand.d.ts +4 -0
  42. package/dist-types/commands/DeleteVpcBlockPublicAccessExclusionCommand.d.ts +87 -0
  43. package/dist-types/commands/DeregisterImageCommand.d.ts +11 -11
  44. package/dist-types/commands/DescribeBundleTasksCommand.d.ts +6 -4
  45. package/dist-types/commands/DescribeHostsCommand.d.ts +1 -1
  46. package/dist-types/commands/DescribeIamInstanceProfileAssociationsCommand.d.ts +1 -1
  47. package/dist-types/commands/DescribeIdentityIdFormatCommand.d.ts +1 -1
  48. package/dist-types/commands/DescribeImageAttributeCommand.d.ts +4 -4
  49. package/dist-types/commands/DescribeImagesCommand.d.ts +8 -7
  50. package/dist-types/commands/DescribeInstanceAttributeCommand.d.ts +4 -0
  51. package/dist-types/commands/DescribeInstanceImageMetadataCommand.d.ts +4 -0
  52. package/dist-types/commands/DescribeInstanceStatusCommand.d.ts +4 -0
  53. package/dist-types/commands/DescribeInstancesCommand.d.ts +9 -0
  54. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +8 -0
  55. package/dist-types/commands/DescribeLaunchTemplatesCommand.d.ts +4 -0
  56. package/dist-types/commands/DescribeNetworkInterfacesCommand.d.ts +4 -0
  57. package/dist-types/commands/DescribeSnapshotAttributeCommand.d.ts +1 -1
  58. package/dist-types/commands/DescribeSnapshotTierStatusCommand.d.ts +1 -1
  59. package/dist-types/commands/DescribeSnapshotsCommand.d.ts +1 -1
  60. package/dist-types/commands/DescribeSpotDatafeedSubscriptionCommand.d.ts +1 -2
  61. package/dist-types/commands/DescribeStoreImageTasksCommand.d.ts +1 -1
  62. package/dist-types/commands/DescribeSubnetsCommand.d.ts +3 -0
  63. package/dist-types/commands/DescribeVolumesCommand.d.ts +4 -0
  64. package/dist-types/commands/DescribeVpcBlockPublicAccessExclusionsCommand.d.ts +102 -0
  65. package/dist-types/commands/DescribeVpcBlockPublicAccessOptionsCommand.d.ts +78 -0
  66. package/dist-types/commands/DescribeVpcsCommand.d.ts +3 -0
  67. package/dist-types/commands/DisableFastLaunchCommand.d.ts +6 -4
  68. package/dist-types/commands/DisableImageBlockPublicAccessCommand.d.ts +2 -2
  69. package/dist-types/commands/EnableFastLaunchCommand.d.ts +8 -7
  70. package/dist-types/commands/EnableImageDeprecationCommand.d.ts +2 -1
  71. package/dist-types/commands/GetAssociatedEnclaveCertificateIamRolesCommand.d.ts +1 -1
  72. package/dist-types/commands/GetAssociatedIpv6PoolCidrsCommand.d.ts +1 -1
  73. package/dist-types/commands/GetAwsNetworkPerformanceDataCommand.d.ts +1 -1
  74. package/dist-types/commands/GetCapacityReservationUsageCommand.d.ts +1 -1
  75. package/dist-types/commands/GetCoipPoolUsageCommand.d.ts +1 -1
  76. package/dist-types/commands/GetConsoleOutputCommand.d.ts +1 -2
  77. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +4 -0
  78. package/dist-types/commands/ListImagesInRecycleBinCommand.d.ts +2 -2
  79. package/dist-types/commands/ModifyImageAttributeCommand.d.ts +7 -5
  80. package/dist-types/commands/ModifyLaunchTemplateCommand.d.ts +4 -0
  81. package/dist-types/commands/ModifyVerifiedAccessEndpointCommand.d.ts +1 -1
  82. package/dist-types/commands/ModifyVerifiedAccessEndpointPolicyCommand.d.ts +1 -1
  83. package/dist-types/commands/ModifyVerifiedAccessGroupCommand.d.ts +1 -1
  84. package/dist-types/commands/ModifyVerifiedAccessGroupPolicyCommand.d.ts +1 -1
  85. package/dist-types/commands/ModifyVerifiedAccessInstanceCommand.d.ts +1 -1
  86. package/dist-types/commands/ModifyVerifiedAccessInstanceLoggingConfigurationCommand.d.ts +1 -1
  87. package/dist-types/commands/ModifyVpcBlockPublicAccessExclusionCommand.d.ts +88 -0
  88. package/dist-types/commands/ModifyVpcBlockPublicAccessOptionsCommand.d.ts +79 -0
  89. package/dist-types/commands/RegisterImageCommand.d.ts +6 -7
  90. package/dist-types/commands/RestoreImageFromRecycleBinCommand.d.ts +2 -1
  91. package/dist-types/commands/RunInstancesCommand.d.ts +12 -0
  92. package/dist-types/commands/index.d.ts +6 -0
  93. package/dist-types/models/models_0.d.ts +27 -23
  94. package/dist-types/models/models_1.d.ts +120 -116
  95. package/dist-types/models/models_2.d.ts +276 -143
  96. package/dist-types/models/models_3.d.ts +192 -409
  97. package/dist-types/models/models_4.d.ts +1119 -1064
  98. package/dist-types/models/models_5.d.ts +2975 -2932
  99. package/dist-types/models/models_6.d.ts +4328 -4255
  100. package/dist-types/models/models_7.d.ts +564 -29
  101. package/dist-types/protocols/Aws_ec2.d.ts +54 -0
  102. package/dist-types/ts3.4/EC2.d.ts +140 -0
  103. package/dist-types/ts3.4/EC2Client.d.ts +36 -0
  104. package/dist-types/ts3.4/commands/CreateNetworkInsightsAccessScopeCommand.d.ts +1 -1
  105. package/dist-types/ts3.4/commands/CreateVpcBlockPublicAccessExclusionCommand.d.ts +51 -0
  106. package/dist-types/ts3.4/commands/DeleteIpamExternalResourceVerificationTokenCommand.d.ts +2 -4
  107. package/dist-types/ts3.4/commands/DeleteIpamPoolCommand.d.ts +1 -1
  108. package/dist-types/ts3.4/commands/DeleteIpamResourceDiscoveryCommand.d.ts +1 -1
  109. package/dist-types/ts3.4/commands/DeleteIpamScopeCommand.d.ts +1 -1
  110. package/dist-types/ts3.4/commands/DeleteKeyPairCommand.d.ts +1 -1
  111. package/dist-types/ts3.4/commands/DeleteVpcBlockPublicAccessExclusionCommand.d.ts +51 -0
  112. package/dist-types/ts3.4/commands/DescribeHostsCommand.d.ts +1 -1
  113. package/dist-types/ts3.4/commands/DescribeIamInstanceProfileAssociationsCommand.d.ts +1 -1
  114. package/dist-types/ts3.4/commands/DescribeIdentityIdFormatCommand.d.ts +1 -1
  115. package/dist-types/ts3.4/commands/DescribeSnapshotAttributeCommand.d.ts +1 -1
  116. package/dist-types/ts3.4/commands/DescribeSnapshotTierStatusCommand.d.ts +1 -1
  117. package/dist-types/ts3.4/commands/DescribeSnapshotsCommand.d.ts +1 -1
  118. package/dist-types/ts3.4/commands/DescribeSpotDatafeedSubscriptionCommand.d.ts +4 -2
  119. package/dist-types/ts3.4/commands/DescribeVpcBlockPublicAccessExclusionsCommand.d.ts +51 -0
  120. package/dist-types/ts3.4/commands/DescribeVpcBlockPublicAccessOptionsCommand.d.ts +51 -0
  121. package/dist-types/ts3.4/commands/GetAssociatedEnclaveCertificateIamRolesCommand.d.ts +1 -1
  122. package/dist-types/ts3.4/commands/GetAssociatedIpv6PoolCidrsCommand.d.ts +1 -1
  123. package/dist-types/ts3.4/commands/GetAwsNetworkPerformanceDataCommand.d.ts +1 -1
  124. package/dist-types/ts3.4/commands/GetCapacityReservationUsageCommand.d.ts +1 -1
  125. package/dist-types/ts3.4/commands/GetCoipPoolUsageCommand.d.ts +1 -1
  126. package/dist-types/ts3.4/commands/GetConsoleOutputCommand.d.ts +4 -2
  127. package/dist-types/ts3.4/commands/ModifyVerifiedAccessEndpointCommand.d.ts +1 -1
  128. package/dist-types/ts3.4/commands/ModifyVerifiedAccessEndpointPolicyCommand.d.ts +1 -1
  129. package/dist-types/ts3.4/commands/ModifyVerifiedAccessGroupCommand.d.ts +1 -1
  130. package/dist-types/ts3.4/commands/ModifyVerifiedAccessGroupPolicyCommand.d.ts +1 -1
  131. package/dist-types/ts3.4/commands/ModifyVerifiedAccessInstanceCommand.d.ts +1 -1
  132. package/dist-types/ts3.4/commands/ModifyVerifiedAccessInstanceLoggingConfigurationCommand.d.ts +1 -1
  133. package/dist-types/ts3.4/commands/ModifyVpcBlockPublicAccessExclusionCommand.d.ts +51 -0
  134. package/dist-types/ts3.4/commands/ModifyVpcBlockPublicAccessOptionsCommand.d.ts +51 -0
  135. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  136. package/dist-types/ts3.4/models/models_1.d.ts +24 -27
  137. package/dist-types/ts3.4/models/models_2.d.ts +74 -40
  138. package/dist-types/ts3.4/models/models_3.d.ts +48 -76
  139. package/dist-types/ts3.4/models/models_4.d.ts +83 -77
  140. package/dist-types/ts3.4/models/models_5.d.ts +117 -107
  141. package/dist-types/ts3.4/models/models_6.d.ts +112 -117
  142. package/dist-types/ts3.4/models/models_7.d.ts +137 -3
  143. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +72 -0
  144. package/package.json +37 -37
@@ -0,0 +1,102 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
+ import { DescribeVpcBlockPublicAccessExclusionsRequest, DescribeVpcBlockPublicAccessExclusionsResult } from "../models/models_5";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DescribeVpcBlockPublicAccessExclusionsCommand}.
14
+ */
15
+ export interface DescribeVpcBlockPublicAccessExclusionsCommandInput extends DescribeVpcBlockPublicAccessExclusionsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DescribeVpcBlockPublicAccessExclusionsCommand}.
21
+ */
22
+ export interface DescribeVpcBlockPublicAccessExclusionsCommandOutput extends DescribeVpcBlockPublicAccessExclusionsResult, __MetadataBearer {
23
+ }
24
+ declare const DescribeVpcBlockPublicAccessExclusionsCommand_base: {
25
+ new (input: DescribeVpcBlockPublicAccessExclusionsCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeVpcBlockPublicAccessExclusionsCommandInput, DescribeVpcBlockPublicAccessExclusionsCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [DescribeVpcBlockPublicAccessExclusionsCommandInput]): import("@smithy/smithy-client").CommandImpl<DescribeVpcBlockPublicAccessExclusionsCommandInput, DescribeVpcBlockPublicAccessExclusionsCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Describe VPC Block Public Access (BPA) exclusions. A VPC BPA exclusion is a mode that can be applied to a single VPC or subnet that exempts it from the account’s BPA mode and will allow bidirectional or egress-only access. You can create BPA exclusions for VPCs and subnets even when BPA is not enabled on the account to ensure that there is no traffic disruption to the exclusions when VPC BPA is turned on. To learn more about VPC BPA, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/security-vpc-bpa.html">Block public access to VPCs and subnets</a> in the <i>Amazon VPC User Guide</i>.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { EC2Client, DescribeVpcBlockPublicAccessExclusionsCommand } from "@aws-sdk/client-ec2"; // ES Modules import
35
+ * // const { EC2Client, DescribeVpcBlockPublicAccessExclusionsCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
36
+ * const client = new EC2Client(config);
37
+ * const input = { // DescribeVpcBlockPublicAccessExclusionsRequest
38
+ * DryRun: true || false,
39
+ * Filters: [ // FilterList
40
+ * { // Filter
41
+ * Name: "STRING_VALUE",
42
+ * Values: [ // ValueStringList
43
+ * "STRING_VALUE",
44
+ * ],
45
+ * },
46
+ * ],
47
+ * ExclusionIds: [ // VpcBlockPublicAccessExclusionIdList
48
+ * "STRING_VALUE",
49
+ * ],
50
+ * NextToken: "STRING_VALUE",
51
+ * MaxResults: Number("int"),
52
+ * };
53
+ * const command = new DescribeVpcBlockPublicAccessExclusionsCommand(input);
54
+ * const response = await client.send(command);
55
+ * // { // DescribeVpcBlockPublicAccessExclusionsResult
56
+ * // VpcBlockPublicAccessExclusions: [ // VpcBlockPublicAccessExclusionList
57
+ * // { // VpcBlockPublicAccessExclusion
58
+ * // ExclusionId: "STRING_VALUE",
59
+ * // InternetGatewayExclusionMode: "allow-bidirectional" || "allow-egress",
60
+ * // ResourceArn: "STRING_VALUE",
61
+ * // State: "create-in-progress" || "create-complete" || "create-failed" || "update-in-progress" || "update-complete" || "update-failed" || "delete-in-progress" || "delete-complete" || "disable-in-progress" || "disable-complete",
62
+ * // Reason: "STRING_VALUE",
63
+ * // CreationTimestamp: new Date("TIMESTAMP"),
64
+ * // LastUpdateTimestamp: new Date("TIMESTAMP"),
65
+ * // DeletionTimestamp: new Date("TIMESTAMP"),
66
+ * // Tags: [ // TagList
67
+ * // { // Tag
68
+ * // Key: "STRING_VALUE",
69
+ * // Value: "STRING_VALUE",
70
+ * // },
71
+ * // ],
72
+ * // },
73
+ * // ],
74
+ * // NextToken: "STRING_VALUE",
75
+ * // };
76
+ *
77
+ * ```
78
+ *
79
+ * @param DescribeVpcBlockPublicAccessExclusionsCommandInput - {@link DescribeVpcBlockPublicAccessExclusionsCommandInput}
80
+ * @returns {@link DescribeVpcBlockPublicAccessExclusionsCommandOutput}
81
+ * @see {@link DescribeVpcBlockPublicAccessExclusionsCommandInput} for command's `input` shape.
82
+ * @see {@link DescribeVpcBlockPublicAccessExclusionsCommandOutput} for command's `response` shape.
83
+ * @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
84
+ *
85
+ * @throws {@link EC2ServiceException}
86
+ * <p>Base exception class for all service exceptions from EC2 service.</p>
87
+ *
88
+ * @public
89
+ */
90
+ export declare class DescribeVpcBlockPublicAccessExclusionsCommand extends DescribeVpcBlockPublicAccessExclusionsCommand_base {
91
+ /** @internal type navigation helper, not in runtime. */
92
+ protected static __types: {
93
+ api: {
94
+ input: DescribeVpcBlockPublicAccessExclusionsRequest;
95
+ output: DescribeVpcBlockPublicAccessExclusionsResult;
96
+ };
97
+ sdk: {
98
+ input: DescribeVpcBlockPublicAccessExclusionsCommandInput;
99
+ output: DescribeVpcBlockPublicAccessExclusionsCommandOutput;
100
+ };
101
+ };
102
+ }
@@ -0,0 +1,78 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
+ import { DescribeVpcBlockPublicAccessOptionsRequest, DescribeVpcBlockPublicAccessOptionsResult } from "../models/models_5";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DescribeVpcBlockPublicAccessOptionsCommand}.
14
+ */
15
+ export interface DescribeVpcBlockPublicAccessOptionsCommandInput extends DescribeVpcBlockPublicAccessOptionsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DescribeVpcBlockPublicAccessOptionsCommand}.
21
+ */
22
+ export interface DescribeVpcBlockPublicAccessOptionsCommandOutput extends DescribeVpcBlockPublicAccessOptionsResult, __MetadataBearer {
23
+ }
24
+ declare const DescribeVpcBlockPublicAccessOptionsCommand_base: {
25
+ new (input: DescribeVpcBlockPublicAccessOptionsCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeVpcBlockPublicAccessOptionsCommandInput, DescribeVpcBlockPublicAccessOptionsCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [DescribeVpcBlockPublicAccessOptionsCommandInput]): import("@smithy/smithy-client").CommandImpl<DescribeVpcBlockPublicAccessOptionsCommandInput, DescribeVpcBlockPublicAccessOptionsCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Describe VPC Block Public Access (BPA) options. VPC Block public Access (BPA) enables you to block resources in VPCs and subnets that you own in a Region from reaching or being reached from the internet through internet gateways and egress-only internet gateways. To learn more about VPC BPA, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/security-vpc-bpa.html">Block public access to VPCs and subnets</a> in the <i>Amazon VPC User Guide</i>.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { EC2Client, DescribeVpcBlockPublicAccessOptionsCommand } from "@aws-sdk/client-ec2"; // ES Modules import
35
+ * // const { EC2Client, DescribeVpcBlockPublicAccessOptionsCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
36
+ * const client = new EC2Client(config);
37
+ * const input = { // DescribeVpcBlockPublicAccessOptionsRequest
38
+ * DryRun: true || false,
39
+ * };
40
+ * const command = new DescribeVpcBlockPublicAccessOptionsCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // DescribeVpcBlockPublicAccessOptionsResult
43
+ * // VpcBlockPublicAccessOptions: { // VpcBlockPublicAccessOptions
44
+ * // AwsAccountId: "STRING_VALUE",
45
+ * // AwsRegion: "STRING_VALUE",
46
+ * // State: "default-state" || "update-in-progress" || "update-complete",
47
+ * // InternetGatewayBlockMode: "off" || "block-bidirectional" || "block-ingress",
48
+ * // Reason: "STRING_VALUE",
49
+ * // LastUpdateTimestamp: new Date("TIMESTAMP"),
50
+ * // },
51
+ * // };
52
+ *
53
+ * ```
54
+ *
55
+ * @param DescribeVpcBlockPublicAccessOptionsCommandInput - {@link DescribeVpcBlockPublicAccessOptionsCommandInput}
56
+ * @returns {@link DescribeVpcBlockPublicAccessOptionsCommandOutput}
57
+ * @see {@link DescribeVpcBlockPublicAccessOptionsCommandInput} for command's `input` shape.
58
+ * @see {@link DescribeVpcBlockPublicAccessOptionsCommandOutput} for command's `response` shape.
59
+ * @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
60
+ *
61
+ * @throws {@link EC2ServiceException}
62
+ * <p>Base exception class for all service exceptions from EC2 service.</p>
63
+ *
64
+ * @public
65
+ */
66
+ export declare class DescribeVpcBlockPublicAccessOptionsCommand extends DescribeVpcBlockPublicAccessOptionsCommand_base {
67
+ /** @internal type navigation helper, not in runtime. */
68
+ protected static __types: {
69
+ api: {
70
+ input: DescribeVpcBlockPublicAccessOptionsRequest;
71
+ output: DescribeVpcBlockPublicAccessOptionsResult;
72
+ };
73
+ sdk: {
74
+ input: DescribeVpcBlockPublicAccessOptionsCommandInput;
75
+ output: DescribeVpcBlockPublicAccessOptionsCommandOutput;
76
+ };
77
+ };
78
+ }
@@ -91,6 +91,9 @@ declare const DescribeVpcsCommand_base: {
91
91
  * // Value: "STRING_VALUE",
92
92
  * // },
93
93
  * // ],
94
+ * // BlockPublicAccessStates: { // BlockPublicAccessStates
95
+ * // InternetGatewayBlockMode: "off" || "block-bidirectional" || "block-ingress",
96
+ * // },
94
97
  * // VpcId: "STRING_VALUE",
95
98
  * // State: "pending" || "available",
96
99
  * // CidrBlock: "STRING_VALUE",
@@ -27,11 +27,13 @@ declare const DisableFastLaunchCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Discontinue Windows fast launch for a Windows AMI, and clean up existing pre-provisioned snapshots.
31
- * After you disable Windows fast launch, the AMI uses the standard launch process for each
32
- * new instance. Amazon EC2 must remove all pre-provisioned snapshots before you can enable Windows fast launch again.</p>
30
+ * <p>Discontinue Windows fast launch for a Windows AMI, and clean up existing pre-provisioned
31
+ * snapshots. After you disable Windows fast launch, the AMI uses the standard launch process for
32
+ * each new instance. Amazon EC2 must remove all pre-provisioned snapshots before you can enable
33
+ * Windows fast launch again.</p>
33
34
  * <note>
34
- * <p>You can only change these settings for Windows AMIs that you own or that have been shared with you.</p>
35
+ * <p>You can only change these settings for Windows AMIs that you own or that have been
36
+ * shared with you.</p>
35
37
  * </note>
36
38
  * @example
37
39
  * Use a bare-bones client and the command you need to make an API call.
@@ -35,8 +35,8 @@ declare const DisableImageBlockPublicAccessCommand_base: {
35
35
  * <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetImageBlockPublicAccessState.html">GetImageBlockPublicAccessState</a>, the response will be
36
36
  * <code>block-new-sharing</code>. When the API has completed the configuration, the response
37
37
  * will be <code>unblocked</code>.</p>
38
- * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sharingamis-intro.html#block-public-access-to-amis">Block public access to your AMIs</a> in
39
- * the <i>Amazon EC2 User Guide</i>.</p>
38
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sharingamis-intro.html#block-public-access-to-amis">Block
39
+ * public access to your AMIs</a> in the <i>Amazon EC2 User Guide</i>.</p>
40
40
  * @example
41
41
  * Use a bare-bones client and the command you need to make an API call.
42
42
  * ```javascript
@@ -27,14 +27,15 @@ declare const EnableFastLaunchCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>When you enable Windows fast launch for a Windows AMI, images are pre-provisioned,
31
- * using snapshots to launch instances up to 65% faster. To create the optimized Windows
32
- * image, Amazon EC2 launches an instance and runs through Sysprep steps, rebooting as required.
33
- * Then it creates a set of reserved snapshots that are used for subsequent launches. The
34
- * reserved snapshots are automatically replenished as they are used, depending on your
35
- * settings for launch frequency.</p>
30
+ * <p>When you enable Windows fast launch for a Windows AMI, images are pre-provisioned, using
31
+ * snapshots to launch instances up to 65% faster. To create the optimized Windows image, Amazon EC2
32
+ * launches an instance and runs through Sysprep steps, rebooting as required. Then it creates a
33
+ * set of reserved snapshots that are used for subsequent launches. The reserved snapshots are
34
+ * automatically replenished as they are used, depending on your settings for launch
35
+ * frequency.</p>
36
36
  * <note>
37
- * <p>You can only change these settings for Windows AMIs that you own or that have been shared with you.</p>
37
+ * <p>You can only change these settings for Windows AMIs that you own or that have been
38
+ * shared with you.</p>
38
39
  * </note>
39
40
  * @example
40
41
  * Use a bare-bones client and the command you need to make an API call.
@@ -28,7 +28,8 @@ declare const EnableImageDeprecationCommand_base: {
28
28
  };
29
29
  /**
30
30
  * <p>Enables deprecation of the specified AMI at the specified date and time.</p>
31
- * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-deprecate.html">Deprecate an AMI</a> in the <i>Amazon EC2 User Guide</i>.</p>
31
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-deprecate.html">Deprecate an AMI</a> in the
32
+ * <i>Amazon EC2 User Guide</i>.</p>
32
33
  * @example
33
34
  * Use a bare-bones client and the command you need to make an API call.
34
35
  * ```javascript
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { GetAssociatedEnclaveCertificateIamRolesRequest, GetAssociatedEnclaveCertificateIamRolesResult } from "../models/models_5";
4
+ import { GetAssociatedEnclaveCertificateIamRolesRequest, GetAssociatedEnclaveCertificateIamRolesResult } from "../models/models_6";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { GetAssociatedIpv6PoolCidrsRequest, GetAssociatedIpv6PoolCidrsResult } from "../models/models_5";
4
+ import { GetAssociatedIpv6PoolCidrsRequest, GetAssociatedIpv6PoolCidrsResult } from "../models/models_6";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { GetAwsNetworkPerformanceDataRequest, GetAwsNetworkPerformanceDataResult } from "../models/models_5";
4
+ import { GetAwsNetworkPerformanceDataRequest, GetAwsNetworkPerformanceDataResult } from "../models/models_6";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { GetCapacityReservationUsageRequest, GetCapacityReservationUsageResult } from "../models/models_5";
4
+ import { GetCapacityReservationUsageRequest, GetCapacityReservationUsageResult } from "../models/models_6";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { GetCoipPoolUsageRequest, GetCoipPoolUsageResult } from "../models/models_5";
4
+ import { GetCoipPoolUsageRequest, GetCoipPoolUsageResult } from "../models/models_6";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,8 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { GetConsoleOutputRequest } from "../models/models_5";
5
- import { GetConsoleOutputResult } from "../models/models_6";
4
+ import { GetConsoleOutputRequest, GetConsoleOutputResult } from "../models/models_6";
6
5
  /**
7
6
  * @public
8
7
  */
@@ -297,6 +297,10 @@ declare const GetLaunchTemplateDataCommand_base: {
297
297
  * // AutoRecovery: "default" || "disabled",
298
298
  * // },
299
299
  * // DisableApiStop: true || false,
300
+ * // Operator: { // OperatorResponse
301
+ * // Managed: true || false,
302
+ * // Principal: "STRING_VALUE",
303
+ * // },
300
304
  * // },
301
305
  * // };
302
306
  *
@@ -27,8 +27,8 @@ declare const ListImagesInRecycleBinCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Lists one or more AMIs that are currently in the Recycle Bin. For more information,
31
- * see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recycle-bin.html">Recycle
30
+ * <p>Lists one or more AMIs that are currently in the Recycle Bin. For more information, see
31
+ * <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recycle-bin.html">Recycle
32
32
  * Bin</a> in the <i>Amazon EC2 User Guide</i>.</p>
33
33
  * @example
34
34
  * Use a bare-bones client and the command you need to make an API call.
@@ -27,12 +27,14 @@ declare const ModifyImageAttributeCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Modifies the specified attribute of the specified AMI. You can specify only one attribute at a time.</p>
31
- * <p>To specify the attribute, you can use the <code>Attribute</code> parameter, or one of the following parameters:
32
- * <code>Description</code>, <code>ImdsSupport</code>, or <code>LaunchPermission</code>.</p>
30
+ * <p>Modifies the specified attribute of the specified AMI. You can specify only one attribute
31
+ * at a time.</p>
32
+ * <p>To specify the attribute, you can use the <code>Attribute</code> parameter, or one of the
33
+ * following parameters: <code>Description</code>, <code>ImdsSupport</code>, or
34
+ * <code>LaunchPermission</code>.</p>
33
35
  * <p>Images with an Amazon Web Services Marketplace product code cannot be made public.</p>
34
- * <p>To enable the SriovNetSupport enhanced networking attribute of an image, enable SriovNetSupport on an instance
35
- * and create an AMI from the instance.</p>
36
+ * <p>To enable the SriovNetSupport enhanced networking attribute of an image, enable
37
+ * SriovNetSupport on an instance and create an AMI from the instance.</p>
36
38
  * @example
37
39
  * Use a bare-bones client and the command you need to make an API call.
38
40
  * ```javascript
@@ -59,6 +59,10 @@ declare const ModifyLaunchTemplateCommand_base: {
59
59
  * // Value: "STRING_VALUE",
60
60
  * // },
61
61
  * // ],
62
+ * // Operator: { // OperatorResponse
63
+ * // Managed: true || false,
64
+ * // Principal: "STRING_VALUE",
65
+ * // },
62
66
  * // },
63
67
  * // };
64
68
  *
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { ModifyVerifiedAccessEndpointRequest, ModifyVerifiedAccessEndpointResult } from "../models/models_6";
4
+ import { ModifyVerifiedAccessEndpointRequest, ModifyVerifiedAccessEndpointResult } from "../models/models_7";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { ModifyVerifiedAccessEndpointPolicyRequest, ModifyVerifiedAccessEndpointPolicyResult } from "../models/models_6";
4
+ import { ModifyVerifiedAccessEndpointPolicyRequest, ModifyVerifiedAccessEndpointPolicyResult } from "../models/models_7";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { ModifyVerifiedAccessGroupRequest, ModifyVerifiedAccessGroupResult } from "../models/models_6";
4
+ import { ModifyVerifiedAccessGroupRequest, ModifyVerifiedAccessGroupResult } from "../models/models_7";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { ModifyVerifiedAccessGroupPolicyRequest, ModifyVerifiedAccessGroupPolicyResult } from "../models/models_6";
4
+ import { ModifyVerifiedAccessGroupPolicyRequest, ModifyVerifiedAccessGroupPolicyResult } from "../models/models_7";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { ModifyVerifiedAccessInstanceRequest, ModifyVerifiedAccessInstanceResult } from "../models/models_6";
4
+ import { ModifyVerifiedAccessInstanceRequest, ModifyVerifiedAccessInstanceResult } from "../models/models_7";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { ModifyVerifiedAccessInstanceLoggingConfigurationRequest, ModifyVerifiedAccessInstanceLoggingConfigurationResult } from "../models/models_6";
4
+ import { ModifyVerifiedAccessInstanceLoggingConfigurationRequest, ModifyVerifiedAccessInstanceLoggingConfigurationResult } from "../models/models_7";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -0,0 +1,88 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
+ import { ModifyVpcBlockPublicAccessExclusionRequest, ModifyVpcBlockPublicAccessExclusionResult } from "../models/models_7";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ModifyVpcBlockPublicAccessExclusionCommand}.
14
+ */
15
+ export interface ModifyVpcBlockPublicAccessExclusionCommandInput extends ModifyVpcBlockPublicAccessExclusionRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ModifyVpcBlockPublicAccessExclusionCommand}.
21
+ */
22
+ export interface ModifyVpcBlockPublicAccessExclusionCommandOutput extends ModifyVpcBlockPublicAccessExclusionResult, __MetadataBearer {
23
+ }
24
+ declare const ModifyVpcBlockPublicAccessExclusionCommand_base: {
25
+ new (input: ModifyVpcBlockPublicAccessExclusionCommandInput): import("@smithy/smithy-client").CommandImpl<ModifyVpcBlockPublicAccessExclusionCommandInput, ModifyVpcBlockPublicAccessExclusionCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ModifyVpcBlockPublicAccessExclusionCommandInput): import("@smithy/smithy-client").CommandImpl<ModifyVpcBlockPublicAccessExclusionCommandInput, ModifyVpcBlockPublicAccessExclusionCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Modify VPC Block Public Access (BPA) exclusions. A VPC BPA exclusion is a mode that can be applied to a single VPC or subnet that exempts it from the account’s BPA mode and will allow bidirectional or egress-only access. You can create BPA exclusions for VPCs and subnets even when BPA is not enabled on the account to ensure that there is no traffic disruption to the exclusions when VPC BPA is turned on.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { EC2Client, ModifyVpcBlockPublicAccessExclusionCommand } from "@aws-sdk/client-ec2"; // ES Modules import
35
+ * // const { EC2Client, ModifyVpcBlockPublicAccessExclusionCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
36
+ * const client = new EC2Client(config);
37
+ * const input = { // ModifyVpcBlockPublicAccessExclusionRequest
38
+ * DryRun: true || false,
39
+ * ExclusionId: "STRING_VALUE", // required
40
+ * InternetGatewayExclusionMode: "allow-bidirectional" || "allow-egress", // required
41
+ * };
42
+ * const command = new ModifyVpcBlockPublicAccessExclusionCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // ModifyVpcBlockPublicAccessExclusionResult
45
+ * // VpcBlockPublicAccessExclusion: { // VpcBlockPublicAccessExclusion
46
+ * // ExclusionId: "STRING_VALUE",
47
+ * // InternetGatewayExclusionMode: "allow-bidirectional" || "allow-egress",
48
+ * // ResourceArn: "STRING_VALUE",
49
+ * // State: "create-in-progress" || "create-complete" || "create-failed" || "update-in-progress" || "update-complete" || "update-failed" || "delete-in-progress" || "delete-complete" || "disable-in-progress" || "disable-complete",
50
+ * // Reason: "STRING_VALUE",
51
+ * // CreationTimestamp: new Date("TIMESTAMP"),
52
+ * // LastUpdateTimestamp: new Date("TIMESTAMP"),
53
+ * // DeletionTimestamp: new Date("TIMESTAMP"),
54
+ * // Tags: [ // TagList
55
+ * // { // Tag
56
+ * // Key: "STRING_VALUE",
57
+ * // Value: "STRING_VALUE",
58
+ * // },
59
+ * // ],
60
+ * // },
61
+ * // };
62
+ *
63
+ * ```
64
+ *
65
+ * @param ModifyVpcBlockPublicAccessExclusionCommandInput - {@link ModifyVpcBlockPublicAccessExclusionCommandInput}
66
+ * @returns {@link ModifyVpcBlockPublicAccessExclusionCommandOutput}
67
+ * @see {@link ModifyVpcBlockPublicAccessExclusionCommandInput} for command's `input` shape.
68
+ * @see {@link ModifyVpcBlockPublicAccessExclusionCommandOutput} for command's `response` shape.
69
+ * @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
70
+ *
71
+ * @throws {@link EC2ServiceException}
72
+ * <p>Base exception class for all service exceptions from EC2 service.</p>
73
+ *
74
+ * @public
75
+ */
76
+ export declare class ModifyVpcBlockPublicAccessExclusionCommand extends ModifyVpcBlockPublicAccessExclusionCommand_base {
77
+ /** @internal type navigation helper, not in runtime. */
78
+ protected static __types: {
79
+ api: {
80
+ input: ModifyVpcBlockPublicAccessExclusionRequest;
81
+ output: ModifyVpcBlockPublicAccessExclusionResult;
82
+ };
83
+ sdk: {
84
+ input: ModifyVpcBlockPublicAccessExclusionCommandInput;
85
+ output: ModifyVpcBlockPublicAccessExclusionCommandOutput;
86
+ };
87
+ };
88
+ }
@@ -0,0 +1,79 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
+ import { ModifyVpcBlockPublicAccessOptionsRequest, ModifyVpcBlockPublicAccessOptionsResult } from "../models/models_7";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ModifyVpcBlockPublicAccessOptionsCommand}.
14
+ */
15
+ export interface ModifyVpcBlockPublicAccessOptionsCommandInput extends ModifyVpcBlockPublicAccessOptionsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ModifyVpcBlockPublicAccessOptionsCommand}.
21
+ */
22
+ export interface ModifyVpcBlockPublicAccessOptionsCommandOutput extends ModifyVpcBlockPublicAccessOptionsResult, __MetadataBearer {
23
+ }
24
+ declare const ModifyVpcBlockPublicAccessOptionsCommand_base: {
25
+ new (input: ModifyVpcBlockPublicAccessOptionsCommandInput): import("@smithy/smithy-client").CommandImpl<ModifyVpcBlockPublicAccessOptionsCommandInput, ModifyVpcBlockPublicAccessOptionsCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ModifyVpcBlockPublicAccessOptionsCommandInput): import("@smithy/smithy-client").CommandImpl<ModifyVpcBlockPublicAccessOptionsCommandInput, ModifyVpcBlockPublicAccessOptionsCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Modify VPC Block Public Access (BPA) options. VPC Block public Access (BPA) enables you to block resources in VPCs and subnets that you own in a Region from reaching or being reached from the internet through internet gateways and egress-only internet gateways. To learn more about VPC BPA, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/security-vpc-bpa.html">Block public access to VPCs and subnets</a> in the <i>Amazon VPC User Guide</i>.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { EC2Client, ModifyVpcBlockPublicAccessOptionsCommand } from "@aws-sdk/client-ec2"; // ES Modules import
35
+ * // const { EC2Client, ModifyVpcBlockPublicAccessOptionsCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
36
+ * const client = new EC2Client(config);
37
+ * const input = { // ModifyVpcBlockPublicAccessOptionsRequest
38
+ * DryRun: true || false,
39
+ * InternetGatewayBlockMode: "off" || "block-bidirectional" || "block-ingress", // required
40
+ * };
41
+ * const command = new ModifyVpcBlockPublicAccessOptionsCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // ModifyVpcBlockPublicAccessOptionsResult
44
+ * // VpcBlockPublicAccessOptions: { // VpcBlockPublicAccessOptions
45
+ * // AwsAccountId: "STRING_VALUE",
46
+ * // AwsRegion: "STRING_VALUE",
47
+ * // State: "default-state" || "update-in-progress" || "update-complete",
48
+ * // InternetGatewayBlockMode: "off" || "block-bidirectional" || "block-ingress",
49
+ * // Reason: "STRING_VALUE",
50
+ * // LastUpdateTimestamp: new Date("TIMESTAMP"),
51
+ * // },
52
+ * // };
53
+ *
54
+ * ```
55
+ *
56
+ * @param ModifyVpcBlockPublicAccessOptionsCommandInput - {@link ModifyVpcBlockPublicAccessOptionsCommandInput}
57
+ * @returns {@link ModifyVpcBlockPublicAccessOptionsCommandOutput}
58
+ * @see {@link ModifyVpcBlockPublicAccessOptionsCommandInput} for command's `input` shape.
59
+ * @see {@link ModifyVpcBlockPublicAccessOptionsCommandOutput} for command's `response` shape.
60
+ * @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
61
+ *
62
+ * @throws {@link EC2ServiceException}
63
+ * <p>Base exception class for all service exceptions from EC2 service.</p>
64
+ *
65
+ * @public
66
+ */
67
+ export declare class ModifyVpcBlockPublicAccessOptionsCommand extends ModifyVpcBlockPublicAccessOptionsCommand_base {
68
+ /** @internal type navigation helper, not in runtime. */
69
+ protected static __types: {
70
+ api: {
71
+ input: ModifyVpcBlockPublicAccessOptionsRequest;
72
+ output: ModifyVpcBlockPublicAccessOptionsResult;
73
+ };
74
+ sdk: {
75
+ input: ModifyVpcBlockPublicAccessOptionsCommandInput;
76
+ output: ModifyVpcBlockPublicAccessOptionsCommandOutput;
77
+ };
78
+ };
79
+ }