@aws-sdk/client-ec2 3.592.0 → 3.596.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 (126) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/index.js +126 -8
  3. package/dist-es/EC2.js +2 -0
  4. package/dist-es/commands/DescribeTrafficMirrorFilterRulesCommand.js +24 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/models/models_0.js +1 -0
  7. package/dist-es/models/models_5.js +0 -7
  8. package/dist-es/models/models_6.js +7 -0
  9. package/dist-es/protocols/Aws_ec2.js +102 -0
  10. package/dist-types/EC2.d.ts +8 -0
  11. package/dist-types/EC2Client.d.ts +3 -2
  12. package/dist-types/commands/AcceptAddressTransferCommand.d.ts +1 -1
  13. package/dist-types/commands/AllocateAddressCommand.d.ts +1 -1
  14. package/dist-types/commands/AllocateHostsCommand.d.ts +1 -1
  15. package/dist-types/commands/AssociateIpamResourceDiscoveryCommand.d.ts +1 -1
  16. package/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +1 -1
  17. package/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +1 -1
  18. package/dist-types/commands/CopyImageCommand.d.ts +1 -1
  19. package/dist-types/commands/CopySnapshotCommand.d.ts +1 -1
  20. package/dist-types/commands/CreateCapacityReservationCommand.d.ts +1 -1
  21. package/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +1 -1
  22. package/dist-types/commands/CreateCarrierGatewayCommand.d.ts +1 -1
  23. package/dist-types/commands/CreateClientVpnEndpointCommand.d.ts +1 -1
  24. package/dist-types/commands/CreateCoipPoolCommand.d.ts +1 -1
  25. package/dist-types/commands/CreateCustomerGatewayCommand.d.ts +1 -1
  26. package/dist-types/commands/CreateDhcpOptionsCommand.d.ts +1 -1
  27. package/dist-types/commands/CreateEgressOnlyInternetGatewayCommand.d.ts +1 -1
  28. package/dist-types/commands/CreateFleetCommand.d.ts +1 -1
  29. package/dist-types/commands/CreateFlowLogsCommand.d.ts +1 -1
  30. package/dist-types/commands/CreateFpgaImageCommand.d.ts +1 -1
  31. package/dist-types/commands/CreateImageCommand.d.ts +1 -1
  32. package/dist-types/commands/CreateInstanceConnectEndpointCommand.d.ts +1 -1
  33. package/dist-types/commands/CreateInstanceEventWindowCommand.d.ts +1 -1
  34. package/dist-types/commands/CreateInstanceExportTaskCommand.d.ts +1 -1
  35. package/dist-types/commands/CreateInternetGatewayCommand.d.ts +1 -1
  36. package/dist-types/commands/CreateIpamCommand.d.ts +1 -1
  37. package/dist-types/commands/CreateIpamPoolCommand.d.ts +1 -1
  38. package/dist-types/commands/CreateIpamResourceDiscoveryCommand.d.ts +1 -1
  39. package/dist-types/commands/CreateIpamScopeCommand.d.ts +1 -1
  40. package/dist-types/commands/CreateKeyPairCommand.d.ts +1 -1
  41. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +2 -2
  42. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
  43. package/dist-types/commands/CreateLocalGatewayRouteTableCommand.d.ts +1 -1
  44. package/dist-types/commands/CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +1 -1
  45. package/dist-types/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.d.ts +1 -1
  46. package/dist-types/commands/CreateManagedPrefixListCommand.d.ts +1 -1
  47. package/dist-types/commands/CreateNatGatewayCommand.d.ts +1 -1
  48. package/dist-types/commands/CreateNetworkAclCommand.d.ts +1 -1
  49. package/dist-types/commands/CreateNetworkInsightsAccessScopeCommand.d.ts +1 -1
  50. package/dist-types/commands/CreateNetworkInsightsPathCommand.d.ts +1 -1
  51. package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +1 -1
  52. package/dist-types/commands/CreatePlacementGroupCommand.d.ts +1 -1
  53. package/dist-types/commands/CreatePublicIpv4PoolCommand.d.ts +1 -1
  54. package/dist-types/commands/CreateReplaceRootVolumeTaskCommand.d.ts +1 -1
  55. package/dist-types/commands/CreateRestoreImageTaskCommand.d.ts +1 -1
  56. package/dist-types/commands/CreateRouteTableCommand.d.ts +1 -1
  57. package/dist-types/commands/CreateSecurityGroupCommand.d.ts +1 -1
  58. package/dist-types/commands/CreateSnapshotCommand.d.ts +1 -1
  59. package/dist-types/commands/CreateSnapshotsCommand.d.ts +1 -1
  60. package/dist-types/commands/CreateSubnetCidrReservationCommand.d.ts +1 -1
  61. package/dist-types/commands/CreateSubnetCommand.d.ts +1 -1
  62. package/dist-types/commands/CreateTrafficMirrorFilterCommand.d.ts +18 -5
  63. package/dist-types/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +17 -0
  64. package/dist-types/commands/CreateTrafficMirrorSessionCommand.d.ts +1 -1
  65. package/dist-types/commands/CreateTrafficMirrorTargetCommand.d.ts +1 -1
  66. package/dist-types/commands/CreateTransitGatewayCommand.d.ts +1 -1
  67. package/dist-types/commands/CreateTransitGatewayConnectCommand.d.ts +1 -1
  68. package/dist-types/commands/CreateTransitGatewayConnectPeerCommand.d.ts +1 -1
  69. package/dist-types/commands/CreateTransitGatewayMulticastDomainCommand.d.ts +1 -1
  70. package/dist-types/commands/CreateTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
  71. package/dist-types/commands/CreateTransitGatewayPolicyTableCommand.d.ts +1 -1
  72. package/dist-types/commands/CreateTransitGatewayRouteTableAnnouncementCommand.d.ts +1 -1
  73. package/dist-types/commands/CreateTransitGatewayRouteTableCommand.d.ts +1 -1
  74. package/dist-types/commands/CreateTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  75. package/dist-types/commands/CreateVerifiedAccessEndpointCommand.d.ts +1 -1
  76. package/dist-types/commands/CreateVerifiedAccessGroupCommand.d.ts +1 -1
  77. package/dist-types/commands/CreateVerifiedAccessInstanceCommand.d.ts +1 -1
  78. package/dist-types/commands/CreateVerifiedAccessTrustProviderCommand.d.ts +1 -1
  79. package/dist-types/commands/CreateVolumeCommand.d.ts +1 -1
  80. package/dist-types/commands/CreateVpcCommand.d.ts +1 -1
  81. package/dist-types/commands/CreateVpcEndpointCommand.d.ts +1 -1
  82. package/dist-types/commands/CreateVpcEndpointServiceConfigurationCommand.d.ts +1 -1
  83. package/dist-types/commands/CreateVpcPeeringConnectionCommand.d.ts +1 -1
  84. package/dist-types/commands/CreateVpnConnectionCommand.d.ts +1 -1
  85. package/dist-types/commands/CreateVpnGatewayCommand.d.ts +1 -1
  86. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
  87. package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +2 -2
  88. package/dist-types/commands/DescribeTagsCommand.d.ts +1 -1
  89. package/dist-types/commands/DescribeTrafficMirrorFilterRulesCommand.d.ts +101 -0
  90. package/dist-types/commands/DescribeTrafficMirrorFiltersCommand.d.ts +14 -2
  91. package/dist-types/commands/ExportImageCommand.d.ts +1 -1
  92. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
  93. package/dist-types/commands/ImportImageCommand.d.ts +1 -1
  94. package/dist-types/commands/ImportKeyPairCommand.d.ts +1 -1
  95. package/dist-types/commands/ImportSnapshotCommand.d.ts +1 -1
  96. package/dist-types/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.d.ts +14 -2
  97. package/dist-types/commands/ModifyTrafficMirrorFilterRuleCommand.d.ts +6 -0
  98. package/dist-types/commands/ProvisionByoipCidrCommand.d.ts +1 -1
  99. package/dist-types/commands/ProvisionIpamByoasnCommand.d.ts +1 -2
  100. package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +1 -1
  101. package/dist-types/commands/PurchaseHostReservationCommand.d.ts +1 -1
  102. package/dist-types/commands/RegisterImageCommand.d.ts +1 -1
  103. package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
  104. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +1 -1
  105. package/dist-types/commands/RunInstancesCommand.d.ts +1 -1
  106. package/dist-types/commands/StartNetworkInsightsAccessScopeAnalysisCommand.d.ts +1 -1
  107. package/dist-types/commands/StartNetworkInsightsAnalysisCommand.d.ts +1 -1
  108. package/dist-types/commands/index.d.ts +1 -0
  109. package/dist-types/models/models_0.d.ts +1 -0
  110. package/dist-types/models/models_2.d.ts +20 -10
  111. package/dist-types/models/models_5.d.ts +92 -78
  112. package/dist-types/models/models_6.d.ts +82 -46
  113. package/dist-types/models/models_7.d.ts +44 -0
  114. package/dist-types/protocols/Aws_ec2.d.ts +9 -0
  115. package/dist-types/ts3.4/EC2.d.ts +18 -0
  116. package/dist-types/ts3.4/EC2Client.d.ts +6 -0
  117. package/dist-types/ts3.4/commands/DescribeTrafficMirrorFilterRulesCommand.d.ts +40 -0
  118. package/dist-types/ts3.4/commands/ProvisionIpamByoasnCommand.d.ts +4 -2
  119. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  120. package/dist-types/ts3.4/models/models_0.d.ts +1 -0
  121. package/dist-types/ts3.4/models/models_2.d.ts +2 -0
  122. package/dist-types/ts3.4/models/models_5.d.ts +13 -22
  123. package/dist-types/ts3.4/models/models_6.d.ts +22 -11
  124. package/dist-types/ts3.4/models/models_7.d.ts +10 -0
  125. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +12 -0
  126. package/package.json +4 -4
@@ -135,7 +135,6 @@ import {
135
135
  } from "./models_4";
136
136
  import {
137
137
  InstanceFamilyCreditSpecification,
138
- IpamAddressHistoryRecord,
139
138
  IpamComplianceStatus,
140
139
  IpamOverlapStatus,
141
140
  SnapshotBlockPublicAccessState,
@@ -144,6 +143,28 @@ import {
144
143
  VerifiedAccessInstanceLoggingConfiguration,
145
144
  VolumeModification,
146
145
  } from "./models_5";
146
+ export declare const IpamAddressHistoryResourceType: {
147
+ readonly eip: "eip";
148
+ readonly instance: "instance";
149
+ readonly network_interface: "network-interface";
150
+ readonly subnet: "subnet";
151
+ readonly vpc: "vpc";
152
+ };
153
+ export type IpamAddressHistoryResourceType =
154
+ (typeof IpamAddressHistoryResourceType)[keyof typeof IpamAddressHistoryResourceType];
155
+ export interface IpamAddressHistoryRecord {
156
+ ResourceOwnerId?: string;
157
+ ResourceRegion?: string;
158
+ ResourceType?: IpamAddressHistoryResourceType;
159
+ ResourceId?: string;
160
+ ResourceCidr?: string;
161
+ ResourceName?: string;
162
+ ResourceComplianceStatus?: IpamComplianceStatus;
163
+ ResourceOverlapStatus?: IpamOverlapStatus;
164
+ VpcId?: string;
165
+ SampledStartTime?: Date;
166
+ SampledEndTime?: Date;
167
+ }
147
168
  export interface GetIpamAddressHistoryResult {
148
169
  HistoryRecords?: IpamAddressHistoryRecord[];
149
170
  NextToken?: string;
@@ -1879,16 +1900,6 @@ export interface ProvisionByoipCidrRequest {
1879
1900
  export interface ProvisionByoipCidrResult {
1880
1901
  ByoipCidr?: ByoipCidr;
1881
1902
  }
1882
- export interface AsnAuthorizationContext {
1883
- Message: string | undefined;
1884
- Signature: string | undefined;
1885
- }
1886
- export interface ProvisionIpamByoasnRequest {
1887
- DryRun?: boolean;
1888
- IpamId: string | undefined;
1889
- Asn: string | undefined;
1890
- AsnAuthorizationContext: AsnAuthorizationContext | undefined;
1891
- }
1892
1903
  export declare const GetLaunchTemplateDataResultFilterSensitiveLog: (
1893
1904
  obj: GetLaunchTemplateDataResult
1894
1905
  ) => any;
@@ -74,6 +74,16 @@ import {
74
74
  InstanceMonitoring,
75
75
  Status,
76
76
  } from "./models_6";
77
+ export interface AsnAuthorizationContext {
78
+ Message: string | undefined;
79
+ Signature: string | undefined;
80
+ }
81
+ export interface ProvisionIpamByoasnRequest {
82
+ DryRun?: boolean;
83
+ IpamId: string | undefined;
84
+ Asn: string | undefined;
85
+ AsnAuthorizationContext: AsnAuthorizationContext | undefined;
86
+ }
77
87
  export interface ProvisionIpamByoasnResult {
78
88
  Byoasn?: Byoasn;
79
89
  }
@@ -1335,6 +1335,10 @@ import {
1335
1335
  DescribeTagsCommandInput,
1336
1336
  DescribeTagsCommandOutput,
1337
1337
  } from "../commands/DescribeTagsCommand";
1338
+ import {
1339
+ DescribeTrafficMirrorFilterRulesCommandInput,
1340
+ DescribeTrafficMirrorFilterRulesCommandOutput,
1341
+ } from "../commands/DescribeTrafficMirrorFilterRulesCommand";
1338
1342
  import {
1339
1343
  DescribeTrafficMirrorFiltersCommandInput,
1340
1344
  DescribeTrafficMirrorFiltersCommandOutput,
@@ -3819,6 +3823,10 @@ export declare const se_DescribeTagsCommand: (
3819
3823
  input: DescribeTagsCommandInput,
3820
3824
  context: __SerdeContext
3821
3825
  ) => Promise<__HttpRequest>;
3826
+ export declare const se_DescribeTrafficMirrorFilterRulesCommand: (
3827
+ input: DescribeTrafficMirrorFilterRulesCommandInput,
3828
+ context: __SerdeContext
3829
+ ) => Promise<__HttpRequest>;
3822
3830
  export declare const se_DescribeTrafficMirrorFiltersCommand: (
3823
3831
  input: DescribeTrafficMirrorFiltersCommandInput,
3824
3832
  context: __SerdeContext
@@ -6303,6 +6311,10 @@ export declare const de_DescribeTagsCommand: (
6303
6311
  output: __HttpResponse,
6304
6312
  context: __SerdeContext
6305
6313
  ) => Promise<DescribeTagsCommandOutput>;
6314
+ export declare const de_DescribeTrafficMirrorFilterRulesCommand: (
6315
+ output: __HttpResponse,
6316
+ context: __SerdeContext
6317
+ ) => Promise<DescribeTrafficMirrorFilterRulesCommandOutput>;
6306
6318
  export declare const de_DescribeTrafficMirrorFiltersCommand: (
6307
6319
  output: __HttpResponse,
6308
6320
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ec2",
3
3
  "description": "AWS SDK for JavaScript Ec2 Client for Node.js, Browser and React Native",
4
- "version": "3.592.0",
4
+ "version": "3.596.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-ec2",
@@ -20,10 +20,10 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sso-oidc": "3.592.0",
24
- "@aws-sdk/client-sts": "3.592.0",
23
+ "@aws-sdk/client-sso-oidc": "3.596.0",
24
+ "@aws-sdk/client-sts": "3.596.0",
25
25
  "@aws-sdk/core": "3.592.0",
26
- "@aws-sdk/credential-provider-node": "3.592.0",
26
+ "@aws-sdk/credential-provider-node": "3.596.0",
27
27
  "@aws-sdk/middleware-host-header": "3.577.0",
28
28
  "@aws-sdk/middleware-logger": "3.577.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.577.0",