@aws-sdk/client-devops-agent 3.1020.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 (245) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +526 -0
  3. package/dist-cjs/auth/httpAuthSchemeProvider.js +46 -0
  4. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  5. package/dist-cjs/endpoint/ruleset.js +7 -0
  6. package/dist-cjs/index.js +1045 -0
  7. package/dist-cjs/models/DevOpsAgentServiceException.js +12 -0
  8. package/dist-cjs/models/errors.js +140 -0
  9. package/dist-cjs/runtimeConfig.browser.js +40 -0
  10. package/dist-cjs/runtimeConfig.js +56 -0
  11. package/dist-cjs/runtimeConfig.native.js +15 -0
  12. package/dist-cjs/runtimeConfig.shared.js +43 -0
  13. package/dist-cjs/schemas/schemas_0.js +1891 -0
  14. package/dist-es/DevOpsAgent.js +119 -0
  15. package/dist-es/DevOpsAgentClient.js +52 -0
  16. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  17. package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
  18. package/dist-es/commands/AllowVendedLogDeliveryForResourceCommand.js +16 -0
  19. package/dist-es/commands/AssociateServiceCommand.js +16 -0
  20. package/dist-es/commands/CreateAgentSpaceCommand.js +16 -0
  21. package/dist-es/commands/CreateBacklogTaskCommand.js +16 -0
  22. package/dist-es/commands/CreateChatCommand.js +16 -0
  23. package/dist-es/commands/CreatePrivateConnectionCommand.js +16 -0
  24. package/dist-es/commands/DeleteAgentSpaceCommand.js +16 -0
  25. package/dist-es/commands/DeletePrivateConnectionCommand.js +16 -0
  26. package/dist-es/commands/DeregisterServiceCommand.js +16 -0
  27. package/dist-es/commands/DescribePrivateConnectionCommand.js +16 -0
  28. package/dist-es/commands/DescribeSupportLevelCommand.js +16 -0
  29. package/dist-es/commands/DisableOperatorAppCommand.js +16 -0
  30. package/dist-es/commands/DisassociateServiceCommand.js +16 -0
  31. package/dist-es/commands/EnableOperatorAppCommand.js +16 -0
  32. package/dist-es/commands/EndChatForCaseCommand.js +16 -0
  33. package/dist-es/commands/GetAccountUsageCommand.js +16 -0
  34. package/dist-es/commands/GetAgentSpaceCommand.js +16 -0
  35. package/dist-es/commands/GetAssociationCommand.js +16 -0
  36. package/dist-es/commands/GetBacklogTaskCommand.js +16 -0
  37. package/dist-es/commands/GetOperatorAppCommand.js +16 -0
  38. package/dist-es/commands/GetRecommendationCommand.js +16 -0
  39. package/dist-es/commands/GetServiceCommand.js +16 -0
  40. package/dist-es/commands/InitiateChatForCaseCommand.js +16 -0
  41. package/dist-es/commands/ListAgentSpacesCommand.js +16 -0
  42. package/dist-es/commands/ListAssociationsCommand.js +16 -0
  43. package/dist-es/commands/ListBacklogTasksCommand.js +16 -0
  44. package/dist-es/commands/ListChatsCommand.js +16 -0
  45. package/dist-es/commands/ListExecutionsCommand.js +16 -0
  46. package/dist-es/commands/ListGoalsCommand.js +16 -0
  47. package/dist-es/commands/ListJournalRecordsCommand.js +16 -0
  48. package/dist-es/commands/ListPendingMessagesCommand.js +16 -0
  49. package/dist-es/commands/ListPrivateConnectionsCommand.js +16 -0
  50. package/dist-es/commands/ListRecommendationsCommand.js +16 -0
  51. package/dist-es/commands/ListServicesCommand.js +16 -0
  52. package/dist-es/commands/ListTagsForResourceCommand.js +16 -0
  53. package/dist-es/commands/ListWebhooksCommand.js +16 -0
  54. package/dist-es/commands/RegisterServiceCommand.js +16 -0
  55. package/dist-es/commands/SendMessageCommand.js +20 -0
  56. package/dist-es/commands/TagResourceCommand.js +16 -0
  57. package/dist-es/commands/UntagResourceCommand.js +16 -0
  58. package/dist-es/commands/UpdateAgentSpaceCommand.js +16 -0
  59. package/dist-es/commands/UpdateAssociationCommand.js +16 -0
  60. package/dist-es/commands/UpdateBacklogTaskCommand.js +16 -0
  61. package/dist-es/commands/UpdateGoalCommand.js +16 -0
  62. package/dist-es/commands/UpdateOperatorAppIdpConfigCommand.js +16 -0
  63. package/dist-es/commands/UpdatePrivateConnectionCertificateCommand.js +16 -0
  64. package/dist-es/commands/UpdateRecommendationCommand.js +16 -0
  65. package/dist-es/commands/ValidateAwsAssociationsCommand.js +16 -0
  66. package/dist-es/commands/index.js +48 -0
  67. package/dist-es/endpoint/EndpointParameters.js +11 -0
  68. package/dist-es/endpoint/endpointResolver.js +14 -0
  69. package/dist-es/endpoint/ruleset.js +4 -0
  70. package/dist-es/extensionConfiguration.js +1 -0
  71. package/dist-es/index.js +9 -0
  72. package/dist-es/models/DevOpsAgentServiceException.js +8 -0
  73. package/dist-es/models/enums.js +164 -0
  74. package/dist-es/models/errors.js +127 -0
  75. package/dist-es/models/models_0.js +1 -0
  76. package/dist-es/pagination/Interfaces.js +1 -0
  77. package/dist-es/pagination/ListAgentSpacesPaginator.js +4 -0
  78. package/dist-es/pagination/ListAssociationsPaginator.js +4 -0
  79. package/dist-es/pagination/ListBacklogTasksPaginator.js +4 -0
  80. package/dist-es/pagination/ListExecutionsPaginator.js +4 -0
  81. package/dist-es/pagination/ListGoalsPaginator.js +4 -0
  82. package/dist-es/pagination/ListJournalRecordsPaginator.js +4 -0
  83. package/dist-es/pagination/ListServicesPaginator.js +4 -0
  84. package/dist-es/pagination/index.js +8 -0
  85. package/dist-es/runtimeConfig.browser.js +35 -0
  86. package/dist-es/runtimeConfig.js +51 -0
  87. package/dist-es/runtimeConfig.native.js +11 -0
  88. package/dist-es/runtimeConfig.shared.js +39 -0
  89. package/dist-es/runtimeExtensions.js +9 -0
  90. package/dist-es/schemas/schemas_0.js +1883 -0
  91. package/dist-types/DevOpsAgent.d.ts +409 -0
  92. package/dist-types/DevOpsAgentClient.d.ts +250 -0
  93. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  94. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  95. package/dist-types/commands/AllowVendedLogDeliveryForResourceCommand.d.ts +100 -0
  96. package/dist-types/commands/AssociateServiceCommand.d.ts +300 -0
  97. package/dist-types/commands/CreateAgentSpaceCommand.d.ts +121 -0
  98. package/dist-types/commands/CreateBacklogTaskCommand.d.ts +139 -0
  99. package/dist-types/commands/CreateChatCommand.d.ts +106 -0
  100. package/dist-types/commands/CreatePrivateConnectionCommand.d.ts +138 -0
  101. package/dist-types/commands/DeleteAgentSpaceCommand.d.ts +101 -0
  102. package/dist-types/commands/DeletePrivateConnectionCommand.d.ts +104 -0
  103. package/dist-types/commands/DeregisterServiceCommand.d.ts +101 -0
  104. package/dist-types/commands/DescribePrivateConnectionCommand.d.ts +113 -0
  105. package/dist-types/commands/DescribeSupportLevelCommand.d.ts +112 -0
  106. package/dist-types/commands/DisableOperatorAppCommand.d.ts +105 -0
  107. package/dist-types/commands/DisassociateServiceCommand.d.ts +102 -0
  108. package/dist-types/commands/EnableOperatorAppCommand.d.ts +133 -0
  109. package/dist-types/commands/EndChatForCaseCommand.d.ts +109 -0
  110. package/dist-types/commands/GetAccountUsageCommand.d.ts +114 -0
  111. package/dist-types/commands/GetAgentSpaceCommand.d.ts +114 -0
  112. package/dist-types/commands/GetAssociationCommand.d.ts +202 -0
  113. package/dist-types/commands/GetBacklogTaskCommand.d.ts +128 -0
  114. package/dist-types/commands/GetOperatorAppCommand.d.ts +122 -0
  115. package/dist-types/commands/GetRecommendationCommand.d.ts +122 -0
  116. package/dist-types/commands/GetServiceCommand.d.ts +188 -0
  117. package/dist-types/commands/InitiateChatForCaseCommand.d.ts +109 -0
  118. package/dist-types/commands/ListAgentSpacesCommand.d.ts +115 -0
  119. package/dist-types/commands/ListAssociationsCommand.d.ts +207 -0
  120. package/dist-types/commands/ListBacklogTasksCommand.d.ts +148 -0
  121. package/dist-types/commands/ListChatsCommand.d.ts +114 -0
  122. package/dist-types/commands/ListExecutionsCommand.d.ts +119 -0
  123. package/dist-types/commands/ListGoalsCommand.d.ts +130 -0
  124. package/dist-types/commands/ListJournalRecordsCommand.d.ts +122 -0
  125. package/dist-types/commands/ListPendingMessagesCommand.d.ts +125 -0
  126. package/dist-types/commands/ListPrivateConnectionsCommand.d.ts +112 -0
  127. package/dist-types/commands/ListRecommendationsCommand.d.ts +129 -0
  128. package/dist-types/commands/ListServicesCommand.d.ts +190 -0
  129. package/dist-types/commands/ListTagsForResourceCommand.d.ts +105 -0
  130. package/dist-types/commands/ListWebhooksCommand.d.ts +110 -0
  131. package/dist-types/commands/RegisterServiceCommand.d.ts +347 -0
  132. package/dist-types/commands/SendMessageCommand.d.ts +166 -0
  133. package/dist-types/commands/TagResourceCommand.d.ts +104 -0
  134. package/dist-types/commands/UntagResourceCommand.d.ts +104 -0
  135. package/dist-types/commands/UpdateAgentSpaceCommand.d.ts +114 -0
  136. package/dist-types/commands/UpdateAssociationCommand.d.ts +300 -0
  137. package/dist-types/commands/UpdateBacklogTaskCommand.d.ts +130 -0
  138. package/dist-types/commands/UpdateGoalCommand.d.ts +128 -0
  139. package/dist-types/commands/UpdateOperatorAppIdpConfigCommand.d.ts +112 -0
  140. package/dist-types/commands/UpdatePrivateConnectionCertificateCommand.d.ts +111 -0
  141. package/dist-types/commands/UpdateRecommendationCommand.d.ts +124 -0
  142. package/dist-types/commands/ValidateAwsAssociationsCommand.d.ts +101 -0
  143. package/dist-types/commands/index.d.ts +48 -0
  144. package/dist-types/endpoint/EndpointParameters.d.ts +44 -0
  145. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  146. package/dist-types/endpoint/ruleset.d.ts +2 -0
  147. package/dist-types/extensionConfiguration.d.ts +9 -0
  148. package/dist-types/index.d.ts +27 -0
  149. package/dist-types/models/DevOpsAgentServiceException.d.ts +14 -0
  150. package/dist-types/models/enums.d.ts +631 -0
  151. package/dist-types/models/errors.d.ts +138 -0
  152. package/dist-types/models/models_0.d.ts +5708 -0
  153. package/dist-types/pagination/Interfaces.d.ts +8 -0
  154. package/dist-types/pagination/ListAgentSpacesPaginator.d.ts +7 -0
  155. package/dist-types/pagination/ListAssociationsPaginator.d.ts +7 -0
  156. package/dist-types/pagination/ListBacklogTasksPaginator.d.ts +7 -0
  157. package/dist-types/pagination/ListExecutionsPaginator.d.ts +7 -0
  158. package/dist-types/pagination/ListGoalsPaginator.d.ts +7 -0
  159. package/dist-types/pagination/ListJournalRecordsPaginator.d.ts +7 -0
  160. package/dist-types/pagination/ListServicesPaginator.d.ts +7 -0
  161. package/dist-types/pagination/index.d.ts +8 -0
  162. package/dist-types/runtimeConfig.browser.d.ts +56 -0
  163. package/dist-types/runtimeConfig.d.ts +56 -0
  164. package/dist-types/runtimeConfig.native.d.ts +55 -0
  165. package/dist-types/runtimeConfig.shared.d.ts +27 -0
  166. package/dist-types/runtimeExtensions.d.ts +17 -0
  167. package/dist-types/schemas/schemas_0.d.ts +271 -0
  168. package/dist-types/ts3.4/DevOpsAgent.d.ts +892 -0
  169. package/dist-types/ts3.4/DevOpsAgentClient.d.ts +414 -0
  170. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  171. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
  172. package/dist-types/ts3.4/commands/AllowVendedLogDeliveryForResourceCommand.d.ts +51 -0
  173. package/dist-types/ts3.4/commands/AssociateServiceCommand.d.ts +50 -0
  174. package/dist-types/ts3.4/commands/CreateAgentSpaceCommand.d.ts +50 -0
  175. package/dist-types/ts3.4/commands/CreateBacklogTaskCommand.d.ts +51 -0
  176. package/dist-types/ts3.4/commands/CreateChatCommand.d.ts +47 -0
  177. package/dist-types/ts3.4/commands/CreatePrivateConnectionCommand.d.ts +51 -0
  178. package/dist-types/ts3.4/commands/DeleteAgentSpaceCommand.d.ts +50 -0
  179. package/dist-types/ts3.4/commands/DeletePrivateConnectionCommand.d.ts +51 -0
  180. package/dist-types/ts3.4/commands/DeregisterServiceCommand.d.ts +50 -0
  181. package/dist-types/ts3.4/commands/DescribePrivateConnectionCommand.d.ts +51 -0
  182. package/dist-types/ts3.4/commands/DescribeSupportLevelCommand.d.ts +51 -0
  183. package/dist-types/ts3.4/commands/DisableOperatorAppCommand.d.ts +46 -0
  184. package/dist-types/ts3.4/commands/DisassociateServiceCommand.d.ts +51 -0
  185. package/dist-types/ts3.4/commands/EnableOperatorAppCommand.d.ts +50 -0
  186. package/dist-types/ts3.4/commands/EndChatForCaseCommand.d.ts +50 -0
  187. package/dist-types/ts3.4/commands/GetAccountUsageCommand.d.ts +50 -0
  188. package/dist-types/ts3.4/commands/GetAgentSpaceCommand.d.ts +47 -0
  189. package/dist-types/ts3.4/commands/GetAssociationCommand.d.ts +47 -0
  190. package/dist-types/ts3.4/commands/GetBacklogTaskCommand.d.ts +50 -0
  191. package/dist-types/ts3.4/commands/GetOperatorAppCommand.d.ts +47 -0
  192. package/dist-types/ts3.4/commands/GetRecommendationCommand.d.ts +51 -0
  193. package/dist-types/ts3.4/commands/GetServiceCommand.d.ts +47 -0
  194. package/dist-types/ts3.4/commands/InitiateChatForCaseCommand.d.ts +51 -0
  195. package/dist-types/ts3.4/commands/ListAgentSpacesCommand.d.ts +50 -0
  196. package/dist-types/ts3.4/commands/ListAssociationsCommand.d.ts +50 -0
  197. package/dist-types/ts3.4/commands/ListBacklogTasksCommand.d.ts +50 -0
  198. package/dist-types/ts3.4/commands/ListChatsCommand.d.ts +47 -0
  199. package/dist-types/ts3.4/commands/ListExecutionsCommand.d.ts +50 -0
  200. package/dist-types/ts3.4/commands/ListGoalsCommand.d.ts +47 -0
  201. package/dist-types/ts3.4/commands/ListJournalRecordsCommand.d.ts +51 -0
  202. package/dist-types/ts3.4/commands/ListPendingMessagesCommand.d.ts +51 -0
  203. package/dist-types/ts3.4/commands/ListPrivateConnectionsCommand.d.ts +51 -0
  204. package/dist-types/ts3.4/commands/ListRecommendationsCommand.d.ts +51 -0
  205. package/dist-types/ts3.4/commands/ListServicesCommand.d.ts +47 -0
  206. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
  207. package/dist-types/ts3.4/commands/ListWebhooksCommand.d.ts +47 -0
  208. package/dist-types/ts3.4/commands/RegisterServiceCommand.d.ts +50 -0
  209. package/dist-types/ts3.4/commands/SendMessageCommand.d.ts +47 -0
  210. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
  211. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
  212. package/dist-types/ts3.4/commands/UpdateAgentSpaceCommand.d.ts +50 -0
  213. package/dist-types/ts3.4/commands/UpdateAssociationCommand.d.ts +50 -0
  214. package/dist-types/ts3.4/commands/UpdateBacklogTaskCommand.d.ts +51 -0
  215. package/dist-types/ts3.4/commands/UpdateGoalCommand.d.ts +47 -0
  216. package/dist-types/ts3.4/commands/UpdateOperatorAppIdpConfigCommand.d.ts +51 -0
  217. package/dist-types/ts3.4/commands/UpdatePrivateConnectionCertificateCommand.d.ts +51 -0
  218. package/dist-types/ts3.4/commands/UpdateRecommendationCommand.d.ts +51 -0
  219. package/dist-types/ts3.4/commands/ValidateAwsAssociationsCommand.d.ts +51 -0
  220. package/dist-types/ts3.4/commands/index.d.ts +48 -0
  221. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
  222. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  223. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  224. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  225. package/dist-types/ts3.4/index.d.ts +12 -0
  226. package/dist-types/ts3.4/models/DevOpsAgentServiceException.d.ts +9 -0
  227. package/dist-types/ts3.4/models/enums.d.ts +207 -0
  228. package/dist-types/ts3.4/models/errors.d.ts +75 -0
  229. package/dist-types/ts3.4/models/models_0.d.ts +2202 -0
  230. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  231. package/dist-types/ts3.4/pagination/ListAgentSpacesPaginator.d.ts +11 -0
  232. package/dist-types/ts3.4/pagination/ListAssociationsPaginator.d.ts +11 -0
  233. package/dist-types/ts3.4/pagination/ListBacklogTasksPaginator.d.ts +11 -0
  234. package/dist-types/ts3.4/pagination/ListExecutionsPaginator.d.ts +11 -0
  235. package/dist-types/ts3.4/pagination/ListGoalsPaginator.d.ts +11 -0
  236. package/dist-types/ts3.4/pagination/ListJournalRecordsPaginator.d.ts +11 -0
  237. package/dist-types/ts3.4/pagination/ListServicesPaginator.d.ts +11 -0
  238. package/dist-types/ts3.4/pagination/index.d.ts +8 -0
  239. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +101 -0
  240. package/dist-types/ts3.4/runtimeConfig.d.ts +96 -0
  241. package/dist-types/ts3.4/runtimeConfig.native.d.ts +105 -0
  242. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +30 -0
  243. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  244. package/dist-types/ts3.4/schemas/schemas_0.d.ts +271 -0
  245. package/package.json +103 -0
@@ -0,0 +1,1045 @@
1
+ 'use strict';
2
+
3
+ var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
4
+ var middlewareLogger = require('@aws-sdk/middleware-logger');
5
+ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
6
+ var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
+ var configResolver = require('@smithy/config-resolver');
8
+ var core = require('@smithy/core');
9
+ var schema = require('@smithy/core/schema');
10
+ var eventstreamSerdeConfigResolver = require('@smithy/eventstream-serde-config-resolver');
11
+ var middlewareContentLength = require('@smithy/middleware-content-length');
12
+ var middlewareEndpoint = require('@smithy/middleware-endpoint');
13
+ var middlewareRetry = require('@smithy/middleware-retry');
14
+ var smithyClient = require('@smithy/smithy-client');
15
+ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
16
+ var runtimeConfig = require('./runtimeConfig');
17
+ var regionConfigResolver = require('@aws-sdk/region-config-resolver');
18
+ var protocolHttp = require('@smithy/protocol-http');
19
+ var schemas_0 = require('./schemas/schemas_0');
20
+ var errors = require('./models/errors');
21
+ var DevOpsAgentServiceException = require('./models/DevOpsAgentServiceException');
22
+
23
+ const resolveClientEndpointParameters = (options) => {
24
+ return Object.assign(options, {
25
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
26
+ defaultSigningName: "aidevops",
27
+ });
28
+ };
29
+ const commonParams = {
30
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
31
+ Endpoint: { type: "builtInParams", name: "endpoint" },
32
+ Region: { type: "builtInParams", name: "region" },
33
+ };
34
+
35
+ const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
36
+ const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
37
+ let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
38
+ let _credentials = runtimeConfig.credentials;
39
+ return {
40
+ setHttpAuthScheme(httpAuthScheme) {
41
+ const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
42
+ if (index === -1) {
43
+ _httpAuthSchemes.push(httpAuthScheme);
44
+ }
45
+ else {
46
+ _httpAuthSchemes.splice(index, 1, httpAuthScheme);
47
+ }
48
+ },
49
+ httpAuthSchemes() {
50
+ return _httpAuthSchemes;
51
+ },
52
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
53
+ _httpAuthSchemeProvider = httpAuthSchemeProvider;
54
+ },
55
+ httpAuthSchemeProvider() {
56
+ return _httpAuthSchemeProvider;
57
+ },
58
+ setCredentials(credentials) {
59
+ _credentials = credentials;
60
+ },
61
+ credentials() {
62
+ return _credentials;
63
+ },
64
+ };
65
+ };
66
+ const resolveHttpAuthRuntimeConfig = (config) => {
67
+ return {
68
+ httpAuthSchemes: config.httpAuthSchemes(),
69
+ httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
70
+ credentials: config.credentials(),
71
+ };
72
+ };
73
+
74
+ const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
75
+ const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
76
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
77
+ return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
78
+ };
79
+
80
+ class DevOpsAgentClient extends smithyClient.Client {
81
+ config;
82
+ constructor(...[configuration]) {
83
+ const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
84
+ super(_config_0);
85
+ this.initConfig = _config_0;
86
+ const _config_1 = resolveClientEndpointParameters(_config_0);
87
+ const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
88
+ const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
89
+ const _config_4 = configResolver.resolveRegionConfig(_config_3);
90
+ const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
91
+ const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
92
+ const _config_7 = eventstreamSerdeConfigResolver.resolveEventStreamSerdeConfig(_config_6);
93
+ const _config_8 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_7);
94
+ const _config_9 = resolveRuntimeExtensions(_config_8, configuration?.extensions || []);
95
+ this.config = _config_9;
96
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
97
+ this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
98
+ this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
99
+ this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
100
+ this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
101
+ this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
102
+ this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
103
+ this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
104
+ httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultDevOpsAgentHttpAuthSchemeParametersProvider,
105
+ identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
106
+ "aws.auth#sigv4": config.credentials,
107
+ }),
108
+ }));
109
+ this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
110
+ }
111
+ destroy() {
112
+ super.destroy();
113
+ }
114
+ }
115
+
116
+ class AllowVendedLogDeliveryForResourceCommand extends smithyClient.Command
117
+ .classBuilder()
118
+ .ep(commonParams)
119
+ .m(function (Command, cs, config, o) {
120
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
121
+ })
122
+ .s("DevOpsAgent", "AllowVendedLogDeliveryForResource", {})
123
+ .n("DevOpsAgentClient", "AllowVendedLogDeliveryForResourceCommand")
124
+ .sc(schemas_0.AllowVendedLogDeliveryForResource$)
125
+ .build() {
126
+ }
127
+
128
+ class AssociateServiceCommand extends smithyClient.Command
129
+ .classBuilder()
130
+ .ep(commonParams)
131
+ .m(function (Command, cs, config, o) {
132
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
133
+ })
134
+ .s("DevOpsAgent", "AssociateService", {})
135
+ .n("DevOpsAgentClient", "AssociateServiceCommand")
136
+ .sc(schemas_0.AssociateService$)
137
+ .build() {
138
+ }
139
+
140
+ class CreateAgentSpaceCommand extends smithyClient.Command
141
+ .classBuilder()
142
+ .ep(commonParams)
143
+ .m(function (Command, cs, config, o) {
144
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
145
+ })
146
+ .s("DevOpsAgent", "CreateAgentSpace", {})
147
+ .n("DevOpsAgentClient", "CreateAgentSpaceCommand")
148
+ .sc(schemas_0.CreateAgentSpace$)
149
+ .build() {
150
+ }
151
+
152
+ class CreateBacklogTaskCommand extends smithyClient.Command
153
+ .classBuilder()
154
+ .ep(commonParams)
155
+ .m(function (Command, cs, config, o) {
156
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
157
+ })
158
+ .s("DevOpsAgent", "CreateBacklogTask", {})
159
+ .n("DevOpsAgentClient", "CreateBacklogTaskCommand")
160
+ .sc(schemas_0.CreateBacklogTask$)
161
+ .build() {
162
+ }
163
+
164
+ class CreateChatCommand extends smithyClient.Command
165
+ .classBuilder()
166
+ .ep(commonParams)
167
+ .m(function (Command, cs, config, o) {
168
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
169
+ })
170
+ .s("DevOpsAgent", "CreateChat", {})
171
+ .n("DevOpsAgentClient", "CreateChatCommand")
172
+ .sc(schemas_0.CreateChat$)
173
+ .build() {
174
+ }
175
+
176
+ class CreatePrivateConnectionCommand extends smithyClient.Command
177
+ .classBuilder()
178
+ .ep(commonParams)
179
+ .m(function (Command, cs, config, o) {
180
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
181
+ })
182
+ .s("DevOpsAgent", "CreatePrivateConnection", {})
183
+ .n("DevOpsAgentClient", "CreatePrivateConnectionCommand")
184
+ .sc(schemas_0.CreatePrivateConnection$)
185
+ .build() {
186
+ }
187
+
188
+ class DeleteAgentSpaceCommand extends smithyClient.Command
189
+ .classBuilder()
190
+ .ep(commonParams)
191
+ .m(function (Command, cs, config, o) {
192
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
193
+ })
194
+ .s("DevOpsAgent", "DeleteAgentSpace", {})
195
+ .n("DevOpsAgentClient", "DeleteAgentSpaceCommand")
196
+ .sc(schemas_0.DeleteAgentSpace$)
197
+ .build() {
198
+ }
199
+
200
+ class DeletePrivateConnectionCommand extends smithyClient.Command
201
+ .classBuilder()
202
+ .ep(commonParams)
203
+ .m(function (Command, cs, config, o) {
204
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
205
+ })
206
+ .s("DevOpsAgent", "DeletePrivateConnection", {})
207
+ .n("DevOpsAgentClient", "DeletePrivateConnectionCommand")
208
+ .sc(schemas_0.DeletePrivateConnection$)
209
+ .build() {
210
+ }
211
+
212
+ class DeregisterServiceCommand extends smithyClient.Command
213
+ .classBuilder()
214
+ .ep(commonParams)
215
+ .m(function (Command, cs, config, o) {
216
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
217
+ })
218
+ .s("DevOpsAgent", "DeregisterService", {})
219
+ .n("DevOpsAgentClient", "DeregisterServiceCommand")
220
+ .sc(schemas_0.DeregisterService$)
221
+ .build() {
222
+ }
223
+
224
+ class DescribePrivateConnectionCommand extends smithyClient.Command
225
+ .classBuilder()
226
+ .ep(commonParams)
227
+ .m(function (Command, cs, config, o) {
228
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
229
+ })
230
+ .s("DevOpsAgent", "DescribePrivateConnection", {})
231
+ .n("DevOpsAgentClient", "DescribePrivateConnectionCommand")
232
+ .sc(schemas_0.DescribePrivateConnection$)
233
+ .build() {
234
+ }
235
+
236
+ class DescribeSupportLevelCommand extends smithyClient.Command
237
+ .classBuilder()
238
+ .ep(commonParams)
239
+ .m(function (Command, cs, config, o) {
240
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
241
+ })
242
+ .s("DevOpsAgent", "DescribeSupportLevel", {})
243
+ .n("DevOpsAgentClient", "DescribeSupportLevelCommand")
244
+ .sc(schemas_0.DescribeSupportLevel$)
245
+ .build() {
246
+ }
247
+
248
+ class DisableOperatorAppCommand extends smithyClient.Command
249
+ .classBuilder()
250
+ .ep(commonParams)
251
+ .m(function (Command, cs, config, o) {
252
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
253
+ })
254
+ .s("DevOpsAgent", "DisableOperatorApp", {})
255
+ .n("DevOpsAgentClient", "DisableOperatorAppCommand")
256
+ .sc(schemas_0.DisableOperatorApp$)
257
+ .build() {
258
+ }
259
+
260
+ class DisassociateServiceCommand extends smithyClient.Command
261
+ .classBuilder()
262
+ .ep(commonParams)
263
+ .m(function (Command, cs, config, o) {
264
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
265
+ })
266
+ .s("DevOpsAgent", "DisassociateService", {})
267
+ .n("DevOpsAgentClient", "DisassociateServiceCommand")
268
+ .sc(schemas_0.DisassociateService$)
269
+ .build() {
270
+ }
271
+
272
+ class EnableOperatorAppCommand extends smithyClient.Command
273
+ .classBuilder()
274
+ .ep(commonParams)
275
+ .m(function (Command, cs, config, o) {
276
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
277
+ })
278
+ .s("DevOpsAgent", "EnableOperatorApp", {})
279
+ .n("DevOpsAgentClient", "EnableOperatorAppCommand")
280
+ .sc(schemas_0.EnableOperatorApp$)
281
+ .build() {
282
+ }
283
+
284
+ class EndChatForCaseCommand extends smithyClient.Command
285
+ .classBuilder()
286
+ .ep(commonParams)
287
+ .m(function (Command, cs, config, o) {
288
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
289
+ })
290
+ .s("DevOpsAgent", "EndChatForCase", {})
291
+ .n("DevOpsAgentClient", "EndChatForCaseCommand")
292
+ .sc(schemas_0.EndChatForCase$)
293
+ .build() {
294
+ }
295
+
296
+ class GetAccountUsageCommand extends smithyClient.Command
297
+ .classBuilder()
298
+ .ep(commonParams)
299
+ .m(function (Command, cs, config, o) {
300
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
301
+ })
302
+ .s("DevOpsAgent", "GetAccountUsage", {})
303
+ .n("DevOpsAgentClient", "GetAccountUsageCommand")
304
+ .sc(schemas_0.GetAccountUsage$)
305
+ .build() {
306
+ }
307
+
308
+ class GetAgentSpaceCommand extends smithyClient.Command
309
+ .classBuilder()
310
+ .ep(commonParams)
311
+ .m(function (Command, cs, config, o) {
312
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
313
+ })
314
+ .s("DevOpsAgent", "GetAgentSpace", {})
315
+ .n("DevOpsAgentClient", "GetAgentSpaceCommand")
316
+ .sc(schemas_0.GetAgentSpace$)
317
+ .build() {
318
+ }
319
+
320
+ class GetAssociationCommand extends smithyClient.Command
321
+ .classBuilder()
322
+ .ep(commonParams)
323
+ .m(function (Command, cs, config, o) {
324
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
325
+ })
326
+ .s("DevOpsAgent", "GetAssociation", {})
327
+ .n("DevOpsAgentClient", "GetAssociationCommand")
328
+ .sc(schemas_0.GetAssociation$)
329
+ .build() {
330
+ }
331
+
332
+ class GetBacklogTaskCommand extends smithyClient.Command
333
+ .classBuilder()
334
+ .ep(commonParams)
335
+ .m(function (Command, cs, config, o) {
336
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
337
+ })
338
+ .s("DevOpsAgent", "GetBacklogTask", {})
339
+ .n("DevOpsAgentClient", "GetBacklogTaskCommand")
340
+ .sc(schemas_0.GetBacklogTask$)
341
+ .build() {
342
+ }
343
+
344
+ class GetOperatorAppCommand extends smithyClient.Command
345
+ .classBuilder()
346
+ .ep(commonParams)
347
+ .m(function (Command, cs, config, o) {
348
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
349
+ })
350
+ .s("DevOpsAgent", "GetOperatorApp", {})
351
+ .n("DevOpsAgentClient", "GetOperatorAppCommand")
352
+ .sc(schemas_0.GetOperatorApp$)
353
+ .build() {
354
+ }
355
+
356
+ class GetRecommendationCommand extends smithyClient.Command
357
+ .classBuilder()
358
+ .ep(commonParams)
359
+ .m(function (Command, cs, config, o) {
360
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
361
+ })
362
+ .s("DevOpsAgent", "GetRecommendation", {})
363
+ .n("DevOpsAgentClient", "GetRecommendationCommand")
364
+ .sc(schemas_0.GetRecommendation$)
365
+ .build() {
366
+ }
367
+
368
+ class GetServiceCommand extends smithyClient.Command
369
+ .classBuilder()
370
+ .ep(commonParams)
371
+ .m(function (Command, cs, config, o) {
372
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
373
+ })
374
+ .s("DevOpsAgent", "GetService", {})
375
+ .n("DevOpsAgentClient", "GetServiceCommand")
376
+ .sc(schemas_0.GetService$)
377
+ .build() {
378
+ }
379
+
380
+ class InitiateChatForCaseCommand extends smithyClient.Command
381
+ .classBuilder()
382
+ .ep(commonParams)
383
+ .m(function (Command, cs, config, o) {
384
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
385
+ })
386
+ .s("DevOpsAgent", "InitiateChatForCase", {})
387
+ .n("DevOpsAgentClient", "InitiateChatForCaseCommand")
388
+ .sc(schemas_0.InitiateChatForCase$)
389
+ .build() {
390
+ }
391
+
392
+ class ListAgentSpacesCommand extends smithyClient.Command
393
+ .classBuilder()
394
+ .ep(commonParams)
395
+ .m(function (Command, cs, config, o) {
396
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
397
+ })
398
+ .s("DevOpsAgent", "ListAgentSpaces", {})
399
+ .n("DevOpsAgentClient", "ListAgentSpacesCommand")
400
+ .sc(schemas_0.ListAgentSpaces$)
401
+ .build() {
402
+ }
403
+
404
+ class ListAssociationsCommand extends smithyClient.Command
405
+ .classBuilder()
406
+ .ep(commonParams)
407
+ .m(function (Command, cs, config, o) {
408
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
409
+ })
410
+ .s("DevOpsAgent", "ListAssociations", {})
411
+ .n("DevOpsAgentClient", "ListAssociationsCommand")
412
+ .sc(schemas_0.ListAssociations$)
413
+ .build() {
414
+ }
415
+
416
+ class ListBacklogTasksCommand extends smithyClient.Command
417
+ .classBuilder()
418
+ .ep(commonParams)
419
+ .m(function (Command, cs, config, o) {
420
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
421
+ })
422
+ .s("DevOpsAgent", "ListBacklogTasks", {})
423
+ .n("DevOpsAgentClient", "ListBacklogTasksCommand")
424
+ .sc(schemas_0.ListBacklogTasks$)
425
+ .build() {
426
+ }
427
+
428
+ class ListChatsCommand extends smithyClient.Command
429
+ .classBuilder()
430
+ .ep(commonParams)
431
+ .m(function (Command, cs, config, o) {
432
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
433
+ })
434
+ .s("DevOpsAgent", "ListChats", {})
435
+ .n("DevOpsAgentClient", "ListChatsCommand")
436
+ .sc(schemas_0.ListChats$)
437
+ .build() {
438
+ }
439
+
440
+ class ListExecutionsCommand extends smithyClient.Command
441
+ .classBuilder()
442
+ .ep(commonParams)
443
+ .m(function (Command, cs, config, o) {
444
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
445
+ })
446
+ .s("DevOpsAgent", "ListExecutions", {})
447
+ .n("DevOpsAgentClient", "ListExecutionsCommand")
448
+ .sc(schemas_0.ListExecutions$)
449
+ .build() {
450
+ }
451
+
452
+ class ListGoalsCommand extends smithyClient.Command
453
+ .classBuilder()
454
+ .ep(commonParams)
455
+ .m(function (Command, cs, config, o) {
456
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
457
+ })
458
+ .s("DevOpsAgent", "ListGoals", {})
459
+ .n("DevOpsAgentClient", "ListGoalsCommand")
460
+ .sc(schemas_0.ListGoals$)
461
+ .build() {
462
+ }
463
+
464
+ class ListJournalRecordsCommand extends smithyClient.Command
465
+ .classBuilder()
466
+ .ep(commonParams)
467
+ .m(function (Command, cs, config, o) {
468
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
469
+ })
470
+ .s("DevOpsAgent", "ListJournalRecords", {})
471
+ .n("DevOpsAgentClient", "ListJournalRecordsCommand")
472
+ .sc(schemas_0.ListJournalRecords$)
473
+ .build() {
474
+ }
475
+
476
+ class ListPendingMessagesCommand extends smithyClient.Command
477
+ .classBuilder()
478
+ .ep(commonParams)
479
+ .m(function (Command, cs, config, o) {
480
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
481
+ })
482
+ .s("DevOpsAgent", "ListPendingMessages", {})
483
+ .n("DevOpsAgentClient", "ListPendingMessagesCommand")
484
+ .sc(schemas_0.ListPendingMessages$)
485
+ .build() {
486
+ }
487
+
488
+ class ListPrivateConnectionsCommand extends smithyClient.Command
489
+ .classBuilder()
490
+ .ep(commonParams)
491
+ .m(function (Command, cs, config, o) {
492
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
493
+ })
494
+ .s("DevOpsAgent", "ListPrivateConnections", {})
495
+ .n("DevOpsAgentClient", "ListPrivateConnectionsCommand")
496
+ .sc(schemas_0.ListPrivateConnections$)
497
+ .build() {
498
+ }
499
+
500
+ class ListRecommendationsCommand extends smithyClient.Command
501
+ .classBuilder()
502
+ .ep(commonParams)
503
+ .m(function (Command, cs, config, o) {
504
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
505
+ })
506
+ .s("DevOpsAgent", "ListRecommendations", {})
507
+ .n("DevOpsAgentClient", "ListRecommendationsCommand")
508
+ .sc(schemas_0.ListRecommendations$)
509
+ .build() {
510
+ }
511
+
512
+ class ListServicesCommand extends smithyClient.Command
513
+ .classBuilder()
514
+ .ep(commonParams)
515
+ .m(function (Command, cs, config, o) {
516
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
517
+ })
518
+ .s("DevOpsAgent", "ListServices", {})
519
+ .n("DevOpsAgentClient", "ListServicesCommand")
520
+ .sc(schemas_0.ListServices$)
521
+ .build() {
522
+ }
523
+
524
+ class ListTagsForResourceCommand extends smithyClient.Command
525
+ .classBuilder()
526
+ .ep(commonParams)
527
+ .m(function (Command, cs, config, o) {
528
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
529
+ })
530
+ .s("DevOpsAgent", "ListTagsForResource", {})
531
+ .n("DevOpsAgentClient", "ListTagsForResourceCommand")
532
+ .sc(schemas_0.ListTagsForResource$)
533
+ .build() {
534
+ }
535
+
536
+ class ListWebhooksCommand extends smithyClient.Command
537
+ .classBuilder()
538
+ .ep(commonParams)
539
+ .m(function (Command, cs, config, o) {
540
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
541
+ })
542
+ .s("DevOpsAgent", "ListWebhooks", {})
543
+ .n("DevOpsAgentClient", "ListWebhooksCommand")
544
+ .sc(schemas_0.ListWebhooks$)
545
+ .build() {
546
+ }
547
+
548
+ class RegisterServiceCommand extends smithyClient.Command
549
+ .classBuilder()
550
+ .ep(commonParams)
551
+ .m(function (Command, cs, config, o) {
552
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
553
+ })
554
+ .s("DevOpsAgent", "RegisterService", {})
555
+ .n("DevOpsAgentClient", "RegisterServiceCommand")
556
+ .sc(schemas_0.RegisterService$)
557
+ .build() {
558
+ }
559
+
560
+ class SendMessageCommand extends smithyClient.Command
561
+ .classBuilder()
562
+ .ep(commonParams)
563
+ .m(function (Command, cs, config, o) {
564
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
565
+ })
566
+ .s("DevOpsAgent", "SendMessage", {
567
+ eventStream: {
568
+ output: true,
569
+ },
570
+ })
571
+ .n("DevOpsAgentClient", "SendMessageCommand")
572
+ .sc(schemas_0.SendMessage$)
573
+ .build() {
574
+ }
575
+
576
+ class TagResourceCommand extends smithyClient.Command
577
+ .classBuilder()
578
+ .ep(commonParams)
579
+ .m(function (Command, cs, config, o) {
580
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
581
+ })
582
+ .s("DevOpsAgent", "TagResource", {})
583
+ .n("DevOpsAgentClient", "TagResourceCommand")
584
+ .sc(schemas_0.TagResource$)
585
+ .build() {
586
+ }
587
+
588
+ class UntagResourceCommand extends smithyClient.Command
589
+ .classBuilder()
590
+ .ep(commonParams)
591
+ .m(function (Command, cs, config, o) {
592
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
593
+ })
594
+ .s("DevOpsAgent", "UntagResource", {})
595
+ .n("DevOpsAgentClient", "UntagResourceCommand")
596
+ .sc(schemas_0.UntagResource$)
597
+ .build() {
598
+ }
599
+
600
+ class UpdateAgentSpaceCommand extends smithyClient.Command
601
+ .classBuilder()
602
+ .ep(commonParams)
603
+ .m(function (Command, cs, config, o) {
604
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
605
+ })
606
+ .s("DevOpsAgent", "UpdateAgentSpace", {})
607
+ .n("DevOpsAgentClient", "UpdateAgentSpaceCommand")
608
+ .sc(schemas_0.UpdateAgentSpace$)
609
+ .build() {
610
+ }
611
+
612
+ class UpdateAssociationCommand extends smithyClient.Command
613
+ .classBuilder()
614
+ .ep(commonParams)
615
+ .m(function (Command, cs, config, o) {
616
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
617
+ })
618
+ .s("DevOpsAgent", "UpdateAssociation", {})
619
+ .n("DevOpsAgentClient", "UpdateAssociationCommand")
620
+ .sc(schemas_0.UpdateAssociation$)
621
+ .build() {
622
+ }
623
+
624
+ class UpdateBacklogTaskCommand extends smithyClient.Command
625
+ .classBuilder()
626
+ .ep(commonParams)
627
+ .m(function (Command, cs, config, o) {
628
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
629
+ })
630
+ .s("DevOpsAgent", "UpdateBacklogTask", {})
631
+ .n("DevOpsAgentClient", "UpdateBacklogTaskCommand")
632
+ .sc(schemas_0.UpdateBacklogTask$)
633
+ .build() {
634
+ }
635
+
636
+ class UpdateGoalCommand extends smithyClient.Command
637
+ .classBuilder()
638
+ .ep(commonParams)
639
+ .m(function (Command, cs, config, o) {
640
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
641
+ })
642
+ .s("DevOpsAgent", "UpdateGoal", {})
643
+ .n("DevOpsAgentClient", "UpdateGoalCommand")
644
+ .sc(schemas_0.UpdateGoal$)
645
+ .build() {
646
+ }
647
+
648
+ class UpdateOperatorAppIdpConfigCommand extends smithyClient.Command
649
+ .classBuilder()
650
+ .ep(commonParams)
651
+ .m(function (Command, cs, config, o) {
652
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
653
+ })
654
+ .s("DevOpsAgent", "UpdateOperatorAppIdpConfig", {})
655
+ .n("DevOpsAgentClient", "UpdateOperatorAppIdpConfigCommand")
656
+ .sc(schemas_0.UpdateOperatorAppIdpConfig$)
657
+ .build() {
658
+ }
659
+
660
+ class UpdatePrivateConnectionCertificateCommand extends smithyClient.Command
661
+ .classBuilder()
662
+ .ep(commonParams)
663
+ .m(function (Command, cs, config, o) {
664
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
665
+ })
666
+ .s("DevOpsAgent", "UpdatePrivateConnectionCertificate", {})
667
+ .n("DevOpsAgentClient", "UpdatePrivateConnectionCertificateCommand")
668
+ .sc(schemas_0.UpdatePrivateConnectionCertificate$)
669
+ .build() {
670
+ }
671
+
672
+ class UpdateRecommendationCommand extends smithyClient.Command
673
+ .classBuilder()
674
+ .ep(commonParams)
675
+ .m(function (Command, cs, config, o) {
676
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
677
+ })
678
+ .s("DevOpsAgent", "UpdateRecommendation", {})
679
+ .n("DevOpsAgentClient", "UpdateRecommendationCommand")
680
+ .sc(schemas_0.UpdateRecommendation$)
681
+ .build() {
682
+ }
683
+
684
+ class ValidateAwsAssociationsCommand extends smithyClient.Command
685
+ .classBuilder()
686
+ .ep(commonParams)
687
+ .m(function (Command, cs, config, o) {
688
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
689
+ })
690
+ .s("DevOpsAgent", "ValidateAwsAssociations", {})
691
+ .n("DevOpsAgentClient", "ValidateAwsAssociationsCommand")
692
+ .sc(schemas_0.ValidateAwsAssociations$)
693
+ .build() {
694
+ }
695
+
696
+ const paginateListAgentSpaces = core.createPaginator(DevOpsAgentClient, ListAgentSpacesCommand, "nextToken", "nextToken", "maxResults");
697
+
698
+ const paginateListAssociations = core.createPaginator(DevOpsAgentClient, ListAssociationsCommand, "nextToken", "nextToken", "maxResults");
699
+
700
+ const paginateListBacklogTasks = core.createPaginator(DevOpsAgentClient, ListBacklogTasksCommand, "nextToken", "nextToken", "limit");
701
+
702
+ const paginateListExecutions = core.createPaginator(DevOpsAgentClient, ListExecutionsCommand, "nextToken", "nextToken", "limit");
703
+
704
+ const paginateListGoals = core.createPaginator(DevOpsAgentClient, ListGoalsCommand, "nextToken", "nextToken", "limit");
705
+
706
+ const paginateListJournalRecords = core.createPaginator(DevOpsAgentClient, ListJournalRecordsCommand, "nextToken", "nextToken", "limit");
707
+
708
+ const paginateListServices = core.createPaginator(DevOpsAgentClient, ListServicesCommand, "nextToken", "nextToken", "maxResults");
709
+
710
+ const commands = {
711
+ AllowVendedLogDeliveryForResourceCommand,
712
+ AssociateServiceCommand,
713
+ CreateAgentSpaceCommand,
714
+ CreateBacklogTaskCommand,
715
+ CreateChatCommand,
716
+ CreatePrivateConnectionCommand,
717
+ DeleteAgentSpaceCommand,
718
+ DeletePrivateConnectionCommand,
719
+ DeregisterServiceCommand,
720
+ DescribePrivateConnectionCommand,
721
+ DescribeSupportLevelCommand,
722
+ DisableOperatorAppCommand,
723
+ DisassociateServiceCommand,
724
+ EnableOperatorAppCommand,
725
+ EndChatForCaseCommand,
726
+ GetAccountUsageCommand,
727
+ GetAgentSpaceCommand,
728
+ GetAssociationCommand,
729
+ GetBacklogTaskCommand,
730
+ GetOperatorAppCommand,
731
+ GetRecommendationCommand,
732
+ GetServiceCommand,
733
+ InitiateChatForCaseCommand,
734
+ ListAgentSpacesCommand,
735
+ ListAssociationsCommand,
736
+ ListBacklogTasksCommand,
737
+ ListChatsCommand,
738
+ ListExecutionsCommand,
739
+ ListGoalsCommand,
740
+ ListJournalRecordsCommand,
741
+ ListPendingMessagesCommand,
742
+ ListPrivateConnectionsCommand,
743
+ ListRecommendationsCommand,
744
+ ListServicesCommand,
745
+ ListTagsForResourceCommand,
746
+ ListWebhooksCommand,
747
+ RegisterServiceCommand,
748
+ SendMessageCommand,
749
+ TagResourceCommand,
750
+ UntagResourceCommand,
751
+ UpdateAgentSpaceCommand,
752
+ UpdateAssociationCommand,
753
+ UpdateBacklogTaskCommand,
754
+ UpdateGoalCommand,
755
+ UpdateOperatorAppIdpConfigCommand,
756
+ UpdatePrivateConnectionCertificateCommand,
757
+ UpdateRecommendationCommand,
758
+ ValidateAwsAssociationsCommand,
759
+ };
760
+ const paginators = {
761
+ paginateListAgentSpaces,
762
+ paginateListAssociations,
763
+ paginateListBacklogTasks,
764
+ paginateListExecutions,
765
+ paginateListGoals,
766
+ paginateListJournalRecords,
767
+ paginateListServices,
768
+ };
769
+ class DevOpsAgent extends DevOpsAgentClient {
770
+ }
771
+ smithyClient.createAggregatedClient(commands, DevOpsAgent, { paginators });
772
+
773
+ const GithubRepoOwnerType = {
774
+ ORGANIZATION: "organization",
775
+ USER: "user",
776
+ };
777
+ const GitLabTokenType = {
778
+ GROUP: "group",
779
+ PERSONAL: "personal",
780
+ };
781
+ const MCPServerAuthorizationMethod = {
782
+ API_KEY: "api-key",
783
+ BEARER_TOKEN: "bearer-token",
784
+ OAUTH_3LO: "oauth-3lo",
785
+ OAUTH_CLIENT_CREDENTIALS: "oauth-client-credentials",
786
+ };
787
+ const NewRelicRegion = {
788
+ EU: "EU",
789
+ US: "US",
790
+ };
791
+ const MonitorAccountType = {
792
+ MONITOR: "monitor",
793
+ };
794
+ const SourceAccountType = {
795
+ SOURCE: "source",
796
+ };
797
+ const ValidationStatus = {
798
+ INVALID: "invalid",
799
+ PENDING_CONFIRMATION: "pending-confirmation",
800
+ VALID: "valid",
801
+ };
802
+ const WebhookType = {
803
+ API_KEY: "apikey",
804
+ GITLAB: "gitlab",
805
+ HMAC: "hmac",
806
+ PAGERDUTY: "pagerduty",
807
+ };
808
+ const AuthFlow = {
809
+ IAM: "iam",
810
+ IDC: "idc",
811
+ IDP: "idp",
812
+ };
813
+ const Priority = {
814
+ CRITICAL: "CRITICAL",
815
+ HIGH: "HIGH",
816
+ LOW: "LOW",
817
+ MEDIUM: "MEDIUM",
818
+ MINIMAL: "MINIMAL",
819
+ };
820
+ const TaskType = {
821
+ EVALUATION: "EVALUATION",
822
+ INVESTIGATION: "INVESTIGATION",
823
+ };
824
+ const TaskStatus = {
825
+ CANCELED: "CANCELED",
826
+ COMPLETED: "COMPLETED",
827
+ FAILED: "FAILED",
828
+ IN_PROGRESS: "IN_PROGRESS",
829
+ LINKED: "LINKED",
830
+ PENDING_CUSTOMER_APPROVAL: "PENDING_CUSTOMER_APPROVAL",
831
+ PENDING_START: "PENDING_START",
832
+ PENDING_TRIAGE: "PENDING_TRIAGE",
833
+ TIMED_OUT: "TIMED_OUT",
834
+ };
835
+ const UserType = {
836
+ IAM: "IAM",
837
+ IDC: "IDC",
838
+ IDP: "IDP",
839
+ };
840
+ const IpAddressType = {
841
+ DUAL_STACK: "DUAL_STACK",
842
+ IPV4: "IPV4",
843
+ IPV6: "IPV6",
844
+ };
845
+ const PrivateConnectionStatus = {
846
+ ACTIVE: "ACTIVE",
847
+ CREATE_FAILED: "CREATE_FAILED",
848
+ CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
849
+ DELETE_FAILED: "DELETE_FAILED",
850
+ DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
851
+ };
852
+ const PrivateConnectionType = {
853
+ SELF_MANAGED: "SELF_MANAGED",
854
+ SERVICE_MANAGED: "SERVICE_MANAGED",
855
+ };
856
+ const RecommendationPriority = {
857
+ HIGH: "HIGH",
858
+ LOW: "LOW",
859
+ MEDIUM: "MEDIUM",
860
+ };
861
+ const RecommendationStatus = {
862
+ ACCEPTED: "ACCEPTED",
863
+ CLOSED: "CLOSED",
864
+ COMPLETED: "COMPLETED",
865
+ PROPOSED: "PROPOSED",
866
+ REJECTED: "REJECTED",
867
+ UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS",
868
+ };
869
+ const TaskSortOrder = {
870
+ ASC: "ASC",
871
+ DESC: "DESC",
872
+ };
873
+ const TaskSortField = {
874
+ CREATED_AT: "CREATED_AT",
875
+ PRIORITY: "PRIORITY",
876
+ };
877
+ const ExecutionStatus = {
878
+ CANCELED: "CANCELED",
879
+ FAILED: "FAILED",
880
+ RUNNING: "RUNNING",
881
+ STOPPED: "STOPPED",
882
+ TIMED_OUT: "TIMED_OUT",
883
+ };
884
+ const GoalType = {
885
+ CUSTOMER_DEFINED: "CUSTOMER_DEFINED",
886
+ ONCALL_REPORT: "ONCALL_REPORT",
887
+ };
888
+ const GoalStatus = {
889
+ ACTIVE: "ACTIVE",
890
+ COMPLETE: "COMPLETE",
891
+ PAUSED: "PAUSED",
892
+ };
893
+ const SchedulerState = {
894
+ DISABLED: "DISABLED",
895
+ ENABLED: "ENABLED",
896
+ };
897
+ const OrderType = {
898
+ ASC: "ASC",
899
+ DESC: "DESC",
900
+ };
901
+ const Service = {
902
+ AZURE: "azure",
903
+ AZURE_DEVOPS: "azuredevops",
904
+ AZURE_IDENTITY: "azureidentity",
905
+ DYNATRACE: "dynatrace",
906
+ EVENTCHANNEL: "eventChannel",
907
+ GITHUB: "github",
908
+ GITLAB: "gitlab",
909
+ MCP_SERVER: "mcpserver",
910
+ MCP_SERVER_DATADOG: "mcpserverdatadog",
911
+ MCP_SERVER_GRAFANA: "mcpservergrafana",
912
+ MCP_SERVER_NEWRELIC: "mcpservernewrelic",
913
+ MCP_SERVER_SIGV4: "mcpserversigv4",
914
+ MCP_SERVER_SPLUNK: "mcpserversplunk",
915
+ MS_TEAMS: "msteams",
916
+ PAGERDUTY: "pagerduty",
917
+ SERVICENOW: "servicenow",
918
+ SLACK: "slack",
919
+ };
920
+ const PostRegisterServiceSupportedService = {
921
+ AZURE_IDENTITY: "azureidentity",
922
+ DYNATRACE: "dynatrace",
923
+ EVENTCHANNEL: "eventChannel",
924
+ GITLAB: "gitlab",
925
+ MCP_SERVER: "mcpserver",
926
+ MCP_SERVER_DATADOG: "mcpserverdatadog",
927
+ MCP_SERVER_GRAFANA: "mcpservergrafana",
928
+ MCP_SERVER_NEWRELIC: "mcpservernewrelic",
929
+ MCP_SERVER_SIGV4: "mcpserversigv4",
930
+ MCP_SERVER_SPLUNK: "mcpserversplunk",
931
+ PAGERDUTY: "pagerduty",
932
+ SERVICENOW: "servicenow",
933
+ };
934
+ const EventChannelType = {
935
+ WEBHOOK: "webhook",
936
+ };
937
+
938
+ exports.$Command = smithyClient.Command;
939
+ exports.__Client = smithyClient.Client;
940
+ exports.DevOpsAgentServiceException = DevOpsAgentServiceException.DevOpsAgentServiceException;
941
+ exports.AllowVendedLogDeliveryForResourceCommand = AllowVendedLogDeliveryForResourceCommand;
942
+ exports.AssociateServiceCommand = AssociateServiceCommand;
943
+ exports.AuthFlow = AuthFlow;
944
+ exports.CreateAgentSpaceCommand = CreateAgentSpaceCommand;
945
+ exports.CreateBacklogTaskCommand = CreateBacklogTaskCommand;
946
+ exports.CreateChatCommand = CreateChatCommand;
947
+ exports.CreatePrivateConnectionCommand = CreatePrivateConnectionCommand;
948
+ exports.DeleteAgentSpaceCommand = DeleteAgentSpaceCommand;
949
+ exports.DeletePrivateConnectionCommand = DeletePrivateConnectionCommand;
950
+ exports.DeregisterServiceCommand = DeregisterServiceCommand;
951
+ exports.DescribePrivateConnectionCommand = DescribePrivateConnectionCommand;
952
+ exports.DescribeSupportLevelCommand = DescribeSupportLevelCommand;
953
+ exports.DevOpsAgent = DevOpsAgent;
954
+ exports.DevOpsAgentClient = DevOpsAgentClient;
955
+ exports.DisableOperatorAppCommand = DisableOperatorAppCommand;
956
+ exports.DisassociateServiceCommand = DisassociateServiceCommand;
957
+ exports.EnableOperatorAppCommand = EnableOperatorAppCommand;
958
+ exports.EndChatForCaseCommand = EndChatForCaseCommand;
959
+ exports.EventChannelType = EventChannelType;
960
+ exports.ExecutionStatus = ExecutionStatus;
961
+ exports.GetAccountUsageCommand = GetAccountUsageCommand;
962
+ exports.GetAgentSpaceCommand = GetAgentSpaceCommand;
963
+ exports.GetAssociationCommand = GetAssociationCommand;
964
+ exports.GetBacklogTaskCommand = GetBacklogTaskCommand;
965
+ exports.GetOperatorAppCommand = GetOperatorAppCommand;
966
+ exports.GetRecommendationCommand = GetRecommendationCommand;
967
+ exports.GetServiceCommand = GetServiceCommand;
968
+ exports.GitLabTokenType = GitLabTokenType;
969
+ exports.GithubRepoOwnerType = GithubRepoOwnerType;
970
+ exports.GoalStatus = GoalStatus;
971
+ exports.GoalType = GoalType;
972
+ exports.InitiateChatForCaseCommand = InitiateChatForCaseCommand;
973
+ exports.IpAddressType = IpAddressType;
974
+ exports.ListAgentSpacesCommand = ListAgentSpacesCommand;
975
+ exports.ListAssociationsCommand = ListAssociationsCommand;
976
+ exports.ListBacklogTasksCommand = ListBacklogTasksCommand;
977
+ exports.ListChatsCommand = ListChatsCommand;
978
+ exports.ListExecutionsCommand = ListExecutionsCommand;
979
+ exports.ListGoalsCommand = ListGoalsCommand;
980
+ exports.ListJournalRecordsCommand = ListJournalRecordsCommand;
981
+ exports.ListPendingMessagesCommand = ListPendingMessagesCommand;
982
+ exports.ListPrivateConnectionsCommand = ListPrivateConnectionsCommand;
983
+ exports.ListRecommendationsCommand = ListRecommendationsCommand;
984
+ exports.ListServicesCommand = ListServicesCommand;
985
+ exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
986
+ exports.ListWebhooksCommand = ListWebhooksCommand;
987
+ exports.MCPServerAuthorizationMethod = MCPServerAuthorizationMethod;
988
+ exports.MonitorAccountType = MonitorAccountType;
989
+ exports.NewRelicRegion = NewRelicRegion;
990
+ exports.OrderType = OrderType;
991
+ exports.PostRegisterServiceSupportedService = PostRegisterServiceSupportedService;
992
+ exports.Priority = Priority;
993
+ exports.PrivateConnectionStatus = PrivateConnectionStatus;
994
+ exports.PrivateConnectionType = PrivateConnectionType;
995
+ exports.RecommendationPriority = RecommendationPriority;
996
+ exports.RecommendationStatus = RecommendationStatus;
997
+ exports.RegisterServiceCommand = RegisterServiceCommand;
998
+ exports.SchedulerState = SchedulerState;
999
+ exports.SendMessageCommand = SendMessageCommand;
1000
+ exports.Service = Service;
1001
+ exports.SourceAccountType = SourceAccountType;
1002
+ exports.TagResourceCommand = TagResourceCommand;
1003
+ exports.TaskSortField = TaskSortField;
1004
+ exports.TaskSortOrder = TaskSortOrder;
1005
+ exports.TaskStatus = TaskStatus;
1006
+ exports.TaskType = TaskType;
1007
+ exports.UntagResourceCommand = UntagResourceCommand;
1008
+ exports.UpdateAgentSpaceCommand = UpdateAgentSpaceCommand;
1009
+ exports.UpdateAssociationCommand = UpdateAssociationCommand;
1010
+ exports.UpdateBacklogTaskCommand = UpdateBacklogTaskCommand;
1011
+ exports.UpdateGoalCommand = UpdateGoalCommand;
1012
+ exports.UpdateOperatorAppIdpConfigCommand = UpdateOperatorAppIdpConfigCommand;
1013
+ exports.UpdatePrivateConnectionCertificateCommand = UpdatePrivateConnectionCertificateCommand;
1014
+ exports.UpdateRecommendationCommand = UpdateRecommendationCommand;
1015
+ exports.UserType = UserType;
1016
+ exports.ValidateAwsAssociationsCommand = ValidateAwsAssociationsCommand;
1017
+ exports.ValidationStatus = ValidationStatus;
1018
+ exports.WebhookType = WebhookType;
1019
+ exports.paginateListAgentSpaces = paginateListAgentSpaces;
1020
+ exports.paginateListAssociations = paginateListAssociations;
1021
+ exports.paginateListBacklogTasks = paginateListBacklogTasks;
1022
+ exports.paginateListExecutions = paginateListExecutions;
1023
+ exports.paginateListGoals = paginateListGoals;
1024
+ exports.paginateListJournalRecords = paginateListJournalRecords;
1025
+ exports.paginateListServices = paginateListServices;
1026
+ Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') &&
1027
+ !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
1028
+ Object.defineProperty(exports, '__proto__', {
1029
+ enumerable: true,
1030
+ value: schemas_0['__proto__']
1031
+ });
1032
+
1033
+ Object.keys(schemas_0).forEach(function (k) {
1034
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];
1035
+ });
1036
+ Object.prototype.hasOwnProperty.call(errors, '__proto__') &&
1037
+ !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
1038
+ Object.defineProperty(exports, '__proto__', {
1039
+ enumerable: true,
1040
+ value: errors['__proto__']
1041
+ });
1042
+
1043
+ Object.keys(errors).forEach(function (k) {
1044
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];
1045
+ });