@aws-sdk/client-cloudwatch-logs 3.50.0 → 3.53.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/CHANGELOG.md +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/CloudWatchLogsServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +150 -2
- package/dist-cjs/protocols/Aws_json1_1.js +383 -1357
- package/dist-es/index.js +1 -0
- package/dist-es/models/CloudWatchLogsServiceException.js +12 -0
- package/dist-es/models/models_0.js +137 -1
- package/dist-es/protocols/Aws_json1_1.js +864 -1504
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/CloudWatchLogsServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +79 -45
- package/dist-types/ts3.4/CloudWatchLogs.d.ts +215 -0
- package/dist-types/ts3.4/CloudWatchLogsClient.d.ts +115 -0
- package/dist-types/ts3.4/commands/AssociateKmsKeyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CancelExportTaskCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateExportTaskCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateLogGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateLogStreamCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteDestinationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteLogGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteLogStreamCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteMetricFilterCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteQueryDefinitionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteRetentionPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteSubscriptionFilterCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeDestinationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeExportTasksCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeLogGroupsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeLogStreamsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeMetricFiltersCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeQueriesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeQueryDefinitionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeResourcePoliciesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeSubscriptionFiltersCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisassociateKmsKeyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/FilterLogEventsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetLogEventsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetLogGroupFieldsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetLogRecordCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetQueryResultsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsLogGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutDestinationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutDestinationPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutLogEventsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutMetricFilterCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutQueryDefinitionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutRetentionPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutSubscriptionFilterCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartQueryCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StopQueryCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagLogGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TestMetricFilterCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagLogGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +42 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/CloudWatchLogsServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1222 -0
- package/dist-types/ts3.4/pagination/DescribeDestinationsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/DescribeLogGroupsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/DescribeLogStreamsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/DescribeMetricFiltersPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/DescribeSubscriptionFiltersPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/FilterLogEventsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/GetLogEventsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/index.d.ts +8 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +128 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +33 -33
package/dist-types/index.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* Base exception class for all service exceptions from CloudWatchLogs service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class CloudWatchLogsServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { CloudWatchLogsServiceException as __BaseException } from "./CloudWatchLogsServiceException";
|
|
2
3
|
export interface AssociateKmsKeyRequest {
|
|
3
4
|
/**
|
|
4
5
|
* <p>The name of the log group.</p>
|
|
@@ -19,34 +20,46 @@ export declare namespace AssociateKmsKeyRequest {
|
|
|
19
20
|
/**
|
|
20
21
|
* <p>A parameter is specified incorrectly.</p>
|
|
21
22
|
*/
|
|
22
|
-
export
|
|
23
|
-
name: "InvalidParameterException";
|
|
24
|
-
$fault: "client";
|
|
25
|
-
|
|
23
|
+
export declare class InvalidParameterException extends __BaseException {
|
|
24
|
+
readonly name: "InvalidParameterException";
|
|
25
|
+
readonly $fault: "client";
|
|
26
|
+
/**
|
|
27
|
+
* @internal
|
|
28
|
+
*/
|
|
29
|
+
constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
|
|
26
30
|
}
|
|
27
31
|
/**
|
|
28
32
|
* <p>Multiple requests to update the same resource were in conflict.</p>
|
|
29
33
|
*/
|
|
30
|
-
export
|
|
31
|
-
name: "OperationAbortedException";
|
|
32
|
-
$fault: "client";
|
|
33
|
-
|
|
34
|
+
export declare class OperationAbortedException extends __BaseException {
|
|
35
|
+
readonly name: "OperationAbortedException";
|
|
36
|
+
readonly $fault: "client";
|
|
37
|
+
/**
|
|
38
|
+
* @internal
|
|
39
|
+
*/
|
|
40
|
+
constructor(opts: __ExceptionOptionType<OperationAbortedException, __BaseException>);
|
|
34
41
|
}
|
|
35
42
|
/**
|
|
36
43
|
* <p>The specified resource does not exist.</p>
|
|
37
44
|
*/
|
|
38
|
-
export
|
|
39
|
-
name: "ResourceNotFoundException";
|
|
40
|
-
$fault: "client";
|
|
41
|
-
|
|
45
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
46
|
+
readonly name: "ResourceNotFoundException";
|
|
47
|
+
readonly $fault: "client";
|
|
48
|
+
/**
|
|
49
|
+
* @internal
|
|
50
|
+
*/
|
|
51
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
42
52
|
}
|
|
43
53
|
/**
|
|
44
54
|
* <p>The service cannot complete the request.</p>
|
|
45
55
|
*/
|
|
46
|
-
export
|
|
47
|
-
name: "ServiceUnavailableException";
|
|
48
|
-
$fault: "server";
|
|
49
|
-
|
|
56
|
+
export declare class ServiceUnavailableException extends __BaseException {
|
|
57
|
+
readonly name: "ServiceUnavailableException";
|
|
58
|
+
readonly $fault: "server";
|
|
59
|
+
/**
|
|
60
|
+
* @internal
|
|
61
|
+
*/
|
|
62
|
+
constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
|
|
50
63
|
}
|
|
51
64
|
export interface CancelExportTaskRequest {
|
|
52
65
|
/**
|
|
@@ -63,10 +76,13 @@ export declare namespace CancelExportTaskRequest {
|
|
|
63
76
|
/**
|
|
64
77
|
* <p>The operation is not valid on the specified resource.</p>
|
|
65
78
|
*/
|
|
66
|
-
export
|
|
67
|
-
name: "InvalidOperationException";
|
|
68
|
-
$fault: "client";
|
|
69
|
-
|
|
79
|
+
export declare class InvalidOperationException extends __BaseException {
|
|
80
|
+
readonly name: "InvalidOperationException";
|
|
81
|
+
readonly $fault: "client";
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
85
|
+
constructor(opts: __ExceptionOptionType<InvalidOperationException, __BaseException>);
|
|
70
86
|
}
|
|
71
87
|
export interface CreateExportTaskRequest {
|
|
72
88
|
/**
|
|
@@ -125,18 +141,24 @@ export declare namespace CreateExportTaskResponse {
|
|
|
125
141
|
/**
|
|
126
142
|
* <p>You have reached the maximum number of resources that can be created.</p>
|
|
127
143
|
*/
|
|
128
|
-
export
|
|
129
|
-
name: "LimitExceededException";
|
|
130
|
-
$fault: "client";
|
|
131
|
-
|
|
144
|
+
export declare class LimitExceededException extends __BaseException {
|
|
145
|
+
readonly name: "LimitExceededException";
|
|
146
|
+
readonly $fault: "client";
|
|
147
|
+
/**
|
|
148
|
+
* @internal
|
|
149
|
+
*/
|
|
150
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
132
151
|
}
|
|
133
152
|
/**
|
|
134
153
|
* <p>The specified resource already exists.</p>
|
|
135
154
|
*/
|
|
136
|
-
export
|
|
137
|
-
name: "ResourceAlreadyExistsException";
|
|
138
|
-
$fault: "client";
|
|
139
|
-
|
|
155
|
+
export declare class ResourceAlreadyExistsException extends __BaseException {
|
|
156
|
+
readonly name: "ResourceAlreadyExistsException";
|
|
157
|
+
readonly $fault: "client";
|
|
158
|
+
/**
|
|
159
|
+
* @internal
|
|
160
|
+
*/
|
|
161
|
+
constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
|
|
140
162
|
}
|
|
141
163
|
export interface CreateLogGroupRequest {
|
|
142
164
|
/**
|
|
@@ -185,11 +207,14 @@ export declare namespace CreateLogStreamRequest {
|
|
|
185
207
|
/**
|
|
186
208
|
* <p>The event was already logged.</p>
|
|
187
209
|
*/
|
|
188
|
-
export
|
|
189
|
-
name: "DataAlreadyAcceptedException";
|
|
190
|
-
$fault: "client";
|
|
210
|
+
export declare class DataAlreadyAcceptedException extends __BaseException {
|
|
211
|
+
readonly name: "DataAlreadyAcceptedException";
|
|
212
|
+
readonly $fault: "client";
|
|
191
213
|
expectedSequenceToken?: string;
|
|
192
|
-
|
|
214
|
+
/**
|
|
215
|
+
* @internal
|
|
216
|
+
*/
|
|
217
|
+
constructor(opts: __ExceptionOptionType<DataAlreadyAcceptedException, __BaseException>);
|
|
193
218
|
}
|
|
194
219
|
export interface DeleteDestinationRequest {
|
|
195
220
|
/**
|
|
@@ -1631,11 +1656,14 @@ export declare namespace InputLogEvent {
|
|
|
1631
1656
|
* the <code>expectedSequenceToken</code> field in the <code>InvalidSequenceTokenException</code>
|
|
1632
1657
|
* message. </p>
|
|
1633
1658
|
*/
|
|
1634
|
-
export
|
|
1635
|
-
name: "InvalidSequenceTokenException";
|
|
1636
|
-
$fault: "client";
|
|
1659
|
+
export declare class InvalidSequenceTokenException extends __BaseException {
|
|
1660
|
+
readonly name: "InvalidSequenceTokenException";
|
|
1661
|
+
readonly $fault: "client";
|
|
1637
1662
|
expectedSequenceToken?: string;
|
|
1638
|
-
|
|
1663
|
+
/**
|
|
1664
|
+
* @internal
|
|
1665
|
+
*/
|
|
1666
|
+
constructor(opts: __ExceptionOptionType<InvalidSequenceTokenException, __BaseException>);
|
|
1639
1667
|
}
|
|
1640
1668
|
export interface ListTagsLogGroupRequest {
|
|
1641
1669
|
/**
|
|
@@ -1797,10 +1825,13 @@ export declare namespace PutLogEventsResponse {
|
|
|
1797
1825
|
/**
|
|
1798
1826
|
* <p>The most likely cause is an invalid Amazon Web Services access key ID or secret key.</p>
|
|
1799
1827
|
*/
|
|
1800
|
-
export
|
|
1801
|
-
name: "UnrecognizedClientException";
|
|
1802
|
-
$fault: "client";
|
|
1803
|
-
|
|
1828
|
+
export declare class UnrecognizedClientException extends __BaseException {
|
|
1829
|
+
readonly name: "UnrecognizedClientException";
|
|
1830
|
+
readonly $fault: "client";
|
|
1831
|
+
/**
|
|
1832
|
+
* @internal
|
|
1833
|
+
*/
|
|
1834
|
+
constructor(opts: __ExceptionOptionType<UnrecognizedClientException, __BaseException>);
|
|
1804
1835
|
}
|
|
1805
1836
|
export interface PutMetricFilterRequest {
|
|
1806
1837
|
/**
|
|
@@ -2063,14 +2094,17 @@ export declare namespace QueryCompileError {
|
|
|
2063
2094
|
* <p>For more information about valid query syntax, see
|
|
2064
2095
|
* <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html">CloudWatch Logs Insights Query Syntax</a>.</p>
|
|
2065
2096
|
*/
|
|
2066
|
-
export
|
|
2067
|
-
name: "MalformedQueryException";
|
|
2068
|
-
$fault: "client";
|
|
2097
|
+
export declare class MalformedQueryException extends __BaseException {
|
|
2098
|
+
readonly name: "MalformedQueryException";
|
|
2099
|
+
readonly $fault: "client";
|
|
2069
2100
|
/**
|
|
2070
2101
|
* <p>Reserved.</p>
|
|
2071
2102
|
*/
|
|
2072
2103
|
queryCompileError?: QueryCompileError;
|
|
2073
|
-
|
|
2104
|
+
/**
|
|
2105
|
+
* @internal
|
|
2106
|
+
*/
|
|
2107
|
+
constructor(opts: __ExceptionOptionType<MalformedQueryException, __BaseException>);
|
|
2074
2108
|
}
|
|
2075
2109
|
export interface StartQueryRequest {
|
|
2076
2110
|
/**
|
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
+
import { CloudWatchLogsClient } from "./CloudWatchLogsClient";
|
|
3
|
+
import { AssociateKmsKeyCommandInput, AssociateKmsKeyCommandOutput } from "./commands/AssociateKmsKeyCommand";
|
|
4
|
+
import { CancelExportTaskCommandInput, CancelExportTaskCommandOutput } from "./commands/CancelExportTaskCommand";
|
|
5
|
+
import { CreateExportTaskCommandInput, CreateExportTaskCommandOutput } from "./commands/CreateExportTaskCommand";
|
|
6
|
+
import { CreateLogGroupCommandInput, CreateLogGroupCommandOutput } from "./commands/CreateLogGroupCommand";
|
|
7
|
+
import { CreateLogStreamCommandInput, CreateLogStreamCommandOutput } from "./commands/CreateLogStreamCommand";
|
|
8
|
+
import { DeleteDestinationCommandInput, DeleteDestinationCommandOutput } from "./commands/DeleteDestinationCommand";
|
|
9
|
+
import { DeleteLogGroupCommandInput, DeleteLogGroupCommandOutput } from "./commands/DeleteLogGroupCommand";
|
|
10
|
+
import { DeleteLogStreamCommandInput, DeleteLogStreamCommandOutput } from "./commands/DeleteLogStreamCommand";
|
|
11
|
+
import { DeleteMetricFilterCommandInput, DeleteMetricFilterCommandOutput } from "./commands/DeleteMetricFilterCommand";
|
|
12
|
+
import { DeleteQueryDefinitionCommandInput, DeleteQueryDefinitionCommandOutput } from "./commands/DeleteQueryDefinitionCommand";
|
|
13
|
+
import { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "./commands/DeleteResourcePolicyCommand";
|
|
14
|
+
import { DeleteRetentionPolicyCommandInput, DeleteRetentionPolicyCommandOutput } from "./commands/DeleteRetentionPolicyCommand";
|
|
15
|
+
import { DeleteSubscriptionFilterCommandInput, DeleteSubscriptionFilterCommandOutput } from "./commands/DeleteSubscriptionFilterCommand";
|
|
16
|
+
import { DescribeDestinationsCommandInput, DescribeDestinationsCommandOutput } from "./commands/DescribeDestinationsCommand";
|
|
17
|
+
import { DescribeExportTasksCommandInput, DescribeExportTasksCommandOutput } from "./commands/DescribeExportTasksCommand";
|
|
18
|
+
import { DescribeLogGroupsCommandInput, DescribeLogGroupsCommandOutput } from "./commands/DescribeLogGroupsCommand";
|
|
19
|
+
import { DescribeLogStreamsCommandInput, DescribeLogStreamsCommandOutput } from "./commands/DescribeLogStreamsCommand";
|
|
20
|
+
import { DescribeMetricFiltersCommandInput, DescribeMetricFiltersCommandOutput } from "./commands/DescribeMetricFiltersCommand";
|
|
21
|
+
import { DescribeQueriesCommandInput, DescribeQueriesCommandOutput } from "./commands/DescribeQueriesCommand";
|
|
22
|
+
import { DescribeQueryDefinitionsCommandInput, DescribeQueryDefinitionsCommandOutput } from "./commands/DescribeQueryDefinitionsCommand";
|
|
23
|
+
import { DescribeResourcePoliciesCommandInput, DescribeResourcePoliciesCommandOutput } from "./commands/DescribeResourcePoliciesCommand";
|
|
24
|
+
import { DescribeSubscriptionFiltersCommandInput, DescribeSubscriptionFiltersCommandOutput } from "./commands/DescribeSubscriptionFiltersCommand";
|
|
25
|
+
import { DisassociateKmsKeyCommandInput, DisassociateKmsKeyCommandOutput } from "./commands/DisassociateKmsKeyCommand";
|
|
26
|
+
import { FilterLogEventsCommandInput, FilterLogEventsCommandOutput } from "./commands/FilterLogEventsCommand";
|
|
27
|
+
import { GetLogEventsCommandInput, GetLogEventsCommandOutput } from "./commands/GetLogEventsCommand";
|
|
28
|
+
import { GetLogGroupFieldsCommandInput, GetLogGroupFieldsCommandOutput } from "./commands/GetLogGroupFieldsCommand";
|
|
29
|
+
import { GetLogRecordCommandInput, GetLogRecordCommandOutput } from "./commands/GetLogRecordCommand";
|
|
30
|
+
import { GetQueryResultsCommandInput, GetQueryResultsCommandOutput } from "./commands/GetQueryResultsCommand";
|
|
31
|
+
import { ListTagsLogGroupCommandInput, ListTagsLogGroupCommandOutput } from "./commands/ListTagsLogGroupCommand";
|
|
32
|
+
import { PutDestinationCommandInput, PutDestinationCommandOutput } from "./commands/PutDestinationCommand";
|
|
33
|
+
import { PutDestinationPolicyCommandInput, PutDestinationPolicyCommandOutput } from "./commands/PutDestinationPolicyCommand";
|
|
34
|
+
import { PutLogEventsCommandInput, PutLogEventsCommandOutput } from "./commands/PutLogEventsCommand";
|
|
35
|
+
import { PutMetricFilterCommandInput, PutMetricFilterCommandOutput } from "./commands/PutMetricFilterCommand";
|
|
36
|
+
import { PutQueryDefinitionCommandInput, PutQueryDefinitionCommandOutput } from "./commands/PutQueryDefinitionCommand";
|
|
37
|
+
import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand";
|
|
38
|
+
import { PutRetentionPolicyCommandInput, PutRetentionPolicyCommandOutput } from "./commands/PutRetentionPolicyCommand";
|
|
39
|
+
import { PutSubscriptionFilterCommandInput, PutSubscriptionFilterCommandOutput } from "./commands/PutSubscriptionFilterCommand";
|
|
40
|
+
import { StartQueryCommandInput, StartQueryCommandOutput } from "./commands/StartQueryCommand";
|
|
41
|
+
import { StopQueryCommandInput, StopQueryCommandOutput } from "./commands/StopQueryCommand";
|
|
42
|
+
import { TagLogGroupCommandInput, TagLogGroupCommandOutput } from "./commands/TagLogGroupCommand";
|
|
43
|
+
import { TestMetricFilterCommandInput, TestMetricFilterCommandOutput } from "./commands/TestMetricFilterCommand";
|
|
44
|
+
import { UntagLogGroupCommandInput, UntagLogGroupCommandOutput } from "./commands/UntagLogGroupCommand";
|
|
45
|
+
|
|
46
|
+
export declare class CloudWatchLogs extends CloudWatchLogsClient {
|
|
47
|
+
|
|
48
|
+
associateKmsKey(args: AssociateKmsKeyCommandInput, options?: __HttpHandlerOptions): Promise<AssociateKmsKeyCommandOutput>;
|
|
49
|
+
associateKmsKey(args: AssociateKmsKeyCommandInput, cb: (err: any, data?: AssociateKmsKeyCommandOutput) => void): void;
|
|
50
|
+
associateKmsKey(args: AssociateKmsKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateKmsKeyCommandOutput) => void): void;
|
|
51
|
+
|
|
52
|
+
cancelExportTask(args: CancelExportTaskCommandInput, options?: __HttpHandlerOptions): Promise<CancelExportTaskCommandOutput>;
|
|
53
|
+
cancelExportTask(args: CancelExportTaskCommandInput, cb: (err: any, data?: CancelExportTaskCommandOutput) => void): void;
|
|
54
|
+
cancelExportTask(args: CancelExportTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelExportTaskCommandOutput) => void): void;
|
|
55
|
+
|
|
56
|
+
createExportTask(args: CreateExportTaskCommandInput, options?: __HttpHandlerOptions): Promise<CreateExportTaskCommandOutput>;
|
|
57
|
+
createExportTask(args: CreateExportTaskCommandInput, cb: (err: any, data?: CreateExportTaskCommandOutput) => void): void;
|
|
58
|
+
createExportTask(args: CreateExportTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateExportTaskCommandOutput) => void): void;
|
|
59
|
+
|
|
60
|
+
createLogGroup(args: CreateLogGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateLogGroupCommandOutput>;
|
|
61
|
+
createLogGroup(args: CreateLogGroupCommandInput, cb: (err: any, data?: CreateLogGroupCommandOutput) => void): void;
|
|
62
|
+
createLogGroup(args: CreateLogGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLogGroupCommandOutput) => void): void;
|
|
63
|
+
|
|
64
|
+
createLogStream(args: CreateLogStreamCommandInput, options?: __HttpHandlerOptions): Promise<CreateLogStreamCommandOutput>;
|
|
65
|
+
createLogStream(args: CreateLogStreamCommandInput, cb: (err: any, data?: CreateLogStreamCommandOutput) => void): void;
|
|
66
|
+
createLogStream(args: CreateLogStreamCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLogStreamCommandOutput) => void): void;
|
|
67
|
+
|
|
68
|
+
deleteDestination(args: DeleteDestinationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDestinationCommandOutput>;
|
|
69
|
+
deleteDestination(args: DeleteDestinationCommandInput, cb: (err: any, data?: DeleteDestinationCommandOutput) => void): void;
|
|
70
|
+
deleteDestination(args: DeleteDestinationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDestinationCommandOutput) => void): void;
|
|
71
|
+
|
|
72
|
+
deleteLogGroup(args: DeleteLogGroupCommandInput, options?: __HttpHandlerOptions): Promise<DeleteLogGroupCommandOutput>;
|
|
73
|
+
deleteLogGroup(args: DeleteLogGroupCommandInput, cb: (err: any, data?: DeleteLogGroupCommandOutput) => void): void;
|
|
74
|
+
deleteLogGroup(args: DeleteLogGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteLogGroupCommandOutput) => void): void;
|
|
75
|
+
|
|
76
|
+
deleteLogStream(args: DeleteLogStreamCommandInput, options?: __HttpHandlerOptions): Promise<DeleteLogStreamCommandOutput>;
|
|
77
|
+
deleteLogStream(args: DeleteLogStreamCommandInput, cb: (err: any, data?: DeleteLogStreamCommandOutput) => void): void;
|
|
78
|
+
deleteLogStream(args: DeleteLogStreamCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteLogStreamCommandOutput) => void): void;
|
|
79
|
+
|
|
80
|
+
deleteMetricFilter(args: DeleteMetricFilterCommandInput, options?: __HttpHandlerOptions): Promise<DeleteMetricFilterCommandOutput>;
|
|
81
|
+
deleteMetricFilter(args: DeleteMetricFilterCommandInput, cb: (err: any, data?: DeleteMetricFilterCommandOutput) => void): void;
|
|
82
|
+
deleteMetricFilter(args: DeleteMetricFilterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteMetricFilterCommandOutput) => void): void;
|
|
83
|
+
|
|
84
|
+
deleteQueryDefinition(args: DeleteQueryDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteQueryDefinitionCommandOutput>;
|
|
85
|
+
deleteQueryDefinition(args: DeleteQueryDefinitionCommandInput, cb: (err: any, data?: DeleteQueryDefinitionCommandOutput) => void): void;
|
|
86
|
+
deleteQueryDefinition(args: DeleteQueryDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteQueryDefinitionCommandOutput) => void): void;
|
|
87
|
+
|
|
88
|
+
deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteResourcePolicyCommandOutput>;
|
|
89
|
+
deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void;
|
|
90
|
+
deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void;
|
|
91
|
+
|
|
92
|
+
deleteRetentionPolicy(args: DeleteRetentionPolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRetentionPolicyCommandOutput>;
|
|
93
|
+
deleteRetentionPolicy(args: DeleteRetentionPolicyCommandInput, cb: (err: any, data?: DeleteRetentionPolicyCommandOutput) => void): void;
|
|
94
|
+
deleteRetentionPolicy(args: DeleteRetentionPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRetentionPolicyCommandOutput) => void): void;
|
|
95
|
+
|
|
96
|
+
deleteSubscriptionFilter(args: DeleteSubscriptionFilterCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSubscriptionFilterCommandOutput>;
|
|
97
|
+
deleteSubscriptionFilter(args: DeleteSubscriptionFilterCommandInput, cb: (err: any, data?: DeleteSubscriptionFilterCommandOutput) => void): void;
|
|
98
|
+
deleteSubscriptionFilter(args: DeleteSubscriptionFilterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSubscriptionFilterCommandOutput) => void): void;
|
|
99
|
+
|
|
100
|
+
describeDestinations(args: DescribeDestinationsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeDestinationsCommandOutput>;
|
|
101
|
+
describeDestinations(args: DescribeDestinationsCommandInput, cb: (err: any, data?: DescribeDestinationsCommandOutput) => void): void;
|
|
102
|
+
describeDestinations(args: DescribeDestinationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeDestinationsCommandOutput) => void): void;
|
|
103
|
+
|
|
104
|
+
describeExportTasks(args: DescribeExportTasksCommandInput, options?: __HttpHandlerOptions): Promise<DescribeExportTasksCommandOutput>;
|
|
105
|
+
describeExportTasks(args: DescribeExportTasksCommandInput, cb: (err: any, data?: DescribeExportTasksCommandOutput) => void): void;
|
|
106
|
+
describeExportTasks(args: DescribeExportTasksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeExportTasksCommandOutput) => void): void;
|
|
107
|
+
|
|
108
|
+
describeLogGroups(args: DescribeLogGroupsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeLogGroupsCommandOutput>;
|
|
109
|
+
describeLogGroups(args: DescribeLogGroupsCommandInput, cb: (err: any, data?: DescribeLogGroupsCommandOutput) => void): void;
|
|
110
|
+
describeLogGroups(args: DescribeLogGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeLogGroupsCommandOutput) => void): void;
|
|
111
|
+
|
|
112
|
+
describeLogStreams(args: DescribeLogStreamsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeLogStreamsCommandOutput>;
|
|
113
|
+
describeLogStreams(args: DescribeLogStreamsCommandInput, cb: (err: any, data?: DescribeLogStreamsCommandOutput) => void): void;
|
|
114
|
+
describeLogStreams(args: DescribeLogStreamsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeLogStreamsCommandOutput) => void): void;
|
|
115
|
+
|
|
116
|
+
describeMetricFilters(args: DescribeMetricFiltersCommandInput, options?: __HttpHandlerOptions): Promise<DescribeMetricFiltersCommandOutput>;
|
|
117
|
+
describeMetricFilters(args: DescribeMetricFiltersCommandInput, cb: (err: any, data?: DescribeMetricFiltersCommandOutput) => void): void;
|
|
118
|
+
describeMetricFilters(args: DescribeMetricFiltersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeMetricFiltersCommandOutput) => void): void;
|
|
119
|
+
|
|
120
|
+
describeQueries(args: DescribeQueriesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeQueriesCommandOutput>;
|
|
121
|
+
describeQueries(args: DescribeQueriesCommandInput, cb: (err: any, data?: DescribeQueriesCommandOutput) => void): void;
|
|
122
|
+
describeQueries(args: DescribeQueriesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeQueriesCommandOutput) => void): void;
|
|
123
|
+
|
|
124
|
+
describeQueryDefinitions(args: DescribeQueryDefinitionsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeQueryDefinitionsCommandOutput>;
|
|
125
|
+
describeQueryDefinitions(args: DescribeQueryDefinitionsCommandInput, cb: (err: any, data?: DescribeQueryDefinitionsCommandOutput) => void): void;
|
|
126
|
+
describeQueryDefinitions(args: DescribeQueryDefinitionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeQueryDefinitionsCommandOutput) => void): void;
|
|
127
|
+
|
|
128
|
+
describeResourcePolicies(args: DescribeResourcePoliciesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeResourcePoliciesCommandOutput>;
|
|
129
|
+
describeResourcePolicies(args: DescribeResourcePoliciesCommandInput, cb: (err: any, data?: DescribeResourcePoliciesCommandOutput) => void): void;
|
|
130
|
+
describeResourcePolicies(args: DescribeResourcePoliciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeResourcePoliciesCommandOutput) => void): void;
|
|
131
|
+
|
|
132
|
+
describeSubscriptionFilters(args: DescribeSubscriptionFiltersCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSubscriptionFiltersCommandOutput>;
|
|
133
|
+
describeSubscriptionFilters(args: DescribeSubscriptionFiltersCommandInput, cb: (err: any, data?: DescribeSubscriptionFiltersCommandOutput) => void): void;
|
|
134
|
+
describeSubscriptionFilters(args: DescribeSubscriptionFiltersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSubscriptionFiltersCommandOutput) => void): void;
|
|
135
|
+
|
|
136
|
+
disassociateKmsKey(args: DisassociateKmsKeyCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateKmsKeyCommandOutput>;
|
|
137
|
+
disassociateKmsKey(args: DisassociateKmsKeyCommandInput, cb: (err: any, data?: DisassociateKmsKeyCommandOutput) => void): void;
|
|
138
|
+
disassociateKmsKey(args: DisassociateKmsKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateKmsKeyCommandOutput) => void): void;
|
|
139
|
+
|
|
140
|
+
filterLogEvents(args: FilterLogEventsCommandInput, options?: __HttpHandlerOptions): Promise<FilterLogEventsCommandOutput>;
|
|
141
|
+
filterLogEvents(args: FilterLogEventsCommandInput, cb: (err: any, data?: FilterLogEventsCommandOutput) => void): void;
|
|
142
|
+
filterLogEvents(args: FilterLogEventsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: FilterLogEventsCommandOutput) => void): void;
|
|
143
|
+
|
|
144
|
+
getLogEvents(args: GetLogEventsCommandInput, options?: __HttpHandlerOptions): Promise<GetLogEventsCommandOutput>;
|
|
145
|
+
getLogEvents(args: GetLogEventsCommandInput, cb: (err: any, data?: GetLogEventsCommandOutput) => void): void;
|
|
146
|
+
getLogEvents(args: GetLogEventsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLogEventsCommandOutput) => void): void;
|
|
147
|
+
|
|
148
|
+
getLogGroupFields(args: GetLogGroupFieldsCommandInput, options?: __HttpHandlerOptions): Promise<GetLogGroupFieldsCommandOutput>;
|
|
149
|
+
getLogGroupFields(args: GetLogGroupFieldsCommandInput, cb: (err: any, data?: GetLogGroupFieldsCommandOutput) => void): void;
|
|
150
|
+
getLogGroupFields(args: GetLogGroupFieldsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLogGroupFieldsCommandOutput) => void): void;
|
|
151
|
+
|
|
152
|
+
getLogRecord(args: GetLogRecordCommandInput, options?: __HttpHandlerOptions): Promise<GetLogRecordCommandOutput>;
|
|
153
|
+
getLogRecord(args: GetLogRecordCommandInput, cb: (err: any, data?: GetLogRecordCommandOutput) => void): void;
|
|
154
|
+
getLogRecord(args: GetLogRecordCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLogRecordCommandOutput) => void): void;
|
|
155
|
+
|
|
156
|
+
getQueryResults(args: GetQueryResultsCommandInput, options?: __HttpHandlerOptions): Promise<GetQueryResultsCommandOutput>;
|
|
157
|
+
getQueryResults(args: GetQueryResultsCommandInput, cb: (err: any, data?: GetQueryResultsCommandOutput) => void): void;
|
|
158
|
+
getQueryResults(args: GetQueryResultsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetQueryResultsCommandOutput) => void): void;
|
|
159
|
+
|
|
160
|
+
listTagsLogGroup(args: ListTagsLogGroupCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsLogGroupCommandOutput>;
|
|
161
|
+
listTagsLogGroup(args: ListTagsLogGroupCommandInput, cb: (err: any, data?: ListTagsLogGroupCommandOutput) => void): void;
|
|
162
|
+
listTagsLogGroup(args: ListTagsLogGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsLogGroupCommandOutput) => void): void;
|
|
163
|
+
|
|
164
|
+
putDestination(args: PutDestinationCommandInput, options?: __HttpHandlerOptions): Promise<PutDestinationCommandOutput>;
|
|
165
|
+
putDestination(args: PutDestinationCommandInput, cb: (err: any, data?: PutDestinationCommandOutput) => void): void;
|
|
166
|
+
putDestination(args: PutDestinationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutDestinationCommandOutput) => void): void;
|
|
167
|
+
|
|
168
|
+
putDestinationPolicy(args: PutDestinationPolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutDestinationPolicyCommandOutput>;
|
|
169
|
+
putDestinationPolicy(args: PutDestinationPolicyCommandInput, cb: (err: any, data?: PutDestinationPolicyCommandOutput) => void): void;
|
|
170
|
+
putDestinationPolicy(args: PutDestinationPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutDestinationPolicyCommandOutput) => void): void;
|
|
171
|
+
|
|
172
|
+
putLogEvents(args: PutLogEventsCommandInput, options?: __HttpHandlerOptions): Promise<PutLogEventsCommandOutput>;
|
|
173
|
+
putLogEvents(args: PutLogEventsCommandInput, cb: (err: any, data?: PutLogEventsCommandOutput) => void): void;
|
|
174
|
+
putLogEvents(args: PutLogEventsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutLogEventsCommandOutput) => void): void;
|
|
175
|
+
|
|
176
|
+
putMetricFilter(args: PutMetricFilterCommandInput, options?: __HttpHandlerOptions): Promise<PutMetricFilterCommandOutput>;
|
|
177
|
+
putMetricFilter(args: PutMetricFilterCommandInput, cb: (err: any, data?: PutMetricFilterCommandOutput) => void): void;
|
|
178
|
+
putMetricFilter(args: PutMetricFilterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutMetricFilterCommandOutput) => void): void;
|
|
179
|
+
|
|
180
|
+
putQueryDefinition(args: PutQueryDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<PutQueryDefinitionCommandOutput>;
|
|
181
|
+
putQueryDefinition(args: PutQueryDefinitionCommandInput, cb: (err: any, data?: PutQueryDefinitionCommandOutput) => void): void;
|
|
182
|
+
putQueryDefinition(args: PutQueryDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutQueryDefinitionCommandOutput) => void): void;
|
|
183
|
+
|
|
184
|
+
putResourcePolicy(args: PutResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutResourcePolicyCommandOutput>;
|
|
185
|
+
putResourcePolicy(args: PutResourcePolicyCommandInput, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void;
|
|
186
|
+
putResourcePolicy(args: PutResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void;
|
|
187
|
+
|
|
188
|
+
putRetentionPolicy(args: PutRetentionPolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutRetentionPolicyCommandOutput>;
|
|
189
|
+
putRetentionPolicy(args: PutRetentionPolicyCommandInput, cb: (err: any, data?: PutRetentionPolicyCommandOutput) => void): void;
|
|
190
|
+
putRetentionPolicy(args: PutRetentionPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutRetentionPolicyCommandOutput) => void): void;
|
|
191
|
+
|
|
192
|
+
putSubscriptionFilter(args: PutSubscriptionFilterCommandInput, options?: __HttpHandlerOptions): Promise<PutSubscriptionFilterCommandOutput>;
|
|
193
|
+
putSubscriptionFilter(args: PutSubscriptionFilterCommandInput, cb: (err: any, data?: PutSubscriptionFilterCommandOutput) => void): void;
|
|
194
|
+
putSubscriptionFilter(args: PutSubscriptionFilterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutSubscriptionFilterCommandOutput) => void): void;
|
|
195
|
+
|
|
196
|
+
startQuery(args: StartQueryCommandInput, options?: __HttpHandlerOptions): Promise<StartQueryCommandOutput>;
|
|
197
|
+
startQuery(args: StartQueryCommandInput, cb: (err: any, data?: StartQueryCommandOutput) => void): void;
|
|
198
|
+
startQuery(args: StartQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartQueryCommandOutput) => void): void;
|
|
199
|
+
|
|
200
|
+
stopQuery(args: StopQueryCommandInput, options?: __HttpHandlerOptions): Promise<StopQueryCommandOutput>;
|
|
201
|
+
stopQuery(args: StopQueryCommandInput, cb: (err: any, data?: StopQueryCommandOutput) => void): void;
|
|
202
|
+
stopQuery(args: StopQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopQueryCommandOutput) => void): void;
|
|
203
|
+
|
|
204
|
+
tagLogGroup(args: TagLogGroupCommandInput, options?: __HttpHandlerOptions): Promise<TagLogGroupCommandOutput>;
|
|
205
|
+
tagLogGroup(args: TagLogGroupCommandInput, cb: (err: any, data?: TagLogGroupCommandOutput) => void): void;
|
|
206
|
+
tagLogGroup(args: TagLogGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagLogGroupCommandOutput) => void): void;
|
|
207
|
+
|
|
208
|
+
testMetricFilter(args: TestMetricFilterCommandInput, options?: __HttpHandlerOptions): Promise<TestMetricFilterCommandOutput>;
|
|
209
|
+
testMetricFilter(args: TestMetricFilterCommandInput, cb: (err: any, data?: TestMetricFilterCommandOutput) => void): void;
|
|
210
|
+
testMetricFilter(args: TestMetricFilterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TestMetricFilterCommandOutput) => void): void;
|
|
211
|
+
|
|
212
|
+
untagLogGroup(args: UntagLogGroupCommandInput, options?: __HttpHandlerOptions): Promise<UntagLogGroupCommandOutput>;
|
|
213
|
+
untagLogGroup(args: UntagLogGroupCommandInput, cb: (err: any, data?: UntagLogGroupCommandOutput) => void): void;
|
|
214
|
+
untagLogGroup(args: UntagLogGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagLogGroupCommandOutput) => void): void;
|
|
215
|
+
}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
|
|
2
|
+
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
3
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
4
|
+
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
|
+
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
|
+
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
+
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
|
+
import { AssociateKmsKeyCommandInput, AssociateKmsKeyCommandOutput } from "./commands/AssociateKmsKeyCommand";
|
|
10
|
+
import { CancelExportTaskCommandInput, CancelExportTaskCommandOutput } from "./commands/CancelExportTaskCommand";
|
|
11
|
+
import { CreateExportTaskCommandInput, CreateExportTaskCommandOutput } from "./commands/CreateExportTaskCommand";
|
|
12
|
+
import { CreateLogGroupCommandInput, CreateLogGroupCommandOutput } from "./commands/CreateLogGroupCommand";
|
|
13
|
+
import { CreateLogStreamCommandInput, CreateLogStreamCommandOutput } from "./commands/CreateLogStreamCommand";
|
|
14
|
+
import { DeleteDestinationCommandInput, DeleteDestinationCommandOutput } from "./commands/DeleteDestinationCommand";
|
|
15
|
+
import { DeleteLogGroupCommandInput, DeleteLogGroupCommandOutput } from "./commands/DeleteLogGroupCommand";
|
|
16
|
+
import { DeleteLogStreamCommandInput, DeleteLogStreamCommandOutput } from "./commands/DeleteLogStreamCommand";
|
|
17
|
+
import { DeleteMetricFilterCommandInput, DeleteMetricFilterCommandOutput } from "./commands/DeleteMetricFilterCommand";
|
|
18
|
+
import { DeleteQueryDefinitionCommandInput, DeleteQueryDefinitionCommandOutput } from "./commands/DeleteQueryDefinitionCommand";
|
|
19
|
+
import { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "./commands/DeleteResourcePolicyCommand";
|
|
20
|
+
import { DeleteRetentionPolicyCommandInput, DeleteRetentionPolicyCommandOutput } from "./commands/DeleteRetentionPolicyCommand";
|
|
21
|
+
import { DeleteSubscriptionFilterCommandInput, DeleteSubscriptionFilterCommandOutput } from "./commands/DeleteSubscriptionFilterCommand";
|
|
22
|
+
import { DescribeDestinationsCommandInput, DescribeDestinationsCommandOutput } from "./commands/DescribeDestinationsCommand";
|
|
23
|
+
import { DescribeExportTasksCommandInput, DescribeExportTasksCommandOutput } from "./commands/DescribeExportTasksCommand";
|
|
24
|
+
import { DescribeLogGroupsCommandInput, DescribeLogGroupsCommandOutput } from "./commands/DescribeLogGroupsCommand";
|
|
25
|
+
import { DescribeLogStreamsCommandInput, DescribeLogStreamsCommandOutput } from "./commands/DescribeLogStreamsCommand";
|
|
26
|
+
import { DescribeMetricFiltersCommandInput, DescribeMetricFiltersCommandOutput } from "./commands/DescribeMetricFiltersCommand";
|
|
27
|
+
import { DescribeQueriesCommandInput, DescribeQueriesCommandOutput } from "./commands/DescribeQueriesCommand";
|
|
28
|
+
import { DescribeQueryDefinitionsCommandInput, DescribeQueryDefinitionsCommandOutput } from "./commands/DescribeQueryDefinitionsCommand";
|
|
29
|
+
import { DescribeResourcePoliciesCommandInput, DescribeResourcePoliciesCommandOutput } from "./commands/DescribeResourcePoliciesCommand";
|
|
30
|
+
import { DescribeSubscriptionFiltersCommandInput, DescribeSubscriptionFiltersCommandOutput } from "./commands/DescribeSubscriptionFiltersCommand";
|
|
31
|
+
import { DisassociateKmsKeyCommandInput, DisassociateKmsKeyCommandOutput } from "./commands/DisassociateKmsKeyCommand";
|
|
32
|
+
import { FilterLogEventsCommandInput, FilterLogEventsCommandOutput } from "./commands/FilterLogEventsCommand";
|
|
33
|
+
import { GetLogEventsCommandInput, GetLogEventsCommandOutput } from "./commands/GetLogEventsCommand";
|
|
34
|
+
import { GetLogGroupFieldsCommandInput, GetLogGroupFieldsCommandOutput } from "./commands/GetLogGroupFieldsCommand";
|
|
35
|
+
import { GetLogRecordCommandInput, GetLogRecordCommandOutput } from "./commands/GetLogRecordCommand";
|
|
36
|
+
import { GetQueryResultsCommandInput, GetQueryResultsCommandOutput } from "./commands/GetQueryResultsCommand";
|
|
37
|
+
import { ListTagsLogGroupCommandInput, ListTagsLogGroupCommandOutput } from "./commands/ListTagsLogGroupCommand";
|
|
38
|
+
import { PutDestinationCommandInput, PutDestinationCommandOutput } from "./commands/PutDestinationCommand";
|
|
39
|
+
import { PutDestinationPolicyCommandInput, PutDestinationPolicyCommandOutput } from "./commands/PutDestinationPolicyCommand";
|
|
40
|
+
import { PutLogEventsCommandInput, PutLogEventsCommandOutput } from "./commands/PutLogEventsCommand";
|
|
41
|
+
import { PutMetricFilterCommandInput, PutMetricFilterCommandOutput } from "./commands/PutMetricFilterCommand";
|
|
42
|
+
import { PutQueryDefinitionCommandInput, PutQueryDefinitionCommandOutput } from "./commands/PutQueryDefinitionCommand";
|
|
43
|
+
import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand";
|
|
44
|
+
import { PutRetentionPolicyCommandInput, PutRetentionPolicyCommandOutput } from "./commands/PutRetentionPolicyCommand";
|
|
45
|
+
import { PutSubscriptionFilterCommandInput, PutSubscriptionFilterCommandOutput } from "./commands/PutSubscriptionFilterCommand";
|
|
46
|
+
import { StartQueryCommandInput, StartQueryCommandOutput } from "./commands/StartQueryCommand";
|
|
47
|
+
import { StopQueryCommandInput, StopQueryCommandOutput } from "./commands/StopQueryCommand";
|
|
48
|
+
import { TagLogGroupCommandInput, TagLogGroupCommandOutput } from "./commands/TagLogGroupCommand";
|
|
49
|
+
import { TestMetricFilterCommandInput, TestMetricFilterCommandOutput } from "./commands/TestMetricFilterCommand";
|
|
50
|
+
import { UntagLogGroupCommandInput, UntagLogGroupCommandOutput } from "./commands/UntagLogGroupCommand";
|
|
51
|
+
export declare type ServiceInputTypes = AssociateKmsKeyCommandInput | CancelExportTaskCommandInput | CreateExportTaskCommandInput | CreateLogGroupCommandInput | CreateLogStreamCommandInput | DeleteDestinationCommandInput | DeleteLogGroupCommandInput | DeleteLogStreamCommandInput | DeleteMetricFilterCommandInput | DeleteQueryDefinitionCommandInput | DeleteResourcePolicyCommandInput | DeleteRetentionPolicyCommandInput | DeleteSubscriptionFilterCommandInput | DescribeDestinationsCommandInput | DescribeExportTasksCommandInput | DescribeLogGroupsCommandInput | DescribeLogStreamsCommandInput | DescribeMetricFiltersCommandInput | DescribeQueriesCommandInput | DescribeQueryDefinitionsCommandInput | DescribeResourcePoliciesCommandInput | DescribeSubscriptionFiltersCommandInput | DisassociateKmsKeyCommandInput | FilterLogEventsCommandInput | GetLogEventsCommandInput | GetLogGroupFieldsCommandInput | GetLogRecordCommandInput | GetQueryResultsCommandInput | ListTagsLogGroupCommandInput | PutDestinationCommandInput | PutDestinationPolicyCommandInput | PutLogEventsCommandInput | PutMetricFilterCommandInput | PutQueryDefinitionCommandInput | PutResourcePolicyCommandInput | PutRetentionPolicyCommandInput | PutSubscriptionFilterCommandInput | StartQueryCommandInput | StopQueryCommandInput | TagLogGroupCommandInput | TestMetricFilterCommandInput | UntagLogGroupCommandInput;
|
|
52
|
+
export declare type ServiceOutputTypes = AssociateKmsKeyCommandOutput | CancelExportTaskCommandOutput | CreateExportTaskCommandOutput | CreateLogGroupCommandOutput | CreateLogStreamCommandOutput | DeleteDestinationCommandOutput | DeleteLogGroupCommandOutput | DeleteLogStreamCommandOutput | DeleteMetricFilterCommandOutput | DeleteQueryDefinitionCommandOutput | DeleteResourcePolicyCommandOutput | DeleteRetentionPolicyCommandOutput | DeleteSubscriptionFilterCommandOutput | DescribeDestinationsCommandOutput | DescribeExportTasksCommandOutput | DescribeLogGroupsCommandOutput | DescribeLogStreamsCommandOutput | DescribeMetricFiltersCommandOutput | DescribeQueriesCommandOutput | DescribeQueryDefinitionsCommandOutput | DescribeResourcePoliciesCommandOutput | DescribeSubscriptionFiltersCommandOutput | DisassociateKmsKeyCommandOutput | FilterLogEventsCommandOutput | GetLogEventsCommandOutput | GetLogGroupFieldsCommandOutput | GetLogRecordCommandOutput | GetQueryResultsCommandOutput | ListTagsLogGroupCommandOutput | PutDestinationCommandOutput | PutDestinationPolicyCommandOutput | PutLogEventsCommandOutput | PutMetricFilterCommandOutput | PutQueryDefinitionCommandOutput | PutResourcePolicyCommandOutput | PutRetentionPolicyCommandOutput | PutSubscriptionFilterCommandOutput | StartQueryCommandOutput | StopQueryCommandOutput | TagLogGroupCommandOutput | TestMetricFilterCommandOutput | UntagLogGroupCommandOutput;
|
|
53
|
+
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
54
|
+
|
|
55
|
+
requestHandler?: __HttpHandler;
|
|
56
|
+
|
|
57
|
+
sha256?: __HashConstructor;
|
|
58
|
+
|
|
59
|
+
urlParser?: __UrlParser;
|
|
60
|
+
|
|
61
|
+
bodyLengthChecker?: (body: any) => number | undefined;
|
|
62
|
+
|
|
63
|
+
streamCollector?: __StreamCollector;
|
|
64
|
+
|
|
65
|
+
base64Decoder?: __Decoder;
|
|
66
|
+
|
|
67
|
+
base64Encoder?: __Encoder;
|
|
68
|
+
|
|
69
|
+
utf8Decoder?: __Decoder;
|
|
70
|
+
|
|
71
|
+
utf8Encoder?: __Encoder;
|
|
72
|
+
|
|
73
|
+
runtime?: string;
|
|
74
|
+
|
|
75
|
+
disableHostPrefix?: boolean;
|
|
76
|
+
|
|
77
|
+
maxAttempts?: number | __Provider<number>;
|
|
78
|
+
|
|
79
|
+
retryMode?: string | __Provider<string>;
|
|
80
|
+
|
|
81
|
+
logger?: __Logger;
|
|
82
|
+
|
|
83
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
84
|
+
|
|
85
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
86
|
+
|
|
87
|
+
serviceId?: string;
|
|
88
|
+
|
|
89
|
+
region?: string | __Provider<string>;
|
|
90
|
+
|
|
91
|
+
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
92
|
+
|
|
93
|
+
regionInfoProvider?: RegionInfoProvider;
|
|
94
|
+
|
|
95
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
96
|
+
|
|
97
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
98
|
+
}
|
|
99
|
+
declare type CloudWatchLogsClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
100
|
+
|
|
101
|
+
export interface CloudWatchLogsClientConfig extends CloudWatchLogsClientConfigType {
|
|
102
|
+
}
|
|
103
|
+
declare type CloudWatchLogsClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
|
|
104
|
+
|
|
105
|
+
export interface CloudWatchLogsClientResolvedConfig extends CloudWatchLogsClientResolvedConfigType {
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export declare class CloudWatchLogsClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, CloudWatchLogsClientResolvedConfig> {
|
|
109
|
+
|
|
110
|
+
readonly config: CloudWatchLogsClientResolvedConfig;
|
|
111
|
+
constructor(configuration: CloudWatchLogsClientConfig);
|
|
112
|
+
|
|
113
|
+
destroy(): void;
|
|
114
|
+
}
|
|
115
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
|
|
4
|
+
import { AssociateKmsKeyRequest } from "../models/models_0";
|
|
5
|
+
export interface AssociateKmsKeyCommandInput extends AssociateKmsKeyRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface AssociateKmsKeyCommandOutput extends __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class AssociateKmsKeyCommand extends $Command<AssociateKmsKeyCommandInput, AssociateKmsKeyCommandOutput, CloudWatchLogsClientResolvedConfig> {
|
|
11
|
+
readonly input: AssociateKmsKeyCommandInput;
|
|
12
|
+
constructor(input: AssociateKmsKeyCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociateKmsKeyCommandInput, AssociateKmsKeyCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
|
|
4
|
+
import { CancelExportTaskRequest } from "../models/models_0";
|
|
5
|
+
export interface CancelExportTaskCommandInput extends CancelExportTaskRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface CancelExportTaskCommandOutput extends __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class CancelExportTaskCommand extends $Command<CancelExportTaskCommandInput, CancelExportTaskCommandOutput, CloudWatchLogsClientResolvedConfig> {
|
|
11
|
+
readonly input: CancelExportTaskCommandInput;
|
|
12
|
+
constructor(input: CancelExportTaskCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CancelExportTaskCommandInput, CancelExportTaskCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
|
|
4
|
+
import { CreateExportTaskRequest, CreateExportTaskResponse } from "../models/models_0";
|
|
5
|
+
export interface CreateExportTaskCommandInput extends CreateExportTaskRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface CreateExportTaskCommandOutput extends CreateExportTaskResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class CreateExportTaskCommand extends $Command<CreateExportTaskCommandInput, CreateExportTaskCommandOutput, CloudWatchLogsClientResolvedConfig> {
|
|
11
|
+
readonly input: CreateExportTaskCommandInput;
|
|
12
|
+
constructor(input: CreateExportTaskCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateExportTaskCommandInput, CreateExportTaskCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|