@aws-sdk/client-config-service 3.927.0 → 3.929.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 (118) hide show
  1. package/dist-cjs/index.js +4128 -4209
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/ConfigServiceClient.js +2 -0
  4. package/dist-es/commands/AssociateResourceTypesCommand.js +3 -9
  5. package/dist-es/commands/BatchGetAggregateResourceConfigCommand.js +3 -9
  6. package/dist-es/commands/BatchGetResourceConfigCommand.js +3 -9
  7. package/dist-es/commands/DeleteAggregationAuthorizationCommand.js +3 -9
  8. package/dist-es/commands/DeleteConfigRuleCommand.js +3 -9
  9. package/dist-es/commands/DeleteConfigurationAggregatorCommand.js +3 -9
  10. package/dist-es/commands/DeleteConfigurationRecorderCommand.js +3 -9
  11. package/dist-es/commands/DeleteConformancePackCommand.js +3 -9
  12. package/dist-es/commands/DeleteDeliveryChannelCommand.js +3 -9
  13. package/dist-es/commands/DeleteEvaluationResultsCommand.js +3 -9
  14. package/dist-es/commands/DeleteOrganizationConfigRuleCommand.js +3 -9
  15. package/dist-es/commands/DeleteOrganizationConformancePackCommand.js +3 -9
  16. package/dist-es/commands/DeletePendingAggregationRequestCommand.js +3 -9
  17. package/dist-es/commands/DeleteRemediationConfigurationCommand.js +3 -9
  18. package/dist-es/commands/DeleteRemediationExceptionsCommand.js +3 -9
  19. package/dist-es/commands/DeleteResourceConfigCommand.js +3 -9
  20. package/dist-es/commands/DeleteRetentionConfigurationCommand.js +3 -9
  21. package/dist-es/commands/DeleteServiceLinkedConfigurationRecorderCommand.js +3 -9
  22. package/dist-es/commands/DeleteStoredQueryCommand.js +3 -9
  23. package/dist-es/commands/DeliverConfigSnapshotCommand.js +3 -9
  24. package/dist-es/commands/DescribeAggregateComplianceByConfigRulesCommand.js +3 -9
  25. package/dist-es/commands/DescribeAggregateComplianceByConformancePacksCommand.js +3 -9
  26. package/dist-es/commands/DescribeAggregationAuthorizationsCommand.js +3 -9
  27. package/dist-es/commands/DescribeComplianceByConfigRuleCommand.js +3 -9
  28. package/dist-es/commands/DescribeComplianceByResourceCommand.js +3 -9
  29. package/dist-es/commands/DescribeConfigRuleEvaluationStatusCommand.js +3 -9
  30. package/dist-es/commands/DescribeConfigRulesCommand.js +3 -9
  31. package/dist-es/commands/DescribeConfigurationAggregatorSourcesStatusCommand.js +3 -9
  32. package/dist-es/commands/DescribeConfigurationAggregatorsCommand.js +3 -9
  33. package/dist-es/commands/DescribeConfigurationRecorderStatusCommand.js +3 -9
  34. package/dist-es/commands/DescribeConfigurationRecordersCommand.js +3 -9
  35. package/dist-es/commands/DescribeConformancePackComplianceCommand.js +3 -9
  36. package/dist-es/commands/DescribeConformancePackStatusCommand.js +3 -9
  37. package/dist-es/commands/DescribeConformancePacksCommand.js +3 -9
  38. package/dist-es/commands/DescribeDeliveryChannelStatusCommand.js +3 -9
  39. package/dist-es/commands/DescribeDeliveryChannelsCommand.js +3 -9
  40. package/dist-es/commands/DescribeOrganizationConfigRuleStatusesCommand.js +3 -9
  41. package/dist-es/commands/DescribeOrganizationConfigRulesCommand.js +3 -9
  42. package/dist-es/commands/DescribeOrganizationConformancePackStatusesCommand.js +3 -9
  43. package/dist-es/commands/DescribeOrganizationConformancePacksCommand.js +3 -9
  44. package/dist-es/commands/DescribePendingAggregationRequestsCommand.js +3 -9
  45. package/dist-es/commands/DescribeRemediationConfigurationsCommand.js +3 -9
  46. package/dist-es/commands/DescribeRemediationExceptionsCommand.js +3 -9
  47. package/dist-es/commands/DescribeRemediationExecutionStatusCommand.js +3 -9
  48. package/dist-es/commands/DescribeRetentionConfigurationsCommand.js +3 -9
  49. package/dist-es/commands/DisassociateResourceTypesCommand.js +3 -9
  50. package/dist-es/commands/GetAggregateComplianceDetailsByConfigRuleCommand.js +3 -9
  51. package/dist-es/commands/GetAggregateConfigRuleComplianceSummaryCommand.js +3 -9
  52. package/dist-es/commands/GetAggregateConformancePackComplianceSummaryCommand.js +3 -9
  53. package/dist-es/commands/GetAggregateDiscoveredResourceCountsCommand.js +3 -9
  54. package/dist-es/commands/GetAggregateResourceConfigCommand.js +3 -9
  55. package/dist-es/commands/GetComplianceDetailsByConfigRuleCommand.js +3 -9
  56. package/dist-es/commands/GetComplianceDetailsByResourceCommand.js +3 -9
  57. package/dist-es/commands/GetComplianceSummaryByConfigRuleCommand.js +3 -9
  58. package/dist-es/commands/GetComplianceSummaryByResourceTypeCommand.js +3 -9
  59. package/dist-es/commands/GetConformancePackComplianceDetailsCommand.js +3 -9
  60. package/dist-es/commands/GetConformancePackComplianceSummaryCommand.js +3 -9
  61. package/dist-es/commands/GetCustomRulePolicyCommand.js +3 -9
  62. package/dist-es/commands/GetDiscoveredResourceCountsCommand.js +3 -9
  63. package/dist-es/commands/GetOrganizationConfigRuleDetailedStatusCommand.js +3 -9
  64. package/dist-es/commands/GetOrganizationConformancePackDetailedStatusCommand.js +3 -9
  65. package/dist-es/commands/GetOrganizationCustomRulePolicyCommand.js +3 -9
  66. package/dist-es/commands/GetResourceConfigHistoryCommand.js +3 -9
  67. package/dist-es/commands/GetResourceEvaluationSummaryCommand.js +3 -9
  68. package/dist-es/commands/GetStoredQueryCommand.js +3 -9
  69. package/dist-es/commands/ListAggregateDiscoveredResourcesCommand.js +3 -9
  70. package/dist-es/commands/ListConfigurationRecordersCommand.js +3 -9
  71. package/dist-es/commands/ListConformancePackComplianceScoresCommand.js +3 -9
  72. package/dist-es/commands/ListDiscoveredResourcesCommand.js +3 -9
  73. package/dist-es/commands/ListResourceEvaluationsCommand.js +3 -9
  74. package/dist-es/commands/ListStoredQueriesCommand.js +3 -9
  75. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  76. package/dist-es/commands/PutAggregationAuthorizationCommand.js +3 -9
  77. package/dist-es/commands/PutConfigRuleCommand.js +3 -9
  78. package/dist-es/commands/PutConfigurationAggregatorCommand.js +3 -9
  79. package/dist-es/commands/PutConfigurationRecorderCommand.js +3 -9
  80. package/dist-es/commands/PutConformancePackCommand.js +3 -9
  81. package/dist-es/commands/PutDeliveryChannelCommand.js +3 -9
  82. package/dist-es/commands/PutEvaluationsCommand.js +3 -9
  83. package/dist-es/commands/PutExternalEvaluationCommand.js +3 -9
  84. package/dist-es/commands/PutOrganizationConfigRuleCommand.js +3 -9
  85. package/dist-es/commands/PutOrganizationConformancePackCommand.js +3 -9
  86. package/dist-es/commands/PutRemediationConfigurationsCommand.js +3 -9
  87. package/dist-es/commands/PutRemediationExceptionsCommand.js +3 -9
  88. package/dist-es/commands/PutResourceConfigCommand.js +3 -9
  89. package/dist-es/commands/PutRetentionConfigurationCommand.js +3 -9
  90. package/dist-es/commands/PutServiceLinkedConfigurationRecorderCommand.js +3 -9
  91. package/dist-es/commands/PutStoredQueryCommand.js +3 -9
  92. package/dist-es/commands/SelectAggregateResourceConfigCommand.js +3 -9
  93. package/dist-es/commands/SelectResourceConfigCommand.js +3 -9
  94. package/dist-es/commands/StartConfigRulesEvaluationCommand.js +3 -9
  95. package/dist-es/commands/StartConfigurationRecorderCommand.js +3 -9
  96. package/dist-es/commands/StartRemediationExecutionCommand.js +3 -9
  97. package/dist-es/commands/StartResourceEvaluationCommand.js +3 -9
  98. package/dist-es/commands/StopConfigurationRecorderCommand.js +3 -9
  99. package/dist-es/commands/TagResourceCommand.js +3 -9
  100. package/dist-es/commands/UntagResourceCommand.js +3 -9
  101. package/dist-es/runtimeConfig.shared.js +7 -0
  102. package/dist-es/schemas/schemas_0.js +3801 -0
  103. package/dist-types/ConfigServiceClient.d.ts +10 -1
  104. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  105. package/dist-types/runtimeConfig.d.ts +1 -0
  106. package/dist-types/runtimeConfig.native.d.ts +1 -0
  107. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  108. package/dist-types/schemas/schemas_0.d.ts +542 -0
  109. package/dist-types/ts3.4/ConfigServiceClient.d.ts +4 -0
  110. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  111. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  112. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  113. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  114. package/dist-types/ts3.4/schemas/schemas_0.d.ts +548 -0
  115. package/package.json +5 -5
  116. package/dist-es/protocols/Aws_json1_1.js +0 -3367
  117. package/dist-types/protocols/Aws_json1_1.d.ts +0 -875
  118. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -1169
@@ -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_StartConfigurationRecorderCommand, se_StartConfigurationRecorderCommand } from "../protocols/Aws_json1_1";
4
+ import { StartConfigurationRecorder } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StartConfigurationRecorderCommand 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("StarlingDoveService", "StartConfigurationRecorder", {})
17
13
  .n("ConfigServiceClient", "StartConfigurationRecorderCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StartConfigurationRecorderCommand)
20
- .de(de_StartConfigurationRecorderCommand)
14
+ .sc(StartConfigurationRecorder)
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_StartRemediationExecutionCommand, se_StartRemediationExecutionCommand } from "../protocols/Aws_json1_1";
4
+ import { StartRemediationExecution } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StartRemediationExecutionCommand 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("StarlingDoveService", "StartRemediationExecution", {})
17
13
  .n("ConfigServiceClient", "StartRemediationExecutionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StartRemediationExecutionCommand)
20
- .de(de_StartRemediationExecutionCommand)
14
+ .sc(StartRemediationExecution)
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_StartResourceEvaluationCommand, se_StartResourceEvaluationCommand } from "../protocols/Aws_json1_1";
4
+ import { StartResourceEvaluation } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StartResourceEvaluationCommand 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("StarlingDoveService", "StartResourceEvaluation", {})
17
13
  .n("ConfigServiceClient", "StartResourceEvaluationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StartResourceEvaluationCommand)
20
- .de(de_StartResourceEvaluationCommand)
14
+ .sc(StartResourceEvaluation)
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_StopConfigurationRecorderCommand, se_StopConfigurationRecorderCommand } from "../protocols/Aws_json1_1";
4
+ import { StopConfigurationRecorder } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StopConfigurationRecorderCommand 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("StarlingDoveService", "StopConfigurationRecorder", {})
17
13
  .n("ConfigServiceClient", "StopConfigurationRecorderCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StopConfigurationRecorderCommand)
20
- .de(de_StopConfigurationRecorderCommand)
14
+ .sc(StopConfigurationRecorder)
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_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_json1_1";
4
+ import { TagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class TagResourceCommand 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("StarlingDoveService", "TagResource", {})
17
13
  .n("ConfigServiceClient", "TagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_TagResourceCommand)
20
- .de(de_TagResourceCommand)
14
+ .sc(TagResource)
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_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_json1_1";
4
+ import { UntagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UntagResourceCommand 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("StarlingDoveService", "UntagResource", {})
17
13
  .n("ConfigServiceClient", "UntagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UntagResourceCommand)
20
- .de(de_UntagResourceCommand)
14
+ .sc(UntagResource)
21
15
  .build() {
22
16
  }
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
2
3
  import { NoOpLogger } from "@smithy/smithy-client";
3
4
  import { parseUrl } from "@smithy/url-parser";
4
5
  import { fromBase64, toBase64 } from "@smithy/util-base64";
@@ -22,6 +23,12 @@ export const getRuntimeConfig = (config) => {
22
23
  },
23
24
  ],
24
25
  logger: config?.logger ?? new NoOpLogger(),
26
+ protocol: config?.protocol ??
27
+ new AwsJson1_1Protocol({
28
+ defaultNamespace: "com.amazonaws.configservice",
29
+ serviceTarget: "StarlingDoveService",
30
+ awsQueryCompatible: false,
31
+ }),
25
32
  serviceId: config?.serviceId ?? "Config Service",
26
33
  urlParser: config?.urlParser ?? parseUrl,
27
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,