@aws-sdk/client-fms 3.431.0 → 3.435.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 = "isSet",
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const s = "required", t = "fn", u = "argv", v = "ref";
|
|
5
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "String" }, i = { [s]: true, "default": false, "type": "Boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }, { conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ endpoint: { url: "https://fms-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ endpoint: { url: "https://fms-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ endpoint: { url: "https://fms.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://fms.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a = "isSet",
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const s = "required", t = "fn", u = "argv", v = "ref";
|
|
2
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "String" }, i = { [s]: true, "default": false, "type": "Boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }, { conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ endpoint: { url: "https://fms-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ endpoint: { url: "https://fms-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ endpoint: { url: "https://fms.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://fms.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -919,7 +919,7 @@ export interface PolicyComplianceDetail {
|
|
|
919
919
|
* <p>Details about problems with dependent services, such as WAF or Config,
|
|
920
920
|
* and the error message received that indicates the problem with the service.</p>
|
|
921
921
|
*/
|
|
922
|
-
IssueInfoMap?: Record<DependentServiceName, string
|
|
922
|
+
IssueInfoMap?: Partial<Record<DependentServiceName, string>>;
|
|
923
923
|
}
|
|
924
924
|
/**
|
|
925
925
|
* @public
|
|
@@ -1429,7 +1429,7 @@ export interface Policy {
|
|
|
1429
1429
|
* </li>
|
|
1430
1430
|
* </ul>
|
|
1431
1431
|
*/
|
|
1432
|
-
IncludeMap?: Record<CustomerPolicyScopeIdType, string[]
|
|
1432
|
+
IncludeMap?: Partial<Record<CustomerPolicyScopeIdType, string[]>>;
|
|
1433
1433
|
/**
|
|
1434
1434
|
* @public
|
|
1435
1435
|
* <p>Specifies the Amazon Web Services account IDs and Organizations organizational units (OUs) to exclude from the policy.
|
|
@@ -1454,7 +1454,7 @@ export interface Policy {
|
|
|
1454
1454
|
* </li>
|
|
1455
1455
|
* </ul>
|
|
1456
1456
|
*/
|
|
1457
|
-
ExcludeMap?: Record<CustomerPolicyScopeIdType, string[]
|
|
1457
|
+
ExcludeMap?: Partial<Record<CustomerPolicyScopeIdType, string[]>>;
|
|
1458
1458
|
/**
|
|
1459
1459
|
* @public
|
|
1460
1460
|
* <p>The unique identifiers of the resource sets used by the policy.</p>
|
|
@@ -3649,7 +3649,7 @@ export interface PolicyComplianceStatus {
|
|
|
3649
3649
|
* <p>Details about problems with dependent services, such as WAF or Config,
|
|
3650
3650
|
* and the error message received that indicates the problem with the service.</p>
|
|
3651
3651
|
*/
|
|
3652
|
-
IssueInfoMap?: Record<DependentServiceName, string
|
|
3652
|
+
IssueInfoMap?: Partial<Record<DependentServiceName, string>>;
|
|
3653
3653
|
}
|
|
3654
3654
|
/**
|
|
3655
3655
|
* @public
|
|
@@ -284,7 +284,7 @@ export interface PolicyComplianceDetail {
|
|
|
284
284
|
Violators?: ComplianceViolator[];
|
|
285
285
|
EvaluationLimitExceeded?: boolean;
|
|
286
286
|
ExpiredAt?: Date;
|
|
287
|
-
IssueInfoMap?: Record<DependentServiceName, string
|
|
287
|
+
IssueInfoMap?: Partial<Record<DependentServiceName, string>>;
|
|
288
288
|
}
|
|
289
289
|
export interface GetComplianceDetailResponse {
|
|
290
290
|
PolicyComplianceDetail?: PolicyComplianceDetail;
|
|
@@ -345,8 +345,8 @@ export interface Policy {
|
|
|
345
345
|
ExcludeResourceTags: boolean | undefined;
|
|
346
346
|
RemediationEnabled: boolean | undefined;
|
|
347
347
|
DeleteUnusedFMManagedResources?: boolean;
|
|
348
|
-
IncludeMap?: Record<CustomerPolicyScopeIdType, string[]
|
|
349
|
-
ExcludeMap?: Record<CustomerPolicyScopeIdType, string[]
|
|
348
|
+
IncludeMap?: Partial<Record<CustomerPolicyScopeIdType, string[]>>;
|
|
349
|
+
ExcludeMap?: Partial<Record<CustomerPolicyScopeIdType, string[]>>;
|
|
350
350
|
ResourceSetIds?: string[];
|
|
351
351
|
PolicyDescription?: string;
|
|
352
352
|
PolicyStatus?: CustomerPolicyStatus;
|
|
@@ -842,7 +842,7 @@ export interface PolicyComplianceStatus {
|
|
|
842
842
|
MemberAccount?: string;
|
|
843
843
|
EvaluationResults?: EvaluationResult[];
|
|
844
844
|
LastUpdated?: Date;
|
|
845
|
-
IssueInfoMap?: Record<DependentServiceName, string
|
|
845
|
+
IssueInfoMap?: Partial<Record<DependentServiceName, string>>;
|
|
846
846
|
}
|
|
847
847
|
export interface ListComplianceStatusResponse {
|
|
848
848
|
PolicyComplianceStatusList?: PolicyComplianceStatus[];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-fms",
|
|
3
3
|
"description": "AWS SDK for JavaScript Fms Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.435.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",
|
|
@@ -21,39 +21,39 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^2.0.
|
|
37
|
-
"@smithy/fetch-http-handler": "^2.2.
|
|
38
|
-
"@smithy/hash-node": "^2.0.
|
|
39
|
-
"@smithy/invalid-dependency": "^2.0.
|
|
40
|
-
"@smithy/middleware-content-length": "^2.0.
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.1.
|
|
42
|
-
"@smithy/middleware-retry": "^2.0.
|
|
43
|
-
"@smithy/middleware-serde": "^2.0.
|
|
44
|
-
"@smithy/middleware-stack": "^2.0.
|
|
45
|
-
"@smithy/node-config-provider": "^2.1.
|
|
46
|
-
"@smithy/node-http-handler": "^2.1.
|
|
47
|
-
"@smithy/protocol-http": "^3.0.
|
|
48
|
-
"@smithy/smithy-client": "^2.1.
|
|
49
|
-
"@smithy/types": "^2.
|
|
50
|
-
"@smithy/url-parser": "^2.0.
|
|
24
|
+
"@aws-sdk/client-sts": "3.435.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.435.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.433.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.433.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.433.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.433.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.433.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.433.0",
|
|
32
|
+
"@aws-sdk/types": "3.433.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.433.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.433.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.433.0",
|
|
36
|
+
"@smithy/config-resolver": "^2.0.16",
|
|
37
|
+
"@smithy/fetch-http-handler": "^2.2.4",
|
|
38
|
+
"@smithy/hash-node": "^2.0.12",
|
|
39
|
+
"@smithy/invalid-dependency": "^2.0.12",
|
|
40
|
+
"@smithy/middleware-content-length": "^2.0.14",
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.1.3",
|
|
42
|
+
"@smithy/middleware-retry": "^2.0.18",
|
|
43
|
+
"@smithy/middleware-serde": "^2.0.12",
|
|
44
|
+
"@smithy/middleware-stack": "^2.0.6",
|
|
45
|
+
"@smithy/node-config-provider": "^2.1.3",
|
|
46
|
+
"@smithy/node-http-handler": "^2.1.8",
|
|
47
|
+
"@smithy/protocol-http": "^3.0.8",
|
|
48
|
+
"@smithy/smithy-client": "^2.1.12",
|
|
49
|
+
"@smithy/types": "^2.4.0",
|
|
50
|
+
"@smithy/url-parser": "^2.0.12",
|
|
51
51
|
"@smithy/util-base64": "^2.0.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
56
|
-
"@smithy/util-retry": "^2.0.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^2.0.16",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.0.21",
|
|
56
|
+
"@smithy/util-retry": "^2.0.5",
|
|
57
57
|
"@smithy/util-utf8": "^2.0.0",
|
|
58
58
|
"tslib": "^2.5.0"
|
|
59
59
|
},
|