@aws-sdk/client-ec2 3.441.0 → 3.448.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 (52) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/EC2.js +6 -0
  3. package/dist-cjs/commands/DisableSnapshotBlockPublicAccessCommand.js +51 -0
  4. package/dist-cjs/commands/EnableSnapshotBlockPublicAccessCommand.js +51 -0
  5. package/dist-cjs/commands/GetSnapshotBlockPublicAccessStateCommand.js +51 -0
  6. package/dist-cjs/commands/index.js +3 -0
  7. package/dist-cjs/models/models_5.js +6 -1
  8. package/dist-cjs/protocols/Aws_ec2.js +177 -18
  9. package/dist-es/EC2.js +6 -0
  10. package/dist-es/commands/DisableSnapshotBlockPublicAccessCommand.js +47 -0
  11. package/dist-es/commands/EnableSnapshotBlockPublicAccessCommand.js +47 -0
  12. package/dist-es/commands/GetSnapshotBlockPublicAccessStateCommand.js +47 -0
  13. package/dist-es/commands/index.js +3 -0
  14. package/dist-es/models/models_5.js +5 -0
  15. package/dist-es/protocols/Aws_ec2.js +153 -0
  16. package/dist-types/EC2.d.ts +21 -0
  17. package/dist-types/EC2Client.d.ts +5 -2
  18. package/dist-types/commands/DisableSnapshotBlockPublicAccessCommand.d.ts +81 -0
  19. package/dist-types/commands/EnableSnapshotBlockPublicAccessCommand.d.ts +85 -0
  20. package/dist-types/commands/GetSnapshotBlockPublicAccessStateCommand.d.ts +76 -0
  21. package/dist-types/commands/GetTransitGatewayMulticastDomainAssociationsCommand.d.ts +2 -1
  22. package/dist-types/commands/GetTransitGatewayPolicyTableAssociationsCommand.d.ts +1 -1
  23. package/dist-types/commands/GetTransitGatewayPolicyTableEntriesCommand.d.ts +1 -2
  24. package/dist-types/commands/RestoreImageFromRecycleBinCommand.d.ts +1 -1
  25. package/dist-types/commands/RestoreManagedPrefixListVersionCommand.d.ts +1 -1
  26. package/dist-types/commands/RestoreSnapshotFromRecycleBinCommand.d.ts +1 -1
  27. package/dist-types/commands/RestoreSnapshotTierCommand.d.ts +1 -2
  28. package/dist-types/commands/index.d.ts +3 -0
  29. package/dist-types/index.d.ts +2 -0
  30. package/dist-types/models/models_5.d.ts +129 -169
  31. package/dist-types/models/models_6.d.ts +172 -179
  32. package/dist-types/models/models_7.d.ts +178 -2
  33. package/dist-types/protocols/Aws_ec2.d.ts +27 -0
  34. package/dist-types/ts3.4/EC2.d.ts +57 -0
  35. package/dist-types/ts3.4/EC2Client.d.ts +18 -0
  36. package/dist-types/ts3.4/commands/DisableSnapshotBlockPublicAccessCommand.d.ts +42 -0
  37. package/dist-types/ts3.4/commands/EnableSnapshotBlockPublicAccessCommand.d.ts +42 -0
  38. package/dist-types/ts3.4/commands/GetSnapshotBlockPublicAccessStateCommand.d.ts +42 -0
  39. package/dist-types/ts3.4/commands/GetTransitGatewayMulticastDomainAssociationsCommand.d.ts +2 -4
  40. package/dist-types/ts3.4/commands/GetTransitGatewayPolicyTableAssociationsCommand.d.ts +1 -1
  41. package/dist-types/ts3.4/commands/GetTransitGatewayPolicyTableEntriesCommand.d.ts +4 -2
  42. package/dist-types/ts3.4/commands/RestoreImageFromRecycleBinCommand.d.ts +1 -1
  43. package/dist-types/ts3.4/commands/RestoreManagedPrefixListVersionCommand.d.ts +1 -1
  44. package/dist-types/ts3.4/commands/RestoreSnapshotFromRecycleBinCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/RestoreSnapshotTierCommand.d.ts +4 -2
  46. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  47. package/dist-types/ts3.4/index.d.ts +2 -0
  48. package/dist-types/ts3.4/models/models_5.d.ts +26 -39
  49. package/dist-types/ts3.4/models/models_6.d.ts +41 -42
  50. package/dist-types/ts3.4/models/models_7.d.ts +41 -1
  51. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +36 -0
  52. package/package.json +4 -4
@@ -1,9 +1,185 @@
1
1
  import { _InstanceType, ByoipCidr, ClientVpnAuthorizationRuleStatus, IamInstanceProfileSpecification, IpPermission, NatGatewayAddress, TagSpecification, TransitGatewayAttachmentResourceType } from "./models_0";
2
- import { AmdSevSnpSpecification, BlockDeviceMapping, CreditSpecificationRequest, ElasticGpuSpecification, HostnameType, InstanceInterruptionBehavior, InstanceIpv6Address, LocalGatewayRoute, MarketType, Placement, ShutdownBehavior, SpotInstanceType } from "./models_1";
3
- import { TransitGatewayRoute } from "./models_2";
2
+ import { AmdSevSnpSpecification, BlockDeviceMapping, CreditSpecificationRequest, ElasticGpuSpecification, HostnameType, InstanceInterruptionBehavior, InstanceIpv6Address, LocalGatewayRoute, ManagedPrefixList, MarketType, Placement, ShutdownBehavior, SpotInstanceType } from "./models_1";
3
+ import { SnapshotState, SSEType, TransitGatewayRoute } from "./models_2";
4
4
  import { ClientVpnConnectionStatus, Filter } from "./models_3";
5
5
  import { HttpTokensState, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceNetworkInterfaceSpecification, InstanceState, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis, RunInstancesMonitoringEnabled } from "./models_4";
6
6
  import { CapacityReservationSpecification, InstanceMonitoring } from "./models_6";
7
+ /**
8
+ * @public
9
+ */
10
+ export interface RestoreImageFromRecycleBinRequest {
11
+ /**
12
+ * @public
13
+ * <p>The ID of the AMI to restore.</p>
14
+ */
15
+ ImageId: string | undefined;
16
+ /**
17
+ * @public
18
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
19
+ * and provides an error response. If you have the required permissions, the error response is
20
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
21
+ */
22
+ DryRun?: boolean;
23
+ }
24
+ /**
25
+ * @public
26
+ */
27
+ export interface RestoreImageFromRecycleBinResult {
28
+ /**
29
+ * @public
30
+ * <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
31
+ */
32
+ Return?: boolean;
33
+ }
34
+ /**
35
+ * @public
36
+ */
37
+ export interface RestoreManagedPrefixListVersionRequest {
38
+ /**
39
+ * @public
40
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
41
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
42
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
43
+ */
44
+ DryRun?: boolean;
45
+ /**
46
+ * @public
47
+ * <p>The ID of the prefix list.</p>
48
+ */
49
+ PrefixListId: string | undefined;
50
+ /**
51
+ * @public
52
+ * <p>The version to restore.</p>
53
+ */
54
+ PreviousVersion: number | undefined;
55
+ /**
56
+ * @public
57
+ * <p>The current version number for the prefix list.</p>
58
+ */
59
+ CurrentVersion: number | undefined;
60
+ }
61
+ /**
62
+ * @public
63
+ */
64
+ export interface RestoreManagedPrefixListVersionResult {
65
+ /**
66
+ * @public
67
+ * <p>Information about the prefix list.</p>
68
+ */
69
+ PrefixList?: ManagedPrefixList;
70
+ }
71
+ /**
72
+ * @public
73
+ */
74
+ export interface RestoreSnapshotFromRecycleBinRequest {
75
+ /**
76
+ * @public
77
+ * <p>The ID of the snapshot to restore.</p>
78
+ */
79
+ SnapshotId: string | undefined;
80
+ /**
81
+ * @public
82
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
83
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
84
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
85
+ */
86
+ DryRun?: boolean;
87
+ }
88
+ /**
89
+ * @public
90
+ */
91
+ export interface RestoreSnapshotFromRecycleBinResult {
92
+ /**
93
+ * @public
94
+ * <p>The ID of the snapshot.</p>
95
+ */
96
+ SnapshotId?: string;
97
+ /**
98
+ * @public
99
+ * <p>The ARN of the Outpost on which the snapshot is stored. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html">Amazon EBS local snapshots on Outposts</a> in the
100
+ * <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
101
+ */
102
+ OutpostArn?: string;
103
+ /**
104
+ * @public
105
+ * <p>The description for the snapshot.</p>
106
+ */
107
+ Description?: string;
108
+ /**
109
+ * @public
110
+ * <p>Indicates whether the snapshot is encrypted.</p>
111
+ */
112
+ Encrypted?: boolean;
113
+ /**
114
+ * @public
115
+ * <p>The ID of the Amazon Web Services account that owns the EBS snapshot.</p>
116
+ */
117
+ OwnerId?: string;
118
+ /**
119
+ * @public
120
+ * <p>The progress of the snapshot, as a percentage.</p>
121
+ */
122
+ Progress?: string;
123
+ /**
124
+ * @public
125
+ * <p>The time stamp when the snapshot was initiated.</p>
126
+ */
127
+ StartTime?: Date;
128
+ /**
129
+ * @public
130
+ * <p>The state of the snapshot.</p>
131
+ */
132
+ State?: SnapshotState;
133
+ /**
134
+ * @public
135
+ * <p>The ID of the volume that was used to create the snapshot.</p>
136
+ */
137
+ VolumeId?: string;
138
+ /**
139
+ * @public
140
+ * <p>The size of the volume, in GiB.</p>
141
+ */
142
+ VolumeSize?: number;
143
+ /**
144
+ * @public
145
+ * <p>Reserved for future use.</p>
146
+ */
147
+ SseType?: SSEType;
148
+ }
149
+ /**
150
+ * @public
151
+ */
152
+ export interface RestoreSnapshotTierRequest {
153
+ /**
154
+ * @public
155
+ * <p>The ID of the snapshot to restore.</p>
156
+ */
157
+ SnapshotId: string | undefined;
158
+ /**
159
+ * @public
160
+ * <p>Specifies the number of days for which to temporarily restore an archived snapshot.
161
+ * Required for temporary restores only. The snapshot will be automatically re-archived
162
+ * after this period.</p>
163
+ * <p>To temporarily restore an archived snapshot, specify the number of days and omit
164
+ * the <b>PermanentRestore</b> parameter or set it to
165
+ * <code>false</code>.</p>
166
+ */
167
+ TemporaryRestoreDays?: number;
168
+ /**
169
+ * @public
170
+ * <p>Indicates whether to permanently restore an archived snapshot. To permanently restore
171
+ * an archived snapshot, specify <code>true</code> and omit the
172
+ * <b>RestoreSnapshotTierRequest$TemporaryRestoreDays</b> parameter.</p>
173
+ */
174
+ PermanentRestore?: boolean;
175
+ /**
176
+ * @public
177
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
178
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
179
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
180
+ */
181
+ DryRun?: boolean;
182
+ }
7
183
  /**
8
184
  * @public
9
185
  */
@@ -379,6 +379,7 @@ import { DisableImageCommandInput, DisableImageCommandOutput } from "../commands
379
379
  import { DisableImageDeprecationCommandInput, DisableImageDeprecationCommandOutput } from "../commands/DisableImageDeprecationCommand";
380
380
  import { DisableIpamOrganizationAdminAccountCommandInput, DisableIpamOrganizationAdminAccountCommandOutput } from "../commands/DisableIpamOrganizationAdminAccountCommand";
381
381
  import { DisableSerialConsoleAccessCommandInput, DisableSerialConsoleAccessCommandOutput } from "../commands/DisableSerialConsoleAccessCommand";
382
+ import { DisableSnapshotBlockPublicAccessCommandInput, DisableSnapshotBlockPublicAccessCommandOutput } from "../commands/DisableSnapshotBlockPublicAccessCommand";
382
383
  import { DisableTransitGatewayRouteTablePropagationCommandInput, DisableTransitGatewayRouteTablePropagationCommandOutput } from "../commands/DisableTransitGatewayRouteTablePropagationCommand";
383
384
  import { DisableVgwRoutePropagationCommandInput, DisableVgwRoutePropagationCommandOutput } from "../commands/DisableVgwRoutePropagationCommand";
384
385
  import { DisableVpcClassicLinkCommandInput, DisableVpcClassicLinkCommandOutput } from "../commands/DisableVpcClassicLinkCommand";
@@ -408,6 +409,7 @@ import { EnableImageDeprecationCommandInput, EnableImageDeprecationCommandOutput
408
409
  import { EnableIpamOrganizationAdminAccountCommandInput, EnableIpamOrganizationAdminAccountCommandOutput } from "../commands/EnableIpamOrganizationAdminAccountCommand";
409
410
  import { EnableReachabilityAnalyzerOrganizationSharingCommandInput, EnableReachabilityAnalyzerOrganizationSharingCommandOutput } from "../commands/EnableReachabilityAnalyzerOrganizationSharingCommand";
410
411
  import { EnableSerialConsoleAccessCommandInput, EnableSerialConsoleAccessCommandOutput } from "../commands/EnableSerialConsoleAccessCommand";
412
+ import { EnableSnapshotBlockPublicAccessCommandInput, EnableSnapshotBlockPublicAccessCommandOutput } from "../commands/EnableSnapshotBlockPublicAccessCommand";
411
413
  import { EnableTransitGatewayRouteTablePropagationCommandInput, EnableTransitGatewayRouteTablePropagationCommandOutput } from "../commands/EnableTransitGatewayRouteTablePropagationCommand";
412
414
  import { EnableVgwRoutePropagationCommandInput, EnableVgwRoutePropagationCommandOutput } from "../commands/EnableVgwRoutePropagationCommand";
413
415
  import { EnableVolumeIOCommandInput, EnableVolumeIOCommandOutput } from "../commands/EnableVolumeIOCommand";
@@ -448,6 +450,7 @@ import { GetPasswordDataCommandInput, GetPasswordDataCommandOutput } from "../co
448
450
  import { GetReservedInstancesExchangeQuoteCommandInput, GetReservedInstancesExchangeQuoteCommandOutput } from "../commands/GetReservedInstancesExchangeQuoteCommand";
449
451
  import { GetSecurityGroupsForVpcCommandInput, GetSecurityGroupsForVpcCommandOutput } from "../commands/GetSecurityGroupsForVpcCommand";
450
452
  import { GetSerialConsoleAccessStatusCommandInput, GetSerialConsoleAccessStatusCommandOutput } from "../commands/GetSerialConsoleAccessStatusCommand";
453
+ import { GetSnapshotBlockPublicAccessStateCommandInput, GetSnapshotBlockPublicAccessStateCommandOutput } from "../commands/GetSnapshotBlockPublicAccessStateCommand";
451
454
  import { GetSpotPlacementScoresCommandInput, GetSpotPlacementScoresCommandOutput } from "../commands/GetSpotPlacementScoresCommand";
452
455
  import { GetSubnetCidrReservationsCommandInput, GetSubnetCidrReservationsCommandOutput } from "../commands/GetSubnetCidrReservationsCommand";
453
456
  import { GetTransitGatewayAttachmentPropagationsCommandInput, GetTransitGatewayAttachmentPropagationsCommandOutput } from "../commands/GetTransitGatewayAttachmentPropagationsCommand";
@@ -2118,6 +2121,10 @@ export declare const se_DisableIpamOrganizationAdminAccountCommand: (input: Disa
2118
2121
  * serializeAws_ec2DisableSerialConsoleAccessCommand
2119
2122
  */
2120
2123
  export declare const se_DisableSerialConsoleAccessCommand: (input: DisableSerialConsoleAccessCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
2124
+ /**
2125
+ * serializeAws_ec2DisableSnapshotBlockPublicAccessCommand
2126
+ */
2127
+ export declare const se_DisableSnapshotBlockPublicAccessCommand: (input: DisableSnapshotBlockPublicAccessCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
2121
2128
  /**
2122
2129
  * serializeAws_ec2DisableTransitGatewayRouteTablePropagationCommand
2123
2130
  */
@@ -2234,6 +2241,10 @@ export declare const se_EnableReachabilityAnalyzerOrganizationSharingCommand: (i
2234
2241
  * serializeAws_ec2EnableSerialConsoleAccessCommand
2235
2242
  */
2236
2243
  export declare const se_EnableSerialConsoleAccessCommand: (input: EnableSerialConsoleAccessCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
2244
+ /**
2245
+ * serializeAws_ec2EnableSnapshotBlockPublicAccessCommand
2246
+ */
2247
+ export declare const se_EnableSnapshotBlockPublicAccessCommand: (input: EnableSnapshotBlockPublicAccessCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
2237
2248
  /**
2238
2249
  * serializeAws_ec2EnableTransitGatewayRouteTablePropagationCommand
2239
2250
  */
@@ -2394,6 +2405,10 @@ export declare const se_GetSecurityGroupsForVpcCommand: (input: GetSecurityGroup
2394
2405
  * serializeAws_ec2GetSerialConsoleAccessStatusCommand
2395
2406
  */
2396
2407
  export declare const se_GetSerialConsoleAccessStatusCommand: (input: GetSerialConsoleAccessStatusCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
2408
+ /**
2409
+ * serializeAws_ec2GetSnapshotBlockPublicAccessStateCommand
2410
+ */
2411
+ export declare const se_GetSnapshotBlockPublicAccessStateCommand: (input: GetSnapshotBlockPublicAccessStateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
2397
2412
  /**
2398
2413
  * serializeAws_ec2GetSpotPlacementScoresCommand
2399
2414
  */
@@ -4526,6 +4541,10 @@ export declare const de_DisableIpamOrganizationAdminAccountCommand: (output: __H
4526
4541
  * deserializeAws_ec2DisableSerialConsoleAccessCommand
4527
4542
  */
4528
4543
  export declare const de_DisableSerialConsoleAccessCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisableSerialConsoleAccessCommandOutput>;
4544
+ /**
4545
+ * deserializeAws_ec2DisableSnapshotBlockPublicAccessCommand
4546
+ */
4547
+ export declare const de_DisableSnapshotBlockPublicAccessCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisableSnapshotBlockPublicAccessCommandOutput>;
4529
4548
  /**
4530
4549
  * deserializeAws_ec2DisableTransitGatewayRouteTablePropagationCommand
4531
4550
  */
@@ -4642,6 +4661,10 @@ export declare const de_EnableReachabilityAnalyzerOrganizationSharingCommand: (o
4642
4661
  * deserializeAws_ec2EnableSerialConsoleAccessCommand
4643
4662
  */
4644
4663
  export declare const de_EnableSerialConsoleAccessCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<EnableSerialConsoleAccessCommandOutput>;
4664
+ /**
4665
+ * deserializeAws_ec2EnableSnapshotBlockPublicAccessCommand
4666
+ */
4667
+ export declare const de_EnableSnapshotBlockPublicAccessCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<EnableSnapshotBlockPublicAccessCommandOutput>;
4645
4668
  /**
4646
4669
  * deserializeAws_ec2EnableTransitGatewayRouteTablePropagationCommand
4647
4670
  */
@@ -4802,6 +4825,10 @@ export declare const de_GetSecurityGroupsForVpcCommand: (output: __HttpResponse,
4802
4825
  * deserializeAws_ec2GetSerialConsoleAccessStatusCommand
4803
4826
  */
4804
4827
  export declare const de_GetSerialConsoleAccessStatusCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetSerialConsoleAccessStatusCommandOutput>;
4828
+ /**
4829
+ * deserializeAws_ec2GetSnapshotBlockPublicAccessStateCommand
4830
+ */
4831
+ export declare const de_GetSnapshotBlockPublicAccessStateCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetSnapshotBlockPublicAccessStateCommandOutput>;
4805
4832
  /**
4806
4833
  * deserializeAws_ec2GetSpotPlacementScoresCommand
4807
4834
  */
@@ -1515,6 +1515,10 @@ import {
1515
1515
  DisableSerialConsoleAccessCommandInput,
1516
1516
  DisableSerialConsoleAccessCommandOutput,
1517
1517
  } from "./commands/DisableSerialConsoleAccessCommand";
1518
+ import {
1519
+ DisableSnapshotBlockPublicAccessCommandInput,
1520
+ DisableSnapshotBlockPublicAccessCommandOutput,
1521
+ } from "./commands/DisableSnapshotBlockPublicAccessCommand";
1518
1522
  import {
1519
1523
  DisableTransitGatewayRouteTablePropagationCommandInput,
1520
1524
  DisableTransitGatewayRouteTablePropagationCommandOutput,
@@ -1631,6 +1635,10 @@ import {
1631
1635
  EnableSerialConsoleAccessCommandInput,
1632
1636
  EnableSerialConsoleAccessCommandOutput,
1633
1637
  } from "./commands/EnableSerialConsoleAccessCommand";
1638
+ import {
1639
+ EnableSnapshotBlockPublicAccessCommandInput,
1640
+ EnableSnapshotBlockPublicAccessCommandOutput,
1641
+ } from "./commands/EnableSnapshotBlockPublicAccessCommand";
1634
1642
  import {
1635
1643
  EnableTransitGatewayRouteTablePropagationCommandInput,
1636
1644
  EnableTransitGatewayRouteTablePropagationCommandOutput,
@@ -1791,6 +1799,10 @@ import {
1791
1799
  GetSerialConsoleAccessStatusCommandInput,
1792
1800
  GetSerialConsoleAccessStatusCommandOutput,
1793
1801
  } from "./commands/GetSerialConsoleAccessStatusCommand";
1802
+ import {
1803
+ GetSnapshotBlockPublicAccessStateCommandInput,
1804
+ GetSnapshotBlockPublicAccessStateCommandOutput,
1805
+ } from "./commands/GetSnapshotBlockPublicAccessStateCommand";
1794
1806
  import {
1795
1807
  GetSpotPlacementScoresCommandInput,
1796
1808
  GetSpotPlacementScoresCommandOutput,
@@ -7762,6 +7774,19 @@ export interface EC2 {
7762
7774
  options: __HttpHandlerOptions,
7763
7775
  cb: (err: any, data?: DisableSerialConsoleAccessCommandOutput) => void
7764
7776
  ): void;
7777
+ disableSnapshotBlockPublicAccess(
7778
+ args: DisableSnapshotBlockPublicAccessCommandInput,
7779
+ options?: __HttpHandlerOptions
7780
+ ): Promise<DisableSnapshotBlockPublicAccessCommandOutput>;
7781
+ disableSnapshotBlockPublicAccess(
7782
+ args: DisableSnapshotBlockPublicAccessCommandInput,
7783
+ cb: (err: any, data?: DisableSnapshotBlockPublicAccessCommandOutput) => void
7784
+ ): void;
7785
+ disableSnapshotBlockPublicAccess(
7786
+ args: DisableSnapshotBlockPublicAccessCommandInput,
7787
+ options: __HttpHandlerOptions,
7788
+ cb: (err: any, data?: DisableSnapshotBlockPublicAccessCommandOutput) => void
7789
+ ): void;
7765
7790
  disableTransitGatewayRouteTablePropagation(
7766
7791
  args: DisableTransitGatewayRouteTablePropagationCommandInput,
7767
7792
  options?: __HttpHandlerOptions
@@ -8199,6 +8224,19 @@ export interface EC2 {
8199
8224
  options: __HttpHandlerOptions,
8200
8225
  cb: (err: any, data?: EnableSerialConsoleAccessCommandOutput) => void
8201
8226
  ): void;
8227
+ enableSnapshotBlockPublicAccess(
8228
+ args: EnableSnapshotBlockPublicAccessCommandInput,
8229
+ options?: __HttpHandlerOptions
8230
+ ): Promise<EnableSnapshotBlockPublicAccessCommandOutput>;
8231
+ enableSnapshotBlockPublicAccess(
8232
+ args: EnableSnapshotBlockPublicAccessCommandInput,
8233
+ cb: (err: any, data?: EnableSnapshotBlockPublicAccessCommandOutput) => void
8234
+ ): void;
8235
+ enableSnapshotBlockPublicAccess(
8236
+ args: EnableSnapshotBlockPublicAccessCommandInput,
8237
+ options: __HttpHandlerOptions,
8238
+ cb: (err: any, data?: EnableSnapshotBlockPublicAccessCommandOutput) => void
8239
+ ): void;
8202
8240
  enableTransitGatewayRouteTablePropagation(
8203
8241
  args: EnableTransitGatewayRouteTablePropagationCommandInput,
8204
8242
  options?: __HttpHandlerOptions
@@ -8773,6 +8811,25 @@ export interface EC2 {
8773
8811
  options: __HttpHandlerOptions,
8774
8812
  cb: (err: any, data?: GetSerialConsoleAccessStatusCommandOutput) => void
8775
8813
  ): void;
8814
+ getSnapshotBlockPublicAccessState(
8815
+ args: GetSnapshotBlockPublicAccessStateCommandInput,
8816
+ options?: __HttpHandlerOptions
8817
+ ): Promise<GetSnapshotBlockPublicAccessStateCommandOutput>;
8818
+ getSnapshotBlockPublicAccessState(
8819
+ args: GetSnapshotBlockPublicAccessStateCommandInput,
8820
+ cb: (
8821
+ err: any,
8822
+ data?: GetSnapshotBlockPublicAccessStateCommandOutput
8823
+ ) => void
8824
+ ): void;
8825
+ getSnapshotBlockPublicAccessState(
8826
+ args: GetSnapshotBlockPublicAccessStateCommandInput,
8827
+ options: __HttpHandlerOptions,
8828
+ cb: (
8829
+ err: any,
8830
+ data?: GetSnapshotBlockPublicAccessStateCommandOutput
8831
+ ) => void
8832
+ ): void;
8776
8833
  getSpotPlacementScores(
8777
8834
  args: GetSpotPlacementScoresCommandInput,
8778
8835
  options?: __HttpHandlerOptions
@@ -1561,6 +1561,10 @@ import {
1561
1561
  DisableSerialConsoleAccessCommandInput,
1562
1562
  DisableSerialConsoleAccessCommandOutput,
1563
1563
  } from "./commands/DisableSerialConsoleAccessCommand";
1564
+ import {
1565
+ DisableSnapshotBlockPublicAccessCommandInput,
1566
+ DisableSnapshotBlockPublicAccessCommandOutput,
1567
+ } from "./commands/DisableSnapshotBlockPublicAccessCommand";
1564
1568
  import {
1565
1569
  DisableTransitGatewayRouteTablePropagationCommandInput,
1566
1570
  DisableTransitGatewayRouteTablePropagationCommandOutput,
@@ -1677,6 +1681,10 @@ import {
1677
1681
  EnableSerialConsoleAccessCommandInput,
1678
1682
  EnableSerialConsoleAccessCommandOutput,
1679
1683
  } from "./commands/EnableSerialConsoleAccessCommand";
1684
+ import {
1685
+ EnableSnapshotBlockPublicAccessCommandInput,
1686
+ EnableSnapshotBlockPublicAccessCommandOutput,
1687
+ } from "./commands/EnableSnapshotBlockPublicAccessCommand";
1680
1688
  import {
1681
1689
  EnableTransitGatewayRouteTablePropagationCommandInput,
1682
1690
  EnableTransitGatewayRouteTablePropagationCommandOutput,
@@ -1837,6 +1845,10 @@ import {
1837
1845
  GetSerialConsoleAccessStatusCommandInput,
1838
1846
  GetSerialConsoleAccessStatusCommandOutput,
1839
1847
  } from "./commands/GetSerialConsoleAccessStatusCommand";
1848
+ import {
1849
+ GetSnapshotBlockPublicAccessStateCommandInput,
1850
+ GetSnapshotBlockPublicAccessStateCommandOutput,
1851
+ } from "./commands/GetSnapshotBlockPublicAccessStateCommand";
1840
1852
  import {
1841
1853
  GetSpotPlacementScoresCommandInput,
1842
1854
  GetSpotPlacementScoresCommandOutput,
@@ -2840,6 +2852,7 @@ export type ServiceInputTypes =
2840
2852
  | DisableImageDeprecationCommandInput
2841
2853
  | DisableIpamOrganizationAdminAccountCommandInput
2842
2854
  | DisableSerialConsoleAccessCommandInput
2855
+ | DisableSnapshotBlockPublicAccessCommandInput
2843
2856
  | DisableTransitGatewayRouteTablePropagationCommandInput
2844
2857
  | DisableVgwRoutePropagationCommandInput
2845
2858
  | DisableVpcClassicLinkCommandInput
@@ -2869,6 +2882,7 @@ export type ServiceInputTypes =
2869
2882
  | EnableIpamOrganizationAdminAccountCommandInput
2870
2883
  | EnableReachabilityAnalyzerOrganizationSharingCommandInput
2871
2884
  | EnableSerialConsoleAccessCommandInput
2885
+ | EnableSnapshotBlockPublicAccessCommandInput
2872
2886
  | EnableTransitGatewayRouteTablePropagationCommandInput
2873
2887
  | EnableVgwRoutePropagationCommandInput
2874
2888
  | EnableVolumeIOCommandInput
@@ -2909,6 +2923,7 @@ export type ServiceInputTypes =
2909
2923
  | GetReservedInstancesExchangeQuoteCommandInput
2910
2924
  | GetSecurityGroupsForVpcCommandInput
2911
2925
  | GetSerialConsoleAccessStatusCommandInput
2926
+ | GetSnapshotBlockPublicAccessStateCommandInput
2912
2927
  | GetSpotPlacementScoresCommandInput
2913
2928
  | GetSubnetCidrReservationsCommandInput
2914
2929
  | GetTransitGatewayAttachmentPropagationsCommandInput
@@ -3443,6 +3458,7 @@ export type ServiceOutputTypes =
3443
3458
  | DisableImageDeprecationCommandOutput
3444
3459
  | DisableIpamOrganizationAdminAccountCommandOutput
3445
3460
  | DisableSerialConsoleAccessCommandOutput
3461
+ | DisableSnapshotBlockPublicAccessCommandOutput
3446
3462
  | DisableTransitGatewayRouteTablePropagationCommandOutput
3447
3463
  | DisableVgwRoutePropagationCommandOutput
3448
3464
  | DisableVpcClassicLinkCommandOutput
@@ -3472,6 +3488,7 @@ export type ServiceOutputTypes =
3472
3488
  | EnableIpamOrganizationAdminAccountCommandOutput
3473
3489
  | EnableReachabilityAnalyzerOrganizationSharingCommandOutput
3474
3490
  | EnableSerialConsoleAccessCommandOutput
3491
+ | EnableSnapshotBlockPublicAccessCommandOutput
3475
3492
  | EnableTransitGatewayRouteTablePropagationCommandOutput
3476
3493
  | EnableVgwRoutePropagationCommandOutput
3477
3494
  | EnableVolumeIOCommandOutput
@@ -3512,6 +3529,7 @@ export type ServiceOutputTypes =
3512
3529
  | GetReservedInstancesExchangeQuoteCommandOutput
3513
3530
  | GetSecurityGroupsForVpcCommandOutput
3514
3531
  | GetSerialConsoleAccessStatusCommandOutput
3532
+ | GetSnapshotBlockPublicAccessStateCommandOutput
3515
3533
  | GetSpotPlacementScoresCommandOutput
3516
3534
  | GetSubnetCidrReservationsCommandOutput
3517
3535
  | GetTransitGatewayAttachmentPropagationsCommandOutput
@@ -0,0 +1,42 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ EC2ClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../EC2Client";
14
+ import {
15
+ DisableSnapshotBlockPublicAccessRequest,
16
+ DisableSnapshotBlockPublicAccessResult,
17
+ } from "../models/models_5";
18
+ export { __MetadataBearer, $Command };
19
+ export interface DisableSnapshotBlockPublicAccessCommandInput
20
+ extends DisableSnapshotBlockPublicAccessRequest {}
21
+ export interface DisableSnapshotBlockPublicAccessCommandOutput
22
+ extends DisableSnapshotBlockPublicAccessResult,
23
+ __MetadataBearer {}
24
+ export declare class DisableSnapshotBlockPublicAccessCommand extends $Command<
25
+ DisableSnapshotBlockPublicAccessCommandInput,
26
+ DisableSnapshotBlockPublicAccessCommandOutput,
27
+ EC2ClientResolvedConfig
28
+ > {
29
+ readonly input: DisableSnapshotBlockPublicAccessCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: DisableSnapshotBlockPublicAccessCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: EC2ClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ DisableSnapshotBlockPublicAccessCommandInput,
38
+ DisableSnapshotBlockPublicAccessCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -0,0 +1,42 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ EC2ClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../EC2Client";
14
+ import {
15
+ EnableSnapshotBlockPublicAccessRequest,
16
+ EnableSnapshotBlockPublicAccessResult,
17
+ } from "../models/models_5";
18
+ export { __MetadataBearer, $Command };
19
+ export interface EnableSnapshotBlockPublicAccessCommandInput
20
+ extends EnableSnapshotBlockPublicAccessRequest {}
21
+ export interface EnableSnapshotBlockPublicAccessCommandOutput
22
+ extends EnableSnapshotBlockPublicAccessResult,
23
+ __MetadataBearer {}
24
+ export declare class EnableSnapshotBlockPublicAccessCommand extends $Command<
25
+ EnableSnapshotBlockPublicAccessCommandInput,
26
+ EnableSnapshotBlockPublicAccessCommandOutput,
27
+ EC2ClientResolvedConfig
28
+ > {
29
+ readonly input: EnableSnapshotBlockPublicAccessCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: EnableSnapshotBlockPublicAccessCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: EC2ClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ EnableSnapshotBlockPublicAccessCommandInput,
38
+ EnableSnapshotBlockPublicAccessCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -0,0 +1,42 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ EC2ClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../EC2Client";
14
+ import {
15
+ GetSnapshotBlockPublicAccessStateRequest,
16
+ GetSnapshotBlockPublicAccessStateResult,
17
+ } from "../models/models_5";
18
+ export { __MetadataBearer, $Command };
19
+ export interface GetSnapshotBlockPublicAccessStateCommandInput
20
+ extends GetSnapshotBlockPublicAccessStateRequest {}
21
+ export interface GetSnapshotBlockPublicAccessStateCommandOutput
22
+ extends GetSnapshotBlockPublicAccessStateResult,
23
+ __MetadataBearer {}
24
+ export declare class GetSnapshotBlockPublicAccessStateCommand extends $Command<
25
+ GetSnapshotBlockPublicAccessStateCommandInput,
26
+ GetSnapshotBlockPublicAccessStateCommandOutput,
27
+ EC2ClientResolvedConfig
28
+ > {
29
+ readonly input: GetSnapshotBlockPublicAccessStateCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: GetSnapshotBlockPublicAccessStateCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: EC2ClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ GetSnapshotBlockPublicAccessStateCommandInput,
38
+ GetSnapshotBlockPublicAccessStateCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -11,10 +11,8 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../EC2Client";
14
- import {
15
- GetTransitGatewayMulticastDomainAssociationsRequest,
16
- GetTransitGatewayMulticastDomainAssociationsResult,
17
- } from "../models/models_5";
14
+ import { GetTransitGatewayMulticastDomainAssociationsRequest } from "../models/models_5";
15
+ import { GetTransitGatewayMulticastDomainAssociationsResult } from "../models/models_6";
18
16
  export { __MetadataBearer, $Command };
19
17
  export interface GetTransitGatewayMulticastDomainAssociationsCommandInput
20
18
  extends GetTransitGatewayMulticastDomainAssociationsRequest {}
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  GetTransitGatewayPolicyTableAssociationsRequest,
16
16
  GetTransitGatewayPolicyTableAssociationsResult,
17
- } from "../models/models_5";
17
+ } from "../models/models_6";
18
18
  export { __MetadataBearer, $Command };
19
19
  export interface GetTransitGatewayPolicyTableAssociationsCommandInput
20
20
  extends GetTransitGatewayPolicyTableAssociationsRequest {}
@@ -11,8 +11,10 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../EC2Client";
14
- import { GetTransitGatewayPolicyTableEntriesRequest } from "../models/models_5";
15
- import { GetTransitGatewayPolicyTableEntriesResult } from "../models/models_6";
14
+ import {
15
+ GetTransitGatewayPolicyTableEntriesRequest,
16
+ GetTransitGatewayPolicyTableEntriesResult,
17
+ } from "../models/models_6";
16
18
  export { __MetadataBearer, $Command };
17
19
  export interface GetTransitGatewayPolicyTableEntriesCommandInput
18
20
  extends GetTransitGatewayPolicyTableEntriesRequest {}
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  RestoreImageFromRecycleBinRequest,
16
16
  RestoreImageFromRecycleBinResult,
17
- } from "../models/models_6";
17
+ } from "../models/models_7";
18
18
  export { __MetadataBearer, $Command };
19
19
  export interface RestoreImageFromRecycleBinCommandInput
20
20
  extends RestoreImageFromRecycleBinRequest {}
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  RestoreManagedPrefixListVersionRequest,
16
16
  RestoreManagedPrefixListVersionResult,
17
- } from "../models/models_6";
17
+ } from "../models/models_7";
18
18
  export { __MetadataBearer, $Command };
19
19
  export interface RestoreManagedPrefixListVersionCommandInput
20
20
  extends RestoreManagedPrefixListVersionRequest {}
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  RestoreSnapshotFromRecycleBinRequest,
16
16
  RestoreSnapshotFromRecycleBinResult,
17
- } from "../models/models_6";
17
+ } from "../models/models_7";
18
18
  export { __MetadataBearer, $Command };
19
19
  export interface RestoreSnapshotFromRecycleBinCommandInput
20
20
  extends RestoreSnapshotFromRecycleBinRequest {}
@@ -11,8 +11,10 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../EC2Client";
14
- import { RestoreSnapshotTierRequest } from "../models/models_6";
15
- import { RestoreSnapshotTierResult } from "../models/models_7";
14
+ import {
15
+ RestoreSnapshotTierRequest,
16
+ RestoreSnapshotTierResult,
17
+ } from "../models/models_7";
16
18
  export { __MetadataBearer, $Command };
17
19
  export interface RestoreSnapshotTierCommandInput
18
20
  extends RestoreSnapshotTierRequest {}