@aws-sdk/client-cloudwatch-logs 3.927.0 → 3.928.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.
Files changed (115) hide show
  1. package/dist-cjs/index.js +2751 -2844
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/CloudWatchLogsClient.js +2 -0
  4. package/dist-es/commands/AssociateKmsKeyCommand.js +3 -9
  5. package/dist-es/commands/CancelExportTaskCommand.js +3 -9
  6. package/dist-es/commands/CreateDeliveryCommand.js +3 -9
  7. package/dist-es/commands/CreateExportTaskCommand.js +3 -9
  8. package/dist-es/commands/CreateLogAnomalyDetectorCommand.js +3 -9
  9. package/dist-es/commands/CreateLogGroupCommand.js +3 -9
  10. package/dist-es/commands/CreateLogStreamCommand.js +3 -9
  11. package/dist-es/commands/DeleteAccountPolicyCommand.js +3 -9
  12. package/dist-es/commands/DeleteDataProtectionPolicyCommand.js +3 -9
  13. package/dist-es/commands/DeleteDeliveryCommand.js +3 -9
  14. package/dist-es/commands/DeleteDeliveryDestinationCommand.js +3 -9
  15. package/dist-es/commands/DeleteDeliveryDestinationPolicyCommand.js +3 -9
  16. package/dist-es/commands/DeleteDeliverySourceCommand.js +3 -9
  17. package/dist-es/commands/DeleteDestinationCommand.js +3 -9
  18. package/dist-es/commands/DeleteIndexPolicyCommand.js +3 -9
  19. package/dist-es/commands/DeleteIntegrationCommand.js +3 -9
  20. package/dist-es/commands/DeleteLogAnomalyDetectorCommand.js +3 -9
  21. package/dist-es/commands/DeleteLogGroupCommand.js +3 -9
  22. package/dist-es/commands/DeleteLogStreamCommand.js +3 -9
  23. package/dist-es/commands/DeleteMetricFilterCommand.js +3 -9
  24. package/dist-es/commands/DeleteQueryDefinitionCommand.js +3 -9
  25. package/dist-es/commands/DeleteResourcePolicyCommand.js +3 -9
  26. package/dist-es/commands/DeleteRetentionPolicyCommand.js +3 -9
  27. package/dist-es/commands/DeleteSubscriptionFilterCommand.js +3 -9
  28. package/dist-es/commands/DeleteTransformerCommand.js +3 -9
  29. package/dist-es/commands/DescribeAccountPoliciesCommand.js +3 -9
  30. package/dist-es/commands/DescribeConfigurationTemplatesCommand.js +3 -9
  31. package/dist-es/commands/DescribeDeliveriesCommand.js +3 -9
  32. package/dist-es/commands/DescribeDeliveryDestinationsCommand.js +3 -9
  33. package/dist-es/commands/DescribeDeliverySourcesCommand.js +3 -9
  34. package/dist-es/commands/DescribeDestinationsCommand.js +3 -9
  35. package/dist-es/commands/DescribeExportTasksCommand.js +3 -9
  36. package/dist-es/commands/DescribeFieldIndexesCommand.js +3 -9
  37. package/dist-es/commands/DescribeIndexPoliciesCommand.js +3 -9
  38. package/dist-es/commands/DescribeLogGroupsCommand.js +3 -9
  39. package/dist-es/commands/DescribeLogStreamsCommand.js +3 -9
  40. package/dist-es/commands/DescribeMetricFiltersCommand.js +3 -9
  41. package/dist-es/commands/DescribeQueriesCommand.js +3 -9
  42. package/dist-es/commands/DescribeQueryDefinitionsCommand.js +3 -9
  43. package/dist-es/commands/DescribeResourcePoliciesCommand.js +3 -9
  44. package/dist-es/commands/DescribeSubscriptionFiltersCommand.js +3 -9
  45. package/dist-es/commands/DisassociateKmsKeyCommand.js +3 -9
  46. package/dist-es/commands/FilterLogEventsCommand.js +3 -9
  47. package/dist-es/commands/GetDataProtectionPolicyCommand.js +3 -9
  48. package/dist-es/commands/GetDeliveryCommand.js +3 -9
  49. package/dist-es/commands/GetDeliveryDestinationCommand.js +3 -9
  50. package/dist-es/commands/GetDeliveryDestinationPolicyCommand.js +3 -9
  51. package/dist-es/commands/GetDeliverySourceCommand.js +3 -9
  52. package/dist-es/commands/GetIntegrationCommand.js +3 -9
  53. package/dist-es/commands/GetLogAnomalyDetectorCommand.js +3 -9
  54. package/dist-es/commands/GetLogEventsCommand.js +3 -9
  55. package/dist-es/commands/GetLogGroupFieldsCommand.js +3 -9
  56. package/dist-es/commands/GetLogObjectCommand.js +3 -10
  57. package/dist-es/commands/GetLogRecordCommand.js +3 -9
  58. package/dist-es/commands/GetQueryResultsCommand.js +3 -9
  59. package/dist-es/commands/GetTransformerCommand.js +3 -9
  60. package/dist-es/commands/ListAnomaliesCommand.js +3 -9
  61. package/dist-es/commands/ListIntegrationsCommand.js +3 -9
  62. package/dist-es/commands/ListLogAnomalyDetectorsCommand.js +3 -9
  63. package/dist-es/commands/ListLogGroupsCommand.js +3 -9
  64. package/dist-es/commands/ListLogGroupsForQueryCommand.js +3 -9
  65. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  66. package/dist-es/commands/ListTagsLogGroupCommand.js +3 -9
  67. package/dist-es/commands/PutAccountPolicyCommand.js +3 -9
  68. package/dist-es/commands/PutDataProtectionPolicyCommand.js +3 -9
  69. package/dist-es/commands/PutDeliveryDestinationCommand.js +3 -9
  70. package/dist-es/commands/PutDeliveryDestinationPolicyCommand.js +3 -9
  71. package/dist-es/commands/PutDeliverySourceCommand.js +3 -9
  72. package/dist-es/commands/PutDestinationCommand.js +3 -9
  73. package/dist-es/commands/PutDestinationPolicyCommand.js +3 -9
  74. package/dist-es/commands/PutIndexPolicyCommand.js +3 -9
  75. package/dist-es/commands/PutIntegrationCommand.js +3 -9
  76. package/dist-es/commands/PutLogEventsCommand.js +3 -9
  77. package/dist-es/commands/PutMetricFilterCommand.js +3 -9
  78. package/dist-es/commands/PutQueryDefinitionCommand.js +3 -9
  79. package/dist-es/commands/PutResourcePolicyCommand.js +3 -9
  80. package/dist-es/commands/PutRetentionPolicyCommand.js +3 -9
  81. package/dist-es/commands/PutSubscriptionFilterCommand.js +3 -9
  82. package/dist-es/commands/PutTransformerCommand.js +3 -9
  83. package/dist-es/commands/StartLiveTailCommand.js +3 -10
  84. package/dist-es/commands/StartQueryCommand.js +3 -9
  85. package/dist-es/commands/StopQueryCommand.js +3 -9
  86. package/dist-es/commands/TagLogGroupCommand.js +3 -9
  87. package/dist-es/commands/TagResourceCommand.js +3 -9
  88. package/dist-es/commands/TestMetricFilterCommand.js +3 -9
  89. package/dist-es/commands/TestTransformerCommand.js +3 -9
  90. package/dist-es/commands/UntagLogGroupCommand.js +3 -9
  91. package/dist-es/commands/UntagResourceCommand.js +3 -9
  92. package/dist-es/commands/UpdateAnomalyCommand.js +3 -9
  93. package/dist-es/commands/UpdateDeliveryConfigurationCommand.js +3 -9
  94. package/dist-es/commands/UpdateLogAnomalyDetectorCommand.js +3 -9
  95. package/dist-es/models/models_0.js +0 -28
  96. package/dist-es/runtimeConfig.shared.js +7 -0
  97. package/dist-es/schemas/schemas_0.js +2543 -0
  98. package/dist-types/CloudWatchLogsClient.d.ts +10 -1
  99. package/dist-types/models/models_0.d.ts +0 -16
  100. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  101. package/dist-types/runtimeConfig.d.ts +1 -0
  102. package/dist-types/runtimeConfig.native.d.ts +1 -0
  103. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  104. package/dist-types/schemas/schemas_0.d.ts +439 -0
  105. package/dist-types/ts3.4/CloudWatchLogsClient.d.ts +4 -0
  106. package/dist-types/ts3.4/models/models_0.d.ts +0 -12
  107. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  108. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  109. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  110. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  111. package/dist-types/ts3.4/schemas/schemas_0.d.ts +444 -0
  112. package/package.json +5 -6
  113. package/dist-es/protocols/Aws_json1_1.js +0 -2116
  114. package/dist-types/protocols/Aws_json1_1.d.ts +0 -821
  115. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -1100
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,12 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ??
30
+ new protocols_1.AwsJson1_1Protocol({
31
+ defaultNamespace: "com.amazonaws.cloudwatchlogs",
32
+ serviceTarget: "Logs_20140328",
33
+ awsQueryCompatible: false,
34
+ }),
28
35
  serviceId: config?.serviceId ?? "CloudWatch Logs",
29
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
7
8
  import { resolveEventStreamSerdeConfig, } from "@smithy/eventstream-serde-config-resolver";
8
9
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
9
10
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
@@ -30,6 +31,7 @@ export class CloudWatchLogsClient extends __Client {
30
31
  const _config_8 = resolveHttpAuthSchemeConfig(_config_7);
31
32
  const _config_9 = resolveRuntimeExtensions(_config_8, configuration?.extensions || []);
32
33
  this.config = _config_9;
34
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
33
35
  this.middlewareStack.use(getUserAgentPlugin(this.config));
34
36
  this.middlewareStack.use(getRetryPlugin(this.config));
35
37
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_AssociateKmsKeyCommand, se_AssociateKmsKeyCommand } from "../protocols/Aws_json1_1";
4
+ import { AssociateKmsKey } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AssociateKmsKeyCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Logs_20140328", "AssociateKmsKey", {})
17
13
  .n("CloudWatchLogsClient", "AssociateKmsKeyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AssociateKmsKeyCommand)
20
- .de(de_AssociateKmsKeyCommand)
14
+ .sc(AssociateKmsKey)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CancelExportTaskCommand, se_CancelExportTaskCommand } from "../protocols/Aws_json1_1";
4
+ import { CancelExportTask } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CancelExportTaskCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Logs_20140328", "CancelExportTask", {})
17
13
  .n("CloudWatchLogsClient", "CancelExportTaskCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CancelExportTaskCommand)
20
- .de(de_CancelExportTaskCommand)
14
+ .sc(CancelExportTask)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateDeliveryCommand, se_CreateDeliveryCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateDelivery } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateDeliveryCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Logs_20140328", "CreateDelivery", {})
17
13
  .n("CloudWatchLogsClient", "CreateDeliveryCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateDeliveryCommand)
20
- .de(de_CreateDeliveryCommand)
14
+ .sc(CreateDelivery)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateExportTaskCommand, se_CreateExportTaskCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateExportTask } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateExportTaskCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Logs_20140328", "CreateExportTask", {})
17
13
  .n("CloudWatchLogsClient", "CreateExportTaskCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateExportTaskCommand)
20
- .de(de_CreateExportTaskCommand)
14
+ .sc(CreateExportTask)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateLogAnomalyDetectorCommand, se_CreateLogAnomalyDetectorCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateLogAnomalyDetector } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateLogAnomalyDetectorCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Logs_20140328", "CreateLogAnomalyDetector", {})
17
13
  .n("CloudWatchLogsClient", "CreateLogAnomalyDetectorCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateLogAnomalyDetectorCommand)
20
- .de(de_CreateLogAnomalyDetectorCommand)
14
+ .sc(CreateLogAnomalyDetector)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateLogGroupCommand, se_CreateLogGroupCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateLogGroup } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateLogGroupCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Logs_20140328", "CreateLogGroup", {})
17
13
  .n("CloudWatchLogsClient", "CreateLogGroupCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateLogGroupCommand)
20
- .de(de_CreateLogGroupCommand)
14
+ .sc(CreateLogGroup)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateLogStreamCommand, se_CreateLogStreamCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateLogStream } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateLogStreamCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Logs_20140328", "CreateLogStream", {})
17
13
  .n("CloudWatchLogsClient", "CreateLogStreamCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateLogStreamCommand)
20
- .de(de_CreateLogStreamCommand)
14
+ .sc(CreateLogStream)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteAccountPolicyCommand, se_DeleteAccountPolicyCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteAccountPolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteAccountPolicyCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Logs_20140328", "DeleteAccountPolicy", {})
17
13
  .n("CloudWatchLogsClient", "DeleteAccountPolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteAccountPolicyCommand)
20
- .de(de_DeleteAccountPolicyCommand)
14
+ .sc(DeleteAccountPolicy)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteDataProtectionPolicyCommand, se_DeleteDataProtectionPolicyCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteDataProtectionPolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteDataProtectionPolicyCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Logs_20140328", "DeleteDataProtectionPolicy", {})
17
13
  .n("CloudWatchLogsClient", "DeleteDataProtectionPolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteDataProtectionPolicyCommand)
20
- .de(de_DeleteDataProtectionPolicyCommand)
14
+ .sc(DeleteDataProtectionPolicy)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteDeliveryCommand, se_DeleteDeliveryCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteDelivery } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteDeliveryCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Logs_20140328", "DeleteDelivery", {})
17
13
  .n("CloudWatchLogsClient", "DeleteDeliveryCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteDeliveryCommand)
20
- .de(de_DeleteDeliveryCommand)
14
+ .sc(DeleteDelivery)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteDeliveryDestinationCommand, se_DeleteDeliveryDestinationCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteDeliveryDestination } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteDeliveryDestinationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Logs_20140328", "DeleteDeliveryDestination", {})
17
13
  .n("CloudWatchLogsClient", "DeleteDeliveryDestinationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteDeliveryDestinationCommand)
20
- .de(de_DeleteDeliveryDestinationCommand)
14
+ .sc(DeleteDeliveryDestination)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteDeliveryDestinationPolicyCommand, se_DeleteDeliveryDestinationPolicyCommand, } from "../protocols/Aws_json1_1";
4
+ import { DeleteDeliveryDestinationPolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteDeliveryDestinationPolicyCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Logs_20140328", "DeleteDeliveryDestinationPolicy", {})
17
13
  .n("CloudWatchLogsClient", "DeleteDeliveryDestinationPolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteDeliveryDestinationPolicyCommand)
20
- .de(de_DeleteDeliveryDestinationPolicyCommand)
14
+ .sc(DeleteDeliveryDestinationPolicy)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteDeliverySourceCommand, se_DeleteDeliverySourceCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteDeliverySource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteDeliverySourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Logs_20140328", "DeleteDeliverySource", {})
17
13
  .n("CloudWatchLogsClient", "DeleteDeliverySourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteDeliverySourceCommand)
20
- .de(de_DeleteDeliverySourceCommand)
14
+ .sc(DeleteDeliverySource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteDestinationCommand, se_DeleteDestinationCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteDestination } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteDestinationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Logs_20140328", "DeleteDestination", {})
17
13
  .n("CloudWatchLogsClient", "DeleteDestinationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteDestinationCommand)
20
- .de(de_DeleteDestinationCommand)
14
+ .sc(DeleteDestination)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteIndexPolicyCommand, se_DeleteIndexPolicyCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteIndexPolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteIndexPolicyCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Logs_20140328", "DeleteIndexPolicy", {})
17
13
  .n("CloudWatchLogsClient", "DeleteIndexPolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteIndexPolicyCommand)
20
- .de(de_DeleteIndexPolicyCommand)
14
+ .sc(DeleteIndexPolicy)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteIntegrationCommand, se_DeleteIntegrationCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteIntegration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteIntegrationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Logs_20140328", "DeleteIntegration", {})
17
13
  .n("CloudWatchLogsClient", "DeleteIntegrationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteIntegrationCommand)
20
- .de(de_DeleteIntegrationCommand)
14
+ .sc(DeleteIntegration)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteLogAnomalyDetectorCommand, se_DeleteLogAnomalyDetectorCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteLogAnomalyDetector } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteLogAnomalyDetectorCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Logs_20140328", "DeleteLogAnomalyDetector", {})
17
13
  .n("CloudWatchLogsClient", "DeleteLogAnomalyDetectorCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteLogAnomalyDetectorCommand)
20
- .de(de_DeleteLogAnomalyDetectorCommand)
14
+ .sc(DeleteLogAnomalyDetector)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteLogGroupCommand, se_DeleteLogGroupCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteLogGroup } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteLogGroupCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Logs_20140328", "DeleteLogGroup", {})
17
13
  .n("CloudWatchLogsClient", "DeleteLogGroupCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteLogGroupCommand)
20
- .de(de_DeleteLogGroupCommand)
14
+ .sc(DeleteLogGroup)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteLogStreamCommand, se_DeleteLogStreamCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteLogStream } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteLogStreamCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Logs_20140328", "DeleteLogStream", {})
17
13
  .n("CloudWatchLogsClient", "DeleteLogStreamCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteLogStreamCommand)
20
- .de(de_DeleteLogStreamCommand)
14
+ .sc(DeleteLogStream)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteMetricFilterCommand, se_DeleteMetricFilterCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteMetricFilter } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteMetricFilterCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Logs_20140328", "DeleteMetricFilter", {})
17
13
  .n("CloudWatchLogsClient", "DeleteMetricFilterCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteMetricFilterCommand)
20
- .de(de_DeleteMetricFilterCommand)
14
+ .sc(DeleteMetricFilter)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteQueryDefinitionCommand, se_DeleteQueryDefinitionCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteQueryDefinition } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteQueryDefinitionCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Logs_20140328", "DeleteQueryDefinition", {})
17
13
  .n("CloudWatchLogsClient", "DeleteQueryDefinitionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteQueryDefinitionCommand)
20
- .de(de_DeleteQueryDefinitionCommand)
14
+ .sc(DeleteQueryDefinition)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteResourcePolicyCommand, se_DeleteResourcePolicyCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteResourcePolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteResourcePolicyCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Logs_20140328", "DeleteResourcePolicy", {})
17
13
  .n("CloudWatchLogsClient", "DeleteResourcePolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteResourcePolicyCommand)
20
- .de(de_DeleteResourcePolicyCommand)
14
+ .sc(DeleteResourcePolicy)
21
15
  .build() {
22
16
  }