@aws-sdk/client-ec2 3.1166.0 → 3.1167.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.
package/dist-cjs/index.js CHANGED
@@ -70,7 +70,7 @@ const commonParams = {
70
70
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
71
71
  };
72
72
 
73
- var version = "3.1165.0";
73
+ var version = "3.1166.0";
74
74
  var packageInfo = {
75
75
  version: version};
76
76
 
@@ -41676,6 +41676,9 @@ const LogDestinationType = {
41676
41676
  s3: "s3",
41677
41677
  };
41678
41678
  const FlowLogsResourceType = {
41679
+ CoreNetwork: "CoreNetwork",
41680
+ CoreNetworkAttachment: "CoreNetworkAttachment",
41681
+ CoreNetworkEdge: "CoreNetworkEdge",
41679
41682
  NetworkInterface: "NetworkInterface",
41680
41683
  RegionalNatGateway: "RegionalNatGateway",
41681
41684
  Subnet: "Subnet",
@@ -2371,6 +2371,9 @@ export const LogDestinationType = {
2371
2371
  s3: "s3",
2372
2372
  };
2373
2373
  export const FlowLogsResourceType = {
2374
+ CoreNetwork: "CoreNetwork",
2375
+ CoreNetworkAttachment: "CoreNetworkAttachment",
2376
+ CoreNetworkEdge: "CoreNetworkEdge",
2374
2377
  NetworkInterface: "NetworkInterface",
2375
2378
  RegionalNatGateway: "RegionalNatGateway",
2376
2379
  Subnet: "Subnet",
@@ -53,7 +53,7 @@ declare const CreateFlowLogsCommand_base: {
53
53
  * ResourceIds: [ // FlowLogResourceIds // required
54
54
  * "STRING_VALUE",
55
55
  * ],
56
- * ResourceType: "VPC" || "Subnet" || "NetworkInterface" || "TransitGateway" || "TransitGatewayAttachment" || "RegionalNatGateway", // required
56
+ * ResourceType: "VPC" || "Subnet" || "NetworkInterface" || "TransitGateway" || "TransitGatewayAttachment" || "RegionalNatGateway" || "CoreNetwork" || "CoreNetworkEdge" || "CoreNetworkAttachment", // required
57
57
  * TrafficType: "ACCEPT" || "REJECT" || "ALL",
58
58
  * LogDestinationType: "cloud-watch-logs" || "s3" || "kinesis-data-firehose",
59
59
  * LogDestination: "STRING_VALUE",
@@ -45,7 +45,8 @@ declare const GetFlowLogsIntegrationTemplateCommand_base: {
45
45
  * <note>
46
46
  * <p>
47
47
  * <code>GetFlowLogsIntegrationTemplate</code> does not support integration between
48
- * Amazon Web Services Transit Gateway Flow Logs and Amazon Athena.</p>
48
+ * Amazon Web Services Transit Gateway Flow Logs or Amazon Web Services Cloud WAN Flow Logs
49
+ * and Amazon Athena.</p>
49
50
  * </note>
50
51
  * @example
51
52
  * Use a bare-bones client and the command you need to make an API call.
@@ -3535,6 +3535,9 @@ export type LogDestinationType = (typeof LogDestinationType)[keyof typeof LogDes
3535
3535
  * @enum
3536
3536
  */
3537
3537
  export declare const FlowLogsResourceType: {
3538
+ readonly CoreNetwork: "CoreNetwork";
3539
+ readonly CoreNetworkAttachment: "CoreNetworkAttachment";
3540
+ readonly CoreNetworkEdge: "CoreNetworkEdge";
3538
3541
  readonly NetworkInterface: "NetworkInterface";
3539
3542
  readonly RegionalNatGateway: "RegionalNatGateway";
3540
3543
  readonly Subnet: "Subnet";
@@ -4837,8 +4837,8 @@ export interface CreateFlowLogsRequest {
4837
4837
  ResourceType: FlowLogsResourceType | undefined;
4838
4838
  /**
4839
4839
  * <p>The type of traffic to monitor (accepted traffic, rejected traffic, or all traffic).
4840
- * This parameter is not supported for transit gateway resource types. It is required for
4841
- * the other resource types.</p>
4840
+ * This parameter is not supported for transit gateway or Cloud WAN resource types. It is
4841
+ * required for the other resource types.</p>
4842
4842
  * @public
4843
4843
  */
4844
4844
  TrafficType?: TrafficType | undefined;
@@ -4877,8 +4877,10 @@ export interface CreateFlowLogsRequest {
4877
4877
  * they should appear. If you omit this parameter, the flow log is created using the
4878
4878
  * default format. If you specify this parameter, you must include at least one
4879
4879
  * field. For more information about the available fields, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/flow-log-records.html">Flow log records</a>
4880
- * in the <i>Amazon VPC User Guide</i> or <a href="https://docs.aws.amazon.com/vpc/latest/tgw/tgw-flow-logs.html#flow-log-records">Transit Gateway Flow Log
4881
- * records</a> in the <i>Amazon Web Services Transit Gateway Guide</i>.</p>
4880
+ * in the <i>Amazon VPC User Guide</i>, <a href="https://docs.aws.amazon.com/vpc/latest/tgw/tgw-flow-logs.html#flow-log-records">Transit Gateway Flow Log
4881
+ * records</a> in the <i>Amazon Web Services Transit Gateway Guide</i>,
4882
+ * or <a href="https://docs.aws.amazon.com/network-manager/latest/cloudwan/cwan-flow-logs.html">Cloud WAN Flow Log
4883
+ * records</a> in the <i>Amazon Web Services Cloud WAN User Guide</i>.</p>
4882
4884
  * <p>Specify the fields using the <code>$\{field-id\}</code> format, separated by spaces.</p>
4883
4885
  * @public
4884
4886
  */
@@ -4891,7 +4893,7 @@ export interface CreateFlowLogsRequest {
4891
4893
  /**
4892
4894
  * <p>The maximum interval of time during which a flow of packets is captured and aggregated into a flow log record.
4893
4895
  * The possible values are 60 seconds (1 minute) or 600 seconds (10 minutes).
4894
- * This parameter must be 60 seconds for transit gateway resource types.</p>
4896
+ * This parameter must be 60 seconds for transit gateway and Cloud WAN resource types.</p>
4895
4897
  * <p>When a network interface is attached to a <a href="https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-nitro-instances.html">Nitro-based
4896
4898
  * instance</a>, the aggregation interval is always 60 seconds or less, regardless
4897
4899
  * of the value that you specify.</p>
@@ -2591,6 +2591,9 @@ export declare const LogDestinationType: {
2591
2591
  };
2592
2592
  export type LogDestinationType = (typeof LogDestinationType)[keyof typeof LogDestinationType];
2593
2593
  export declare const FlowLogsResourceType: {
2594
+ readonly CoreNetwork: "CoreNetwork";
2595
+ readonly CoreNetworkAttachment: "CoreNetworkAttachment";
2596
+ readonly CoreNetworkEdge: "CoreNetworkEdge";
2594
2597
  readonly NetworkInterface: "NetworkInterface";
2595
2598
  readonly RegionalNatGateway: "RegionalNatGateway";
2596
2599
  readonly Subnet: "Subnet";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ec2",
3
- "version": "3.1166.0",
3
+ "version": "3.1167.0",
4
4
  "description": "AWS SDK for JavaScript Ec2 Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-ec2",
6
6
  "license": "Apache-2.0",
@@ -53,7 +53,7 @@
53
53
  },
54
54
  "dependencies": {
55
55
  "@aws-sdk/core": "^3.981.0",
56
- "@aws-sdk/credential-provider-node": "^3.972.96",
56
+ "@aws-sdk/credential-provider-node": "^3.972.97",
57
57
  "@aws-sdk/middleware-sdk-ec2": "^3.972.72",
58
58
  "@aws-sdk/types": "^3.975.1",
59
59
  "@smithy/core": "^3.40.0",