@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
@@ -18,8 +18,13 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
18
18
  streamCollector: import("@smithy/types").StreamCollector;
19
19
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
20
20
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
21
- apiVersion: string;
22
21
  cacheMiddleware?: boolean | undefined;
22
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsJson1_1Protocol;
23
+ protocolSettings: {
24
+ defaultNamespace?: string;
25
+ [setting: string]: unknown;
26
+ };
27
+ apiVersion: string;
23
28
  urlParser: import("@smithy/types").UrlParser;
24
29
  base64Decoder: import("@smithy/types").Decoder;
25
30
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -30,7 +35,6 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
30
35
  profile?: string;
31
36
  logger: import("@smithy/types").Logger;
32
37
  extensions: import("./runtimeExtensions").RuntimeExtension[];
33
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
34
38
  customUserAgent?: string | import("@smithy/types").UserAgent;
35
39
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
36
40
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
@@ -20,8 +20,13 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
20
20
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
21
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
22
22
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
23
- apiVersion: string;
24
23
  cacheMiddleware?: boolean | undefined;
24
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsJson1_1Protocol;
25
+ protocolSettings: {
26
+ defaultNamespace?: string;
27
+ [setting: string]: unknown;
28
+ };
29
+ apiVersion: string;
25
30
  urlParser: import("@smithy/types").UrlParser;
26
31
  base64Decoder: import("@smithy/types").Decoder;
27
32
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -32,7 +37,6 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
32
37
  profile?: string;
33
38
  logger: import("@smithy/types").Logger;
34
39
  extensions: import("./runtimeExtensions").RuntimeExtension[];
35
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
36
40
  customUserAgent?: string | import("@smithy/types").UserAgent;
37
41
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
38
42
  endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
@@ -6,8 +6,13 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
6
6
  runtime: string;
7
7
  sha256: import("@smithy/types").HashConstructor;
8
8
  requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
- apiVersion: string;
10
9
  cacheMiddleware?: boolean;
10
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsJson1_1Protocol;
11
+ protocolSettings: {
12
+ defaultNamespace?: string;
13
+ [setting: string]: unknown;
14
+ };
15
+ apiVersion: string;
11
16
  urlParser: import("@smithy/types").UrlParser;
12
17
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
13
18
  streamCollector: import("@smithy/types").StreamCollector;
@@ -27,7 +32,6 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
27
32
  retryMode: string | import("@smithy/types").Provider<string>;
28
33
  logger: import("@smithy/types").Logger;
29
34
  extensions: import("./runtimeExtensions").RuntimeExtension[];
30
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
31
35
  eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
32
36
  defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
33
37
  customUserAgent?: string | import("@smithy/types").UserAgent;
@@ -1,3 +1,4 @@
1
+ import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
1
2
  import type { CloudWatchLogsClientConfig } from "./CloudWatchLogsClient";
2
3
  /**
3
4
  * @internal
@@ -14,7 +15,11 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
14
15
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CloudWatchLogsHttpAuthSchemeProvider;
15
16
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
16
17
  logger: import("@smithy/types").Logger;
17
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
18
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof AwsJson1_1Protocol;
19
+ protocolSettings: {
20
+ [setting: string]: unknown;
21
+ defaultNamespace?: string;
22
+ };
18
23
  serviceId: string;
19
24
  urlParser: import("@smithy/types").UrlParser;
20
25
  utf8Decoder: import("@smithy/types").Decoder;