@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
@@ -373,6 +373,7 @@ import { DisableAwsNetworkPerformanceMetricSubscriptionCommandInput, DisableAwsN
373
373
  import { DisableEbsEncryptionByDefaultCommandInput, DisableEbsEncryptionByDefaultCommandOutput } from "../commands/DisableEbsEncryptionByDefaultCommand";
374
374
  import { DisableFastLaunchCommandInput, DisableFastLaunchCommandOutput } from "../commands/DisableFastLaunchCommand";
375
375
  import { DisableFastSnapshotRestoresCommandInput, DisableFastSnapshotRestoresCommandOutput } from "../commands/DisableFastSnapshotRestoresCommand";
376
+ import { DisableImageBlockPublicAccessCommandInput, DisableImageBlockPublicAccessCommandOutput } from "../commands/DisableImageBlockPublicAccessCommand";
376
377
  import { DisableImageDeprecationCommandInput, DisableImageDeprecationCommandOutput } from "../commands/DisableImageDeprecationCommand";
377
378
  import { DisableIpamOrganizationAdminAccountCommandInput, DisableIpamOrganizationAdminAccountCommandOutput } from "../commands/DisableIpamOrganizationAdminAccountCommand";
378
379
  import { DisableSerialConsoleAccessCommandInput, DisableSerialConsoleAccessCommandOutput } from "../commands/DisableSerialConsoleAccessCommand";
@@ -399,6 +400,7 @@ import { EnableAwsNetworkPerformanceMetricSubscriptionCommandInput, EnableAwsNet
399
400
  import { EnableEbsEncryptionByDefaultCommandInput, EnableEbsEncryptionByDefaultCommandOutput } from "../commands/EnableEbsEncryptionByDefaultCommand";
400
401
  import { EnableFastLaunchCommandInput, EnableFastLaunchCommandOutput } from "../commands/EnableFastLaunchCommand";
401
402
  import { EnableFastSnapshotRestoresCommandInput, EnableFastSnapshotRestoresCommandOutput } from "../commands/EnableFastSnapshotRestoresCommand";
403
+ import { EnableImageBlockPublicAccessCommandInput, EnableImageBlockPublicAccessCommandOutput } from "../commands/EnableImageBlockPublicAccessCommand";
402
404
  import { EnableImageDeprecationCommandInput, EnableImageDeprecationCommandOutput } from "../commands/EnableImageDeprecationCommand";
403
405
  import { EnableIpamOrganizationAdminAccountCommandInput, EnableIpamOrganizationAdminAccountCommandOutput } from "../commands/EnableIpamOrganizationAdminAccountCommand";
404
406
  import { EnableReachabilityAnalyzerOrganizationSharingCommandInput, EnableReachabilityAnalyzerOrganizationSharingCommandOutput } from "../commands/EnableReachabilityAnalyzerOrganizationSharingCommand";
@@ -425,6 +427,7 @@ import { GetEbsEncryptionByDefaultCommandInput, GetEbsEncryptionByDefaultCommand
425
427
  import { GetFlowLogsIntegrationTemplateCommandInput, GetFlowLogsIntegrationTemplateCommandOutput } from "../commands/GetFlowLogsIntegrationTemplateCommand";
426
428
  import { GetGroupsForCapacityReservationCommandInput, GetGroupsForCapacityReservationCommandOutput } from "../commands/GetGroupsForCapacityReservationCommand";
427
429
  import { GetHostReservationPurchasePreviewCommandInput, GetHostReservationPurchasePreviewCommandOutput } from "../commands/GetHostReservationPurchasePreviewCommand";
430
+ import { GetImageBlockPublicAccessStateCommandInput, GetImageBlockPublicAccessStateCommandOutput } from "../commands/GetImageBlockPublicAccessStateCommand";
428
431
  import { GetInstanceTypesFromInstanceRequirementsCommandInput, GetInstanceTypesFromInstanceRequirementsCommandOutput } from "../commands/GetInstanceTypesFromInstanceRequirementsCommand";
429
432
  import { GetInstanceUefiDataCommandInput, GetInstanceUefiDataCommandOutput } from "../commands/GetInstanceUefiDataCommand";
430
433
  import { GetIpamAddressHistoryCommandInput, GetIpamAddressHistoryCommandOutput } from "../commands/GetIpamAddressHistoryCommand";
@@ -2086,6 +2089,10 @@ export declare const se_DisableFastLaunchCommand: (input: DisableFastLaunchComma
2086
2089
  * serializeAws_ec2DisableFastSnapshotRestoresCommand
2087
2090
  */
2088
2091
  export declare const se_DisableFastSnapshotRestoresCommand: (input: DisableFastSnapshotRestoresCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
2092
+ /**
2093
+ * serializeAws_ec2DisableImageBlockPublicAccessCommand
2094
+ */
2095
+ export declare const se_DisableImageBlockPublicAccessCommand: (input: DisableImageBlockPublicAccessCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
2089
2096
  /**
2090
2097
  * serializeAws_ec2DisableImageDeprecationCommand
2091
2098
  */
@@ -2190,6 +2197,10 @@ export declare const se_EnableFastLaunchCommand: (input: EnableFastLaunchCommand
2190
2197
  * serializeAws_ec2EnableFastSnapshotRestoresCommand
2191
2198
  */
2192
2199
  export declare const se_EnableFastSnapshotRestoresCommand: (input: EnableFastSnapshotRestoresCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
2200
+ /**
2201
+ * serializeAws_ec2EnableImageBlockPublicAccessCommand
2202
+ */
2203
+ export declare const se_EnableImageBlockPublicAccessCommand: (input: EnableImageBlockPublicAccessCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
2193
2204
  /**
2194
2205
  * serializeAws_ec2EnableImageDeprecationCommand
2195
2206
  */
@@ -2294,6 +2305,10 @@ export declare const se_GetGroupsForCapacityReservationCommand: (input: GetGroup
2294
2305
  * serializeAws_ec2GetHostReservationPurchasePreviewCommand
2295
2306
  */
2296
2307
  export declare const se_GetHostReservationPurchasePreviewCommand: (input: GetHostReservationPurchasePreviewCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
2308
+ /**
2309
+ * serializeAws_ec2GetImageBlockPublicAccessStateCommand
2310
+ */
2311
+ export declare const se_GetImageBlockPublicAccessStateCommand: (input: GetImageBlockPublicAccessStateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
2297
2312
  /**
2298
2313
  * serializeAws_ec2GetInstanceTypesFromInstanceRequirementsCommand
2299
2314
  */
@@ -4462,6 +4477,10 @@ export declare const de_DisableFastLaunchCommand: (output: __HttpResponse, conte
4462
4477
  * deserializeAws_ec2DisableFastSnapshotRestoresCommand
4463
4478
  */
4464
4479
  export declare const de_DisableFastSnapshotRestoresCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisableFastSnapshotRestoresCommandOutput>;
4480
+ /**
4481
+ * deserializeAws_ec2DisableImageBlockPublicAccessCommand
4482
+ */
4483
+ export declare const de_DisableImageBlockPublicAccessCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisableImageBlockPublicAccessCommandOutput>;
4465
4484
  /**
4466
4485
  * deserializeAws_ec2DisableImageDeprecationCommand
4467
4486
  */
@@ -4566,6 +4585,10 @@ export declare const de_EnableFastLaunchCommand: (output: __HttpResponse, contex
4566
4585
  * deserializeAws_ec2EnableFastSnapshotRestoresCommand
4567
4586
  */
4568
4587
  export declare const de_EnableFastSnapshotRestoresCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<EnableFastSnapshotRestoresCommandOutput>;
4588
+ /**
4589
+ * deserializeAws_ec2EnableImageBlockPublicAccessCommand
4590
+ */
4591
+ export declare const de_EnableImageBlockPublicAccessCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<EnableImageBlockPublicAccessCommandOutput>;
4569
4592
  /**
4570
4593
  * deserializeAws_ec2EnableImageDeprecationCommand
4571
4594
  */
@@ -4670,6 +4693,10 @@ export declare const de_GetGroupsForCapacityReservationCommand: (output: __HttpR
4670
4693
  * deserializeAws_ec2GetHostReservationPurchasePreviewCommand
4671
4694
  */
4672
4695
  export declare const de_GetHostReservationPurchasePreviewCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetHostReservationPurchasePreviewCommandOutput>;
4696
+ /**
4697
+ * deserializeAws_ec2GetImageBlockPublicAccessStateCommand
4698
+ */
4699
+ export declare const de_GetImageBlockPublicAccessStateCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetImageBlockPublicAccessStateCommandOutput>;
4673
4700
  /**
4674
4701
  * deserializeAws_ec2GetInstanceTypesFromInstanceRequirementsCommand
4675
4702
  */
@@ -1491,6 +1491,10 @@ import {
1491
1491
  DisableFastSnapshotRestoresCommandInput,
1492
1492
  DisableFastSnapshotRestoresCommandOutput,
1493
1493
  } from "./commands/DisableFastSnapshotRestoresCommand";
1494
+ import {
1495
+ DisableImageBlockPublicAccessCommandInput,
1496
+ DisableImageBlockPublicAccessCommandOutput,
1497
+ } from "./commands/DisableImageBlockPublicAccessCommand";
1494
1498
  import {
1495
1499
  DisableImageDeprecationCommandInput,
1496
1500
  DisableImageDeprecationCommandOutput,
@@ -1595,6 +1599,10 @@ import {
1595
1599
  EnableFastSnapshotRestoresCommandInput,
1596
1600
  EnableFastSnapshotRestoresCommandOutput,
1597
1601
  } from "./commands/EnableFastSnapshotRestoresCommand";
1602
+ import {
1603
+ EnableImageBlockPublicAccessCommandInput,
1604
+ EnableImageBlockPublicAccessCommandOutput,
1605
+ } from "./commands/EnableImageBlockPublicAccessCommand";
1598
1606
  import {
1599
1607
  EnableImageDeprecationCommandInput,
1600
1608
  EnableImageDeprecationCommandOutput,
@@ -1699,6 +1707,10 @@ import {
1699
1707
  GetHostReservationPurchasePreviewCommandInput,
1700
1708
  GetHostReservationPurchasePreviewCommandOutput,
1701
1709
  } from "./commands/GetHostReservationPurchasePreviewCommand";
1710
+ import {
1711
+ GetImageBlockPublicAccessStateCommandInput,
1712
+ GetImageBlockPublicAccessStateCommandOutput,
1713
+ } from "./commands/GetImageBlockPublicAccessStateCommand";
1702
1714
  import {
1703
1715
  GetInstanceTypesFromInstanceRequirementsCommandInput,
1704
1716
  GetInstanceTypesFromInstanceRequirementsCommandOutput,
@@ -7646,6 +7658,19 @@ export interface EC2 {
7646
7658
  options: __HttpHandlerOptions,
7647
7659
  cb: (err: any, data?: DisableFastSnapshotRestoresCommandOutput) => void
7648
7660
  ): void;
7661
+ disableImageBlockPublicAccess(
7662
+ args: DisableImageBlockPublicAccessCommandInput,
7663
+ options?: __HttpHandlerOptions
7664
+ ): Promise<DisableImageBlockPublicAccessCommandOutput>;
7665
+ disableImageBlockPublicAccess(
7666
+ args: DisableImageBlockPublicAccessCommandInput,
7667
+ cb: (err: any, data?: DisableImageBlockPublicAccessCommandOutput) => void
7668
+ ): void;
7669
+ disableImageBlockPublicAccess(
7670
+ args: DisableImageBlockPublicAccessCommandInput,
7671
+ options: __HttpHandlerOptions,
7672
+ cb: (err: any, data?: DisableImageBlockPublicAccessCommandOutput) => void
7673
+ ): void;
7649
7674
  disableImageDeprecation(
7650
7675
  args: DisableImageDeprecationCommandInput,
7651
7676
  options?: __HttpHandlerOptions
@@ -8038,6 +8063,19 @@ export interface EC2 {
8038
8063
  options: __HttpHandlerOptions,
8039
8064
  cb: (err: any, data?: EnableFastSnapshotRestoresCommandOutput) => void
8040
8065
  ): void;
8066
+ enableImageBlockPublicAccess(
8067
+ args: EnableImageBlockPublicAccessCommandInput,
8068
+ options?: __HttpHandlerOptions
8069
+ ): Promise<EnableImageBlockPublicAccessCommandOutput>;
8070
+ enableImageBlockPublicAccess(
8071
+ args: EnableImageBlockPublicAccessCommandInput,
8072
+ cb: (err: any, data?: EnableImageBlockPublicAccessCommandOutput) => void
8073
+ ): void;
8074
+ enableImageBlockPublicAccess(
8075
+ args: EnableImageBlockPublicAccessCommandInput,
8076
+ options: __HttpHandlerOptions,
8077
+ cb: (err: any, data?: EnableImageBlockPublicAccessCommandOutput) => void
8078
+ ): void;
8041
8079
  enableImageDeprecation(
8042
8080
  args: EnableImageDeprecationCommandInput,
8043
8081
  options?: __HttpHandlerOptions
@@ -8418,6 +8456,19 @@ export interface EC2 {
8418
8456
  data?: GetHostReservationPurchasePreviewCommandOutput
8419
8457
  ) => void
8420
8458
  ): void;
8459
+ getImageBlockPublicAccessState(
8460
+ args: GetImageBlockPublicAccessStateCommandInput,
8461
+ options?: __HttpHandlerOptions
8462
+ ): Promise<GetImageBlockPublicAccessStateCommandOutput>;
8463
+ getImageBlockPublicAccessState(
8464
+ args: GetImageBlockPublicAccessStateCommandInput,
8465
+ cb: (err: any, data?: GetImageBlockPublicAccessStateCommandOutput) => void
8466
+ ): void;
8467
+ getImageBlockPublicAccessState(
8468
+ args: GetImageBlockPublicAccessStateCommandInput,
8469
+ options: __HttpHandlerOptions,
8470
+ cb: (err: any, data?: GetImageBlockPublicAccessStateCommandOutput) => void
8471
+ ): void;
8421
8472
  getInstanceTypesFromInstanceRequirements(
8422
8473
  args: GetInstanceTypesFromInstanceRequirementsCommandInput,
8423
8474
  options?: __HttpHandlerOptions
@@ -1537,6 +1537,10 @@ import {
1537
1537
  DisableFastSnapshotRestoresCommandInput,
1538
1538
  DisableFastSnapshotRestoresCommandOutput,
1539
1539
  } from "./commands/DisableFastSnapshotRestoresCommand";
1540
+ import {
1541
+ DisableImageBlockPublicAccessCommandInput,
1542
+ DisableImageBlockPublicAccessCommandOutput,
1543
+ } from "./commands/DisableImageBlockPublicAccessCommand";
1540
1544
  import {
1541
1545
  DisableImageDeprecationCommandInput,
1542
1546
  DisableImageDeprecationCommandOutput,
@@ -1641,6 +1645,10 @@ import {
1641
1645
  EnableFastSnapshotRestoresCommandInput,
1642
1646
  EnableFastSnapshotRestoresCommandOutput,
1643
1647
  } from "./commands/EnableFastSnapshotRestoresCommand";
1648
+ import {
1649
+ EnableImageBlockPublicAccessCommandInput,
1650
+ EnableImageBlockPublicAccessCommandOutput,
1651
+ } from "./commands/EnableImageBlockPublicAccessCommand";
1644
1652
  import {
1645
1653
  EnableImageDeprecationCommandInput,
1646
1654
  EnableImageDeprecationCommandOutput,
@@ -1745,6 +1753,10 @@ import {
1745
1753
  GetHostReservationPurchasePreviewCommandInput,
1746
1754
  GetHostReservationPurchasePreviewCommandOutput,
1747
1755
  } from "./commands/GetHostReservationPurchasePreviewCommand";
1756
+ import {
1757
+ GetImageBlockPublicAccessStateCommandInput,
1758
+ GetImageBlockPublicAccessStateCommandOutput,
1759
+ } from "./commands/GetImageBlockPublicAccessStateCommand";
1748
1760
  import {
1749
1761
  GetInstanceTypesFromInstanceRequirementsCommandInput,
1750
1762
  GetInstanceTypesFromInstanceRequirementsCommandOutput,
@@ -2802,6 +2814,7 @@ export type ServiceInputTypes =
2802
2814
  | DisableEbsEncryptionByDefaultCommandInput
2803
2815
  | DisableFastLaunchCommandInput
2804
2816
  | DisableFastSnapshotRestoresCommandInput
2817
+ | DisableImageBlockPublicAccessCommandInput
2805
2818
  | DisableImageDeprecationCommandInput
2806
2819
  | DisableIpamOrganizationAdminAccountCommandInput
2807
2820
  | DisableSerialConsoleAccessCommandInput
@@ -2828,6 +2841,7 @@ export type ServiceInputTypes =
2828
2841
  | EnableEbsEncryptionByDefaultCommandInput
2829
2842
  | EnableFastLaunchCommandInput
2830
2843
  | EnableFastSnapshotRestoresCommandInput
2844
+ | EnableImageBlockPublicAccessCommandInput
2831
2845
  | EnableImageDeprecationCommandInput
2832
2846
  | EnableIpamOrganizationAdminAccountCommandInput
2833
2847
  | EnableReachabilityAnalyzerOrganizationSharingCommandInput
@@ -2854,6 +2868,7 @@ export type ServiceInputTypes =
2854
2868
  | GetFlowLogsIntegrationTemplateCommandInput
2855
2869
  | GetGroupsForCapacityReservationCommandInput
2856
2870
  | GetHostReservationPurchasePreviewCommandInput
2871
+ | GetImageBlockPublicAccessStateCommandInput
2857
2872
  | GetInstanceTypesFromInstanceRequirementsCommandInput
2858
2873
  | GetInstanceUefiDataCommandInput
2859
2874
  | GetIpamAddressHistoryCommandInput
@@ -3397,6 +3412,7 @@ export type ServiceOutputTypes =
3397
3412
  | DisableEbsEncryptionByDefaultCommandOutput
3398
3413
  | DisableFastLaunchCommandOutput
3399
3414
  | DisableFastSnapshotRestoresCommandOutput
3415
+ | DisableImageBlockPublicAccessCommandOutput
3400
3416
  | DisableImageDeprecationCommandOutput
3401
3417
  | DisableIpamOrganizationAdminAccountCommandOutput
3402
3418
  | DisableSerialConsoleAccessCommandOutput
@@ -3423,6 +3439,7 @@ export type ServiceOutputTypes =
3423
3439
  | EnableEbsEncryptionByDefaultCommandOutput
3424
3440
  | EnableFastLaunchCommandOutput
3425
3441
  | EnableFastSnapshotRestoresCommandOutput
3442
+ | EnableImageBlockPublicAccessCommandOutput
3426
3443
  | EnableImageDeprecationCommandOutput
3427
3444
  | EnableIpamOrganizationAdminAccountCommandOutput
3428
3445
  | EnableReachabilityAnalyzerOrganizationSharingCommandOutput
@@ -3449,6 +3466,7 @@ export type ServiceOutputTypes =
3449
3466
  | GetFlowLogsIntegrationTemplateCommandOutput
3450
3467
  | GetGroupsForCapacityReservationCommandOutput
3451
3468
  | GetHostReservationPurchasePreviewCommandOutput
3469
+ | GetImageBlockPublicAccessStateCommandOutput
3452
3470
  | GetInstanceTypesFromInstanceRequirementsCommandOutput
3453
3471
  | GetInstanceUefiDataCommandOutput
3454
3472
  | GetIpamAddressHistoryCommandOutput
@@ -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
+ DisableImageBlockPublicAccessRequest,
16
+ DisableImageBlockPublicAccessResult,
17
+ } from "../models/models_5";
18
+ export { __MetadataBearer, $Command };
19
+ export interface DisableImageBlockPublicAccessCommandInput
20
+ extends DisableImageBlockPublicAccessRequest {}
21
+ export interface DisableImageBlockPublicAccessCommandOutput
22
+ extends DisableImageBlockPublicAccessResult,
23
+ __MetadataBearer {}
24
+ export declare class DisableImageBlockPublicAccessCommand extends $Command<
25
+ DisableImageBlockPublicAccessCommandInput,
26
+ DisableImageBlockPublicAccessCommandOutput,
27
+ EC2ClientResolvedConfig
28
+ > {
29
+ readonly input: DisableImageBlockPublicAccessCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: DisableImageBlockPublicAccessCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: EC2ClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ DisableImageBlockPublicAccessCommandInput,
38
+ DisableImageBlockPublicAccessCommandOutput
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
+ EnableImageBlockPublicAccessRequest,
16
+ EnableImageBlockPublicAccessResult,
17
+ } from "../models/models_5";
18
+ export { __MetadataBearer, $Command };
19
+ export interface EnableImageBlockPublicAccessCommandInput
20
+ extends EnableImageBlockPublicAccessRequest {}
21
+ export interface EnableImageBlockPublicAccessCommandOutput
22
+ extends EnableImageBlockPublicAccessResult,
23
+ __MetadataBearer {}
24
+ export declare class EnableImageBlockPublicAccessCommand extends $Command<
25
+ EnableImageBlockPublicAccessCommandInput,
26
+ EnableImageBlockPublicAccessCommandOutput,
27
+ EC2ClientResolvedConfig
28
+ > {
29
+ readonly input: EnableImageBlockPublicAccessCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: EnableImageBlockPublicAccessCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: EC2ClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ EnableImageBlockPublicAccessCommandInput,
38
+ EnableImageBlockPublicAccessCommandOutput
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
+ GetImageBlockPublicAccessStateRequest,
16
+ GetImageBlockPublicAccessStateResult,
17
+ } from "../models/models_5";
18
+ export { __MetadataBearer, $Command };
19
+ export interface GetImageBlockPublicAccessStateCommandInput
20
+ extends GetImageBlockPublicAccessStateRequest {}
21
+ export interface GetImageBlockPublicAccessStateCommandOutput
22
+ extends GetImageBlockPublicAccessStateResult,
23
+ __MetadataBearer {}
24
+ export declare class GetImageBlockPublicAccessStateCommand extends $Command<
25
+ GetImageBlockPublicAccessStateCommandInput,
26
+ GetImageBlockPublicAccessStateCommandOutput,
27
+ EC2ClientResolvedConfig
28
+ > {
29
+ readonly input: GetImageBlockPublicAccessStateCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: GetImageBlockPublicAccessStateCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: EC2ClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ GetImageBlockPublicAccessStateCommandInput,
38
+ GetImageBlockPublicAccessStateCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  GetVpnConnectionDeviceSampleConfigurationRequest,
16
16
  GetVpnConnectionDeviceSampleConfigurationResult,
17
- } from "../models/models_5";
17
+ } from "../models/models_6";
18
18
  export { __MetadataBearer, $Command };
19
19
  export interface GetVpnConnectionDeviceSampleConfigurationCommandInput
20
20
  extends GetVpnConnectionDeviceSampleConfigurationRequest {}
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  GetVpnConnectionDeviceTypesRequest,
16
16
  GetVpnConnectionDeviceTypesResult,
17
- } from "../models/models_5";
17
+ } from "../models/models_6";
18
18
  export { __MetadataBearer, $Command };
19
19
  export interface GetVpnConnectionDeviceTypesCommandInput
20
20
  extends GetVpnConnectionDeviceTypesRequest {}
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  GetVpnTunnelReplacementStatusRequest,
16
16
  GetVpnTunnelReplacementStatusResult,
17
- } from "../models/models_5";
17
+ } from "../models/models_6";
18
18
  export { __MetadataBearer, $Command };
19
19
  export interface GetVpnTunnelReplacementStatusCommandInput
20
20
  extends GetVpnTunnelReplacementStatusRequest {}
@@ -12,7 +12,7 @@ import {
12
12
  ServiceOutputTypes,
13
13
  } from "../EC2Client";
14
14
  import { Reservation } from "../models/models_4";
15
- import { RunInstancesRequest } from "../models/models_6";
15
+ import { RunInstancesRequest } from "../models/models_7";
16
16
  export { __MetadataBearer, $Command };
17
17
  export interface RunInstancesCommandInput extends RunInstancesRequest {}
18
18
  export interface RunInstancesCommandOutput
@@ -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";
@@ -561,6 +561,17 @@ export interface DisableFastSnapshotRestoresResult {
561
561
  Successful?: DisableFastSnapshotRestoreSuccessItem[];
562
562
  Unsuccessful?: DisableFastSnapshotRestoreErrorItem[];
563
563
  }
564
+ export interface DisableImageBlockPublicAccessRequest {
565
+ DryRun?: boolean;
566
+ }
567
+ export declare const ImageBlockPublicAccessDisabledState: {
568
+ readonly unblocked: "unblocked";
569
+ };
570
+ export type ImageBlockPublicAccessDisabledState =
571
+ (typeof ImageBlockPublicAccessDisabledState)[keyof typeof ImageBlockPublicAccessDisabledState];
572
+ export interface DisableImageBlockPublicAccessResult {
573
+ ImageBlockPublicAccessState?: ImageBlockPublicAccessDisabledState | string;
574
+ }
564
575
  export interface DisableImageDeprecationRequest {
565
576
  ImageId: string | undefined;
566
577
  DryRun?: boolean;
@@ -820,6 +831,21 @@ export interface EnableFastSnapshotRestoresResult {
820
831
  Successful?: EnableFastSnapshotRestoreSuccessItem[];
821
832
  Unsuccessful?: EnableFastSnapshotRestoreErrorItem[];
822
833
  }
834
+ export declare const ImageBlockPublicAccessEnabledState: {
835
+ readonly block_new_sharing: "block-new-sharing";
836
+ };
837
+ export type ImageBlockPublicAccessEnabledState =
838
+ (typeof ImageBlockPublicAccessEnabledState)[keyof typeof ImageBlockPublicAccessEnabledState];
839
+ export interface EnableImageBlockPublicAccessRequest {
840
+ ImageBlockPublicAccessState:
841
+ | ImageBlockPublicAccessEnabledState
842
+ | string
843
+ | undefined;
844
+ DryRun?: boolean;
845
+ }
846
+ export interface EnableImageBlockPublicAccessResult {
847
+ ImageBlockPublicAccessState?: ImageBlockPublicAccessEnabledState | string;
848
+ }
823
849
  export interface EnableImageDeprecationRequest {
824
850
  ImageId: string | undefined;
825
851
  DeprecateAt: Date | undefined;
@@ -1148,6 +1174,12 @@ export interface GetHostReservationPurchasePreviewResult {
1148
1174
  TotalHourlyPrice?: string;
1149
1175
  TotalUpfrontPrice?: string;
1150
1176
  }
1177
+ export interface GetImageBlockPublicAccessStateRequest {
1178
+ DryRun?: boolean;
1179
+ }
1180
+ export interface GetImageBlockPublicAccessStateResult {
1181
+ ImageBlockPublicAccessState?: string;
1182
+ }
1151
1183
  export interface GetInstanceTypesFromInstanceRequirementsRequest {
1152
1184
  DryRun?: boolean;
1153
1185
  ArchitectureTypes: (ArchitectureType | string)[] | undefined;
@@ -1621,48 +1653,6 @@ export interface GetVerifiedAccessGroupPolicyResult {
1621
1653
  PolicyEnabled?: boolean;
1622
1654
  PolicyDocument?: string;
1623
1655
  }
1624
- export interface GetVpnConnectionDeviceSampleConfigurationRequest {
1625
- VpnConnectionId: string | undefined;
1626
- VpnConnectionDeviceTypeId: string | undefined;
1627
- InternetKeyExchangeVersion?: string;
1628
- DryRun?: boolean;
1629
- }
1630
- export interface GetVpnConnectionDeviceSampleConfigurationResult {
1631
- VpnConnectionDeviceSampleConfiguration?: string;
1632
- }
1633
- export interface GetVpnConnectionDeviceTypesRequest {
1634
- MaxResults?: number;
1635
- NextToken?: string;
1636
- DryRun?: boolean;
1637
- }
1638
- export interface VpnConnectionDeviceType {
1639
- VpnConnectionDeviceTypeId?: string;
1640
- Vendor?: string;
1641
- Platform?: string;
1642
- Software?: string;
1643
- }
1644
- export interface GetVpnConnectionDeviceTypesResult {
1645
- VpnConnectionDeviceTypes?: VpnConnectionDeviceType[];
1646
- NextToken?: string;
1647
- }
1648
- export interface GetVpnTunnelReplacementStatusRequest {
1649
- VpnConnectionId: string | undefined;
1650
- VpnTunnelOutsideIpAddress: string | undefined;
1651
- DryRun?: boolean;
1652
- }
1653
- export interface MaintenanceDetails {
1654
- PendingMaintenance?: string;
1655
- MaintenanceAutoAppliedAfter?: Date;
1656
- LastMaintenanceApplied?: Date;
1657
- }
1658
- export interface GetVpnTunnelReplacementStatusResult {
1659
- VpnConnectionId?: string;
1660
- TransitGatewayId?: string;
1661
- CustomerGatewayId?: string;
1662
- VpnGatewayId?: string;
1663
- VpnTunnelOutsideIpAddress?: string;
1664
- MaintenanceDetails?: MaintenanceDetails;
1665
- }
1666
1656
  export declare const DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog: (
1667
1657
  obj: DescribeVerifiedAccessTrustProvidersResult
1668
1658
  ) => any;
@@ -1678,6 +1668,3 @@ export declare const GetLaunchTemplateDataResultFilterSensitiveLog: (
1678
1668
  export declare const GetPasswordDataResultFilterSensitiveLog: (
1679
1669
  obj: GetPasswordDataResult
1680
1670
  ) => any;
1681
- export declare const GetVpnConnectionDeviceSampleConfigurationResultFilterSensitiveLog: (
1682
- obj: GetVpnConnectionDeviceSampleConfigurationResult
1683
- ) => any;