@aws-sdk/client-cloudwatch-logs 3.300.0 → 3.303.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/models/models_0.js +60 -66
- package/dist-es/models/models_0.js +60 -66
- package/dist-types/commands/AssociateKmsKeyCommand.d.ts +1 -1
- package/dist-types/commands/CancelExportTaskCommand.d.ts +1 -1
- package/dist-types/commands/CreateExportTaskCommand.d.ts +1 -1
- package/dist-types/commands/CreateLogGroupCommand.d.ts +2 -2
- package/dist-types/commands/CreateLogStreamCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDataProtectionPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDestinationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteLogGroupCommand.d.ts +1 -1
- package/dist-types/commands/DeleteLogStreamCommand.d.ts +1 -1
- package/dist-types/commands/DeleteMetricFilterCommand.d.ts +1 -1
- package/dist-types/commands/DeleteQueryDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRetentionPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSubscriptionFilterCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDestinationsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeExportTasksCommand.d.ts +1 -1
- package/dist-types/commands/DescribeLogGroupsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeLogStreamsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeMetricFiltersCommand.d.ts +1 -1
- package/dist-types/commands/DescribeQueriesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeQueryDefinitionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeResourcePoliciesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSubscriptionFiltersCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateKmsKeyCommand.d.ts +1 -1
- package/dist-types/commands/FilterLogEventsCommand.d.ts +2 -2
- package/dist-types/commands/GetDataProtectionPolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetLogEventsCommand.d.ts +1 -1
- package/dist-types/commands/GetLogGroupFieldsCommand.d.ts +1 -1
- package/dist-types/commands/GetLogRecordCommand.d.ts +1 -1
- package/dist-types/commands/GetQueryResultsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsLogGroupCommand.d.ts +1 -1
- package/dist-types/commands/PutDataProtectionPolicyCommand.d.ts +1 -1
- package/dist-types/commands/PutDestinationCommand.d.ts +2 -2
- package/dist-types/commands/PutDestinationPolicyCommand.d.ts +1 -1
- package/dist-types/commands/PutLogEventsCommand.d.ts +3 -3
- package/dist-types/commands/PutMetricFilterCommand.d.ts +4 -4
- package/dist-types/commands/PutQueryDefinitionCommand.d.ts +2 -2
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +1 -1
- package/dist-types/commands/PutRetentionPolicyCommand.d.ts +1 -1
- package/dist-types/commands/PutSubscriptionFilterCommand.d.ts +1 -1
- package/dist-types/commands/StartQueryCommand.d.ts +3 -3
- package/dist-types/commands/StopQueryCommand.d.ts +1 -1
- package/dist-types/commands/TagLogGroupCommand.d.ts +2 -2
- package/dist-types/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/commands/TestMetricFilterCommand.d.ts +2 -2
- package/dist-types/commands/UntagLogGroupCommand.d.ts +2 -2
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +91 -61
- package/dist-types/ts3.4/models/models_0.d.ts +68 -60
- package/package.json +34 -34
|
@@ -107,72 +107,66 @@ class DataAlreadyAcceptedException extends CloudWatchLogsServiceException_1.Clou
|
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
109
|
exports.DataAlreadyAcceptedException = DataAlreadyAcceptedException;
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
})(QueryStatus = exports.QueryStatus || (exports.QueryStatus = {}));
|
|
171
|
-
var Distribution;
|
|
172
|
-
(function (Distribution) {
|
|
173
|
-
Distribution["ByLogStream"] = "ByLogStream";
|
|
174
|
-
Distribution["Random"] = "Random";
|
|
175
|
-
})(Distribution = exports.Distribution || (exports.Distribution = {}));
|
|
110
|
+
exports.DataProtectionStatus = {
|
|
111
|
+
ACTIVATED: "ACTIVATED",
|
|
112
|
+
ARCHIVED: "ARCHIVED",
|
|
113
|
+
DELETED: "DELETED",
|
|
114
|
+
DISABLED: "DISABLED",
|
|
115
|
+
};
|
|
116
|
+
exports.ExportTaskStatusCode = {
|
|
117
|
+
CANCELLED: "CANCELLED",
|
|
118
|
+
COMPLETED: "COMPLETED",
|
|
119
|
+
FAILED: "FAILED",
|
|
120
|
+
PENDING: "PENDING",
|
|
121
|
+
PENDING_CANCEL: "PENDING_CANCEL",
|
|
122
|
+
RUNNING: "RUNNING",
|
|
123
|
+
};
|
|
124
|
+
exports.OrderBy = {
|
|
125
|
+
LastEventTime: "LastEventTime",
|
|
126
|
+
LogStreamName: "LogStreamName",
|
|
127
|
+
};
|
|
128
|
+
exports.StandardUnit = {
|
|
129
|
+
Bits: "Bits",
|
|
130
|
+
BitsSecond: "Bits/Second",
|
|
131
|
+
Bytes: "Bytes",
|
|
132
|
+
BytesSecond: "Bytes/Second",
|
|
133
|
+
Count: "Count",
|
|
134
|
+
CountSecond: "Count/Second",
|
|
135
|
+
Gigabits: "Gigabits",
|
|
136
|
+
GigabitsSecond: "Gigabits/Second",
|
|
137
|
+
Gigabytes: "Gigabytes",
|
|
138
|
+
GigabytesSecond: "Gigabytes/Second",
|
|
139
|
+
Kilobits: "Kilobits",
|
|
140
|
+
KilobitsSecond: "Kilobits/Second",
|
|
141
|
+
Kilobytes: "Kilobytes",
|
|
142
|
+
KilobytesSecond: "Kilobytes/Second",
|
|
143
|
+
Megabits: "Megabits",
|
|
144
|
+
MegabitsSecond: "Megabits/Second",
|
|
145
|
+
Megabytes: "Megabytes",
|
|
146
|
+
MegabytesSecond: "Megabytes/Second",
|
|
147
|
+
Microseconds: "Microseconds",
|
|
148
|
+
Milliseconds: "Milliseconds",
|
|
149
|
+
None: "None",
|
|
150
|
+
Percent: "Percent",
|
|
151
|
+
Seconds: "Seconds",
|
|
152
|
+
Terabits: "Terabits",
|
|
153
|
+
TerabitsSecond: "Terabits/Second",
|
|
154
|
+
Terabytes: "Terabytes",
|
|
155
|
+
TerabytesSecond: "Terabytes/Second",
|
|
156
|
+
};
|
|
157
|
+
exports.QueryStatus = {
|
|
158
|
+
Cancelled: "Cancelled",
|
|
159
|
+
Complete: "Complete",
|
|
160
|
+
Failed: "Failed",
|
|
161
|
+
Running: "Running",
|
|
162
|
+
Scheduled: "Scheduled",
|
|
163
|
+
Timeout: "Timeout",
|
|
164
|
+
Unknown: "Unknown",
|
|
165
|
+
};
|
|
166
|
+
exports.Distribution = {
|
|
167
|
+
ByLogStream: "ByLogStream",
|
|
168
|
+
Random: "Random",
|
|
169
|
+
};
|
|
176
170
|
class InvalidSequenceTokenException extends CloudWatchLogsServiceException_1.CloudWatchLogsServiceException {
|
|
177
171
|
constructor(opts) {
|
|
178
172
|
super({
|
|
@@ -96,72 +96,66 @@ export class DataAlreadyAcceptedException extends __BaseException {
|
|
|
96
96
|
this.expectedSequenceToken = opts.expectedSequenceToken;
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
|
-
export
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
})(QueryStatus || (QueryStatus = {}));
|
|
160
|
-
export var Distribution;
|
|
161
|
-
(function (Distribution) {
|
|
162
|
-
Distribution["ByLogStream"] = "ByLogStream";
|
|
163
|
-
Distribution["Random"] = "Random";
|
|
164
|
-
})(Distribution || (Distribution = {}));
|
|
99
|
+
export const DataProtectionStatus = {
|
|
100
|
+
ACTIVATED: "ACTIVATED",
|
|
101
|
+
ARCHIVED: "ARCHIVED",
|
|
102
|
+
DELETED: "DELETED",
|
|
103
|
+
DISABLED: "DISABLED",
|
|
104
|
+
};
|
|
105
|
+
export const ExportTaskStatusCode = {
|
|
106
|
+
CANCELLED: "CANCELLED",
|
|
107
|
+
COMPLETED: "COMPLETED",
|
|
108
|
+
FAILED: "FAILED",
|
|
109
|
+
PENDING: "PENDING",
|
|
110
|
+
PENDING_CANCEL: "PENDING_CANCEL",
|
|
111
|
+
RUNNING: "RUNNING",
|
|
112
|
+
};
|
|
113
|
+
export const OrderBy = {
|
|
114
|
+
LastEventTime: "LastEventTime",
|
|
115
|
+
LogStreamName: "LogStreamName",
|
|
116
|
+
};
|
|
117
|
+
export const StandardUnit = {
|
|
118
|
+
Bits: "Bits",
|
|
119
|
+
BitsSecond: "Bits/Second",
|
|
120
|
+
Bytes: "Bytes",
|
|
121
|
+
BytesSecond: "Bytes/Second",
|
|
122
|
+
Count: "Count",
|
|
123
|
+
CountSecond: "Count/Second",
|
|
124
|
+
Gigabits: "Gigabits",
|
|
125
|
+
GigabitsSecond: "Gigabits/Second",
|
|
126
|
+
Gigabytes: "Gigabytes",
|
|
127
|
+
GigabytesSecond: "Gigabytes/Second",
|
|
128
|
+
Kilobits: "Kilobits",
|
|
129
|
+
KilobitsSecond: "Kilobits/Second",
|
|
130
|
+
Kilobytes: "Kilobytes",
|
|
131
|
+
KilobytesSecond: "Kilobytes/Second",
|
|
132
|
+
Megabits: "Megabits",
|
|
133
|
+
MegabitsSecond: "Megabits/Second",
|
|
134
|
+
Megabytes: "Megabytes",
|
|
135
|
+
MegabytesSecond: "Megabytes/Second",
|
|
136
|
+
Microseconds: "Microseconds",
|
|
137
|
+
Milliseconds: "Milliseconds",
|
|
138
|
+
None: "None",
|
|
139
|
+
Percent: "Percent",
|
|
140
|
+
Seconds: "Seconds",
|
|
141
|
+
Terabits: "Terabits",
|
|
142
|
+
TerabitsSecond: "Terabits/Second",
|
|
143
|
+
Terabytes: "Terabytes",
|
|
144
|
+
TerabytesSecond: "Terabytes/Second",
|
|
145
|
+
};
|
|
146
|
+
export const QueryStatus = {
|
|
147
|
+
Cancelled: "Cancelled",
|
|
148
|
+
Complete: "Complete",
|
|
149
|
+
Failed: "Failed",
|
|
150
|
+
Running: "Running",
|
|
151
|
+
Scheduled: "Scheduled",
|
|
152
|
+
Timeout: "Timeout",
|
|
153
|
+
Unknown: "Unknown",
|
|
154
|
+
};
|
|
155
|
+
export const Distribution = {
|
|
156
|
+
ByLogStream: "ByLogStream",
|
|
157
|
+
Random: "Random",
|
|
158
|
+
};
|
|
165
159
|
export class InvalidSequenceTokenException extends __BaseException {
|
|
166
160
|
constructor(opts) {
|
|
167
161
|
super({
|
|
@@ -39,7 +39,7 @@ export interface AssociateKmsKeyCommandOutput extends __MetadataBearer {
|
|
|
39
39
|
* import { CloudWatchLogsClient, AssociateKmsKeyCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
|
|
40
40
|
* // const { CloudWatchLogsClient, AssociateKmsKeyCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
41
41
|
* const client = new CloudWatchLogsClient(config);
|
|
42
|
-
* const input = {
|
|
42
|
+
* const input = { // AssociateKmsKeyRequest
|
|
43
43
|
* logGroupName: "STRING_VALUE", // required
|
|
44
44
|
* kmsKeyId: "STRING_VALUE", // required
|
|
45
45
|
* };
|
|
@@ -27,7 +27,7 @@ export interface CancelExportTaskCommandOutput extends __MetadataBearer {
|
|
|
27
27
|
* import { CloudWatchLogsClient, CancelExportTaskCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
|
|
28
28
|
* // const { CloudWatchLogsClient, CancelExportTaskCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
29
29
|
* const client = new CloudWatchLogsClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // CancelExportTaskRequest
|
|
31
31
|
* taskId: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
33
33
|
* const command = new CancelExportTaskCommand(input);
|
|
@@ -45,7 +45,7 @@ export interface CreateExportTaskCommandOutput extends CreateExportTaskResponse,
|
|
|
45
45
|
* import { CloudWatchLogsClient, CreateExportTaskCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
|
|
46
46
|
* // const { CloudWatchLogsClient, CreateExportTaskCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
47
47
|
* const client = new CloudWatchLogsClient(config);
|
|
48
|
-
* const input = {
|
|
48
|
+
* const input = { // CreateExportTaskRequest
|
|
49
49
|
* taskName: "STRING_VALUE",
|
|
50
50
|
* logGroupName: "STRING_VALUE", // required
|
|
51
51
|
* logStreamNamePrefix: "STRING_VALUE",
|
|
@@ -54,10 +54,10 @@ export interface CreateLogGroupCommandOutput extends __MetadataBearer {
|
|
|
54
54
|
* import { CloudWatchLogsClient, CreateLogGroupCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
|
|
55
55
|
* // const { CloudWatchLogsClient, CreateLogGroupCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
56
56
|
* const client = new CloudWatchLogsClient(config);
|
|
57
|
-
* const input = {
|
|
57
|
+
* const input = { // CreateLogGroupRequest
|
|
58
58
|
* logGroupName: "STRING_VALUE", // required
|
|
59
59
|
* kmsKeyId: "STRING_VALUE",
|
|
60
|
-
* tags: {
|
|
60
|
+
* tags: { // Tags
|
|
61
61
|
* "<keys>": "STRING_VALUE",
|
|
62
62
|
* },
|
|
63
63
|
* };
|
|
@@ -42,7 +42,7 @@ export interface CreateLogStreamCommandOutput extends __MetadataBearer {
|
|
|
42
42
|
* import { CloudWatchLogsClient, CreateLogStreamCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
|
|
43
43
|
* // const { CloudWatchLogsClient, CreateLogStreamCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
44
44
|
* const client = new CloudWatchLogsClient(config);
|
|
45
|
-
* const input = {
|
|
45
|
+
* const input = { // CreateLogStreamRequest
|
|
46
46
|
* logGroupName: "STRING_VALUE", // required
|
|
47
47
|
* logStreamName: "STRING_VALUE", // required
|
|
48
48
|
* };
|
|
@@ -27,7 +27,7 @@ export interface DeleteDataProtectionPolicyCommandOutput extends __MetadataBeare
|
|
|
27
27
|
* import { CloudWatchLogsClient, DeleteDataProtectionPolicyCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
|
|
28
28
|
* // const { CloudWatchLogsClient, DeleteDataProtectionPolicyCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
29
29
|
* const client = new CloudWatchLogsClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // DeleteDataProtectionPolicyRequest
|
|
31
31
|
* logGroupIdentifier: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
33
33
|
* const command = new DeleteDataProtectionPolicyCommand(input);
|
|
@@ -28,7 +28,7 @@ export interface DeleteDestinationCommandOutput extends __MetadataBearer {
|
|
|
28
28
|
* import { CloudWatchLogsClient, DeleteDestinationCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
|
|
29
29
|
* // const { CloudWatchLogsClient, DeleteDestinationCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
30
30
|
* const client = new CloudWatchLogsClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // DeleteDestinationRequest
|
|
32
32
|
* destinationName: "STRING_VALUE", // required
|
|
33
33
|
* };
|
|
34
34
|
* const command = new DeleteDestinationCommand(input);
|
|
@@ -27,7 +27,7 @@ export interface DeleteLogGroupCommandOutput extends __MetadataBearer {
|
|
|
27
27
|
* import { CloudWatchLogsClient, DeleteLogGroupCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
|
|
28
28
|
* // const { CloudWatchLogsClient, DeleteLogGroupCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
29
29
|
* const client = new CloudWatchLogsClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // DeleteLogGroupRequest
|
|
31
31
|
* logGroupName: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
33
33
|
* const command = new DeleteLogGroupCommand(input);
|
|
@@ -27,7 +27,7 @@ export interface DeleteLogStreamCommandOutput extends __MetadataBearer {
|
|
|
27
27
|
* import { CloudWatchLogsClient, DeleteLogStreamCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
|
|
28
28
|
* // const { CloudWatchLogsClient, DeleteLogStreamCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
29
29
|
* const client = new CloudWatchLogsClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // DeleteLogStreamRequest
|
|
31
31
|
* logGroupName: "STRING_VALUE", // required
|
|
32
32
|
* logStreamName: "STRING_VALUE", // required
|
|
33
33
|
* };
|
|
@@ -26,7 +26,7 @@ export interface DeleteMetricFilterCommandOutput extends __MetadataBearer {
|
|
|
26
26
|
* import { CloudWatchLogsClient, DeleteMetricFilterCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
|
|
27
27
|
* // const { CloudWatchLogsClient, DeleteMetricFilterCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
28
28
|
* const client = new CloudWatchLogsClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeleteMetricFilterRequest
|
|
30
30
|
* logGroupName: "STRING_VALUE", // required
|
|
31
31
|
* filterName: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
@@ -30,7 +30,7 @@ export interface DeleteQueryDefinitionCommandOutput extends DeleteQueryDefinitio
|
|
|
30
30
|
* import { CloudWatchLogsClient, DeleteQueryDefinitionCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
|
|
31
31
|
* // const { CloudWatchLogsClient, DeleteQueryDefinitionCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
32
32
|
* const client = new CloudWatchLogsClient(config);
|
|
33
|
-
* const input = {
|
|
33
|
+
* const input = { // DeleteQueryDefinitionRequest
|
|
34
34
|
* queryDefinitionId: "STRING_VALUE", // required
|
|
35
35
|
* };
|
|
36
36
|
* const command = new DeleteQueryDefinitionCommand(input);
|
|
@@ -27,7 +27,7 @@ export interface DeleteResourcePolicyCommandOutput extends __MetadataBearer {
|
|
|
27
27
|
* import { CloudWatchLogsClient, DeleteResourcePolicyCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
|
|
28
28
|
* // const { CloudWatchLogsClient, DeleteResourcePolicyCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
29
29
|
* const client = new CloudWatchLogsClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // DeleteResourcePolicyRequest
|
|
31
31
|
* policyName: "STRING_VALUE",
|
|
32
32
|
* };
|
|
33
33
|
* const command = new DeleteResourcePolicyCommand(input);
|
|
@@ -27,7 +27,7 @@ export interface DeleteRetentionPolicyCommandOutput extends __MetadataBearer {
|
|
|
27
27
|
* import { CloudWatchLogsClient, DeleteRetentionPolicyCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
|
|
28
28
|
* // const { CloudWatchLogsClient, DeleteRetentionPolicyCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
29
29
|
* const client = new CloudWatchLogsClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // DeleteRetentionPolicyRequest
|
|
31
31
|
* logGroupName: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
33
33
|
* const command = new DeleteRetentionPolicyCommand(input);
|
|
@@ -26,7 +26,7 @@ export interface DeleteSubscriptionFilterCommandOutput extends __MetadataBearer
|
|
|
26
26
|
* import { CloudWatchLogsClient, DeleteSubscriptionFilterCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
|
|
27
27
|
* // const { CloudWatchLogsClient, DeleteSubscriptionFilterCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
28
28
|
* const client = new CloudWatchLogsClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeleteSubscriptionFilterRequest
|
|
30
30
|
* logGroupName: "STRING_VALUE", // required
|
|
31
31
|
* filterName: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
@@ -26,7 +26,7 @@ export interface DescribeDestinationsCommandOutput extends DescribeDestinationsR
|
|
|
26
26
|
* import { CloudWatchLogsClient, DescribeDestinationsCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
|
|
27
27
|
* // const { CloudWatchLogsClient, DescribeDestinationsCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
28
28
|
* const client = new CloudWatchLogsClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DescribeDestinationsRequest
|
|
30
30
|
* DestinationNamePrefix: "STRING_VALUE",
|
|
31
31
|
* nextToken: "STRING_VALUE",
|
|
32
32
|
* limit: Number("int"),
|
|
@@ -27,7 +27,7 @@ export interface DescribeExportTasksCommandOutput extends DescribeExportTasksRes
|
|
|
27
27
|
* import { CloudWatchLogsClient, DescribeExportTasksCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
|
|
28
28
|
* // const { CloudWatchLogsClient, DescribeExportTasksCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
29
29
|
* const client = new CloudWatchLogsClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // DescribeExportTasksRequest
|
|
31
31
|
* taskId: "STRING_VALUE",
|
|
32
32
|
* statusCode: "CANCELLED" || "COMPLETED" || "FAILED" || "PENDING" || "PENDING_CANCEL" || "RUNNING",
|
|
33
33
|
* nextToken: "STRING_VALUE",
|
|
@@ -37,8 +37,8 @@ export interface DescribeLogGroupsCommandOutput extends DescribeLogGroupsRespons
|
|
|
37
37
|
* import { CloudWatchLogsClient, DescribeLogGroupsCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
|
|
38
38
|
* // const { CloudWatchLogsClient, DescribeLogGroupsCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
39
39
|
* const client = new CloudWatchLogsClient(config);
|
|
40
|
-
* const input = {
|
|
41
|
-
* accountIdentifiers: [
|
|
40
|
+
* const input = { // DescribeLogGroupsRequest
|
|
41
|
+
* accountIdentifiers: [ // AccountIds
|
|
42
42
|
* "STRING_VALUE",
|
|
43
43
|
* ],
|
|
44
44
|
* logGroupNamePrefix: "STRING_VALUE",
|
|
@@ -35,7 +35,7 @@ export interface DescribeLogStreamsCommandOutput extends DescribeLogStreamsRespo
|
|
|
35
35
|
* import { CloudWatchLogsClient, DescribeLogStreamsCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
|
|
36
36
|
* // const { CloudWatchLogsClient, DescribeLogStreamsCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
37
37
|
* const client = new CloudWatchLogsClient(config);
|
|
38
|
-
* const input = {
|
|
38
|
+
* const input = { // DescribeLogStreamsRequest
|
|
39
39
|
* logGroupName: "STRING_VALUE",
|
|
40
40
|
* logGroupIdentifier: "STRING_VALUE",
|
|
41
41
|
* logStreamNamePrefix: "STRING_VALUE",
|
|
@@ -28,7 +28,7 @@ export interface DescribeMetricFiltersCommandOutput extends DescribeMetricFilter
|
|
|
28
28
|
* import { CloudWatchLogsClient, DescribeMetricFiltersCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
|
|
29
29
|
* // const { CloudWatchLogsClient, DescribeMetricFiltersCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
30
30
|
* const client = new CloudWatchLogsClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // DescribeMetricFiltersRequest
|
|
32
32
|
* logGroupName: "STRING_VALUE",
|
|
33
33
|
* filterNamePrefix: "STRING_VALUE",
|
|
34
34
|
* nextToken: "STRING_VALUE",
|
|
@@ -28,7 +28,7 @@ export interface DescribeQueriesCommandOutput extends DescribeQueriesResponse, _
|
|
|
28
28
|
* import { CloudWatchLogsClient, DescribeQueriesCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
|
|
29
29
|
* // const { CloudWatchLogsClient, DescribeQueriesCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
30
30
|
* const client = new CloudWatchLogsClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // DescribeQueriesRequest
|
|
32
32
|
* logGroupName: "STRING_VALUE",
|
|
33
33
|
* status: "Scheduled" || "Running" || "Complete" || "Failed" || "Cancelled" || "Timeout" || "Unknown",
|
|
34
34
|
* maxResults: Number("int"),
|
|
@@ -28,7 +28,7 @@ export interface DescribeQueryDefinitionsCommandOutput extends DescribeQueryDefi
|
|
|
28
28
|
* import { CloudWatchLogsClient, DescribeQueryDefinitionsCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
|
|
29
29
|
* // const { CloudWatchLogsClient, DescribeQueryDefinitionsCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
30
30
|
* const client = new CloudWatchLogsClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // DescribeQueryDefinitionsRequest
|
|
32
32
|
* queryDefinitionNamePrefix: "STRING_VALUE",
|
|
33
33
|
* maxResults: Number("int"),
|
|
34
34
|
* nextToken: "STRING_VALUE",
|
|
@@ -26,7 +26,7 @@ export interface DescribeResourcePoliciesCommandOutput extends DescribeResourceP
|
|
|
26
26
|
* import { CloudWatchLogsClient, DescribeResourcePoliciesCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
|
|
27
27
|
* // const { CloudWatchLogsClient, DescribeResourcePoliciesCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
28
28
|
* const client = new CloudWatchLogsClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DescribeResourcePoliciesRequest
|
|
30
30
|
* nextToken: "STRING_VALUE",
|
|
31
31
|
* limit: Number("int"),
|
|
32
32
|
* };
|
|
@@ -27,7 +27,7 @@ export interface DescribeSubscriptionFiltersCommandOutput extends DescribeSubscr
|
|
|
27
27
|
* import { CloudWatchLogsClient, DescribeSubscriptionFiltersCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
|
|
28
28
|
* // const { CloudWatchLogsClient, DescribeSubscriptionFiltersCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
29
29
|
* const client = new CloudWatchLogsClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // DescribeSubscriptionFiltersRequest
|
|
31
31
|
* logGroupName: "STRING_VALUE", // required
|
|
32
32
|
* filterNamePrefix: "STRING_VALUE",
|
|
33
33
|
* nextToken: "STRING_VALUE",
|
|
@@ -31,7 +31,7 @@ export interface DisassociateKmsKeyCommandOutput extends __MetadataBearer {
|
|
|
31
31
|
* import { CloudWatchLogsClient, DisassociateKmsKeyCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
|
|
32
32
|
* // const { CloudWatchLogsClient, DisassociateKmsKeyCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
33
33
|
* const client = new CloudWatchLogsClient(config);
|
|
34
|
-
* const input = {
|
|
34
|
+
* const input = { // DisassociateKmsKeyRequest
|
|
35
35
|
* logGroupName: "STRING_VALUE", // required
|
|
36
36
|
* };
|
|
37
37
|
* const command = new DisassociateKmsKeyCommand(input);
|
|
@@ -41,10 +41,10 @@ export interface FilterLogEventsCommandOutput extends FilterLogEventsResponse, _
|
|
|
41
41
|
* import { CloudWatchLogsClient, FilterLogEventsCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
|
|
42
42
|
* // const { CloudWatchLogsClient, FilterLogEventsCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
43
43
|
* const client = new CloudWatchLogsClient(config);
|
|
44
|
-
* const input = {
|
|
44
|
+
* const input = { // FilterLogEventsRequest
|
|
45
45
|
* logGroupName: "STRING_VALUE",
|
|
46
46
|
* logGroupIdentifier: "STRING_VALUE",
|
|
47
|
-
* logStreamNames: [
|
|
47
|
+
* logStreamNames: [ // InputLogStreamNames
|
|
48
48
|
* "STRING_VALUE",
|
|
49
49
|
* ],
|
|
50
50
|
* logStreamNamePrefix: "STRING_VALUE",
|
|
@@ -26,7 +26,7 @@ export interface GetDataProtectionPolicyCommandOutput extends GetDataProtectionP
|
|
|
26
26
|
* import { CloudWatchLogsClient, GetDataProtectionPolicyCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
|
|
27
27
|
* // const { CloudWatchLogsClient, GetDataProtectionPolicyCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
28
28
|
* const client = new CloudWatchLogsClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // GetDataProtectionPolicyRequest
|
|
30
30
|
* logGroupIdentifier: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new GetDataProtectionPolicyCommand(input);
|
|
@@ -36,7 +36,7 @@ export interface GetLogEventsCommandOutput extends GetLogEventsResponse, __Metad
|
|
|
36
36
|
* import { CloudWatchLogsClient, GetLogEventsCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
|
|
37
37
|
* // const { CloudWatchLogsClient, GetLogEventsCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
38
38
|
* const client = new CloudWatchLogsClient(config);
|
|
39
|
-
* const input = {
|
|
39
|
+
* const input = { // GetLogEventsRequest
|
|
40
40
|
* logGroupName: "STRING_VALUE",
|
|
41
41
|
* logGroupIdentifier: "STRING_VALUE",
|
|
42
42
|
* logStreamName: "STRING_VALUE", // required
|
|
@@ -40,7 +40,7 @@ export interface GetLogGroupFieldsCommandOutput extends GetLogGroupFieldsRespons
|
|
|
40
40
|
* import { CloudWatchLogsClient, GetLogGroupFieldsCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
|
|
41
41
|
* // const { CloudWatchLogsClient, GetLogGroupFieldsCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
42
42
|
* const client = new CloudWatchLogsClient(config);
|
|
43
|
-
* const input = {
|
|
43
|
+
* const input = { // GetLogGroupFieldsRequest
|
|
44
44
|
* logGroupName: "STRING_VALUE",
|
|
45
45
|
* time: Number("long"),
|
|
46
46
|
* logGroupIdentifier: "STRING_VALUE",
|
|
@@ -29,7 +29,7 @@ export interface GetLogRecordCommandOutput extends GetLogRecordResponse, __Metad
|
|
|
29
29
|
* import { CloudWatchLogsClient, GetLogRecordCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
|
|
30
30
|
* // const { CloudWatchLogsClient, GetLogRecordCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
31
31
|
* const client = new CloudWatchLogsClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // GetLogRecordRequest
|
|
33
33
|
* logRecordPointer: "STRING_VALUE", // required
|
|
34
34
|
* unmask: true || false,
|
|
35
35
|
* };
|
|
@@ -38,7 +38,7 @@ export interface GetQueryResultsCommandOutput extends GetQueryResultsResponse, _
|
|
|
38
38
|
* import { CloudWatchLogsClient, GetQueryResultsCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
|
|
39
39
|
* // const { CloudWatchLogsClient, GetQueryResultsCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
40
40
|
* const client = new CloudWatchLogsClient(config);
|
|
41
|
-
* const input = {
|
|
41
|
+
* const input = { // GetQueryResultsRequest
|
|
42
42
|
* queryId: "STRING_VALUE", // required
|
|
43
43
|
* };
|
|
44
44
|
* const command = new GetQueryResultsCommand(input);
|
|
@@ -27,7 +27,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
27
27
|
* import { CloudWatchLogsClient, ListTagsForResourceCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
|
|
28
28
|
* // const { CloudWatchLogsClient, ListTagsForResourceCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
29
29
|
* const client = new CloudWatchLogsClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // ListTagsForResourceRequest
|
|
31
31
|
* resourceArn: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
33
33
|
* const command = new ListTagsForResourceCommand(input);
|