@aws-sdk/client-ec2 3.1012.0 → 3.1013.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 (40) hide show
  1. package/dist-cjs/index.js +6 -0
  2. package/dist-cjs/schemas/schemas_0.js +56 -29
  3. package/dist-es/models/enums.js +5 -0
  4. package/dist-es/schemas/schemas_0.js +33 -6
  5. package/dist-types/commands/CreateFleetCommand.d.ts +8 -3
  6. package/dist-types/commands/CreateSecondarySubnetCommand.d.ts +1 -2
  7. package/dist-types/commands/DeleteTrafficMirrorSessionCommand.d.ts +2 -1
  8. package/dist-types/commands/DescribeFleetsCommand.d.ts +8 -3
  9. package/dist-types/commands/DescribeInstanceImageMetadataCommand.d.ts +1 -2
  10. package/dist-types/commands/DescribeTrafficMirrorSessionsCommand.d.ts +2 -1
  11. package/dist-types/commands/DescribeTrafficMirrorTargetsCommand.d.ts +1 -2
  12. package/dist-types/commands/GetDeclarativePoliciesReportSummaryCommand.d.ts +2 -1
  13. package/dist-types/commands/ModifyFleetCommand.d.ts +1 -1
  14. package/dist-types/commands/ModifyTrafficMirrorSessionCommand.d.ts +1 -1
  15. package/dist-types/models/enums.d.ts +13 -0
  16. package/dist-types/models/models_1.d.ts +31 -43
  17. package/dist-types/models/models_2.d.ts +40 -10
  18. package/dist-types/models/models_3.d.ts +31 -166
  19. package/dist-types/models/models_4.d.ts +166 -73
  20. package/dist-types/models/models_5.d.ts +71 -100
  21. package/dist-types/models/models_6.d.ts +102 -68
  22. package/dist-types/models/models_7.d.ts +67 -2
  23. package/dist-types/schemas/schemas_0.d.ts +2 -0
  24. package/dist-types/ts3.4/commands/CreateSecondarySubnetCommand.d.ts +4 -2
  25. package/dist-types/ts3.4/commands/DeleteTrafficMirrorSessionCommand.d.ts +2 -4
  26. package/dist-types/ts3.4/commands/DescribeInstanceImageMetadataCommand.d.ts +4 -2
  27. package/dist-types/ts3.4/commands/DescribeTrafficMirrorSessionsCommand.d.ts +2 -4
  28. package/dist-types/ts3.4/commands/DescribeTrafficMirrorTargetsCommand.d.ts +4 -2
  29. package/dist-types/ts3.4/commands/GetDeclarativePoliciesReportSummaryCommand.d.ts +2 -4
  30. package/dist-types/ts3.4/commands/ModifyTrafficMirrorSessionCommand.d.ts +1 -1
  31. package/dist-types/ts3.4/models/enums.d.ts +7 -0
  32. package/dist-types/ts3.4/models/models_1.d.ts +5 -9
  33. package/dist-types/ts3.4/models/models_2.d.ts +9 -3
  34. package/dist-types/ts3.4/models/models_3.d.ts +8 -18
  35. package/dist-types/ts3.4/models/models_4.d.ts +19 -13
  36. package/dist-types/ts3.4/models/models_5.d.ts +12 -18
  37. package/dist-types/ts3.4/models/models_6.d.ts +19 -17
  38. package/dist-types/ts3.4/models/models_7.d.ts +16 -0
  39. package/dist-types/ts3.4/schemas/schemas_0.d.ts +2 -0
  40. package/package.json +5 -5
@@ -1,8 +1,171 @@
1
- import { _InstanceType, ActivityStatus, AllocationStrategy, AmdSevSnpSpecification, AnalysisStatus, ArchitectureType, ArchitectureValues, AttachmentLimitType, AttachmentStatus, BandwidthWeightingType, BatchState, BootModeType, BootModeValues, CapacityReservationPreference, CurrencyCodeValues, DeviceType, DiskType, EbsEncryptionSupport, EbsNvmeSupport, EbsOptimizedSupport, EnaSupport, EphemeralNvmeSupport, EventCode, EventType, ExcessCapacityTerminationPolicy, FindingsFound, FleetType, FlexibleEnaQueuesSupport, HaStatus, HostnameType, HttpTokensState, HypervisorType, InstanceAutoRecoveryState, InstanceBandwidthWeighting, InstanceBootModeValues, InstanceInterruptionBehavior, InstanceLifecycleType, InstanceMetadataEndpointState, InstanceMetadataOptionsState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceRebootMigrationState, InstanceStateName, InstanceStorageEncryptionSupport, InstanceTypeHypervisor, KeyType, LocationType, LockState, MonitoringState, MoveStatus, NestedVirtualizationSpecification, NetworkInterfaceAttribute, NetworkInterfaceStatus, NitroEnclavesSupport, NitroTpmSupport, OfferingClassType, OfferingTypeValues, OnDemandAllocationStrategy, PermissionGroup, PhcSupport, PlacementGroupStrategy, PlatformValues, RebootMigrationSupport, RecurringChargeFrequency, ReplacementStrategy, ReservedInstanceState, ResourceType, RIProductDescription, RootDeviceType, Scope, SecondaryInterfaceStatus, SecondaryInterfaceType, SecondaryNetworkType, SecurityGroupVpcAssociationState, ServiceLinkVirtualInterfaceConfigurationState, SnapshotAttributeName, SnapshotState, SpotInstanceState, SpotInstanceType, SqlServerLicenseUsage, StatusName, StatusType, StorageTier, SummaryStatus, SupportedAdditionalProcessorFeature, TargetCapacityUnitType, Tenancy, TieringOperationStatus, UsageClassType, VirtualizationType } from "./enums";
1
+ import { _InstanceType, ActivityStatus, AllocationStrategy, AmdSevSnpSpecification, AnalysisStatus, ArchitectureType, ArchitectureValues, AttachmentLimitType, AttachmentStatus, BandwidthWeightingType, BatchState, BootModeType, BootModeValues, CapacityReservationPreference, CurrencyCodeValues, DeviceType, DiskType, EbsEncryptionSupport, EbsNvmeSupport, EbsOptimizedSupport, EnaSupport, EphemeralNvmeSupport, EventCode, EventType, ExcessCapacityTerminationPolicy, FindingsFound, FleetType, FlexibleEnaQueuesSupport, HaStatus, HostnameType, HttpTokensState, HypervisorType, ImageState, InstanceAutoRecoveryState, InstanceBandwidthWeighting, InstanceBootModeValues, InstanceInterruptionBehavior, InstanceLifecycleType, InstanceMetadataEndpointState, InstanceMetadataOptionsState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceRebootMigrationState, InstanceStateName, InstanceStorageEncryptionSupport, InstanceTypeHypervisor, KeyType, LocationType, LockState, MonitoringState, MoveStatus, NestedVirtualizationSpecification, NetworkInterfaceAttribute, NetworkInterfaceStatus, NitroEnclavesSupport, NitroTpmSupport, OfferingClassType, OfferingTypeValues, OnDemandAllocationStrategy, PermissionGroup, PhcSupport, PlacementGroupStrategy, PlatformValues, RebootMigrationSupport, RecurringChargeFrequency, ReplacementStrategy, ReservedInstanceState, ResourceType, RIProductDescription, RootDeviceType, Scope, SecondaryInterfaceStatus, SecondaryInterfaceType, SecondaryNetworkType, SecurityGroupVpcAssociationState, ServiceLinkVirtualInterfaceConfigurationState, SnapshotAttributeName, SnapshotState, SpotInstanceState, SpotInstanceType, SqlServerLicenseUsage, StatusName, StatusType, StorageTier, SummaryStatus, SupportedAdditionalProcessorFeature, TargetCapacityUnitType, Tenancy, TieringOperationStatus, UsageClassType, VirtualizationType } from "./enums";
2
2
  import { type IamInstanceProfile, type IamInstanceProfileSpecification, type OperatorResponse, ActiveInstance, AlternatePathHint, Explanation, IpamResourceDiscoveryAssociation, IpPermission, MacModificationTask, PathComponent, ReservedInstancesListing, SecurityGroupRule, Subnet, Tag, TagSpecification, UserIdGroupPair } from "./models_0";
3
3
  import { type AttributeValue, type CapacityReservationTargetResponse, type ConnectionTrackingSpecificationRequest, type EnaSrdSpecificationRequest, type FleetLaunchTemplateSpecification, type InstanceRequirements, type NetworkInterfaceAttachment, type Placement, type StateReason, BlockDeviceMapping, GroupIdentifier, InstanceIpv6Address, InternetGateway, Ipam, IpamExternalResourceVerificationToken, IpamPolicy, IpamPool, IpamPrefixListResolver, IpamPrefixListResolverTarget, IpamResourceDiscovery, IpamScope, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, LaunchTemplate, LaunchTemplateVersion, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, LocalGatewayVirtualInterface, LocalGatewayVirtualInterfaceGroup, ManagedPrefixList, NatGateway, NetworkAcl, NetworkInsightsAccessScope, NetworkInsightsPath, NetworkInterface, NetworkInterfacePermission, PlacementGroup, PrivateIpAddressSpecification, ReplaceRootVolumeTask, RouteServer, RouteServerEndpoint, RouteServerPeer, RouteTable, SecondaryNetwork } from "./models_1";
4
- import { type SpotDatafeedSubscription, type SpotInstanceStateFault, SecondarySubnet, Snapshot, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorSession } from "./models_2";
5
- import { type AttributeBooleanValue, type EnclaveOptions, type EventInformation, type ImageMetadata, Byoasn, Filter, IdFormat, InstanceBlockDeviceMapping, ProductCode } from "./models_3";
4
+ import { type SpotDatafeedSubscription, type SpotInstanceStateFault, SecondarySubnet, Snapshot, TrafficMirrorFilter, TrafficMirrorFilterRule } from "./models_2";
5
+ import { type AttributeBooleanValue, type EnclaveOptions, type EventInformation, Byoasn, Filter, IdFormat, InstanceBlockDeviceMapping, ProductCode } from "./models_3";
6
+ /**
7
+ * @public
8
+ */
9
+ export interface DescribeInstanceImageMetadataRequest {
10
+ /**
11
+ * <p>The filters.</p>
12
+ * <ul>
13
+ * <li>
14
+ * <p>
15
+ * <code>availability-zone</code> - The name of the Availability Zone (for example,
16
+ * <code>us-west-2a</code>) or Local Zone (for example, <code>us-west-2-lax-1b</code>) of
17
+ * the instance.</p>
18
+ * </li>
19
+ * <li>
20
+ * <p>
21
+ * <code>instance-id</code> - The ID of the instance.</p>
22
+ * </li>
23
+ * <li>
24
+ * <p>
25
+ * <code>image-allowed</code> - A Boolean that indicates whether the image meets the
26
+ * criteria specified for Allowed AMIs.</p>
27
+ * </li>
28
+ * <li>
29
+ * <p>
30
+ * <code>instance-state-name</code> - The state of the instance (<code>pending</code> |
31
+ * <code>running</code> | <code>shutting-down</code> | <code>terminated</code> |
32
+ * <code>stopping</code> | <code>stopped</code>).</p>
33
+ * </li>
34
+ * <li>
35
+ * <p>
36
+ * <code>instance-type</code> - The type of instance (for example,
37
+ * <code>t3.micro</code>).</p>
38
+ * </li>
39
+ * <li>
40
+ * <p>
41
+ * <code>launch-time</code> - The time when the instance was launched, in the ISO 8601
42
+ * format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), for example,
43
+ * <code>2023-09-29T11:04:43.305Z</code>. You can use a wildcard (<code>*</code>), for
44
+ * example, <code>2023-09-29T*</code>, which matches an entire day.</p>
45
+ * </li>
46
+ * <li>
47
+ * <p>
48
+ * <code>owner-alias</code> - The owner alias (<code>amazon</code> |
49
+ * <code>aws-marketplace</code> | <code>aws-backup-vault</code>). The valid aliases are
50
+ * defined in an Amazon-maintained list. This is not the Amazon Web Services account alias that can be set
51
+ * using the IAM console. We recommend that you use the <code>Owner</code> request parameter
52
+ * instead of this filter.</p>
53
+ * </li>
54
+ * <li>
55
+ * <p>
56
+ * <code>owner-id</code> - The Amazon Web Services account ID of the owner. We recommend that you use
57
+ * the <code>Owner</code> request parameter instead of this filter.</p>
58
+ * </li>
59
+ * <li>
60
+ * <p>
61
+ * <code>tag:<key></code> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value.
62
+ * For example, to find all resources that have a tag with the key <code>Owner</code> and the value <code>TeamA</code>, specify <code>tag:Owner</code> for the filter name and <code>TeamA</code> for the filter value.</p>
63
+ * </li>
64
+ * <li>
65
+ * <p>
66
+ * <code>tag-key</code> - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.</p>
67
+ * </li>
68
+ * <li>
69
+ * <p>
70
+ * <code>zone-id</code> - The ID of the Availability Zone (for example,
71
+ * <code>usw2-az2</code>) or Local Zone (for example, <code>usw2-lax1-az1</code>) of the
72
+ * instance.</p>
73
+ * </li>
74
+ * </ul>
75
+ * @public
76
+ */
77
+ Filters?: Filter[] | undefined;
78
+ /**
79
+ * <p>The instance IDs.</p>
80
+ * <p>If you don't specify an instance ID or filters, the output includes information for all
81
+ * instances.</p>
82
+ * @public
83
+ */
84
+ InstanceIds?: string[] | undefined;
85
+ /**
86
+ * <p>The maximum number of items to return for this request.
87
+ * To get the next page of items, make another request with the token returned in the output.
88
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
89
+ * <p>Default: 1000</p>
90
+ * @public
91
+ */
92
+ MaxResults?: number | undefined;
93
+ /**
94
+ * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
95
+ * @public
96
+ */
97
+ NextToken?: string | undefined;
98
+ /**
99
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
100
+ * and provides an error response. If you have the required permissions, the error response is
101
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
102
+ * @public
103
+ */
104
+ DryRun?: boolean | undefined;
105
+ }
106
+ /**
107
+ * <p>Information about the AMI.</p>
108
+ * @public
109
+ */
110
+ export interface ImageMetadata {
111
+ /**
112
+ * <p>The ID of the AMI.</p>
113
+ * @public
114
+ */
115
+ ImageId?: string | undefined;
116
+ /**
117
+ * <p>The name of the AMI.</p>
118
+ * @public
119
+ */
120
+ Name?: string | undefined;
121
+ /**
122
+ * <p>The ID of the Amazon Web Services account that owns the AMI.</p>
123
+ * @public
124
+ */
125
+ OwnerId?: string | undefined;
126
+ /**
127
+ * <p>The current state of the AMI. If the state is <code>available</code>, the AMI is
128
+ * successfully registered and can be used to launch an instance.</p>
129
+ * @public
130
+ */
131
+ State?: ImageState | undefined;
132
+ /**
133
+ * <p>The alias of the AMI owner.</p>
134
+ * <p>Valid values: <code>amazon</code> | <code>aws-backup-vault</code> |
135
+ * <code>aws-marketplace</code>
136
+ * </p>
137
+ * @public
138
+ */
139
+ ImageOwnerAlias?: string | undefined;
140
+ /**
141
+ * <p>The date and time the AMI was created.</p>
142
+ * @public
143
+ */
144
+ CreationDate?: string | undefined;
145
+ /**
146
+ * <p>The deprecation date and time of the AMI, in UTC, in the following format:
147
+ * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z.</p>
148
+ * @public
149
+ */
150
+ DeprecationTime?: string | undefined;
151
+ /**
152
+ * <p>If <code>true</code>, the AMI satisfies the criteria for Allowed AMIs and can be
153
+ * discovered and used in the account. If <code>false</code>, the AMI can't be discovered or used
154
+ * in the account.</p>
155
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-allowed-amis.html">Control the discovery and use of AMIs in
156
+ * Amazon EC2 with Allowed AMIs</a> in
157
+ * <i>Amazon EC2 User Guide</i>.</p>
158
+ * @public
159
+ */
160
+ ImageAllowed?: boolean | undefined;
161
+ /**
162
+ * <p>Indicates whether the AMI has public launch permissions. A value of <code>true</code>
163
+ * means this AMI has public launch permissions, while <code>false</code> means it has only
164
+ * implicit (AMI owner) or explicit (shared with your account) launch permissions.</p>
165
+ * @public
166
+ */
167
+ IsPublic?: boolean | undefined;
168
+ }
6
169
  /**
7
170
  * <p>Describes the current state of an instance.</p>
8
171
  * @public
@@ -13177,73 +13340,3 @@ export interface DescribeTrafficMirrorSessionsRequest {
13177
13340
  */
13178
13341
  NextToken?: string | undefined;
13179
13342
  }
13180
- /**
13181
- * @public
13182
- */
13183
- export interface DescribeTrafficMirrorSessionsResult {
13184
- /**
13185
- * <p>Describes one or more Traffic Mirror sessions. By default, all Traffic Mirror sessions are described. Alternatively, you can filter the results.</p>
13186
- * @public
13187
- */
13188
- TrafficMirrorSessions?: TrafficMirrorSession[] | undefined;
13189
- /**
13190
- * <p>The token to use to retrieve the next page of results. The value is <code>null</code> when there are no more results to return.</p>
13191
- * @public
13192
- */
13193
- NextToken?: string | undefined;
13194
- }
13195
- /**
13196
- * @public
13197
- */
13198
- export interface DescribeTrafficMirrorTargetsRequest {
13199
- /**
13200
- * <p>The ID of the Traffic Mirror targets.</p>
13201
- * @public
13202
- */
13203
- TrafficMirrorTargetIds?: string[] | undefined;
13204
- /**
13205
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
13206
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
13207
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
13208
- * @public
13209
- */
13210
- DryRun?: boolean | undefined;
13211
- /**
13212
- * <p>One or more filters. The possible values are:</p>
13213
- * <ul>
13214
- * <li>
13215
- * <p>
13216
- * <code>description</code>: The Traffic Mirror target description.</p>
13217
- * </li>
13218
- * <li>
13219
- * <p>
13220
- * <code>network-interface-id</code>: The ID of the Traffic Mirror session network interface.</p>
13221
- * </li>
13222
- * <li>
13223
- * <p>
13224
- * <code>network-load-balancer-arn</code>: The Amazon Resource Name (ARN) of the Network Load Balancer that is associated with the session.</p>
13225
- * </li>
13226
- * <li>
13227
- * <p>
13228
- * <code>owner-id</code>: The ID of the account that owns the Traffic Mirror session.</p>
13229
- * </li>
13230
- * <li>
13231
- * <p>
13232
- * <code>traffic-mirror-target-id</code>: The ID of the Traffic Mirror target.</p>
13233
- * </li>
13234
- * </ul>
13235
- * @public
13236
- */
13237
- Filters?: Filter[] | undefined;
13238
- /**
13239
- * <p>The maximum number of results to return with a single call.
13240
- * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
13241
- * @public
13242
- */
13243
- MaxResults?: number | undefined;
13244
- /**
13245
- * <p>The token for the next page of results.</p>
13246
- * @public
13247
- */
13248
- NextToken?: string | undefined;
13249
- }
@@ -1,8 +1,78 @@
1
1
  import { AllowedImagesSettingsDisabledState, AllowedImagesSettingsEnabledState, CapacityManagerStatus, CapacityReservationState, CapacityTenancy, ClientCertificateRevocationListStatusCode, Comparison, DeviceTrustProviderType, DiskImageFormat, DnsNameState, FastLaunchResourceType, FastLaunchStateCode, FastSnapshotRestoreStateCode, FilterByDimension, GroupBy, ImageBlockPublicAccessDisabledState, ImageBlockPublicAccessEnabledState, IngestionStatus, InitializationType, InternetGatewayBlockMode, IpAddressType, ManagedBy, Metric, MetricType, PayerResponsibility, PeriodType, ReservationEndDateType, ReservationState, ReservationType, RouteServerPropagationState, SecurityGroupVpcAssociationState, ServiceConnectivityType, SnapshotBlockPublicAccessState, State, StatisticType, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayPropagationState, UserTrustProviderType, VerifiedAccessLogDeliveryStatusCode, VolumeAttributeName, VolumeModificationState, VolumeStatusInfoStatus, VolumeStatusName, VolumeType, VpcAttributeName, VpcBlockPublicAccessExclusionsAllowed, VpcBlockPublicAccessState } from "./enums";
2
2
  import { type ActiveVpnTunnelStatus, type AddressTransfer, type AsnAssociation, type AssociationStatus, type IamInstanceProfileAssociation, type InstanceEventWindow, type InterruptibleCapacityAllocation, type InterruptionInfo, type IpamResourceDiscoveryAssociation, type RouteServerAssociation, type SubnetIpv6CidrBlockAssociation, type TransitGatewayAssociation, type TransitGatewayMulticastDomainAssociations, type TransitGatewayPolicyTableAssociation, type VpcCidrBlockAssociation, type VpcIpv6CidrBlockAssociation, AllowedPrincipal, NatGatewayAddress, Tag, TagSpecification, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, TrunkInterfaceAssociation, VerifiedAccessInstance, VerifiedAccessTrustProvider, Volume, Vpc, VpcEncryptionControl, VpcPeeringConnection } from "./models_0";
3
- import { ConnectionNotification, DnsEntry, ServiceConfiguration, ServiceTypeDetail, TrafficMirrorTarget, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMeteringPolicy, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, VpcBlockPublicAccessExclusion, VpcEndpoint, VpnConcentrator, VpnConnection, VpnGateway } from "./models_2";
3
+ import { ConnectionNotification, DnsEntry, ServiceConfiguration, ServiceTypeDetail, TrafficMirrorSession, TrafficMirrorTarget, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMeteringPolicy, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, VpcBlockPublicAccessExclusion, VpcEndpoint, VpnConcentrator, VpnConnection, VpnGateway } from "./models_2";
4
4
  import { type AttributeBooleanValue, type ExportTaskS3Location, type FastLaunchLaunchTemplateSpecificationResponse, type FastLaunchSnapshotConfigurationResponse, Filter, ProductCode } from "./models_3";
5
5
  import { RegisteredInstance } from "./models_4";
6
+ /**
7
+ * @public
8
+ */
9
+ export interface DescribeTrafficMirrorSessionsResult {
10
+ /**
11
+ * <p>Describes one or more Traffic Mirror sessions. By default, all Traffic Mirror sessions are described. Alternatively, you can filter the results.</p>
12
+ * @public
13
+ */
14
+ TrafficMirrorSessions?: TrafficMirrorSession[] | undefined;
15
+ /**
16
+ * <p>The token to use to retrieve the next page of results. The value is <code>null</code> when there are no more results to return.</p>
17
+ * @public
18
+ */
19
+ NextToken?: string | undefined;
20
+ }
21
+ /**
22
+ * @public
23
+ */
24
+ export interface DescribeTrafficMirrorTargetsRequest {
25
+ /**
26
+ * <p>The ID of the Traffic Mirror targets.</p>
27
+ * @public
28
+ */
29
+ TrafficMirrorTargetIds?: string[] | undefined;
30
+ /**
31
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
32
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
33
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
34
+ * @public
35
+ */
36
+ DryRun?: boolean | undefined;
37
+ /**
38
+ * <p>One or more filters. The possible values are:</p>
39
+ * <ul>
40
+ * <li>
41
+ * <p>
42
+ * <code>description</code>: The Traffic Mirror target description.</p>
43
+ * </li>
44
+ * <li>
45
+ * <p>
46
+ * <code>network-interface-id</code>: The ID of the Traffic Mirror session network interface.</p>
47
+ * </li>
48
+ * <li>
49
+ * <p>
50
+ * <code>network-load-balancer-arn</code>: The Amazon Resource Name (ARN) of the Network Load Balancer that is associated with the session.</p>
51
+ * </li>
52
+ * <li>
53
+ * <p>
54
+ * <code>owner-id</code>: The ID of the account that owns the Traffic Mirror session.</p>
55
+ * </li>
56
+ * <li>
57
+ * <p>
58
+ * <code>traffic-mirror-target-id</code>: The ID of the Traffic Mirror target.</p>
59
+ * </li>
60
+ * </ul>
61
+ * @public
62
+ */
63
+ Filters?: Filter[] | undefined;
64
+ /**
65
+ * <p>The maximum number of results to return with a single call.
66
+ * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
67
+ * @public
68
+ */
69
+ MaxResults?: number | undefined;
70
+ /**
71
+ * <p>The token for the next page of results.</p>
72
+ * @public
73
+ */
74
+ NextToken?: string | undefined;
75
+ }
6
76
  /**
7
77
  * @public
8
78
  */
@@ -7978,102 +8048,3 @@ export interface RegionalSummary {
7978
8048
  */
7979
8049
  NumberOfUnmatchedAccounts?: number | undefined;
7980
8050
  }
7981
- /**
7982
- * <p>A summary report for the attribute across all Regions.</p>
7983
- * @public
7984
- */
7985
- export interface AttributeSummary {
7986
- /**
7987
- * <p>The name of the attribute.</p>
7988
- * @public
7989
- */
7990
- AttributeName?: string | undefined;
7991
- /**
7992
- * <p>The configuration value that is most frequently observed for the attribute.</p>
7993
- * @public
7994
- */
7995
- MostFrequentValue?: string | undefined;
7996
- /**
7997
- * <p>The number of accounts with the same configuration value for the attribute that is
7998
- * most frequently observed.</p>
7999
- * @public
8000
- */
8001
- NumberOfMatchedAccounts?: number | undefined;
8002
- /**
8003
- * <p>The number of accounts with a configuration value different from the most frequently
8004
- * observed value for the attribute.</p>
8005
- * @public
8006
- */
8007
- NumberOfUnmatchedAccounts?: number | undefined;
8008
- /**
8009
- * <p>The summary report for each Region for the attribute.</p>
8010
- * @public
8011
- */
8012
- RegionalSummaries?: RegionalSummary[] | undefined;
8013
- }
8014
- /**
8015
- * @public
8016
- */
8017
- export interface GetDeclarativePoliciesReportSummaryResult {
8018
- /**
8019
- * <p>The ID of the report.</p>
8020
- * @public
8021
- */
8022
- ReportId?: string | undefined;
8023
- /**
8024
- * <p>The name of the Amazon S3 bucket where the report is located.</p>
8025
- * @public
8026
- */
8027
- S3Bucket?: string | undefined;
8028
- /**
8029
- * <p>The prefix for your S3 object.</p>
8030
- * @public
8031
- */
8032
- S3Prefix?: string | undefined;
8033
- /**
8034
- * <p>The root ID, organizational unit ID, or account ID.</p>
8035
- * <p>Format:</p>
8036
- * <ul>
8037
- * <li>
8038
- * <p>For root: <code>r-ab12</code>
8039
- * </p>
8040
- * </li>
8041
- * <li>
8042
- * <p>For OU: <code>ou-ab12-cdef1234</code>
8043
- * </p>
8044
- * </li>
8045
- * <li>
8046
- * <p>For account: <code>123456789012</code>
8047
- * </p>
8048
- * </li>
8049
- * </ul>
8050
- * @public
8051
- */
8052
- TargetId?: string | undefined;
8053
- /**
8054
- * <p>The time when the report generation started.</p>
8055
- * @public
8056
- */
8057
- StartTime?: Date | undefined;
8058
- /**
8059
- * <p>The time when the report generation ended.</p>
8060
- * @public
8061
- */
8062
- EndTime?: Date | undefined;
8063
- /**
8064
- * <p>The total number of accounts associated with the specified
8065
- * <code>targetId</code>.</p>
8066
- * @public
8067
- */
8068
- NumberOfAccounts?: number | undefined;
8069
- /**
8070
- * <p>The number of accounts where attributes could not be retrieved in any Region.</p>
8071
- * @public
8072
- */
8073
- NumberOfFailedAccounts?: number | undefined;
8074
- /**
8075
- * <p>The attributes described in the report.</p>
8076
- * @public
8077
- */
8078
- AttributeSummaries?: AttributeSummary[] | undefined;
8079
- }
@@ -1,10 +1,109 @@
1
- import { _InstanceType, Affinity, AnalysisStatus, ArchitectureType, ArchitectureValues, AutoPlacement, BootModeValues, CapacityReservationPreference, CurrencyCodeValues, DefaultHttpTokensEnforcedState, DefaultInstanceMetadataEndpointState, DefaultInstanceMetadataTagsState, DiskImageFormat, EkPubKeyFormat, EkPubKeyType, EndDateType, ExcessCapacityTerminationPolicy, FleetExcessCapacityTerminationPolicy, FpgaImageAttributeName, HostMaintenance, HostnameType, HostRecovery, HostTenancy, HttpTokensEnforcedState, HttpTokensState, InstanceAttributeName, InstanceAutoRecoveryState, InstanceBandwidthWeighting, InstanceMatchCriteria, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceRebootMigrationState, IpAddressType, IpamAddressHistoryResourceType, IpamComplianceStatus, IpamDiscoveryFailureCode, IpamManagementState, IpamMeteredAccount, IpamNetworkInterfaceAttachmentStatus, IpamOverlapStatus, IpamPolicyManagedBy, IpamPolicyResourceType, IpamPrefixListResolverRuleConditionOperation, IpamPrefixListResolverRuleType, IpamPublicAddressAssociationStatus, IpamPublicAddressAwsService, IpamPublicAddressType, IpamResourceCidrIpSource, IpamResourceType, IpamTier, LockMode, LockState, ManagedBy, MetadataDefaultHttpTokensState, ModifyAvailabilityZoneOptInStatus, NestedVirtualizationSpecification, OperationType, PartitionLoadFrequency, PaymentOption, PermissionGroup, PlatformValues, PublicIpDnsOption, RouteServerPersistRoutesAction, RouteServerRouteInstallationStatus, RouteServerRouteStatus, SelfServicePortal, ShutdownBehavior, SnapshotAttributeName, SnapshotBlockPublicAccessState, SSEType, TargetCapacityUnitType, TargetStorageTier, TrafficDirection, TrafficMirrorFilterRuleField, TrafficMirrorNetworkService, TrafficMirrorRuleAction, TrafficMirrorSessionField, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayPropagationState, UnlimitedSupportedInstanceFamily, UnsuccessfulInstanceCreditSpecificationErrorCode, VirtualizationType, VolumeState, VolumeType } from "./enums";
1
+ import { _InstanceType, Affinity, AnalysisStatus, ArchitectureType, ArchitectureValues, AutoPlacement, BootModeValues, CapacityReservationPreference, CurrencyCodeValues, DefaultHttpTokensEnforcedState, DefaultInstanceMetadataEndpointState, DefaultInstanceMetadataTagsState, DiskImageFormat, EkPubKeyFormat, EkPubKeyType, EndDateType, ExcessCapacityTerminationPolicy, FleetExcessCapacityTerminationPolicy, FpgaImageAttributeName, HostMaintenance, HostnameType, HostRecovery, HostTenancy, HttpTokensEnforcedState, HttpTokensState, InstanceAttributeName, InstanceAutoRecoveryState, InstanceBandwidthWeighting, InstanceMatchCriteria, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceRebootMigrationState, IpAddressType, IpamAddressHistoryResourceType, IpamComplianceStatus, IpamDiscoveryFailureCode, IpamManagementState, IpamMeteredAccount, IpamNetworkInterfaceAttachmentStatus, IpamOverlapStatus, IpamPolicyManagedBy, IpamPolicyResourceType, IpamPrefixListResolverRuleConditionOperation, IpamPrefixListResolverRuleType, IpamPublicAddressAssociationStatus, IpamPublicAddressAwsService, IpamPublicAddressType, IpamResourceCidrIpSource, IpamResourceType, IpamTier, LockMode, LockState, ManagedBy, MetadataDefaultHttpTokensState, ModifyAvailabilityZoneOptInStatus, NestedVirtualizationSpecification, OperationType, PartitionLoadFrequency, PaymentOption, PermissionGroup, PlatformValues, PublicIpDnsOption, RouteServerPersistRoutesAction, RouteServerRouteInstallationStatus, RouteServerRouteStatus, SelfServicePortal, ShutdownBehavior, SnapshotAttributeName, SnapshotBlockPublicAccessState, SSEType, TargetCapacityUnitType, TargetStorageTier, TrafficDirection, TrafficMirrorFilterRuleField, TrafficMirrorNetworkService, TrafficMirrorRuleAction, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayPropagationState, UnlimitedSupportedInstanceFamily, UnsuccessfulInstanceCreditSpecificationErrorCode, VirtualizationType, VolumeState, VolumeType } from "./enums";
2
2
  import { type AddressAttribute, type ClientConnectOptions, type ClientLoginBannerOptions, type ClientRouteEnforcementOptions, type ConnectionLogOptions, type EnaSrdSpecification, type InstanceEventWindow, type OperatorResponse, type SubnetAssociation, AccessScopeAnalysisFinding, AddIpamOperatingRegion, AddIpamOrganizationalUnitExclusion, AddPrefixListEntry, IpamPoolAllocation, RouteServerAssociation, Tag, TagSpecification, TargetConfigurationRequest, TransitGatewayPolicyTableAssociation, UnsuccessfulItem } from "./models_0";
3
3
  import { type AttributeValue, type CapacityReservationTarget, type ConnectionTrackingSpecificationRequest, type ExternalAuthorityConfiguration, type InstanceRequirementsRequest, type Ipam, type IpamPool, type IpamPrefixListResolver, type IpamPrefixListResolverTarget, type IpamResourceDiscovery, type IpamScope, type LaunchTemplate, type LocalGatewayRoute, type ManagedPrefixList, type NetworkInsightsAccessScopeContent, type Placement, type ResponseLaunchTemplateData, type RouteServer, type TargetCapacitySpecificationRequest, FleetLaunchTemplateConfigRequest, InstanceEventWindowTimeRangeRequest, IpamPrefixListResolverRuleRequest, IpamResourceTag, RequestIpamResourceTag } from "./models_1";
4
- import { type TrafficMirrorFilter, type TrafficMirrorFilterRule, type TrafficMirrorPortRangeRequest, type TrafficMirrorSession, SubnetCidrReservation, TransitGatewayMeteringPolicyEntry, TransitGatewayPrefixListReference } from "./models_2";
4
+ import { type TrafficMirrorFilter, type TrafficMirrorFilterRule, type TrafficMirrorPortRangeRequest, SubnetCidrReservation, TransitGatewayMeteringPolicyEntry, TransitGatewayPrefixListReference } from "./models_2";
5
5
  import { type AttributeBooleanValue, type ConversionTask, type FpgaImageAttribute, type SnapshotTaskDetail, Filter, ImportImageLicenseConfigurationResponse, IpamPoolCidr, LaunchPermission, SnapshotDetail } from "./models_3";
6
6
  import { type InstanceMetadataOptionsResponse, type InstanceStatusEvent, CreateVolumePermission, LaunchTemplateConfig, ReservedInstancesConfiguration } from "./models_4";
7
- import { RouteServerPropagation } from "./models_5";
7
+ import { RegionalSummary, RouteServerPropagation } from "./models_5";
8
+ /**
9
+ * <p>A summary report for the attribute across all Regions.</p>
10
+ * @public
11
+ */
12
+ export interface AttributeSummary {
13
+ /**
14
+ * <p>The name of the attribute.</p>
15
+ * @public
16
+ */
17
+ AttributeName?: string | undefined;
18
+ /**
19
+ * <p>The configuration value that is most frequently observed for the attribute.</p>
20
+ * @public
21
+ */
22
+ MostFrequentValue?: string | undefined;
23
+ /**
24
+ * <p>The number of accounts with the same configuration value for the attribute that is
25
+ * most frequently observed.</p>
26
+ * @public
27
+ */
28
+ NumberOfMatchedAccounts?: number | undefined;
29
+ /**
30
+ * <p>The number of accounts with a configuration value different from the most frequently
31
+ * observed value for the attribute.</p>
32
+ * @public
33
+ */
34
+ NumberOfUnmatchedAccounts?: number | undefined;
35
+ /**
36
+ * <p>The summary report for each Region for the attribute.</p>
37
+ * @public
38
+ */
39
+ RegionalSummaries?: RegionalSummary[] | undefined;
40
+ }
41
+ /**
42
+ * @public
43
+ */
44
+ export interface GetDeclarativePoliciesReportSummaryResult {
45
+ /**
46
+ * <p>The ID of the report.</p>
47
+ * @public
48
+ */
49
+ ReportId?: string | undefined;
50
+ /**
51
+ * <p>The name of the Amazon S3 bucket where the report is located.</p>
52
+ * @public
53
+ */
54
+ S3Bucket?: string | undefined;
55
+ /**
56
+ * <p>The prefix for your S3 object.</p>
57
+ * @public
58
+ */
59
+ S3Prefix?: string | undefined;
60
+ /**
61
+ * <p>The root ID, organizational unit ID, or account ID.</p>
62
+ * <p>Format:</p>
63
+ * <ul>
64
+ * <li>
65
+ * <p>For root: <code>r-ab12</code>
66
+ * </p>
67
+ * </li>
68
+ * <li>
69
+ * <p>For OU: <code>ou-ab12-cdef1234</code>
70
+ * </p>
71
+ * </li>
72
+ * <li>
73
+ * <p>For account: <code>123456789012</code>
74
+ * </p>
75
+ * </li>
76
+ * </ul>
77
+ * @public
78
+ */
79
+ TargetId?: string | undefined;
80
+ /**
81
+ * <p>The time when the report generation started.</p>
82
+ * @public
83
+ */
84
+ StartTime?: Date | undefined;
85
+ /**
86
+ * <p>The time when the report generation ended.</p>
87
+ * @public
88
+ */
89
+ EndTime?: Date | undefined;
90
+ /**
91
+ * <p>The total number of accounts associated with the specified
92
+ * <code>targetId</code>.</p>
93
+ * @public
94
+ */
95
+ NumberOfAccounts?: number | undefined;
96
+ /**
97
+ * <p>The number of accounts where attributes could not be retrieved in any Region.</p>
98
+ * @public
99
+ */
100
+ NumberOfFailedAccounts?: number | undefined;
101
+ /**
102
+ * <p>The attributes described in the report.</p>
103
+ * @public
104
+ */
105
+ AttributeSummaries?: AttributeSummary[] | undefined;
106
+ }
8
107
  /**
9
108
  * @public
10
109
  */
@@ -8683,68 +8782,3 @@ export interface ModifyTrafficMirrorFilterRuleResult {
8683
8782
  */
8684
8783
  TrafficMirrorFilterRule?: TrafficMirrorFilterRule | undefined;
8685
8784
  }
8686
- /**
8687
- * @public
8688
- */
8689
- export interface ModifyTrafficMirrorSessionRequest {
8690
- /**
8691
- * <p>The ID of the Traffic Mirror session.</p>
8692
- * @public
8693
- */
8694
- TrafficMirrorSessionId: string | undefined;
8695
- /**
8696
- * <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>
8697
- * @public
8698
- */
8699
- TrafficMirrorTargetId?: string | undefined;
8700
- /**
8701
- * <p>The ID of the Traffic Mirror filter.</p>
8702
- * @public
8703
- */
8704
- TrafficMirrorFilterId?: string | undefined;
8705
- /**
8706
- * <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>
8707
- * <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>
8708
- * @public
8709
- */
8710
- PacketLength?: number | undefined;
8711
- /**
8712
- * <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>
8713
- * <p>Valid values are 1-32766.</p>
8714
- * @public
8715
- */
8716
- SessionNumber?: number | undefined;
8717
- /**
8718
- * <p>The virtual network ID of the Traffic Mirror session.</p>
8719
- * @public
8720
- */
8721
- VirtualNetworkId?: number | undefined;
8722
- /**
8723
- * <p>The description to assign to the Traffic Mirror session.</p>
8724
- * @public
8725
- */
8726
- Description?: string | undefined;
8727
- /**
8728
- * <p>The properties that you want to remove from the Traffic Mirror session.</p>
8729
- * <p>When you remove a property from a Traffic Mirror session, the property is set to the default.</p>
8730
- * @public
8731
- */
8732
- RemoveFields?: TrafficMirrorSessionField[] | undefined;
8733
- /**
8734
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
8735
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
8736
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8737
- * @public
8738
- */
8739
- DryRun?: boolean | undefined;
8740
- }
8741
- /**
8742
- * @public
8743
- */
8744
- export interface ModifyTrafficMirrorSessionResult {
8745
- /**
8746
- * <p>Information about the Traffic Mirror session.</p>
8747
- * @public
8748
- */
8749
- TrafficMirrorSession?: TrafficMirrorSession | undefined;
8750
- }