@aws-sdk/client-voice-id 3.649.0 → 3.650.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 (33) hide show
  1. package/dist-cjs/index.js +29 -87
  2. package/dist-es/commands/AssociateFraudsterCommand.js +1 -3
  3. package/dist-es/commands/CreateDomainCommand.js +1 -3
  4. package/dist-es/commands/CreateWatchlistCommand.js +1 -3
  5. package/dist-es/commands/DeleteDomainCommand.js +1 -3
  6. package/dist-es/commands/DeleteFraudsterCommand.js +1 -3
  7. package/dist-es/commands/DeleteSpeakerCommand.js +1 -3
  8. package/dist-es/commands/DeleteWatchlistCommand.js +1 -3
  9. package/dist-es/commands/DescribeDomainCommand.js +1 -3
  10. package/dist-es/commands/DescribeFraudsterCommand.js +1 -3
  11. package/dist-es/commands/DescribeFraudsterRegistrationJobCommand.js +1 -3
  12. package/dist-es/commands/DescribeSpeakerCommand.js +1 -3
  13. package/dist-es/commands/DescribeSpeakerEnrollmentJobCommand.js +1 -3
  14. package/dist-es/commands/DescribeWatchlistCommand.js +1 -3
  15. package/dist-es/commands/DisassociateFraudsterCommand.js +1 -3
  16. package/dist-es/commands/EvaluateSessionCommand.js +1 -3
  17. package/dist-es/commands/ListDomainsCommand.js +1 -3
  18. package/dist-es/commands/ListFraudsterRegistrationJobsCommand.js +1 -3
  19. package/dist-es/commands/ListFraudstersCommand.js +1 -3
  20. package/dist-es/commands/ListSpeakerEnrollmentJobsCommand.js +1 -3
  21. package/dist-es/commands/ListSpeakersCommand.js +1 -3
  22. package/dist-es/commands/ListTagsForResourceCommand.js +1 -3
  23. package/dist-es/commands/ListWatchlistsCommand.js +1 -3
  24. package/dist-es/commands/OptOutSpeakerCommand.js +1 -3
  25. package/dist-es/commands/StartFraudsterRegistrationJobCommand.js +1 -3
  26. package/dist-es/commands/StartSpeakerEnrollmentJobCommand.js +1 -3
  27. package/dist-es/commands/TagResourceCommand.js +1 -3
  28. package/dist-es/commands/UntagResourceCommand.js +1 -3
  29. package/dist-es/commands/UpdateDomainCommand.js +1 -3
  30. package/dist-es/commands/UpdateWatchlistCommand.js +1 -3
  31. package/dist-es/endpoint/endpointResolver.js +7 -3
  32. package/package.json +4 -4
  33. package/dist-types/tsdoc-metadata.json +0 -11
package/dist-cjs/index.js CHANGED
@@ -1755,9 +1755,7 @@ function sharedHeaders(operation) {
1755
1755
  __name(sharedHeaders, "sharedHeaders");
1756
1756
 
1757
1757
  // src/commands/AssociateFraudsterCommand.ts
1758
- var _AssociateFraudsterCommand = class _AssociateFraudsterCommand extends import_smithy_client.Command.classBuilder().ep({
1759
- ...commonParams
1760
- }).m(function(Command, cs, config, o) {
1758
+ var _AssociateFraudsterCommand = class _AssociateFraudsterCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1761
1759
  return [
1762
1760
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1763
1761
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1771,9 +1769,7 @@ var AssociateFraudsterCommand = _AssociateFraudsterCommand;
1771
1769
 
1772
1770
 
1773
1771
 
1774
- var _CreateDomainCommand = class _CreateDomainCommand extends import_smithy_client.Command.classBuilder().ep({
1775
- ...commonParams
1776
- }).m(function(Command, cs, config, o) {
1772
+ var _CreateDomainCommand = class _CreateDomainCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1777
1773
  return [
1778
1774
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1779
1775
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1787,9 +1783,7 @@ var CreateDomainCommand = _CreateDomainCommand;
1787
1783
 
1788
1784
 
1789
1785
 
1790
- var _CreateWatchlistCommand = class _CreateWatchlistCommand extends import_smithy_client.Command.classBuilder().ep({
1791
- ...commonParams
1792
- }).m(function(Command, cs, config, o) {
1786
+ var _CreateWatchlistCommand = class _CreateWatchlistCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1793
1787
  return [
1794
1788
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1795
1789
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1803,9 +1797,7 @@ var CreateWatchlistCommand = _CreateWatchlistCommand;
1803
1797
 
1804
1798
 
1805
1799
 
1806
- var _DeleteDomainCommand = class _DeleteDomainCommand extends import_smithy_client.Command.classBuilder().ep({
1807
- ...commonParams
1808
- }).m(function(Command, cs, config, o) {
1800
+ var _DeleteDomainCommand = class _DeleteDomainCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1809
1801
  return [
1810
1802
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1811
1803
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1819,9 +1811,7 @@ var DeleteDomainCommand = _DeleteDomainCommand;
1819
1811
 
1820
1812
 
1821
1813
 
1822
- var _DeleteFraudsterCommand = class _DeleteFraudsterCommand extends import_smithy_client.Command.classBuilder().ep({
1823
- ...commonParams
1824
- }).m(function(Command, cs, config, o) {
1814
+ var _DeleteFraudsterCommand = class _DeleteFraudsterCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1825
1815
  return [
1826
1816
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1827
1817
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1835,9 +1825,7 @@ var DeleteFraudsterCommand = _DeleteFraudsterCommand;
1835
1825
 
1836
1826
 
1837
1827
 
1838
- var _DeleteSpeakerCommand = class _DeleteSpeakerCommand extends import_smithy_client.Command.classBuilder().ep({
1839
- ...commonParams
1840
- }).m(function(Command, cs, config, o) {
1828
+ var _DeleteSpeakerCommand = class _DeleteSpeakerCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1841
1829
  return [
1842
1830
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1843
1831
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1851,9 +1839,7 @@ var DeleteSpeakerCommand = _DeleteSpeakerCommand;
1851
1839
 
1852
1840
 
1853
1841
 
1854
- var _DeleteWatchlistCommand = class _DeleteWatchlistCommand extends import_smithy_client.Command.classBuilder().ep({
1855
- ...commonParams
1856
- }).m(function(Command, cs, config, o) {
1842
+ var _DeleteWatchlistCommand = class _DeleteWatchlistCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1857
1843
  return [
1858
1844
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1859
1845
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1867,9 +1853,7 @@ var DeleteWatchlistCommand = _DeleteWatchlistCommand;
1867
1853
 
1868
1854
 
1869
1855
 
1870
- var _DescribeDomainCommand = class _DescribeDomainCommand extends import_smithy_client.Command.classBuilder().ep({
1871
- ...commonParams
1872
- }).m(function(Command, cs, config, o) {
1856
+ var _DescribeDomainCommand = class _DescribeDomainCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1873
1857
  return [
1874
1858
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1875
1859
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1883,9 +1867,7 @@ var DescribeDomainCommand = _DescribeDomainCommand;
1883
1867
 
1884
1868
 
1885
1869
 
1886
- var _DescribeFraudsterCommand = class _DescribeFraudsterCommand extends import_smithy_client.Command.classBuilder().ep({
1887
- ...commonParams
1888
- }).m(function(Command, cs, config, o) {
1870
+ var _DescribeFraudsterCommand = class _DescribeFraudsterCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1889
1871
  return [
1890
1872
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1891
1873
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1899,9 +1881,7 @@ var DescribeFraudsterCommand = _DescribeFraudsterCommand;
1899
1881
 
1900
1882
 
1901
1883
 
1902
- var _DescribeFraudsterRegistrationJobCommand = class _DescribeFraudsterRegistrationJobCommand extends import_smithy_client.Command.classBuilder().ep({
1903
- ...commonParams
1904
- }).m(function(Command, cs, config, o) {
1884
+ var _DescribeFraudsterRegistrationJobCommand = class _DescribeFraudsterRegistrationJobCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1905
1885
  return [
1906
1886
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1907
1887
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1915,9 +1895,7 @@ var DescribeFraudsterRegistrationJobCommand = _DescribeFraudsterRegistrationJobC
1915
1895
 
1916
1896
 
1917
1897
 
1918
- var _DescribeSpeakerCommand = class _DescribeSpeakerCommand extends import_smithy_client.Command.classBuilder().ep({
1919
- ...commonParams
1920
- }).m(function(Command, cs, config, o) {
1898
+ var _DescribeSpeakerCommand = class _DescribeSpeakerCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1921
1899
  return [
1922
1900
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1923
1901
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1931,9 +1909,7 @@ var DescribeSpeakerCommand = _DescribeSpeakerCommand;
1931
1909
 
1932
1910
 
1933
1911
 
1934
- var _DescribeSpeakerEnrollmentJobCommand = class _DescribeSpeakerEnrollmentJobCommand extends import_smithy_client.Command.classBuilder().ep({
1935
- ...commonParams
1936
- }).m(function(Command, cs, config, o) {
1912
+ var _DescribeSpeakerEnrollmentJobCommand = class _DescribeSpeakerEnrollmentJobCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1937
1913
  return [
1938
1914
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1939
1915
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1947,9 +1923,7 @@ var DescribeSpeakerEnrollmentJobCommand = _DescribeSpeakerEnrollmentJobCommand;
1947
1923
 
1948
1924
 
1949
1925
 
1950
- var _DescribeWatchlistCommand = class _DescribeWatchlistCommand extends import_smithy_client.Command.classBuilder().ep({
1951
- ...commonParams
1952
- }).m(function(Command, cs, config, o) {
1926
+ var _DescribeWatchlistCommand = class _DescribeWatchlistCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1953
1927
  return [
1954
1928
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1955
1929
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1963,9 +1937,7 @@ var DescribeWatchlistCommand = _DescribeWatchlistCommand;
1963
1937
 
1964
1938
 
1965
1939
 
1966
- var _DisassociateFraudsterCommand = class _DisassociateFraudsterCommand extends import_smithy_client.Command.classBuilder().ep({
1967
- ...commonParams
1968
- }).m(function(Command, cs, config, o) {
1940
+ var _DisassociateFraudsterCommand = class _DisassociateFraudsterCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1969
1941
  return [
1970
1942
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1971
1943
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1979,9 +1951,7 @@ var DisassociateFraudsterCommand = _DisassociateFraudsterCommand;
1979
1951
 
1980
1952
 
1981
1953
 
1982
- var _EvaluateSessionCommand = class _EvaluateSessionCommand extends import_smithy_client.Command.classBuilder().ep({
1983
- ...commonParams
1984
- }).m(function(Command, cs, config, o) {
1954
+ var _EvaluateSessionCommand = class _EvaluateSessionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1985
1955
  return [
1986
1956
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1987
1957
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1995,9 +1965,7 @@ var EvaluateSessionCommand = _EvaluateSessionCommand;
1995
1965
 
1996
1966
 
1997
1967
 
1998
- var _ListDomainsCommand = class _ListDomainsCommand extends import_smithy_client.Command.classBuilder().ep({
1999
- ...commonParams
2000
- }).m(function(Command, cs, config, o) {
1968
+ var _ListDomainsCommand = class _ListDomainsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2001
1969
  return [
2002
1970
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2003
1971
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2011,9 +1979,7 @@ var ListDomainsCommand = _ListDomainsCommand;
2011
1979
 
2012
1980
 
2013
1981
 
2014
- var _ListFraudsterRegistrationJobsCommand = class _ListFraudsterRegistrationJobsCommand extends import_smithy_client.Command.classBuilder().ep({
2015
- ...commonParams
2016
- }).m(function(Command, cs, config, o) {
1982
+ var _ListFraudsterRegistrationJobsCommand = class _ListFraudsterRegistrationJobsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2017
1983
  return [
2018
1984
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2019
1985
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2027,9 +1993,7 @@ var ListFraudsterRegistrationJobsCommand = _ListFraudsterRegistrationJobsCommand
2027
1993
 
2028
1994
 
2029
1995
 
2030
- var _ListFraudstersCommand = class _ListFraudstersCommand extends import_smithy_client.Command.classBuilder().ep({
2031
- ...commonParams
2032
- }).m(function(Command, cs, config, o) {
1996
+ var _ListFraudstersCommand = class _ListFraudstersCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2033
1997
  return [
2034
1998
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2035
1999
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2043,9 +2007,7 @@ var ListFraudstersCommand = _ListFraudstersCommand;
2043
2007
 
2044
2008
 
2045
2009
 
2046
- var _ListSpeakerEnrollmentJobsCommand = class _ListSpeakerEnrollmentJobsCommand extends import_smithy_client.Command.classBuilder().ep({
2047
- ...commonParams
2048
- }).m(function(Command, cs, config, o) {
2010
+ var _ListSpeakerEnrollmentJobsCommand = class _ListSpeakerEnrollmentJobsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2049
2011
  return [
2050
2012
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2051
2013
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2059,9 +2021,7 @@ var ListSpeakerEnrollmentJobsCommand = _ListSpeakerEnrollmentJobsCommand;
2059
2021
 
2060
2022
 
2061
2023
 
2062
- var _ListSpeakersCommand = class _ListSpeakersCommand extends import_smithy_client.Command.classBuilder().ep({
2063
- ...commonParams
2064
- }).m(function(Command, cs, config, o) {
2024
+ var _ListSpeakersCommand = class _ListSpeakersCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2065
2025
  return [
2066
2026
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2067
2027
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2075,9 +2035,7 @@ var ListSpeakersCommand = _ListSpeakersCommand;
2075
2035
 
2076
2036
 
2077
2037
 
2078
- var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
2079
- ...commonParams
2080
- }).m(function(Command, cs, config, o) {
2038
+ var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2081
2039
  return [
2082
2040
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2083
2041
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2091,9 +2049,7 @@ var ListTagsForResourceCommand = _ListTagsForResourceCommand;
2091
2049
 
2092
2050
 
2093
2051
 
2094
- var _ListWatchlistsCommand = class _ListWatchlistsCommand extends import_smithy_client.Command.classBuilder().ep({
2095
- ...commonParams
2096
- }).m(function(Command, cs, config, o) {
2052
+ var _ListWatchlistsCommand = class _ListWatchlistsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2097
2053
  return [
2098
2054
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2099
2055
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2107,9 +2063,7 @@ var ListWatchlistsCommand = _ListWatchlistsCommand;
2107
2063
 
2108
2064
 
2109
2065
 
2110
- var _OptOutSpeakerCommand = class _OptOutSpeakerCommand extends import_smithy_client.Command.classBuilder().ep({
2111
- ...commonParams
2112
- }).m(function(Command, cs, config, o) {
2066
+ var _OptOutSpeakerCommand = class _OptOutSpeakerCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2113
2067
  return [
2114
2068
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2115
2069
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2123,9 +2077,7 @@ var OptOutSpeakerCommand = _OptOutSpeakerCommand;
2123
2077
 
2124
2078
 
2125
2079
 
2126
- var _StartFraudsterRegistrationJobCommand = class _StartFraudsterRegistrationJobCommand extends import_smithy_client.Command.classBuilder().ep({
2127
- ...commonParams
2128
- }).m(function(Command, cs, config, o) {
2080
+ var _StartFraudsterRegistrationJobCommand = class _StartFraudsterRegistrationJobCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2129
2081
  return [
2130
2082
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2131
2083
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2139,9 +2091,7 @@ var StartFraudsterRegistrationJobCommand = _StartFraudsterRegistrationJobCommand
2139
2091
 
2140
2092
 
2141
2093
 
2142
- var _StartSpeakerEnrollmentJobCommand = class _StartSpeakerEnrollmentJobCommand extends import_smithy_client.Command.classBuilder().ep({
2143
- ...commonParams
2144
- }).m(function(Command, cs, config, o) {
2094
+ var _StartSpeakerEnrollmentJobCommand = class _StartSpeakerEnrollmentJobCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2145
2095
  return [
2146
2096
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2147
2097
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2155,9 +2105,7 @@ var StartSpeakerEnrollmentJobCommand = _StartSpeakerEnrollmentJobCommand;
2155
2105
 
2156
2106
 
2157
2107
 
2158
- var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
2159
- ...commonParams
2160
- }).m(function(Command, cs, config, o) {
2108
+ var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2161
2109
  return [
2162
2110
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2163
2111
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2171,9 +2119,7 @@ var TagResourceCommand = _TagResourceCommand;
2171
2119
 
2172
2120
 
2173
2121
 
2174
- var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
2175
- ...commonParams
2176
- }).m(function(Command, cs, config, o) {
2122
+ var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2177
2123
  return [
2178
2124
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2179
2125
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2187,9 +2133,7 @@ var UntagResourceCommand = _UntagResourceCommand;
2187
2133
 
2188
2134
 
2189
2135
 
2190
- var _UpdateDomainCommand = class _UpdateDomainCommand extends import_smithy_client.Command.classBuilder().ep({
2191
- ...commonParams
2192
- }).m(function(Command, cs, config, o) {
2136
+ var _UpdateDomainCommand = class _UpdateDomainCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2193
2137
  return [
2194
2138
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2195
2139
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2203,9 +2147,7 @@ var UpdateDomainCommand = _UpdateDomainCommand;
2203
2147
 
2204
2148
 
2205
2149
 
2206
- var _UpdateWatchlistCommand = class _UpdateWatchlistCommand extends import_smithy_client.Command.classBuilder().ep({
2207
- ...commonParams
2208
- }).m(function(Command, cs, config, o) {
2150
+ var _UpdateWatchlistCommand = class _UpdateWatchlistCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2209
2151
  return [
2210
2152
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2211
2153
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -7,9 +7,7 @@ import { de_AssociateFraudsterCommand, se_AssociateFraudsterCommand } from "../p
7
7
  export { $Command };
8
8
  export class AssociateFraudsterCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_CreateDomainCommand, se_CreateDomainCommand } from "../protocols/Aws
7
7
  export { $Command };
8
8
  export class CreateDomainCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_CreateWatchlistCommand, se_CreateWatchlistCommand } from "../protoco
7
7
  export { $Command };
8
8
  export class CreateWatchlistCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_DeleteDomainCommand, se_DeleteDomainCommand } from "../protocols/Aws
6
6
  export { $Command };
7
7
  export class DeleteDomainCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_DeleteFraudsterCommand, se_DeleteFraudsterCommand } from "../protoco
7
7
  export { $Command };
8
8
  export class DeleteFraudsterCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_DeleteSpeakerCommand, se_DeleteSpeakerCommand } from "../protocols/A
7
7
  export { $Command };
8
8
  export class DeleteSpeakerCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_DeleteWatchlistCommand, se_DeleteWatchlistCommand } from "../protoco
6
6
  export { $Command };
7
7
  export class DeleteWatchlistCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_DescribeDomainCommand, se_DescribeDomainCommand } from "../protocols
7
7
  export { $Command };
8
8
  export class DescribeDomainCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_DescribeFraudsterCommand, se_DescribeFraudsterCommand } from "../pro
7
7
  export { $Command };
8
8
  export class DescribeFraudsterCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_DescribeFraudsterRegistrationJobCommand, se_DescribeFraudsterRegistr
7
7
  export { $Command };
8
8
  export class DescribeFraudsterRegistrationJobCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_DescribeSpeakerCommand, se_DescribeSpeakerCommand } from "../protoco
7
7
  export { $Command };
8
8
  export class DescribeSpeakerCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_DescribeSpeakerEnrollmentJobCommand, se_DescribeSpeakerEnrollmentJob
7
7
  export { $Command };
8
8
  export class DescribeSpeakerEnrollmentJobCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_DescribeWatchlistCommand, se_DescribeWatchlistCommand } from "../pro
7
7
  export { $Command };
8
8
  export class DescribeWatchlistCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_DisassociateFraudsterCommand, se_DisassociateFraudsterCommand } from
7
7
  export { $Command };
8
8
  export class DisassociateFraudsterCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_EvaluateSessionCommand, se_EvaluateSessionCommand } from "../protoco
7
7
  export { $Command };
8
8
  export class EvaluateSessionCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_ListDomainsCommand, se_ListDomainsCommand } from "../protocols/Aws_j
7
7
  export { $Command };
8
8
  export class ListDomainsCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_ListFraudsterRegistrationJobsCommand, se_ListFraudsterRegistrationJo
7
7
  export { $Command };
8
8
  export class ListFraudsterRegistrationJobsCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListFraudstersCommand, se_ListFraudstersCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class ListFraudstersCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_ListSpeakerEnrollmentJobsCommand, se_ListSpeakerEnrollmentJobsComman
7
7
  export { $Command };
8
8
  export class ListSpeakerEnrollmentJobsCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_ListSpeakersCommand, se_ListSpeakersCommand } from "../protocols/Aws
7
7
  export { $Command };
8
8
  export class ListSpeakersCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "..
7
7
  export { $Command };
8
8
  export class ListTagsForResourceCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_ListWatchlistsCommand, se_ListWatchlistsCommand } from "../protocols
7
7
  export { $Command };
8
8
  export class ListWatchlistsCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_OptOutSpeakerCommand, se_OptOutSpeakerCommand } from "../protocols/A
7
7
  export { $Command };
8
8
  export class OptOutSpeakerCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_StartFraudsterRegistrationJobCommand, se_StartFraudsterRegistrationJ
7
7
  export { $Command };
8
8
  export class StartFraudsterRegistrationJobCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_StartSpeakerEnrollmentJobCommand, se_StartSpeakerEnrollmentJobComman
7
7
  export { $Command };
8
8
  export class StartSpeakerEnrollmentJobCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_j
7
7
  export { $Command };
8
8
  export class TagResourceCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/A
7
7
  export { $Command };
8
8
  export class UntagResourceCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_UpdateDomainCommand, se_UpdateDomainCommand } from "../protocols/Aws
7
7
  export { $Command };
8
8
  export class UpdateDomainCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_UpdateWatchlistCommand, se_UpdateWatchlistCommand } from "../protoco
7
7
  export { $Command };
8
8
  export class UpdateWatchlistCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -1,10 +1,14 @@
1
1
  import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
2
- import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
2
+ import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy/util-endpoints";
3
3
  import { ruleSet } from "./ruleset";
4
+ const cache = new EndpointCache({
5
+ size: 50,
6
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
7
+ });
4
8
  export const defaultEndpointResolver = (endpointParams, context = {}) => {
5
- return resolveEndpoint(ruleSet, {
9
+ return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {
6
10
  endpointParams: endpointParams,
7
11
  logger: context.logger,
8
- });
12
+ }));
9
13
  };
10
14
  customEndpointFunctions.aws = awsEndpointFunctions;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-voice-id",
3
3
  "description": "AWS SDK for JavaScript Voice Id Client for Node.js, Browser and React Native",
4
- "version": "3.649.0",
4
+ "version": "3.650.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-voice-id",
@@ -20,10 +20,10 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.649.0",
24
- "@aws-sdk/client-sts": "3.649.0",
23
+ "@aws-sdk/client-sso-oidc": "3.650.0",
24
+ "@aws-sdk/client-sts": "3.650.0",
25
25
  "@aws-sdk/core": "3.649.0",
26
- "@aws-sdk/credential-provider-node": "3.649.0",
26
+ "@aws-sdk/credential-provider-node": "3.650.0",
27
27
  "@aws-sdk/middleware-host-header": "3.649.0",
28
28
  "@aws-sdk/middleware-logger": "3.649.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.649.0",
@@ -1,11 +0,0 @@
1
- // This file is read by tools that parse documentation comments conforming to the TSDoc standard.
2
- // It should be published with your NPM package. It should not be tracked by Git.
3
- {
4
- "tsdocVersion": "0.12",
5
- "toolPackages": [
6
- {
7
- "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.34.4"
9
- }
10
- ]
11
- }