@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,130 @@
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 { UpdateBacklogTaskRequest, UpdateBacklogTaskResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateBacklogTaskCommand}.
14
+ */
15
+ export interface UpdateBacklogTaskCommandInput extends UpdateBacklogTaskRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateBacklogTaskCommand}.
21
+ */
22
+ export interface UpdateBacklogTaskCommandOutput extends UpdateBacklogTaskResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateBacklogTaskCommand_base: {
25
+ new (input: UpdateBacklogTaskCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateBacklogTaskCommandInput, UpdateBacklogTaskCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdateBacklogTaskCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateBacklogTaskCommandInput, UpdateBacklogTaskCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Update an existing backlog task.
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { DevOpsAgentClient, UpdateBacklogTaskCommand } from "@aws-sdk/client-devops-agent"; // ES Modules import
35
+ * // const { DevOpsAgentClient, UpdateBacklogTaskCommand } = 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 = { // UpdateBacklogTaskRequest
40
+ * agentSpaceId: "STRING_VALUE", // required
41
+ * taskId: "STRING_VALUE", // required
42
+ * taskStatus: "PENDING_TRIAGE" || "LINKED" || "PENDING_START" || "IN_PROGRESS" || "PENDING_CUSTOMER_APPROVAL" || "COMPLETED" || "FAILED" || "TIMED_OUT" || "CANCELED",
43
+ * clientToken: "STRING_VALUE",
44
+ * };
45
+ * const command = new UpdateBacklogTaskCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // UpdateBacklogTaskResponse
48
+ * // task: { // Task
49
+ * // agentSpaceId: "STRING_VALUE", // required
50
+ * // taskId: "STRING_VALUE", // required
51
+ * // executionId: "STRING_VALUE",
52
+ * // title: "STRING_VALUE", // required
53
+ * // description: "STRING_VALUE",
54
+ * // reference: { // ReferenceOutput
55
+ * // system: "STRING_VALUE", // required
56
+ * // title: "STRING_VALUE",
57
+ * // referenceId: "STRING_VALUE", // required
58
+ * // referenceUrl: "STRING_VALUE", // required
59
+ * // associationId: "STRING_VALUE", // required
60
+ * // },
61
+ * // taskType: "INVESTIGATION" || "EVALUATION", // required
62
+ * // priority: "CRITICAL" || "HIGH" || "MEDIUM" || "LOW" || "MINIMAL", // required
63
+ * // status: "PENDING_TRIAGE" || "LINKED" || "PENDING_START" || "IN_PROGRESS" || "PENDING_CUSTOMER_APPROVAL" || "COMPLETED" || "FAILED" || "TIMED_OUT" || "CANCELED", // required
64
+ * // createdAt: new Date("TIMESTAMP"), // required
65
+ * // updatedAt: new Date("TIMESTAMP"), // required
66
+ * // version: Number("int"), // required
67
+ * // supportMetadata: "DOCUMENT_VALUE",
68
+ * // metadata: "DOCUMENT_VALUE",
69
+ * // primaryTaskId: "STRING_VALUE",
70
+ * // statusReason: "STRING_VALUE",
71
+ * // hasLinkedTasks: true || false,
72
+ * // },
73
+ * // };
74
+ *
75
+ * ```
76
+ *
77
+ * @param UpdateBacklogTaskCommandInput - {@link UpdateBacklogTaskCommandInput}
78
+ * @returns {@link UpdateBacklogTaskCommandOutput}
79
+ * @see {@link UpdateBacklogTaskCommandInput} for command's `input` shape.
80
+ * @see {@link UpdateBacklogTaskCommandOutput} for command's `response` shape.
81
+ * @see {@link DevOpsAgentClientResolvedConfig | config} for DevOpsAgentClient's `config` shape.
82
+ *
83
+ * @throws {@link AccessDeniedException} (client fault)
84
+ * Access to the requested resource is denied due to insufficient permissions.
85
+ *
86
+ * @throws {@link ConflictException} (client fault)
87
+ * The request conflicts with the current state of the resource.
88
+ *
89
+ * @throws {@link InternalServerException} (server fault)
90
+ * This exception is thrown when an unexpected error occurs in the processing of a request.
91
+ *
92
+ * @throws {@link ResourceNotFoundException} (client fault)
93
+ * The requested resource could not be found.
94
+ *
95
+ * @throws {@link ThrottlingException} (client fault)
96
+ * The request was throttled due to too many requests. Please slow down and try again.
97
+ *
98
+ * @throws {@link ValidationException} (client fault)
99
+ * A standard error for input validation failures.
100
+ * This should be thrown by services when a member of the input structure
101
+ * falls outside of the modeled or documented constraints.
102
+ *
103
+ * @throws {@link ContentSizeExceededException} (client fault)
104
+ * This exception is thrown when the content size exceeds the allowed limit.
105
+ *
106
+ * @throws {@link InvalidParameterException} (client fault)
107
+ * One or more parameters provided in the request are invalid.
108
+ *
109
+ * @throws {@link ServiceQuotaExceededException} (client fault)
110
+ * The request would exceed the service quota limit.
111
+ *
112
+ * @throws {@link DevOpsAgentServiceException}
113
+ * <p>Base exception class for all service exceptions from DevOpsAgent service.</p>
114
+ *
115
+ *
116
+ * @public
117
+ */
118
+ export declare class UpdateBacklogTaskCommand extends UpdateBacklogTaskCommand_base {
119
+ /** @internal type navigation helper, not in runtime. */
120
+ protected static __types: {
121
+ api: {
122
+ input: UpdateBacklogTaskRequest;
123
+ output: UpdateBacklogTaskResponse;
124
+ };
125
+ sdk: {
126
+ input: UpdateBacklogTaskCommandInput;
127
+ output: UpdateBacklogTaskCommandOutput;
128
+ };
129
+ };
130
+ }
@@ -0,0 +1,128 @@
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 { UpdateGoalRequest, UpdateGoalResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateGoalCommand}.
14
+ */
15
+ export interface UpdateGoalCommandInput extends UpdateGoalRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateGoalCommand}.
21
+ */
22
+ export interface UpdateGoalCommandOutput extends UpdateGoalResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateGoalCommand_base: {
25
+ new (input: UpdateGoalCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateGoalCommandInput, UpdateGoalCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdateGoalCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateGoalCommandInput, UpdateGoalCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Update an existing goal
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { DevOpsAgentClient, UpdateGoalCommand } from "@aws-sdk/client-devops-agent"; // ES Modules import
35
+ * // const { DevOpsAgentClient, UpdateGoalCommand } = 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 = { // UpdateGoalRequest
40
+ * agentSpaceId: "STRING_VALUE", // required
41
+ * goalId: "STRING_VALUE", // required
42
+ * evaluationSchedule: { // GoalScheduleInput
43
+ * state: "ENABLED" || "DISABLED", // required
44
+ * },
45
+ * clientToken: "STRING_VALUE",
46
+ * };
47
+ * const command = new UpdateGoalCommand(input);
48
+ * const response = await client.send(command);
49
+ * // { // UpdateGoalResponse
50
+ * // goal: { // Goal
51
+ * // agentSpaceArn: "STRING_VALUE", // required
52
+ * // goalId: "STRING_VALUE", // required
53
+ * // title: "STRING_VALUE", // required
54
+ * // content: { // GoalContent
55
+ * // description: "STRING_VALUE", // required
56
+ * // objectives: "STRING_VALUE", // required
57
+ * // },
58
+ * // status: "ACTIVE" || "PAUSED" || "COMPLETE", // required
59
+ * // goalType: "CUSTOMER_DEFINED" || "ONCALL_REPORT", // required
60
+ * // createdAt: new Date("TIMESTAMP"), // required
61
+ * // updatedAt: new Date("TIMESTAMP"), // required
62
+ * // lastEvaluatedAt: new Date("TIMESTAMP"),
63
+ * // lastTaskId: "STRING_VALUE",
64
+ * // lastSuccessfulTaskId: "STRING_VALUE",
65
+ * // version: Number("int"), // required
66
+ * // evaluationSchedule: { // GoalSchedule
67
+ * // state: "ENABLED" || "DISABLED", // required
68
+ * // expression: "STRING_VALUE",
69
+ * // },
70
+ * // },
71
+ * // };
72
+ *
73
+ * ```
74
+ *
75
+ * @param UpdateGoalCommandInput - {@link UpdateGoalCommandInput}
76
+ * @returns {@link UpdateGoalCommandOutput}
77
+ * @see {@link UpdateGoalCommandInput} for command's `input` shape.
78
+ * @see {@link UpdateGoalCommandOutput} for command's `response` shape.
79
+ * @see {@link DevOpsAgentClientResolvedConfig | config} for DevOpsAgentClient's `config` shape.
80
+ *
81
+ * @throws {@link AccessDeniedException} (client fault)
82
+ * Access to the requested resource is denied due to insufficient permissions.
83
+ *
84
+ * @throws {@link ConflictException} (client fault)
85
+ * The request conflicts with the current state of the resource.
86
+ *
87
+ * @throws {@link InternalServerException} (server fault)
88
+ * This exception is thrown when an unexpected error occurs in the processing of a request.
89
+ *
90
+ * @throws {@link ResourceNotFoundException} (client fault)
91
+ * The requested resource could not be found.
92
+ *
93
+ * @throws {@link ThrottlingException} (client fault)
94
+ * The request was throttled due to too many requests. Please slow down and try again.
95
+ *
96
+ * @throws {@link ValidationException} (client fault)
97
+ * A standard error for input validation failures.
98
+ * This should be thrown by services when a member of the input structure
99
+ * falls outside of the modeled or documented constraints.
100
+ *
101
+ * @throws {@link ContentSizeExceededException} (client fault)
102
+ * This exception is thrown when the content size exceeds the allowed limit.
103
+ *
104
+ * @throws {@link InvalidParameterException} (client fault)
105
+ * One or more parameters provided in the request are invalid.
106
+ *
107
+ * @throws {@link ServiceQuotaExceededException} (client fault)
108
+ * The request would exceed the service quota limit.
109
+ *
110
+ * @throws {@link DevOpsAgentServiceException}
111
+ * <p>Base exception class for all service exceptions from DevOpsAgent service.</p>
112
+ *
113
+ *
114
+ * @public
115
+ */
116
+ export declare class UpdateGoalCommand extends UpdateGoalCommand_base {
117
+ /** @internal type navigation helper, not in runtime. */
118
+ protected static __types: {
119
+ api: {
120
+ input: UpdateGoalRequest;
121
+ output: UpdateGoalResponse;
122
+ };
123
+ sdk: {
124
+ input: UpdateGoalCommandInput;
125
+ output: UpdateGoalCommandOutput;
126
+ };
127
+ };
128
+ }
@@ -0,0 +1,112 @@
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 { UpdateOperatorAppIdpConfigInput, UpdateOperatorAppIdpConfigOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateOperatorAppIdpConfigCommand}.
14
+ */
15
+ export interface UpdateOperatorAppIdpConfigCommandInput extends UpdateOperatorAppIdpConfigInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateOperatorAppIdpConfigCommand}.
21
+ */
22
+ export interface UpdateOperatorAppIdpConfigCommandOutput extends UpdateOperatorAppIdpConfigOutput, __MetadataBearer {
23
+ }
24
+ declare const UpdateOperatorAppIdpConfigCommand_base: {
25
+ new (input: UpdateOperatorAppIdpConfigCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateOperatorAppIdpConfigCommandInput, UpdateOperatorAppIdpConfigCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdateOperatorAppIdpConfigCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateOperatorAppIdpConfigCommandInput, UpdateOperatorAppIdpConfigCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Update the external Identity Provider configuration for the Operator App
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { DevOpsAgentClient, UpdateOperatorAppIdpConfigCommand } from "@aws-sdk/client-devops-agent"; // ES Modules import
35
+ * // const { DevOpsAgentClient, UpdateOperatorAppIdpConfigCommand } = 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 = { // UpdateOperatorAppIdpConfigInput
40
+ * agentSpaceId: "STRING_VALUE", // required
41
+ * idpClientSecret: "STRING_VALUE",
42
+ * };
43
+ * const command = new UpdateOperatorAppIdpConfigCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // UpdateOperatorAppIdpConfigOutput
46
+ * // agentSpaceId: "STRING_VALUE", // required
47
+ * // idp: { // IdpAuthConfiguration
48
+ * // issuerUrl: "STRING_VALUE", // required
49
+ * // clientId: "STRING_VALUE", // required
50
+ * // operatorAppRoleArn: "STRING_VALUE", // required
51
+ * // provider: "STRING_VALUE", // required
52
+ * // createdAt: new Date("TIMESTAMP"), // required
53
+ * // updatedAt: new Date("TIMESTAMP"),
54
+ * // },
55
+ * // };
56
+ *
57
+ * ```
58
+ *
59
+ * @param UpdateOperatorAppIdpConfigCommandInput - {@link UpdateOperatorAppIdpConfigCommandInput}
60
+ * @returns {@link UpdateOperatorAppIdpConfigCommandOutput}
61
+ * @see {@link UpdateOperatorAppIdpConfigCommandInput} for command's `input` shape.
62
+ * @see {@link UpdateOperatorAppIdpConfigCommandOutput} for command's `response` shape.
63
+ * @see {@link DevOpsAgentClientResolvedConfig | config} for DevOpsAgentClient's `config` shape.
64
+ *
65
+ * @throws {@link InternalServerException} (server fault)
66
+ * This exception is thrown when an unexpected error occurs in the processing of a request.
67
+ *
68
+ * @throws {@link ResourceNotFoundException} (client fault)
69
+ * The requested resource could not be found.
70
+ *
71
+ * @throws {@link ThrottlingException} (client fault)
72
+ * The request was throttled due to too many requests. Please slow down and try again.
73
+ *
74
+ * @throws {@link ValidationException} (client fault)
75
+ * A standard error for input validation failures.
76
+ * This should be thrown by services when a member of the input structure
77
+ * falls outside of the modeled or documented constraints.
78
+ *
79
+ * @throws {@link AccessDeniedException} (client fault)
80
+ * Access to the requested resource is denied due to insufficient permissions.
81
+ *
82
+ * @throws {@link ConflictException} (client fault)
83
+ * The request conflicts with the current state of the resource.
84
+ *
85
+ * @throws {@link ContentSizeExceededException} (client fault)
86
+ * This exception is thrown when the content size exceeds the allowed limit.
87
+ *
88
+ * @throws {@link InvalidParameterException} (client fault)
89
+ * One or more parameters provided in the request are invalid.
90
+ *
91
+ * @throws {@link ServiceQuotaExceededException} (client fault)
92
+ * The request would exceed the service quota limit.
93
+ *
94
+ * @throws {@link DevOpsAgentServiceException}
95
+ * <p>Base exception class for all service exceptions from DevOpsAgent service.</p>
96
+ *
97
+ *
98
+ * @public
99
+ */
100
+ export declare class UpdateOperatorAppIdpConfigCommand extends UpdateOperatorAppIdpConfigCommand_base {
101
+ /** @internal type navigation helper, not in runtime. */
102
+ protected static __types: {
103
+ api: {
104
+ input: UpdateOperatorAppIdpConfigInput;
105
+ output: UpdateOperatorAppIdpConfigOutput;
106
+ };
107
+ sdk: {
108
+ input: UpdateOperatorAppIdpConfigCommandInput;
109
+ output: UpdateOperatorAppIdpConfigCommandOutput;
110
+ };
111
+ };
112
+ }
@@ -0,0 +1,111 @@
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 { UpdatePrivateConnectionCertificateInput, UpdatePrivateConnectionCertificateOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdatePrivateConnectionCertificateCommand}.
14
+ */
15
+ export interface UpdatePrivateConnectionCertificateCommandInput extends UpdatePrivateConnectionCertificateInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdatePrivateConnectionCertificateCommand}.
21
+ */
22
+ export interface UpdatePrivateConnectionCertificateCommandOutput extends UpdatePrivateConnectionCertificateOutput, __MetadataBearer {
23
+ }
24
+ declare const UpdatePrivateConnectionCertificateCommand_base: {
25
+ new (input: UpdatePrivateConnectionCertificateCommandInput): import("@smithy/smithy-client").CommandImpl<UpdatePrivateConnectionCertificateCommandInput, UpdatePrivateConnectionCertificateCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdatePrivateConnectionCertificateCommandInput): import("@smithy/smithy-client").CommandImpl<UpdatePrivateConnectionCertificateCommandInput, UpdatePrivateConnectionCertificateCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Updates the certificate associated with a Private Connection.
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { DevOpsAgentClient, UpdatePrivateConnectionCertificateCommand } from "@aws-sdk/client-devops-agent"; // ES Modules import
35
+ * // const { DevOpsAgentClient, UpdatePrivateConnectionCertificateCommand } = 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 = { // UpdatePrivateConnectionCertificateInput
40
+ * name: "STRING_VALUE", // required
41
+ * certificate: "STRING_VALUE", // required
42
+ * };
43
+ * const command = new UpdatePrivateConnectionCertificateCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // UpdatePrivateConnectionCertificateOutput
46
+ * // name: "STRING_VALUE", // required
47
+ * // type: "SELF_MANAGED" || "SERVICE_MANAGED", // required
48
+ * // resourceGatewayId: "STRING_VALUE",
49
+ * // hostAddress: "STRING_VALUE",
50
+ * // vpcId: "STRING_VALUE",
51
+ * // resourceConfigurationId: "STRING_VALUE",
52
+ * // status: "ACTIVE" || "CREATE_IN_PROGRESS" || "CREATE_FAILED" || "DELETE_IN_PROGRESS" || "DELETE_FAILED", // required
53
+ * // certificateExpiryTime: new Date("TIMESTAMP"),
54
+ * // };
55
+ *
56
+ * ```
57
+ *
58
+ * @param UpdatePrivateConnectionCertificateCommandInput - {@link UpdatePrivateConnectionCertificateCommandInput}
59
+ * @returns {@link UpdatePrivateConnectionCertificateCommandOutput}
60
+ * @see {@link UpdatePrivateConnectionCertificateCommandInput} for command's `input` shape.
61
+ * @see {@link UpdatePrivateConnectionCertificateCommandOutput} for command's `response` shape.
62
+ * @see {@link DevOpsAgentClientResolvedConfig | config} for DevOpsAgentClient's `config` shape.
63
+ *
64
+ * @throws {@link AccessDeniedException} (client fault)
65
+ * Access to the requested resource is denied due to insufficient permissions.
66
+ *
67
+ * @throws {@link InternalServerException} (server fault)
68
+ * This exception is thrown when an unexpected error occurs in the processing of a request.
69
+ *
70
+ * @throws {@link ResourceNotFoundException} (client fault)
71
+ * The requested resource could not be found.
72
+ *
73
+ * @throws {@link ThrottlingException} (client fault)
74
+ * The request was throttled due to too many requests. Please slow down and try again.
75
+ *
76
+ * @throws {@link ValidationException} (client fault)
77
+ * A standard error for input validation failures.
78
+ * This should be thrown by services when a member of the input structure
79
+ * falls outside of the modeled or documented constraints.
80
+ *
81
+ * @throws {@link ConflictException} (client fault)
82
+ * The request conflicts with the current state of the resource.
83
+ *
84
+ * @throws {@link ContentSizeExceededException} (client fault)
85
+ * This exception is thrown when the content size exceeds the allowed limit.
86
+ *
87
+ * @throws {@link InvalidParameterException} (client fault)
88
+ * One or more parameters provided in the request are invalid.
89
+ *
90
+ * @throws {@link ServiceQuotaExceededException} (client fault)
91
+ * The request would exceed the service quota limit.
92
+ *
93
+ * @throws {@link DevOpsAgentServiceException}
94
+ * <p>Base exception class for all service exceptions from DevOpsAgent service.</p>
95
+ *
96
+ *
97
+ * @public
98
+ */
99
+ export declare class UpdatePrivateConnectionCertificateCommand extends UpdatePrivateConnectionCertificateCommand_base {
100
+ /** @internal type navigation helper, not in runtime. */
101
+ protected static __types: {
102
+ api: {
103
+ input: UpdatePrivateConnectionCertificateInput;
104
+ output: UpdatePrivateConnectionCertificateOutput;
105
+ };
106
+ sdk: {
107
+ input: UpdatePrivateConnectionCertificateCommandInput;
108
+ output: UpdatePrivateConnectionCertificateCommandOutput;
109
+ };
110
+ };
111
+ }
@@ -0,0 +1,124 @@
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 { UpdateRecommendationRequest, UpdateRecommendationResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateRecommendationCommand}.
14
+ */
15
+ export interface UpdateRecommendationCommandInput extends UpdateRecommendationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateRecommendationCommand}.
21
+ */
22
+ export interface UpdateRecommendationCommandOutput extends UpdateRecommendationResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateRecommendationCommand_base: {
25
+ new (input: UpdateRecommendationCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateRecommendationCommandInput, UpdateRecommendationCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdateRecommendationCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateRecommendationCommandInput, UpdateRecommendationCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Updates an existing recommendation with new content, status, or metadata
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { DevOpsAgentClient, UpdateRecommendationCommand } from "@aws-sdk/client-devops-agent"; // ES Modules import
35
+ * // const { DevOpsAgentClient, UpdateRecommendationCommand } = 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 = { // UpdateRecommendationRequest
40
+ * agentSpaceId: "STRING_VALUE", // required
41
+ * recommendationId: "STRING_VALUE", // required
42
+ * status: "PROPOSED" || "ACCEPTED" || "REJECTED" || "CLOSED" || "COMPLETED" || "UPDATE_IN_PROGRESS",
43
+ * additionalContext: "STRING_VALUE",
44
+ * clientToken: "STRING_VALUE",
45
+ * };
46
+ * const command = new UpdateRecommendationCommand(input);
47
+ * const response = await client.send(command);
48
+ * // { // UpdateRecommendationResponse
49
+ * // recommendation: { // Recommendation
50
+ * // agentSpaceArn: "STRING_VALUE", // required
51
+ * // recommendationId: "STRING_VALUE", // required
52
+ * // taskId: "STRING_VALUE", // required
53
+ * // goalId: "STRING_VALUE",
54
+ * // title: "STRING_VALUE", // required
55
+ * // content: { // RecommendationContent
56
+ * // summary: "STRING_VALUE", // required
57
+ * // spec: "STRING_VALUE",
58
+ * // },
59
+ * // status: "PROPOSED" || "ACCEPTED" || "REJECTED" || "CLOSED" || "COMPLETED" || "UPDATE_IN_PROGRESS", // required
60
+ * // priority: "HIGH" || "MEDIUM" || "LOW", // required
61
+ * // goalVersion: Number("long"),
62
+ * // additionalContext: "STRING_VALUE",
63
+ * // createdAt: new Date("TIMESTAMP"), // required
64
+ * // updatedAt: new Date("TIMESTAMP"), // required
65
+ * // version: Number("long"), // required
66
+ * // },
67
+ * // };
68
+ *
69
+ * ```
70
+ *
71
+ * @param UpdateRecommendationCommandInput - {@link UpdateRecommendationCommandInput}
72
+ * @returns {@link UpdateRecommendationCommandOutput}
73
+ * @see {@link UpdateRecommendationCommandInput} for command's `input` shape.
74
+ * @see {@link UpdateRecommendationCommandOutput} for command's `response` shape.
75
+ * @see {@link DevOpsAgentClientResolvedConfig | config} for DevOpsAgentClient's `config` shape.
76
+ *
77
+ * @throws {@link AccessDeniedException} (client fault)
78
+ * Access to the requested resource is denied due to insufficient permissions.
79
+ *
80
+ * @throws {@link ConflictException} (client fault)
81
+ * The request conflicts with the current state of the resource.
82
+ *
83
+ * @throws {@link InternalServerException} (server fault)
84
+ * This exception is thrown when an unexpected error occurs in the processing of a request.
85
+ *
86
+ * @throws {@link ResourceNotFoundException} (client fault)
87
+ * The requested resource could not be found.
88
+ *
89
+ * @throws {@link ThrottlingException} (client fault)
90
+ * The request was throttled due to too many requests. Please slow down and try again.
91
+ *
92
+ * @throws {@link ValidationException} (client fault)
93
+ * A standard error for input validation failures.
94
+ * This should be thrown by services when a member of the input structure
95
+ * falls outside of the modeled or documented constraints.
96
+ *
97
+ * @throws {@link ContentSizeExceededException} (client fault)
98
+ * This exception is thrown when the content size exceeds the allowed limit.
99
+ *
100
+ * @throws {@link InvalidParameterException} (client fault)
101
+ * One or more parameters provided in the request are invalid.
102
+ *
103
+ * @throws {@link ServiceQuotaExceededException} (client fault)
104
+ * The request would exceed the service quota limit.
105
+ *
106
+ * @throws {@link DevOpsAgentServiceException}
107
+ * <p>Base exception class for all service exceptions from DevOpsAgent service.</p>
108
+ *
109
+ *
110
+ * @public
111
+ */
112
+ export declare class UpdateRecommendationCommand extends UpdateRecommendationCommand_base {
113
+ /** @internal type navigation helper, not in runtime. */
114
+ protected static __types: {
115
+ api: {
116
+ input: UpdateRecommendationRequest;
117
+ output: UpdateRecommendationResponse;
118
+ };
119
+ sdk: {
120
+ input: UpdateRecommendationCommandInput;
121
+ output: UpdateRecommendationCommandOutput;
122
+ };
123
+ };
124
+ }