@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,300 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DevOpsAgentClient";
4
+ import type { AssociateServiceInput, AssociateServiceOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link AssociateServiceCommand}.
14
+ */
15
+ export interface AssociateServiceCommandInput extends AssociateServiceInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link AssociateServiceCommand}.
21
+ */
22
+ export interface AssociateServiceCommandOutput extends AssociateServiceOutput, __MetadataBearer {
23
+ }
24
+ declare const AssociateServiceCommand_base: {
25
+ new (input: AssociateServiceCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateServiceCommandInput, AssociateServiceCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: AssociateServiceCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateServiceCommandInput, AssociateServiceCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Adds a specific service association to an AgentSpace. It overwrites the existing association of the same service. Returns 201 Created on success.
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { DevOpsAgentClient, AssociateServiceCommand } from "@aws-sdk/client-devops-agent"; // ES Modules import
35
+ * // const { DevOpsAgentClient, AssociateServiceCommand } = require("@aws-sdk/client-devops-agent"); // CommonJS import
36
+ * // import type { DevOpsAgentClientConfig } from "@aws-sdk/client-devops-agent";
37
+ * const config = {}; // type is DevOpsAgentClientConfig
38
+ * const client = new DevOpsAgentClient(config);
39
+ * const input = { // AssociateServiceInput
40
+ * agentSpaceId: "STRING_VALUE", // required
41
+ * serviceId: "STRING_VALUE", // required
42
+ * configuration: { // ServiceConfiguration Union: only one key present
43
+ * sourceAws: { // SourceAwsConfiguration
44
+ * accountId: "STRING_VALUE", // required
45
+ * accountType: "source", // required
46
+ * assumableRoleArn: "STRING_VALUE", // required
47
+ * externalId: "STRING_VALUE",
48
+ * },
49
+ * aws: { // AWSConfiguration
50
+ * assumableRoleArn: "STRING_VALUE", // required
51
+ * accountId: "STRING_VALUE", // required
52
+ * accountType: "monitor", // required
53
+ * },
54
+ * github: { // GitHubConfiguration
55
+ * repoName: "STRING_VALUE", // required
56
+ * repoId: "STRING_VALUE", // required
57
+ * owner: "STRING_VALUE", // required
58
+ * ownerType: "organization" || "user", // required
59
+ * instanceIdentifier: "STRING_VALUE",
60
+ * },
61
+ * slack: { // SlackConfiguration
62
+ * workspaceId: "STRING_VALUE", // required
63
+ * workspaceName: "STRING_VALUE", // required
64
+ * transmissionTarget: { // SlackTransmissionTarget
65
+ * opsOncallTarget: { // SlackChannel
66
+ * channelName: "STRING_VALUE",
67
+ * channelId: "STRING_VALUE", // required
68
+ * },
69
+ * opsSRETarget: {
70
+ * channelName: "STRING_VALUE",
71
+ * channelId: "STRING_VALUE", // required
72
+ * },
73
+ * },
74
+ * },
75
+ * dynatrace: { // DynatraceConfiguration
76
+ * envId: "STRING_VALUE", // required
77
+ * resources: [ // DynatraceResourceList
78
+ * "STRING_VALUE",
79
+ * ],
80
+ * },
81
+ * servicenow: { // ServiceNowConfiguration
82
+ * instanceId: "STRING_VALUE",
83
+ * authScopes: [ // ServiceNowAuthenticationScopeList
84
+ * "STRING_VALUE",
85
+ * ],
86
+ * },
87
+ * mcpservernewrelic: { // MCPServerNewRelicConfiguration
88
+ * accountId: "STRING_VALUE", // required
89
+ * endpoint: "STRING_VALUE", // required
90
+ * },
91
+ * gitlab: { // GitLabConfiguration
92
+ * projectId: "STRING_VALUE", // required
93
+ * projectPath: "STRING_VALUE", // required
94
+ * instanceIdentifier: "STRING_VALUE",
95
+ * },
96
+ * eventChannel: {},
97
+ * azure: { // AzureConfiguration
98
+ * subscriptionId: "STRING_VALUE", // required
99
+ * },
100
+ * azuredevops: { // AzureDevOpsConfiguration
101
+ * organizationName: "STRING_VALUE", // required
102
+ * projectId: "STRING_VALUE", // required
103
+ * projectName: "STRING_VALUE", // required
104
+ * },
105
+ * mcpservergrafana: { // MCPServerGrafanaConfiguration
106
+ * endpoint: "STRING_VALUE", // required
107
+ * organizationId: "STRING_VALUE",
108
+ * tools: [ // MCPToolsList
109
+ * "STRING_VALUE",
110
+ * ],
111
+ * },
112
+ * pagerduty: { // PagerDutyConfiguration
113
+ * services: [ // PagerDutyServicesList // required
114
+ * "STRING_VALUE",
115
+ * ],
116
+ * customerEmail: "STRING_VALUE", // required
117
+ * },
118
+ * msteams: { // MSTeamsConfiguration
119
+ * teamId: "STRING_VALUE", // required
120
+ * teamName: "STRING_VALUE", // required
121
+ * transmissionTarget: { // MSTeamsTransmissionTarget
122
+ * opsOncallTarget: { // MSTeamsChannel
123
+ * channelName: "STRING_VALUE", // required
124
+ * channelId: "STRING_VALUE", // required
125
+ * },
126
+ * opsSRETarget: {
127
+ * channelName: "STRING_VALUE", // required
128
+ * channelId: "STRING_VALUE", // required
129
+ * },
130
+ * },
131
+ * },
132
+ * },
133
+ * };
134
+ * const command = new AssociateServiceCommand(input);
135
+ * const response = await client.send(command);
136
+ * // { // AssociateServiceOutput
137
+ * // association: { // Association
138
+ * // agentSpaceId: "STRING_VALUE", // required
139
+ * // createdAt: new Date("TIMESTAMP"), // required
140
+ * // updatedAt: new Date("TIMESTAMP"), // required
141
+ * // status: "valid" || "invalid" || "pending-confirmation",
142
+ * // associationId: "STRING_VALUE", // required
143
+ * // serviceId: "STRING_VALUE", // required
144
+ * // configuration: { // ServiceConfiguration Union: only one key present
145
+ * // sourceAws: { // SourceAwsConfiguration
146
+ * // accountId: "STRING_VALUE", // required
147
+ * // accountType: "source", // required
148
+ * // assumableRoleArn: "STRING_VALUE", // required
149
+ * // externalId: "STRING_VALUE",
150
+ * // },
151
+ * // aws: { // AWSConfiguration
152
+ * // assumableRoleArn: "STRING_VALUE", // required
153
+ * // accountId: "STRING_VALUE", // required
154
+ * // accountType: "monitor", // required
155
+ * // },
156
+ * // github: { // GitHubConfiguration
157
+ * // repoName: "STRING_VALUE", // required
158
+ * // repoId: "STRING_VALUE", // required
159
+ * // owner: "STRING_VALUE", // required
160
+ * // ownerType: "organization" || "user", // required
161
+ * // instanceIdentifier: "STRING_VALUE",
162
+ * // },
163
+ * // slack: { // SlackConfiguration
164
+ * // workspaceId: "STRING_VALUE", // required
165
+ * // workspaceName: "STRING_VALUE", // required
166
+ * // transmissionTarget: { // SlackTransmissionTarget
167
+ * // opsOncallTarget: { // SlackChannel
168
+ * // channelName: "STRING_VALUE",
169
+ * // channelId: "STRING_VALUE", // required
170
+ * // },
171
+ * // opsSRETarget: {
172
+ * // channelName: "STRING_VALUE",
173
+ * // channelId: "STRING_VALUE", // required
174
+ * // },
175
+ * // },
176
+ * // },
177
+ * // dynatrace: { // DynatraceConfiguration
178
+ * // envId: "STRING_VALUE", // required
179
+ * // resources: [ // DynatraceResourceList
180
+ * // "STRING_VALUE",
181
+ * // ],
182
+ * // },
183
+ * // servicenow: { // ServiceNowConfiguration
184
+ * // instanceId: "STRING_VALUE",
185
+ * // authScopes: [ // ServiceNowAuthenticationScopeList
186
+ * // "STRING_VALUE",
187
+ * // ],
188
+ * // },
189
+ * // mcpservernewrelic: { // MCPServerNewRelicConfiguration
190
+ * // accountId: "STRING_VALUE", // required
191
+ * // endpoint: "STRING_VALUE", // required
192
+ * // },
193
+ * // gitlab: { // GitLabConfiguration
194
+ * // projectId: "STRING_VALUE", // required
195
+ * // projectPath: "STRING_VALUE", // required
196
+ * // instanceIdentifier: "STRING_VALUE",
197
+ * // },
198
+ * // eventChannel: {},
199
+ * // azure: { // AzureConfiguration
200
+ * // subscriptionId: "STRING_VALUE", // required
201
+ * // },
202
+ * // azuredevops: { // AzureDevOpsConfiguration
203
+ * // organizationName: "STRING_VALUE", // required
204
+ * // projectId: "STRING_VALUE", // required
205
+ * // projectName: "STRING_VALUE", // required
206
+ * // },
207
+ * // mcpservergrafana: { // MCPServerGrafanaConfiguration
208
+ * // endpoint: "STRING_VALUE", // required
209
+ * // organizationId: "STRING_VALUE",
210
+ * // tools: [ // MCPToolsList
211
+ * // "STRING_VALUE",
212
+ * // ],
213
+ * // },
214
+ * // pagerduty: { // PagerDutyConfiguration
215
+ * // services: [ // PagerDutyServicesList // required
216
+ * // "STRING_VALUE",
217
+ * // ],
218
+ * // customerEmail: "STRING_VALUE", // required
219
+ * // },
220
+ * // msteams: { // MSTeamsConfiguration
221
+ * // teamId: "STRING_VALUE", // required
222
+ * // teamName: "STRING_VALUE", // required
223
+ * // transmissionTarget: { // MSTeamsTransmissionTarget
224
+ * // opsOncallTarget: { // MSTeamsChannel
225
+ * // channelName: "STRING_VALUE", // required
226
+ * // channelId: "STRING_VALUE", // required
227
+ * // },
228
+ * // opsSRETarget: {
229
+ * // channelName: "STRING_VALUE", // required
230
+ * // channelId: "STRING_VALUE", // required
231
+ * // },
232
+ * // },
233
+ * // },
234
+ * // },
235
+ * // },
236
+ * // webhook: { // GenericWebhook
237
+ * // webhookUrl: "STRING_VALUE",
238
+ * // webhookId: "STRING_VALUE",
239
+ * // webhookType: "hmac" || "apikey" || "gitlab" || "pagerduty",
240
+ * // webhookSecret: "STRING_VALUE",
241
+ * // apiKey: "STRING_VALUE",
242
+ * // },
243
+ * // };
244
+ *
245
+ * ```
246
+ *
247
+ * @param AssociateServiceCommandInput - {@link AssociateServiceCommandInput}
248
+ * @returns {@link AssociateServiceCommandOutput}
249
+ * @see {@link AssociateServiceCommandInput} for command's `input` shape.
250
+ * @see {@link AssociateServiceCommandOutput} for command's `response` shape.
251
+ * @see {@link DevOpsAgentClientResolvedConfig | config} for DevOpsAgentClient's `config` shape.
252
+ *
253
+ * @throws {@link ConflictException} (client fault)
254
+ * The request conflicts with the current state of the resource.
255
+ *
256
+ * @throws {@link InternalServerException} (server fault)
257
+ * This exception is thrown when an unexpected error occurs in the processing of a request.
258
+ *
259
+ * @throws {@link InvalidParameterException} (client fault)
260
+ * One or more parameters provided in the request are invalid.
261
+ *
262
+ * @throws {@link ResourceNotFoundException} (client fault)
263
+ * The requested resource could not be found.
264
+ *
265
+ * @throws {@link ThrottlingException} (client fault)
266
+ * The request was throttled due to too many requests. Please slow down and try again.
267
+ *
268
+ * @throws {@link ValidationException} (client fault)
269
+ * A standard error for input validation failures.
270
+ * This should be thrown by services when a member of the input structure
271
+ * falls outside of the modeled or documented constraints.
272
+ *
273
+ * @throws {@link AccessDeniedException} (client fault)
274
+ * Access to the requested resource is denied due to insufficient permissions.
275
+ *
276
+ * @throws {@link ContentSizeExceededException} (client fault)
277
+ * This exception is thrown when the content size exceeds the allowed limit.
278
+ *
279
+ * @throws {@link ServiceQuotaExceededException} (client fault)
280
+ * The request would exceed the service quota limit.
281
+ *
282
+ * @throws {@link DevOpsAgentServiceException}
283
+ * <p>Base exception class for all service exceptions from DevOpsAgent service.</p>
284
+ *
285
+ *
286
+ * @public
287
+ */
288
+ export declare class AssociateServiceCommand extends AssociateServiceCommand_base {
289
+ /** @internal type navigation helper, not in runtime. */
290
+ protected static __types: {
291
+ api: {
292
+ input: AssociateServiceInput;
293
+ output: AssociateServiceOutput;
294
+ };
295
+ sdk: {
296
+ input: AssociateServiceCommandInput;
297
+ output: AssociateServiceCommandOutput;
298
+ };
299
+ };
300
+ }
@@ -0,0 +1,121 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DevOpsAgentClient";
4
+ import type { CreateAgentSpaceInput, CreateAgentSpaceOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateAgentSpaceCommand}.
14
+ */
15
+ export interface CreateAgentSpaceCommandInput extends CreateAgentSpaceInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateAgentSpaceCommand}.
21
+ */
22
+ export interface CreateAgentSpaceCommandOutput extends CreateAgentSpaceOutput, __MetadataBearer {
23
+ }
24
+ declare const CreateAgentSpaceCommand_base: {
25
+ new (input: CreateAgentSpaceCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAgentSpaceCommandInput, CreateAgentSpaceCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateAgentSpaceCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAgentSpaceCommandInput, CreateAgentSpaceCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Creates a new AgentSpace with the specified name and description. Duplicate space names are allowed.
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { DevOpsAgentClient, CreateAgentSpaceCommand } from "@aws-sdk/client-devops-agent"; // ES Modules import
35
+ * // const { DevOpsAgentClient, CreateAgentSpaceCommand } = require("@aws-sdk/client-devops-agent"); // CommonJS import
36
+ * // import type { DevOpsAgentClientConfig } from "@aws-sdk/client-devops-agent";
37
+ * const config = {}; // type is DevOpsAgentClientConfig
38
+ * const client = new DevOpsAgentClient(config);
39
+ * const input = { // CreateAgentSpaceInput
40
+ * name: "STRING_VALUE", // required
41
+ * description: "STRING_VALUE",
42
+ * locale: "STRING_VALUE",
43
+ * kmsKeyArn: "STRING_VALUE",
44
+ * clientToken: "STRING_VALUE",
45
+ * tags: { // Tags
46
+ * "<keys>": "STRING_VALUE",
47
+ * },
48
+ * };
49
+ * const command = new CreateAgentSpaceCommand(input);
50
+ * const response = await client.send(command);
51
+ * // { // CreateAgentSpaceOutput
52
+ * // agentSpace: { // AgentSpace
53
+ * // name: "STRING_VALUE", // required
54
+ * // description: "STRING_VALUE",
55
+ * // locale: "STRING_VALUE",
56
+ * // createdAt: new Date("TIMESTAMP"), // required
57
+ * // updatedAt: new Date("TIMESTAMP"), // required
58
+ * // kmsKeyArn: "STRING_VALUE",
59
+ * // agentSpaceId: "STRING_VALUE", // required
60
+ * // },
61
+ * // tags: { // Tags
62
+ * // "<keys>": "STRING_VALUE",
63
+ * // },
64
+ * // };
65
+ *
66
+ * ```
67
+ *
68
+ * @param CreateAgentSpaceCommandInput - {@link CreateAgentSpaceCommandInput}
69
+ * @returns {@link CreateAgentSpaceCommandOutput}
70
+ * @see {@link CreateAgentSpaceCommandInput} for command's `input` shape.
71
+ * @see {@link CreateAgentSpaceCommandOutput} for command's `response` shape.
72
+ * @see {@link DevOpsAgentClientResolvedConfig | config} for DevOpsAgentClient's `config` shape.
73
+ *
74
+ * @throws {@link ConflictException} (client fault)
75
+ * The request conflicts with the current state of the resource.
76
+ *
77
+ * @throws {@link InternalServerException} (server fault)
78
+ * This exception is thrown when an unexpected error occurs in the processing of a request.
79
+ *
80
+ * @throws {@link InvalidParameterException} (client fault)
81
+ * One or more parameters provided in the request are invalid.
82
+ *
83
+ * @throws {@link ServiceQuotaExceededException} (client fault)
84
+ * The request would exceed the service quota limit.
85
+ *
86
+ * @throws {@link ThrottlingException} (client fault)
87
+ * The request was throttled due to too many requests. Please slow down and try again.
88
+ *
89
+ * @throws {@link ValidationException} (client fault)
90
+ * A standard error for input validation failures.
91
+ * This should be thrown by services when a member of the input structure
92
+ * falls outside of the modeled or documented constraints.
93
+ *
94
+ * @throws {@link AccessDeniedException} (client fault)
95
+ * Access to the requested resource is denied due to insufficient permissions.
96
+ *
97
+ * @throws {@link ContentSizeExceededException} (client fault)
98
+ * This exception is thrown when the content size exceeds the allowed limit.
99
+ *
100
+ * @throws {@link ResourceNotFoundException} (client fault)
101
+ * The requested resource could not be found.
102
+ *
103
+ * @throws {@link DevOpsAgentServiceException}
104
+ * <p>Base exception class for all service exceptions from DevOpsAgent service.</p>
105
+ *
106
+ *
107
+ * @public
108
+ */
109
+ export declare class CreateAgentSpaceCommand extends CreateAgentSpaceCommand_base {
110
+ /** @internal type navigation helper, not in runtime. */
111
+ protected static __types: {
112
+ api: {
113
+ input: CreateAgentSpaceInput;
114
+ output: CreateAgentSpaceOutput;
115
+ };
116
+ sdk: {
117
+ input: CreateAgentSpaceCommandInput;
118
+ output: CreateAgentSpaceCommandOutput;
119
+ };
120
+ };
121
+ }
@@ -0,0 +1,139 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DevOpsAgentClient";
4
+ import type { CreateBacklogTaskRequest, CreateBacklogTaskResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateBacklogTaskCommand}.
14
+ */
15
+ export interface CreateBacklogTaskCommandInput extends CreateBacklogTaskRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateBacklogTaskCommand}.
21
+ */
22
+ export interface CreateBacklogTaskCommandOutput extends CreateBacklogTaskResponse, __MetadataBearer {
23
+ }
24
+ declare const CreateBacklogTaskCommand_base: {
25
+ new (input: CreateBacklogTaskCommandInput): import("@smithy/smithy-client").CommandImpl<CreateBacklogTaskCommandInput, CreateBacklogTaskCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateBacklogTaskCommandInput): import("@smithy/smithy-client").CommandImpl<CreateBacklogTaskCommandInput, CreateBacklogTaskCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Creates a new backlog task in the specified agent space
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { DevOpsAgentClient, CreateBacklogTaskCommand } from "@aws-sdk/client-devops-agent"; // ES Modules import
35
+ * // const { DevOpsAgentClient, CreateBacklogTaskCommand } = require("@aws-sdk/client-devops-agent"); // CommonJS import
36
+ * // import type { DevOpsAgentClientConfig } from "@aws-sdk/client-devops-agent";
37
+ * const config = {}; // type is DevOpsAgentClientConfig
38
+ * const client = new DevOpsAgentClient(config);
39
+ * const input = { // CreateBacklogTaskRequest
40
+ * agentSpaceId: "STRING_VALUE", // required
41
+ * reference: { // ReferenceInput
42
+ * system: "STRING_VALUE", // required
43
+ * title: "STRING_VALUE",
44
+ * referenceId: "STRING_VALUE", // required
45
+ * referenceUrl: "STRING_VALUE", // required
46
+ * associationId: "STRING_VALUE", // required
47
+ * },
48
+ * taskType: "INVESTIGATION" || "EVALUATION", // required
49
+ * title: "STRING_VALUE", // required
50
+ * description: "STRING_VALUE",
51
+ * priority: "CRITICAL" || "HIGH" || "MEDIUM" || "LOW" || "MINIMAL", // required
52
+ * clientToken: "STRING_VALUE",
53
+ * };
54
+ * const command = new CreateBacklogTaskCommand(input);
55
+ * const response = await client.send(command);
56
+ * // { // CreateBacklogTaskResponse
57
+ * // task: { // Task
58
+ * // agentSpaceId: "STRING_VALUE", // required
59
+ * // taskId: "STRING_VALUE", // required
60
+ * // executionId: "STRING_VALUE",
61
+ * // title: "STRING_VALUE", // required
62
+ * // description: "STRING_VALUE",
63
+ * // reference: { // ReferenceOutput
64
+ * // system: "STRING_VALUE", // required
65
+ * // title: "STRING_VALUE",
66
+ * // referenceId: "STRING_VALUE", // required
67
+ * // referenceUrl: "STRING_VALUE", // required
68
+ * // associationId: "STRING_VALUE", // required
69
+ * // },
70
+ * // taskType: "INVESTIGATION" || "EVALUATION", // required
71
+ * // priority: "CRITICAL" || "HIGH" || "MEDIUM" || "LOW" || "MINIMAL", // required
72
+ * // status: "PENDING_TRIAGE" || "LINKED" || "PENDING_START" || "IN_PROGRESS" || "PENDING_CUSTOMER_APPROVAL" || "COMPLETED" || "FAILED" || "TIMED_OUT" || "CANCELED", // required
73
+ * // createdAt: new Date("TIMESTAMP"), // required
74
+ * // updatedAt: new Date("TIMESTAMP"), // required
75
+ * // version: Number("int"), // required
76
+ * // supportMetadata: "DOCUMENT_VALUE",
77
+ * // metadata: "DOCUMENT_VALUE",
78
+ * // primaryTaskId: "STRING_VALUE",
79
+ * // statusReason: "STRING_VALUE",
80
+ * // hasLinkedTasks: true || false,
81
+ * // },
82
+ * // };
83
+ *
84
+ * ```
85
+ *
86
+ * @param CreateBacklogTaskCommandInput - {@link CreateBacklogTaskCommandInput}
87
+ * @returns {@link CreateBacklogTaskCommandOutput}
88
+ * @see {@link CreateBacklogTaskCommandInput} for command's `input` shape.
89
+ * @see {@link CreateBacklogTaskCommandOutput} for command's `response` shape.
90
+ * @see {@link DevOpsAgentClientResolvedConfig | config} for DevOpsAgentClient's `config` shape.
91
+ *
92
+ * @throws {@link AccessDeniedException} (client fault)
93
+ * Access to the requested resource is denied due to insufficient permissions.
94
+ *
95
+ * @throws {@link ConflictException} (client fault)
96
+ * The request conflicts with the current state of the resource.
97
+ *
98
+ * @throws {@link InternalServerException} (server fault)
99
+ * This exception is thrown when an unexpected error occurs in the processing of a request.
100
+ *
101
+ * @throws {@link ResourceNotFoundException} (client fault)
102
+ * The requested resource could not be found.
103
+ *
104
+ * @throws {@link ThrottlingException} (client fault)
105
+ * The request was throttled due to too many requests. Please slow down and try again.
106
+ *
107
+ * @throws {@link ValidationException} (client fault)
108
+ * A standard error for input validation failures.
109
+ * This should be thrown by services when a member of the input structure
110
+ * falls outside of the modeled or documented constraints.
111
+ *
112
+ * @throws {@link ContentSizeExceededException} (client fault)
113
+ * This exception is thrown when the content size exceeds the allowed limit.
114
+ *
115
+ * @throws {@link InvalidParameterException} (client fault)
116
+ * One or more parameters provided in the request are invalid.
117
+ *
118
+ * @throws {@link ServiceQuotaExceededException} (client fault)
119
+ * The request would exceed the service quota limit.
120
+ *
121
+ * @throws {@link DevOpsAgentServiceException}
122
+ * <p>Base exception class for all service exceptions from DevOpsAgent service.</p>
123
+ *
124
+ *
125
+ * @public
126
+ */
127
+ export declare class CreateBacklogTaskCommand extends CreateBacklogTaskCommand_base {
128
+ /** @internal type navigation helper, not in runtime. */
129
+ protected static __types: {
130
+ api: {
131
+ input: CreateBacklogTaskRequest;
132
+ output: CreateBacklogTaskResponse;
133
+ };
134
+ sdk: {
135
+ input: CreateBacklogTaskCommandInput;
136
+ output: CreateBacklogTaskCommandOutput;
137
+ };
138
+ };
139
+ }
@@ -0,0 +1,106 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DevOpsAgentClient";
4
+ import type { CreateChatRequest, CreateChatResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateChatCommand}.
14
+ */
15
+ export interface CreateChatCommandInput extends CreateChatRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateChatCommand}.
21
+ */
22
+ export interface CreateChatCommandOutput extends CreateChatResponse, __MetadataBearer {
23
+ }
24
+ declare const CreateChatCommand_base: {
25
+ new (input: CreateChatCommandInput): import("@smithy/smithy-client").CommandImpl<CreateChatCommandInput, CreateChatCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateChatCommandInput): import("@smithy/smithy-client").CommandImpl<CreateChatCommandInput, CreateChatCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Creates a new chat execution in the specified agent space
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { DevOpsAgentClient, CreateChatCommand } from "@aws-sdk/client-devops-agent"; // ES Modules import
35
+ * // const { DevOpsAgentClient, CreateChatCommand } = require("@aws-sdk/client-devops-agent"); // CommonJS import
36
+ * // import type { DevOpsAgentClientConfig } from "@aws-sdk/client-devops-agent";
37
+ * const config = {}; // type is DevOpsAgentClientConfig
38
+ * const client = new DevOpsAgentClient(config);
39
+ * const input = { // CreateChatRequest
40
+ * agentSpaceId: "STRING_VALUE", // required
41
+ * userId: "STRING_VALUE", // required
42
+ * userType: "IAM" || "IDC" || "IDP",
43
+ * };
44
+ * const command = new CreateChatCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // CreateChatResponse
47
+ * // executionId: "STRING_VALUE", // required
48
+ * // createdAt: new Date("TIMESTAMP"), // required
49
+ * // };
50
+ *
51
+ * ```
52
+ *
53
+ * @param CreateChatCommandInput - {@link CreateChatCommandInput}
54
+ * @returns {@link CreateChatCommandOutput}
55
+ * @see {@link CreateChatCommandInput} for command's `input` shape.
56
+ * @see {@link CreateChatCommandOutput} for command's `response` shape.
57
+ * @see {@link DevOpsAgentClientResolvedConfig | config} for DevOpsAgentClient's `config` shape.
58
+ *
59
+ * @throws {@link InternalServerException} (server fault)
60
+ * This exception is thrown when an unexpected error occurs in the processing of a request.
61
+ *
62
+ * @throws {@link ResourceNotFoundException} (client fault)
63
+ * The requested resource could not be found.
64
+ *
65
+ * @throws {@link ThrottlingException} (client fault)
66
+ * The request was throttled due to too many requests. Please slow down and try again.
67
+ *
68
+ * @throws {@link ValidationException} (client fault)
69
+ * A standard error for input validation failures.
70
+ * This should be thrown by services when a member of the input structure
71
+ * falls outside of the modeled or documented constraints.
72
+ *
73
+ * @throws {@link AccessDeniedException} (client fault)
74
+ * Access to the requested resource is denied due to insufficient permissions.
75
+ *
76
+ * @throws {@link ConflictException} (client fault)
77
+ * The request conflicts with the current state of the resource.
78
+ *
79
+ * @throws {@link ContentSizeExceededException} (client fault)
80
+ * This exception is thrown when the content size exceeds the allowed limit.
81
+ *
82
+ * @throws {@link InvalidParameterException} (client fault)
83
+ * One or more parameters provided in the request are invalid.
84
+ *
85
+ * @throws {@link ServiceQuotaExceededException} (client fault)
86
+ * The request would exceed the service quota limit.
87
+ *
88
+ * @throws {@link DevOpsAgentServiceException}
89
+ * <p>Base exception class for all service exceptions from DevOpsAgent service.</p>
90
+ *
91
+ *
92
+ * @public
93
+ */
94
+ export declare class CreateChatCommand extends CreateChatCommand_base {
95
+ /** @internal type navigation helper, not in runtime. */
96
+ protected static __types: {
97
+ api: {
98
+ input: CreateChatRequest;
99
+ output: CreateChatResponse;
100
+ };
101
+ sdk: {
102
+ input: CreateChatCommandInput;
103
+ output: CreateChatCommandOutput;
104
+ };
105
+ };
106
+ }