@aws-sdk/client-cloudwatch-logs 3.296.0 → 3.297.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-types/CloudWatchLogs.d.ts +49 -0
- package/dist-types/CloudWatchLogsClient.d.ts +24 -4
- package/dist-types/commands/AssociateKmsKeyCommand.d.ts +16 -0
- package/dist-types/commands/CancelExportTaskCommand.d.ts +16 -0
- package/dist-types/commands/CreateExportTaskCommand.d.ts +16 -0
- package/dist-types/commands/CreateLogGroupCommand.d.ts +16 -0
- package/dist-types/commands/CreateLogStreamCommand.d.ts +16 -0
- package/dist-types/commands/DeleteDataProtectionPolicyCommand.d.ts +16 -0
- package/dist-types/commands/DeleteDestinationCommand.d.ts +16 -0
- package/dist-types/commands/DeleteLogGroupCommand.d.ts +16 -0
- package/dist-types/commands/DeleteLogStreamCommand.d.ts +16 -0
- package/dist-types/commands/DeleteMetricFilterCommand.d.ts +16 -0
- package/dist-types/commands/DeleteQueryDefinitionCommand.d.ts +16 -0
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +16 -0
- package/dist-types/commands/DeleteRetentionPolicyCommand.d.ts +16 -0
- package/dist-types/commands/DeleteSubscriptionFilterCommand.d.ts +16 -0
- package/dist-types/commands/DescribeDestinationsCommand.d.ts +16 -0
- package/dist-types/commands/DescribeExportTasksCommand.d.ts +16 -0
- package/dist-types/commands/DescribeLogGroupsCommand.d.ts +16 -0
- package/dist-types/commands/DescribeLogStreamsCommand.d.ts +16 -0
- package/dist-types/commands/DescribeMetricFiltersCommand.d.ts +16 -0
- package/dist-types/commands/DescribeQueriesCommand.d.ts +16 -0
- package/dist-types/commands/DescribeQueryDefinitionsCommand.d.ts +16 -0
- package/dist-types/commands/DescribeResourcePoliciesCommand.d.ts +16 -0
- package/dist-types/commands/DescribeSubscriptionFiltersCommand.d.ts +16 -0
- package/dist-types/commands/DisassociateKmsKeyCommand.d.ts +16 -0
- package/dist-types/commands/FilterLogEventsCommand.d.ts +16 -0
- package/dist-types/commands/GetDataProtectionPolicyCommand.d.ts +16 -0
- package/dist-types/commands/GetLogEventsCommand.d.ts +16 -0
- package/dist-types/commands/GetLogGroupFieldsCommand.d.ts +16 -0
- package/dist-types/commands/GetLogRecordCommand.d.ts +16 -0
- package/dist-types/commands/GetQueryResultsCommand.d.ts +16 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
- package/dist-types/commands/ListTagsLogGroupCommand.d.ts +16 -0
- package/dist-types/commands/PutDataProtectionPolicyCommand.d.ts +16 -0
- package/dist-types/commands/PutDestinationCommand.d.ts +16 -0
- package/dist-types/commands/PutDestinationPolicyCommand.d.ts +16 -0
- package/dist-types/commands/PutLogEventsCommand.d.ts +16 -0
- package/dist-types/commands/PutMetricFilterCommand.d.ts +16 -0
- package/dist-types/commands/PutQueryDefinitionCommand.d.ts +16 -0
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +16 -0
- package/dist-types/commands/PutRetentionPolicyCommand.d.ts +16 -0
- package/dist-types/commands/PutSubscriptionFilterCommand.d.ts +16 -0
- package/dist-types/commands/StartQueryCommand.d.ts +16 -0
- package/dist-types/commands/StopQueryCommand.d.ts +16 -0
- package/dist-types/commands/TagLogGroupCommand.d.ts +16 -0
- package/dist-types/commands/TagResourceCommand.d.ts +16 -0
- package/dist-types/commands/TestMetricFilterCommand.d.ts +16 -0
- package/dist-types/commands/UntagLogGroupCommand.d.ts +16 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
- package/dist-types/models/CloudWatchLogsServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +292 -14
- package/dist-types/pagination/DescribeDestinationsPaginator.d.ts +3 -0
- package/dist-types/pagination/DescribeLogGroupsPaginator.d.ts +3 -0
- package/dist-types/pagination/DescribeLogStreamsPaginator.d.ts +3 -0
- package/dist-types/pagination/DescribeMetricFiltersPaginator.d.ts +3 -0
- package/dist-types/pagination/DescribeSubscriptionFiltersPaginator.d.ts +3 -0
- package/dist-types/pagination/FilterLogEventsPaginator.d.ts +3 -0
- package/dist-types/pagination/GetLogEventsPaginator.d.ts +3 -0
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/package.json +3 -3
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
|
|
5
5
|
import { GetLogRecordRequest, GetLogRecordResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link GetLogRecordCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface GetLogRecordCommandInput extends GetLogRecordRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link GetLogRecordCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface GetLogRecordCommandOutput extends GetLogRecordResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Retrieves all of the fields and values of a single log event. All fields are retrieved,
|
|
18
23
|
* even if the original query that produced the <code>logRecordPointer</code> retrieved only a
|
|
19
24
|
* subset of fields. Fields are returned as field name/field value pairs.</p>
|
|
@@ -28,6 +33,8 @@ export interface GetLogRecordCommandOutput extends GetLogRecordResponse, __Metad
|
|
|
28
33
|
* const response = await client.send(command);
|
|
29
34
|
* ```
|
|
30
35
|
*
|
|
36
|
+
* @param GetLogRecordCommandInput - {@link GetLogRecordCommandInput}
|
|
37
|
+
* @returns {@link GetLogRecordCommandOutput}
|
|
31
38
|
* @see {@link GetLogRecordCommandInput} for command's `input` shape.
|
|
32
39
|
* @see {@link GetLogRecordCommandOutput} for command's `response` shape.
|
|
33
40
|
* @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
|
|
@@ -49,11 +56,20 @@ export interface GetLogRecordCommandOutput extends GetLogRecordResponse, __Metad
|
|
|
49
56
|
export declare class GetLogRecordCommand extends $Command<GetLogRecordCommandInput, GetLogRecordCommandOutput, CloudWatchLogsClientResolvedConfig> {
|
|
50
57
|
readonly input: GetLogRecordCommandInput;
|
|
51
58
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
59
|
+
/**
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
52
62
|
constructor(input: GetLogRecordCommandInput);
|
|
53
63
|
/**
|
|
54
64
|
* @internal
|
|
55
65
|
*/
|
|
56
66
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetLogRecordCommandInput, GetLogRecordCommandOutput>;
|
|
67
|
+
/**
|
|
68
|
+
* @internal
|
|
69
|
+
*/
|
|
57
70
|
private serialize;
|
|
71
|
+
/**
|
|
72
|
+
* @internal
|
|
73
|
+
*/
|
|
58
74
|
private deserialize;
|
|
59
75
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
|
|
5
5
|
import { GetQueryResultsRequest, GetQueryResultsResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link GetQueryResultsCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface GetQueryResultsCommandInput extends GetQueryResultsRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link GetQueryResultsCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface GetQueryResultsCommandOutput extends GetQueryResultsResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Returns the results from the specified query.</p>
|
|
18
23
|
* <p>Only the fields requested in the query are returned, along with a <code>@ptr</code>
|
|
19
24
|
* field, which is the identifier for the log record. You can use the value of <code>@ptr</code>
|
|
@@ -37,6 +42,8 @@ export interface GetQueryResultsCommandOutput extends GetQueryResultsResponse, _
|
|
|
37
42
|
* const response = await client.send(command);
|
|
38
43
|
* ```
|
|
39
44
|
*
|
|
45
|
+
* @param GetQueryResultsCommandInput - {@link GetQueryResultsCommandInput}
|
|
46
|
+
* @returns {@link GetQueryResultsCommandOutput}
|
|
40
47
|
* @see {@link GetQueryResultsCommandInput} for command's `input` shape.
|
|
41
48
|
* @see {@link GetQueryResultsCommandOutput} for command's `response` shape.
|
|
42
49
|
* @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
|
|
@@ -55,11 +62,20 @@ export interface GetQueryResultsCommandOutput extends GetQueryResultsResponse, _
|
|
|
55
62
|
export declare class GetQueryResultsCommand extends $Command<GetQueryResultsCommandInput, GetQueryResultsCommandOutput, CloudWatchLogsClientResolvedConfig> {
|
|
56
63
|
readonly input: GetQueryResultsCommandInput;
|
|
57
64
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
65
|
+
/**
|
|
66
|
+
* @public
|
|
67
|
+
*/
|
|
58
68
|
constructor(input: GetQueryResultsCommandInput);
|
|
59
69
|
/**
|
|
60
70
|
* @internal
|
|
61
71
|
*/
|
|
62
72
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetQueryResultsCommandInput, GetQueryResultsCommandOutput>;
|
|
73
|
+
/**
|
|
74
|
+
* @internal
|
|
75
|
+
*/
|
|
63
76
|
private serialize;
|
|
77
|
+
/**
|
|
78
|
+
* @internal
|
|
79
|
+
*/
|
|
64
80
|
private deserialize;
|
|
65
81
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
|
|
5
5
|
import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link ListTagsForResourceCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link ListTagsForResourceCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Displays the tags associated with a CloudWatch Logs resource. Currently, log groups
|
|
18
23
|
* and destinations support tagging.</p>
|
|
19
24
|
* @example
|
|
@@ -26,6 +31,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
26
31
|
* const response = await client.send(command);
|
|
27
32
|
* ```
|
|
28
33
|
*
|
|
34
|
+
* @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
|
|
35
|
+
* @returns {@link ListTagsForResourceCommandOutput}
|
|
29
36
|
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
30
37
|
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
31
38
|
* @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
|
|
@@ -44,11 +51,20 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
44
51
|
export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, CloudWatchLogsClientResolvedConfig> {
|
|
45
52
|
readonly input: ListTagsForResourceCommandInput;
|
|
46
53
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
54
|
+
/**
|
|
55
|
+
* @public
|
|
56
|
+
*/
|
|
47
57
|
constructor(input: ListTagsForResourceCommandInput);
|
|
48
58
|
/**
|
|
49
59
|
* @internal
|
|
50
60
|
*/
|
|
51
61
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
|
|
62
|
+
/**
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
52
65
|
private serialize;
|
|
66
|
+
/**
|
|
67
|
+
* @internal
|
|
68
|
+
*/
|
|
53
69
|
private deserialize;
|
|
54
70
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
|
|
5
5
|
import { ListTagsLogGroupRequest, ListTagsLogGroupResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link ListTagsLogGroupCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface ListTagsLogGroupCommandInput extends ListTagsLogGroupRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link ListTagsLogGroupCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface ListTagsLogGroupCommandOutput extends ListTagsLogGroupResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* @deprecated
|
|
18
23
|
*
|
|
19
24
|
* <important>
|
|
@@ -31,6 +36,8 @@ export interface ListTagsLogGroupCommandOutput extends ListTagsLogGroupResponse,
|
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
33
38
|
*
|
|
39
|
+
* @param ListTagsLogGroupCommandInput - {@link ListTagsLogGroupCommandInput}
|
|
40
|
+
* @returns {@link ListTagsLogGroupCommandOutput}
|
|
34
41
|
* @see {@link ListTagsLogGroupCommandInput} for command's `input` shape.
|
|
35
42
|
* @see {@link ListTagsLogGroupCommandOutput} for command's `response` shape.
|
|
36
43
|
* @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
|
|
@@ -46,11 +53,20 @@ export interface ListTagsLogGroupCommandOutput extends ListTagsLogGroupResponse,
|
|
|
46
53
|
export declare class ListTagsLogGroupCommand extends $Command<ListTagsLogGroupCommandInput, ListTagsLogGroupCommandOutput, CloudWatchLogsClientResolvedConfig> {
|
|
47
54
|
readonly input: ListTagsLogGroupCommandInput;
|
|
48
55
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
56
|
+
/**
|
|
57
|
+
* @public
|
|
58
|
+
*/
|
|
49
59
|
constructor(input: ListTagsLogGroupCommandInput);
|
|
50
60
|
/**
|
|
51
61
|
* @internal
|
|
52
62
|
*/
|
|
53
63
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsLogGroupCommandInput, ListTagsLogGroupCommandOutput>;
|
|
64
|
+
/**
|
|
65
|
+
* @internal
|
|
66
|
+
*/
|
|
54
67
|
private serialize;
|
|
68
|
+
/**
|
|
69
|
+
* @internal
|
|
70
|
+
*/
|
|
55
71
|
private deserialize;
|
|
56
72
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
|
|
5
5
|
import { PutDataProtectionPolicyRequest, PutDataProtectionPolicyResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link PutDataProtectionPolicyCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface PutDataProtectionPolicyCommandInput extends PutDataProtectionPolicyRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link PutDataProtectionPolicyCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface PutDataProtectionPolicyCommandOutput extends PutDataProtectionPolicyResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Creates a data protection policy for the specified log group. A data protection policy can help safeguard sensitive
|
|
18
23
|
* data that's ingested by the log group by auditing and masking the sensitive log data.</p>
|
|
19
24
|
* <important>
|
|
@@ -39,6 +44,8 @@ export interface PutDataProtectionPolicyCommandOutput extends PutDataProtectionP
|
|
|
39
44
|
* const response = await client.send(command);
|
|
40
45
|
* ```
|
|
41
46
|
*
|
|
47
|
+
* @param PutDataProtectionPolicyCommandInput - {@link PutDataProtectionPolicyCommandInput}
|
|
48
|
+
* @returns {@link PutDataProtectionPolicyCommandOutput}
|
|
42
49
|
* @see {@link PutDataProtectionPolicyCommandInput} for command's `input` shape.
|
|
43
50
|
* @see {@link PutDataProtectionPolicyCommandOutput} for command's `response` shape.
|
|
44
51
|
* @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
|
|
@@ -63,11 +70,20 @@ export interface PutDataProtectionPolicyCommandOutput extends PutDataProtectionP
|
|
|
63
70
|
export declare class PutDataProtectionPolicyCommand extends $Command<PutDataProtectionPolicyCommandInput, PutDataProtectionPolicyCommandOutput, CloudWatchLogsClientResolvedConfig> {
|
|
64
71
|
readonly input: PutDataProtectionPolicyCommandInput;
|
|
65
72
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
73
|
+
/**
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
66
76
|
constructor(input: PutDataProtectionPolicyCommandInput);
|
|
67
77
|
/**
|
|
68
78
|
* @internal
|
|
69
79
|
*/
|
|
70
80
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutDataProtectionPolicyCommandInput, PutDataProtectionPolicyCommandOutput>;
|
|
81
|
+
/**
|
|
82
|
+
* @internal
|
|
83
|
+
*/
|
|
71
84
|
private serialize;
|
|
85
|
+
/**
|
|
86
|
+
* @internal
|
|
87
|
+
*/
|
|
72
88
|
private deserialize;
|
|
73
89
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
|
|
5
5
|
import { PutDestinationRequest, PutDestinationResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link PutDestinationCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface PutDestinationCommandInput extends PutDestinationRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link PutDestinationCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface PutDestinationCommandOutput extends PutDestinationResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Creates or updates a destination. This operation is used only to create destinations for cross-account subscriptions.</p>
|
|
18
23
|
* <p>A destination encapsulates a physical resource (such as an Amazon Kinesis stream). With
|
|
19
24
|
* a destination, you can subscribe to a real-time stream of log events for a different account,
|
|
@@ -34,6 +39,8 @@ export interface PutDestinationCommandOutput extends PutDestinationResponse, __M
|
|
|
34
39
|
* const response = await client.send(command);
|
|
35
40
|
* ```
|
|
36
41
|
*
|
|
42
|
+
* @param PutDestinationCommandInput - {@link PutDestinationCommandInput}
|
|
43
|
+
* @returns {@link PutDestinationCommandOutput}
|
|
37
44
|
* @see {@link PutDestinationCommandInput} for command's `input` shape.
|
|
38
45
|
* @see {@link PutDestinationCommandOutput} for command's `response` shape.
|
|
39
46
|
* @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
|
|
@@ -52,11 +59,20 @@ export interface PutDestinationCommandOutput extends PutDestinationResponse, __M
|
|
|
52
59
|
export declare class PutDestinationCommand extends $Command<PutDestinationCommandInput, PutDestinationCommandOutput, CloudWatchLogsClientResolvedConfig> {
|
|
53
60
|
readonly input: PutDestinationCommandInput;
|
|
54
61
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
62
|
+
/**
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
55
65
|
constructor(input: PutDestinationCommandInput);
|
|
56
66
|
/**
|
|
57
67
|
* @internal
|
|
58
68
|
*/
|
|
59
69
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutDestinationCommandInput, PutDestinationCommandOutput>;
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
*/
|
|
60
73
|
private serialize;
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
61
77
|
private deserialize;
|
|
62
78
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
|
|
5
5
|
import { PutDestinationPolicyRequest } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link PutDestinationPolicyCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface PutDestinationPolicyCommandInput extends PutDestinationPolicyRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link PutDestinationPolicyCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface PutDestinationPolicyCommandOutput extends __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Creates or updates an access policy associated with an existing
|
|
18
23
|
* destination. An access policy is an <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies_overview.html">IAM policy document</a> that is used
|
|
19
24
|
* to authorize claims to register a subscription filter against a given destination.</p>
|
|
@@ -27,6 +32,8 @@ export interface PutDestinationPolicyCommandOutput extends __MetadataBearer {
|
|
|
27
32
|
* const response = await client.send(command);
|
|
28
33
|
* ```
|
|
29
34
|
*
|
|
35
|
+
* @param PutDestinationPolicyCommandInput - {@link PutDestinationPolicyCommandInput}
|
|
36
|
+
* @returns {@link PutDestinationPolicyCommandOutput}
|
|
30
37
|
* @see {@link PutDestinationPolicyCommandInput} for command's `input` shape.
|
|
31
38
|
* @see {@link PutDestinationPolicyCommandOutput} for command's `response` shape.
|
|
32
39
|
* @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
|
|
@@ -45,11 +52,20 @@ export interface PutDestinationPolicyCommandOutput extends __MetadataBearer {
|
|
|
45
52
|
export declare class PutDestinationPolicyCommand extends $Command<PutDestinationPolicyCommandInput, PutDestinationPolicyCommandOutput, CloudWatchLogsClientResolvedConfig> {
|
|
46
53
|
readonly input: PutDestinationPolicyCommandInput;
|
|
47
54
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
55
|
+
/**
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
48
58
|
constructor(input: PutDestinationPolicyCommandInput);
|
|
49
59
|
/**
|
|
50
60
|
* @internal
|
|
51
61
|
*/
|
|
52
62
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutDestinationPolicyCommandInput, PutDestinationPolicyCommandOutput>;
|
|
63
|
+
/**
|
|
64
|
+
* @internal
|
|
65
|
+
*/
|
|
53
66
|
private serialize;
|
|
67
|
+
/**
|
|
68
|
+
* @internal
|
|
69
|
+
*/
|
|
54
70
|
private deserialize;
|
|
55
71
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
|
|
5
5
|
import { PutLogEventsRequest, PutLogEventsResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link PutLogEventsCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface PutLogEventsCommandInput extends PutLogEventsRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link PutLogEventsCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface PutLogEventsCommandOutput extends PutLogEventsResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Uploads a batch of log events to the specified log stream.</p>
|
|
18
23
|
* <important>
|
|
19
24
|
* <p>The sequence token is now ignored in <code>PutLogEvents</code>
|
|
@@ -70,6 +75,8 @@ export interface PutLogEventsCommandOutput extends PutLogEventsResponse, __Metad
|
|
|
70
75
|
* const response = await client.send(command);
|
|
71
76
|
* ```
|
|
72
77
|
*
|
|
78
|
+
* @param PutLogEventsCommandInput - {@link PutLogEventsCommandInput}
|
|
79
|
+
* @returns {@link PutLogEventsCommandOutput}
|
|
73
80
|
* @see {@link PutLogEventsCommandInput} for command's `input` shape.
|
|
74
81
|
* @see {@link PutLogEventsCommandOutput} for command's `response` shape.
|
|
75
82
|
* @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
|
|
@@ -113,11 +120,20 @@ export interface PutLogEventsCommandOutput extends PutLogEventsResponse, __Metad
|
|
|
113
120
|
export declare class PutLogEventsCommand extends $Command<PutLogEventsCommandInput, PutLogEventsCommandOutput, CloudWatchLogsClientResolvedConfig> {
|
|
114
121
|
readonly input: PutLogEventsCommandInput;
|
|
115
122
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
123
|
+
/**
|
|
124
|
+
* @public
|
|
125
|
+
*/
|
|
116
126
|
constructor(input: PutLogEventsCommandInput);
|
|
117
127
|
/**
|
|
118
128
|
* @internal
|
|
119
129
|
*/
|
|
120
130
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutLogEventsCommandInput, PutLogEventsCommandOutput>;
|
|
131
|
+
/**
|
|
132
|
+
* @internal
|
|
133
|
+
*/
|
|
121
134
|
private serialize;
|
|
135
|
+
/**
|
|
136
|
+
* @internal
|
|
137
|
+
*/
|
|
122
138
|
private deserialize;
|
|
123
139
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
|
|
5
5
|
import { PutMetricFilterRequest } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link PutMetricFilterCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface PutMetricFilterCommandInput extends PutMetricFilterRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link PutMetricFilterCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface PutMetricFilterCommandOutput extends __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Creates or updates a metric filter and associates it with the specified log group. With
|
|
18
23
|
* metric filters, you can configure rules to extract metric data from log events ingested
|
|
19
24
|
* through <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutLogEvents.html">PutLogEvents</a>.</p>
|
|
@@ -47,6 +52,8 @@ export interface PutMetricFilterCommandOutput extends __MetadataBearer {
|
|
|
47
52
|
* const response = await client.send(command);
|
|
48
53
|
* ```
|
|
49
54
|
*
|
|
55
|
+
* @param PutMetricFilterCommandInput - {@link PutMetricFilterCommandInput}
|
|
56
|
+
* @returns {@link PutMetricFilterCommandOutput}
|
|
50
57
|
* @see {@link PutMetricFilterCommandInput} for command's `input` shape.
|
|
51
58
|
* @see {@link PutMetricFilterCommandOutput} for command's `response` shape.
|
|
52
59
|
* @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
|
|
@@ -71,11 +78,20 @@ export interface PutMetricFilterCommandOutput extends __MetadataBearer {
|
|
|
71
78
|
export declare class PutMetricFilterCommand extends $Command<PutMetricFilterCommandInput, PutMetricFilterCommandOutput, CloudWatchLogsClientResolvedConfig> {
|
|
72
79
|
readonly input: PutMetricFilterCommandInput;
|
|
73
80
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
81
|
+
/**
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
74
84
|
constructor(input: PutMetricFilterCommandInput);
|
|
75
85
|
/**
|
|
76
86
|
* @internal
|
|
77
87
|
*/
|
|
78
88
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutMetricFilterCommandInput, PutMetricFilterCommandOutput>;
|
|
89
|
+
/**
|
|
90
|
+
* @internal
|
|
91
|
+
*/
|
|
79
92
|
private serialize;
|
|
93
|
+
/**
|
|
94
|
+
* @internal
|
|
95
|
+
*/
|
|
80
96
|
private deserialize;
|
|
81
97
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
|
|
5
5
|
import { PutQueryDefinitionRequest, PutQueryDefinitionResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link PutQueryDefinitionCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface PutQueryDefinitionCommandInput extends PutQueryDefinitionRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link PutQueryDefinitionCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface PutQueryDefinitionCommandOutput extends PutQueryDefinitionResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Creates or updates a query definition for CloudWatch Logs Insights. For
|
|
18
23
|
* more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AnalyzingLogData.html">Analyzing Log Data with CloudWatch Logs Insights</a>.</p>
|
|
19
24
|
* <p>To update a query definition, specify its <code>queryDefinitionId</code> in your request.
|
|
@@ -35,6 +40,8 @@ export interface PutQueryDefinitionCommandOutput extends PutQueryDefinitionRespo
|
|
|
35
40
|
* const response = await client.send(command);
|
|
36
41
|
* ```
|
|
37
42
|
*
|
|
43
|
+
* @param PutQueryDefinitionCommandInput - {@link PutQueryDefinitionCommandInput}
|
|
44
|
+
* @returns {@link PutQueryDefinitionCommandOutput}
|
|
38
45
|
* @see {@link PutQueryDefinitionCommandInput} for command's `input` shape.
|
|
39
46
|
* @see {@link PutQueryDefinitionCommandOutput} for command's `response` shape.
|
|
40
47
|
* @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
|
|
@@ -56,11 +63,20 @@ export interface PutQueryDefinitionCommandOutput extends PutQueryDefinitionRespo
|
|
|
56
63
|
export declare class PutQueryDefinitionCommand extends $Command<PutQueryDefinitionCommandInput, PutQueryDefinitionCommandOutput, CloudWatchLogsClientResolvedConfig> {
|
|
57
64
|
readonly input: PutQueryDefinitionCommandInput;
|
|
58
65
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
66
|
+
/**
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
59
69
|
constructor(input: PutQueryDefinitionCommandInput);
|
|
60
70
|
/**
|
|
61
71
|
* @internal
|
|
62
72
|
*/
|
|
63
73
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutQueryDefinitionCommandInput, PutQueryDefinitionCommandOutput>;
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
64
77
|
private serialize;
|
|
78
|
+
/**
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
65
81
|
private deserialize;
|
|
66
82
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
|
|
5
5
|
import { PutResourcePolicyRequest, PutResourcePolicyResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link PutResourcePolicyCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface PutResourcePolicyCommandInput extends PutResourcePolicyRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link PutResourcePolicyCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface PutResourcePolicyCommandOutput extends PutResourcePolicyResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Creates or updates a resource policy allowing other Amazon Web Services services to put log events to
|
|
18
23
|
* this account, such as Amazon Route 53. An account can have up to 10 resource policies per Amazon Web Services
|
|
19
24
|
* Region.</p>
|
|
@@ -27,6 +32,8 @@ export interface PutResourcePolicyCommandOutput extends PutResourcePolicyRespons
|
|
|
27
32
|
* const response = await client.send(command);
|
|
28
33
|
* ```
|
|
29
34
|
*
|
|
35
|
+
* @param PutResourcePolicyCommandInput - {@link PutResourcePolicyCommandInput}
|
|
36
|
+
* @returns {@link PutResourcePolicyCommandOutput}
|
|
30
37
|
* @see {@link PutResourcePolicyCommandInput} for command's `input` shape.
|
|
31
38
|
* @see {@link PutResourcePolicyCommandOutput} for command's `response` shape.
|
|
32
39
|
* @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
|
|
@@ -45,11 +52,20 @@ export interface PutResourcePolicyCommandOutput extends PutResourcePolicyRespons
|
|
|
45
52
|
export declare class PutResourcePolicyCommand extends $Command<PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput, CloudWatchLogsClientResolvedConfig> {
|
|
46
53
|
readonly input: PutResourcePolicyCommandInput;
|
|
47
54
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
55
|
+
/**
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
48
58
|
constructor(input: PutResourcePolicyCommandInput);
|
|
49
59
|
/**
|
|
50
60
|
* @internal
|
|
51
61
|
*/
|
|
52
62
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput>;
|
|
63
|
+
/**
|
|
64
|
+
* @internal
|
|
65
|
+
*/
|
|
53
66
|
private serialize;
|
|
67
|
+
/**
|
|
68
|
+
* @internal
|
|
69
|
+
*/
|
|
54
70
|
private deserialize;
|
|
55
71
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
|
|
5
5
|
import { PutRetentionPolicyRequest } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link PutRetentionPolicyCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface PutRetentionPolicyCommandInput extends PutRetentionPolicyRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link PutRetentionPolicyCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface PutRetentionPolicyCommandOutput extends __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Sets the retention of the specified log group. With a retention policy, you can
|
|
18
23
|
* configure the number of days for which to retain log events in the specified log
|
|
19
24
|
* group.</p>
|
|
@@ -39,6 +44,8 @@ export interface PutRetentionPolicyCommandOutput extends __MetadataBearer {
|
|
|
39
44
|
* const response = await client.send(command);
|
|
40
45
|
* ```
|
|
41
46
|
*
|
|
47
|
+
* @param PutRetentionPolicyCommandInput - {@link PutRetentionPolicyCommandInput}
|
|
48
|
+
* @returns {@link PutRetentionPolicyCommandOutput}
|
|
42
49
|
* @see {@link PutRetentionPolicyCommandInput} for command's `input` shape.
|
|
43
50
|
* @see {@link PutRetentionPolicyCommandOutput} for command's `response` shape.
|
|
44
51
|
* @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
|
|
@@ -60,11 +67,20 @@ export interface PutRetentionPolicyCommandOutput extends __MetadataBearer {
|
|
|
60
67
|
export declare class PutRetentionPolicyCommand extends $Command<PutRetentionPolicyCommandInput, PutRetentionPolicyCommandOutput, CloudWatchLogsClientResolvedConfig> {
|
|
61
68
|
readonly input: PutRetentionPolicyCommandInput;
|
|
62
69
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
70
|
+
/**
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
63
73
|
constructor(input: PutRetentionPolicyCommandInput);
|
|
64
74
|
/**
|
|
65
75
|
* @internal
|
|
66
76
|
*/
|
|
67
77
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutRetentionPolicyCommandInput, PutRetentionPolicyCommandOutput>;
|
|
78
|
+
/**
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
68
81
|
private serialize;
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
69
85
|
private deserialize;
|
|
70
86
|
}
|