@aws-sdk/client-cloudwatch-logs 3.940.0 → 3.943.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 (61) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/index.js +328 -71
  3. package/dist-es/CloudWatchLogs.js +10 -0
  4. package/dist-es/commands/AssociateSourceToS3TableIntegrationCommand.js +16 -0
  5. package/dist-es/commands/DisassociateSourceFromS3TableIntegrationCommand.js +16 -0
  6. package/dist-es/commands/GetLogFieldsCommand.js +16 -0
  7. package/dist-es/commands/ListAggregateLogGroupSummariesCommand.js +16 -0
  8. package/dist-es/commands/ListSourcesForS3TableIntegrationCommand.js +16 -0
  9. package/dist-es/commands/index.js +5 -0
  10. package/dist-es/models/enums.js +14 -0
  11. package/dist-es/models/errors.js +32 -32
  12. package/dist-es/pagination/ListSourcesForS3TableIntegrationPaginator.js +4 -0
  13. package/dist-es/pagination/index.js +1 -0
  14. package/dist-es/schemas/schemas_0.js +207 -39
  15. package/dist-types/CloudWatchLogs.d.ts +35 -0
  16. package/dist-types/CloudWatchLogsClient.d.ts +7 -2
  17. package/dist-types/commands/AssociateSourceToS3TableIntegrationCommand.d.ts +97 -0
  18. package/dist-types/commands/CreateScheduledQueryCommand.d.ts +4 -2
  19. package/dist-types/commands/DeleteAccountPolicyCommand.d.ts +8 -3
  20. package/dist-types/commands/DeleteIndexPolicyCommand.d.ts +8 -3
  21. package/dist-types/commands/DeleteScheduledQueryCommand.d.ts +4 -2
  22. package/dist-types/commands/DescribeFieldIndexesCommand.d.ts +1 -0
  23. package/dist-types/commands/DescribeLogGroupsCommand.d.ts +3 -2
  24. package/dist-types/commands/DescribeQueriesCommand.d.ts +4 -0
  25. package/dist-types/commands/DisassociateSourceFromS3TableIntegrationCommand.d.ts +92 -0
  26. package/dist-types/commands/GetLogFieldsCommand.d.ts +107 -0
  27. package/dist-types/commands/GetLogGroupFieldsCommand.d.ts +2 -0
  28. package/dist-types/commands/GetQueryResultsCommand.d.ts +3 -0
  29. package/dist-types/commands/GetScheduledQueryCommand.d.ts +4 -2
  30. package/dist-types/commands/GetScheduledQueryHistoryCommand.d.ts +4 -2
  31. package/dist-types/commands/ListAggregateLogGroupSummariesCommand.d.ts +118 -0
  32. package/dist-types/commands/ListLogGroupsCommand.d.ts +14 -2
  33. package/dist-types/commands/ListScheduledQueriesCommand.d.ts +4 -2
  34. package/dist-types/commands/ListSourcesForS3TableIntegrationCommand.d.ts +106 -0
  35. package/dist-types/commands/PutAccountPolicyCommand.d.ts +19 -6
  36. package/dist-types/commands/PutIndexPolicyCommand.d.ts +12 -4
  37. package/dist-types/commands/StartQueryCommand.d.ts +9 -3
  38. package/dist-types/commands/StopQueryCommand.d.ts +4 -0
  39. package/dist-types/commands/UpdateScheduledQueryCommand.d.ts +4 -2
  40. package/dist-types/commands/index.d.ts +5 -0
  41. package/dist-types/models/enums.d.ts +38 -0
  42. package/dist-types/models/errors.d.ts +34 -32
  43. package/dist-types/models/models_0.d.ts +479 -102
  44. package/dist-types/pagination/ListSourcesForS3TableIntegrationPaginator.d.ts +7 -0
  45. package/dist-types/pagination/index.d.ts +1 -0
  46. package/dist-types/schemas/schemas_0.d.ts +28 -0
  47. package/dist-types/ts3.4/CloudWatchLogs.d.ts +97 -0
  48. package/dist-types/ts3.4/CloudWatchLogsClient.d.ts +30 -0
  49. package/dist-types/ts3.4/commands/AssociateSourceToS3TableIntegrationCommand.d.ts +51 -0
  50. package/dist-types/ts3.4/commands/DisassociateSourceFromS3TableIntegrationCommand.d.ts +51 -0
  51. package/dist-types/ts3.4/commands/GetLogFieldsCommand.d.ts +47 -0
  52. package/dist-types/ts3.4/commands/ListAggregateLogGroupSummariesCommand.d.ts +51 -0
  53. package/dist-types/ts3.4/commands/ListSourcesForS3TableIntegrationCommand.d.ts +51 -0
  54. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  55. package/dist-types/ts3.4/models/enums.d.ts +19 -0
  56. package/dist-types/ts3.4/models/errors.d.ts +21 -21
  57. package/dist-types/ts3.4/models/models_0.d.ts +81 -0
  58. package/dist-types/ts3.4/pagination/ListSourcesForS3TableIntegrationPaginator.d.ts +11 -0
  59. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  60. package/dist-types/ts3.4/schemas/schemas_0.d.ts +28 -0
  61. package/package.json +5 -5
@@ -62,64 +62,78 @@ export declare class ServiceUnavailableException extends __BaseException {
62
62
  constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
63
63
  }
64
64
  /**
65
- * <p>The operation is not valid on the specified resource.</p>
65
+ * <p>An internal server error occurred while processing the request. This exception is returned
66
+ * when the service encounters an unexpected condition that prevents it from fulfilling the
67
+ * request.</p>
66
68
  * @public
67
69
  */
68
- export declare class InvalidOperationException extends __BaseException {
69
- readonly name: "InvalidOperationException";
70
+ export declare class InternalServerException extends __BaseException {
71
+ readonly name: "InternalServerException";
72
+ readonly $fault: "server";
73
+ /**
74
+ * @internal
75
+ */
76
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
77
+ }
78
+ /**
79
+ * <p>The request was throttled because of quota limits.</p>
80
+ * @public
81
+ */
82
+ export declare class ThrottlingException extends __BaseException {
83
+ readonly name: "ThrottlingException";
70
84
  readonly $fault: "client";
71
85
  /**
72
86
  * @internal
73
87
  */
74
- constructor(opts: __ExceptionOptionType<InvalidOperationException, __BaseException>);
88
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
75
89
  }
76
90
  /**
77
- * <p>This operation attempted to create a resource that already exists.</p>
91
+ * <p>One of the parameters for the request is not valid.</p>
78
92
  * @public
79
93
  */
80
- export declare class ConflictException extends __BaseException {
81
- readonly name: "ConflictException";
94
+ export declare class ValidationException extends __BaseException {
95
+ readonly name: "ValidationException";
82
96
  readonly $fault: "client";
83
97
  /**
84
98
  * @internal
85
99
  */
86
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
100
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
87
101
  }
88
102
  /**
89
- * <p>This request exceeds a service quota.</p>
103
+ * <p>The operation is not valid on the specified resource.</p>
90
104
  * @public
91
105
  */
92
- export declare class ServiceQuotaExceededException extends __BaseException {
93
- readonly name: "ServiceQuotaExceededException";
106
+ export declare class InvalidOperationException extends __BaseException {
107
+ readonly name: "InvalidOperationException";
94
108
  readonly $fault: "client";
95
109
  /**
96
110
  * @internal
97
111
  */
98
- constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
112
+ constructor(opts: __ExceptionOptionType<InvalidOperationException, __BaseException>);
99
113
  }
100
114
  /**
101
- * <p>The request was throttled because of quota limits.</p>
115
+ * <p>This operation attempted to create a resource that already exists.</p>
102
116
  * @public
103
117
  */
104
- export declare class ThrottlingException extends __BaseException {
105
- readonly name: "ThrottlingException";
118
+ export declare class ConflictException extends __BaseException {
119
+ readonly name: "ConflictException";
106
120
  readonly $fault: "client";
107
121
  /**
108
122
  * @internal
109
123
  */
110
- constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
124
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
111
125
  }
112
126
  /**
113
- * <p>One of the parameters for the request is not valid.</p>
127
+ * <p>This request exceeds a service quota.</p>
114
128
  * @public
115
129
  */
116
- export declare class ValidationException extends __BaseException {
117
- readonly name: "ValidationException";
130
+ export declare class ServiceQuotaExceededException extends __BaseException {
131
+ readonly name: "ServiceQuotaExceededException";
118
132
  readonly $fault: "client";
119
133
  /**
120
134
  * @internal
121
135
  */
122
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
136
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
123
137
  }
124
138
  /**
125
139
  * <p>You have reached the maximum number of resources that can be created.</p>
@@ -145,18 +159,6 @@ export declare class ResourceAlreadyExistsException extends __BaseException {
145
159
  */
146
160
  constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
147
161
  }
148
- /**
149
- * <p>An internal server error occurred while processing the request. This is typically a temporary issue and the request can be retried.</p>
150
- * @public
151
- */
152
- export declare class InternalServerException extends __BaseException {
153
- readonly name: "InternalServerException";
154
- readonly $fault: "server";
155
- /**
156
- * @internal
157
- */
158
- constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
159
- }
160
162
  /**
161
163
  * <p>The event was already logged.</p>
162
164
  * <important>