@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.
Files changed (59) hide show
  1. package/README.md +33 -18
  2. package/dist-cjs/index.js +216 -0
  3. package/dist-es/Amp.js +8 -0
  4. package/dist-es/commands/CreateQueryLoggingConfigurationCommand.js +22 -0
  5. package/dist-es/commands/DeleteQueryLoggingConfigurationCommand.js +22 -0
  6. package/dist-es/commands/DescribeQueryLoggingConfigurationCommand.js +22 -0
  7. package/dist-es/commands/UpdateQueryLoggingConfigurationCommand.js +22 -0
  8. package/dist-es/commands/index.js +4 -0
  9. package/dist-es/models/models_0.js +8 -0
  10. package/dist-es/protocols/Aws_restJson1.js +112 -0
  11. package/dist-types/Amp.d.ts +29 -18
  12. package/dist-types/AmpClient.d.ts +7 -20
  13. package/dist-types/commands/CreateAlertManagerDefinitionCommand.d.ts +2 -6
  14. package/dist-types/commands/CreateLoggingConfigurationCommand.d.ts +2 -5
  15. package/dist-types/commands/CreateQueryLoggingConfigurationCommand.d.ts +98 -0
  16. package/dist-types/commands/CreateRuleGroupsNamespaceCommand.d.ts +2 -7
  17. package/dist-types/commands/CreateScraperCommand.d.ts +2 -20
  18. package/dist-types/commands/CreateWorkspaceCommand.d.ts +2 -5
  19. package/dist-types/commands/DeleteAlertManagerDefinitionCommand.d.ts +1 -2
  20. package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +2 -3
  21. package/dist-types/commands/DeleteQueryLoggingConfigurationCommand.d.ts +86 -0
  22. package/dist-types/commands/DeleteRuleGroupsNamespaceCommand.d.ts +1 -2
  23. package/dist-types/commands/DeleteScraperCommand.d.ts +2 -4
  24. package/dist-types/commands/DeleteWorkspaceCommand.d.ts +2 -7
  25. package/dist-types/commands/DescribeAlertManagerDefinitionCommand.d.ts +2 -4
  26. package/dist-types/commands/DescribeLoggingConfigurationCommand.d.ts +2 -4
  27. package/dist-types/commands/DescribeQueryLoggingConfigurationCommand.d.ts +102 -0
  28. package/dist-types/commands/DescribeRuleGroupsNamespaceCommand.d.ts +2 -4
  29. package/dist-types/commands/DescribeScraperCommand.d.ts +2 -4
  30. package/dist-types/commands/DescribeWorkspaceCommand.d.ts +1 -2
  31. package/dist-types/commands/DescribeWorkspaceConfigurationCommand.d.ts +2 -4
  32. package/dist-types/commands/GetDefaultScraperConfigurationCommand.d.ts +1 -2
  33. package/dist-types/commands/ListRuleGroupsNamespacesCommand.d.ts +1 -2
  34. package/dist-types/commands/ListScrapersCommand.d.ts +2 -5
  35. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -5
  36. package/dist-types/commands/ListWorkspacesCommand.d.ts +2 -4
  37. package/dist-types/commands/PutAlertManagerDefinitionCommand.d.ts +2 -5
  38. package/dist-types/commands/PutRuleGroupsNamespaceCommand.d.ts +2 -9
  39. package/dist-types/commands/TagResourceCommand.d.ts +2 -9
  40. package/dist-types/commands/UntagResourceCommand.d.ts +2 -4
  41. package/dist-types/commands/UpdateLoggingConfigurationCommand.d.ts +2 -4
  42. package/dist-types/commands/UpdateQueryLoggingConfigurationCommand.d.ts +101 -0
  43. package/dist-types/commands/UpdateScraperCommand.d.ts +2 -6
  44. package/dist-types/commands/UpdateWorkspaceAliasCommand.d.ts +1 -2
  45. package/dist-types/commands/UpdateWorkspaceConfigurationCommand.d.ts +2 -5
  46. package/dist-types/commands/index.d.ts +4 -0
  47. package/dist-types/index.d.ts +1 -18
  48. package/dist-types/models/models_0.d.ts +294 -207
  49. package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
  50. package/dist-types/ts3.4/Amp.d.ts +74 -0
  51. package/dist-types/ts3.4/AmpClient.d.ts +24 -0
  52. package/dist-types/ts3.4/commands/CreateQueryLoggingConfigurationCommand.d.ts +51 -0
  53. package/dist-types/ts3.4/commands/DeleteQueryLoggingConfigurationCommand.d.ts +47 -0
  54. package/dist-types/ts3.4/commands/DescribeQueryLoggingConfigurationCommand.d.ts +51 -0
  55. package/dist-types/ts3.4/commands/UpdateQueryLoggingConfigurationCommand.d.ts +51 -0
  56. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  57. package/dist-types/ts3.4/models/models_0.d.ts +57 -0
  58. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
  59. package/package.json +5 -5
@@ -2,16 +2,19 @@ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@s
2
2
  import { SerdeContext as __SerdeContext } from "@smithy/types";
3
3
  import { CreateAlertManagerDefinitionCommandInput, CreateAlertManagerDefinitionCommandOutput } from "../commands/CreateAlertManagerDefinitionCommand";
4
4
  import { CreateLoggingConfigurationCommandInput, CreateLoggingConfigurationCommandOutput } from "../commands/CreateLoggingConfigurationCommand";
5
+ import { CreateQueryLoggingConfigurationCommandInput, CreateQueryLoggingConfigurationCommandOutput } from "../commands/CreateQueryLoggingConfigurationCommand";
5
6
  import { CreateRuleGroupsNamespaceCommandInput, CreateRuleGroupsNamespaceCommandOutput } from "../commands/CreateRuleGroupsNamespaceCommand";
6
7
  import { CreateScraperCommandInput, CreateScraperCommandOutput } from "../commands/CreateScraperCommand";
7
8
  import { CreateWorkspaceCommandInput, CreateWorkspaceCommandOutput } from "../commands/CreateWorkspaceCommand";
8
9
  import { DeleteAlertManagerDefinitionCommandInput, DeleteAlertManagerDefinitionCommandOutput } from "../commands/DeleteAlertManagerDefinitionCommand";
9
10
  import { DeleteLoggingConfigurationCommandInput, DeleteLoggingConfigurationCommandOutput } from "../commands/DeleteLoggingConfigurationCommand";
11
+ import { DeleteQueryLoggingConfigurationCommandInput, DeleteQueryLoggingConfigurationCommandOutput } from "../commands/DeleteQueryLoggingConfigurationCommand";
10
12
  import { DeleteRuleGroupsNamespaceCommandInput, DeleteRuleGroupsNamespaceCommandOutput } from "../commands/DeleteRuleGroupsNamespaceCommand";
11
13
  import { DeleteScraperCommandInput, DeleteScraperCommandOutput } from "../commands/DeleteScraperCommand";
12
14
  import { DeleteWorkspaceCommandInput, DeleteWorkspaceCommandOutput } from "../commands/DeleteWorkspaceCommand";
13
15
  import { DescribeAlertManagerDefinitionCommandInput, DescribeAlertManagerDefinitionCommandOutput } from "../commands/DescribeAlertManagerDefinitionCommand";
14
16
  import { DescribeLoggingConfigurationCommandInput, DescribeLoggingConfigurationCommandOutput } from "../commands/DescribeLoggingConfigurationCommand";
17
+ import { DescribeQueryLoggingConfigurationCommandInput, DescribeQueryLoggingConfigurationCommandOutput } from "../commands/DescribeQueryLoggingConfigurationCommand";
15
18
  import { DescribeRuleGroupsNamespaceCommandInput, DescribeRuleGroupsNamespaceCommandOutput } from "../commands/DescribeRuleGroupsNamespaceCommand";
16
19
  import { DescribeScraperCommandInput, DescribeScraperCommandOutput } from "../commands/DescribeScraperCommand";
17
20
  import { DescribeWorkspaceCommandInput, DescribeWorkspaceCommandOutput } from "../commands/DescribeWorkspaceCommand";
@@ -26,6 +29,7 @@ import { PutRuleGroupsNamespaceCommandInput, PutRuleGroupsNamespaceCommandOutput
26
29
  import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
27
30
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
28
31
  import { UpdateLoggingConfigurationCommandInput, UpdateLoggingConfigurationCommandOutput } from "../commands/UpdateLoggingConfigurationCommand";
32
+ import { UpdateQueryLoggingConfigurationCommandInput, UpdateQueryLoggingConfigurationCommandOutput } from "../commands/UpdateQueryLoggingConfigurationCommand";
29
33
  import { UpdateScraperCommandInput, UpdateScraperCommandOutput } from "../commands/UpdateScraperCommand";
30
34
  import { UpdateWorkspaceAliasCommandInput, UpdateWorkspaceAliasCommandOutput } from "../commands/UpdateWorkspaceAliasCommand";
31
35
  import { UpdateWorkspaceConfigurationCommandInput, UpdateWorkspaceConfigurationCommandOutput } from "../commands/UpdateWorkspaceConfigurationCommand";
@@ -37,6 +41,10 @@ export declare const se_CreateAlertManagerDefinitionCommand: (input: CreateAlert
37
41
  * serializeAws_restJson1CreateLoggingConfigurationCommand
38
42
  */
39
43
  export declare const se_CreateLoggingConfigurationCommand: (input: CreateLoggingConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
44
+ /**
45
+ * serializeAws_restJson1CreateQueryLoggingConfigurationCommand
46
+ */
47
+ export declare const se_CreateQueryLoggingConfigurationCommand: (input: CreateQueryLoggingConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
40
48
  /**
41
49
  * serializeAws_restJson1CreateRuleGroupsNamespaceCommand
42
50
  */
@@ -57,6 +65,10 @@ export declare const se_DeleteAlertManagerDefinitionCommand: (input: DeleteAlert
57
65
  * serializeAws_restJson1DeleteLoggingConfigurationCommand
58
66
  */
59
67
  export declare const se_DeleteLoggingConfigurationCommand: (input: DeleteLoggingConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
68
+ /**
69
+ * serializeAws_restJson1DeleteQueryLoggingConfigurationCommand
70
+ */
71
+ export declare const se_DeleteQueryLoggingConfigurationCommand: (input: DeleteQueryLoggingConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
60
72
  /**
61
73
  * serializeAws_restJson1DeleteRuleGroupsNamespaceCommand
62
74
  */
@@ -77,6 +89,10 @@ export declare const se_DescribeAlertManagerDefinitionCommand: (input: DescribeA
77
89
  * serializeAws_restJson1DescribeLoggingConfigurationCommand
78
90
  */
79
91
  export declare const se_DescribeLoggingConfigurationCommand: (input: DescribeLoggingConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
92
+ /**
93
+ * serializeAws_restJson1DescribeQueryLoggingConfigurationCommand
94
+ */
95
+ export declare const se_DescribeQueryLoggingConfigurationCommand: (input: DescribeQueryLoggingConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
80
96
  /**
81
97
  * serializeAws_restJson1DescribeRuleGroupsNamespaceCommand
82
98
  */
@@ -133,6 +149,10 @@ export declare const se_UntagResourceCommand: (input: UntagResourceCommandInput,
133
149
  * serializeAws_restJson1UpdateLoggingConfigurationCommand
134
150
  */
135
151
  export declare const se_UpdateLoggingConfigurationCommand: (input: UpdateLoggingConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
152
+ /**
153
+ * serializeAws_restJson1UpdateQueryLoggingConfigurationCommand
154
+ */
155
+ export declare const se_UpdateQueryLoggingConfigurationCommand: (input: UpdateQueryLoggingConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
136
156
  /**
137
157
  * serializeAws_restJson1UpdateScraperCommand
138
158
  */
@@ -153,6 +173,10 @@ export declare const de_CreateAlertManagerDefinitionCommand: (output: __HttpResp
153
173
  * deserializeAws_restJson1CreateLoggingConfigurationCommand
154
174
  */
155
175
  export declare const de_CreateLoggingConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateLoggingConfigurationCommandOutput>;
176
+ /**
177
+ * deserializeAws_restJson1CreateQueryLoggingConfigurationCommand
178
+ */
179
+ export declare const de_CreateQueryLoggingConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateQueryLoggingConfigurationCommandOutput>;
156
180
  /**
157
181
  * deserializeAws_restJson1CreateRuleGroupsNamespaceCommand
158
182
  */
@@ -173,6 +197,10 @@ export declare const de_DeleteAlertManagerDefinitionCommand: (output: __HttpResp
173
197
  * deserializeAws_restJson1DeleteLoggingConfigurationCommand
174
198
  */
175
199
  export declare const de_DeleteLoggingConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteLoggingConfigurationCommandOutput>;
200
+ /**
201
+ * deserializeAws_restJson1DeleteQueryLoggingConfigurationCommand
202
+ */
203
+ export declare const de_DeleteQueryLoggingConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteQueryLoggingConfigurationCommandOutput>;
176
204
  /**
177
205
  * deserializeAws_restJson1DeleteRuleGroupsNamespaceCommand
178
206
  */
@@ -193,6 +221,10 @@ export declare const de_DescribeAlertManagerDefinitionCommand: (output: __HttpRe
193
221
  * deserializeAws_restJson1DescribeLoggingConfigurationCommand
194
222
  */
195
223
  export declare const de_DescribeLoggingConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeLoggingConfigurationCommandOutput>;
224
+ /**
225
+ * deserializeAws_restJson1DescribeQueryLoggingConfigurationCommand
226
+ */
227
+ export declare const de_DescribeQueryLoggingConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeQueryLoggingConfigurationCommandOutput>;
196
228
  /**
197
229
  * deserializeAws_restJson1DescribeRuleGroupsNamespaceCommand
198
230
  */
@@ -249,6 +281,10 @@ export declare const de_UntagResourceCommand: (output: __HttpResponse, context:
249
281
  * deserializeAws_restJson1UpdateLoggingConfigurationCommand
250
282
  */
251
283
  export declare const de_UpdateLoggingConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateLoggingConfigurationCommandOutput>;
284
+ /**
285
+ * deserializeAws_restJson1UpdateQueryLoggingConfigurationCommand
286
+ */
287
+ export declare const de_UpdateQueryLoggingConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateQueryLoggingConfigurationCommandOutput>;
252
288
  /**
253
289
  * deserializeAws_restJson1UpdateScraperCommand
254
290
  */
@@ -8,6 +8,10 @@ import {
8
8
  CreateLoggingConfigurationCommandInput,
9
9
  CreateLoggingConfigurationCommandOutput,
10
10
  } from "./commands/CreateLoggingConfigurationCommand";
11
+ import {
12
+ CreateQueryLoggingConfigurationCommandInput,
13
+ CreateQueryLoggingConfigurationCommandOutput,
14
+ } from "./commands/CreateQueryLoggingConfigurationCommand";
11
15
  import {
12
16
  CreateRuleGroupsNamespaceCommandInput,
13
17
  CreateRuleGroupsNamespaceCommandOutput,
@@ -28,6 +32,10 @@ import {
28
32
  DeleteLoggingConfigurationCommandInput,
29
33
  DeleteLoggingConfigurationCommandOutput,
30
34
  } from "./commands/DeleteLoggingConfigurationCommand";
35
+ import {
36
+ DeleteQueryLoggingConfigurationCommandInput,
37
+ DeleteQueryLoggingConfigurationCommandOutput,
38
+ } from "./commands/DeleteQueryLoggingConfigurationCommand";
31
39
  import {
32
40
  DeleteRuleGroupsNamespaceCommandInput,
33
41
  DeleteRuleGroupsNamespaceCommandOutput,
@@ -48,6 +56,10 @@ import {
48
56
  DescribeLoggingConfigurationCommandInput,
49
57
  DescribeLoggingConfigurationCommandOutput,
50
58
  } from "./commands/DescribeLoggingConfigurationCommand";
59
+ import {
60
+ DescribeQueryLoggingConfigurationCommandInput,
61
+ DescribeQueryLoggingConfigurationCommandOutput,
62
+ } from "./commands/DescribeQueryLoggingConfigurationCommand";
51
63
  import {
52
64
  DescribeRuleGroupsNamespaceCommandInput,
53
65
  DescribeRuleGroupsNamespaceCommandOutput,
@@ -104,6 +116,10 @@ import {
104
116
  UpdateLoggingConfigurationCommandInput,
105
117
  UpdateLoggingConfigurationCommandOutput,
106
118
  } from "./commands/UpdateLoggingConfigurationCommand";
119
+ import {
120
+ UpdateQueryLoggingConfigurationCommandInput,
121
+ UpdateQueryLoggingConfigurationCommandOutput,
122
+ } from "./commands/UpdateQueryLoggingConfigurationCommand";
107
123
  import {
108
124
  UpdateScraperCommandInput,
109
125
  UpdateScraperCommandOutput,
@@ -143,6 +159,19 @@ export interface Amp {
143
159
  options: __HttpHandlerOptions,
144
160
  cb: (err: any, data?: CreateLoggingConfigurationCommandOutput) => void
145
161
  ): void;
162
+ createQueryLoggingConfiguration(
163
+ args: CreateQueryLoggingConfigurationCommandInput,
164
+ options?: __HttpHandlerOptions
165
+ ): Promise<CreateQueryLoggingConfigurationCommandOutput>;
166
+ createQueryLoggingConfiguration(
167
+ args: CreateQueryLoggingConfigurationCommandInput,
168
+ cb: (err: any, data?: CreateQueryLoggingConfigurationCommandOutput) => void
169
+ ): void;
170
+ createQueryLoggingConfiguration(
171
+ args: CreateQueryLoggingConfigurationCommandInput,
172
+ options: __HttpHandlerOptions,
173
+ cb: (err: any, data?: CreateQueryLoggingConfigurationCommandOutput) => void
174
+ ): void;
146
175
  createRuleGroupsNamespace(
147
176
  args: CreateRuleGroupsNamespaceCommandInput,
148
177
  options?: __HttpHandlerOptions
@@ -209,6 +238,19 @@ export interface Amp {
209
238
  options: __HttpHandlerOptions,
210
239
  cb: (err: any, data?: DeleteLoggingConfigurationCommandOutput) => void
211
240
  ): void;
241
+ deleteQueryLoggingConfiguration(
242
+ args: DeleteQueryLoggingConfigurationCommandInput,
243
+ options?: __HttpHandlerOptions
244
+ ): Promise<DeleteQueryLoggingConfigurationCommandOutput>;
245
+ deleteQueryLoggingConfiguration(
246
+ args: DeleteQueryLoggingConfigurationCommandInput,
247
+ cb: (err: any, data?: DeleteQueryLoggingConfigurationCommandOutput) => void
248
+ ): void;
249
+ deleteQueryLoggingConfiguration(
250
+ args: DeleteQueryLoggingConfigurationCommandInput,
251
+ options: __HttpHandlerOptions,
252
+ cb: (err: any, data?: DeleteQueryLoggingConfigurationCommandOutput) => void
253
+ ): void;
212
254
  deleteRuleGroupsNamespace(
213
255
  args: DeleteRuleGroupsNamespaceCommandInput,
214
256
  options?: __HttpHandlerOptions
@@ -274,6 +316,25 @@ export interface Amp {
274
316
  options: __HttpHandlerOptions,
275
317
  cb: (err: any, data?: DescribeLoggingConfigurationCommandOutput) => void
276
318
  ): void;
319
+ describeQueryLoggingConfiguration(
320
+ args: DescribeQueryLoggingConfigurationCommandInput,
321
+ options?: __HttpHandlerOptions
322
+ ): Promise<DescribeQueryLoggingConfigurationCommandOutput>;
323
+ describeQueryLoggingConfiguration(
324
+ args: DescribeQueryLoggingConfigurationCommandInput,
325
+ cb: (
326
+ err: any,
327
+ data?: DescribeQueryLoggingConfigurationCommandOutput
328
+ ) => void
329
+ ): void;
330
+ describeQueryLoggingConfiguration(
331
+ args: DescribeQueryLoggingConfigurationCommandInput,
332
+ options: __HttpHandlerOptions,
333
+ cb: (
334
+ err: any,
335
+ data?: DescribeQueryLoggingConfigurationCommandOutput
336
+ ) => void
337
+ ): void;
277
338
  describeRuleGroupsNamespace(
278
339
  args: DescribeRuleGroupsNamespaceCommandInput,
279
340
  options?: __HttpHandlerOptions
@@ -459,6 +520,19 @@ export interface Amp {
459
520
  options: __HttpHandlerOptions,
460
521
  cb: (err: any, data?: UpdateLoggingConfigurationCommandOutput) => void
461
522
  ): void;
523
+ updateQueryLoggingConfiguration(
524
+ args: UpdateQueryLoggingConfigurationCommandInput,
525
+ options?: __HttpHandlerOptions
526
+ ): Promise<UpdateQueryLoggingConfigurationCommandOutput>;
527
+ updateQueryLoggingConfiguration(
528
+ args: UpdateQueryLoggingConfigurationCommandInput,
529
+ cb: (err: any, data?: UpdateQueryLoggingConfigurationCommandOutput) => void
530
+ ): void;
531
+ updateQueryLoggingConfiguration(
532
+ args: UpdateQueryLoggingConfigurationCommandInput,
533
+ options: __HttpHandlerOptions,
534
+ cb: (err: any, data?: UpdateQueryLoggingConfigurationCommandOutput) => void
535
+ ): void;
462
536
  updateScraper(
463
537
  args: UpdateScraperCommandInput,
464
538
  options?: __HttpHandlerOptions
@@ -53,6 +53,10 @@ import {
53
53
  CreateLoggingConfigurationCommandInput,
54
54
  CreateLoggingConfigurationCommandOutput,
55
55
  } from "./commands/CreateLoggingConfigurationCommand";
56
+ import {
57
+ CreateQueryLoggingConfigurationCommandInput,
58
+ CreateQueryLoggingConfigurationCommandOutput,
59
+ } from "./commands/CreateQueryLoggingConfigurationCommand";
56
60
  import {
57
61
  CreateRuleGroupsNamespaceCommandInput,
58
62
  CreateRuleGroupsNamespaceCommandOutput,
@@ -73,6 +77,10 @@ import {
73
77
  DeleteLoggingConfigurationCommandInput,
74
78
  DeleteLoggingConfigurationCommandOutput,
75
79
  } from "./commands/DeleteLoggingConfigurationCommand";
80
+ import {
81
+ DeleteQueryLoggingConfigurationCommandInput,
82
+ DeleteQueryLoggingConfigurationCommandOutput,
83
+ } from "./commands/DeleteQueryLoggingConfigurationCommand";
76
84
  import {
77
85
  DeleteRuleGroupsNamespaceCommandInput,
78
86
  DeleteRuleGroupsNamespaceCommandOutput,
@@ -93,6 +101,10 @@ import {
93
101
  DescribeLoggingConfigurationCommandInput,
94
102
  DescribeLoggingConfigurationCommandOutput,
95
103
  } from "./commands/DescribeLoggingConfigurationCommand";
104
+ import {
105
+ DescribeQueryLoggingConfigurationCommandInput,
106
+ DescribeQueryLoggingConfigurationCommandOutput,
107
+ } from "./commands/DescribeQueryLoggingConfigurationCommand";
96
108
  import {
97
109
  DescribeRuleGroupsNamespaceCommandInput,
98
110
  DescribeRuleGroupsNamespaceCommandOutput,
@@ -149,6 +161,10 @@ import {
149
161
  UpdateLoggingConfigurationCommandInput,
150
162
  UpdateLoggingConfigurationCommandOutput,
151
163
  } from "./commands/UpdateLoggingConfigurationCommand";
164
+ import {
165
+ UpdateQueryLoggingConfigurationCommandInput,
166
+ UpdateQueryLoggingConfigurationCommandOutput,
167
+ } from "./commands/UpdateQueryLoggingConfigurationCommand";
152
168
  import {
153
169
  UpdateScraperCommandInput,
154
170
  UpdateScraperCommandOutput,
@@ -171,16 +187,19 @@ export { __Client };
171
187
  export type ServiceInputTypes =
172
188
  | CreateAlertManagerDefinitionCommandInput
173
189
  | CreateLoggingConfigurationCommandInput
190
+ | CreateQueryLoggingConfigurationCommandInput
174
191
  | CreateRuleGroupsNamespaceCommandInput
175
192
  | CreateScraperCommandInput
176
193
  | CreateWorkspaceCommandInput
177
194
  | DeleteAlertManagerDefinitionCommandInput
178
195
  | DeleteLoggingConfigurationCommandInput
196
+ | DeleteQueryLoggingConfigurationCommandInput
179
197
  | DeleteRuleGroupsNamespaceCommandInput
180
198
  | DeleteScraperCommandInput
181
199
  | DeleteWorkspaceCommandInput
182
200
  | DescribeAlertManagerDefinitionCommandInput
183
201
  | DescribeLoggingConfigurationCommandInput
202
+ | DescribeQueryLoggingConfigurationCommandInput
184
203
  | DescribeRuleGroupsNamespaceCommandInput
185
204
  | DescribeScraperCommandInput
186
205
  | DescribeWorkspaceCommandInput
@@ -195,22 +214,26 @@ export type ServiceInputTypes =
195
214
  | TagResourceCommandInput
196
215
  | UntagResourceCommandInput
197
216
  | UpdateLoggingConfigurationCommandInput
217
+ | UpdateQueryLoggingConfigurationCommandInput
198
218
  | UpdateScraperCommandInput
199
219
  | UpdateWorkspaceAliasCommandInput
200
220
  | UpdateWorkspaceConfigurationCommandInput;
201
221
  export type ServiceOutputTypes =
202
222
  | CreateAlertManagerDefinitionCommandOutput
203
223
  | CreateLoggingConfigurationCommandOutput
224
+ | CreateQueryLoggingConfigurationCommandOutput
204
225
  | CreateRuleGroupsNamespaceCommandOutput
205
226
  | CreateScraperCommandOutput
206
227
  | CreateWorkspaceCommandOutput
207
228
  | DeleteAlertManagerDefinitionCommandOutput
208
229
  | DeleteLoggingConfigurationCommandOutput
230
+ | DeleteQueryLoggingConfigurationCommandOutput
209
231
  | DeleteRuleGroupsNamespaceCommandOutput
210
232
  | DeleteScraperCommandOutput
211
233
  | DeleteWorkspaceCommandOutput
212
234
  | DescribeAlertManagerDefinitionCommandOutput
213
235
  | DescribeLoggingConfigurationCommandOutput
236
+ | DescribeQueryLoggingConfigurationCommandOutput
214
237
  | DescribeRuleGroupsNamespaceCommandOutput
215
238
  | DescribeScraperCommandOutput
216
239
  | DescribeWorkspaceCommandOutput
@@ -225,6 +248,7 @@ export type ServiceOutputTypes =
225
248
  | TagResourceCommandOutput
226
249
  | UntagResourceCommandOutput
227
250
  | UpdateLoggingConfigurationCommandOutput
251
+ | UpdateQueryLoggingConfigurationCommandOutput
228
252
  | UpdateScraperCommandOutput
229
253
  | UpdateWorkspaceAliasCommandOutput
230
254
  | UpdateWorkspaceConfigurationCommandOutput;
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ AmpClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../AmpClient";
8
+ import {
9
+ CreateQueryLoggingConfigurationRequest,
10
+ CreateQueryLoggingConfigurationResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface CreateQueryLoggingConfigurationCommandInput
15
+ extends CreateQueryLoggingConfigurationRequest {}
16
+ export interface CreateQueryLoggingConfigurationCommandOutput
17
+ extends CreateQueryLoggingConfigurationResponse,
18
+ __MetadataBearer {}
19
+ declare const CreateQueryLoggingConfigurationCommand_base: {
20
+ new (
21
+ input: CreateQueryLoggingConfigurationCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ CreateQueryLoggingConfigurationCommandInput,
24
+ CreateQueryLoggingConfigurationCommandOutput,
25
+ AmpClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: CreateQueryLoggingConfigurationCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ CreateQueryLoggingConfigurationCommandInput,
33
+ CreateQueryLoggingConfigurationCommandOutput,
34
+ AmpClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class CreateQueryLoggingConfigurationCommand extends CreateQueryLoggingConfigurationCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: CreateQueryLoggingConfigurationRequest;
44
+ output: CreateQueryLoggingConfigurationResponse;
45
+ };
46
+ sdk: {
47
+ input: CreateQueryLoggingConfigurationCommandInput;
48
+ output: CreateQueryLoggingConfigurationCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,47 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ AmpClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../AmpClient";
8
+ import { DeleteQueryLoggingConfigurationRequest } from "../models/models_0";
9
+ export { __MetadataBearer };
10
+ export { $Command };
11
+ export interface DeleteQueryLoggingConfigurationCommandInput
12
+ extends DeleteQueryLoggingConfigurationRequest {}
13
+ export interface DeleteQueryLoggingConfigurationCommandOutput
14
+ extends __MetadataBearer {}
15
+ declare const DeleteQueryLoggingConfigurationCommand_base: {
16
+ new (
17
+ input: DeleteQueryLoggingConfigurationCommandInput
18
+ ): import("@smithy/smithy-client").CommandImpl<
19
+ DeleteQueryLoggingConfigurationCommandInput,
20
+ DeleteQueryLoggingConfigurationCommandOutput,
21
+ AmpClientResolvedConfig,
22
+ ServiceInputTypes,
23
+ ServiceOutputTypes
24
+ >;
25
+ new (
26
+ input: DeleteQueryLoggingConfigurationCommandInput
27
+ ): import("@smithy/smithy-client").CommandImpl<
28
+ DeleteQueryLoggingConfigurationCommandInput,
29
+ DeleteQueryLoggingConfigurationCommandOutput,
30
+ AmpClientResolvedConfig,
31
+ ServiceInputTypes,
32
+ ServiceOutputTypes
33
+ >;
34
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
35
+ };
36
+ export declare class DeleteQueryLoggingConfigurationCommand extends DeleteQueryLoggingConfigurationCommand_base {
37
+ protected static __types: {
38
+ api: {
39
+ input: DeleteQueryLoggingConfigurationRequest;
40
+ output: {};
41
+ };
42
+ sdk: {
43
+ input: DeleteQueryLoggingConfigurationCommandInput;
44
+ output: DeleteQueryLoggingConfigurationCommandOutput;
45
+ };
46
+ };
47
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ AmpClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../AmpClient";
8
+ import {
9
+ DescribeQueryLoggingConfigurationRequest,
10
+ DescribeQueryLoggingConfigurationResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface DescribeQueryLoggingConfigurationCommandInput
15
+ extends DescribeQueryLoggingConfigurationRequest {}
16
+ export interface DescribeQueryLoggingConfigurationCommandOutput
17
+ extends DescribeQueryLoggingConfigurationResponse,
18
+ __MetadataBearer {}
19
+ declare const DescribeQueryLoggingConfigurationCommand_base: {
20
+ new (
21
+ input: DescribeQueryLoggingConfigurationCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ DescribeQueryLoggingConfigurationCommandInput,
24
+ DescribeQueryLoggingConfigurationCommandOutput,
25
+ AmpClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: DescribeQueryLoggingConfigurationCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ DescribeQueryLoggingConfigurationCommandInput,
33
+ DescribeQueryLoggingConfigurationCommandOutput,
34
+ AmpClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class DescribeQueryLoggingConfigurationCommand extends DescribeQueryLoggingConfigurationCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: DescribeQueryLoggingConfigurationRequest;
44
+ output: DescribeQueryLoggingConfigurationResponse;
45
+ };
46
+ sdk: {
47
+ input: DescribeQueryLoggingConfigurationCommandInput;
48
+ output: DescribeQueryLoggingConfigurationCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ AmpClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../AmpClient";
8
+ import {
9
+ UpdateQueryLoggingConfigurationRequest,
10
+ UpdateQueryLoggingConfigurationResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface UpdateQueryLoggingConfigurationCommandInput
15
+ extends UpdateQueryLoggingConfigurationRequest {}
16
+ export interface UpdateQueryLoggingConfigurationCommandOutput
17
+ extends UpdateQueryLoggingConfigurationResponse,
18
+ __MetadataBearer {}
19
+ declare const UpdateQueryLoggingConfigurationCommand_base: {
20
+ new (
21
+ input: UpdateQueryLoggingConfigurationCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ UpdateQueryLoggingConfigurationCommandInput,
24
+ UpdateQueryLoggingConfigurationCommandOutput,
25
+ AmpClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: UpdateQueryLoggingConfigurationCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ UpdateQueryLoggingConfigurationCommandInput,
33
+ UpdateQueryLoggingConfigurationCommandOutput,
34
+ AmpClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class UpdateQueryLoggingConfigurationCommand extends UpdateQueryLoggingConfigurationCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: UpdateQueryLoggingConfigurationRequest;
44
+ output: UpdateQueryLoggingConfigurationResponse;
45
+ };
46
+ sdk: {
47
+ input: UpdateQueryLoggingConfigurationCommandInput;
48
+ output: UpdateQueryLoggingConfigurationCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -1,15 +1,18 @@
1
1
  export * from "./CreateAlertManagerDefinitionCommand";
2
2
  export * from "./CreateLoggingConfigurationCommand";
3
+ export * from "./CreateQueryLoggingConfigurationCommand";
3
4
  export * from "./CreateRuleGroupsNamespaceCommand";
4
5
  export * from "./CreateScraperCommand";
5
6
  export * from "./CreateWorkspaceCommand";
6
7
  export * from "./DeleteAlertManagerDefinitionCommand";
7
8
  export * from "./DeleteLoggingConfigurationCommand";
9
+ export * from "./DeleteQueryLoggingConfigurationCommand";
8
10
  export * from "./DeleteRuleGroupsNamespaceCommand";
9
11
  export * from "./DeleteScraperCommand";
10
12
  export * from "./DeleteWorkspaceCommand";
11
13
  export * from "./DescribeAlertManagerDefinitionCommand";
12
14
  export * from "./DescribeLoggingConfigurationCommand";
15
+ export * from "./DescribeQueryLoggingConfigurationCommand";
13
16
  export * from "./DescribeRuleGroupsNamespaceCommand";
14
17
  export * from "./DescribeScraperCommand";
15
18
  export * from "./DescribeWorkspaceCommand";
@@ -24,6 +27,7 @@ export * from "./PutRuleGroupsNamespaceCommand";
24
27
  export * from "./TagResourceCommand";
25
28
  export * from "./UntagResourceCommand";
26
29
  export * from "./UpdateLoggingConfigurationCommand";
30
+ export * from "./UpdateQueryLoggingConfigurationCommand";
27
31
  export * from "./UpdateScraperCommand";
28
32
  export * from "./UpdateWorkspaceAliasCommand";
29
33
  export * from "./UpdateWorkspaceConfigurationCommand";
@@ -410,6 +410,63 @@ export interface UpdateLoggingConfigurationRequest {
410
410
  export interface UpdateLoggingConfigurationResponse {
411
411
  status: LoggingConfigurationStatus | undefined;
412
412
  }
413
+ export interface CloudWatchLogDestination {
414
+ logGroupArn: string | undefined;
415
+ }
416
+ export interface LoggingFilter {
417
+ qspThreshold: number | undefined;
418
+ }
419
+ export interface LoggingDestination {
420
+ cloudWatchLogs: CloudWatchLogDestination | undefined;
421
+ filters: LoggingFilter | undefined;
422
+ }
423
+ export interface CreateQueryLoggingConfigurationRequest {
424
+ workspaceId: string | undefined;
425
+ destinations: LoggingDestination[] | undefined;
426
+ clientToken?: string | undefined;
427
+ }
428
+ export declare const QueryLoggingConfigurationStatusCode: {
429
+ readonly ACTIVE: "ACTIVE";
430
+ readonly CREATING: "CREATING";
431
+ readonly CREATION_FAILED: "CREATION_FAILED";
432
+ readonly DELETING: "DELETING";
433
+ readonly UPDATE_FAILED: "UPDATE_FAILED";
434
+ readonly UPDATING: "UPDATING";
435
+ };
436
+ export type QueryLoggingConfigurationStatusCode =
437
+ (typeof QueryLoggingConfigurationStatusCode)[keyof typeof QueryLoggingConfigurationStatusCode];
438
+ export interface QueryLoggingConfigurationStatus {
439
+ statusCode: QueryLoggingConfigurationStatusCode | undefined;
440
+ statusReason?: string | undefined;
441
+ }
442
+ export interface CreateQueryLoggingConfigurationResponse {
443
+ status: QueryLoggingConfigurationStatus | undefined;
444
+ }
445
+ export interface DeleteQueryLoggingConfigurationRequest {
446
+ workspaceId: string | undefined;
447
+ clientToken?: string | undefined;
448
+ }
449
+ export interface DescribeQueryLoggingConfigurationRequest {
450
+ workspaceId: string | undefined;
451
+ }
452
+ export interface QueryLoggingConfigurationMetadata {
453
+ status: QueryLoggingConfigurationStatus | undefined;
454
+ workspace: string | undefined;
455
+ destinations: LoggingDestination[] | undefined;
456
+ createdAt: Date | undefined;
457
+ modifiedAt: Date | undefined;
458
+ }
459
+ export interface DescribeQueryLoggingConfigurationResponse {
460
+ queryLoggingConfiguration: QueryLoggingConfigurationMetadata | undefined;
461
+ }
462
+ export interface UpdateQueryLoggingConfigurationRequest {
463
+ workspaceId: string | undefined;
464
+ destinations: LoggingDestination[] | undefined;
465
+ clientToken?: string | undefined;
466
+ }
467
+ export interface UpdateQueryLoggingConfigurationResponse {
468
+ status: QueryLoggingConfigurationStatus | undefined;
469
+ }
413
470
  export interface CreateRuleGroupsNamespaceRequest {
414
471
  workspaceId: string | undefined;
415
472
  name: string | undefined;