@aws-sdk/client-amp 3.810.0 → 3.816.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/README.md +33 -18
- package/dist-cjs/index.js +216 -0
- package/dist-es/Amp.js +8 -0
- package/dist-es/commands/CreateQueryLoggingConfigurationCommand.js +22 -0
- package/dist-es/commands/DeleteQueryLoggingConfigurationCommand.js +22 -0
- package/dist-es/commands/DescribeQueryLoggingConfigurationCommand.js +22 -0
- package/dist-es/commands/UpdateQueryLoggingConfigurationCommand.js +22 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/models_0.js +8 -0
- package/dist-es/protocols/Aws_restJson1.js +112 -0
- package/dist-types/Amp.d.ts +29 -18
- package/dist-types/AmpClient.d.ts +7 -20
- package/dist-types/commands/CreateAlertManagerDefinitionCommand.d.ts +2 -6
- package/dist-types/commands/CreateLoggingConfigurationCommand.d.ts +2 -5
- package/dist-types/commands/CreateQueryLoggingConfigurationCommand.d.ts +98 -0
- package/dist-types/commands/CreateRuleGroupsNamespaceCommand.d.ts +2 -7
- package/dist-types/commands/CreateScraperCommand.d.ts +2 -20
- package/dist-types/commands/CreateWorkspaceCommand.d.ts +2 -5
- package/dist-types/commands/DeleteAlertManagerDefinitionCommand.d.ts +1 -2
- package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +2 -3
- package/dist-types/commands/DeleteQueryLoggingConfigurationCommand.d.ts +86 -0
- package/dist-types/commands/DeleteRuleGroupsNamespaceCommand.d.ts +1 -2
- package/dist-types/commands/DeleteScraperCommand.d.ts +2 -4
- package/dist-types/commands/DeleteWorkspaceCommand.d.ts +2 -7
- package/dist-types/commands/DescribeAlertManagerDefinitionCommand.d.ts +2 -4
- package/dist-types/commands/DescribeLoggingConfigurationCommand.d.ts +2 -4
- package/dist-types/commands/DescribeQueryLoggingConfigurationCommand.d.ts +102 -0
- package/dist-types/commands/DescribeRuleGroupsNamespaceCommand.d.ts +2 -4
- package/dist-types/commands/DescribeScraperCommand.d.ts +2 -4
- package/dist-types/commands/DescribeWorkspaceCommand.d.ts +1 -2
- package/dist-types/commands/DescribeWorkspaceConfigurationCommand.d.ts +2 -4
- package/dist-types/commands/GetDefaultScraperConfigurationCommand.d.ts +1 -2
- package/dist-types/commands/ListRuleGroupsNamespacesCommand.d.ts +1 -2
- package/dist-types/commands/ListScrapersCommand.d.ts +2 -5
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -5
- package/dist-types/commands/ListWorkspacesCommand.d.ts +2 -4
- package/dist-types/commands/PutAlertManagerDefinitionCommand.d.ts +2 -5
- package/dist-types/commands/PutRuleGroupsNamespaceCommand.d.ts +2 -9
- package/dist-types/commands/TagResourceCommand.d.ts +2 -9
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -4
- package/dist-types/commands/UpdateLoggingConfigurationCommand.d.ts +2 -4
- package/dist-types/commands/UpdateQueryLoggingConfigurationCommand.d.ts +101 -0
- package/dist-types/commands/UpdateScraperCommand.d.ts +2 -6
- package/dist-types/commands/UpdateWorkspaceAliasCommand.d.ts +1 -2
- package/dist-types/commands/UpdateWorkspaceConfigurationCommand.d.ts +2 -5
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/index.d.ts +1 -18
- package/dist-types/models/models_0.d.ts +294 -207
- package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
- package/dist-types/ts3.4/Amp.d.ts +74 -0
- package/dist-types/ts3.4/AmpClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/CreateQueryLoggingConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteQueryLoggingConfigurationCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DescribeQueryLoggingConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateQueryLoggingConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +57 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
- package/package.json +5 -5
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmpClient";
|
|
4
|
+
import { DeleteQueryLoggingConfigurationRequest } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteQueryLoggingConfigurationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteQueryLoggingConfigurationCommandInput extends DeleteQueryLoggingConfigurationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteQueryLoggingConfigurationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteQueryLoggingConfigurationCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteQueryLoggingConfigurationCommand_base: {
|
|
25
|
+
new (input: DeleteQueryLoggingConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteQueryLoggingConfigurationCommandInput, DeleteQueryLoggingConfigurationCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteQueryLoggingConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteQueryLoggingConfigurationCommandInput, DeleteQueryLoggingConfigurationCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes the query logging configuration for the specified workspace.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { AmpClient, DeleteQueryLoggingConfigurationCommand } from "@aws-sdk/client-amp"; // ES Modules import
|
|
35
|
+
* // const { AmpClient, DeleteQueryLoggingConfigurationCommand } = require("@aws-sdk/client-amp"); // CommonJS import
|
|
36
|
+
* const client = new AmpClient(config);
|
|
37
|
+
* const input = { // DeleteQueryLoggingConfigurationRequest
|
|
38
|
+
* workspaceId: "STRING_VALUE", // required
|
|
39
|
+
* clientToken: "STRING_VALUE",
|
|
40
|
+
* };
|
|
41
|
+
* const command = new DeleteQueryLoggingConfigurationCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // {};
|
|
44
|
+
*
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* @param DeleteQueryLoggingConfigurationCommandInput - {@link DeleteQueryLoggingConfigurationCommandInput}
|
|
48
|
+
* @returns {@link DeleteQueryLoggingConfigurationCommandOutput}
|
|
49
|
+
* @see {@link DeleteQueryLoggingConfigurationCommandInput} for command's `input` shape.
|
|
50
|
+
* @see {@link DeleteQueryLoggingConfigurationCommandOutput} for command's `response` shape.
|
|
51
|
+
* @see {@link AmpClientResolvedConfig | config} for AmpClient's `config` shape.
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
54
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link ConflictException} (client fault)
|
|
57
|
+
* <p>The request would cause an inconsistent state.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link InternalServerException} (server fault)
|
|
60
|
+
* <p>An unexpected error occurred during the processing of the request.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
63
|
+
* <p>The request references a resources that doesn't exist.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ValidationException} (client fault)
|
|
66
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link AmpServiceException}
|
|
69
|
+
* <p>Base exception class for all service exceptions from Amp service.</p>
|
|
70
|
+
*
|
|
71
|
+
*
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
74
|
+
export declare class DeleteQueryLoggingConfigurationCommand extends DeleteQueryLoggingConfigurationCommand_base {
|
|
75
|
+
/** @internal type navigation helper, not in runtime. */
|
|
76
|
+
protected static __types: {
|
|
77
|
+
api: {
|
|
78
|
+
input: DeleteQueryLoggingConfigurationRequest;
|
|
79
|
+
output: {};
|
|
80
|
+
};
|
|
81
|
+
sdk: {
|
|
82
|
+
input: DeleteQueryLoggingConfigurationCommandInput;
|
|
83
|
+
output: DeleteQueryLoggingConfigurationCommandOutput;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
}
|
|
@@ -67,8 +67,7 @@ declare const DeleteRuleGroupsNamespaceCommand_base: {
|
|
|
67
67
|
* <p>The request was denied due to request throttling.</p>
|
|
68
68
|
*
|
|
69
69
|
* @throws {@link ValidationException} (client fault)
|
|
70
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
71
|
-
* service.</p>
|
|
70
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
72
71
|
*
|
|
73
72
|
* @throws {@link AmpServiceException}
|
|
74
73
|
* <p>Base exception class for all service exceptions from Amp service.</p>
|
|
@@ -27,8 +27,7 @@ declare const DeleteScraperCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>The <code>DeleteScraper</code> operation deletes one scraper, and stops any metrics
|
|
31
|
-
* collection that the scraper performs.</p>
|
|
30
|
+
* <p>The <code>DeleteScraper</code> operation deletes one scraper, and stops any metrics collection that the scraper performs.</p>
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -72,8 +71,7 @@ declare const DeleteScraperCommand_base: {
|
|
|
72
71
|
* <p>The request was denied due to request throttling.</p>
|
|
73
72
|
*
|
|
74
73
|
* @throws {@link ValidationException} (client fault)
|
|
75
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
76
|
-
* service.</p>
|
|
74
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
77
75
|
*
|
|
78
76
|
* @throws {@link AmpServiceException}
|
|
79
77
|
* <p>Base exception class for all service exceptions from Amp service.</p>
|
|
@@ -27,11 +27,7 @@ declare const DeleteWorkspaceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deletes an existing workspace. </p>
|
|
31
|
-
* <note>
|
|
32
|
-
* <p>When you delete a workspace, the data that has been ingested into it is not
|
|
33
|
-
* immediately deleted. It will be permanently deleted within one month.</p>
|
|
34
|
-
* </note>
|
|
30
|
+
* <p>Deletes an existing workspace. </p> <note> <p>When you delete a workspace, the data that has been ingested into it is not immediately deleted. It will be permanently deleted within one month.</p> </note>
|
|
35
31
|
* @example
|
|
36
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
37
33
|
* ```javascript
|
|
@@ -70,8 +66,7 @@ declare const DeleteWorkspaceCommand_base: {
|
|
|
70
66
|
* <p>The request was denied due to request throttling.</p>
|
|
71
67
|
*
|
|
72
68
|
* @throws {@link ValidationException} (client fault)
|
|
73
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
74
|
-
* service.</p>
|
|
69
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
75
70
|
*
|
|
76
71
|
* @throws {@link AmpServiceException}
|
|
77
72
|
* <p>Base exception class for all service exceptions from Amp service.</p>
|
|
@@ -27,8 +27,7 @@ declare const DescribeAlertManagerDefinitionCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Retrieves the full information about the alert manager definition for a
|
|
31
|
-
* workspace.</p>
|
|
30
|
+
* <p>Retrieves the full information about the alert manager definition for a workspace.</p>
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -73,8 +72,7 @@ declare const DescribeAlertManagerDefinitionCommand_base: {
|
|
|
73
72
|
* <p>The request was denied due to request throttling.</p>
|
|
74
73
|
*
|
|
75
74
|
* @throws {@link ValidationException} (client fault)
|
|
76
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
77
|
-
* service.</p>
|
|
75
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
78
76
|
*
|
|
79
77
|
* @throws {@link AmpServiceException}
|
|
80
78
|
* <p>Base exception class for all service exceptions from Amp service.</p>
|
|
@@ -27,8 +27,7 @@ declare const DescribeLoggingConfigurationCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Returns complete information about the current logging configuration of the
|
|
31
|
-
* workspace.</p>
|
|
30
|
+
* <p>Returns complete information about the current rules and alerting logging configuration of the workspace.</p> <note> <p>These logging configurations are only for rules and alerting logs.</p> </note>
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -71,8 +70,7 @@ declare const DescribeLoggingConfigurationCommand_base: {
|
|
|
71
70
|
* <p>The request references a resources that doesn't exist.</p>
|
|
72
71
|
*
|
|
73
72
|
* @throws {@link ValidationException} (client fault)
|
|
74
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
75
|
-
* service.</p>
|
|
73
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
76
74
|
*
|
|
77
75
|
* @throws {@link AmpServiceException}
|
|
78
76
|
* <p>Base exception class for all service exceptions from Amp service.</p>
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmpClient";
|
|
4
|
+
import { DescribeQueryLoggingConfigurationRequest, DescribeQueryLoggingConfigurationResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DescribeQueryLoggingConfigurationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DescribeQueryLoggingConfigurationCommandInput extends DescribeQueryLoggingConfigurationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DescribeQueryLoggingConfigurationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DescribeQueryLoggingConfigurationCommandOutput extends DescribeQueryLoggingConfigurationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DescribeQueryLoggingConfigurationCommand_base: {
|
|
25
|
+
new (input: DescribeQueryLoggingConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeQueryLoggingConfigurationCommandInput, DescribeQueryLoggingConfigurationCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DescribeQueryLoggingConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeQueryLoggingConfigurationCommandInput, DescribeQueryLoggingConfigurationCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves the details of the query logging configuration for the specified workspace.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { AmpClient, DescribeQueryLoggingConfigurationCommand } from "@aws-sdk/client-amp"; // ES Modules import
|
|
35
|
+
* // const { AmpClient, DescribeQueryLoggingConfigurationCommand } = require("@aws-sdk/client-amp"); // CommonJS import
|
|
36
|
+
* const client = new AmpClient(config);
|
|
37
|
+
* const input = { // DescribeQueryLoggingConfigurationRequest
|
|
38
|
+
* workspaceId: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new DescribeQueryLoggingConfigurationCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // DescribeQueryLoggingConfigurationResponse
|
|
43
|
+
* // queryLoggingConfiguration: { // QueryLoggingConfigurationMetadata
|
|
44
|
+
* // status: { // QueryLoggingConfigurationStatus
|
|
45
|
+
* // statusCode: "STRING_VALUE", // required
|
|
46
|
+
* // statusReason: "STRING_VALUE",
|
|
47
|
+
* // },
|
|
48
|
+
* // workspace: "STRING_VALUE", // required
|
|
49
|
+
* // destinations: [ // LoggingDestinations // required
|
|
50
|
+
* // { // LoggingDestination
|
|
51
|
+
* // cloudWatchLogs: { // CloudWatchLogDestination
|
|
52
|
+
* // logGroupArn: "STRING_VALUE", // required
|
|
53
|
+
* // },
|
|
54
|
+
* // filters: { // LoggingFilter
|
|
55
|
+
* // qspThreshold: Number("long"), // required
|
|
56
|
+
* // },
|
|
57
|
+
* // },
|
|
58
|
+
* // ],
|
|
59
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
60
|
+
* // modifiedAt: new Date("TIMESTAMP"), // required
|
|
61
|
+
* // },
|
|
62
|
+
* // };
|
|
63
|
+
*
|
|
64
|
+
* ```
|
|
65
|
+
*
|
|
66
|
+
* @param DescribeQueryLoggingConfigurationCommandInput - {@link DescribeQueryLoggingConfigurationCommandInput}
|
|
67
|
+
* @returns {@link DescribeQueryLoggingConfigurationCommandOutput}
|
|
68
|
+
* @see {@link DescribeQueryLoggingConfigurationCommandInput} for command's `input` shape.
|
|
69
|
+
* @see {@link DescribeQueryLoggingConfigurationCommandOutput} for command's `response` shape.
|
|
70
|
+
* @see {@link AmpClientResolvedConfig | config} for AmpClient's `config` shape.
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
73
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link InternalServerException} (server fault)
|
|
76
|
+
* <p>An unexpected error occurred during the processing of the request.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
79
|
+
* <p>The request references a resources that doesn't exist.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ValidationException} (client fault)
|
|
82
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link AmpServiceException}
|
|
85
|
+
* <p>Base exception class for all service exceptions from Amp service.</p>
|
|
86
|
+
*
|
|
87
|
+
*
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
export declare class DescribeQueryLoggingConfigurationCommand extends DescribeQueryLoggingConfigurationCommand_base {
|
|
91
|
+
/** @internal type navigation helper, not in runtime. */
|
|
92
|
+
protected static __types: {
|
|
93
|
+
api: {
|
|
94
|
+
input: DescribeQueryLoggingConfigurationRequest;
|
|
95
|
+
output: DescribeQueryLoggingConfigurationResponse;
|
|
96
|
+
};
|
|
97
|
+
sdk: {
|
|
98
|
+
input: DescribeQueryLoggingConfigurationCommandInput;
|
|
99
|
+
output: DescribeQueryLoggingConfigurationCommandOutput;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
}
|
|
@@ -27,8 +27,7 @@ declare const DescribeRuleGroupsNamespaceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Returns complete information about one rule groups namespace. To retrieve a list of
|
|
31
|
-
* rule groups namespaces, use <code>ListRuleGroupsNamespaces</code>.</p>
|
|
30
|
+
* <p>Returns complete information about one rule groups namespace. To retrieve a list of rule groups namespaces, use <code>ListRuleGroupsNamespaces</code>.</p>
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -79,8 +78,7 @@ declare const DescribeRuleGroupsNamespaceCommand_base: {
|
|
|
79
78
|
* <p>The request was denied due to request throttling.</p>
|
|
80
79
|
*
|
|
81
80
|
* @throws {@link ValidationException} (client fault)
|
|
82
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
83
|
-
* service.</p>
|
|
81
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
84
82
|
*
|
|
85
83
|
* @throws {@link AmpServiceException}
|
|
86
84
|
* <p>Base exception class for all service exceptions from Amp service.</p>
|
|
@@ -27,8 +27,7 @@ declare const DescribeScraperCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>The <code>DescribeScraper</code> operation displays information about an existing
|
|
31
|
-
* scraper.</p>
|
|
30
|
+
* <p>The <code>DescribeScraper</code> operation displays information about an existing scraper.</p>
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -102,8 +101,7 @@ declare const DescribeScraperCommand_base: {
|
|
|
102
101
|
* <p>The request was denied due to request throttling.</p>
|
|
103
102
|
*
|
|
104
103
|
* @throws {@link ValidationException} (client fault)
|
|
105
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
106
|
-
* service.</p>
|
|
104
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
107
105
|
*
|
|
108
106
|
* @throws {@link AmpServiceException}
|
|
109
107
|
* <p>Base exception class for all service exceptions from Amp service.</p>
|
|
@@ -77,8 +77,7 @@ declare const DescribeWorkspaceCommand_base: {
|
|
|
77
77
|
* <p>The request was denied due to request throttling.</p>
|
|
78
78
|
*
|
|
79
79
|
* @throws {@link ValidationException} (client fault)
|
|
80
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
81
|
-
* service.</p>
|
|
80
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
82
81
|
*
|
|
83
82
|
* @throws {@link AmpServiceException}
|
|
84
83
|
* <p>Base exception class for all service exceptions from Amp service.</p>
|
|
@@ -27,8 +27,7 @@ declare const DescribeWorkspaceConfigurationCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Use this operation to return information about the configuration of a workspace. The configuration details
|
|
31
|
-
* returned include workspace configuration status, label set limits, and retention period.</p>
|
|
30
|
+
* <p>Use this operation to return information about the configuration of a workspace. The configuration details returned include workspace configuration status, label set limits, and retention period.</p>
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -81,8 +80,7 @@ declare const DescribeWorkspaceConfigurationCommand_base: {
|
|
|
81
80
|
* <p>The request was denied due to request throttling.</p>
|
|
82
81
|
*
|
|
83
82
|
* @throws {@link ValidationException} (client fault)
|
|
84
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
85
|
-
* service.</p>
|
|
83
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
86
84
|
*
|
|
87
85
|
* @throws {@link AmpServiceException}
|
|
88
86
|
* <p>Base exception class for all service exceptions from Amp service.</p>
|
|
@@ -27,8 +27,7 @@ declare const GetDefaultScraperConfigurationCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>The <code>GetDefaultScraperConfiguration</code> operation returns the default
|
|
31
|
-
* scraper configuration used when Amazon EKS creates a scraper for you.</p>
|
|
30
|
+
* <p>The <code>GetDefaultScraperConfiguration</code> operation returns the default scraper configuration used when Amazon EKS creates a scraper for you.</p>
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -82,8 +82,7 @@ declare const ListRuleGroupsNamespacesCommand_base: {
|
|
|
82
82
|
* <p>The request was denied due to request throttling.</p>
|
|
83
83
|
*
|
|
84
84
|
* @throws {@link ValidationException} (client fault)
|
|
85
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
86
|
-
* service.</p>
|
|
85
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
87
86
|
*
|
|
88
87
|
* @throws {@link AmpServiceException}
|
|
89
88
|
* <p>Base exception class for all service exceptions from Amp service.</p>
|
|
@@ -27,9 +27,7 @@ declare const ListScrapersCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>The <code>ListScrapers</code> operation lists all of the scrapers in
|
|
31
|
-
* your account. This includes scrapers being created or deleted. You can optionally
|
|
32
|
-
* filter the returned list.</p>
|
|
30
|
+
* <p>The <code>ListScrapers</code> operation lists all of the scrapers in your account. This includes scrapers being created or deleted. You can optionally filter the returned list.</p>
|
|
33
31
|
* @example
|
|
34
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
33
|
* ```javascript
|
|
@@ -106,8 +104,7 @@ declare const ListScrapersCommand_base: {
|
|
|
106
104
|
* <p>The request was denied due to request throttling.</p>
|
|
107
105
|
*
|
|
108
106
|
* @throws {@link ValidationException} (client fault)
|
|
109
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
110
|
-
* service.</p>
|
|
107
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
111
108
|
*
|
|
112
109
|
* @throws {@link AmpServiceException}
|
|
113
110
|
* <p>Base exception class for all service exceptions from Amp service.</p>
|
|
@@ -27,9 +27,7 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>The <code>ListTagsForResource</code> operation returns the tags that are associated
|
|
31
|
-
* with an Amazon Managed Service for Prometheus resource. Currently, the only resources that can be
|
|
32
|
-
* tagged are scrapers, workspaces, and rule groups namespaces. </p>
|
|
30
|
+
* <p>The <code>ListTagsForResource</code> operation returns the tags that are associated with an Amazon Managed Service for Prometheus resource. Currently, the only resources that can be tagged are scrapers, workspaces, and rule groups namespaces. </p>
|
|
33
31
|
* @example
|
|
34
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
33
|
* ```javascript
|
|
@@ -68,8 +66,7 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
68
66
|
* <p>The request was denied due to request throttling.</p>
|
|
69
67
|
*
|
|
70
68
|
* @throws {@link ValidationException} (client fault)
|
|
71
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
72
|
-
* service.</p>
|
|
69
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
73
70
|
*
|
|
74
71
|
* @throws {@link AmpServiceException}
|
|
75
72
|
* <p>Base exception class for all service exceptions from Amp service.</p>
|
|
@@ -27,8 +27,7 @@ declare const ListWorkspacesCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Lists all of the Amazon Managed Service for Prometheus workspaces in your account. This includes
|
|
31
|
-
* workspaces being created or deleted. </p>
|
|
30
|
+
* <p>Lists all of the Amazon Managed Service for Prometheus workspaces in your account. This includes workspaces being created or deleted. </p>
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -79,8 +78,7 @@ declare const ListWorkspacesCommand_base: {
|
|
|
79
78
|
* <p>The request was denied due to request throttling.</p>
|
|
80
79
|
*
|
|
81
80
|
* @throws {@link ValidationException} (client fault)
|
|
82
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
83
|
-
* service.</p>
|
|
81
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
84
82
|
*
|
|
85
83
|
* @throws {@link AmpServiceException}
|
|
86
84
|
* <p>Base exception class for all service exceptions from Amp service.</p>
|
|
@@ -27,9 +27,7 @@ declare const PutAlertManagerDefinitionCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Updates an existing alert manager definition in a workspace. If the workspace does not
|
|
31
|
-
* already have an alert manager definition, don't use this operation to create it.
|
|
32
|
-
* Instead, use <code>CreateAlertManagerDefinition</code>.</p>
|
|
30
|
+
* <p>Updates an existing alert manager definition in a workspace. If the workspace does not already have an alert manager definition, don't use this operation to create it. Instead, use <code>CreateAlertManagerDefinition</code>.</p>
|
|
33
31
|
* @example
|
|
34
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
33
|
* ```javascript
|
|
@@ -77,8 +75,7 @@ declare const PutAlertManagerDefinitionCommand_base: {
|
|
|
77
75
|
* <p>The request was denied due to request throttling.</p>
|
|
78
76
|
*
|
|
79
77
|
* @throws {@link ValidationException} (client fault)
|
|
80
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
81
|
-
* service.</p>
|
|
78
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
82
79
|
*
|
|
83
80
|
* @throws {@link AmpServiceException}
|
|
84
81
|
* <p>Base exception class for all service exceptions from Amp service.</p>
|
|
@@ -27,13 +27,7 @@ declare const PutRuleGroupsNamespaceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Updates an existing rule groups namespace within a workspace. A rule groups namespace
|
|
31
|
-
* is associated with exactly one rules file. A workspace can have multiple rule groups
|
|
32
|
-
* namespaces.</p>
|
|
33
|
-
* <p>Use this operation only to update existing rule groups namespaces. To create a new
|
|
34
|
-
* rule groups namespace, use <code>CreateRuleGroupsNamespace</code>.</p>
|
|
35
|
-
* <p>You can't use this operation to add tags to an existing rule groups namespace.
|
|
36
|
-
* Instead, use <code>TagResource</code>.</p>
|
|
30
|
+
* <p>Updates an existing rule groups namespace within a workspace. A rule groups namespace is associated with exactly one rules file. A workspace can have multiple rule groups namespaces.</p> <p>Use this operation only to update existing rule groups namespaces. To create a new rule groups namespace, use <code>CreateRuleGroupsNamespace</code>.</p> <p>You can't use this operation to add tags to an existing rule groups namespace. Instead, use <code>TagResource</code>.</p>
|
|
37
31
|
* @example
|
|
38
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
39
33
|
* ```javascript
|
|
@@ -87,8 +81,7 @@ declare const PutRuleGroupsNamespaceCommand_base: {
|
|
|
87
81
|
* <p>The request was denied due to request throttling.</p>
|
|
88
82
|
*
|
|
89
83
|
* @throws {@link ValidationException} (client fault)
|
|
90
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
91
|
-
* service.</p>
|
|
84
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
92
85
|
*
|
|
93
86
|
* @throws {@link AmpServiceException}
|
|
94
87
|
* <p>Base exception class for all service exceptions from Amp service.</p>
|
|
@@ -27,13 +27,7 @@ declare const TagResourceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>The <code>TagResource</code> operation associates tags with an Amazon Managed Service for Prometheus
|
|
31
|
-
* resource. The only resources that can be tagged are rule groups namespaces, scrapers,
|
|
32
|
-
* and workspaces.</p>
|
|
33
|
-
* <p>If you specify a new tag key for the resource, this tag is appended to the list of
|
|
34
|
-
* tags associated with the resource. If you specify a tag key that is already associated
|
|
35
|
-
* with the resource, the new tag value that you specify replaces the previous value for
|
|
36
|
-
* that tag. To remove a tag, use <code>UntagResource</code>.</p>
|
|
30
|
+
* <p>The <code>TagResource</code> operation associates tags with an Amazon Managed Service for Prometheus resource. The only resources that can be tagged are rule groups namespaces, scrapers, and workspaces.</p> <p>If you specify a new tag key for the resource, this tag is appended to the list of tags associated with the resource. If you specify a tag key that is already associated with the resource, the new tag value that you specify replaces the previous value for that tag. To remove a tag, use <code>UntagResource</code>.</p>
|
|
37
31
|
* @example
|
|
38
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
39
33
|
* ```javascript
|
|
@@ -71,8 +65,7 @@ declare const TagResourceCommand_base: {
|
|
|
71
65
|
* <p>The request was denied due to request throttling.</p>
|
|
72
66
|
*
|
|
73
67
|
* @throws {@link ValidationException} (client fault)
|
|
74
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
75
|
-
* service.</p>
|
|
68
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
76
69
|
*
|
|
77
70
|
* @throws {@link AmpServiceException}
|
|
78
71
|
* <p>Base exception class for all service exceptions from Amp service.</p>
|
|
@@ -27,8 +27,7 @@ declare const UntagResourceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Removes the specified tags from an Amazon Managed Service for Prometheus resource. The only resources
|
|
31
|
-
* that can be tagged are rule groups namespaces, scrapers, and workspaces. </p>
|
|
30
|
+
* <p>Removes the specified tags from an Amazon Managed Service for Prometheus resource. The only resources that can be tagged are rule groups namespaces, scrapers, and workspaces. </p>
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -66,8 +65,7 @@ declare const UntagResourceCommand_base: {
|
|
|
66
65
|
* <p>The request was denied due to request throttling.</p>
|
|
67
66
|
*
|
|
68
67
|
* @throws {@link ValidationException} (client fault)
|
|
69
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
70
|
-
* service.</p>
|
|
68
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
71
69
|
*
|
|
72
70
|
* @throws {@link AmpServiceException}
|
|
73
71
|
* <p>Base exception class for all service exceptions from Amp service.</p>
|
|
@@ -27,8 +27,7 @@ declare const UpdateLoggingConfigurationCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Updates the log group ARN or the workspace ID of the current logging
|
|
31
|
-
* configuration.</p>
|
|
30
|
+
* <p>Updates the log group ARN or the workspace ID of the current rules and alerting logging configuration.</p> <note> <p>These logging configurations are only for rules and alerting logs.</p> </note>
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -70,8 +69,7 @@ declare const UpdateLoggingConfigurationCommand_base: {
|
|
|
70
69
|
* <p>The request references a resources that doesn't exist.</p>
|
|
71
70
|
*
|
|
72
71
|
* @throws {@link ValidationException} (client fault)
|
|
73
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
74
|
-
* service.</p>
|
|
72
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
75
73
|
*
|
|
76
74
|
* @throws {@link AmpServiceException}
|
|
77
75
|
* <p>Base exception class for all service exceptions from Amp service.</p>
|