@aws-sdk/client-ec2 3.696.0 → 3.697.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 (66) hide show
  1. package/dist-cjs/index.js +179 -38
  2. package/dist-es/models/models_1.js +2 -4
  3. package/dist-es/models/models_2.js +4 -0
  4. package/dist-es/models/models_3.js +0 -6
  5. package/dist-es/models/models_4.js +6 -0
  6. package/dist-es/protocols/Aws_ec2.js +168 -26
  7. package/dist-types/commands/CreateFleetCommand.d.ts +30 -3
  8. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +11 -2
  9. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +22 -4
  10. package/dist-types/commands/CreateNetworkAclCommand.d.ts +2 -1
  11. package/dist-types/commands/CreateNetworkAclEntryCommand.d.ts +1 -1
  12. package/dist-types/commands/DeleteInstanceEventWindowCommand.d.ts +2 -1
  13. package/dist-types/commands/DeleteInternetGatewayCommand.d.ts +1 -1
  14. package/dist-types/commands/DeleteIpamCommand.d.ts +1 -1
  15. package/dist-types/commands/DeleteIpamExternalResourceVerificationTokenCommand.d.ts +1 -2
  16. package/dist-types/commands/DescribeFleetsCommand.d.ts +30 -3
  17. package/dist-types/commands/DescribeHostReservationOfferingsCommand.d.ts +2 -1
  18. package/dist-types/commands/DescribeHostReservationsCommand.d.ts +1 -1
  19. package/dist-types/commands/DescribeInstancesCommand.d.ts +1 -1
  20. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +11 -2
  21. package/dist-types/commands/DescribeSecurityGroupVpcAssociationsCommand.d.ts +1 -1
  22. package/dist-types/commands/DescribeSecurityGroupsCommand.d.ts +1 -1
  23. package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +20 -2
  24. package/dist-types/commands/ExportClientVpnClientConfigurationCommand.d.ts +2 -1
  25. package/dist-types/commands/ExportImageCommand.d.ts +1 -1
  26. package/dist-types/commands/ExportTransitGatewayRoutesCommand.d.ts +1 -1
  27. package/dist-types/commands/GetInstanceTypesFromInstanceRequirementsCommand.d.ts +10 -1
  28. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +11 -2
  29. package/dist-types/commands/GetSpotPlacementScoresCommand.d.ts +10 -1
  30. package/dist-types/commands/ModifyFleetCommand.d.ts +10 -1
  31. package/dist-types/commands/ModifyInstanceCapacityReservationAttributesCommand.d.ts +2 -2
  32. package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +10 -1
  33. package/dist-types/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +2 -1
  34. package/dist-types/commands/ModifyTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  35. package/dist-types/commands/RequestSpotFleetCommand.d.ts +20 -2
  36. package/dist-types/commands/RunInstancesCommand.d.ts +2 -2
  37. package/dist-types/models/models_1.d.ts +245 -198
  38. package/dist-types/models/models_2.d.ts +199 -115
  39. package/dist-types/models/models_3.d.ts +115 -220
  40. package/dist-types/models/models_4.d.ts +222 -341
  41. package/dist-types/models/models_5.d.ts +340 -211
  42. package/dist-types/models/models_6.d.ts +228 -135
  43. package/dist-types/models/models_7.d.ts +126 -5
  44. package/dist-types/ts3.4/commands/CreateNetworkAclCommand.d.ts +2 -4
  45. package/dist-types/ts3.4/commands/CreateNetworkAclEntryCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/DeleteInstanceEventWindowCommand.d.ts +2 -4
  47. package/dist-types/ts3.4/commands/DeleteInternetGatewayCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/DeleteIpamCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/DeleteIpamExternalResourceVerificationTokenCommand.d.ts +4 -2
  50. package/dist-types/ts3.4/commands/DescribeHostReservationOfferingsCommand.d.ts +2 -4
  51. package/dist-types/ts3.4/commands/DescribeHostReservationsCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/DescribeSecurityGroupVpcAssociationsCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/DescribeSecurityGroupsCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/ExportClientVpnClientConfigurationCommand.d.ts +2 -4
  55. package/dist-types/ts3.4/commands/ExportImageCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/ExportTransitGatewayRoutesCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +2 -4
  58. package/dist-types/ts3.4/commands/ModifyTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/models/models_1.d.ts +22 -45
  60. package/dist-types/ts3.4/models/models_2.d.ts +46 -25
  61. package/dist-types/ts3.4/models/models_3.d.ts +25 -48
  62. package/dist-types/ts3.4/models/models_4.d.ts +49 -43
  63. package/dist-types/ts3.4/models/models_5.d.ts +41 -40
  64. package/dist-types/ts3.4/models/models_6.d.ts +39 -36
  65. package/dist-types/ts3.4/models/models_7.d.ts +41 -8
  66. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { AcceleratorCount, AcceleratorCountRequest, AcceleratorManufacturer, AcceleratorName, AcceleratorTotalMemoryMiB, AcceleratorTotalMemoryMiBRequest, AcceleratorType, AddIpamOperatingRegion, AddPrefixListEntry, AddressFamily, AttachmentStatus, CapacityAllocation, CapacityReservationFleetState, CapacityReservationInstancePlatform, CapacityReservationState, CapacityReservationTenancy, CapacityReservationType, EndDateType, InstanceEventWindow, InstanceMatchCriteria, NatGatewayAddress, PortRange, ResourceType, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, UnsuccessfulItem, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation, WeekDay } from "./models_0";
1
+ import { AcceleratorCount, AcceleratorCountRequest, AcceleratorManufacturer, AcceleratorName, AcceleratorTotalMemoryMiB, AcceleratorTotalMemoryMiBRequest, AcceleratorType, AddIpamOperatingRegion, AddPrefixListEntry, AddressFamily, AttachmentStatus, CapacityAllocation, CapacityReservationFleetState, CapacityReservationInstancePlatform, CapacityReservationState, CapacityReservationTenancy, CapacityReservationType, EndDateType, InstanceEventWindow, InstanceMatchCriteria, NatGatewayAddress, ResourceType, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, UnsuccessfulItem, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation, WeekDay } from "./models_0";
2
2
  /**
3
3
  * <p>Describes a Capacity Reservation.</p>
4
4
  * @public
@@ -2886,6 +2886,117 @@ export interface BaselineEbsBandwidthMbpsRequest {
2886
2886
  */
2887
2887
  Max?: number | undefined;
2888
2888
  }
2889
+ /**
2890
+ * <p>Specify an instance family to use as the baseline reference for CPU performance. All
2891
+ * instance types that match your specified attributes will be compared against the CPU
2892
+ * performance of the referenced instance family, regardless of CPU manufacturer or
2893
+ * architecture.</p>
2894
+ * <note>
2895
+ * <p>Currently, only one instance family can be specified in the list.</p>
2896
+ * </note>
2897
+ * @public
2898
+ */
2899
+ export interface PerformanceFactorReferenceRequest {
2900
+ /**
2901
+ * <p>The instance family to use as a baseline reference.</p>
2902
+ * <note>
2903
+ * <p>Ensure that you specify the correct value for the instance family. The instance
2904
+ * family is everything before the period (<code>.</code>) in the instance type name. For
2905
+ * example, in the instance type <code>c6i.large</code>, the instance family is
2906
+ * <code>c6i</code>, not <code>c6</code>. For more information, see <a href="https://docs.aws.amazon.com/ec2/latest/instancetypes/instance-type-names.html">Amazon EC2
2907
+ * instance type naming conventions</a> in <i>Amazon EC2 Instance
2908
+ * Types</i>.</p>
2909
+ * </note>
2910
+ * <p>The following instance families are <i>not supported</i> for performance
2911
+ * protection:</p>
2912
+ * <ul>
2913
+ * <li>
2914
+ * <p>
2915
+ * <code>c1</code>
2916
+ * </p>
2917
+ * </li>
2918
+ * <li>
2919
+ * <p>
2920
+ * <code>g3</code> | <code>g3s</code>
2921
+ * </p>
2922
+ * </li>
2923
+ * <li>
2924
+ * <p>
2925
+ * <code>hpc7g</code>
2926
+ * </p>
2927
+ * </li>
2928
+ * <li>
2929
+ * <p>
2930
+ * <code>m1</code> | <code>m2</code>
2931
+ * </p>
2932
+ * </li>
2933
+ * <li>
2934
+ * <p>
2935
+ * <code>mac1</code> | <code>mac2</code> | <code>mac2-m1ultra</code> |
2936
+ * <code>mac2-m2</code> | <code>mac2-m2pro</code>
2937
+ * </p>
2938
+ * </li>
2939
+ * <li>
2940
+ * <p>
2941
+ * <code>p3dn</code> | <code>p4d</code> | <code>p5</code>
2942
+ * </p>
2943
+ * </li>
2944
+ * <li>
2945
+ * <p>
2946
+ * <code>t1</code>
2947
+ * </p>
2948
+ * </li>
2949
+ * <li>
2950
+ * <p>
2951
+ * <code>u-12tb1</code> | <code>u-18tb1</code> | <code>u-24tb1</code> |
2952
+ * <code>u-3tb1</code> | <code>u-6tb1</code> | <code>u-9tb1</code> |
2953
+ * <code>u7i-12tb</code> | <code>u7in-16tb</code> | <code>u7in-24tb</code> |
2954
+ * <code>u7in-32tb</code>
2955
+ * </p>
2956
+ * </li>
2957
+ * </ul>
2958
+ * <p>If you enable performance protection by specifying a supported instance family, the
2959
+ * returned instance types will exclude the above unsupported instance families.</p>
2960
+ * <p>If you specify an unsupported instance family as a value for baseline performance, the
2961
+ * API returns an empty response for and an exception for , , , and .</p>
2962
+ * @public
2963
+ */
2964
+ InstanceFamily?: string | undefined;
2965
+ }
2966
+ /**
2967
+ * <p>The CPU performance to consider, using an instance family as the baseline reference.</p>
2968
+ * @public
2969
+ */
2970
+ export interface CpuPerformanceFactorRequest {
2971
+ /**
2972
+ * <p>Specify an instance family to use as the baseline reference for CPU performance. All
2973
+ * instance types that match your specified attributes will be compared against the CPU
2974
+ * performance of the referenced instance family, regardless of CPU manufacturer or
2975
+ * architecture differences.</p>
2976
+ * <note>
2977
+ * <p>Currently, only one instance family can be specified in the list.</p>
2978
+ * </note>
2979
+ * @public
2980
+ */
2981
+ References?: PerformanceFactorReferenceRequest[] | undefined;
2982
+ }
2983
+ /**
2984
+ * <p>The baseline performance to consider, using an instance family as a baseline reference.
2985
+ * The instance family establishes the lowest acceptable level of performance. Amazon EC2 uses this
2986
+ * baseline to guide instance type selection, but there is no guarantee that the selected
2987
+ * instance types will always exceed the baseline for every application.</p>
2988
+ * <p>Currently, this parameter only supports CPU performance as a baseline performance
2989
+ * factor. For example, specifying <code>c6i</code> would use the CPU performance of the
2990
+ * <code>c6i</code> family as the baseline reference.</p>
2991
+ * @public
2992
+ */
2993
+ export interface BaselinePerformanceFactorsRequest {
2994
+ /**
2995
+ * <p>The CPU performance to consider, using an instance family as the baseline reference.</p>
2996
+ * @public
2997
+ */
2998
+ Cpu?: CpuPerformanceFactorRequest | undefined;
2999
+ }
2889
3000
  /**
2890
3001
  * @public
2891
3002
  * @enum
@@ -2906,6 +3017,7 @@ export type BurstablePerformance = (typeof BurstablePerformance)[keyof typeof Bu
2906
3017
  export declare const CpuManufacturer: {
2907
3018
  readonly AMAZON_WEB_SERVICES: "amazon-web-services";
2908
3019
  readonly AMD: "amd";
3020
+ readonly APPLE: "apple";
2909
3021
  readonly INTEL: "intel";
2910
3022
  };
2911
3023
  /**
@@ -3463,6 +3575,16 @@ export interface InstanceRequirementsRequest {
3463
3575
  * @public
3464
3576
  */
3465
3577
  MaxSpotPriceAsPercentageOfOptimalOnDemandPrice?: number | undefined;
3578
+ /**
3579
+ * <p>The baseline performance to consider, using an instance family as a baseline reference.
3580
+ * The instance family establishes the lowest acceptable level of performance. Amazon EC2 uses this
3581
+ * baseline to guide instance type selection, but there is no guarantee that the selected
3582
+ * instance types will always exceed the baseline for every application. Currently, this
3583
+ * parameter only supports CPU performance as a baseline performance factor. For more
3584
+ * information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html#ec2fleet-abis-performance-protection">Performance protection</a> in the <i>Amazon EC2 User Guide</i>.</p>
3585
+ * @public
3586
+ */
3587
+ BaselinePerformanceFactors?: BaselinePerformanceFactorsRequest | undefined;
3466
3588
  }
3467
3589
  /**
3468
3590
  * <p>Describes the placement of an instance.</p>
@@ -4281,6 +4403,117 @@ export interface BaselineEbsBandwidthMbps {
4281
4403
  */
4282
4404
  Max?: number | undefined;
4283
4405
  }
4406
+ /**
4407
+ * <p>Specify an instance family to use as the baseline reference for CPU performance. All
4408
+ * instance types that match your specified attributes will be compared against the CPU
4409
+ * performance of the referenced instance family, regardless of CPU manufacturer or
4410
+ * architecture.</p>
4411
+ * <note>
4412
+ * <p>Currently, only one instance family can be specified in the list.</p>
4413
+ * </note>
4414
+ * @public
4415
+ */
4416
+ export interface PerformanceFactorReference {
4417
+ /**
4418
+ * <p>The instance family to use as a baseline reference.</p>
4419
+ * <note>
4420
+ * <p>Ensure that you specify the correct value for the instance family. The instance
4421
+ * family is everything before the period (<code>.</code>) in the instance type name. For
4422
+ * example, in the instance type <code>c6i.large</code>, the instance family is
4423
+ * <code>c6i</code>, not <code>c6</code>. For more information, see <a href="https://docs.aws.amazon.com/ec2/latest/instancetypes/instance-type-names.html">Amazon EC2
4424
+ * instance type naming conventions</a> in <i>Amazon EC2 Instance
4425
+ * Types</i>.</p>
4426
+ * </note>
4427
+ * <p>The following instance families are <i>not supported</i> for performance
4428
+ * protection:</p>
4429
+ * <ul>
4430
+ * <li>
4431
+ * <p>
4432
+ * <code>c1</code>
4433
+ * </p>
4434
+ * </li>
4435
+ * <li>
4436
+ * <p>
4437
+ * <code>g3</code> | <code>g3s</code>
4438
+ * </p>
4439
+ * </li>
4440
+ * <li>
4441
+ * <p>
4442
+ * <code>hpc7g</code>
4443
+ * </p>
4444
+ * </li>
4445
+ * <li>
4446
+ * <p>
4447
+ * <code>m1</code> | <code>m2</code>
4448
+ * </p>
4449
+ * </li>
4450
+ * <li>
4451
+ * <p>
4452
+ * <code>mac1</code> | <code>mac2</code> | <code>mac2-m1ultra</code> |
4453
+ * <code>mac2-m2</code> | <code>mac2-m2pro</code>
4454
+ * </p>
4455
+ * </li>
4456
+ * <li>
4457
+ * <p>
4458
+ * <code>p3dn</code> | <code>p4d</code> | <code>p5</code>
4459
+ * </p>
4460
+ * </li>
4461
+ * <li>
4462
+ * <p>
4463
+ * <code>t1</code>
4464
+ * </p>
4465
+ * </li>
4466
+ * <li>
4467
+ * <p>
4468
+ * <code>u-12tb1</code> | <code>u-18tb1</code> | <code>u-24tb1</code> |
4469
+ * <code>u-3tb1</code> | <code>u-6tb1</code> | <code>u-9tb1</code> |
4470
+ * <code>u7i-12tb</code> | <code>u7in-16tb</code> | <code>u7in-24tb</code> |
4471
+ * <code>u7in-32tb</code>
4472
+ * </p>
4473
+ * </li>
4474
+ * </ul>
4475
+ * <p>If you enable performance protection by specifying a supported instance family, the
4476
+ * returned instance types will exclude the above unsupported instance families.</p>
4477
+ * <p>If you specify an unsupported instance family as a value for baseline performance, the
4478
+ * API returns an empty response for and an exception for , , , and .</p>
4479
+ * @public
4480
+ */
4481
+ InstanceFamily?: string | undefined;
4482
+ }
4483
+ /**
4484
+ * <p>The CPU performance to consider, using an instance family as the baseline reference.</p>
4485
+ * @public
4486
+ */
4487
+ export interface CpuPerformanceFactor {
4488
+ /**
4489
+ * <p>Specify an instance family to use as the baseline reference for CPU performance. All
4490
+ * instance types that match your specified attributes will be compared against the CPU
4491
+ * performance of the referenced instance family, regardless of CPU manufacturer or
4492
+ * architecture differences.</p>
4493
+ * <note>
4494
+ * <p>Currently, only one instance family can be specified in the list.</p>
4495
+ * </note>
4496
+ * @public
4497
+ */
4498
+ References?: PerformanceFactorReference[] | undefined;
4499
+ }
4500
+ /**
4501
+ * <p>The baseline performance to consider, using an instance family as a baseline reference.
4502
+ * The instance family establishes the lowest acceptable level of performance. Amazon EC2 uses this
4503
+ * baseline to guide instance type selection, but there is no guarantee that the selected
4504
+ * instance types will always exceed the baseline for every application.</p>
4505
+ * <p>Currently, this parameter only supports CPU performance as a baseline performance
4506
+ * factor. For example, specifying <code>c6i</code> would use the CPU performance of the
4507
+ * <code>c6i</code> family as the baseline reference.</p>
4508
+ * @public
4509
+ */
4510
+ export interface BaselinePerformanceFactors {
4511
+ /**
4512
+ * <p>The CPU performance to consider, using an instance family as the baseline reference.</p>
4513
+ * @public
4514
+ */
4515
+ Cpu?: CpuPerformanceFactor | undefined;
4516
+ }
4284
4517
  /**
4285
4518
  * <p>The minimum and maximum amount of memory per vCPU, in GiB.</p>
4286
4519
  * <p></p>
@@ -4797,6 +5030,16 @@ export interface InstanceRequirements {
4797
5030
  * @public
4798
5031
  */
4799
5032
  MaxSpotPriceAsPercentageOfOptimalOnDemandPrice?: number | undefined;
5033
+ /**
5034
+ * <p>The baseline performance to consider, using an instance family as a baseline reference.
5035
+ * The instance family establishes the lowest acceptable level of performance. Amazon EC2 uses this
5036
+ * baseline to guide instance type selection, but there is no guarantee that the selected
5037
+ * instance types will always exceed the baseline for every application. Currently, this
5038
+ * parameter only supports CPU performance as a baseline performance factor. For more
5039
+ * information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html#ec2fleet-abis-performance-protection">Performance protection</a> in the <i>Amazon EC2 User Guide</i>.</p>
5040
+ * @public
5041
+ */
5042
+ BaselinePerformanceFactors?: BaselinePerformanceFactors | undefined;
4800
5043
  }
4801
5044
  /**
4802
5045
  * <p>Describes the placement of an instance.</p>
@@ -7484,6 +7727,7 @@ export interface LaunchTemplateBlockDeviceMappingRequest {
7484
7727
  * @enum
7485
7728
  */
7486
7729
  export declare const CapacityReservationPreference: {
7730
+ readonly capacity_reservations_only: "capacity-reservations-only";
7487
7731
  readonly none: "none";
7488
7732
  readonly open: "open";
7489
7733
  };
@@ -10873,203 +11117,6 @@ export interface NetworkAclAssociation {
10873
11117
  */
10874
11118
  SubnetId?: string | undefined;
10875
11119
  }
10876
- /**
10877
- * <p>Describes the ICMP type and code.</p>
10878
- * @public
10879
- */
10880
- export interface IcmpTypeCode {
10881
- /**
10882
- * <p>The ICMP code. A value of -1 means all codes for the specified ICMP type.</p>
10883
- * @public
10884
- */
10885
- Code?: number | undefined;
10886
- /**
10887
- * <p>The ICMP type. A value of -1 means all types.</p>
10888
- * @public
10889
- */
10890
- Type?: number | undefined;
10891
- }
10892
- /**
10893
- * @public
10894
- * @enum
10895
- */
10896
- export declare const RuleAction: {
10897
- readonly allow: "allow";
10898
- readonly deny: "deny";
10899
- };
10900
- /**
10901
- * @public
10902
- */
10903
- export type RuleAction = (typeof RuleAction)[keyof typeof RuleAction];
10904
- /**
10905
- * <p>Describes an entry in a network ACL.</p>
10906
- * @public
10907
- */
10908
- export interface NetworkAclEntry {
10909
- /**
10910
- * <p>The IPv4 network range to allow or deny, in CIDR notation.</p>
10911
- * @public
10912
- */
10913
- CidrBlock?: string | undefined;
10914
- /**
10915
- * <p>Indicates whether the rule is an egress rule (applied to traffic leaving the subnet).</p>
10916
- * @public
10917
- */
10918
- Egress?: boolean | undefined;
10919
- /**
10920
- * <p>ICMP protocol: The ICMP type and code.</p>
10921
- * @public
10922
- */
10923
- IcmpTypeCode?: IcmpTypeCode | undefined;
10924
- /**
10925
- * <p>The IPv6 network range to allow or deny, in CIDR notation.</p>
10926
- * @public
10927
- */
10928
- Ipv6CidrBlock?: string | undefined;
10929
- /**
10930
- * <p>TCP or UDP protocols: The range of ports the rule applies to.</p>
10931
- * @public
10932
- */
10933
- PortRange?: PortRange | undefined;
10934
- /**
10935
- * <p>The protocol number. A value of "-1" means all protocols.</p>
10936
- * @public
10937
- */
10938
- Protocol?: string | undefined;
10939
- /**
10940
- * <p>Indicates whether to allow or deny the traffic that matches the rule.</p>
10941
- * @public
10942
- */
10943
- RuleAction?: RuleAction | undefined;
10944
- /**
10945
- * <p>The rule number for the entry. ACL entries are processed in ascending order by rule number.</p>
10946
- * @public
10947
- */
10948
- RuleNumber?: number | undefined;
10949
- }
10950
- /**
10951
- * <p>Describes a network ACL.</p>
10952
- * @public
10953
- */
10954
- export interface NetworkAcl {
10955
- /**
10956
- * <p>Any associations between the network ACL and your subnets</p>
10957
- * @public
10958
- */
10959
- Associations?: NetworkAclAssociation[] | undefined;
10960
- /**
10961
- * <p>The entries (rules) in the network ACL.</p>
10962
- * @public
10963
- */
10964
- Entries?: NetworkAclEntry[] | undefined;
10965
- /**
10966
- * <p>Indicates whether this is the default network ACL for the VPC.</p>
10967
- * @public
10968
- */
10969
- IsDefault?: boolean | undefined;
10970
- /**
10971
- * <p>The ID of the network ACL.</p>
10972
- * @public
10973
- */
10974
- NetworkAclId?: string | undefined;
10975
- /**
10976
- * <p>Any tags assigned to the network ACL.</p>
10977
- * @public
10978
- */
10979
- Tags?: Tag[] | undefined;
10980
- /**
10981
- * <p>The ID of the VPC for the network ACL.</p>
10982
- * @public
10983
- */
10984
- VpcId?: string | undefined;
10985
- /**
10986
- * <p>The ID of the Amazon Web Services account that owns the network ACL.</p>
10987
- * @public
10988
- */
10989
- OwnerId?: string | undefined;
10990
- }
10991
- /**
10992
- * @public
10993
- */
10994
- export interface CreateNetworkAclResult {
10995
- /**
10996
- * <p>Information about the network ACL.</p>
10997
- * @public
10998
- */
10999
- NetworkAcl?: NetworkAcl | undefined;
11000
- /**
11001
- * <p>Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.</p>
11002
- * @public
11003
- */
11004
- ClientToken?: string | undefined;
11005
- }
11006
- /**
11007
- * @public
11008
- */
11009
- export interface CreateNetworkAclEntryRequest {
11010
- /**
11011
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
11012
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
11013
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
11014
- * @public
11015
- */
11016
- DryRun?: boolean | undefined;
11017
- /**
11018
- * <p>The ID of the network ACL.</p>
11019
- * @public
11020
- */
11021
- NetworkAclId: string | undefined;
11022
- /**
11023
- * <p>The rule number for the entry (for example, 100). ACL entries are processed in ascending order by rule number.</p>
11024
- * <p>Constraints: Positive integer from 1 to 32766. The range 32767 to 65535 is reserved for internal use.</p>
11025
- * @public
11026
- */
11027
- RuleNumber: number | undefined;
11028
- /**
11029
- * <p>The protocol number. A value of "-1" means all protocols. If you specify "-1" or a
11030
- * protocol number other than "6" (TCP), "17" (UDP), or "1" (ICMP), traffic on all ports is
11031
- * allowed, regardless of any ports or ICMP types or codes that you specify. If you specify
11032
- * protocol "58" (ICMPv6) and specify an IPv4 CIDR block, traffic for all ICMP types and
11033
- * codes allowed, regardless of any that you specify. If you specify protocol "58" (ICMPv6)
11034
- * and specify an IPv6 CIDR block, you must specify an ICMP type and code.</p>
11035
- * @public
11036
- */
11037
- Protocol: string | undefined;
11038
- /**
11039
- * <p>Indicates whether to allow or deny the traffic that matches the rule.</p>
11040
- * @public
11041
- */
11042
- RuleAction: RuleAction | undefined;
11043
- /**
11044
- * <p>Indicates whether this is an egress rule (rule is applied to traffic leaving the subnet).</p>
11045
- * @public
11046
- */
11047
- Egress: boolean | undefined;
11048
- /**
11049
- * <p>The IPv4 network range to allow or deny, in CIDR notation (for example
11050
- * <code>172.16.0.0/24</code>). We modify the specified CIDR block to its canonical form; for example, if you specify <code>100.68.0.18/18</code>, we modify it to <code>100.68.0.0/18</code>.</p>
11051
- * @public
11052
- */
11053
- CidrBlock?: string | undefined;
11054
- /**
11055
- * <p>The IPv6 network range to allow or deny, in CIDR notation (for example
11056
- * <code>2001:db8:1234:1a00::/64</code>).</p>
11057
- * @public
11058
- */
11059
- Ipv6CidrBlock?: string | undefined;
11060
- /**
11061
- * <p>ICMP protocol: The ICMP or ICMPv6 type and code. Required if specifying protocol
11062
- * 1 (ICMP) or protocol 58 (ICMPv6) with an IPv6 CIDR block.</p>
11063
- * @public
11064
- */
11065
- IcmpTypeCode?: IcmpTypeCode | undefined;
11066
- /**
11067
- * <p>TCP or UDP protocols: The range of ports the rule applies to.
11068
- * Required if specifying protocol 6 (TCP) or 17 (UDP).</p>
11069
- * @public
11070
- */
11071
- PortRange?: PortRange | undefined;
11072
- }
11073
11120
  /**
11074
11121
  * @internal
11075
11122
  */