@aws-sdk/client-macie2 3.235.0 → 3.238.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 = "
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region: {
|
|
4
|
+
const q = "fn", r = "argv", s = "ref";
|
|
5
|
+
const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [s]: "Endpoint" }, j = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, k = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, l = {}, m = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsFIPS"] }] }, n = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsDualStack"] }] }, o = [j], p = [k];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [q]: "isSet", [r]: [i] }], type: e, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ endpoint: { url: "https://macie2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: o, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://macie2-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [n], type: e, rules: [{ endpoint: { url: "https://macie2.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: { url: "https://macie2.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -117,8 +117,10 @@ var StorageClass;
|
|
|
117
117
|
(function (StorageClass) {
|
|
118
118
|
StorageClass["DEEP_ARCHIVE"] = "DEEP_ARCHIVE";
|
|
119
119
|
StorageClass["GLACIER"] = "GLACIER";
|
|
120
|
+
StorageClass["GLACIER_IR"] = "GLACIER_IR";
|
|
120
121
|
StorageClass["INTELLIGENT_TIERING"] = "INTELLIGENT_TIERING";
|
|
121
122
|
StorageClass["ONEZONE_IA"] = "ONEZONE_IA";
|
|
123
|
+
StorageClass["OUTPOSTS"] = "OUTPOSTS";
|
|
122
124
|
StorageClass["REDUCED_REDUNDANCY"] = "REDUCED_REDUNDANCY";
|
|
123
125
|
StorageClass["STANDARD"] = "STANDARD";
|
|
124
126
|
StorageClass["STANDARD_IA"] = "STANDARD_IA";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a = true, b = false, c = "String", d = "
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region: {
|
|
1
|
+
const q = "fn", r = "argv", s = "ref";
|
|
2
|
+
const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [s]: "Endpoint" }, j = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, k = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, l = {}, m = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsFIPS"] }] }, n = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsDualStack"] }] }, o = [j], p = [k];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [q]: "isSet", [r]: [i] }], type: e, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ endpoint: { url: "https://macie2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: o, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://macie2-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [n], type: e, rules: [{ endpoint: { url: "https://macie2.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: { url: "https://macie2.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -109,8 +109,10 @@ export var StorageClass;
|
|
|
109
109
|
(function (StorageClass) {
|
|
110
110
|
StorageClass["DEEP_ARCHIVE"] = "DEEP_ARCHIVE";
|
|
111
111
|
StorageClass["GLACIER"] = "GLACIER";
|
|
112
|
+
StorageClass["GLACIER_IR"] = "GLACIER_IR";
|
|
112
113
|
StorageClass["INTELLIGENT_TIERING"] = "INTELLIGENT_TIERING";
|
|
113
114
|
StorageClass["ONEZONE_IA"] = "ONEZONE_IA";
|
|
115
|
+
StorageClass["OUTPOSTS"] = "OUTPOSTS";
|
|
114
116
|
StorageClass["REDUCED_REDUNDANCY"] = "REDUCED_REDUNDANCY";
|
|
115
117
|
StorageClass["STANDARD"] = "STANDARD";
|
|
116
118
|
StorageClass["STANDARD_IA"] = "STANDARD_IA";
|
|
@@ -1248,8 +1248,10 @@ export interface S3Bucket {
|
|
|
1248
1248
|
export declare enum StorageClass {
|
|
1249
1249
|
DEEP_ARCHIVE = "DEEP_ARCHIVE",
|
|
1250
1250
|
GLACIER = "GLACIER",
|
|
1251
|
+
GLACIER_IR = "GLACIER_IR",
|
|
1251
1252
|
INTELLIGENT_TIERING = "INTELLIGENT_TIERING",
|
|
1252
1253
|
ONEZONE_IA = "ONEZONE_IA",
|
|
1254
|
+
OUTPOSTS = "OUTPOSTS",
|
|
1253
1255
|
REDUCED_REDUNDANCY = "REDUCED_REDUNDANCY",
|
|
1254
1256
|
STANDARD = "STANDARD",
|
|
1255
1257
|
STANDARD_IA = "STANDARD_IA"
|
|
@@ -426,8 +426,10 @@ export interface S3Bucket {
|
|
|
426
426
|
export declare enum StorageClass {
|
|
427
427
|
DEEP_ARCHIVE = "DEEP_ARCHIVE",
|
|
428
428
|
GLACIER = "GLACIER",
|
|
429
|
+
GLACIER_IR = "GLACIER_IR",
|
|
429
430
|
INTELLIGENT_TIERING = "INTELLIGENT_TIERING",
|
|
430
431
|
ONEZONE_IA = "ONEZONE_IA",
|
|
432
|
+
OUTPOSTS = "OUTPOSTS",
|
|
431
433
|
REDUCED_REDUNDANCY = "REDUCED_REDUNDANCY",
|
|
432
434
|
STANDARD = "STANDARD",
|
|
433
435
|
STANDARD_IA = "STANDARD_IA",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-macie2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Macie2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.238.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",
|
|
@@ -10,7 +10,8 @@
|
|
|
10
10
|
"build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
|
|
11
11
|
"build:types": "tsc -p tsconfig.types.json",
|
|
12
12
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
13
|
-
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo"
|
|
13
|
+
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
14
|
+
"generate:client": "(cd ../../ && yarn generate-clients -g ./codegen/sdk-codegen/aws-models/macie2.json --keepFiles)"
|
|
14
15
|
},
|
|
15
16
|
"main": "./dist-cjs/index.js",
|
|
16
17
|
"types": "./dist-types/index.d.ts",
|
|
@@ -19,9 +20,9 @@
|
|
|
19
20
|
"dependencies": {
|
|
20
21
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
22
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.238.0",
|
|
23
24
|
"@aws-sdk/config-resolver": "3.234.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.238.0",
|
|
25
26
|
"@aws-sdk/fetch-http-handler": "3.226.0",
|
|
26
27
|
"@aws-sdk/hash-node": "3.226.0",
|
|
27
28
|
"@aws-sdk/invalid-dependency": "3.226.0",
|