@aws-sdk/client-cloudwatch-logs 3.51.0 → 3.54.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/CHANGELOG.md +30 -0
- package/dist-cjs/endpoints.js +3 -5
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/CloudWatchLogsServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +150 -2
- package/dist-cjs/protocols/Aws_json1_1.js +383 -1357
- package/dist-es/endpoints.js +3 -5
- package/dist-es/index.js +1 -0
- package/dist-es/models/CloudWatchLogsServiceException.js +12 -0
- package/dist-es/models/models_0.js +137 -1
- package/dist-es/protocols/Aws_json1_1.js +864 -1504
- package/dist-types/CloudWatchLogsClient.d.ts +2 -2
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/CloudWatchLogsServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +79 -45
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/CloudWatchLogsClient.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/CloudWatchLogsServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +57 -45
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +33 -33
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AssociateKmsKeyCommandInput, AssociateKmsKeyCommandOutput } from "./commands/AssociateKmsKeyCommand";
|
|
10
10
|
import { CancelExportTaskCommandInput, CancelExportTaskCommandOutput } from "./commands/CancelExportTaskCommand";
|
|
11
11
|
import { CreateExportTaskCommandInput, CreateExportTaskCommandOutput } from "./commands/CreateExportTaskCommand";
|
|
@@ -70,7 +70,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
70
70
|
* A function that can calculate the length of a request body.
|
|
71
71
|
* @internal
|
|
72
72
|
*/
|
|
73
|
-
bodyLengthChecker?:
|
|
73
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
74
74
|
/**
|
|
75
75
|
* A function that converts a stream into an array of bytes.
|
|
76
76
|
* @internal
|
package/dist-types/index.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* Base exception class for all service exceptions from CloudWatchLogs service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class CloudWatchLogsServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { CloudWatchLogsServiceException as __BaseException } from "./CloudWatchLogsServiceException";
|
|
2
3
|
export interface AssociateKmsKeyRequest {
|
|
3
4
|
/**
|
|
4
5
|
* <p>The name of the log group.</p>
|
|
@@ -19,34 +20,46 @@ export declare namespace AssociateKmsKeyRequest {
|
|
|
19
20
|
/**
|
|
20
21
|
* <p>A parameter is specified incorrectly.</p>
|
|
21
22
|
*/
|
|
22
|
-
export
|
|
23
|
-
name: "InvalidParameterException";
|
|
24
|
-
$fault: "client";
|
|
25
|
-
|
|
23
|
+
export declare class InvalidParameterException extends __BaseException {
|
|
24
|
+
readonly name: "InvalidParameterException";
|
|
25
|
+
readonly $fault: "client";
|
|
26
|
+
/**
|
|
27
|
+
* @internal
|
|
28
|
+
*/
|
|
29
|
+
constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
|
|
26
30
|
}
|
|
27
31
|
/**
|
|
28
32
|
* <p>Multiple requests to update the same resource were in conflict.</p>
|
|
29
33
|
*/
|
|
30
|
-
export
|
|
31
|
-
name: "OperationAbortedException";
|
|
32
|
-
$fault: "client";
|
|
33
|
-
|
|
34
|
+
export declare class OperationAbortedException extends __BaseException {
|
|
35
|
+
readonly name: "OperationAbortedException";
|
|
36
|
+
readonly $fault: "client";
|
|
37
|
+
/**
|
|
38
|
+
* @internal
|
|
39
|
+
*/
|
|
40
|
+
constructor(opts: __ExceptionOptionType<OperationAbortedException, __BaseException>);
|
|
34
41
|
}
|
|
35
42
|
/**
|
|
36
43
|
* <p>The specified resource does not exist.</p>
|
|
37
44
|
*/
|
|
38
|
-
export
|
|
39
|
-
name: "ResourceNotFoundException";
|
|
40
|
-
$fault: "client";
|
|
41
|
-
|
|
45
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
46
|
+
readonly name: "ResourceNotFoundException";
|
|
47
|
+
readonly $fault: "client";
|
|
48
|
+
/**
|
|
49
|
+
* @internal
|
|
50
|
+
*/
|
|
51
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
42
52
|
}
|
|
43
53
|
/**
|
|
44
54
|
* <p>The service cannot complete the request.</p>
|
|
45
55
|
*/
|
|
46
|
-
export
|
|
47
|
-
name: "ServiceUnavailableException";
|
|
48
|
-
$fault: "server";
|
|
49
|
-
|
|
56
|
+
export declare class ServiceUnavailableException extends __BaseException {
|
|
57
|
+
readonly name: "ServiceUnavailableException";
|
|
58
|
+
readonly $fault: "server";
|
|
59
|
+
/**
|
|
60
|
+
* @internal
|
|
61
|
+
*/
|
|
62
|
+
constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
|
|
50
63
|
}
|
|
51
64
|
export interface CancelExportTaskRequest {
|
|
52
65
|
/**
|
|
@@ -63,10 +76,13 @@ export declare namespace CancelExportTaskRequest {
|
|
|
63
76
|
/**
|
|
64
77
|
* <p>The operation is not valid on the specified resource.</p>
|
|
65
78
|
*/
|
|
66
|
-
export
|
|
67
|
-
name: "InvalidOperationException";
|
|
68
|
-
$fault: "client";
|
|
69
|
-
|
|
79
|
+
export declare class InvalidOperationException extends __BaseException {
|
|
80
|
+
readonly name: "InvalidOperationException";
|
|
81
|
+
readonly $fault: "client";
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
85
|
+
constructor(opts: __ExceptionOptionType<InvalidOperationException, __BaseException>);
|
|
70
86
|
}
|
|
71
87
|
export interface CreateExportTaskRequest {
|
|
72
88
|
/**
|
|
@@ -125,18 +141,24 @@ export declare namespace CreateExportTaskResponse {
|
|
|
125
141
|
/**
|
|
126
142
|
* <p>You have reached the maximum number of resources that can be created.</p>
|
|
127
143
|
*/
|
|
128
|
-
export
|
|
129
|
-
name: "LimitExceededException";
|
|
130
|
-
$fault: "client";
|
|
131
|
-
|
|
144
|
+
export declare class LimitExceededException extends __BaseException {
|
|
145
|
+
readonly name: "LimitExceededException";
|
|
146
|
+
readonly $fault: "client";
|
|
147
|
+
/**
|
|
148
|
+
* @internal
|
|
149
|
+
*/
|
|
150
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
132
151
|
}
|
|
133
152
|
/**
|
|
134
153
|
* <p>The specified resource already exists.</p>
|
|
135
154
|
*/
|
|
136
|
-
export
|
|
137
|
-
name: "ResourceAlreadyExistsException";
|
|
138
|
-
$fault: "client";
|
|
139
|
-
|
|
155
|
+
export declare class ResourceAlreadyExistsException extends __BaseException {
|
|
156
|
+
readonly name: "ResourceAlreadyExistsException";
|
|
157
|
+
readonly $fault: "client";
|
|
158
|
+
/**
|
|
159
|
+
* @internal
|
|
160
|
+
*/
|
|
161
|
+
constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
|
|
140
162
|
}
|
|
141
163
|
export interface CreateLogGroupRequest {
|
|
142
164
|
/**
|
|
@@ -185,11 +207,14 @@ export declare namespace CreateLogStreamRequest {
|
|
|
185
207
|
/**
|
|
186
208
|
* <p>The event was already logged.</p>
|
|
187
209
|
*/
|
|
188
|
-
export
|
|
189
|
-
name: "DataAlreadyAcceptedException";
|
|
190
|
-
$fault: "client";
|
|
210
|
+
export declare class DataAlreadyAcceptedException extends __BaseException {
|
|
211
|
+
readonly name: "DataAlreadyAcceptedException";
|
|
212
|
+
readonly $fault: "client";
|
|
191
213
|
expectedSequenceToken?: string;
|
|
192
|
-
|
|
214
|
+
/**
|
|
215
|
+
* @internal
|
|
216
|
+
*/
|
|
217
|
+
constructor(opts: __ExceptionOptionType<DataAlreadyAcceptedException, __BaseException>);
|
|
193
218
|
}
|
|
194
219
|
export interface DeleteDestinationRequest {
|
|
195
220
|
/**
|
|
@@ -1631,11 +1656,14 @@ export declare namespace InputLogEvent {
|
|
|
1631
1656
|
* the <code>expectedSequenceToken</code> field in the <code>InvalidSequenceTokenException</code>
|
|
1632
1657
|
* message. </p>
|
|
1633
1658
|
*/
|
|
1634
|
-
export
|
|
1635
|
-
name: "InvalidSequenceTokenException";
|
|
1636
|
-
$fault: "client";
|
|
1659
|
+
export declare class InvalidSequenceTokenException extends __BaseException {
|
|
1660
|
+
readonly name: "InvalidSequenceTokenException";
|
|
1661
|
+
readonly $fault: "client";
|
|
1637
1662
|
expectedSequenceToken?: string;
|
|
1638
|
-
|
|
1663
|
+
/**
|
|
1664
|
+
* @internal
|
|
1665
|
+
*/
|
|
1666
|
+
constructor(opts: __ExceptionOptionType<InvalidSequenceTokenException, __BaseException>);
|
|
1639
1667
|
}
|
|
1640
1668
|
export interface ListTagsLogGroupRequest {
|
|
1641
1669
|
/**
|
|
@@ -1797,10 +1825,13 @@ export declare namespace PutLogEventsResponse {
|
|
|
1797
1825
|
/**
|
|
1798
1826
|
* <p>The most likely cause is an invalid Amazon Web Services access key ID or secret key.</p>
|
|
1799
1827
|
*/
|
|
1800
|
-
export
|
|
1801
|
-
name: "UnrecognizedClientException";
|
|
1802
|
-
$fault: "client";
|
|
1803
|
-
|
|
1828
|
+
export declare class UnrecognizedClientException extends __BaseException {
|
|
1829
|
+
readonly name: "UnrecognizedClientException";
|
|
1830
|
+
readonly $fault: "client";
|
|
1831
|
+
/**
|
|
1832
|
+
* @internal
|
|
1833
|
+
*/
|
|
1834
|
+
constructor(opts: __ExceptionOptionType<UnrecognizedClientException, __BaseException>);
|
|
1804
1835
|
}
|
|
1805
1836
|
export interface PutMetricFilterRequest {
|
|
1806
1837
|
/**
|
|
@@ -2063,14 +2094,17 @@ export declare namespace QueryCompileError {
|
|
|
2063
2094
|
* <p>For more information about valid query syntax, see
|
|
2064
2095
|
* <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html">CloudWatch Logs Insights Query Syntax</a>.</p>
|
|
2065
2096
|
*/
|
|
2066
|
-
export
|
|
2067
|
-
name: "MalformedQueryException";
|
|
2068
|
-
$fault: "client";
|
|
2097
|
+
export declare class MalformedQueryException extends __BaseException {
|
|
2098
|
+
readonly name: "MalformedQueryException";
|
|
2099
|
+
readonly $fault: "client";
|
|
2069
2100
|
/**
|
|
2070
2101
|
* <p>Reserved.</p>
|
|
2071
2102
|
*/
|
|
2072
2103
|
queryCompileError?: QueryCompileError;
|
|
2073
|
-
|
|
2104
|
+
/**
|
|
2105
|
+
* @internal
|
|
2106
|
+
*/
|
|
2107
|
+
constructor(opts: __ExceptionOptionType<MalformedQueryException, __BaseException>);
|
|
2074
2108
|
}
|
|
2075
2109
|
export interface StartQueryRequest {
|
|
2076
2110
|
/**
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
|
|
|
8
8
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
9
9
|
apiVersion: string;
|
|
10
10
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
13
13
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
14
14
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AssociateKmsKeyCommandInput, AssociateKmsKeyCommandOutput } from "./commands/AssociateKmsKeyCommand";
|
|
10
10
|
import { CancelExportTaskCommandInput, CancelExportTaskCommandOutput } from "./commands/CancelExportTaskCommand";
|
|
11
11
|
import { CreateExportTaskCommandInput, CreateExportTaskCommandOutput } from "./commands/CreateExportTaskCommand";
|
|
@@ -58,7 +58,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
58
58
|
|
|
59
59
|
urlParser?: __UrlParser;
|
|
60
60
|
|
|
61
|
-
bodyLengthChecker?:
|
|
61
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
62
62
|
|
|
63
63
|
streamCollector?: __StreamCollector;
|
|
64
64
|
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
|
|
3
|
+
export declare class CloudWatchLogsServiceException extends __ServiceException {
|
|
4
|
+
|
|
5
|
+
constructor(options: __ServiceExceptionOptions);
|
|
6
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { CloudWatchLogsServiceException as __BaseException } from "./CloudWatchLogsServiceException";
|
|
2
3
|
export interface AssociateKmsKeyRequest {
|
|
3
4
|
|
|
4
5
|
logGroupName: string | undefined;
|
|
@@ -10,28 +11,32 @@ export declare namespace AssociateKmsKeyRequest {
|
|
|
10
11
|
const filterSensitiveLog: (obj: AssociateKmsKeyRequest) => any;
|
|
11
12
|
}
|
|
12
13
|
|
|
13
|
-
export
|
|
14
|
-
name: "InvalidParameterException";
|
|
15
|
-
$fault: "client";
|
|
16
|
-
|
|
14
|
+
export declare class InvalidParameterException extends __BaseException {
|
|
15
|
+
readonly name: "InvalidParameterException";
|
|
16
|
+
readonly $fault: "client";
|
|
17
|
+
|
|
18
|
+
constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
|
|
17
19
|
}
|
|
18
20
|
|
|
19
|
-
export
|
|
20
|
-
name: "OperationAbortedException";
|
|
21
|
-
$fault: "client";
|
|
22
|
-
|
|
21
|
+
export declare class OperationAbortedException extends __BaseException {
|
|
22
|
+
readonly name: "OperationAbortedException";
|
|
23
|
+
readonly $fault: "client";
|
|
24
|
+
|
|
25
|
+
constructor(opts: __ExceptionOptionType<OperationAbortedException, __BaseException>);
|
|
23
26
|
}
|
|
24
27
|
|
|
25
|
-
export
|
|
26
|
-
name: "ResourceNotFoundException";
|
|
27
|
-
$fault: "client";
|
|
28
|
-
|
|
28
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
29
|
+
readonly name: "ResourceNotFoundException";
|
|
30
|
+
readonly $fault: "client";
|
|
31
|
+
|
|
32
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
29
33
|
}
|
|
30
34
|
|
|
31
|
-
export
|
|
32
|
-
name: "ServiceUnavailableException";
|
|
33
|
-
$fault: "server";
|
|
34
|
-
|
|
35
|
+
export declare class ServiceUnavailableException extends __BaseException {
|
|
36
|
+
readonly name: "ServiceUnavailableException";
|
|
37
|
+
readonly $fault: "server";
|
|
38
|
+
|
|
39
|
+
constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
|
|
35
40
|
}
|
|
36
41
|
export interface CancelExportTaskRequest {
|
|
37
42
|
|
|
@@ -42,10 +47,11 @@ export declare namespace CancelExportTaskRequest {
|
|
|
42
47
|
const filterSensitiveLog: (obj: CancelExportTaskRequest) => any;
|
|
43
48
|
}
|
|
44
49
|
|
|
45
|
-
export
|
|
46
|
-
name: "InvalidOperationException";
|
|
47
|
-
$fault: "client";
|
|
48
|
-
|
|
50
|
+
export declare class InvalidOperationException extends __BaseException {
|
|
51
|
+
readonly name: "InvalidOperationException";
|
|
52
|
+
readonly $fault: "client";
|
|
53
|
+
|
|
54
|
+
constructor(opts: __ExceptionOptionType<InvalidOperationException, __BaseException>);
|
|
49
55
|
}
|
|
50
56
|
export interface CreateExportTaskRequest {
|
|
51
57
|
|
|
@@ -76,16 +82,18 @@ export declare namespace CreateExportTaskResponse {
|
|
|
76
82
|
const filterSensitiveLog: (obj: CreateExportTaskResponse) => any;
|
|
77
83
|
}
|
|
78
84
|
|
|
79
|
-
export
|
|
80
|
-
name: "LimitExceededException";
|
|
81
|
-
$fault: "client";
|
|
82
|
-
|
|
85
|
+
export declare class LimitExceededException extends __BaseException {
|
|
86
|
+
readonly name: "LimitExceededException";
|
|
87
|
+
readonly $fault: "client";
|
|
88
|
+
|
|
89
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
83
90
|
}
|
|
84
91
|
|
|
85
|
-
export
|
|
86
|
-
name: "ResourceAlreadyExistsException";
|
|
87
|
-
$fault: "client";
|
|
88
|
-
|
|
92
|
+
export declare class ResourceAlreadyExistsException extends __BaseException {
|
|
93
|
+
readonly name: "ResourceAlreadyExistsException";
|
|
94
|
+
readonly $fault: "client";
|
|
95
|
+
|
|
96
|
+
constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
|
|
89
97
|
}
|
|
90
98
|
export interface CreateLogGroupRequest {
|
|
91
99
|
|
|
@@ -112,11 +120,12 @@ export declare namespace CreateLogStreamRequest {
|
|
|
112
120
|
const filterSensitiveLog: (obj: CreateLogStreamRequest) => any;
|
|
113
121
|
}
|
|
114
122
|
|
|
115
|
-
export
|
|
116
|
-
name: "DataAlreadyAcceptedException";
|
|
117
|
-
$fault: "client";
|
|
123
|
+
export declare class DataAlreadyAcceptedException extends __BaseException {
|
|
124
|
+
readonly name: "DataAlreadyAcceptedException";
|
|
125
|
+
readonly $fault: "client";
|
|
118
126
|
expectedSequenceToken?: string;
|
|
119
|
-
|
|
127
|
+
|
|
128
|
+
constructor(opts: __ExceptionOptionType<DataAlreadyAcceptedException, __BaseException>);
|
|
120
129
|
}
|
|
121
130
|
export interface DeleteDestinationRequest {
|
|
122
131
|
|
|
@@ -900,11 +909,12 @@ export declare namespace InputLogEvent {
|
|
|
900
909
|
const filterSensitiveLog: (obj: InputLogEvent) => any;
|
|
901
910
|
}
|
|
902
911
|
|
|
903
|
-
export
|
|
904
|
-
name: "InvalidSequenceTokenException";
|
|
905
|
-
$fault: "client";
|
|
912
|
+
export declare class InvalidSequenceTokenException extends __BaseException {
|
|
913
|
+
readonly name: "InvalidSequenceTokenException";
|
|
914
|
+
readonly $fault: "client";
|
|
906
915
|
expectedSequenceToken?: string;
|
|
907
|
-
|
|
916
|
+
|
|
917
|
+
constructor(opts: __ExceptionOptionType<InvalidSequenceTokenException, __BaseException>);
|
|
908
918
|
}
|
|
909
919
|
export interface ListTagsLogGroupRequest {
|
|
910
920
|
|
|
@@ -994,10 +1004,11 @@ export declare namespace PutLogEventsResponse {
|
|
|
994
1004
|
const filterSensitiveLog: (obj: PutLogEventsResponse) => any;
|
|
995
1005
|
}
|
|
996
1006
|
|
|
997
|
-
export
|
|
998
|
-
name: "UnrecognizedClientException";
|
|
999
|
-
$fault: "client";
|
|
1000
|
-
|
|
1007
|
+
export declare class UnrecognizedClientException extends __BaseException {
|
|
1008
|
+
readonly name: "UnrecognizedClientException";
|
|
1009
|
+
readonly $fault: "client";
|
|
1010
|
+
|
|
1011
|
+
constructor(opts: __ExceptionOptionType<UnrecognizedClientException, __BaseException>);
|
|
1001
1012
|
}
|
|
1002
1013
|
export interface PutMetricFilterRequest {
|
|
1003
1014
|
|
|
@@ -1104,12 +1115,13 @@ export declare namespace QueryCompileError {
|
|
|
1104
1115
|
const filterSensitiveLog: (obj: QueryCompileError) => any;
|
|
1105
1116
|
}
|
|
1106
1117
|
|
|
1107
|
-
export
|
|
1108
|
-
name: "MalformedQueryException";
|
|
1109
|
-
$fault: "client";
|
|
1118
|
+
export declare class MalformedQueryException extends __BaseException {
|
|
1119
|
+
readonly name: "MalformedQueryException";
|
|
1120
|
+
readonly $fault: "client";
|
|
1110
1121
|
|
|
1111
1122
|
queryCompileError?: QueryCompileError;
|
|
1112
|
-
|
|
1123
|
+
|
|
1124
|
+
constructor(opts: __ExceptionOptionType<MalformedQueryException, __BaseException>);
|
|
1113
1125
|
}
|
|
1114
1126
|
export interface StartQueryRequest {
|
|
1115
1127
|
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
|
|
|
6
6
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
7
7
|
apiVersion: string;
|
|
8
8
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
11
11
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
12
12
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
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.
|
|
4
|
+
"version": "3.54.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",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
-
"clean": "rimraf ./dist-*"
|
|
12
|
+
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo"
|
|
13
13
|
},
|
|
14
14
|
"main": "./dist-cjs/index.js",
|
|
15
15
|
"types": "./dist-types/index.d.ts",
|
|
@@ -18,40 +18,40 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
41
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
42
|
-
"@aws-sdk/util-base64-node": "3.
|
|
43
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
44
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
49
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
50
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.54.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.54.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.54.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.54.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.54.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.54.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.54.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.54.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.54.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.54.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.54.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.54.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.54.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.54.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.54.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.54.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.54.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.54.0",
|
|
39
|
+
"@aws-sdk/types": "3.54.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.54.0",
|
|
41
|
+
"@aws-sdk/util-base64-browser": "3.52.0",
|
|
42
|
+
"@aws-sdk/util-base64-node": "3.52.0",
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.54.0",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.54.0",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.54.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.54.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.54.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.54.0",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.52.0",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.52.0",
|
|
51
51
|
"tslib": "^2.3.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
54
|
+
"@aws-sdk/service-client-documentation-generator": "3.52.0",
|
|
55
55
|
"@tsconfig/recommended": "1.0.1",
|
|
56
56
|
"@types/node": "^12.7.5",
|
|
57
57
|
"concurrently": "7.0.0",
|