@aws-sdk/client-voice-id 3.948.0 → 3.953.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 (49) hide show
  1. package/dist-cjs/index.js +416 -260
  2. package/dist-cjs/runtimeConfig.shared.js +6 -6
  3. package/dist-es/commands/AssociateFraudsterCommand.js +2 -2
  4. package/dist-es/commands/CreateDomainCommand.js +2 -2
  5. package/dist-es/commands/CreateWatchlistCommand.js +2 -2
  6. package/dist-es/commands/DeleteDomainCommand.js +2 -2
  7. package/dist-es/commands/DeleteFraudsterCommand.js +2 -2
  8. package/dist-es/commands/DeleteSpeakerCommand.js +2 -2
  9. package/dist-es/commands/DeleteWatchlistCommand.js +2 -2
  10. package/dist-es/commands/DescribeDomainCommand.js +2 -2
  11. package/dist-es/commands/DescribeFraudsterCommand.js +2 -2
  12. package/dist-es/commands/DescribeFraudsterRegistrationJobCommand.js +2 -2
  13. package/dist-es/commands/DescribeSpeakerCommand.js +2 -2
  14. package/dist-es/commands/DescribeSpeakerEnrollmentJobCommand.js +2 -2
  15. package/dist-es/commands/DescribeWatchlistCommand.js +2 -2
  16. package/dist-es/commands/DisassociateFraudsterCommand.js +2 -2
  17. package/dist-es/commands/EvaluateSessionCommand.js +2 -2
  18. package/dist-es/commands/ListDomainsCommand.js +2 -2
  19. package/dist-es/commands/ListFraudsterRegistrationJobsCommand.js +2 -2
  20. package/dist-es/commands/ListFraudstersCommand.js +2 -2
  21. package/dist-es/commands/ListSpeakerEnrollmentJobsCommand.js +2 -2
  22. package/dist-es/commands/ListSpeakersCommand.js +2 -2
  23. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  24. package/dist-es/commands/ListWatchlistsCommand.js +2 -2
  25. package/dist-es/commands/OptOutSpeakerCommand.js +2 -2
  26. package/dist-es/commands/StartFraudsterRegistrationJobCommand.js +2 -2
  27. package/dist-es/commands/StartSpeakerEnrollmentJobCommand.js +2 -2
  28. package/dist-es/commands/TagResourceCommand.js +2 -2
  29. package/dist-es/commands/UntagResourceCommand.js +2 -2
  30. package/dist-es/commands/UpdateDomainCommand.js +2 -2
  31. package/dist-es/commands/UpdateWatchlistCommand.js +2 -2
  32. package/dist-es/index.js +1 -0
  33. package/dist-es/runtimeConfig.shared.js +6 -6
  34. package/dist-es/schemas/schemas_0.js +263 -228
  35. package/dist-types/VoiceIDClient.d.ts +1 -10
  36. package/dist-types/index.d.ts +1 -0
  37. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  38. package/dist-types/runtimeConfig.d.ts +6 -2
  39. package/dist-types/runtimeConfig.native.d.ts +6 -2
  40. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  41. package/dist-types/schemas/schemas_0.d.ts +122 -145
  42. package/dist-types/ts3.4/VoiceIDClient.d.ts +0 -4
  43. package/dist-types/ts3.4/index.d.ts +1 -0
  44. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  45. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  46. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  47. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  48. package/dist-types/ts3.4/schemas/schemas_0.d.ts +121 -146
  49. package/package.json +34 -34
@@ -26,12 +26,12 @@ const getRuntimeConfig = (config) => {
26
26
  },
27
27
  ],
28
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
- protocol: config?.protocol ??
30
- new protocols_1.AwsJson1_0Protocol({
31
- defaultNamespace: "com.amazonaws.voiceid",
32
- serviceTarget: "VoiceID",
33
- awsQueryCompatible: false,
34
- }),
29
+ protocol: config?.protocol ?? protocols_1.AwsJson1_0Protocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.voiceid",
32
+ version: "2021-09-27",
33
+ serviceTarget: "VoiceID",
34
+ },
35
35
  serviceId: config?.serviceId ?? "Voice ID",
36
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
37
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { AssociateFraudster } from "../schemas/schemas_0";
4
+ import { AssociateFraudster$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class AssociateFraudsterCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class AssociateFraudsterCommand extends $Command
11
11
  })
12
12
  .s("VoiceID", "AssociateFraudster", {})
13
13
  .n("VoiceIDClient", "AssociateFraudsterCommand")
14
- .sc(AssociateFraudster)
14
+ .sc(AssociateFraudster$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CreateDomain } from "../schemas/schemas_0";
4
+ import { CreateDomain$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateDomainCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateDomainCommand extends $Command
11
11
  })
12
12
  .s("VoiceID", "CreateDomain", {})
13
13
  .n("VoiceIDClient", "CreateDomainCommand")
14
- .sc(CreateDomain)
14
+ .sc(CreateDomain$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CreateWatchlist } from "../schemas/schemas_0";
4
+ import { CreateWatchlist$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateWatchlistCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateWatchlistCommand extends $Command
11
11
  })
12
12
  .s("VoiceID", "CreateWatchlist", {})
13
13
  .n("VoiceIDClient", "CreateWatchlistCommand")
14
- .sc(CreateWatchlist)
14
+ .sc(CreateWatchlist$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteDomain } from "../schemas/schemas_0";
4
+ import { DeleteDomain$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteDomainCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteDomainCommand extends $Command
11
11
  })
12
12
  .s("VoiceID", "DeleteDomain", {})
13
13
  .n("VoiceIDClient", "DeleteDomainCommand")
14
- .sc(DeleteDomain)
14
+ .sc(DeleteDomain$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteFraudster } from "../schemas/schemas_0";
4
+ import { DeleteFraudster$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteFraudsterCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteFraudsterCommand extends $Command
11
11
  })
12
12
  .s("VoiceID", "DeleteFraudster", {})
13
13
  .n("VoiceIDClient", "DeleteFraudsterCommand")
14
- .sc(DeleteFraudster)
14
+ .sc(DeleteFraudster$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteSpeaker } from "../schemas/schemas_0";
4
+ import { DeleteSpeaker$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteSpeakerCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteSpeakerCommand extends $Command
11
11
  })
12
12
  .s("VoiceID", "DeleteSpeaker", {})
13
13
  .n("VoiceIDClient", "DeleteSpeakerCommand")
14
- .sc(DeleteSpeaker)
14
+ .sc(DeleteSpeaker$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteWatchlist } from "../schemas/schemas_0";
4
+ import { DeleteWatchlist$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteWatchlistCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteWatchlistCommand extends $Command
11
11
  })
12
12
  .s("VoiceID", "DeleteWatchlist", {})
13
13
  .n("VoiceIDClient", "DeleteWatchlistCommand")
14
- .sc(DeleteWatchlist)
14
+ .sc(DeleteWatchlist$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DescribeDomain } from "../schemas/schemas_0";
4
+ import { DescribeDomain$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeDomainCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeDomainCommand extends $Command
11
11
  })
12
12
  .s("VoiceID", "DescribeDomain", {})
13
13
  .n("VoiceIDClient", "DescribeDomainCommand")
14
- .sc(DescribeDomain)
14
+ .sc(DescribeDomain$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DescribeFraudster } from "../schemas/schemas_0";
4
+ import { DescribeFraudster$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeFraudsterCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeFraudsterCommand extends $Command
11
11
  })
12
12
  .s("VoiceID", "DescribeFraudster", {})
13
13
  .n("VoiceIDClient", "DescribeFraudsterCommand")
14
- .sc(DescribeFraudster)
14
+ .sc(DescribeFraudster$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DescribeFraudsterRegistrationJob } from "../schemas/schemas_0";
4
+ import { DescribeFraudsterRegistrationJob$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeFraudsterRegistrationJobCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeFraudsterRegistrationJobCommand extends $Command
11
11
  })
12
12
  .s("VoiceID", "DescribeFraudsterRegistrationJob", {})
13
13
  .n("VoiceIDClient", "DescribeFraudsterRegistrationJobCommand")
14
- .sc(DescribeFraudsterRegistrationJob)
14
+ .sc(DescribeFraudsterRegistrationJob$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DescribeSpeaker } from "../schemas/schemas_0";
4
+ import { DescribeSpeaker$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeSpeakerCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeSpeakerCommand extends $Command
11
11
  })
12
12
  .s("VoiceID", "DescribeSpeaker", {})
13
13
  .n("VoiceIDClient", "DescribeSpeakerCommand")
14
- .sc(DescribeSpeaker)
14
+ .sc(DescribeSpeaker$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DescribeSpeakerEnrollmentJob } from "../schemas/schemas_0";
4
+ import { DescribeSpeakerEnrollmentJob$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeSpeakerEnrollmentJobCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeSpeakerEnrollmentJobCommand extends $Command
11
11
  })
12
12
  .s("VoiceID", "DescribeSpeakerEnrollmentJob", {})
13
13
  .n("VoiceIDClient", "DescribeSpeakerEnrollmentJobCommand")
14
- .sc(DescribeSpeakerEnrollmentJob)
14
+ .sc(DescribeSpeakerEnrollmentJob$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DescribeWatchlist } from "../schemas/schemas_0";
4
+ import { DescribeWatchlist$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeWatchlistCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeWatchlistCommand extends $Command
11
11
  })
12
12
  .s("VoiceID", "DescribeWatchlist", {})
13
13
  .n("VoiceIDClient", "DescribeWatchlistCommand")
14
- .sc(DescribeWatchlist)
14
+ .sc(DescribeWatchlist$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DisassociateFraudster } from "../schemas/schemas_0";
4
+ import { DisassociateFraudster$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DisassociateFraudsterCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DisassociateFraudsterCommand extends $Command
11
11
  })
12
12
  .s("VoiceID", "DisassociateFraudster", {})
13
13
  .n("VoiceIDClient", "DisassociateFraudsterCommand")
14
- .sc(DisassociateFraudster)
14
+ .sc(DisassociateFraudster$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { EvaluateSession } from "../schemas/schemas_0";
4
+ import { EvaluateSession$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class EvaluateSessionCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class EvaluateSessionCommand extends $Command
11
11
  })
12
12
  .s("VoiceID", "EvaluateSession", {})
13
13
  .n("VoiceIDClient", "EvaluateSessionCommand")
14
- .sc(EvaluateSession)
14
+ .sc(EvaluateSession$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListDomains } from "../schemas/schemas_0";
4
+ import { ListDomains$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListDomainsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListDomainsCommand extends $Command
11
11
  })
12
12
  .s("VoiceID", "ListDomains", {})
13
13
  .n("VoiceIDClient", "ListDomainsCommand")
14
- .sc(ListDomains)
14
+ .sc(ListDomains$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListFraudsterRegistrationJobs } from "../schemas/schemas_0";
4
+ import { ListFraudsterRegistrationJobs$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListFraudsterRegistrationJobsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListFraudsterRegistrationJobsCommand extends $Command
11
11
  })
12
12
  .s("VoiceID", "ListFraudsterRegistrationJobs", {})
13
13
  .n("VoiceIDClient", "ListFraudsterRegistrationJobsCommand")
14
- .sc(ListFraudsterRegistrationJobs)
14
+ .sc(ListFraudsterRegistrationJobs$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListFraudsters } from "../schemas/schemas_0";
4
+ import { ListFraudsters$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListFraudstersCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListFraudstersCommand extends $Command
11
11
  })
12
12
  .s("VoiceID", "ListFraudsters", {})
13
13
  .n("VoiceIDClient", "ListFraudstersCommand")
14
- .sc(ListFraudsters)
14
+ .sc(ListFraudsters$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListSpeakerEnrollmentJobs } from "../schemas/schemas_0";
4
+ import { ListSpeakerEnrollmentJobs$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListSpeakerEnrollmentJobsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListSpeakerEnrollmentJobsCommand extends $Command
11
11
  })
12
12
  .s("VoiceID", "ListSpeakerEnrollmentJobs", {})
13
13
  .n("VoiceIDClient", "ListSpeakerEnrollmentJobsCommand")
14
- .sc(ListSpeakerEnrollmentJobs)
14
+ .sc(ListSpeakerEnrollmentJobs$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListSpeakers } from "../schemas/schemas_0";
4
+ import { ListSpeakers$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListSpeakersCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListSpeakersCommand extends $Command
11
11
  })
12
12
  .s("VoiceID", "ListSpeakers", {})
13
13
  .n("VoiceIDClient", "ListSpeakersCommand")
14
- .sc(ListSpeakers)
14
+ .sc(ListSpeakers$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListTagsForResource } from "../schemas/schemas_0";
4
+ import { ListTagsForResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListTagsForResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListTagsForResourceCommand extends $Command
11
11
  })
12
12
  .s("VoiceID", "ListTagsForResource", {})
13
13
  .n("VoiceIDClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource)
14
+ .sc(ListTagsForResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListWatchlists } from "../schemas/schemas_0";
4
+ import { ListWatchlists$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListWatchlistsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListWatchlistsCommand extends $Command
11
11
  })
12
12
  .s("VoiceID", "ListWatchlists", {})
13
13
  .n("VoiceIDClient", "ListWatchlistsCommand")
14
- .sc(ListWatchlists)
14
+ .sc(ListWatchlists$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { OptOutSpeaker } from "../schemas/schemas_0";
4
+ import { OptOutSpeaker$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class OptOutSpeakerCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class OptOutSpeakerCommand extends $Command
11
11
  })
12
12
  .s("VoiceID", "OptOutSpeaker", {})
13
13
  .n("VoiceIDClient", "OptOutSpeakerCommand")
14
- .sc(OptOutSpeaker)
14
+ .sc(OptOutSpeaker$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { StartFraudsterRegistrationJob } from "../schemas/schemas_0";
4
+ import { StartFraudsterRegistrationJob$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class StartFraudsterRegistrationJobCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class StartFraudsterRegistrationJobCommand extends $Command
11
11
  })
12
12
  .s("VoiceID", "StartFraudsterRegistrationJob", {})
13
13
  .n("VoiceIDClient", "StartFraudsterRegistrationJobCommand")
14
- .sc(StartFraudsterRegistrationJob)
14
+ .sc(StartFraudsterRegistrationJob$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { StartSpeakerEnrollmentJob } from "../schemas/schemas_0";
4
+ import { StartSpeakerEnrollmentJob$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class StartSpeakerEnrollmentJobCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class StartSpeakerEnrollmentJobCommand extends $Command
11
11
  })
12
12
  .s("VoiceID", "StartSpeakerEnrollmentJob", {})
13
13
  .n("VoiceIDClient", "StartSpeakerEnrollmentJobCommand")
14
- .sc(StartSpeakerEnrollmentJob)
14
+ .sc(StartSpeakerEnrollmentJob$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { TagResource } from "../schemas/schemas_0";
4
+ import { TagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class TagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class TagResourceCommand extends $Command
11
11
  })
12
12
  .s("VoiceID", "TagResource", {})
13
13
  .n("VoiceIDClient", "TagResourceCommand")
14
- .sc(TagResource)
14
+ .sc(TagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UntagResource } from "../schemas/schemas_0";
4
+ import { UntagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UntagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UntagResourceCommand extends $Command
11
11
  })
12
12
  .s("VoiceID", "UntagResource", {})
13
13
  .n("VoiceIDClient", "UntagResourceCommand")
14
- .sc(UntagResource)
14
+ .sc(UntagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateDomain } from "../schemas/schemas_0";
4
+ import { UpdateDomain$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateDomainCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateDomainCommand extends $Command
11
11
  })
12
12
  .s("VoiceID", "UpdateDomain", {})
13
13
  .n("VoiceIDClient", "UpdateDomainCommand")
14
- .sc(UpdateDomain)
14
+ .sc(UpdateDomain$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateWatchlist } from "../schemas/schemas_0";
4
+ import { UpdateWatchlist$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateWatchlistCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateWatchlistCommand extends $Command
11
11
  })
12
12
  .s("VoiceID", "UpdateWatchlist", {})
13
13
  .n("VoiceIDClient", "UpdateWatchlistCommand")
14
- .sc(UpdateWatchlist)
14
+ .sc(UpdateWatchlist$)
15
15
  .build() {
16
16
  }
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 * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -23,12 +23,12 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ??
27
- new AwsJson1_0Protocol({
28
- defaultNamespace: "com.amazonaws.voiceid",
29
- serviceTarget: "VoiceID",
30
- awsQueryCompatible: false,
31
- }),
26
+ protocol: config?.protocol ?? AwsJson1_0Protocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.voiceid",
29
+ version: "2021-09-27",
30
+ serviceTarget: "VoiceID",
31
+ },
32
32
  serviceId: config?.serviceId ?? "Voice ID",
33
33
  urlParser: config?.urlParser ?? parseUrl,
34
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,