@aws-sdk/client-cloudwatch-logs 3.940.0 → 3.943.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 +40 -0
- package/dist-cjs/index.js +328 -71
- package/dist-es/CloudWatchLogs.js +10 -0
- package/dist-es/commands/AssociateSourceToS3TableIntegrationCommand.js +16 -0
- package/dist-es/commands/DisassociateSourceFromS3TableIntegrationCommand.js +16 -0
- package/dist-es/commands/GetLogFieldsCommand.js +16 -0
- package/dist-es/commands/ListAggregateLogGroupSummariesCommand.js +16 -0
- package/dist-es/commands/ListSourcesForS3TableIntegrationCommand.js +16 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/enums.js +14 -0
- package/dist-es/models/errors.js +32 -32
- package/dist-es/pagination/ListSourcesForS3TableIntegrationPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +207 -39
- package/dist-types/CloudWatchLogs.d.ts +35 -0
- package/dist-types/CloudWatchLogsClient.d.ts +7 -2
- package/dist-types/commands/AssociateSourceToS3TableIntegrationCommand.d.ts +97 -0
- package/dist-types/commands/CreateScheduledQueryCommand.d.ts +4 -2
- package/dist-types/commands/DeleteAccountPolicyCommand.d.ts +8 -3
- package/dist-types/commands/DeleteIndexPolicyCommand.d.ts +8 -3
- package/dist-types/commands/DeleteScheduledQueryCommand.d.ts +4 -2
- package/dist-types/commands/DescribeFieldIndexesCommand.d.ts +1 -0
- package/dist-types/commands/DescribeLogGroupsCommand.d.ts +3 -2
- package/dist-types/commands/DescribeQueriesCommand.d.ts +4 -0
- package/dist-types/commands/DisassociateSourceFromS3TableIntegrationCommand.d.ts +92 -0
- package/dist-types/commands/GetLogFieldsCommand.d.ts +107 -0
- package/dist-types/commands/GetLogGroupFieldsCommand.d.ts +2 -0
- package/dist-types/commands/GetQueryResultsCommand.d.ts +3 -0
- package/dist-types/commands/GetScheduledQueryCommand.d.ts +4 -2
- package/dist-types/commands/GetScheduledQueryHistoryCommand.d.ts +4 -2
- package/dist-types/commands/ListAggregateLogGroupSummariesCommand.d.ts +118 -0
- package/dist-types/commands/ListLogGroupsCommand.d.ts +14 -2
- package/dist-types/commands/ListScheduledQueriesCommand.d.ts +4 -2
- package/dist-types/commands/ListSourcesForS3TableIntegrationCommand.d.ts +106 -0
- package/dist-types/commands/PutAccountPolicyCommand.d.ts +19 -6
- package/dist-types/commands/PutIndexPolicyCommand.d.ts +12 -4
- package/dist-types/commands/StartQueryCommand.d.ts +9 -3
- package/dist-types/commands/StopQueryCommand.d.ts +4 -0
- package/dist-types/commands/UpdateScheduledQueryCommand.d.ts +4 -2
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/enums.d.ts +38 -0
- package/dist-types/models/errors.d.ts +34 -32
- package/dist-types/models/models_0.d.ts +479 -102
- package/dist-types/pagination/ListSourcesForS3TableIntegrationPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +28 -0
- package/dist-types/ts3.4/CloudWatchLogs.d.ts +97 -0
- package/dist-types/ts3.4/CloudWatchLogsClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/AssociateSourceToS3TableIntegrationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DisassociateSourceFromS3TableIntegrationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetLogFieldsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListAggregateLogGroupSummariesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListSourcesForS3TableIntegrationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/enums.d.ts +19 -0
- package/dist-types/ts3.4/models/errors.d.ts +21 -21
- package/dist-types/ts3.4/models/models_0.d.ts +81 -0
- package/dist-types/ts3.4/pagination/ListSourcesForS3TableIntegrationPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +28 -0
- package/package.json +5 -5
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
2
|
import { CloudWatchLogsClient } from "./CloudWatchLogsClient";
|
|
3
3
|
import { AssociateKmsKeyCommandInput, AssociateKmsKeyCommandOutput } from "./commands/AssociateKmsKeyCommand";
|
|
4
|
+
import { AssociateSourceToS3TableIntegrationCommandInput, AssociateSourceToS3TableIntegrationCommandOutput } from "./commands/AssociateSourceToS3TableIntegrationCommand";
|
|
4
5
|
import { CancelExportTaskCommandInput, CancelExportTaskCommandOutput } from "./commands/CancelExportTaskCommand";
|
|
5
6
|
import { CreateDeliveryCommandInput, CreateDeliveryCommandOutput } from "./commands/CreateDeliveryCommand";
|
|
6
7
|
import { CreateExportTaskCommandInput, CreateExportTaskCommandOutput } from "./commands/CreateExportTaskCommand";
|
|
@@ -44,6 +45,7 @@ import { DescribeQueryDefinitionsCommandInput, DescribeQueryDefinitionsCommandOu
|
|
|
44
45
|
import { DescribeResourcePoliciesCommandInput, DescribeResourcePoliciesCommandOutput } from "./commands/DescribeResourcePoliciesCommand";
|
|
45
46
|
import { DescribeSubscriptionFiltersCommandInput, DescribeSubscriptionFiltersCommandOutput } from "./commands/DescribeSubscriptionFiltersCommand";
|
|
46
47
|
import { DisassociateKmsKeyCommandInput, DisassociateKmsKeyCommandOutput } from "./commands/DisassociateKmsKeyCommand";
|
|
48
|
+
import { DisassociateSourceFromS3TableIntegrationCommandInput, DisassociateSourceFromS3TableIntegrationCommandOutput } from "./commands/DisassociateSourceFromS3TableIntegrationCommand";
|
|
47
49
|
import { FilterLogEventsCommandInput, FilterLogEventsCommandOutput } from "./commands/FilterLogEventsCommand";
|
|
48
50
|
import { GetDataProtectionPolicyCommandInput, GetDataProtectionPolicyCommandOutput } from "./commands/GetDataProtectionPolicyCommand";
|
|
49
51
|
import { GetDeliveryCommandInput, GetDeliveryCommandOutput } from "./commands/GetDeliveryCommand";
|
|
@@ -53,6 +55,7 @@ import { GetDeliverySourceCommandInput, GetDeliverySourceCommandOutput } from ".
|
|
|
53
55
|
import { GetIntegrationCommandInput, GetIntegrationCommandOutput } from "./commands/GetIntegrationCommand";
|
|
54
56
|
import { GetLogAnomalyDetectorCommandInput, GetLogAnomalyDetectorCommandOutput } from "./commands/GetLogAnomalyDetectorCommand";
|
|
55
57
|
import { GetLogEventsCommandInput, GetLogEventsCommandOutput } from "./commands/GetLogEventsCommand";
|
|
58
|
+
import { GetLogFieldsCommandInput, GetLogFieldsCommandOutput } from "./commands/GetLogFieldsCommand";
|
|
56
59
|
import { GetLogGroupFieldsCommandInput, GetLogGroupFieldsCommandOutput } from "./commands/GetLogGroupFieldsCommand";
|
|
57
60
|
import { GetLogObjectCommandInput, GetLogObjectCommandOutput } from "./commands/GetLogObjectCommand";
|
|
58
61
|
import { GetLogRecordCommandInput, GetLogRecordCommandOutput } from "./commands/GetLogRecordCommand";
|
|
@@ -60,12 +63,14 @@ import { GetQueryResultsCommandInput, GetQueryResultsCommandOutput } from "./com
|
|
|
60
63
|
import { GetScheduledQueryCommandInput, GetScheduledQueryCommandOutput } from "./commands/GetScheduledQueryCommand";
|
|
61
64
|
import { GetScheduledQueryHistoryCommandInput, GetScheduledQueryHistoryCommandOutput } from "./commands/GetScheduledQueryHistoryCommand";
|
|
62
65
|
import { GetTransformerCommandInput, GetTransformerCommandOutput } from "./commands/GetTransformerCommand";
|
|
66
|
+
import { ListAggregateLogGroupSummariesCommandInput, ListAggregateLogGroupSummariesCommandOutput } from "./commands/ListAggregateLogGroupSummariesCommand";
|
|
63
67
|
import { ListAnomaliesCommandInput, ListAnomaliesCommandOutput } from "./commands/ListAnomaliesCommand";
|
|
64
68
|
import { ListIntegrationsCommandInput, ListIntegrationsCommandOutput } from "./commands/ListIntegrationsCommand";
|
|
65
69
|
import { ListLogAnomalyDetectorsCommandInput, ListLogAnomalyDetectorsCommandOutput } from "./commands/ListLogAnomalyDetectorsCommand";
|
|
66
70
|
import { ListLogGroupsCommandInput, ListLogGroupsCommandOutput } from "./commands/ListLogGroupsCommand";
|
|
67
71
|
import { ListLogGroupsForQueryCommandInput, ListLogGroupsForQueryCommandOutput } from "./commands/ListLogGroupsForQueryCommand";
|
|
68
72
|
import { ListScheduledQueriesCommandInput, ListScheduledQueriesCommandOutput } from "./commands/ListScheduledQueriesCommand";
|
|
73
|
+
import { ListSourcesForS3TableIntegrationCommandInput, ListSourcesForS3TableIntegrationCommandOutput } from "./commands/ListSourcesForS3TableIntegrationCommand";
|
|
69
74
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
70
75
|
import { ListTagsLogGroupCommandInput, ListTagsLogGroupCommandOutput } from "./commands/ListTagsLogGroupCommand";
|
|
71
76
|
import { PutAccountPolicyCommandInput, PutAccountPolicyCommandOutput } from "./commands/PutAccountPolicyCommand";
|
|
@@ -105,6 +110,12 @@ export interface CloudWatchLogs {
|
|
|
105
110
|
associateKmsKey(args: AssociateKmsKeyCommandInput, options?: __HttpHandlerOptions): Promise<AssociateKmsKeyCommandOutput>;
|
|
106
111
|
associateKmsKey(args: AssociateKmsKeyCommandInput, cb: (err: any, data?: AssociateKmsKeyCommandOutput) => void): void;
|
|
107
112
|
associateKmsKey(args: AssociateKmsKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateKmsKeyCommandOutput) => void): void;
|
|
113
|
+
/**
|
|
114
|
+
* @see {@link AssociateSourceToS3TableIntegrationCommand}
|
|
115
|
+
*/
|
|
116
|
+
associateSourceToS3TableIntegration(args: AssociateSourceToS3TableIntegrationCommandInput, options?: __HttpHandlerOptions): Promise<AssociateSourceToS3TableIntegrationCommandOutput>;
|
|
117
|
+
associateSourceToS3TableIntegration(args: AssociateSourceToS3TableIntegrationCommandInput, cb: (err: any, data?: AssociateSourceToS3TableIntegrationCommandOutput) => void): void;
|
|
118
|
+
associateSourceToS3TableIntegration(args: AssociateSourceToS3TableIntegrationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateSourceToS3TableIntegrationCommandOutput) => void): void;
|
|
108
119
|
/**
|
|
109
120
|
* @see {@link CancelExportTaskCommand}
|
|
110
121
|
*/
|
|
@@ -377,6 +388,12 @@ export interface CloudWatchLogs {
|
|
|
377
388
|
disassociateKmsKey(args: DisassociateKmsKeyCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateKmsKeyCommandOutput>;
|
|
378
389
|
disassociateKmsKey(args: DisassociateKmsKeyCommandInput, cb: (err: any, data?: DisassociateKmsKeyCommandOutput) => void): void;
|
|
379
390
|
disassociateKmsKey(args: DisassociateKmsKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateKmsKeyCommandOutput) => void): void;
|
|
391
|
+
/**
|
|
392
|
+
* @see {@link DisassociateSourceFromS3TableIntegrationCommand}
|
|
393
|
+
*/
|
|
394
|
+
disassociateSourceFromS3TableIntegration(args: DisassociateSourceFromS3TableIntegrationCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateSourceFromS3TableIntegrationCommandOutput>;
|
|
395
|
+
disassociateSourceFromS3TableIntegration(args: DisassociateSourceFromS3TableIntegrationCommandInput, cb: (err: any, data?: DisassociateSourceFromS3TableIntegrationCommandOutput) => void): void;
|
|
396
|
+
disassociateSourceFromS3TableIntegration(args: DisassociateSourceFromS3TableIntegrationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateSourceFromS3TableIntegrationCommandOutput) => void): void;
|
|
380
397
|
/**
|
|
381
398
|
* @see {@link FilterLogEventsCommand}
|
|
382
399
|
*/
|
|
@@ -432,6 +449,12 @@ export interface CloudWatchLogs {
|
|
|
432
449
|
getLogEvents(args: GetLogEventsCommandInput, options?: __HttpHandlerOptions): Promise<GetLogEventsCommandOutput>;
|
|
433
450
|
getLogEvents(args: GetLogEventsCommandInput, cb: (err: any, data?: GetLogEventsCommandOutput) => void): void;
|
|
434
451
|
getLogEvents(args: GetLogEventsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLogEventsCommandOutput) => void): void;
|
|
452
|
+
/**
|
|
453
|
+
* @see {@link GetLogFieldsCommand}
|
|
454
|
+
*/
|
|
455
|
+
getLogFields(args: GetLogFieldsCommandInput, options?: __HttpHandlerOptions): Promise<GetLogFieldsCommandOutput>;
|
|
456
|
+
getLogFields(args: GetLogFieldsCommandInput, cb: (err: any, data?: GetLogFieldsCommandOutput) => void): void;
|
|
457
|
+
getLogFields(args: GetLogFieldsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLogFieldsCommandOutput) => void): void;
|
|
435
458
|
/**
|
|
436
459
|
* @see {@link GetLogGroupFieldsCommand}
|
|
437
460
|
*/
|
|
@@ -475,6 +498,12 @@ export interface CloudWatchLogs {
|
|
|
475
498
|
getTransformer(args: GetTransformerCommandInput, options?: __HttpHandlerOptions): Promise<GetTransformerCommandOutput>;
|
|
476
499
|
getTransformer(args: GetTransformerCommandInput, cb: (err: any, data?: GetTransformerCommandOutput) => void): void;
|
|
477
500
|
getTransformer(args: GetTransformerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTransformerCommandOutput) => void): void;
|
|
501
|
+
/**
|
|
502
|
+
* @see {@link ListAggregateLogGroupSummariesCommand}
|
|
503
|
+
*/
|
|
504
|
+
listAggregateLogGroupSummaries(args: ListAggregateLogGroupSummariesCommandInput, options?: __HttpHandlerOptions): Promise<ListAggregateLogGroupSummariesCommandOutput>;
|
|
505
|
+
listAggregateLogGroupSummaries(args: ListAggregateLogGroupSummariesCommandInput, cb: (err: any, data?: ListAggregateLogGroupSummariesCommandOutput) => void): void;
|
|
506
|
+
listAggregateLogGroupSummaries(args: ListAggregateLogGroupSummariesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAggregateLogGroupSummariesCommandOutput) => void): void;
|
|
478
507
|
/**
|
|
479
508
|
* @see {@link ListAnomaliesCommand}
|
|
480
509
|
*/
|
|
@@ -516,6 +545,12 @@ export interface CloudWatchLogs {
|
|
|
516
545
|
listScheduledQueries(args: ListScheduledQueriesCommandInput, options?: __HttpHandlerOptions): Promise<ListScheduledQueriesCommandOutput>;
|
|
517
546
|
listScheduledQueries(args: ListScheduledQueriesCommandInput, cb: (err: any, data?: ListScheduledQueriesCommandOutput) => void): void;
|
|
518
547
|
listScheduledQueries(args: ListScheduledQueriesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListScheduledQueriesCommandOutput) => void): void;
|
|
548
|
+
/**
|
|
549
|
+
* @see {@link ListSourcesForS3TableIntegrationCommand}
|
|
550
|
+
*/
|
|
551
|
+
listSourcesForS3TableIntegration(args: ListSourcesForS3TableIntegrationCommandInput, options?: __HttpHandlerOptions): Promise<ListSourcesForS3TableIntegrationCommandOutput>;
|
|
552
|
+
listSourcesForS3TableIntegration(args: ListSourcesForS3TableIntegrationCommandInput, cb: (err: any, data?: ListSourcesForS3TableIntegrationCommandOutput) => void): void;
|
|
553
|
+
listSourcesForS3TableIntegration(args: ListSourcesForS3TableIntegrationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSourcesForS3TableIntegrationCommandOutput) => void): void;
|
|
519
554
|
/**
|
|
520
555
|
* @see {@link ListTagsForResourceCommand}
|
|
521
556
|
*/
|
|
@@ -9,6 +9,7 @@ import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration
|
|
|
9
9
|
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, ClientProtocol, Decoder as __Decoder, Encoder as __Encoder, EventStreamSerdeProvider as __EventStreamSerdeProvider, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, HttpRequest, HttpResponse, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
10
10
|
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
11
11
|
import { AssociateKmsKeyCommandInput, AssociateKmsKeyCommandOutput } from "./commands/AssociateKmsKeyCommand";
|
|
12
|
+
import { AssociateSourceToS3TableIntegrationCommandInput, AssociateSourceToS3TableIntegrationCommandOutput } from "./commands/AssociateSourceToS3TableIntegrationCommand";
|
|
12
13
|
import { CancelExportTaskCommandInput, CancelExportTaskCommandOutput } from "./commands/CancelExportTaskCommand";
|
|
13
14
|
import { CreateDeliveryCommandInput, CreateDeliveryCommandOutput } from "./commands/CreateDeliveryCommand";
|
|
14
15
|
import { CreateExportTaskCommandInput, CreateExportTaskCommandOutput } from "./commands/CreateExportTaskCommand";
|
|
@@ -52,6 +53,7 @@ import { DescribeQueryDefinitionsCommandInput, DescribeQueryDefinitionsCommandOu
|
|
|
52
53
|
import { DescribeResourcePoliciesCommandInput, DescribeResourcePoliciesCommandOutput } from "./commands/DescribeResourcePoliciesCommand";
|
|
53
54
|
import { DescribeSubscriptionFiltersCommandInput, DescribeSubscriptionFiltersCommandOutput } from "./commands/DescribeSubscriptionFiltersCommand";
|
|
54
55
|
import { DisassociateKmsKeyCommandInput, DisassociateKmsKeyCommandOutput } from "./commands/DisassociateKmsKeyCommand";
|
|
56
|
+
import { DisassociateSourceFromS3TableIntegrationCommandInput, DisassociateSourceFromS3TableIntegrationCommandOutput } from "./commands/DisassociateSourceFromS3TableIntegrationCommand";
|
|
55
57
|
import { FilterLogEventsCommandInput, FilterLogEventsCommandOutput } from "./commands/FilterLogEventsCommand";
|
|
56
58
|
import { GetDataProtectionPolicyCommandInput, GetDataProtectionPolicyCommandOutput } from "./commands/GetDataProtectionPolicyCommand";
|
|
57
59
|
import { GetDeliveryCommandInput, GetDeliveryCommandOutput } from "./commands/GetDeliveryCommand";
|
|
@@ -61,6 +63,7 @@ import { GetDeliverySourceCommandInput, GetDeliverySourceCommandOutput } from ".
|
|
|
61
63
|
import { GetIntegrationCommandInput, GetIntegrationCommandOutput } from "./commands/GetIntegrationCommand";
|
|
62
64
|
import { GetLogAnomalyDetectorCommandInput, GetLogAnomalyDetectorCommandOutput } from "./commands/GetLogAnomalyDetectorCommand";
|
|
63
65
|
import { GetLogEventsCommandInput, GetLogEventsCommandOutput } from "./commands/GetLogEventsCommand";
|
|
66
|
+
import { GetLogFieldsCommandInput, GetLogFieldsCommandOutput } from "./commands/GetLogFieldsCommand";
|
|
64
67
|
import { GetLogGroupFieldsCommandInput, GetLogGroupFieldsCommandOutput } from "./commands/GetLogGroupFieldsCommand";
|
|
65
68
|
import { GetLogObjectCommandInput, GetLogObjectCommandOutput } from "./commands/GetLogObjectCommand";
|
|
66
69
|
import { GetLogRecordCommandInput, GetLogRecordCommandOutput } from "./commands/GetLogRecordCommand";
|
|
@@ -68,12 +71,14 @@ import { GetQueryResultsCommandInput, GetQueryResultsCommandOutput } from "./com
|
|
|
68
71
|
import { GetScheduledQueryCommandInput, GetScheduledQueryCommandOutput } from "./commands/GetScheduledQueryCommand";
|
|
69
72
|
import { GetScheduledQueryHistoryCommandInput, GetScheduledQueryHistoryCommandOutput } from "./commands/GetScheduledQueryHistoryCommand";
|
|
70
73
|
import { GetTransformerCommandInput, GetTransformerCommandOutput } from "./commands/GetTransformerCommand";
|
|
74
|
+
import { ListAggregateLogGroupSummariesCommandInput, ListAggregateLogGroupSummariesCommandOutput } from "./commands/ListAggregateLogGroupSummariesCommand";
|
|
71
75
|
import { ListAnomaliesCommandInput, ListAnomaliesCommandOutput } from "./commands/ListAnomaliesCommand";
|
|
72
76
|
import { ListIntegrationsCommandInput, ListIntegrationsCommandOutput } from "./commands/ListIntegrationsCommand";
|
|
73
77
|
import { ListLogAnomalyDetectorsCommandInput, ListLogAnomalyDetectorsCommandOutput } from "./commands/ListLogAnomalyDetectorsCommand";
|
|
74
78
|
import { ListLogGroupsCommandInput, ListLogGroupsCommandOutput } from "./commands/ListLogGroupsCommand";
|
|
75
79
|
import { ListLogGroupsForQueryCommandInput, ListLogGroupsForQueryCommandOutput } from "./commands/ListLogGroupsForQueryCommand";
|
|
76
80
|
import { ListScheduledQueriesCommandInput, ListScheduledQueriesCommandOutput } from "./commands/ListScheduledQueriesCommand";
|
|
81
|
+
import { ListSourcesForS3TableIntegrationCommandInput, ListSourcesForS3TableIntegrationCommandOutput } from "./commands/ListSourcesForS3TableIntegrationCommand";
|
|
77
82
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
78
83
|
import { ListTagsLogGroupCommandInput, ListTagsLogGroupCommandOutput } from "./commands/ListTagsLogGroupCommand";
|
|
79
84
|
import { PutAccountPolicyCommandInput, PutAccountPolicyCommandOutput } from "./commands/PutAccountPolicyCommand";
|
|
@@ -112,11 +117,11 @@ export { __Client };
|
|
|
112
117
|
/**
|
|
113
118
|
* @public
|
|
114
119
|
*/
|
|
115
|
-
export type ServiceInputTypes = AssociateKmsKeyCommandInput | CancelExportTaskCommandInput | CreateDeliveryCommandInput | CreateExportTaskCommandInput | CreateLogAnomalyDetectorCommandInput | CreateLogGroupCommandInput | CreateLogStreamCommandInput | CreateScheduledQueryCommandInput | DeleteAccountPolicyCommandInput | DeleteDataProtectionPolicyCommandInput | DeleteDeliveryCommandInput | DeleteDeliveryDestinationCommandInput | DeleteDeliveryDestinationPolicyCommandInput | DeleteDeliverySourceCommandInput | DeleteDestinationCommandInput | DeleteIndexPolicyCommandInput | DeleteIntegrationCommandInput | DeleteLogAnomalyDetectorCommandInput | DeleteLogGroupCommandInput | DeleteLogStreamCommandInput | DeleteMetricFilterCommandInput | DeleteQueryDefinitionCommandInput | DeleteResourcePolicyCommandInput | DeleteRetentionPolicyCommandInput | DeleteScheduledQueryCommandInput | 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 | GetLogObjectCommandInput | GetLogRecordCommandInput | GetQueryResultsCommandInput | GetScheduledQueryCommandInput | GetScheduledQueryHistoryCommandInput | GetTransformerCommandInput | ListAnomaliesCommandInput | ListIntegrationsCommandInput | ListLogAnomalyDetectorsCommandInput | ListLogGroupsCommandInput | ListLogGroupsForQueryCommandInput | ListScheduledQueriesCommandInput | ListTagsForResourceCommandInput | ListTagsLogGroupCommandInput | PutAccountPolicyCommandInput | PutDataProtectionPolicyCommandInput | PutDeliveryDestinationCommandInput | PutDeliveryDestinationPolicyCommandInput | PutDeliverySourceCommandInput | PutDestinationCommandInput | PutDestinationPolicyCommandInput | PutIndexPolicyCommandInput | PutIntegrationCommandInput | PutLogEventsCommandInput | PutLogGroupDeletionProtectionCommandInput | PutMetricFilterCommandInput | PutQueryDefinitionCommandInput | PutResourcePolicyCommandInput | PutRetentionPolicyCommandInput | PutSubscriptionFilterCommandInput | PutTransformerCommandInput | StartLiveTailCommandInput | StartQueryCommandInput | StopQueryCommandInput | TagLogGroupCommandInput | TagResourceCommandInput | TestMetricFilterCommandInput | TestTransformerCommandInput | UntagLogGroupCommandInput | UntagResourceCommandInput | UpdateAnomalyCommandInput | UpdateDeliveryConfigurationCommandInput | UpdateLogAnomalyDetectorCommandInput | UpdateScheduledQueryCommandInput;
|
|
120
|
+
export type ServiceInputTypes = AssociateKmsKeyCommandInput | AssociateSourceToS3TableIntegrationCommandInput | CancelExportTaskCommandInput | CreateDeliveryCommandInput | CreateExportTaskCommandInput | CreateLogAnomalyDetectorCommandInput | CreateLogGroupCommandInput | CreateLogStreamCommandInput | CreateScheduledQueryCommandInput | DeleteAccountPolicyCommandInput | DeleteDataProtectionPolicyCommandInput | DeleteDeliveryCommandInput | DeleteDeliveryDestinationCommandInput | DeleteDeliveryDestinationPolicyCommandInput | DeleteDeliverySourceCommandInput | DeleteDestinationCommandInput | DeleteIndexPolicyCommandInput | DeleteIntegrationCommandInput | DeleteLogAnomalyDetectorCommandInput | DeleteLogGroupCommandInput | DeleteLogStreamCommandInput | DeleteMetricFilterCommandInput | DeleteQueryDefinitionCommandInput | DeleteResourcePolicyCommandInput | DeleteRetentionPolicyCommandInput | DeleteScheduledQueryCommandInput | DeleteSubscriptionFilterCommandInput | DeleteTransformerCommandInput | DescribeAccountPoliciesCommandInput | DescribeConfigurationTemplatesCommandInput | DescribeDeliveriesCommandInput | DescribeDeliveryDestinationsCommandInput | DescribeDeliverySourcesCommandInput | DescribeDestinationsCommandInput | DescribeExportTasksCommandInput | DescribeFieldIndexesCommandInput | DescribeIndexPoliciesCommandInput | DescribeLogGroupsCommandInput | DescribeLogStreamsCommandInput | DescribeMetricFiltersCommandInput | DescribeQueriesCommandInput | DescribeQueryDefinitionsCommandInput | DescribeResourcePoliciesCommandInput | DescribeSubscriptionFiltersCommandInput | DisassociateKmsKeyCommandInput | DisassociateSourceFromS3TableIntegrationCommandInput | FilterLogEventsCommandInput | GetDataProtectionPolicyCommandInput | GetDeliveryCommandInput | GetDeliveryDestinationCommandInput | GetDeliveryDestinationPolicyCommandInput | GetDeliverySourceCommandInput | GetIntegrationCommandInput | GetLogAnomalyDetectorCommandInput | GetLogEventsCommandInput | GetLogFieldsCommandInput | GetLogGroupFieldsCommandInput | GetLogObjectCommandInput | GetLogRecordCommandInput | GetQueryResultsCommandInput | GetScheduledQueryCommandInput | GetScheduledQueryHistoryCommandInput | GetTransformerCommandInput | ListAggregateLogGroupSummariesCommandInput | ListAnomaliesCommandInput | ListIntegrationsCommandInput | ListLogAnomalyDetectorsCommandInput | ListLogGroupsCommandInput | ListLogGroupsForQueryCommandInput | ListScheduledQueriesCommandInput | ListSourcesForS3TableIntegrationCommandInput | ListTagsForResourceCommandInput | ListTagsLogGroupCommandInput | PutAccountPolicyCommandInput | PutDataProtectionPolicyCommandInput | PutDeliveryDestinationCommandInput | PutDeliveryDestinationPolicyCommandInput | PutDeliverySourceCommandInput | PutDestinationCommandInput | PutDestinationPolicyCommandInput | PutIndexPolicyCommandInput | PutIntegrationCommandInput | PutLogEventsCommandInput | PutLogGroupDeletionProtectionCommandInput | PutMetricFilterCommandInput | PutQueryDefinitionCommandInput | PutResourcePolicyCommandInput | PutRetentionPolicyCommandInput | PutSubscriptionFilterCommandInput | PutTransformerCommandInput | StartLiveTailCommandInput | StartQueryCommandInput | StopQueryCommandInput | TagLogGroupCommandInput | TagResourceCommandInput | TestMetricFilterCommandInput | TestTransformerCommandInput | UntagLogGroupCommandInput | UntagResourceCommandInput | UpdateAnomalyCommandInput | UpdateDeliveryConfigurationCommandInput | UpdateLogAnomalyDetectorCommandInput | UpdateScheduledQueryCommandInput;
|
|
116
121
|
/**
|
|
117
122
|
* @public
|
|
118
123
|
*/
|
|
119
|
-
export type ServiceOutputTypes = AssociateKmsKeyCommandOutput | CancelExportTaskCommandOutput | CreateDeliveryCommandOutput | CreateExportTaskCommandOutput | CreateLogAnomalyDetectorCommandOutput | CreateLogGroupCommandOutput | CreateLogStreamCommandOutput | CreateScheduledQueryCommandOutput | DeleteAccountPolicyCommandOutput | DeleteDataProtectionPolicyCommandOutput | DeleteDeliveryCommandOutput | DeleteDeliveryDestinationCommandOutput | DeleteDeliveryDestinationPolicyCommandOutput | DeleteDeliverySourceCommandOutput | DeleteDestinationCommandOutput | DeleteIndexPolicyCommandOutput | DeleteIntegrationCommandOutput | DeleteLogAnomalyDetectorCommandOutput | DeleteLogGroupCommandOutput | DeleteLogStreamCommandOutput | DeleteMetricFilterCommandOutput | DeleteQueryDefinitionCommandOutput | DeleteResourcePolicyCommandOutput | DeleteRetentionPolicyCommandOutput | DeleteScheduledQueryCommandOutput | 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 | GetLogObjectCommandOutput | GetLogRecordCommandOutput | GetQueryResultsCommandOutput | GetScheduledQueryCommandOutput | GetScheduledQueryHistoryCommandOutput | GetTransformerCommandOutput | ListAnomaliesCommandOutput | ListIntegrationsCommandOutput | ListLogAnomalyDetectorsCommandOutput | ListLogGroupsCommandOutput | ListLogGroupsForQueryCommandOutput | ListScheduledQueriesCommandOutput | ListTagsForResourceCommandOutput | ListTagsLogGroupCommandOutput | PutAccountPolicyCommandOutput | PutDataProtectionPolicyCommandOutput | PutDeliveryDestinationCommandOutput | PutDeliveryDestinationPolicyCommandOutput | PutDeliverySourceCommandOutput | PutDestinationCommandOutput | PutDestinationPolicyCommandOutput | PutIndexPolicyCommandOutput | PutIntegrationCommandOutput | PutLogEventsCommandOutput | PutLogGroupDeletionProtectionCommandOutput | PutMetricFilterCommandOutput | PutQueryDefinitionCommandOutput | PutResourcePolicyCommandOutput | PutRetentionPolicyCommandOutput | PutSubscriptionFilterCommandOutput | PutTransformerCommandOutput | StartLiveTailCommandOutput | StartQueryCommandOutput | StopQueryCommandOutput | TagLogGroupCommandOutput | TagResourceCommandOutput | TestMetricFilterCommandOutput | TestTransformerCommandOutput | UntagLogGroupCommandOutput | UntagResourceCommandOutput | UpdateAnomalyCommandOutput | UpdateDeliveryConfigurationCommandOutput | UpdateLogAnomalyDetectorCommandOutput | UpdateScheduledQueryCommandOutput;
|
|
124
|
+
export type ServiceOutputTypes = AssociateKmsKeyCommandOutput | AssociateSourceToS3TableIntegrationCommandOutput | CancelExportTaskCommandOutput | CreateDeliveryCommandOutput | CreateExportTaskCommandOutput | CreateLogAnomalyDetectorCommandOutput | CreateLogGroupCommandOutput | CreateLogStreamCommandOutput | CreateScheduledQueryCommandOutput | DeleteAccountPolicyCommandOutput | DeleteDataProtectionPolicyCommandOutput | DeleteDeliveryCommandOutput | DeleteDeliveryDestinationCommandOutput | DeleteDeliveryDestinationPolicyCommandOutput | DeleteDeliverySourceCommandOutput | DeleteDestinationCommandOutput | DeleteIndexPolicyCommandOutput | DeleteIntegrationCommandOutput | DeleteLogAnomalyDetectorCommandOutput | DeleteLogGroupCommandOutput | DeleteLogStreamCommandOutput | DeleteMetricFilterCommandOutput | DeleteQueryDefinitionCommandOutput | DeleteResourcePolicyCommandOutput | DeleteRetentionPolicyCommandOutput | DeleteScheduledQueryCommandOutput | DeleteSubscriptionFilterCommandOutput | DeleteTransformerCommandOutput | DescribeAccountPoliciesCommandOutput | DescribeConfigurationTemplatesCommandOutput | DescribeDeliveriesCommandOutput | DescribeDeliveryDestinationsCommandOutput | DescribeDeliverySourcesCommandOutput | DescribeDestinationsCommandOutput | DescribeExportTasksCommandOutput | DescribeFieldIndexesCommandOutput | DescribeIndexPoliciesCommandOutput | DescribeLogGroupsCommandOutput | DescribeLogStreamsCommandOutput | DescribeMetricFiltersCommandOutput | DescribeQueriesCommandOutput | DescribeQueryDefinitionsCommandOutput | DescribeResourcePoliciesCommandOutput | DescribeSubscriptionFiltersCommandOutput | DisassociateKmsKeyCommandOutput | DisassociateSourceFromS3TableIntegrationCommandOutput | FilterLogEventsCommandOutput | GetDataProtectionPolicyCommandOutput | GetDeliveryCommandOutput | GetDeliveryDestinationCommandOutput | GetDeliveryDestinationPolicyCommandOutput | GetDeliverySourceCommandOutput | GetIntegrationCommandOutput | GetLogAnomalyDetectorCommandOutput | GetLogEventsCommandOutput | GetLogFieldsCommandOutput | GetLogGroupFieldsCommandOutput | GetLogObjectCommandOutput | GetLogRecordCommandOutput | GetQueryResultsCommandOutput | GetScheduledQueryCommandOutput | GetScheduledQueryHistoryCommandOutput | GetTransformerCommandOutput | ListAggregateLogGroupSummariesCommandOutput | ListAnomaliesCommandOutput | ListIntegrationsCommandOutput | ListLogAnomalyDetectorsCommandOutput | ListLogGroupsCommandOutput | ListLogGroupsForQueryCommandOutput | ListScheduledQueriesCommandOutput | ListSourcesForS3TableIntegrationCommandOutput | ListTagsForResourceCommandOutput | ListTagsLogGroupCommandOutput | PutAccountPolicyCommandOutput | PutDataProtectionPolicyCommandOutput | PutDeliveryDestinationCommandOutput | PutDeliveryDestinationPolicyCommandOutput | PutDeliverySourceCommandOutput | PutDestinationCommandOutput | PutDestinationPolicyCommandOutput | PutIndexPolicyCommandOutput | PutIntegrationCommandOutput | PutLogEventsCommandOutput | PutLogGroupDeletionProtectionCommandOutput | PutMetricFilterCommandOutput | PutQueryDefinitionCommandOutput | PutResourcePolicyCommandOutput | PutRetentionPolicyCommandOutput | PutSubscriptionFilterCommandOutput | PutTransformerCommandOutput | StartLiveTailCommandOutput | StartQueryCommandOutput | StopQueryCommandOutput | TagLogGroupCommandOutput | TagResourceCommandOutput | TestMetricFilterCommandOutput | TestTransformerCommandOutput | UntagLogGroupCommandOutput | UntagResourceCommandOutput | UpdateAnomalyCommandOutput | UpdateDeliveryConfigurationCommandOutput | UpdateLogAnomalyDetectorCommandOutput | UpdateScheduledQueryCommandOutput;
|
|
120
125
|
/**
|
|
121
126
|
* @public
|
|
122
127
|
*/
|
|
@@ -0,0 +1,97 @@
|
|
|
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 { AssociateSourceToS3TableIntegrationRequest, AssociateSourceToS3TableIntegrationResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link AssociateSourceToS3TableIntegrationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface AssociateSourceToS3TableIntegrationCommandInput extends AssociateSourceToS3TableIntegrationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link AssociateSourceToS3TableIntegrationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface AssociateSourceToS3TableIntegrationCommandOutput extends AssociateSourceToS3TableIntegrationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const AssociateSourceToS3TableIntegrationCommand_base: {
|
|
25
|
+
new (input: AssociateSourceToS3TableIntegrationCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateSourceToS3TableIntegrationCommandInput, AssociateSourceToS3TableIntegrationCommandOutput, CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: AssociateSourceToS3TableIntegrationCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateSourceToS3TableIntegrationCommandInput, AssociateSourceToS3TableIntegrationCommandOutput, CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Associates a data source with an S3 Table Integration for query access in the 'logs'
|
|
31
|
+
* namespace. This enables querying log data using analytics engines that support Iceberg such as
|
|
32
|
+
* Amazon Athena, Amazon Redshift, and Apache Spark.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { CloudWatchLogsClient, AssociateSourceToS3TableIntegrationCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
|
|
37
|
+
* // const { CloudWatchLogsClient, AssociateSourceToS3TableIntegrationCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
38
|
+
* // import type { CloudWatchLogsClientConfig } from "@aws-sdk/client-cloudwatch-logs";
|
|
39
|
+
* const config = {}; // type is CloudWatchLogsClientConfig
|
|
40
|
+
* const client = new CloudWatchLogsClient(config);
|
|
41
|
+
* const input = { // AssociateSourceToS3TableIntegrationRequest
|
|
42
|
+
* integrationArn: "STRING_VALUE", // required
|
|
43
|
+
* dataSource: { // DataSource
|
|
44
|
+
* name: "STRING_VALUE", // required
|
|
45
|
+
* type: "STRING_VALUE",
|
|
46
|
+
* },
|
|
47
|
+
* };
|
|
48
|
+
* const command = new AssociateSourceToS3TableIntegrationCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* // { // AssociateSourceToS3TableIntegrationResponse
|
|
51
|
+
* // identifier: "STRING_VALUE",
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @param AssociateSourceToS3TableIntegrationCommandInput - {@link AssociateSourceToS3TableIntegrationCommandInput}
|
|
57
|
+
* @returns {@link AssociateSourceToS3TableIntegrationCommandOutput}
|
|
58
|
+
* @see {@link AssociateSourceToS3TableIntegrationCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link AssociateSourceToS3TableIntegrationCommandOutput} for command's `response` shape.
|
|
60
|
+
* @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
63
|
+
* <p>You don't have sufficient permissions to perform this action.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link InternalServerException} (server fault)
|
|
66
|
+
* <p>An internal server error occurred while processing the request. This exception is returned
|
|
67
|
+
* when the service encounters an unexpected condition that prevents it from fulfilling the
|
|
68
|
+
* request.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
71
|
+
* <p>The specified resource does not exist.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
74
|
+
* <p>The request was throttled because of quota limits.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ValidationException} (client fault)
|
|
77
|
+
* <p>One of the parameters for the request is not valid.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link CloudWatchLogsServiceException}
|
|
80
|
+
* <p>Base exception class for all service exceptions from CloudWatchLogs service.</p>
|
|
81
|
+
*
|
|
82
|
+
*
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
export declare class AssociateSourceToS3TableIntegrationCommand extends AssociateSourceToS3TableIntegrationCommand_base {
|
|
86
|
+
/** @internal type navigation helper, not in runtime. */
|
|
87
|
+
protected static __types: {
|
|
88
|
+
api: {
|
|
89
|
+
input: AssociateSourceToS3TableIntegrationRequest;
|
|
90
|
+
output: AssociateSourceToS3TableIntegrationResponse;
|
|
91
|
+
};
|
|
92
|
+
sdk: {
|
|
93
|
+
input: AssociateSourceToS3TableIntegrationCommandInput;
|
|
94
|
+
output: AssociateSourceToS3TableIntegrationCommandOutput;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
}
|
|
@@ -27,7 +27,7 @@ declare const CreateScheduledQueryCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates a
|
|
30
|
+
* <p>Creates a scheduled query that runs CloudWatch Logs Insights queries at regular intervals. Scheduled queries enable proactive monitoring by automatically executing queries to detect patterns and anomalies in your log data. Query results can be delivered to Amazon S3 for analysis or further processing.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -83,7 +83,9 @@ declare const CreateScheduledQueryCommand_base: {
|
|
|
83
83
|
* <p>This operation attempted to create a resource that already exists.</p>
|
|
84
84
|
*
|
|
85
85
|
* @throws {@link InternalServerException} (server fault)
|
|
86
|
-
* <p>An internal server error occurred while processing the request. This is
|
|
86
|
+
* <p>An internal server error occurred while processing the request. This exception is returned
|
|
87
|
+
* when the service encounters an unexpected condition that prevents it from fulfilling the
|
|
88
|
+
* request.</p>
|
|
87
89
|
*
|
|
88
90
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
89
91
|
* <p>The specified resource does not exist.</p>
|
|
@@ -27,9 +27,11 @@ declare const DeleteAccountPolicyCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deletes a CloudWatch Logs account policy. This stops the
|
|
31
|
-
* applying to log groups in the account. If you delete
|
|
32
|
-
* filter policy, any log-group level policies of those
|
|
30
|
+
* <p>Deletes a CloudWatch Logs account policy. This stops the
|
|
31
|
+
* account-wide policy from applying to log groups or data sources in the account. If you delete
|
|
32
|
+
* a data protection policy or subscription filter policy, any log-group level policies of those
|
|
33
|
+
* types remain in effect. This operation supports deletion of data source-based field index
|
|
34
|
+
* policies, including facet configurations, in addition to log group-based policies.</p>
|
|
33
35
|
* <p>To use this operation, you must be signed on with the correct permissions depending on the
|
|
34
36
|
* type of policy that you are deleting.</p>
|
|
35
37
|
* <ul>
|
|
@@ -50,6 +52,9 @@ declare const DeleteAccountPolicyCommand_base: {
|
|
|
50
52
|
* <li>
|
|
51
53
|
* <p>To delete a field index policy, you must have the <code>logs:DeleteIndexPolicy</code>
|
|
52
54
|
* and <code>logs:DeleteAccountPolicy</code> permissions.</p>
|
|
55
|
+
* <p>If you delete a field index policy that included facet configurations, those
|
|
56
|
+
* facets will no longer be available for interactive exploration in the CloudWatch Logs
|
|
57
|
+
* Insights console. However, facet data is retained for up to 30 days.</p>
|
|
53
58
|
* </li>
|
|
54
59
|
* </ul>
|
|
55
60
|
* <p>If you delete a field index policy, the indexing of the log events that happened before
|
|
@@ -30,10 +30,15 @@ declare const DeleteIndexPolicyCommand_base: {
|
|
|
30
30
|
* <p>Deletes a log-group level field index policy that was applied to a single log group. The
|
|
31
31
|
* indexing of the log events that happened before you delete the policy will still be used for
|
|
32
32
|
* as many as 30 days to improve CloudWatch Logs Insights queries.</p>
|
|
33
|
+
* <p>If the deleted policy included facet configurations, those facets will no longer be
|
|
34
|
+
* available for interactive exploration in the CloudWatch Logs Insights console for this log
|
|
35
|
+
* group. However, facet data is retained for up to 30 days.</p>
|
|
33
36
|
* <p>You can't use this operation to delete an account-level index policy. Instead, use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DeleteAccountPolicy.html">DeletAccountPolicy</a>.</p>
|
|
34
|
-
* <p>If you delete a log-group level field index policy and there is an
|
|
35
|
-
* index policy, in a few minutes the log group begins using that
|
|
36
|
-
* new incoming log events.
|
|
37
|
+
* <p>If you delete a log-group level field index policy and there is an
|
|
38
|
+
* account-level field index policy, in a few minutes the log group begins using that
|
|
39
|
+
* account-wide policy to index new incoming log events. This operation only affects log
|
|
40
|
+
* group-level policies, including any facet configurations, and preserves any data source-based
|
|
41
|
+
* account policies that may apply to the log group.</p>
|
|
37
42
|
* @example
|
|
38
43
|
* Use a bare-bones client and the command you need to make an API call.
|
|
39
44
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const DeleteScheduledQueryCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deletes
|
|
30
|
+
* <p>Deletes a scheduled query and stops all future executions. This operation also removes any configured actions and associated resources.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -55,7 +55,9 @@ declare const DeleteScheduledQueryCommand_base: {
|
|
|
55
55
|
* <p>You don't have sufficient permissions to perform this action.</p>
|
|
56
56
|
*
|
|
57
57
|
* @throws {@link InternalServerException} (server fault)
|
|
58
|
-
* <p>An internal server error occurred while processing the request. This is
|
|
58
|
+
* <p>An internal server error occurred while processing the request. This exception is returned
|
|
59
|
+
* when the service encounters an unexpected condition that prevents it from fulfilling the
|
|
60
|
+
* request.</p>
|
|
59
61
|
*
|
|
60
62
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
61
63
|
* <p>The specified resource does not exist.</p>
|
|
@@ -53,6 +53,7 @@ declare const DescribeFieldIndexesCommand_base: {
|
|
|
53
53
|
* // lastScanTime: Number("long"),
|
|
54
54
|
* // firstEventTime: Number("long"),
|
|
55
55
|
* // lastEventTime: Number("long"),
|
|
56
|
+
* // type: "FACET" || "FIELD_INDEX",
|
|
56
57
|
* // },
|
|
57
58
|
* // ],
|
|
58
59
|
* // nextToken: "STRING_VALUE",
|
|
@@ -27,8 +27,9 @@ declare const DescribeLogGroupsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Returns information about log groups
|
|
31
|
-
* results by prefix. The results are
|
|
30
|
+
* <p>Returns information about log groups, including data sources that ingest into each log
|
|
31
|
+
* group. You can return all your log groups or filter the results by prefix. The results are
|
|
32
|
+
* ASCII-sorted by log group name.</p>
|
|
32
33
|
* <p>CloudWatch Logs doesn't support IAM policies that control access to the
|
|
33
34
|
* <code>DescribeLogGroups</code> action by using the
|
|
34
35
|
* <code>aws:ResourceTag/<i>key-name</i>
|
|
@@ -30,6 +30,10 @@ declare const DescribeQueriesCommand_base: {
|
|
|
30
30
|
* <p>Returns a list of CloudWatch Logs Insights queries that are scheduled, running, or have
|
|
31
31
|
* been run recently in this account. You can request all queries or limit it to queries of a
|
|
32
32
|
* specific log group or queries with a certain status.</p>
|
|
33
|
+
* <p>This operation includes both interactive queries started directly by users and automated
|
|
34
|
+
* queries executed by scheduled query configurations. Scheduled query executions appear in the
|
|
35
|
+
* results alongside manually initiated queries, providing visibility into all query activity
|
|
36
|
+
* in your account.</p>
|
|
33
37
|
* @example
|
|
34
38
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
39
|
* ```javascript
|
|
@@ -0,0 +1,92 @@
|
|
|
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 { DisassociateSourceFromS3TableIntegrationRequest, DisassociateSourceFromS3TableIntegrationResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DisassociateSourceFromS3TableIntegrationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DisassociateSourceFromS3TableIntegrationCommandInput extends DisassociateSourceFromS3TableIntegrationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DisassociateSourceFromS3TableIntegrationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DisassociateSourceFromS3TableIntegrationCommandOutput extends DisassociateSourceFromS3TableIntegrationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DisassociateSourceFromS3TableIntegrationCommand_base: {
|
|
25
|
+
new (input: DisassociateSourceFromS3TableIntegrationCommandInput): import("@smithy/smithy-client").CommandImpl<DisassociateSourceFromS3TableIntegrationCommandInput, DisassociateSourceFromS3TableIntegrationCommandOutput, CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DisassociateSourceFromS3TableIntegrationCommandInput): import("@smithy/smithy-client").CommandImpl<DisassociateSourceFromS3TableIntegrationCommandInput, DisassociateSourceFromS3TableIntegrationCommandOutput, CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Disassociates a data source from an S3 Table Integration, removing query access and
|
|
31
|
+
* deleting all associated data from the integration.</p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { CloudWatchLogsClient, DisassociateSourceFromS3TableIntegrationCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
|
|
36
|
+
* // const { CloudWatchLogsClient, DisassociateSourceFromS3TableIntegrationCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
37
|
+
* // import type { CloudWatchLogsClientConfig } from "@aws-sdk/client-cloudwatch-logs";
|
|
38
|
+
* const config = {}; // type is CloudWatchLogsClientConfig
|
|
39
|
+
* const client = new CloudWatchLogsClient(config);
|
|
40
|
+
* const input = { // DisassociateSourceFromS3TableIntegrationRequest
|
|
41
|
+
* identifier: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
43
|
+
* const command = new DisassociateSourceFromS3TableIntegrationCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // DisassociateSourceFromS3TableIntegrationResponse
|
|
46
|
+
* // identifier: "STRING_VALUE",
|
|
47
|
+
* // };
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param DisassociateSourceFromS3TableIntegrationCommandInput - {@link DisassociateSourceFromS3TableIntegrationCommandInput}
|
|
52
|
+
* @returns {@link DisassociateSourceFromS3TableIntegrationCommandOutput}
|
|
53
|
+
* @see {@link DisassociateSourceFromS3TableIntegrationCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link DisassociateSourceFromS3TableIntegrationCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
58
|
+
* <p>You don't have sufficient permissions to perform this action.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link InternalServerException} (server fault)
|
|
61
|
+
* <p>An internal server error occurred while processing the request. This exception is returned
|
|
62
|
+
* when the service encounters an unexpected condition that prevents it from fulfilling the
|
|
63
|
+
* request.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
66
|
+
* <p>The specified resource does not exist.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
69
|
+
* <p>The request was throttled because of quota limits.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ValidationException} (client fault)
|
|
72
|
+
* <p>One of the parameters for the request is not valid.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link CloudWatchLogsServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from CloudWatchLogs service.</p>
|
|
76
|
+
*
|
|
77
|
+
*
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
export declare class DisassociateSourceFromS3TableIntegrationCommand extends DisassociateSourceFromS3TableIntegrationCommand_base {
|
|
81
|
+
/** @internal type navigation helper, not in runtime. */
|
|
82
|
+
protected static __types: {
|
|
83
|
+
api: {
|
|
84
|
+
input: DisassociateSourceFromS3TableIntegrationRequest;
|
|
85
|
+
output: DisassociateSourceFromS3TableIntegrationResponse;
|
|
86
|
+
};
|
|
87
|
+
sdk: {
|
|
88
|
+
input: DisassociateSourceFromS3TableIntegrationCommandInput;
|
|
89
|
+
output: DisassociateSourceFromS3TableIntegrationCommandOutput;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
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 { GetLogFieldsRequest, GetLogFieldsResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetLogFieldsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetLogFieldsCommandInput extends GetLogFieldsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetLogFieldsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetLogFieldsCommandOutput extends GetLogFieldsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetLogFieldsCommand_base: {
|
|
25
|
+
new (input: GetLogFieldsCommandInput): import("@smithy/smithy-client").CommandImpl<GetLogFieldsCommandInput, GetLogFieldsCommandOutput, CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetLogFieldsCommandInput): import("@smithy/smithy-client").CommandImpl<GetLogFieldsCommandInput, GetLogFieldsCommandOutput, CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Discovers available fields for a specific data source and type. The response includes any
|
|
31
|
+
* field modifications introduced through pipelines, such as new fields or changed field types.
|
|
32
|
+
* </p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { CloudWatchLogsClient, GetLogFieldsCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
|
|
37
|
+
* // const { CloudWatchLogsClient, GetLogFieldsCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
38
|
+
* // import type { CloudWatchLogsClientConfig } from "@aws-sdk/client-cloudwatch-logs";
|
|
39
|
+
* const config = {}; // type is CloudWatchLogsClientConfig
|
|
40
|
+
* const client = new CloudWatchLogsClient(config);
|
|
41
|
+
* const input = { // GetLogFieldsRequest
|
|
42
|
+
* dataSourceName: "STRING_VALUE", // required
|
|
43
|
+
* dataSourceType: "STRING_VALUE", // required
|
|
44
|
+
* };
|
|
45
|
+
* const command = new GetLogFieldsCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // GetLogFieldsResponse
|
|
48
|
+
* // logFields: [ // LogFieldsList
|
|
49
|
+
* // { // LogFieldsListItem
|
|
50
|
+
* // logFieldName: "STRING_VALUE",
|
|
51
|
+
* // logFieldType: { // LogFieldType
|
|
52
|
+
* // type: "STRING_VALUE",
|
|
53
|
+
* // element: {
|
|
54
|
+
* // type: "STRING_VALUE",
|
|
55
|
+
* // element: "<LogFieldType>",
|
|
56
|
+
* // fields: [
|
|
57
|
+
* // {
|
|
58
|
+
* // logFieldName: "STRING_VALUE",
|
|
59
|
+
* // logFieldType: "<LogFieldType>",
|
|
60
|
+
* // },
|
|
61
|
+
* // ],
|
|
62
|
+
* // },
|
|
63
|
+
* // fields: "<LogFieldsList>",
|
|
64
|
+
* // },
|
|
65
|
+
* // },
|
|
66
|
+
* // ],
|
|
67
|
+
* // };
|
|
68
|
+
*
|
|
69
|
+
* ```
|
|
70
|
+
*
|
|
71
|
+
* @param GetLogFieldsCommandInput - {@link GetLogFieldsCommandInput}
|
|
72
|
+
* @returns {@link GetLogFieldsCommandOutput}
|
|
73
|
+
* @see {@link GetLogFieldsCommandInput} for command's `input` shape.
|
|
74
|
+
* @see {@link GetLogFieldsCommandOutput} for command's `response` shape.
|
|
75
|
+
* @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
78
|
+
* <p>A parameter is specified incorrectly.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link OperationAbortedException} (client fault)
|
|
81
|
+
* <p>Multiple concurrent requests to update the same resource were in conflict.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
84
|
+
* <p>The specified resource does not exist.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
87
|
+
* <p>The service cannot complete the request.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link CloudWatchLogsServiceException}
|
|
90
|
+
* <p>Base exception class for all service exceptions from CloudWatchLogs service.</p>
|
|
91
|
+
*
|
|
92
|
+
*
|
|
93
|
+
* @public
|
|
94
|
+
*/
|
|
95
|
+
export declare class GetLogFieldsCommand extends GetLogFieldsCommand_base {
|
|
96
|
+
/** @internal type navigation helper, not in runtime. */
|
|
97
|
+
protected static __types: {
|
|
98
|
+
api: {
|
|
99
|
+
input: GetLogFieldsRequest;
|
|
100
|
+
output: GetLogFieldsResponse;
|
|
101
|
+
};
|
|
102
|
+
sdk: {
|
|
103
|
+
input: GetLogFieldsCommandInput;
|
|
104
|
+
output: GetLogFieldsCommandOutput;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
}
|
|
@@ -30,6 +30,8 @@ declare const GetLogGroupFieldsCommand_base: {
|
|
|
30
30
|
* <p>Returns a list of the fields that are included in log events in the specified log group.
|
|
31
31
|
* Includes the percentage of log events that contain each field. The search is limited to a time
|
|
32
32
|
* period that you specify.</p>
|
|
33
|
+
* <p>This operation is used for discovering fields within log group events. For discovering
|
|
34
|
+
* fields across data sources, use the GetLogFields operation.</p>
|
|
33
35
|
* <p>You can specify the log group to search by using either <code>logGroupIdentifier</code> or
|
|
34
36
|
* <code>logGroupName</code>. You must specify one of these parameters, but you can't specify
|
|
35
37
|
* both. </p>
|
|
@@ -40,6 +40,9 @@ declare const GetQueryResultsCommand_base: {
|
|
|
40
40
|
* operation returns only partial results. If you see a value of <code>Scheduled</code> or
|
|
41
41
|
* <code>Running</code> for the status, you can retry the operation later to see the final
|
|
42
42
|
* results. </p>
|
|
43
|
+
* <p>This operation is used both for retrieving results from interactive queries and from
|
|
44
|
+
* automated scheduled query executions. Scheduled queries use <code>GetQueryResults</code>
|
|
45
|
+
* internally to retrieve query results for processing and delivery to configured destinations.</p>
|
|
43
46
|
* <p>If you are using CloudWatch cross-account observability, you can use this operation
|
|
44
47
|
* in a monitoring account to start queries in linked source accounts. For more information, see
|
|
45
48
|
* <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html">CloudWatch cross-account observability</a>.</p>
|