@aws-sdk/client-accessanalyzer 3.261.0 → 3.262.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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const
|
|
5
|
-
const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" },
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack:
|
|
4
|
+
const u = "fn", v = "argv", w = "ref";
|
|
5
|
+
const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = "getAttr", i = "stringEquals", j = { "required": true, "default": false, "type": "Boolean" }, k = { [w]: "Region" }, l = { [w]: "Endpoint" }, m = { [u]: "booleanEquals", [v]: [{ [w]: "UseFIPS" }, true] }, n = { [u]: "booleanEquals", [v]: [{ [w]: "UseDualStack" }, true] }, o = {}, p = { [u]: "booleanEquals", [v]: [true, { [u]: h, [v]: [{ [w]: d }, "supportsFIPS"] }] }, q = { [w]: d }, r = { [u]: "booleanEquals", [v]: [true, { [u]: h, [v]: [q, "supportsDualStack"] }] }, s = [m], t = [n];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: j, UseFIPS: j, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [u]: "aws.partition", [v]: [k], assign: d }], type: e, rules: [{ conditions: [{ [u]: "isSet", [v]: [l] }], type: e, rules: [{ conditions: s, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: t, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: l, properties: o, headers: o }, type: g }] }] }, { conditions: [m, n], type: e, rules: [{ conditions: [p, r], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://access-analyzer-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: o, headers: o }, type: g }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: s, type: e, rules: [{ conditions: [p], type: e, rules: [{ type: e, rules: [{ conditions: [{ [u]: i, [v]: ["aws-us-gov", { [u]: h, [v]: [q, "name"] }] }], endpoint: { url: "https://access-analyzer.{Region}.amazonaws.com", properties: o, headers: o }, type: g }, { endpoint: { url: "https://access-analyzer-fips.{Region}.{PartitionResult#dnsSuffix}", properties: o, headers: o }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: t, type: e, rules: [{ conditions: [r], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://access-analyzer.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: o, headers: o }, type: g }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { type: e, rules: [{ conditions: [{ [u]: i, [v]: [k, "us-gov-east-1"] }], endpoint: { url: "https://access-analyzer.us-gov-east-1.amazonaws.com", properties: o, headers: o }, type: g }, { conditions: [{ [u]: i, [v]: [k, "us-gov-west-1"] }], endpoint: { url: "https://access-analyzer.us-gov-west-1.amazonaws.com", properties: o, headers: o }, type: g }, { endpoint: { url: "https://access-analyzer.{Region}.{PartitionResult#dnsSuffix}", properties: o, headers: o }, type: g }] }] }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -2435,7 +2435,7 @@ const deserializeAws_restJson1AccessPreview = (output, context) => {
|
|
|
2435
2435
|
configurations: output.configurations != null
|
|
2436
2436
|
? deserializeAws_restJson1ConfigurationsMap(output.configurations, context)
|
|
2437
2437
|
: undefined,
|
|
2438
|
-
createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
2438
|
+
createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.createdAt)) : undefined,
|
|
2439
2439
|
id: (0, smithy_client_1.expectString)(output.id),
|
|
2440
2440
|
status: (0, smithy_client_1.expectString)(output.status),
|
|
2441
2441
|
statusReason: output.statusReason != null
|
|
@@ -2448,7 +2448,7 @@ const deserializeAws_restJson1AccessPreviewFinding = (output, context) => {
|
|
|
2448
2448
|
action: output.action != null ? deserializeAws_restJson1ActionList(output.action, context) : undefined,
|
|
2449
2449
|
changeType: (0, smithy_client_1.expectString)(output.changeType),
|
|
2450
2450
|
condition: output.condition != null ? deserializeAws_restJson1ConditionKeyMap(output.condition, context) : undefined,
|
|
2451
|
-
createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
2451
|
+
createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.createdAt)) : undefined,
|
|
2452
2452
|
error: (0, smithy_client_1.expectString)(output.error),
|
|
2453
2453
|
existingFindingId: (0, smithy_client_1.expectString)(output.existingFindingId),
|
|
2454
2454
|
existingFindingStatus: (0, smithy_client_1.expectString)(output.existingFindingStatus),
|
|
@@ -2492,7 +2492,7 @@ const deserializeAws_restJson1AccessPreviewStatusReason = (output, context) => {
|
|
|
2492
2492
|
const deserializeAws_restJson1AccessPreviewSummary = (output, context) => {
|
|
2493
2493
|
return {
|
|
2494
2494
|
analyzerArn: (0, smithy_client_1.expectString)(output.analyzerArn),
|
|
2495
|
-
createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
2495
|
+
createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.createdAt)) : undefined,
|
|
2496
2496
|
id: (0, smithy_client_1.expectString)(output.id),
|
|
2497
2497
|
status: (0, smithy_client_1.expectString)(output.status),
|
|
2498
2498
|
statusReason: output.statusReason != null
|
|
@@ -2523,8 +2523,8 @@ const deserializeAws_restJson1ActionList = (output, context) => {
|
|
|
2523
2523
|
const deserializeAws_restJson1AnalyzedResource = (output, context) => {
|
|
2524
2524
|
return {
|
|
2525
2525
|
actions: output.actions != null ? deserializeAws_restJson1ActionList(output.actions, context) : undefined,
|
|
2526
|
-
analyzedAt: output.analyzedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
2527
|
-
createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
2526
|
+
analyzedAt: output.analyzedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.analyzedAt)) : undefined,
|
|
2527
|
+
createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.createdAt)) : undefined,
|
|
2528
2528
|
error: (0, smithy_client_1.expectString)(output.error),
|
|
2529
2529
|
isPublic: (0, smithy_client_1.expectBoolean)(output.isPublic),
|
|
2530
2530
|
resourceArn: (0, smithy_client_1.expectString)(output.resourceArn),
|
|
@@ -2532,7 +2532,7 @@ const deserializeAws_restJson1AnalyzedResource = (output, context) => {
|
|
|
2532
2532
|
resourceType: (0, smithy_client_1.expectString)(output.resourceType),
|
|
2533
2533
|
sharedVia: output.sharedVia != null ? deserializeAws_restJson1SharedViaList(output.sharedVia, context) : undefined,
|
|
2534
2534
|
status: (0, smithy_client_1.expectString)(output.status),
|
|
2535
|
-
updatedAt: output.updatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
2535
|
+
updatedAt: output.updatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.updatedAt)) : undefined,
|
|
2536
2536
|
};
|
|
2537
2537
|
};
|
|
2538
2538
|
const deserializeAws_restJson1AnalyzedResourcesList = (output, context) => {
|
|
@@ -2567,10 +2567,10 @@ const deserializeAws_restJson1AnalyzersList = (output, context) => {
|
|
|
2567
2567
|
const deserializeAws_restJson1AnalyzerSummary = (output, context) => {
|
|
2568
2568
|
return {
|
|
2569
2569
|
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
2570
|
-
createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
2570
|
+
createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.createdAt)) : undefined,
|
|
2571
2571
|
lastResourceAnalyzed: (0, smithy_client_1.expectString)(output.lastResourceAnalyzed),
|
|
2572
2572
|
lastResourceAnalyzedAt: output.lastResourceAnalyzedAt != null
|
|
2573
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
2573
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.lastResourceAnalyzedAt))
|
|
2574
2574
|
: undefined,
|
|
2575
2575
|
name: (0, smithy_client_1.expectString)(output.name),
|
|
2576
2576
|
status: (0, smithy_client_1.expectString)(output.status),
|
|
@@ -2592,16 +2592,16 @@ const deserializeAws_restJson1ArchiveRulesList = (output, context) => {
|
|
|
2592
2592
|
};
|
|
2593
2593
|
const deserializeAws_restJson1ArchiveRuleSummary = (output, context) => {
|
|
2594
2594
|
return {
|
|
2595
|
-
createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
2595
|
+
createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.createdAt)) : undefined,
|
|
2596
2596
|
filter: output.filter != null ? deserializeAws_restJson1FilterCriteriaMap(output.filter, context) : undefined,
|
|
2597
2597
|
ruleName: (0, smithy_client_1.expectString)(output.ruleName),
|
|
2598
|
-
updatedAt: output.updatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
2598
|
+
updatedAt: output.updatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.updatedAt)) : undefined,
|
|
2599
2599
|
};
|
|
2600
2600
|
};
|
|
2601
2601
|
const deserializeAws_restJson1CloudTrailProperties = (output, context) => {
|
|
2602
2602
|
return {
|
|
2603
|
-
endTime: output.endTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
2604
|
-
startTime: output.startTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
2603
|
+
endTime: output.endTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.endTime)) : undefined,
|
|
2604
|
+
startTime: output.startTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.startTime)) : undefined,
|
|
2605
2605
|
trailProperties: output.trailProperties != null
|
|
2606
2606
|
? deserializeAws_restJson1TrailPropertiesList(output.trailProperties, context)
|
|
2607
2607
|
: undefined,
|
|
@@ -2742,9 +2742,9 @@ const deserializeAws_restJson1FilterCriteriaMap = (output, context) => {
|
|
|
2742
2742
|
const deserializeAws_restJson1Finding = (output, context) => {
|
|
2743
2743
|
return {
|
|
2744
2744
|
action: output.action != null ? deserializeAws_restJson1ActionList(output.action, context) : undefined,
|
|
2745
|
-
analyzedAt: output.analyzedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
2745
|
+
analyzedAt: output.analyzedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.analyzedAt)) : undefined,
|
|
2746
2746
|
condition: output.condition != null ? deserializeAws_restJson1ConditionKeyMap(output.condition, context) : undefined,
|
|
2747
|
-
createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
2747
|
+
createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.createdAt)) : undefined,
|
|
2748
2748
|
error: (0, smithy_client_1.expectString)(output.error),
|
|
2749
2749
|
id: (0, smithy_client_1.expectString)(output.id),
|
|
2750
2750
|
isPublic: (0, smithy_client_1.expectBoolean)(output.isPublic),
|
|
@@ -2754,7 +2754,7 @@ const deserializeAws_restJson1Finding = (output, context) => {
|
|
|
2754
2754
|
resourceType: (0, smithy_client_1.expectString)(output.resourceType),
|
|
2755
2755
|
sources: output.sources != null ? deserializeAws_restJson1FindingSourceList(output.sources, context) : undefined,
|
|
2756
2756
|
status: (0, smithy_client_1.expectString)(output.status),
|
|
2757
|
-
updatedAt: output.updatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
2757
|
+
updatedAt: output.updatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.updatedAt)) : undefined,
|
|
2758
2758
|
};
|
|
2759
2759
|
};
|
|
2760
2760
|
const deserializeAws_restJson1FindingsList = (output, context) => {
|
|
@@ -2794,9 +2794,9 @@ const deserializeAws_restJson1FindingSourceList = (output, context) => {
|
|
|
2794
2794
|
const deserializeAws_restJson1FindingSummary = (output, context) => {
|
|
2795
2795
|
return {
|
|
2796
2796
|
action: output.action != null ? deserializeAws_restJson1ActionList(output.action, context) : undefined,
|
|
2797
|
-
analyzedAt: output.analyzedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
2797
|
+
analyzedAt: output.analyzedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.analyzedAt)) : undefined,
|
|
2798
2798
|
condition: output.condition != null ? deserializeAws_restJson1ConditionKeyMap(output.condition, context) : undefined,
|
|
2799
|
-
createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
2799
|
+
createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.createdAt)) : undefined,
|
|
2800
2800
|
error: (0, smithy_client_1.expectString)(output.error),
|
|
2801
2801
|
id: (0, smithy_client_1.expectString)(output.id),
|
|
2802
2802
|
isPublic: (0, smithy_client_1.expectBoolean)(output.isPublic),
|
|
@@ -2806,7 +2806,7 @@ const deserializeAws_restJson1FindingSummary = (output, context) => {
|
|
|
2806
2806
|
resourceType: (0, smithy_client_1.expectString)(output.resourceType),
|
|
2807
2807
|
sources: output.sources != null ? deserializeAws_restJson1FindingSourceList(output.sources, context) : undefined,
|
|
2808
2808
|
status: (0, smithy_client_1.expectString)(output.status),
|
|
2809
|
-
updatedAt: output.updatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
2809
|
+
updatedAt: output.updatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.updatedAt)) : undefined,
|
|
2810
2810
|
};
|
|
2811
2811
|
};
|
|
2812
2812
|
const deserializeAws_restJson1GeneratedPolicy = (output, context) => {
|
|
@@ -2854,10 +2854,10 @@ const deserializeAws_restJson1InternetConfiguration = (output, context) => {
|
|
|
2854
2854
|
};
|
|
2855
2855
|
const deserializeAws_restJson1JobDetails = (output, context) => {
|
|
2856
2856
|
return {
|
|
2857
|
-
completedOn: output.completedOn != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
2857
|
+
completedOn: output.completedOn != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.completedOn)) : undefined,
|
|
2858
2858
|
jobError: output.jobError != null ? deserializeAws_restJson1JobError(output.jobError, context) : undefined,
|
|
2859
2859
|
jobId: (0, smithy_client_1.expectString)(output.jobId),
|
|
2860
|
-
startedOn: output.startedOn != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
2860
|
+
startedOn: output.startedOn != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.startedOn)) : undefined,
|
|
2861
2861
|
status: (0, smithy_client_1.expectString)(output.status),
|
|
2862
2862
|
};
|
|
2863
2863
|
};
|
|
@@ -2994,10 +2994,10 @@ const deserializeAws_restJson1PathElementList = (output, context) => {
|
|
|
2994
2994
|
};
|
|
2995
2995
|
const deserializeAws_restJson1PolicyGeneration = (output, context) => {
|
|
2996
2996
|
return {
|
|
2997
|
-
completedOn: output.completedOn != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
2997
|
+
completedOn: output.completedOn != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.completedOn)) : undefined,
|
|
2998
2998
|
jobId: (0, smithy_client_1.expectString)(output.jobId),
|
|
2999
2999
|
principalArn: (0, smithy_client_1.expectString)(output.principalArn),
|
|
3000
|
-
startedOn: output.startedOn != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
3000
|
+
startedOn: output.startedOn != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.startedOn)) : undefined,
|
|
3001
3001
|
status: (0, smithy_client_1.expectString)(output.status),
|
|
3002
3002
|
};
|
|
3003
3003
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" },
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack:
|
|
1
|
+
const u = "fn", v = "argv", w = "ref";
|
|
2
|
+
const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = "getAttr", i = "stringEquals", j = { "required": true, "default": false, "type": "Boolean" }, k = { [w]: "Region" }, l = { [w]: "Endpoint" }, m = { [u]: "booleanEquals", [v]: [{ [w]: "UseFIPS" }, true] }, n = { [u]: "booleanEquals", [v]: [{ [w]: "UseDualStack" }, true] }, o = {}, p = { [u]: "booleanEquals", [v]: [true, { [u]: h, [v]: [{ [w]: d }, "supportsFIPS"] }] }, q = { [w]: d }, r = { [u]: "booleanEquals", [v]: [true, { [u]: h, [v]: [q, "supportsDualStack"] }] }, s = [m], t = [n];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: j, UseFIPS: j, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [u]: "aws.partition", [v]: [k], assign: d }], type: e, rules: [{ conditions: [{ [u]: "isSet", [v]: [l] }], type: e, rules: [{ conditions: s, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: t, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: l, properties: o, headers: o }, type: g }] }] }, { conditions: [m, n], type: e, rules: [{ conditions: [p, r], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://access-analyzer-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: o, headers: o }, type: g }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: s, type: e, rules: [{ conditions: [p], type: e, rules: [{ type: e, rules: [{ conditions: [{ [u]: i, [v]: ["aws-us-gov", { [u]: h, [v]: [q, "name"] }] }], endpoint: { url: "https://access-analyzer.{Region}.amazonaws.com", properties: o, headers: o }, type: g }, { endpoint: { url: "https://access-analyzer-fips.{Region}.{PartitionResult#dnsSuffix}", properties: o, headers: o }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: t, type: e, rules: [{ conditions: [r], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://access-analyzer.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: o, headers: o }, type: g }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { type: e, rules: [{ conditions: [{ [u]: i, [v]: [k, "us-gov-east-1"] }], endpoint: { url: "https://access-analyzer.us-gov-east-1.amazonaws.com", properties: o, headers: o }, type: g }, { conditions: [{ [u]: i, [v]: [k, "us-gov-west-1"] }], endpoint: { url: "https://access-analyzer.us-gov-west-1.amazonaws.com", properties: o, headers: o }, type: g }, { endpoint: { url: "https://access-analyzer.{Region}.{PartitionResult#dnsSuffix}", properties: o, headers: o }, type: g }] }] }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
2
|
-
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, map as __map,
|
|
2
|
+
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, map as __map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, strictParseInt32 as __strictParseInt32, throwDefaultError, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
4
4
|
import { AccessAnalyzerServiceException as __BaseException } from "../models/AccessAnalyzerServiceException";
|
|
5
5
|
import { AccessDeniedException, AclGrantee, Configuration, ConflictException, InternalServerException, NetworkOriginConfiguration, RdsDbClusterSnapshotAttributeValue, RdsDbSnapshotAttributeValue, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
@@ -2375,7 +2375,7 @@ const deserializeAws_restJson1AccessPreview = (output, context) => {
|
|
|
2375
2375
|
configurations: output.configurations != null
|
|
2376
2376
|
? deserializeAws_restJson1ConfigurationsMap(output.configurations, context)
|
|
2377
2377
|
: undefined,
|
|
2378
|
-
createdAt: output.createdAt != null ? __expectNonNull(
|
|
2378
|
+
createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.createdAt)) : undefined,
|
|
2379
2379
|
id: __expectString(output.id),
|
|
2380
2380
|
status: __expectString(output.status),
|
|
2381
2381
|
statusReason: output.statusReason != null
|
|
@@ -2388,7 +2388,7 @@ const deserializeAws_restJson1AccessPreviewFinding = (output, context) => {
|
|
|
2388
2388
|
action: output.action != null ? deserializeAws_restJson1ActionList(output.action, context) : undefined,
|
|
2389
2389
|
changeType: __expectString(output.changeType),
|
|
2390
2390
|
condition: output.condition != null ? deserializeAws_restJson1ConditionKeyMap(output.condition, context) : undefined,
|
|
2391
|
-
createdAt: output.createdAt != null ? __expectNonNull(
|
|
2391
|
+
createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.createdAt)) : undefined,
|
|
2392
2392
|
error: __expectString(output.error),
|
|
2393
2393
|
existingFindingId: __expectString(output.existingFindingId),
|
|
2394
2394
|
existingFindingStatus: __expectString(output.existingFindingStatus),
|
|
@@ -2432,7 +2432,7 @@ const deserializeAws_restJson1AccessPreviewStatusReason = (output, context) => {
|
|
|
2432
2432
|
const deserializeAws_restJson1AccessPreviewSummary = (output, context) => {
|
|
2433
2433
|
return {
|
|
2434
2434
|
analyzerArn: __expectString(output.analyzerArn),
|
|
2435
|
-
createdAt: output.createdAt != null ? __expectNonNull(
|
|
2435
|
+
createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.createdAt)) : undefined,
|
|
2436
2436
|
id: __expectString(output.id),
|
|
2437
2437
|
status: __expectString(output.status),
|
|
2438
2438
|
statusReason: output.statusReason != null
|
|
@@ -2463,8 +2463,8 @@ const deserializeAws_restJson1ActionList = (output, context) => {
|
|
|
2463
2463
|
const deserializeAws_restJson1AnalyzedResource = (output, context) => {
|
|
2464
2464
|
return {
|
|
2465
2465
|
actions: output.actions != null ? deserializeAws_restJson1ActionList(output.actions, context) : undefined,
|
|
2466
|
-
analyzedAt: output.analyzedAt != null ? __expectNonNull(
|
|
2467
|
-
createdAt: output.createdAt != null ? __expectNonNull(
|
|
2466
|
+
analyzedAt: output.analyzedAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.analyzedAt)) : undefined,
|
|
2467
|
+
createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.createdAt)) : undefined,
|
|
2468
2468
|
error: __expectString(output.error),
|
|
2469
2469
|
isPublic: __expectBoolean(output.isPublic),
|
|
2470
2470
|
resourceArn: __expectString(output.resourceArn),
|
|
@@ -2472,7 +2472,7 @@ const deserializeAws_restJson1AnalyzedResource = (output, context) => {
|
|
|
2472
2472
|
resourceType: __expectString(output.resourceType),
|
|
2473
2473
|
sharedVia: output.sharedVia != null ? deserializeAws_restJson1SharedViaList(output.sharedVia, context) : undefined,
|
|
2474
2474
|
status: __expectString(output.status),
|
|
2475
|
-
updatedAt: output.updatedAt != null ? __expectNonNull(
|
|
2475
|
+
updatedAt: output.updatedAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.updatedAt)) : undefined,
|
|
2476
2476
|
};
|
|
2477
2477
|
};
|
|
2478
2478
|
const deserializeAws_restJson1AnalyzedResourcesList = (output, context) => {
|
|
@@ -2507,10 +2507,10 @@ const deserializeAws_restJson1AnalyzersList = (output, context) => {
|
|
|
2507
2507
|
const deserializeAws_restJson1AnalyzerSummary = (output, context) => {
|
|
2508
2508
|
return {
|
|
2509
2509
|
arn: __expectString(output.arn),
|
|
2510
|
-
createdAt: output.createdAt != null ? __expectNonNull(
|
|
2510
|
+
createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.createdAt)) : undefined,
|
|
2511
2511
|
lastResourceAnalyzed: __expectString(output.lastResourceAnalyzed),
|
|
2512
2512
|
lastResourceAnalyzedAt: output.lastResourceAnalyzedAt != null
|
|
2513
|
-
? __expectNonNull(
|
|
2513
|
+
? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.lastResourceAnalyzedAt))
|
|
2514
2514
|
: undefined,
|
|
2515
2515
|
name: __expectString(output.name),
|
|
2516
2516
|
status: __expectString(output.status),
|
|
@@ -2532,16 +2532,16 @@ const deserializeAws_restJson1ArchiveRulesList = (output, context) => {
|
|
|
2532
2532
|
};
|
|
2533
2533
|
const deserializeAws_restJson1ArchiveRuleSummary = (output, context) => {
|
|
2534
2534
|
return {
|
|
2535
|
-
createdAt: output.createdAt != null ? __expectNonNull(
|
|
2535
|
+
createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.createdAt)) : undefined,
|
|
2536
2536
|
filter: output.filter != null ? deserializeAws_restJson1FilterCriteriaMap(output.filter, context) : undefined,
|
|
2537
2537
|
ruleName: __expectString(output.ruleName),
|
|
2538
|
-
updatedAt: output.updatedAt != null ? __expectNonNull(
|
|
2538
|
+
updatedAt: output.updatedAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.updatedAt)) : undefined,
|
|
2539
2539
|
};
|
|
2540
2540
|
};
|
|
2541
2541
|
const deserializeAws_restJson1CloudTrailProperties = (output, context) => {
|
|
2542
2542
|
return {
|
|
2543
|
-
endTime: output.endTime != null ? __expectNonNull(
|
|
2544
|
-
startTime: output.startTime != null ? __expectNonNull(
|
|
2543
|
+
endTime: output.endTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.endTime)) : undefined,
|
|
2544
|
+
startTime: output.startTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.startTime)) : undefined,
|
|
2545
2545
|
trailProperties: output.trailProperties != null
|
|
2546
2546
|
? deserializeAws_restJson1TrailPropertiesList(output.trailProperties, context)
|
|
2547
2547
|
: undefined,
|
|
@@ -2682,9 +2682,9 @@ const deserializeAws_restJson1FilterCriteriaMap = (output, context) => {
|
|
|
2682
2682
|
const deserializeAws_restJson1Finding = (output, context) => {
|
|
2683
2683
|
return {
|
|
2684
2684
|
action: output.action != null ? deserializeAws_restJson1ActionList(output.action, context) : undefined,
|
|
2685
|
-
analyzedAt: output.analyzedAt != null ? __expectNonNull(
|
|
2685
|
+
analyzedAt: output.analyzedAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.analyzedAt)) : undefined,
|
|
2686
2686
|
condition: output.condition != null ? deserializeAws_restJson1ConditionKeyMap(output.condition, context) : undefined,
|
|
2687
|
-
createdAt: output.createdAt != null ? __expectNonNull(
|
|
2687
|
+
createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.createdAt)) : undefined,
|
|
2688
2688
|
error: __expectString(output.error),
|
|
2689
2689
|
id: __expectString(output.id),
|
|
2690
2690
|
isPublic: __expectBoolean(output.isPublic),
|
|
@@ -2694,7 +2694,7 @@ const deserializeAws_restJson1Finding = (output, context) => {
|
|
|
2694
2694
|
resourceType: __expectString(output.resourceType),
|
|
2695
2695
|
sources: output.sources != null ? deserializeAws_restJson1FindingSourceList(output.sources, context) : undefined,
|
|
2696
2696
|
status: __expectString(output.status),
|
|
2697
|
-
updatedAt: output.updatedAt != null ? __expectNonNull(
|
|
2697
|
+
updatedAt: output.updatedAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.updatedAt)) : undefined,
|
|
2698
2698
|
};
|
|
2699
2699
|
};
|
|
2700
2700
|
const deserializeAws_restJson1FindingsList = (output, context) => {
|
|
@@ -2734,9 +2734,9 @@ const deserializeAws_restJson1FindingSourceList = (output, context) => {
|
|
|
2734
2734
|
const deserializeAws_restJson1FindingSummary = (output, context) => {
|
|
2735
2735
|
return {
|
|
2736
2736
|
action: output.action != null ? deserializeAws_restJson1ActionList(output.action, context) : undefined,
|
|
2737
|
-
analyzedAt: output.analyzedAt != null ? __expectNonNull(
|
|
2737
|
+
analyzedAt: output.analyzedAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.analyzedAt)) : undefined,
|
|
2738
2738
|
condition: output.condition != null ? deserializeAws_restJson1ConditionKeyMap(output.condition, context) : undefined,
|
|
2739
|
-
createdAt: output.createdAt != null ? __expectNonNull(
|
|
2739
|
+
createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.createdAt)) : undefined,
|
|
2740
2740
|
error: __expectString(output.error),
|
|
2741
2741
|
id: __expectString(output.id),
|
|
2742
2742
|
isPublic: __expectBoolean(output.isPublic),
|
|
@@ -2746,7 +2746,7 @@ const deserializeAws_restJson1FindingSummary = (output, context) => {
|
|
|
2746
2746
|
resourceType: __expectString(output.resourceType),
|
|
2747
2747
|
sources: output.sources != null ? deserializeAws_restJson1FindingSourceList(output.sources, context) : undefined,
|
|
2748
2748
|
status: __expectString(output.status),
|
|
2749
|
-
updatedAt: output.updatedAt != null ? __expectNonNull(
|
|
2749
|
+
updatedAt: output.updatedAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.updatedAt)) : undefined,
|
|
2750
2750
|
};
|
|
2751
2751
|
};
|
|
2752
2752
|
const deserializeAws_restJson1GeneratedPolicy = (output, context) => {
|
|
@@ -2794,10 +2794,10 @@ const deserializeAws_restJson1InternetConfiguration = (output, context) => {
|
|
|
2794
2794
|
};
|
|
2795
2795
|
const deserializeAws_restJson1JobDetails = (output, context) => {
|
|
2796
2796
|
return {
|
|
2797
|
-
completedOn: output.completedOn != null ? __expectNonNull(
|
|
2797
|
+
completedOn: output.completedOn != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.completedOn)) : undefined,
|
|
2798
2798
|
jobError: output.jobError != null ? deserializeAws_restJson1JobError(output.jobError, context) : undefined,
|
|
2799
2799
|
jobId: __expectString(output.jobId),
|
|
2800
|
-
startedOn: output.startedOn != null ? __expectNonNull(
|
|
2800
|
+
startedOn: output.startedOn != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.startedOn)) : undefined,
|
|
2801
2801
|
status: __expectString(output.status),
|
|
2802
2802
|
};
|
|
2803
2803
|
};
|
|
@@ -2934,10 +2934,10 @@ const deserializeAws_restJson1PathElementList = (output, context) => {
|
|
|
2934
2934
|
};
|
|
2935
2935
|
const deserializeAws_restJson1PolicyGeneration = (output, context) => {
|
|
2936
2936
|
return {
|
|
2937
|
-
completedOn: output.completedOn != null ? __expectNonNull(
|
|
2937
|
+
completedOn: output.completedOn != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.completedOn)) : undefined,
|
|
2938
2938
|
jobId: __expectString(output.jobId),
|
|
2939
2939
|
principalArn: __expectString(output.principalArn),
|
|
2940
|
-
startedOn: output.startedOn != null ? __expectNonNull(
|
|
2940
|
+
startedOn: output.startedOn != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.startedOn)) : undefined,
|
|
2941
2941
|
status: __expectString(output.status),
|
|
2942
2942
|
};
|
|
2943
2943
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-accessanalyzer",
|
|
3
3
|
"description": "AWS SDK for JavaScript Accessanalyzer Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.262.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,7 +20,7 @@
|
|
|
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-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.262.0",
|
|
24
24
|
"@aws-sdk/config-resolver": "3.259.0",
|
|
25
25
|
"@aws-sdk/credential-provider-node": "3.261.0",
|
|
26
26
|
"@aws-sdk/fetch-http-handler": "3.257.0",
|