@aws-sdk/client-ec2 3.697.0 → 3.699.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 (125) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/index.js +562 -85
  3. package/dist-es/EC2.js +6 -0
  4. package/dist-es/commands/DescribeCapacityBlockExtensionHistoryCommand.js +22 -0
  5. package/dist-es/commands/DescribeCapacityBlockExtensionOfferingsCommand.js +22 -0
  6. package/dist-es/commands/PurchaseCapacityBlockExtensionCommand.js +22 -0
  7. package/dist-es/commands/index.js +3 -0
  8. package/dist-es/models/models_0.js +4 -14
  9. package/dist-es/models/models_1.js +17 -0
  10. package/dist-es/models/models_3.js +5 -11
  11. package/dist-es/models/models_4.js +11 -0
  12. package/dist-es/models/models_5.js +0 -4
  13. package/dist-es/models/models_6.js +4 -11
  14. package/dist-es/models/models_7.js +11 -0
  15. package/dist-es/pagination/DescribeCapacityBlockExtensionHistoryPaginator.js +4 -0
  16. package/dist-es/pagination/DescribeCapacityBlockExtensionOfferingsPaginator.js +4 -0
  17. package/dist-es/pagination/index.js +3 -1
  18. package/dist-es/protocols/Aws_ec2.js +446 -38
  19. package/dist-types/EC2.d.ts +22 -0
  20. package/dist-types/EC2Client.d.ts +5 -2
  21. package/dist-types/commands/AcceptCapacityReservationBillingOwnershipCommand.d.ts +3 -3
  22. package/dist-types/commands/AssociateCapacityReservationBillingOwnerCommand.d.ts +4 -4
  23. package/dist-types/commands/CancelCapacityReservationCommand.d.ts +17 -2
  24. package/dist-types/commands/CancelCapacityReservationFleetsCommand.d.ts +7 -6
  25. package/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +16 -5
  26. package/dist-types/commands/CreateCapacityReservationCommand.d.ts +31 -16
  27. package/dist-types/commands/CreateIpamResourceDiscoveryCommand.d.ts +5 -0
  28. package/dist-types/commands/CreateNatGatewayCommand.d.ts +2 -1
  29. package/dist-types/commands/CreateNetworkAclCommand.d.ts +1 -2
  30. package/dist-types/commands/DeleteFpgaImageCommand.d.ts +2 -1
  31. package/dist-types/commands/DeleteInstanceConnectEndpointCommand.d.ts +1 -1
  32. package/dist-types/commands/DeleteInstanceEventWindowCommand.d.ts +1 -2
  33. package/dist-types/commands/DeleteIpamResourceDiscoveryCommand.d.ts +5 -0
  34. package/dist-types/commands/DescribeCapacityBlockExtensionHistoryCommand.d.ts +102 -0
  35. package/dist-types/commands/DescribeCapacityBlockExtensionOfferingsCommand.d.ts +92 -0
  36. package/dist-types/commands/DescribeCapacityBlockOfferingsCommand.d.ts +3 -1
  37. package/dist-types/commands/DescribeCapacityReservationBillingRequestsCommand.d.ts +3 -3
  38. package/dist-types/commands/DescribeCapacityReservationsCommand.d.ts +9 -3
  39. package/dist-types/commands/DescribeFpgaImageAttributeCommand.d.ts +2 -1
  40. package/dist-types/commands/DescribeFpgaImagesCommand.d.ts +1 -1
  41. package/dist-types/commands/DescribeHostReservationOfferingsCommand.d.ts +1 -2
  42. package/dist-types/commands/DescribeIpamResourceDiscoveriesCommand.d.ts +5 -0
  43. package/dist-types/commands/DescribeScheduledInstanceAvailabilityCommand.d.ts +2 -1
  44. package/dist-types/commands/DescribeScheduledInstancesCommand.d.ts +1 -1
  45. package/dist-types/commands/DescribeSecurityGroupReferencesCommand.d.ts +1 -1
  46. package/dist-types/commands/DescribeSecurityGroupRulesCommand.d.ts +1 -1
  47. package/dist-types/commands/DescribeVpcBlockPublicAccessOptionsCommand.d.ts +1 -1
  48. package/dist-types/commands/DisassociateCapacityReservationBillingOwnerCommand.d.ts +4 -4
  49. package/dist-types/commands/EnableVgwRoutePropagationCommand.d.ts +1 -1
  50. package/dist-types/commands/EnableVolumeIOCommand.d.ts +1 -1
  51. package/dist-types/commands/EnableVpcClassicLinkCommand.d.ts +1 -1
  52. package/dist-types/commands/EnableVpcClassicLinkDnsSupportCommand.d.ts +1 -1
  53. package/dist-types/commands/ExportClientVpnClientCertificateRevocationListCommand.d.ts +1 -1
  54. package/dist-types/commands/ExportClientVpnClientConfigurationCommand.d.ts +1 -2
  55. package/dist-types/commands/GetCapacityReservationUsageCommand.d.ts +4 -4
  56. package/dist-types/commands/GetIpamDiscoveredAccountsCommand.d.ts +1 -0
  57. package/dist-types/commands/ModifyCapacityReservationCommand.d.ts +33 -4
  58. package/dist-types/commands/ModifyCapacityReservationFleetCommand.d.ts +5 -4
  59. package/dist-types/commands/ModifyInstanceCapacityReservationAttributesCommand.d.ts +4 -3
  60. package/dist-types/commands/ModifyIpamResourceDiscoveryCommand.d.ts +15 -0
  61. package/dist-types/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.d.ts +1 -1
  62. package/dist-types/commands/ModifyTrafficMirrorFilterRuleCommand.d.ts +1 -1
  63. package/dist-types/commands/ModifyTrafficMirrorSessionCommand.d.ts +1 -1
  64. package/dist-types/commands/ModifyTransitGatewayCommand.d.ts +1 -1
  65. package/dist-types/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +1 -2
  66. package/dist-types/commands/ModifyVpcBlockPublicAccessOptionsCommand.d.ts +1 -1
  67. package/dist-types/commands/MoveCapacityReservationInstancesCommand.d.ts +17 -5
  68. package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +9 -3
  69. package/dist-types/commands/PurchaseCapacityBlockExtensionCommand.d.ts +90 -0
  70. package/dist-types/commands/RejectCapacityReservationBillingOwnershipCommand.d.ts +3 -3
  71. package/dist-types/commands/index.d.ts +3 -0
  72. package/dist-types/models/models_0.d.ts +163 -67
  73. package/dist-types/models/models_1.d.ts +236 -302
  74. package/dist-types/models/models_2.d.ts +187 -66
  75. package/dist-types/models/models_3.d.ts +1425 -1385
  76. package/dist-types/models/models_4.d.ts +4190 -4186
  77. package/dist-types/models/models_5.d.ts +388 -172
  78. package/dist-types/models/models_6.d.ts +319 -425
  79. package/dist-types/models/models_7.d.ts +408 -24
  80. package/dist-types/pagination/DescribeCapacityBlockExtensionHistoryPaginator.d.ts +7 -0
  81. package/dist-types/pagination/DescribeCapacityBlockExtensionOfferingsPaginator.d.ts +7 -0
  82. package/dist-types/pagination/index.d.ts +3 -1
  83. package/dist-types/protocols/Aws_ec2.d.ts +27 -0
  84. package/dist-types/ts3.4/EC2.d.ts +64 -0
  85. package/dist-types/ts3.4/EC2Client.d.ts +18 -0
  86. package/dist-types/ts3.4/commands/CreateNatGatewayCommand.d.ts +2 -4
  87. package/dist-types/ts3.4/commands/CreateNetworkAclCommand.d.ts +4 -2
  88. package/dist-types/ts3.4/commands/DeleteFpgaImageCommand.d.ts +2 -4
  89. package/dist-types/ts3.4/commands/DeleteInstanceConnectEndpointCommand.d.ts +1 -1
  90. package/dist-types/ts3.4/commands/DeleteInstanceEventWindowCommand.d.ts +4 -2
  91. package/dist-types/ts3.4/commands/DescribeCapacityBlockExtensionHistoryCommand.d.ts +51 -0
  92. package/dist-types/ts3.4/commands/DescribeCapacityBlockExtensionOfferingsCommand.d.ts +51 -0
  93. package/dist-types/ts3.4/commands/DescribeFpgaImageAttributeCommand.d.ts +2 -4
  94. package/dist-types/ts3.4/commands/DescribeFpgaImagesCommand.d.ts +1 -1
  95. package/dist-types/ts3.4/commands/DescribeHostReservationOfferingsCommand.d.ts +4 -2
  96. package/dist-types/ts3.4/commands/DescribeScheduledInstanceAvailabilityCommand.d.ts +2 -4
  97. package/dist-types/ts3.4/commands/DescribeScheduledInstancesCommand.d.ts +1 -1
  98. package/dist-types/ts3.4/commands/DescribeSecurityGroupReferencesCommand.d.ts +1 -1
  99. package/dist-types/ts3.4/commands/DescribeSecurityGroupRulesCommand.d.ts +1 -1
  100. package/dist-types/ts3.4/commands/EnableVgwRoutePropagationCommand.d.ts +1 -1
  101. package/dist-types/ts3.4/commands/EnableVolumeIOCommand.d.ts +1 -1
  102. package/dist-types/ts3.4/commands/EnableVpcClassicLinkCommand.d.ts +1 -1
  103. package/dist-types/ts3.4/commands/EnableVpcClassicLinkDnsSupportCommand.d.ts +1 -1
  104. package/dist-types/ts3.4/commands/ExportClientVpnClientCertificateRevocationListCommand.d.ts +1 -1
  105. package/dist-types/ts3.4/commands/ExportClientVpnClientConfigurationCommand.d.ts +4 -2
  106. package/dist-types/ts3.4/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.d.ts +1 -1
  107. package/dist-types/ts3.4/commands/ModifyTrafficMirrorFilterRuleCommand.d.ts +1 -1
  108. package/dist-types/ts3.4/commands/ModifyTrafficMirrorSessionCommand.d.ts +1 -1
  109. package/dist-types/ts3.4/commands/ModifyTransitGatewayCommand.d.ts +1 -1
  110. package/dist-types/ts3.4/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +4 -2
  111. package/dist-types/ts3.4/commands/PurchaseCapacityBlockExtensionCommand.d.ts +51 -0
  112. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  113. package/dist-types/ts3.4/models/models_0.d.ts +12 -18
  114. package/dist-types/ts3.4/models/models_1.d.ts +32 -32
  115. package/dist-types/ts3.4/models/models_2.d.ts +33 -17
  116. package/dist-types/ts3.4/models/models_3.d.ts +77 -76
  117. package/dist-types/ts3.4/models/models_4.d.ts +79 -82
  118. package/dist-types/ts3.4/models/models_5.d.ts +85 -46
  119. package/dist-types/ts3.4/models/models_6.d.ts +58 -103
  120. package/dist-types/ts3.4/models/models_7.d.ts +108 -1
  121. package/dist-types/ts3.4/pagination/DescribeCapacityBlockExtensionHistoryPaginator.d.ts +11 -0
  122. package/dist-types/ts3.4/pagination/DescribeCapacityBlockExtensionOfferingsPaginator.d.ts +11 -0
  123. package/dist-types/ts3.4/pagination/index.d.ts +3 -1
  124. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +36 -0
  125. package/package.json +4 -4
@@ -1,9 +1,173 @@
1
- import { AccessScopeAnalysisFinding, AddIpamOperatingRegion, AddPrefixListEntry, AddressAttribute, Affinity, AutoPlacement, CapacityReservationState, CurrencyCodeValues, DnsSupportValue, EnaSrdSpecification, EndDateType, HostMaintenance, HostRecovery, InstanceEventWindow, InstanceMatchCriteria, IpamPoolAllocation, SecurityGroupReferencingSupportValue, SubnetAssociation, Tag, TagSpecification, TargetConfigurationRequest, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayPolicyTableAssociation, UnsuccessfulItem } from "./models_0";
2
- import { _InstanceType, AttributeValue, CapacityReservationPreference, CapacityReservationTarget, ClientConnectOptions, ClientLoginBannerOptions, ConnectionLogOptions, ConnectionTrackingSpecificationRequest, DiskImageFormat, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateConfigRequest, HostnameType, InstanceEventWindowTimeRangeRequest, InstanceRequirementsRequest, Ipam, IpamPool, IpamResourceDiscovery, IpamResourceTag, IpamScope, IpamTier, LaunchTemplate, LocalGatewayRoute, ManagedPrefixList, Placement, PlatformValues, RequestIpamResourceTag, ResponseLaunchTemplateData, SelfServicePortal, ShutdownBehavior, TargetCapacitySpecificationRequest, TargetCapacityUnitType } from "./models_1";
3
- import { AutoAcceptSharedAttachmentsValue, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, NetworkInsightsAccessScopeContent, SSEType, SubnetCidrReservation, TrafficDirection, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorNetworkService, TrafficMirrorPortRangeRequest, TrafficMirrorRuleAction, TrafficMirrorSession, TransitGateway, TransitGatewayPrefixListReference, VpnEcmpSupportValue } from "./models_2";
4
- import { ConversionTask, ExportTaskS3Location, Filter, FpgaImageAttribute, FpgaImageAttributeName, IpamPoolCidr, MetricType, PaymentOption, PeriodType, PermissionGroup, StatisticType } from "./models_3";
5
- import { AnalysisStatus, ArchitectureType, ArchitectureValues, AttributeBooleanValue, BootModeValues, HttpTokensState, ImportImageLicenseConfigurationResponse, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceStatusEvent, LaunchPermission, LockState, ReservedInstancesConfiguration, SnapshotDetail, SnapshotTaskDetail, VirtualizationType } from "./models_4";
1
+ import { AccessScopeAnalysisFinding, AddIpamOperatingRegion, AddIpamOrganizationalUnitExclusion, AddPrefixListEntry, AddressAttribute, Affinity, AutoPlacement, CurrencyCodeValues, EnaSrdSpecification, EndDateType, HostMaintenance, HostRecovery, InstanceEventWindow, InstanceMatchCriteria, IpamPoolAllocation, SubnetAssociation, Tag, TagSpecification, TargetConfigurationRequest, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayPolicyTableAssociation, UnsuccessfulItem } from "./models_0";
2
+ import { _InstanceType, AttributeValue, CapacityReservationPreference, CapacityReservationState, CapacityReservationTarget, ClientConnectOptions, ClientLoginBannerOptions, ConnectionLogOptions, ConnectionTrackingSpecificationRequest, DiskImageFormat, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateConfigRequest, HostnameType, InstanceEventWindowTimeRangeRequest, InstanceRequirementsRequest, Ipam, IpamPool, IpamResourceDiscovery, IpamResourceTag, IpamScope, IpamTier, LaunchTemplate, LocalGatewayRoute, ManagedPrefixList, Placement, PlatformValues, RequestIpamResourceTag, ResponseLaunchTemplateData, SelfServicePortal, ShutdownBehavior, TargetCapacitySpecificationRequest, TargetCapacityUnitType } from "./models_1";
3
+ import { NetworkInsightsAccessScopeContent, SSEType, SubnetCidrReservation, TransitGatewayPrefixListReference } from "./models_2";
4
+ import { ConversionTask, ExportTaskS3Location, Filter, FpgaImageAttributeName, IpamPoolCidr, MetricType, PeriodType, PermissionGroup, StatisticType } from "./models_3";
5
+ import { AnalysisStatus, ArchitectureType, ArchitectureValues, AttributeBooleanValue, BootModeValues, FpgaImageAttribute, HttpTokensState, ImportImageLicenseConfigurationResponse, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceStatusEvent, LaunchPermission, LockState, PaymentOption, ReservedInstancesConfiguration, SnapshotDetail, SnapshotTaskDetail, VirtualizationType } from "./models_4";
6
6
  import { CreateVolumePermission, ExcessCapacityTerminationPolicy, LaunchTemplateConfig, SnapshotAttributeName, SnapshotBlockPublicAccessState, TransitGatewayPropagationState } from "./models_5";
7
+ /**
8
+ * <p>Contains the parameters for EnableVgwRoutePropagation.</p>
9
+ * @public
10
+ */
11
+ export interface EnableVgwRoutePropagationRequest {
12
+ /**
13
+ * <p>The ID of the virtual private gateway that is attached to a VPC. The virtual private
14
+ * gateway must be attached to the same VPC that the routing tables are associated with.
15
+ * </p>
16
+ * @public
17
+ */
18
+ GatewayId: string | undefined;
19
+ /**
20
+ * <p>The ID of the route table. The routing table must be associated with the same VPC that
21
+ * the virtual private gateway is attached to. </p>
22
+ * @public
23
+ */
24
+ RouteTableId: string | undefined;
25
+ /**
26
+ * <p>Checks whether you have the required permissions for the action, without actually
27
+ * making the request, and provides an error response. If you have the required
28
+ * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
29
+ * <code>UnauthorizedOperation</code>.</p>
30
+ * @public
31
+ */
32
+ DryRun?: boolean | undefined;
33
+ }
34
+ /**
35
+ * @public
36
+ */
37
+ export interface EnableVolumeIORequest {
38
+ /**
39
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
40
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
41
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
42
+ * @public
43
+ */
44
+ DryRun?: boolean | undefined;
45
+ /**
46
+ * <p>The ID of the volume.</p>
47
+ * @public
48
+ */
49
+ VolumeId: string | undefined;
50
+ }
51
+ /**
52
+ * @public
53
+ */
54
+ export interface EnableVpcClassicLinkRequest {
55
+ /**
56
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
57
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
58
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
59
+ * @public
60
+ */
61
+ DryRun?: boolean | undefined;
62
+ /**
63
+ * <p>The ID of the VPC.</p>
64
+ * @public
65
+ */
66
+ VpcId: string | undefined;
67
+ }
68
+ /**
69
+ * @public
70
+ */
71
+ export interface EnableVpcClassicLinkResult {
72
+ /**
73
+ * <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
74
+ * @public
75
+ */
76
+ Return?: boolean | undefined;
77
+ }
78
+ /**
79
+ * @public
80
+ */
81
+ export interface EnableVpcClassicLinkDnsSupportRequest {
82
+ /**
83
+ * <p>The ID of the VPC.</p>
84
+ * @public
85
+ */
86
+ VpcId?: string | undefined;
87
+ }
88
+ /**
89
+ * @public
90
+ */
91
+ export interface EnableVpcClassicLinkDnsSupportResult {
92
+ /**
93
+ * <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
94
+ * @public
95
+ */
96
+ Return?: boolean | undefined;
97
+ }
98
+ /**
99
+ * @public
100
+ */
101
+ export interface ExportClientVpnClientCertificateRevocationListRequest {
102
+ /**
103
+ * <p>The ID of the Client VPN endpoint.</p>
104
+ * @public
105
+ */
106
+ ClientVpnEndpointId: string | undefined;
107
+ /**
108
+ * <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
109
+ * @public
110
+ */
111
+ DryRun?: boolean | undefined;
112
+ }
113
+ /**
114
+ * @public
115
+ * @enum
116
+ */
117
+ export declare const ClientCertificateRevocationListStatusCode: {
118
+ readonly active: "active";
119
+ readonly pending: "pending";
120
+ };
121
+ /**
122
+ * @public
123
+ */
124
+ export type ClientCertificateRevocationListStatusCode = (typeof ClientCertificateRevocationListStatusCode)[keyof typeof ClientCertificateRevocationListStatusCode];
125
+ /**
126
+ * <p>Describes the state of a client certificate revocation list.</p>
127
+ * @public
128
+ */
129
+ export interface ClientCertificateRevocationListStatus {
130
+ /**
131
+ * <p>The state of the client certificate revocation list.</p>
132
+ * @public
133
+ */
134
+ Code?: ClientCertificateRevocationListStatusCode | undefined;
135
+ /**
136
+ * <p>A message about the status of the client certificate revocation list, if applicable.</p>
137
+ * @public
138
+ */
139
+ Message?: string | undefined;
140
+ }
141
+ /**
142
+ * @public
143
+ */
144
+ export interface ExportClientVpnClientCertificateRevocationListResult {
145
+ /**
146
+ * <p>Information about the client certificate revocation list.</p>
147
+ * @public
148
+ */
149
+ CertificateRevocationList?: string | undefined;
150
+ /**
151
+ * <p>The current state of the client certificate revocation list.</p>
152
+ * @public
153
+ */
154
+ Status?: ClientCertificateRevocationListStatus | undefined;
155
+ }
156
+ /**
157
+ * @public
158
+ */
159
+ export interface ExportClientVpnClientConfigurationRequest {
160
+ /**
161
+ * <p>The ID of the Client VPN endpoint.</p>
162
+ * @public
163
+ */
164
+ ClientVpnEndpointId: string | undefined;
165
+ /**
166
+ * <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
167
+ * @public
168
+ */
169
+ DryRun?: boolean | undefined;
170
+ }
7
171
  /**
8
172
  * @public
9
173
  */
@@ -513,12 +677,14 @@ export interface GetCapacityReservationUsageRequest {
513
677
  */
514
678
  export interface InstanceUsage {
515
679
  /**
516
- * <p>The ID of the Amazon Web Services account that is making use of the Capacity Reservation.</p>
680
+ * <p>The ID of the Amazon Web Services account that is making use of the Capacity
681
+ * Reservation.</p>
517
682
  * @public
518
683
  */
519
684
  AccountId?: string | undefined;
520
685
  /**
521
- * <p>The number of instances the Amazon Web Services account currently has in the Capacity Reservation.</p>
686
+ * <p>The number of instances the Amazon Web Services account currently has in the Capacity
687
+ * Reservation.</p>
522
688
  * @public
523
689
  */
524
690
  UsedInstanceCount?: number | undefined;
@@ -548,37 +714,62 @@ export interface GetCapacityReservationUsageResult {
548
714
  */
549
715
  TotalInstanceCount?: number | undefined;
550
716
  /**
551
- * <p>The remaining capacity. Indicates the number of instances that can be launched in the Capacity Reservation.</p>
717
+ * <p>The remaining capacity. Indicates the number of instances that can be launched in the
718
+ * Capacity Reservation.</p>
552
719
  * @public
553
720
  */
554
721
  AvailableInstanceCount?: number | undefined;
555
722
  /**
556
- * <p>The current state of the Capacity Reservation. A Capacity Reservation can be in one of the following states:</p>
723
+ * <p>The current state of the Capacity Reservation. A Capacity Reservation can be in one of
724
+ * the following states:</p>
557
725
  * <ul>
558
726
  * <li>
559
727
  * <p>
560
- * <code>active</code> - The Capacity Reservation is active and the capacity is available for your use.</p>
728
+ * <code>active</code> - The capacity is available for use.</p>
561
729
  * </li>
562
730
  * <li>
563
731
  * <p>
564
- * <code>expired</code> - The Capacity Reservation expired automatically at the date and time specified
565
- * in your request. The reserved capacity is no longer available for your use.</p>
732
+ * <code>expired</code> - The Capacity Reservation expired automatically at the date and time
733
+ * specified in your reservation request. The reserved capacity is no longer available for your use.</p>
566
734
  * </li>
567
735
  * <li>
568
736
  * <p>
569
- * <code>cancelled</code> - The Capacity Reservation was cancelled. The reserved capacity is no
570
- * longer available for your use.</p>
737
+ * <code>cancelled</code> - The Capacity Reservation was canceled. The reserved capacity is no
738
+ * longer available for your use.</p>
571
739
  * </li>
572
740
  * <li>
573
741
  * <p>
574
742
  * <code>pending</code> - The Capacity Reservation request was successful but the capacity
575
- * provisioning is still pending.</p>
743
+ * provisioning is still pending.</p>
744
+ * </li>
745
+ * <li>
746
+ * <p>
747
+ * <code>failed</code> - The Capacity Reservation request has failed. A request can fail due to
748
+ * request parameters that are not valid, capacity constraints, or instance limit constraints. You
749
+ * can view a failed request for 60 minutes.</p>
576
750
  * </li>
577
751
  * <li>
578
752
  * <p>
579
- * <code>failed</code> - The Capacity Reservation request has failed. A request might fail
580
- * due to invalid request parameters, capacity constraints, or instance limit constraints.
581
- * Failed requests are retained for 60 minutes.</p>
753
+ * <code>scheduled</code> - (<i>Future-dated Capacity Reservations only</i>) The
754
+ * future-dated Capacity Reservation request was approved and the Capacity Reservation is scheduled
755
+ * for delivery on the requested start date.</p>
756
+ * </li>
757
+ * <li>
758
+ * <p>
759
+ * <code>assessing</code> - (<i>Future-dated Capacity Reservations only</i>)
760
+ * Amazon EC2 is assessing your request for a future-dated Capacity Reservation.</p>
761
+ * </li>
762
+ * <li>
763
+ * <p>
764
+ * <code>delayed</code> - (<i>Future-dated Capacity Reservations only</i>) Amazon EC2
765
+ * encountered a delay in provisioning the requested future-dated Capacity Reservation. Amazon EC2 is
766
+ * unable to deliver the requested capacity by the requested start date and time.</p>
767
+ * </li>
768
+ * <li>
769
+ * <p>
770
+ * <code>unsupported</code> - (<i>Future-dated Capacity Reservations only</i>) Amazon EC2
771
+ * can't support the future-dated Capacity Reservation request due to capacity constraints. You can view
772
+ * unsupported requests for 30 days. The Capacity Reservation will not be delivered.</p>
582
773
  * </li>
583
774
  * </ul>
584
775
  * @public
@@ -975,8 +1166,9 @@ export interface GetFlowLogsIntegrationTemplateResult {
975
1166
  */
976
1167
  export interface GetGroupsForCapacityReservationRequest {
977
1168
  /**
978
- * <p>The ID of the Capacity Reservation. If you specify a Capacity Reservation that is shared
979
- * with you, the operation returns only Capacity Reservation groups that you own.</p>
1169
+ * <p>The ID of the Capacity Reservation. If you specify a Capacity Reservation that is
1170
+ * shared with you, the operation returns only Capacity Reservation groups that you
1171
+ * own.</p>
980
1172
  * @public
981
1173
  */
982
1174
  CapacityReservationId: string | undefined;
@@ -1023,7 +1215,8 @@ export interface GetGroupsForCapacityReservationResult {
1023
1215
  */
1024
1216
  NextToken?: string | undefined;
1025
1217
  /**
1026
- * <p>Information about the resource groups to which the Capacity Reservation has been added.</p>
1218
+ * <p>Information about the resource groups to which the Capacity Reservation has been
1219
+ * added.</p>
1027
1220
  * @public
1028
1221
  */
1029
1222
  CapacityReservationGroups?: CapacityReservationGroup[] | undefined;
@@ -1687,6 +1880,11 @@ export interface IpamDiscoveredAccount {
1687
1880
  * @public
1688
1881
  */
1689
1882
  LastSuccessfulDiscoveryTime?: Date | undefined;
1883
+ /**
1884
+ * <p>The ID of an Organizational Unit in Amazon Web Services Organizations.</p>
1885
+ * @public
1886
+ */
1887
+ OrganizationalUnitId?: string | undefined;
1690
1888
  }
1691
1889
  /**
1692
1890
  * @public
@@ -5252,17 +5450,19 @@ export interface ModifyCapacityReservationRequest {
5252
5450
  */
5253
5451
  CapacityReservationId: string | undefined;
5254
5452
  /**
5255
- * <p>The number of instances for which to reserve capacity. The number of instances can't be increased or
5256
- * decreased by more than <code>1000</code> in a single request.</p>
5453
+ * <p>The number of instances for which to reserve capacity. The number of instances can't
5454
+ * be increased or decreased by more than <code>1000</code> in a single request.</p>
5257
5455
  * @public
5258
5456
  */
5259
5457
  InstanceCount?: number | undefined;
5260
5458
  /**
5261
- * <p>The date and time at which the Capacity Reservation expires. When a Capacity Reservation expires, the reserved capacity
5262
- * is released and you can no longer launch instances into it. The Capacity Reservation's state changes to
5263
- * <code>expired</code> when it reaches its end date and time.</p>
5264
- * <p>The Capacity Reservation is cancelled within an hour from the specified time. For example, if you specify
5265
- * 5/31/2019, 13:30:55, the Capacity Reservation is guaranteed to end between 13:30:55 and 14:30:55 on 5/31/2019.</p>
5459
+ * <p>The date and time at which the Capacity Reservation expires. When a Capacity
5460
+ * Reservation expires, the reserved capacity is released and you can no longer launch
5461
+ * instances into it. The Capacity Reservation's state changes to <code>expired</code> when
5462
+ * it reaches its end date and time.</p>
5463
+ * <p>The Capacity Reservation is cancelled within an hour from the specified time. For
5464
+ * example, if you specify 5/31/2019, 13:30:55, the Capacity Reservation is guaranteed to
5465
+ * end between 13:30:55 and 14:30:55 on 5/31/2019.</p>
5266
5466
  * <p>You must provide an <code>EndDate</code> value if <code>EndDateType</code> is
5267
5467
  * <code>limited</code>. Omit <code>EndDate</code> if <code>EndDateType</code> is
5268
5468
  * <code>unlimited</code>.</p>
@@ -5270,20 +5470,20 @@ export interface ModifyCapacityReservationRequest {
5270
5470
  */
5271
5471
  EndDate?: Date | undefined;
5272
5472
  /**
5273
- * <p>Indicates the way in which the Capacity Reservation ends. A Capacity Reservation can have one of the following end
5274
- * types:</p>
5473
+ * <p>Indicates the way in which the Capacity Reservation ends. A Capacity Reservation can
5474
+ * have one of the following end types:</p>
5275
5475
  * <ul>
5276
5476
  * <li>
5277
5477
  * <p>
5278
- * <code>unlimited</code> - The Capacity Reservation remains active until you explicitly cancel it. Do not
5279
- * provide an <code>EndDate</code> value if <code>EndDateType</code> is
5280
- * <code>unlimited</code>.</p>
5478
+ * <code>unlimited</code> - The Capacity Reservation remains active until you
5479
+ * explicitly cancel it. Do not provide an <code>EndDate</code> value if
5480
+ * <code>EndDateType</code> is <code>unlimited</code>.</p>
5281
5481
  * </li>
5282
5482
  * <li>
5283
5483
  * <p>
5284
- * <code>limited</code> - The Capacity Reservation expires automatically at a specified date and time. You must
5285
- * provide an <code>EndDate</code> value if <code>EndDateType</code> is
5286
- * <code>limited</code>.</p>
5484
+ * <code>limited</code> - The Capacity Reservation expires automatically at a
5485
+ * specified date and time. You must provide an <code>EndDate</code> value if
5486
+ * <code>EndDateType</code> is <code>limited</code>.</p>
5287
5487
  * </li>
5288
5488
  * </ul>
5289
5489
  * @public
@@ -5305,12 +5505,15 @@ export interface ModifyCapacityReservationRequest {
5305
5505
  */
5306
5506
  AdditionalInfo?: string | undefined;
5307
5507
  /**
5308
- * <p>
5309
- * The matching criteria (instance eligibility) that you want to use in the modified Capacity Reservation. If you change the instance eligibility of an existing Capacity Reservation from <code>targeted</code> to <code>open</code>,
5310
- * any running instances that match the attributes of the Capacity Reservation, have the <code>CapacityReservationPreference</code> set to <code>open</code>, and
5311
- * are not yet running in the Capacity Reservation, will automatically use the modified Capacity Reservation.
5312
- * </p>
5313
- * <p>To modify the instance eligibility, the Capacity Reservation must be completely idle (zero usage).</p>
5508
+ * <p> The matching criteria (instance eligibility) that you want to use in the modified
5509
+ * Capacity Reservation. If you change the instance eligibility of an existing Capacity
5510
+ * Reservation from <code>targeted</code> to <code>open</code>, any running instances that
5511
+ * match the attributes of the Capacity Reservation, have the
5512
+ * <code>CapacityReservationPreference</code> set to <code>open</code>, and are not yet
5513
+ * running in the Capacity Reservation, will automatically use the modified Capacity
5514
+ * Reservation. </p>
5515
+ * <p>To modify the instance eligibility, the Capacity Reservation must be completely idle
5516
+ * (zero usage).</p>
5314
5517
  * @public
5315
5518
  */
5316
5519
  InstanceMatchCriteria?: InstanceMatchCriteria | undefined;
@@ -5335,9 +5538,9 @@ export interface ModifyCapacityReservationFleetRequest {
5335
5538
  */
5336
5539
  CapacityReservationFleetId: string | undefined;
5337
5540
  /**
5338
- * <p>The total number of capacity units to be reserved by the Capacity Reservation Fleet. This
5339
- * value, together with the instance type weights that you assign to each instance type
5340
- * used by the Fleet determine the number of instances for which the Fleet reserves
5541
+ * <p>The total number of capacity units to be reserved by the Capacity Reservation Fleet.
5542
+ * This value, together with the instance type weights that you assign to each instance
5543
+ * type used by the Fleet determine the number of instances for which the Fleet reserves
5341
5544
  * capacity. Both values are based on units that make sense for your workload. For more
5342
5545
  * information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#target-capacity">Total target
5343
5546
  * capacity</a> in the <i>Amazon EC2 User Guide</i>.</p>
@@ -5345,14 +5548,15 @@ export interface ModifyCapacityReservationFleetRequest {
5345
5548
  */
5346
5549
  TotalTargetCapacity?: number | undefined;
5347
5550
  /**
5348
- * <p>The date and time at which the Capacity Reservation Fleet expires. When the Capacity Reservation
5349
- * Fleet expires, its state changes to <code>expired</code> and all of the Capacity Reservations in the
5350
- * Fleet expire.</p>
5351
- * <p>The Capacity Reservation Fleet expires within an hour after the specified time. For example, if you
5352
- * specify <code>5/31/2019</code>, <code>13:30:55</code>, the Capacity Reservation Fleet is guaranteed
5353
- * to expire between <code>13:30:55</code> and <code>14:30:55</code> on <code>5/31/2019</code>.</p>
5551
+ * <p>The date and time at which the Capacity Reservation Fleet expires. When the Capacity
5552
+ * Reservation Fleet expires, its state changes to <code>expired</code> and all of the
5553
+ * Capacity Reservations in the Fleet expire.</p>
5554
+ * <p>The Capacity Reservation Fleet expires within an hour after the specified time. For
5555
+ * example, if you specify <code>5/31/2019</code>, <code>13:30:55</code>, the Capacity
5556
+ * Reservation Fleet is guaranteed to expire between <code>13:30:55</code> and
5557
+ * <code>14:30:55</code> on <code>5/31/2019</code>.</p>
5354
5558
  * <p>You can't specify <b>EndDate</b> and <b>
5355
- * RemoveEndDate</b> in the same request.</p>
5559
+ * RemoveEndDate</b> in the same request.</p>
5356
5560
  * @public
5357
5561
  */
5358
5562
  EndDate?: Date | undefined;
@@ -5362,11 +5566,10 @@ export interface ModifyCapacityReservationFleetRequest {
5362
5566
  */
5363
5567
  DryRun?: boolean | undefined;
5364
5568
  /**
5365
- * <p>Indicates whether to remove the end date from the Capacity Reservation Fleet. If you remove the
5366
- * end date, the Capacity Reservation Fleet does not expire and it remains active until you explicitly
5367
- * cancel it using the <b>CancelCapacityReservationFleet</b> action.</p>
5368
- * <p>You can't specify <b>RemoveEndDate</b> and <b>
5369
- * EndDate</b> in the same request.</p>
5569
+ * <p>Indicates whether to remove the end date from the Capacity Reservation Fleet. If you
5570
+ * remove the end date, the Capacity Reservation Fleet does not expire and it remains
5571
+ * active until you explicitly cancel it using the <b>CancelCapacityReservationFleet</b> action.</p>
5572
+ * <p>You can't specify <b>RemoveEndDate</b> and <b> EndDate</b> in the same request.</p>
5370
5573
  * @public
5371
5574
  */
5372
5575
  RemoveEndDate?: boolean | undefined;
@@ -6194,18 +6397,21 @@ export interface ModifyInstanceAttributeRequest {
6194
6397
  */
6195
6398
  export interface CapacityReservationSpecification {
6196
6399
  /**
6197
- * <p>Indicates the instance's Capacity Reservation preferences. Possible preferences include:</p>
6400
+ * <p>Indicates the instance's Capacity Reservation preferences. Possible preferences
6401
+ * include:</p>
6198
6402
  * <ul>
6199
6403
  * <li>
6200
6404
  * <p>
6201
- * <code>capacity-reservations-only</code> - The instance will only run in a Capacity Reservation or Capacity Reservation group. If capacity isn't available, the instance will fail to launch.</p>
6405
+ * <code>capacity-reservations-only</code> - The instance will only run in a
6406
+ * Capacity Reservation or Capacity Reservation group. If capacity isn't
6407
+ * available, the instance will fail to launch.</p>
6202
6408
  * </li>
6203
6409
  * <li>
6204
6410
  * <p>
6205
6411
  * <code>open</code> - The instance can run in any <code>open</code> Capacity
6206
- * Reservation that has matching attributes (instance type, platform, Availability
6207
- * Zone, and tenancy). If capacity isn't available, the instance runs as an
6208
- * On-Demand Instance.</p>
6412
+ * Reservation that has matching attributes (instance type, platform,
6413
+ * Availability Zone, and tenancy). If capacity isn't available, the instance
6414
+ * runs as an On-Demand Instance.</p>
6209
6415
  * </li>
6210
6416
  * <li>
6211
6417
  * <p>
@@ -7050,6 +7256,47 @@ export interface ModifyIpamResourceCidrResult {
7050
7256
  */
7051
7257
  IpamResourceCidr?: IpamResourceCidr | undefined;
7052
7258
  }
7259
+ /**
7260
+ * <p>Remove an Organizational Unit (OU) exclusion to your IPAM. If your IPAM is integrated with Amazon Web Services Organizations and you add an organizational unit (OU) exclusion, IPAM will not manage the IP addresses in accounts in that OU exclusion. There is a limit on the number of exclusions you can create. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/ipam/quotas-ipam.html">Quotas for your IPAM</a> in the <i>Amazon VPC IPAM User Guide</i>.</p>
7261
+ * @public
7262
+ */
7263
+ export interface RemoveIpamOrganizationalUnitExclusion {
7264
+ /**
7265
+ * <p>An Amazon Web Services Organizations entity path. Build the path for the OU(s) using Amazon Web Services Organizations IDs separated by a <code>/</code>. Include all child OUs by ending the path with <code>/*</code>.</p>
7266
+ * <ul>
7267
+ * <li>
7268
+ * <p>Example 1</p>
7269
+ * <ul>
7270
+ * <li>
7271
+ * <p>Path to a child OU: <code>o-a1b2c3d4e5/r-f6g7h8i9j0example/ou-ghi0-awsccccc/ou-jkl0-awsddddd/</code>
7272
+ * </p>
7273
+ * </li>
7274
+ * <li>
7275
+ * <p>In this example, <code>o-a1b2c3d4e5</code> is the organization ID, <code>r-f6g7h8i9j0example</code> is the root ID , <code>ou-ghi0-awsccccc</code> is an OU ID, and <code>ou-jkl0-awsddddd</code> is a child OU ID.</p>
7276
+ * </li>
7277
+ * <li>
7278
+ * <p>IPAM will not manage the IP addresses in accounts in the child OU.</p>
7279
+ * </li>
7280
+ * </ul>
7281
+ * </li>
7282
+ * <li>
7283
+ * <p>Example 2</p>
7284
+ * <ul>
7285
+ * <li>
7286
+ * <p>Path where all child OUs will be part of the exclusion: <code>o-a1b2c3d4e5/r-f6g7h8i9j0example/ou-ghi0-awsccccc/*</code>
7287
+ * </p>
7288
+ * </li>
7289
+ * <li>
7290
+ * <p>In this example, IPAM will not manage the IP addresses in accounts in the OU (<code>ou-ghi0-awsccccc</code>) or in accounts in any OUs that are children of the OU.</p>
7291
+ * </li>
7292
+ * </ul>
7293
+ * </li>
7294
+ * </ul>
7295
+ * <p>For more information on how to construct an entity path, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_last-accessed-view-data-orgs.html#access_policies_access-advisor-viewing-orgs-entity-path">Understand the Amazon Web Services Organizations entity path</a> in the <i>Amazon Web Services Identity and Access Management User Guide</i>.</p>
7296
+ * @public
7297
+ */
7298
+ OrganizationsEntityPath?: string | undefined;
7299
+ }
7053
7300
  /**
7054
7301
  * @public
7055
7302
  */
@@ -7081,6 +7328,16 @@ export interface ModifyIpamResourceDiscoveryRequest {
7081
7328
  * @public
7082
7329
  */
7083
7330
  RemoveOperatingRegions?: RemoveIpamOperatingRegion[] | undefined;
7331
+ /**
7332
+ * <p>Add an Organizational Unit (OU) exclusion to your IPAM. If your IPAM is integrated with Amazon Web Services Organizations and you add an organizational unit (OU) exclusion, IPAM will not manage the IP addresses in accounts in that OU exclusion. There is a limit on the number of exclusions you can create. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/ipam/quotas-ipam.html">Quotas for your IPAM</a> in the <i>Amazon VPC IPAM User Guide</i>.</p>
7333
+ * @public
7334
+ */
7335
+ AddOrganizationalUnitExclusions?: AddIpamOrganizationalUnitExclusion[] | undefined;
7336
+ /**
7337
+ * <p>Remove an Organizational Unit (OU) exclusion to your IPAM. If your IPAM is integrated with Amazon Web Services Organizations and you add an organizational unit (OU) exclusion, IPAM will not manage the IP addresses in accounts in that OU exclusion. There is a limit on the number of exclusions you can create. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/ipam/quotas-ipam.html">Quotas for your IPAM</a> in the <i>Amazon VPC IPAM User Guide</i>.</p>
7338
+ * @public
7339
+ */
7340
+ RemoveOrganizationalUnitExclusions?: RemoveIpamOrganizationalUnitExclusion[] | undefined;
7084
7341
  }
7085
7342
  /**
7086
7343
  * @public
@@ -7832,369 +8089,6 @@ export interface ModifySubnetAttributeRequest {
7832
8089
  */
7833
8090
  DisableLniAtDeviceIndex?: AttributeBooleanValue | undefined;
7834
8091
  }
7835
- /**
7836
- * @public
7837
- */
7838
- export interface ModifyTrafficMirrorFilterNetworkServicesRequest {
7839
- /**
7840
- * <p>The ID of the Traffic Mirror filter.</p>
7841
- * @public
7842
- */
7843
- TrafficMirrorFilterId: string | undefined;
7844
- /**
7845
- * <p>The network service, for example Amazon DNS, that you want to mirror.</p>
7846
- * @public
7847
- */
7848
- AddNetworkServices?: TrafficMirrorNetworkService[] | undefined;
7849
- /**
7850
- * <p>The network service, for example Amazon DNS, that you no longer want to mirror.</p>
7851
- * @public
7852
- */
7853
- RemoveNetworkServices?: TrafficMirrorNetworkService[] | undefined;
7854
- /**
7855
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
7856
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
7857
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7858
- * @public
7859
- */
7860
- DryRun?: boolean | undefined;
7861
- }
7862
- /**
7863
- * @public
7864
- */
7865
- export interface ModifyTrafficMirrorFilterNetworkServicesResult {
7866
- /**
7867
- * <p>The Traffic Mirror filter that the network service is associated with.</p>
7868
- * @public
7869
- */
7870
- TrafficMirrorFilter?: TrafficMirrorFilter | undefined;
7871
- }
7872
- /**
7873
- * @public
7874
- * @enum
7875
- */
7876
- export declare const TrafficMirrorFilterRuleField: {
7877
- readonly description: "description";
7878
- readonly destination_port_range: "destination-port-range";
7879
- readonly protocol: "protocol";
7880
- readonly source_port_range: "source-port-range";
7881
- };
7882
- /**
7883
- * @public
7884
- */
7885
- export type TrafficMirrorFilterRuleField = (typeof TrafficMirrorFilterRuleField)[keyof typeof TrafficMirrorFilterRuleField];
7886
- /**
7887
- * @public
7888
- */
7889
- export interface ModifyTrafficMirrorFilterRuleRequest {
7890
- /**
7891
- * <p>The ID of the Traffic Mirror rule.</p>
7892
- * @public
7893
- */
7894
- TrafficMirrorFilterRuleId: string | undefined;
7895
- /**
7896
- * <p>The type of traffic to assign to the rule.</p>
7897
- * @public
7898
- */
7899
- TrafficDirection?: TrafficDirection | undefined;
7900
- /**
7901
- * <p>The number of the Traffic Mirror rule. This number must be unique for each Traffic Mirror rule in a given
7902
- * direction. The rules are processed in ascending order by rule number.</p>
7903
- * @public
7904
- */
7905
- RuleNumber?: number | undefined;
7906
- /**
7907
- * <p>The action to assign to the rule.</p>
7908
- * @public
7909
- */
7910
- RuleAction?: TrafficMirrorRuleAction | undefined;
7911
- /**
7912
- * <p>The destination ports that are associated with the Traffic Mirror rule.</p>
7913
- * @public
7914
- */
7915
- DestinationPortRange?: TrafficMirrorPortRangeRequest | undefined;
7916
- /**
7917
- * <p>The port range to assign to the Traffic Mirror rule.</p>
7918
- * @public
7919
- */
7920
- SourcePortRange?: TrafficMirrorPortRangeRequest | undefined;
7921
- /**
7922
- * <p>The protocol, for example TCP, to assign to the Traffic Mirror rule.</p>
7923
- * @public
7924
- */
7925
- Protocol?: number | undefined;
7926
- /**
7927
- * <p>The destination CIDR block to assign to the Traffic Mirror rule.</p>
7928
- * @public
7929
- */
7930
- DestinationCidrBlock?: string | undefined;
7931
- /**
7932
- * <p>The source CIDR block to assign to the Traffic Mirror rule.</p>
7933
- * @public
7934
- */
7935
- SourceCidrBlock?: string | undefined;
7936
- /**
7937
- * <p>The description to assign to the Traffic Mirror rule.</p>
7938
- * @public
7939
- */
7940
- Description?: string | undefined;
7941
- /**
7942
- * <p>The properties that you want to remove from the Traffic Mirror filter rule.</p>
7943
- * <p>When you remove a property from a Traffic Mirror filter rule, the property is set to the default.</p>
7944
- * @public
7945
- */
7946
- RemoveFields?: TrafficMirrorFilterRuleField[] | undefined;
7947
- /**
7948
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
7949
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
7950
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7951
- * @public
7952
- */
7953
- DryRun?: boolean | undefined;
7954
- }
7955
- /**
7956
- * @public
7957
- */
7958
- export interface ModifyTrafficMirrorFilterRuleResult {
7959
- /**
7960
- * <note>
7961
- * <p>Tags are not returned for ModifyTrafficMirrorFilterRule.</p>
7962
- * </note>
7963
- * <p>A Traffic Mirror rule.</p>
7964
- * @public
7965
- */
7966
- TrafficMirrorFilterRule?: TrafficMirrorFilterRule | undefined;
7967
- }
7968
- /**
7969
- * @public
7970
- * @enum
7971
- */
7972
- export declare const TrafficMirrorSessionField: {
7973
- readonly description: "description";
7974
- readonly packet_length: "packet-length";
7975
- readonly virtual_network_id: "virtual-network-id";
7976
- };
7977
- /**
7978
- * @public
7979
- */
7980
- export type TrafficMirrorSessionField = (typeof TrafficMirrorSessionField)[keyof typeof TrafficMirrorSessionField];
7981
- /**
7982
- * @public
7983
- */
7984
- export interface ModifyTrafficMirrorSessionRequest {
7985
- /**
7986
- * <p>The ID of the Traffic Mirror session.</p>
7987
- * @public
7988
- */
7989
- TrafficMirrorSessionId: string | undefined;
7990
- /**
7991
- * <p>The Traffic Mirror target. The target must be in the same VPC as the source, or have a VPC peering connection with the source.</p>
7992
- * @public
7993
- */
7994
- TrafficMirrorTargetId?: string | undefined;
7995
- /**
7996
- * <p>The ID of the Traffic Mirror filter.</p>
7997
- * @public
7998
- */
7999
- TrafficMirrorFilterId?: string | undefined;
8000
- /**
8001
- * <p>The number of bytes in each packet to mirror. These are bytes after the VXLAN header. To mirror a subset, set this to the length (in bytes) to mirror. For example, if you set this value to 100, then the first 100 bytes that meet the filter criteria are copied to the target. Do not specify this parameter when you want to mirror the entire packet.</p>
8002
- * <p>For sessions with Network Load Balancer (NLB) traffic mirror targets, the default <code>PacketLength</code> will be set to 8500. Valid values are 1-8500. Setting a <code>PacketLength</code> greater than 8500 will result in an error response.</p>
8003
- * @public
8004
- */
8005
- PacketLength?: number | undefined;
8006
- /**
8007
- * <p>The session number determines the order in which sessions are evaluated when an interface is used by multiple sessions. The first session with a matching filter is the one that mirrors the packets.</p>
8008
- * <p>Valid values are 1-32766.</p>
8009
- * @public
8010
- */
8011
- SessionNumber?: number | undefined;
8012
- /**
8013
- * <p>The virtual network ID of the Traffic Mirror session.</p>
8014
- * @public
8015
- */
8016
- VirtualNetworkId?: number | undefined;
8017
- /**
8018
- * <p>The description to assign to the Traffic Mirror session.</p>
8019
- * @public
8020
- */
8021
- Description?: string | undefined;
8022
- /**
8023
- * <p>The properties that you want to remove from the Traffic Mirror session.</p>
8024
- * <p>When you remove a property from a Traffic Mirror session, the property is set to the default.</p>
8025
- * @public
8026
- */
8027
- RemoveFields?: TrafficMirrorSessionField[] | undefined;
8028
- /**
8029
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
8030
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
8031
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8032
- * @public
8033
- */
8034
- DryRun?: boolean | undefined;
8035
- }
8036
- /**
8037
- * @public
8038
- */
8039
- export interface ModifyTrafficMirrorSessionResult {
8040
- /**
8041
- * <p>Information about the Traffic Mirror session.</p>
8042
- * @public
8043
- */
8044
- TrafficMirrorSession?: TrafficMirrorSession | undefined;
8045
- }
8046
- /**
8047
- * <p>The transit gateway options.</p>
8048
- * @public
8049
- */
8050
- export interface ModifyTransitGatewayOptions {
8051
- /**
8052
- * <p>Adds IPv4 or IPv6 CIDR blocks for the transit gateway. Must be a size /24 CIDR block or larger for IPv4, or a size /64 CIDR block or larger for IPv6.</p>
8053
- * @public
8054
- */
8055
- AddTransitGatewayCidrBlocks?: string[] | undefined;
8056
- /**
8057
- * <p>Removes CIDR blocks for the transit gateway.</p>
8058
- * @public
8059
- */
8060
- RemoveTransitGatewayCidrBlocks?: string[] | undefined;
8061
- /**
8062
- * <p>Enable or disable Equal Cost Multipath Protocol support.</p>
8063
- * @public
8064
- */
8065
- VpnEcmpSupport?: VpnEcmpSupportValue | undefined;
8066
- /**
8067
- * <p>Enable or disable DNS support.</p>
8068
- * @public
8069
- */
8070
- DnsSupport?: DnsSupportValue | undefined;
8071
- /**
8072
- * <p>Enables you to reference a security group across VPCs attached to a transit gateway to simplify security group management.
8073
- *
8074
- * </p>
8075
- * <p>This option is disabled by default.</p>
8076
- * <p>For more information about security group referencing, see <a href="https://docs.aws.amazon.com/vpc/latest/tgw/tgw-vpc-attachments.html#vpc-attachment-security">Security group referencing</a> in the <i>Amazon Web Services Transit Gateways Guide</i>.</p>
8077
- * @public
8078
- */
8079
- SecurityGroupReferencingSupport?: SecurityGroupReferencingSupportValue | undefined;
8080
- /**
8081
- * <p>Enable or disable automatic acceptance of attachment requests.</p>
8082
- * @public
8083
- */
8084
- AutoAcceptSharedAttachments?: AutoAcceptSharedAttachmentsValue | undefined;
8085
- /**
8086
- * <p>Enable or disable automatic association with the default association route table.</p>
8087
- * @public
8088
- */
8089
- DefaultRouteTableAssociation?: DefaultRouteTableAssociationValue | undefined;
8090
- /**
8091
- * <p>The ID of the default association route table.</p>
8092
- * @public
8093
- */
8094
- AssociationDefaultRouteTableId?: string | undefined;
8095
- /**
8096
- * <p>Enable or disable automatic propagation of routes to the default propagation route table.</p>
8097
- * @public
8098
- */
8099
- DefaultRouteTablePropagation?: DefaultRouteTablePropagationValue | undefined;
8100
- /**
8101
- * <p>The ID of the default propagation route table.</p>
8102
- * @public
8103
- */
8104
- PropagationDefaultRouteTableId?: string | undefined;
8105
- /**
8106
- * <p>A private Autonomous System Number (ASN) for the Amazon side of a BGP session.
8107
- * The range is 64512 to 65534 for 16-bit ASNs and 4200000000 to 4294967294 for 32-bit ASNs.</p>
8108
- * <p>The modify ASN operation is not allowed on a transit gateway if it has the following attachments:</p>
8109
- * <ul>
8110
- * <li>
8111
- * <p>Dynamic VPN</p>
8112
- * </li>
8113
- * <li>
8114
- * <p>Static VPN</p>
8115
- * </li>
8116
- * <li>
8117
- * <p>Direct Connect Gateway</p>
8118
- * </li>
8119
- * <li>
8120
- * <p>Connect</p>
8121
- * </li>
8122
- * </ul>
8123
- * <p>You must first delete all transit gateway attachments configured prior to modifying the ASN on
8124
- * the transit gateway.</p>
8125
- * @public
8126
- */
8127
- AmazonSideAsn?: number | undefined;
8128
- }
8129
- /**
8130
- * @public
8131
- */
8132
- export interface ModifyTransitGatewayRequest {
8133
- /**
8134
- * <p>The ID of the transit gateway.</p>
8135
- * @public
8136
- */
8137
- TransitGatewayId: string | undefined;
8138
- /**
8139
- * <p>The description for the transit gateway.</p>
8140
- * @public
8141
- */
8142
- Description?: string | undefined;
8143
- /**
8144
- * <p>The options to modify.</p>
8145
- * @public
8146
- */
8147
- Options?: ModifyTransitGatewayOptions | undefined;
8148
- /**
8149
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
8150
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
8151
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8152
- * @public
8153
- */
8154
- DryRun?: boolean | undefined;
8155
- }
8156
- /**
8157
- * @public
8158
- */
8159
- export interface ModifyTransitGatewayResult {
8160
- /**
8161
- * <p>Information about the transit gateway.</p>
8162
- * @public
8163
- */
8164
- TransitGateway?: TransitGateway | undefined;
8165
- }
8166
- /**
8167
- * @public
8168
- */
8169
- export interface ModifyTransitGatewayPrefixListReferenceRequest {
8170
- /**
8171
- * <p>The ID of the transit gateway route table.</p>
8172
- * @public
8173
- */
8174
- TransitGatewayRouteTableId: string | undefined;
8175
- /**
8176
- * <p>The ID of the prefix list.</p>
8177
- * @public
8178
- */
8179
- PrefixListId: string | undefined;
8180
- /**
8181
- * <p>The ID of the attachment to which traffic is routed.</p>
8182
- * @public
8183
- */
8184
- TransitGatewayAttachmentId?: string | undefined;
8185
- /**
8186
- * <p>Indicates whether to drop traffic that matches this route.</p>
8187
- * @public
8188
- */
8189
- Blackhole?: boolean | undefined;
8190
- /**
8191
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
8192
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
8193
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8194
- * @public
8195
- */
8196
- DryRun?: boolean | undefined;
8197
- }
8198
8092
  /**
8199
8093
  * @internal
8200
8094
  */