@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
@@ -0,0 +1,47 @@
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 { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_GetSnapshotBlockPublicAccessStateCommand, se_GetSnapshotBlockPublicAccessStateCommand, } from "../protocols/Aws_ec2";
6
+ export { $Command };
7
+ export class GetSnapshotBlockPublicAccessStateCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
15
+ }
16
+ constructor(input) {
17
+ super();
18
+ this.input = input;
19
+ }
20
+ resolveMiddleware(clientStack, configuration, options) {
21
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
+ this.middlewareStack.use(getEndpointPlugin(configuration, GetSnapshotBlockPublicAccessStateCommand.getEndpointParameterInstructions()));
23
+ const stack = clientStack.concat(this.middlewareStack);
24
+ const { logger } = configuration;
25
+ const clientName = "EC2Client";
26
+ const commandName = "GetSnapshotBlockPublicAccessStateCommand";
27
+ const handlerExecutionContext = {
28
+ logger,
29
+ clientName,
30
+ commandName,
31
+ inputFilterSensitiveLog: (_) => _,
32
+ outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonEC2",
35
+ operation: "GetSnapshotBlockPublicAccessState",
36
+ },
37
+ };
38
+ const { requestHandler } = configuration;
39
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
+ }
41
+ serialize(input, context) {
42
+ return se_GetSnapshotBlockPublicAccessStateCommand(input, context);
43
+ }
44
+ deserialize(output, context) {
45
+ return de_GetSnapshotBlockPublicAccessStateCommand(output, context);
46
+ }
47
+ }
@@ -377,6 +377,7 @@ export * from "./DisableImageCommand";
377
377
  export * from "./DisableImageDeprecationCommand";
378
378
  export * from "./DisableIpamOrganizationAdminAccountCommand";
379
379
  export * from "./DisableSerialConsoleAccessCommand";
380
+ export * from "./DisableSnapshotBlockPublicAccessCommand";
380
381
  export * from "./DisableTransitGatewayRouteTablePropagationCommand";
381
382
  export * from "./DisableVgwRoutePropagationCommand";
382
383
  export * from "./DisableVpcClassicLinkCommand";
@@ -406,6 +407,7 @@ export * from "./EnableImageDeprecationCommand";
406
407
  export * from "./EnableIpamOrganizationAdminAccountCommand";
407
408
  export * from "./EnableReachabilityAnalyzerOrganizationSharingCommand";
408
409
  export * from "./EnableSerialConsoleAccessCommand";
410
+ export * from "./EnableSnapshotBlockPublicAccessCommand";
409
411
  export * from "./EnableTransitGatewayRouteTablePropagationCommand";
410
412
  export * from "./EnableVgwRoutePropagationCommand";
411
413
  export * from "./EnableVolumeIOCommand";
@@ -446,6 +448,7 @@ export * from "./GetPasswordDataCommand";
446
448
  export * from "./GetReservedInstancesExchangeQuoteCommand";
447
449
  export * from "./GetSecurityGroupsForVpcCommand";
448
450
  export * from "./GetSerialConsoleAccessStatusCommand";
451
+ export * from "./GetSnapshotBlockPublicAccessStateCommand";
449
452
  export * from "./GetSpotPlacementScoresCommand";
450
453
  export * from "./GetSubnetCidrReservationsCommand";
451
454
  export * from "./GetTransitGatewayAttachmentPropagationsCommand";
@@ -33,6 +33,11 @@ export const VpcAttributeName = {
33
33
  export const ImageBlockPublicAccessDisabledState = {
34
34
  unblocked: "unblocked",
35
35
  };
36
+ export const SnapshotBlockPublicAccessState = {
37
+ block_all_sharing: "block-all-sharing",
38
+ block_new_sharing: "block-new-sharing",
39
+ unblocked: "unblocked",
40
+ };
36
41
  export const TransitGatewayPropagationState = {
37
42
  disabled: "disabled",
38
43
  disabling: "disabling",
@@ -3793,6 +3793,16 @@ export const se_DisableSerialConsoleAccessCommand = async (input, context) => {
3793
3793
  });
3794
3794
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
3795
3795
  };
3796
+ export const se_DisableSnapshotBlockPublicAccessCommand = async (input, context) => {
3797
+ const headers = SHARED_HEADERS;
3798
+ let body;
3799
+ body = buildFormUrlencodedString({
3800
+ ...se_DisableSnapshotBlockPublicAccessRequest(input, context),
3801
+ Action: "DisableSnapshotBlockPublicAccess",
3802
+ Version: "2016-11-15",
3803
+ });
3804
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
3805
+ };
3796
3806
  export const se_DisableTransitGatewayRouteTablePropagationCommand = async (input, context) => {
3797
3807
  const headers = SHARED_HEADERS;
3798
3808
  let body;
@@ -4083,6 +4093,16 @@ export const se_EnableSerialConsoleAccessCommand = async (input, context) => {
4083
4093
  });
4084
4094
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
4085
4095
  };
4096
+ export const se_EnableSnapshotBlockPublicAccessCommand = async (input, context) => {
4097
+ const headers = SHARED_HEADERS;
4098
+ let body;
4099
+ body = buildFormUrlencodedString({
4100
+ ...se_EnableSnapshotBlockPublicAccessRequest(input, context),
4101
+ Action: "EnableSnapshotBlockPublicAccess",
4102
+ Version: "2016-11-15",
4103
+ });
4104
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
4105
+ };
4086
4106
  export const se_EnableTransitGatewayRouteTablePropagationCommand = async (input, context) => {
4087
4107
  const headers = SHARED_HEADERS;
4088
4108
  let body;
@@ -4483,6 +4503,16 @@ export const se_GetSerialConsoleAccessStatusCommand = async (input, context) =>
4483
4503
  });
4484
4504
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
4485
4505
  };
4506
+ export const se_GetSnapshotBlockPublicAccessStateCommand = async (input, context) => {
4507
+ const headers = SHARED_HEADERS;
4508
+ let body;
4509
+ body = buildFormUrlencodedString({
4510
+ ...se_GetSnapshotBlockPublicAccessStateRequest(input, context),
4511
+ Action: "GetSnapshotBlockPublicAccessState",
4512
+ Version: "2016-11-15",
4513
+ });
4514
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
4515
+ };
4486
4516
  export const se_GetSpotPlacementScoresCommand = async (input, context) => {
4487
4517
  const headers = SHARED_HEADERS;
4488
4518
  let body;
@@ -15787,6 +15817,32 @@ const de_DisableSerialConsoleAccessCommandError = async (output, context) => {
15787
15817
  errorCode,
15788
15818
  });
15789
15819
  };
15820
+ export const de_DisableSnapshotBlockPublicAccessCommand = async (output, context) => {
15821
+ if (output.statusCode >= 300) {
15822
+ return de_DisableSnapshotBlockPublicAccessCommandError(output, context);
15823
+ }
15824
+ const data = await parseBody(output.body, context);
15825
+ let contents = {};
15826
+ contents = de_DisableSnapshotBlockPublicAccessResult(data, context);
15827
+ const response = {
15828
+ $metadata: deserializeMetadata(output),
15829
+ ...contents,
15830
+ };
15831
+ return response;
15832
+ };
15833
+ const de_DisableSnapshotBlockPublicAccessCommandError = async (output, context) => {
15834
+ const parsedOutput = {
15835
+ ...output,
15836
+ body: await parseErrorBody(output.body, context),
15837
+ };
15838
+ const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
15839
+ const parsedBody = parsedOutput.body;
15840
+ return throwDefaultError({
15841
+ output,
15842
+ parsedBody: parsedBody.Errors.Error,
15843
+ errorCode,
15844
+ });
15845
+ };
15790
15846
  export const de_DisableTransitGatewayRouteTablePropagationCommand = async (output, context) => {
15791
15847
  if (output.statusCode >= 300) {
15792
15848
  return de_DisableTransitGatewayRouteTablePropagationCommandError(output, context);
@@ -16532,6 +16588,32 @@ const de_EnableSerialConsoleAccessCommandError = async (output, context) => {
16532
16588
  errorCode,
16533
16589
  });
16534
16590
  };
16591
+ export const de_EnableSnapshotBlockPublicAccessCommand = async (output, context) => {
16592
+ if (output.statusCode >= 300) {
16593
+ return de_EnableSnapshotBlockPublicAccessCommandError(output, context);
16594
+ }
16595
+ const data = await parseBody(output.body, context);
16596
+ let contents = {};
16597
+ contents = de_EnableSnapshotBlockPublicAccessResult(data, context);
16598
+ const response = {
16599
+ $metadata: deserializeMetadata(output),
16600
+ ...contents,
16601
+ };
16602
+ return response;
16603
+ };
16604
+ const de_EnableSnapshotBlockPublicAccessCommandError = async (output, context) => {
16605
+ const parsedOutput = {
16606
+ ...output,
16607
+ body: await parseErrorBody(output.body, context),
16608
+ };
16609
+ const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
16610
+ const parsedBody = parsedOutput.body;
16611
+ return throwDefaultError({
16612
+ output,
16613
+ parsedBody: parsedBody.Errors.Error,
16614
+ errorCode,
16615
+ });
16616
+ };
16535
16617
  export const de_EnableTransitGatewayRouteTablePropagationCommand = async (output, context) => {
16536
16618
  if (output.statusCode >= 300) {
16537
16619
  return de_EnableTransitGatewayRouteTablePropagationCommandError(output, context);
@@ -17566,6 +17648,32 @@ const de_GetSerialConsoleAccessStatusCommandError = async (output, context) => {
17566
17648
  errorCode,
17567
17649
  });
17568
17650
  };
17651
+ export const de_GetSnapshotBlockPublicAccessStateCommand = async (output, context) => {
17652
+ if (output.statusCode >= 300) {
17653
+ return de_GetSnapshotBlockPublicAccessStateCommandError(output, context);
17654
+ }
17655
+ const data = await parseBody(output.body, context);
17656
+ let contents = {};
17657
+ contents = de_GetSnapshotBlockPublicAccessStateResult(data, context);
17658
+ const response = {
17659
+ $metadata: deserializeMetadata(output),
17660
+ ...contents,
17661
+ };
17662
+ return response;
17663
+ };
17664
+ const de_GetSnapshotBlockPublicAccessStateCommandError = async (output, context) => {
17665
+ const parsedOutput = {
17666
+ ...output,
17667
+ body: await parseErrorBody(output.body, context),
17668
+ };
17669
+ const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
17670
+ const parsedBody = parsedOutput.body;
17671
+ return throwDefaultError({
17672
+ output,
17673
+ parsedBody: parsedBody.Errors.Error,
17674
+ errorCode,
17675
+ });
17676
+ };
17569
17677
  export const de_GetSpotPlacementScoresCommand = async (output, context) => {
17570
17678
  if (output.statusCode >= 300) {
17571
17679
  return de_GetSpotPlacementScoresCommandError(output, context);
@@ -32210,6 +32318,13 @@ const se_DisableSerialConsoleAccessRequest = (input, context) => {
32210
32318
  }
32211
32319
  return entries;
32212
32320
  };
32321
+ const se_DisableSnapshotBlockPublicAccessRequest = (input, context) => {
32322
+ const entries = {};
32323
+ if (input.DryRun != null) {
32324
+ entries["DryRun"] = input.DryRun;
32325
+ }
32326
+ return entries;
32327
+ };
32213
32328
  const se_DisableTransitGatewayRouteTablePropagationRequest = (input, context) => {
32214
32329
  const entries = {};
32215
32330
  if (input.TransitGatewayRouteTableId != null) {
@@ -32809,6 +32924,16 @@ const se_EnableSerialConsoleAccessRequest = (input, context) => {
32809
32924
  }
32810
32925
  return entries;
32811
32926
  };
32927
+ const se_EnableSnapshotBlockPublicAccessRequest = (input, context) => {
32928
+ const entries = {};
32929
+ if (input.State != null) {
32930
+ entries["State"] = input.State;
32931
+ }
32932
+ if (input.DryRun != null) {
32933
+ entries["DryRun"] = input.DryRun;
32934
+ }
32935
+ return entries;
32936
+ };
32812
32937
  const se_EnableTransitGatewayRouteTablePropagationRequest = (input, context) => {
32813
32938
  const entries = {};
32814
32939
  if (input.TransitGatewayRouteTableId != null) {
@@ -33895,6 +34020,13 @@ const se_GetSerialConsoleAccessStatusRequest = (input, context) => {
33895
34020
  }
33896
34021
  return entries;
33897
34022
  };
34023
+ const se_GetSnapshotBlockPublicAccessStateRequest = (input, context) => {
34024
+ const entries = {};
34025
+ if (input.DryRun != null) {
34026
+ entries["DryRun"] = input.DryRun;
34027
+ }
34028
+ return entries;
34029
+ };
33898
34030
  const se_GetSpotPlacementScoresRequest = (input, context) => {
33899
34031
  const entries = {};
33900
34032
  if (input.InstanceTypes != null) {
@@ -50226,6 +50358,13 @@ const de_DisableSerialConsoleAccessResult = (output, context) => {
50226
50358
  }
50227
50359
  return contents;
50228
50360
  };
50361
+ const de_DisableSnapshotBlockPublicAccessResult = (output, context) => {
50362
+ const contents = {};
50363
+ if (output["state"] !== undefined) {
50364
+ contents.State = __expectString(output["state"]);
50365
+ }
50366
+ return contents;
50367
+ };
50229
50368
  const de_DisableTransitGatewayRouteTablePropagationResult = (output, context) => {
50230
50369
  const contents = {};
50231
50370
  if (output["propagation"] !== undefined) {
@@ -50905,6 +51044,13 @@ const de_EnableSerialConsoleAccessResult = (output, context) => {
50905
51044
  }
50906
51045
  return contents;
50907
51046
  };
51047
+ const de_EnableSnapshotBlockPublicAccessResult = (output, context) => {
51048
+ const contents = {};
51049
+ if (output["state"] !== undefined) {
51050
+ contents.State = __expectString(output["state"]);
51051
+ }
51052
+ return contents;
51053
+ };
50908
51054
  const de_EnableTransitGatewayRouteTablePropagationResult = (output, context) => {
50909
51055
  const contents = {};
50910
51056
  if (output["propagation"] !== undefined) {
@@ -52311,6 +52457,13 @@ const de_GetSerialConsoleAccessStatusResult = (output, context) => {
52311
52457
  }
52312
52458
  return contents;
52313
52459
  };
52460
+ const de_GetSnapshotBlockPublicAccessStateResult = (output, context) => {
52461
+ const contents = {};
52462
+ if (output["state"] !== undefined) {
52463
+ contents.State = __expectString(output["state"]);
52464
+ }
52465
+ return contents;
52466
+ };
52314
52467
  const de_GetSpotPlacementScoresResult = (output, context) => {
52315
52468
  const contents = {};
52316
52469
  if (output.spotPlacementScoreSet === "") {
@@ -378,6 +378,7 @@ import { DisableImageCommandInput, DisableImageCommandOutput } from "./commands/
378
378
  import { DisableImageDeprecationCommandInput, DisableImageDeprecationCommandOutput } from "./commands/DisableImageDeprecationCommand";
379
379
  import { DisableIpamOrganizationAdminAccountCommandInput, DisableIpamOrganizationAdminAccountCommandOutput } from "./commands/DisableIpamOrganizationAdminAccountCommand";
380
380
  import { DisableSerialConsoleAccessCommandInput, DisableSerialConsoleAccessCommandOutput } from "./commands/DisableSerialConsoleAccessCommand";
381
+ import { DisableSnapshotBlockPublicAccessCommandInput, DisableSnapshotBlockPublicAccessCommandOutput } from "./commands/DisableSnapshotBlockPublicAccessCommand";
381
382
  import { DisableTransitGatewayRouteTablePropagationCommandInput, DisableTransitGatewayRouteTablePropagationCommandOutput } from "./commands/DisableTransitGatewayRouteTablePropagationCommand";
382
383
  import { DisableVgwRoutePropagationCommandInput, DisableVgwRoutePropagationCommandOutput } from "./commands/DisableVgwRoutePropagationCommand";
383
384
  import { DisableVpcClassicLinkCommandInput, DisableVpcClassicLinkCommandOutput } from "./commands/DisableVpcClassicLinkCommand";
@@ -407,6 +408,7 @@ import { EnableImageDeprecationCommandInput, EnableImageDeprecationCommandOutput
407
408
  import { EnableIpamOrganizationAdminAccountCommandInput, EnableIpamOrganizationAdminAccountCommandOutput } from "./commands/EnableIpamOrganizationAdminAccountCommand";
408
409
  import { EnableReachabilityAnalyzerOrganizationSharingCommandInput, EnableReachabilityAnalyzerOrganizationSharingCommandOutput } from "./commands/EnableReachabilityAnalyzerOrganizationSharingCommand";
409
410
  import { EnableSerialConsoleAccessCommandInput, EnableSerialConsoleAccessCommandOutput } from "./commands/EnableSerialConsoleAccessCommand";
411
+ import { EnableSnapshotBlockPublicAccessCommandInput, EnableSnapshotBlockPublicAccessCommandOutput } from "./commands/EnableSnapshotBlockPublicAccessCommand";
410
412
  import { EnableTransitGatewayRouteTablePropagationCommandInput, EnableTransitGatewayRouteTablePropagationCommandOutput } from "./commands/EnableTransitGatewayRouteTablePropagationCommand";
411
413
  import { EnableVgwRoutePropagationCommandInput, EnableVgwRoutePropagationCommandOutput } from "./commands/EnableVgwRoutePropagationCommand";
412
414
  import { EnableVolumeIOCommandInput, EnableVolumeIOCommandOutput } from "./commands/EnableVolumeIOCommand";
@@ -447,6 +449,7 @@ import { GetPasswordDataCommandInput, GetPasswordDataCommandOutput } from "./com
447
449
  import { GetReservedInstancesExchangeQuoteCommandInput, GetReservedInstancesExchangeQuoteCommandOutput } from "./commands/GetReservedInstancesExchangeQuoteCommand";
448
450
  import { GetSecurityGroupsForVpcCommandInput, GetSecurityGroupsForVpcCommandOutput } from "./commands/GetSecurityGroupsForVpcCommand";
449
451
  import { GetSerialConsoleAccessStatusCommandInput, GetSerialConsoleAccessStatusCommandOutput } from "./commands/GetSerialConsoleAccessStatusCommand";
452
+ import { GetSnapshotBlockPublicAccessStateCommandInput, GetSnapshotBlockPublicAccessStateCommandOutput } from "./commands/GetSnapshotBlockPublicAccessStateCommand";
450
453
  import { GetSpotPlacementScoresCommandInput, GetSpotPlacementScoresCommandOutput } from "./commands/GetSpotPlacementScoresCommand";
451
454
  import { GetSubnetCidrReservationsCommandInput, GetSubnetCidrReservationsCommandOutput } from "./commands/GetSubnetCidrReservationsCommand";
452
455
  import { GetTransitGatewayAttachmentPropagationsCommandInput, GetTransitGatewayAttachmentPropagationsCommandOutput } from "./commands/GetTransitGatewayAttachmentPropagationsCommand";
@@ -2877,6 +2880,12 @@ export interface EC2 {
2877
2880
  disableSerialConsoleAccess(args: DisableSerialConsoleAccessCommandInput, options?: __HttpHandlerOptions): Promise<DisableSerialConsoleAccessCommandOutput>;
2878
2881
  disableSerialConsoleAccess(args: DisableSerialConsoleAccessCommandInput, cb: (err: any, data?: DisableSerialConsoleAccessCommandOutput) => void): void;
2879
2882
  disableSerialConsoleAccess(args: DisableSerialConsoleAccessCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisableSerialConsoleAccessCommandOutput) => void): void;
2883
+ /**
2884
+ * @see {@link DisableSnapshotBlockPublicAccessCommand}
2885
+ */
2886
+ disableSnapshotBlockPublicAccess(args: DisableSnapshotBlockPublicAccessCommandInput, options?: __HttpHandlerOptions): Promise<DisableSnapshotBlockPublicAccessCommandOutput>;
2887
+ disableSnapshotBlockPublicAccess(args: DisableSnapshotBlockPublicAccessCommandInput, cb: (err: any, data?: DisableSnapshotBlockPublicAccessCommandOutput) => void): void;
2888
+ disableSnapshotBlockPublicAccess(args: DisableSnapshotBlockPublicAccessCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisableSnapshotBlockPublicAccessCommandOutput) => void): void;
2880
2889
  /**
2881
2890
  * @see {@link DisableTransitGatewayRouteTablePropagationCommand}
2882
2891
  */
@@ -3051,6 +3060,12 @@ export interface EC2 {
3051
3060
  enableSerialConsoleAccess(args: EnableSerialConsoleAccessCommandInput, options?: __HttpHandlerOptions): Promise<EnableSerialConsoleAccessCommandOutput>;
3052
3061
  enableSerialConsoleAccess(args: EnableSerialConsoleAccessCommandInput, cb: (err: any, data?: EnableSerialConsoleAccessCommandOutput) => void): void;
3053
3062
  enableSerialConsoleAccess(args: EnableSerialConsoleAccessCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableSerialConsoleAccessCommandOutput) => void): void;
3063
+ /**
3064
+ * @see {@link EnableSnapshotBlockPublicAccessCommand}
3065
+ */
3066
+ enableSnapshotBlockPublicAccess(args: EnableSnapshotBlockPublicAccessCommandInput, options?: __HttpHandlerOptions): Promise<EnableSnapshotBlockPublicAccessCommandOutput>;
3067
+ enableSnapshotBlockPublicAccess(args: EnableSnapshotBlockPublicAccessCommandInput, cb: (err: any, data?: EnableSnapshotBlockPublicAccessCommandOutput) => void): void;
3068
+ enableSnapshotBlockPublicAccess(args: EnableSnapshotBlockPublicAccessCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableSnapshotBlockPublicAccessCommandOutput) => void): void;
3054
3069
  /**
3055
3070
  * @see {@link EnableTransitGatewayRouteTablePropagationCommand}
3056
3071
  */
@@ -3291,6 +3306,12 @@ export interface EC2 {
3291
3306
  getSerialConsoleAccessStatus(args: GetSerialConsoleAccessStatusCommandInput, options?: __HttpHandlerOptions): Promise<GetSerialConsoleAccessStatusCommandOutput>;
3292
3307
  getSerialConsoleAccessStatus(args: GetSerialConsoleAccessStatusCommandInput, cb: (err: any, data?: GetSerialConsoleAccessStatusCommandOutput) => void): void;
3293
3308
  getSerialConsoleAccessStatus(args: GetSerialConsoleAccessStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSerialConsoleAccessStatusCommandOutput) => void): void;
3309
+ /**
3310
+ * @see {@link GetSnapshotBlockPublicAccessStateCommand}
3311
+ */
3312
+ getSnapshotBlockPublicAccessState(args: GetSnapshotBlockPublicAccessStateCommandInput, options?: __HttpHandlerOptions): Promise<GetSnapshotBlockPublicAccessStateCommandOutput>;
3313
+ getSnapshotBlockPublicAccessState(args: GetSnapshotBlockPublicAccessStateCommandInput, cb: (err: any, data?: GetSnapshotBlockPublicAccessStateCommandOutput) => void): void;
3314
+ getSnapshotBlockPublicAccessState(args: GetSnapshotBlockPublicAccessStateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSnapshotBlockPublicAccessStateCommandOutput) => void): void;
3294
3315
  /**
3295
3316
  * @see {@link GetSpotPlacementScoresCommand}
3296
3317
  */