gs2-cdk 1.0.109 → 1.0.111
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/account/model/Namespace.d.ts +1 -0
- package/account/model/Namespace.js +9 -4
- package/account/model/Namespace.js.map +1 -1
- package/account/model/Namespace.ts +6 -0
- package/account/model/options/NamespaceOptions.d.ts +1 -0
- package/account/model/options/NamespaceOptions.ts +1 -0
- package/log/model/Namespace.d.ts +1 -0
- package/log/model/Namespace.js +6 -1
- package/log/model/Namespace.js.map +1 -1
- package/log/model/Namespace.ts +6 -0
- package/log/model/enums/NamespaceFirehoseCompressData.d.ts +5 -0
- package/log/model/enums/NamespaceFirehoseCompressData.js +23 -0
- package/log/model/enums/NamespaceFirehoseCompressData.js.map +1 -0
- package/log/model/enums/NamespaceFirehoseCompressData.ts +23 -0
- package/log/model/index.d.ts +2 -1
- package/log/model/index.js +3 -1
- package/log/model/index.js.map +1 -1
- package/log/model/index.ts +2 -0
- package/log/model/options/NamespaceOptions.d.ts +2 -0
- package/log/model/options/NamespaceOptions.ts +2 -0
- package/log/model/options/NamespaceTypeIsBigqueryOptions.ts +1 -0
- package/log/model/options/NamespaceTypeIsFirehoseOptions.ts +1 -0
- package/log/model/options/NamespaceTypeIsGs2Options.ts +1 -0
- package/package.json +1 -1
|
@@ -14,6 +14,7 @@ export default class Namespace extends CdkResource {
|
|
|
14
14
|
private readonly createTakeOverScript;
|
|
15
15
|
private readonly doTakeOverScript;
|
|
16
16
|
private readonly banScript;
|
|
17
|
+
private readonly unBanScript;
|
|
17
18
|
private readonly logSetting;
|
|
18
19
|
constructor(stack: Stack, name: string, options?: NamespaceOptions | null);
|
|
19
20
|
alternateKeys(): string;
|
|
@@ -22,7 +22,7 @@ const NamespaceRef_1 = tslib_1.__importDefault(require("../ref/NamespaceRef"));
|
|
|
22
22
|
const CurrentMasterData_1 = tslib_1.__importDefault(require("./CurrentMasterData"));
|
|
23
23
|
class Namespace extends model_1.CdkResource {
|
|
24
24
|
constructor(stack, name, options = null) {
|
|
25
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
25
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
26
26
|
super("Account_Namespace_" + name);
|
|
27
27
|
this.description = null;
|
|
28
28
|
this.changePasswordIfTakeOver = null;
|
|
@@ -32,6 +32,7 @@ class Namespace extends model_1.CdkResource {
|
|
|
32
32
|
this.createTakeOverScript = null;
|
|
33
33
|
this.doTakeOverScript = null;
|
|
34
34
|
this.banScript = null;
|
|
35
|
+
this.unBanScript = null;
|
|
35
36
|
this.logSetting = null;
|
|
36
37
|
this.stack = stack;
|
|
37
38
|
this.name = name;
|
|
@@ -43,7 +44,8 @@ class Namespace extends model_1.CdkResource {
|
|
|
43
44
|
this.createTakeOverScript = (_f = options === null || options === void 0 ? void 0 : options.createTakeOverScript) !== null && _f !== void 0 ? _f : null;
|
|
44
45
|
this.doTakeOverScript = (_g = options === null || options === void 0 ? void 0 : options.doTakeOverScript) !== null && _g !== void 0 ? _g : null;
|
|
45
46
|
this.banScript = (_h = options === null || options === void 0 ? void 0 : options.banScript) !== null && _h !== void 0 ? _h : null;
|
|
46
|
-
this.
|
|
47
|
+
this.unBanScript = (_j = options === null || options === void 0 ? void 0 : options.unBanScript) !== null && _j !== void 0 ? _j : null;
|
|
48
|
+
this.logSetting = (_k = options === null || options === void 0 ? void 0 : options.logSetting) !== null && _k !== void 0 ? _k : null;
|
|
47
49
|
stack.addResource(this);
|
|
48
50
|
}
|
|
49
51
|
alternateKeys() {
|
|
@@ -53,7 +55,7 @@ class Namespace extends model_1.CdkResource {
|
|
|
53
55
|
return "GS2::Account::Namespace";
|
|
54
56
|
}
|
|
55
57
|
properties() {
|
|
56
|
-
var _a, _b, _c, _d, _e, _f;
|
|
58
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
57
59
|
let properties = {};
|
|
58
60
|
if (this.name != null) {
|
|
59
61
|
properties["Name"] = this.name;
|
|
@@ -82,8 +84,11 @@ class Namespace extends model_1.CdkResource {
|
|
|
82
84
|
if (this.banScript != null) {
|
|
83
85
|
properties["BanScript"] = (_e = this.banScript) === null || _e === void 0 ? void 0 : _e.properties();
|
|
84
86
|
}
|
|
87
|
+
if (this.unBanScript != null) {
|
|
88
|
+
properties["UnBanScript"] = (_f = this.unBanScript) === null || _f === void 0 ? void 0 : _f.properties();
|
|
89
|
+
}
|
|
85
90
|
if (this.logSetting != null) {
|
|
86
|
-
properties["LogSetting"] = (
|
|
91
|
+
properties["LogSetting"] = (_g = this.logSetting) === null || _g === void 0 ? void 0 : _g.properties();
|
|
87
92
|
}
|
|
88
93
|
return properties;
|
|
89
94
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Namespace.js","sourceRoot":"","sources":["Namespace.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4CAAoD;AACpD,0CAAwC;AAIxC,+EAA+C;AAC/C,oFAAoD;AAKpD,MAAqB,SAAU,SAAQ,mBAAW;
|
|
1
|
+
{"version":3,"file":"Namespace.js","sourceRoot":"","sources":["Namespace.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4CAAoD;AACpD,0CAAwC;AAIxC,+EAA+C;AAC/C,oFAAoD;AAKpD,MAAqB,SAAU,SAAQ,mBAAW;IAc9C,YACI,KAAY,EACZ,IAAY,EACZ,UAAiC,IAAI;;QAErC,KAAK,CACD,oBAAoB,GAAG,IAAI,CAC9B,CAAC;QAlBW,gBAAW,GAAgB,IAAI,CAAC;QAChC,6BAAwB,GAAiB,IAAI,CAAC;QAC9C,4CAAuC,GAAiB,IAAI,CAAC;QAC7D,wBAAmB,GAAuB,IAAI,CAAC;QAC/C,yBAAoB,GAAuB,IAAI,CAAC;QAChD,yBAAoB,GAAuB,IAAI,CAAC;QAChD,qBAAgB,GAAuB,IAAI,CAAC;QAC5C,cAAS,GAAuB,IAAI,CAAC;QACrC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AAE;YACxB,UAAU,CAAC,WAAW,CAAC,GAAG,MAAA,IAAI,CAAC,SAAS,0CAAE,UAAU,EACnD,CAAC;SACL;QACD,IAAI,IAAI,CAAC,WAAW,IAAI,IAAI,EAAE;YAC1B,UAAU,CAAC,aAAa,CAAC,GAAG,MAAA,IAAI,CAAC,WAAW,0CAAE,UAAU,EACvD,CAAC;SACL;QACD,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,EAAE;YACzB,UAAU,CAAC,YAAY,CAAC,GAAG,MAAA,IAAI,CAAC,UAAU,0CAAE,UAAU,EACrD,CAAC;SACL;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;IAEM,GAAG;QAEN,OAAO,IAAI,sBAAY,CACnB,IAAI,CAAC,IAAK,CACb,CAAC;IACN,CAAC;IAEM,kBAAkB;QAErB,OAAO,IAAI,cAAO,CACd,IAAI,EACJ,kBAAkB,EAClB,IAAI,CACP,CAAC;IACN,CAAC;IAEM,UAAU,CACb,kBAAuC;QAEvC,IAAI,2BAAiB,CACjB,IAAI,CAAC,KAAK,EACV,IAAI,CAAC,IAAI,EACT,kBAAkB,CACrB,CAAC,YAAY,CACV,IAAI,CACP,CAAC;QACF,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AA/HD,4BA+HC"}
|
|
@@ -36,6 +36,7 @@ export default class Namespace extends CdkResource {
|
|
|
36
36
|
private readonly createTakeOverScript: ScriptSetting|null = null;
|
|
37
37
|
private readonly doTakeOverScript: ScriptSetting|null = null;
|
|
38
38
|
private readonly banScript: ScriptSetting|null = null;
|
|
39
|
+
private readonly unBanScript: ScriptSetting|null = null;
|
|
39
40
|
private readonly logSetting: LogSetting|null = null;
|
|
40
41
|
|
|
41
42
|
public constructor(
|
|
@@ -57,6 +58,7 @@ export default class Namespace extends CdkResource {
|
|
|
57
58
|
this.createTakeOverScript = options?.createTakeOverScript ?? null;
|
|
58
59
|
this.doTakeOverScript = options?.doTakeOverScript ?? null;
|
|
59
60
|
this.banScript = options?.banScript ?? null;
|
|
61
|
+
this.unBanScript = options?.unBanScript ?? null;
|
|
60
62
|
this.logSetting = options?.logSetting ?? null;
|
|
61
63
|
stack.addResource(
|
|
62
64
|
this,
|
|
@@ -110,6 +112,10 @@ export default class Namespace extends CdkResource {
|
|
|
110
112
|
properties["BanScript"] = this.banScript?.properties(
|
|
111
113
|
);
|
|
112
114
|
}
|
|
115
|
+
if (this.unBanScript != null) {
|
|
116
|
+
properties["UnBanScript"] = this.unBanScript?.properties(
|
|
117
|
+
);
|
|
118
|
+
}
|
|
113
119
|
if (this.logSetting != null) {
|
|
114
120
|
properties["LogSetting"] = this.logSetting?.properties(
|
|
115
121
|
);
|
package/log/model/Namespace.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ export default class Namespace extends CdkResource {
|
|
|
14
14
|
private readonly awsAccessKeyId;
|
|
15
15
|
private readonly awsSecretAccessKey;
|
|
16
16
|
private readonly firehoseStreamName;
|
|
17
|
+
private readonly firehoseCompressData;
|
|
17
18
|
constructor(stack: Stack, name: string, options?: NamespaceOptions | null);
|
|
18
19
|
alternateKeys(): string;
|
|
19
20
|
resourceType(): string;
|
package/log/model/Namespace.js
CHANGED
|
@@ -21,7 +21,7 @@ const func_1 = require("../../core/func");
|
|
|
21
21
|
const NamespaceRef_1 = tslib_1.__importDefault(require("../ref/NamespaceRef"));
|
|
22
22
|
class Namespace extends model_1.CdkResource {
|
|
23
23
|
constructor(stack, name, options = null) {
|
|
24
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
24
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
25
25
|
super("Log_Namespace_" + name);
|
|
26
26
|
this.description = null;
|
|
27
27
|
this.type = null;
|
|
@@ -32,6 +32,7 @@ class Namespace extends model_1.CdkResource {
|
|
|
32
32
|
this.awsAccessKeyId = null;
|
|
33
33
|
this.awsSecretAccessKey = null;
|
|
34
34
|
this.firehoseStreamName = null;
|
|
35
|
+
this.firehoseCompressData = null;
|
|
35
36
|
this.stack = stack;
|
|
36
37
|
this.name = name;
|
|
37
38
|
this.description = (_a = options === null || options === void 0 ? void 0 : options.description) !== null && _a !== void 0 ? _a : null;
|
|
@@ -43,6 +44,7 @@ class Namespace extends model_1.CdkResource {
|
|
|
43
44
|
this.awsAccessKeyId = (_g = options === null || options === void 0 ? void 0 : options.awsAccessKeyId) !== null && _g !== void 0 ? _g : null;
|
|
44
45
|
this.awsSecretAccessKey = (_h = options === null || options === void 0 ? void 0 : options.awsSecretAccessKey) !== null && _h !== void 0 ? _h : null;
|
|
45
46
|
this.firehoseStreamName = (_j = options === null || options === void 0 ? void 0 : options.firehoseStreamName) !== null && _j !== void 0 ? _j : null;
|
|
47
|
+
this.firehoseCompressData = (_k = options === null || options === void 0 ? void 0 : options.firehoseCompressData) !== null && _k !== void 0 ? _k : null;
|
|
46
48
|
stack.addResource(this);
|
|
47
49
|
}
|
|
48
50
|
alternateKeys() {
|
|
@@ -83,6 +85,9 @@ class Namespace extends model_1.CdkResource {
|
|
|
83
85
|
if (this.firehoseStreamName != null) {
|
|
84
86
|
properties["FirehoseStreamName"] = this.firehoseStreamName;
|
|
85
87
|
}
|
|
88
|
+
if (this.firehoseCompressData != null) {
|
|
89
|
+
properties["FirehoseCompressData"] = this.firehoseCompressData;
|
|
90
|
+
}
|
|
86
91
|
return properties;
|
|
87
92
|
}
|
|
88
93
|
ref() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Namespace.js","sourceRoot":"","sources":["Namespace.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4CAAoD;AACpD,0CAAwC;AAExC,+EAA+C;
|
|
1
|
+
{"version":3,"file":"Namespace.js","sourceRoot":"","sources":["Namespace.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4CAAoD;AACpD,0CAAwC;AAExC,+EAA+C;AAM/C,MAAqB,SAAU,SAAQ,mBAAW;IAc9C,YACI,KAAY,EACZ,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B,UAAU,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,SAAS,CAAC;SAC5C;QACD,IAAI,IAAI,CAAC,cAAc,IAAI,IAAI,EAAE;YAC7B,UAAU,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,cAAc,CAAC;SACtD;QACD,IAAI,IAAI,CAAC,kBAAkB,IAAI,IAAI,EAAE;YACjC,UAAU,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC,kBAAkB,CAAC;SAC9D;QACD,IAAI,IAAI,CAAC,kBAAkB,IAAI,IAAI,EAAE;YACjC,UAAU,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC,kBAAkB,CAAC;SAC9D;QACD,IAAI,IAAI,CAAC,oBAAoB,IAAI,IAAI,EAAE;YACnC,UAAU,CAAC,sBAAsB,CAAC,GAAG,IAAI,CAAC,oBAAoB,CAAC;SAClE;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;IAEM,GAAG;QAEN,OAAO,IAAI,sBAAY,CACnB,IAAI,CAAC,IAAK,CACb,CAAC;IACN,CAAC;IAEM,kBAAkB;QAErB,OAAO,IAAI,cAAO,CACd,IAAI,EACJ,kBAAkB,EAClB,IAAI,CACP,CAAC;IACN,CAAC;CACJ;AA3GD,4BA2GC"}
|
package/log/model/Namespace.ts
CHANGED
|
@@ -19,6 +19,7 @@ import {GetAttr} from "../../core/func";
|
|
|
19
19
|
|
|
20
20
|
import NamespaceRef from "../ref/NamespaceRef";
|
|
21
21
|
import { NamespaceType } from "./enums/NamespaceType";
|
|
22
|
+
import { NamespaceFirehoseCompressData } from "./enums/NamespaceFirehoseCompressData";
|
|
22
23
|
|
|
23
24
|
import { NamespaceOptions } from "./options/NamespaceOptions";
|
|
24
25
|
|
|
@@ -34,6 +35,7 @@ export default class Namespace extends CdkResource {
|
|
|
34
35
|
private readonly awsAccessKeyId: string|null = null;
|
|
35
36
|
private readonly awsSecretAccessKey: string|null = null;
|
|
36
37
|
private readonly firehoseStreamName: string|null = null;
|
|
38
|
+
private readonly firehoseCompressData: NamespaceFirehoseCompressData|null = null;
|
|
37
39
|
|
|
38
40
|
public constructor(
|
|
39
41
|
stack: Stack,
|
|
@@ -55,6 +57,7 @@ export default class Namespace extends CdkResource {
|
|
|
55
57
|
this.awsAccessKeyId = options?.awsAccessKeyId ?? null;
|
|
56
58
|
this.awsSecretAccessKey = options?.awsSecretAccessKey ?? null;
|
|
57
59
|
this.firehoseStreamName = options?.firehoseStreamName ?? null;
|
|
60
|
+
this.firehoseCompressData = options?.firehoseCompressData ?? null;
|
|
58
61
|
stack.addResource(
|
|
59
62
|
this,
|
|
60
63
|
);
|
|
@@ -105,6 +108,9 @@ export default class Namespace extends CdkResource {
|
|
|
105
108
|
if (this.firehoseStreamName != null) {
|
|
106
109
|
properties["FirehoseStreamName"] = this.firehoseStreamName;
|
|
107
110
|
}
|
|
111
|
+
if (this.firehoseCompressData != null) {
|
|
112
|
+
properties["FirehoseCompressData"] = this.firehoseCompressData;
|
|
113
|
+
}
|
|
108
114
|
|
|
109
115
|
return properties;
|
|
110
116
|
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
4
|
+
* Reserved.
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
7
|
+
* You may not use this file except in compliance with the License.
|
|
8
|
+
* A copy of the License is located at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
13
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
14
|
+
* express or implied. See the License for the specific language governing
|
|
15
|
+
* permissions and limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.NamespaceFirehoseCompressData = void 0;
|
|
19
|
+
exports.NamespaceFirehoseCompressData = {
|
|
20
|
+
NONE: "none",
|
|
21
|
+
GZIP: "gzip",
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=NamespaceFirehoseCompressData.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NamespaceFirehoseCompressData.js","sourceRoot":"","sources":["NamespaceFirehoseCompressData.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIU,QAAA,6BAA6B,GAAG;IACzC,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;CACN,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
* Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
* You may not use this file except in compliance with the License.
|
|
7
|
+
* A copy of the License is located at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
* express or implied. See the License for the specific language governing
|
|
14
|
+
* permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
export const NamespaceFirehoseCompressData = {
|
|
20
|
+
NONE: "none",
|
|
21
|
+
GZIP: "gzip",
|
|
22
|
+
} as const;
|
|
23
|
+
export type NamespaceFirehoseCompressData = typeof NamespaceFirehoseCompressData[keyof typeof NamespaceFirehoseCompressData];
|
package/log/model/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import Namespace from "./Namespace";
|
|
2
2
|
import { NamespaceOptions } from "./options/NamespaceOptions";
|
|
3
3
|
import { NamespaceType } from "./enums/NamespaceType";
|
|
4
|
+
import { NamespaceFirehoseCompressData } from "./enums/NamespaceFirehoseCompressData";
|
|
4
5
|
import { NamespaceTypeIsGs2Options } from "./options/NamespaceTypeIsGs2Options";
|
|
5
6
|
import { NamespaceTypeIsBigqueryOptions } from "./options/NamespaceTypeIsBigqueryOptions";
|
|
6
7
|
import { NamespaceTypeIsFirehoseOptions } from "./options/NamespaceTypeIsFirehoseOptions";
|
|
@@ -25,4 +26,4 @@ import { AccessLogWithTelemetryOptions } from "./options/AccessLogWithTelemetryO
|
|
|
25
26
|
import { AccessLogWithTelemetryStatus } from "./enums/AccessLogWithTelemetryStatus";
|
|
26
27
|
import InGameLogTag from "./InGameLogTag";
|
|
27
28
|
import { InGameLogTagOptions } from "./options/InGameLogTagOptions";
|
|
28
|
-
export { Namespace, NamespaceOptions, NamespaceType, NamespaceTypeIsGs2Options, NamespaceTypeIsBigqueryOptions, NamespaceTypeIsFirehoseOptions, AccessLog, AccessLogOptions, AccessLogCount, AccessLogCountOptions, IssueStampSheetLog, IssueStampSheetLogOptions, IssueStampSheetLogCount, IssueStampSheetLogCountOptions, ExecuteStampSheetLog, ExecuteStampSheetLogOptions, ExecuteStampSheetLogCount, ExecuteStampSheetLogCountOptions, ExecuteStampTaskLog, ExecuteStampTaskLogOptions, ExecuteStampTaskLogCount, ExecuteStampTaskLogCountOptions, AccessLogWithTelemetry, AccessLogWithTelemetryOptions, AccessLogWithTelemetryStatus, InGameLogTag, InGameLogTagOptions, };
|
|
29
|
+
export { Namespace, NamespaceOptions, NamespaceType, NamespaceFirehoseCompressData, NamespaceTypeIsGs2Options, NamespaceTypeIsBigqueryOptions, NamespaceTypeIsFirehoseOptions, AccessLog, AccessLogOptions, AccessLogCount, AccessLogCountOptions, IssueStampSheetLog, IssueStampSheetLogOptions, IssueStampSheetLogCount, IssueStampSheetLogCountOptions, ExecuteStampSheetLog, ExecuteStampSheetLogOptions, ExecuteStampSheetLogCount, ExecuteStampSheetLogCountOptions, ExecuteStampTaskLog, ExecuteStampTaskLogOptions, ExecuteStampTaskLogCount, ExecuteStampTaskLogCountOptions, AccessLogWithTelemetry, AccessLogWithTelemetryOptions, AccessLogWithTelemetryStatus, InGameLogTag, InGameLogTagOptions, };
|
package/log/model/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.InGameLogTag = exports.AccessLogWithTelemetryStatus = exports.AccessLogWithTelemetry = exports.ExecuteStampTaskLogCount = exports.ExecuteStampTaskLog = exports.ExecuteStampSheetLogCount = exports.ExecuteStampSheetLog = exports.IssueStampSheetLogCount = exports.IssueStampSheetLog = exports.AccessLogCount = exports.AccessLog = exports.NamespaceType = exports.Namespace = void 0;
|
|
3
|
+
exports.InGameLogTag = exports.AccessLogWithTelemetryStatus = exports.AccessLogWithTelemetry = exports.ExecuteStampTaskLogCount = exports.ExecuteStampTaskLog = exports.ExecuteStampSheetLogCount = exports.ExecuteStampSheetLog = exports.IssueStampSheetLogCount = exports.IssueStampSheetLog = exports.AccessLogCount = exports.AccessLog = exports.NamespaceFirehoseCompressData = exports.NamespaceType = exports.Namespace = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
/*
|
|
6
6
|
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
@@ -21,6 +21,8 @@ const Namespace_1 = tslib_1.__importDefault(require("./Namespace"));
|
|
|
21
21
|
exports.Namespace = Namespace_1.default;
|
|
22
22
|
const NamespaceType_1 = require("./enums/NamespaceType");
|
|
23
23
|
Object.defineProperty(exports, "NamespaceType", { enumerable: true, get: function () { return NamespaceType_1.NamespaceType; } });
|
|
24
|
+
const NamespaceFirehoseCompressData_1 = require("./enums/NamespaceFirehoseCompressData");
|
|
25
|
+
Object.defineProperty(exports, "NamespaceFirehoseCompressData", { enumerable: true, get: function () { return NamespaceFirehoseCompressData_1.NamespaceFirehoseCompressData; } });
|
|
24
26
|
const AccessLog_1 = tslib_1.__importDefault(require("./AccessLog"));
|
|
25
27
|
exports.AccessLog = AccessLog_1.default;
|
|
26
28
|
const AccessLogCount_1 = tslib_1.__importDefault(require("./AccessLogCount"));
|
package/log/model/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,oEAAoC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,oEAAoC;AA8BhC,oBA9BG,mBAAS,CA8BH;AA5Bb,yDAAsD;AA8BlD,8FA9BK,6BAAa,OA8BL;AA7BjB,yFAAsF;AA8BlF,8GA9BK,6DAA6B,OA8BL;AA1BjC,oEAAoC;AA8BhC,oBA9BG,mBAAS,CA8BH;AA5Bb,8EAA8C;AA8B1C,yBA9BG,wBAAc,CA8BH;AA5BlB,sFAAsD;AA8BlD,6BA9BG,4BAAkB,CA8BH;AA5BtB,gGAAgE;AA8B5D,kCA9BG,iCAAuB,CA8BH;AA5B3B,0FAA0D;AA8BtD,+BA9BG,8BAAoB,CA8BH;AA5BxB,oGAAoE;AA8BhE,oCA9BG,mCAAyB,CA8BH;AA5B7B,wFAAwD;AA8BpD,8BA9BG,6BAAmB,CA8BH;AA5BvB,kGAAkE;AA8B9D,mCA9BG,kCAAwB,CA8BH;AA5B5B,8FAA8D;AA8B1D,iCA9BG,gCAAsB,CA8BH;AA5B1B,uFAAoF;AA8BhF,6GA9BK,2DAA4B,OA8BL;AA7BhC,0EAA0C;AA8BtC,uBA9BG,sBAAY,CA8BH"}
|
package/log/model/index.ts
CHANGED
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
import Namespace from "./Namespace";
|
|
17
17
|
import { NamespaceOptions } from "./options/NamespaceOptions";
|
|
18
18
|
import { NamespaceType } from "./enums/NamespaceType";
|
|
19
|
+
import { NamespaceFirehoseCompressData } from "./enums/NamespaceFirehoseCompressData";
|
|
19
20
|
import { NamespaceTypeIsGs2Options } from "./options/NamespaceTypeIsGs2Options"
|
|
20
21
|
import { NamespaceTypeIsBigqueryOptions } from "./options/NamespaceTypeIsBigqueryOptions"
|
|
21
22
|
import { NamespaceTypeIsFirehoseOptions } from "./options/NamespaceTypeIsFirehoseOptions"
|
|
@@ -45,6 +46,7 @@ export {
|
|
|
45
46
|
Namespace,
|
|
46
47
|
NamespaceOptions,
|
|
47
48
|
NamespaceType,
|
|
49
|
+
NamespaceFirehoseCompressData,
|
|
48
50
|
NamespaceTypeIsGs2Options,
|
|
49
51
|
NamespaceTypeIsBigqueryOptions,
|
|
50
52
|
NamespaceTypeIsFirehoseOptions,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { NamespaceType } from "../enums/NamespaceType";
|
|
2
|
+
import { NamespaceFirehoseCompressData } from "../enums/NamespaceFirehoseCompressData";
|
|
2
3
|
export interface NamespaceOptions {
|
|
3
4
|
description?: string | null;
|
|
4
5
|
type?: NamespaceType | null;
|
|
@@ -9,4 +10,5 @@ export interface NamespaceOptions {
|
|
|
9
10
|
awsAccessKeyId?: string | null;
|
|
10
11
|
awsSecretAccessKey?: string | null;
|
|
11
12
|
firehoseStreamName?: string | null;
|
|
13
|
+
firehoseCompressData?: NamespaceFirehoseCompressData | null;
|
|
12
14
|
}
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
* permissions and limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import { NamespaceType } from "../enums/NamespaceType";
|
|
17
|
+
import { NamespaceFirehoseCompressData } from "../enums/NamespaceFirehoseCompressData";
|
|
17
18
|
|
|
18
19
|
export interface NamespaceOptions {
|
|
19
20
|
description?: string|null;
|
|
@@ -25,5 +26,6 @@ export interface NamespaceOptions {
|
|
|
25
26
|
awsAccessKeyId?: string|null;
|
|
26
27
|
awsSecretAccessKey?: string|null;
|
|
27
28
|
firehoseStreamName?: string|null;
|
|
29
|
+
firehoseCompressData?: NamespaceFirehoseCompressData|null;
|
|
28
30
|
}
|
|
29
31
|
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
* permissions and limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import { NamespaceType } from "../enums/NamespaceType";
|
|
17
|
+
import { NamespaceFirehoseCompressData } from "../enums/NamespaceFirehoseCompressData";
|
|
17
18
|
|
|
18
19
|
export interface NamespaceTypeIsBigqueryOptions {
|
|
19
20
|
description?: string|null;
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
* permissions and limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import { NamespaceType } from "../enums/NamespaceType";
|
|
17
|
+
import { NamespaceFirehoseCompressData } from "../enums/NamespaceFirehoseCompressData";
|
|
17
18
|
|
|
18
19
|
export interface NamespaceTypeIsFirehoseOptions {
|
|
19
20
|
description?: string|null;
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
* permissions and limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import { NamespaceType } from "../enums/NamespaceType";
|
|
17
|
+
import { NamespaceFirehoseCompressData } from "../enums/NamespaceFirehoseCompressData";
|
|
17
18
|
|
|
18
19
|
export interface NamespaceTypeIsGs2Options {
|
|
19
20
|
description?: string|null;
|