@aws-sdk/client-cloudwatch-logs 3.53.0 → 3.55.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 +27 -0
- package/dist-cjs/CloudWatchLogsClient.js +13 -13
- package/dist-cjs/commands/AssociateKmsKeyCommand.js +3 -3
- package/dist-cjs/commands/CancelExportTaskCommand.js +3 -3
- package/dist-cjs/commands/CreateExportTaskCommand.js +3 -3
- package/dist-cjs/commands/CreateLogGroupCommand.js +3 -3
- package/dist-cjs/commands/CreateLogStreamCommand.js +3 -3
- package/dist-cjs/commands/DeleteDestinationCommand.js +3 -3
- package/dist-cjs/commands/DeleteLogGroupCommand.js +3 -3
- package/dist-cjs/commands/DeleteLogStreamCommand.js +3 -3
- package/dist-cjs/commands/DeleteMetricFilterCommand.js +3 -3
- package/dist-cjs/commands/DeleteQueryDefinitionCommand.js +3 -3
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js +3 -3
- package/dist-cjs/commands/DeleteRetentionPolicyCommand.js +3 -3
- package/dist-cjs/commands/DeleteSubscriptionFilterCommand.js +3 -3
- package/dist-cjs/commands/DescribeDestinationsCommand.js +3 -3
- package/dist-cjs/commands/DescribeExportTasksCommand.js +3 -3
- package/dist-cjs/commands/DescribeLogGroupsCommand.js +3 -3
- package/dist-cjs/commands/DescribeLogStreamsCommand.js +3 -3
- package/dist-cjs/commands/DescribeMetricFiltersCommand.js +3 -3
- package/dist-cjs/commands/DescribeQueriesCommand.js +3 -3
- package/dist-cjs/commands/DescribeQueryDefinitionsCommand.js +3 -3
- package/dist-cjs/commands/DescribeResourcePoliciesCommand.js +3 -3
- package/dist-cjs/commands/DescribeSubscriptionFiltersCommand.js +3 -3
- package/dist-cjs/commands/DisassociateKmsKeyCommand.js +3 -3
- package/dist-cjs/commands/FilterLogEventsCommand.js +3 -3
- package/dist-cjs/commands/GetLogEventsCommand.js +3 -3
- package/dist-cjs/commands/GetLogGroupFieldsCommand.js +3 -3
- package/dist-cjs/commands/GetLogRecordCommand.js +3 -3
- package/dist-cjs/commands/GetQueryResultsCommand.js +3 -3
- package/dist-cjs/commands/ListTagsLogGroupCommand.js +3 -3
- package/dist-cjs/commands/PutDestinationCommand.js +3 -3
- package/dist-cjs/commands/PutDestinationPolicyCommand.js +3 -3
- package/dist-cjs/commands/PutLogEventsCommand.js +3 -3
- package/dist-cjs/commands/PutMetricFilterCommand.js +3 -3
- package/dist-cjs/commands/PutQueryDefinitionCommand.js +3 -3
- package/dist-cjs/commands/PutResourcePolicyCommand.js +3 -3
- package/dist-cjs/commands/PutRetentionPolicyCommand.js +3 -3
- package/dist-cjs/commands/PutSubscriptionFilterCommand.js +3 -3
- package/dist-cjs/commands/StartQueryCommand.js +3 -3
- package/dist-cjs/commands/StopQueryCommand.js +3 -3
- package/dist-cjs/commands/TagLogGroupCommand.js +3 -3
- package/dist-cjs/commands/TestMetricFilterCommand.js +3 -3
- package/dist-cjs/commands/UntagLogGroupCommand.js +3 -3
- package/dist-cjs/endpoints.js +4 -6
- package/dist-cjs/protocols/Aws_json1_1.js +176 -176
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/CloudWatchLogs.js +42 -42
- package/dist-es/endpoints.js +3 -5
- package/dist-es/pagination/DescribeDestinationsPaginator.js +4 -4
- package/dist-es/pagination/DescribeLogGroupsPaginator.js +4 -4
- package/dist-es/pagination/DescribeLogStreamsPaginator.js +4 -4
- package/dist-es/pagination/DescribeMetricFiltersPaginator.js +4 -4
- package/dist-es/pagination/DescribeSubscriptionFiltersPaginator.js +4 -4
- package/dist-es/pagination/FilterLogEventsPaginator.js +4 -4
- package/dist-es/pagination/GetLogEventsPaginator.js +4 -4
- package/dist-types/CloudWatchLogsClient.d.ts +2 -2
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/CloudWatchLogsClient.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +34 -34
|
@@ -11,7 +11,7 @@ class GetLogEventsCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "CloudWatchLogsClient";
|
|
@@ -27,10 +27,10 @@ class GetLogEventsCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1GetLogEventsCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1GetLogEventsCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1GetLogEventsCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1GetLogEventsCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.GetLogEventsCommand = GetLogEventsCommand;
|
|
@@ -11,7 +11,7 @@ class GetLogGroupFieldsCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "CloudWatchLogsClient";
|
|
@@ -27,10 +27,10 @@ class GetLogGroupFieldsCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1GetLogGroupFieldsCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1GetLogGroupFieldsCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1GetLogGroupFieldsCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1GetLogGroupFieldsCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.GetLogGroupFieldsCommand = GetLogGroupFieldsCommand;
|
|
@@ -11,7 +11,7 @@ class GetLogRecordCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "CloudWatchLogsClient";
|
|
@@ -27,10 +27,10 @@ class GetLogRecordCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1GetLogRecordCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1GetLogRecordCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1GetLogRecordCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1GetLogRecordCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.GetLogRecordCommand = GetLogRecordCommand;
|
|
@@ -11,7 +11,7 @@ class GetQueryResultsCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "CloudWatchLogsClient";
|
|
@@ -27,10 +27,10 @@ class GetQueryResultsCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1GetQueryResultsCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1GetQueryResultsCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1GetQueryResultsCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1GetQueryResultsCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.GetQueryResultsCommand = GetQueryResultsCommand;
|
|
@@ -11,7 +11,7 @@ class ListTagsLogGroupCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "CloudWatchLogsClient";
|
|
@@ -27,10 +27,10 @@ class ListTagsLogGroupCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1ListTagsLogGroupCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1ListTagsLogGroupCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1ListTagsLogGroupCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1ListTagsLogGroupCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.ListTagsLogGroupCommand = ListTagsLogGroupCommand;
|
|
@@ -11,7 +11,7 @@ class PutDestinationCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "CloudWatchLogsClient";
|
|
@@ -27,10 +27,10 @@ class PutDestinationCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1PutDestinationCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1PutDestinationCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1PutDestinationCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1PutDestinationCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.PutDestinationCommand = PutDestinationCommand;
|
|
@@ -11,7 +11,7 @@ class PutDestinationPolicyCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "CloudWatchLogsClient";
|
|
@@ -27,10 +27,10 @@ class PutDestinationPolicyCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1PutDestinationPolicyCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1PutDestinationPolicyCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1PutDestinationPolicyCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1PutDestinationPolicyCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.PutDestinationPolicyCommand = PutDestinationPolicyCommand;
|
|
@@ -11,7 +11,7 @@ class PutLogEventsCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "CloudWatchLogsClient";
|
|
@@ -27,10 +27,10 @@ class PutLogEventsCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1PutLogEventsCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1PutLogEventsCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1PutLogEventsCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1PutLogEventsCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.PutLogEventsCommand = PutLogEventsCommand;
|
|
@@ -11,7 +11,7 @@ class PutMetricFilterCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "CloudWatchLogsClient";
|
|
@@ -27,10 +27,10 @@ class PutMetricFilterCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1PutMetricFilterCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1PutMetricFilterCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1PutMetricFilterCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1PutMetricFilterCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.PutMetricFilterCommand = PutMetricFilterCommand;
|
|
@@ -11,7 +11,7 @@ class PutQueryDefinitionCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "CloudWatchLogsClient";
|
|
@@ -27,10 +27,10 @@ class PutQueryDefinitionCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1PutQueryDefinitionCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1PutQueryDefinitionCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1PutQueryDefinitionCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1PutQueryDefinitionCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.PutQueryDefinitionCommand = PutQueryDefinitionCommand;
|
|
@@ -11,7 +11,7 @@ class PutResourcePolicyCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "CloudWatchLogsClient";
|
|
@@ -27,10 +27,10 @@ class PutResourcePolicyCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1PutResourcePolicyCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1PutResourcePolicyCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1PutResourcePolicyCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1PutResourcePolicyCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.PutResourcePolicyCommand = PutResourcePolicyCommand;
|
|
@@ -11,7 +11,7 @@ class PutRetentionPolicyCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "CloudWatchLogsClient";
|
|
@@ -27,10 +27,10 @@ class PutRetentionPolicyCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1PutRetentionPolicyCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1PutRetentionPolicyCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1PutRetentionPolicyCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1PutRetentionPolicyCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.PutRetentionPolicyCommand = PutRetentionPolicyCommand;
|
|
@@ -11,7 +11,7 @@ class PutSubscriptionFilterCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "CloudWatchLogsClient";
|
|
@@ -27,10 +27,10 @@ class PutSubscriptionFilterCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1PutSubscriptionFilterCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1PutSubscriptionFilterCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1PutSubscriptionFilterCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1PutSubscriptionFilterCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.PutSubscriptionFilterCommand = PutSubscriptionFilterCommand;
|
|
@@ -11,7 +11,7 @@ class StartQueryCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "CloudWatchLogsClient";
|
|
@@ -27,10 +27,10 @@ class StartQueryCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1StartQueryCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1StartQueryCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1StartQueryCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1StartQueryCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.StartQueryCommand = StartQueryCommand;
|
|
@@ -11,7 +11,7 @@ class StopQueryCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "CloudWatchLogsClient";
|
|
@@ -27,10 +27,10 @@ class StopQueryCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1StopQueryCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1StopQueryCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1StopQueryCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1StopQueryCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.StopQueryCommand = StopQueryCommand;
|
|
@@ -11,7 +11,7 @@ class TagLogGroupCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "CloudWatchLogsClient";
|
|
@@ -27,10 +27,10 @@ class TagLogGroupCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1TagLogGroupCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1TagLogGroupCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1TagLogGroupCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1TagLogGroupCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.TagLogGroupCommand = TagLogGroupCommand;
|
|
@@ -11,7 +11,7 @@ class TestMetricFilterCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "CloudWatchLogsClient";
|
|
@@ -27,10 +27,10 @@ class TestMetricFilterCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1TestMetricFilterCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1TestMetricFilterCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1TestMetricFilterCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1TestMetricFilterCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.TestMetricFilterCommand = TestMetricFilterCommand;
|
|
@@ -11,7 +11,7 @@ class UntagLogGroupCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "CloudWatchLogsClient";
|
|
@@ -27,10 +27,10 @@ class UntagLogGroupCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1UntagLogGroupCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1UntagLogGroupCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1UntagLogGroupCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1UntagLogGroupCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.UntagLogGroupCommand = UntagLogGroupCommand;
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -23,19 +23,17 @@ const regionHash = {
|
|
|
23
23
|
variants: [
|
|
24
24
|
{
|
|
25
25
|
hostname: "logs.us-gov-east-1.amazonaws.com",
|
|
26
|
-
tags: [],
|
|
26
|
+
tags: ["fips"],
|
|
27
27
|
},
|
|
28
28
|
],
|
|
29
|
-
signingRegion: "us-gov-east-1",
|
|
30
29
|
},
|
|
31
30
|
"us-gov-west-1": {
|
|
32
31
|
variants: [
|
|
33
32
|
{
|
|
34
33
|
hostname: "logs.us-gov-west-1.amazonaws.com",
|
|
35
|
-
tags: [],
|
|
34
|
+
tags: ["fips"],
|
|
36
35
|
},
|
|
37
36
|
],
|
|
38
|
-
signingRegion: "us-gov-west-1",
|
|
39
37
|
},
|
|
40
38
|
"us-west-1": {
|
|
41
39
|
variants: [
|
|
@@ -155,7 +153,7 @@ const partitionHash = {
|
|
|
155
153
|
],
|
|
156
154
|
},
|
|
157
155
|
"aws-us-gov": {
|
|
158
|
-
regions: ["us-gov-east-1", "us-gov-west-1"],
|
|
156
|
+
regions: ["fips-us-gov-east-1", "fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
|
|
159
157
|
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
160
158
|
variants: [
|
|
161
159
|
{
|
|
@@ -177,7 +175,7 @@ const partitionHash = {
|
|
|
177
175
|
],
|
|
178
176
|
},
|
|
179
177
|
};
|
|
180
|
-
const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
|
|
178
|
+
const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
|
|
181
179
|
...options,
|
|
182
180
|
signingService: "logs",
|
|
183
181
|
regionHash,
|