@aws-sdk/client-connectcases 3.1077.0 → 3.1079.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 (137) hide show
  1. package/dist-cjs/index.js +51 -433
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/BatchGetCaseRuleCommand.js +2 -14
  4. package/dist-es/commands/BatchGetFieldCommand.js +2 -14
  5. package/dist-es/commands/BatchPutFieldOptionsCommand.js +2 -14
  6. package/dist-es/commands/CreateCaseCommand.js +2 -14
  7. package/dist-es/commands/CreateCaseRuleCommand.js +2 -14
  8. package/dist-es/commands/CreateDomainCommand.js +2 -14
  9. package/dist-es/commands/CreateFieldCommand.js +2 -14
  10. package/dist-es/commands/CreateLayoutCommand.js +2 -14
  11. package/dist-es/commands/CreateRelatedItemCommand.js +2 -14
  12. package/dist-es/commands/CreateTemplateCommand.js +2 -14
  13. package/dist-es/commands/DeleteCaseCommand.js +2 -14
  14. package/dist-es/commands/DeleteCaseRuleCommand.js +2 -14
  15. package/dist-es/commands/DeleteDomainCommand.js +2 -14
  16. package/dist-es/commands/DeleteFieldCommand.js +2 -14
  17. package/dist-es/commands/DeleteLayoutCommand.js +2 -14
  18. package/dist-es/commands/DeleteRelatedItemCommand.js +2 -14
  19. package/dist-es/commands/DeleteTemplateCommand.js +2 -14
  20. package/dist-es/commands/GetCaseAuditEventsCommand.js +2 -14
  21. package/dist-es/commands/GetCaseCommand.js +2 -14
  22. package/dist-es/commands/GetCaseEventConfigurationCommand.js +2 -14
  23. package/dist-es/commands/GetDomainCommand.js +2 -14
  24. package/dist-es/commands/GetLayoutCommand.js +2 -14
  25. package/dist-es/commands/GetTemplateCommand.js +2 -14
  26. package/dist-es/commands/ListCaseRulesCommand.js +2 -14
  27. package/dist-es/commands/ListCasesForContactCommand.js +2 -14
  28. package/dist-es/commands/ListDomainsCommand.js +2 -14
  29. package/dist-es/commands/ListFieldOptionsCommand.js +2 -14
  30. package/dist-es/commands/ListFieldsCommand.js +2 -14
  31. package/dist-es/commands/ListLayoutsCommand.js +2 -14
  32. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  33. package/dist-es/commands/ListTemplatesCommand.js +2 -14
  34. package/dist-es/commands/PutCaseEventConfigurationCommand.js +2 -14
  35. package/dist-es/commands/SearchAllRelatedItemsCommand.js +2 -14
  36. package/dist-es/commands/SearchCasesCommand.js +2 -14
  37. package/dist-es/commands/SearchRelatedItemsCommand.js +2 -14
  38. package/dist-es/commands/TagResourceCommand.js +2 -14
  39. package/dist-es/commands/UntagResourceCommand.js +2 -14
  40. package/dist-es/commands/UpdateCaseCommand.js +2 -14
  41. package/dist-es/commands/UpdateCaseRuleCommand.js +2 -14
  42. package/dist-es/commands/UpdateFieldCommand.js +2 -14
  43. package/dist-es/commands/UpdateLayoutCommand.js +2 -14
  44. package/dist-es/commands/UpdateRelatedItemCommand.js +2 -14
  45. package/dist-es/commands/UpdateTemplateCommand.js +2 -14
  46. package/dist-es/index.js +1 -0
  47. package/dist-types/commandBuilder.d.ts +18 -0
  48. package/dist-types/commands/BatchGetCaseRuleCommand.d.ts +3 -8
  49. package/dist-types/commands/BatchGetFieldCommand.d.ts +3 -8
  50. package/dist-types/commands/BatchPutFieldOptionsCommand.d.ts +3 -8
  51. package/dist-types/commands/CreateCaseCommand.d.ts +3 -8
  52. package/dist-types/commands/CreateCaseRuleCommand.d.ts +3 -8
  53. package/dist-types/commands/CreateDomainCommand.d.ts +3 -8
  54. package/dist-types/commands/CreateFieldCommand.d.ts +3 -8
  55. package/dist-types/commands/CreateLayoutCommand.d.ts +3 -8
  56. package/dist-types/commands/CreateRelatedItemCommand.d.ts +3 -8
  57. package/dist-types/commands/CreateTemplateCommand.d.ts +3 -8
  58. package/dist-types/commands/DeleteCaseCommand.d.ts +3 -8
  59. package/dist-types/commands/DeleteCaseRuleCommand.d.ts +3 -8
  60. package/dist-types/commands/DeleteDomainCommand.d.ts +3 -8
  61. package/dist-types/commands/DeleteFieldCommand.d.ts +3 -8
  62. package/dist-types/commands/DeleteLayoutCommand.d.ts +3 -8
  63. package/dist-types/commands/DeleteRelatedItemCommand.d.ts +3 -8
  64. package/dist-types/commands/DeleteTemplateCommand.d.ts +3 -8
  65. package/dist-types/commands/GetCaseAuditEventsCommand.d.ts +3 -8
  66. package/dist-types/commands/GetCaseCommand.d.ts +3 -8
  67. package/dist-types/commands/GetCaseEventConfigurationCommand.d.ts +3 -8
  68. package/dist-types/commands/GetDomainCommand.d.ts +3 -8
  69. package/dist-types/commands/GetLayoutCommand.d.ts +3 -8
  70. package/dist-types/commands/GetTemplateCommand.d.ts +3 -8
  71. package/dist-types/commands/ListCaseRulesCommand.d.ts +3 -8
  72. package/dist-types/commands/ListCasesForContactCommand.d.ts +3 -8
  73. package/dist-types/commands/ListDomainsCommand.d.ts +3 -8
  74. package/dist-types/commands/ListFieldOptionsCommand.d.ts +3 -8
  75. package/dist-types/commands/ListFieldsCommand.d.ts +3 -8
  76. package/dist-types/commands/ListLayoutsCommand.d.ts +3 -8
  77. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  78. package/dist-types/commands/ListTemplatesCommand.d.ts +3 -8
  79. package/dist-types/commands/PutCaseEventConfigurationCommand.d.ts +3 -8
  80. package/dist-types/commands/SearchAllRelatedItemsCommand.d.ts +3 -8
  81. package/dist-types/commands/SearchCasesCommand.d.ts +3 -8
  82. package/dist-types/commands/SearchRelatedItemsCommand.d.ts +3 -8
  83. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  84. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  85. package/dist-types/commands/UpdateCaseCommand.d.ts +3 -8
  86. package/dist-types/commands/UpdateCaseRuleCommand.d.ts +3 -8
  87. package/dist-types/commands/UpdateFieldCommand.d.ts +3 -8
  88. package/dist-types/commands/UpdateLayoutCommand.d.ts +3 -8
  89. package/dist-types/commands/UpdateRelatedItemCommand.d.ts +3 -8
  90. package/dist-types/commands/UpdateTemplateCommand.d.ts +3 -8
  91. package/dist-types/index.d.ts +1 -0
  92. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  93. package/dist-types/ts3.4/commands/BatchGetCaseRuleCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/BatchGetFieldCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/BatchPutFieldOptionsCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/CreateCaseCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/CreateCaseRuleCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/CreateDomainCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/commands/CreateFieldCommand.d.ts +7 -16
  100. package/dist-types/ts3.4/commands/CreateLayoutCommand.d.ts +7 -16
  101. package/dist-types/ts3.4/commands/CreateRelatedItemCommand.d.ts +7 -16
  102. package/dist-types/ts3.4/commands/CreateTemplateCommand.d.ts +7 -16
  103. package/dist-types/ts3.4/commands/DeleteCaseCommand.d.ts +7 -16
  104. package/dist-types/ts3.4/commands/DeleteCaseRuleCommand.d.ts +7 -16
  105. package/dist-types/ts3.4/commands/DeleteDomainCommand.d.ts +7 -16
  106. package/dist-types/ts3.4/commands/DeleteFieldCommand.d.ts +7 -16
  107. package/dist-types/ts3.4/commands/DeleteLayoutCommand.d.ts +7 -16
  108. package/dist-types/ts3.4/commands/DeleteRelatedItemCommand.d.ts +7 -16
  109. package/dist-types/ts3.4/commands/DeleteTemplateCommand.d.ts +7 -16
  110. package/dist-types/ts3.4/commands/GetCaseAuditEventsCommand.d.ts +7 -16
  111. package/dist-types/ts3.4/commands/GetCaseCommand.d.ts +7 -16
  112. package/dist-types/ts3.4/commands/GetCaseEventConfigurationCommand.d.ts +7 -16
  113. package/dist-types/ts3.4/commands/GetDomainCommand.d.ts +7 -16
  114. package/dist-types/ts3.4/commands/GetLayoutCommand.d.ts +7 -16
  115. package/dist-types/ts3.4/commands/GetTemplateCommand.d.ts +7 -16
  116. package/dist-types/ts3.4/commands/ListCaseRulesCommand.d.ts +7 -16
  117. package/dist-types/ts3.4/commands/ListCasesForContactCommand.d.ts +7 -16
  118. package/dist-types/ts3.4/commands/ListDomainsCommand.d.ts +7 -16
  119. package/dist-types/ts3.4/commands/ListFieldOptionsCommand.d.ts +7 -16
  120. package/dist-types/ts3.4/commands/ListFieldsCommand.d.ts +7 -16
  121. package/dist-types/ts3.4/commands/ListLayoutsCommand.d.ts +7 -16
  122. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  123. package/dist-types/ts3.4/commands/ListTemplatesCommand.d.ts +7 -16
  124. package/dist-types/ts3.4/commands/PutCaseEventConfigurationCommand.d.ts +7 -16
  125. package/dist-types/ts3.4/commands/SearchAllRelatedItemsCommand.d.ts +7 -16
  126. package/dist-types/ts3.4/commands/SearchCasesCommand.d.ts +7 -16
  127. package/dist-types/ts3.4/commands/SearchRelatedItemsCommand.d.ts +7 -16
  128. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  129. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  130. package/dist-types/ts3.4/commands/UpdateCaseCommand.d.ts +7 -16
  131. package/dist-types/ts3.4/commands/UpdateCaseRuleCommand.d.ts +7 -16
  132. package/dist-types/ts3.4/commands/UpdateFieldCommand.d.ts +7 -16
  133. package/dist-types/ts3.4/commands/UpdateLayoutCommand.d.ts +7 -16
  134. package/dist-types/ts3.4/commands/UpdateRelatedItemCommand.d.ts +7 -16
  135. package/dist-types/ts3.4/commands/UpdateTemplateCommand.d.ts +7 -16
  136. package/dist-types/ts3.4/index.d.ts +1 -0
  137. package/package.json +8 -8
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -68,7 +69,7 @@ const commonParams = {
68
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
69
70
  };
70
71
 
71
- var version = "3.1076.0";
72
+ var version = "3.1078.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -1913,520 +1914,137 @@ class ConnectCasesClient extends Client {
1913
1914
  }
1914
1915
  }
1915
1916
 
1916
- class BatchGetCaseRuleCommand extends Command
1917
- .classBuilder()
1918
- .ep(commonParams)
1919
- .m(function (Command, cs, config, o) {
1920
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1921
- })
1922
- .s("AmazonConnectCases", "BatchGetCaseRule", {})
1923
- .n("ConnectCasesClient", "BatchGetCaseRuleCommand")
1924
- .sc(BatchGetCaseRule$)
1925
- .build() {
1917
+ const command = makeBuilder(commonParams, "AmazonConnectCases", "ConnectCasesClient", getEndpointPlugin);
1918
+ const _ep0 = {};
1919
+ const _mw0 = (Command, cs, config, o) => [];
1920
+
1921
+ class BatchGetCaseRuleCommand extends command(_ep0, _mw0, "BatchGetCaseRule", BatchGetCaseRule$) {
1926
1922
  }
1927
1923
 
1928
- class BatchGetFieldCommand extends Command
1929
- .classBuilder()
1930
- .ep(commonParams)
1931
- .m(function (Command, cs, config, o) {
1932
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1933
- })
1934
- .s("AmazonConnectCases", "BatchGetField", {})
1935
- .n("ConnectCasesClient", "BatchGetFieldCommand")
1936
- .sc(BatchGetField$)
1937
- .build() {
1924
+ class BatchGetFieldCommand extends command(_ep0, _mw0, "BatchGetField", BatchGetField$) {
1938
1925
  }
1939
1926
 
1940
- class BatchPutFieldOptionsCommand extends Command
1941
- .classBuilder()
1942
- .ep(commonParams)
1943
- .m(function (Command, cs, config, o) {
1944
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1945
- })
1946
- .s("AmazonConnectCases", "BatchPutFieldOptions", {})
1947
- .n("ConnectCasesClient", "BatchPutFieldOptionsCommand")
1948
- .sc(BatchPutFieldOptions$)
1949
- .build() {
1927
+ class BatchPutFieldOptionsCommand extends command(_ep0, _mw0, "BatchPutFieldOptions", BatchPutFieldOptions$) {
1950
1928
  }
1951
1929
 
1952
- class CreateCaseCommand extends Command
1953
- .classBuilder()
1954
- .ep(commonParams)
1955
- .m(function (Command, cs, config, o) {
1956
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1957
- })
1958
- .s("AmazonConnectCases", "CreateCase", {})
1959
- .n("ConnectCasesClient", "CreateCaseCommand")
1960
- .sc(CreateCase$)
1961
- .build() {
1930
+ class CreateCaseCommand extends command(_ep0, _mw0, "CreateCase", CreateCase$) {
1962
1931
  }
1963
1932
 
1964
- class CreateCaseRuleCommand extends Command
1965
- .classBuilder()
1966
- .ep(commonParams)
1967
- .m(function (Command, cs, config, o) {
1968
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1969
- })
1970
- .s("AmazonConnectCases", "CreateCaseRule", {})
1971
- .n("ConnectCasesClient", "CreateCaseRuleCommand")
1972
- .sc(CreateCaseRule$)
1973
- .build() {
1933
+ class CreateCaseRuleCommand extends command(_ep0, _mw0, "CreateCaseRule", CreateCaseRule$) {
1974
1934
  }
1975
1935
 
1976
- class CreateDomainCommand extends Command
1977
- .classBuilder()
1978
- .ep(commonParams)
1979
- .m(function (Command, cs, config, o) {
1980
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1981
- })
1982
- .s("AmazonConnectCases", "CreateDomain", {})
1983
- .n("ConnectCasesClient", "CreateDomainCommand")
1984
- .sc(CreateDomain$)
1985
- .build() {
1936
+ class CreateDomainCommand extends command(_ep0, _mw0, "CreateDomain", CreateDomain$) {
1986
1937
  }
1987
1938
 
1988
- class CreateFieldCommand extends Command
1989
- .classBuilder()
1990
- .ep(commonParams)
1991
- .m(function (Command, cs, config, o) {
1992
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1993
- })
1994
- .s("AmazonConnectCases", "CreateField", {})
1995
- .n("ConnectCasesClient", "CreateFieldCommand")
1996
- .sc(CreateField$)
1997
- .build() {
1939
+ class CreateFieldCommand extends command(_ep0, _mw0, "CreateField", CreateField$) {
1998
1940
  }
1999
1941
 
2000
- class CreateLayoutCommand extends Command
2001
- .classBuilder()
2002
- .ep(commonParams)
2003
- .m(function (Command, cs, config, o) {
2004
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2005
- })
2006
- .s("AmazonConnectCases", "CreateLayout", {})
2007
- .n("ConnectCasesClient", "CreateLayoutCommand")
2008
- .sc(CreateLayout$)
2009
- .build() {
1942
+ class CreateLayoutCommand extends command(_ep0, _mw0, "CreateLayout", CreateLayout$) {
2010
1943
  }
2011
1944
 
2012
- class CreateRelatedItemCommand extends Command
2013
- .classBuilder()
2014
- .ep(commonParams)
2015
- .m(function (Command, cs, config, o) {
2016
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2017
- })
2018
- .s("AmazonConnectCases", "CreateRelatedItem", {})
2019
- .n("ConnectCasesClient", "CreateRelatedItemCommand")
2020
- .sc(CreateRelatedItem$)
2021
- .build() {
1945
+ class CreateRelatedItemCommand extends command(_ep0, _mw0, "CreateRelatedItem", CreateRelatedItem$) {
2022
1946
  }
2023
1947
 
2024
- class CreateTemplateCommand extends Command
2025
- .classBuilder()
2026
- .ep(commonParams)
2027
- .m(function (Command, cs, config, o) {
2028
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2029
- })
2030
- .s("AmazonConnectCases", "CreateTemplate", {})
2031
- .n("ConnectCasesClient", "CreateTemplateCommand")
2032
- .sc(CreateTemplate$)
2033
- .build() {
1948
+ class CreateTemplateCommand extends command(_ep0, _mw0, "CreateTemplate", CreateTemplate$) {
2034
1949
  }
2035
1950
 
2036
- class DeleteCaseCommand extends Command
2037
- .classBuilder()
2038
- .ep(commonParams)
2039
- .m(function (Command, cs, config, o) {
2040
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2041
- })
2042
- .s("AmazonConnectCases", "DeleteCase", {})
2043
- .n("ConnectCasesClient", "DeleteCaseCommand")
2044
- .sc(DeleteCase$)
2045
- .build() {
1951
+ class DeleteCaseCommand extends command(_ep0, _mw0, "DeleteCase", DeleteCase$) {
2046
1952
  }
2047
1953
 
2048
- class DeleteCaseRuleCommand extends Command
2049
- .classBuilder()
2050
- .ep(commonParams)
2051
- .m(function (Command, cs, config, o) {
2052
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2053
- })
2054
- .s("AmazonConnectCases", "DeleteCaseRule", {})
2055
- .n("ConnectCasesClient", "DeleteCaseRuleCommand")
2056
- .sc(DeleteCaseRule$)
2057
- .build() {
1954
+ class DeleteCaseRuleCommand extends command(_ep0, _mw0, "DeleteCaseRule", DeleteCaseRule$) {
2058
1955
  }
2059
1956
 
2060
- class DeleteDomainCommand extends Command
2061
- .classBuilder()
2062
- .ep(commonParams)
2063
- .m(function (Command, cs, config, o) {
2064
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2065
- })
2066
- .s("AmazonConnectCases", "DeleteDomain", {})
2067
- .n("ConnectCasesClient", "DeleteDomainCommand")
2068
- .sc(DeleteDomain$)
2069
- .build() {
1957
+ class DeleteDomainCommand extends command(_ep0, _mw0, "DeleteDomain", DeleteDomain$) {
2070
1958
  }
2071
1959
 
2072
- class DeleteFieldCommand extends Command
2073
- .classBuilder()
2074
- .ep(commonParams)
2075
- .m(function (Command, cs, config, o) {
2076
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2077
- })
2078
- .s("AmazonConnectCases", "DeleteField", {})
2079
- .n("ConnectCasesClient", "DeleteFieldCommand")
2080
- .sc(DeleteField$)
2081
- .build() {
1960
+ class DeleteFieldCommand extends command(_ep0, _mw0, "DeleteField", DeleteField$) {
2082
1961
  }
2083
1962
 
2084
- class DeleteLayoutCommand extends Command
2085
- .classBuilder()
2086
- .ep(commonParams)
2087
- .m(function (Command, cs, config, o) {
2088
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2089
- })
2090
- .s("AmazonConnectCases", "DeleteLayout", {})
2091
- .n("ConnectCasesClient", "DeleteLayoutCommand")
2092
- .sc(DeleteLayout$)
2093
- .build() {
1963
+ class DeleteLayoutCommand extends command(_ep0, _mw0, "DeleteLayout", DeleteLayout$) {
2094
1964
  }
2095
1965
 
2096
- class DeleteRelatedItemCommand extends Command
2097
- .classBuilder()
2098
- .ep(commonParams)
2099
- .m(function (Command, cs, config, o) {
2100
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2101
- })
2102
- .s("AmazonConnectCases", "DeleteRelatedItem", {})
2103
- .n("ConnectCasesClient", "DeleteRelatedItemCommand")
2104
- .sc(DeleteRelatedItem$)
2105
- .build() {
1966
+ class DeleteRelatedItemCommand extends command(_ep0, _mw0, "DeleteRelatedItem", DeleteRelatedItem$) {
2106
1967
  }
2107
1968
 
2108
- class DeleteTemplateCommand extends Command
2109
- .classBuilder()
2110
- .ep(commonParams)
2111
- .m(function (Command, cs, config, o) {
2112
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2113
- })
2114
- .s("AmazonConnectCases", "DeleteTemplate", {})
2115
- .n("ConnectCasesClient", "DeleteTemplateCommand")
2116
- .sc(DeleteTemplate$)
2117
- .build() {
1969
+ class DeleteTemplateCommand extends command(_ep0, _mw0, "DeleteTemplate", DeleteTemplate$) {
2118
1970
  }
2119
1971
 
2120
- class GetCaseAuditEventsCommand extends Command
2121
- .classBuilder()
2122
- .ep(commonParams)
2123
- .m(function (Command, cs, config, o) {
2124
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2125
- })
2126
- .s("AmazonConnectCases", "GetCaseAuditEvents", {})
2127
- .n("ConnectCasesClient", "GetCaseAuditEventsCommand")
2128
- .sc(GetCaseAuditEvents$)
2129
- .build() {
1972
+ class GetCaseAuditEventsCommand extends command(_ep0, _mw0, "GetCaseAuditEvents", GetCaseAuditEvents$) {
2130
1973
  }
2131
1974
 
2132
- class GetCaseCommand extends Command
2133
- .classBuilder()
2134
- .ep(commonParams)
2135
- .m(function (Command, cs, config, o) {
2136
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2137
- })
2138
- .s("AmazonConnectCases", "GetCase", {})
2139
- .n("ConnectCasesClient", "GetCaseCommand")
2140
- .sc(GetCase$)
2141
- .build() {
1975
+ class GetCaseCommand extends command(_ep0, _mw0, "GetCase", GetCase$) {
2142
1976
  }
2143
1977
 
2144
- class GetCaseEventConfigurationCommand extends Command
2145
- .classBuilder()
2146
- .ep(commonParams)
2147
- .m(function (Command, cs, config, o) {
2148
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2149
- })
2150
- .s("AmazonConnectCases", "GetCaseEventConfiguration", {})
2151
- .n("ConnectCasesClient", "GetCaseEventConfigurationCommand")
2152
- .sc(GetCaseEventConfiguration$)
2153
- .build() {
1978
+ class GetCaseEventConfigurationCommand extends command(_ep0, _mw0, "GetCaseEventConfiguration", GetCaseEventConfiguration$) {
2154
1979
  }
2155
1980
 
2156
- class GetDomainCommand extends Command
2157
- .classBuilder()
2158
- .ep(commonParams)
2159
- .m(function (Command, cs, config, o) {
2160
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2161
- })
2162
- .s("AmazonConnectCases", "GetDomain", {})
2163
- .n("ConnectCasesClient", "GetDomainCommand")
2164
- .sc(GetDomain$)
2165
- .build() {
1981
+ class GetDomainCommand extends command(_ep0, _mw0, "GetDomain", GetDomain$) {
2166
1982
  }
2167
1983
 
2168
- class GetLayoutCommand extends Command
2169
- .classBuilder()
2170
- .ep(commonParams)
2171
- .m(function (Command, cs, config, o) {
2172
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2173
- })
2174
- .s("AmazonConnectCases", "GetLayout", {})
2175
- .n("ConnectCasesClient", "GetLayoutCommand")
2176
- .sc(GetLayout$)
2177
- .build() {
1984
+ class GetLayoutCommand extends command(_ep0, _mw0, "GetLayout", GetLayout$) {
2178
1985
  }
2179
1986
 
2180
- class GetTemplateCommand extends Command
2181
- .classBuilder()
2182
- .ep(commonParams)
2183
- .m(function (Command, cs, config, o) {
2184
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2185
- })
2186
- .s("AmazonConnectCases", "GetTemplate", {})
2187
- .n("ConnectCasesClient", "GetTemplateCommand")
2188
- .sc(GetTemplate$)
2189
- .build() {
1987
+ class GetTemplateCommand extends command(_ep0, _mw0, "GetTemplate", GetTemplate$) {
2190
1988
  }
2191
1989
 
2192
- class ListCaseRulesCommand extends Command
2193
- .classBuilder()
2194
- .ep(commonParams)
2195
- .m(function (Command, cs, config, o) {
2196
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2197
- })
2198
- .s("AmazonConnectCases", "ListCaseRules", {})
2199
- .n("ConnectCasesClient", "ListCaseRulesCommand")
2200
- .sc(ListCaseRules$)
2201
- .build() {
1990
+ class ListCaseRulesCommand extends command(_ep0, _mw0, "ListCaseRules", ListCaseRules$) {
2202
1991
  }
2203
1992
 
2204
- class ListCasesForContactCommand extends Command
2205
- .classBuilder()
2206
- .ep(commonParams)
2207
- .m(function (Command, cs, config, o) {
2208
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2209
- })
2210
- .s("AmazonConnectCases", "ListCasesForContact", {})
2211
- .n("ConnectCasesClient", "ListCasesForContactCommand")
2212
- .sc(ListCasesForContact$)
2213
- .build() {
1993
+ class ListCasesForContactCommand extends command(_ep0, _mw0, "ListCasesForContact", ListCasesForContact$) {
2214
1994
  }
2215
1995
 
2216
- class ListDomainsCommand extends Command
2217
- .classBuilder()
2218
- .ep(commonParams)
2219
- .m(function (Command, cs, config, o) {
2220
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2221
- })
2222
- .s("AmazonConnectCases", "ListDomains", {})
2223
- .n("ConnectCasesClient", "ListDomainsCommand")
2224
- .sc(ListDomains$)
2225
- .build() {
1996
+ class ListDomainsCommand extends command(_ep0, _mw0, "ListDomains", ListDomains$) {
2226
1997
  }
2227
1998
 
2228
- class ListFieldOptionsCommand extends Command
2229
- .classBuilder()
2230
- .ep(commonParams)
2231
- .m(function (Command, cs, config, o) {
2232
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2233
- })
2234
- .s("AmazonConnectCases", "ListFieldOptions", {})
2235
- .n("ConnectCasesClient", "ListFieldOptionsCommand")
2236
- .sc(ListFieldOptions$)
2237
- .build() {
1999
+ class ListFieldOptionsCommand extends command(_ep0, _mw0, "ListFieldOptions", ListFieldOptions$) {
2238
2000
  }
2239
2001
 
2240
- class ListFieldsCommand extends Command
2241
- .classBuilder()
2242
- .ep(commonParams)
2243
- .m(function (Command, cs, config, o) {
2244
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2245
- })
2246
- .s("AmazonConnectCases", "ListFields", {})
2247
- .n("ConnectCasesClient", "ListFieldsCommand")
2248
- .sc(ListFields$)
2249
- .build() {
2002
+ class ListFieldsCommand extends command(_ep0, _mw0, "ListFields", ListFields$) {
2250
2003
  }
2251
2004
 
2252
- class ListLayoutsCommand extends Command
2253
- .classBuilder()
2254
- .ep(commonParams)
2255
- .m(function (Command, cs, config, o) {
2256
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2257
- })
2258
- .s("AmazonConnectCases", "ListLayouts", {})
2259
- .n("ConnectCasesClient", "ListLayoutsCommand")
2260
- .sc(ListLayouts$)
2261
- .build() {
2005
+ class ListLayoutsCommand extends command(_ep0, _mw0, "ListLayouts", ListLayouts$) {
2262
2006
  }
2263
2007
 
2264
- class ListTagsForResourceCommand extends Command
2265
- .classBuilder()
2266
- .ep(commonParams)
2267
- .m(function (Command, cs, config, o) {
2268
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2269
- })
2270
- .s("AmazonConnectCases", "ListTagsForResource", {})
2271
- .n("ConnectCasesClient", "ListTagsForResourceCommand")
2272
- .sc(ListTagsForResource$)
2273
- .build() {
2008
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
2274
2009
  }
2275
2010
 
2276
- class ListTemplatesCommand extends Command
2277
- .classBuilder()
2278
- .ep(commonParams)
2279
- .m(function (Command, cs, config, o) {
2280
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2281
- })
2282
- .s("AmazonConnectCases", "ListTemplates", {})
2283
- .n("ConnectCasesClient", "ListTemplatesCommand")
2284
- .sc(ListTemplates$)
2285
- .build() {
2011
+ class ListTemplatesCommand extends command(_ep0, _mw0, "ListTemplates", ListTemplates$) {
2286
2012
  }
2287
2013
 
2288
- class PutCaseEventConfigurationCommand extends Command
2289
- .classBuilder()
2290
- .ep(commonParams)
2291
- .m(function (Command, cs, config, o) {
2292
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2293
- })
2294
- .s("AmazonConnectCases", "PutCaseEventConfiguration", {})
2295
- .n("ConnectCasesClient", "PutCaseEventConfigurationCommand")
2296
- .sc(PutCaseEventConfiguration$)
2297
- .build() {
2014
+ class PutCaseEventConfigurationCommand extends command(_ep0, _mw0, "PutCaseEventConfiguration", PutCaseEventConfiguration$) {
2298
2015
  }
2299
2016
 
2300
- class SearchAllRelatedItemsCommand extends Command
2301
- .classBuilder()
2302
- .ep(commonParams)
2303
- .m(function (Command, cs, config, o) {
2304
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2305
- })
2306
- .s("AmazonConnectCases", "SearchAllRelatedItems", {})
2307
- .n("ConnectCasesClient", "SearchAllRelatedItemsCommand")
2308
- .sc(SearchAllRelatedItems$)
2309
- .build() {
2017
+ class SearchAllRelatedItemsCommand extends command(_ep0, _mw0, "SearchAllRelatedItems", SearchAllRelatedItems$) {
2310
2018
  }
2311
2019
 
2312
- class SearchCasesCommand extends Command
2313
- .classBuilder()
2314
- .ep(commonParams)
2315
- .m(function (Command, cs, config, o) {
2316
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2317
- })
2318
- .s("AmazonConnectCases", "SearchCases", {})
2319
- .n("ConnectCasesClient", "SearchCasesCommand")
2320
- .sc(SearchCases$)
2321
- .build() {
2020
+ class SearchCasesCommand extends command(_ep0, _mw0, "SearchCases", SearchCases$) {
2322
2021
  }
2323
2022
 
2324
- class SearchRelatedItemsCommand extends Command
2325
- .classBuilder()
2326
- .ep(commonParams)
2327
- .m(function (Command, cs, config, o) {
2328
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2329
- })
2330
- .s("AmazonConnectCases", "SearchRelatedItems", {})
2331
- .n("ConnectCasesClient", "SearchRelatedItemsCommand")
2332
- .sc(SearchRelatedItems$)
2333
- .build() {
2023
+ class SearchRelatedItemsCommand extends command(_ep0, _mw0, "SearchRelatedItems", SearchRelatedItems$) {
2334
2024
  }
2335
2025
 
2336
- class TagResourceCommand extends Command
2337
- .classBuilder()
2338
- .ep(commonParams)
2339
- .m(function (Command, cs, config, o) {
2340
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2341
- })
2342
- .s("AmazonConnectCases", "TagResource", {})
2343
- .n("ConnectCasesClient", "TagResourceCommand")
2344
- .sc(TagResource$)
2345
- .build() {
2026
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
2346
2027
  }
2347
2028
 
2348
- class UntagResourceCommand extends Command
2349
- .classBuilder()
2350
- .ep(commonParams)
2351
- .m(function (Command, cs, config, o) {
2352
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2353
- })
2354
- .s("AmazonConnectCases", "UntagResource", {})
2355
- .n("ConnectCasesClient", "UntagResourceCommand")
2356
- .sc(UntagResource$)
2357
- .build() {
2029
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
2358
2030
  }
2359
2031
 
2360
- class UpdateCaseCommand extends Command
2361
- .classBuilder()
2362
- .ep(commonParams)
2363
- .m(function (Command, cs, config, o) {
2364
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2365
- })
2366
- .s("AmazonConnectCases", "UpdateCase", {})
2367
- .n("ConnectCasesClient", "UpdateCaseCommand")
2368
- .sc(UpdateCase$)
2369
- .build() {
2032
+ class UpdateCaseCommand extends command(_ep0, _mw0, "UpdateCase", UpdateCase$) {
2370
2033
  }
2371
2034
 
2372
- class UpdateCaseRuleCommand extends Command
2373
- .classBuilder()
2374
- .ep(commonParams)
2375
- .m(function (Command, cs, config, o) {
2376
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2377
- })
2378
- .s("AmazonConnectCases", "UpdateCaseRule", {})
2379
- .n("ConnectCasesClient", "UpdateCaseRuleCommand")
2380
- .sc(UpdateCaseRule$)
2381
- .build() {
2035
+ class UpdateCaseRuleCommand extends command(_ep0, _mw0, "UpdateCaseRule", UpdateCaseRule$) {
2382
2036
  }
2383
2037
 
2384
- class UpdateFieldCommand extends Command
2385
- .classBuilder()
2386
- .ep(commonParams)
2387
- .m(function (Command, cs, config, o) {
2388
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2389
- })
2390
- .s("AmazonConnectCases", "UpdateField", {})
2391
- .n("ConnectCasesClient", "UpdateFieldCommand")
2392
- .sc(UpdateField$)
2393
- .build() {
2038
+ class UpdateFieldCommand extends command(_ep0, _mw0, "UpdateField", UpdateField$) {
2394
2039
  }
2395
2040
 
2396
- class UpdateLayoutCommand extends Command
2397
- .classBuilder()
2398
- .ep(commonParams)
2399
- .m(function (Command, cs, config, o) {
2400
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2401
- })
2402
- .s("AmazonConnectCases", "UpdateLayout", {})
2403
- .n("ConnectCasesClient", "UpdateLayoutCommand")
2404
- .sc(UpdateLayout$)
2405
- .build() {
2041
+ class UpdateLayoutCommand extends command(_ep0, _mw0, "UpdateLayout", UpdateLayout$) {
2406
2042
  }
2407
2043
 
2408
- class UpdateRelatedItemCommand extends Command
2409
- .classBuilder()
2410
- .ep(commonParams)
2411
- .m(function (Command, cs, config, o) {
2412
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2413
- })
2414
- .s("AmazonConnectCases", "UpdateRelatedItem", {})
2415
- .n("ConnectCasesClient", "UpdateRelatedItemCommand")
2416
- .sc(UpdateRelatedItem$)
2417
- .build() {
2044
+ class UpdateRelatedItemCommand extends command(_ep0, _mw0, "UpdateRelatedItem", UpdateRelatedItem$) {
2418
2045
  }
2419
2046
 
2420
- class UpdateTemplateCommand extends Command
2421
- .classBuilder()
2422
- .ep(commonParams)
2423
- .m(function (Command, cs, config, o) {
2424
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2425
- })
2426
- .s("AmazonConnectCases", "UpdateTemplate", {})
2427
- .n("ConnectCasesClient", "UpdateTemplateCommand")
2428
- .sc(UpdateTemplate$)
2429
- .build() {
2047
+ class UpdateTemplateCommand extends command(_ep0, _mw0, "UpdateTemplate", UpdateTemplate$) {
2430
2048
  }
2431
2049
 
2432
2050
  const paginateGetCaseAuditEvents = createPaginator(ConnectCasesClient, GetCaseAuditEventsCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,6 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "AmazonConnectCases", "ConnectCasesClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -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 { BatchGetCaseRule$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class BatchGetCaseRuleCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonConnectCases", "BatchGetCaseRule", {})
13
- .n("ConnectCasesClient", "BatchGetCaseRuleCommand")
14
- .sc(BatchGetCaseRule$)
15
- .build() {
3
+ export class BatchGetCaseRuleCommand extends command(_ep0, _mw0, "BatchGetCaseRule", BatchGetCaseRule$) {
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 { BatchGetField$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class BatchGetFieldCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonConnectCases", "BatchGetField", {})
13
- .n("ConnectCasesClient", "BatchGetFieldCommand")
14
- .sc(BatchGetField$)
15
- .build() {
3
+ export class BatchGetFieldCommand extends command(_ep0, _mw0, "BatchGetField", BatchGetField$) {
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 { BatchPutFieldOptions$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class BatchPutFieldOptionsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonConnectCases", "BatchPutFieldOptions", {})
13
- .n("ConnectCasesClient", "BatchPutFieldOptionsCommand")
14
- .sc(BatchPutFieldOptions$)
15
- .build() {
3
+ export class BatchPutFieldOptionsCommand extends command(_ep0, _mw0, "BatchPutFieldOptions", BatchPutFieldOptions$) {
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 { CreateCase$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateCaseCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonConnectCases", "CreateCase", {})
13
- .n("ConnectCasesClient", "CreateCaseCommand")
14
- .sc(CreateCase$)
15
- .build() {
3
+ export class CreateCaseCommand extends command(_ep0, _mw0, "CreateCase", CreateCase$) {
16
4
  }