@aws-sdk/client-ec2 3.932.0 → 3.933.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 (67) hide show
  1. package/README.md +32 -0
  2. package/dist-cjs/index.js +371 -5
  3. package/dist-es/EC2.js +8 -0
  4. package/dist-es/commands/DescribeInstanceSqlHaHistoryStatesCommand.js +16 -0
  5. package/dist-es/commands/DescribeInstanceSqlHaStatesCommand.js +16 -0
  6. package/dist-es/commands/DisableInstanceSqlHaStandbyDetectionsCommand.js +16 -0
  7. package/dist-es/commands/EnableInstanceSqlHaStandbyDetectionsCommand.js +16 -0
  8. package/dist-es/commands/index.js +4 -0
  9. package/dist-es/models/models_4.js +10 -6
  10. package/dist-es/models/models_5.js +6 -0
  11. package/dist-es/models/models_6.js +0 -12
  12. package/dist-es/models/models_7.js +12 -11
  13. package/dist-es/models/models_8.js +11 -0
  14. package/dist-es/schemas/schemas_0.js +300 -2
  15. package/dist-types/EC2.d.ts +30 -0
  16. package/dist-types/EC2Client.d.ts +6 -2
  17. package/dist-types/commands/DescribeInstanceSqlHaHistoryStatesCommand.d.ts +106 -0
  18. package/dist-types/commands/DescribeInstanceSqlHaStatesCommand.d.ts +104 -0
  19. package/dist-types/commands/DescribeInstanceTopologyCommand.d.ts +1 -1
  20. package/dist-types/commands/DescribeInstanceTypeOfferingsCommand.d.ts +1 -1
  21. package/dist-types/commands/DescribeTransitGatewayRouteTableAnnouncementsCommand.d.ts +2 -1
  22. package/dist-types/commands/DescribeTransitGatewayRouteTablesCommand.d.ts +1 -1
  23. package/dist-types/commands/DescribeTransitGatewayVpcAttachmentsCommand.d.ts +1 -1
  24. package/dist-types/commands/DescribeTransitGatewaysCommand.d.ts +1 -1
  25. package/dist-types/commands/DisableInstanceSqlHaStandbyDetectionsCommand.d.ts +95 -0
  26. package/dist-types/commands/EnableInstanceSqlHaStandbyDetectionsCommand.d.ts +102 -0
  27. package/dist-types/commands/GetDefaultCreditSpecificationCommand.d.ts +1 -1
  28. package/dist-types/commands/GetEbsDefaultKmsKeyIdCommand.d.ts +1 -1
  29. package/dist-types/commands/GetEbsEncryptionByDefaultCommand.d.ts +1 -1
  30. package/dist-types/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.d.ts +1 -1
  31. package/dist-types/commands/ModifyTrafficMirrorFilterRuleCommand.d.ts +1 -1
  32. package/dist-types/commands/ModifyTrafficMirrorSessionCommand.d.ts +1 -1
  33. package/dist-types/commands/ModifyTransitGatewayCommand.d.ts +1 -1
  34. package/dist-types/commands/index.d.ts +4 -0
  35. package/dist-types/models/models_4.d.ts +270 -257
  36. package/dist-types/models/models_5.d.ts +259 -258
  37. package/dist-types/models/models_6.d.ts +326 -163
  38. package/dist-types/models/models_7.d.ts +163 -339
  39. package/dist-types/models/models_8.d.ts +336 -1
  40. package/dist-types/schemas/schemas_0.d.ts +15 -0
  41. package/dist-types/ts3.4/EC2.d.ts +88 -0
  42. package/dist-types/ts3.4/EC2Client.d.ts +24 -0
  43. package/dist-types/ts3.4/commands/DescribeInstanceSqlHaHistoryStatesCommand.d.ts +51 -0
  44. package/dist-types/ts3.4/commands/DescribeInstanceSqlHaStatesCommand.d.ts +51 -0
  45. package/dist-types/ts3.4/commands/DescribeInstanceTopologyCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/DescribeInstanceTypeOfferingsCommand.d.ts +1 -1
  47. package/dist-types/ts3.4/commands/DescribeTransitGatewayRouteTableAnnouncementsCommand.d.ts +2 -4
  48. package/dist-types/ts3.4/commands/DescribeTransitGatewayRouteTablesCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/DescribeTransitGatewayVpcAttachmentsCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/DescribeTransitGatewaysCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/DisableInstanceSqlHaStandbyDetectionsCommand.d.ts +51 -0
  52. package/dist-types/ts3.4/commands/EnableInstanceSqlHaStandbyDetectionsCommand.d.ts +51 -0
  53. package/dist-types/ts3.4/commands/GetDefaultCreditSpecificationCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/GetEbsDefaultKmsKeyIdCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/GetEbsEncryptionByDefaultCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/ModifyTrafficMirrorFilterRuleCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/ModifyTrafficMirrorSessionCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/commands/ModifyTransitGatewayCommand.d.ts +1 -1
  60. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  61. package/dist-types/ts3.4/models/models_4.d.ts +46 -44
  62. package/dist-types/ts3.4/models/models_5.d.ts +44 -43
  63. package/dist-types/ts3.4/models/models_6.d.ts +62 -53
  64. package/dist-types/ts3.4/models/models_7.d.ts +52 -96
  65. package/dist-types/ts3.4/models/models_8.d.ts +91 -0
  66. package/dist-types/ts3.4/schemas/schemas_0.d.ts +15 -0
  67. package/package.json +3 -3
@@ -1,10 +1,169 @@
1
- import { AccessScopeAnalysisFinding, AddIpamOperatingRegion, AddIpamOrganizationalUnitExclusion, AddPrefixListEntry, AddressAttribute, Affinity, AutoPlacement, CurrencyCodeValues, DnsSupportValue, EnaSrdSpecification, HostMaintenance, HostRecovery, InstanceEventWindow, IpamPoolAllocation, RouteServerAssociation, SecurityGroupReferencingSupportValue, SubnetAssociation, Tag, TagSpecification, TargetConfigurationRequest, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayPolicyTableAssociation, UnsuccessfulItem } from "./models_0";
2
- import { _InstanceType, AttributeValue, CapacityReservationPreference, CapacityReservationTarget, ClientConnectOptions, ClientLoginBannerOptions, ClientRouteEnforcementOptions, ConnectionLogOptions, ConnectionTrackingSpecificationRequest, DiskImageFormat, EndDateType, ExternalAuthorityConfiguration, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateConfigRequest, HostnameType, InstanceEventWindowTimeRangeRequest, InstanceMatchCriteria, InstanceRequirementsRequest, IpAddressType, Ipam, IpamMeteredAccount, IpamPool, IpamPrefixListResolver, IpamPrefixListResolverRuleConditionOperation, IpamPrefixListResolverRuleRequest, IpamPrefixListResolverRuleType, IpamPrefixListResolverTarget, IpamResourceDiscovery, IpamResourceTag, IpamResourceType, IpamScope, IpamTier, Placement, PlatformValues, RequestIpamResourceTag, SelfServicePortal, ShutdownBehavior, TargetCapacitySpecificationRequest, TargetCapacityUnitType } from "./models_1";
3
- import { AutoAcceptSharedAttachmentsValue, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, InstanceBandwidthWeighting, LaunchTemplate, LocalGatewayRoute, ManagedPrefixList, NetworkInsightsAccessScopeContent, ResponseLaunchTemplateData, RouteServer, RouteServerPersistRoutesAction, SubnetCidrReservation, TrafficDirection, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorNetworkService, TrafficMirrorPortRangeRequest, TrafficMirrorRuleAction, TrafficMirrorSession, TransitGateway, TransitGatewayPrefixListReference, VpnEcmpSupportValue } from "./models_2";
1
+ import { AccessScopeAnalysisFinding, AddIpamOperatingRegion, AddIpamOrganizationalUnitExclusion, AddPrefixListEntry, AddressAttribute, Affinity, AutoPlacement, CurrencyCodeValues, EnaSrdSpecification, HostMaintenance, HostRecovery, InstanceEventWindow, IpamPoolAllocation, RouteServerAssociation, SubnetAssociation, Tag, TagSpecification, TargetConfigurationRequest, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayPolicyTableAssociation, UnsuccessfulItem } from "./models_0";
2
+ import { _InstanceType, AttributeValue, CapacityReservationPreference, CapacityReservationTarget, ClientConnectOptions, ClientLoginBannerOptions, ClientRouteEnforcementOptions, ConnectionLogOptions, ConnectionTrackingSpecificationRequest, DiskImageFormat, EndDateType, ExternalAuthorityConfiguration, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateConfigRequest, HostnameType, InstanceEventWindowTimeRangeRequest, InstanceMatchCriteria, InstanceRequirementsRequest, IpAddressType, Ipam, IpamMeteredAccount, IpamPool, IpamPrefixListResolver, IpamPrefixListResolverRuleConditionOperation, IpamPrefixListResolverRuleRequest, IpamPrefixListResolverRuleType, IpamPrefixListResolverTarget, IpamResourceDiscovery, IpamResourceTag, IpamResourceType, IpamScope, IpamTier, Placement, PlatformValues, RequestIpamResourceTag, SelfServicePortal, ShutdownBehavior, SSEType, TargetCapacitySpecificationRequest, TargetCapacityUnitType } from "./models_1";
3
+ import { InstanceBandwidthWeighting, LaunchTemplate, LocalGatewayRoute, ManagedPrefixList, NetworkInsightsAccessScopeContent, ResponseLaunchTemplateData, RouteServer, RouteServerPersistRoutesAction, SubnetCidrReservation, TransitGatewayPrefixListReference } from "./models_2";
4
4
  import { Filter, IpamPoolCidr } from "./models_3";
5
5
  import { ArchitectureValues, AttributeBooleanValue, BootModeValues, ConversionTask, FpgaImageAttribute, FpgaImageAttributeName, HttpTokensState, ImportImageLicenseConfigurationResponse, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceRebootMigrationState, InstanceStatusEvent, LaunchPermission, PaymentOption, PermissionGroup, SnapshotDetail, SnapshotTaskDetail, VirtualizationType } from "./models_4";
6
6
  import { AnalysisStatus, ArchitectureType, CreateVolumePermission, ExcessCapacityTerminationPolicy, LaunchTemplateConfig, LockState, ReservedInstancesConfiguration, SnapshotAttributeName } from "./models_5";
7
- import { InstanceFamilyCreditSpecification, IntegrateServices, ManagedBy, RouteServerPropagation, SnapshotBlockPublicAccessState, TransitGatewayPropagationState, UnlimitedSupportedInstanceFamily } from "./models_6";
7
+ import { ManagedBy, RouteServerPropagation, SnapshotBlockPublicAccessState, TransitGatewayPropagationState } from "./models_6";
8
+ /**
9
+ * @public
10
+ * @enum
11
+ */
12
+ export declare const UnlimitedSupportedInstanceFamily: {
13
+ readonly t2: "t2";
14
+ readonly t3: "t3";
15
+ readonly t3a: "t3a";
16
+ readonly t4g: "t4g";
17
+ };
18
+ /**
19
+ * @public
20
+ */
21
+ export type UnlimitedSupportedInstanceFamily = (typeof UnlimitedSupportedInstanceFamily)[keyof typeof UnlimitedSupportedInstanceFamily];
22
+ /**
23
+ * @public
24
+ */
25
+ export interface GetDefaultCreditSpecificationRequest {
26
+ /**
27
+ * <p>Checks whether you have the required permissions for the operation, without actually making the
28
+ * request, and provides an error response. If you have the required permissions, the error response is
29
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
30
+ * @public
31
+ */
32
+ DryRun?: boolean | undefined;
33
+ /**
34
+ * <p>The instance family.</p>
35
+ * @public
36
+ */
37
+ InstanceFamily: UnlimitedSupportedInstanceFamily | undefined;
38
+ }
39
+ /**
40
+ * <p>Describes the default credit option for CPU usage of a burstable performance instance
41
+ * family.</p>
42
+ * @public
43
+ */
44
+ export interface InstanceFamilyCreditSpecification {
45
+ /**
46
+ * <p>The instance family.</p>
47
+ * @public
48
+ */
49
+ InstanceFamily?: UnlimitedSupportedInstanceFamily | undefined;
50
+ /**
51
+ * <p>The default credit option for CPU usage of the instance family. Valid values are
52
+ * <code>standard</code> and <code>unlimited</code>.</p>
53
+ * @public
54
+ */
55
+ CpuCredits?: string | undefined;
56
+ }
57
+ /**
58
+ * @public
59
+ */
60
+ export interface GetDefaultCreditSpecificationResult {
61
+ /**
62
+ * <p>The default credit option for CPU usage of the instance family.</p>
63
+ * @public
64
+ */
65
+ InstanceFamilyCreditSpecification?: InstanceFamilyCreditSpecification | undefined;
66
+ }
67
+ /**
68
+ * @public
69
+ */
70
+ export interface GetEbsDefaultKmsKeyIdRequest {
71
+ /**
72
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
73
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
74
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
75
+ * @public
76
+ */
77
+ DryRun?: boolean | undefined;
78
+ }
79
+ /**
80
+ * @public
81
+ */
82
+ export interface GetEbsDefaultKmsKeyIdResult {
83
+ /**
84
+ * <p>The Amazon Resource Name (ARN) of the default KMS key for encryption by default.</p>
85
+ * @public
86
+ */
87
+ KmsKeyId?: string | undefined;
88
+ }
89
+ /**
90
+ * @public
91
+ */
92
+ export interface GetEbsEncryptionByDefaultRequest {
93
+ /**
94
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
95
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
96
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
97
+ * @public
98
+ */
99
+ DryRun?: boolean | undefined;
100
+ }
101
+ /**
102
+ * @public
103
+ */
104
+ export interface GetEbsEncryptionByDefaultResult {
105
+ /**
106
+ * <p>Indicates whether encryption by default is enabled.</p>
107
+ * @public
108
+ */
109
+ EbsEncryptionByDefault?: boolean | undefined;
110
+ /**
111
+ * <p>Reserved for future use.</p>
112
+ * @public
113
+ */
114
+ SseType?: SSEType | undefined;
115
+ }
116
+ /**
117
+ * @public
118
+ * @enum
119
+ */
120
+ export declare const PartitionLoadFrequency: {
121
+ readonly DAILY: "daily";
122
+ readonly MONTHLY: "monthly";
123
+ readonly NONE: "none";
124
+ readonly WEEKLY: "weekly";
125
+ };
126
+ /**
127
+ * @public
128
+ */
129
+ export type PartitionLoadFrequency = (typeof PartitionLoadFrequency)[keyof typeof PartitionLoadFrequency];
130
+ /**
131
+ * <p>Describes integration options for Amazon Athena.</p>
132
+ * @public
133
+ */
134
+ export interface AthenaIntegration {
135
+ /**
136
+ * <p>The location in Amazon S3 to store the generated CloudFormation template.</p>
137
+ * @public
138
+ */
139
+ IntegrationResultS3DestinationArn: string | undefined;
140
+ /**
141
+ * <p>The schedule for adding new partitions to the table.</p>
142
+ * @public
143
+ */
144
+ PartitionLoadFrequency: PartitionLoadFrequency | undefined;
145
+ /**
146
+ * <p>The start date for the partition.</p>
147
+ * @public
148
+ */
149
+ PartitionStartDate?: Date | undefined;
150
+ /**
151
+ * <p>The end date for the partition.</p>
152
+ * @public
153
+ */
154
+ PartitionEndDate?: Date | undefined;
155
+ }
156
+ /**
157
+ * <p>Describes service integrations with VPC Flow logs.</p>
158
+ * @public
159
+ */
160
+ export interface IntegrateServices {
161
+ /**
162
+ * <p>Information about the integration with Amazon Athena.</p>
163
+ * @public
164
+ */
165
+ AthenaIntegrations?: AthenaIntegration[] | undefined;
166
+ }
8
167
  /**
9
168
  * @public
10
169
  */
@@ -8207,338 +8366,3 @@ export interface ModifySubnetAttributeRequest {
8207
8366
  */
8208
8367
  DisableLniAtDeviceIndex?: AttributeBooleanValue | undefined;
8209
8368
  }
8210
- /**
8211
- * @public
8212
- */
8213
- export interface ModifyTrafficMirrorFilterNetworkServicesRequest {
8214
- /**
8215
- * <p>The ID of the Traffic Mirror filter.</p>
8216
- * @public
8217
- */
8218
- TrafficMirrorFilterId: string | undefined;
8219
- /**
8220
- * <p>The network service, for example Amazon DNS, that you want to mirror.</p>
8221
- * @public
8222
- */
8223
- AddNetworkServices?: TrafficMirrorNetworkService[] | undefined;
8224
- /**
8225
- * <p>The network service, for example Amazon DNS, that you no longer want to mirror.</p>
8226
- * @public
8227
- */
8228
- RemoveNetworkServices?: TrafficMirrorNetworkService[] | undefined;
8229
- /**
8230
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
8231
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
8232
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8233
- * @public
8234
- */
8235
- DryRun?: boolean | undefined;
8236
- }
8237
- /**
8238
- * @public
8239
- */
8240
- export interface ModifyTrafficMirrorFilterNetworkServicesResult {
8241
- /**
8242
- * <p>The Traffic Mirror filter that the network service is associated with.</p>
8243
- * @public
8244
- */
8245
- TrafficMirrorFilter?: TrafficMirrorFilter | undefined;
8246
- }
8247
- /**
8248
- * @public
8249
- * @enum
8250
- */
8251
- export declare const TrafficMirrorFilterRuleField: {
8252
- readonly description: "description";
8253
- readonly destination_port_range: "destination-port-range";
8254
- readonly protocol: "protocol";
8255
- readonly source_port_range: "source-port-range";
8256
- };
8257
- /**
8258
- * @public
8259
- */
8260
- export type TrafficMirrorFilterRuleField = (typeof TrafficMirrorFilterRuleField)[keyof typeof TrafficMirrorFilterRuleField];
8261
- /**
8262
- * @public
8263
- */
8264
- export interface ModifyTrafficMirrorFilterRuleRequest {
8265
- /**
8266
- * <p>The ID of the Traffic Mirror rule.</p>
8267
- * @public
8268
- */
8269
- TrafficMirrorFilterRuleId: string | undefined;
8270
- /**
8271
- * <p>The type of traffic to assign to the rule.</p>
8272
- * @public
8273
- */
8274
- TrafficDirection?: TrafficDirection | undefined;
8275
- /**
8276
- * <p>The number of the Traffic Mirror rule. This number must be unique for each Traffic Mirror rule in a given
8277
- * direction. The rules are processed in ascending order by rule number.</p>
8278
- * @public
8279
- */
8280
- RuleNumber?: number | undefined;
8281
- /**
8282
- * <p>The action to assign to the rule.</p>
8283
- * @public
8284
- */
8285
- RuleAction?: TrafficMirrorRuleAction | undefined;
8286
- /**
8287
- * <p>The destination ports that are associated with the Traffic Mirror rule.</p>
8288
- * @public
8289
- */
8290
- DestinationPortRange?: TrafficMirrorPortRangeRequest | undefined;
8291
- /**
8292
- * <p>The port range to assign to the Traffic Mirror rule.</p>
8293
- * @public
8294
- */
8295
- SourcePortRange?: TrafficMirrorPortRangeRequest | undefined;
8296
- /**
8297
- * <p>The protocol, for example TCP, to assign to the Traffic Mirror rule.</p>
8298
- * @public
8299
- */
8300
- Protocol?: number | undefined;
8301
- /**
8302
- * <p>The destination CIDR block to assign to the Traffic Mirror rule.</p>
8303
- * @public
8304
- */
8305
- DestinationCidrBlock?: string | undefined;
8306
- /**
8307
- * <p>The source CIDR block to assign to the Traffic Mirror rule.</p>
8308
- * @public
8309
- */
8310
- SourceCidrBlock?: string | undefined;
8311
- /**
8312
- * <p>The description to assign to the Traffic Mirror rule.</p>
8313
- * @public
8314
- */
8315
- Description?: string | undefined;
8316
- /**
8317
- * <p>The properties that you want to remove from the Traffic Mirror filter rule.</p>
8318
- * <p>When you remove a property from a Traffic Mirror filter rule, the property is set to the default.</p>
8319
- * @public
8320
- */
8321
- RemoveFields?: TrafficMirrorFilterRuleField[] | undefined;
8322
- /**
8323
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
8324
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
8325
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8326
- * @public
8327
- */
8328
- DryRun?: boolean | undefined;
8329
- }
8330
- /**
8331
- * @public
8332
- */
8333
- export interface ModifyTrafficMirrorFilterRuleResult {
8334
- /**
8335
- * <note>
8336
- * <p>Tags are not returned for ModifyTrafficMirrorFilterRule.</p>
8337
- * </note>
8338
- * <p>A Traffic Mirror rule.</p>
8339
- * @public
8340
- */
8341
- TrafficMirrorFilterRule?: TrafficMirrorFilterRule | undefined;
8342
- }
8343
- /**
8344
- * @public
8345
- * @enum
8346
- */
8347
- export declare const TrafficMirrorSessionField: {
8348
- readonly description: "description";
8349
- readonly packet_length: "packet-length";
8350
- readonly virtual_network_id: "virtual-network-id";
8351
- };
8352
- /**
8353
- * @public
8354
- */
8355
- export type TrafficMirrorSessionField = (typeof TrafficMirrorSessionField)[keyof typeof TrafficMirrorSessionField];
8356
- /**
8357
- * @public
8358
- */
8359
- export interface ModifyTrafficMirrorSessionRequest {
8360
- /**
8361
- * <p>The ID of the Traffic Mirror session.</p>
8362
- * @public
8363
- */
8364
- TrafficMirrorSessionId: string | undefined;
8365
- /**
8366
- * <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>
8367
- * @public
8368
- */
8369
- TrafficMirrorTargetId?: string | undefined;
8370
- /**
8371
- * <p>The ID of the Traffic Mirror filter.</p>
8372
- * @public
8373
- */
8374
- TrafficMirrorFilterId?: string | undefined;
8375
- /**
8376
- * <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>
8377
- * <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>
8378
- * @public
8379
- */
8380
- PacketLength?: number | undefined;
8381
- /**
8382
- * <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>
8383
- * <p>Valid values are 1-32766.</p>
8384
- * @public
8385
- */
8386
- SessionNumber?: number | undefined;
8387
- /**
8388
- * <p>The virtual network ID of the Traffic Mirror session.</p>
8389
- * @public
8390
- */
8391
- VirtualNetworkId?: number | undefined;
8392
- /**
8393
- * <p>The description to assign to the Traffic Mirror session.</p>
8394
- * @public
8395
- */
8396
- Description?: string | undefined;
8397
- /**
8398
- * <p>The properties that you want to remove from the Traffic Mirror session.</p>
8399
- * <p>When you remove a property from a Traffic Mirror session, the property is set to the default.</p>
8400
- * @public
8401
- */
8402
- RemoveFields?: TrafficMirrorSessionField[] | undefined;
8403
- /**
8404
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
8405
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
8406
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8407
- * @public
8408
- */
8409
- DryRun?: boolean | undefined;
8410
- }
8411
- /**
8412
- * @public
8413
- */
8414
- export interface ModifyTrafficMirrorSessionResult {
8415
- /**
8416
- * <p>Information about the Traffic Mirror session.</p>
8417
- * @public
8418
- */
8419
- TrafficMirrorSession?: TrafficMirrorSession | undefined;
8420
- }
8421
- /**
8422
- * <p>The transit gateway options.</p>
8423
- * @public
8424
- */
8425
- export interface ModifyTransitGatewayOptions {
8426
- /**
8427
- * <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>
8428
- * @public
8429
- */
8430
- AddTransitGatewayCidrBlocks?: string[] | undefined;
8431
- /**
8432
- * <p>Removes CIDR blocks for the transit gateway.</p>
8433
- * @public
8434
- */
8435
- RemoveTransitGatewayCidrBlocks?: string[] | undefined;
8436
- /**
8437
- * <p>Enable or disable Equal Cost Multipath Protocol support.</p>
8438
- * @public
8439
- */
8440
- VpnEcmpSupport?: VpnEcmpSupportValue | undefined;
8441
- /**
8442
- * <p>Enable or disable DNS support.</p>
8443
- * @public
8444
- */
8445
- DnsSupport?: DnsSupportValue | undefined;
8446
- /**
8447
- * <p>Enables you to reference a security group across VPCs attached to a transit gateway to simplify security group management.
8448
- *
8449
- * </p>
8450
- * <p>This option is disabled by default.</p>
8451
- * <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>
8452
- * @public
8453
- */
8454
- SecurityGroupReferencingSupport?: SecurityGroupReferencingSupportValue | undefined;
8455
- /**
8456
- * <p>Enable or disable automatic acceptance of attachment requests.</p>
8457
- * @public
8458
- */
8459
- AutoAcceptSharedAttachments?: AutoAcceptSharedAttachmentsValue | undefined;
8460
- /**
8461
- * <p>Enable or disable automatic association with the default association route table.</p>
8462
- * @public
8463
- */
8464
- DefaultRouteTableAssociation?: DefaultRouteTableAssociationValue | undefined;
8465
- /**
8466
- * <p>The ID of the default association route table.</p>
8467
- * @public
8468
- */
8469
- AssociationDefaultRouteTableId?: string | undefined;
8470
- /**
8471
- * <p>Indicates whether resource attachments automatically propagate routes to the default
8472
- * propagation route table. Enabled by default. If <code>defaultRouteTablePropagation</code>
8473
- * is set to <code>enable</code>,
8474
- * Amazon Web Services Transit Gateway will create the default transit gateway route
8475
- * table.</p>
8476
- * @public
8477
- */
8478
- DefaultRouteTablePropagation?: DefaultRouteTablePropagationValue | undefined;
8479
- /**
8480
- * <p>The ID of the default propagation route table.</p>
8481
- * @public
8482
- */
8483
- PropagationDefaultRouteTableId?: string | undefined;
8484
- /**
8485
- * <p>A private Autonomous System Number (ASN) for the Amazon side of a BGP session.
8486
- * The range is 64512 to 65534 for 16-bit ASNs and 4200000000 to 4294967294 for 32-bit ASNs.</p>
8487
- * <p>The modify ASN operation is not allowed on a transit gateway if it has the following attachments:</p>
8488
- * <ul>
8489
- * <li>
8490
- * <p>Dynamic VPN</p>
8491
- * </li>
8492
- * <li>
8493
- * <p>Static VPN</p>
8494
- * </li>
8495
- * <li>
8496
- * <p>Direct Connect Gateway</p>
8497
- * </li>
8498
- * <li>
8499
- * <p>Connect</p>
8500
- * </li>
8501
- * </ul>
8502
- * <p>You must first delete all transit gateway attachments configured prior to modifying the ASN on
8503
- * the transit gateway.</p>
8504
- * @public
8505
- */
8506
- AmazonSideAsn?: number | undefined;
8507
- }
8508
- /**
8509
- * @public
8510
- */
8511
- export interface ModifyTransitGatewayRequest {
8512
- /**
8513
- * <p>The ID of the transit gateway.</p>
8514
- * @public
8515
- */
8516
- TransitGatewayId: string | undefined;
8517
- /**
8518
- * <p>The description for the transit gateway.</p>
8519
- * @public
8520
- */
8521
- Description?: string | undefined;
8522
- /**
8523
- * <p>The options to modify.</p>
8524
- * @public
8525
- */
8526
- Options?: ModifyTransitGatewayOptions | undefined;
8527
- /**
8528
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
8529
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
8530
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8531
- * @public
8532
- */
8533
- DryRun?: boolean | undefined;
8534
- }
8535
- /**
8536
- * @public
8537
- */
8538
- export interface ModifyTransitGatewayResult {
8539
- /**
8540
- * <p>Information about the transit gateway.</p>
8541
- * @public
8542
- */
8543
- TransitGateway?: TransitGateway | undefined;
8544
- }