@aws-sdk/client-cloudwatch-logs 3.699.0 → 3.703.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +32 -0
- package/dist-cjs/index.js +192 -0
- package/dist-es/CloudWatchLogs.js +8 -0
- package/dist-es/commands/DeleteIntegrationCommand.js +22 -0
- package/dist-es/commands/GetIntegrationCommand.js +22 -0
- package/dist-es/commands/ListIntegrationsCommand.js +22 -0
- package/dist-es/commands/PutIntegrationCommand.js +22 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/models_0.js +34 -0
- package/dist-es/protocols/Aws_json1_1.js +78 -0
- package/dist-types/CloudWatchLogs.d.ts +29 -0
- package/dist-types/CloudWatchLogsClient.d.ts +6 -2
- package/dist-types/commands/DeleteIntegrationCommand.d.ts +86 -0
- package/dist-types/commands/DescribeQueriesCommand.d.ts +2 -0
- package/dist-types/commands/DescribeQueryDefinitionsCommand.d.ts +2 -0
- package/dist-types/commands/GetIntegrationCommand.d.ts +136 -0
- package/dist-types/commands/GetQueryResultsCommand.d.ts +1 -0
- package/dist-types/commands/ListIntegrationsCommand.d.ts +86 -0
- package/dist-types/commands/PutIntegrationCommand.d.ts +101 -0
- package/dist-types/commands/PutQueryDefinitionCommand.d.ts +1 -0
- package/dist-types/commands/StartQueryCommand.d.ts +1 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +606 -3
- package/dist-types/protocols/Aws_json1_1.d.ts +36 -0
- package/dist-types/ts3.4/CloudWatchLogs.d.ts +69 -0
- package/dist-types/ts3.4/CloudWatchLogsClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/DeleteIntegrationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetIntegrationCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListIntegrationsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/PutIntegrationCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +160 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +48 -0
- package/package.json +1 -1
|
@@ -256,6 +256,11 @@ export const StandardUnit = {
|
|
|
256
256
|
Terabytes: "Terabytes",
|
|
257
257
|
TerabytesSecond: "Terabytes/Second",
|
|
258
258
|
};
|
|
259
|
+
export const QueryLanguage = {
|
|
260
|
+
CWLI: "CWLI",
|
|
261
|
+
PPL: "PPL",
|
|
262
|
+
SQL: "SQL",
|
|
263
|
+
};
|
|
259
264
|
export const QueryStatus = {
|
|
260
265
|
Cancelled: "Cancelled",
|
|
261
266
|
Complete: "Complete",
|
|
@@ -282,6 +287,27 @@ export const FlattenedElement = {
|
|
|
282
287
|
FIRST: "first",
|
|
283
288
|
LAST: "last",
|
|
284
289
|
};
|
|
290
|
+
export const OpenSearchResourceStatusType = {
|
|
291
|
+
ACTIVE: "ACTIVE",
|
|
292
|
+
ERROR: "ERROR",
|
|
293
|
+
NOT_FOUND: "NOT_FOUND",
|
|
294
|
+
};
|
|
295
|
+
export var IntegrationDetails;
|
|
296
|
+
(function (IntegrationDetails) {
|
|
297
|
+
IntegrationDetails.visit = (value, visitor) => {
|
|
298
|
+
if (value.openSearchIntegrationDetails !== undefined)
|
|
299
|
+
return visitor.openSearchIntegrationDetails(value.openSearchIntegrationDetails);
|
|
300
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
301
|
+
};
|
|
302
|
+
})(IntegrationDetails || (IntegrationDetails = {}));
|
|
303
|
+
export const IntegrationStatus = {
|
|
304
|
+
ACTIVE: "ACTIVE",
|
|
305
|
+
FAILED: "FAILED",
|
|
306
|
+
PROVISIONING: "PROVISIONING",
|
|
307
|
+
};
|
|
308
|
+
export const IntegrationType = {
|
|
309
|
+
OPENSEARCH: "OPENSEARCH",
|
|
310
|
+
};
|
|
285
311
|
export const Type = {
|
|
286
312
|
BOOLEAN: "boolean",
|
|
287
313
|
DOUBLE: "double",
|
|
@@ -305,6 +331,14 @@ export const SuppressionState = {
|
|
|
305
331
|
SUPPRESSED: "SUPPRESSED",
|
|
306
332
|
UNSUPPRESSED: "UNSUPPRESSED",
|
|
307
333
|
};
|
|
334
|
+
export var ResourceConfig;
|
|
335
|
+
(function (ResourceConfig) {
|
|
336
|
+
ResourceConfig.visit = (value, visitor) => {
|
|
337
|
+
if (value.openSearchResourceConfig !== undefined)
|
|
338
|
+
return visitor.openSearchResourceConfig(value.openSearchResourceConfig);
|
|
339
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
340
|
+
};
|
|
341
|
+
})(ResourceConfig || (ResourceConfig = {}));
|
|
308
342
|
export class UnrecognizedClientException extends __BaseException {
|
|
309
343
|
constructor(opts) {
|
|
310
344
|
super({
|
|
@@ -94,6 +94,12 @@ export const se_DeleteIndexPolicyCommand = async (input, context) => {
|
|
|
94
94
|
body = JSON.stringify(_json(input));
|
|
95
95
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
96
96
|
};
|
|
97
|
+
export const se_DeleteIntegrationCommand = async (input, context) => {
|
|
98
|
+
const headers = sharedHeaders("DeleteIntegration");
|
|
99
|
+
let body;
|
|
100
|
+
body = JSON.stringify(_json(input));
|
|
101
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
102
|
+
};
|
|
97
103
|
export const se_DeleteLogAnomalyDetectorCommand = async (input, context) => {
|
|
98
104
|
const headers = sharedHeaders("DeleteLogAnomalyDetector");
|
|
99
105
|
let body;
|
|
@@ -286,6 +292,12 @@ export const se_GetDeliverySourceCommand = async (input, context) => {
|
|
|
286
292
|
body = JSON.stringify(_json(input));
|
|
287
293
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
288
294
|
};
|
|
295
|
+
export const se_GetIntegrationCommand = async (input, context) => {
|
|
296
|
+
const headers = sharedHeaders("GetIntegration");
|
|
297
|
+
let body;
|
|
298
|
+
body = JSON.stringify(_json(input));
|
|
299
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
300
|
+
};
|
|
289
301
|
export const se_GetLogAnomalyDetectorCommand = async (input, context) => {
|
|
290
302
|
const headers = sharedHeaders("GetLogAnomalyDetector");
|
|
291
303
|
let body;
|
|
@@ -328,6 +340,12 @@ export const se_ListAnomaliesCommand = async (input, context) => {
|
|
|
328
340
|
body = JSON.stringify(_json(input));
|
|
329
341
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
330
342
|
};
|
|
343
|
+
export const se_ListIntegrationsCommand = async (input, context) => {
|
|
344
|
+
const headers = sharedHeaders("ListIntegrations");
|
|
345
|
+
let body;
|
|
346
|
+
body = JSON.stringify(_json(input));
|
|
347
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
348
|
+
};
|
|
331
349
|
export const se_ListLogAnomalyDetectorsCommand = async (input, context) => {
|
|
332
350
|
const headers = sharedHeaders("ListLogAnomalyDetectors");
|
|
333
351
|
let body;
|
|
@@ -400,6 +418,12 @@ export const se_PutIndexPolicyCommand = async (input, context) => {
|
|
|
400
418
|
body = JSON.stringify(_json(input));
|
|
401
419
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
402
420
|
};
|
|
421
|
+
export const se_PutIntegrationCommand = async (input, context) => {
|
|
422
|
+
const headers = sharedHeaders("PutIntegration");
|
|
423
|
+
let body;
|
|
424
|
+
body = JSON.stringify(_json(input));
|
|
425
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
426
|
+
};
|
|
403
427
|
export const se_PutLogEventsCommand = async (input, context) => {
|
|
404
428
|
const headers = sharedHeaders("PutLogEvents");
|
|
405
429
|
let body;
|
|
@@ -683,6 +707,19 @@ export const de_DeleteIndexPolicyCommand = async (output, context) => {
|
|
|
683
707
|
};
|
|
684
708
|
return response;
|
|
685
709
|
};
|
|
710
|
+
export const de_DeleteIntegrationCommand = async (output, context) => {
|
|
711
|
+
if (output.statusCode >= 300) {
|
|
712
|
+
return de_CommandError(output, context);
|
|
713
|
+
}
|
|
714
|
+
const data = await parseBody(output.body, context);
|
|
715
|
+
let contents = {};
|
|
716
|
+
contents = _json(data);
|
|
717
|
+
const response = {
|
|
718
|
+
$metadata: deserializeMetadata(output),
|
|
719
|
+
...contents,
|
|
720
|
+
};
|
|
721
|
+
return response;
|
|
722
|
+
};
|
|
686
723
|
export const de_DeleteLogAnomalyDetectorCommand = async (output, context) => {
|
|
687
724
|
if (output.statusCode >= 300) {
|
|
688
725
|
return de_CommandError(output, context);
|
|
@@ -1072,6 +1109,19 @@ export const de_GetDeliverySourceCommand = async (output, context) => {
|
|
|
1072
1109
|
};
|
|
1073
1110
|
return response;
|
|
1074
1111
|
};
|
|
1112
|
+
export const de_GetIntegrationCommand = async (output, context) => {
|
|
1113
|
+
if (output.statusCode >= 300) {
|
|
1114
|
+
return de_CommandError(output, context);
|
|
1115
|
+
}
|
|
1116
|
+
const data = await parseBody(output.body, context);
|
|
1117
|
+
let contents = {};
|
|
1118
|
+
contents = _json(data);
|
|
1119
|
+
const response = {
|
|
1120
|
+
$metadata: deserializeMetadata(output),
|
|
1121
|
+
...contents,
|
|
1122
|
+
};
|
|
1123
|
+
return response;
|
|
1124
|
+
};
|
|
1075
1125
|
export const de_GetLogAnomalyDetectorCommand = async (output, context) => {
|
|
1076
1126
|
if (output.statusCode >= 300) {
|
|
1077
1127
|
return de_CommandError(output, context);
|
|
@@ -1163,6 +1213,19 @@ export const de_ListAnomaliesCommand = async (output, context) => {
|
|
|
1163
1213
|
};
|
|
1164
1214
|
return response;
|
|
1165
1215
|
};
|
|
1216
|
+
export const de_ListIntegrationsCommand = async (output, context) => {
|
|
1217
|
+
if (output.statusCode >= 300) {
|
|
1218
|
+
return de_CommandError(output, context);
|
|
1219
|
+
}
|
|
1220
|
+
const data = await parseBody(output.body, context);
|
|
1221
|
+
let contents = {};
|
|
1222
|
+
contents = _json(data);
|
|
1223
|
+
const response = {
|
|
1224
|
+
$metadata: deserializeMetadata(output),
|
|
1225
|
+
...contents,
|
|
1226
|
+
};
|
|
1227
|
+
return response;
|
|
1228
|
+
};
|
|
1166
1229
|
export const de_ListLogAnomalyDetectorsCommand = async (output, context) => {
|
|
1167
1230
|
if (output.statusCode >= 300) {
|
|
1168
1231
|
return de_CommandError(output, context);
|
|
@@ -1316,6 +1379,19 @@ export const de_PutIndexPolicyCommand = async (output, context) => {
|
|
|
1316
1379
|
};
|
|
1317
1380
|
return response;
|
|
1318
1381
|
};
|
|
1382
|
+
export const de_PutIntegrationCommand = async (output, context) => {
|
|
1383
|
+
if (output.statusCode >= 300) {
|
|
1384
|
+
return de_CommandError(output, context);
|
|
1385
|
+
}
|
|
1386
|
+
const data = await parseBody(output.body, context);
|
|
1387
|
+
let contents = {};
|
|
1388
|
+
contents = _json(data);
|
|
1389
|
+
const response = {
|
|
1390
|
+
$metadata: deserializeMetadata(output),
|
|
1391
|
+
...contents,
|
|
1392
|
+
};
|
|
1393
|
+
return response;
|
|
1394
|
+
};
|
|
1319
1395
|
export const de_PutLogEventsCommand = async (output, context) => {
|
|
1320
1396
|
if (output.statusCode >= 300) {
|
|
1321
1397
|
return de_CommandError(output, context);
|
|
@@ -1852,6 +1928,7 @@ const se_PutQueryDefinitionRequest = (input, context) => {
|
|
|
1852
1928
|
logGroupNames: _json,
|
|
1853
1929
|
name: [],
|
|
1854
1930
|
queryDefinitionId: [],
|
|
1931
|
+
queryLanguage: [],
|
|
1855
1932
|
queryString: [],
|
|
1856
1933
|
});
|
|
1857
1934
|
};
|
|
@@ -1864,6 +1941,7 @@ const de_DescribeMetricFiltersResponse = (output, context) => {
|
|
|
1864
1941
|
const de_GetQueryResultsResponse = (output, context) => {
|
|
1865
1942
|
return take(output, {
|
|
1866
1943
|
encryptionKey: __expectString,
|
|
1944
|
+
queryLanguage: __expectString,
|
|
1867
1945
|
results: _json,
|
|
1868
1946
|
statistics: (_) => de_QueryStatistics(_, context),
|
|
1869
1947
|
status: __expectString,
|
|
@@ -15,6 +15,7 @@ import { DeleteDeliveryDestinationPolicyCommandInput, DeleteDeliveryDestinationP
|
|
|
15
15
|
import { DeleteDeliverySourceCommandInput, DeleteDeliverySourceCommandOutput } from "./commands/DeleteDeliverySourceCommand";
|
|
16
16
|
import { DeleteDestinationCommandInput, DeleteDestinationCommandOutput } from "./commands/DeleteDestinationCommand";
|
|
17
17
|
import { DeleteIndexPolicyCommandInput, DeleteIndexPolicyCommandOutput } from "./commands/DeleteIndexPolicyCommand";
|
|
18
|
+
import { DeleteIntegrationCommandInput, DeleteIntegrationCommandOutput } from "./commands/DeleteIntegrationCommand";
|
|
18
19
|
import { DeleteLogAnomalyDetectorCommandInput, DeleteLogAnomalyDetectorCommandOutput } from "./commands/DeleteLogAnomalyDetectorCommand";
|
|
19
20
|
import { DeleteLogGroupCommandInput, DeleteLogGroupCommandOutput } from "./commands/DeleteLogGroupCommand";
|
|
20
21
|
import { DeleteLogStreamCommandInput, DeleteLogStreamCommandOutput } from "./commands/DeleteLogStreamCommand";
|
|
@@ -47,6 +48,7 @@ import { GetDeliveryCommandInput, GetDeliveryCommandOutput } from "./commands/Ge
|
|
|
47
48
|
import { GetDeliveryDestinationCommandInput, GetDeliveryDestinationCommandOutput } from "./commands/GetDeliveryDestinationCommand";
|
|
48
49
|
import { GetDeliveryDestinationPolicyCommandInput, GetDeliveryDestinationPolicyCommandOutput } from "./commands/GetDeliveryDestinationPolicyCommand";
|
|
49
50
|
import { GetDeliverySourceCommandInput, GetDeliverySourceCommandOutput } from "./commands/GetDeliverySourceCommand";
|
|
51
|
+
import { GetIntegrationCommandInput, GetIntegrationCommandOutput } from "./commands/GetIntegrationCommand";
|
|
50
52
|
import { GetLogAnomalyDetectorCommandInput, GetLogAnomalyDetectorCommandOutput } from "./commands/GetLogAnomalyDetectorCommand";
|
|
51
53
|
import { GetLogEventsCommandInput, GetLogEventsCommandOutput } from "./commands/GetLogEventsCommand";
|
|
52
54
|
import { GetLogGroupFieldsCommandInput, GetLogGroupFieldsCommandOutput } from "./commands/GetLogGroupFieldsCommand";
|
|
@@ -54,6 +56,7 @@ import { GetLogRecordCommandInput, GetLogRecordCommandOutput } from "./commands/
|
|
|
54
56
|
import { GetQueryResultsCommandInput, GetQueryResultsCommandOutput } from "./commands/GetQueryResultsCommand";
|
|
55
57
|
import { GetTransformerCommandInput, GetTransformerCommandOutput } from "./commands/GetTransformerCommand";
|
|
56
58
|
import { ListAnomaliesCommandInput, ListAnomaliesCommandOutput } from "./commands/ListAnomaliesCommand";
|
|
59
|
+
import { ListIntegrationsCommandInput, ListIntegrationsCommandOutput } from "./commands/ListIntegrationsCommand";
|
|
57
60
|
import { ListLogAnomalyDetectorsCommandInput, ListLogAnomalyDetectorsCommandOutput } from "./commands/ListLogAnomalyDetectorsCommand";
|
|
58
61
|
import { ListLogGroupsForQueryCommandInput, ListLogGroupsForQueryCommandOutput } from "./commands/ListLogGroupsForQueryCommand";
|
|
59
62
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
@@ -66,6 +69,7 @@ import { PutDeliverySourceCommandInput, PutDeliverySourceCommandOutput } from ".
|
|
|
66
69
|
import { PutDestinationCommandInput, PutDestinationCommandOutput } from "./commands/PutDestinationCommand";
|
|
67
70
|
import { PutDestinationPolicyCommandInput, PutDestinationPolicyCommandOutput } from "./commands/PutDestinationPolicyCommand";
|
|
68
71
|
import { PutIndexPolicyCommandInput, PutIndexPolicyCommandOutput } from "./commands/PutIndexPolicyCommand";
|
|
72
|
+
import { PutIntegrationCommandInput, PutIntegrationCommandOutput } from "./commands/PutIntegrationCommand";
|
|
69
73
|
import { PutLogEventsCommandInput, PutLogEventsCommandOutput } from "./commands/PutLogEventsCommand";
|
|
70
74
|
import { PutMetricFilterCommandInput, PutMetricFilterCommandOutput } from "./commands/PutMetricFilterCommand";
|
|
71
75
|
import { PutQueryDefinitionCommandInput, PutQueryDefinitionCommandOutput } from "./commands/PutQueryDefinitionCommand";
|
|
@@ -176,6 +180,12 @@ export interface CloudWatchLogs {
|
|
|
176
180
|
deleteIndexPolicy(args: DeleteIndexPolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteIndexPolicyCommandOutput>;
|
|
177
181
|
deleteIndexPolicy(args: DeleteIndexPolicyCommandInput, cb: (err: any, data?: DeleteIndexPolicyCommandOutput) => void): void;
|
|
178
182
|
deleteIndexPolicy(args: DeleteIndexPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteIndexPolicyCommandOutput) => void): void;
|
|
183
|
+
/**
|
|
184
|
+
* @see {@link DeleteIntegrationCommand}
|
|
185
|
+
*/
|
|
186
|
+
deleteIntegration(args: DeleteIntegrationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteIntegrationCommandOutput>;
|
|
187
|
+
deleteIntegration(args: DeleteIntegrationCommandInput, cb: (err: any, data?: DeleteIntegrationCommandOutput) => void): void;
|
|
188
|
+
deleteIntegration(args: DeleteIntegrationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteIntegrationCommandOutput) => void): void;
|
|
179
189
|
/**
|
|
180
190
|
* @see {@link DeleteLogAnomalyDetectorCommand}
|
|
181
191
|
*/
|
|
@@ -383,6 +393,12 @@ export interface CloudWatchLogs {
|
|
|
383
393
|
getDeliverySource(args: GetDeliverySourceCommandInput, options?: __HttpHandlerOptions): Promise<GetDeliverySourceCommandOutput>;
|
|
384
394
|
getDeliverySource(args: GetDeliverySourceCommandInput, cb: (err: any, data?: GetDeliverySourceCommandOutput) => void): void;
|
|
385
395
|
getDeliverySource(args: GetDeliverySourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDeliverySourceCommandOutput) => void): void;
|
|
396
|
+
/**
|
|
397
|
+
* @see {@link GetIntegrationCommand}
|
|
398
|
+
*/
|
|
399
|
+
getIntegration(args: GetIntegrationCommandInput, options?: __HttpHandlerOptions): Promise<GetIntegrationCommandOutput>;
|
|
400
|
+
getIntegration(args: GetIntegrationCommandInput, cb: (err: any, data?: GetIntegrationCommandOutput) => void): void;
|
|
401
|
+
getIntegration(args: GetIntegrationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetIntegrationCommandOutput) => void): void;
|
|
386
402
|
/**
|
|
387
403
|
* @see {@link GetLogAnomalyDetectorCommand}
|
|
388
404
|
*/
|
|
@@ -427,6 +443,13 @@ export interface CloudWatchLogs {
|
|
|
427
443
|
listAnomalies(args: ListAnomaliesCommandInput, options?: __HttpHandlerOptions): Promise<ListAnomaliesCommandOutput>;
|
|
428
444
|
listAnomalies(args: ListAnomaliesCommandInput, cb: (err: any, data?: ListAnomaliesCommandOutput) => void): void;
|
|
429
445
|
listAnomalies(args: ListAnomaliesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAnomaliesCommandOutput) => void): void;
|
|
446
|
+
/**
|
|
447
|
+
* @see {@link ListIntegrationsCommand}
|
|
448
|
+
*/
|
|
449
|
+
listIntegrations(): Promise<ListIntegrationsCommandOutput>;
|
|
450
|
+
listIntegrations(args: ListIntegrationsCommandInput, options?: __HttpHandlerOptions): Promise<ListIntegrationsCommandOutput>;
|
|
451
|
+
listIntegrations(args: ListIntegrationsCommandInput, cb: (err: any, data?: ListIntegrationsCommandOutput) => void): void;
|
|
452
|
+
listIntegrations(args: ListIntegrationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListIntegrationsCommandOutput) => void): void;
|
|
430
453
|
/**
|
|
431
454
|
* @see {@link ListLogAnomalyDetectorsCommand}
|
|
432
455
|
*/
|
|
@@ -500,6 +523,12 @@ export interface CloudWatchLogs {
|
|
|
500
523
|
putIndexPolicy(args: PutIndexPolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutIndexPolicyCommandOutput>;
|
|
501
524
|
putIndexPolicy(args: PutIndexPolicyCommandInput, cb: (err: any, data?: PutIndexPolicyCommandOutput) => void): void;
|
|
502
525
|
putIndexPolicy(args: PutIndexPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutIndexPolicyCommandOutput) => void): void;
|
|
526
|
+
/**
|
|
527
|
+
* @see {@link PutIntegrationCommand}
|
|
528
|
+
*/
|
|
529
|
+
putIntegration(args: PutIntegrationCommandInput, options?: __HttpHandlerOptions): Promise<PutIntegrationCommandOutput>;
|
|
530
|
+
putIntegration(args: PutIntegrationCommandInput, cb: (err: any, data?: PutIntegrationCommandOutput) => void): void;
|
|
531
|
+
putIntegration(args: PutIntegrationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutIntegrationCommandOutput) => void): void;
|
|
503
532
|
/**
|
|
504
533
|
* @see {@link PutLogEventsCommand}
|
|
505
534
|
*/
|
|
@@ -23,6 +23,7 @@ import { DeleteDeliveryDestinationPolicyCommandInput, DeleteDeliveryDestinationP
|
|
|
23
23
|
import { DeleteDeliverySourceCommandInput, DeleteDeliverySourceCommandOutput } from "./commands/DeleteDeliverySourceCommand";
|
|
24
24
|
import { DeleteDestinationCommandInput, DeleteDestinationCommandOutput } from "./commands/DeleteDestinationCommand";
|
|
25
25
|
import { DeleteIndexPolicyCommandInput, DeleteIndexPolicyCommandOutput } from "./commands/DeleteIndexPolicyCommand";
|
|
26
|
+
import { DeleteIntegrationCommandInput, DeleteIntegrationCommandOutput } from "./commands/DeleteIntegrationCommand";
|
|
26
27
|
import { DeleteLogAnomalyDetectorCommandInput, DeleteLogAnomalyDetectorCommandOutput } from "./commands/DeleteLogAnomalyDetectorCommand";
|
|
27
28
|
import { DeleteLogGroupCommandInput, DeleteLogGroupCommandOutput } from "./commands/DeleteLogGroupCommand";
|
|
28
29
|
import { DeleteLogStreamCommandInput, DeleteLogStreamCommandOutput } from "./commands/DeleteLogStreamCommand";
|
|
@@ -55,6 +56,7 @@ import { GetDeliveryCommandInput, GetDeliveryCommandOutput } from "./commands/Ge
|
|
|
55
56
|
import { GetDeliveryDestinationCommandInput, GetDeliveryDestinationCommandOutput } from "./commands/GetDeliveryDestinationCommand";
|
|
56
57
|
import { GetDeliveryDestinationPolicyCommandInput, GetDeliveryDestinationPolicyCommandOutput } from "./commands/GetDeliveryDestinationPolicyCommand";
|
|
57
58
|
import { GetDeliverySourceCommandInput, GetDeliverySourceCommandOutput } from "./commands/GetDeliverySourceCommand";
|
|
59
|
+
import { GetIntegrationCommandInput, GetIntegrationCommandOutput } from "./commands/GetIntegrationCommand";
|
|
58
60
|
import { GetLogAnomalyDetectorCommandInput, GetLogAnomalyDetectorCommandOutput } from "./commands/GetLogAnomalyDetectorCommand";
|
|
59
61
|
import { GetLogEventsCommandInput, GetLogEventsCommandOutput } from "./commands/GetLogEventsCommand";
|
|
60
62
|
import { GetLogGroupFieldsCommandInput, GetLogGroupFieldsCommandOutput } from "./commands/GetLogGroupFieldsCommand";
|
|
@@ -62,6 +64,7 @@ import { GetLogRecordCommandInput, GetLogRecordCommandOutput } from "./commands/
|
|
|
62
64
|
import { GetQueryResultsCommandInput, GetQueryResultsCommandOutput } from "./commands/GetQueryResultsCommand";
|
|
63
65
|
import { GetTransformerCommandInput, GetTransformerCommandOutput } from "./commands/GetTransformerCommand";
|
|
64
66
|
import { ListAnomaliesCommandInput, ListAnomaliesCommandOutput } from "./commands/ListAnomaliesCommand";
|
|
67
|
+
import { ListIntegrationsCommandInput, ListIntegrationsCommandOutput } from "./commands/ListIntegrationsCommand";
|
|
65
68
|
import { ListLogAnomalyDetectorsCommandInput, ListLogAnomalyDetectorsCommandOutput } from "./commands/ListLogAnomalyDetectorsCommand";
|
|
66
69
|
import { ListLogGroupsForQueryCommandInput, ListLogGroupsForQueryCommandOutput } from "./commands/ListLogGroupsForQueryCommand";
|
|
67
70
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
@@ -74,6 +77,7 @@ import { PutDeliverySourceCommandInput, PutDeliverySourceCommandOutput } from ".
|
|
|
74
77
|
import { PutDestinationCommandInput, PutDestinationCommandOutput } from "./commands/PutDestinationCommand";
|
|
75
78
|
import { PutDestinationPolicyCommandInput, PutDestinationPolicyCommandOutput } from "./commands/PutDestinationPolicyCommand";
|
|
76
79
|
import { PutIndexPolicyCommandInput, PutIndexPolicyCommandOutput } from "./commands/PutIndexPolicyCommand";
|
|
80
|
+
import { PutIntegrationCommandInput, PutIntegrationCommandOutput } from "./commands/PutIntegrationCommand";
|
|
77
81
|
import { PutLogEventsCommandInput, PutLogEventsCommandOutput } from "./commands/PutLogEventsCommand";
|
|
78
82
|
import { PutMetricFilterCommandInput, PutMetricFilterCommandOutput } from "./commands/PutMetricFilterCommand";
|
|
79
83
|
import { PutQueryDefinitionCommandInput, PutQueryDefinitionCommandOutput } from "./commands/PutQueryDefinitionCommand";
|
|
@@ -99,11 +103,11 @@ export { __Client };
|
|
|
99
103
|
/**
|
|
100
104
|
* @public
|
|
101
105
|
*/
|
|
102
|
-
export type ServiceInputTypes = AssociateKmsKeyCommandInput | CancelExportTaskCommandInput | CreateDeliveryCommandInput | CreateExportTaskCommandInput | CreateLogAnomalyDetectorCommandInput | CreateLogGroupCommandInput | CreateLogStreamCommandInput | DeleteAccountPolicyCommandInput | DeleteDataProtectionPolicyCommandInput | DeleteDeliveryCommandInput | DeleteDeliveryDestinationCommandInput | DeleteDeliveryDestinationPolicyCommandInput | DeleteDeliverySourceCommandInput | DeleteDestinationCommandInput | DeleteIndexPolicyCommandInput | DeleteLogAnomalyDetectorCommandInput | DeleteLogGroupCommandInput | DeleteLogStreamCommandInput | DeleteMetricFilterCommandInput | DeleteQueryDefinitionCommandInput | DeleteResourcePolicyCommandInput | DeleteRetentionPolicyCommandInput | DeleteSubscriptionFilterCommandInput | DeleteTransformerCommandInput | DescribeAccountPoliciesCommandInput | DescribeConfigurationTemplatesCommandInput | DescribeDeliveriesCommandInput | DescribeDeliveryDestinationsCommandInput | DescribeDeliverySourcesCommandInput | DescribeDestinationsCommandInput | DescribeExportTasksCommandInput | DescribeFieldIndexesCommandInput | DescribeIndexPoliciesCommandInput | DescribeLogGroupsCommandInput | DescribeLogStreamsCommandInput | DescribeMetricFiltersCommandInput | DescribeQueriesCommandInput | DescribeQueryDefinitionsCommandInput | DescribeResourcePoliciesCommandInput | DescribeSubscriptionFiltersCommandInput | DisassociateKmsKeyCommandInput | FilterLogEventsCommandInput | GetDataProtectionPolicyCommandInput | GetDeliveryCommandInput | GetDeliveryDestinationCommandInput | GetDeliveryDestinationPolicyCommandInput | GetDeliverySourceCommandInput | GetLogAnomalyDetectorCommandInput | GetLogEventsCommandInput | GetLogGroupFieldsCommandInput | GetLogRecordCommandInput | GetQueryResultsCommandInput | GetTransformerCommandInput | ListAnomaliesCommandInput | ListLogAnomalyDetectorsCommandInput | ListLogGroupsForQueryCommandInput | ListTagsForResourceCommandInput | ListTagsLogGroupCommandInput | PutAccountPolicyCommandInput | PutDataProtectionPolicyCommandInput | PutDeliveryDestinationCommandInput | PutDeliveryDestinationPolicyCommandInput | PutDeliverySourceCommandInput | PutDestinationCommandInput | PutDestinationPolicyCommandInput | PutIndexPolicyCommandInput | PutLogEventsCommandInput | PutMetricFilterCommandInput | PutQueryDefinitionCommandInput | PutResourcePolicyCommandInput | PutRetentionPolicyCommandInput | PutSubscriptionFilterCommandInput | PutTransformerCommandInput | StartLiveTailCommandInput | StartQueryCommandInput | StopQueryCommandInput | TagLogGroupCommandInput | TagResourceCommandInput | TestMetricFilterCommandInput | TestTransformerCommandInput | UntagLogGroupCommandInput | UntagResourceCommandInput | UpdateAnomalyCommandInput | UpdateDeliveryConfigurationCommandInput | UpdateLogAnomalyDetectorCommandInput;
|
|
106
|
+
export type ServiceInputTypes = AssociateKmsKeyCommandInput | CancelExportTaskCommandInput | CreateDeliveryCommandInput | CreateExportTaskCommandInput | CreateLogAnomalyDetectorCommandInput | CreateLogGroupCommandInput | CreateLogStreamCommandInput | DeleteAccountPolicyCommandInput | DeleteDataProtectionPolicyCommandInput | DeleteDeliveryCommandInput | DeleteDeliveryDestinationCommandInput | DeleteDeliveryDestinationPolicyCommandInput | DeleteDeliverySourceCommandInput | DeleteDestinationCommandInput | DeleteIndexPolicyCommandInput | DeleteIntegrationCommandInput | DeleteLogAnomalyDetectorCommandInput | DeleteLogGroupCommandInput | DeleteLogStreamCommandInput | DeleteMetricFilterCommandInput | DeleteQueryDefinitionCommandInput | DeleteResourcePolicyCommandInput | DeleteRetentionPolicyCommandInput | DeleteSubscriptionFilterCommandInput | DeleteTransformerCommandInput | DescribeAccountPoliciesCommandInput | DescribeConfigurationTemplatesCommandInput | DescribeDeliveriesCommandInput | DescribeDeliveryDestinationsCommandInput | DescribeDeliverySourcesCommandInput | DescribeDestinationsCommandInput | DescribeExportTasksCommandInput | DescribeFieldIndexesCommandInput | DescribeIndexPoliciesCommandInput | DescribeLogGroupsCommandInput | DescribeLogStreamsCommandInput | DescribeMetricFiltersCommandInput | DescribeQueriesCommandInput | DescribeQueryDefinitionsCommandInput | DescribeResourcePoliciesCommandInput | DescribeSubscriptionFiltersCommandInput | DisassociateKmsKeyCommandInput | FilterLogEventsCommandInput | GetDataProtectionPolicyCommandInput | GetDeliveryCommandInput | GetDeliveryDestinationCommandInput | GetDeliveryDestinationPolicyCommandInput | GetDeliverySourceCommandInput | GetIntegrationCommandInput | GetLogAnomalyDetectorCommandInput | GetLogEventsCommandInput | GetLogGroupFieldsCommandInput | GetLogRecordCommandInput | GetQueryResultsCommandInput | GetTransformerCommandInput | ListAnomaliesCommandInput | ListIntegrationsCommandInput | ListLogAnomalyDetectorsCommandInput | ListLogGroupsForQueryCommandInput | ListTagsForResourceCommandInput | ListTagsLogGroupCommandInput | PutAccountPolicyCommandInput | PutDataProtectionPolicyCommandInput | PutDeliveryDestinationCommandInput | PutDeliveryDestinationPolicyCommandInput | PutDeliverySourceCommandInput | PutDestinationCommandInput | PutDestinationPolicyCommandInput | PutIndexPolicyCommandInput | PutIntegrationCommandInput | PutLogEventsCommandInput | PutMetricFilterCommandInput | PutQueryDefinitionCommandInput | PutResourcePolicyCommandInput | PutRetentionPolicyCommandInput | PutSubscriptionFilterCommandInput | PutTransformerCommandInput | StartLiveTailCommandInput | StartQueryCommandInput | StopQueryCommandInput | TagLogGroupCommandInput | TagResourceCommandInput | TestMetricFilterCommandInput | TestTransformerCommandInput | UntagLogGroupCommandInput | UntagResourceCommandInput | UpdateAnomalyCommandInput | UpdateDeliveryConfigurationCommandInput | UpdateLogAnomalyDetectorCommandInput;
|
|
103
107
|
/**
|
|
104
108
|
* @public
|
|
105
109
|
*/
|
|
106
|
-
export type ServiceOutputTypes = AssociateKmsKeyCommandOutput | CancelExportTaskCommandOutput | CreateDeliveryCommandOutput | CreateExportTaskCommandOutput | CreateLogAnomalyDetectorCommandOutput | CreateLogGroupCommandOutput | CreateLogStreamCommandOutput | DeleteAccountPolicyCommandOutput | DeleteDataProtectionPolicyCommandOutput | DeleteDeliveryCommandOutput | DeleteDeliveryDestinationCommandOutput | DeleteDeliveryDestinationPolicyCommandOutput | DeleteDeliverySourceCommandOutput | DeleteDestinationCommandOutput | DeleteIndexPolicyCommandOutput | DeleteLogAnomalyDetectorCommandOutput | DeleteLogGroupCommandOutput | DeleteLogStreamCommandOutput | DeleteMetricFilterCommandOutput | DeleteQueryDefinitionCommandOutput | DeleteResourcePolicyCommandOutput | DeleteRetentionPolicyCommandOutput | DeleteSubscriptionFilterCommandOutput | DeleteTransformerCommandOutput | DescribeAccountPoliciesCommandOutput | DescribeConfigurationTemplatesCommandOutput | DescribeDeliveriesCommandOutput | DescribeDeliveryDestinationsCommandOutput | DescribeDeliverySourcesCommandOutput | DescribeDestinationsCommandOutput | DescribeExportTasksCommandOutput | DescribeFieldIndexesCommandOutput | DescribeIndexPoliciesCommandOutput | DescribeLogGroupsCommandOutput | DescribeLogStreamsCommandOutput | DescribeMetricFiltersCommandOutput | DescribeQueriesCommandOutput | DescribeQueryDefinitionsCommandOutput | DescribeResourcePoliciesCommandOutput | DescribeSubscriptionFiltersCommandOutput | DisassociateKmsKeyCommandOutput | FilterLogEventsCommandOutput | GetDataProtectionPolicyCommandOutput | GetDeliveryCommandOutput | GetDeliveryDestinationCommandOutput | GetDeliveryDestinationPolicyCommandOutput | GetDeliverySourceCommandOutput | GetLogAnomalyDetectorCommandOutput | GetLogEventsCommandOutput | GetLogGroupFieldsCommandOutput | GetLogRecordCommandOutput | GetQueryResultsCommandOutput | GetTransformerCommandOutput | ListAnomaliesCommandOutput | ListLogAnomalyDetectorsCommandOutput | ListLogGroupsForQueryCommandOutput | ListTagsForResourceCommandOutput | ListTagsLogGroupCommandOutput | PutAccountPolicyCommandOutput | PutDataProtectionPolicyCommandOutput | PutDeliveryDestinationCommandOutput | PutDeliveryDestinationPolicyCommandOutput | PutDeliverySourceCommandOutput | PutDestinationCommandOutput | PutDestinationPolicyCommandOutput | PutIndexPolicyCommandOutput | PutLogEventsCommandOutput | PutMetricFilterCommandOutput | PutQueryDefinitionCommandOutput | PutResourcePolicyCommandOutput | PutRetentionPolicyCommandOutput | PutSubscriptionFilterCommandOutput | PutTransformerCommandOutput | StartLiveTailCommandOutput | StartQueryCommandOutput | StopQueryCommandOutput | TagLogGroupCommandOutput | TagResourceCommandOutput | TestMetricFilterCommandOutput | TestTransformerCommandOutput | UntagLogGroupCommandOutput | UntagResourceCommandOutput | UpdateAnomalyCommandOutput | UpdateDeliveryConfigurationCommandOutput | UpdateLogAnomalyDetectorCommandOutput;
|
|
110
|
+
export type ServiceOutputTypes = AssociateKmsKeyCommandOutput | CancelExportTaskCommandOutput | CreateDeliveryCommandOutput | CreateExportTaskCommandOutput | CreateLogAnomalyDetectorCommandOutput | CreateLogGroupCommandOutput | CreateLogStreamCommandOutput | DeleteAccountPolicyCommandOutput | DeleteDataProtectionPolicyCommandOutput | DeleteDeliveryCommandOutput | DeleteDeliveryDestinationCommandOutput | DeleteDeliveryDestinationPolicyCommandOutput | DeleteDeliverySourceCommandOutput | DeleteDestinationCommandOutput | DeleteIndexPolicyCommandOutput | DeleteIntegrationCommandOutput | DeleteLogAnomalyDetectorCommandOutput | DeleteLogGroupCommandOutput | DeleteLogStreamCommandOutput | DeleteMetricFilterCommandOutput | DeleteQueryDefinitionCommandOutput | DeleteResourcePolicyCommandOutput | DeleteRetentionPolicyCommandOutput | DeleteSubscriptionFilterCommandOutput | DeleteTransformerCommandOutput | DescribeAccountPoliciesCommandOutput | DescribeConfigurationTemplatesCommandOutput | DescribeDeliveriesCommandOutput | DescribeDeliveryDestinationsCommandOutput | DescribeDeliverySourcesCommandOutput | DescribeDestinationsCommandOutput | DescribeExportTasksCommandOutput | DescribeFieldIndexesCommandOutput | DescribeIndexPoliciesCommandOutput | DescribeLogGroupsCommandOutput | DescribeLogStreamsCommandOutput | DescribeMetricFiltersCommandOutput | DescribeQueriesCommandOutput | DescribeQueryDefinitionsCommandOutput | DescribeResourcePoliciesCommandOutput | DescribeSubscriptionFiltersCommandOutput | DisassociateKmsKeyCommandOutput | FilterLogEventsCommandOutput | GetDataProtectionPolicyCommandOutput | GetDeliveryCommandOutput | GetDeliveryDestinationCommandOutput | GetDeliveryDestinationPolicyCommandOutput | GetDeliverySourceCommandOutput | GetIntegrationCommandOutput | GetLogAnomalyDetectorCommandOutput | GetLogEventsCommandOutput | GetLogGroupFieldsCommandOutput | GetLogRecordCommandOutput | GetQueryResultsCommandOutput | GetTransformerCommandOutput | ListAnomaliesCommandOutput | ListIntegrationsCommandOutput | ListLogAnomalyDetectorsCommandOutput | ListLogGroupsForQueryCommandOutput | ListTagsForResourceCommandOutput | ListTagsLogGroupCommandOutput | PutAccountPolicyCommandOutput | PutDataProtectionPolicyCommandOutput | PutDeliveryDestinationCommandOutput | PutDeliveryDestinationPolicyCommandOutput | PutDeliverySourceCommandOutput | PutDestinationCommandOutput | PutDestinationPolicyCommandOutput | PutIndexPolicyCommandOutput | PutIntegrationCommandOutput | PutLogEventsCommandOutput | PutMetricFilterCommandOutput | PutQueryDefinitionCommandOutput | PutResourcePolicyCommandOutput | PutRetentionPolicyCommandOutput | PutSubscriptionFilterCommandOutput | PutTransformerCommandOutput | StartLiveTailCommandOutput | StartQueryCommandOutput | StopQueryCommandOutput | TagLogGroupCommandOutput | TagResourceCommandOutput | TestMetricFilterCommandOutput | TestTransformerCommandOutput | UntagLogGroupCommandOutput | UntagResourceCommandOutput | UpdateAnomalyCommandOutput | UpdateDeliveryConfigurationCommandOutput | UpdateLogAnomalyDetectorCommandOutput;
|
|
107
111
|
/**
|
|
108
112
|
* @public
|
|
109
113
|
*/
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
|
|
4
|
+
import { DeleteIntegrationRequest, DeleteIntegrationResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteIntegrationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteIntegrationCommandInput extends DeleteIntegrationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteIntegrationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteIntegrationCommandOutput extends DeleteIntegrationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteIntegrationCommand_base: {
|
|
25
|
+
new (input: DeleteIntegrationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteIntegrationCommandInput, DeleteIntegrationCommandOutput, CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: DeleteIntegrationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteIntegrationCommandInput, DeleteIntegrationCommandOutput, CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes the integration between CloudWatch Logs and OpenSearch Service. If your integration has active vended logs dashboards,
|
|
31
|
+
* you must specify <code>true</code> for the <code>force</code> parameter, otherwise the operation will fail. If you delete the integration by
|
|
32
|
+
* setting <code>force</code> to <code>true</code>,
|
|
33
|
+
* all your vended logs dashboards powered by OpenSearch Service will be deleted and the data that was on them
|
|
34
|
+
* will no longer be accessible.</p>
|
|
35
|
+
* @example
|
|
36
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
37
|
+
* ```javascript
|
|
38
|
+
* import { CloudWatchLogsClient, DeleteIntegrationCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
|
|
39
|
+
* // const { CloudWatchLogsClient, DeleteIntegrationCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
40
|
+
* const client = new CloudWatchLogsClient(config);
|
|
41
|
+
* const input = { // DeleteIntegrationRequest
|
|
42
|
+
* integrationName: "STRING_VALUE", // required
|
|
43
|
+
* force: true || false,
|
|
44
|
+
* };
|
|
45
|
+
* const command = new DeleteIntegrationCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // {};
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param DeleteIntegrationCommandInput - {@link DeleteIntegrationCommandInput}
|
|
52
|
+
* @returns {@link DeleteIntegrationCommandOutput}
|
|
53
|
+
* @see {@link DeleteIntegrationCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link DeleteIntegrationCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
58
|
+
* <p>A parameter is specified incorrectly.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
61
|
+
* <p>The specified resource does not exist.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
64
|
+
* <p>The service cannot complete the request.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ValidationException} (client fault)
|
|
67
|
+
* <p>One of the parameters for the request is not valid.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link CloudWatchLogsServiceException}
|
|
70
|
+
* <p>Base exception class for all service exceptions from CloudWatchLogs service.</p>
|
|
71
|
+
*
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
74
|
+
export declare class DeleteIntegrationCommand extends DeleteIntegrationCommand_base {
|
|
75
|
+
/** @internal type navigation helper, not in runtime. */
|
|
76
|
+
protected static __types: {
|
|
77
|
+
api: {
|
|
78
|
+
input: DeleteIntegrationRequest;
|
|
79
|
+
output: {};
|
|
80
|
+
};
|
|
81
|
+
sdk: {
|
|
82
|
+
input: DeleteIntegrationCommandInput;
|
|
83
|
+
output: DeleteIntegrationCommandOutput;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
}
|
|
@@ -41,12 +41,14 @@ declare const DescribeQueriesCommand_base: {
|
|
|
41
41
|
* status: "Scheduled" || "Running" || "Complete" || "Failed" || "Cancelled" || "Timeout" || "Unknown",
|
|
42
42
|
* maxResults: Number("int"),
|
|
43
43
|
* nextToken: "STRING_VALUE",
|
|
44
|
+
* queryLanguage: "CWLI" || "SQL" || "PPL",
|
|
44
45
|
* };
|
|
45
46
|
* const command = new DescribeQueriesCommand(input);
|
|
46
47
|
* const response = await client.send(command);
|
|
47
48
|
* // { // DescribeQueriesResponse
|
|
48
49
|
* // queries: [ // QueryInfoList
|
|
49
50
|
* // { // QueryInfo
|
|
51
|
+
* // queryLanguage: "CWLI" || "SQL" || "PPL",
|
|
50
52
|
* // queryId: "STRING_VALUE",
|
|
51
53
|
* // queryString: "STRING_VALUE",
|
|
52
54
|
* // status: "Scheduled" || "Running" || "Complete" || "Failed" || "Cancelled" || "Timeout" || "Unknown",
|
|
@@ -38,6 +38,7 @@ declare const DescribeQueryDefinitionsCommand_base: {
|
|
|
38
38
|
* // const { CloudWatchLogsClient, DescribeQueryDefinitionsCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
39
39
|
* const client = new CloudWatchLogsClient(config);
|
|
40
40
|
* const input = { // DescribeQueryDefinitionsRequest
|
|
41
|
+
* queryLanguage: "CWLI" || "SQL" || "PPL",
|
|
41
42
|
* queryDefinitionNamePrefix: "STRING_VALUE",
|
|
42
43
|
* maxResults: Number("int"),
|
|
43
44
|
* nextToken: "STRING_VALUE",
|
|
@@ -47,6 +48,7 @@ declare const DescribeQueryDefinitionsCommand_base: {
|
|
|
47
48
|
* // { // DescribeQueryDefinitionsResponse
|
|
48
49
|
* // queryDefinitions: [ // QueryDefinitionList
|
|
49
50
|
* // { // QueryDefinition
|
|
51
|
+
* // queryLanguage: "CWLI" || "SQL" || "PPL",
|
|
50
52
|
* // queryDefinitionId: "STRING_VALUE",
|
|
51
53
|
* // name: "STRING_VALUE",
|
|
52
54
|
* // queryString: "STRING_VALUE",
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
|
|
4
|
+
import { GetIntegrationRequest, GetIntegrationResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetIntegrationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetIntegrationCommandInput extends GetIntegrationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetIntegrationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetIntegrationCommandOutput extends GetIntegrationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetIntegrationCommand_base: {
|
|
25
|
+
new (input: GetIntegrationCommandInput): import("@smithy/smithy-client").CommandImpl<GetIntegrationCommandInput, GetIntegrationCommandOutput, CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetIntegrationCommandInput): import("@smithy/smithy-client").CommandImpl<GetIntegrationCommandInput, GetIntegrationCommandOutput, CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Returns information about one integration between CloudWatch Logs and OpenSearch Service. </p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { CloudWatchLogsClient, GetIntegrationCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
|
|
35
|
+
* // const { CloudWatchLogsClient, GetIntegrationCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
36
|
+
* const client = new CloudWatchLogsClient(config);
|
|
37
|
+
* const input = { // GetIntegrationRequest
|
|
38
|
+
* integrationName: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new GetIntegrationCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // GetIntegrationResponse
|
|
43
|
+
* // integrationName: "STRING_VALUE",
|
|
44
|
+
* // integrationType: "OPENSEARCH",
|
|
45
|
+
* // integrationStatus: "PROVISIONING" || "ACTIVE" || "FAILED",
|
|
46
|
+
* // integrationDetails: { // IntegrationDetails Union: only one key present
|
|
47
|
+
* // openSearchIntegrationDetails: { // OpenSearchIntegrationDetails
|
|
48
|
+
* // dataSource: { // OpenSearchDataSource
|
|
49
|
+
* // dataSourceName: "STRING_VALUE",
|
|
50
|
+
* // status: { // OpenSearchResourceStatus
|
|
51
|
+
* // status: "ACTIVE" || "NOT_FOUND" || "ERROR",
|
|
52
|
+
* // statusMessage: "STRING_VALUE",
|
|
53
|
+
* // },
|
|
54
|
+
* // },
|
|
55
|
+
* // application: { // OpenSearchApplication
|
|
56
|
+
* // applicationEndpoint: "STRING_VALUE",
|
|
57
|
+
* // applicationArn: "STRING_VALUE",
|
|
58
|
+
* // applicationId: "STRING_VALUE",
|
|
59
|
+
* // status: {
|
|
60
|
+
* // status: "ACTIVE" || "NOT_FOUND" || "ERROR",
|
|
61
|
+
* // statusMessage: "STRING_VALUE",
|
|
62
|
+
* // },
|
|
63
|
+
* // },
|
|
64
|
+
* // collection: { // OpenSearchCollection
|
|
65
|
+
* // collectionEndpoint: "STRING_VALUE",
|
|
66
|
+
* // collectionArn: "STRING_VALUE",
|
|
67
|
+
* // status: {
|
|
68
|
+
* // status: "ACTIVE" || "NOT_FOUND" || "ERROR",
|
|
69
|
+
* // statusMessage: "STRING_VALUE",
|
|
70
|
+
* // },
|
|
71
|
+
* // },
|
|
72
|
+
* // workspace: { // OpenSearchWorkspace
|
|
73
|
+
* // workspaceId: "STRING_VALUE",
|
|
74
|
+
* // status: {
|
|
75
|
+
* // status: "ACTIVE" || "NOT_FOUND" || "ERROR",
|
|
76
|
+
* // statusMessage: "STRING_VALUE",
|
|
77
|
+
* // },
|
|
78
|
+
* // },
|
|
79
|
+
* // encryptionPolicy: { // OpenSearchEncryptionPolicy
|
|
80
|
+
* // policyName: "STRING_VALUE",
|
|
81
|
+
* // status: {
|
|
82
|
+
* // status: "ACTIVE" || "NOT_FOUND" || "ERROR",
|
|
83
|
+
* // statusMessage: "STRING_VALUE",
|
|
84
|
+
* // },
|
|
85
|
+
* // },
|
|
86
|
+
* // networkPolicy: { // OpenSearchNetworkPolicy
|
|
87
|
+
* // policyName: "STRING_VALUE",
|
|
88
|
+
* // status: "<OpenSearchResourceStatus>",
|
|
89
|
+
* // },
|
|
90
|
+
* // accessPolicy: { // OpenSearchDataAccessPolicy
|
|
91
|
+
* // policyName: "STRING_VALUE",
|
|
92
|
+
* // status: "<OpenSearchResourceStatus>",
|
|
93
|
+
* // },
|
|
94
|
+
* // lifecyclePolicy: { // OpenSearchLifecyclePolicy
|
|
95
|
+
* // policyName: "STRING_VALUE",
|
|
96
|
+
* // status: "<OpenSearchResourceStatus>",
|
|
97
|
+
* // },
|
|
98
|
+
* // },
|
|
99
|
+
* // },
|
|
100
|
+
* // };
|
|
101
|
+
*
|
|
102
|
+
* ```
|
|
103
|
+
*
|
|
104
|
+
* @param GetIntegrationCommandInput - {@link GetIntegrationCommandInput}
|
|
105
|
+
* @returns {@link GetIntegrationCommandOutput}
|
|
106
|
+
* @see {@link GetIntegrationCommandInput} for command's `input` shape.
|
|
107
|
+
* @see {@link GetIntegrationCommandOutput} for command's `response` shape.
|
|
108
|
+
* @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
|
|
109
|
+
*
|
|
110
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
111
|
+
* <p>A parameter is specified incorrectly.</p>
|
|
112
|
+
*
|
|
113
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
114
|
+
* <p>The specified resource does not exist.</p>
|
|
115
|
+
*
|
|
116
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
117
|
+
* <p>The service cannot complete the request.</p>
|
|
118
|
+
*
|
|
119
|
+
* @throws {@link CloudWatchLogsServiceException}
|
|
120
|
+
* <p>Base exception class for all service exceptions from CloudWatchLogs service.</p>
|
|
121
|
+
*
|
|
122
|
+
* @public
|
|
123
|
+
*/
|
|
124
|
+
export declare class GetIntegrationCommand extends GetIntegrationCommand_base {
|
|
125
|
+
/** @internal type navigation helper, not in runtime. */
|
|
126
|
+
protected static __types: {
|
|
127
|
+
api: {
|
|
128
|
+
input: GetIntegrationRequest;
|
|
129
|
+
output: GetIntegrationResponse;
|
|
130
|
+
};
|
|
131
|
+
sdk: {
|
|
132
|
+
input: GetIntegrationCommandInput;
|
|
133
|
+
output: GetIntegrationCommandOutput;
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
}
|
|
@@ -53,6 +53,7 @@ declare const GetQueryResultsCommand_base: {
|
|
|
53
53
|
* const command = new GetQueryResultsCommand(input);
|
|
54
54
|
* const response = await client.send(command);
|
|
55
55
|
* // { // GetQueryResultsResponse
|
|
56
|
+
* // queryLanguage: "CWLI" || "SQL" || "PPL",
|
|
56
57
|
* // results: [ // QueryResults
|
|
57
58
|
* // [ // ResultRows
|
|
58
59
|
* // { // ResultField
|