@aws-sdk/client-amp 3.883.0 → 3.887.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 +24 -0
- package/dist-cjs/index.js +187 -0
- package/dist-es/Amp.js +6 -0
- package/dist-es/commands/DeleteScraperLoggingConfigurationCommand.js +22 -0
- package/dist-es/commands/DescribeScraperLoggingConfigurationCommand.js +22 -0
- package/dist-es/commands/UpdateScraperLoggingConfigurationCommand.js +22 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +21 -0
- package/dist-es/protocols/Aws_restJson1.js +78 -0
- package/dist-types/Amp.d.ts +21 -0
- package/dist-types/AmpClient.d.ts +5 -2
- package/dist-types/commands/DeleteScraperLoggingConfigurationCommand.d.ts +86 -0
- package/dist-types/commands/DescribeScraperLoggingConfigurationCommand.d.ts +104 -0
- package/dist-types/commands/UpdateScraperLoggingConfigurationCommand.d.ts +105 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +225 -11
- package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
- package/dist-types/ts3.4/Amp.d.ts +69 -0
- package/dist-types/ts3.4/AmpClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/DeleteScraperLoggingConfigurationCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DescribeScraperLoggingConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateScraperLoggingConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +71 -3
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
- package/package.json +38 -38
package/dist-types/Amp.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ import { DeleteQueryLoggingConfigurationCommandInput, DeleteQueryLoggingConfigur
|
|
|
12
12
|
import { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "./commands/DeleteResourcePolicyCommand";
|
|
13
13
|
import { DeleteRuleGroupsNamespaceCommandInput, DeleteRuleGroupsNamespaceCommandOutput } from "./commands/DeleteRuleGroupsNamespaceCommand";
|
|
14
14
|
import { DeleteScraperCommandInput, DeleteScraperCommandOutput } from "./commands/DeleteScraperCommand";
|
|
15
|
+
import { DeleteScraperLoggingConfigurationCommandInput, DeleteScraperLoggingConfigurationCommandOutput } from "./commands/DeleteScraperLoggingConfigurationCommand";
|
|
15
16
|
import { DeleteWorkspaceCommandInput, DeleteWorkspaceCommandOutput } from "./commands/DeleteWorkspaceCommand";
|
|
16
17
|
import { DescribeAlertManagerDefinitionCommandInput, DescribeAlertManagerDefinitionCommandOutput } from "./commands/DescribeAlertManagerDefinitionCommand";
|
|
17
18
|
import { DescribeLoggingConfigurationCommandInput, DescribeLoggingConfigurationCommandOutput } from "./commands/DescribeLoggingConfigurationCommand";
|
|
@@ -19,6 +20,7 @@ import { DescribeQueryLoggingConfigurationCommandInput, DescribeQueryLoggingConf
|
|
|
19
20
|
import { DescribeResourcePolicyCommandInput, DescribeResourcePolicyCommandOutput } from "./commands/DescribeResourcePolicyCommand";
|
|
20
21
|
import { DescribeRuleGroupsNamespaceCommandInput, DescribeRuleGroupsNamespaceCommandOutput } from "./commands/DescribeRuleGroupsNamespaceCommand";
|
|
21
22
|
import { DescribeScraperCommandInput, DescribeScraperCommandOutput } from "./commands/DescribeScraperCommand";
|
|
23
|
+
import { DescribeScraperLoggingConfigurationCommandInput, DescribeScraperLoggingConfigurationCommandOutput } from "./commands/DescribeScraperLoggingConfigurationCommand";
|
|
22
24
|
import { DescribeWorkspaceCommandInput, DescribeWorkspaceCommandOutput } from "./commands/DescribeWorkspaceCommand";
|
|
23
25
|
import { DescribeWorkspaceConfigurationCommandInput, DescribeWorkspaceConfigurationCommandOutput } from "./commands/DescribeWorkspaceConfigurationCommand";
|
|
24
26
|
import { GetDefaultScraperConfigurationCommandInput, GetDefaultScraperConfigurationCommandOutput } from "./commands/GetDefaultScraperConfigurationCommand";
|
|
@@ -34,6 +36,7 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
|
|
|
34
36
|
import { UpdateLoggingConfigurationCommandInput, UpdateLoggingConfigurationCommandOutput } from "./commands/UpdateLoggingConfigurationCommand";
|
|
35
37
|
import { UpdateQueryLoggingConfigurationCommandInput, UpdateQueryLoggingConfigurationCommandOutput } from "./commands/UpdateQueryLoggingConfigurationCommand";
|
|
36
38
|
import { UpdateScraperCommandInput, UpdateScraperCommandOutput } from "./commands/UpdateScraperCommand";
|
|
39
|
+
import { UpdateScraperLoggingConfigurationCommandInput, UpdateScraperLoggingConfigurationCommandOutput } from "./commands/UpdateScraperLoggingConfigurationCommand";
|
|
37
40
|
import { UpdateWorkspaceAliasCommandInput, UpdateWorkspaceAliasCommandOutput } from "./commands/UpdateWorkspaceAliasCommand";
|
|
38
41
|
import { UpdateWorkspaceConfigurationCommandInput, UpdateWorkspaceConfigurationCommandOutput } from "./commands/UpdateWorkspaceConfigurationCommand";
|
|
39
42
|
export interface Amp {
|
|
@@ -110,6 +113,12 @@ export interface Amp {
|
|
|
110
113
|
deleteScraper(args: DeleteScraperCommandInput, options?: __HttpHandlerOptions): Promise<DeleteScraperCommandOutput>;
|
|
111
114
|
deleteScraper(args: DeleteScraperCommandInput, cb: (err: any, data?: DeleteScraperCommandOutput) => void): void;
|
|
112
115
|
deleteScraper(args: DeleteScraperCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteScraperCommandOutput) => void): void;
|
|
116
|
+
/**
|
|
117
|
+
* @see {@link DeleteScraperLoggingConfigurationCommand}
|
|
118
|
+
*/
|
|
119
|
+
deleteScraperLoggingConfiguration(args: DeleteScraperLoggingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteScraperLoggingConfigurationCommandOutput>;
|
|
120
|
+
deleteScraperLoggingConfiguration(args: DeleteScraperLoggingConfigurationCommandInput, cb: (err: any, data?: DeleteScraperLoggingConfigurationCommandOutput) => void): void;
|
|
121
|
+
deleteScraperLoggingConfiguration(args: DeleteScraperLoggingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteScraperLoggingConfigurationCommandOutput) => void): void;
|
|
113
122
|
/**
|
|
114
123
|
* @see {@link DeleteWorkspaceCommand}
|
|
115
124
|
*/
|
|
@@ -152,6 +161,12 @@ export interface Amp {
|
|
|
152
161
|
describeScraper(args: DescribeScraperCommandInput, options?: __HttpHandlerOptions): Promise<DescribeScraperCommandOutput>;
|
|
153
162
|
describeScraper(args: DescribeScraperCommandInput, cb: (err: any, data?: DescribeScraperCommandOutput) => void): void;
|
|
154
163
|
describeScraper(args: DescribeScraperCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeScraperCommandOutput) => void): void;
|
|
164
|
+
/**
|
|
165
|
+
* @see {@link DescribeScraperLoggingConfigurationCommand}
|
|
166
|
+
*/
|
|
167
|
+
describeScraperLoggingConfiguration(args: DescribeScraperLoggingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeScraperLoggingConfigurationCommandOutput>;
|
|
168
|
+
describeScraperLoggingConfiguration(args: DescribeScraperLoggingConfigurationCommandInput, cb: (err: any, data?: DescribeScraperLoggingConfigurationCommandOutput) => void): void;
|
|
169
|
+
describeScraperLoggingConfiguration(args: DescribeScraperLoggingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeScraperLoggingConfigurationCommandOutput) => void): void;
|
|
155
170
|
/**
|
|
156
171
|
* @see {@link DescribeWorkspaceCommand}
|
|
157
172
|
*/
|
|
@@ -245,6 +260,12 @@ export interface Amp {
|
|
|
245
260
|
updateScraper(args: UpdateScraperCommandInput, options?: __HttpHandlerOptions): Promise<UpdateScraperCommandOutput>;
|
|
246
261
|
updateScraper(args: UpdateScraperCommandInput, cb: (err: any, data?: UpdateScraperCommandOutput) => void): void;
|
|
247
262
|
updateScraper(args: UpdateScraperCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateScraperCommandOutput) => void): void;
|
|
263
|
+
/**
|
|
264
|
+
* @see {@link UpdateScraperLoggingConfigurationCommand}
|
|
265
|
+
*/
|
|
266
|
+
updateScraperLoggingConfiguration(args: UpdateScraperLoggingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateScraperLoggingConfigurationCommandOutput>;
|
|
267
|
+
updateScraperLoggingConfiguration(args: UpdateScraperLoggingConfigurationCommandInput, cb: (err: any, data?: UpdateScraperLoggingConfigurationCommandOutput) => void): void;
|
|
268
|
+
updateScraperLoggingConfiguration(args: UpdateScraperLoggingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateScraperLoggingConfigurationCommandOutput) => void): void;
|
|
248
269
|
/**
|
|
249
270
|
* @see {@link UpdateWorkspaceAliasCommand}
|
|
250
271
|
*/
|
|
@@ -19,6 +19,7 @@ import { DeleteQueryLoggingConfigurationCommandInput, DeleteQueryLoggingConfigur
|
|
|
19
19
|
import { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "./commands/DeleteResourcePolicyCommand";
|
|
20
20
|
import { DeleteRuleGroupsNamespaceCommandInput, DeleteRuleGroupsNamespaceCommandOutput } from "./commands/DeleteRuleGroupsNamespaceCommand";
|
|
21
21
|
import { DeleteScraperCommandInput, DeleteScraperCommandOutput } from "./commands/DeleteScraperCommand";
|
|
22
|
+
import { DeleteScraperLoggingConfigurationCommandInput, DeleteScraperLoggingConfigurationCommandOutput } from "./commands/DeleteScraperLoggingConfigurationCommand";
|
|
22
23
|
import { DeleteWorkspaceCommandInput, DeleteWorkspaceCommandOutput } from "./commands/DeleteWorkspaceCommand";
|
|
23
24
|
import { DescribeAlertManagerDefinitionCommandInput, DescribeAlertManagerDefinitionCommandOutput } from "./commands/DescribeAlertManagerDefinitionCommand";
|
|
24
25
|
import { DescribeLoggingConfigurationCommandInput, DescribeLoggingConfigurationCommandOutput } from "./commands/DescribeLoggingConfigurationCommand";
|
|
@@ -26,6 +27,7 @@ import { DescribeQueryLoggingConfigurationCommandInput, DescribeQueryLoggingConf
|
|
|
26
27
|
import { DescribeResourcePolicyCommandInput, DescribeResourcePolicyCommandOutput } from "./commands/DescribeResourcePolicyCommand";
|
|
27
28
|
import { DescribeRuleGroupsNamespaceCommandInput, DescribeRuleGroupsNamespaceCommandOutput } from "./commands/DescribeRuleGroupsNamespaceCommand";
|
|
28
29
|
import { DescribeScraperCommandInput, DescribeScraperCommandOutput } from "./commands/DescribeScraperCommand";
|
|
30
|
+
import { DescribeScraperLoggingConfigurationCommandInput, DescribeScraperLoggingConfigurationCommandOutput } from "./commands/DescribeScraperLoggingConfigurationCommand";
|
|
29
31
|
import { DescribeWorkspaceCommandInput, DescribeWorkspaceCommandOutput } from "./commands/DescribeWorkspaceCommand";
|
|
30
32
|
import { DescribeWorkspaceConfigurationCommandInput, DescribeWorkspaceConfigurationCommandOutput } from "./commands/DescribeWorkspaceConfigurationCommand";
|
|
31
33
|
import { GetDefaultScraperConfigurationCommandInput, GetDefaultScraperConfigurationCommandOutput } from "./commands/GetDefaultScraperConfigurationCommand";
|
|
@@ -41,6 +43,7 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
|
|
|
41
43
|
import { UpdateLoggingConfigurationCommandInput, UpdateLoggingConfigurationCommandOutput } from "./commands/UpdateLoggingConfigurationCommand";
|
|
42
44
|
import { UpdateQueryLoggingConfigurationCommandInput, UpdateQueryLoggingConfigurationCommandOutput } from "./commands/UpdateQueryLoggingConfigurationCommand";
|
|
43
45
|
import { UpdateScraperCommandInput, UpdateScraperCommandOutput } from "./commands/UpdateScraperCommand";
|
|
46
|
+
import { UpdateScraperLoggingConfigurationCommandInput, UpdateScraperLoggingConfigurationCommandOutput } from "./commands/UpdateScraperLoggingConfigurationCommand";
|
|
44
47
|
import { UpdateWorkspaceAliasCommandInput, UpdateWorkspaceAliasCommandOutput } from "./commands/UpdateWorkspaceAliasCommand";
|
|
45
48
|
import { UpdateWorkspaceConfigurationCommandInput, UpdateWorkspaceConfigurationCommandOutput } from "./commands/UpdateWorkspaceConfigurationCommand";
|
|
46
49
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
@@ -49,11 +52,11 @@ export { __Client };
|
|
|
49
52
|
/**
|
|
50
53
|
* @public
|
|
51
54
|
*/
|
|
52
|
-
export type ServiceInputTypes = CreateAlertManagerDefinitionCommandInput | CreateLoggingConfigurationCommandInput | CreateQueryLoggingConfigurationCommandInput | CreateRuleGroupsNamespaceCommandInput | CreateScraperCommandInput | CreateWorkspaceCommandInput | DeleteAlertManagerDefinitionCommandInput | DeleteLoggingConfigurationCommandInput | DeleteQueryLoggingConfigurationCommandInput | DeleteResourcePolicyCommandInput | DeleteRuleGroupsNamespaceCommandInput | DeleteScraperCommandInput | DeleteWorkspaceCommandInput | DescribeAlertManagerDefinitionCommandInput | DescribeLoggingConfigurationCommandInput | DescribeQueryLoggingConfigurationCommandInput | DescribeResourcePolicyCommandInput | DescribeRuleGroupsNamespaceCommandInput | DescribeScraperCommandInput | DescribeWorkspaceCommandInput | DescribeWorkspaceConfigurationCommandInput | GetDefaultScraperConfigurationCommandInput | ListRuleGroupsNamespacesCommandInput | ListScrapersCommandInput | ListTagsForResourceCommandInput | ListWorkspacesCommandInput | PutAlertManagerDefinitionCommandInput | PutResourcePolicyCommandInput | PutRuleGroupsNamespaceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateLoggingConfigurationCommandInput | UpdateQueryLoggingConfigurationCommandInput | UpdateScraperCommandInput | UpdateWorkspaceAliasCommandInput | UpdateWorkspaceConfigurationCommandInput;
|
|
55
|
+
export type ServiceInputTypes = CreateAlertManagerDefinitionCommandInput | CreateLoggingConfigurationCommandInput | CreateQueryLoggingConfigurationCommandInput | CreateRuleGroupsNamespaceCommandInput | CreateScraperCommandInput | CreateWorkspaceCommandInput | DeleteAlertManagerDefinitionCommandInput | DeleteLoggingConfigurationCommandInput | DeleteQueryLoggingConfigurationCommandInput | DeleteResourcePolicyCommandInput | DeleteRuleGroupsNamespaceCommandInput | DeleteScraperCommandInput | DeleteScraperLoggingConfigurationCommandInput | DeleteWorkspaceCommandInput | DescribeAlertManagerDefinitionCommandInput | DescribeLoggingConfigurationCommandInput | DescribeQueryLoggingConfigurationCommandInput | DescribeResourcePolicyCommandInput | DescribeRuleGroupsNamespaceCommandInput | DescribeScraperCommandInput | DescribeScraperLoggingConfigurationCommandInput | DescribeWorkspaceCommandInput | DescribeWorkspaceConfigurationCommandInput | GetDefaultScraperConfigurationCommandInput | ListRuleGroupsNamespacesCommandInput | ListScrapersCommandInput | ListTagsForResourceCommandInput | ListWorkspacesCommandInput | PutAlertManagerDefinitionCommandInput | PutResourcePolicyCommandInput | PutRuleGroupsNamespaceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateLoggingConfigurationCommandInput | UpdateQueryLoggingConfigurationCommandInput | UpdateScraperCommandInput | UpdateScraperLoggingConfigurationCommandInput | UpdateWorkspaceAliasCommandInput | UpdateWorkspaceConfigurationCommandInput;
|
|
53
56
|
/**
|
|
54
57
|
* @public
|
|
55
58
|
*/
|
|
56
|
-
export type ServiceOutputTypes = CreateAlertManagerDefinitionCommandOutput | CreateLoggingConfigurationCommandOutput | CreateQueryLoggingConfigurationCommandOutput | CreateRuleGroupsNamespaceCommandOutput | CreateScraperCommandOutput | CreateWorkspaceCommandOutput | DeleteAlertManagerDefinitionCommandOutput | DeleteLoggingConfigurationCommandOutput | DeleteQueryLoggingConfigurationCommandOutput | DeleteResourcePolicyCommandOutput | DeleteRuleGroupsNamespaceCommandOutput | DeleteScraperCommandOutput | DeleteWorkspaceCommandOutput | DescribeAlertManagerDefinitionCommandOutput | DescribeLoggingConfigurationCommandOutput | DescribeQueryLoggingConfigurationCommandOutput | DescribeResourcePolicyCommandOutput | DescribeRuleGroupsNamespaceCommandOutput | DescribeScraperCommandOutput | DescribeWorkspaceCommandOutput | DescribeWorkspaceConfigurationCommandOutput | GetDefaultScraperConfigurationCommandOutput | ListRuleGroupsNamespacesCommandOutput | ListScrapersCommandOutput | ListTagsForResourceCommandOutput | ListWorkspacesCommandOutput | PutAlertManagerDefinitionCommandOutput | PutResourcePolicyCommandOutput | PutRuleGroupsNamespaceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateLoggingConfigurationCommandOutput | UpdateQueryLoggingConfigurationCommandOutput | UpdateScraperCommandOutput | UpdateWorkspaceAliasCommandOutput | UpdateWorkspaceConfigurationCommandOutput;
|
|
59
|
+
export type ServiceOutputTypes = CreateAlertManagerDefinitionCommandOutput | CreateLoggingConfigurationCommandOutput | CreateQueryLoggingConfigurationCommandOutput | CreateRuleGroupsNamespaceCommandOutput | CreateScraperCommandOutput | CreateWorkspaceCommandOutput | DeleteAlertManagerDefinitionCommandOutput | DeleteLoggingConfigurationCommandOutput | DeleteQueryLoggingConfigurationCommandOutput | DeleteResourcePolicyCommandOutput | DeleteRuleGroupsNamespaceCommandOutput | DeleteScraperCommandOutput | DeleteScraperLoggingConfigurationCommandOutput | DeleteWorkspaceCommandOutput | DescribeAlertManagerDefinitionCommandOutput | DescribeLoggingConfigurationCommandOutput | DescribeQueryLoggingConfigurationCommandOutput | DescribeResourcePolicyCommandOutput | DescribeRuleGroupsNamespaceCommandOutput | DescribeScraperCommandOutput | DescribeScraperLoggingConfigurationCommandOutput | DescribeWorkspaceCommandOutput | DescribeWorkspaceConfigurationCommandOutput | GetDefaultScraperConfigurationCommandOutput | ListRuleGroupsNamespacesCommandOutput | ListScrapersCommandOutput | ListTagsForResourceCommandOutput | ListWorkspacesCommandOutput | PutAlertManagerDefinitionCommandOutput | PutResourcePolicyCommandOutput | PutRuleGroupsNamespaceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateLoggingConfigurationCommandOutput | UpdateQueryLoggingConfigurationCommandOutput | UpdateScraperCommandOutput | UpdateScraperLoggingConfigurationCommandOutput | UpdateWorkspaceAliasCommandOutput | UpdateWorkspaceConfigurationCommandOutput;
|
|
57
60
|
/**
|
|
58
61
|
* @public
|
|
59
62
|
*/
|
|
@@ -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 { DeleteScraperLoggingConfigurationRequest } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteScraperLoggingConfigurationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteScraperLoggingConfigurationCommandInput extends DeleteScraperLoggingConfigurationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteScraperLoggingConfigurationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteScraperLoggingConfigurationCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteScraperLoggingConfigurationCommand_base: {
|
|
25
|
+
new (input: DeleteScraperLoggingConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteScraperLoggingConfigurationCommandInput, DeleteScraperLoggingConfigurationCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteScraperLoggingConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteScraperLoggingConfigurationCommandInput, DeleteScraperLoggingConfigurationCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes the logging configuration for a Amazon Managed Service for Prometheus scraper.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { AmpClient, DeleteScraperLoggingConfigurationCommand } from "@aws-sdk/client-amp"; // ES Modules import
|
|
35
|
+
* // const { AmpClient, DeleteScraperLoggingConfigurationCommand } = require("@aws-sdk/client-amp"); // CommonJS import
|
|
36
|
+
* const client = new AmpClient(config);
|
|
37
|
+
* const input = { // DeleteScraperLoggingConfigurationRequest
|
|
38
|
+
* scraperId: "STRING_VALUE", // required
|
|
39
|
+
* clientToken: "STRING_VALUE",
|
|
40
|
+
* };
|
|
41
|
+
* const command = new DeleteScraperLoggingConfigurationCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // {};
|
|
44
|
+
*
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* @param DeleteScraperLoggingConfigurationCommandInput - {@link DeleteScraperLoggingConfigurationCommandInput}
|
|
48
|
+
* @returns {@link DeleteScraperLoggingConfigurationCommandOutput}
|
|
49
|
+
* @see {@link DeleteScraperLoggingConfigurationCommandInput} for command's `input` shape.
|
|
50
|
+
* @see {@link DeleteScraperLoggingConfigurationCommandOutput} 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 DeleteScraperLoggingConfigurationCommand extends DeleteScraperLoggingConfigurationCommand_base {
|
|
75
|
+
/** @internal type navigation helper, not in runtime. */
|
|
76
|
+
protected static __types: {
|
|
77
|
+
api: {
|
|
78
|
+
input: DeleteScraperLoggingConfigurationRequest;
|
|
79
|
+
output: {};
|
|
80
|
+
};
|
|
81
|
+
sdk: {
|
|
82
|
+
input: DeleteScraperLoggingConfigurationCommandInput;
|
|
83
|
+
output: DeleteScraperLoggingConfigurationCommandOutput;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
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 { DescribeScraperLoggingConfigurationRequest, DescribeScraperLoggingConfigurationResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DescribeScraperLoggingConfigurationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DescribeScraperLoggingConfigurationCommandInput extends DescribeScraperLoggingConfigurationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DescribeScraperLoggingConfigurationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DescribeScraperLoggingConfigurationCommandOutput extends DescribeScraperLoggingConfigurationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DescribeScraperLoggingConfigurationCommand_base: {
|
|
25
|
+
new (input: DescribeScraperLoggingConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeScraperLoggingConfigurationCommandInput, DescribeScraperLoggingConfigurationCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DescribeScraperLoggingConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeScraperLoggingConfigurationCommandInput, DescribeScraperLoggingConfigurationCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Describes the logging configuration for a Amazon Managed Service for Prometheus scraper.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { AmpClient, DescribeScraperLoggingConfigurationCommand } from "@aws-sdk/client-amp"; // ES Modules import
|
|
35
|
+
* // const { AmpClient, DescribeScraperLoggingConfigurationCommand } = require("@aws-sdk/client-amp"); // CommonJS import
|
|
36
|
+
* const client = new AmpClient(config);
|
|
37
|
+
* const input = { // DescribeScraperLoggingConfigurationRequest
|
|
38
|
+
* scraperId: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new DescribeScraperLoggingConfigurationCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // DescribeScraperLoggingConfigurationResponse
|
|
43
|
+
* // status: { // ScraperLoggingConfigurationStatus
|
|
44
|
+
* // statusCode: "STRING_VALUE", // required
|
|
45
|
+
* // statusReason: "STRING_VALUE",
|
|
46
|
+
* // },
|
|
47
|
+
* // scraperId: "STRING_VALUE", // required
|
|
48
|
+
* // loggingDestination: { // ScraperLoggingDestination Union: only one key present
|
|
49
|
+
* // cloudWatchLogs: { // CloudWatchLogDestination
|
|
50
|
+
* // logGroupArn: "STRING_VALUE", // required
|
|
51
|
+
* // },
|
|
52
|
+
* // },
|
|
53
|
+
* // scraperComponents: [ // ScraperComponents // required
|
|
54
|
+
* // { // ScraperComponent
|
|
55
|
+
* // type: "STRING_VALUE", // required
|
|
56
|
+
* // config: { // ComponentConfig
|
|
57
|
+
* // options: { // StringMap
|
|
58
|
+
* // "<keys>": "STRING_VALUE",
|
|
59
|
+
* // },
|
|
60
|
+
* // },
|
|
61
|
+
* // },
|
|
62
|
+
* // ],
|
|
63
|
+
* // modifiedAt: new Date("TIMESTAMP"), // required
|
|
64
|
+
* // };
|
|
65
|
+
*
|
|
66
|
+
* ```
|
|
67
|
+
*
|
|
68
|
+
* @param DescribeScraperLoggingConfigurationCommandInput - {@link DescribeScraperLoggingConfigurationCommandInput}
|
|
69
|
+
* @returns {@link DescribeScraperLoggingConfigurationCommandOutput}
|
|
70
|
+
* @see {@link DescribeScraperLoggingConfigurationCommandInput} for command's `input` shape.
|
|
71
|
+
* @see {@link DescribeScraperLoggingConfigurationCommandOutput} for command's `response` shape.
|
|
72
|
+
* @see {@link AmpClientResolvedConfig | config} for AmpClient's `config` shape.
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
75
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link InternalServerException} (server fault)
|
|
78
|
+
* <p>An unexpected error occurred during the processing of the request.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
81
|
+
* <p>The request references a resources that doesn't exist.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ValidationException} (client fault)
|
|
84
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link AmpServiceException}
|
|
87
|
+
* <p>Base exception class for all service exceptions from Amp service.</p>
|
|
88
|
+
*
|
|
89
|
+
*
|
|
90
|
+
* @public
|
|
91
|
+
*/
|
|
92
|
+
export declare class DescribeScraperLoggingConfigurationCommand extends DescribeScraperLoggingConfigurationCommand_base {
|
|
93
|
+
/** @internal type navigation helper, not in runtime. */
|
|
94
|
+
protected static __types: {
|
|
95
|
+
api: {
|
|
96
|
+
input: DescribeScraperLoggingConfigurationRequest;
|
|
97
|
+
output: DescribeScraperLoggingConfigurationResponse;
|
|
98
|
+
};
|
|
99
|
+
sdk: {
|
|
100
|
+
input: DescribeScraperLoggingConfigurationCommandInput;
|
|
101
|
+
output: DescribeScraperLoggingConfigurationCommandOutput;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
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 { UpdateScraperLoggingConfigurationRequest, UpdateScraperLoggingConfigurationResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateScraperLoggingConfigurationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateScraperLoggingConfigurationCommandInput extends UpdateScraperLoggingConfigurationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateScraperLoggingConfigurationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateScraperLoggingConfigurationCommandOutput extends UpdateScraperLoggingConfigurationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateScraperLoggingConfigurationCommand_base: {
|
|
25
|
+
new (input: UpdateScraperLoggingConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateScraperLoggingConfigurationCommandInput, UpdateScraperLoggingConfigurationCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateScraperLoggingConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateScraperLoggingConfigurationCommandInput, UpdateScraperLoggingConfigurationCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Updates the logging configuration for a Amazon Managed Service for Prometheus scraper.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { AmpClient, UpdateScraperLoggingConfigurationCommand } from "@aws-sdk/client-amp"; // ES Modules import
|
|
35
|
+
* // const { AmpClient, UpdateScraperLoggingConfigurationCommand } = require("@aws-sdk/client-amp"); // CommonJS import
|
|
36
|
+
* const client = new AmpClient(config);
|
|
37
|
+
* const input = { // UpdateScraperLoggingConfigurationRequest
|
|
38
|
+
* scraperId: "STRING_VALUE", // required
|
|
39
|
+
* loggingDestination: { // ScraperLoggingDestination Union: only one key present
|
|
40
|
+
* cloudWatchLogs: { // CloudWatchLogDestination
|
|
41
|
+
* logGroupArn: "STRING_VALUE", // required
|
|
42
|
+
* },
|
|
43
|
+
* },
|
|
44
|
+
* scraperComponents: [ // ScraperComponents
|
|
45
|
+
* { // ScraperComponent
|
|
46
|
+
* type: "STRING_VALUE", // required
|
|
47
|
+
* config: { // ComponentConfig
|
|
48
|
+
* options: { // StringMap
|
|
49
|
+
* "<keys>": "STRING_VALUE",
|
|
50
|
+
* },
|
|
51
|
+
* },
|
|
52
|
+
* },
|
|
53
|
+
* ],
|
|
54
|
+
* };
|
|
55
|
+
* const command = new UpdateScraperLoggingConfigurationCommand(input);
|
|
56
|
+
* const response = await client.send(command);
|
|
57
|
+
* // { // UpdateScraperLoggingConfigurationResponse
|
|
58
|
+
* // status: { // ScraperLoggingConfigurationStatus
|
|
59
|
+
* // statusCode: "STRING_VALUE", // required
|
|
60
|
+
* // statusReason: "STRING_VALUE",
|
|
61
|
+
* // },
|
|
62
|
+
* // };
|
|
63
|
+
*
|
|
64
|
+
* ```
|
|
65
|
+
*
|
|
66
|
+
* @param UpdateScraperLoggingConfigurationCommandInput - {@link UpdateScraperLoggingConfigurationCommandInput}
|
|
67
|
+
* @returns {@link UpdateScraperLoggingConfigurationCommandOutput}
|
|
68
|
+
* @see {@link UpdateScraperLoggingConfigurationCommandInput} for command's `input` shape.
|
|
69
|
+
* @see {@link UpdateScraperLoggingConfigurationCommandOutput} 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 ConflictException} (client fault)
|
|
76
|
+
* <p>The request would cause an inconsistent state.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link InternalServerException} (server fault)
|
|
79
|
+
* <p>An unexpected error occurred during the processing of the request.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
82
|
+
* <p>The request references a resources that doesn't exist.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ValidationException} (client fault)
|
|
85
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link AmpServiceException}
|
|
88
|
+
* <p>Base exception class for all service exceptions from Amp service.</p>
|
|
89
|
+
*
|
|
90
|
+
*
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
export declare class UpdateScraperLoggingConfigurationCommand extends UpdateScraperLoggingConfigurationCommand_base {
|
|
94
|
+
/** @internal type navigation helper, not in runtime. */
|
|
95
|
+
protected static __types: {
|
|
96
|
+
api: {
|
|
97
|
+
input: UpdateScraperLoggingConfigurationRequest;
|
|
98
|
+
output: UpdateScraperLoggingConfigurationResponse;
|
|
99
|
+
};
|
|
100
|
+
sdk: {
|
|
101
|
+
input: UpdateScraperLoggingConfigurationCommandInput;
|
|
102
|
+
output: UpdateScraperLoggingConfigurationCommandOutput;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
}
|
|
@@ -10,6 +10,7 @@ export * from "./DeleteQueryLoggingConfigurationCommand";
|
|
|
10
10
|
export * from "./DeleteResourcePolicyCommand";
|
|
11
11
|
export * from "./DeleteRuleGroupsNamespaceCommand";
|
|
12
12
|
export * from "./DeleteScraperCommand";
|
|
13
|
+
export * from "./DeleteScraperLoggingConfigurationCommand";
|
|
13
14
|
export * from "./DeleteWorkspaceCommand";
|
|
14
15
|
export * from "./DescribeAlertManagerDefinitionCommand";
|
|
15
16
|
export * from "./DescribeLoggingConfigurationCommand";
|
|
@@ -17,6 +18,7 @@ export * from "./DescribeQueryLoggingConfigurationCommand";
|
|
|
17
18
|
export * from "./DescribeResourcePolicyCommand";
|
|
18
19
|
export * from "./DescribeRuleGroupsNamespaceCommand";
|
|
19
20
|
export * from "./DescribeScraperCommand";
|
|
21
|
+
export * from "./DescribeScraperLoggingConfigurationCommand";
|
|
20
22
|
export * from "./DescribeWorkspaceCommand";
|
|
21
23
|
export * from "./DescribeWorkspaceConfigurationCommand";
|
|
22
24
|
export * from "./GetDefaultScraperConfigurationCommand";
|
|
@@ -32,5 +34,6 @@ export * from "./UntagResourceCommand";
|
|
|
32
34
|
export * from "./UpdateLoggingConfigurationCommand";
|
|
33
35
|
export * from "./UpdateQueryLoggingConfigurationCommand";
|
|
34
36
|
export * from "./UpdateScraperCommand";
|
|
37
|
+
export * from "./UpdateScraperLoggingConfigurationCommand";
|
|
35
38
|
export * from "./UpdateWorkspaceAliasCommand";
|
|
36
39
|
export * from "./UpdateWorkspaceConfigurationCommand";
|