@aws-sdk/client-ec2 3.804.0 → 3.805.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 +14 -0
- package/dist-es/protocols/Aws_ec2.js +15 -0
- package/dist-types/commands/DescribeNetworkInsightsAnalysesCommand.d.ts +3 -0
- package/dist-types/commands/StartNetworkInsightsAnalysisCommand.d.ts +6 -0
- package/dist-types/models/models_5.d.ts +5 -0
- package/dist-types/models/models_8.d.ts +5 -0
- package/dist-types/ts3.4/models/models_5.d.ts +1 -0
- package/dist-types/ts3.4/models/models_8.d.ts +1 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -38963,6 +38963,13 @@ var se_StartNetworkInsightsAnalysisRequest = /* @__PURE__ */ __name((input, cont
|
|
|
38963
38963
|
entries[loc] = value;
|
|
38964
38964
|
});
|
|
38965
38965
|
}
|
|
38966
|
+
if (input[_FOA] != null) {
|
|
38967
|
+
const memberEntries = se_ArnList(input[_FOA], context);
|
|
38968
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
38969
|
+
const loc = `FilterOutArn.${key.substring(key.indexOf(".") + 1)}`;
|
|
38970
|
+
entries[loc] = value;
|
|
38971
|
+
});
|
|
38972
|
+
}
|
|
38966
38973
|
if (input[_DRr] != null) {
|
|
38967
38974
|
entries[_DRr] = input[_DRr];
|
|
38968
38975
|
}
|
|
@@ -54630,6 +54637,11 @@ var de_NetworkInsightsAnalysis = /* @__PURE__ */ __name((output, context) => {
|
|
|
54630
54637
|
} else if (output[_fIAS] != null && output[_fIAS][_i] != null) {
|
|
54631
54638
|
contents[_FIA] = de_ArnList((0, import_smithy_client.getArrayIfSingleItem)(output[_fIAS][_i]), context);
|
|
54632
54639
|
}
|
|
54640
|
+
if (output.filterOutArnSet === "") {
|
|
54641
|
+
contents[_FOA] = [];
|
|
54642
|
+
} else if (output[_fOAS] != null && output[_fOAS][_i] != null) {
|
|
54643
|
+
contents[_FOA] = de_ArnList((0, import_smithy_client.getArrayIfSingleItem)(output[_fOAS][_i]), context);
|
|
54644
|
+
}
|
|
54633
54645
|
if (output[_sD] != null) {
|
|
54634
54646
|
contents[_SD] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sD]));
|
|
54635
54647
|
}
|
|
@@ -63457,6 +63469,7 @@ var _FLIa = "FastLaunchImages";
|
|
|
63457
63469
|
var _FLIl = "FlowLogId";
|
|
63458
63470
|
var _FLS = "FlowLogStatus";
|
|
63459
63471
|
var _FM = "FailureMessage";
|
|
63472
|
+
var _FOA = "FilterOutArns";
|
|
63460
63473
|
var _FODC = "FulfilledOnDemandCapacity";
|
|
63461
63474
|
var _FP = "FromPort";
|
|
63462
63475
|
var _FPC = "ForwardPathComponents";
|
|
@@ -65679,6 +65692,7 @@ var _fLISa = "fastLaunchImageSet";
|
|
|
65679
65692
|
var _fLS = "flowLogSet";
|
|
65680
65693
|
var _fLSl = "flowLogStatus";
|
|
65681
65694
|
var _fM = "failureMessage";
|
|
65695
|
+
var _fOAS = "filterOutArnSet";
|
|
65682
65696
|
var _fODC = "fulfilledOnDemandCapacity";
|
|
65683
65697
|
var _fP = "fromPort";
|
|
65684
65698
|
var _fPCS = "forwardPathComponentSet";
|
|
@@ -37398,6 +37398,13 @@ const se_StartNetworkInsightsAnalysisRequest = (input, context) => {
|
|
|
37398
37398
|
entries[loc] = value;
|
|
37399
37399
|
});
|
|
37400
37400
|
}
|
|
37401
|
+
if (input[_FOA] != null) {
|
|
37402
|
+
const memberEntries = se_ArnList(input[_FOA], context);
|
|
37403
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
37404
|
+
const loc = `FilterOutArn.${key.substring(key.indexOf(".") + 1)}`;
|
|
37405
|
+
entries[loc] = value;
|
|
37406
|
+
});
|
|
37407
|
+
}
|
|
37401
37408
|
if (input[_DRr] != null) {
|
|
37402
37409
|
entries[_DRr] = input[_DRr];
|
|
37403
37410
|
}
|
|
@@ -53966,6 +53973,12 @@ const de_NetworkInsightsAnalysis = (output, context) => {
|
|
|
53966
53973
|
else if (output[_fIAS] != null && output[_fIAS][_i] != null) {
|
|
53967
53974
|
contents[_FIA] = de_ArnList(__getArrayIfSingleItem(output[_fIAS][_i]), context);
|
|
53968
53975
|
}
|
|
53976
|
+
if (output.filterOutArnSet === "") {
|
|
53977
|
+
contents[_FOA] = [];
|
|
53978
|
+
}
|
|
53979
|
+
else if (output[_fOAS] != null && output[_fOAS][_i] != null) {
|
|
53980
|
+
contents[_FOA] = de_ArnList(__getArrayIfSingleItem(output[_fOAS][_i]), context);
|
|
53981
|
+
}
|
|
53969
53982
|
if (output[_sD] != null) {
|
|
53970
53983
|
contents[_SD] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_sD]));
|
|
53971
53984
|
}
|
|
@@ -63391,6 +63404,7 @@ const _FLIa = "FastLaunchImages";
|
|
|
63391
63404
|
const _FLIl = "FlowLogId";
|
|
63392
63405
|
const _FLS = "FlowLogStatus";
|
|
63393
63406
|
const _FM = "FailureMessage";
|
|
63407
|
+
const _FOA = "FilterOutArns";
|
|
63394
63408
|
const _FODC = "FulfilledOnDemandCapacity";
|
|
63395
63409
|
const _FP = "FromPort";
|
|
63396
63410
|
const _FPC = "ForwardPathComponents";
|
|
@@ -65613,6 +65627,7 @@ const _fLISa = "fastLaunchImageSet";
|
|
|
65613
65627
|
const _fLS = "flowLogSet";
|
|
65614
65628
|
const _fLSl = "flowLogStatus";
|
|
65615
65629
|
const _fM = "failureMessage";
|
|
65630
|
+
const _fOAS = "filterOutArnSet";
|
|
65616
65631
|
const _fODC = "fulfilledOnDemandCapacity";
|
|
65617
65632
|
const _fP = "fromPort";
|
|
65618
65633
|
const _fPCS = "forwardPathComponentSet";
|
|
@@ -67,6 +67,9 @@ declare const DescribeNetworkInsightsAnalysesCommand_base: {
|
|
|
67
67
|
* // FilterInArns: [ // ArnList
|
|
68
68
|
* // "STRING_VALUE",
|
|
69
69
|
* // ],
|
|
70
|
+
* // FilterOutArns: [
|
|
71
|
+
* // "STRING_VALUE",
|
|
72
|
+
* // ],
|
|
70
73
|
* // StartDate: new Date("TIMESTAMP"),
|
|
71
74
|
* // Status: "running" || "succeeded" || "failed",
|
|
72
75
|
* // StatusMessage: "STRING_VALUE",
|
|
@@ -43,6 +43,9 @@ declare const StartNetworkInsightsAnalysisCommand_base: {
|
|
|
43
43
|
* FilterInArns: [ // ArnList
|
|
44
44
|
* "STRING_VALUE",
|
|
45
45
|
* ],
|
|
46
|
+
* FilterOutArns: [
|
|
47
|
+
* "STRING_VALUE",
|
|
48
|
+
* ],
|
|
46
49
|
* DryRun: true || false,
|
|
47
50
|
* TagSpecifications: [ // TagSpecificationList
|
|
48
51
|
* { // TagSpecification
|
|
@@ -70,6 +73,9 @@ declare const StartNetworkInsightsAnalysisCommand_base: {
|
|
|
70
73
|
* // FilterInArns: [ // ArnList
|
|
71
74
|
* // "STRING_VALUE",
|
|
72
75
|
* // ],
|
|
76
|
+
* // FilterOutArns: [
|
|
77
|
+
* // "STRING_VALUE",
|
|
78
|
+
* // ],
|
|
73
79
|
* // StartDate: new Date("TIMESTAMP"),
|
|
74
80
|
* // Status: "running" || "succeeded" || "failed",
|
|
75
81
|
* // StatusMessage: "STRING_VALUE",
|
|
@@ -957,6 +957,11 @@ export interface NetworkInsightsAnalysis {
|
|
|
957
957
|
* @public
|
|
958
958
|
*/
|
|
959
959
|
FilterInArns?: string[] | undefined;
|
|
960
|
+
/**
|
|
961
|
+
* <p>The Amazon Resource Names (ARN) of the resources that the path must ignore.</p>
|
|
962
|
+
* @public
|
|
963
|
+
*/
|
|
964
|
+
FilterOutArns?: string[] | undefined;
|
|
960
965
|
/**
|
|
961
966
|
* <p>The time the analysis started.</p>
|
|
962
967
|
* @public
|
|
@@ -2534,6 +2534,11 @@ export interface StartNetworkInsightsAnalysisRequest {
|
|
|
2534
2534
|
* @public
|
|
2535
2535
|
*/
|
|
2536
2536
|
FilterInArns?: string[] | undefined;
|
|
2537
|
+
/**
|
|
2538
|
+
* <p>The Amazon Resource Names (ARN) of the resources that the path will ignore.</p>
|
|
2539
|
+
* @public
|
|
2540
|
+
*/
|
|
2541
|
+
FilterOutArns?: string[] | undefined;
|
|
2537
2542
|
/**
|
|
2538
2543
|
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
2539
2544
|
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
@@ -288,6 +288,7 @@ export interface NetworkInsightsAnalysis {
|
|
|
288
288
|
NetworkInsightsPathId?: string | undefined;
|
|
289
289
|
AdditionalAccounts?: string[] | undefined;
|
|
290
290
|
FilterInArns?: string[] | undefined;
|
|
291
|
+
FilterOutArns?: string[] | undefined;
|
|
291
292
|
StartDate?: Date | undefined;
|
|
292
293
|
Status?: AnalysisStatus | undefined;
|
|
293
294
|
StatusMessage?: string | undefined;
|
|
@@ -526,6 +526,7 @@ export interface StartNetworkInsightsAnalysisRequest {
|
|
|
526
526
|
NetworkInsightsPathId: string | undefined;
|
|
527
527
|
AdditionalAccounts?: string[] | undefined;
|
|
528
528
|
FilterInArns?: string[] | undefined;
|
|
529
|
+
FilterOutArns?: string[] | undefined;
|
|
529
530
|
DryRun?: boolean | undefined;
|
|
530
531
|
TagSpecifications?: TagSpecification[] | undefined;
|
|
531
532
|
ClientToken?: string | undefined;
|
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.
|
|
4
|
+
"version": "3.805.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",
|