@aws-sdk/client-sagemaker-a2i-runtime 3.31.0 → 3.35.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 (168) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/{dist/cjs → dist-cjs}/SageMakerA2IRuntime.js +1 -1
  3. package/dist-cjs/SageMakerA2IRuntime.js.map +1 -0
  4. package/{dist/cjs → dist-cjs}/SageMakerA2IRuntimeClient.js +14 -14
  5. package/dist-cjs/SageMakerA2IRuntimeClient.js.map +1 -0
  6. package/{dist/cjs → dist-cjs}/commands/DeleteHumanLoopCommand.js +5 -5
  7. package/dist-cjs/commands/DeleteHumanLoopCommand.js.map +1 -0
  8. package/{dist/cjs → dist-cjs}/commands/DescribeHumanLoopCommand.js +5 -5
  9. package/dist-cjs/commands/DescribeHumanLoopCommand.js.map +1 -0
  10. package/{dist/cjs → dist-cjs}/commands/ListHumanLoopsCommand.js +5 -5
  11. package/dist-cjs/commands/ListHumanLoopsCommand.js.map +1 -0
  12. package/{dist/cjs → dist-cjs}/commands/StartHumanLoopCommand.js +5 -5
  13. package/dist-cjs/commands/StartHumanLoopCommand.js.map +1 -0
  14. package/{dist/cjs → dist-cjs}/commands/StopHumanLoopCommand.js +5 -5
  15. package/dist-cjs/commands/StopHumanLoopCommand.js.map +1 -0
  16. package/{dist/cjs → dist-cjs}/endpoints.js +1 -1
  17. package/dist-cjs/endpoints.js.map +1 -0
  18. package/dist-cjs/index.js +14 -0
  19. package/dist-cjs/index.js.map +1 -0
  20. package/{dist/cjs → dist-cjs}/models/index.js +1 -1
  21. package/{dist/cjs → dist-cjs}/models/index.js.map +1 -1
  22. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -0
  23. package/dist-cjs/models/models_0.js.map +1 -0
  24. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -0
  25. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js.map +1 -1
  26. package/{dist/cjs → dist-cjs}/pagination/ListHumanLoopsPaginator.js +1 -1
  27. package/dist-cjs/pagination/ListHumanLoopsPaginator.js.map +1 -0
  28. package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +29 -29
  29. package/dist-cjs/protocols/Aws_restJson1.js.map +1 -0
  30. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +5 -4
  31. package/dist-cjs/runtimeConfig.browser.js.map +1 -0
  32. package/{dist/cjs → dist-cjs}/runtimeConfig.js +10 -9
  33. package/dist-cjs/runtimeConfig.js.map +1 -0
  34. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +1 -1
  35. package/dist-cjs/runtimeConfig.native.js.map +1 -0
  36. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -1
  37. package/dist-cjs/runtimeConfig.shared.js.map +1 -0
  38. package/{dist/es → dist-es}/SageMakerA2IRuntime.js +2 -30
  39. package/dist-es/SageMakerA2IRuntime.js.map +1 -0
  40. package/dist-es/SageMakerA2IRuntimeClient.js +38 -0
  41. package/dist-es/SageMakerA2IRuntimeClient.js.map +1 -0
  42. package/{dist/es → dist-es}/commands/DeleteHumanLoopCommand.js +4 -31
  43. package/dist-es/commands/DeleteHumanLoopCommand.js.map +1 -0
  44. package/{dist/es → dist-es}/commands/DescribeHumanLoopCommand.js +4 -30
  45. package/dist-es/commands/DescribeHumanLoopCommand.js.map +1 -0
  46. package/{dist/es → dist-es}/commands/ListHumanLoopsCommand.js +4 -29
  47. package/dist-es/commands/ListHumanLoopsCommand.js.map +1 -0
  48. package/{dist/es → dist-es}/commands/StartHumanLoopCommand.js +4 -29
  49. package/dist-es/commands/StartHumanLoopCommand.js.map +1 -0
  50. package/{dist/es → dist-es}/commands/StopHumanLoopCommand.js +4 -29
  51. package/dist-es/commands/StopHumanLoopCommand.js.map +1 -0
  52. package/{dist/es → dist-es}/endpoints.js +1 -1
  53. package/dist-es/endpoints.js.map +1 -0
  54. package/{dist/es → dist-es}/index.js +0 -0
  55. package/dist-es/index.js.map +1 -0
  56. package/{dist/es → dist-es}/models/index.js +0 -0
  57. package/dist-es/models/index.js.map +1 -0
  58. package/{dist/es → dist-es}/models/models_0.js +0 -60
  59. package/dist-es/models/models_0.js.map +1 -0
  60. package/{dist/es → dist-es}/pagination/Interfaces.js +0 -0
  61. package/{dist/es → dist-es}/pagination/Interfaces.js.map +1 -1
  62. package/{dist/es → dist-es}/pagination/ListHumanLoopsPaginator.js +17 -29
  63. package/dist-es/pagination/ListHumanLoopsPaginator.js.map +1 -0
  64. package/{dist/es → dist-es}/protocols/Aws_restJson1.js +130 -135
  65. package/dist-es/protocols/Aws_restJson1.js.map +1 -0
  66. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -4
  67. package/dist-es/runtimeConfig.browser.js.map +1 -0
  68. package/{dist/es → dist-es}/runtimeConfig.js +2 -5
  69. package/dist-es/runtimeConfig.js.map +1 -0
  70. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -3
  71. package/dist-es/runtimeConfig.native.js.map +1 -0
  72. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -4
  73. package/dist-es/runtimeConfig.shared.js.map +1 -0
  74. package/{dist/types → dist-types}/SageMakerA2IRuntime.d.ts +2 -2
  75. package/{dist/types → dist-types}/SageMakerA2IRuntimeClient.d.ts +6 -6
  76. package/{dist/types → dist-types}/commands/DeleteHumanLoopCommand.d.ts +3 -3
  77. package/{dist/types → dist-types}/commands/DescribeHumanLoopCommand.d.ts +3 -3
  78. package/{dist/types → dist-types}/commands/ListHumanLoopsCommand.d.ts +3 -3
  79. package/{dist/types → dist-types}/commands/StartHumanLoopCommand.d.ts +3 -3
  80. package/{dist/types → dist-types}/commands/StopHumanLoopCommand.d.ts +3 -3
  81. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  82. package/{dist/types → dist-types}/index.d.ts +0 -0
  83. package/{dist/types → dist-types}/models/index.d.ts +0 -0
  84. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  85. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  86. package/{dist/types → dist-types}/pagination/ListHumanLoopsPaginator.d.ts +1 -1
  87. package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
  88. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.browser.d.ts +37 -36
  89. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
  90. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.native.d.ts +36 -35
  91. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  92. package/{dist/types → dist-types}/ts3.4/SageMakerA2IRuntime.d.ts +2 -2
  93. package/{dist/types → dist-types}/ts3.4/SageMakerA2IRuntimeClient.d.ts +6 -6
  94. package/{dist/types → dist-types}/ts3.4/commands/DeleteHumanLoopCommand.d.ts +3 -3
  95. package/{dist/types → dist-types}/ts3.4/commands/DescribeHumanLoopCommand.d.ts +3 -3
  96. package/{dist/types → dist-types}/ts3.4/commands/ListHumanLoopsCommand.d.ts +3 -3
  97. package/{dist/types → dist-types}/ts3.4/commands/StartHumanLoopCommand.d.ts +3 -3
  98. package/{dist/types → dist-types}/ts3.4/commands/StopHumanLoopCommand.d.ts +3 -3
  99. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  100. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  101. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  102. package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
  103. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  104. package/{dist/types → dist-types}/ts3.4/pagination/ListHumanLoopsPaginator.d.ts +1 -1
  105. package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
  106. package/{dist/types → dist-types/ts3.4}/runtimeConfig.browser.d.ts +37 -36
  107. package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
  108. package/{dist/types → dist-types/ts3.4}/runtimeConfig.native.d.ts +36 -35
  109. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
  110. package/package.json +50 -50
  111. package/{SageMakerA2IRuntime.ts → src/SageMakerA2IRuntime.ts} +3 -2
  112. package/{SageMakerA2IRuntimeClient.ts → src/SageMakerA2IRuntimeClient.ts} +20 -19
  113. package/{commands → src/commands}/DeleteHumanLoopCommand.ts +12 -11
  114. package/{commands → src/commands}/DescribeHumanLoopCommand.ts +12 -11
  115. package/{commands → src/commands}/ListHumanLoopsCommand.ts +12 -11
  116. package/{commands → src/commands}/StartHumanLoopCommand.ts +12 -11
  117. package/{commands → src/commands}/StopHumanLoopCommand.ts +12 -11
  118. package/{endpoints.ts → src/endpoints.ts} +1 -1
  119. package/{index.ts → src/index.ts} +0 -0
  120. package/{models → src/models}/index.ts +0 -0
  121. package/{models → src/models}/models_0.ts +0 -0
  122. package/{pagination → src/pagination}/Interfaces.ts +2 -1
  123. package/{pagination → src/pagination}/ListHumanLoopsPaginator.ts +4 -3
  124. package/{protocols → src/protocols}/Aws_restJson1.ts +25 -24
  125. package/{runtimeConfig.browser.ts → src/runtimeConfig.browser.ts} +4 -3
  126. package/{runtimeConfig.native.ts → src/runtimeConfig.native.ts} +2 -1
  127. package/{runtimeConfig.shared.ts → src/runtimeConfig.shared.ts} +2 -1
  128. package/{runtimeConfig.ts → src/runtimeConfig.ts} +5 -4
  129. package/tsconfig.es.json +1 -3
  130. package/tsconfig.json +7 -7
  131. package/tsconfig.types.json +9 -0
  132. package/dist/cjs/SageMakerA2IRuntime.js.map +0 -1
  133. package/dist/cjs/SageMakerA2IRuntimeClient.js.map +0 -1
  134. package/dist/cjs/commands/DeleteHumanLoopCommand.js.map +0 -1
  135. package/dist/cjs/commands/DescribeHumanLoopCommand.js.map +0 -1
  136. package/dist/cjs/commands/ListHumanLoopsCommand.js.map +0 -1
  137. package/dist/cjs/commands/StartHumanLoopCommand.js.map +0 -1
  138. package/dist/cjs/commands/StopHumanLoopCommand.js.map +0 -1
  139. package/dist/cjs/endpoints.js.map +0 -1
  140. package/dist/cjs/index.js +0 -14
  141. package/dist/cjs/index.js.map +0 -1
  142. package/dist/cjs/models/models_0.js.map +0 -1
  143. package/dist/cjs/package.json +0 -91
  144. package/dist/cjs/pagination/ListHumanLoopsPaginator.js.map +0 -1
  145. package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
  146. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  147. package/dist/cjs/runtimeConfig.js.map +0 -1
  148. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  149. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  150. package/dist/es/SageMakerA2IRuntime.js.map +0 -1
  151. package/dist/es/SageMakerA2IRuntimeClient.js +0 -71
  152. package/dist/es/SageMakerA2IRuntimeClient.js.map +0 -1
  153. package/dist/es/commands/DeleteHumanLoopCommand.js.map +0 -1
  154. package/dist/es/commands/DescribeHumanLoopCommand.js.map +0 -1
  155. package/dist/es/commands/ListHumanLoopsCommand.js.map +0 -1
  156. package/dist/es/commands/StartHumanLoopCommand.js.map +0 -1
  157. package/dist/es/commands/StopHumanLoopCommand.js.map +0 -1
  158. package/dist/es/endpoints.js.map +0 -1
  159. package/dist/es/index.js.map +0 -1
  160. package/dist/es/models/index.js.map +0 -1
  161. package/dist/es/models/models_0.js.map +0 -1
  162. package/dist/es/package.json +0 -91
  163. package/dist/es/pagination/ListHumanLoopsPaginator.js.map +0 -1
  164. package/dist/es/protocols/Aws_restJson1.js.map +0 -1
  165. package/dist/es/runtimeConfig.browser.js.map +0 -1
  166. package/dist/es/runtimeConfig.js.map +0 -1
  167. package/dist/es/runtimeConfig.native.js.map +0 -1
  168. package/dist/es/runtimeConfig.shared.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -3,6 +3,45 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.35.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.34.0...v3.35.0) (2021-10-04)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** eslint --fix using esprint ([#2849](https://github.com/aws/aws-sdk-js-v3/issues/2849)) ([94d0a2d](https://github.com/aws/aws-sdk-js-v3/commit/94d0a2d8a0579ee0a742337937ad05735cfbc1ba))
12
+ * **clients:** move source files to 'src' folder ([#2845](https://github.com/aws/aws-sdk-js-v3/issues/2845)) ([e0025cd](https://github.com/aws/aws-sdk-js-v3/commit/e0025cddbba244a41ddf1fd1adb761142e15c22d))
13
+
14
+
15
+
16
+
17
+
18
+ # [3.34.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.33.0...v3.34.0) (2021-09-24)
19
+
20
+
21
+ ### Features
22
+
23
+ * **clients:** remove comments from transpiled JS files ([#2817](https://github.com/aws/aws-sdk-js-v3/issues/2817)) ([d01420b](https://github.com/aws/aws-sdk-js-v3/commit/d01420b247966c8ec84c1dd0a1b42512ede10c90))
24
+
25
+
26
+
27
+
28
+
29
+ # [3.33.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.32.0...v3.33.0) (2021-09-21)
30
+
31
+ **Note:** Version bump only for package @aws-sdk/client-sagemaker-a2i-runtime
32
+
33
+
34
+
35
+
36
+
37
+ # [3.32.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.31.0...v3.32.0) (2021-09-17)
38
+
39
+ **Note:** Version bump only for package @aws-sdk/client-sagemaker-a2i-runtime
40
+
41
+
42
+
43
+
44
+
6
45
  # [3.31.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.30.0...v3.31.0) (2021-09-11)
7
46
 
8
47
  **Note:** Version bump only for package @aws-sdk/client-sagemaker-a2i-runtime
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SageMakerA2IRuntime = void 0;
4
- const SageMakerA2IRuntimeClient_1 = require("./SageMakerA2IRuntimeClient");
5
4
  const DeleteHumanLoopCommand_1 = require("./commands/DeleteHumanLoopCommand");
6
5
  const DescribeHumanLoopCommand_1 = require("./commands/DescribeHumanLoopCommand");
7
6
  const ListHumanLoopsCommand_1 = require("./commands/ListHumanLoopsCommand");
8
7
  const StartHumanLoopCommand_1 = require("./commands/StartHumanLoopCommand");
9
8
  const StopHumanLoopCommand_1 = require("./commands/StopHumanLoopCommand");
9
+ const SageMakerA2IRuntimeClient_1 = require("./SageMakerA2IRuntimeClient");
10
10
  /**
11
11
  * <p>Amazon Augmented AI (Amazon A2I) adds the benefit of human judgment to any machine learning
12
12
  * application. When an AI application can't evaluate data with a high degree of confidence,
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SageMakerA2IRuntime.js","sourceRoot":"","sources":["../src/SageMakerA2IRuntime.ts"],"names":[],"mappings":";;;AAEA,8EAI2C;AAC3C,kFAI6C;AAC7C,4EAI0C;AAC1C,4EAI0C;AAC1C,0EAIyC;AACzC,2EAAwE;AAExE;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,mBAAoB,SAAQ,qDAAyB;IAmBzD,eAAe,CACpB,IAAiC,EACjC,WAA8F,EAC9F,EAA4D;QAE5D,MAAM,OAAO,GAAG,IAAI,+CAAsB,CAAC,IAAI,CAAC,CAAC;QACjD,IAAI,OAAO,WAAW,KAAK,UAAU,EAAE;YACrC,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;SACjC;aAAM,IAAI,OAAO,EAAE,KAAK,UAAU,EAAE;YACnC,IAAI,OAAO,WAAW,KAAK,QAAQ;gBAAE,MAAM,IAAI,KAAK,CAAC,+BAA+B,OAAO,WAAW,EAAE,CAAC,CAAC;YAC1G,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC;SAC3C;aAAM;YACL,OAAO,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;SACxC;IACH,CAAC;IAmBM,iBAAiB,CACtB,IAAmC,EACnC,WAAg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;YACrC,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;SACjC;aAAM,IAAI,OAAO,EAAE,KAAK,UAAU,EAAE;YACnC,IAAI,OAAO,WAAW,KAAK,QAAQ;gBAAE,MAAM,IAAI,KAAK,CAAC,+BAA+B,OAAO,WAAW,EAAE,CAAC,CAAC;YAC1G,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC;SAC3C;aAAM;YACL,OAAO,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;SACxC;IACH,CAAC;IAkBM,aAAa,CAClB,IAA+B,EAC/B,WAA4F,EAC5F,EAA0D;QAE1D,MAAM,OAAO,GAAG,IAAI,2CAAoB,CAAC,IAAI,CAAC,CAAC;QAC/C,IAAI,OAAO,WAAW,KAAK,UAAU,EAAE;YACrC,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;SACjC;aAAM,IAAI,OAAO,EAAE,KAAK,UAAU,EAAE;YACnC,IAAI,OAAO,WAAW,KAAK,QAAQ;gBAAE,MAAM,IAAI,KAAK,CAAC,+BAA+B,OAAO,WAAW,EAAE,CAAC,CAAC;YAC1G,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC;SAC3C;aAAM;YACL,OAAO,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;SACxC;IACH,CAAC;CACF;AAnKD,kDAmKC"}
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SageMakerA2IRuntimeClient = void 0;
4
- const runtimeConfig_1 = require("./runtimeConfig");
5
4
  const config_resolver_1 = require("@aws-sdk/config-resolver");
6
5
  const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
7
6
  const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
@@ -10,6 +9,7 @@ const middleware_retry_1 = require("@aws-sdk/middleware-retry");
10
9
  const middleware_signing_1 = require("@aws-sdk/middleware-signing");
11
10
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
12
11
  const smithy_client_1 = require("@aws-sdk/smithy-client");
12
+ const runtimeConfig_1 = require("./runtimeConfig");
13
13
  /**
14
14
  * <p>Amazon Augmented AI (Amazon A2I) adds the benefit of human judgment to any machine learning
15
15
  * application. When an AI application can't evaluate data with a high degree of confidence,
@@ -40,21 +40,21 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
40
40
  */
41
41
  class SageMakerA2IRuntimeClient extends smithy_client_1.Client {
42
42
  constructor(configuration) {
43
- let _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration);
44
- let _config_1 = (0, config_resolver_1.resolveRegionConfig)(_config_0);
45
- let _config_2 = (0, config_resolver_1.resolveEndpointsConfig)(_config_1);
46
- let _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2);
47
- let _config_4 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_3);
48
- let _config_5 = (0, middleware_signing_1.resolveAwsAuthConfig)(_config_4);
49
- let _config_6 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_5);
43
+ const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
44
+ const _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
45
+ const _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
46
+ const _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
47
+ const _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
48
+ const _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
49
+ const _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5);
50
50
  super(_config_6);
51
51
  this.config = _config_6;
52
- this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
53
- this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
54
- this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
55
- this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
56
- this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
57
- this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
52
+ this.middlewareStack.use(middleware_retry_1.getRetryPlugin(this.config));
53
+ this.middlewareStack.use(middleware_content_length_1.getContentLengthPlugin(this.config));
54
+ this.middlewareStack.use(middleware_host_header_1.getHostHeaderPlugin(this.config));
55
+ this.middlewareStack.use(middleware_logger_1.getLoggerPlugin(this.config));
56
+ this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
57
+ this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
58
58
  }
59
59
  /**
60
60
  * Destroy underlying resources, like sockets. It's usually not necessary to do this.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SageMakerA2IRuntimeClient.js","sourceRoot":"","sources":["../src/SageMakerA2IRuntimeClient.ts"],"names":[],"mappings":";;;AAAA,8DAOkC;AAClC,kFAA4E;AAC5E,4EAKyC;AACzC,kEAA6D;AAC7D,gEAAsH;AACtH,oEAKqC;AACrC,0EAKwC;AAExC,0DAIgC;AAsBhC,mDAAyE;AA0JzE;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,yBAA0B,SAAQ,sBAK9C;IAMC,YAAY,aAA8C;QACxD,MAAM,SAAS,GAAG,gCAAkB,CAAC,aAAa,CAAC,CAAC;QACpD,MAAM,SAAS,GAAG,qCAAmB,CAAC,SAAS,CAAC,CAAC;QACjD,MAAM,SAAS,GAAG,wCAAsB,CAAC,SAAS,CAAC,CAAC;QACpD,MAAM,SAAS,GAAG,qCAAkB,CAAC,SAAS,CAAC,CAAC;QAChD,MAAM,SAAS,GAAG,gDAAuB,CAAC,SAAS,CAAC,CAAC;QACrD,MAAM,SAAS,GAAG,yCAAoB,CAAC,SAAS,CAAC,CAAC;QAClD,MAAM,SAAS,GAAG,8CAAsB,CAAC,SAAS,CAAC,CAAC;QACpD,KAAK,CAAC,SAAS,CAAC,CAAC;QACjB,IAAI,CAAC,MAAM,GAAG,SAAS,CAAC;QACxB,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,iCAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;QACtD,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,kDAAsB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;QAC9D,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,4CAAmB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;QAC3D,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,mCAAe,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;QACvD,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,qCAAgB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;QACxD,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,0CAAkB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;IAC5D,CAAC;IAED;;;;OAIG;IACH,OAAO;QACL,KAAK,CAAC,OAAO,EAAE,CAAC;IAClB,CAAC;CACF;AArCD,8DAqCC"}
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DeleteHumanLoopCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
8
  /**
9
9
  * <p>Deletes the specified human loop for a flow definition.</p>
10
10
  * <p>If the human loop was deleted, this operation will return a
@@ -37,7 +37,7 @@ class DeleteHumanLoopCommand extends smithy_client_1.Command {
37
37
  * @internal
38
38
  */
39
39
  resolveMiddleware(clientStack, configuration, options) {
40
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
40
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
41
41
  const stack = clientStack.concat(this.middlewareStack);
42
42
  const { logger } = configuration;
43
43
  const clientName = "SageMakerA2IRuntimeClient";
@@ -53,10 +53,10 @@ class DeleteHumanLoopCommand extends smithy_client_1.Command {
53
53
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
54
54
  }
55
55
  serialize(input, context) {
56
- return (0, Aws_restJson1_1.serializeAws_restJson1DeleteHumanLoopCommand)(input, context);
56
+ return Aws_restJson1_1.serializeAws_restJson1DeleteHumanLoopCommand(input, context);
57
57
  }
58
58
  deserialize(output, context) {
59
- return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteHumanLoopCommand)(output, context);
59
+ return Aws_restJson1_1.deserializeAws_restJson1DeleteHumanLoopCommand(output, context);
60
60
  }
61
61
  }
62
62
  exports.DeleteHumanLoopCommand = DeleteHumanLoopCommand;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeleteHumanLoopCommand.js","sourceRoot":"","sources":["../../src/commands/DeleteHumanLoopCommand.ts"],"names":[],"mappings":";;;AAAA,gEAA2D;AAE3D,0DAA6D;AAW7D,iDAAqF;AACrF,8DAGoC;AAUpC;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAa,sBAAuB,SAAQ,uBAI3C;IACC,oCAAoC;IACpC,kCAAkC;IAElC,YAAqB,KAAkC;QACrD,qCAAqC;QACrC,KAAK,EAAE,CAAC;QAFW,UAAK,GAAL,KAAK,CAA6B;QAGrD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,iBAAiB,CACf,WAAmE,EACnE,aAAsD,EACtD,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,iCAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,MAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAEvD,MAAM,EAAE,MAAM,EAAE,GAAG,aAAa,CAAC;QACjC,MAAM,UAAU,GAAG,2BAA2B,CAAC;QAC/C,MAAM,WAAW,GAAG,wBAAwB,CAAC;QAC7C,MAAM,uBAAuB,GAA4B;YACvD,MAAM;YACN,UAAU;YACV,WAAW;YACX,uBAAuB,EAAE,iCAAsB,CAAC,kBAAkB;YAClE,wBAAwB,EAAE,kCAAuB,CAAC,kBAAkB;SACrE,CAAC;QACF,MAAM,EAAE,cAAc,EAAE,GAAG,aAAa,CAAC;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,CAAC,OAAsC,EAAE,EAAE,CACzC,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,SAAS,CAAC,KAAkC,EAAE,OAAuB;QAC3E,OAAO,4DAA4C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;IAEO,WAAW,CAAC,MAAsB,EAAE,OAAuB;QACjE,OAAO,8DAA8C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;CAIF;AAtDD,wDAsDC"}
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DescribeHumanLoopCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
8
  /**
9
9
  * <p>Returns information about the specified human loop. If the human loop was deleted, this
10
10
  * operation will return a <code>ResourceNotFoundException</code> error. </p>
@@ -36,7 +36,7 @@ class DescribeHumanLoopCommand extends smithy_client_1.Command {
36
36
  * @internal
37
37
  */
38
38
  resolveMiddleware(clientStack, configuration, options) {
39
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
39
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
40
  const stack = clientStack.concat(this.middlewareStack);
41
41
  const { logger } = configuration;
42
42
  const clientName = "SageMakerA2IRuntimeClient";
@@ -52,10 +52,10 @@ class DescribeHumanLoopCommand extends smithy_client_1.Command {
52
52
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
53
53
  }
54
54
  serialize(input, context) {
55
- return (0, Aws_restJson1_1.serializeAws_restJson1DescribeHumanLoopCommand)(input, context);
55
+ return Aws_restJson1_1.serializeAws_restJson1DescribeHumanLoopCommand(input, context);
56
56
  }
57
57
  deserialize(output, context) {
58
- return (0, Aws_restJson1_1.deserializeAws_restJson1DescribeHumanLoopCommand)(output, context);
58
+ return Aws_restJson1_1.deserializeAws_restJson1DescribeHumanLoopCommand(output, context);
59
59
  }
60
60
  }
61
61
  exports.DescribeHumanLoopCommand = DescribeHumanLoopCommand;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeHumanLoopCommand.js","sourceRoot":"","sources":["../../src/commands/DescribeHumanLoopCommand.ts"],"names":[],"mappings":";;;AAAA,gEAA2D;AAE3D,0DAA6D;AAW7D,iDAAyF;AACzF,8DAGoC;AAUpC;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAa,wBAAyB,SAAQ,uBAI7C;IACC,oCAAoC;IACpC,kCAAkC;IAElC,YAAqB,KAAoC;QACvD,qCAAqC;QACrC,KAAK,EAAE,CAAC;QAFW,UAAK,GAAL,KAAK,CAA+B;QAGvD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,iBAAiB,CACf,WAAmE,EACnE,aAAsD,EACtD,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,iCAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,MAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAEvD,MAAM,EAAE,MAAM,EAAE,GAAG,aAAa,CAAC;QACjC,MAAM,UAAU,GAAG,2BAA2B,CAAC;QAC/C,MAAM,WAAW,GAAG,0BAA0B,CAAC;QAC/C,MAAM,uBAAuB,GAA4B;YACvD,MAAM;YACN,UAAU;YACV,WAAW;YACX,uBAAuB,EAAE,mCAAwB,CAAC,kBAAkB;YACpE,wBAAwB,EAAE,oCAAyB,CAAC,kBAAkB;SACvE,CAAC;QACF,MAAM,EAAE,cAAc,EAAE,GAAG,aAAa,CAAC;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,CAAC,OAAsC,EAAE,EAAE,CACzC,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,SAAS,CAAC,KAAoC,EAAE,OAAuB;QAC7E,OAAO,8DAA8C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACxE,CAAC;IAEO,WAAW,CAAC,MAAsB,EAAE,OAAuB;QACjE,OAAO,gEAAgD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;CAIF;AAtDD,4DAsDC"}
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListHumanLoopsCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
8
  /**
9
9
  * <p>Returns information about human loops, given the specified parameters. If a human loop was deleted, it will not be included.</p>
10
10
  * @example
@@ -35,7 +35,7 @@ class ListHumanLoopsCommand extends smithy_client_1.Command {
35
35
  * @internal
36
36
  */
37
37
  resolveMiddleware(clientStack, configuration, options) {
38
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
38
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
39
  const stack = clientStack.concat(this.middlewareStack);
40
40
  const { logger } = configuration;
41
41
  const clientName = "SageMakerA2IRuntimeClient";
@@ -51,10 +51,10 @@ class ListHumanLoopsCommand extends smithy_client_1.Command {
51
51
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
52
52
  }
53
53
  serialize(input, context) {
54
- return (0, Aws_restJson1_1.serializeAws_restJson1ListHumanLoopsCommand)(input, context);
54
+ return Aws_restJson1_1.serializeAws_restJson1ListHumanLoopsCommand(input, context);
55
55
  }
56
56
  deserialize(output, context) {
57
- return (0, Aws_restJson1_1.deserializeAws_restJson1ListHumanLoopsCommand)(output, context);
57
+ return Aws_restJson1_1.deserializeAws_restJson1ListHumanLoopsCommand(output, context);
58
58
  }
59
59
  }
60
60
  exports.ListHumanLoopsCommand = ListHumanLoopsCommand;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListHumanLoopsCommand.js","sourceRoot":"","sources":["../../src/commands/ListHumanLoopsCommand.ts"],"names":[],"mappings":";;;AAAA,gEAA2D;AAE3D,0DAA6D;AAW7D,iDAAmF;AACnF,8DAGoC;AAUpC;;;;;;;;;;;;;;;;GAgBG;AACH,MAAa,qBAAsB,SAAQ,uBAI1C;IACC,oCAAoC;IACpC,kCAAkC;IAElC,YAAqB,KAAiC;QACpD,qCAAqC;QACrC,KAAK,EAAE,CAAC;QAFW,UAAK,GAAL,KAAK,CAA4B;QAGpD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,iBAAiB,CACf,WAAmE,EACnE,aAAsD,EACtD,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,iCAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,MAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAEvD,MAAM,EAAE,MAAM,EAAE,GAAG,aAAa,CAAC;QACjC,MAAM,UAAU,GAAG,2BAA2B,CAAC;QAC/C,MAAM,WAAW,GAAG,uBAAuB,CAAC;QAC5C,MAAM,uBAAuB,GAA4B;YACvD,MAAM;YACN,UAAU;YACV,WAAW;YACX,uBAAuB,EAAE,gCAAqB,CAAC,kBAAkB;YACjE,wBAAwB,EAAE,iCAAsB,CAAC,kBAAkB;SACpE,CAAC;QACF,MAAM,EAAE,cAAc,EAAE,GAAG,aAAa,CAAC;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,CAAC,OAAsC,EAAE,EAAE,CACzC,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,SAAS,CAAC,KAAiC,EAAE,OAAuB;QAC1E,OAAO,2DAA2C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;IAEO,WAAW,CAAC,MAAsB,EAAE,OAAuB;QACjE,OAAO,6DAA6C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACxE,CAAC;CAIF;AAtDD,sDAsDC"}
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.StartHumanLoopCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
8
  /**
9
9
  * <p>Starts a human loop, provided that at least one activation condition is met.</p>
10
10
  * @example
@@ -35,7 +35,7 @@ class StartHumanLoopCommand extends smithy_client_1.Command {
35
35
  * @internal
36
36
  */
37
37
  resolveMiddleware(clientStack, configuration, options) {
38
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
38
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
39
  const stack = clientStack.concat(this.middlewareStack);
40
40
  const { logger } = configuration;
41
41
  const clientName = "SageMakerA2IRuntimeClient";
@@ -51,10 +51,10 @@ class StartHumanLoopCommand extends smithy_client_1.Command {
51
51
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
52
52
  }
53
53
  serialize(input, context) {
54
- return (0, Aws_restJson1_1.serializeAws_restJson1StartHumanLoopCommand)(input, context);
54
+ return Aws_restJson1_1.serializeAws_restJson1StartHumanLoopCommand(input, context);
55
55
  }
56
56
  deserialize(output, context) {
57
- return (0, Aws_restJson1_1.deserializeAws_restJson1StartHumanLoopCommand)(output, context);
57
+ return Aws_restJson1_1.deserializeAws_restJson1StartHumanLoopCommand(output, context);
58
58
  }
59
59
  }
60
60
  exports.StartHumanLoopCommand = StartHumanLoopCommand;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StartHumanLoopCommand.js","sourceRoot":"","sources":["../../src/commands/StartHumanLoopCommand.ts"],"names":[],"mappings":";;;AAAA,gEAA2D;AAE3D,0DAA6D;AAW7D,iDAAmF;AACnF,8DAGoC;AAUpC;;;;;;;;;;;;;;;;GAgBG;AACH,MAAa,qBAAsB,SA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(exports, "__esModule", { value: true });
3
3
  exports.StopHumanLoopCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
8
  /**
9
9
  * <p>Stops the specified human loop.</p>
10
10
  * @example
@@ -35,7 +35,7 @@ class StopHumanLoopCommand extends smithy_client_1.Command {
35
35
  * @internal
36
36
  */
37
37
  resolveMiddleware(clientStack, configuration, options) {
38
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
38
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
39
  const stack = clientStack.concat(this.middlewareStack);
40
40
  const { logger } = configuration;
41
41
  const clientName = "SageMakerA2IRuntimeClient";
@@ -51,10 +51,10 @@ class StopHumanLoopCommand extends smithy_client_1.Command {
51
51
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
52
52
  }
53
53
  serialize(input, context) {
54
- return (0, Aws_restJson1_1.serializeAws_restJson1StopHumanLoopCommand)(input, context);
54
+ return Aws_restJson1_1.serializeAws_restJson1StopHumanLoopCommand(input, context);
55
55
  }
56
56
  deserialize(output, context) {
57
- return (0, Aws_restJson1_1.deserializeAws_restJson1StopHumanLoopCommand)(output, context);
57
+ return Aws_restJson1_1.deserializeAws_restJson1StopHumanLoopCommand(output, context);
58
58
  }
59
59
  }
60
60
  exports.StopHumanLoopCommand = StopHumanLoopCommand;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StopHumanLoopCommand.js","sourceRoot":"","sources":["../../src/commands/StopHumanLoopCommand.ts"],"names":[],"mappings":";;;AAAA,gEAA2D;AAE3D,0DAA6D;AAW7D,iDAAiF;AACjF,8DAGoC;AAUpC;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 -47,7 +47,7 @@ const partitionHash = {
47
47
  hostname: "a2i-runtime.sagemaker.{region}.amazonaws.com",
48
48
  },
49
49
  };
50
- const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
50
+ const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
51
51
  ...options,
52
52
  signingService: "sagemaker",
53
53
  regionHash,
@@ -0,0 +1 @@
1
+ {"version":3,"file":"endpoints.js","sourceRoot":"","sources":["../src/endpoints.ts"],"names":[],"mappings":";;;AAAA,8DAAoF;AAGpF,MAAM,UAAU,GAAe,EAAE,CAAC;AAElC,MAAM,aAAa,GAAkB;IACnC,GAAG,EAAE;QACH,OAAO,EAAE;YACP,YAAY;YACZ,WAAW;YACX,gBAAgB;YAChB,gBAAgB;YAChB,gBAAgB;YAChB,YAAY;YACZ,gBAAgB;YAChB,gBAAgB;YAChB,cAAc;YACd,cAAc;YACd,YAAY;YACZ,YAAY;YACZ,WAAW;YACX,WAAW;YACX,WAAW;YACX,YAAY;YACZ,WAAW;YACX,WAAW;YACX,WAAW;YACX,WAAW;YACX,WAAW;SACZ;QACD,QAAQ,EAAE,8CAA8C;KACzD;IACD,QAAQ,EAAE;QACR,OAAO,EAAE,CAAC,YAAY,EAAE,gBAAgB,CAAC;QACzC,QAAQ,EAAE,iDAAiD;KAC5D;IACD,SAAS,EAAE;QACT,OAAO,EAAE,CAAC,eAAe,CAAC;QAC1B,QAAQ,EAAE,2CAA2C;KACtD;IACD,WAAW,EAAE;QACX,OAAO,EAAE,CAAC,gBAAgB,CAAC;QAC3B,QAAQ,EAAE,8CAA8C;KACzD;IACD,YAAY,EAAE;QACZ,OAAO,EAAE,CAAC,eAAe,EAAE,eAAe,CAAC;QAC3C,QAAQ,EAAE,8CAA8C;KACzD;CACF,CAAC;AAEK,MAAM,yBAAyB,GAAuB,KAAK,EAAE,MAAc,EAAE,OAAa,EAAE,EAAE,CACnG,+BAAa,CAAC,MAAM,EAAE;IACpB,GAAG,OAAO;IACV,cAAc,EAAE,WAAW;IAC3B,UAAU;IACV,aAAa;CACd,CAAC,CAAC;AANQ,QAAA,yBAAyB,6BAMjC"}
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./SageMakerA2IRuntimeClient"), exports);
5
+ tslib_1.__exportStar(require("./SageMakerA2IRuntime"), exports);
6
+ tslib_1.__exportStar(require("./commands/DeleteHumanLoopCommand"), exports);
7
+ tslib_1.__exportStar(require("./commands/DescribeHumanLoopCommand"), exports);
8
+ tslib_1.__exportStar(require("./commands/ListHumanLoopsCommand"), exports);
9
+ tslib_1.__exportStar(require("./pagination/ListHumanLoopsPaginator"), exports);
10
+ tslib_1.__exportStar(require("./commands/StartHumanLoopCommand"), exports);
11
+ tslib_1.__exportStar(require("./commands/StopHumanLoopCommand"), exports);
12
+ tslib_1.__exportStar(require("./pagination/Interfaces"), exports);
13
+ tslib_1.__exportStar(require("./models/index"), exports);
14
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,sEAA4C;AAC5C,gEAAsC;AACtC,4EAAkD;AAClD,8EAAoD;AACpD,2EAAiD;AACjD,+EAAqD;AACrD,2EAAiD;AACjD,0EAAgD;AAChD,kEAAwC;AACxC,yDAA+B"}
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
- (0, tslib_1.__exportStar)(require("./models_0"), exports);
4
+ tslib_1.__exportStar(require("./models_0"), exports);
5
5
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../models/index.ts"],"names":[],"mappings":";;;AAAA,0DAA2B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":";;;AAAA,qDAA2B"}
File without changes
@@ -0,0 +1 @@
1
+ {"version":3,"file":"models_0.js","sourceRoot":"","sources":["../../src/models/models_0.ts"],"names":[],"mappings":";;;AASA,IAAiB,sBAAsB,CAOtC;AAPD,WAAiB,sBAAsB;IACrC;;OAEG;IACU,yCAAkB,GAAG,CAAC,GAA2B,EAAO,EAAE,CAAC,CAAC;QACvE,GAAG,GAAG;KACP,CAAC,CAAC;AACL,CAAC,EAPgB,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAOtC;AAID,IAAiB,uBAAuB,CAOvC;AAPD,WAAiB,uBAAuB;IACtC;;OAEG;IACU,0CAAkB,GAAG,CAAC,GAA4B,EAAO,EAAE,CAAC,CAAC;QACxE,GAAG,GAAG;KACP,CAAC,CAAC;AACL,CAAC,EAPgB,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAOvC;AAYD,IAAiB,uBAAuB,CAOvC;AAPD,WAAiB,uBAAuB;IACtC;;OAEG;IACU,0CAAkB,GAAG,CAAC,GAA4B,EAAO,EAAE,CAAC,CAAC;QACxE,GAAG,GAAG;KACP,CAAC,CAAC;AACL,CAAC,EAPgB,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAOvC;AAYD,IAAiB,yBAAyB,CAOzC;AAPD,WAAiB,yBAAyB;IACxC;;OAEG;IACU,4CAAkB,GAAG,CAAC,GAA8B,EAAO,EAAE,CAAC,CAAC;QAC1E,GAAG,GAAG;KACP,CAAC,CAAC;AACL,CAAC,EAPgB,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAOzC;AAaD,IAAiB,mBAAmB,CAOnC;AAPD,WAAiB,mBAAmB;IAClC;;OAEG;IACU,sCAAkB,GAAG,CAAC,GAAwB,EAAO,EAAE,CAAC,CAAC;QACpE,GAAG,GAAG;KACP,CAAC,CAAC;AACL,CAAC,EAPgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,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C;AACL,CAAC,EAPgB,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAOrC"}
File without changes
@@ -1 +1 @@
1
- {"version":3,"file":"Interfaces.js","sourceRoot":"","sources":["../../../pagination/Interfaces.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"Interfaces.js","sourceRoot":"","sources":["../../src/pagination/Interfaces.ts"],"names":[],"mappings":""}
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListHumanLoops = void 0;
4
+ const ListHumanLoopsCommand_1 = require("../commands/ListHumanLoopsCommand");
4
5
  const SageMakerA2IRuntime_1 = require("../SageMakerA2IRuntime");
5
6
  const SageMakerA2IRuntimeClient_1 = require("../SageMakerA2IRuntimeClient");
6
- const ListHumanLoopsCommand_1 = require("../commands/ListHumanLoopsCommand");
7
7
  /**
8
8
  * @private
9
9
  */
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListHumanLoopsPaginator.js","sourceRoot":"","sources":["../../src/pagination/ListHumanLoopsPaginator.ts"],"names":[],"mappings":";;;AAEA,6EAI2C;AAC3C,gEAA6D;AAC7D,4EAAyE;AAGzE;;GAEG;AACH,MAAM,sBAAsB,GAAG,KAAK,EAClC,MAAiC,EACjC,KAAiC,EACjC,GAAG,IAAS,EAC0B,EAAE;IACxC,aAAa;IACb,OAAO,MAAM,MAAM,CAAC,IAAI,CAAC,IAAI,6CAAqB,CAAC,KAAK,CAAC,EAAE,GAAG,IAAI,CAAC,CAAC;AACtE,CAAC,CAAC;AACF;;GAEG;AACH,MAAM,gBAAgB,GAAG,KAAK,EAC5B,MAA2B,EAC3B,KAAiC,EACjC,GAAG,IAAS,EAC0B,EAAE;IACxC,aAAa;IACb,OAAO,MAAM,MAAM,CAAC,cAAc,CAAC,KAAK,EAAE,GAAG,IAAI,CAAC,CAAC;AACrD,CAAC,CAAC;AACK,KAAK,SAAS,CAAC,CAAC,sBAAsB,CAC3C,MAAkD,EAClD,KAAiC,EACjC,GAAG,mBAAwB;IAE3B,mEAAmE;IACnE,IAAI,KAAK,GAAuC,MAAM,CAAC,aAAa,IAAI,SAAS,CAAC;IAClF,IAAI,OAAO,GAAG,IAAI,CAAC;IACnB,IAAI,IAAiC,CAAC;IACtC,OAAO,OAAO,EAAE;QACd,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC;QACxB,KAAK,CAAC,YAAY,CAAC,GAAG,MAAM,CAAC,QAAQ,CAAC;QACtC,IAAI,MAAM,CAAC,MAAM,YAAY,yCAAmB,EAAE;YAChD,IAAI,GAAG,MAAM,gBAAgB,CAAC,MAAM,CAAC,MAAM,EAAE,KAAK,EAAE,GAAG,mBAAmB,CAAC,CAAC;SAC7E;aAAM,IAAI,MAAM,CAAC,MAAM,YAAY,qDAAyB,EAAE;YAC7D,IAAI,GAAG,MAAM,sBAAsB,CAAC,MAAM,CAAC,MAAM,EAAE,KAAK,EAAE,GAAG,mBAAmB,CAAC,CAAC;SACnF;aAAM;YACL,MAAM,IAAI,KAAK,CAAC,0EAA0E,CAAC,CAAC;SAC7F;QACD,MAAM,IAAI,CAAC;QACX,KAAK,GAAG,IAAI,CAAC,SAAS,CAAC;QACvB,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC;KACnB;IACD,aAAa;IACb,OAAO,SAAS,CAAC;AACnB,CAAC;AAzBD,wDAyBC"}
@@ -12,7 +12,7 @@ const serializeAws_restJson1DeleteHumanLoopCommand = async (input, context) => {
12
12
  if (labelValue.length <= 0) {
13
13
  throw new Error("Empty value provided for input HTTP label: HumanLoopName.");
14
14
  }
15
- resolvedPath = resolvedPath.replace("{HumanLoopName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
15
+ resolvedPath = resolvedPath.replace("{HumanLoopName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
16
16
  }
17
17
  else {
18
18
  throw new Error("No value provided for input HTTP label: HumanLoopName.");
@@ -38,7 +38,7 @@ const serializeAws_restJson1DescribeHumanLoopCommand = async (input, context) =>
38
38
  if (labelValue.length <= 0) {
39
39
  throw new Error("Empty value provided for input HTTP label: HumanLoopName.");
40
40
  }
41
- resolvedPath = resolvedPath.replace("{HumanLoopName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
41
+ resolvedPath = resolvedPath.replace("{HumanLoopName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
42
42
  }
43
43
  else {
44
44
  throw new Error("No value provided for input HTTP label: HumanLoopName.");
@@ -58,7 +58,7 @@ exports.serializeAws_restJson1DescribeHumanLoopCommand = serializeAws_restJson1D
58
58
  const serializeAws_restJson1ListHumanLoopsCommand = async (input, context) => {
59
59
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
60
60
  const headers = {};
61
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/human-loops";
61
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/human-loops";
62
62
  const query = {
63
63
  ...(input.CreationTimeAfter !== undefined && {
64
64
  CreationTimeAfter: (input.CreationTimeAfter.toISOString().split(".")[0] + "Z").toString(),
@@ -89,7 +89,7 @@ const serializeAws_restJson1StartHumanLoopCommand = async (input, context) => {
89
89
  const headers = {
90
90
  "content-type": "application/json",
91
91
  };
92
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/human-loops";
92
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/human-loops";
93
93
  let body;
94
94
  body = JSON.stringify({
95
95
  ...(input.DataAttributes !== undefined &&
@@ -120,7 +120,7 @@ const serializeAws_restJson1StopHumanLoopCommand = async (input, context) => {
120
120
  const headers = {
121
121
  "content-type": "application/json",
122
122
  };
123
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/human-loops/stop";
123
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/human-loops/stop";
124
124
  let body;
125
125
  body = JSON.stringify({
126
126
  ...(input.HumanLoopName !== undefined && input.HumanLoopName !== null && { HumanLoopName: input.HumanLoopName }),
@@ -219,30 +219,30 @@ const deserializeAws_restJson1DescribeHumanLoopCommand = async (output, context)
219
219
  HumanLoopOutput: undefined,
220
220
  HumanLoopStatus: undefined,
221
221
  };
222
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
222
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
223
223
  if (data.CreationTime !== undefined && data.CreationTime !== null) {
224
- contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreationTime)));
224
+ contents.CreationTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreationTime)));
225
225
  }
226
226
  if (data.FailureCode !== undefined && data.FailureCode !== null) {
227
- contents.FailureCode = (0, smithy_client_1.expectString)(data.FailureCode);
227
+ contents.FailureCode = smithy_client_1.expectString(data.FailureCode);
228
228
  }
229
229
  if (data.FailureReason !== undefined && data.FailureReason !== null) {
230
- contents.FailureReason = (0, smithy_client_1.expectString)(data.FailureReason);
230
+ contents.FailureReason = smithy_client_1.expectString(data.FailureReason);
231
231
  }
232
232
  if (data.FlowDefinitionArn !== undefined && data.FlowDefinitionArn !== null) {
233
- contents.FlowDefinitionArn = (0, smithy_client_1.expectString)(data.FlowDefinitionArn);
233
+ contents.FlowDefinitionArn = smithy_client_1.expectString(data.FlowDefinitionArn);
234
234
  }
235
235
  if (data.HumanLoopArn !== undefined && data.HumanLoopArn !== null) {
236
- contents.HumanLoopArn = (0, smithy_client_1.expectString)(data.HumanLoopArn);
236
+ contents.HumanLoopArn = smithy_client_1.expectString(data.HumanLoopArn);
237
237
  }
238
238
  if (data.HumanLoopName !== undefined && data.HumanLoopName !== null) {
239
- contents.HumanLoopName = (0, smithy_client_1.expectString)(data.HumanLoopName);
239
+ contents.HumanLoopName = smithy_client_1.expectString(data.HumanLoopName);
240
240
  }
241
241
  if (data.HumanLoopOutput !== undefined && data.HumanLoopOutput !== null) {
242
242
  contents.HumanLoopOutput = deserializeAws_restJson1HumanLoopOutput(data.HumanLoopOutput, context);
243
243
  }
244
244
  if (data.HumanLoopStatus !== undefined && data.HumanLoopStatus !== null) {
245
- contents.HumanLoopStatus = (0, smithy_client_1.expectString)(data.HumanLoopStatus);
245
+ contents.HumanLoopStatus = smithy_client_1.expectString(data.HumanLoopStatus);
246
246
  }
247
247
  return Promise.resolve(contents);
248
248
  };
@@ -313,12 +313,12 @@ const deserializeAws_restJson1ListHumanLoopsCommand = async (output, context) =>
313
313
  HumanLoopSummaries: undefined,
314
314
  NextToken: undefined,
315
315
  };
316
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
316
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
317
317
  if (data.HumanLoopSummaries !== undefined && data.HumanLoopSummaries !== null) {
318
318
  contents.HumanLoopSummaries = deserializeAws_restJson1HumanLoopSummaries(data.HumanLoopSummaries, context);
319
319
  }
320
320
  if (data.NextToken !== undefined && data.NextToken !== null) {
321
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
321
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
322
322
  }
323
323
  return Promise.resolve(contents);
324
324
  };
@@ -388,9 +388,9 @@ const deserializeAws_restJson1StartHumanLoopCommand = async (output, context) =>
388
388
  $metadata: deserializeMetadata(output),
389
389
  HumanLoopArn: undefined,
390
390
  };
391
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
391
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
392
392
  if (data.HumanLoopArn !== undefined && data.HumanLoopArn !== null) {
393
- contents.HumanLoopArn = (0, smithy_client_1.expectString)(data.HumanLoopArn);
393
+ contents.HumanLoopArn = smithy_client_1.expectString(data.HumanLoopArn);
394
394
  }
395
395
  return Promise.resolve(contents);
396
396
  };
@@ -537,7 +537,7 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
537
537
  };
538
538
  const data = parsedOutput.body;
539
539
  if (data.Message !== undefined && data.Message !== null) {
540
- contents.Message = (0, smithy_client_1.expectString)(data.Message);
540
+ contents.Message = smithy_client_1.expectString(data.Message);
541
541
  }
542
542
  return contents;
543
543
  };
@@ -550,7 +550,7 @@ const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOut
550
550
  };
551
551
  const data = parsedOutput.body;
552
552
  if (data.Message !== undefined && data.Message !== null) {
553
- contents.Message = (0, smithy_client_1.expectString)(data.Message);
553
+ contents.Message = smithy_client_1.expectString(data.Message);
554
554
  }
555
555
  return contents;
556
556
  };
@@ -563,7 +563,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
563
563
  };
564
564
  const data = parsedOutput.body;
565
565
  if (data.Message !== undefined && data.Message !== null) {
566
- contents.Message = (0, smithy_client_1.expectString)(data.Message);
566
+ contents.Message = smithy_client_1.expectString(data.Message);
567
567
  }
568
568
  return contents;
569
569
  };
@@ -576,7 +576,7 @@ const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (par
576
576
  };
577
577
  const data = parsedOutput.body;
578
578
  if (data.Message !== undefined && data.Message !== null) {
579
- contents.Message = (0, smithy_client_1.expectString)(data.Message);
579
+ contents.Message = smithy_client_1.expectString(data.Message);
580
580
  }
581
581
  return contents;
582
582
  };
@@ -589,7 +589,7 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
589
589
  };
590
590
  const data = parsedOutput.body;
591
591
  if (data.Message !== undefined && data.Message !== null) {
592
- contents.Message = (0, smithy_client_1.expectString)(data.Message);
592
+ contents.Message = smithy_client_1.expectString(data.Message);
593
593
  }
594
594
  return contents;
595
595
  };
@@ -602,7 +602,7 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
602
602
  };
603
603
  const data = parsedOutput.body;
604
604
  if (data.Message !== undefined && data.Message !== null) {
605
- contents.Message = (0, smithy_client_1.expectString)(data.Message);
605
+ contents.Message = smithy_client_1.expectString(data.Message);
606
606
  }
607
607
  return contents;
608
608
  };
@@ -631,7 +631,7 @@ const serializeAws_restJson1HumanLoopInput = (input, context) => {
631
631
  };
632
632
  const deserializeAws_restJson1HumanLoopOutput = (output, context) => {
633
633
  return {
634
- OutputS3Uri: (0, smithy_client_1.expectString)(output.OutputS3Uri),
634
+ OutputS3Uri: smithy_client_1.expectString(output.OutputS3Uri),
635
635
  };
636
636
  };
637
637
  const deserializeAws_restJson1HumanLoopSummaries = (output, context) => {
@@ -647,12 +647,12 @@ const deserializeAws_restJson1HumanLoopSummaries = (output, context) => {
647
647
  const deserializeAws_restJson1HumanLoopSummary = (output, context) => {
648
648
  return {
649
649
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
650
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
650
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
651
651
  : undefined,
652
- FailureReason: (0, smithy_client_1.expectString)(output.FailureReason),
653
- FlowDefinitionArn: (0, smithy_client_1.expectString)(output.FlowDefinitionArn),
654
- HumanLoopName: (0, smithy_client_1.expectString)(output.HumanLoopName),
655
- HumanLoopStatus: (0, smithy_client_1.expectString)(output.HumanLoopStatus),
652
+ FailureReason: smithy_client_1.expectString(output.FailureReason),
653
+ FlowDefinitionArn: smithy_client_1.expectString(output.FlowDefinitionArn),
654
+ HumanLoopName: smithy_client_1.expectString(output.HumanLoopName),
655
+ HumanLoopStatus: smithy_client_1.expectString(output.HumanLoopStatus),
656
656
  };
657
657
  };
658
658
  const deserializeMetadata = (output) => {