@aws-sdk/client-cloudwatch-logs 3.50.0 → 3.53.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 (77) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/CloudWatchLogsServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +150 -2
  5. package/dist-cjs/protocols/Aws_json1_1.js +383 -1357
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/CloudWatchLogsServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +137 -1
  9. package/dist-es/protocols/Aws_json1_1.js +864 -1504
  10. package/dist-types/index.d.ts +1 -0
  11. package/dist-types/models/CloudWatchLogsServiceException.d.ts +10 -0
  12. package/dist-types/models/models_0.d.ts +79 -45
  13. package/dist-types/ts3.4/CloudWatchLogs.d.ts +215 -0
  14. package/dist-types/ts3.4/CloudWatchLogsClient.d.ts +115 -0
  15. package/dist-types/ts3.4/commands/AssociateKmsKeyCommand.d.ts +17 -0
  16. package/dist-types/ts3.4/commands/CancelExportTaskCommand.d.ts +17 -0
  17. package/dist-types/ts3.4/commands/CreateExportTaskCommand.d.ts +17 -0
  18. package/dist-types/ts3.4/commands/CreateLogGroupCommand.d.ts +17 -0
  19. package/dist-types/ts3.4/commands/CreateLogStreamCommand.d.ts +17 -0
  20. package/dist-types/ts3.4/commands/DeleteDestinationCommand.d.ts +17 -0
  21. package/dist-types/ts3.4/commands/DeleteLogGroupCommand.d.ts +17 -0
  22. package/dist-types/ts3.4/commands/DeleteLogStreamCommand.d.ts +17 -0
  23. package/dist-types/ts3.4/commands/DeleteMetricFilterCommand.d.ts +17 -0
  24. package/dist-types/ts3.4/commands/DeleteQueryDefinitionCommand.d.ts +17 -0
  25. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +17 -0
  26. package/dist-types/ts3.4/commands/DeleteRetentionPolicyCommand.d.ts +17 -0
  27. package/dist-types/ts3.4/commands/DeleteSubscriptionFilterCommand.d.ts +17 -0
  28. package/dist-types/ts3.4/commands/DescribeDestinationsCommand.d.ts +17 -0
  29. package/dist-types/ts3.4/commands/DescribeExportTasksCommand.d.ts +17 -0
  30. package/dist-types/ts3.4/commands/DescribeLogGroupsCommand.d.ts +17 -0
  31. package/dist-types/ts3.4/commands/DescribeLogStreamsCommand.d.ts +17 -0
  32. package/dist-types/ts3.4/commands/DescribeMetricFiltersCommand.d.ts +17 -0
  33. package/dist-types/ts3.4/commands/DescribeQueriesCommand.d.ts +17 -0
  34. package/dist-types/ts3.4/commands/DescribeQueryDefinitionsCommand.d.ts +17 -0
  35. package/dist-types/ts3.4/commands/DescribeResourcePoliciesCommand.d.ts +17 -0
  36. package/dist-types/ts3.4/commands/DescribeSubscriptionFiltersCommand.d.ts +17 -0
  37. package/dist-types/ts3.4/commands/DisassociateKmsKeyCommand.d.ts +17 -0
  38. package/dist-types/ts3.4/commands/FilterLogEventsCommand.d.ts +17 -0
  39. package/dist-types/ts3.4/commands/GetLogEventsCommand.d.ts +17 -0
  40. package/dist-types/ts3.4/commands/GetLogGroupFieldsCommand.d.ts +17 -0
  41. package/dist-types/ts3.4/commands/GetLogRecordCommand.d.ts +17 -0
  42. package/dist-types/ts3.4/commands/GetQueryResultsCommand.d.ts +17 -0
  43. package/dist-types/ts3.4/commands/ListTagsLogGroupCommand.d.ts +17 -0
  44. package/dist-types/ts3.4/commands/PutDestinationCommand.d.ts +17 -0
  45. package/dist-types/ts3.4/commands/PutDestinationPolicyCommand.d.ts +17 -0
  46. package/dist-types/ts3.4/commands/PutLogEventsCommand.d.ts +17 -0
  47. package/dist-types/ts3.4/commands/PutMetricFilterCommand.d.ts +17 -0
  48. package/dist-types/ts3.4/commands/PutQueryDefinitionCommand.d.ts +17 -0
  49. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +17 -0
  50. package/dist-types/ts3.4/commands/PutRetentionPolicyCommand.d.ts +17 -0
  51. package/dist-types/ts3.4/commands/PutSubscriptionFilterCommand.d.ts +17 -0
  52. package/dist-types/ts3.4/commands/StartQueryCommand.d.ts +17 -0
  53. package/dist-types/ts3.4/commands/StopQueryCommand.d.ts +17 -0
  54. package/dist-types/ts3.4/commands/TagLogGroupCommand.d.ts +17 -0
  55. package/dist-types/ts3.4/commands/TestMetricFilterCommand.d.ts +17 -0
  56. package/dist-types/ts3.4/commands/UntagLogGroupCommand.d.ts +17 -0
  57. package/dist-types/ts3.4/commands/index.d.ts +42 -0
  58. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  59. package/dist-types/ts3.4/index.d.ts +6 -0
  60. package/dist-types/ts3.4/models/CloudWatchLogsServiceException.d.ts +6 -0
  61. package/dist-types/ts3.4/models/index.d.ts +1 -0
  62. package/dist-types/ts3.4/models/models_0.d.ts +1222 -0
  63. package/dist-types/ts3.4/pagination/DescribeDestinationsPaginator.d.ts +4 -0
  64. package/dist-types/ts3.4/pagination/DescribeLogGroupsPaginator.d.ts +4 -0
  65. package/dist-types/ts3.4/pagination/DescribeLogStreamsPaginator.d.ts +4 -0
  66. package/dist-types/ts3.4/pagination/DescribeMetricFiltersPaginator.d.ts +4 -0
  67. package/dist-types/ts3.4/pagination/DescribeSubscriptionFiltersPaginator.d.ts +4 -0
  68. package/dist-types/ts3.4/pagination/FilterLogEventsPaginator.d.ts +4 -0
  69. package/dist-types/ts3.4/pagination/GetLogEventsPaginator.d.ts +4 -0
  70. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  71. package/dist-types/ts3.4/pagination/index.d.ts +8 -0
  72. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +128 -0
  73. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  74. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  75. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  76. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  77. package/package.json +33 -33
package/dist-es/index.js CHANGED
@@ -3,3 +3,4 @@ export * from "./CloudWatchLogsClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { CloudWatchLogsServiceException } from "./models/CloudWatchLogsServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var CloudWatchLogsServiceException = (function (_super) {
4
+ __extends(CloudWatchLogsServiceException, _super);
5
+ function CloudWatchLogsServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, CloudWatchLogsServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return CloudWatchLogsServiceException;
11
+ }(__ServiceException));
12
+ export { CloudWatchLogsServiceException };
@@ -1,12 +1,73 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
+ import { CloudWatchLogsServiceException as __BaseException } from "./CloudWatchLogsServiceException";
2
3
  export var AssociateKmsKeyRequest;
3
4
  (function (AssociateKmsKeyRequest) {
4
5
  AssociateKmsKeyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
5
6
  })(AssociateKmsKeyRequest || (AssociateKmsKeyRequest = {}));
7
+ var InvalidParameterException = (function (_super) {
8
+ __extends(InvalidParameterException, _super);
9
+ function InvalidParameterException(opts) {
10
+ var _this = _super.call(this, __assign({ name: "InvalidParameterException", $fault: "client" }, opts)) || this;
11
+ _this.name = "InvalidParameterException";
12
+ _this.$fault = "client";
13
+ Object.setPrototypeOf(_this, InvalidParameterException.prototype);
14
+ return _this;
15
+ }
16
+ return InvalidParameterException;
17
+ }(__BaseException));
18
+ export { InvalidParameterException };
19
+ var OperationAbortedException = (function (_super) {
20
+ __extends(OperationAbortedException, _super);
21
+ function OperationAbortedException(opts) {
22
+ var _this = _super.call(this, __assign({ name: "OperationAbortedException", $fault: "client" }, opts)) || this;
23
+ _this.name = "OperationAbortedException";
24
+ _this.$fault = "client";
25
+ Object.setPrototypeOf(_this, OperationAbortedException.prototype);
26
+ return _this;
27
+ }
28
+ return OperationAbortedException;
29
+ }(__BaseException));
30
+ export { OperationAbortedException };
31
+ var ResourceNotFoundException = (function (_super) {
32
+ __extends(ResourceNotFoundException, _super);
33
+ function ResourceNotFoundException(opts) {
34
+ var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
35
+ _this.name = "ResourceNotFoundException";
36
+ _this.$fault = "client";
37
+ Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
38
+ return _this;
39
+ }
40
+ return ResourceNotFoundException;
41
+ }(__BaseException));
42
+ export { ResourceNotFoundException };
43
+ var ServiceUnavailableException = (function (_super) {
44
+ __extends(ServiceUnavailableException, _super);
45
+ function ServiceUnavailableException(opts) {
46
+ var _this = _super.call(this, __assign({ name: "ServiceUnavailableException", $fault: "server" }, opts)) || this;
47
+ _this.name = "ServiceUnavailableException";
48
+ _this.$fault = "server";
49
+ Object.setPrototypeOf(_this, ServiceUnavailableException.prototype);
50
+ return _this;
51
+ }
52
+ return ServiceUnavailableException;
53
+ }(__BaseException));
54
+ export { ServiceUnavailableException };
6
55
  export var CancelExportTaskRequest;
7
56
  (function (CancelExportTaskRequest) {
8
57
  CancelExportTaskRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
9
58
  })(CancelExportTaskRequest || (CancelExportTaskRequest = {}));
59
+ var InvalidOperationException = (function (_super) {
60
+ __extends(InvalidOperationException, _super);
61
+ function InvalidOperationException(opts) {
62
+ var _this = _super.call(this, __assign({ name: "InvalidOperationException", $fault: "client" }, opts)) || this;
63
+ _this.name = "InvalidOperationException";
64
+ _this.$fault = "client";
65
+ Object.setPrototypeOf(_this, InvalidOperationException.prototype);
66
+ return _this;
67
+ }
68
+ return InvalidOperationException;
69
+ }(__BaseException));
70
+ export { InvalidOperationException };
10
71
  export var CreateExportTaskRequest;
11
72
  (function (CreateExportTaskRequest) {
12
73
  CreateExportTaskRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -15,6 +76,30 @@ export var CreateExportTaskResponse;
15
76
  (function (CreateExportTaskResponse) {
16
77
  CreateExportTaskResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
17
78
  })(CreateExportTaskResponse || (CreateExportTaskResponse = {}));
79
+ var LimitExceededException = (function (_super) {
80
+ __extends(LimitExceededException, _super);
81
+ function LimitExceededException(opts) {
82
+ var _this = _super.call(this, __assign({ name: "LimitExceededException", $fault: "client" }, opts)) || this;
83
+ _this.name = "LimitExceededException";
84
+ _this.$fault = "client";
85
+ Object.setPrototypeOf(_this, LimitExceededException.prototype);
86
+ return _this;
87
+ }
88
+ return LimitExceededException;
89
+ }(__BaseException));
90
+ export { LimitExceededException };
91
+ var ResourceAlreadyExistsException = (function (_super) {
92
+ __extends(ResourceAlreadyExistsException, _super);
93
+ function ResourceAlreadyExistsException(opts) {
94
+ var _this = _super.call(this, __assign({ name: "ResourceAlreadyExistsException", $fault: "client" }, opts)) || this;
95
+ _this.name = "ResourceAlreadyExistsException";
96
+ _this.$fault = "client";
97
+ Object.setPrototypeOf(_this, ResourceAlreadyExistsException.prototype);
98
+ return _this;
99
+ }
100
+ return ResourceAlreadyExistsException;
101
+ }(__BaseException));
102
+ export { ResourceAlreadyExistsException };
18
103
  export var CreateLogGroupRequest;
19
104
  (function (CreateLogGroupRequest) {
20
105
  CreateLogGroupRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -23,6 +108,19 @@ export var CreateLogStreamRequest;
23
108
  (function (CreateLogStreamRequest) {
24
109
  CreateLogStreamRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
25
110
  })(CreateLogStreamRequest || (CreateLogStreamRequest = {}));
111
+ var DataAlreadyAcceptedException = (function (_super) {
112
+ __extends(DataAlreadyAcceptedException, _super);
113
+ function DataAlreadyAcceptedException(opts) {
114
+ var _this = _super.call(this, __assign({ name: "DataAlreadyAcceptedException", $fault: "client" }, opts)) || this;
115
+ _this.name = "DataAlreadyAcceptedException";
116
+ _this.$fault = "client";
117
+ Object.setPrototypeOf(_this, DataAlreadyAcceptedException.prototype);
118
+ _this.expectedSequenceToken = opts.expectedSequenceToken;
119
+ return _this;
120
+ }
121
+ return DataAlreadyAcceptedException;
122
+ }(__BaseException));
123
+ export { DataAlreadyAcceptedException };
26
124
  export var DeleteDestinationRequest;
27
125
  (function (DeleteDestinationRequest) {
28
126
  DeleteDestinationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -310,6 +408,19 @@ export var InputLogEvent;
310
408
  (function (InputLogEvent) {
311
409
  InputLogEvent.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
312
410
  })(InputLogEvent || (InputLogEvent = {}));
411
+ var InvalidSequenceTokenException = (function (_super) {
412
+ __extends(InvalidSequenceTokenException, _super);
413
+ function InvalidSequenceTokenException(opts) {
414
+ var _this = _super.call(this, __assign({ name: "InvalidSequenceTokenException", $fault: "client" }, opts)) || this;
415
+ _this.name = "InvalidSequenceTokenException";
416
+ _this.$fault = "client";
417
+ Object.setPrototypeOf(_this, InvalidSequenceTokenException.prototype);
418
+ _this.expectedSequenceToken = opts.expectedSequenceToken;
419
+ return _this;
420
+ }
421
+ return InvalidSequenceTokenException;
422
+ }(__BaseException));
423
+ export { InvalidSequenceTokenException };
313
424
  export var ListTagsLogGroupRequest;
314
425
  (function (ListTagsLogGroupRequest) {
315
426
  ListTagsLogGroupRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -342,6 +453,18 @@ export var PutLogEventsResponse;
342
453
  (function (PutLogEventsResponse) {
343
454
  PutLogEventsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
344
455
  })(PutLogEventsResponse || (PutLogEventsResponse = {}));
456
+ var UnrecognizedClientException = (function (_super) {
457
+ __extends(UnrecognizedClientException, _super);
458
+ function UnrecognizedClientException(opts) {
459
+ var _this = _super.call(this, __assign({ name: "UnrecognizedClientException", $fault: "client" }, opts)) || this;
460
+ _this.name = "UnrecognizedClientException";
461
+ _this.$fault = "client";
462
+ Object.setPrototypeOf(_this, UnrecognizedClientException.prototype);
463
+ return _this;
464
+ }
465
+ return UnrecognizedClientException;
466
+ }(__BaseException));
467
+ export { UnrecognizedClientException };
345
468
  export var PutMetricFilterRequest;
346
469
  (function (PutMetricFilterRequest) {
347
470
  PutMetricFilterRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -378,6 +501,19 @@ export var QueryCompileError;
378
501
  (function (QueryCompileError) {
379
502
  QueryCompileError.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
380
503
  })(QueryCompileError || (QueryCompileError = {}));
504
+ var MalformedQueryException = (function (_super) {
505
+ __extends(MalformedQueryException, _super);
506
+ function MalformedQueryException(opts) {
507
+ var _this = _super.call(this, __assign({ name: "MalformedQueryException", $fault: "client" }, opts)) || this;
508
+ _this.name = "MalformedQueryException";
509
+ _this.$fault = "client";
510
+ Object.setPrototypeOf(_this, MalformedQueryException.prototype);
511
+ _this.queryCompileError = opts.queryCompileError;
512
+ return _this;
513
+ }
514
+ return MalformedQueryException;
515
+ }(__BaseException));
516
+ export { MalformedQueryException };
381
517
  export var StartQueryRequest;
382
518
  (function (StartQueryRequest) {
383
519
  StartQueryRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };