@aws-sdk/client-application-discovery-service 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 (52) hide show
  1. package/dist-cjs/index.js +1145 -1133
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/ApplicationDiscoveryServiceClient.js +2 -0
  4. package/dist-es/commands/AssociateConfigurationItemsToApplicationCommand.js +3 -9
  5. package/dist-es/commands/BatchDeleteAgentsCommand.js +3 -9
  6. package/dist-es/commands/BatchDeleteImportDataCommand.js +3 -9
  7. package/dist-es/commands/CreateApplicationCommand.js +3 -9
  8. package/dist-es/commands/CreateTagsCommand.js +3 -9
  9. package/dist-es/commands/DeleteApplicationsCommand.js +3 -9
  10. package/dist-es/commands/DeleteTagsCommand.js +3 -9
  11. package/dist-es/commands/DescribeAgentsCommand.js +3 -10
  12. package/dist-es/commands/DescribeBatchDeleteConfigurationTaskCommand.js +3 -9
  13. package/dist-es/commands/DescribeConfigurationsCommand.js +3 -9
  14. package/dist-es/commands/DescribeContinuousExportsCommand.js +3 -9
  15. package/dist-es/commands/DescribeExportConfigurationsCommand.js +3 -9
  16. package/dist-es/commands/DescribeExportTasksCommand.js +3 -9
  17. package/dist-es/commands/DescribeImportTasksCommand.js +3 -9
  18. package/dist-es/commands/DescribeTagsCommand.js +3 -9
  19. package/dist-es/commands/DisassociateConfigurationItemsFromApplicationCommand.js +3 -9
  20. package/dist-es/commands/ExportConfigurationsCommand.js +3 -9
  21. package/dist-es/commands/GetDiscoverySummaryCommand.js +3 -9
  22. package/dist-es/commands/ListConfigurationsCommand.js +3 -9
  23. package/dist-es/commands/ListServerNeighborsCommand.js +3 -9
  24. package/dist-es/commands/StartBatchDeleteConfigurationTaskCommand.js +3 -9
  25. package/dist-es/commands/StartContinuousExportCommand.js +3 -9
  26. package/dist-es/commands/StartDataCollectionByAgentIdsCommand.js +3 -9
  27. package/dist-es/commands/StartExportTaskCommand.js +3 -9
  28. package/dist-es/commands/StartImportTaskCommand.js +3 -9
  29. package/dist-es/commands/StopContinuousExportCommand.js +3 -9
  30. package/dist-es/commands/StopDataCollectionByAgentIdsCommand.js +3 -9
  31. package/dist-es/commands/UpdateApplicationCommand.js +3 -9
  32. package/dist-es/models/models_0.js +0 -12
  33. package/dist-es/runtimeConfig.shared.js +7 -0
  34. package/dist-es/schemas/schemas_0.js +1071 -0
  35. package/dist-types/ApplicationDiscoveryServiceClient.d.ts +10 -1
  36. package/dist-types/models/models_0.d.ts +0 -12
  37. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  38. package/dist-types/runtimeConfig.d.ts +1 -0
  39. package/dist-types/runtimeConfig.native.d.ts +1 -0
  40. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  41. package/dist-types/schemas/schemas_0.d.ts +158 -0
  42. package/dist-types/ts3.4/ApplicationDiscoveryServiceClient.d.ts +4 -0
  43. package/dist-types/ts3.4/models/models_0.d.ts +0 -7
  44. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  45. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  46. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  47. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  48. package/dist-types/ts3.4/schemas/schemas_0.d.ts +163 -0
  49. package/package.json +5 -6
  50. package/dist-es/protocols/Aws_json1_1.js +0 -897
  51. package/dist-types/protocols/Aws_json1_1.d.ts +0 -254
  52. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -341
@@ -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_StartDataCollectionByAgentIdsCommand, se_StartDataCollectionByAgentIdsCommand, } from "../protocols/Aws_json1_1";
4
+ import { StartDataCollectionByAgentIds } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StartDataCollectionByAgentIdsCommand 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("AWSPoseidonService_V2015_11_01", "StartDataCollectionByAgentIds", {})
17
13
  .n("ApplicationDiscoveryServiceClient", "StartDataCollectionByAgentIdsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StartDataCollectionByAgentIdsCommand)
20
- .de(de_StartDataCollectionByAgentIdsCommand)
14
+ .sc(StartDataCollectionByAgentIds)
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_StartExportTaskCommand, se_StartExportTaskCommand } from "../protocols/Aws_json1_1";
4
+ import { StartExportTask } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StartExportTaskCommand 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("AWSPoseidonService_V2015_11_01", "StartExportTask", {})
17
13
  .n("ApplicationDiscoveryServiceClient", "StartExportTaskCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StartExportTaskCommand)
20
- .de(de_StartExportTaskCommand)
14
+ .sc(StartExportTask)
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_StartImportTaskCommand, se_StartImportTaskCommand } from "../protocols/Aws_json1_1";
4
+ import { StartImportTask } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StartImportTaskCommand 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("AWSPoseidonService_V2015_11_01", "StartImportTask", {})
17
13
  .n("ApplicationDiscoveryServiceClient", "StartImportTaskCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StartImportTaskCommand)
20
- .de(de_StartImportTaskCommand)
14
+ .sc(StartImportTask)
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_StopContinuousExportCommand, se_StopContinuousExportCommand } from "../protocols/Aws_json1_1";
4
+ import { StopContinuousExport } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StopContinuousExportCommand 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("AWSPoseidonService_V2015_11_01", "StopContinuousExport", {})
17
13
  .n("ApplicationDiscoveryServiceClient", "StopContinuousExportCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StopContinuousExportCommand)
20
- .de(de_StopContinuousExportCommand)
14
+ .sc(StopContinuousExport)
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_StopDataCollectionByAgentIdsCommand, se_StopDataCollectionByAgentIdsCommand, } from "../protocols/Aws_json1_1";
4
+ import { StopDataCollectionByAgentIds } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StopDataCollectionByAgentIdsCommand 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("AWSPoseidonService_V2015_11_01", "StopDataCollectionByAgentIds", {})
17
13
  .n("ApplicationDiscoveryServiceClient", "StopDataCollectionByAgentIdsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StopDataCollectionByAgentIdsCommand)
20
- .de(de_StopDataCollectionByAgentIdsCommand)
14
+ .sc(StopDataCollectionByAgentIds)
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_UpdateApplicationCommand, se_UpdateApplicationCommand } from "../protocols/Aws_json1_1";
4
+ import { UpdateApplication } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateApplicationCommand 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("AWSPoseidonService_V2015_11_01", "UpdateApplication", {})
17
13
  .n("ApplicationDiscoveryServiceClient", "UpdateApplicationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateApplicationCommand)
20
- .de(de_UpdateApplicationCommand)
14
+ .sc(UpdateApplication)
21
15
  .build() {
22
16
  }
@@ -1,4 +1,3 @@
1
- import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
1
  import { ApplicationDiscoveryServiceServiceException as __BaseException } from "./ApplicationDiscoveryServiceServiceException";
3
2
  export const AgentStatus = {
4
3
  BLACKLISTED: "BLACKLISTED",
@@ -229,14 +228,3 @@ export var ExportPreferences;
229
228
  return visitor._(value.$unknown[0], value.$unknown[1]);
230
229
  };
231
230
  })(ExportPreferences || (ExportPreferences = {}));
232
- export const AgentNetworkInfoFilterSensitiveLog = (obj) => ({
233
- ...obj,
234
- });
235
- export const AgentInfoFilterSensitiveLog = (obj) => ({
236
- ...obj,
237
- ...(obj.agentNetworkInfoList && { agentNetworkInfoList: SENSITIVE_STRING }),
238
- });
239
- export const DescribeAgentsResponseFilterSensitiveLog = (obj) => ({
240
- ...obj,
241
- ...(obj.agentsInfo && { agentsInfo: obj.agentsInfo.map((item) => AgentInfoFilterSensitiveLog(item)) }),
242
- });
@@ -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.applicationdiscoveryservice",
29
+ serviceTarget: "AWSPoseidonService_V2015_11_01",
30
+ awsQueryCompatible: false,
31
+ }),
25
32
  serviceId: config?.serviceId ?? "Application Discovery Service",
26
33
  urlParser: config?.urlParser ?? parseUrl,
27
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,