@aws-sdk/client-amp 3.533.0 → 3.540.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/dist-cjs/endpoint/endpointResolver.js +4 -2
- package/dist-cjs/index.js +0 -3
- package/dist-es/endpoint/endpointResolver.js +3 -1
- package/dist-es/index.js +0 -1
- package/dist-types/Amp.d.ts +5 -1
- package/dist-types/AmpClient.d.ts +1 -1
- package/dist-types/commands/CreateAlertManagerDefinitionCommand.d.ts +2 -1
- package/dist-types/commands/CreateLoggingConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/CreateRuleGroupsNamespaceCommand.d.ts +2 -1
- package/dist-types/commands/CreateScraperCommand.d.ts +2 -1
- package/dist-types/commands/CreateWorkspaceCommand.d.ts +2 -1
- package/dist-types/commands/DeleteAlertManagerDefinitionCommand.d.ts +2 -1
- package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/DeleteRuleGroupsNamespaceCommand.d.ts +2 -1
- package/dist-types/commands/DeleteScraperCommand.d.ts +2 -1
- package/dist-types/commands/DeleteWorkspaceCommand.d.ts +2 -1
- package/dist-types/commands/DescribeAlertManagerDefinitionCommand.d.ts +2 -1
- package/dist-types/commands/DescribeLoggingConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/DescribeRuleGroupsNamespaceCommand.d.ts +2 -1
- package/dist-types/commands/DescribeScraperCommand.d.ts +2 -1
- package/dist-types/commands/DescribeWorkspaceCommand.d.ts +2 -1
- package/dist-types/commands/GetDefaultScraperConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/ListRuleGroupsNamespacesCommand.d.ts +2 -1
- package/dist-types/commands/ListScrapersCommand.d.ts +2 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
- package/dist-types/commands/ListWorkspacesCommand.d.ts +2 -1
- package/dist-types/commands/PutAlertManagerDefinitionCommand.d.ts +2 -1
- package/dist-types/commands/PutRuleGroupsNamespaceCommand.d.ts +2 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UpdateLoggingConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/UpdateWorkspaceAliasCommand.d.ts +2 -1
- package/dist-types/index.d.ts +0 -1
- package/dist-types/models/models_0.d.ts +260 -260
- package/dist-types/ts3.4/Amp.d.ts +4 -0
- package/dist-types/ts3.4/commands/CreateAlertManagerDefinitionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateLoggingConfigurationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateRuleGroupsNamespaceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateScraperCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateWorkspaceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteAlertManagerDefinitionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteLoggingConfigurationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteRuleGroupsNamespaceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteScraperCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteWorkspaceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeAlertManagerDefinitionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeLoggingConfigurationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeRuleGroupsNamespaceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeScraperCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeWorkspaceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetDefaultScraperConfigurationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListRuleGroupsNamespacesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListScrapersCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListWorkspacesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutAlertManagerDefinitionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutRuleGroupsNamespaceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateLoggingConfigurationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateWorkspaceAliasCommand.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +0 -1
- package/package.json +41 -41
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { AmpServiceException as __BaseException } from "./AmpServiceException";
|
|
3
3
|
/**
|
|
4
|
-
* @public
|
|
5
4
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
5
|
+
* @public
|
|
6
6
|
*/
|
|
7
7
|
export declare class AccessDeniedException extends __BaseException {
|
|
8
8
|
readonly name: "AccessDeniedException";
|
|
@@ -13,20 +13,20 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
13
13
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
|
-
* @public
|
|
17
16
|
* <p>The request would cause an inconsistent state.</p>
|
|
17
|
+
* @public
|
|
18
18
|
*/
|
|
19
19
|
export declare class ConflictException extends __BaseException {
|
|
20
20
|
readonly name: "ConflictException";
|
|
21
21
|
readonly $fault: "client";
|
|
22
22
|
/**
|
|
23
|
-
* @public
|
|
24
23
|
* <p>Identifier of the resource affected.</p>
|
|
24
|
+
* @public
|
|
25
25
|
*/
|
|
26
26
|
resourceId: string | undefined;
|
|
27
27
|
/**
|
|
28
|
-
* @public
|
|
29
28
|
* <p>Type of the resource affected.</p>
|
|
29
|
+
* @public
|
|
30
30
|
*/
|
|
31
31
|
resourceType: string | undefined;
|
|
32
32
|
/**
|
|
@@ -35,26 +35,26 @@ export declare class ConflictException extends __BaseException {
|
|
|
35
35
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
36
36
|
}
|
|
37
37
|
/**
|
|
38
|
-
* @public
|
|
39
38
|
* <p>Represents the input of a <code>CreateAlertManagerDefinition</code> operation.</p>
|
|
39
|
+
* @public
|
|
40
40
|
*/
|
|
41
41
|
export interface CreateAlertManagerDefinitionRequest {
|
|
42
42
|
/**
|
|
43
|
-
* @public
|
|
44
43
|
* <p>The ID of the workspace to add the alert manager definition to.</p>
|
|
44
|
+
* @public
|
|
45
45
|
*/
|
|
46
46
|
workspaceId: string | undefined;
|
|
47
47
|
/**
|
|
48
|
-
* @public
|
|
49
48
|
* <p>The alert manager definition to add. A base64-encoded version of the YAML alert
|
|
50
49
|
* manager definition file.</p>
|
|
51
50
|
* <p>For details about the alert manager definition, see <a href="https://docs.aws.amazon.com/prometheus/latest/APIReference/yaml-AlertManagerDefinitionData.html">AlertManagedDefinitionData</a>.</p>
|
|
51
|
+
* @public
|
|
52
52
|
*/
|
|
53
53
|
data: Uint8Array | undefined;
|
|
54
54
|
/**
|
|
55
|
-
* @public
|
|
56
55
|
* <p>A unique identifier that you can provide to ensure the idempotency of the request.
|
|
57
56
|
* Case-sensitive.</p>
|
|
57
|
+
* @public
|
|
58
58
|
*/
|
|
59
59
|
clientToken?: string;
|
|
60
60
|
}
|
|
@@ -93,43 +93,43 @@ export declare const AlertManagerDefinitionStatusCode: {
|
|
|
93
93
|
*/
|
|
94
94
|
export type AlertManagerDefinitionStatusCode = (typeof AlertManagerDefinitionStatusCode)[keyof typeof AlertManagerDefinitionStatusCode];
|
|
95
95
|
/**
|
|
96
|
-
* @public
|
|
97
96
|
* <p>The status of the alert manager. </p>
|
|
97
|
+
* @public
|
|
98
98
|
*/
|
|
99
99
|
export interface AlertManagerDefinitionStatus {
|
|
100
100
|
/**
|
|
101
|
-
* @public
|
|
102
101
|
* <p>The current status of the alert manager. </p>
|
|
102
|
+
* @public
|
|
103
103
|
*/
|
|
104
104
|
statusCode: AlertManagerDefinitionStatusCode | undefined;
|
|
105
105
|
/**
|
|
106
|
-
* @public
|
|
107
106
|
* <p>If there is a failure, the reason for the failure.</p>
|
|
107
|
+
* @public
|
|
108
108
|
*/
|
|
109
109
|
statusReason?: string;
|
|
110
110
|
}
|
|
111
111
|
/**
|
|
112
|
-
* @public
|
|
113
112
|
* <p>Represents the output of a <code>CreateAlertManagerDefinition</code> operation.</p>
|
|
113
|
+
* @public
|
|
114
114
|
*/
|
|
115
115
|
export interface CreateAlertManagerDefinitionResponse {
|
|
116
116
|
/**
|
|
117
|
-
* @public
|
|
118
117
|
* <p>A structure that displays the current status of the alert manager definition.</p>
|
|
118
|
+
* @public
|
|
119
119
|
*/
|
|
120
120
|
status: AlertManagerDefinitionStatus | undefined;
|
|
121
121
|
}
|
|
122
122
|
/**
|
|
123
|
-
* @public
|
|
124
123
|
* <p>An unexpected error occurred during the processing of the request.</p>
|
|
124
|
+
* @public
|
|
125
125
|
*/
|
|
126
126
|
export declare class InternalServerException extends __BaseException {
|
|
127
127
|
readonly name: "InternalServerException";
|
|
128
128
|
readonly $fault: "server";
|
|
129
129
|
$retryable: {};
|
|
130
130
|
/**
|
|
131
|
-
* @public
|
|
132
131
|
* <p>Advice to clients on when the call can be safely retried.</p>
|
|
132
|
+
* @public
|
|
133
133
|
*/
|
|
134
134
|
retryAfterSeconds?: number;
|
|
135
135
|
/**
|
|
@@ -138,20 +138,20 @@ export declare class InternalServerException extends __BaseException {
|
|
|
138
138
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
139
139
|
}
|
|
140
140
|
/**
|
|
141
|
-
* @public
|
|
142
141
|
* <p>The request references a resources that doesn't exist.</p>
|
|
142
|
+
* @public
|
|
143
143
|
*/
|
|
144
144
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
145
145
|
readonly name: "ResourceNotFoundException";
|
|
146
146
|
readonly $fault: "client";
|
|
147
147
|
/**
|
|
148
|
-
* @public
|
|
149
148
|
* <p>Identifier of the resource affected.</p>
|
|
149
|
+
* @public
|
|
150
150
|
*/
|
|
151
151
|
resourceId: string | undefined;
|
|
152
152
|
/**
|
|
153
|
-
* @public
|
|
154
153
|
* <p>Type of the resource affected.</p>
|
|
154
|
+
* @public
|
|
155
155
|
*/
|
|
156
156
|
resourceType: string | undefined;
|
|
157
157
|
/**
|
|
@@ -160,30 +160,30 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
160
160
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
161
161
|
}
|
|
162
162
|
/**
|
|
163
|
-
* @public
|
|
164
163
|
* <p>Completing the request would cause a service quota to be exceeded.</p>
|
|
164
|
+
* @public
|
|
165
165
|
*/
|
|
166
166
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
167
167
|
readonly name: "ServiceQuotaExceededException";
|
|
168
168
|
readonly $fault: "client";
|
|
169
169
|
/**
|
|
170
|
-
* @public
|
|
171
170
|
* <p>Identifier of the resource affected.</p>
|
|
171
|
+
* @public
|
|
172
172
|
*/
|
|
173
173
|
resourceId: string | undefined;
|
|
174
174
|
/**
|
|
175
|
-
* @public
|
|
176
175
|
* <p>Type of the resource affected.</p>
|
|
176
|
+
* @public
|
|
177
177
|
*/
|
|
178
178
|
resourceType: string | undefined;
|
|
179
179
|
/**
|
|
180
|
-
* @public
|
|
181
180
|
* <p>Service quotas code for the originating service.</p>
|
|
181
|
+
* @public
|
|
182
182
|
*/
|
|
183
183
|
serviceCode: string | undefined;
|
|
184
184
|
/**
|
|
185
|
-
* @public
|
|
186
185
|
* <p>Service quotas code of the originating quota.</p>
|
|
186
|
+
* @public
|
|
187
187
|
*/
|
|
188
188
|
quotaCode: string | undefined;
|
|
189
189
|
/**
|
|
@@ -192,26 +192,26 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
192
192
|
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
193
193
|
}
|
|
194
194
|
/**
|
|
195
|
-
* @public
|
|
196
195
|
* <p>The request was denied due to request throttling.</p>
|
|
196
|
+
* @public
|
|
197
197
|
*/
|
|
198
198
|
export declare class ThrottlingException extends __BaseException {
|
|
199
199
|
readonly name: "ThrottlingException";
|
|
200
200
|
readonly $fault: "client";
|
|
201
201
|
$retryable: {};
|
|
202
202
|
/**
|
|
203
|
-
* @public
|
|
204
203
|
* <p>Service quotas code for the originating service.</p>
|
|
204
|
+
* @public
|
|
205
205
|
*/
|
|
206
206
|
serviceCode?: string;
|
|
207
207
|
/**
|
|
208
|
-
* @public
|
|
209
208
|
* <p>Service quotas code for the originating quota.</p>
|
|
209
|
+
* @public
|
|
210
210
|
*/
|
|
211
211
|
quotaCode?: string;
|
|
212
212
|
/**
|
|
213
|
-
* @public
|
|
214
213
|
* <p>Advice to clients on when the call can be safely retried.</p>
|
|
214
|
+
* @public
|
|
215
215
|
*/
|
|
216
216
|
retryAfterSeconds?: number;
|
|
217
217
|
/**
|
|
@@ -220,18 +220,18 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
220
220
|
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
221
221
|
}
|
|
222
222
|
/**
|
|
223
|
-
* @public
|
|
224
223
|
* <p>Information about a field passed into a request that resulted in an exception.</p>
|
|
224
|
+
* @public
|
|
225
225
|
*/
|
|
226
226
|
export interface ValidationExceptionField {
|
|
227
227
|
/**
|
|
228
|
-
* @public
|
|
229
228
|
* <p>The name of the field that caused an exception.</p>
|
|
229
|
+
* @public
|
|
230
230
|
*/
|
|
231
231
|
name: string | undefined;
|
|
232
232
|
/**
|
|
233
|
-
* @public
|
|
234
233
|
* <p>A message describing why the field caused an exception.</p>
|
|
234
|
+
* @public
|
|
235
235
|
*/
|
|
236
236
|
message: string | undefined;
|
|
237
237
|
}
|
|
@@ -250,21 +250,21 @@ export declare const ValidationExceptionReason: {
|
|
|
250
250
|
*/
|
|
251
251
|
export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
252
252
|
/**
|
|
253
|
-
* @public
|
|
254
253
|
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
255
254
|
* service.</p>
|
|
255
|
+
* @public
|
|
256
256
|
*/
|
|
257
257
|
export declare class ValidationException extends __BaseException {
|
|
258
258
|
readonly name: "ValidationException";
|
|
259
259
|
readonly $fault: "client";
|
|
260
260
|
/**
|
|
261
|
-
* @public
|
|
262
261
|
* <p>Reason the request failed validation.</p>
|
|
262
|
+
* @public
|
|
263
263
|
*/
|
|
264
264
|
reason: ValidationExceptionReason | undefined;
|
|
265
265
|
/**
|
|
266
|
-
* @public
|
|
267
266
|
* <p>The field that caused the error, if applicable.</p>
|
|
267
|
+
* @public
|
|
268
268
|
*/
|
|
269
269
|
fieldList?: ValidationExceptionField[];
|
|
270
270
|
/**
|
|
@@ -273,122 +273,122 @@ export declare class ValidationException extends __BaseException {
|
|
|
273
273
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
274
274
|
}
|
|
275
275
|
/**
|
|
276
|
-
* @public
|
|
277
276
|
* <p>Represents the input of a <code>DeleteAlertManagerDefinition</code> operation.</p>
|
|
277
|
+
* @public
|
|
278
278
|
*/
|
|
279
279
|
export interface DeleteAlertManagerDefinitionRequest {
|
|
280
280
|
/**
|
|
281
|
-
* @public
|
|
282
281
|
* <p>The ID of the workspace to delete the alert manager definition from.</p>
|
|
282
|
+
* @public
|
|
283
283
|
*/
|
|
284
284
|
workspaceId: string | undefined;
|
|
285
285
|
/**
|
|
286
|
-
* @public
|
|
287
286
|
* <p>A unique identifier that you can provide to ensure the idempotency of the request.
|
|
288
287
|
* Case-sensitive.</p>
|
|
288
|
+
* @public
|
|
289
289
|
*/
|
|
290
290
|
clientToken?: string;
|
|
291
291
|
}
|
|
292
292
|
/**
|
|
293
|
-
* @public
|
|
294
293
|
* <p>Represents the input of a <code>DescribeAlertManagerDefinition</code> operation.</p>
|
|
294
|
+
* @public
|
|
295
295
|
*/
|
|
296
296
|
export interface DescribeAlertManagerDefinitionRequest {
|
|
297
297
|
/**
|
|
298
|
-
* @public
|
|
299
298
|
* <p>The ID of the workspace to retrieve the alert manager definition from.</p>
|
|
299
|
+
* @public
|
|
300
300
|
*/
|
|
301
301
|
workspaceId: string | undefined;
|
|
302
302
|
}
|
|
303
303
|
/**
|
|
304
|
-
* @public
|
|
305
304
|
* <p>The details of an alert manager definition. </p>
|
|
305
|
+
* @public
|
|
306
306
|
*/
|
|
307
307
|
export interface AlertManagerDefinitionDescription {
|
|
308
308
|
/**
|
|
309
|
-
* @public
|
|
310
309
|
* <p>A structure that displays the current status of the alert manager definition..</p>
|
|
310
|
+
* @public
|
|
311
311
|
*/
|
|
312
312
|
status: AlertManagerDefinitionStatus | undefined;
|
|
313
313
|
/**
|
|
314
|
-
* @public
|
|
315
314
|
* <p>The actual alert manager definition.</p>
|
|
316
315
|
* <p>For details about the alert manager definition, see <a href="https://docs.aws.amazon.com/prometheus/latest/APIReference/yaml-AlertManagerDefinitionData.html">AlertManagedDefinitionData</a>.</p>
|
|
316
|
+
* @public
|
|
317
317
|
*/
|
|
318
318
|
data: Uint8Array | undefined;
|
|
319
319
|
/**
|
|
320
|
-
* @public
|
|
321
320
|
* <p>The date and time that the alert manager definition was created.</p>
|
|
321
|
+
* @public
|
|
322
322
|
*/
|
|
323
323
|
createdAt: Date | undefined;
|
|
324
324
|
/**
|
|
325
|
-
* @public
|
|
326
325
|
* <p>The date and time that the alert manager definition was most recently changed.</p>
|
|
326
|
+
* @public
|
|
327
327
|
*/
|
|
328
328
|
modifiedAt: Date | undefined;
|
|
329
329
|
}
|
|
330
330
|
/**
|
|
331
|
-
* @public
|
|
332
331
|
* <p>Represents the output of a <code>DescribeAlertManagerDefinition</code> operation.</p>
|
|
332
|
+
* @public
|
|
333
333
|
*/
|
|
334
334
|
export interface DescribeAlertManagerDefinitionResponse {
|
|
335
335
|
/**
|
|
336
|
-
* @public
|
|
337
336
|
* <p>The alert manager definition.</p>
|
|
337
|
+
* @public
|
|
338
338
|
*/
|
|
339
339
|
alertManagerDefinition: AlertManagerDefinitionDescription | undefined;
|
|
340
340
|
}
|
|
341
341
|
/**
|
|
342
|
-
* @public
|
|
343
342
|
* <p>Represents the input of a <code>PutAlertManagerDefinition</code> operation.</p>
|
|
343
|
+
* @public
|
|
344
344
|
*/
|
|
345
345
|
export interface PutAlertManagerDefinitionRequest {
|
|
346
346
|
/**
|
|
347
|
-
* @public
|
|
348
347
|
* <p>The ID of the workspace to update the alert manager definition in.</p>
|
|
348
|
+
* @public
|
|
349
349
|
*/
|
|
350
350
|
workspaceId: string | undefined;
|
|
351
351
|
/**
|
|
352
|
-
* @public
|
|
353
352
|
* <p>The alert manager definition to use. A base64-encoded version of the YAML alert
|
|
354
353
|
* manager definition file.</p>
|
|
355
354
|
* <p>For details about the alert manager definition, see <a href="https://docs.aws.amazon.com/prometheus/latest/APIReference/yaml-AlertManagerDefinitionData.html">AlertManagedDefinitionData</a>.</p>
|
|
355
|
+
* @public
|
|
356
356
|
*/
|
|
357
357
|
data: Uint8Array | undefined;
|
|
358
358
|
/**
|
|
359
|
-
* @public
|
|
360
359
|
* <p>A unique identifier that you can provide to ensure the idempotency of the request.
|
|
361
360
|
* Case-sensitive.</p>
|
|
361
|
+
* @public
|
|
362
362
|
*/
|
|
363
363
|
clientToken?: string;
|
|
364
364
|
}
|
|
365
365
|
/**
|
|
366
|
-
* @public
|
|
367
366
|
* <p>Represents the output of a <code>PutAlertManagerDefinition</code> operation.</p>
|
|
367
|
+
* @public
|
|
368
368
|
*/
|
|
369
369
|
export interface PutAlertManagerDefinitionResponse {
|
|
370
370
|
/**
|
|
371
|
-
* @public
|
|
372
371
|
* <p>A structure that returns the current status of the alert manager definition.</p>
|
|
372
|
+
* @public
|
|
373
373
|
*/
|
|
374
374
|
status: AlertManagerDefinitionStatus | undefined;
|
|
375
375
|
}
|
|
376
376
|
/**
|
|
377
|
-
* @public
|
|
378
377
|
* <p>Represents the input of a <code>GetDefaultScraperConfiguration</code> operation.</p>
|
|
378
|
+
* @public
|
|
379
379
|
*/
|
|
380
380
|
export interface GetDefaultScraperConfigurationRequest {
|
|
381
381
|
}
|
|
382
382
|
/**
|
|
383
|
-
* @public
|
|
384
383
|
* <p>Represents the output of a <code>GetDefaultScraperConfiguration</code> operation.</p>
|
|
384
|
+
* @public
|
|
385
385
|
*/
|
|
386
386
|
export interface GetDefaultScraperConfigurationResponse {
|
|
387
387
|
/**
|
|
388
|
-
* @public
|
|
389
388
|
* <p>The configuration file. Base 64 encoded.
|
|
390
389
|
* For more information, see <a href="https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-collector-how-to.html#AMP-collector-configuration">Scraper configuration</a>in the <i>Amazon Managed Service for Prometheus User
|
|
391
390
|
* Guide</i>.</p>
|
|
391
|
+
* @public
|
|
392
392
|
*/
|
|
393
393
|
configuration: Uint8Array | undefined;
|
|
394
394
|
}
|
|
@@ -397,9 +397,9 @@ export interface GetDefaultScraperConfigurationResponse {
|
|
|
397
397
|
*/
|
|
398
398
|
export interface ListTagsForResourceRequest {
|
|
399
399
|
/**
|
|
400
|
-
* @public
|
|
401
400
|
* <p>The ARN of the resource to list tages for. Must be a workspace or rule groups
|
|
402
401
|
* namespace resource.</p>
|
|
402
|
+
* @public
|
|
403
403
|
*/
|
|
404
404
|
resourceArn: string | undefined;
|
|
405
405
|
}
|
|
@@ -408,26 +408,26 @@ export interface ListTagsForResourceRequest {
|
|
|
408
408
|
*/
|
|
409
409
|
export interface ListTagsForResourceResponse {
|
|
410
410
|
/**
|
|
411
|
-
* @public
|
|
412
411
|
* <p>The list of tag keys and values associated with the resource.</p>
|
|
412
|
+
* @public
|
|
413
413
|
*/
|
|
414
414
|
tags?: Record<string, string>;
|
|
415
415
|
}
|
|
416
416
|
/**
|
|
417
|
-
* @public
|
|
418
417
|
* <p>The <code>AmpConfiguration</code> structure defines the Amazon Managed Service for Prometheus instance a scraper
|
|
419
418
|
* should send metrics to.</p>
|
|
419
|
+
* @public
|
|
420
420
|
*/
|
|
421
421
|
export interface AmpConfiguration {
|
|
422
422
|
/**
|
|
423
|
-
* @public
|
|
424
423
|
* <p>ARN of the Amazon Managed Service for Prometheus workspace.</p>
|
|
424
|
+
* @public
|
|
425
425
|
*/
|
|
426
426
|
workspaceArn: string | undefined;
|
|
427
427
|
}
|
|
428
428
|
/**
|
|
429
|
-
* @public
|
|
430
429
|
* <p>Where to send the metrics from a scraper.</p>
|
|
430
|
+
* @public
|
|
431
431
|
*/
|
|
432
432
|
export type Destination = Destination.AmpConfigurationMember | Destination.$UnknownMember;
|
|
433
433
|
/**
|
|
@@ -435,8 +435,8 @@ export type Destination = Destination.AmpConfigurationMember | Destination.$Unkn
|
|
|
435
435
|
*/
|
|
436
436
|
export declare namespace Destination {
|
|
437
437
|
/**
|
|
438
|
-
* @public
|
|
439
438
|
* <p>The Amazon Managed Service for Prometheusworkspace to send metrics to.</p>
|
|
439
|
+
* @public
|
|
440
440
|
*/
|
|
441
441
|
interface AmpConfigurationMember {
|
|
442
442
|
ampConfiguration: AmpConfiguration;
|
|
@@ -456,9 +456,9 @@ export declare namespace Destination {
|
|
|
456
456
|
const visit: <T>(value: Destination, visitor: Visitor<T>) => T;
|
|
457
457
|
}
|
|
458
458
|
/**
|
|
459
|
-
* @public
|
|
460
459
|
* <p>A scrape configuration for a scraper, base 64 encoded. For more information, see <a href="prometheus/latest/userguide/AMP-collector-how-to.html#AMP-collector-configuration">Scraper configuration</a> in the <i>Amazon Managed Service for Prometheus User
|
|
461
460
|
* Guide</i>.</p>
|
|
461
|
+
* @public
|
|
462
462
|
*/
|
|
463
463
|
export type ScrapeConfiguration = ScrapeConfiguration.ConfigurationBlobMember | ScrapeConfiguration.$UnknownMember;
|
|
464
464
|
/**
|
|
@@ -466,8 +466,8 @@ export type ScrapeConfiguration = ScrapeConfiguration.ConfigurationBlobMember |
|
|
|
466
466
|
*/
|
|
467
467
|
export declare namespace ScrapeConfiguration {
|
|
468
468
|
/**
|
|
469
|
-
* @public
|
|
470
469
|
* <p>The base 64 encoded scrape configuration file.</p>
|
|
470
|
+
* @public
|
|
471
471
|
*/
|
|
472
472
|
interface ConfigurationBlobMember {
|
|
473
473
|
configurationBlob: Uint8Array;
|
|
@@ -487,30 +487,30 @@ export declare namespace ScrapeConfiguration {
|
|
|
487
487
|
const visit: <T>(value: ScrapeConfiguration, visitor: Visitor<T>) => T;
|
|
488
488
|
}
|
|
489
489
|
/**
|
|
490
|
-
* @public
|
|
491
490
|
* <p>The <code>EksConfiguration</code> structure describes the connection to the
|
|
492
491
|
* Amazon EKS cluster from which a scraper collects metrics.</p>
|
|
492
|
+
* @public
|
|
493
493
|
*/
|
|
494
494
|
export interface EksConfiguration {
|
|
495
495
|
/**
|
|
496
|
-
* @public
|
|
497
496
|
* <p>ARN of the Amazon EKS cluster.</p>
|
|
497
|
+
* @public
|
|
498
498
|
*/
|
|
499
499
|
clusterArn: string | undefined;
|
|
500
500
|
/**
|
|
501
|
-
* @public
|
|
502
501
|
* <p>A list of the security group IDs for the Amazon EKS cluster VPC configuration.</p>
|
|
502
|
+
* @public
|
|
503
503
|
*/
|
|
504
504
|
securityGroupIds?: string[];
|
|
505
505
|
/**
|
|
506
|
-
* @public
|
|
507
506
|
* <p>A list of subnet IDs for the Amazon EKS cluster VPC configuration.</p>
|
|
507
|
+
* @public
|
|
508
508
|
*/
|
|
509
509
|
subnetIds: string[] | undefined;
|
|
510
510
|
}
|
|
511
511
|
/**
|
|
512
|
-
* @public
|
|
513
512
|
* <p>The source of collected metrics for a scraper.</p>
|
|
513
|
+
* @public
|
|
514
514
|
*/
|
|
515
515
|
export type Source = Source.EksConfigurationMember | Source.$UnknownMember;
|
|
516
516
|
/**
|
|
@@ -518,8 +518,8 @@ export type Source = Source.EksConfigurationMember | Source.$UnknownMember;
|
|
|
518
518
|
*/
|
|
519
519
|
export declare namespace Source {
|
|
520
520
|
/**
|
|
521
|
-
* @public
|
|
522
521
|
* <p>The Amazon EKS cluster from which a scraper collects metrics.</p>
|
|
522
|
+
* @public
|
|
523
523
|
*/
|
|
524
524
|
interface EksConfigurationMember {
|
|
525
525
|
eksConfiguration: EksConfiguration;
|
|
@@ -539,41 +539,41 @@ export declare namespace Source {
|
|
|
539
539
|
const visit: <T>(value: Source, visitor: Visitor<T>) => T;
|
|
540
540
|
}
|
|
541
541
|
/**
|
|
542
|
-
* @public
|
|
543
542
|
* <p>Represents the input of a <code>CreateScraper</code> operation.</p>
|
|
543
|
+
* @public
|
|
544
544
|
*/
|
|
545
545
|
export interface CreateScraperRequest {
|
|
546
546
|
/**
|
|
547
|
-
* @public
|
|
548
547
|
* <p>(optional) a name to associate with the scraper. This is for your use, and does not
|
|
549
548
|
* need to be unique.</p>
|
|
549
|
+
* @public
|
|
550
550
|
*/
|
|
551
551
|
alias?: string;
|
|
552
552
|
/**
|
|
553
|
-
* @public
|
|
554
553
|
* <p>The configuration file to use in the new scraper. For more information, see <a href="prometheus/latest/userguide/AMP-collector-how-to.html#AMP-collector-configuration">Scraper configuration</a> in the <i>Amazon Managed Service for Prometheus User
|
|
555
554
|
* Guide</i>.</p>
|
|
555
|
+
* @public
|
|
556
556
|
*/
|
|
557
557
|
scrapeConfiguration: ScrapeConfiguration | undefined;
|
|
558
558
|
/**
|
|
559
|
-
* @public
|
|
560
559
|
* <p>The Amazon EKS cluster from which the scraper will collect metrics.</p>
|
|
560
|
+
* @public
|
|
561
561
|
*/
|
|
562
562
|
source: Source | undefined;
|
|
563
563
|
/**
|
|
564
|
-
* @public
|
|
565
564
|
* <p>The Amazon Managed Service for Prometheus workspace to send metrics to.</p>
|
|
565
|
+
* @public
|
|
566
566
|
*/
|
|
567
567
|
destination: Destination | undefined;
|
|
568
568
|
/**
|
|
569
|
-
* @public
|
|
570
569
|
* <p>(Optional) A unique, case-sensitive identifier that you can provide to ensure the
|
|
571
570
|
* idempotency of the request.</p>
|
|
571
|
+
* @public
|
|
572
572
|
*/
|
|
573
573
|
clientToken?: string;
|
|
574
574
|
/**
|
|
575
|
-
* @public
|
|
576
575
|
* <p>(Optional) The list of tag keys and values to associate with the scraper.</p>
|
|
576
|
+
* @public
|
|
577
577
|
*/
|
|
578
578
|
tags?: Record<string, string>;
|
|
579
579
|
}
|
|
@@ -608,173 +608,172 @@ export declare const ScraperStatusCode: {
|
|
|
608
608
|
*/
|
|
609
609
|
export type ScraperStatusCode = (typeof ScraperStatusCode)[keyof typeof ScraperStatusCode];
|
|
610
610
|
/**
|
|
611
|
-
* @public
|
|
612
611
|
* <p>The <code>ScraperStatus</code> structure contains status information about the
|
|
613
612
|
* scraper.</p>
|
|
613
|
+
* @public
|
|
614
614
|
*/
|
|
615
615
|
export interface ScraperStatus {
|
|
616
616
|
/**
|
|
617
|
-
* @public
|
|
618
617
|
* <p>The current status of the scraper.</p>
|
|
618
|
+
* @public
|
|
619
619
|
*/
|
|
620
620
|
statusCode: ScraperStatusCode | undefined;
|
|
621
621
|
}
|
|
622
622
|
/**
|
|
623
|
-
* @public
|
|
624
623
|
* <p>Represents the output of a <code>CreateScraper</code> operation.</p>
|
|
624
|
+
* @public
|
|
625
625
|
*/
|
|
626
626
|
export interface CreateScraperResponse {
|
|
627
627
|
/**
|
|
628
|
-
* @public
|
|
629
628
|
* <p>The ID of the new scraper.</p>
|
|
629
|
+
* @public
|
|
630
630
|
*/
|
|
631
631
|
scraperId: string | undefined;
|
|
632
632
|
/**
|
|
633
|
-
* @public
|
|
634
633
|
* <p>The Amazon Resource Name (ARN) of the new scraper.</p>
|
|
634
|
+
* @public
|
|
635
635
|
*/
|
|
636
636
|
arn: string | undefined;
|
|
637
637
|
/**
|
|
638
|
-
* @public
|
|
639
638
|
* <p>A structure that displays the current status of the scraper.</p>
|
|
639
|
+
* @public
|
|
640
640
|
*/
|
|
641
641
|
status: ScraperStatus | undefined;
|
|
642
642
|
/**
|
|
643
|
-
* @public
|
|
644
643
|
* <p>The list of tag keys and values that are associated with the scraper.</p>
|
|
644
|
+
* @public
|
|
645
645
|
*/
|
|
646
646
|
tags?: Record<string, string>;
|
|
647
647
|
}
|
|
648
648
|
/**
|
|
649
|
-
* @public
|
|
650
649
|
* <p>Represents the input of a <code>DeleteScraper</code> operation.</p>
|
|
650
|
+
* @public
|
|
651
651
|
*/
|
|
652
652
|
export interface DeleteScraperRequest {
|
|
653
653
|
/**
|
|
654
|
-
* @public
|
|
655
654
|
* <p>The ID of the scraper to delete.</p>
|
|
655
|
+
* @public
|
|
656
656
|
*/
|
|
657
657
|
scraperId: string | undefined;
|
|
658
658
|
/**
|
|
659
|
-
* @public
|
|
660
659
|
* <p>(Optional) A unique, case-sensitive identifier that you can provide to ensure the
|
|
661
660
|
* idempotency of the request.</p>
|
|
661
|
+
* @public
|
|
662
662
|
*/
|
|
663
663
|
clientToken?: string;
|
|
664
664
|
}
|
|
665
665
|
/**
|
|
666
|
-
* @public
|
|
667
666
|
* <p>Represents the output of a <code>DeleteScraper</code> operation.</p>
|
|
667
|
+
* @public
|
|
668
668
|
*/
|
|
669
669
|
export interface DeleteScraperResponse {
|
|
670
670
|
/**
|
|
671
|
-
* @public
|
|
672
671
|
* <p>The ID of the scraper to delete.</p>
|
|
672
|
+
* @public
|
|
673
673
|
*/
|
|
674
674
|
scraperId: string | undefined;
|
|
675
675
|
/**
|
|
676
|
-
* @public
|
|
677
676
|
* <p>The current status of the scraper.</p>
|
|
677
|
+
* @public
|
|
678
678
|
*/
|
|
679
679
|
status: ScraperStatus | undefined;
|
|
680
680
|
}
|
|
681
681
|
/**
|
|
682
|
-
* @public
|
|
683
682
|
* <p>Represents the input of a <code>DescribeScraper</code> operation.</p>
|
|
683
|
+
* @public
|
|
684
684
|
*/
|
|
685
685
|
export interface DescribeScraperRequest {
|
|
686
686
|
/**
|
|
687
|
-
* @public
|
|
688
687
|
* <p>The ID of the scraper to describe.</p>
|
|
688
|
+
* @public
|
|
689
689
|
*/
|
|
690
690
|
scraperId: string | undefined;
|
|
691
691
|
}
|
|
692
692
|
/**
|
|
693
|
-
* @public
|
|
694
693
|
* <p>The <code>ScraperDescription</code> structure contains the full details about one
|
|
695
694
|
* scraper in your account.</p>
|
|
695
|
+
* @public
|
|
696
696
|
*/
|
|
697
697
|
export interface ScraperDescription {
|
|
698
698
|
/**
|
|
699
|
-
* @public
|
|
700
699
|
* <p>(Optional) A name associated with the scraper.</p>
|
|
700
|
+
* @public
|
|
701
701
|
*/
|
|
702
702
|
alias?: string;
|
|
703
703
|
/**
|
|
704
|
-
* @public
|
|
705
704
|
* <p>The ID of the scraper.</p>
|
|
705
|
+
* @public
|
|
706
706
|
*/
|
|
707
707
|
scraperId: string | undefined;
|
|
708
708
|
/**
|
|
709
|
-
* @public
|
|
710
709
|
* <p>The Amazon Resource Name (ARN) of the scraper.</p>
|
|
710
|
+
* @public
|
|
711
711
|
*/
|
|
712
712
|
arn: string | undefined;
|
|
713
713
|
/**
|
|
714
|
-
* @public
|
|
715
714
|
* <p>The Amazon Resource Name (ARN) of the IAM role that provides
|
|
716
715
|
* permissions for the scraper to discover and collect metrics on your behalf.</p>
|
|
716
|
+
* @public
|
|
717
717
|
*/
|
|
718
718
|
roleArn: string | undefined;
|
|
719
719
|
/**
|
|
720
|
-
* @public
|
|
721
720
|
* <p>A structure that contains the current status of the scraper.</p>
|
|
721
|
+
* @public
|
|
722
722
|
*/
|
|
723
723
|
status: ScraperStatus | undefined;
|
|
724
724
|
/**
|
|
725
|
-
* @public
|
|
726
725
|
* <p>The date and time that the scraper was created.</p>
|
|
726
|
+
* @public
|
|
727
727
|
*/
|
|
728
728
|
createdAt: Date | undefined;
|
|
729
729
|
/**
|
|
730
|
-
* @public
|
|
731
730
|
* <p>The date and time that the scraper was last modified.</p>
|
|
731
|
+
* @public
|
|
732
732
|
*/
|
|
733
733
|
lastModifiedAt: Date | undefined;
|
|
734
734
|
/**
|
|
735
|
-
* @public
|
|
736
735
|
* <p>(Optional) The list of tag keys and values associated with the scraper.</p>
|
|
736
|
+
* @public
|
|
737
737
|
*/
|
|
738
738
|
tags?: Record<string, string>;
|
|
739
739
|
/**
|
|
740
|
-
* @public
|
|
741
740
|
* <p>If there is a failure, the reason for the failure.</p>
|
|
741
|
+
* @public
|
|
742
742
|
*/
|
|
743
743
|
statusReason?: string;
|
|
744
744
|
/**
|
|
745
|
-
* @public
|
|
746
745
|
* <p>The configuration file in use by the scraper.</p>
|
|
746
|
+
* @public
|
|
747
747
|
*/
|
|
748
748
|
scrapeConfiguration: ScrapeConfiguration | undefined;
|
|
749
749
|
/**
|
|
750
|
-
* @public
|
|
751
750
|
* <p>The Amazon EKS cluster from which the scraper collects metrics.</p>
|
|
751
|
+
* @public
|
|
752
752
|
*/
|
|
753
753
|
source: Source | undefined;
|
|
754
754
|
/**
|
|
755
|
-
* @public
|
|
756
755
|
* <p>The Amazon Managed Service for Prometheus workspace the scraper sends metrics to.</p>
|
|
756
|
+
* @public
|
|
757
757
|
*/
|
|
758
758
|
destination: Destination | undefined;
|
|
759
759
|
}
|
|
760
760
|
/**
|
|
761
|
-
* @public
|
|
762
761
|
* <p>Represents the output of a <code>DescribeScraper</code> operation.</p>
|
|
762
|
+
* @public
|
|
763
763
|
*/
|
|
764
764
|
export interface DescribeScraperResponse {
|
|
765
765
|
/**
|
|
766
|
-
* @public
|
|
767
766
|
* <p>Contains details about the scraper.</p>
|
|
767
|
+
* @public
|
|
768
768
|
*/
|
|
769
769
|
scraper: ScraperDescription | undefined;
|
|
770
770
|
}
|
|
771
771
|
/**
|
|
772
|
-
* @public
|
|
773
772
|
* <p>Represents the input of a <code>ListScrapers</code> operation.</p>
|
|
773
|
+
* @public
|
|
774
774
|
*/
|
|
775
775
|
export interface ListScrapersRequest {
|
|
776
776
|
/**
|
|
777
|
-
* @public
|
|
778
777
|
* <p>(Optional) A list of key-value pairs to filter the list of scrapers returned.
|
|
779
778
|
* Keys include <code>status</code>, <code>sourceArn</code>,
|
|
780
779
|
* <code>destinationArn</code>, and <code>alias</code>.</p>
|
|
@@ -789,102 +788,103 @@ export interface ListScrapersRequest {
|
|
|
789
788
|
* </p>
|
|
790
789
|
* <p>If this is included, it filters the results to only the scrapers that match
|
|
791
790
|
* the filter.</p>
|
|
791
|
+
* @public
|
|
792
792
|
*/
|
|
793
793
|
filters?: Record<string, string[]>;
|
|
794
794
|
/**
|
|
795
|
-
* @public
|
|
796
795
|
* <p>(Optional) The token for the next set of
|
|
797
796
|
* items to return. (You received this token from a previous call.)</p>
|
|
797
|
+
* @public
|
|
798
798
|
*/
|
|
799
799
|
nextToken?: string;
|
|
800
800
|
/**
|
|
801
|
-
* @public
|
|
802
801
|
* <p>Optional) The maximum number of
|
|
803
802
|
* scrapers to return in one <code>ListScrapers</code> operation. The range is
|
|
804
803
|
* 1-1000.</p>
|
|
805
804
|
* <p>If you omit this parameter, the default of 100 is used.</p>
|
|
805
|
+
* @public
|
|
806
806
|
*/
|
|
807
807
|
maxResults?: number;
|
|
808
808
|
}
|
|
809
809
|
/**
|
|
810
|
-
* @public
|
|
811
810
|
* <p>The <code>ScraperSummary</code> structure contains a summary of the details about one
|
|
812
811
|
* scraper in your account.</p>
|
|
812
|
+
* @public
|
|
813
813
|
*/
|
|
814
814
|
export interface ScraperSummary {
|
|
815
815
|
/**
|
|
816
|
-
* @public
|
|
817
816
|
* <p>(Optional) A name associated with the scraper.</p>
|
|
817
|
+
* @public
|
|
818
818
|
*/
|
|
819
819
|
alias?: string;
|
|
820
820
|
/**
|
|
821
|
-
* @public
|
|
822
821
|
* <p>The ID of the scraper.</p>
|
|
822
|
+
* @public
|
|
823
823
|
*/
|
|
824
824
|
scraperId: string | undefined;
|
|
825
825
|
/**
|
|
826
|
-
* @public
|
|
827
826
|
* <p>The Amazon Resource Name (ARN) of the scraper.</p>
|
|
827
|
+
* @public
|
|
828
828
|
*/
|
|
829
829
|
arn: string | undefined;
|
|
830
830
|
/**
|
|
831
|
-
* @public
|
|
832
831
|
* <p>The Amazon Resource Name (ARN) of the IAM role that provides
|
|
833
832
|
* permissions for the scraper to discover and collect metrics on your behalf.</p>
|
|
833
|
+
* @public
|
|
834
834
|
*/
|
|
835
835
|
roleArn: string | undefined;
|
|
836
836
|
/**
|
|
837
|
-
* @public
|
|
838
837
|
* <p>A structure that contains the current status of the scraper.</p>
|
|
838
|
+
* @public
|
|
839
839
|
*/
|
|
840
840
|
status: ScraperStatus | undefined;
|
|
841
841
|
/**
|
|
842
|
-
* @public
|
|
843
842
|
* <p>The date and time that the scraper was created.</p>
|
|
843
|
+
* @public
|
|
844
844
|
*/
|
|
845
845
|
createdAt: Date | undefined;
|
|
846
846
|
/**
|
|
847
|
-
* @public
|
|
848
847
|
* <p>The date and time that the scraper was last modified.</p>
|
|
848
|
+
* @public
|
|
849
849
|
*/
|
|
850
850
|
lastModifiedAt: Date | undefined;
|
|
851
851
|
/**
|
|
852
|
-
* @public
|
|
853
852
|
* <p>(Optional) The list of tag keys and values associated with the scraper.</p>
|
|
853
|
+
* @public
|
|
854
854
|
*/
|
|
855
855
|
tags?: Record<string, string>;
|
|
856
856
|
/**
|
|
857
|
-
* @public
|
|
858
857
|
* <p>If there is a failure, the reason for the failure.</p>
|
|
858
|
+
* @public
|
|
859
859
|
*/
|
|
860
860
|
statusReason?: string;
|
|
861
861
|
/**
|
|
862
|
-
* @public
|
|
863
862
|
* <p>The Amazon EKS cluster from which the scraper collects metrics.</p>
|
|
863
|
+
* @public
|
|
864
864
|
*/
|
|
865
865
|
source: Source | undefined;
|
|
866
866
|
/**
|
|
867
|
-
* @public
|
|
868
867
|
* <p>The Amazon Managed Service for Prometheus workspace the scraper sends metrics to.</p>
|
|
868
|
+
* @public
|
|
869
869
|
*/
|
|
870
870
|
destination: Destination | undefined;
|
|
871
871
|
}
|
|
872
872
|
/**
|
|
873
|
-
* @public
|
|
874
873
|
* <p>Represents the output of a <code>ListScrapers</code> operation.</p>
|
|
874
|
+
* @public
|
|
875
875
|
*/
|
|
876
876
|
export interface ListScrapersResponse {
|
|
877
877
|
/**
|
|
878
|
-
* @public
|
|
879
878
|
* <p>A list of <code>ScraperSummary</code> structures giving information about scrapers
|
|
880
879
|
* in the account that match the filters provided.</p>
|
|
880
|
+
* @public
|
|
881
881
|
*/
|
|
882
882
|
scrapers: ScraperSummary[] | undefined;
|
|
883
883
|
/**
|
|
884
|
-
* @public
|
|
885
884
|
* <p>A token indicating that there are more
|
|
886
885
|
* results to retrieve. You can use this token as part of your next
|
|
887
886
|
* <code>ListScrapers</code> operation to retrieve those results.</p>
|
|
887
|
+
* @public
|
|
888
888
|
*/
|
|
889
889
|
nextToken?: string;
|
|
890
890
|
}
|
|
@@ -893,14 +893,14 @@ export interface ListScrapersResponse {
|
|
|
893
893
|
*/
|
|
894
894
|
export interface TagResourceRequest {
|
|
895
895
|
/**
|
|
896
|
-
* @public
|
|
897
896
|
* <p>The ARN of the workspace or rule groups namespace to apply tags to.</p>
|
|
897
|
+
* @public
|
|
898
898
|
*/
|
|
899
899
|
resourceArn: string | undefined;
|
|
900
900
|
/**
|
|
901
|
-
* @public
|
|
902
901
|
* <p>The list of tag keys and values to associate with the resource.</p>
|
|
903
902
|
* <p>Keys may not begin with <code>aws:</code>.</p>
|
|
903
|
+
* @public
|
|
904
904
|
*/
|
|
905
905
|
tags: Record<string, string> | undefined;
|
|
906
906
|
}
|
|
@@ -914,13 +914,13 @@ export interface TagResourceResponse {
|
|
|
914
914
|
*/
|
|
915
915
|
export interface UntagResourceRequest {
|
|
916
916
|
/**
|
|
917
|
-
* @public
|
|
918
917
|
* <p>The ARN of the workspace or rule groups namespace.</p>
|
|
918
|
+
* @public
|
|
919
919
|
*/
|
|
920
920
|
resourceArn: string | undefined;
|
|
921
921
|
/**
|
|
922
|
-
* @public
|
|
923
922
|
* <p>The keys of the tags to remove.</p>
|
|
923
|
+
* @public
|
|
924
924
|
*/
|
|
925
925
|
tagKeys: string[] | undefined;
|
|
926
926
|
}
|
|
@@ -930,35 +930,35 @@ export interface UntagResourceRequest {
|
|
|
930
930
|
export interface UntagResourceResponse {
|
|
931
931
|
}
|
|
932
932
|
/**
|
|
933
|
-
* @public
|
|
934
933
|
* <p>Represents the input of a <code>CreateWorkspace</code> operation.</p>
|
|
934
|
+
* @public
|
|
935
935
|
*/
|
|
936
936
|
export interface CreateWorkspaceRequest {
|
|
937
937
|
/**
|
|
938
|
-
* @public
|
|
939
938
|
* <p>An alias that you assign to this workspace to help you identify it. It does not need
|
|
940
939
|
* to be unique.</p>
|
|
941
940
|
* <p>Blank spaces at the beginning or end of the alias that you specify will be trimmed
|
|
942
941
|
* from the value used.</p>
|
|
942
|
+
* @public
|
|
943
943
|
*/
|
|
944
944
|
alias?: string;
|
|
945
945
|
/**
|
|
946
|
-
* @public
|
|
947
946
|
* <p>A unique identifier that you can provide to ensure the idempotency of the request.
|
|
948
947
|
* Case-sensitive.</p>
|
|
948
|
+
* @public
|
|
949
949
|
*/
|
|
950
950
|
clientToken?: string;
|
|
951
951
|
/**
|
|
952
|
-
* @public
|
|
953
952
|
* <p>The list of tag keys and values to associate with the workspace.</p>
|
|
953
|
+
* @public
|
|
954
954
|
*/
|
|
955
955
|
tags?: Record<string, string>;
|
|
956
956
|
/**
|
|
957
|
-
* @public
|
|
958
957
|
* <p>(optional) The ARN for a customer managed KMS key to use for
|
|
959
958
|
* encrypting data within your workspace. For more information about using your
|
|
960
959
|
* own key in your workspace, see <a href="https://docs.aws.amazon.com/prometheus/latest/userguide/encryption-at-rest-Amazon-Service-Prometheus.html">Encryption at rest</a> in the <i>Amazon Managed Service for Prometheus User
|
|
961
960
|
* Guide</i>.</p>
|
|
961
|
+
* @public
|
|
962
962
|
*/
|
|
963
963
|
kmsKeyArn?: string;
|
|
964
964
|
}
|
|
@@ -993,143 +993,142 @@ export declare const WorkspaceStatusCode: {
|
|
|
993
993
|
*/
|
|
994
994
|
export type WorkspaceStatusCode = (typeof WorkspaceStatusCode)[keyof typeof WorkspaceStatusCode];
|
|
995
995
|
/**
|
|
996
|
-
* @public
|
|
997
996
|
* <p>The status of the workspace.</p>
|
|
997
|
+
* @public
|
|
998
998
|
*/
|
|
999
999
|
export interface WorkspaceStatus {
|
|
1000
1000
|
/**
|
|
1001
|
-
* @public
|
|
1002
1001
|
* <p>The current status of the workspace.</p>
|
|
1002
|
+
* @public
|
|
1003
1003
|
*/
|
|
1004
1004
|
statusCode: WorkspaceStatusCode | undefined;
|
|
1005
1005
|
}
|
|
1006
1006
|
/**
|
|
1007
|
-
* @public
|
|
1008
1007
|
* <p>Represents the output of a <code>CreateWorkspace</code> operation.</p>
|
|
1008
|
+
* @public
|
|
1009
1009
|
*/
|
|
1010
1010
|
export interface CreateWorkspaceResponse {
|
|
1011
1011
|
/**
|
|
1012
|
-
* @public
|
|
1013
1012
|
* <p>The unique ID for the new workspace.</p>
|
|
1013
|
+
* @public
|
|
1014
1014
|
*/
|
|
1015
1015
|
workspaceId: string | undefined;
|
|
1016
1016
|
/**
|
|
1017
|
-
* @public
|
|
1018
1017
|
* <p>The ARN for the new workspace.</p>
|
|
1018
|
+
* @public
|
|
1019
1019
|
*/
|
|
1020
1020
|
arn: string | undefined;
|
|
1021
1021
|
/**
|
|
1022
|
-
* @public
|
|
1023
1022
|
* <p>The current status of the new workspace. Immediately after you create the workspace,
|
|
1024
1023
|
* the status is usually <code>CREATING</code>.</p>
|
|
1024
|
+
* @public
|
|
1025
1025
|
*/
|
|
1026
1026
|
status: WorkspaceStatus | undefined;
|
|
1027
1027
|
/**
|
|
1028
|
-
* @public
|
|
1029
1028
|
* <p>The list of tag keys and values that are associated with the workspace.</p>
|
|
1029
|
+
* @public
|
|
1030
1030
|
*/
|
|
1031
1031
|
tags?: Record<string, string>;
|
|
1032
1032
|
/**
|
|
1033
|
-
* @public
|
|
1034
1033
|
* <p>(optional) If the workspace was created with a customer managed KMS
|
|
1035
1034
|
* key, the ARN for the key used.</p>
|
|
1035
|
+
* @public
|
|
1036
1036
|
*/
|
|
1037
1037
|
kmsKeyArn?: string;
|
|
1038
1038
|
}
|
|
1039
1039
|
/**
|
|
1040
|
-
* @public
|
|
1041
1040
|
* <p>Represents the input of a <code>DeleteWorkspace</code> operation.</p>
|
|
1041
|
+
* @public
|
|
1042
1042
|
*/
|
|
1043
1043
|
export interface DeleteWorkspaceRequest {
|
|
1044
1044
|
/**
|
|
1045
|
-
* @public
|
|
1046
1045
|
* <p>The ID of the workspace to delete.</p>
|
|
1046
|
+
* @public
|
|
1047
1047
|
*/
|
|
1048
1048
|
workspaceId: string | undefined;
|
|
1049
1049
|
/**
|
|
1050
|
-
* @public
|
|
1051
1050
|
* <p>A unique identifier that you can provide to ensure the idempotency of the request.
|
|
1052
1051
|
* Case-sensitive.</p>
|
|
1052
|
+
* @public
|
|
1053
1053
|
*/
|
|
1054
1054
|
clientToken?: string;
|
|
1055
1055
|
}
|
|
1056
1056
|
/**
|
|
1057
|
-
* @public
|
|
1058
1057
|
* <p>Represents the input of a <code>DescribeWorkspace</code> operation.</p>
|
|
1058
|
+
* @public
|
|
1059
1059
|
*/
|
|
1060
1060
|
export interface DescribeWorkspaceRequest {
|
|
1061
1061
|
/**
|
|
1062
|
-
* @public
|
|
1063
1062
|
* <p>The ID of the workspace to describe.</p>
|
|
1063
|
+
* @public
|
|
1064
1064
|
*/
|
|
1065
1065
|
workspaceId: string | undefined;
|
|
1066
1066
|
}
|
|
1067
1067
|
/**
|
|
1068
|
-
* @public
|
|
1069
1068
|
* <p>The full details about one Amazon Managed Service for Prometheus workspace in your account.</p>
|
|
1069
|
+
* @public
|
|
1070
1070
|
*/
|
|
1071
1071
|
export interface WorkspaceDescription {
|
|
1072
1072
|
/**
|
|
1073
|
-
* @public
|
|
1074
1073
|
* <p>The unique ID for the workspace.</p>
|
|
1074
|
+
* @public
|
|
1075
1075
|
*/
|
|
1076
1076
|
workspaceId: string | undefined;
|
|
1077
1077
|
/**
|
|
1078
|
-
* @public
|
|
1079
1078
|
* <p>The alias that is assigned to this workspace to help identify it. It may not be
|
|
1080
1079
|
* unique.</p>
|
|
1080
|
+
* @public
|
|
1081
1081
|
*/
|
|
1082
1082
|
alias?: string;
|
|
1083
1083
|
/**
|
|
1084
|
-
* @public
|
|
1085
1084
|
* <p>The ARN of the workspace.</p>
|
|
1085
|
+
* @public
|
|
1086
1086
|
*/
|
|
1087
1087
|
arn: string | undefined;
|
|
1088
1088
|
/**
|
|
1089
|
-
* @public
|
|
1090
1089
|
* <p>The current status of the workspace.</p>
|
|
1090
|
+
* @public
|
|
1091
1091
|
*/
|
|
1092
1092
|
status: WorkspaceStatus | undefined;
|
|
1093
1093
|
/**
|
|
1094
|
-
* @public
|
|
1095
1094
|
* <p>The Prometheus endpoint available for this workspace. </p>
|
|
1095
|
+
* @public
|
|
1096
1096
|
*/
|
|
1097
1097
|
prometheusEndpoint?: string;
|
|
1098
1098
|
/**
|
|
1099
|
-
* @public
|
|
1100
1099
|
* <p>The date and time that the workspace was created.</p>
|
|
1100
|
+
* @public
|
|
1101
1101
|
*/
|
|
1102
1102
|
createdAt: Date | undefined;
|
|
1103
1103
|
/**
|
|
1104
|
-
* @public
|
|
1105
1104
|
* <p>The list of tag keys and values that are associated with the workspace.</p>
|
|
1105
|
+
* @public
|
|
1106
1106
|
*/
|
|
1107
1107
|
tags?: Record<string, string>;
|
|
1108
1108
|
/**
|
|
1109
|
-
* @public
|
|
1110
1109
|
* <p>(optional) If the workspace was created with a customer managed KMS
|
|
1111
1110
|
* key, the ARN for the key used.</p>
|
|
1111
|
+
* @public
|
|
1112
1112
|
*/
|
|
1113
1113
|
kmsKeyArn?: string;
|
|
1114
1114
|
}
|
|
1115
1115
|
/**
|
|
1116
|
-
* @public
|
|
1117
1116
|
* <p>Represents the output of a <code>DescribeWorkspace</code> operation.</p>
|
|
1117
|
+
* @public
|
|
1118
1118
|
*/
|
|
1119
1119
|
export interface DescribeWorkspaceResponse {
|
|
1120
1120
|
/**
|
|
1121
|
-
* @public
|
|
1122
1121
|
* <p>A structure that contains details about the workspace.</p>
|
|
1122
|
+
* @public
|
|
1123
1123
|
*/
|
|
1124
1124
|
workspace: WorkspaceDescription | undefined;
|
|
1125
1125
|
}
|
|
1126
1126
|
/**
|
|
1127
|
-
* @public
|
|
1128
1127
|
* <p>Represents the input of a <code>ListWorkspaces</code> operation.</p>
|
|
1128
|
+
* @public
|
|
1129
1129
|
*/
|
|
1130
1130
|
export interface ListWorkspacesRequest {
|
|
1131
1131
|
/**
|
|
1132
|
-
* @public
|
|
1133
1132
|
* <p>The token for the next set of items to return. You receive this token from a previous
|
|
1134
1133
|
* call, and use it to get the next page of results. The other parameters must be the same
|
|
1135
1134
|
* as the initial call.</p>
|
|
@@ -1137,103 +1136,104 @@ export interface ListWorkspacesRequest {
|
|
|
1137
1136
|
* 12 workspaces to return, then your initial request will return 10 and a
|
|
1138
1137
|
* <code>nextToken</code>. Using the next token in a subsequent call will return the
|
|
1139
1138
|
* remaining 2 workspaces.</p>
|
|
1139
|
+
* @public
|
|
1140
1140
|
*/
|
|
1141
1141
|
nextToken?: string;
|
|
1142
1142
|
/**
|
|
1143
|
-
* @public
|
|
1144
1143
|
* <p>If this is included, it filters the results to only the workspaces with names that
|
|
1145
1144
|
* start with the value that you specify here.</p>
|
|
1146
1145
|
* <p>Amazon Managed Service for Prometheus will automatically strip any blank spaces from the beginning
|
|
1147
1146
|
* and end of the alias that you specify.</p>
|
|
1147
|
+
* @public
|
|
1148
1148
|
*/
|
|
1149
1149
|
alias?: string;
|
|
1150
1150
|
/**
|
|
1151
|
-
* @public
|
|
1152
1151
|
* <p>The maximum number of workspaces to return per request. The default is 100.</p>
|
|
1152
|
+
* @public
|
|
1153
1153
|
*/
|
|
1154
1154
|
maxResults?: number;
|
|
1155
1155
|
}
|
|
1156
1156
|
/**
|
|
1157
|
-
* @public
|
|
1158
1157
|
* <p>The information about one Amazon Managed Service for Prometheus workspace in your account. </p>
|
|
1158
|
+
* @public
|
|
1159
1159
|
*/
|
|
1160
1160
|
export interface WorkspaceSummary {
|
|
1161
1161
|
/**
|
|
1162
|
-
* @public
|
|
1163
1162
|
* <p>The unique ID for the workspace.</p>
|
|
1163
|
+
* @public
|
|
1164
1164
|
*/
|
|
1165
1165
|
workspaceId: string | undefined;
|
|
1166
1166
|
/**
|
|
1167
|
-
* @public
|
|
1168
1167
|
* <p>The alias that is assigned to this workspace to help identify it. It may not be
|
|
1169
1168
|
* unique.</p>
|
|
1169
|
+
* @public
|
|
1170
1170
|
*/
|
|
1171
1171
|
alias?: string;
|
|
1172
1172
|
/**
|
|
1173
|
-
* @public
|
|
1174
1173
|
* <p>The ARN of the workspace.</p>
|
|
1174
|
+
* @public
|
|
1175
1175
|
*/
|
|
1176
1176
|
arn: string | undefined;
|
|
1177
1177
|
/**
|
|
1178
|
-
* @public
|
|
1179
1178
|
* <p>The current status of the workspace.</p>
|
|
1179
|
+
* @public
|
|
1180
1180
|
*/
|
|
1181
1181
|
status: WorkspaceStatus | undefined;
|
|
1182
1182
|
/**
|
|
1183
|
-
* @public
|
|
1184
1183
|
* <p>The date and time that the workspace was created.</p>
|
|
1184
|
+
* @public
|
|
1185
1185
|
*/
|
|
1186
1186
|
createdAt: Date | undefined;
|
|
1187
1187
|
/**
|
|
1188
|
-
* @public
|
|
1189
1188
|
* <p>The list of tag keys and values that are associated with the workspace.</p>
|
|
1189
|
+
* @public
|
|
1190
1190
|
*/
|
|
1191
1191
|
tags?: Record<string, string>;
|
|
1192
1192
|
/**
|
|
1193
|
-
* @public
|
|
1194
1193
|
* <p>(optional) If the workspace was created with a customer managed KMS
|
|
1195
1194
|
* key, the ARN for the key used.</p>
|
|
1195
|
+
* @public
|
|
1196
1196
|
*/
|
|
1197
1197
|
kmsKeyArn?: string;
|
|
1198
1198
|
}
|
|
1199
1199
|
/**
|
|
1200
|
-
* @public
|
|
1201
1200
|
* <p>Represents the output of a <code>ListWorkspaces</code> operation.</p>
|
|
1201
|
+
* @public
|
|
1202
1202
|
*/
|
|
1203
1203
|
export interface ListWorkspacesResponse {
|
|
1204
1204
|
/**
|
|
1205
|
-
* @public
|
|
1206
1205
|
* <p>An array of <code>WorkspaceSummary</code> structures containing information about the
|
|
1207
1206
|
* workspaces requested.</p>
|
|
1207
|
+
* @public
|
|
1208
1208
|
*/
|
|
1209
1209
|
workspaces: WorkspaceSummary[] | undefined;
|
|
1210
1210
|
/**
|
|
1211
|
-
* @public
|
|
1212
1211
|
* <p>A token indicating that there are more results to retrieve. You can use this token as
|
|
1213
1212
|
* part of your next <code>ListWorkspaces</code> request to retrieve those results.</p>
|
|
1213
|
+
* @public
|
|
1214
1214
|
*/
|
|
1215
1215
|
nextToken?: string;
|
|
1216
1216
|
}
|
|
1217
1217
|
/**
|
|
1218
|
-
* @public
|
|
1219
1218
|
* <p>Represents the input of a <code>CreateLoggingConfiguration</code> operation.</p>
|
|
1219
|
+
* @public
|
|
1220
1220
|
*/
|
|
1221
1221
|
export interface CreateLoggingConfigurationRequest {
|
|
1222
1222
|
/**
|
|
1223
|
-
* @public
|
|
1224
1223
|
* <p>The ID of the workspace to create the logging configuration for.</p>
|
|
1224
|
+
* @public
|
|
1225
1225
|
*/
|
|
1226
1226
|
workspaceId: string | undefined;
|
|
1227
1227
|
/**
|
|
1228
|
-
* @public
|
|
1229
1228
|
* <p>The ARN of the CloudWatch log group to which the vended log data will be
|
|
1230
1229
|
* published. This log group must exist prior to calling this API.</p>
|
|
1230
|
+
* @public
|
|
1231
1231
|
*/
|
|
1232
1232
|
logGroupArn: string | undefined;
|
|
1233
1233
|
/**
|
|
1234
|
-
* @public
|
|
1235
1234
|
* <p>A unique identifier that you can provide to ensure the idempotency of the request.
|
|
1236
1235
|
* Case-sensitive.</p>
|
|
1236
|
+
* @public
|
|
1237
1237
|
*/
|
|
1238
1238
|
clientToken?: string;
|
|
1239
1239
|
}
|
|
@@ -1272,168 +1272,168 @@ export declare const LoggingConfigurationStatusCode: {
|
|
|
1272
1272
|
*/
|
|
1273
1273
|
export type LoggingConfigurationStatusCode = (typeof LoggingConfigurationStatusCode)[keyof typeof LoggingConfigurationStatusCode];
|
|
1274
1274
|
/**
|
|
1275
|
-
* @public
|
|
1276
1275
|
* <p>The status of the logging configuration. </p>
|
|
1276
|
+
* @public
|
|
1277
1277
|
*/
|
|
1278
1278
|
export interface LoggingConfigurationStatus {
|
|
1279
1279
|
/**
|
|
1280
|
-
* @public
|
|
1281
1280
|
* <p>The current status of the logging configuration.</p>
|
|
1281
|
+
* @public
|
|
1282
1282
|
*/
|
|
1283
1283
|
statusCode: LoggingConfigurationStatusCode | undefined;
|
|
1284
1284
|
/**
|
|
1285
|
-
* @public
|
|
1286
1285
|
* <p>If failed, the reason for the failure.</p>
|
|
1286
|
+
* @public
|
|
1287
1287
|
*/
|
|
1288
1288
|
statusReason?: string;
|
|
1289
1289
|
}
|
|
1290
1290
|
/**
|
|
1291
|
-
* @public
|
|
1292
1291
|
* <p>Represents the output of a <code>CreateLoggingConfiguration</code> operation.</p>
|
|
1292
|
+
* @public
|
|
1293
1293
|
*/
|
|
1294
1294
|
export interface CreateLoggingConfigurationResponse {
|
|
1295
1295
|
/**
|
|
1296
|
-
* @public
|
|
1297
1296
|
* <p>A structure that displays the current status of the logging configuration.</p>
|
|
1297
|
+
* @public
|
|
1298
1298
|
*/
|
|
1299
1299
|
status: LoggingConfigurationStatus | undefined;
|
|
1300
1300
|
}
|
|
1301
1301
|
/**
|
|
1302
|
-
* @public
|
|
1303
1302
|
* <p>Represents the input of a <code>DeleteLoggingConfiguration</code> operation.</p>
|
|
1303
|
+
* @public
|
|
1304
1304
|
*/
|
|
1305
1305
|
export interface DeleteLoggingConfigurationRequest {
|
|
1306
1306
|
/**
|
|
1307
|
-
* @public
|
|
1308
1307
|
* <p>The ID of the workspace containing the logging configuration to delete.</p>
|
|
1308
|
+
* @public
|
|
1309
1309
|
*/
|
|
1310
1310
|
workspaceId: string | undefined;
|
|
1311
1311
|
/**
|
|
1312
|
-
* @public
|
|
1313
1312
|
* <p>A unique identifier that you can provide to ensure the idempotency of the request.
|
|
1314
1313
|
* Case-sensitive.</p>
|
|
1314
|
+
* @public
|
|
1315
1315
|
*/
|
|
1316
1316
|
clientToken?: string;
|
|
1317
1317
|
}
|
|
1318
1318
|
/**
|
|
1319
|
-
* @public
|
|
1320
1319
|
* <p>Represents the input of a <code>DescribeLoggingConfiguration</code> operation.</p>
|
|
1320
|
+
* @public
|
|
1321
1321
|
*/
|
|
1322
1322
|
export interface DescribeLoggingConfigurationRequest {
|
|
1323
1323
|
/**
|
|
1324
|
-
* @public
|
|
1325
1324
|
* <p>The ID of the workspace to describe the logging configuration for.</p>
|
|
1325
|
+
* @public
|
|
1326
1326
|
*/
|
|
1327
1327
|
workspaceId: string | undefined;
|
|
1328
1328
|
}
|
|
1329
1329
|
/**
|
|
1330
|
-
* @public
|
|
1331
1330
|
* <p>Contains information about the logging configuration. </p>
|
|
1331
|
+
* @public
|
|
1332
1332
|
*/
|
|
1333
1333
|
export interface LoggingConfigurationMetadata {
|
|
1334
1334
|
/**
|
|
1335
|
-
* @public
|
|
1336
1335
|
* <p>The current status of the logging configuration.</p>
|
|
1336
|
+
* @public
|
|
1337
1337
|
*/
|
|
1338
1338
|
status: LoggingConfigurationStatus | undefined;
|
|
1339
1339
|
/**
|
|
1340
|
-
* @public
|
|
1341
1340
|
* <p>The ID of the workspace the logging configuration is for.</p>
|
|
1341
|
+
* @public
|
|
1342
1342
|
*/
|
|
1343
1343
|
workspace: string | undefined;
|
|
1344
1344
|
/**
|
|
1345
|
-
* @public
|
|
1346
1345
|
* <p>The ARN of the CloudWatch log group to which the vended log data will be
|
|
1347
1346
|
* published.</p>
|
|
1347
|
+
* @public
|
|
1348
1348
|
*/
|
|
1349
1349
|
logGroupArn: string | undefined;
|
|
1350
1350
|
/**
|
|
1351
|
-
* @public
|
|
1352
1351
|
* <p>The date and time that the logging configuration was created.</p>
|
|
1352
|
+
* @public
|
|
1353
1353
|
*/
|
|
1354
1354
|
createdAt: Date | undefined;
|
|
1355
1355
|
/**
|
|
1356
|
-
* @public
|
|
1357
1356
|
* <p>The date and time that the logging configuration was most recently changed.</p>
|
|
1357
|
+
* @public
|
|
1358
1358
|
*/
|
|
1359
1359
|
modifiedAt: Date | undefined;
|
|
1360
1360
|
}
|
|
1361
1361
|
/**
|
|
1362
|
-
* @public
|
|
1363
1362
|
* <p>Represents the output of a <code>DescribeLoggingConfiguration</code> operation.</p>
|
|
1363
|
+
* @public
|
|
1364
1364
|
*/
|
|
1365
1365
|
export interface DescribeLoggingConfigurationResponse {
|
|
1366
1366
|
/**
|
|
1367
|
-
* @public
|
|
1368
1367
|
* <p>A structure that displays the information about the logging configuration.</p>
|
|
1368
|
+
* @public
|
|
1369
1369
|
*/
|
|
1370
1370
|
loggingConfiguration: LoggingConfigurationMetadata | undefined;
|
|
1371
1371
|
}
|
|
1372
1372
|
/**
|
|
1373
|
-
* @public
|
|
1374
1373
|
* <p>Represents the input of an <code>UpdateLoggingConfiguration</code> operation.</p>
|
|
1374
|
+
* @public
|
|
1375
1375
|
*/
|
|
1376
1376
|
export interface UpdateLoggingConfigurationRequest {
|
|
1377
1377
|
/**
|
|
1378
|
-
* @public
|
|
1379
1378
|
* <p>The ID of the workspace to update the logging configuration for.</p>
|
|
1379
|
+
* @public
|
|
1380
1380
|
*/
|
|
1381
1381
|
workspaceId: string | undefined;
|
|
1382
1382
|
/**
|
|
1383
|
-
* @public
|
|
1384
1383
|
* <p>The ARN of the CloudWatch log group to which the vended log data will be
|
|
1385
1384
|
* published.</p>
|
|
1385
|
+
* @public
|
|
1386
1386
|
*/
|
|
1387
1387
|
logGroupArn: string | undefined;
|
|
1388
1388
|
/**
|
|
1389
|
-
* @public
|
|
1390
1389
|
* <p>A unique identifier that you can provide to ensure the idempotency of the request.
|
|
1391
1390
|
* Case-sensitive.</p>
|
|
1391
|
+
* @public
|
|
1392
1392
|
*/
|
|
1393
1393
|
clientToken?: string;
|
|
1394
1394
|
}
|
|
1395
1395
|
/**
|
|
1396
|
-
* @public
|
|
1397
1396
|
* <p>Represents the output of an <code>UpdateLoggingConfiguration</code> operation.</p>
|
|
1397
|
+
* @public
|
|
1398
1398
|
*/
|
|
1399
1399
|
export interface UpdateLoggingConfigurationResponse {
|
|
1400
1400
|
/**
|
|
1401
|
-
* @public
|
|
1402
1401
|
* <p>A structure that contains the current status of the logging configuration.</p>
|
|
1402
|
+
* @public
|
|
1403
1403
|
*/
|
|
1404
1404
|
status: LoggingConfigurationStatus | undefined;
|
|
1405
1405
|
}
|
|
1406
1406
|
/**
|
|
1407
|
-
* @public
|
|
1408
1407
|
* <p>Represents the input of a <code>CreateRuleGroupsNamespace</code> operation.</p>
|
|
1408
|
+
* @public
|
|
1409
1409
|
*/
|
|
1410
1410
|
export interface CreateRuleGroupsNamespaceRequest {
|
|
1411
1411
|
/**
|
|
1412
|
-
* @public
|
|
1413
1412
|
* <p>The ID of the workspace to add the rule groups namespace.</p>
|
|
1413
|
+
* @public
|
|
1414
1414
|
*/
|
|
1415
1415
|
workspaceId: string | undefined;
|
|
1416
1416
|
/**
|
|
1417
|
-
* @public
|
|
1418
1417
|
* <p>The name for the new rule groups namespace.</p>
|
|
1418
|
+
* @public
|
|
1419
1419
|
*/
|
|
1420
1420
|
name: string | undefined;
|
|
1421
1421
|
/**
|
|
1422
|
-
* @public
|
|
1423
1422
|
* <p>The rules file to use in the new namespace.</p>
|
|
1424
1423
|
* <p>Contains the base64-encoded version of the YAML rules file.</p>
|
|
1425
1424
|
* <p>For details about the rule groups namespace structure, see <a href="https://docs.aws.amazon.com/prometheus/latest/APIReference/yaml-RuleGroupsNamespaceData.html">RuleGroupsNamespaceData</a>.</p>
|
|
1425
|
+
* @public
|
|
1426
1426
|
*/
|
|
1427
1427
|
data: Uint8Array | undefined;
|
|
1428
1428
|
/**
|
|
1429
|
-
* @public
|
|
1430
1429
|
* <p>A unique identifier that you can provide to ensure the idempotency of the request.
|
|
1431
1430
|
* Case-sensitive.</p>
|
|
1431
|
+
* @public
|
|
1432
1432
|
*/
|
|
1433
1433
|
clientToken?: string;
|
|
1434
1434
|
/**
|
|
1435
|
-
* @public
|
|
1436
1435
|
* <p>The list of tag keys and values to associate with the rule groups namespace.</p>
|
|
1436
|
+
* @public
|
|
1437
1437
|
*/
|
|
1438
1438
|
tags?: Record<string, string>;
|
|
1439
1439
|
}
|
|
@@ -1472,158 +1472,157 @@ export declare const RuleGroupsNamespaceStatusCode: {
|
|
|
1472
1472
|
*/
|
|
1473
1473
|
export type RuleGroupsNamespaceStatusCode = (typeof RuleGroupsNamespaceStatusCode)[keyof typeof RuleGroupsNamespaceStatusCode];
|
|
1474
1474
|
/**
|
|
1475
|
-
* @public
|
|
1476
1475
|
* <p>The status information about a rule groups namespace. </p>
|
|
1476
|
+
* @public
|
|
1477
1477
|
*/
|
|
1478
1478
|
export interface RuleGroupsNamespaceStatus {
|
|
1479
1479
|
/**
|
|
1480
|
-
* @public
|
|
1481
1480
|
* <p>The current status of the namespace.</p>
|
|
1481
|
+
* @public
|
|
1482
1482
|
*/
|
|
1483
1483
|
statusCode: RuleGroupsNamespaceStatusCode | undefined;
|
|
1484
1484
|
/**
|
|
1485
|
-
* @public
|
|
1486
1485
|
* <p>The reason for the failure, if any.</p>
|
|
1486
|
+
* @public
|
|
1487
1487
|
*/
|
|
1488
1488
|
statusReason?: string;
|
|
1489
1489
|
}
|
|
1490
1490
|
/**
|
|
1491
|
-
* @public
|
|
1492
1491
|
* <p>Represents the output of a <code>CreateRuleGroupsNamespace</code> operation.</p>
|
|
1492
|
+
* @public
|
|
1493
1493
|
*/
|
|
1494
1494
|
export interface CreateRuleGroupsNamespaceResponse {
|
|
1495
1495
|
/**
|
|
1496
|
-
* @public
|
|
1497
1496
|
* <p>The name of the new rule groups namespace.</p>
|
|
1497
|
+
* @public
|
|
1498
1498
|
*/
|
|
1499
1499
|
name: string | undefined;
|
|
1500
1500
|
/**
|
|
1501
|
-
* @public
|
|
1502
1501
|
* <p>The Amazon Resource Name (ARN) of the new rule groups namespace.</p>
|
|
1502
|
+
* @public
|
|
1503
1503
|
*/
|
|
1504
1504
|
arn: string | undefined;
|
|
1505
1505
|
/**
|
|
1506
|
-
* @public
|
|
1507
1506
|
* <p>A structure that returns the current status of the rule groups namespace.</p>
|
|
1507
|
+
* @public
|
|
1508
1508
|
*/
|
|
1509
1509
|
status: RuleGroupsNamespaceStatus | undefined;
|
|
1510
1510
|
/**
|
|
1511
|
-
* @public
|
|
1512
1511
|
* <p>The list of tag keys and values that are associated with the namespace.</p>
|
|
1512
|
+
* @public
|
|
1513
1513
|
*/
|
|
1514
1514
|
tags?: Record<string, string>;
|
|
1515
1515
|
}
|
|
1516
1516
|
/**
|
|
1517
|
-
* @public
|
|
1518
1517
|
* <p>Represents the input of a <code>DeleteRuleGroupsNamespace</code> operation.</p>
|
|
1518
|
+
* @public
|
|
1519
1519
|
*/
|
|
1520
1520
|
export interface DeleteRuleGroupsNamespaceRequest {
|
|
1521
1521
|
/**
|
|
1522
|
-
* @public
|
|
1523
1522
|
* <p>The ID of the workspace containing the rule groups namespace and definition to
|
|
1524
1523
|
* delete.</p>
|
|
1524
|
+
* @public
|
|
1525
1525
|
*/
|
|
1526
1526
|
workspaceId: string | undefined;
|
|
1527
1527
|
/**
|
|
1528
|
-
* @public
|
|
1529
1528
|
* <p>The name of the rule groups namespace to delete.</p>
|
|
1529
|
+
* @public
|
|
1530
1530
|
*/
|
|
1531
1531
|
name: string | undefined;
|
|
1532
1532
|
/**
|
|
1533
|
-
* @public
|
|
1534
1533
|
* <p>A unique identifier that you can provide to ensure the idempotency of the request.
|
|
1535
1534
|
* Case-sensitive.</p>
|
|
1535
|
+
* @public
|
|
1536
1536
|
*/
|
|
1537
1537
|
clientToken?: string;
|
|
1538
1538
|
}
|
|
1539
1539
|
/**
|
|
1540
|
-
* @public
|
|
1541
1540
|
* <p>Represents the input of a <code>DescribeRuleGroupsNamespace</code> operation.</p>
|
|
1541
|
+
* @public
|
|
1542
1542
|
*/
|
|
1543
1543
|
export interface DescribeRuleGroupsNamespaceRequest {
|
|
1544
1544
|
/**
|
|
1545
|
-
* @public
|
|
1546
1545
|
* <p>The ID of the workspace containing the rule groups namespace.</p>
|
|
1546
|
+
* @public
|
|
1547
1547
|
*/
|
|
1548
1548
|
workspaceId: string | undefined;
|
|
1549
1549
|
/**
|
|
1550
|
-
* @public
|
|
1551
1550
|
* <p>The name of the rule groups namespace that you want information for.</p>
|
|
1551
|
+
* @public
|
|
1552
1552
|
*/
|
|
1553
1553
|
name: string | undefined;
|
|
1554
1554
|
}
|
|
1555
1555
|
/**
|
|
1556
|
-
* @public
|
|
1557
1556
|
* <p>The details about one rule groups namespace. </p>
|
|
1557
|
+
* @public
|
|
1558
1558
|
*/
|
|
1559
1559
|
export interface RuleGroupsNamespaceDescription {
|
|
1560
1560
|
/**
|
|
1561
|
-
* @public
|
|
1562
1561
|
* <p>The ARN of the rule groups namespace.</p>
|
|
1562
|
+
* @public
|
|
1563
1563
|
*/
|
|
1564
1564
|
arn: string | undefined;
|
|
1565
1565
|
/**
|
|
1566
|
-
* @public
|
|
1567
1566
|
* <p>The name of the rule groups namespace.</p>
|
|
1567
|
+
* @public
|
|
1568
1568
|
*/
|
|
1569
1569
|
name: string | undefined;
|
|
1570
1570
|
/**
|
|
1571
|
-
* @public
|
|
1572
1571
|
* <p>The current status of the rule groups namespace.</p>
|
|
1572
|
+
* @public
|
|
1573
1573
|
*/
|
|
1574
1574
|
status: RuleGroupsNamespaceStatus | undefined;
|
|
1575
1575
|
/**
|
|
1576
|
-
* @public
|
|
1577
1576
|
* <p>The rule groups file used in the namespace.</p>
|
|
1578
1577
|
* <p>For details about the rule groups namespace structure, see <a href="https://docs.aws.amazon.com/prometheus/latest/APIReference/yaml-RuleGroupsNamespaceData.html">RuleGroupsNamespaceData</a>.</p>
|
|
1578
|
+
* @public
|
|
1579
1579
|
*/
|
|
1580
1580
|
data: Uint8Array | undefined;
|
|
1581
1581
|
/**
|
|
1582
|
-
* @public
|
|
1583
1582
|
* <p>The date and time that the rule groups namespace was created.</p>
|
|
1583
|
+
* @public
|
|
1584
1584
|
*/
|
|
1585
1585
|
createdAt: Date | undefined;
|
|
1586
1586
|
/**
|
|
1587
|
-
* @public
|
|
1588
1587
|
* <p>The date and time that the rule groups namespace was most recently changed.</p>
|
|
1588
|
+
* @public
|
|
1589
1589
|
*/
|
|
1590
1590
|
modifiedAt: Date | undefined;
|
|
1591
1591
|
/**
|
|
1592
|
-
* @public
|
|
1593
1592
|
* <p>The list of tag keys and values that are associated with the rule groups
|
|
1594
1593
|
* namespace.</p>
|
|
1594
|
+
* @public
|
|
1595
1595
|
*/
|
|
1596
1596
|
tags?: Record<string, string>;
|
|
1597
1597
|
}
|
|
1598
1598
|
/**
|
|
1599
|
-
* @public
|
|
1600
1599
|
* <p>Represents the output of a <code>DescribeRuleGroupsNamespace</code> operation.</p>
|
|
1600
|
+
* @public
|
|
1601
1601
|
*/
|
|
1602
1602
|
export interface DescribeRuleGroupsNamespaceResponse {
|
|
1603
1603
|
/**
|
|
1604
|
-
* @public
|
|
1605
1604
|
* <p>The information about the rule groups namespace.</p>
|
|
1605
|
+
* @public
|
|
1606
1606
|
*/
|
|
1607
1607
|
ruleGroupsNamespace: RuleGroupsNamespaceDescription | undefined;
|
|
1608
1608
|
}
|
|
1609
1609
|
/**
|
|
1610
|
-
* @public
|
|
1611
1610
|
* <p>Represents the input of a <code>ListRuleGroupsNamespaces</code> operation.</p>
|
|
1611
|
+
* @public
|
|
1612
1612
|
*/
|
|
1613
1613
|
export interface ListRuleGroupsNamespacesRequest {
|
|
1614
1614
|
/**
|
|
1615
|
-
* @public
|
|
1616
1615
|
* <p>The ID of the workspace containing the rule groups namespaces.</p>
|
|
1616
|
+
* @public
|
|
1617
1617
|
*/
|
|
1618
1618
|
workspaceId: string | undefined;
|
|
1619
1619
|
/**
|
|
1620
|
-
* @public
|
|
1621
1620
|
* <p>Use this parameter to filter the rule groups namespaces that are returned. Only the
|
|
1622
1621
|
* namespaces with names that begin with the value that you specify are returned.</p>
|
|
1622
|
+
* @public
|
|
1623
1623
|
*/
|
|
1624
1624
|
name?: string;
|
|
1625
1625
|
/**
|
|
1626
|
-
* @public
|
|
1627
1626
|
* <p>The token for the next set of items to return. You receive this token from a previous
|
|
1628
1627
|
* call, and use it to get the next page of results. The other parameters must be the same
|
|
1629
1628
|
* as the initial call.</p>
|
|
@@ -1631,146 +1630,147 @@ export interface ListRuleGroupsNamespacesRequest {
|
|
|
1631
1630
|
* 12 rule groups namespaces to return, then your initial request will return 10 and a
|
|
1632
1631
|
* <code>nextToken</code>. Using the next token in a subsequent call will return the
|
|
1633
1632
|
* remaining 2 namespaces.</p>
|
|
1633
|
+
* @public
|
|
1634
1634
|
*/
|
|
1635
1635
|
nextToken?: string;
|
|
1636
1636
|
/**
|
|
1637
|
-
* @public
|
|
1638
1637
|
* <p>The maximum number of results to return. The default is 100.</p>
|
|
1638
|
+
* @public
|
|
1639
1639
|
*/
|
|
1640
1640
|
maxResults?: number;
|
|
1641
1641
|
}
|
|
1642
1642
|
/**
|
|
1643
|
-
* @public
|
|
1644
1643
|
* <p>The high-level information about a rule groups namespace. To retrieve more
|
|
1645
1644
|
* information, use <code>DescribeRuleGroupsNamespace</code>.</p>
|
|
1645
|
+
* @public
|
|
1646
1646
|
*/
|
|
1647
1647
|
export interface RuleGroupsNamespaceSummary {
|
|
1648
1648
|
/**
|
|
1649
|
-
* @public
|
|
1650
1649
|
* <p>The ARN of the rule groups namespace.</p>
|
|
1650
|
+
* @public
|
|
1651
1651
|
*/
|
|
1652
1652
|
arn: string | undefined;
|
|
1653
1653
|
/**
|
|
1654
|
-
* @public
|
|
1655
1654
|
* <p>The name of the rule groups namespace.</p>
|
|
1655
|
+
* @public
|
|
1656
1656
|
*/
|
|
1657
1657
|
name: string | undefined;
|
|
1658
1658
|
/**
|
|
1659
|
-
* @public
|
|
1660
1659
|
* <p>A structure that displays the current status of the rule groups namespace.</p>
|
|
1660
|
+
* @public
|
|
1661
1661
|
*/
|
|
1662
1662
|
status: RuleGroupsNamespaceStatus | undefined;
|
|
1663
1663
|
/**
|
|
1664
|
-
* @public
|
|
1665
1664
|
* <p>The date and time that the rule groups namespace was created.</p>
|
|
1665
|
+
* @public
|
|
1666
1666
|
*/
|
|
1667
1667
|
createdAt: Date | undefined;
|
|
1668
1668
|
/**
|
|
1669
|
-
* @public
|
|
1670
1669
|
* <p>The date and time that the rule groups namespace was most recently changed.</p>
|
|
1670
|
+
* @public
|
|
1671
1671
|
*/
|
|
1672
1672
|
modifiedAt: Date | undefined;
|
|
1673
1673
|
/**
|
|
1674
|
-
* @public
|
|
1675
1674
|
* <p>The list of tag keys and values that are associated with the rule groups
|
|
1676
1675
|
* namespace.</p>
|
|
1676
|
+
* @public
|
|
1677
1677
|
*/
|
|
1678
1678
|
tags?: Record<string, string>;
|
|
1679
1679
|
}
|
|
1680
1680
|
/**
|
|
1681
|
-
* @public
|
|
1682
1681
|
* <p>Represents the output of a <code>ListRuleGroupsNamespaces</code> operation.</p>
|
|
1682
|
+
* @public
|
|
1683
1683
|
*/
|
|
1684
1684
|
export interface ListRuleGroupsNamespacesResponse {
|
|
1685
1685
|
/**
|
|
1686
|
-
* @public
|
|
1687
1686
|
* <p>The returned list of rule groups namespaces.</p>
|
|
1687
|
+
* @public
|
|
1688
1688
|
*/
|
|
1689
1689
|
ruleGroupsNamespaces: RuleGroupsNamespaceSummary[] | undefined;
|
|
1690
1690
|
/**
|
|
1691
|
-
* @public
|
|
1692
1691
|
* <p>A token indicating that there are more results to retrieve. You can use this token as
|
|
1693
1692
|
* part of your next <code>ListRuleGroupsNamespaces</code> request to retrieve those
|
|
1694
1693
|
* results.</p>
|
|
1694
|
+
* @public
|
|
1695
1695
|
*/
|
|
1696
1696
|
nextToken?: string;
|
|
1697
1697
|
}
|
|
1698
1698
|
/**
|
|
1699
|
-
* @public
|
|
1700
1699
|
* <p>Represents the input of a <code>PutRuleGroupsNamespace</code> operation.</p>
|
|
1700
|
+
* @public
|
|
1701
1701
|
*/
|
|
1702
1702
|
export interface PutRuleGroupsNamespaceRequest {
|
|
1703
1703
|
/**
|
|
1704
|
-
* @public
|
|
1705
1704
|
* <p>The ID of the workspace where you are updating the rule groups namespace.</p>
|
|
1705
|
+
* @public
|
|
1706
1706
|
*/
|
|
1707
1707
|
workspaceId: string | undefined;
|
|
1708
1708
|
/**
|
|
1709
|
-
* @public
|
|
1710
1709
|
* <p>The name of the rule groups namespace that you are updating.</p>
|
|
1710
|
+
* @public
|
|
1711
1711
|
*/
|
|
1712
1712
|
name: string | undefined;
|
|
1713
1713
|
/**
|
|
1714
|
-
* @public
|
|
1715
1714
|
* <p>The new rules file to use in the namespace. A base64-encoded version of the YAML rule
|
|
1716
1715
|
* groups file.</p>
|
|
1717
1716
|
* <p>For details about the rule groups namespace structure, see <a href="https://docs.aws.amazon.com/prometheus/latest/APIReference/yaml-RuleGroupsNamespaceData.html">RuleGroupsNamespaceData</a>.</p>
|
|
1717
|
+
* @public
|
|
1718
1718
|
*/
|
|
1719
1719
|
data: Uint8Array | undefined;
|
|
1720
1720
|
/**
|
|
1721
|
-
* @public
|
|
1722
1721
|
* <p>A unique identifier that you can provide to ensure the idempotency of the request.
|
|
1723
1722
|
* Case-sensitive.</p>
|
|
1723
|
+
* @public
|
|
1724
1724
|
*/
|
|
1725
1725
|
clientToken?: string;
|
|
1726
1726
|
}
|
|
1727
1727
|
/**
|
|
1728
|
-
* @public
|
|
1729
1728
|
* <p>Represents the output of a <code>PutRuleGroupsNamespace</code> operation.</p>
|
|
1729
|
+
* @public
|
|
1730
1730
|
*/
|
|
1731
1731
|
export interface PutRuleGroupsNamespaceResponse {
|
|
1732
1732
|
/**
|
|
1733
|
-
* @public
|
|
1734
1733
|
* <p>The name of the rule groups namespace that was updated.</p>
|
|
1734
|
+
* @public
|
|
1735
1735
|
*/
|
|
1736
1736
|
name: string | undefined;
|
|
1737
1737
|
/**
|
|
1738
|
-
* @public
|
|
1739
1738
|
* <p>The ARN of the rule groups namespace.</p>
|
|
1739
|
+
* @public
|
|
1740
1740
|
*/
|
|
1741
1741
|
arn: string | undefined;
|
|
1742
1742
|
/**
|
|
1743
|
-
* @public
|
|
1744
1743
|
* <p>A structure that includes the current status of the rule groups namespace.</p>
|
|
1744
|
+
* @public
|
|
1745
1745
|
*/
|
|
1746
1746
|
status: RuleGroupsNamespaceStatus | undefined;
|
|
1747
1747
|
/**
|
|
1748
|
-
* @public
|
|
1749
1748
|
* <p>The list of tag keys and values that are associated with the namespace.</p>
|
|
1749
|
+
* @public
|
|
1750
1750
|
*/
|
|
1751
1751
|
tags?: Record<string, string>;
|
|
1752
1752
|
}
|
|
1753
1753
|
/**
|
|
1754
|
-
* @public
|
|
1755
1754
|
* <p>Represents the input of an <code>UpdateWorkspaceAlias</code> operation.</p>
|
|
1755
|
+
* @public
|
|
1756
1756
|
*/
|
|
1757
1757
|
export interface UpdateWorkspaceAliasRequest {
|
|
1758
1758
|
/**
|
|
1759
|
-
* @public
|
|
1760
1759
|
* <p>The ID of the workspace to update.</p>
|
|
1760
|
+
* @public
|
|
1761
1761
|
*/
|
|
1762
1762
|
workspaceId: string | undefined;
|
|
1763
1763
|
/**
|
|
1764
|
-
* @public
|
|
1765
1764
|
* <p>The new alias for the workspace. It does not need to be unique.</p>
|
|
1766
1765
|
* <p>Amazon Managed Service for Prometheus will automatically strip any blank spaces from the beginning
|
|
1767
1766
|
* and end of the alias that you specify.</p>
|
|
1767
|
+
* @public
|
|
1768
1768
|
*/
|
|
1769
1769
|
alias?: string;
|
|
1770
1770
|
/**
|
|
1771
|
-
* @public
|
|
1772
1771
|
* <p>A unique identifier that you can provide to ensure the idempotency of the request.
|
|
1773
1772
|
* Case-sensitive.</p>
|
|
1773
|
+
* @public
|
|
1774
1774
|
*/
|
|
1775
1775
|
clientToken?: string;
|
|
1776
1776
|
}
|