@aws-sdk/client-voice-id 3.1076.0 → 3.1078.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 (107) hide show
  1. package/dist-cjs/index.js +40 -295
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/AssociateFraudsterCommand.js +2 -14
  4. package/dist-es/commands/CreateDomainCommand.js +2 -14
  5. package/dist-es/commands/CreateWatchlistCommand.js +2 -14
  6. package/dist-es/commands/DeleteDomainCommand.js +2 -14
  7. package/dist-es/commands/DeleteFraudsterCommand.js +2 -14
  8. package/dist-es/commands/DeleteSpeakerCommand.js +2 -14
  9. package/dist-es/commands/DeleteWatchlistCommand.js +2 -14
  10. package/dist-es/commands/DescribeDomainCommand.js +2 -14
  11. package/dist-es/commands/DescribeFraudsterCommand.js +2 -14
  12. package/dist-es/commands/DescribeFraudsterRegistrationJobCommand.js +2 -14
  13. package/dist-es/commands/DescribeSpeakerCommand.js +2 -14
  14. package/dist-es/commands/DescribeSpeakerEnrollmentJobCommand.js +2 -14
  15. package/dist-es/commands/DescribeWatchlistCommand.js +2 -14
  16. package/dist-es/commands/DisassociateFraudsterCommand.js +2 -14
  17. package/dist-es/commands/EvaluateSessionCommand.js +2 -14
  18. package/dist-es/commands/ListDomainsCommand.js +2 -14
  19. package/dist-es/commands/ListFraudsterRegistrationJobsCommand.js +2 -14
  20. package/dist-es/commands/ListFraudstersCommand.js +2 -14
  21. package/dist-es/commands/ListSpeakerEnrollmentJobsCommand.js +2 -14
  22. package/dist-es/commands/ListSpeakersCommand.js +2 -14
  23. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  24. package/dist-es/commands/ListWatchlistsCommand.js +2 -14
  25. package/dist-es/commands/OptOutSpeakerCommand.js +2 -14
  26. package/dist-es/commands/StartFraudsterRegistrationJobCommand.js +2 -14
  27. package/dist-es/commands/StartSpeakerEnrollmentJobCommand.js +2 -14
  28. package/dist-es/commands/TagResourceCommand.js +2 -14
  29. package/dist-es/commands/UntagResourceCommand.js +2 -14
  30. package/dist-es/commands/UpdateDomainCommand.js +2 -14
  31. package/dist-es/commands/UpdateWatchlistCommand.js +2 -14
  32. package/dist-es/index.js +1 -0
  33. package/dist-es/runtimeConfig.browser.js +0 -2
  34. package/dist-es/runtimeConfig.js +1 -2
  35. package/dist-es/runtimeConfig.native.js +0 -2
  36. package/dist-es/runtimeConfig.shared.js +2 -0
  37. package/dist-types/commandBuilder.d.ts +18 -0
  38. package/dist-types/commands/AssociateFraudsterCommand.d.ts +3 -8
  39. package/dist-types/commands/CreateDomainCommand.d.ts +3 -8
  40. package/dist-types/commands/CreateWatchlistCommand.d.ts +3 -8
  41. package/dist-types/commands/DeleteDomainCommand.d.ts +3 -8
  42. package/dist-types/commands/DeleteFraudsterCommand.d.ts +3 -8
  43. package/dist-types/commands/DeleteSpeakerCommand.d.ts +3 -8
  44. package/dist-types/commands/DeleteWatchlistCommand.d.ts +3 -8
  45. package/dist-types/commands/DescribeDomainCommand.d.ts +3 -8
  46. package/dist-types/commands/DescribeFraudsterCommand.d.ts +3 -8
  47. package/dist-types/commands/DescribeFraudsterRegistrationJobCommand.d.ts +3 -8
  48. package/dist-types/commands/DescribeSpeakerCommand.d.ts +3 -8
  49. package/dist-types/commands/DescribeSpeakerEnrollmentJobCommand.d.ts +3 -8
  50. package/dist-types/commands/DescribeWatchlistCommand.d.ts +3 -8
  51. package/dist-types/commands/DisassociateFraudsterCommand.d.ts +3 -8
  52. package/dist-types/commands/EvaluateSessionCommand.d.ts +3 -8
  53. package/dist-types/commands/ListDomainsCommand.d.ts +3 -8
  54. package/dist-types/commands/ListFraudsterRegistrationJobsCommand.d.ts +3 -8
  55. package/dist-types/commands/ListFraudstersCommand.d.ts +3 -8
  56. package/dist-types/commands/ListSpeakerEnrollmentJobsCommand.d.ts +3 -8
  57. package/dist-types/commands/ListSpeakersCommand.d.ts +3 -8
  58. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  59. package/dist-types/commands/ListWatchlistsCommand.d.ts +3 -8
  60. package/dist-types/commands/OptOutSpeakerCommand.d.ts +3 -8
  61. package/dist-types/commands/StartFraudsterRegistrationJobCommand.d.ts +3 -8
  62. package/dist-types/commands/StartSpeakerEnrollmentJobCommand.d.ts +3 -8
  63. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  64. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  65. package/dist-types/commands/UpdateDomainCommand.d.ts +3 -8
  66. package/dist-types/commands/UpdateWatchlistCommand.d.ts +3 -8
  67. package/dist-types/index.d.ts +1 -0
  68. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  69. package/dist-types/runtimeConfig.d.ts +1 -1
  70. package/dist-types/runtimeConfig.native.d.ts +1 -1
  71. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  72. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  73. package/dist-types/ts3.4/commands/AssociateFraudsterCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/CreateDomainCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/CreateWatchlistCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/DeleteDomainCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/DeleteFraudsterCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/DeleteSpeakerCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/DeleteWatchlistCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/DescribeDomainCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/DescribeFraudsterCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/DescribeFraudsterRegistrationJobCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/DescribeSpeakerCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/DescribeSpeakerEnrollmentJobCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/DescribeWatchlistCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/DisassociateFraudsterCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/EvaluateSessionCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/ListDomainsCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/ListFraudsterRegistrationJobsCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/ListFraudstersCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/ListSpeakerEnrollmentJobsCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/ListSpeakersCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/ListWatchlistsCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/OptOutSpeakerCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/StartFraudsterRegistrationJobCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/StartSpeakerEnrollmentJobCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  100. package/dist-types/ts3.4/commands/UpdateDomainCommand.d.ts +7 -16
  101. package/dist-types/ts3.4/commands/UpdateWatchlistCommand.d.ts +7 -16
  102. package/dist-types/ts3.4/index.d.ts +1 -0
  103. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  104. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  105. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  106. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  107. package/package.json +8 -10
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeSpeakerEnrollmentJob$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeSpeakerEnrollmentJobCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VoiceID", "DescribeSpeakerEnrollmentJob", {})
13
- .n("VoiceIDClient", "DescribeSpeakerEnrollmentJobCommand")
14
- .sc(DescribeSpeakerEnrollmentJob$)
15
- .build() {
3
+ export class DescribeSpeakerEnrollmentJobCommand extends command(_ep0, _mw0, "DescribeSpeakerEnrollmentJob", DescribeSpeakerEnrollmentJob$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeWatchlist$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeWatchlistCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VoiceID", "DescribeWatchlist", {})
13
- .n("VoiceIDClient", "DescribeWatchlistCommand")
14
- .sc(DescribeWatchlist$)
15
- .build() {
3
+ export class DescribeWatchlistCommand extends command(_ep0, _mw0, "DescribeWatchlist", DescribeWatchlist$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DisassociateFraudster$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DisassociateFraudsterCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VoiceID", "DisassociateFraudster", {})
13
- .n("VoiceIDClient", "DisassociateFraudsterCommand")
14
- .sc(DisassociateFraudster$)
15
- .build() {
3
+ export class DisassociateFraudsterCommand extends command(_ep0, _mw0, "DisassociateFraudster", DisassociateFraudster$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { EvaluateSession$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class EvaluateSessionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VoiceID", "EvaluateSession", {})
13
- .n("VoiceIDClient", "EvaluateSessionCommand")
14
- .sc(EvaluateSession$)
15
- .build() {
3
+ export class EvaluateSessionCommand extends command(_ep0, _mw0, "EvaluateSession", EvaluateSession$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListDomains$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListDomainsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VoiceID", "ListDomains", {})
13
- .n("VoiceIDClient", "ListDomainsCommand")
14
- .sc(ListDomains$)
15
- .build() {
3
+ export class ListDomainsCommand extends command(_ep0, _mw0, "ListDomains", ListDomains$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListFraudsterRegistrationJobs$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListFraudsterRegistrationJobsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VoiceID", "ListFraudsterRegistrationJobs", {})
13
- .n("VoiceIDClient", "ListFraudsterRegistrationJobsCommand")
14
- .sc(ListFraudsterRegistrationJobs$)
15
- .build() {
3
+ export class ListFraudsterRegistrationJobsCommand extends command(_ep0, _mw0, "ListFraudsterRegistrationJobs", ListFraudsterRegistrationJobs$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListFraudsters$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListFraudstersCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VoiceID", "ListFraudsters", {})
13
- .n("VoiceIDClient", "ListFraudstersCommand")
14
- .sc(ListFraudsters$)
15
- .build() {
3
+ export class ListFraudstersCommand extends command(_ep0, _mw0, "ListFraudsters", ListFraudsters$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListSpeakerEnrollmentJobs$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListSpeakerEnrollmentJobsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VoiceID", "ListSpeakerEnrollmentJobs", {})
13
- .n("VoiceIDClient", "ListSpeakerEnrollmentJobsCommand")
14
- .sc(ListSpeakerEnrollmentJobs$)
15
- .build() {
3
+ export class ListSpeakerEnrollmentJobsCommand extends command(_ep0, _mw0, "ListSpeakerEnrollmentJobs", ListSpeakerEnrollmentJobs$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListSpeakers$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListSpeakersCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VoiceID", "ListSpeakers", {})
13
- .n("VoiceIDClient", "ListSpeakersCommand")
14
- .sc(ListSpeakers$)
15
- .build() {
3
+ export class ListSpeakersCommand extends command(_ep0, _mw0, "ListSpeakers", ListSpeakers$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListTagsForResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTagsForResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VoiceID", "ListTagsForResource", {})
13
- .n("VoiceIDClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource$)
15
- .build() {
3
+ export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListWatchlists$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListWatchlistsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VoiceID", "ListWatchlists", {})
13
- .n("VoiceIDClient", "ListWatchlistsCommand")
14
- .sc(ListWatchlists$)
15
- .build() {
3
+ export class ListWatchlistsCommand extends command(_ep0, _mw0, "ListWatchlists", ListWatchlists$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { OptOutSpeaker$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class OptOutSpeakerCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VoiceID", "OptOutSpeaker", {})
13
- .n("VoiceIDClient", "OptOutSpeakerCommand")
14
- .sc(OptOutSpeaker$)
15
- .build() {
3
+ export class OptOutSpeakerCommand extends command(_ep0, _mw0, "OptOutSpeaker", OptOutSpeaker$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { StartFraudsterRegistrationJob$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StartFraudsterRegistrationJobCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VoiceID", "StartFraudsterRegistrationJob", {})
13
- .n("VoiceIDClient", "StartFraudsterRegistrationJobCommand")
14
- .sc(StartFraudsterRegistrationJob$)
15
- .build() {
3
+ export class StartFraudsterRegistrationJobCommand extends command(_ep0, _mw0, "StartFraudsterRegistrationJob", StartFraudsterRegistrationJob$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { StartSpeakerEnrollmentJob$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StartSpeakerEnrollmentJobCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VoiceID", "StartSpeakerEnrollmentJob", {})
13
- .n("VoiceIDClient", "StartSpeakerEnrollmentJobCommand")
14
- .sc(StartSpeakerEnrollmentJob$)
15
- .build() {
3
+ export class StartSpeakerEnrollmentJobCommand extends command(_ep0, _mw0, "StartSpeakerEnrollmentJob", StartSpeakerEnrollmentJob$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { TagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class TagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VoiceID", "TagResource", {})
13
- .n("VoiceIDClient", "TagResourceCommand")
14
- .sc(TagResource$)
15
- .build() {
3
+ export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UntagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UntagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VoiceID", "UntagResource", {})
13
- .n("VoiceIDClient", "UntagResourceCommand")
14
- .sc(UntagResource$)
15
- .build() {
3
+ export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateDomain$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateDomainCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VoiceID", "UpdateDomain", {})
13
- .n("VoiceIDClient", "UpdateDomainCommand")
14
- .sc(UpdateDomain$)
15
- .build() {
3
+ export class UpdateDomainCommand extends command(_ep0, _mw0, "UpdateDomain", UpdateDomain$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateWatchlist$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateWatchlistCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VoiceID", "UpdateWatchlist", {})
13
- .n("VoiceIDClient", "UpdateWatchlistCommand")
14
- .sc(UpdateWatchlist$)
15
- .build() {
3
+ export class UpdateWatchlistCommand extends command(_ep0, _mw0, "UpdateWatchlist", UpdateWatchlist$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./VoiceIDClient";
2
2
  export * from "./VoiceID";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./pagination";
6
7
  export * from "./models/enums";
@@ -1,5 +1,4 @@
1
1
  import packageInfo from "../package.json";
2
- import { Sha256 } from "@aws-crypto/sha256-browser";
3
2
  import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
4
3
  import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
5
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
@@ -23,7 +22,6 @@ export const getRuntimeConfig = (config) => {
23
22
  region: config?.region ?? invalidProvider("Region is missing"),
24
23
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
25
24
  retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
26
- sha256: config?.sha256 ?? Sha256,
27
25
  streamCollector: config?.streamCollector ?? streamCollector,
28
26
  useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
29
27
  useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
@@ -5,7 +5,7 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credentia
5
5
  import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
6
6
  import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
7
7
  import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
8
- import { calculateBodyLength, Hash } from "@smithy/core/serde";
8
+ import { calculateBodyLength } from "@smithy/core/serde";
9
9
  import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
10
10
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
11
11
  export const getRuntimeConfig = (config) => {
@@ -35,7 +35,6 @@ export const getRuntimeConfig = (config) => {
35
35
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
36
36
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
37
37
  }, config),
38
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
39
38
  streamCollector: config?.streamCollector ?? streamCollector,
40
39
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
41
40
  useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1,4 +1,3 @@
1
- import { Sha256 } from "@aws-crypto/sha256-js";
2
1
  import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
3
2
  export const getRuntimeConfig = (config) => {
4
3
  const browserDefaults = getBrowserRuntimeConfig(config);
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
6
5
  ...browserDefaults,
7
6
  ...config,
8
7
  runtime: "react-native",
9
- sha256: config?.sha256 ?? Sha256,
10
8
  };
11
9
  };
@@ -1,5 +1,6 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
2
2
  import { AwsJson1_0Protocol } from "@aws-sdk/core/protocols";
3
+ import { Sha256 } from "@smithy/core/checksum";
3
4
  import { NoOpLogger } from "@smithy/core/client";
4
5
  import { parseUrl } from "@smithy/core/protocols";
5
6
  import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
@@ -31,6 +32,7 @@ export const getRuntimeConfig = (config) => {
31
32
  serviceTarget: "VoiceID",
32
33
  },
33
34
  serviceId: config?.serviceId ?? "Voice ID",
35
+ sha256: config?.sha256 ?? Sha256,
34
36
  urlParser: config?.urlParser ?? parseUrl,
35
37
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
36
38
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { ServiceInputTypes, ServiceOutputTypes, VoiceIDClientResolvedConfig } from "./VoiceIDClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, VoiceIDClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, VoiceIDClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { AssociateFraudsterRequest, AssociateFraudsterResponse } from "../models/models_0";
4
- import type { ServiceInputTypes, ServiceOutputTypes, VoiceIDClientResolvedConfig } from "../VoiceIDClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface AssociateFraudsterCommandInput extends AssociateFraudsterReques
22
19
  export interface AssociateFraudsterCommandOutput extends AssociateFraudsterResponse, __MetadataBearer {
23
20
  }
24
21
  declare const AssociateFraudsterCommand_base: {
25
- new (input: AssociateFraudsterCommandInput): import("@smithy/core/client").CommandImpl<AssociateFraudsterCommandInput, AssociateFraudsterCommandOutput, VoiceIDClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: AssociateFraudsterCommandInput): import("@smithy/core/client").CommandImpl<AssociateFraudsterCommandInput, AssociateFraudsterCommandOutput, VoiceIDClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: AssociateFraudsterCommandInput): import("@smithy/core/client").CommandImpl<AssociateFraudsterCommandInput, AssociateFraudsterCommandOutput, import("..").VoiceIDClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: AssociateFraudsterCommandInput): import("@smithy/core/client").CommandImpl<AssociateFraudsterCommandInput, AssociateFraudsterCommandOutput, import("..").VoiceIDClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Associates the fraudsters with the watchlist specified in the same domain. </p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { CreateDomainRequest, CreateDomainResponse } from "../models/models_0";
4
- import type { ServiceInputTypes, ServiceOutputTypes, VoiceIDClientResolvedConfig } from "../VoiceIDClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CreateDomainCommandInput extends CreateDomainRequest {
22
19
  export interface CreateDomainCommandOutput extends CreateDomainResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateDomainCommand_base: {
25
- new (input: CreateDomainCommandInput): import("@smithy/core/client").CommandImpl<CreateDomainCommandInput, CreateDomainCommandOutput, VoiceIDClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateDomainCommandInput): import("@smithy/core/client").CommandImpl<CreateDomainCommandInput, CreateDomainCommandOutput, VoiceIDClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateDomainCommandInput): import("@smithy/core/client").CommandImpl<CreateDomainCommandInput, CreateDomainCommandOutput, import("..").VoiceIDClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateDomainCommandInput): import("@smithy/core/client").CommandImpl<CreateDomainCommandInput, CreateDomainCommandOutput, import("..").VoiceIDClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates a domain that contains all Amazon Connect Voice ID data, such as speakers, fraudsters,
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { CreateWatchlistRequest, CreateWatchlistResponse } from "../models/models_0";
4
- import type { ServiceInputTypes, ServiceOutputTypes, VoiceIDClientResolvedConfig } from "../VoiceIDClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CreateWatchlistCommandInput extends CreateWatchlistRequest {
22
19
  export interface CreateWatchlistCommandOutput extends CreateWatchlistResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateWatchlistCommand_base: {
25
- new (input: CreateWatchlistCommandInput): import("@smithy/core/client").CommandImpl<CreateWatchlistCommandInput, CreateWatchlistCommandOutput, VoiceIDClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateWatchlistCommandInput): import("@smithy/core/client").CommandImpl<CreateWatchlistCommandInput, CreateWatchlistCommandOutput, VoiceIDClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateWatchlistCommandInput): import("@smithy/core/client").CommandImpl<CreateWatchlistCommandInput, CreateWatchlistCommandOutput, import("..").VoiceIDClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateWatchlistCommandInput): import("@smithy/core/client").CommandImpl<CreateWatchlistCommandInput, CreateWatchlistCommandOutput, import("..").VoiceIDClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates a watchlist that fraudsters can be a part of.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { DeleteDomainRequest } from "../models/models_0";
4
- import type { ServiceInputTypes, ServiceOutputTypes, VoiceIDClientResolvedConfig } from "../VoiceIDClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface DeleteDomainCommandInput extends DeleteDomainRequest {
22
19
  export interface DeleteDomainCommandOutput extends __MetadataBearer {
23
20
  }
24
21
  declare const DeleteDomainCommand_base: {
25
- new (input: DeleteDomainCommandInput): import("@smithy/core/client").CommandImpl<DeleteDomainCommandInput, DeleteDomainCommandOutput, VoiceIDClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteDomainCommandInput): import("@smithy/core/client").CommandImpl<DeleteDomainCommandInput, DeleteDomainCommandOutput, VoiceIDClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DeleteDomainCommandInput): import("@smithy/core/client").CommandImpl<DeleteDomainCommandInput, DeleteDomainCommandOutput, import("..").VoiceIDClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteDomainCommandInput): import("@smithy/core/client").CommandImpl<DeleteDomainCommandInput, DeleteDomainCommandOutput, import("..").VoiceIDClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Deletes the specified domain from Voice ID.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { DeleteFraudsterRequest } from "../models/models_0";
4
- import type { ServiceInputTypes, ServiceOutputTypes, VoiceIDClientResolvedConfig } from "../VoiceIDClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface DeleteFraudsterCommandInput extends DeleteFraudsterRequest {
22
19
  export interface DeleteFraudsterCommandOutput extends __MetadataBearer {
23
20
  }
24
21
  declare const DeleteFraudsterCommand_base: {
25
- new (input: DeleteFraudsterCommandInput): import("@smithy/core/client").CommandImpl<DeleteFraudsterCommandInput, DeleteFraudsterCommandOutput, VoiceIDClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteFraudsterCommandInput): import("@smithy/core/client").CommandImpl<DeleteFraudsterCommandInput, DeleteFraudsterCommandOutput, VoiceIDClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DeleteFraudsterCommandInput): import("@smithy/core/client").CommandImpl<DeleteFraudsterCommandInput, DeleteFraudsterCommandOutput, import("..").VoiceIDClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteFraudsterCommandInput): import("@smithy/core/client").CommandImpl<DeleteFraudsterCommandInput, DeleteFraudsterCommandOutput, import("..").VoiceIDClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Deletes the specified fraudster from Voice ID. This action disassociates the fraudster from any watchlists it is a part of.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { DeleteSpeakerRequest } from "../models/models_0";
4
- import type { ServiceInputTypes, ServiceOutputTypes, VoiceIDClientResolvedConfig } from "../VoiceIDClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface DeleteSpeakerCommandInput extends DeleteSpeakerRequest {
22
19
  export interface DeleteSpeakerCommandOutput extends __MetadataBearer {
23
20
  }
24
21
  declare const DeleteSpeakerCommand_base: {
25
- new (input: DeleteSpeakerCommandInput): import("@smithy/core/client").CommandImpl<DeleteSpeakerCommandInput, DeleteSpeakerCommandOutput, VoiceIDClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteSpeakerCommandInput): import("@smithy/core/client").CommandImpl<DeleteSpeakerCommandInput, DeleteSpeakerCommandOutput, VoiceIDClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DeleteSpeakerCommandInput): import("@smithy/core/client").CommandImpl<DeleteSpeakerCommandInput, DeleteSpeakerCommandOutput, import("..").VoiceIDClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteSpeakerCommandInput): import("@smithy/core/client").CommandImpl<DeleteSpeakerCommandInput, DeleteSpeakerCommandOutput, import("..").VoiceIDClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Deletes the specified speaker from Voice ID.</p>