@aws-sdk/client-ec2 3.410.0 → 3.411.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/DisableImageBlockPublicAccessCommand.js +46 -0
  4. package/dist-cjs/commands/EnableImageBlockPublicAccessCommand.js +46 -0
  5. package/dist-cjs/commands/GetImageBlockPublicAccessStateCommand.js +46 -0
  6. package/dist-cjs/commands/GetVpnConnectionDeviceSampleConfigurationCommand.js +2 -2
  7. package/dist-cjs/commands/RunInstancesCommand.js +2 -2
  8. package/dist-cjs/commands/index.js +3 -0
  9. package/dist-cjs/models/models_5.js +7 -6
  10. package/dist-cjs/models/models_6.js +6 -6
  11. package/dist-cjs/models/models_7.js +6 -1
  12. package/dist-cjs/protocols/Aws_ec2.js +176 -17
  13. package/dist-es/EC2.js +6 -0
  14. package/dist-es/commands/DisableImageBlockPublicAccessCommand.js +42 -0
  15. package/dist-es/commands/EnableImageBlockPublicAccessCommand.js +42 -0
  16. package/dist-es/commands/GetImageBlockPublicAccessStateCommand.js +42 -0
  17. package/dist-es/commands/GetVpnConnectionDeviceSampleConfigurationCommand.js +1 -1
  18. package/dist-es/commands/RunInstancesCommand.js +1 -1
  19. package/dist-es/commands/index.js +3 -0
  20. package/dist-es/models/models_5.js +6 -4
  21. package/dist-es/models/models_6.js +4 -4
  22. package/dist-es/models/models_7.js +4 -0
  23. package/dist-es/protocols/Aws_ec2.js +153 -0
  24. package/dist-types/EC2.d.ts +21 -0
  25. package/dist-types/EC2Client.d.ts +5 -2
  26. package/dist-types/commands/DisableImageBlockPublicAccessCommand.d.ts +82 -0
  27. package/dist-types/commands/EnableImageBlockPublicAccessCommand.d.ts +82 -0
  28. package/dist-types/commands/GetImageBlockPublicAccessStateCommand.d.ts +76 -0
  29. package/dist-types/commands/GetVpnConnectionDeviceSampleConfigurationCommand.d.ts +1 -1
  30. package/dist-types/commands/GetVpnConnectionDeviceTypesCommand.d.ts +1 -1
  31. package/dist-types/commands/GetVpnTunnelReplacementStatusCommand.d.ts +1 -1
  32. package/dist-types/commands/RunInstancesCommand.d.ts +1 -1
  33. package/dist-types/commands/index.d.ts +3 -0
  34. package/dist-types/models/models_5.d.ts +111 -204
  35. package/dist-types/models/models_6.d.ts +203 -585
  36. package/dist-types/models/models_7.d.ts +590 -4
  37. package/dist-types/protocols/Aws_ec2.d.ts +27 -0
  38. package/dist-types/ts3.4/EC2.d.ts +51 -0
  39. package/dist-types/ts3.4/EC2Client.d.ts +18 -0
  40. package/dist-types/ts3.4/commands/DisableImageBlockPublicAccessCommand.d.ts +42 -0
  41. package/dist-types/ts3.4/commands/EnableImageBlockPublicAccessCommand.d.ts +42 -0
  42. package/dist-types/ts3.4/commands/GetImageBlockPublicAccessStateCommand.d.ts +42 -0
  43. package/dist-types/ts3.4/commands/GetVpnConnectionDeviceSampleConfigurationCommand.d.ts +1 -1
  44. package/dist-types/ts3.4/commands/GetVpnConnectionDeviceTypesCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/GetVpnTunnelReplacementStatusCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/RunInstancesCommand.d.ts +1 -1
  47. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  48. package/dist-types/ts3.4/models/models_5.d.ts +32 -45
  49. package/dist-types/ts3.4/models/models_6.d.ts +45 -85
  50. package/dist-types/ts3.4/models/models_7.d.ts +109 -4
  51. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +36 -0
  52. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { GetVpnConnectionDeviceSampleConfigurationResultFilterSensitiveLog, } from "../models/models_5";
4
+ import { GetVpnConnectionDeviceSampleConfigurationResultFilterSensitiveLog, } from "../models/models_6";
5
5
  import { de_GetVpnConnectionDeviceSampleConfigurationCommand, se_GetVpnConnectionDeviceSampleConfigurationCommand, } from "../protocols/Aws_ec2";
6
6
  export { $Command };
7
7
  export class GetVpnConnectionDeviceSampleConfigurationCommand extends $Command {
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { RunInstancesRequestFilterSensitiveLog } from "../models/models_6";
4
+ import { RunInstancesRequestFilterSensitiveLog } from "../models/models_7";
5
5
  import { de_RunInstancesCommand, se_RunInstancesCommand } from "../protocols/Aws_ec2";
6
6
  export { $Command };
7
7
  export class RunInstancesCommand extends $Command {
@@ -371,6 +371,7 @@ export * from "./DisableAwsNetworkPerformanceMetricSubscriptionCommand";
371
371
  export * from "./DisableEbsEncryptionByDefaultCommand";
372
372
  export * from "./DisableFastLaunchCommand";
373
373
  export * from "./DisableFastSnapshotRestoresCommand";
374
+ export * from "./DisableImageBlockPublicAccessCommand";
374
375
  export * from "./DisableImageDeprecationCommand";
375
376
  export * from "./DisableIpamOrganizationAdminAccountCommand";
376
377
  export * from "./DisableSerialConsoleAccessCommand";
@@ -397,6 +398,7 @@ export * from "./EnableAwsNetworkPerformanceMetricSubscriptionCommand";
397
398
  export * from "./EnableEbsEncryptionByDefaultCommand";
398
399
  export * from "./EnableFastLaunchCommand";
399
400
  export * from "./EnableFastSnapshotRestoresCommand";
401
+ export * from "./EnableImageBlockPublicAccessCommand";
400
402
  export * from "./EnableImageDeprecationCommand";
401
403
  export * from "./EnableIpamOrganizationAdminAccountCommand";
402
404
  export * from "./EnableReachabilityAnalyzerOrganizationSharingCommand";
@@ -423,6 +425,7 @@ export * from "./GetEbsEncryptionByDefaultCommand";
423
425
  export * from "./GetFlowLogsIntegrationTemplateCommand";
424
426
  export * from "./GetGroupsForCapacityReservationCommand";
425
427
  export * from "./GetHostReservationPurchasePreviewCommand";
428
+ export * from "./GetImageBlockPublicAccessStateCommand";
426
429
  export * from "./GetInstanceTypesFromInstanceRequirementsCommand";
427
430
  export * from "./GetInstanceUefiDataCommand";
428
431
  export * from "./GetIpamAddressHistoryCommand";
@@ -30,12 +30,18 @@ export const VpcAttributeName = {
30
30
  enableDnsSupport: "enableDnsSupport",
31
31
  enableNetworkAddressUsageMetrics: "enableNetworkAddressUsageMetrics",
32
32
  };
33
+ export const ImageBlockPublicAccessDisabledState = {
34
+ unblocked: "unblocked",
35
+ };
33
36
  export const TransitGatewayPropagationState = {
34
37
  disabled: "disabled",
35
38
  disabling: "disabling",
36
39
  enabled: "enabled",
37
40
  enabling: "enabling",
38
41
  };
42
+ export const ImageBlockPublicAccessEnabledState = {
43
+ block_new_sharing: "block-new-sharing",
44
+ };
39
45
  export const ClientCertificateRevocationListStatusCode = {
40
46
  active: "active",
41
47
  pending: "pending",
@@ -115,7 +121,3 @@ export const GetPasswordDataResultFilterSensitiveLog = (obj) => ({
115
121
  ...obj,
116
122
  ...(obj.PasswordData && { PasswordData: SENSITIVE_STRING }),
117
123
  });
118
- export const GetVpnConnectionDeviceSampleConfigurationResultFilterSensitiveLog = (obj) => ({
119
- ...obj,
120
- ...(obj.VpnConnectionDeviceSampleConfiguration && { VpnConnectionDeviceSampleConfiguration: SENSITIVE_STRING }),
121
- });
@@ -64,6 +64,10 @@ export const ResetFpgaImageAttributeName = {
64
64
  export const ResetImageAttributeName = {
65
65
  launchPermission: "launchPermission",
66
66
  };
67
+ export const GetVpnConnectionDeviceSampleConfigurationResultFilterSensitiveLog = (obj) => ({
68
+ ...obj,
69
+ ...(obj.VpnConnectionDeviceSampleConfiguration && { VpnConnectionDeviceSampleConfiguration: SENSITIVE_STRING }),
70
+ });
67
71
  export const ImageDiskContainerFilterSensitiveLog = (obj) => ({
68
72
  ...obj,
69
73
  ...(obj.Url && { Url: SENSITIVE_STRING }),
@@ -188,7 +192,3 @@ export const RequestSpotInstancesResultFilterSensitiveLog = (obj) => ({
188
192
  SpotInstanceRequests: obj.SpotInstanceRequests.map((item) => SpotInstanceRequestFilterSensitiveLog(item)),
189
193
  }),
190
194
  });
191
- export const RunInstancesRequestFilterSensitiveLog = (obj) => ({
192
- ...obj,
193
- ...(obj.UserData && { UserData: SENSITIVE_STRING }),
194
- });
@@ -3,6 +3,10 @@ export const MembershipType = {
3
3
  igmp: "igmp",
4
4
  static: "static",
5
5
  };
6
+ export const RunInstancesRequestFilterSensitiveLog = (obj) => ({
7
+ ...obj,
8
+ ...(obj.UserData && { UserData: SENSITIVE_STRING }),
9
+ });
6
10
  export const ScheduledInstancesLaunchSpecificationFilterSensitiveLog = (obj) => ({
7
11
  ...obj,
8
12
  });
@@ -3733,6 +3733,16 @@ export const se_DisableFastSnapshotRestoresCommand = async (input, context) => {
3733
3733
  });
3734
3734
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
3735
3735
  };
3736
+ export const se_DisableImageBlockPublicAccessCommand = async (input, context) => {
3737
+ const headers = SHARED_HEADERS;
3738
+ let body;
3739
+ body = buildFormUrlencodedString({
3740
+ ...se_DisableImageBlockPublicAccessRequest(input, context),
3741
+ Action: "DisableImageBlockPublicAccess",
3742
+ Version: "2016-11-15",
3743
+ });
3744
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
3745
+ };
3736
3746
  export const se_DisableImageDeprecationCommand = async (input, context) => {
3737
3747
  const headers = SHARED_HEADERS;
3738
3748
  let body;
@@ -3993,6 +4003,16 @@ export const se_EnableFastSnapshotRestoresCommand = async (input, context) => {
3993
4003
  });
3994
4004
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
3995
4005
  };
4006
+ export const se_EnableImageBlockPublicAccessCommand = async (input, context) => {
4007
+ const headers = SHARED_HEADERS;
4008
+ let body;
4009
+ body = buildFormUrlencodedString({
4010
+ ...se_EnableImageBlockPublicAccessRequest(input, context),
4011
+ Action: "EnableImageBlockPublicAccess",
4012
+ Version: "2016-11-15",
4013
+ });
4014
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
4015
+ };
3996
4016
  export const se_EnableImageDeprecationCommand = async (input, context) => {
3997
4017
  const headers = SHARED_HEADERS;
3998
4018
  let body;
@@ -4253,6 +4273,16 @@ export const se_GetHostReservationPurchasePreviewCommand = async (input, context
4253
4273
  });
4254
4274
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
4255
4275
  };
4276
+ export const se_GetImageBlockPublicAccessStateCommand = async (input, context) => {
4277
+ const headers = SHARED_HEADERS;
4278
+ let body;
4279
+ body = buildFormUrlencodedString({
4280
+ ...se_GetImageBlockPublicAccessStateRequest(input, context),
4281
+ Action: "GetImageBlockPublicAccessState",
4282
+ Version: "2016-11-15",
4283
+ });
4284
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
4285
+ };
4256
4286
  export const se_GetInstanceTypesFromInstanceRequirementsCommand = async (input, context) => {
4257
4287
  const headers = SHARED_HEADERS;
4258
4288
  let body;
@@ -15551,6 +15581,32 @@ const de_DisableFastSnapshotRestoresCommandError = async (output, context) => {
15551
15581
  errorCode,
15552
15582
  });
15553
15583
  };
15584
+ export const de_DisableImageBlockPublicAccessCommand = async (output, context) => {
15585
+ if (output.statusCode >= 300) {
15586
+ return de_DisableImageBlockPublicAccessCommandError(output, context);
15587
+ }
15588
+ const data = await parseBody(output.body, context);
15589
+ let contents = {};
15590
+ contents = de_DisableImageBlockPublicAccessResult(data, context);
15591
+ const response = {
15592
+ $metadata: deserializeMetadata(output),
15593
+ ...contents,
15594
+ };
15595
+ return response;
15596
+ };
15597
+ const de_DisableImageBlockPublicAccessCommandError = async (output, context) => {
15598
+ const parsedOutput = {
15599
+ ...output,
15600
+ body: await parseErrorBody(output.body, context),
15601
+ };
15602
+ const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
15603
+ const parsedBody = parsedOutput.body;
15604
+ return throwDefaultError({
15605
+ output,
15606
+ parsedBody: parsedBody.Errors.Error,
15607
+ errorCode,
15608
+ });
15609
+ };
15554
15610
  export const de_DisableImageDeprecationCommand = async (output, context) => {
15555
15611
  if (output.statusCode >= 300) {
15556
15612
  return de_DisableImageDeprecationCommandError(output, context);
@@ -16218,6 +16274,32 @@ const de_EnableFastSnapshotRestoresCommandError = async (output, context) => {
16218
16274
  errorCode,
16219
16275
  });
16220
16276
  };
16277
+ export const de_EnableImageBlockPublicAccessCommand = async (output, context) => {
16278
+ if (output.statusCode >= 300) {
16279
+ return de_EnableImageBlockPublicAccessCommandError(output, context);
16280
+ }
16281
+ const data = await parseBody(output.body, context);
16282
+ let contents = {};
16283
+ contents = de_EnableImageBlockPublicAccessResult(data, context);
16284
+ const response = {
16285
+ $metadata: deserializeMetadata(output),
16286
+ ...contents,
16287
+ };
16288
+ return response;
16289
+ };
16290
+ const de_EnableImageBlockPublicAccessCommandError = async (output, context) => {
16291
+ const parsedOutput = {
16292
+ ...output,
16293
+ body: await parseErrorBody(output.body, context),
16294
+ };
16295
+ const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
16296
+ const parsedBody = parsedOutput.body;
16297
+ return throwDefaultError({
16298
+ output,
16299
+ parsedBody: parsedBody.Errors.Error,
16300
+ errorCode,
16301
+ });
16302
+ };
16221
16303
  export const de_EnableImageDeprecationCommand = async (output, context) => {
16222
16304
  if (output.statusCode >= 300) {
16223
16305
  return de_EnableImageDeprecationCommandError(output, context);
@@ -16888,6 +16970,32 @@ const de_GetHostReservationPurchasePreviewCommandError = async (output, context)
16888
16970
  errorCode,
16889
16971
  });
16890
16972
  };
16973
+ export const de_GetImageBlockPublicAccessStateCommand = async (output, context) => {
16974
+ if (output.statusCode >= 300) {
16975
+ return de_GetImageBlockPublicAccessStateCommandError(output, context);
16976
+ }
16977
+ const data = await parseBody(output.body, context);
16978
+ let contents = {};
16979
+ contents = de_GetImageBlockPublicAccessStateResult(data, context);
16980
+ const response = {
16981
+ $metadata: deserializeMetadata(output),
16982
+ ...contents,
16983
+ };
16984
+ return response;
16985
+ };
16986
+ const de_GetImageBlockPublicAccessStateCommandError = async (output, context) => {
16987
+ const parsedOutput = {
16988
+ ...output,
16989
+ body: await parseErrorBody(output.body, context),
16990
+ };
16991
+ const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
16992
+ const parsedBody = parsedOutput.body;
16993
+ return throwDefaultError({
16994
+ output,
16995
+ parsedBody: parsedBody.Errors.Error,
16996
+ errorCode,
16997
+ });
16998
+ };
16891
16999
  export const de_GetInstanceTypesFromInstanceRequirementsCommand = async (output, context) => {
16892
17000
  if (output.statusCode >= 300) {
16893
17001
  return de_GetInstanceTypesFromInstanceRequirementsCommandError(output, context);
@@ -31823,6 +31931,13 @@ const se_DisableFastSnapshotRestoresRequest = (input, context) => {
31823
31931
  }
31824
31932
  return entries;
31825
31933
  };
31934
+ const se_DisableImageBlockPublicAccessRequest = (input, context) => {
31935
+ const entries = {};
31936
+ if (input.DryRun != null) {
31937
+ entries["DryRun"] = input.DryRun;
31938
+ }
31939
+ return entries;
31940
+ };
31826
31941
  const se_DisableImageDeprecationRequest = (input, context) => {
31827
31942
  const entries = {};
31828
31943
  if (input.ImageId != null) {
@@ -32392,6 +32507,16 @@ const se_EnableFastSnapshotRestoresRequest = (input, context) => {
32392
32507
  }
32393
32508
  return entries;
32394
32509
  };
32510
+ const se_EnableImageBlockPublicAccessRequest = (input, context) => {
32511
+ const entries = {};
32512
+ if (input.ImageBlockPublicAccessState != null) {
32513
+ entries["ImageBlockPublicAccessState"] = input.ImageBlockPublicAccessState;
32514
+ }
32515
+ if (input.DryRun != null) {
32516
+ entries["DryRun"] = input.DryRun;
32517
+ }
32518
+ return entries;
32519
+ };
32395
32520
  const se_EnableImageDeprecationRequest = (input, context) => {
32396
32521
  const entries = {};
32397
32522
  if (input.ImageId != null) {
@@ -33131,6 +33256,13 @@ const se_GetHostReservationPurchasePreviewRequest = (input, context) => {
33131
33256
  }
33132
33257
  return entries;
33133
33258
  };
33259
+ const se_GetImageBlockPublicAccessStateRequest = (input, context) => {
33260
+ const entries = {};
33261
+ if (input.DryRun != null) {
33262
+ entries["DryRun"] = input.DryRun;
33263
+ }
33264
+ return entries;
33265
+ };
33134
33266
  const se_GetInstanceTypesFromInstanceRequirementsRequest = (input, context) => {
33135
33267
  const entries = {};
33136
33268
  if (input.DryRun != null) {
@@ -49666,6 +49798,13 @@ const de_DisableFastSnapshotRestoreSuccessSet = (output, context) => {
49666
49798
  return de_DisableFastSnapshotRestoreSuccessItem(entry, context);
49667
49799
  });
49668
49800
  };
49801
+ const de_DisableImageBlockPublicAccessResult = (output, context) => {
49802
+ const contents = {};
49803
+ if (output["imageBlockPublicAccessState"] !== undefined) {
49804
+ contents.ImageBlockPublicAccessState = __expectString(output["imageBlockPublicAccessState"]);
49805
+ }
49806
+ return contents;
49807
+ };
49669
49808
  const de_DisableImageDeprecationResult = (output, context) => {
49670
49809
  const contents = {};
49671
49810
  if (output["return"] !== undefined) {
@@ -50324,6 +50463,13 @@ const de_EnableFastSnapshotRestoreSuccessSet = (output, context) => {
50324
50463
  return de_EnableFastSnapshotRestoreSuccessItem(entry, context);
50325
50464
  });
50326
50465
  };
50466
+ const de_EnableImageBlockPublicAccessResult = (output, context) => {
50467
+ const contents = {};
50468
+ if (output["imageBlockPublicAccessState"] !== undefined) {
50469
+ contents.ImageBlockPublicAccessState = __expectString(output["imageBlockPublicAccessState"]);
50470
+ }
50471
+ return contents;
50472
+ };
50327
50473
  const de_EnableImageDeprecationResult = (output, context) => {
50328
50474
  const contents = {};
50329
50475
  if (output["return"] !== undefined) {
@@ -51516,6 +51662,13 @@ const de_GetHostReservationPurchasePreviewResult = (output, context) => {
51516
51662
  }
51517
51663
  return contents;
51518
51664
  };
51665
+ const de_GetImageBlockPublicAccessStateResult = (output, context) => {
51666
+ const contents = {};
51667
+ if (output["imageBlockPublicAccessState"] !== undefined) {
51668
+ contents.ImageBlockPublicAccessState = __expectString(output["imageBlockPublicAccessState"]);
51669
+ }
51670
+ return contents;
51671
+ };
51519
51672
  const de_GetInstanceTypesFromInstanceRequirementsResult = (output, context) => {
51520
51673
  const contents = {};
51521
51674
  if (output.instanceTypeSet === "") {
@@ -372,6 +372,7 @@ import { DisableAwsNetworkPerformanceMetricSubscriptionCommandInput, DisableAwsN
372
372
  import { DisableEbsEncryptionByDefaultCommandInput, DisableEbsEncryptionByDefaultCommandOutput } from "./commands/DisableEbsEncryptionByDefaultCommand";
373
373
  import { DisableFastLaunchCommandInput, DisableFastLaunchCommandOutput } from "./commands/DisableFastLaunchCommand";
374
374
  import { DisableFastSnapshotRestoresCommandInput, DisableFastSnapshotRestoresCommandOutput } from "./commands/DisableFastSnapshotRestoresCommand";
375
+ import { DisableImageBlockPublicAccessCommandInput, DisableImageBlockPublicAccessCommandOutput } from "./commands/DisableImageBlockPublicAccessCommand";
375
376
  import { DisableImageDeprecationCommandInput, DisableImageDeprecationCommandOutput } from "./commands/DisableImageDeprecationCommand";
376
377
  import { DisableIpamOrganizationAdminAccountCommandInput, DisableIpamOrganizationAdminAccountCommandOutput } from "./commands/DisableIpamOrganizationAdminAccountCommand";
377
378
  import { DisableSerialConsoleAccessCommandInput, DisableSerialConsoleAccessCommandOutput } from "./commands/DisableSerialConsoleAccessCommand";
@@ -398,6 +399,7 @@ import { EnableAwsNetworkPerformanceMetricSubscriptionCommandInput, EnableAwsNet
398
399
  import { EnableEbsEncryptionByDefaultCommandInput, EnableEbsEncryptionByDefaultCommandOutput } from "./commands/EnableEbsEncryptionByDefaultCommand";
399
400
  import { EnableFastLaunchCommandInput, EnableFastLaunchCommandOutput } from "./commands/EnableFastLaunchCommand";
400
401
  import { EnableFastSnapshotRestoresCommandInput, EnableFastSnapshotRestoresCommandOutput } from "./commands/EnableFastSnapshotRestoresCommand";
402
+ import { EnableImageBlockPublicAccessCommandInput, EnableImageBlockPublicAccessCommandOutput } from "./commands/EnableImageBlockPublicAccessCommand";
401
403
  import { EnableImageDeprecationCommandInput, EnableImageDeprecationCommandOutput } from "./commands/EnableImageDeprecationCommand";
402
404
  import { EnableIpamOrganizationAdminAccountCommandInput, EnableIpamOrganizationAdminAccountCommandOutput } from "./commands/EnableIpamOrganizationAdminAccountCommand";
403
405
  import { EnableReachabilityAnalyzerOrganizationSharingCommandInput, EnableReachabilityAnalyzerOrganizationSharingCommandOutput } from "./commands/EnableReachabilityAnalyzerOrganizationSharingCommand";
@@ -424,6 +426,7 @@ import { GetEbsEncryptionByDefaultCommandInput, GetEbsEncryptionByDefaultCommand
424
426
  import { GetFlowLogsIntegrationTemplateCommandInput, GetFlowLogsIntegrationTemplateCommandOutput } from "./commands/GetFlowLogsIntegrationTemplateCommand";
425
427
  import { GetGroupsForCapacityReservationCommandInput, GetGroupsForCapacityReservationCommandOutput } from "./commands/GetGroupsForCapacityReservationCommand";
426
428
  import { GetHostReservationPurchasePreviewCommandInput, GetHostReservationPurchasePreviewCommandOutput } from "./commands/GetHostReservationPurchasePreviewCommand";
429
+ import { GetImageBlockPublicAccessStateCommandInput, GetImageBlockPublicAccessStateCommandOutput } from "./commands/GetImageBlockPublicAccessStateCommand";
427
430
  import { GetInstanceTypesFromInstanceRequirementsCommandInput, GetInstanceTypesFromInstanceRequirementsCommandOutput } from "./commands/GetInstanceTypesFromInstanceRequirementsCommand";
428
431
  import { GetInstanceUefiDataCommandInput, GetInstanceUefiDataCommandOutput } from "./commands/GetInstanceUefiDataCommand";
429
432
  import { GetIpamAddressHistoryCommandInput, GetIpamAddressHistoryCommandOutput } from "./commands/GetIpamAddressHistoryCommand";
@@ -2833,6 +2836,12 @@ export interface EC2 {
2833
2836
  disableFastSnapshotRestores(args: DisableFastSnapshotRestoresCommandInput, options?: __HttpHandlerOptions): Promise<DisableFastSnapshotRestoresCommandOutput>;
2834
2837
  disableFastSnapshotRestores(args: DisableFastSnapshotRestoresCommandInput, cb: (err: any, data?: DisableFastSnapshotRestoresCommandOutput) => void): void;
2835
2838
  disableFastSnapshotRestores(args: DisableFastSnapshotRestoresCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisableFastSnapshotRestoresCommandOutput) => void): void;
2839
+ /**
2840
+ * @see {@link DisableImageBlockPublicAccessCommand}
2841
+ */
2842
+ disableImageBlockPublicAccess(args: DisableImageBlockPublicAccessCommandInput, options?: __HttpHandlerOptions): Promise<DisableImageBlockPublicAccessCommandOutput>;
2843
+ disableImageBlockPublicAccess(args: DisableImageBlockPublicAccessCommandInput, cb: (err: any, data?: DisableImageBlockPublicAccessCommandOutput) => void): void;
2844
+ disableImageBlockPublicAccess(args: DisableImageBlockPublicAccessCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisableImageBlockPublicAccessCommandOutput) => void): void;
2836
2845
  /**
2837
2846
  * @see {@link DisableImageDeprecationCommand}
2838
2847
  */
@@ -2989,6 +2998,12 @@ export interface EC2 {
2989
2998
  enableFastSnapshotRestores(args: EnableFastSnapshotRestoresCommandInput, options?: __HttpHandlerOptions): Promise<EnableFastSnapshotRestoresCommandOutput>;
2990
2999
  enableFastSnapshotRestores(args: EnableFastSnapshotRestoresCommandInput, cb: (err: any, data?: EnableFastSnapshotRestoresCommandOutput) => void): void;
2991
3000
  enableFastSnapshotRestores(args: EnableFastSnapshotRestoresCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableFastSnapshotRestoresCommandOutput) => void): void;
3001
+ /**
3002
+ * @see {@link EnableImageBlockPublicAccessCommand}
3003
+ */
3004
+ enableImageBlockPublicAccess(args: EnableImageBlockPublicAccessCommandInput, options?: __HttpHandlerOptions): Promise<EnableImageBlockPublicAccessCommandOutput>;
3005
+ enableImageBlockPublicAccess(args: EnableImageBlockPublicAccessCommandInput, cb: (err: any, data?: EnableImageBlockPublicAccessCommandOutput) => void): void;
3006
+ enableImageBlockPublicAccess(args: EnableImageBlockPublicAccessCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableImageBlockPublicAccessCommandOutput) => void): void;
2992
3007
  /**
2993
3008
  * @see {@link EnableImageDeprecationCommand}
2994
3009
  */
@@ -3145,6 +3160,12 @@ export interface EC2 {
3145
3160
  getHostReservationPurchasePreview(args: GetHostReservationPurchasePreviewCommandInput, options?: __HttpHandlerOptions): Promise<GetHostReservationPurchasePreviewCommandOutput>;
3146
3161
  getHostReservationPurchasePreview(args: GetHostReservationPurchasePreviewCommandInput, cb: (err: any, data?: GetHostReservationPurchasePreviewCommandOutput) => void): void;
3147
3162
  getHostReservationPurchasePreview(args: GetHostReservationPurchasePreviewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetHostReservationPurchasePreviewCommandOutput) => void): void;
3163
+ /**
3164
+ * @see {@link GetImageBlockPublicAccessStateCommand}
3165
+ */
3166
+ getImageBlockPublicAccessState(args: GetImageBlockPublicAccessStateCommandInput, options?: __HttpHandlerOptions): Promise<GetImageBlockPublicAccessStateCommandOutput>;
3167
+ getImageBlockPublicAccessState(args: GetImageBlockPublicAccessStateCommandInput, cb: (err: any, data?: GetImageBlockPublicAccessStateCommandOutput) => void): void;
3168
+ getImageBlockPublicAccessState(args: GetImageBlockPublicAccessStateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetImageBlockPublicAccessStateCommandOutput) => void): void;
3148
3169
  /**
3149
3170
  * @see {@link GetInstanceTypesFromInstanceRequirementsCommand}
3150
3171
  */