@aws-sdk/client-cloudwatch-logs 3.168.0 → 3.170.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-types/ts3.4/CloudWatchLogs.d.ts +760 -215
  3. package/dist-types/ts3.4/CloudWatchLogsClient.d.ts +382 -115
  4. package/dist-types/ts3.4/commands/AssociateKmsKeyCommand.d.ts +32 -17
  5. package/dist-types/ts3.4/commands/CancelExportTaskCommand.d.ts +32 -17
  6. package/dist-types/ts3.4/commands/CreateExportTaskCommand.d.ts +37 -17
  7. package/dist-types/ts3.4/commands/CreateLogGroupCommand.d.ts +32 -17
  8. package/dist-types/ts3.4/commands/CreateLogStreamCommand.d.ts +32 -17
  9. package/dist-types/ts3.4/commands/DeleteDestinationCommand.d.ts +33 -17
  10. package/dist-types/ts3.4/commands/DeleteLogGroupCommand.d.ts +32 -17
  11. package/dist-types/ts3.4/commands/DeleteLogStreamCommand.d.ts +32 -17
  12. package/dist-types/ts3.4/commands/DeleteMetricFilterCommand.d.ts +33 -17
  13. package/dist-types/ts3.4/commands/DeleteQueryDefinitionCommand.d.ts +41 -17
  14. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +36 -17
  15. package/dist-types/ts3.4/commands/DeleteRetentionPolicyCommand.d.ts +36 -17
  16. package/dist-types/ts3.4/commands/DeleteSubscriptionFilterCommand.d.ts +37 -17
  17. package/dist-types/ts3.4/commands/DescribeDestinationsCommand.d.ts +41 -17
  18. package/dist-types/ts3.4/commands/DescribeExportTasksCommand.d.ts +38 -17
  19. package/dist-types/ts3.4/commands/DescribeLogGroupsCommand.d.ts +38 -17
  20. package/dist-types/ts3.4/commands/DescribeLogStreamsCommand.d.ts +38 -17
  21. package/dist-types/ts3.4/commands/DescribeMetricFiltersCommand.d.ts +41 -17
  22. package/dist-types/ts3.4/commands/DescribeQueriesCommand.d.ts +37 -17
  23. package/dist-types/ts3.4/commands/DescribeQueryDefinitionsCommand.d.ts +41 -17
  24. package/dist-types/ts3.4/commands/DescribeResourcePoliciesCommand.d.ts +41 -17
  25. package/dist-types/ts3.4/commands/DescribeSubscriptionFiltersCommand.d.ts +41 -17
  26. package/dist-types/ts3.4/commands/DisassociateKmsKeyCommand.d.ts +33 -17
  27. package/dist-types/ts3.4/commands/FilterLogEventsCommand.d.ts +37 -17
  28. package/dist-types/ts3.4/commands/GetLogEventsCommand.d.ts +34 -17
  29. package/dist-types/ts3.4/commands/GetLogGroupFieldsCommand.d.ts +38 -17
  30. package/dist-types/ts3.4/commands/GetLogRecordCommand.d.ts +34 -17
  31. package/dist-types/ts3.4/commands/GetQueryResultsCommand.d.ts +37 -17
  32. package/dist-types/ts3.4/commands/ListTagsLogGroupCommand.d.ts +37 -17
  33. package/dist-types/ts3.4/commands/PutDestinationCommand.d.ts +37 -17
  34. package/dist-types/ts3.4/commands/PutDestinationPolicyCommand.d.ts +36 -17
  35. package/dist-types/ts3.4/commands/PutLogEventsCommand.d.ts +34 -17
  36. package/dist-types/ts3.4/commands/PutMetricFilterCommand.d.ts +32 -17
  37. package/dist-types/ts3.4/commands/PutQueryDefinitionCommand.d.ts +38 -17
  38. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +38 -17
  39. package/dist-types/ts3.4/commands/PutRetentionPolicyCommand.d.ts +33 -17
  40. package/dist-types/ts3.4/commands/PutSubscriptionFilterCommand.d.ts +36 -17
  41. package/dist-types/ts3.4/commands/StartQueryCommand.d.ts +34 -17
  42. package/dist-types/ts3.4/commands/StopQueryCommand.d.ts +34 -17
  43. package/dist-types/ts3.4/commands/TagLogGroupCommand.d.ts +32 -17
  44. package/dist-types/ts3.4/commands/TestMetricFilterCommand.d.ts +37 -17
  45. package/dist-types/ts3.4/commands/UntagLogGroupCommand.d.ts +32 -17
  46. package/dist-types/ts3.4/commands/index.d.ts +42 -42
  47. package/dist-types/ts3.4/endpoints.d.ts +2 -2
  48. package/dist-types/ts3.4/index.d.ts +6 -6
  49. package/dist-types/ts3.4/models/CloudWatchLogsServiceException.d.ts +8 -6
  50. package/dist-types/ts3.4/models/index.d.ts +1 -1
  51. package/dist-types/ts3.4/models/models_0.d.ts +1129 -1032
  52. package/dist-types/ts3.4/pagination/DescribeDestinationsPaginator.d.ts +11 -4
  53. package/dist-types/ts3.4/pagination/DescribeLogGroupsPaginator.d.ts +11 -4
  54. package/dist-types/ts3.4/pagination/DescribeLogStreamsPaginator.d.ts +11 -4
  55. package/dist-types/ts3.4/pagination/DescribeMetricFiltersPaginator.d.ts +11 -4
  56. package/dist-types/ts3.4/pagination/DescribeSubscriptionFiltersPaginator.d.ts +11 -4
  57. package/dist-types/ts3.4/pagination/FilterLogEventsPaginator.d.ts +11 -4
  58. package/dist-types/ts3.4/pagination/GetLogEventsPaginator.d.ts +11 -4
  59. package/dist-types/ts3.4/pagination/Interfaces.d.ts +7 -6
  60. package/dist-types/ts3.4/pagination/index.d.ts +8 -8
  61. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +509 -128
  62. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +66 -38
  63. package/dist-types/ts3.4/runtimeConfig.d.ts +66 -38
  64. package/dist-types/ts3.4/runtimeConfig.native.d.ts +67 -37
  65. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -11
  66. package/package.json +34 -34
@@ -1,115 +1,382 @@
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 { BodyLengthCalculator as __BodyLengthCalculator, 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?: __BodyLengthCalculator;
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 {};
1
+ import {
2
+ EndpointsInputConfig,
3
+ EndpointsResolvedConfig,
4
+ RegionInputConfig,
5
+ RegionResolvedConfig,
6
+ } from "@aws-sdk/config-resolver";
7
+ import {
8
+ HostHeaderInputConfig,
9
+ HostHeaderResolvedConfig,
10
+ } from "@aws-sdk/middleware-host-header";
11
+ import {
12
+ RetryInputConfig,
13
+ RetryResolvedConfig,
14
+ } from "@aws-sdk/middleware-retry";
15
+ import {
16
+ AwsAuthInputConfig,
17
+ AwsAuthResolvedConfig,
18
+ } from "@aws-sdk/middleware-signing";
19
+ import {
20
+ UserAgentInputConfig,
21
+ UserAgentResolvedConfig,
22
+ } from "@aws-sdk/middleware-user-agent";
23
+ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
24
+ import {
25
+ Client as __Client,
26
+ DefaultsMode,
27
+ SmithyConfiguration as __SmithyConfiguration,
28
+ SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
29
+ } from "@aws-sdk/smithy-client";
30
+ import {
31
+ BodyLengthCalculator as __BodyLengthCalculator,
32
+ Credentials as __Credentials,
33
+ Decoder as __Decoder,
34
+ Encoder as __Encoder,
35
+ HashConstructor as __HashConstructor,
36
+ HttpHandlerOptions as __HttpHandlerOptions,
37
+ Logger as __Logger,
38
+ Provider as __Provider,
39
+ Provider,
40
+ RegionInfoProvider,
41
+ StreamCollector as __StreamCollector,
42
+ UrlParser as __UrlParser,
43
+ UserAgent as __UserAgent,
44
+ } from "@aws-sdk/types";
45
+ import {
46
+ AssociateKmsKeyCommandInput,
47
+ AssociateKmsKeyCommandOutput,
48
+ } from "./commands/AssociateKmsKeyCommand";
49
+ import {
50
+ CancelExportTaskCommandInput,
51
+ CancelExportTaskCommandOutput,
52
+ } from "./commands/CancelExportTaskCommand";
53
+ import {
54
+ CreateExportTaskCommandInput,
55
+ CreateExportTaskCommandOutput,
56
+ } from "./commands/CreateExportTaskCommand";
57
+ import {
58
+ CreateLogGroupCommandInput,
59
+ CreateLogGroupCommandOutput,
60
+ } from "./commands/CreateLogGroupCommand";
61
+ import {
62
+ CreateLogStreamCommandInput,
63
+ CreateLogStreamCommandOutput,
64
+ } from "./commands/CreateLogStreamCommand";
65
+ import {
66
+ DeleteDestinationCommandInput,
67
+ DeleteDestinationCommandOutput,
68
+ } from "./commands/DeleteDestinationCommand";
69
+ import {
70
+ DeleteLogGroupCommandInput,
71
+ DeleteLogGroupCommandOutput,
72
+ } from "./commands/DeleteLogGroupCommand";
73
+ import {
74
+ DeleteLogStreamCommandInput,
75
+ DeleteLogStreamCommandOutput,
76
+ } from "./commands/DeleteLogStreamCommand";
77
+ import {
78
+ DeleteMetricFilterCommandInput,
79
+ DeleteMetricFilterCommandOutput,
80
+ } from "./commands/DeleteMetricFilterCommand";
81
+ import {
82
+ DeleteQueryDefinitionCommandInput,
83
+ DeleteQueryDefinitionCommandOutput,
84
+ } from "./commands/DeleteQueryDefinitionCommand";
85
+ import {
86
+ DeleteResourcePolicyCommandInput,
87
+ DeleteResourcePolicyCommandOutput,
88
+ } from "./commands/DeleteResourcePolicyCommand";
89
+ import {
90
+ DeleteRetentionPolicyCommandInput,
91
+ DeleteRetentionPolicyCommandOutput,
92
+ } from "./commands/DeleteRetentionPolicyCommand";
93
+ import {
94
+ DeleteSubscriptionFilterCommandInput,
95
+ DeleteSubscriptionFilterCommandOutput,
96
+ } from "./commands/DeleteSubscriptionFilterCommand";
97
+ import {
98
+ DescribeDestinationsCommandInput,
99
+ DescribeDestinationsCommandOutput,
100
+ } from "./commands/DescribeDestinationsCommand";
101
+ import {
102
+ DescribeExportTasksCommandInput,
103
+ DescribeExportTasksCommandOutput,
104
+ } from "./commands/DescribeExportTasksCommand";
105
+ import {
106
+ DescribeLogGroupsCommandInput,
107
+ DescribeLogGroupsCommandOutput,
108
+ } from "./commands/DescribeLogGroupsCommand";
109
+ import {
110
+ DescribeLogStreamsCommandInput,
111
+ DescribeLogStreamsCommandOutput,
112
+ } from "./commands/DescribeLogStreamsCommand";
113
+ import {
114
+ DescribeMetricFiltersCommandInput,
115
+ DescribeMetricFiltersCommandOutput,
116
+ } from "./commands/DescribeMetricFiltersCommand";
117
+ import {
118
+ DescribeQueriesCommandInput,
119
+ DescribeQueriesCommandOutput,
120
+ } from "./commands/DescribeQueriesCommand";
121
+ import {
122
+ DescribeQueryDefinitionsCommandInput,
123
+ DescribeQueryDefinitionsCommandOutput,
124
+ } from "./commands/DescribeQueryDefinitionsCommand";
125
+ import {
126
+ DescribeResourcePoliciesCommandInput,
127
+ DescribeResourcePoliciesCommandOutput,
128
+ } from "./commands/DescribeResourcePoliciesCommand";
129
+ import {
130
+ DescribeSubscriptionFiltersCommandInput,
131
+ DescribeSubscriptionFiltersCommandOutput,
132
+ } from "./commands/DescribeSubscriptionFiltersCommand";
133
+ import {
134
+ DisassociateKmsKeyCommandInput,
135
+ DisassociateKmsKeyCommandOutput,
136
+ } from "./commands/DisassociateKmsKeyCommand";
137
+ import {
138
+ FilterLogEventsCommandInput,
139
+ FilterLogEventsCommandOutput,
140
+ } from "./commands/FilterLogEventsCommand";
141
+ import {
142
+ GetLogEventsCommandInput,
143
+ GetLogEventsCommandOutput,
144
+ } from "./commands/GetLogEventsCommand";
145
+ import {
146
+ GetLogGroupFieldsCommandInput,
147
+ GetLogGroupFieldsCommandOutput,
148
+ } from "./commands/GetLogGroupFieldsCommand";
149
+ import {
150
+ GetLogRecordCommandInput,
151
+ GetLogRecordCommandOutput,
152
+ } from "./commands/GetLogRecordCommand";
153
+ import {
154
+ GetQueryResultsCommandInput,
155
+ GetQueryResultsCommandOutput,
156
+ } from "./commands/GetQueryResultsCommand";
157
+ import {
158
+ ListTagsLogGroupCommandInput,
159
+ ListTagsLogGroupCommandOutput,
160
+ } from "./commands/ListTagsLogGroupCommand";
161
+ import {
162
+ PutDestinationCommandInput,
163
+ PutDestinationCommandOutput,
164
+ } from "./commands/PutDestinationCommand";
165
+ import {
166
+ PutDestinationPolicyCommandInput,
167
+ PutDestinationPolicyCommandOutput,
168
+ } from "./commands/PutDestinationPolicyCommand";
169
+ import {
170
+ PutLogEventsCommandInput,
171
+ PutLogEventsCommandOutput,
172
+ } from "./commands/PutLogEventsCommand";
173
+ import {
174
+ PutMetricFilterCommandInput,
175
+ PutMetricFilterCommandOutput,
176
+ } from "./commands/PutMetricFilterCommand";
177
+ import {
178
+ PutQueryDefinitionCommandInput,
179
+ PutQueryDefinitionCommandOutput,
180
+ } from "./commands/PutQueryDefinitionCommand";
181
+ import {
182
+ PutResourcePolicyCommandInput,
183
+ PutResourcePolicyCommandOutput,
184
+ } from "./commands/PutResourcePolicyCommand";
185
+ import {
186
+ PutRetentionPolicyCommandInput,
187
+ PutRetentionPolicyCommandOutput,
188
+ } from "./commands/PutRetentionPolicyCommand";
189
+ import {
190
+ PutSubscriptionFilterCommandInput,
191
+ PutSubscriptionFilterCommandOutput,
192
+ } from "./commands/PutSubscriptionFilterCommand";
193
+ import {
194
+ StartQueryCommandInput,
195
+ StartQueryCommandOutput,
196
+ } from "./commands/StartQueryCommand";
197
+ import {
198
+ StopQueryCommandInput,
199
+ StopQueryCommandOutput,
200
+ } from "./commands/StopQueryCommand";
201
+ import {
202
+ TagLogGroupCommandInput,
203
+ TagLogGroupCommandOutput,
204
+ } from "./commands/TagLogGroupCommand";
205
+ import {
206
+ TestMetricFilterCommandInput,
207
+ TestMetricFilterCommandOutput,
208
+ } from "./commands/TestMetricFilterCommand";
209
+ import {
210
+ UntagLogGroupCommandInput,
211
+ UntagLogGroupCommandOutput,
212
+ } from "./commands/UntagLogGroupCommand";
213
+ export declare type ServiceInputTypes =
214
+ | AssociateKmsKeyCommandInput
215
+ | CancelExportTaskCommandInput
216
+ | CreateExportTaskCommandInput
217
+ | CreateLogGroupCommandInput
218
+ | CreateLogStreamCommandInput
219
+ | DeleteDestinationCommandInput
220
+ | DeleteLogGroupCommandInput
221
+ | DeleteLogStreamCommandInput
222
+ | DeleteMetricFilterCommandInput
223
+ | DeleteQueryDefinitionCommandInput
224
+ | DeleteResourcePolicyCommandInput
225
+ | DeleteRetentionPolicyCommandInput
226
+ | DeleteSubscriptionFilterCommandInput
227
+ | DescribeDestinationsCommandInput
228
+ | DescribeExportTasksCommandInput
229
+ | DescribeLogGroupsCommandInput
230
+ | DescribeLogStreamsCommandInput
231
+ | DescribeMetricFiltersCommandInput
232
+ | DescribeQueriesCommandInput
233
+ | DescribeQueryDefinitionsCommandInput
234
+ | DescribeResourcePoliciesCommandInput
235
+ | DescribeSubscriptionFiltersCommandInput
236
+ | DisassociateKmsKeyCommandInput
237
+ | FilterLogEventsCommandInput
238
+ | GetLogEventsCommandInput
239
+ | GetLogGroupFieldsCommandInput
240
+ | GetLogRecordCommandInput
241
+ | GetQueryResultsCommandInput
242
+ | ListTagsLogGroupCommandInput
243
+ | PutDestinationCommandInput
244
+ | PutDestinationPolicyCommandInput
245
+ | PutLogEventsCommandInput
246
+ | PutMetricFilterCommandInput
247
+ | PutQueryDefinitionCommandInput
248
+ | PutResourcePolicyCommandInput
249
+ | PutRetentionPolicyCommandInput
250
+ | PutSubscriptionFilterCommandInput
251
+ | StartQueryCommandInput
252
+ | StopQueryCommandInput
253
+ | TagLogGroupCommandInput
254
+ | TestMetricFilterCommandInput
255
+ | UntagLogGroupCommandInput;
256
+ export declare type ServiceOutputTypes =
257
+ | AssociateKmsKeyCommandOutput
258
+ | CancelExportTaskCommandOutput
259
+ | CreateExportTaskCommandOutput
260
+ | CreateLogGroupCommandOutput
261
+ | CreateLogStreamCommandOutput
262
+ | DeleteDestinationCommandOutput
263
+ | DeleteLogGroupCommandOutput
264
+ | DeleteLogStreamCommandOutput
265
+ | DeleteMetricFilterCommandOutput
266
+ | DeleteQueryDefinitionCommandOutput
267
+ | DeleteResourcePolicyCommandOutput
268
+ | DeleteRetentionPolicyCommandOutput
269
+ | DeleteSubscriptionFilterCommandOutput
270
+ | DescribeDestinationsCommandOutput
271
+ | DescribeExportTasksCommandOutput
272
+ | DescribeLogGroupsCommandOutput
273
+ | DescribeLogStreamsCommandOutput
274
+ | DescribeMetricFiltersCommandOutput
275
+ | DescribeQueriesCommandOutput
276
+ | DescribeQueryDefinitionsCommandOutput
277
+ | DescribeResourcePoliciesCommandOutput
278
+ | DescribeSubscriptionFiltersCommandOutput
279
+ | DisassociateKmsKeyCommandOutput
280
+ | FilterLogEventsCommandOutput
281
+ | GetLogEventsCommandOutput
282
+ | GetLogGroupFieldsCommandOutput
283
+ | GetLogRecordCommandOutput
284
+ | GetQueryResultsCommandOutput
285
+ | ListTagsLogGroupCommandOutput
286
+ | PutDestinationCommandOutput
287
+ | PutDestinationPolicyCommandOutput
288
+ | PutLogEventsCommandOutput
289
+ | PutMetricFilterCommandOutput
290
+ | PutQueryDefinitionCommandOutput
291
+ | PutResourcePolicyCommandOutput
292
+ | PutRetentionPolicyCommandOutput
293
+ | PutSubscriptionFilterCommandOutput
294
+ | StartQueryCommandOutput
295
+ | StopQueryCommandOutput
296
+ | TagLogGroupCommandOutput
297
+ | TestMetricFilterCommandOutput
298
+ | UntagLogGroupCommandOutput;
299
+ export interface ClientDefaults
300
+ extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
301
+ requestHandler?: __HttpHandler;
302
+
303
+ sha256?: __HashConstructor;
304
+
305
+ urlParser?: __UrlParser;
306
+
307
+ bodyLengthChecker?: __BodyLengthCalculator;
308
+
309
+ streamCollector?: __StreamCollector;
310
+
311
+ base64Decoder?: __Decoder;
312
+
313
+ base64Encoder?: __Encoder;
314
+
315
+ utf8Decoder?: __Decoder;
316
+
317
+ utf8Encoder?: __Encoder;
318
+
319
+ runtime?: string;
320
+
321
+ disableHostPrefix?: boolean;
322
+
323
+ maxAttempts?: number | __Provider<number>;
324
+
325
+ retryMode?: string | __Provider<string>;
326
+
327
+ logger?: __Logger;
328
+
329
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
330
+
331
+ useFipsEndpoint?: boolean | __Provider<boolean>;
332
+
333
+ serviceId?: string;
334
+
335
+ region?: string | __Provider<string>;
336
+
337
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
338
+
339
+ regionInfoProvider?: RegionInfoProvider;
340
+
341
+ defaultUserAgentProvider?: Provider<__UserAgent>;
342
+
343
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
344
+ }
345
+ declare type CloudWatchLogsClientConfigType = Partial<
346
+ __SmithyConfiguration<__HttpHandlerOptions>
347
+ > &
348
+ ClientDefaults &
349
+ RegionInputConfig &
350
+ EndpointsInputConfig &
351
+ RetryInputConfig &
352
+ HostHeaderInputConfig &
353
+ AwsAuthInputConfig &
354
+ UserAgentInputConfig;
355
+
356
+ export interface CloudWatchLogsClientConfig
357
+ extends CloudWatchLogsClientConfigType {}
358
+ declare type CloudWatchLogsClientResolvedConfigType =
359
+ __SmithyResolvedConfiguration<__HttpHandlerOptions> &
360
+ Required<ClientDefaults> &
361
+ RegionResolvedConfig &
362
+ EndpointsResolvedConfig &
363
+ RetryResolvedConfig &
364
+ HostHeaderResolvedConfig &
365
+ AwsAuthResolvedConfig &
366
+ UserAgentResolvedConfig;
367
+
368
+ export interface CloudWatchLogsClientResolvedConfig
369
+ extends CloudWatchLogsClientResolvedConfigType {}
370
+
371
+ export declare class CloudWatchLogsClient extends __Client<
372
+ __HttpHandlerOptions,
373
+ ServiceInputTypes,
374
+ ServiceOutputTypes,
375
+ CloudWatchLogsClientResolvedConfig
376
+ > {
377
+ readonly config: CloudWatchLogsClientResolvedConfig;
378
+ constructor(configuration: CloudWatchLogsClientConfig);
379
+
380
+ destroy(): void;
381
+ }
382
+ export {};
@@ -1,17 +1,32 @@
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
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MetadataBearer as __MetadataBearer,
6
+ MiddlewareStack,
7
+ } from "@aws-sdk/types";
8
+ import {
9
+ CloudWatchLogsClientResolvedConfig,
10
+ ServiceInputTypes,
11
+ ServiceOutputTypes,
12
+ } from "../CloudWatchLogsClient";
13
+ import { AssociateKmsKeyRequest } from "../models/models_0";
14
+ export interface AssociateKmsKeyCommandInput extends AssociateKmsKeyRequest {}
15
+ export interface AssociateKmsKeyCommandOutput extends __MetadataBearer {}
16
+
17
+ export declare class AssociateKmsKeyCommand extends $Command<
18
+ AssociateKmsKeyCommandInput,
19
+ AssociateKmsKeyCommandOutput,
20
+ CloudWatchLogsClientResolvedConfig
21
+ > {
22
+ readonly input: AssociateKmsKeyCommandInput;
23
+ constructor(input: AssociateKmsKeyCommandInput);
24
+
25
+ resolveMiddleware(
26
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
27
+ configuration: CloudWatchLogsClientResolvedConfig,
28
+ options?: __HttpHandlerOptions
29
+ ): Handler<AssociateKmsKeyCommandInput, AssociateKmsKeyCommandOutput>;
30
+ private serialize;
31
+ private deserialize;
32
+ }
@@ -1,17 +1,32 @@
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
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MetadataBearer as __MetadataBearer,
6
+ MiddlewareStack,
7
+ } from "@aws-sdk/types";
8
+ import {
9
+ CloudWatchLogsClientResolvedConfig,
10
+ ServiceInputTypes,
11
+ ServiceOutputTypes,
12
+ } from "../CloudWatchLogsClient";
13
+ import { CancelExportTaskRequest } from "../models/models_0";
14
+ export interface CancelExportTaskCommandInput extends CancelExportTaskRequest {}
15
+ export interface CancelExportTaskCommandOutput extends __MetadataBearer {}
16
+
17
+ export declare class CancelExportTaskCommand extends $Command<
18
+ CancelExportTaskCommandInput,
19
+ CancelExportTaskCommandOutput,
20
+ CloudWatchLogsClientResolvedConfig
21
+ > {
22
+ readonly input: CancelExportTaskCommandInput;
23
+ constructor(input: CancelExportTaskCommandInput);
24
+
25
+ resolveMiddleware(
26
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
27
+ configuration: CloudWatchLogsClientResolvedConfig,
28
+ options?: __HttpHandlerOptions
29
+ ): Handler<CancelExportTaskCommandInput, CancelExportTaskCommandOutput>;
30
+ private serialize;
31
+ private deserialize;
32
+ }
@@ -1,17 +1,37 @@
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
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MetadataBearer as __MetadataBearer,
6
+ MiddlewareStack,
7
+ } from "@aws-sdk/types";
8
+ import {
9
+ CloudWatchLogsClientResolvedConfig,
10
+ ServiceInputTypes,
11
+ ServiceOutputTypes,
12
+ } from "../CloudWatchLogsClient";
13
+ import {
14
+ CreateExportTaskRequest,
15
+ CreateExportTaskResponse,
16
+ } from "../models/models_0";
17
+ export interface CreateExportTaskCommandInput extends CreateExportTaskRequest {}
18
+ export interface CreateExportTaskCommandOutput
19
+ extends CreateExportTaskResponse,
20
+ __MetadataBearer {}
21
+
22
+ export declare class CreateExportTaskCommand extends $Command<
23
+ CreateExportTaskCommandInput,
24
+ CreateExportTaskCommandOutput,
25
+ CloudWatchLogsClientResolvedConfig
26
+ > {
27
+ readonly input: CreateExportTaskCommandInput;
28
+ constructor(input: CreateExportTaskCommandInput);
29
+
30
+ resolveMiddleware(
31
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
32
+ configuration: CloudWatchLogsClientResolvedConfig,
33
+ options?: __HttpHandlerOptions
34
+ ): Handler<CreateExportTaskCommandInput, CreateExportTaskCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }