@aws-sdk/client-amp 3.145.0 → 3.149.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/CHANGELOG.md +11 -0
- package/dist-cjs/Amp.js +60 -0
- package/dist-cjs/commands/CreateLoggingConfigurationCommand.js +36 -0
- package/dist-cjs/commands/DeleteLoggingConfigurationCommand.js +36 -0
- package/dist-cjs/commands/DescribeLoggingConfigurationCommand.js +36 -0
- package/dist-cjs/commands/UpdateLoggingConfigurationCommand.js +36 -0
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/models/models_0.js +47 -1
- package/dist-cjs/protocols/Aws_restJson1.js +277 -1
- package/dist-es/Amp.js +60 -0
- package/dist-es/commands/CreateLoggingConfigurationCommand.js +39 -0
- package/dist-es/commands/DeleteLoggingConfigurationCommand.js +39 -0
- package/dist-es/commands/DescribeLoggingConfigurationCommand.js +39 -0
- package/dist-es/commands/UpdateLoggingConfigurationCommand.js +39 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/models_0.js +18 -0
- package/dist-es/protocols/Aws_restJson1.js +390 -0
- package/dist-types/Amp.d.ts +28 -0
- package/dist-types/AmpClient.d.ts +6 -2
- package/dist-types/commands/CreateLoggingConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/DescribeLoggingConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/UpdateLoggingConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +183 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +12 -0
- package/dist-types/ts3.4/Amp.d.ts +20 -0
- package/dist-types/ts3.4/AmpClient.d.ts +6 -2
- package/dist-types/ts3.4/commands/CreateLoggingConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteLoggingConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeLoggingConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateLoggingConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +97 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.149.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.148.0...v3.149.0) (2022-08-12)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **client-amp:** This release adds log APIs that allow customers to manage logging for their Amazon Managed Service for Prometheus workspaces. ([f97fc3c](https://github.com/aws/aws-sdk-js-v3/commit/f97fc3cb2d6cd140aa4abd0a247ed803809552a8))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.145.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.144.0...v3.145.0) (2022-08-08)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aws-sdk/client-amp
|
package/dist-cjs/Amp.js
CHANGED
|
@@ -3,12 +3,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.Amp = void 0;
|
|
4
4
|
const AmpClient_1 = require("./AmpClient");
|
|
5
5
|
const CreateAlertManagerDefinitionCommand_1 = require("./commands/CreateAlertManagerDefinitionCommand");
|
|
6
|
+
const CreateLoggingConfigurationCommand_1 = require("./commands/CreateLoggingConfigurationCommand");
|
|
6
7
|
const CreateRuleGroupsNamespaceCommand_1 = require("./commands/CreateRuleGroupsNamespaceCommand");
|
|
7
8
|
const CreateWorkspaceCommand_1 = require("./commands/CreateWorkspaceCommand");
|
|
8
9
|
const DeleteAlertManagerDefinitionCommand_1 = require("./commands/DeleteAlertManagerDefinitionCommand");
|
|
10
|
+
const DeleteLoggingConfigurationCommand_1 = require("./commands/DeleteLoggingConfigurationCommand");
|
|
9
11
|
const DeleteRuleGroupsNamespaceCommand_1 = require("./commands/DeleteRuleGroupsNamespaceCommand");
|
|
10
12
|
const DeleteWorkspaceCommand_1 = require("./commands/DeleteWorkspaceCommand");
|
|
11
13
|
const DescribeAlertManagerDefinitionCommand_1 = require("./commands/DescribeAlertManagerDefinitionCommand");
|
|
14
|
+
const DescribeLoggingConfigurationCommand_1 = require("./commands/DescribeLoggingConfigurationCommand");
|
|
12
15
|
const DescribeRuleGroupsNamespaceCommand_1 = require("./commands/DescribeRuleGroupsNamespaceCommand");
|
|
13
16
|
const DescribeWorkspaceCommand_1 = require("./commands/DescribeWorkspaceCommand");
|
|
14
17
|
const ListRuleGroupsNamespacesCommand_1 = require("./commands/ListRuleGroupsNamespacesCommand");
|
|
@@ -18,6 +21,7 @@ const PutAlertManagerDefinitionCommand_1 = require("./commands/PutAlertManagerDe
|
|
|
18
21
|
const PutRuleGroupsNamespaceCommand_1 = require("./commands/PutRuleGroupsNamespaceCommand");
|
|
19
22
|
const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
20
23
|
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
24
|
+
const UpdateLoggingConfigurationCommand_1 = require("./commands/UpdateLoggingConfigurationCommand");
|
|
21
25
|
const UpdateWorkspaceAliasCommand_1 = require("./commands/UpdateWorkspaceAliasCommand");
|
|
22
26
|
class Amp extends AmpClient_1.AmpClient {
|
|
23
27
|
createAlertManagerDefinition(args, optionsOrCb, cb) {
|
|
@@ -34,6 +38,20 @@ class Amp extends AmpClient_1.AmpClient {
|
|
|
34
38
|
return this.send(command, optionsOrCb);
|
|
35
39
|
}
|
|
36
40
|
}
|
|
41
|
+
createLoggingConfiguration(args, optionsOrCb, cb) {
|
|
42
|
+
const command = new CreateLoggingConfigurationCommand_1.CreateLoggingConfigurationCommand(args);
|
|
43
|
+
if (typeof optionsOrCb === "function") {
|
|
44
|
+
this.send(command, optionsOrCb);
|
|
45
|
+
}
|
|
46
|
+
else if (typeof cb === "function") {
|
|
47
|
+
if (typeof optionsOrCb !== "object")
|
|
48
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
49
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
50
|
+
}
|
|
51
|
+
else {
|
|
52
|
+
return this.send(command, optionsOrCb);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
37
55
|
createRuleGroupsNamespace(args, optionsOrCb, cb) {
|
|
38
56
|
const command = new CreateRuleGroupsNamespaceCommand_1.CreateRuleGroupsNamespaceCommand(args);
|
|
39
57
|
if (typeof optionsOrCb === "function") {
|
|
@@ -76,6 +94,20 @@ class Amp extends AmpClient_1.AmpClient {
|
|
|
76
94
|
return this.send(command, optionsOrCb);
|
|
77
95
|
}
|
|
78
96
|
}
|
|
97
|
+
deleteLoggingConfiguration(args, optionsOrCb, cb) {
|
|
98
|
+
const command = new DeleteLoggingConfigurationCommand_1.DeleteLoggingConfigurationCommand(args);
|
|
99
|
+
if (typeof optionsOrCb === "function") {
|
|
100
|
+
this.send(command, optionsOrCb);
|
|
101
|
+
}
|
|
102
|
+
else if (typeof cb === "function") {
|
|
103
|
+
if (typeof optionsOrCb !== "object")
|
|
104
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
105
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
106
|
+
}
|
|
107
|
+
else {
|
|
108
|
+
return this.send(command, optionsOrCb);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
79
111
|
deleteRuleGroupsNamespace(args, optionsOrCb, cb) {
|
|
80
112
|
const command = new DeleteRuleGroupsNamespaceCommand_1.DeleteRuleGroupsNamespaceCommand(args);
|
|
81
113
|
if (typeof optionsOrCb === "function") {
|
|
@@ -118,6 +150,20 @@ class Amp extends AmpClient_1.AmpClient {
|
|
|
118
150
|
return this.send(command, optionsOrCb);
|
|
119
151
|
}
|
|
120
152
|
}
|
|
153
|
+
describeLoggingConfiguration(args, optionsOrCb, cb) {
|
|
154
|
+
const command = new DescribeLoggingConfigurationCommand_1.DescribeLoggingConfigurationCommand(args);
|
|
155
|
+
if (typeof optionsOrCb === "function") {
|
|
156
|
+
this.send(command, optionsOrCb);
|
|
157
|
+
}
|
|
158
|
+
else if (typeof cb === "function") {
|
|
159
|
+
if (typeof optionsOrCb !== "object")
|
|
160
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
161
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
162
|
+
}
|
|
163
|
+
else {
|
|
164
|
+
return this.send(command, optionsOrCb);
|
|
165
|
+
}
|
|
166
|
+
}
|
|
121
167
|
describeRuleGroupsNamespace(args, optionsOrCb, cb) {
|
|
122
168
|
const command = new DescribeRuleGroupsNamespaceCommand_1.DescribeRuleGroupsNamespaceCommand(args);
|
|
123
169
|
if (typeof optionsOrCb === "function") {
|
|
@@ -244,6 +290,20 @@ class Amp extends AmpClient_1.AmpClient {
|
|
|
244
290
|
return this.send(command, optionsOrCb);
|
|
245
291
|
}
|
|
246
292
|
}
|
|
293
|
+
updateLoggingConfiguration(args, optionsOrCb, cb) {
|
|
294
|
+
const command = new UpdateLoggingConfigurationCommand_1.UpdateLoggingConfigurationCommand(args);
|
|
295
|
+
if (typeof optionsOrCb === "function") {
|
|
296
|
+
this.send(command, optionsOrCb);
|
|
297
|
+
}
|
|
298
|
+
else if (typeof cb === "function") {
|
|
299
|
+
if (typeof optionsOrCb !== "object")
|
|
300
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
301
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
302
|
+
}
|
|
303
|
+
else {
|
|
304
|
+
return this.send(command, optionsOrCb);
|
|
305
|
+
}
|
|
306
|
+
}
|
|
247
307
|
updateWorkspaceAlias(args, optionsOrCb, cb) {
|
|
248
308
|
const command = new UpdateWorkspaceAliasCommand_1.UpdateWorkspaceAliasCommand(args);
|
|
249
309
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateLoggingConfigurationCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class CreateLoggingConfigurationCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "AmpClient";
|
|
18
|
+
const commandName = "CreateLoggingConfigurationCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.CreateLoggingConfigurationRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.CreateLoggingConfigurationResponseFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1CreateLoggingConfigurationCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1CreateLoggingConfigurationCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.CreateLoggingConfigurationCommand = CreateLoggingConfigurationCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteLoggingConfigurationCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class DeleteLoggingConfigurationCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "AmpClient";
|
|
18
|
+
const commandName = "DeleteLoggingConfigurationCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DeleteLoggingConfigurationRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: (output) => output,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1DeleteLoggingConfigurationCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteLoggingConfigurationCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.DeleteLoggingConfigurationCommand = DeleteLoggingConfigurationCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DescribeLoggingConfigurationCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class DescribeLoggingConfigurationCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "AmpClient";
|
|
18
|
+
const commandName = "DescribeLoggingConfigurationCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DescribeLoggingConfigurationRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.DescribeLoggingConfigurationResponseFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1DescribeLoggingConfigurationCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1DescribeLoggingConfigurationCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.DescribeLoggingConfigurationCommand = DescribeLoggingConfigurationCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateLoggingConfigurationCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class UpdateLoggingConfigurationCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "AmpClient";
|
|
18
|
+
const commandName = "UpdateLoggingConfigurationCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.UpdateLoggingConfigurationRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.UpdateLoggingConfigurationResponseFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1UpdateLoggingConfigurationCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateLoggingConfigurationCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.UpdateLoggingConfigurationCommand = UpdateLoggingConfigurationCommand;
|
|
@@ -2,12 +2,15 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
tslib_1.__exportStar(require("./CreateAlertManagerDefinitionCommand"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./CreateLoggingConfigurationCommand"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./CreateRuleGroupsNamespaceCommand"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./CreateWorkspaceCommand"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./DeleteAlertManagerDefinitionCommand"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./DeleteLoggingConfigurationCommand"), exports);
|
|
8
10
|
tslib_1.__exportStar(require("./DeleteRuleGroupsNamespaceCommand"), exports);
|
|
9
11
|
tslib_1.__exportStar(require("./DeleteWorkspaceCommand"), exports);
|
|
10
12
|
tslib_1.__exportStar(require("./DescribeAlertManagerDefinitionCommand"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./DescribeLoggingConfigurationCommand"), exports);
|
|
11
14
|
tslib_1.__exportStar(require("./DescribeRuleGroupsNamespaceCommand"), exports);
|
|
12
15
|
tslib_1.__exportStar(require("./DescribeWorkspaceCommand"), exports);
|
|
13
16
|
tslib_1.__exportStar(require("./ListRuleGroupsNamespacesCommand"), exports);
|
|
@@ -17,4 +20,5 @@ tslib_1.__exportStar(require("./PutAlertManagerDefinitionCommand"), exports);
|
|
|
17
20
|
tslib_1.__exportStar(require("./PutRuleGroupsNamespaceCommand"), exports);
|
|
18
21
|
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
19
22
|
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
23
|
+
tslib_1.__exportStar(require("./UpdateLoggingConfigurationCommand"), exports);
|
|
20
24
|
tslib_1.__exportStar(require("./UpdateWorkspaceAliasCommand"), exports);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.CreateRuleGroupsNamespaceResponseFilterSensitiveLog = exports.RuleGroupsNamespaceStatusFilterSensitiveLog = exports.CreateRuleGroupsNamespaceRequestFilterSensitiveLog = exports.UpdateLoggingConfigurationResponseFilterSensitiveLog = exports.UpdateLoggingConfigurationRequestFilterSensitiveLog = exports.DescribeLoggingConfigurationResponseFilterSensitiveLog = exports.LoggingConfigurationMetadataFilterSensitiveLog = exports.DescribeLoggingConfigurationRequestFilterSensitiveLog = exports.DeleteLoggingConfigurationRequestFilterSensitiveLog = exports.CreateLoggingConfigurationResponseFilterSensitiveLog = exports.LoggingConfigurationStatusFilterSensitiveLog = exports.CreateLoggingConfigurationRequestFilterSensitiveLog = exports.ListWorkspacesResponseFilterSensitiveLog = exports.WorkspaceSummaryFilterSensitiveLog = exports.ListWorkspacesRequestFilterSensitiveLog = exports.DescribeWorkspaceResponseFilterSensitiveLog = exports.WorkspaceDescriptionFilterSensitiveLog = exports.DescribeWorkspaceRequestFilterSensitiveLog = exports.DeleteWorkspaceRequestFilterSensitiveLog = exports.CreateWorkspaceResponseFilterSensitiveLog = exports.WorkspaceStatusFilterSensitiveLog = exports.CreateWorkspaceRequestFilterSensitiveLog = exports.UntagResourceResponseFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceResponseFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.ListTagsForResourceResponseFilterSensitiveLog = exports.ListTagsForResourceRequestFilterSensitiveLog = exports.PutAlertManagerDefinitionResponseFilterSensitiveLog = exports.PutAlertManagerDefinitionRequestFilterSensitiveLog = exports.DescribeAlertManagerDefinitionResponseFilterSensitiveLog = exports.AlertManagerDefinitionDescriptionFilterSensitiveLog = exports.DescribeAlertManagerDefinitionRequestFilterSensitiveLog = exports.DeleteAlertManagerDefinitionRequestFilterSensitiveLog = exports.ValidationExceptionFieldFilterSensitiveLog = exports.CreateAlertManagerDefinitionResponseFilterSensitiveLog = exports.AlertManagerDefinitionStatusFilterSensitiveLog = exports.CreateAlertManagerDefinitionRequestFilterSensitiveLog = exports.RuleGroupsNamespaceStatusCode = exports.LoggingConfigurationStatusCode = exports.WorkspaceStatusCode = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.AlertManagerDefinitionStatusCode = exports.ConflictException = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.UpdateWorkspaceAliasRequestFilterSensitiveLog = exports.PutRuleGroupsNamespaceResponseFilterSensitiveLog = exports.PutRuleGroupsNamespaceRequestFilterSensitiveLog = exports.ListRuleGroupsNamespacesResponseFilterSensitiveLog = exports.RuleGroupsNamespaceSummaryFilterSensitiveLog = exports.ListRuleGroupsNamespacesRequestFilterSensitiveLog = exports.DescribeRuleGroupsNamespaceResponseFilterSensitiveLog = exports.RuleGroupsNamespaceDescriptionFilterSensitiveLog = exports.DescribeRuleGroupsNamespaceRequestFilterSensitiveLog = exports.DeleteRuleGroupsNamespaceRequestFilterSensitiveLog = void 0;
|
|
4
5
|
const AmpServiceException_1 = require("./AmpServiceException");
|
|
5
6
|
class AccessDeniedException extends AmpServiceException_1.AmpServiceException {
|
|
6
7
|
constructor(opts) {
|
|
@@ -133,6 +134,15 @@ var WorkspaceStatusCode;
|
|
|
133
134
|
WorkspaceStatusCode["DELETING"] = "DELETING";
|
|
134
135
|
WorkspaceStatusCode["UPDATING"] = "UPDATING";
|
|
135
136
|
})(WorkspaceStatusCode = exports.WorkspaceStatusCode || (exports.WorkspaceStatusCode = {}));
|
|
137
|
+
var LoggingConfigurationStatusCode;
|
|
138
|
+
(function (LoggingConfigurationStatusCode) {
|
|
139
|
+
LoggingConfigurationStatusCode["ACTIVE"] = "ACTIVE";
|
|
140
|
+
LoggingConfigurationStatusCode["CREATING"] = "CREATING";
|
|
141
|
+
LoggingConfigurationStatusCode["CREATION_FAILED"] = "CREATION_FAILED";
|
|
142
|
+
LoggingConfigurationStatusCode["DELETING"] = "DELETING";
|
|
143
|
+
LoggingConfigurationStatusCode["UPDATE_FAILED"] = "UPDATE_FAILED";
|
|
144
|
+
LoggingConfigurationStatusCode["UPDATING"] = "UPDATING";
|
|
145
|
+
})(LoggingConfigurationStatusCode = exports.LoggingConfigurationStatusCode || (exports.LoggingConfigurationStatusCode = {}));
|
|
136
146
|
var RuleGroupsNamespaceStatusCode;
|
|
137
147
|
(function (RuleGroupsNamespaceStatusCode) {
|
|
138
148
|
RuleGroupsNamespaceStatusCode["ACTIVE"] = "ACTIVE";
|
|
@@ -246,6 +256,42 @@ const ListWorkspacesResponseFilterSensitiveLog = (obj) => ({
|
|
|
246
256
|
...obj,
|
|
247
257
|
});
|
|
248
258
|
exports.ListWorkspacesResponseFilterSensitiveLog = ListWorkspacesResponseFilterSensitiveLog;
|
|
259
|
+
const CreateLoggingConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
260
|
+
...obj,
|
|
261
|
+
});
|
|
262
|
+
exports.CreateLoggingConfigurationRequestFilterSensitiveLog = CreateLoggingConfigurationRequestFilterSensitiveLog;
|
|
263
|
+
const LoggingConfigurationStatusFilterSensitiveLog = (obj) => ({
|
|
264
|
+
...obj,
|
|
265
|
+
});
|
|
266
|
+
exports.LoggingConfigurationStatusFilterSensitiveLog = LoggingConfigurationStatusFilterSensitiveLog;
|
|
267
|
+
const CreateLoggingConfigurationResponseFilterSensitiveLog = (obj) => ({
|
|
268
|
+
...obj,
|
|
269
|
+
});
|
|
270
|
+
exports.CreateLoggingConfigurationResponseFilterSensitiveLog = CreateLoggingConfigurationResponseFilterSensitiveLog;
|
|
271
|
+
const DeleteLoggingConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
272
|
+
...obj,
|
|
273
|
+
});
|
|
274
|
+
exports.DeleteLoggingConfigurationRequestFilterSensitiveLog = DeleteLoggingConfigurationRequestFilterSensitiveLog;
|
|
275
|
+
const DescribeLoggingConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
276
|
+
...obj,
|
|
277
|
+
});
|
|
278
|
+
exports.DescribeLoggingConfigurationRequestFilterSensitiveLog = DescribeLoggingConfigurationRequestFilterSensitiveLog;
|
|
279
|
+
const LoggingConfigurationMetadataFilterSensitiveLog = (obj) => ({
|
|
280
|
+
...obj,
|
|
281
|
+
});
|
|
282
|
+
exports.LoggingConfigurationMetadataFilterSensitiveLog = LoggingConfigurationMetadataFilterSensitiveLog;
|
|
283
|
+
const DescribeLoggingConfigurationResponseFilterSensitiveLog = (obj) => ({
|
|
284
|
+
...obj,
|
|
285
|
+
});
|
|
286
|
+
exports.DescribeLoggingConfigurationResponseFilterSensitiveLog = DescribeLoggingConfigurationResponseFilterSensitiveLog;
|
|
287
|
+
const UpdateLoggingConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
288
|
+
...obj,
|
|
289
|
+
});
|
|
290
|
+
exports.UpdateLoggingConfigurationRequestFilterSensitiveLog = UpdateLoggingConfigurationRequestFilterSensitiveLog;
|
|
291
|
+
const UpdateLoggingConfigurationResponseFilterSensitiveLog = (obj) => ({
|
|
292
|
+
...obj,
|
|
293
|
+
});
|
|
294
|
+
exports.UpdateLoggingConfigurationResponseFilterSensitiveLog = UpdateLoggingConfigurationResponseFilterSensitiveLog;
|
|
249
295
|
const CreateRuleGroupsNamespaceRequestFilterSensitiveLog = (obj) => ({
|
|
250
296
|
...obj,
|
|
251
297
|
});
|