@aws-sdk/client-cloudwatch-logs 3.470.0 → 3.473.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 (40) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/CloudWatchLogs.js +2 -0
  3. package/dist-cjs/CloudWatchLogsClient.js +5 -3
  4. package/dist-cjs/commands/StartLiveTailCommand.js +55 -0
  5. package/dist-cjs/commands/index.js +1 -0
  6. package/dist-cjs/models/models_0.js +59 -1
  7. package/dist-cjs/protocols/Aws_json1_1.js +128 -2
  8. package/dist-cjs/runtimeConfig.browser.js +2 -0
  9. package/dist-cjs/runtimeConfig.js +2 -0
  10. package/dist-es/CloudWatchLogs.js +2 -0
  11. package/dist-es/CloudWatchLogsClient.js +5 -3
  12. package/dist-es/commands/StartLiveTailCommand.js +51 -0
  13. package/dist-es/commands/index.js +1 -0
  14. package/dist-es/models/models_0.js +54 -0
  15. package/dist-es/protocols/Aws_json1_1.js +126 -2
  16. package/dist-es/runtimeConfig.browser.js +2 -0
  17. package/dist-es/runtimeConfig.js +2 -0
  18. package/dist-types/CloudWatchLogs.d.ts +7 -0
  19. package/dist-types/CloudWatchLogsClient.d.ts +11 -5
  20. package/dist-types/commands/CreateDeliveryCommand.d.ts +1 -1
  21. package/dist-types/commands/DescribeQueryDefinitionsCommand.d.ts +2 -1
  22. package/dist-types/commands/PutDeliveryDestinationCommand.d.ts +1 -1
  23. package/dist-types/commands/PutDeliverySourceCommand.d.ts +1 -1
  24. package/dist-types/commands/StartLiveTailCommand.d.ts +169 -0
  25. package/dist-types/commands/index.d.ts +1 -0
  26. package/dist-types/models/models_0.d.ts +278 -4
  27. package/dist-types/protocols/Aws_json1_1.d.ts +10 -1
  28. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  29. package/dist-types/runtimeConfig.d.ts +1 -0
  30. package/dist-types/runtimeConfig.native.d.ts +1 -0
  31. package/dist-types/ts3.4/CloudWatchLogs.d.ts +17 -0
  32. package/dist-types/ts3.4/CloudWatchLogsClient.d.ts +14 -0
  33. package/dist-types/ts3.4/commands/StartLiveTailCommand.d.ts +38 -0
  34. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  35. package/dist-types/ts3.4/models/models_0.d.ts +105 -0
  36. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +16 -1
  37. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
  38. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
  39. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  40. package/package.json +5 -2
@@ -2,7 +2,10 @@ import {
2
2
  HttpRequest as __HttpRequest,
3
3
  HttpResponse as __HttpResponse,
4
4
  } from "@smithy/protocol-http";
5
- import { SerdeContext as __SerdeContext } from "@smithy/types";
5
+ import {
6
+ EventStreamSerdeContext as __EventStreamSerdeContext,
7
+ SerdeContext as __SerdeContext,
8
+ } from "@smithy/types";
6
9
  import {
7
10
  AssociateKmsKeyCommandInput,
8
11
  AssociateKmsKeyCommandOutput,
@@ -259,6 +262,10 @@ import {
259
262
  PutSubscriptionFilterCommandInput,
260
263
  PutSubscriptionFilterCommandOutput,
261
264
  } from "../commands/PutSubscriptionFilterCommand";
265
+ import {
266
+ StartLiveTailCommandInput,
267
+ StartLiveTailCommandOutput,
268
+ } from "../commands/StartLiveTailCommand";
262
269
  import {
263
270
  StartQueryCommandInput,
264
271
  StartQueryCommandOutput,
@@ -551,6 +558,10 @@ export declare const se_PutSubscriptionFilterCommand: (
551
558
  input: PutSubscriptionFilterCommandInput,
552
559
  context: __SerdeContext
553
560
  ) => Promise<__HttpRequest>;
561
+ export declare const se_StartLiveTailCommand: (
562
+ input: StartLiveTailCommandInput,
563
+ context: __SerdeContext
564
+ ) => Promise<__HttpRequest>;
554
565
  export declare const se_StartQueryCommand: (
555
566
  input: StartQueryCommandInput,
556
567
  context: __SerdeContext
@@ -843,6 +854,10 @@ export declare const de_PutSubscriptionFilterCommand: (
843
854
  output: __HttpResponse,
844
855
  context: __SerdeContext
845
856
  ) => Promise<PutSubscriptionFilterCommandOutput>;
857
+ export declare const de_StartLiveTailCommand: (
858
+ output: __HttpResponse,
859
+ context: __SerdeContext & __EventStreamSerdeContext
860
+ ) => Promise<StartLiveTailCommandOutput>;
846
861
  export declare const de_StartQueryCommand: (
847
862
  output: __HttpResponse,
848
863
  context: __SerdeContext
@@ -12,6 +12,7 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
12
12
  defaultUserAgentProvider: import("@smithy/types").Provider<
13
13
  import("@smithy/types").UserAgent
14
14
  >;
15
+ eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
15
16
  maxAttempts: number | import("@smithy/types").Provider<number>;
16
17
  region: string | import("@smithy/types").Provider<any>;
17
18
  requestHandler:
@@ -12,6 +12,7 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
12
12
  defaultUserAgentProvider: import("@smithy/types").Provider<
13
13
  import("@smithy/types").UserAgent
14
14
  >;
15
+ eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
15
16
  maxAttempts: number | import("@smithy/types").Provider<number>;
16
17
  region: string | import("@smithy/types").Provider<string>;
17
18
  requestHandler:
@@ -40,6 +40,7 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
40
40
  retryMode: string | import("@smithy/types").Provider<string>;
41
41
  logger: import("@smithy/types").Logger;
42
42
  extensions: import("./runtimeExtensions").RuntimeExtension[];
43
+ eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
43
44
  defaultsMode:
44
45
  | import("@smithy/smithy-client").DefaultsMode
45
46
  | import("@smithy/types").Provider<
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudwatch-logs",
3
3
  "description": "AWS SDK for JavaScript Cloudwatch Logs Client for Node.js, Browser and React Native",
4
- "version": "3.470.0",
4
+ "version": "3.473.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,7 +20,7 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.470.0",
23
+ "@aws-sdk/client-sts": "3.473.0",
24
24
  "@aws-sdk/core": "3.468.0",
25
25
  "@aws-sdk/credential-provider-node": "3.470.0",
26
26
  "@aws-sdk/middleware-host-header": "3.468.0",
@@ -34,6 +34,9 @@
34
34
  "@aws-sdk/util-user-agent-browser": "3.468.0",
35
35
  "@aws-sdk/util-user-agent-node": "3.470.0",
36
36
  "@smithy/config-resolver": "^2.0.21",
37
+ "@smithy/eventstream-serde-browser": "^2.0.15",
38
+ "@smithy/eventstream-serde-config-resolver": "^2.0.15",
39
+ "@smithy/eventstream-serde-node": "^2.0.15",
37
40
  "@smithy/fetch-http-handler": "^2.3.1",
38
41
  "@smithy/hash-node": "^2.0.17",
39
42
  "@smithy/invalid-dependency": "^2.0.15",