@aws-sdk/client-cloudwatch-logs 3.929.0 → 3.931.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -427,14 +427,6 @@ const OpenSearchResourceStatusType = {
427
427
  ERROR: "ERROR",
428
428
  NOT_FOUND: "NOT_FOUND",
429
429
  };
430
- exports.IntegrationDetails = void 0;
431
- (function (IntegrationDetails) {
432
- IntegrationDetails.visit = (value, visitor) => {
433
- if (value.openSearchIntegrationDetails !== undefined)
434
- return visitor.openSearchIntegrationDetails(value.openSearchIntegrationDetails);
435
- return visitor._(value.$unknown[0], value.$unknown[1]);
436
- };
437
- })(exports.IntegrationDetails || (exports.IntegrationDetails = {}));
438
430
  const IntegrationStatus = {
439
431
  ACTIVE: "ACTIVE",
440
432
  FAILED: "FAILED",
@@ -455,16 +447,6 @@ let InternalStreamingException$1 = class InternalStreamingException extends Clou
455
447
  Object.setPrototypeOf(this, InternalStreamingException.prototype);
456
448
  }
457
449
  };
458
- exports.GetLogObjectResponseStream = void 0;
459
- (function (GetLogObjectResponseStream) {
460
- GetLogObjectResponseStream.visit = (value, visitor) => {
461
- if (value.fields !== undefined)
462
- return visitor.fields(value.fields);
463
- if (value.InternalStreamingException !== undefined)
464
- return visitor.InternalStreamingException(value.InternalStreamingException);
465
- return visitor._(value.$unknown[0], value.$unknown[1]);
466
- };
467
- })(exports.GetLogObjectResponseStream || (exports.GetLogObjectResponseStream = {}));
468
450
  const OCSFVersion = {
469
451
  V1_1: "V1.1",
470
452
  };
@@ -492,14 +474,6 @@ const SuppressionState = {
492
474
  SUPPRESSED: "SUPPRESSED",
493
475
  UNSUPPRESSED: "UNSUPPRESSED",
494
476
  };
495
- exports.ResourceConfig = void 0;
496
- (function (ResourceConfig) {
497
- ResourceConfig.visit = (value, visitor) => {
498
- if (value.openSearchResourceConfig !== undefined)
499
- return visitor.openSearchResourceConfig(value.openSearchResourceConfig);
500
- return visitor._(value.$unknown[0], value.$unknown[1]);
501
- };
502
- })(exports.ResourceConfig || (exports.ResourceConfig = {}));
503
477
  let UnrecognizedClientException$1 = class UnrecognizedClientException extends CloudWatchLogsServiceException$1 {
504
478
  name = "UnrecognizedClientException";
505
479
  $fault = "client";
@@ -536,20 +510,6 @@ let SessionTimeoutException$1 = class SessionTimeoutException extends CloudWatch
536
510
  Object.setPrototypeOf(this, SessionTimeoutException.prototype);
537
511
  }
538
512
  };
539
- exports.StartLiveTailResponseStream = void 0;
540
- (function (StartLiveTailResponseStream) {
541
- StartLiveTailResponseStream.visit = (value, visitor) => {
542
- if (value.sessionStart !== undefined)
543
- return visitor.sessionStart(value.sessionStart);
544
- if (value.sessionUpdate !== undefined)
545
- return visitor.sessionUpdate(value.sessionUpdate);
546
- if (value.SessionTimeoutException !== undefined)
547
- return visitor.SessionTimeoutException(value.SessionTimeoutException);
548
- if (value.SessionStreamingException !== undefined)
549
- return visitor.SessionStreamingException(value.SessionStreamingException);
550
- return visitor._(value.$unknown[0], value.$unknown[1]);
551
- };
552
- })(exports.StartLiveTailResponseStream || (exports.StartLiveTailResponseStream = {}));
553
513
  let MalformedQueryException$1 = class MalformedQueryException extends CloudWatchLogsServiceException$1 {
554
514
  name = "MalformedQueryException";
555
515
  $fault = "client";
@@ -307,14 +307,6 @@ export const OpenSearchResourceStatusType = {
307
307
  ERROR: "ERROR",
308
308
  NOT_FOUND: "NOT_FOUND",
309
309
  };
310
- export var IntegrationDetails;
311
- (function (IntegrationDetails) {
312
- IntegrationDetails.visit = (value, visitor) => {
313
- if (value.openSearchIntegrationDetails !== undefined)
314
- return visitor.openSearchIntegrationDetails(value.openSearchIntegrationDetails);
315
- return visitor._(value.$unknown[0], value.$unknown[1]);
316
- };
317
- })(IntegrationDetails || (IntegrationDetails = {}));
318
310
  export const IntegrationStatus = {
319
311
  ACTIVE: "ACTIVE",
320
312
  FAILED: "FAILED",
@@ -335,16 +327,6 @@ export class InternalStreamingException extends __BaseException {
335
327
  Object.setPrototypeOf(this, InternalStreamingException.prototype);
336
328
  }
337
329
  }
338
- export var GetLogObjectResponseStream;
339
- (function (GetLogObjectResponseStream) {
340
- GetLogObjectResponseStream.visit = (value, visitor) => {
341
- if (value.fields !== undefined)
342
- return visitor.fields(value.fields);
343
- if (value.InternalStreamingException !== undefined)
344
- return visitor.InternalStreamingException(value.InternalStreamingException);
345
- return visitor._(value.$unknown[0], value.$unknown[1]);
346
- };
347
- })(GetLogObjectResponseStream || (GetLogObjectResponseStream = {}));
348
330
  export const OCSFVersion = {
349
331
  V1_1: "V1.1",
350
332
  };
@@ -372,14 +354,6 @@ export const SuppressionState = {
372
354
  SUPPRESSED: "SUPPRESSED",
373
355
  UNSUPPRESSED: "UNSUPPRESSED",
374
356
  };
375
- export var ResourceConfig;
376
- (function (ResourceConfig) {
377
- ResourceConfig.visit = (value, visitor) => {
378
- if (value.openSearchResourceConfig !== undefined)
379
- return visitor.openSearchResourceConfig(value.openSearchResourceConfig);
380
- return visitor._(value.$unknown[0], value.$unknown[1]);
381
- };
382
- })(ResourceConfig || (ResourceConfig = {}));
383
357
  export class UnrecognizedClientException extends __BaseException {
384
358
  name = "UnrecognizedClientException";
385
359
  $fault = "client";
@@ -416,20 +390,6 @@ export class SessionTimeoutException extends __BaseException {
416
390
  Object.setPrototypeOf(this, SessionTimeoutException.prototype);
417
391
  }
418
392
  }
419
- export var StartLiveTailResponseStream;
420
- (function (StartLiveTailResponseStream) {
421
- StartLiveTailResponseStream.visit = (value, visitor) => {
422
- if (value.sessionStart !== undefined)
423
- return visitor.sessionStart(value.sessionStart);
424
- if (value.sessionUpdate !== undefined)
425
- return visitor.sessionUpdate(value.sessionUpdate);
426
- if (value.SessionTimeoutException !== undefined)
427
- return visitor.SessionTimeoutException(value.SessionTimeoutException);
428
- if (value.SessionStreamingException !== undefined)
429
- return visitor.SessionStreamingException(value.SessionStreamingException);
430
- return visitor._(value.$unknown[0], value.$unknown[1]);
431
- };
432
- })(StartLiveTailResponseStream || (StartLiveTailResponseStream = {}));
433
393
  export class MalformedQueryException extends __BaseException {
434
394
  name = "MalformedQueryException";
435
395
  $fault = "client";
@@ -3979,11 +3979,14 @@ export declare namespace IntegrationDetails {
3979
3979
  openSearchIntegrationDetails?: never;
3980
3980
  $unknown: [string, any];
3981
3981
  }
3982
+ /**
3983
+ * @deprecated unused in schema-serde mode.
3984
+ *
3985
+ */
3982
3986
  interface Visitor<T> {
3983
3987
  openSearchIntegrationDetails: (value: OpenSearchIntegrationDetails) => T;
3984
3988
  _: (name: string, value: any) => T;
3985
3989
  }
3986
- const visit: <T>(value: IntegrationDetails, visitor: Visitor<T>) => T;
3987
3990
  }
3988
3991
  /**
3989
3992
  * @public
@@ -4362,12 +4365,15 @@ export declare namespace GetLogObjectResponseStream {
4362
4365
  InternalStreamingException?: never;
4363
4366
  $unknown: [string, any];
4364
4367
  }
4368
+ /**
4369
+ * @deprecated unused in schema-serde mode.
4370
+ *
4371
+ */
4365
4372
  interface Visitor<T> {
4366
4373
  fields: (value: FieldsData) => T;
4367
4374
  InternalStreamingException: (value: InternalStreamingException) => T;
4368
4375
  _: (name: string, value: any) => T;
4369
4376
  }
4370
- const visit: <T>(value: GetLogObjectResponseStream, visitor: Visitor<T>) => T;
4371
4377
  }
4372
4378
  /**
4373
4379
  * <p>The response from the GetLogObject operation.</p>
@@ -6291,11 +6297,14 @@ export declare namespace ResourceConfig {
6291
6297
  openSearchResourceConfig?: never;
6292
6298
  $unknown: [string, any];
6293
6299
  }
6300
+ /**
6301
+ * @deprecated unused in schema-serde mode.
6302
+ *
6303
+ */
6294
6304
  interface Visitor<T> {
6295
6305
  openSearchResourceConfig: (value: OpenSearchResourceConfig) => T;
6296
6306
  _: (name: string, value: any) => T;
6297
6307
  }
6298
- const visit: <T>(value: ResourceConfig, visitor: Visitor<T>) => T;
6299
6308
  }
6300
6309
  /**
6301
6310
  * @public
@@ -6880,6 +6889,10 @@ export declare namespace StartLiveTailResponseStream {
6880
6889
  SessionStreamingException?: never;
6881
6890
  $unknown: [string, any];
6882
6891
  }
6892
+ /**
6893
+ * @deprecated unused in schema-serde mode.
6894
+ *
6895
+ */
6883
6896
  interface Visitor<T> {
6884
6897
  sessionStart: (value: LiveTailSessionStart) => T;
6885
6898
  sessionUpdate: (value: LiveTailSessionUpdate) => T;
@@ -6887,7 +6900,6 @@ export declare namespace StartLiveTailResponseStream {
6887
6900
  SessionStreamingException: (value: SessionStreamingException) => T;
6888
6901
  _: (name: string, value: any) => T;
6889
6902
  }
6890
- const visit: <T>(value: StartLiveTailResponseStream, visitor: Visitor<T>) => T;
6891
6903
  }
6892
6904
  /**
6893
6905
  * @public
@@ -958,7 +958,6 @@ export declare namespace IntegrationDetails {
958
958
  openSearchIntegrationDetails: (value: OpenSearchIntegrationDetails) => T;
959
959
  _: (name: string, value: any) => T;
960
960
  }
961
- const visit: <T>(value: IntegrationDetails, visitor: Visitor<T>) => T;
962
961
  }
963
962
  export declare const IntegrationStatus: {
964
963
  readonly ACTIVE: "ACTIVE";
@@ -1061,7 +1060,6 @@ export declare namespace GetLogObjectResponseStream {
1061
1060
  InternalStreamingException: (value: InternalStreamingException) => T;
1062
1061
  _: (name: string, value: any) => T;
1063
1062
  }
1064
- const visit: <T>(value: GetLogObjectResponseStream, visitor: Visitor<T>) => T;
1065
1063
  }
1066
1064
  export interface GetLogObjectResponse {
1067
1065
  fieldStream?: AsyncIterable<GetLogObjectResponseStream> | undefined;
@@ -1433,7 +1431,6 @@ export declare namespace ResourceConfig {
1433
1431
  openSearchResourceConfig: (value: OpenSearchResourceConfig) => T;
1434
1432
  _: (name: string, value: any) => T;
1435
1433
  }
1436
- const visit: <T>(value: ResourceConfig, visitor: Visitor<T>) => T;
1437
1434
  }
1438
1435
  export interface PutIntegrationRequest {
1439
1436
  integrationName: string | undefined;
@@ -1589,10 +1586,6 @@ export declare namespace StartLiveTailResponseStream {
1589
1586
  SessionStreamingException: (value: SessionStreamingException) => T;
1590
1587
  _: (name: string, value: any) => T;
1591
1588
  }
1592
- const visit: <T>(
1593
- value: StartLiveTailResponseStream,
1594
- visitor: Visitor<T>
1595
- ) => T;
1596
1589
  }
1597
1590
  export interface StartLiveTailResponse {
1598
1591
  responseStream?: AsyncIterable<StartLiveTailResponseStream> | undefined;
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.929.0",
4
+ "version": "3.931.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-cloudwatch-logs",
@@ -22,44 +22,44 @@
22
22
  "dependencies": {
23
23
  "@aws-crypto/sha256-browser": "5.2.0",
24
24
  "@aws-crypto/sha256-js": "5.2.0",
25
- "@aws-sdk/core": "3.928.0",
26
- "@aws-sdk/credential-provider-node": "3.929.0",
27
- "@aws-sdk/middleware-host-header": "3.922.0",
28
- "@aws-sdk/middleware-logger": "3.922.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.922.0",
30
- "@aws-sdk/middleware-user-agent": "3.928.0",
31
- "@aws-sdk/region-config-resolver": "3.925.0",
32
- "@aws-sdk/types": "3.922.0",
33
- "@aws-sdk/util-endpoints": "3.922.0",
34
- "@aws-sdk/util-user-agent-browser": "3.922.0",
35
- "@aws-sdk/util-user-agent-node": "3.928.0",
36
- "@smithy/config-resolver": "^4.4.2",
37
- "@smithy/core": "^3.17.2",
38
- "@smithy/eventstream-serde-browser": "^4.2.4",
39
- "@smithy/eventstream-serde-config-resolver": "^4.3.4",
40
- "@smithy/eventstream-serde-node": "^4.2.4",
41
- "@smithy/fetch-http-handler": "^5.3.5",
42
- "@smithy/hash-node": "^4.2.4",
43
- "@smithy/invalid-dependency": "^4.2.4",
44
- "@smithy/middleware-content-length": "^4.2.4",
45
- "@smithy/middleware-endpoint": "^4.3.6",
46
- "@smithy/middleware-retry": "^4.4.6",
47
- "@smithy/middleware-serde": "^4.2.4",
48
- "@smithy/middleware-stack": "^4.2.4",
49
- "@smithy/node-config-provider": "^4.3.4",
50
- "@smithy/node-http-handler": "^4.4.4",
51
- "@smithy/protocol-http": "^5.3.4",
52
- "@smithy/smithy-client": "^4.9.2",
53
- "@smithy/types": "^4.8.1",
54
- "@smithy/url-parser": "^4.2.4",
25
+ "@aws-sdk/core": "3.931.0",
26
+ "@aws-sdk/credential-provider-node": "3.931.0",
27
+ "@aws-sdk/middleware-host-header": "3.930.0",
28
+ "@aws-sdk/middleware-logger": "3.930.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.930.0",
30
+ "@aws-sdk/middleware-user-agent": "3.931.0",
31
+ "@aws-sdk/region-config-resolver": "3.930.0",
32
+ "@aws-sdk/types": "3.930.0",
33
+ "@aws-sdk/util-endpoints": "3.930.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.930.0",
35
+ "@aws-sdk/util-user-agent-node": "3.931.0",
36
+ "@smithy/config-resolver": "^4.4.3",
37
+ "@smithy/core": "^3.18.2",
38
+ "@smithy/eventstream-serde-browser": "^4.2.5",
39
+ "@smithy/eventstream-serde-config-resolver": "^4.3.5",
40
+ "@smithy/eventstream-serde-node": "^4.2.5",
41
+ "@smithy/fetch-http-handler": "^5.3.6",
42
+ "@smithy/hash-node": "^4.2.5",
43
+ "@smithy/invalid-dependency": "^4.2.5",
44
+ "@smithy/middleware-content-length": "^4.2.5",
45
+ "@smithy/middleware-endpoint": "^4.3.9",
46
+ "@smithy/middleware-retry": "^4.4.9",
47
+ "@smithy/middleware-serde": "^4.2.5",
48
+ "@smithy/middleware-stack": "^4.2.5",
49
+ "@smithy/node-config-provider": "^4.3.5",
50
+ "@smithy/node-http-handler": "^4.4.5",
51
+ "@smithy/protocol-http": "^5.3.5",
52
+ "@smithy/smithy-client": "^4.9.5",
53
+ "@smithy/types": "^4.9.0",
54
+ "@smithy/url-parser": "^4.2.5",
55
55
  "@smithy/util-base64": "^4.3.0",
56
56
  "@smithy/util-body-length-browser": "^4.2.0",
57
57
  "@smithy/util-body-length-node": "^4.2.1",
58
- "@smithy/util-defaults-mode-browser": "^4.3.5",
59
- "@smithy/util-defaults-mode-node": "^4.2.8",
60
- "@smithy/util-endpoints": "^3.2.4",
61
- "@smithy/util-middleware": "^4.2.4",
62
- "@smithy/util-retry": "^4.2.4",
58
+ "@smithy/util-defaults-mode-browser": "^4.3.8",
59
+ "@smithy/util-defaults-mode-node": "^4.2.11",
60
+ "@smithy/util-endpoints": "^3.2.5",
61
+ "@smithy/util-middleware": "^4.2.5",
62
+ "@smithy/util-retry": "^4.2.5",
63
63
  "@smithy/util-utf8": "^4.2.0",
64
64
  "tslib": "^2.6.2"
65
65
  },