@aws-sdk/client-cloudwatch-logs 3.30.0 → 3.34.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 +35 -0
- package/dist/cjs/CloudWatchLogsClient.js +13 -13
- package/dist/cjs/CloudWatchLogsClient.js.map +1 -1
- package/dist/cjs/commands/AssociateKmsKeyCommand.js +3 -3
- package/dist/cjs/commands/AssociateKmsKeyCommand.js.map +1 -1
- package/dist/cjs/commands/CancelExportTaskCommand.js +3 -3
- package/dist/cjs/commands/CancelExportTaskCommand.js.map +1 -1
- package/dist/cjs/commands/CreateExportTaskCommand.js +3 -3
- package/dist/cjs/commands/CreateExportTaskCommand.js.map +1 -1
- package/dist/cjs/commands/CreateLogGroupCommand.js +3 -3
- package/dist/cjs/commands/CreateLogGroupCommand.js.map +1 -1
- package/dist/cjs/commands/CreateLogStreamCommand.js +3 -3
- package/dist/cjs/commands/CreateLogStreamCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteDestinationCommand.js +3 -3
- package/dist/cjs/commands/DeleteDestinationCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteLogGroupCommand.js +3 -3
- package/dist/cjs/commands/DeleteLogGroupCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteLogStreamCommand.js +3 -3
- package/dist/cjs/commands/DeleteLogStreamCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteMetricFilterCommand.js +3 -3
- package/dist/cjs/commands/DeleteMetricFilterCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteQueryDefinitionCommand.js +3 -3
- package/dist/cjs/commands/DeleteQueryDefinitionCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteResourcePolicyCommand.js +3 -3
- package/dist/cjs/commands/DeleteResourcePolicyCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteRetentionPolicyCommand.js +3 -3
- package/dist/cjs/commands/DeleteRetentionPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteSubscriptionFilterCommand.js +3 -3
- package/dist/cjs/commands/DeleteSubscriptionFilterCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeDestinationsCommand.js +3 -3
- package/dist/cjs/commands/DescribeDestinationsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeExportTasksCommand.js +3 -3
- package/dist/cjs/commands/DescribeExportTasksCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeLogGroupsCommand.js +3 -3
- package/dist/cjs/commands/DescribeLogGroupsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeLogStreamsCommand.js +3 -3
- package/dist/cjs/commands/DescribeLogStreamsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeMetricFiltersCommand.js +3 -3
- package/dist/cjs/commands/DescribeMetricFiltersCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeQueriesCommand.js +3 -3
- package/dist/cjs/commands/DescribeQueriesCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeQueryDefinitionsCommand.js +3 -3
- package/dist/cjs/commands/DescribeQueryDefinitionsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeResourcePoliciesCommand.js +3 -3
- package/dist/cjs/commands/DescribeResourcePoliciesCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeSubscriptionFiltersCommand.js +3 -3
- package/dist/cjs/commands/DescribeSubscriptionFiltersCommand.js.map +1 -1
- package/dist/cjs/commands/DisassociateKmsKeyCommand.js +3 -3
- package/dist/cjs/commands/DisassociateKmsKeyCommand.js.map +1 -1
- package/dist/cjs/commands/FilterLogEventsCommand.js +3 -3
- package/dist/cjs/commands/FilterLogEventsCommand.js.map +1 -1
- package/dist/cjs/commands/GetLogEventsCommand.js +3 -3
- package/dist/cjs/commands/GetLogEventsCommand.js.map +1 -1
- package/dist/cjs/commands/GetLogGroupFieldsCommand.js +3 -3
- package/dist/cjs/commands/GetLogGroupFieldsCommand.js.map +1 -1
- package/dist/cjs/commands/GetLogRecordCommand.js +3 -3
- package/dist/cjs/commands/GetLogRecordCommand.js.map +1 -1
- package/dist/cjs/commands/GetQueryResultsCommand.js +3 -3
- package/dist/cjs/commands/GetQueryResultsCommand.js.map +1 -1
- package/dist/cjs/commands/ListTagsLogGroupCommand.js +3 -3
- package/dist/cjs/commands/ListTagsLogGroupCommand.js.map +1 -1
- package/dist/cjs/commands/PutDestinationCommand.js +3 -3
- package/dist/cjs/commands/PutDestinationCommand.js.map +1 -1
- package/dist/cjs/commands/PutDestinationPolicyCommand.js +3 -3
- package/dist/cjs/commands/PutDestinationPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/PutLogEventsCommand.js +3 -3
- package/dist/cjs/commands/PutLogEventsCommand.js.map +1 -1
- package/dist/cjs/commands/PutMetricFilterCommand.js +3 -3
- package/dist/cjs/commands/PutMetricFilterCommand.js.map +1 -1
- package/dist/cjs/commands/PutQueryDefinitionCommand.js +3 -3
- package/dist/cjs/commands/PutQueryDefinitionCommand.js.map +1 -1
- package/dist/cjs/commands/PutResourcePolicyCommand.js +3 -3
- package/dist/cjs/commands/PutResourcePolicyCommand.js.map +1 -1
- package/dist/cjs/commands/PutRetentionPolicyCommand.js +3 -3
- package/dist/cjs/commands/PutRetentionPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/PutSubscriptionFilterCommand.js +3 -3
- package/dist/cjs/commands/PutSubscriptionFilterCommand.js.map +1 -1
- package/dist/cjs/commands/StartQueryCommand.js +3 -3
- package/dist/cjs/commands/StartQueryCommand.js.map +1 -1
- package/dist/cjs/commands/StopQueryCommand.js +3 -3
- package/dist/cjs/commands/StopQueryCommand.js.map +1 -1
- package/dist/cjs/commands/TagLogGroupCommand.js +3 -3
- package/dist/cjs/commands/TagLogGroupCommand.js.map +1 -1
- package/dist/cjs/commands/TestMetricFilterCommand.js +3 -3
- package/dist/cjs/commands/TestMetricFilterCommand.js.map +1 -1
- package/dist/cjs/commands/UntagLogGroupCommand.js +3 -3
- package/dist/cjs/commands/UntagLogGroupCommand.js.map +1 -1
- package/dist/cjs/endpoints.js +1 -1
- package/dist/cjs/endpoints.js.map +1 -1
- package/dist/cjs/index.js +53 -53
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models/index.js +1 -1
- package/dist/cjs/models/index.js.map +1 -1
- package/dist/cjs/package.json +39 -39
- package/dist/cjs/protocols/Aws_json1_1.js +123 -123
- package/dist/cjs/protocols/Aws_json1_1.js.map +1 -1
- package/dist/cjs/runtimeConfig.browser.js +4 -4
- package/dist/cjs/runtimeConfig.browser.js.map +1 -1
- package/dist/cjs/runtimeConfig.js +8 -8
- package/dist/cjs/runtimeConfig.js.map +1 -1
- package/dist/cjs/runtimeConfig.native.js +1 -1
- package/dist/cjs/runtimeConfig.native.js.map +1 -1
- package/dist/es/CloudWatchLogs.js +1 -37
- package/dist/es/CloudWatchLogs.js.map +1 -1
- package/dist/es/CloudWatchLogsClient.js +1 -42
- package/dist/es/CloudWatchLogsClient.js.map +1 -1
- package/dist/es/commands/AssociateKmsKeyCommand.js +2 -39
- package/dist/es/commands/AssociateKmsKeyCommand.js.map +1 -1
- package/dist/es/commands/CancelExportTaskCommand.js +2 -28
- package/dist/es/commands/CancelExportTaskCommand.js.map +1 -1
- package/dist/es/commands/CreateExportTaskCommand.js +2 -40
- package/dist/es/commands/CreateExportTaskCommand.js.map +1 -1
- package/dist/es/commands/CreateLogGroupCommand.js +2 -53
- package/dist/es/commands/CreateLogGroupCommand.js.map +1 -1
- package/dist/es/commands/CreateLogStreamCommand.js +2 -43
- package/dist/es/commands/CreateLogStreamCommand.js.map +1 -1
- package/dist/es/commands/DeleteDestinationCommand.js +2 -29
- package/dist/es/commands/DeleteDestinationCommand.js.map +1 -1
- package/dist/es/commands/DeleteLogGroupCommand.js +2 -28
- package/dist/es/commands/DeleteLogGroupCommand.js.map +1 -1
- package/dist/es/commands/DeleteLogStreamCommand.js +2 -28
- package/dist/es/commands/DeleteLogStreamCommand.js.map +1 -1
- package/dist/es/commands/DeleteMetricFilterCommand.js +2 -27
- package/dist/es/commands/DeleteMetricFilterCommand.js.map +1 -1
- package/dist/es/commands/DeleteQueryDefinitionCommand.js +2 -31
- package/dist/es/commands/DeleteQueryDefinitionCommand.js.map +1 -1
- package/dist/es/commands/DeleteResourcePolicyCommand.js +2 -28
- package/dist/es/commands/DeleteResourcePolicyCommand.js.map +1 -1
- package/dist/es/commands/DeleteRetentionPolicyCommand.js +2 -28
- package/dist/es/commands/DeleteRetentionPolicyCommand.js.map +1 -1
- package/dist/es/commands/DeleteSubscriptionFilterCommand.js +2 -27
- package/dist/es/commands/DeleteSubscriptionFilterCommand.js.map +1 -1
- package/dist/es/commands/DescribeDestinationsCommand.js +2 -27
- package/dist/es/commands/DescribeDestinationsCommand.js.map +1 -1
- package/dist/es/commands/DescribeExportTasksCommand.js +2 -28
- package/dist/es/commands/DescribeExportTasksCommand.js.map +1 -1
- package/dist/es/commands/DescribeLogGroupsCommand.js +2 -35
- package/dist/es/commands/DescribeLogGroupsCommand.js.map +1 -1
- package/dist/es/commands/DescribeLogStreamsCommand.js +2 -30
- package/dist/es/commands/DescribeLogStreamsCommand.js.map +1 -1
- package/dist/es/commands/DescribeMetricFiltersCommand.js +2 -29
- package/dist/es/commands/DescribeMetricFiltersCommand.js.map +1 -1
- package/dist/es/commands/DescribeQueriesCommand.js +2 -29
- package/dist/es/commands/DescribeQueriesCommand.js.map +1 -1
- package/dist/es/commands/DescribeQueryDefinitionsCommand.js +2 -29
- package/dist/es/commands/DescribeQueryDefinitionsCommand.js.map +1 -1
- package/dist/es/commands/DescribeResourcePoliciesCommand.js +2 -27
- package/dist/es/commands/DescribeResourcePoliciesCommand.js.map +1 -1
- package/dist/es/commands/DescribeSubscriptionFiltersCommand.js +2 -28
- package/dist/es/commands/DescribeSubscriptionFiltersCommand.js.map +1 -1
- package/dist/es/commands/DisassociateKmsKeyCommand.js +2 -30
- package/dist/es/commands/DisassociateKmsKeyCommand.js.map +1 -1
- package/dist/es/commands/FilterLogEventsCommand.js +2 -35
- package/dist/es/commands/FilterLogEventsCommand.js.map +1 -1
- package/dist/es/commands/GetLogEventsCommand.js +2 -32
- package/dist/es/commands/GetLogEventsCommand.js.map +1 -1
- package/dist/es/commands/GetLogGroupFieldsCommand.js +2 -34
- package/dist/es/commands/GetLogGroupFieldsCommand.js.map +1 -1
- package/dist/es/commands/GetLogRecordCommand.js +2 -30
- package/dist/es/commands/GetLogRecordCommand.js.map +1 -1
- package/dist/es/commands/GetQueryResultsCommand.js +2 -37
- package/dist/es/commands/GetQueryResultsCommand.js.map +1 -1
- package/dist/es/commands/ListTagsLogGroupCommand.js +2 -27
- package/dist/es/commands/ListTagsLogGroupCommand.js.map +1 -1
- package/dist/es/commands/PutDestinationCommand.js +2 -36
- package/dist/es/commands/PutDestinationCommand.js.map +1 -1
- package/dist/es/commands/PutDestinationPolicyCommand.js +2 -32
- package/dist/es/commands/PutDestinationPolicyCommand.js.map +1 -1
- package/dist/es/commands/PutLogEventsCommand.js +2 -64
- package/dist/es/commands/PutLogEventsCommand.js.map +1 -1
- package/dist/es/commands/PutMetricFilterCommand.js +2 -49
- package/dist/es/commands/PutMetricFilterCommand.js.map +1 -1
- package/dist/es/commands/PutQueryDefinitionCommand.js +2 -38
- package/dist/es/commands/PutQueryDefinitionCommand.js.map +1 -1
- package/dist/es/commands/PutResourcePolicyCommand.js +2 -29
- package/dist/es/commands/PutResourcePolicyCommand.js.map +1 -1
- package/dist/es/commands/PutRetentionPolicyCommand.js +2 -29
- package/dist/es/commands/PutRetentionPolicyCommand.js.map +1 -1
- package/dist/es/commands/PutSubscriptionFilterCommand.js +2 -55
- package/dist/es/commands/PutSubscriptionFilterCommand.js.map +1 -1
- package/dist/es/commands/StartQueryCommand.js +2 -32
- package/dist/es/commands/StartQueryCommand.js.map +1 -1
- package/dist/es/commands/StopQueryCommand.js +2 -28
- package/dist/es/commands/StopQueryCommand.js.map +1 -1
- package/dist/es/commands/TagLogGroupCommand.js +2 -36
- package/dist/es/commands/TagLogGroupCommand.js.map +1 -1
- package/dist/es/commands/TestMetricFilterCommand.js +2 -28
- package/dist/es/commands/TestMetricFilterCommand.js.map +1 -1
- package/dist/es/commands/UntagLogGroupCommand.js +2 -33
- package/dist/es/commands/UntagLogGroupCommand.js.map +1 -1
- package/dist/es/endpoints.js +1 -1
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/models/models_0.js +0 -300
- package/dist/es/models/models_0.js.map +1 -1
- package/dist/es/package.json +39 -39
- package/dist/es/pagination/DescribeDestinationsPaginator.js +16 -28
- package/dist/es/pagination/DescribeDestinationsPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeLogGroupsPaginator.js +16 -28
- package/dist/es/pagination/DescribeLogGroupsPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeLogStreamsPaginator.js +16 -28
- package/dist/es/pagination/DescribeLogStreamsPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeMetricFiltersPaginator.js +16 -28
- package/dist/es/pagination/DescribeMetricFiltersPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeSubscriptionFiltersPaginator.js +16 -28
- package/dist/es/pagination/DescribeSubscriptionFiltersPaginator.js.map +1 -1
- package/dist/es/pagination/FilterLogEventsPaginator.js +16 -28
- package/dist/es/pagination/FilterLogEventsPaginator.js.map +1 -1
- package/dist/es/pagination/GetLogEventsPaginator.js +16 -28
- package/dist/es/pagination/GetLogEventsPaginator.js.map +1 -1
- package/dist/es/protocols/Aws_json1_1.js +879 -884
- package/dist/es/protocols/Aws_json1_1.js.map +1 -1
- package/dist/es/runtimeConfig.browser.js +0 -3
- package/dist/es/runtimeConfig.browser.js.map +1 -1
- package/dist/es/runtimeConfig.js +0 -3
- package/dist/es/runtimeConfig.js.map +1 -1
- package/dist/es/runtimeConfig.native.js +0 -3
- package/dist/es/runtimeConfig.native.js.map +1 -1
- package/dist/es/runtimeConfig.shared.js +0 -3
- package/dist/es/runtimeConfig.shared.js.map +1 -1
- package/dist/types/runtimeConfig.browser.d.ts +1 -0
- package/dist/types/runtimeConfig.d.ts +1 -0
- package/dist/types/runtimeConfig.native.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +39 -39
- package/tsconfig.es.json +0 -2
- package/tsconfig.json +3 -5
- package/tsconfig.types.json +8 -0
|
@@ -3,66 +3,13 @@ import { PutSubscriptionFilterRequest } from "../models/models_0";
|
|
|
3
3
|
import { deserializeAws_json1_1PutSubscriptionFilterCommand, serializeAws_json1_1PutSubscriptionFilterCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Creates or updates a subscription filter and associates it with the specified log
|
|
8
|
-
* group. Subscription filters allow you to subscribe to a real-time stream of log events
|
|
9
|
-
* ingested through <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutLogEvents.html">PutLogEvents</a> and have them delivered to a specific
|
|
10
|
-
* destination. When log events are sent to the
|
|
11
|
-
* receiving service, they are Base64 encoded
|
|
12
|
-
* and compressed with the gzip format.</p>
|
|
13
|
-
* <p>The following destinations are supported for subscription filters:</p>
|
|
14
|
-
* <ul>
|
|
15
|
-
* <li>
|
|
16
|
-
* <p>An Amazon Kinesis stream belonging to the same account as the subscription filter,
|
|
17
|
-
* for same-account delivery.</p>
|
|
18
|
-
* </li>
|
|
19
|
-
* <li>
|
|
20
|
-
* <p>A logical destination that belongs to a different account, for cross-account delivery.</p>
|
|
21
|
-
* </li>
|
|
22
|
-
* <li>
|
|
23
|
-
* <p>An Amazon Kinesis Firehose delivery stream that belongs to the same account as the
|
|
24
|
-
* subscription filter, for same-account delivery.</p>
|
|
25
|
-
* </li>
|
|
26
|
-
* <li>
|
|
27
|
-
* <p>An Lambda function that belongs to the same account as the subscription filter,
|
|
28
|
-
* for same-account delivery.</p>
|
|
29
|
-
* </li>
|
|
30
|
-
* </ul>
|
|
31
|
-
* <p>Each log group can have up to two subscription filters associated with it. If you are
|
|
32
|
-
* updating an existing filter, you must specify the correct name in <code>filterName</code>.
|
|
33
|
-
* </p>
|
|
34
|
-
* <p>To perform a <code>PutSubscriptionFilter</code> operation, you must also have the
|
|
35
|
-
* <code>iam:PassRole</code> permission.</p>
|
|
36
|
-
* @example
|
|
37
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
38
|
-
* ```javascript
|
|
39
|
-
* import { CloudWatchLogsClient, PutSubscriptionFilterCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
|
|
40
|
-
* // const { CloudWatchLogsClient, PutSubscriptionFilterCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
41
|
-
* const client = new CloudWatchLogsClient(config);
|
|
42
|
-
* const command = new PutSubscriptionFilterCommand(input);
|
|
43
|
-
* const response = await client.send(command);
|
|
44
|
-
* ```
|
|
45
|
-
*
|
|
46
|
-
* @see {@link PutSubscriptionFilterCommandInput} for command's `input` shape.
|
|
47
|
-
* @see {@link PutSubscriptionFilterCommandOutput} for command's `response` shape.
|
|
48
|
-
* @see {@link CloudWatchLogsClientResolvedConfig | config} for command's `input` shape.
|
|
49
|
-
*
|
|
50
|
-
*/
|
|
51
|
-
var PutSubscriptionFilterCommand = /** @class */ (function (_super) {
|
|
6
|
+
var PutSubscriptionFilterCommand = (function (_super) {
|
|
52
7
|
__extends(PutSubscriptionFilterCommand, _super);
|
|
53
|
-
// Start section: command_properties
|
|
54
|
-
// End section: command_properties
|
|
55
8
|
function PutSubscriptionFilterCommand(input) {
|
|
56
|
-
var _this =
|
|
57
|
-
// Start section: command_constructor
|
|
58
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
59
10
|
_this.input = input;
|
|
60
11
|
return _this;
|
|
61
|
-
// End section: command_constructor
|
|
62
12
|
}
|
|
63
|
-
/**
|
|
64
|
-
* @internal
|
|
65
|
-
*/
|
|
66
13
|
PutSubscriptionFilterCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
67
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
68
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PutSubscriptionFilterCommand.js","sourceRoot":"","sources":["../../../commands/PutSubscriptionFilterCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAClE,OAAO,EACL,kDAAkD,EAClD,gDAAgD,GACjD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"PutSubscriptionFilterCommand.js","sourceRoot":"","sources":["../../../commands/PutSubscriptionFilterCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAClE,OAAO,EACL,kDAAkD,EAClD,gDAAgD,GACjD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AA2D7D;IAAkD,gDAIjD;IAIC,sCAAqB,KAAwC;QAA7D,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAmC;;IAI7D,CAAC;IAKD,wDAAiB,GAAjB,UACE,WAAmE,EACnE,aAAiD,EACjD,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,sBAAsB,CAAC;QAC1C,IAAM,WAAW,GAAG,8BAA8B,CAAC;QACnD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,4BAA4B,CAAC,kBAAkB;YACxE,wBAAwB,EAAE,UAAC,MAAW,IAAK,OAAA,MAAM,EAAN,CAAM;SAClD,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,gDAAS,GAAjB,UAAkB,KAAwC,EAAE,OAAuB;QACjF,OAAO,gDAAgD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC1E,CAAC;IAEO,kDAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,kDAAkD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;IAIH,mCAAC;AAAD,CAAC,AAtDD,CAAkD,QAAQ,GAsDzD"}
|
|
@@ -3,43 +3,13 @@ import { StartQueryRequest, StartQueryResponse } from "../models/models_0";
|
|
|
3
3
|
import { deserializeAws_json1_1StartQueryCommand, serializeAws_json1_1StartQueryCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Schedules a query of a log group using CloudWatch Logs Insights. You specify the log group
|
|
8
|
-
* and time range to query and the query string to use.</p>
|
|
9
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html">CloudWatch Logs Insights Query Syntax</a>.</p>
|
|
10
|
-
*
|
|
11
|
-
* <p>Queries time out after 15 minutes of execution. If your queries are timing out, reduce the
|
|
12
|
-
* time range being searched or partition your query into a number of queries.</p>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { CloudWatchLogsClient, StartQueryCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
|
|
17
|
-
* // const { CloudWatchLogsClient, StartQueryCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
18
|
-
* const client = new CloudWatchLogsClient(config);
|
|
19
|
-
* const command = new StartQueryCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link StartQueryCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link StartQueryCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link CloudWatchLogsClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
|
-
var StartQueryCommand = /** @class */ (function (_super) {
|
|
6
|
+
var StartQueryCommand = (function (_super) {
|
|
29
7
|
__extends(StartQueryCommand, _super);
|
|
30
|
-
// Start section: command_properties
|
|
31
|
-
// End section: command_properties
|
|
32
8
|
function StartQueryCommand(input) {
|
|
33
|
-
var _this =
|
|
34
|
-
// Start section: command_constructor
|
|
35
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
36
10
|
_this.input = input;
|
|
37
11
|
return _this;
|
|
38
|
-
// End section: command_constructor
|
|
39
12
|
}
|
|
40
|
-
/**
|
|
41
|
-
* @internal
|
|
42
|
-
*/
|
|
43
13
|
StartQueryCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
44
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
45
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StartQueryCommand.js","sourceRoot":"","sources":["../../../commands/StartQueryCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAC3E,OAAO,EACL,uCAAuC,EACvC,qCAAqC,GACtC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"StartQueryCommand.js","sourceRoot":"","sources":["../../../commands/StartQueryCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAC3E,OAAO,EACL,uCAAuC,EACvC,qCAAqC,GACtC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAoC7D;IAAuC,qCAItC;IAIC,2BAAqB,KAA6B;QAAlD,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAwB;;IAIlD,CAAC;IAKD,6CAAiB,GAAjB,UACE,WAAmE,EACnE,aAAiD,EACjD,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,sBAAsB,CAAC;QAC1C,IAAM,WAAW,GAAG,mBAAmB,CAAC;QACxC,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,iBAAiB,CAAC,kBAAkB;YAC7D,wBAAwB,EAAE,kBAAkB,CAAC,kBAAkB;SAChE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,qCAAS,GAAjB,UAAkB,KAA6B,EAAE,OAAuB;QACtE,OAAO,qCAAqC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;IAEO,uCAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,uCAAuC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;IAIH,wBAAC;AAAD,CAAC,AAtDD,CAAuC,QAAQ,GAsD9C"}
|
|
@@ -3,39 +3,13 @@ import { StopQueryRequest, StopQueryResponse } from "../models/models_0";
|
|
|
3
3
|
import { deserializeAws_json1_1StopQueryCommand, serializeAws_json1_1StopQueryCommand } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Stops a CloudWatch Logs Insights query that is in progress. If the query has already ended, the operation
|
|
8
|
-
* returns an error indicating that the specified query is not running.</p>
|
|
9
|
-
* @example
|
|
10
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
11
|
-
* ```javascript
|
|
12
|
-
* import { CloudWatchLogsClient, StopQueryCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
|
|
13
|
-
* // const { CloudWatchLogsClient, StopQueryCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
14
|
-
* const client = new CloudWatchLogsClient(config);
|
|
15
|
-
* const command = new StopQueryCommand(input);
|
|
16
|
-
* const response = await client.send(command);
|
|
17
|
-
* ```
|
|
18
|
-
*
|
|
19
|
-
* @see {@link StopQueryCommandInput} for command's `input` shape.
|
|
20
|
-
* @see {@link StopQueryCommandOutput} for command's `response` shape.
|
|
21
|
-
* @see {@link CloudWatchLogsClientResolvedConfig | config} for command's `input` shape.
|
|
22
|
-
*
|
|
23
|
-
*/
|
|
24
|
-
var StopQueryCommand = /** @class */ (function (_super) {
|
|
6
|
+
var StopQueryCommand = (function (_super) {
|
|
25
7
|
__extends(StopQueryCommand, _super);
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
8
|
function StopQueryCommand(input) {
|
|
29
|
-
var _this =
|
|
30
|
-
// Start section: command_constructor
|
|
31
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
32
10
|
_this.input = input;
|
|
33
11
|
return _this;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
StopQueryCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StopQueryCommand.js","sourceRoot":"","sources":["../../../commands/StopQueryCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACzE,OAAO,EAAE,sCAAsC,EAAE,oCAAoC,EAAE,MAAM,0BAA0B,CAAC;AACxH,OAAO,EAAE,cAAc,EAAE,MAA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CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,oCAAS,GAAjB,UAAkB,KAA4B,EAAE,OAAuB;QACrE,OAAO,oCAAoC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC9D,CAAC;IAEO,sCAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,sCAAsC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IAIH,uBAAC;AAAD,CAAC,AAtDD,CAAsC,QAAQ,GAsD7C"}
|
|
@@ -3,47 +3,13 @@ import { TagLogGroupRequest } from "../models/models_0";
|
|
|
3
3
|
import { deserializeAws_json1_1TagLogGroupCommand, serializeAws_json1_1TagLogGroupCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Adds or updates the specified tags for the specified log group.</p>
|
|
8
|
-
* <p>To list the tags for a log group, use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_ListTagsLogGroup.html">ListTagsLogGroup</a>.
|
|
9
|
-
* To remove tags, use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_UntagLogGroup.html">UntagLogGroup</a>.</p>
|
|
10
|
-
* <p>For more information about tags, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html#log-group-tagging">Tag Log Groups in Amazon CloudWatch Logs</a>
|
|
11
|
-
* in the <i>Amazon CloudWatch Logs User Guide</i>.</p>
|
|
12
|
-
* <p>CloudWatch Logs doesn’t support IAM policies that prevent users from assigning specified tags to
|
|
13
|
-
* log groups using the <code>aws:Resource/<i>key-name</i>
|
|
14
|
-
* </code> or <code>aws:TagKeys</code> condition keys.
|
|
15
|
-
* For more information about using tags to control access, see
|
|
16
|
-
* <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html">Controlling access to Amazon Web Services resources using tags</a>.</p>
|
|
17
|
-
* @example
|
|
18
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
19
|
-
* ```javascript
|
|
20
|
-
* import { CloudWatchLogsClient, TagLogGroupCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
|
|
21
|
-
* // const { CloudWatchLogsClient, TagLogGroupCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
22
|
-
* const client = new CloudWatchLogsClient(config);
|
|
23
|
-
* const command = new TagLogGroupCommand(input);
|
|
24
|
-
* const response = await client.send(command);
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
* @see {@link TagLogGroupCommandInput} for command's `input` shape.
|
|
28
|
-
* @see {@link TagLogGroupCommandOutput} for command's `response` shape.
|
|
29
|
-
* @see {@link CloudWatchLogsClientResolvedConfig | config} for command's `input` shape.
|
|
30
|
-
*
|
|
31
|
-
*/
|
|
32
|
-
var TagLogGroupCommand = /** @class */ (function (_super) {
|
|
6
|
+
var TagLogGroupCommand = (function (_super) {
|
|
33
7
|
__extends(TagLogGroupCommand, _super);
|
|
34
|
-
// Start section: command_properties
|
|
35
|
-
// End section: command_properties
|
|
36
8
|
function TagLogGroupCommand(input) {
|
|
37
|
-
var _this =
|
|
38
|
-
// Start section: command_constructor
|
|
39
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
40
10
|
_this.input = input;
|
|
41
11
|
return _this;
|
|
42
|
-
// End section: command_constructor
|
|
43
12
|
}
|
|
44
|
-
/**
|
|
45
|
-
* @internal
|
|
46
|
-
*/
|
|
47
13
|
TagLogGroupCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
48
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
49
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TagLogGroupCommand.js","sourceRoot":"","sources":["../../../commands/TagLogGroupCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,EACL,wCAAwC,EACxC,sCAAsC,GACvC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"TagLogGroupCommand.js","sourceRoot":"","sources":["../../../commands/TagLogGroupCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,EACL,wCAAwC,EACxC,sCAAsC,GACvC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAwC7D;IAAwC,sCAIvC;IAIC,4BAAqB,KAA8B;QAAnD,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAyB;;IAInD,CAAC;IAKD,8CAAiB,GAAjB,UACE,WAAmE,EACnE,aAAiD,EACjD,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,sBAAsB,CAAC;QAC1C,IAAM,WAAW,GAAG,oBAAoB,CAAC;QACzC,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,kBAAkB,CAAC,kBAAkB;YAC9D,wBAAwB,EAAE,UAAC,MAAW,IAAK,OAAA,MAAM,EAAN,CAAM;SAClD,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,sCAAS,GAAjB,UAAkB,KAA8B,EAAE,OAAuB;QACvE,OAAO,sCAAsC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAChE,CAAC;IAEO,wCAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,wCAAwC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;IAIH,yBAAC;AAAD,CAAC,AAtDD,CAAwC,QAAQ,GAsD/C"}
|
|
@@ -3,39 +3,13 @@ import { TestMetricFilterRequest, TestMetricFilterResponse } from "../models/mod
|
|
|
3
3
|
import { deserializeAws_json1_1TestMetricFilterCommand, serializeAws_json1_1TestMetricFilterCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Tests the filter pattern of a metric filter against a sample of log event messages. You
|
|
8
|
-
* can use this operation to validate the correctness of a metric filter pattern.</p>
|
|
9
|
-
* @example
|
|
10
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
11
|
-
* ```javascript
|
|
12
|
-
* import { CloudWatchLogsClient, TestMetricFilterCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
|
|
13
|
-
* // const { CloudWatchLogsClient, TestMetricFilterCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
14
|
-
* const client = new CloudWatchLogsClient(config);
|
|
15
|
-
* const command = new TestMetricFilterCommand(input);
|
|
16
|
-
* const response = await client.send(command);
|
|
17
|
-
* ```
|
|
18
|
-
*
|
|
19
|
-
* @see {@link TestMetricFilterCommandInput} for command's `input` shape.
|
|
20
|
-
* @see {@link TestMetricFilterCommandOutput} for command's `response` shape.
|
|
21
|
-
* @see {@link CloudWatchLogsClientResolvedConfig | config} for command's `input` shape.
|
|
22
|
-
*
|
|
23
|
-
*/
|
|
24
|
-
var TestMetricFilterCommand = /** @class */ (function (_super) {
|
|
6
|
+
var TestMetricFilterCommand = (function (_super) {
|
|
25
7
|
__extends(TestMetricFilterCommand, _super);
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
8
|
function TestMetricFilterCommand(input) {
|
|
29
|
-
var _this =
|
|
30
|
-
// Start section: command_constructor
|
|
31
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
32
10
|
_this.input = input;
|
|
33
11
|
return _this;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
TestMetricFilterCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TestMetricFilterCommand.js","sourceRoot":"","sources":["../../../commands/TestMetricFilterCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AACvF,OAAO,EACL,6CAA6C,EAC7C,2CAA2C,GAC5C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2B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M,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,2CAAS,GAAjB,UAAkB,KAAmC,EAAE,OAAuB;QAC5E,OAAO,2CAA2C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;IAEO,6CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,6CAA6C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACxE,CAAC;IAIH,8BAAC;AAAD,CAAC,AAtDD,CAA6C,QAAQ,GAsDpD"}
|
|
@@ -3,44 +3,13 @@ import { UntagLogGroupRequest } from "../models/models_0";
|
|
|
3
3
|
import { deserializeAws_json1_1UntagLogGroupCommand, serializeAws_json1_1UntagLogGroupCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Removes the specified tags from the specified log group.</p>
|
|
8
|
-
* <p>To list the tags for a log group, use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_ListTagsLogGroup.html">ListTagsLogGroup</a>.
|
|
9
|
-
* To add tags, use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_TagLogGroup.html">TagLogGroup</a>.</p>
|
|
10
|
-
* <p>CloudWatch Logs doesn’t support IAM policies that prevent users from assigning specified tags to
|
|
11
|
-
* log groups using the <code>aws:Resource/<i>key-name</i>
|
|
12
|
-
* </code> or <code>aws:TagKeys</code> condition keys.
|
|
13
|
-
* </p>
|
|
14
|
-
* @example
|
|
15
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
-
* ```javascript
|
|
17
|
-
* import { CloudWatchLogsClient, UntagLogGroupCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
|
|
18
|
-
* // const { CloudWatchLogsClient, UntagLogGroupCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
19
|
-
* const client = new CloudWatchLogsClient(config);
|
|
20
|
-
* const command = new UntagLogGroupCommand(input);
|
|
21
|
-
* const response = await client.send(command);
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @see {@link UntagLogGroupCommandInput} for command's `input` shape.
|
|
25
|
-
* @see {@link UntagLogGroupCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link CloudWatchLogsClientResolvedConfig | config} for command's `input` shape.
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
29
|
-
var UntagLogGroupCommand = /** @class */ (function (_super) {
|
|
6
|
+
var UntagLogGroupCommand = (function (_super) {
|
|
30
7
|
__extends(UntagLogGroupCommand, _super);
|
|
31
|
-
// Start section: command_properties
|
|
32
|
-
// End section: command_properties
|
|
33
8
|
function UntagLogGroupCommand(input) {
|
|
34
|
-
var _this =
|
|
35
|
-
// Start section: command_constructor
|
|
36
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
37
10
|
_this.input = input;
|
|
38
11
|
return _this;
|
|
39
|
-
// End section: command_constructor
|
|
40
12
|
}
|
|
41
|
-
/**
|
|
42
|
-
* @internal
|
|
43
|
-
*/
|
|
44
13
|
UntagLogGroupCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
45
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
46
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UntagLogGroupCommand.js","sourceRoot":"","sources":["../../../commands/UntagLogGroupCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC1D,OAAO,EACL,0CAA0C,EAC1C,wCAAwC,GACzC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAA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AAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,wCAAS,GAAjB,UAAkB,KAAgC,EAAE,OAAuB;QACzE,OAAO,wCAAwC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;IAEO,0CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,0CAA0C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;IAIH,2BAAC;AAAD,CAAC,AAtDD,CAA0C,QAAQ,GAsDjD"}
|
package/dist/es/endpoints.js
CHANGED
|
@@ -76,7 +76,7 @@ var partitionHash = {
|
|
|
76
76
|
};
|
|
77
77
|
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
|
|
78
78
|
return __generator(this, function (_a) {
|
|
79
|
-
return [2
|
|
79
|
+
return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "logs", regionHash: regionHash, partitionHash: partitionHash }))];
|
|
80
80
|
});
|
|
81
81
|
}); };
|
|
82
82
|
//# sourceMappingURL=endpoints.js.map
|
package/dist/es/endpoints.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"endpoints.js","sourceRoot":"","sources":["../../endpoints.ts"],"names":[],"mappings":";AAAA,OAAO,EAA6B,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAGpF,IAAM,UAAU,GAAe;IAC7B,gBAAgB,EAAE;QAChB,QAAQ,EAAE,mCAAmC;QAC7C,aAAa,EAAE,WAAW;KAC3B;IACD,gBAAgB,EAAE;QAChB,QAAQ,EAAE,mCAAmC;QAC7C,aAAa,EAAE,WAAW;KAC3B;IACD,gBAAgB,EAAE;QAChB,QAAQ,EAAE,mCAAmC;QAC7C,aAAa,EAAE,WAAW;KAC3B;IACD,gBAAgB,EAAE;QAChB,QAAQ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