@aws-sdk/client-cloudwatch-logs 3.948.0 → 3.953.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 (166) hide show
  1. package/README.md +32 -0
  2. package/dist-cjs/index.js +1562 -897
  3. package/dist-cjs/runtimeConfig.shared.js +7 -6
  4. package/dist-es/CloudWatchLogs.js +8 -0
  5. package/dist-es/commands/AssociateKmsKeyCommand.js +2 -2
  6. package/dist-es/commands/AssociateSourceToS3TableIntegrationCommand.js +2 -2
  7. package/dist-es/commands/CancelExportTaskCommand.js +2 -2
  8. package/dist-es/commands/CancelImportTaskCommand.js +16 -0
  9. package/dist-es/commands/CreateDeliveryCommand.js +2 -2
  10. package/dist-es/commands/CreateExportTaskCommand.js +2 -2
  11. package/dist-es/commands/CreateImportTaskCommand.js +16 -0
  12. package/dist-es/commands/CreateLogAnomalyDetectorCommand.js +2 -2
  13. package/dist-es/commands/CreateLogGroupCommand.js +2 -2
  14. package/dist-es/commands/CreateLogStreamCommand.js +2 -2
  15. package/dist-es/commands/CreateScheduledQueryCommand.js +2 -2
  16. package/dist-es/commands/DeleteAccountPolicyCommand.js +2 -2
  17. package/dist-es/commands/DeleteDataProtectionPolicyCommand.js +2 -2
  18. package/dist-es/commands/DeleteDeliveryCommand.js +2 -2
  19. package/dist-es/commands/DeleteDeliveryDestinationCommand.js +2 -2
  20. package/dist-es/commands/DeleteDeliveryDestinationPolicyCommand.js +2 -2
  21. package/dist-es/commands/DeleteDeliverySourceCommand.js +2 -2
  22. package/dist-es/commands/DeleteDestinationCommand.js +2 -2
  23. package/dist-es/commands/DeleteIndexPolicyCommand.js +2 -2
  24. package/dist-es/commands/DeleteIntegrationCommand.js +2 -2
  25. package/dist-es/commands/DeleteLogAnomalyDetectorCommand.js +2 -2
  26. package/dist-es/commands/DeleteLogGroupCommand.js +2 -2
  27. package/dist-es/commands/DeleteLogStreamCommand.js +2 -2
  28. package/dist-es/commands/DeleteMetricFilterCommand.js +2 -2
  29. package/dist-es/commands/DeleteQueryDefinitionCommand.js +2 -2
  30. package/dist-es/commands/DeleteResourcePolicyCommand.js +2 -2
  31. package/dist-es/commands/DeleteRetentionPolicyCommand.js +2 -2
  32. package/dist-es/commands/DeleteScheduledQueryCommand.js +2 -2
  33. package/dist-es/commands/DeleteSubscriptionFilterCommand.js +2 -2
  34. package/dist-es/commands/DeleteTransformerCommand.js +2 -2
  35. package/dist-es/commands/DescribeAccountPoliciesCommand.js +2 -2
  36. package/dist-es/commands/DescribeConfigurationTemplatesCommand.js +2 -2
  37. package/dist-es/commands/DescribeDeliveriesCommand.js +2 -2
  38. package/dist-es/commands/DescribeDeliveryDestinationsCommand.js +2 -2
  39. package/dist-es/commands/DescribeDeliverySourcesCommand.js +2 -2
  40. package/dist-es/commands/DescribeDestinationsCommand.js +2 -2
  41. package/dist-es/commands/DescribeExportTasksCommand.js +2 -2
  42. package/dist-es/commands/DescribeFieldIndexesCommand.js +2 -2
  43. package/dist-es/commands/DescribeImportTaskBatchesCommand.js +16 -0
  44. package/dist-es/commands/DescribeImportTasksCommand.js +16 -0
  45. package/dist-es/commands/DescribeIndexPoliciesCommand.js +2 -2
  46. package/dist-es/commands/DescribeLogGroupsCommand.js +2 -2
  47. package/dist-es/commands/DescribeLogStreamsCommand.js +2 -2
  48. package/dist-es/commands/DescribeMetricFiltersCommand.js +2 -2
  49. package/dist-es/commands/DescribeQueriesCommand.js +2 -2
  50. package/dist-es/commands/DescribeQueryDefinitionsCommand.js +2 -2
  51. package/dist-es/commands/DescribeResourcePoliciesCommand.js +2 -2
  52. package/dist-es/commands/DescribeSubscriptionFiltersCommand.js +2 -2
  53. package/dist-es/commands/DisassociateKmsKeyCommand.js +2 -2
  54. package/dist-es/commands/DisassociateSourceFromS3TableIntegrationCommand.js +2 -2
  55. package/dist-es/commands/FilterLogEventsCommand.js +2 -2
  56. package/dist-es/commands/GetDataProtectionPolicyCommand.js +2 -2
  57. package/dist-es/commands/GetDeliveryCommand.js +2 -2
  58. package/dist-es/commands/GetDeliveryDestinationCommand.js +2 -2
  59. package/dist-es/commands/GetDeliveryDestinationPolicyCommand.js +2 -2
  60. package/dist-es/commands/GetDeliverySourceCommand.js +2 -2
  61. package/dist-es/commands/GetIntegrationCommand.js +2 -2
  62. package/dist-es/commands/GetLogAnomalyDetectorCommand.js +2 -2
  63. package/dist-es/commands/GetLogEventsCommand.js +2 -2
  64. package/dist-es/commands/GetLogFieldsCommand.js +2 -2
  65. package/dist-es/commands/GetLogGroupFieldsCommand.js +2 -2
  66. package/dist-es/commands/GetLogObjectCommand.js +2 -2
  67. package/dist-es/commands/GetLogRecordCommand.js +2 -2
  68. package/dist-es/commands/GetQueryResultsCommand.js +2 -2
  69. package/dist-es/commands/GetScheduledQueryCommand.js +2 -2
  70. package/dist-es/commands/GetScheduledQueryHistoryCommand.js +2 -2
  71. package/dist-es/commands/GetTransformerCommand.js +2 -2
  72. package/dist-es/commands/ListAggregateLogGroupSummariesCommand.js +2 -2
  73. package/dist-es/commands/ListAnomaliesCommand.js +2 -2
  74. package/dist-es/commands/ListIntegrationsCommand.js +2 -2
  75. package/dist-es/commands/ListLogAnomalyDetectorsCommand.js +2 -2
  76. package/dist-es/commands/ListLogGroupsCommand.js +2 -2
  77. package/dist-es/commands/ListLogGroupsForQueryCommand.js +2 -2
  78. package/dist-es/commands/ListScheduledQueriesCommand.js +2 -2
  79. package/dist-es/commands/ListSourcesForS3TableIntegrationCommand.js +2 -2
  80. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  81. package/dist-es/commands/ListTagsLogGroupCommand.js +2 -2
  82. package/dist-es/commands/PutAccountPolicyCommand.js +2 -2
  83. package/dist-es/commands/PutDataProtectionPolicyCommand.js +2 -2
  84. package/dist-es/commands/PutDeliveryDestinationCommand.js +2 -2
  85. package/dist-es/commands/PutDeliveryDestinationPolicyCommand.js +2 -2
  86. package/dist-es/commands/PutDeliverySourceCommand.js +2 -2
  87. package/dist-es/commands/PutDestinationCommand.js +2 -2
  88. package/dist-es/commands/PutDestinationPolicyCommand.js +2 -2
  89. package/dist-es/commands/PutIndexPolicyCommand.js +2 -2
  90. package/dist-es/commands/PutIntegrationCommand.js +2 -2
  91. package/dist-es/commands/PutLogEventsCommand.js +2 -2
  92. package/dist-es/commands/PutLogGroupDeletionProtectionCommand.js +2 -2
  93. package/dist-es/commands/PutMetricFilterCommand.js +2 -2
  94. package/dist-es/commands/PutQueryDefinitionCommand.js +2 -2
  95. package/dist-es/commands/PutResourcePolicyCommand.js +2 -2
  96. package/dist-es/commands/PutRetentionPolicyCommand.js +2 -2
  97. package/dist-es/commands/PutSubscriptionFilterCommand.js +2 -2
  98. package/dist-es/commands/PutTransformerCommand.js +2 -2
  99. package/dist-es/commands/StartLiveTailCommand.js +2 -2
  100. package/dist-es/commands/StartQueryCommand.js +2 -2
  101. package/dist-es/commands/StopQueryCommand.js +2 -2
  102. package/dist-es/commands/TagLogGroupCommand.js +2 -2
  103. package/dist-es/commands/TagResourceCommand.js +2 -2
  104. package/dist-es/commands/TestMetricFilterCommand.js +2 -2
  105. package/dist-es/commands/TestTransformerCommand.js +2 -2
  106. package/dist-es/commands/UntagLogGroupCommand.js +2 -2
  107. package/dist-es/commands/UntagResourceCommand.js +2 -2
  108. package/dist-es/commands/UpdateAnomalyCommand.js +2 -2
  109. package/dist-es/commands/UpdateDeliveryConfigurationCommand.js +2 -2
  110. package/dist-es/commands/UpdateLogAnomalyDetectorCommand.js +2 -2
  111. package/dist-es/commands/UpdateScheduledQueryCommand.js +2 -2
  112. package/dist-es/commands/index.js +4 -0
  113. package/dist-es/index.js +1 -0
  114. package/dist-es/models/enums.js +6 -0
  115. package/dist-es/pagination/ListAggregateLogGroupSummariesPaginator.js +4 -0
  116. package/dist-es/pagination/index.js +1 -0
  117. package/dist-es/runtimeConfig.shared.js +7 -6
  118. package/dist-es/schemas/schemas_0.js +943 -766
  119. package/dist-types/CloudWatchLogs.d.ts +29 -0
  120. package/dist-types/CloudWatchLogsClient.d.ts +7 -12
  121. package/dist-types/commands/CancelImportTaskCommand.d.ts +95 -0
  122. package/dist-types/commands/CreateImportTaskCommand.d.ts +152 -0
  123. package/dist-types/commands/CreateScheduledQueryCommand.d.ts +4 -1
  124. package/dist-types/commands/DeleteAccountPolicyCommand.d.ts +8 -8
  125. package/dist-types/commands/DeleteIndexPolicyCommand.d.ts +6 -6
  126. package/dist-types/commands/DeleteScheduledQueryCommand.d.ts +2 -1
  127. package/dist-types/commands/DescribeImportTaskBatchesCommand.d.ts +104 -0
  128. package/dist-types/commands/DescribeImportTasksCommand.d.ts +111 -0
  129. package/dist-types/commands/DescribeQueriesCommand.d.ts +2 -2
  130. package/dist-types/commands/GetQueryResultsCommand.d.ts +2 -1
  131. package/dist-types/commands/GetScheduledQueryCommand.d.ts +2 -1
  132. package/dist-types/commands/GetScheduledQueryHistoryCommand.d.ts +2 -1
  133. package/dist-types/commands/ListScheduledQueriesCommand.d.ts +2 -1
  134. package/dist-types/commands/PutAccountPolicyCommand.d.ts +196 -47
  135. package/dist-types/commands/PutIndexPolicyCommand.d.ts +4 -4
  136. package/dist-types/commands/PutLogGroupDeletionProtectionCommand.d.ts +3 -2
  137. package/dist-types/commands/UpdateScheduledQueryCommand.d.ts +2 -1
  138. package/dist-types/commands/index.d.ts +4 -0
  139. package/dist-types/index.d.ts +1 -0
  140. package/dist-types/models/enums.d.ts +14 -0
  141. package/dist-types/models/models_0.d.ts +391 -44
  142. package/dist-types/pagination/ListAggregateLogGroupSummariesPaginator.d.ts +7 -0
  143. package/dist-types/pagination/index.d.ts +1 -0
  144. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  145. package/dist-types/runtimeConfig.d.ts +6 -2
  146. package/dist-types/runtimeConfig.native.d.ts +6 -2
  147. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  148. package/dist-types/schemas/schemas_0.d.ts +424 -498
  149. package/dist-types/ts3.4/CloudWatchLogs.d.ts +69 -0
  150. package/dist-types/ts3.4/CloudWatchLogsClient.d.ts +24 -4
  151. package/dist-types/ts3.4/commands/CancelImportTaskCommand.d.ts +50 -0
  152. package/dist-types/ts3.4/commands/CreateImportTaskCommand.d.ts +50 -0
  153. package/dist-types/ts3.4/commands/DescribeImportTaskBatchesCommand.d.ts +51 -0
  154. package/dist-types/ts3.4/commands/DescribeImportTasksCommand.d.ts +51 -0
  155. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  156. package/dist-types/ts3.4/index.d.ts +1 -0
  157. package/dist-types/ts3.4/models/enums.d.ts +7 -0
  158. package/dist-types/ts3.4/models/models_0.d.ts +67 -0
  159. package/dist-types/ts3.4/pagination/ListAggregateLogGroupSummariesPaginator.d.ts +11 -0
  160. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  161. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  162. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  163. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  164. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  165. package/dist-types/ts3.4/schemas/schemas_0.d.ts +423 -498
  166. package/package.json +37 -37
@@ -12,6 +12,10 @@ import {
12
12
  CancelExportTaskCommandInput,
13
13
  CancelExportTaskCommandOutput,
14
14
  } from "./commands/CancelExportTaskCommand";
15
+ import {
16
+ CancelImportTaskCommandInput,
17
+ CancelImportTaskCommandOutput,
18
+ } from "./commands/CancelImportTaskCommand";
15
19
  import {
16
20
  CreateDeliveryCommandInput,
17
21
  CreateDeliveryCommandOutput,
@@ -20,6 +24,10 @@ import {
20
24
  CreateExportTaskCommandInput,
21
25
  CreateExportTaskCommandOutput,
22
26
  } from "./commands/CreateExportTaskCommand";
27
+ import {
28
+ CreateImportTaskCommandInput,
29
+ CreateImportTaskCommandOutput,
30
+ } from "./commands/CreateImportTaskCommand";
23
31
  import {
24
32
  CreateLogAnomalyDetectorCommandInput,
25
33
  CreateLogAnomalyDetectorCommandOutput,
@@ -144,6 +152,14 @@ import {
144
152
  DescribeFieldIndexesCommandInput,
145
153
  DescribeFieldIndexesCommandOutput,
146
154
  } from "./commands/DescribeFieldIndexesCommand";
155
+ import {
156
+ DescribeImportTaskBatchesCommandInput,
157
+ DescribeImportTaskBatchesCommandOutput,
158
+ } from "./commands/DescribeImportTaskBatchesCommand";
159
+ import {
160
+ DescribeImportTasksCommandInput,
161
+ DescribeImportTasksCommandOutput,
162
+ } from "./commands/DescribeImportTasksCommand";
147
163
  import {
148
164
  DescribeIndexPoliciesCommandInput,
149
165
  DescribeIndexPoliciesCommandOutput,
@@ -458,6 +474,19 @@ export interface CloudWatchLogs {
458
474
  options: __HttpHandlerOptions,
459
475
  cb: (err: any, data?: CancelExportTaskCommandOutput) => void
460
476
  ): void;
477
+ cancelImportTask(
478
+ args: CancelImportTaskCommandInput,
479
+ options?: __HttpHandlerOptions
480
+ ): Promise<CancelImportTaskCommandOutput>;
481
+ cancelImportTask(
482
+ args: CancelImportTaskCommandInput,
483
+ cb: (err: any, data?: CancelImportTaskCommandOutput) => void
484
+ ): void;
485
+ cancelImportTask(
486
+ args: CancelImportTaskCommandInput,
487
+ options: __HttpHandlerOptions,
488
+ cb: (err: any, data?: CancelImportTaskCommandOutput) => void
489
+ ): void;
461
490
  createDelivery(
462
491
  args: CreateDeliveryCommandInput,
463
492
  options?: __HttpHandlerOptions
@@ -484,6 +513,19 @@ export interface CloudWatchLogs {
484
513
  options: __HttpHandlerOptions,
485
514
  cb: (err: any, data?: CreateExportTaskCommandOutput) => void
486
515
  ): void;
516
+ createImportTask(
517
+ args: CreateImportTaskCommandInput,
518
+ options?: __HttpHandlerOptions
519
+ ): Promise<CreateImportTaskCommandOutput>;
520
+ createImportTask(
521
+ args: CreateImportTaskCommandInput,
522
+ cb: (err: any, data?: CreateImportTaskCommandOutput) => void
523
+ ): void;
524
+ createImportTask(
525
+ args: CreateImportTaskCommandInput,
526
+ options: __HttpHandlerOptions,
527
+ cb: (err: any, data?: CreateImportTaskCommandOutput) => void
528
+ ): void;
487
529
  createLogAnomalyDetector(
488
530
  args: CreateLogAnomalyDetectorCommandInput,
489
531
  options?: __HttpHandlerOptions
@@ -894,6 +936,33 @@ export interface CloudWatchLogs {
894
936
  options: __HttpHandlerOptions,
895
937
  cb: (err: any, data?: DescribeFieldIndexesCommandOutput) => void
896
938
  ): void;
939
+ describeImportTaskBatches(
940
+ args: DescribeImportTaskBatchesCommandInput,
941
+ options?: __HttpHandlerOptions
942
+ ): Promise<DescribeImportTaskBatchesCommandOutput>;
943
+ describeImportTaskBatches(
944
+ args: DescribeImportTaskBatchesCommandInput,
945
+ cb: (err: any, data?: DescribeImportTaskBatchesCommandOutput) => void
946
+ ): void;
947
+ describeImportTaskBatches(
948
+ args: DescribeImportTaskBatchesCommandInput,
949
+ options: __HttpHandlerOptions,
950
+ cb: (err: any, data?: DescribeImportTaskBatchesCommandOutput) => void
951
+ ): void;
952
+ describeImportTasks(): Promise<DescribeImportTasksCommandOutput>;
953
+ describeImportTasks(
954
+ args: DescribeImportTasksCommandInput,
955
+ options?: __HttpHandlerOptions
956
+ ): Promise<DescribeImportTasksCommandOutput>;
957
+ describeImportTasks(
958
+ args: DescribeImportTasksCommandInput,
959
+ cb: (err: any, data?: DescribeImportTasksCommandOutput) => void
960
+ ): void;
961
+ describeImportTasks(
962
+ args: DescribeImportTasksCommandInput,
963
+ options: __HttpHandlerOptions,
964
+ cb: (err: any, data?: DescribeImportTasksCommandOutput) => void
965
+ ): void;
897
966
  describeIndexPolicies(
898
967
  args: DescribeIndexPoliciesCommandInput,
899
968
  options?: __HttpHandlerOptions
@@ -33,14 +33,11 @@ import {
33
33
  BodyLengthCalculator as __BodyLengthCalculator,
34
34
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
35
35
  ChecksumConstructor as __ChecksumConstructor,
36
- ClientProtocol,
37
36
  Decoder as __Decoder,
38
37
  Encoder as __Encoder,
39
38
  EventStreamSerdeProvider as __EventStreamSerdeProvider,
40
39
  HashConstructor as __HashConstructor,
41
40
  HttpHandlerOptions as __HttpHandlerOptions,
42
- HttpRequest,
43
- HttpResponse,
44
41
  Logger as __Logger,
45
42
  Provider as __Provider,
46
43
  StreamCollector as __StreamCollector,
@@ -65,6 +62,10 @@ import {
65
62
  CancelExportTaskCommandInput,
66
63
  CancelExportTaskCommandOutput,
67
64
  } from "./commands/CancelExportTaskCommand";
65
+ import {
66
+ CancelImportTaskCommandInput,
67
+ CancelImportTaskCommandOutput,
68
+ } from "./commands/CancelImportTaskCommand";
68
69
  import {
69
70
  CreateDeliveryCommandInput,
70
71
  CreateDeliveryCommandOutput,
@@ -73,6 +74,10 @@ import {
73
74
  CreateExportTaskCommandInput,
74
75
  CreateExportTaskCommandOutput,
75
76
  } from "./commands/CreateExportTaskCommand";
77
+ import {
78
+ CreateImportTaskCommandInput,
79
+ CreateImportTaskCommandOutput,
80
+ } from "./commands/CreateImportTaskCommand";
76
81
  import {
77
82
  CreateLogAnomalyDetectorCommandInput,
78
83
  CreateLogAnomalyDetectorCommandOutput,
@@ -197,6 +202,14 @@ import {
197
202
  DescribeFieldIndexesCommandInput,
198
203
  DescribeFieldIndexesCommandOutput,
199
204
  } from "./commands/DescribeFieldIndexesCommand";
205
+ import {
206
+ DescribeImportTaskBatchesCommandInput,
207
+ DescribeImportTaskBatchesCommandOutput,
208
+ } from "./commands/DescribeImportTaskBatchesCommand";
209
+ import {
210
+ DescribeImportTasksCommandInput,
211
+ DescribeImportTasksCommandOutput,
212
+ } from "./commands/DescribeImportTasksCommand";
200
213
  import {
201
214
  DescribeIndexPoliciesCommandInput,
202
215
  DescribeIndexPoliciesCommandOutput,
@@ -476,8 +489,10 @@ export type ServiceInputTypes =
476
489
  | AssociateKmsKeyCommandInput
477
490
  | AssociateSourceToS3TableIntegrationCommandInput
478
491
  | CancelExportTaskCommandInput
492
+ | CancelImportTaskCommandInput
479
493
  | CreateDeliveryCommandInput
480
494
  | CreateExportTaskCommandInput
495
+ | CreateImportTaskCommandInput
481
496
  | CreateLogAnomalyDetectorCommandInput
482
497
  | CreateLogGroupCommandInput
483
498
  | CreateLogStreamCommandInput
@@ -509,6 +524,8 @@ export type ServiceInputTypes =
509
524
  | DescribeDestinationsCommandInput
510
525
  | DescribeExportTasksCommandInput
511
526
  | DescribeFieldIndexesCommandInput
527
+ | DescribeImportTaskBatchesCommandInput
528
+ | DescribeImportTasksCommandInput
512
529
  | DescribeIndexPoliciesCommandInput
513
530
  | DescribeLogGroupsCommandInput
514
531
  | DescribeLogStreamsCommandInput
@@ -580,8 +597,10 @@ export type ServiceOutputTypes =
580
597
  | AssociateKmsKeyCommandOutput
581
598
  | AssociateSourceToS3TableIntegrationCommandOutput
582
599
  | CancelExportTaskCommandOutput
600
+ | CancelImportTaskCommandOutput
583
601
  | CreateDeliveryCommandOutput
584
602
  | CreateExportTaskCommandOutput
603
+ | CreateImportTaskCommandOutput
585
604
  | CreateLogAnomalyDetectorCommandOutput
586
605
  | CreateLogGroupCommandOutput
587
606
  | CreateLogStreamCommandOutput
@@ -613,6 +632,8 @@ export type ServiceOutputTypes =
613
632
  | DescribeDestinationsCommandOutput
614
633
  | DescribeExportTasksCommandOutput
615
634
  | DescribeFieldIndexesCommandOutput
635
+ | DescribeImportTaskBatchesCommandOutput
636
+ | DescribeImportTasksCommandOutput
616
637
  | DescribeIndexPoliciesCommandOutput
617
638
  | DescribeLogGroupsCommandOutput
618
639
  | DescribeLogStreamsCommandOutput
@@ -704,7 +725,6 @@ export interface ClientDefaults
704
725
  retryMode?: string | __Provider<string>;
705
726
  logger?: __Logger;
706
727
  extensions?: RuntimeExtension[];
707
- protocol?: ClientProtocol<HttpRequest, HttpResponse>;
708
728
  eventStreamSerdeProvider?: __EventStreamSerdeProvider;
709
729
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
710
730
  }
@@ -0,0 +1,50 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ CloudWatchLogsClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../CloudWatchLogsClient";
8
+ import {
9
+ CancelImportTaskRequest,
10
+ CancelImportTaskResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface CancelImportTaskCommandInput extends CancelImportTaskRequest {}
15
+ export interface CancelImportTaskCommandOutput
16
+ extends CancelImportTaskResponse,
17
+ __MetadataBearer {}
18
+ declare const CancelImportTaskCommand_base: {
19
+ new (
20
+ input: CancelImportTaskCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ CancelImportTaskCommandInput,
23
+ CancelImportTaskCommandOutput,
24
+ CloudWatchLogsClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ input: CancelImportTaskCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ CancelImportTaskCommandInput,
32
+ CancelImportTaskCommandOutput,
33
+ CloudWatchLogsClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class CancelImportTaskCommand extends CancelImportTaskCommand_base {
40
+ protected static __types: {
41
+ api: {
42
+ input: CancelImportTaskRequest;
43
+ output: CancelImportTaskResponse;
44
+ };
45
+ sdk: {
46
+ input: CancelImportTaskCommandInput;
47
+ output: CancelImportTaskCommandOutput;
48
+ };
49
+ };
50
+ }
@@ -0,0 +1,50 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ CloudWatchLogsClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../CloudWatchLogsClient";
8
+ import {
9
+ CreateImportTaskRequest,
10
+ CreateImportTaskResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface CreateImportTaskCommandInput extends CreateImportTaskRequest {}
15
+ export interface CreateImportTaskCommandOutput
16
+ extends CreateImportTaskResponse,
17
+ __MetadataBearer {}
18
+ declare const CreateImportTaskCommand_base: {
19
+ new (
20
+ input: CreateImportTaskCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ CreateImportTaskCommandInput,
23
+ CreateImportTaskCommandOutput,
24
+ CloudWatchLogsClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ input: CreateImportTaskCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ CreateImportTaskCommandInput,
32
+ CreateImportTaskCommandOutput,
33
+ CloudWatchLogsClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class CreateImportTaskCommand extends CreateImportTaskCommand_base {
40
+ protected static __types: {
41
+ api: {
42
+ input: CreateImportTaskRequest;
43
+ output: CreateImportTaskResponse;
44
+ };
45
+ sdk: {
46
+ input: CreateImportTaskCommandInput;
47
+ output: CreateImportTaskCommandOutput;
48
+ };
49
+ };
50
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ CloudWatchLogsClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../CloudWatchLogsClient";
8
+ import {
9
+ DescribeImportTaskBatchesRequest,
10
+ DescribeImportTaskBatchesResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface DescribeImportTaskBatchesCommandInput
15
+ extends DescribeImportTaskBatchesRequest {}
16
+ export interface DescribeImportTaskBatchesCommandOutput
17
+ extends DescribeImportTaskBatchesResponse,
18
+ __MetadataBearer {}
19
+ declare const DescribeImportTaskBatchesCommand_base: {
20
+ new (
21
+ input: DescribeImportTaskBatchesCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ DescribeImportTaskBatchesCommandInput,
24
+ DescribeImportTaskBatchesCommandOutput,
25
+ CloudWatchLogsClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: DescribeImportTaskBatchesCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ DescribeImportTaskBatchesCommandInput,
33
+ DescribeImportTaskBatchesCommandOutput,
34
+ CloudWatchLogsClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class DescribeImportTaskBatchesCommand extends DescribeImportTaskBatchesCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: DescribeImportTaskBatchesRequest;
44
+ output: DescribeImportTaskBatchesResponse;
45
+ };
46
+ sdk: {
47
+ input: DescribeImportTaskBatchesCommandInput;
48
+ output: DescribeImportTaskBatchesCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ CloudWatchLogsClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../CloudWatchLogsClient";
8
+ import {
9
+ DescribeImportTasksRequest,
10
+ DescribeImportTasksResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface DescribeImportTasksCommandInput
15
+ extends DescribeImportTasksRequest {}
16
+ export interface DescribeImportTasksCommandOutput
17
+ extends DescribeImportTasksResponse,
18
+ __MetadataBearer {}
19
+ declare const DescribeImportTasksCommand_base: {
20
+ new (
21
+ input: DescribeImportTasksCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ DescribeImportTasksCommandInput,
24
+ DescribeImportTasksCommandOutput,
25
+ CloudWatchLogsClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ ...[input]: [] | [DescribeImportTasksCommandInput]
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ DescribeImportTasksCommandInput,
33
+ DescribeImportTasksCommandOutput,
34
+ CloudWatchLogsClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class DescribeImportTasksCommand extends DescribeImportTasksCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: DescribeImportTasksRequest;
44
+ output: DescribeImportTasksResponse;
45
+ };
46
+ sdk: {
47
+ input: DescribeImportTasksCommandInput;
48
+ output: DescribeImportTasksCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -1,8 +1,10 @@
1
1
  export * from "./AssociateKmsKeyCommand";
2
2
  export * from "./AssociateSourceToS3TableIntegrationCommand";
3
3
  export * from "./CancelExportTaskCommand";
4
+ export * from "./CancelImportTaskCommand";
4
5
  export * from "./CreateDeliveryCommand";
5
6
  export * from "./CreateExportTaskCommand";
7
+ export * from "./CreateImportTaskCommand";
6
8
  export * from "./CreateLogAnomalyDetectorCommand";
7
9
  export * from "./CreateLogGroupCommand";
8
10
  export * from "./CreateLogStreamCommand";
@@ -34,6 +36,8 @@ export * from "./DescribeDeliverySourcesCommand";
34
36
  export * from "./DescribeDestinationsCommand";
35
37
  export * from "./DescribeExportTasksCommand";
36
38
  export * from "./DescribeFieldIndexesCommand";
39
+ export * from "./DescribeImportTaskBatchesCommand";
40
+ export * from "./DescribeImportTasksCommand";
37
41
  export * from "./DescribeIndexPoliciesCommand";
38
42
  export * from "./DescribeLogGroupsCommand";
39
43
  export * from "./DescribeLogStreamsCommand";
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { CloudWatchLogsExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
+ export * from "./schemas/schemas_0";
7
8
  export * from "./pagination";
8
9
  export * from "./models/enums";
9
10
  export * from "./models/errors";
@@ -43,6 +43,13 @@ export declare const EvaluationFrequency: {
43
43
  };
44
44
  export type EvaluationFrequency =
45
45
  (typeof EvaluationFrequency)[keyof typeof EvaluationFrequency];
46
+ export declare const ImportStatus: {
47
+ readonly CANCELLED: "CANCELLED";
48
+ readonly COMPLETED: "COMPLETED";
49
+ readonly FAILED: "FAILED";
50
+ readonly IN_PROGRESS: "IN_PROGRESS";
51
+ };
52
+ export type ImportStatus = (typeof ImportStatus)[keyof typeof ImportStatus];
46
53
  export declare const OutputFormat: {
47
54
  readonly JSON: "json";
48
55
  readonly PARQUET: "parquet";
@@ -10,6 +10,7 @@ import {
10
10
  ExecutionStatus,
11
11
  ExportTaskStatusCode,
12
12
  FlattenedElement,
13
+ ImportStatus,
13
14
  IndexSource,
14
15
  IndexType,
15
16
  InheritedProperty,
@@ -133,6 +134,19 @@ export interface AssociateSourceToS3TableIntegrationResponse {
133
134
  export interface CancelExportTaskRequest {
134
135
  taskId: string | undefined;
135
136
  }
137
+ export interface CancelImportTaskRequest {
138
+ importId: string | undefined;
139
+ }
140
+ export interface ImportStatistics {
141
+ bytesImported?: number | undefined;
142
+ }
143
+ export interface CancelImportTaskResponse {
144
+ importId?: string | undefined;
145
+ importStatistics?: ImportStatistics | undefined;
146
+ importStatus?: ImportStatus | undefined;
147
+ creationTime?: number | undefined;
148
+ lastUpdatedTime?: number | undefined;
149
+ }
136
150
  export interface S3DeliveryConfiguration {
137
151
  suffixPath?: string | undefined;
138
152
  enableHiveCompatiblePath?: boolean | undefined;
@@ -198,6 +212,20 @@ export interface CreateExportTaskRequest {
198
212
  export interface CreateExportTaskResponse {
199
213
  taskId?: string | undefined;
200
214
  }
215
+ export interface ImportFilter {
216
+ startEventTime?: number | undefined;
217
+ endEventTime?: number | undefined;
218
+ }
219
+ export interface CreateImportTaskRequest {
220
+ importSourceArn: string | undefined;
221
+ importRoleArn: string | undefined;
222
+ importFilter?: ImportFilter | undefined;
223
+ }
224
+ export interface CreateImportTaskResponse {
225
+ importId?: string | undefined;
226
+ importDestinationArn?: string | undefined;
227
+ creationTime?: number | undefined;
228
+ }
201
229
  export interface CreateLogAnomalyDetectorRequest {
202
230
  logGroupArnList: string[] | undefined;
203
231
  detectorName?: string | undefined;
@@ -469,6 +497,45 @@ export interface DescribeFieldIndexesResponse {
469
497
  fieldIndexes?: FieldIndex[] | undefined;
470
498
  nextToken?: string | undefined;
471
499
  }
500
+ export interface DescribeImportTaskBatchesRequest {
501
+ importId: string | undefined;
502
+ batchImportStatus?: ImportStatus[] | undefined;
503
+ limit?: number | undefined;
504
+ nextToken?: string | undefined;
505
+ }
506
+ export interface ImportBatch {
507
+ batchId: string | undefined;
508
+ status: ImportStatus | undefined;
509
+ errorMessage?: string | undefined;
510
+ }
511
+ export interface DescribeImportTaskBatchesResponse {
512
+ importSourceArn?: string | undefined;
513
+ importId?: string | undefined;
514
+ importBatches?: ImportBatch[] | undefined;
515
+ nextToken?: string | undefined;
516
+ }
517
+ export interface DescribeImportTasksRequest {
518
+ importId?: string | undefined;
519
+ importStatus?: ImportStatus | undefined;
520
+ importSourceArn?: string | undefined;
521
+ limit?: number | undefined;
522
+ nextToken?: string | undefined;
523
+ }
524
+ export interface Import {
525
+ importId?: string | undefined;
526
+ importSourceArn?: string | undefined;
527
+ importStatus?: ImportStatus | undefined;
528
+ importDestinationArn?: string | undefined;
529
+ importStatistics?: ImportStatistics | undefined;
530
+ importFilter?: ImportFilter | undefined;
531
+ creationTime?: number | undefined;
532
+ lastUpdatedTime?: number | undefined;
533
+ errorMessage?: string | undefined;
534
+ }
535
+ export interface DescribeImportTasksResponse {
536
+ imports?: Import[] | undefined;
537
+ nextToken?: string | undefined;
538
+ }
472
539
  export interface DescribeIndexPoliciesRequest {
473
540
  logGroupIdentifiers: string[] | undefined;
474
541
  nextToken?: string | undefined;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListAggregateLogGroupSummariesCommandInput,
4
+ ListAggregateLogGroupSummariesCommandOutput,
5
+ } from "../commands/ListAggregateLogGroupSummariesCommand";
6
+ import { CloudWatchLogsPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListAggregateLogGroupSummaries: (
8
+ config: CloudWatchLogsPaginationConfiguration,
9
+ input: ListAggregateLogGroupSummariesCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListAggregateLogGroupSummariesCommandOutput>;
@@ -11,6 +11,7 @@ export * from "./FilterLogEventsPaginator";
11
11
  export * from "./Interfaces";
12
12
  export * from "./GetLogEventsPaginator";
13
13
  export * from "./GetScheduledQueryHistoryPaginator";
14
+ export * from "./ListAggregateLogGroupSummariesPaginator";
14
15
  export * from "./ListAnomaliesPaginator";
15
16
  export * from "./ListLogAnomalyDetectorsPaginator";
16
17
  export * from "./ListLogGroupsForQueryPaginator";
@@ -27,8 +27,16 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
27
27
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
28
28
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
29
29
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
30
- apiVersion: string;
31
30
  cacheMiddleware?: boolean | undefined;
31
+ protocol:
32
+ | import("@smithy/types").ClientProtocol<any, any>
33
+ | import("@smithy/types").ClientProtocolCtor<any, any>
34
+ | typeof import("@aws-sdk/core").AwsJson1_1Protocol;
35
+ protocolSettings: {
36
+ defaultNamespace?: string;
37
+ [setting: string]: unknown;
38
+ };
39
+ apiVersion: string;
32
40
  urlParser: import("@smithy/types").UrlParser;
33
41
  base64Decoder: import("@smithy/types").Decoder;
34
42
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -39,10 +47,6 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
39
47
  profile?: string;
40
48
  logger: import("@smithy/types").Logger;
41
49
  extensions: import("./runtimeExtensions").RuntimeExtension[];
42
- protocol: import("@smithy/types").ClientProtocol<
43
- import("@smithy/types").HttpRequest,
44
- import("@smithy/types").HttpResponse
45
- >;
46
50
  customUserAgent?: string | import("@smithy/types").UserAgent;
47
51
  userAgentAppId?:
48
52
  | string
@@ -27,8 +27,16 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
27
27
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
28
28
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
29
29
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
30
- apiVersion: string;
31
30
  cacheMiddleware?: boolean | undefined;
31
+ protocol:
32
+ | import("@smithy/types").ClientProtocol<any, any>
33
+ | import("@smithy/types").ClientProtocolCtor<any, any>
34
+ | typeof import("@aws-sdk/core").AwsJson1_1Protocol;
35
+ protocolSettings: {
36
+ defaultNamespace?: string;
37
+ [setting: string]: unknown;
38
+ };
39
+ apiVersion: string;
32
40
  urlParser: import("@smithy/types").UrlParser;
33
41
  base64Decoder: import("@smithy/types").Decoder;
34
42
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -39,10 +47,6 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
39
47
  profile?: string;
40
48
  logger: import("@smithy/types").Logger;
41
49
  extensions: import("./runtimeExtensions").RuntimeExtension[];
42
- protocol: import("@smithy/types").ClientProtocol<
43
- import("@smithy/types").HttpRequest,
44
- import("@smithy/types").HttpResponse
45
- >;
46
50
  customUserAgent?: string | import("@smithy/types").UserAgent;
47
51
  retryStrategy?:
48
52
  | import("@smithy/types").RetryStrategy
@@ -8,8 +8,16 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
8
8
  | Record<string, unknown>
9
9
  | import("@smithy/protocol-http").HttpHandler<any>
10
10
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
11
- apiVersion: string;
12
11
  cacheMiddleware?: boolean;
12
+ protocol:
13
+ | import("@smithy/types").ClientProtocol<any, any>
14
+ | import("@smithy/types").ClientProtocolCtor<any, any>
15
+ | typeof import("@aws-sdk/core").AwsJson1_1Protocol;
16
+ protocolSettings: {
17
+ defaultNamespace?: string;
18
+ [setting: string]: unknown;
19
+ };
20
+ apiVersion: string;
13
21
  urlParser: import("@smithy/types").UrlParser;
14
22
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
15
23
  streamCollector: import("@smithy/types").StreamCollector;
@@ -37,10 +45,6 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
37
45
  retryMode: string | import("@smithy/types").Provider<string>;
38
46
  logger: import("@smithy/types").Logger;
39
47
  extensions: import("./runtimeExtensions").RuntimeExtension[];
40
- protocol: import("@smithy/types").ClientProtocol<
41
- import("@smithy/types").HttpRequest,
42
- import("@smithy/types").HttpResponse
43
- >;
44
48
  eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
45
49
  defaultsMode:
46
50
  | import("@smithy/smithy-client").DefaultsMode