@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
package/README.md ADDED
@@ -0,0 +1,526 @@
1
+ <!-- generated file, do not edit directly -->
2
+
3
+ # @aws-sdk/client-devops-agent
4
+
5
+ ## Description
6
+
7
+ AWS SDK for JavaScript DevOpsAgent Client for Node.js, Browser and React Native.
8
+
9
+ AWS DevOps Agent is a frontier agent that resolves and proactively prevents incidents, continuously improving
10
+ reliability and performance. AWS DevOps Agent investigates incidents and identifies operational improvements as an
11
+ experienced DevOps engineer.
12
+
13
+ The agent works by:
14
+
15
+ * Learning your resources and their relationships.
16
+ * Working with your observability tools, runbooks, code repositories, and CI/CD pipelines.
17
+ * Correlating telemetry, code, and deployment data to understand relationships between your application resources.
18
+ * Supporting applications in multicloud and hybrid environments.
19
+
20
+ ## Installing
21
+
22
+ To install this package, use the CLI of your favorite package manager:
23
+
24
+ - `npm install @aws-sdk/client-devops-agent`
25
+ - `yarn add @aws-sdk/client-devops-agent`
26
+ - `pnpm add @aws-sdk/client-devops-agent`
27
+
28
+ ## Getting Started
29
+
30
+ ### Import
31
+
32
+ The AWS SDK is modulized by clients and commands.
33
+ To send a request, you only need to import the `DevOpsAgentClient` and
34
+ the commands you need, for example `ListAgentSpacesCommand`:
35
+
36
+ ```js
37
+ // ES5 example
38
+ const { DevOpsAgentClient, ListAgentSpacesCommand } = require("@aws-sdk/client-devops-agent");
39
+ ```
40
+
41
+ ```ts
42
+ // ES6+ example
43
+ import { DevOpsAgentClient, ListAgentSpacesCommand } from "@aws-sdk/client-devops-agent";
44
+ ```
45
+
46
+ ### Usage
47
+
48
+ To send a request:
49
+
50
+ - Instantiate a client with configuration (e.g. credentials, region).
51
+ - See [docs/CLIENTS](https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/CLIENTS.md) for configuration details.
52
+ - See [@aws-sdk/config](https://github.com/aws/aws-sdk-js-v3/blob/main/packages/config/README.md) for additional options.
53
+ - Instantiate a command with input parameters.
54
+ - Call the `send` operation on the client, providing the command object as input.
55
+
56
+ ```js
57
+ const client = new DevOpsAgentClient({ region: "REGION" });
58
+
59
+ const params = { /** input parameters */ };
60
+ const command = new ListAgentSpacesCommand(params);
61
+ ```
62
+
63
+ #### Async/await
64
+
65
+ We recommend using the [await](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await)
66
+ operator to wait for the promise returned by send operation as follows:
67
+
68
+ ```js
69
+ // async/await.
70
+ try {
71
+ const data = await client.send(command);
72
+ // process data.
73
+ } catch (error) {
74
+ // error handling.
75
+ } finally {
76
+ // finally.
77
+ }
78
+ ```
79
+
80
+ #### Promises
81
+
82
+ You can also use [Promise chaining](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Using_promises#chaining).
83
+
84
+ ```js
85
+ client
86
+ .send(command)
87
+ .then((data) => {
88
+ // process data.
89
+ })
90
+ .catch((error) => {
91
+ // error handling.
92
+ })
93
+ .finally(() => {
94
+ // finally.
95
+ });
96
+ ```
97
+
98
+ #### Aggregated client
99
+
100
+ The aggregated client class is exported from the same package, but without the "Client" suffix.
101
+
102
+ `DevOpsAgent` extends `DevOpsAgentClient` and additionally supports all operations, waiters, and paginators as methods.
103
+ This style may be familiar to you from the AWS SDK for JavaScript v2.
104
+
105
+ If you are bundling the AWS SDK, we recommend using only the bare-bones client (`DevOpsAgentClient`).
106
+ More details are in the blog post on
107
+ [modular packages in AWS SDK for JavaScript](https://aws.amazon.com/blogs/developer/modular-packages-in-aws-sdk-for-javascript/).
108
+
109
+ ```ts
110
+ import { DevOpsAgent } from "@aws-sdk/client-devops-agent";
111
+
112
+ const client = new DevOpsAgent({ region: "REGION" });
113
+
114
+ // async/await.
115
+ try {
116
+ const data = await client.listAgentSpaces(params);
117
+ // process data.
118
+ } catch (error) {
119
+ // error handling.
120
+ }
121
+
122
+ // Promises.
123
+ client
124
+ .listAgentSpaces(params)
125
+ .then((data) => {
126
+ // process data.
127
+ })
128
+ .catch((error) => {
129
+ // error handling.
130
+ });
131
+
132
+ // callbacks (not recommended).
133
+ client.listAgentSpaces(params, (err, data) => {
134
+ // process err and data.
135
+ });
136
+ ```
137
+
138
+ ### Troubleshooting
139
+
140
+ When the service returns an exception, the error will include the exception information,
141
+ as well as response metadata (e.g. request id).
142
+
143
+ ```js
144
+ try {
145
+ const data = await client.send(command);
146
+ // process data.
147
+ } catch (error) {
148
+ const { requestId, cfId, extendedRequestId } = error.$metadata;
149
+ console.log({ requestId, cfId, extendedRequestId });
150
+ /**
151
+ * The keys within exceptions are also parsed.
152
+ * You can access them by specifying exception names:
153
+ * if (error.name === 'SomeServiceException') {
154
+ * const value = error.specialKeyInException;
155
+ * }
156
+ */
157
+ }
158
+ ```
159
+
160
+ See also [docs/ERROR_HANDLING](https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/ERROR_HANDLING.md).
161
+
162
+ ## Getting Help
163
+
164
+ Please use these community resources for getting help.
165
+ We use GitHub issues for tracking bugs and feature requests, but have limited bandwidth to address them.
166
+
167
+ - Visit the [Developer Guide](https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/welcome.html)
168
+ or [API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/index.html).
169
+ - Check out the blog posts tagged with [`aws-sdk-js`](https://aws.amazon.com/blogs/developer/tag/aws-sdk-js/)
170
+ on AWS Developer Blog.
171
+ - Ask a question on [StackOverflow](https://stackoverflow.com/questions/tagged/aws-sdk-js) and tag it with `aws-sdk-js`.
172
+ - Join the AWS JavaScript community on [gitter](https://gitter.im/aws/aws-sdk-js-v3).
173
+ - If it turns out that you may have found a bug, please [open an issue](https://github.com/aws/aws-sdk-js-v3/issues/new/choose).
174
+
175
+ To test your universal JavaScript code in Node.js, browser and react-native environments,
176
+ visit our [code samples repo](https://github.com/aws-samples/aws-sdk-js-tests).
177
+
178
+ ## Contributing
179
+
180
+ This client code is generated automatically. Any modifications will be overwritten the next time the `@aws-sdk/client-devops-agent` package is updated.
181
+ To contribute to client you can check our [generate clients scripts](https://github.com/aws/aws-sdk-js-v3/tree/main/scripts/generate-clients).
182
+
183
+ ## License
184
+
185
+ This SDK is distributed under the
186
+ [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0),
187
+ see LICENSE for more information.
188
+
189
+ ## Client Commands (Operations List)
190
+
191
+ <details>
192
+ <summary>
193
+ AllowVendedLogDeliveryForResource
194
+ </summary>
195
+
196
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/devops-agent/command/AllowVendedLogDeliveryForResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/AllowVendedLogDeliveryForResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/AllowVendedLogDeliveryForResourceCommandOutput/)
197
+ </details>
198
+ <details>
199
+ <summary>
200
+ AssociateService
201
+ </summary>
202
+
203
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/devops-agent/command/AssociateServiceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/AssociateServiceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/AssociateServiceCommandOutput/)
204
+ </details>
205
+ <details>
206
+ <summary>
207
+ CreateAgentSpace
208
+ </summary>
209
+
210
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/devops-agent/command/CreateAgentSpaceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/CreateAgentSpaceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/CreateAgentSpaceCommandOutput/)
211
+ </details>
212
+ <details>
213
+ <summary>
214
+ CreateBacklogTask
215
+ </summary>
216
+
217
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/devops-agent/command/CreateBacklogTaskCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/CreateBacklogTaskCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/CreateBacklogTaskCommandOutput/)
218
+ </details>
219
+ <details>
220
+ <summary>
221
+ CreateChat
222
+ </summary>
223
+
224
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/devops-agent/command/CreateChatCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/CreateChatCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/CreateChatCommandOutput/)
225
+ </details>
226
+ <details>
227
+ <summary>
228
+ CreatePrivateConnection
229
+ </summary>
230
+
231
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/devops-agent/command/CreatePrivateConnectionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/CreatePrivateConnectionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/CreatePrivateConnectionCommandOutput/)
232
+ </details>
233
+ <details>
234
+ <summary>
235
+ DeleteAgentSpace
236
+ </summary>
237
+
238
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/devops-agent/command/DeleteAgentSpaceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/DeleteAgentSpaceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/DeleteAgentSpaceCommandOutput/)
239
+ </details>
240
+ <details>
241
+ <summary>
242
+ DeletePrivateConnection
243
+ </summary>
244
+
245
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/devops-agent/command/DeletePrivateConnectionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/DeletePrivateConnectionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/DeletePrivateConnectionCommandOutput/)
246
+ </details>
247
+ <details>
248
+ <summary>
249
+ DeregisterService
250
+ </summary>
251
+
252
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/devops-agent/command/DeregisterServiceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/DeregisterServiceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/DeregisterServiceCommandOutput/)
253
+ </details>
254
+ <details>
255
+ <summary>
256
+ DescribePrivateConnection
257
+ </summary>
258
+
259
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/devops-agent/command/DescribePrivateConnectionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/DescribePrivateConnectionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/DescribePrivateConnectionCommandOutput/)
260
+ </details>
261
+ <details>
262
+ <summary>
263
+ DescribeSupportLevel
264
+ </summary>
265
+
266
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/devops-agent/command/DescribeSupportLevelCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/DescribeSupportLevelCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/DescribeSupportLevelCommandOutput/)
267
+ </details>
268
+ <details>
269
+ <summary>
270
+ DisableOperatorApp
271
+ </summary>
272
+
273
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/devops-agent/command/DisableOperatorAppCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/DisableOperatorAppCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/DisableOperatorAppCommandOutput/)
274
+ </details>
275
+ <details>
276
+ <summary>
277
+ DisassociateService
278
+ </summary>
279
+
280
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/devops-agent/command/DisassociateServiceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/DisassociateServiceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/DisassociateServiceCommandOutput/)
281
+ </details>
282
+ <details>
283
+ <summary>
284
+ EnableOperatorApp
285
+ </summary>
286
+
287
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/devops-agent/command/EnableOperatorAppCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/EnableOperatorAppCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/EnableOperatorAppCommandOutput/)
288
+ </details>
289
+ <details>
290
+ <summary>
291
+ EndChatForCase
292
+ </summary>
293
+
294
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/devops-agent/command/EndChatForCaseCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/EndChatForCaseCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/EndChatForCaseCommandOutput/)
295
+ </details>
296
+ <details>
297
+ <summary>
298
+ GetAccountUsage
299
+ </summary>
300
+
301
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/devops-agent/command/GetAccountUsageCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/GetAccountUsageCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/GetAccountUsageCommandOutput/)
302
+ </details>
303
+ <details>
304
+ <summary>
305
+ GetAgentSpace
306
+ </summary>
307
+
308
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/devops-agent/command/GetAgentSpaceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/GetAgentSpaceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/GetAgentSpaceCommandOutput/)
309
+ </details>
310
+ <details>
311
+ <summary>
312
+ GetAssociation
313
+ </summary>
314
+
315
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/devops-agent/command/GetAssociationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/GetAssociationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/GetAssociationCommandOutput/)
316
+ </details>
317
+ <details>
318
+ <summary>
319
+ GetBacklogTask
320
+ </summary>
321
+
322
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/devops-agent/command/GetBacklogTaskCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/GetBacklogTaskCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/GetBacklogTaskCommandOutput/)
323
+ </details>
324
+ <details>
325
+ <summary>
326
+ GetOperatorApp
327
+ </summary>
328
+
329
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/devops-agent/command/GetOperatorAppCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/GetOperatorAppCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/GetOperatorAppCommandOutput/)
330
+ </details>
331
+ <details>
332
+ <summary>
333
+ GetRecommendation
334
+ </summary>
335
+
336
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/devops-agent/command/GetRecommendationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/GetRecommendationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/GetRecommendationCommandOutput/)
337
+ </details>
338
+ <details>
339
+ <summary>
340
+ GetService
341
+ </summary>
342
+
343
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/devops-agent/command/GetServiceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/GetServiceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/GetServiceCommandOutput/)
344
+ </details>
345
+ <details>
346
+ <summary>
347
+ InitiateChatForCase
348
+ </summary>
349
+
350
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/devops-agent/command/InitiateChatForCaseCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/InitiateChatForCaseCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/InitiateChatForCaseCommandOutput/)
351
+ </details>
352
+ <details>
353
+ <summary>
354
+ ListAgentSpaces
355
+ </summary>
356
+
357
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/devops-agent/command/ListAgentSpacesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/ListAgentSpacesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/ListAgentSpacesCommandOutput/)
358
+ </details>
359
+ <details>
360
+ <summary>
361
+ ListAssociations
362
+ </summary>
363
+
364
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/devops-agent/command/ListAssociationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/ListAssociationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/ListAssociationsCommandOutput/)
365
+ </details>
366
+ <details>
367
+ <summary>
368
+ ListBacklogTasks
369
+ </summary>
370
+
371
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/devops-agent/command/ListBacklogTasksCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/ListBacklogTasksCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/ListBacklogTasksCommandOutput/)
372
+ </details>
373
+ <details>
374
+ <summary>
375
+ ListChats
376
+ </summary>
377
+
378
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/devops-agent/command/ListChatsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/ListChatsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/ListChatsCommandOutput/)
379
+ </details>
380
+ <details>
381
+ <summary>
382
+ ListExecutions
383
+ </summary>
384
+
385
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/devops-agent/command/ListExecutionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/ListExecutionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/ListExecutionsCommandOutput/)
386
+ </details>
387
+ <details>
388
+ <summary>
389
+ ListGoals
390
+ </summary>
391
+
392
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/devops-agent/command/ListGoalsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/ListGoalsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/ListGoalsCommandOutput/)
393
+ </details>
394
+ <details>
395
+ <summary>
396
+ ListJournalRecords
397
+ </summary>
398
+
399
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/devops-agent/command/ListJournalRecordsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/ListJournalRecordsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/ListJournalRecordsCommandOutput/)
400
+ </details>
401
+ <details>
402
+ <summary>
403
+ ListPendingMessages
404
+ </summary>
405
+
406
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/devops-agent/command/ListPendingMessagesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/ListPendingMessagesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/ListPendingMessagesCommandOutput/)
407
+ </details>
408
+ <details>
409
+ <summary>
410
+ ListPrivateConnections
411
+ </summary>
412
+
413
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/devops-agent/command/ListPrivateConnectionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/ListPrivateConnectionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/ListPrivateConnectionsCommandOutput/)
414
+ </details>
415
+ <details>
416
+ <summary>
417
+ ListRecommendations
418
+ </summary>
419
+
420
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/devops-agent/command/ListRecommendationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/ListRecommendationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/ListRecommendationsCommandOutput/)
421
+ </details>
422
+ <details>
423
+ <summary>
424
+ ListServices
425
+ </summary>
426
+
427
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/devops-agent/command/ListServicesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/ListServicesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/ListServicesCommandOutput/)
428
+ </details>
429
+ <details>
430
+ <summary>
431
+ ListTagsForResource
432
+ </summary>
433
+
434
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/devops-agent/command/ListTagsForResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/ListTagsForResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/ListTagsForResourceCommandOutput/)
435
+ </details>
436
+ <details>
437
+ <summary>
438
+ ListWebhooks
439
+ </summary>
440
+
441
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/devops-agent/command/ListWebhooksCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/ListWebhooksCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/ListWebhooksCommandOutput/)
442
+ </details>
443
+ <details>
444
+ <summary>
445
+ RegisterService
446
+ </summary>
447
+
448
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/devops-agent/command/RegisterServiceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/RegisterServiceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/RegisterServiceCommandOutput/)
449
+ </details>
450
+ <details>
451
+ <summary>
452
+ SendMessage
453
+ </summary>
454
+
455
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/devops-agent/command/SendMessageCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/SendMessageCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/SendMessageCommandOutput/)
456
+ </details>
457
+ <details>
458
+ <summary>
459
+ TagResource
460
+ </summary>
461
+
462
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/devops-agent/command/TagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/TagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/TagResourceCommandOutput/)
463
+ </details>
464
+ <details>
465
+ <summary>
466
+ UntagResource
467
+ </summary>
468
+
469
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/devops-agent/command/UntagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/UntagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/UntagResourceCommandOutput/)
470
+ </details>
471
+ <details>
472
+ <summary>
473
+ UpdateAgentSpace
474
+ </summary>
475
+
476
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/devops-agent/command/UpdateAgentSpaceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/UpdateAgentSpaceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/UpdateAgentSpaceCommandOutput/)
477
+ </details>
478
+ <details>
479
+ <summary>
480
+ UpdateAssociation
481
+ </summary>
482
+
483
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/devops-agent/command/UpdateAssociationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/UpdateAssociationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/UpdateAssociationCommandOutput/)
484
+ </details>
485
+ <details>
486
+ <summary>
487
+ UpdateBacklogTask
488
+ </summary>
489
+
490
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/devops-agent/command/UpdateBacklogTaskCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/UpdateBacklogTaskCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/UpdateBacklogTaskCommandOutput/)
491
+ </details>
492
+ <details>
493
+ <summary>
494
+ UpdateGoal
495
+ </summary>
496
+
497
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/devops-agent/command/UpdateGoalCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/UpdateGoalCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/UpdateGoalCommandOutput/)
498
+ </details>
499
+ <details>
500
+ <summary>
501
+ UpdateOperatorAppIdpConfig
502
+ </summary>
503
+
504
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/devops-agent/command/UpdateOperatorAppIdpConfigCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/UpdateOperatorAppIdpConfigCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/UpdateOperatorAppIdpConfigCommandOutput/)
505
+ </details>
506
+ <details>
507
+ <summary>
508
+ UpdatePrivateConnectionCertificate
509
+ </summary>
510
+
511
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/devops-agent/command/UpdatePrivateConnectionCertificateCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/UpdatePrivateConnectionCertificateCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/UpdatePrivateConnectionCertificateCommandOutput/)
512
+ </details>
513
+ <details>
514
+ <summary>
515
+ UpdateRecommendation
516
+ </summary>
517
+
518
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/devops-agent/command/UpdateRecommendationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/UpdateRecommendationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/UpdateRecommendationCommandOutput/)
519
+ </details>
520
+ <details>
521
+ <summary>
522
+ ValidateAwsAssociations
523
+ </summary>
524
+
525
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/devops-agent/command/ValidateAwsAssociationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/ValidateAwsAssociationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-devops-agent/Interface/ValidateAwsAssociationsCommandOutput/)
526
+ </details>
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.resolveHttpAuthSchemeConfig = exports.defaultDevOpsAgentHttpAuthSchemeProvider = exports.defaultDevOpsAgentHttpAuthSchemeParametersProvider = void 0;
4
+ const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
5
+ const util_middleware_1 = require("@smithy/util-middleware");
6
+ const defaultDevOpsAgentHttpAuthSchemeParametersProvider = async (config, context, input) => {
7
+ return {
8
+ operation: (0, util_middleware_1.getSmithyContext)(context).operation,
9
+ region: await (0, util_middleware_1.normalizeProvider)(config.region)() || (() => {
10
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
11
+ })(),
12
+ };
13
+ };
14
+ exports.defaultDevOpsAgentHttpAuthSchemeParametersProvider = defaultDevOpsAgentHttpAuthSchemeParametersProvider;
15
+ function createAwsAuthSigv4HttpAuthOption(authParameters) {
16
+ return {
17
+ schemeId: "aws.auth#sigv4",
18
+ signingProperties: {
19
+ name: "aidevops",
20
+ region: authParameters.region,
21
+ },
22
+ propertiesExtractor: (config, context) => ({
23
+ signingProperties: {
24
+ config,
25
+ context,
26
+ },
27
+ }),
28
+ };
29
+ }
30
+ const defaultDevOpsAgentHttpAuthSchemeProvider = (authParameters) => {
31
+ const options = [];
32
+ switch (authParameters.operation) {
33
+ default: {
34
+ options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
35
+ }
36
+ }
37
+ return options;
38
+ };
39
+ exports.defaultDevOpsAgentHttpAuthSchemeProvider = defaultDevOpsAgentHttpAuthSchemeProvider;
40
+ const resolveHttpAuthSchemeConfig = (config) => {
41
+ const config_0 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config);
42
+ return Object.assign(config_0, {
43
+ authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),
44
+ });
45
+ };
46
+ exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.defaultEndpointResolver = void 0;
4
+ const util_endpoints_1 = require("@aws-sdk/util-endpoints");
5
+ const util_endpoints_2 = require("@smithy/util-endpoints");
6
+ const ruleset_1 = require("./ruleset");
7
+ const cache = new util_endpoints_2.EndpointCache({
8
+ size: 50,
9
+ params: ["Endpoint", "Region", "UseFIPS"],
10
+ });
11
+ const defaultEndpointResolver = (endpointParams, context = {}) => {
12
+ return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
13
+ endpointParams: endpointParams,
14
+ logger: context.logger,
15
+ }));
16
+ };
17
+ exports.defaultEndpointResolver = defaultEndpointResolver;
18
+ util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ruleSet = void 0;
4
+ const l = "ref";
5
+ const a = true, b = false, c = "isSet", d = "error", e = "endpoint", f = "tree", g = { "required": false, "type": "string" }, h = { [l]: "Endpoint" }, i = {}, j = [{ "fn": "booleanEquals", "argv": [{ [l]: "UseFIPS" }, true] }], k = [{ [l]: "Region" }];
6
+ const _data = { version: "1.0", parameters: { UseFIPS: { required: a, default: b, type: "boolean" }, Endpoint: g, Region: g }, rules: [{ conditions: [{ fn: c, argv: [h] }], rules: [{ conditions: j, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { endpoint: { url: h, properties: i, headers: i }, type: e }], type: f }, { rules: [{ conditions: [{ fn: c, argv: k }], rules: [{ conditions: [{ fn: "aws.partition", argv: k, assign: "PartitionResult" }], rules: [{ conditions: j, endpoint: { url: "https://aidevops-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: i, headers: i }, type: e }, { endpoint: { url: "https://aidevops.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: i, headers: i }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
7
+ exports.ruleSet = _data;