capo-devops-agent 0.1.0__py3-none-any.whl

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 (457) hide show
  1. capo_devops_agent/__init__.py +72 -0
  2. capo_devops_agent/_async.py +25 -0
  3. capo_devops_agent/_auth/_identity.py +16 -0
  4. capo_devops_agent/_auth/_providers.py +886 -0
  5. capo_devops_agent/_auth/_signers.py +88 -0
  6. capo_devops_agent/_auth/_sigv4.py +434 -0
  7. capo_devops_agent/_auth/_zapros_handler.py +80 -0
  8. capo_devops_agent/_iter.py +113 -0
  9. capo_devops_agent/_operations/dev_ops_agent/associate_service.py +192 -0
  10. capo_devops_agent/_operations/dev_ops_agent/create_agent_space.py +189 -0
  11. capo_devops_agent/_operations/dev_ops_agent/create_asset.py +189 -0
  12. capo_devops_agent/_operations/dev_ops_agent/create_asset_file.py +196 -0
  13. capo_devops_agent/_operations/dev_ops_agent/create_backlog_task.py +189 -0
  14. capo_devops_agent/_operations/dev_ops_agent/create_chat.py +195 -0
  15. capo_devops_agent/_operations/dev_ops_agent/create_private_connection.py +188 -0
  16. capo_devops_agent/_operations/dev_ops_agent/delete_agent_space.py +177 -0
  17. capo_devops_agent/_operations/dev_ops_agent/delete_asset.py +178 -0
  18. capo_devops_agent/_operations/dev_ops_agent/delete_asset_file.py +182 -0
  19. capo_devops_agent/_operations/dev_ops_agent/delete_private_connection.py +182 -0
  20. capo_devops_agent/_operations/dev_ops_agent/deregister_service.py +177 -0
  21. capo_devops_agent/_operations/dev_ops_agent/describe_private_connection.py +185 -0
  22. capo_devops_agent/_operations/dev_ops_agent/disable_operator_app.py +168 -0
  23. capo_devops_agent/_operations/dev_ops_agent/disassociate_service.py +181 -0
  24. capo_devops_agent/_operations/dev_ops_agent/enable_operator_app.py +198 -0
  25. capo_devops_agent/_operations/dev_ops_agent/get_account_usage.py +185 -0
  26. capo_devops_agent/_operations/dev_ops_agent/get_agent_space.py +185 -0
  27. capo_devops_agent/_operations/dev_ops_agent/get_asset.py +189 -0
  28. capo_devops_agent/_operations/dev_ops_agent/get_asset_content.py +192 -0
  29. capo_devops_agent/_operations/dev_ops_agent/get_asset_file.py +193 -0
  30. capo_devops_agent/_operations/dev_ops_agent/get_association.py +188 -0
  31. capo_devops_agent/_operations/dev_ops_agent/get_backlog_task.py +189 -0
  32. capo_devops_agent/_operations/dev_ops_agent/get_operator_app.py +188 -0
  33. capo_devops_agent/_operations/dev_ops_agent/get_recommendation.py +188 -0
  34. capo_devops_agent/_operations/dev_ops_agent/get_service.py +185 -0
  35. capo_devops_agent/_operations/dev_ops_agent/list_agent_spaces.py +187 -0
  36. capo_devops_agent/_operations/dev_ops_agent/list_asset_files.py +196 -0
  37. capo_devops_agent/_operations/dev_ops_agent/list_asset_types.py +188 -0
  38. capo_devops_agent/_operations/dev_ops_agent/list_asset_versions.py +190 -0
  39. capo_devops_agent/_operations/dev_ops_agent/list_assets.py +210 -0
  40. capo_devops_agent/_operations/dev_ops_agent/list_associations.py +191 -0
  41. capo_devops_agent/_operations/dev_ops_agent/list_backlog_tasks.py +189 -0
  42. capo_devops_agent/_operations/dev_ops_agent/list_chats.py +190 -0
  43. capo_devops_agent/_operations/dev_ops_agent/list_executions.py +190 -0
  44. capo_devops_agent/_operations/dev_ops_agent/list_goals.py +190 -0
  45. capo_devops_agent/_operations/dev_ops_agent/list_journal_records.py +189 -0
  46. capo_devops_agent/_operations/dev_ops_agent/list_pending_messages.py +188 -0
  47. capo_devops_agent/_operations/dev_ops_agent/list_private_connections.py +184 -0
  48. capo_devops_agent/_operations/dev_ops_agent/list_recommendations.py +191 -0
  49. capo_devops_agent/_operations/dev_ops_agent/list_services.py +197 -0
  50. capo_devops_agent/_operations/dev_ops_agent/list_tags_for_resource.py +186 -0
  51. capo_devops_agent/_operations/dev_ops_agent/list_webhooks.py +188 -0
  52. capo_devops_agent/_operations/dev_ops_agent/register_service.py +203 -0
  53. capo_devops_agent/_operations/dev_ops_agent/send_message.py +201 -0
  54. capo_devops_agent/_operations/dev_ops_agent/tag_resource.py +180 -0
  55. capo_devops_agent/_operations/dev_ops_agent/untag_resource.py +180 -0
  56. capo_devops_agent/_operations/dev_ops_agent/update_agent_space.py +190 -0
  57. capo_devops_agent/_operations/dev_ops_agent/update_asset.py +192 -0
  58. capo_devops_agent/_operations/dev_ops_agent/update_asset_file.py +196 -0
  59. capo_devops_agent/_operations/dev_ops_agent/update_association.py +196 -0
  60. capo_devops_agent/_operations/dev_ops_agent/update_backlog_task.py +190 -0
  61. capo_devops_agent/_operations/dev_ops_agent/update_goal.py +192 -0
  62. capo_devops_agent/_operations/dev_ops_agent/update_operator_app_idp_config.py +188 -0
  63. capo_devops_agent/_operations/dev_ops_agent/update_private_connection_certificate.py +190 -0
  64. capo_devops_agent/_operations/dev_ops_agent/update_recommendation.py +195 -0
  65. capo_devops_agent/_operations/dev_ops_agent/validate_aws_associations.py +180 -0
  66. capo_devops_agent/_pagination.py +21 -0
  67. capo_devops_agent/_protocol/__init__.py +1 -0
  68. capo_devops_agent/_protocol/errors.py +93 -0
  69. capo_devops_agent/_protocol/eventstream.py +238 -0
  70. capo_devops_agent/_protocol/serialize.py +47 -0
  71. capo_devops_agent/_protocol/xml.py +33 -0
  72. capo_devops_agent/_resources/dev_ops_agent/agent_space_resource.py +1149 -0
  73. capo_devops_agent/_resources/dev_ops_agent/private_connection_resource.py +567 -0
  74. capo_devops_agent/_resources/dev_ops_agent/service_resource.py +552 -0
  75. capo_devops_agent/_rule_engine/__init__.py +0 -0
  76. capo_devops_agent/_rule_engine/_aws_partition.py +160 -0
  77. capo_devops_agent/_rule_engine/_endpoint_rule_set.py +65 -0
  78. capo_devops_agent/_rule_engine/_endpoint_runtime.py +389 -0
  79. capo_devops_agent/_services/_aws_config.py +156 -0
  80. capo_devops_agent/_services/_pipeline.py +196 -0
  81. capo_devops_agent/_services/async_dev_ops_agent.py +2498 -0
  82. capo_devops_agent/_services/dev_ops_agent.py +2466 -0
  83. capo_devops_agent/errors/__init__.py +45 -0
  84. capo_devops_agent/errors/_base.py +94 -0
  85. capo_devops_agent/errors/access_denied_exception.py +48 -0
  86. capo_devops_agent/errors/conflict_exception.py +46 -0
  87. capo_devops_agent/errors/content_size_exceeded_exception.py +47 -0
  88. capo_devops_agent/errors/identity_center_service_exception.py +56 -0
  89. capo_devops_agent/errors/internal_server_exception.py +47 -0
  90. capo_devops_agent/errors/invalid_parameter_exception.py +48 -0
  91. capo_devops_agent/errors/resource_not_found_exception.py +48 -0
  92. capo_devops_agent/errors/service_quota_exceeded_exception.py +50 -0
  93. capo_devops_agent/errors/throttling_exception.py +46 -0
  94. capo_devops_agent/errors/validation_exception.py +71 -0
  95. capo_devops_agent/py.typed +0 -0
  96. capo_devops_agent/types/_prelude/blob.py +12 -0
  97. capo_devops_agent/types/_prelude/timestamp.py +17 -0
  98. capo_devops_agent/types/additional_service_details.py +312 -0
  99. capo_devops_agent/types/additional_service_registration_step.py +48 -0
  100. capo_devops_agent/types/agent_space.py +92 -0
  101. capo_devops_agent/types/agent_space_id.py +6 -0
  102. capo_devops_agent/types/agent_space_list.py +29 -0
  103. capo_devops_agent/types/agent_space_name.py +6 -0
  104. capo_devops_agent/types/api_key_value.py +6 -0
  105. capo_devops_agent/types/asset.py +85 -0
  106. capo_devops_agent/types/asset_content.py +65 -0
  107. capo_devops_agent/types/asset_file.py +92 -0
  108. capo_devops_agent/types/asset_file_body.py +53 -0
  109. capo_devops_agent/types/asset_file_bytes.py +16 -0
  110. capo_devops_agent/types/asset_file_content.py +51 -0
  111. capo_devops_agent/types/asset_file_path.py +6 -0
  112. capo_devops_agent/types/asset_file_summary.py +76 -0
  113. capo_devops_agent/types/asset_file_summary_list.py +31 -0
  114. capo_devops_agent/types/asset_file_text.py +6 -0
  115. capo_devops_agent/types/asset_id_list.py +14 -0
  116. capo_devops_agent/types/asset_list.py +29 -0
  117. capo_devops_agent/types/asset_type.py +6 -0
  118. capo_devops_agent/types/asset_type_list.py +31 -0
  119. capo_devops_agent/types/asset_type_summary.py +38 -0
  120. capo_devops_agent/types/asset_version_metadata.py +61 -0
  121. capo_devops_agent/types/asset_version_metadata_list.py +33 -0
  122. capo_devops_agent/types/asset_zip_bytes.py +16 -0
  123. capo_devops_agent/types/asset_zip_content.py +39 -0
  124. capo_devops_agent/types/assistant_message.py +33 -0
  125. capo_devops_agent/types/assistant_message_block.py +39 -0
  126. capo_devops_agent/types/associate_service_input.py +52 -0
  127. capo_devops_agent/types/associate_service_output.py +53 -0
  128. capo_devops_agent/types/association.py +112 -0
  129. capo_devops_agent/types/association_id.py +6 -0
  130. capo_devops_agent/types/associations_list.py +29 -0
  131. capo_devops_agent/types/auth_flow.py +19 -0
  132. capo_devops_agent/types/aws_configuration.py +56 -0
  133. capo_devops_agent/types/azure_configuration.py +26 -0
  134. capo_devops_agent/types/azure_dev_ops_configuration.py +42 -0
  135. capo_devops_agent/types/back_log_timestamp.py +21 -0
  136. capo_devops_agent/types/backlog_task_description.py +6 -0
  137. capo_devops_agent/types/backlog_task_title.py +6 -0
  138. capo_devops_agent/types/certificate_string.py +6 -0
  139. capo_devops_agent/types/chat_execution.py +68 -0
  140. capo_devops_agent/types/chat_execution_id.py +6 -0
  141. capo_devops_agent/types/chat_execution_list.py +31 -0
  142. capo_devops_agent/types/client_id.py +6 -0
  143. capo_devops_agent/types/client_secret.py +6 -0
  144. capo_devops_agent/types/create_agent_space_input.py +69 -0
  145. capo_devops_agent/types/create_agent_space_output.py +49 -0
  146. capo_devops_agent/types/create_asset_file_request.py +60 -0
  147. capo_devops_agent/types/create_asset_file_response.py +35 -0
  148. capo_devops_agent/types/create_asset_request.py +62 -0
  149. capo_devops_agent/types/create_asset_response.py +35 -0
  150. capo_devops_agent/types/create_backlog_task_request.py +94 -0
  151. capo_devops_agent/types/create_backlog_task_response.py +35 -0
  152. capo_devops_agent/types/create_chat_request.py +29 -0
  153. capo_devops_agent/types/create_chat_response.py +48 -0
  154. capo_devops_agent/types/create_private_connection_input.py +58 -0
  155. capo_devops_agent/types/create_private_connection_output.py +158 -0
  156. capo_devops_agent/types/custom_header_name.py +6 -0
  157. capo_devops_agent/types/custom_header_value.py +6 -0
  158. capo_devops_agent/types/custom_headers.py +29 -0
  159. capo_devops_agent/types/datadog_authorization_config.py +48 -0
  160. capo_devops_agent/types/datadog_service_details.py +68 -0
  161. capo_devops_agent/types/date_time.py +20 -0
  162. capo_devops_agent/types/delete_agent_space_input.py +24 -0
  163. capo_devops_agent/types/delete_agent_space_output.py +18 -0
  164. capo_devops_agent/types/delete_asset_file_request.py +30 -0
  165. capo_devops_agent/types/delete_asset_file_response.py +18 -0
  166. capo_devops_agent/types/delete_asset_request.py +27 -0
  167. capo_devops_agent/types/delete_asset_response.py +18 -0
  168. capo_devops_agent/types/delete_private_connection_input.py +24 -0
  169. capo_devops_agent/types/delete_private_connection_output.py +49 -0
  170. capo_devops_agent/types/deregister_service_input.py +24 -0
  171. capo_devops_agent/types/deregister_service_output.py +18 -0
  172. capo_devops_agent/types/describe_private_connection_input.py +24 -0
  173. capo_devops_agent/types/describe_private_connection_output.py +158 -0
  174. capo_devops_agent/types/description.py +6 -0
  175. capo_devops_agent/types/disable_operator_app_input.py +27 -0
  176. capo_devops_agent/types/disassociate_service_input.py +27 -0
  177. capo_devops_agent/types/disassociate_service_output.py +18 -0
  178. capo_devops_agent/types/document_list.py +14 -0
  179. capo_devops_agent/types/dynatrace_configuration.py +51 -0
  180. capo_devops_agent/types/dynatrace_o_auth_client_credentials_config.py +70 -0
  181. capo_devops_agent/types/dynatrace_resource_list.py +14 -0
  182. capo_devops_agent/types/dynatrace_service_authorization_config.py +52 -0
  183. capo_devops_agent/types/dynatrace_service_details.py +51 -0
  184. capo_devops_agent/types/email_address.py +6 -0
  185. capo_devops_agent/types/enable_operator_app_input.py +86 -0
  186. capo_devops_agent/types/enable_operator_app_output.py +88 -0
  187. capo_devops_agent/types/event_channel_configuration.py +18 -0
  188. capo_devops_agent/types/event_channel_details.py +36 -0
  189. capo_devops_agent/types/event_channel_type.py +15 -0
  190. capo_devops_agent/types/exchange_parameter_value.py +6 -0
  191. capo_devops_agent/types/exchange_parameters.py +27 -0
  192. capo_devops_agent/types/execution.py +111 -0
  193. capo_devops_agent/types/execution_list.py +29 -0
  194. capo_devops_agent/types/execution_status.py +21 -0
  195. capo_devops_agent/types/failure_message.py +6 -0
  196. capo_devops_agent/types/generic_webhook.py +62 -0
  197. capo_devops_agent/types/get_account_usage_input.py +18 -0
  198. capo_devops_agent/types/get_account_usage_output.py +143 -0
  199. capo_devops_agent/types/get_agent_space_input.py +24 -0
  200. capo_devops_agent/types/get_agent_space_output.py +49 -0
  201. capo_devops_agent/types/get_asset_content_request.py +29 -0
  202. capo_devops_agent/types/get_asset_content_response.py +46 -0
  203. capo_devops_agent/types/get_asset_file_request.py +32 -0
  204. capo_devops_agent/types/get_asset_file_response.py +35 -0
  205. capo_devops_agent/types/get_asset_request.py +29 -0
  206. capo_devops_agent/types/get_asset_response.py +35 -0
  207. capo_devops_agent/types/get_association_input.py +27 -0
  208. capo_devops_agent/types/get_association_output.py +38 -0
  209. capo_devops_agent/types/get_backlog_task_request.py +27 -0
  210. capo_devops_agent/types/get_backlog_task_response.py +35 -0
  211. capo_devops_agent/types/get_operator_app_input.py +24 -0
  212. capo_devops_agent/types/get_operator_app_output.py +78 -0
  213. capo_devops_agent/types/get_recommendation_request.py +29 -0
  214. capo_devops_agent/types/get_recommendation_response.py +39 -0
  215. capo_devops_agent/types/get_service_input.py +24 -0
  216. capo_devops_agent/types/get_service_output.py +49 -0
  217. capo_devops_agent/types/git_hub_configuration.py +67 -0
  218. capo_devops_agent/types/git_lab_configuration.py +39 -0
  219. capo_devops_agent/types/git_lab_details.py +60 -0
  220. capo_devops_agent/types/git_lab_token_type.py +18 -0
  221. capo_devops_agent/types/github_repo_owner_type.py +18 -0
  222. capo_devops_agent/types/goal.py +181 -0
  223. capo_devops_agent/types/goal_content.py +33 -0
  224. capo_devops_agent/types/goal_list.py +29 -0
  225. capo_devops_agent/types/goal_schedule.py +45 -0
  226. capo_devops_agent/types/goal_schedule_input.py +39 -0
  227. capo_devops_agent/types/goal_status.py +19 -0
  228. capo_devops_agent/types/goal_type.py +18 -0
  229. capo_devops_agent/types/grafana_service_details.py +68 -0
  230. capo_devops_agent/types/guid.py +6 -0
  231. capo_devops_agent/types/iam_auth_configuration.py +62 -0
  232. capo_devops_agent/types/idc_auth_configuration.py +75 -0
  233. capo_devops_agent/types/idp_auth_configuration.py +83 -0
  234. capo_devops_agent/types/idp_client_id.py +6 -0
  235. capo_devops_agent/types/idp_client_secret.py +6 -0
  236. capo_devops_agent/types/ip_address_or_dns_name.py +6 -0
  237. capo_devops_agent/types/ip_address_type.py +19 -0
  238. capo_devops_agent/types/journal_record.py +89 -0
  239. capo_devops_agent/types/journal_record_list.py +31 -0
  240. capo_devops_agent/types/journal_timestamp.py +21 -0
  241. capo_devops_agent/types/kms_key_arn.py +6 -0
  242. capo_devops_agent/types/list_agent_spaces_input.py +26 -0
  243. capo_devops_agent/types/list_agent_spaces_output.py +46 -0
  244. capo_devops_agent/types/list_asset_files_request.py +34 -0
  245. capo_devops_agent/types/list_asset_files_response.py +46 -0
  246. capo_devops_agent/types/list_asset_types_request.py +26 -0
  247. capo_devops_agent/types/list_asset_types_response.py +46 -0
  248. capo_devops_agent/types/list_asset_versions_request.py +32 -0
  249. capo_devops_agent/types/list_asset_versions_response.py +50 -0
  250. capo_devops_agent/types/list_assets_request.py +38 -0
  251. capo_devops_agent/types/list_assets_response.py +44 -0
  252. capo_devops_agent/types/list_associations_input.py +31 -0
  253. capo_devops_agent/types/list_associations_output.py +48 -0
  254. capo_devops_agent/types/list_backlog_tasks_request.py +84 -0
  255. capo_devops_agent/types/list_backlog_tasks_response.py +41 -0
  256. capo_devops_agent/types/list_chats_request.py +30 -0
  257. capo_devops_agent/types/list_chats_response.py +47 -0
  258. capo_devops_agent/types/list_executions_request.py +47 -0
  259. capo_devops_agent/types/list_executions_response.py +45 -0
  260. capo_devops_agent/types/list_goals_request.py +68 -0
  261. capo_devops_agent/types/list_goals_response.py +41 -0
  262. capo_devops_agent/types/list_journal_records_request.py +71 -0
  263. capo_devops_agent/types/list_journal_records_response.py +45 -0
  264. capo_devops_agent/types/list_of_security_group_ids.py +19 -0
  265. capo_devops_agent/types/list_of_subnet_ids.py +17 -0
  266. capo_devops_agent/types/list_pending_messages_request.py +33 -0
  267. capo_devops_agent/types/list_pending_messages_response.py +72 -0
  268. capo_devops_agent/types/list_private_connections_input.py +18 -0
  269. capo_devops_agent/types/list_private_connections_output.py +45 -0
  270. capo_devops_agent/types/list_recommendations_request.py +89 -0
  271. capo_devops_agent/types/list_recommendations_response.py +49 -0
  272. capo_devops_agent/types/list_services_input.py +29 -0
  273. capo_devops_agent/types/list_services_output.py +47 -0
  274. capo_devops_agent/types/list_tags_for_resource_request.py +19 -0
  275. capo_devops_agent/types/list_tags_for_resource_response.py +35 -0
  276. capo_devops_agent/types/list_webhooks_input.py +27 -0
  277. capo_devops_agent/types/list_webhooks_output.py +39 -0
  278. capo_devops_agent/types/locale.py +6 -0
  279. capo_devops_agent/types/max_ipv4_addresses_per_eni.py +6 -0
  280. capo_devops_agent/types/mcp_server_api_key_config.py +45 -0
  281. capo_devops_agent/types/mcp_server_authorization_config.py +138 -0
  282. capo_devops_agent/types/mcp_server_authorization_discovery_config.py +28 -0
  283. capo_devops_agent/types/mcp_server_authorization_method.py +20 -0
  284. capo_devops_agent/types/mcp_server_bearer_token_config.py +45 -0
  285. capo_devops_agent/types/mcp_server_configuration.py +37 -0
  286. capo_devops_agent/types/mcp_server_datadog_configuration.py +18 -0
  287. capo_devops_agent/types/mcp_server_details.py +66 -0
  288. capo_devops_agent/types/mcp_server_endpoint.py +6 -0
  289. capo_devops_agent/types/mcp_server_grafana_configuration.py +51 -0
  290. capo_devops_agent/types/mcp_server_name.py +6 -0
  291. capo_devops_agent/types/mcp_server_new_relic_configuration.py +33 -0
  292. capo_devops_agent/types/mcp_server_o_auth3_lo_config.py +106 -0
  293. capo_devops_agent/types/mcp_server_o_auth_client_credentials_config.py +90 -0
  294. capo_devops_agent/types/mcp_server_sig_v4_authorization_config.py +67 -0
  295. capo_devops_agent/types/mcp_server_sig_v4_configuration.py +37 -0
  296. capo_devops_agent/types/mcp_server_sig_v4_service_details.py +68 -0
  297. capo_devops_agent/types/mcp_server_splunk_configuration.py +18 -0
  298. capo_devops_agent/types/mcp_tools_list.py +14 -0
  299. capo_devops_agent/types/message.py +65 -0
  300. capo_devops_agent/types/message_content.py +6 -0
  301. capo_devops_agent/types/monitor_account_type.py +15 -0
  302. capo_devops_agent/types/new_relic_alert_policy_ids.py +14 -0
  303. capo_devops_agent/types/new_relic_api_key_config.py +117 -0
  304. capo_devops_agent/types/new_relic_application_ids.py +14 -0
  305. capo_devops_agent/types/new_relic_entity_guids.py +14 -0
  306. capo_devops_agent/types/new_relic_region.py +18 -0
  307. capo_devops_agent/types/new_relic_service_authorization_config.py +50 -0
  308. capo_devops_agent/types/new_relic_service_details.py +45 -0
  309. capo_devops_agent/types/next_token.py +6 -0
  310. capo_devops_agent/types/o_auth_additional_step_details.py +28 -0
  311. capo_devops_agent/types/o_auth_scope.py +6 -0
  312. capo_devops_agent/types/operator_app_url.py +6 -0
  313. capo_devops_agent/types/order_type.py +18 -0
  314. capo_devops_agent/types/pager_duty_authorization_config.py +48 -0
  315. capo_devops_agent/types/pager_duty_configuration.py +49 -0
  316. capo_devops_agent/types/pager_duty_details.py +59 -0
  317. capo_devops_agent/types/pager_duty_o_auth_client_credentials_config.py +70 -0
  318. capo_devops_agent/types/pager_duty_scopes.py +14 -0
  319. capo_devops_agent/types/pager_duty_scopes_list.py +14 -0
  320. capo_devops_agent/types/pager_duty_services_list.py +14 -0
  321. capo_devops_agent/types/pending_message.py +44 -0
  322. capo_devops_agent/types/pending_messages.py +31 -0
  323. capo_devops_agent/types/port_range.py +6 -0
  324. capo_devops_agent/types/port_ranges.py +17 -0
  325. capo_devops_agent/types/post_register_service_supported_service.py +28 -0
  326. capo_devops_agent/types/priority.py +21 -0
  327. capo_devops_agent/types/priority_list.py +29 -0
  328. capo_devops_agent/types/private_connection_mode.py +67 -0
  329. capo_devops_agent/types/private_connection_name.py +6 -0
  330. capo_devops_agent/types/private_connection_status.py +21 -0
  331. capo_devops_agent/types/private_connection_summary.py +147 -0
  332. capo_devops_agent/types/private_connection_summary_list.py +35 -0
  333. capo_devops_agent/types/private_connection_type.py +18 -0
  334. capo_devops_agent/types/recommendation.py +181 -0
  335. capo_devops_agent/types/recommendation_content.py +32 -0
  336. capo_devops_agent/types/recommendation_list.py +31 -0
  337. capo_devops_agent/types/recommendation_priority.py +19 -0
  338. capo_devops_agent/types/recommendation_status.py +22 -0
  339. capo_devops_agent/types/reference_input.py +58 -0
  340. capo_devops_agent/types/reference_output.py +53 -0
  341. capo_devops_agent/types/register_service_input.py +101 -0
  342. capo_devops_agent/types/register_service_output.py +67 -0
  343. capo_devops_agent/types/registered_azure_dev_ops_service_details.py +28 -0
  344. capo_devops_agent/types/registered_azure_identity_details.py +70 -0
  345. capo_devops_agent/types/registered_git_lab_service_details.py +52 -0
  346. capo_devops_agent/types/registered_github_service_details.py +54 -0
  347. capo_devops_agent/types/registered_grafana_server_details.py +53 -0
  348. capo_devops_agent/types/registered_mcp_server_details.py +72 -0
  349. capo_devops_agent/types/registered_mcp_server_sig_v4_details.py +89 -0
  350. capo_devops_agent/types/registered_new_relic_details.py +53 -0
  351. capo_devops_agent/types/registered_pager_duty_details.py +39 -0
  352. capo_devops_agent/types/registered_service.py +112 -0
  353. capo_devops_agent/types/registered_service_now_details.py +30 -0
  354. capo_devops_agent/types/registered_services_list.py +31 -0
  355. capo_devops_agent/types/registered_slack_service_details.py +33 -0
  356. capo_devops_agent/types/resource_config_dns_resolution.py +18 -0
  357. capo_devops_agent/types/resource_configuration_arn.py +6 -0
  358. capo_devops_agent/types/resource_gateway_arn.py +6 -0
  359. capo_devops_agent/types/resource_id.py +6 -0
  360. capo_devops_agent/types/role_arn.py +6 -0
  361. capo_devops_agent/types/scheduler_state.py +18 -0
  362. capo_devops_agent/types/scopes.py +17 -0
  363. capo_devops_agent/types/security_group_id.py +6 -0
  364. capo_devops_agent/types/self_managed_input.py +44 -0
  365. capo_devops_agent/types/send_message_content_block_delta.py +69 -0
  366. capo_devops_agent/types/send_message_content_block_delta_event.py +69 -0
  367. capo_devops_agent/types/send_message_content_block_start_event.py +62 -0
  368. capo_devops_agent/types/send_message_content_block_stop_event.py +62 -0
  369. capo_devops_agent/types/send_message_context.py +35 -0
  370. capo_devops_agent/types/send_message_events.py +218 -0
  371. capo_devops_agent/types/send_message_heartbeat_event.py +33 -0
  372. capo_devops_agent/types/send_message_json_delta.py +23 -0
  373. capo_devops_agent/types/send_message_request.py +81 -0
  374. capo_devops_agent/types/send_message_response.py +13 -0
  375. capo_devops_agent/types/send_message_response_completed_event.py +65 -0
  376. capo_devops_agent/types/send_message_response_created_event.py +44 -0
  377. capo_devops_agent/types/send_message_response_failed_event.py +56 -0
  378. capo_devops_agent/types/send_message_response_in_progress_event.py +44 -0
  379. capo_devops_agent/types/send_message_summary_event.py +44 -0
  380. capo_devops_agent/types/send_message_text_delta.py +23 -0
  381. capo_devops_agent/types/send_message_usage_info.py +35 -0
  382. capo_devops_agent/types/service.py +32 -0
  383. capo_devops_agent/types/service_configuration.py +404 -0
  384. capo_devops_agent/types/service_details.py +297 -0
  385. capo_devops_agent/types/service_id.py +6 -0
  386. capo_devops_agent/types/service_managed_input.py +149 -0
  387. capo_devops_agent/types/service_name.py +6 -0
  388. capo_devops_agent/types/service_now_authentication_scope_list.py +14 -0
  389. capo_devops_agent/types/service_now_configuration.py +48 -0
  390. capo_devops_agent/types/service_now_instance_url.py +6 -0
  391. capo_devops_agent/types/service_now_o_auth_client_credentials_config.py +70 -0
  392. capo_devops_agent/types/service_now_service_authorization_config.py +52 -0
  393. capo_devops_agent/types/service_now_service_details.py +54 -0
  394. capo_devops_agent/types/sig_v4_region.py +6 -0
  395. capo_devops_agent/types/slack_channel.py +32 -0
  396. capo_devops_agent/types/slack_configuration.py +59 -0
  397. capo_devops_agent/types/slack_transmission_target.py +55 -0
  398. capo_devops_agent/types/source_account_type.py +15 -0
  399. capo_devops_agent/types/source_aws_configuration.py +62 -0
  400. capo_devops_agent/types/subnet_id.py +6 -0
  401. capo_devops_agent/types/tag_key.py +6 -0
  402. capo_devops_agent/types/tag_key_list.py +17 -0
  403. capo_devops_agent/types/tag_resource_request.py +37 -0
  404. capo_devops_agent/types/tag_resource_response.py +18 -0
  405. capo_devops_agent/types/tag_value.py +6 -0
  406. capo_devops_agent/types/tags.py +29 -0
  407. capo_devops_agent/types/task.py +184 -0
  408. capo_devops_agent/types/task_filter.py +112 -0
  409. capo_devops_agent/types/task_list.py +29 -0
  410. capo_devops_agent/types/task_sort_field.py +18 -0
  411. capo_devops_agent/types/task_sort_order.py +18 -0
  412. capo_devops_agent/types/task_status.py +26 -0
  413. capo_devops_agent/types/task_status_list.py +29 -0
  414. capo_devops_agent/types/task_type.py +18 -0
  415. capo_devops_agent/types/task_type_list.py +29 -0
  416. capo_devops_agent/types/token_value.py +6 -0
  417. capo_devops_agent/types/untag_resource_request.py +26 -0
  418. capo_devops_agent/types/untag_resource_response.py +18 -0
  419. capo_devops_agent/types/update_agent_space_input.py +45 -0
  420. capo_devops_agent/types/update_agent_space_output.py +38 -0
  421. capo_devops_agent/types/update_asset_file_request.py +57 -0
  422. capo_devops_agent/types/update_asset_file_response.py +35 -0
  423. capo_devops_agent/types/update_asset_request.py +54 -0
  424. capo_devops_agent/types/update_asset_response.py +35 -0
  425. capo_devops_agent/types/update_association_input.py +47 -0
  426. capo_devops_agent/types/update_association_output.py +53 -0
  427. capo_devops_agent/types/update_backlog_task_request.py +48 -0
  428. capo_devops_agent/types/update_backlog_task_response.py +35 -0
  429. capo_devops_agent/types/update_goal_request.py +53 -0
  430. capo_devops_agent/types/update_goal_response.py +35 -0
  431. capo_devops_agent/types/update_operator_app_idp_config_input.py +33 -0
  432. capo_devops_agent/types/update_operator_app_idp_config_output.py +48 -0
  433. capo_devops_agent/types/update_private_connection_certificate_input.py +36 -0
  434. capo_devops_agent/types/update_private_connection_certificate_output.py +153 -0
  435. capo_devops_agent/types/update_recommendation_request.py +56 -0
  436. capo_devops_agent/types/update_recommendation_response.py +41 -0
  437. capo_devops_agent/types/usage_metric.py +41 -0
  438. capo_devops_agent/types/user_message.py +31 -0
  439. capo_devops_agent/types/user_message_block.py +37 -0
  440. capo_devops_agent/types/user_reference.py +46 -0
  441. capo_devops_agent/types/user_type.py +19 -0
  442. capo_devops_agent/types/validate_aws_associations_input.py +24 -0
  443. capo_devops_agent/types/validate_aws_associations_output.py +18 -0
  444. capo_devops_agent/types/validation_exception_field.py +33 -0
  445. capo_devops_agent/types/validation_exception_field_list.py +35 -0
  446. capo_devops_agent/types/validation_status.py +19 -0
  447. capo_devops_agent/types/vpc_id.py +6 -0
  448. capo_devops_agent/types/web_identity_token_audience_list.py +14 -0
  449. capo_devops_agent/types/webhook.py +52 -0
  450. capo_devops_agent/types/webhook_secret.py +6 -0
  451. capo_devops_agent/types/webhook_type.py +20 -0
  452. capo_devops_agent/types/webhooks_list.py +29 -0
  453. capo_devops_agent-0.1.0.dist-info/METADATA +101 -0
  454. capo_devops_agent-0.1.0.dist-info/RECORD +457 -0
  455. capo_devops_agent-0.1.0.dist-info/WHEEL +5 -0
  456. capo_devops_agent-0.1.0.dist-info/licenses/LICENSE +21 -0
  457. capo_devops_agent-0.1.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,75 @@
1
+ """Generated from Smithy shape ``com.amazonaws.devopsagent#IdcAuthConfiguration``."""
2
+
3
+ from typing import TYPE_CHECKING
4
+
5
+ from typing_extensions import NotRequired, TypedDict
6
+
7
+ from capo_devops_agent.errors import DeserializationError
8
+
9
+ if TYPE_CHECKING:
10
+ import datetime
11
+
12
+
13
+ class IdcAuthConfiguration(TypedDict, closed=True):
14
+ operator_app_role_arn: "str"
15
+ """<p>The IAM role end users assume to access AIDevOps APIs</p>"""
16
+ idc_instance_arn: "str"
17
+ """<p>The IdC instance Arn used to create an IdC auth application</p>"""
18
+ idc_application_arn: NotRequired["str"]
19
+ """<p>The IdC application Arn created for IdC auth</p>"""
20
+ created_at: "datetime.datetime"
21
+ """<p>The timestamp when the Operator App IdC auth flow was enabled.</p>"""
22
+ updated_at: NotRequired["datetime.datetime"]
23
+ """<p>The timestamp when the Operator App IdC auth flow was updated.</p>"""
24
+
25
+
26
+ # --- restJson1 ser/de ---
27
+ def serialize_json(value: IdcAuthConfiguration) -> dict:
28
+ out: dict = {}
29
+ out["operatorAppRoleArn"] = value["operator_app_role_arn"]
30
+ out["idcInstanceArn"] = value["idc_instance_arn"]
31
+ if "idc_application_arn" in value:
32
+ out["idcApplicationArn"] = value["idc_application_arn"]
33
+ import capo_devops_agent._protocol.serialize
34
+
35
+ out["createdAt"] = capo_devops_agent._protocol.serialize.fmt_date_time(
36
+ value["created_at"]
37
+ )
38
+ if "updated_at" in value:
39
+ import capo_devops_agent._protocol.serialize
40
+
41
+ out["updatedAt"] = capo_devops_agent._protocol.serialize.fmt_date_time(
42
+ value["updated_at"]
43
+ )
44
+ return out
45
+
46
+
47
+ def deserialize_json(data: dict) -> IdcAuthConfiguration:
48
+ out: IdcAuthConfiguration = {} # type: ignore[typeddict-item]
49
+ if data.get("operatorAppRoleArn") is not None:
50
+ out["operator_app_role_arn"] = data["operatorAppRoleArn"]
51
+ else:
52
+ raise DeserializationError(
53
+ "IdcAuthConfiguration.operator_app_role_arn required"
54
+ )
55
+ if data.get("idcInstanceArn") is not None:
56
+ out["idc_instance_arn"] = data["idcInstanceArn"]
57
+ else:
58
+ raise DeserializationError("IdcAuthConfiguration.idc_instance_arn required")
59
+ if data.get("idcApplicationArn") is not None:
60
+ out["idc_application_arn"] = data["idcApplicationArn"]
61
+ if data.get("createdAt") is not None:
62
+ import datetime
63
+
64
+ out["created_at"] = datetime.datetime.fromisoformat(
65
+ data["createdAt"].replace("Z", "+00:00")
66
+ )
67
+ else:
68
+ raise DeserializationError("IdcAuthConfiguration.created_at required")
69
+ if data.get("updatedAt") is not None:
70
+ import datetime
71
+
72
+ out["updated_at"] = datetime.datetime.fromisoformat(
73
+ data["updatedAt"].replace("Z", "+00:00")
74
+ )
75
+ return out
@@ -0,0 +1,83 @@
1
+ """Generated from Smithy shape ``com.amazonaws.devopsagent#IdpAuthConfiguration``."""
2
+
3
+ from typing import TYPE_CHECKING
4
+
5
+ from typing_extensions import NotRequired, TypedDict
6
+
7
+ from capo_devops_agent.errors import DeserializationError
8
+
9
+ if TYPE_CHECKING:
10
+ import datetime
11
+
12
+
13
+ class IdpAuthConfiguration(TypedDict, closed=True):
14
+ issuer_url: "str"
15
+ """<p>The OIDC issuer URL of the external Identity Provider</p>"""
16
+ client_id: "str"
17
+ """<p>The OIDC client ID for the IdP application</p>"""
18
+ operator_app_role_arn: "str"
19
+ """<p>The IAM role end users assume to access AIDevOps APIs</p>"""
20
+ provider: "str"
21
+ """<p>The Identity Provider name (e.g., Entra, Okta, Google)</p>"""
22
+ created_at: "datetime.datetime"
23
+ """<p>The timestamp when the Operator App IdP auth flow was enabled.</p>"""
24
+ updated_at: NotRequired["datetime.datetime"]
25
+ """<p>The timestamp when the Operator App IdP auth flow was updated.</p>"""
26
+
27
+
28
+ # --- restJson1 ser/de ---
29
+ def serialize_json(value: IdpAuthConfiguration) -> dict:
30
+ out: dict = {}
31
+ out["issuerUrl"] = value["issuer_url"]
32
+ out["clientId"] = value["client_id"]
33
+ out["operatorAppRoleArn"] = value["operator_app_role_arn"]
34
+ out["provider"] = value["provider"]
35
+ import capo_devops_agent._protocol.serialize
36
+
37
+ out["createdAt"] = capo_devops_agent._protocol.serialize.fmt_date_time(
38
+ value["created_at"]
39
+ )
40
+ if "updated_at" in value:
41
+ import capo_devops_agent._protocol.serialize
42
+
43
+ out["updatedAt"] = capo_devops_agent._protocol.serialize.fmt_date_time(
44
+ value["updated_at"]
45
+ )
46
+ return out
47
+
48
+
49
+ def deserialize_json(data: dict) -> IdpAuthConfiguration:
50
+ out: IdpAuthConfiguration = {} # type: ignore[typeddict-item]
51
+ if data.get("issuerUrl") is not None:
52
+ out["issuer_url"] = data["issuerUrl"]
53
+ else:
54
+ raise DeserializationError("IdpAuthConfiguration.issuer_url required")
55
+ if data.get("clientId") is not None:
56
+ out["client_id"] = data["clientId"]
57
+ else:
58
+ raise DeserializationError("IdpAuthConfiguration.client_id required")
59
+ if data.get("operatorAppRoleArn") is not None:
60
+ out["operator_app_role_arn"] = data["operatorAppRoleArn"]
61
+ else:
62
+ raise DeserializationError(
63
+ "IdpAuthConfiguration.operator_app_role_arn required"
64
+ )
65
+ if data.get("provider") is not None:
66
+ out["provider"] = data["provider"]
67
+ else:
68
+ raise DeserializationError("IdpAuthConfiguration.provider required")
69
+ if data.get("createdAt") is not None:
70
+ import datetime
71
+
72
+ out["created_at"] = datetime.datetime.fromisoformat(
73
+ data["createdAt"].replace("Z", "+00:00")
74
+ )
75
+ else:
76
+ raise DeserializationError("IdpAuthConfiguration.created_at required")
77
+ if data.get("updatedAt") is not None:
78
+ import datetime
79
+
80
+ out["updated_at"] = datetime.datetime.fromisoformat(
81
+ data["updatedAt"].replace("Z", "+00:00")
82
+ )
83
+ return out
@@ -0,0 +1,6 @@
1
+ """Generated from Smithy shape ``com.amazonaws.devopsagent#IdpClientId``."""
2
+
3
+ from typing import TypeAlias
4
+
5
+ """<p>Client ID for IdP OIDC authentication.</p>"""
6
+ IdpClientId: TypeAlias = str
@@ -0,0 +1,6 @@
1
+ """Generated from Smithy shape ``com.amazonaws.devopsagent#IdpClientSecret``."""
2
+
3
+ from typing import TypeAlias
4
+
5
+ """<p>Client secret for IdP OIDC authentication.</p>"""
6
+ IdpClientSecret: TypeAlias = str
@@ -0,0 +1,6 @@
1
+ """Generated from Smithy shape ``com.amazonaws.devopsagent#IpAddressOrDnsName``."""
2
+
3
+ from typing import TypeAlias
4
+
5
+ """<p>IP address or DNS name of a target resource.</p>"""
6
+ IpAddressOrDnsName: TypeAlias = str
@@ -0,0 +1,19 @@
1
+ """Generated from Smithy shape ``com.amazonaws.devopsagent#IpAddressType``."""
2
+
3
+ from typing import Literal, TypeAlias, cast
4
+
5
+ """<p>IP address type for a Resource Gateway.</p>"""
6
+ IpAddressType: TypeAlias = Literal[
7
+ "IPV4",
8
+ "IPV6",
9
+ "DUAL_STACK",
10
+ ]
11
+
12
+
13
+ # --- restJson1 ser/de ---
14
+ def serialize_json(value: IpAddressType) -> str:
15
+ return value
16
+
17
+
18
+ def deserialize_json(data: str) -> IpAddressType:
19
+ return cast(IpAddressType, data)
@@ -0,0 +1,89 @@
1
+ """Generated from Smithy shape ``com.amazonaws.devopsagent#JournalRecord``."""
2
+
3
+ from typing import TYPE_CHECKING
4
+
5
+ from typing_extensions import NotRequired, TypedDict
6
+
7
+ from capo_devops_agent.errors import DeserializationError
8
+
9
+ if TYPE_CHECKING:
10
+ import capo_devops_agent.types.journal_timestamp
11
+ import capo_devops_agent.types.user_reference
12
+
13
+
14
+ class JournalRecord(TypedDict, closed=True):
15
+ agent_space_id: "str"
16
+ """<p>The unique identifier for the agent space containing this record</p>"""
17
+ execution_id: "str"
18
+ """<p>The execution ID associated with this journal record</p>"""
19
+ record_id: "str"
20
+ """<p>The unique identifier for this journal record</p>"""
21
+ content: "object"
22
+ """<p>The content of this journal record</p>"""
23
+ created_at: "capo_devops_agent.types.journal_timestamp.JournalTimestamp"
24
+ """<p>Timestamp when this journal record was created</p>"""
25
+ record_type: "str"
26
+ """<p>The type of this journal record</p>"""
27
+ user_reference: NotRequired["capo_devops_agent.types.user_reference.UserReference"]
28
+ """<p>Reference to the user associated with this journal record</p>"""
29
+
30
+
31
+ # --- restJson1 ser/de ---
32
+ def serialize_json(value: JournalRecord) -> dict:
33
+ out: dict = {}
34
+ out["agentSpaceId"] = value["agent_space_id"]
35
+ out["executionId"] = value["execution_id"]
36
+ out["recordId"] = value["record_id"]
37
+ out["content"] = value["content"]
38
+ import capo_devops_agent.types.journal_timestamp
39
+
40
+ out["createdAt"] = capo_devops_agent.types.journal_timestamp.serialize_json(
41
+ value["created_at"]
42
+ )
43
+ out["recordType"] = value["record_type"]
44
+ if "user_reference" in value:
45
+ import capo_devops_agent.types.user_reference
46
+
47
+ out["userReference"] = capo_devops_agent.types.user_reference.serialize_json(
48
+ value["user_reference"]
49
+ )
50
+ return out
51
+
52
+
53
+ def deserialize_json(data: dict) -> JournalRecord:
54
+ out: JournalRecord = {} # type: ignore[typeddict-item]
55
+ if data.get("agentSpaceId") is not None:
56
+ out["agent_space_id"] = data["agentSpaceId"]
57
+ else:
58
+ raise DeserializationError("JournalRecord.agent_space_id required")
59
+ if data.get("executionId") is not None:
60
+ out["execution_id"] = data["executionId"]
61
+ else:
62
+ raise DeserializationError("JournalRecord.execution_id required")
63
+ if data.get("recordId") is not None:
64
+ out["record_id"] = data["recordId"]
65
+ else:
66
+ raise DeserializationError("JournalRecord.record_id required")
67
+ if data.get("content") is not None:
68
+ out["content"] = data["content"]
69
+ else:
70
+ raise DeserializationError("JournalRecord.content required")
71
+ if data.get("createdAt") is not None:
72
+ import capo_devops_agent.types.journal_timestamp
73
+
74
+ out["created_at"] = capo_devops_agent.types.journal_timestamp.deserialize_json(
75
+ data["createdAt"]
76
+ )
77
+ else:
78
+ raise DeserializationError("JournalRecord.created_at required")
79
+ if data.get("recordType") is not None:
80
+ out["record_type"] = data["recordType"]
81
+ else:
82
+ raise DeserializationError("JournalRecord.record_type required")
83
+ if data.get("userReference") is not None:
84
+ import capo_devops_agent.types.user_reference
85
+
86
+ out["user_reference"] = capo_devops_agent.types.user_reference.deserialize_json(
87
+ data["userReference"]
88
+ )
89
+ return out
@@ -0,0 +1,31 @@
1
+ """Generated from Smithy shape ``com.amazonaws.devopsagent#JournalRecordList``."""
2
+
3
+ from typing import TYPE_CHECKING, TypeAlias
4
+
5
+ if TYPE_CHECKING:
6
+ import capo_devops_agent.types.journal_record
7
+
8
+ JournalRecordList: TypeAlias = list[
9
+ "capo_devops_agent.types.journal_record.JournalRecord"
10
+ ]
11
+
12
+
13
+ # --- restJson1 ser/de ---
14
+ def serialize_json(value: JournalRecordList) -> list:
15
+ import capo_devops_agent.types.journal_record
16
+
17
+ out: list = []
18
+ for item in value:
19
+ out.append(capo_devops_agent.types.journal_record.serialize_json(item))
20
+ return out
21
+
22
+
23
+ def deserialize_json(data: list) -> JournalRecordList:
24
+ import capo_devops_agent.types.journal_record
25
+
26
+ out: JournalRecordList = []
27
+ for item in data:
28
+ if item is None:
29
+ continue
30
+ out.append(capo_devops_agent.types.journal_record.deserialize_json(item))
31
+ return out
@@ -0,0 +1,21 @@
1
+ """Generated from Smithy shape ``com.amazonaws.devopsagent#JournalTimestamp``."""
2
+
3
+ import datetime
4
+ from typing import TypeAlias
5
+
6
+ """<p>Timestamp format used for journal operations</p>"""
7
+ JournalTimestamp: TypeAlias = datetime.datetime
8
+
9
+
10
+ # --- restJson1 ser/de ---
11
+ def serialize_json(value: JournalTimestamp) -> float:
12
+ value = (
13
+ value.astimezone(datetime.timezone.utc)
14
+ if value.tzinfo
15
+ else value.replace(tzinfo=datetime.timezone.utc)
16
+ )
17
+ return value.timestamp()
18
+
19
+
20
+ def deserialize_json(data: float) -> JournalTimestamp:
21
+ return datetime.datetime.fromtimestamp(float(data), tz=datetime.timezone.utc)
@@ -0,0 +1,6 @@
1
+ """Generated from Smithy shape ``com.amazonaws.devopsagent#KmsKeyArn``."""
2
+
3
+ from typing import TypeAlias
4
+
5
+ """<p>The ARN of the AWS Key Management Service (AWS KMS) customer managed key that's used to encrypt resources.</p>"""
6
+ KmsKeyArn: TypeAlias = str
@@ -0,0 +1,26 @@
1
+ """Generated from Smithy shape ``com.amazonaws.devopsagent#ListAgentSpacesInput``."""
2
+
3
+ from typing import TYPE_CHECKING
4
+
5
+ from typing_extensions import NotRequired, TypedDict
6
+
7
+ if TYPE_CHECKING:
8
+ import capo_devops_agent.types.next_token
9
+
10
+
11
+ class ListAgentSpacesInput(TypedDict, closed=True):
12
+ max_results: "int"
13
+ """<p>Maximum number of results to return in a single call.</p>"""
14
+ next_token: NotRequired["capo_devops_agent.types.next_token.NextToken"]
15
+ """<p>Token for the next page of results.</p>"""
16
+
17
+
18
+ # --- restJson1 ser/de ---
19
+ def serialize_json(value: ListAgentSpacesInput) -> dict:
20
+ out: dict = {}
21
+ return out
22
+
23
+
24
+ def deserialize_json(data: dict) -> ListAgentSpacesInput:
25
+ out: ListAgentSpacesInput = {} # type: ignore[typeddict-item]
26
+ return out
@@ -0,0 +1,46 @@
1
+ """Generated from Smithy shape ``com.amazonaws.devopsagent#ListAgentSpacesOutput``."""
2
+
3
+ from typing import TYPE_CHECKING
4
+
5
+ from typing_extensions import NotRequired, TypedDict
6
+
7
+ from capo_devops_agent.errors import DeserializationError
8
+
9
+ if TYPE_CHECKING:
10
+ import capo_devops_agent.types.agent_space_list
11
+ import capo_devops_agent.types.next_token
12
+
13
+
14
+ class ListAgentSpacesOutput(TypedDict, closed=True):
15
+ next_token: NotRequired["capo_devops_agent.types.next_token.NextToken"]
16
+ """<p>Token to retrieve the next page of results, if there are more results.</p>"""
17
+ agent_spaces: "capo_devops_agent.types.agent_space_list.AgentSpaceList"
18
+ """<p>The list of AgentSpaces.</p>"""
19
+
20
+
21
+ # --- restJson1 ser/de ---
22
+ def serialize_json(value: ListAgentSpacesOutput) -> dict:
23
+ out: dict = {}
24
+ if "next_token" in value:
25
+ out["nextToken"] = value["next_token"]
26
+ import capo_devops_agent.types.agent_space_list
27
+
28
+ out["agentSpaces"] = capo_devops_agent.types.agent_space_list.serialize_json(
29
+ value["agent_spaces"]
30
+ )
31
+ return out
32
+
33
+
34
+ def deserialize_json(data: dict) -> ListAgentSpacesOutput:
35
+ out: ListAgentSpacesOutput = {} # type: ignore[typeddict-item]
36
+ if data.get("nextToken") is not None:
37
+ out["next_token"] = data["nextToken"]
38
+ if data.get("agentSpaces") is not None:
39
+ import capo_devops_agent.types.agent_space_list
40
+
41
+ out["agent_spaces"] = capo_devops_agent.types.agent_space_list.deserialize_json(
42
+ data["agentSpaces"]
43
+ )
44
+ else:
45
+ raise DeserializationError("ListAgentSpacesOutput.agent_spaces required")
46
+ return out
@@ -0,0 +1,34 @@
1
+ """Generated from Smithy shape ``com.amazonaws.devopsagent#ListAssetFilesRequest``."""
2
+
3
+ from typing import TYPE_CHECKING
4
+
5
+ from typing_extensions import NotRequired, TypedDict
6
+
7
+ if TYPE_CHECKING:
8
+ import capo_devops_agent.types.agent_space_id
9
+ import capo_devops_agent.types.next_token
10
+ import capo_devops_agent.types.resource_id
11
+
12
+
13
+ class ListAssetFilesRequest(TypedDict, closed=True):
14
+ agent_space_id: "capo_devops_agent.types.agent_space_id.AgentSpaceId"
15
+ """<p>The unique identifier for the agent space containing the asset</p>"""
16
+ asset_id: "capo_devops_agent.types.resource_id.ResourceId"
17
+ """<p>The unique identifier of the asset whose files to list</p>"""
18
+ asset_version: NotRequired["int"]
19
+ """<p>The specific asset version to list files from. If omitted, files from the latest version are returned.</p>"""
20
+ next_token: NotRequired["capo_devops_agent.types.next_token.NextToken"]
21
+ """<p>Pagination token from a previous response to retrieve the next page of results</p>"""
22
+ max_results: NotRequired["int"]
23
+ """<p>The maximum number of results to return in a single response</p>"""
24
+
25
+
26
+ # --- restJson1 ser/de ---
27
+ def serialize_json(value: ListAssetFilesRequest) -> dict:
28
+ out: dict = {}
29
+ return out
30
+
31
+
32
+ def deserialize_json(data: dict) -> ListAssetFilesRequest:
33
+ out: ListAssetFilesRequest = {} # type: ignore[typeddict-item]
34
+ return out
@@ -0,0 +1,46 @@
1
+ """Generated from Smithy shape ``com.amazonaws.devopsagent#ListAssetFilesResponse``."""
2
+
3
+ from typing import TYPE_CHECKING
4
+
5
+ from typing_extensions import NotRequired, TypedDict
6
+
7
+ from capo_devops_agent.errors import DeserializationError
8
+
9
+ if TYPE_CHECKING:
10
+ import capo_devops_agent.types.asset_file_summary_list
11
+ import capo_devops_agent.types.next_token
12
+
13
+
14
+ class ListAssetFilesResponse(TypedDict, closed=True):
15
+ items: "capo_devops_agent.types.asset_file_summary_list.AssetFileSummaryList"
16
+ """<p>The list of asset file summaries</p>"""
17
+ next_token: NotRequired["capo_devops_agent.types.next_token.NextToken"]
18
+ """<p>Pagination token to retrieve the next page of results. Absent when there are no more results.</p>"""
19
+
20
+
21
+ # --- restJson1 ser/de ---
22
+ def serialize_json(value: ListAssetFilesResponse) -> dict:
23
+ out: dict = {}
24
+ import capo_devops_agent.types.asset_file_summary_list
25
+
26
+ out["items"] = capo_devops_agent.types.asset_file_summary_list.serialize_json(
27
+ value["items"]
28
+ )
29
+ if "next_token" in value:
30
+ out["nextToken"] = value["next_token"]
31
+ return out
32
+
33
+
34
+ def deserialize_json(data: dict) -> ListAssetFilesResponse:
35
+ out: ListAssetFilesResponse = {} # type: ignore[typeddict-item]
36
+ if data.get("items") is not None:
37
+ import capo_devops_agent.types.asset_file_summary_list
38
+
39
+ out["items"] = capo_devops_agent.types.asset_file_summary_list.deserialize_json(
40
+ data["items"]
41
+ )
42
+ else:
43
+ raise DeserializationError("ListAssetFilesResponse.items required")
44
+ if data.get("nextToken") is not None:
45
+ out["next_token"] = data["nextToken"]
46
+ return out
@@ -0,0 +1,26 @@
1
+ """Generated from Smithy shape ``com.amazonaws.devopsagent#ListAssetTypesRequest``."""
2
+
3
+ from typing import TYPE_CHECKING
4
+
5
+ from typing_extensions import NotRequired, TypedDict
6
+
7
+ if TYPE_CHECKING:
8
+ import capo_devops_agent.types.next_token
9
+
10
+
11
+ class ListAssetTypesRequest(TypedDict, closed=True):
12
+ next_token: NotRequired["capo_devops_agent.types.next_token.NextToken"]
13
+ """<p>Pagination token from a previous response to retrieve the next page of results</p>"""
14
+ max_results: NotRequired["int"]
15
+ """<p>The maximum number of results to return in a single response</p>"""
16
+
17
+
18
+ # --- restJson1 ser/de ---
19
+ def serialize_json(value: ListAssetTypesRequest) -> dict:
20
+ out: dict = {}
21
+ return out
22
+
23
+
24
+ def deserialize_json(data: dict) -> ListAssetTypesRequest:
25
+ out: ListAssetTypesRequest = {} # type: ignore[typeddict-item]
26
+ return out
@@ -0,0 +1,46 @@
1
+ """Generated from Smithy shape ``com.amazonaws.devopsagent#ListAssetTypesResponse``."""
2
+
3
+ from typing import TYPE_CHECKING
4
+
5
+ from typing_extensions import NotRequired, TypedDict
6
+
7
+ from capo_devops_agent.errors import DeserializationError
8
+
9
+ if TYPE_CHECKING:
10
+ import capo_devops_agent.types.asset_type_list
11
+ import capo_devops_agent.types.next_token
12
+
13
+
14
+ class ListAssetTypesResponse(TypedDict, closed=True):
15
+ items: "capo_devops_agent.types.asset_type_list.AssetTypeList"
16
+ """<p>The list of supported asset types</p>"""
17
+ next_token: NotRequired["capo_devops_agent.types.next_token.NextToken"]
18
+ """<p>Pagination token to retrieve the next page of results. Absent when there are no more results.</p>"""
19
+
20
+
21
+ # --- restJson1 ser/de ---
22
+ def serialize_json(value: ListAssetTypesResponse) -> dict:
23
+ out: dict = {}
24
+ import capo_devops_agent.types.asset_type_list
25
+
26
+ out["items"] = capo_devops_agent.types.asset_type_list.serialize_json(
27
+ value["items"]
28
+ )
29
+ if "next_token" in value:
30
+ out["nextToken"] = value["next_token"]
31
+ return out
32
+
33
+
34
+ def deserialize_json(data: dict) -> ListAssetTypesResponse:
35
+ out: ListAssetTypesResponse = {} # type: ignore[typeddict-item]
36
+ if data.get("items") is not None:
37
+ import capo_devops_agent.types.asset_type_list
38
+
39
+ out["items"] = capo_devops_agent.types.asset_type_list.deserialize_json(
40
+ data["items"]
41
+ )
42
+ else:
43
+ raise DeserializationError("ListAssetTypesResponse.items required")
44
+ if data.get("nextToken") is not None:
45
+ out["next_token"] = data["nextToken"]
46
+ return out
@@ -0,0 +1,32 @@
1
+ """Generated from Smithy shape ``com.amazonaws.devopsagent#ListAssetVersionsRequest``."""
2
+
3
+ from typing import TYPE_CHECKING
4
+
5
+ from typing_extensions import NotRequired, TypedDict
6
+
7
+ if TYPE_CHECKING:
8
+ import capo_devops_agent.types.agent_space_id
9
+ import capo_devops_agent.types.next_token
10
+ import capo_devops_agent.types.resource_id
11
+
12
+
13
+ class ListAssetVersionsRequest(TypedDict, closed=True):
14
+ agent_space_id: "capo_devops_agent.types.agent_space_id.AgentSpaceId"
15
+ """<p>The unique identifier for the agent space containing the asset</p>"""
16
+ asset_id: "capo_devops_agent.types.resource_id.ResourceId"
17
+ """<p>The unique identifier of the asset whose versions to list</p>"""
18
+ max_results: NotRequired["int"]
19
+ """<p>The maximum number of results to return in a single response</p>"""
20
+ next_token: NotRequired["capo_devops_agent.types.next_token.NextToken"]
21
+ """<p>Pagination token from a previous response to retrieve the next page of results</p>"""
22
+
23
+
24
+ # --- restJson1 ser/de ---
25
+ def serialize_json(value: ListAssetVersionsRequest) -> dict:
26
+ out: dict = {}
27
+ return out
28
+
29
+
30
+ def deserialize_json(data: dict) -> ListAssetVersionsRequest:
31
+ out: ListAssetVersionsRequest = {} # type: ignore[typeddict-item]
32
+ return out
@@ -0,0 +1,50 @@
1
+ """Generated from Smithy shape ``com.amazonaws.devopsagent#ListAssetVersionsResponse``."""
2
+
3
+ from typing import TYPE_CHECKING
4
+
5
+ from typing_extensions import NotRequired, TypedDict
6
+
7
+ from capo_devops_agent.errors import DeserializationError
8
+
9
+ if TYPE_CHECKING:
10
+ import capo_devops_agent.types.asset_version_metadata_list
11
+ import capo_devops_agent.types.next_token
12
+
13
+
14
+ class ListAssetVersionsResponse(TypedDict, closed=True):
15
+ items: (
16
+ "capo_devops_agent.types.asset_version_metadata_list.AssetVersionMetadataList"
17
+ )
18
+ """<p>The list of version metadata for the asset</p>"""
19
+ next_token: NotRequired["capo_devops_agent.types.next_token.NextToken"]
20
+ """<p>Pagination token to retrieve the next page of results. Absent when there are no more results.</p>"""
21
+
22
+
23
+ # --- restJson1 ser/de ---
24
+ def serialize_json(value: ListAssetVersionsResponse) -> dict:
25
+ out: dict = {}
26
+ import capo_devops_agent.types.asset_version_metadata_list
27
+
28
+ out["items"] = capo_devops_agent.types.asset_version_metadata_list.serialize_json(
29
+ value["items"]
30
+ )
31
+ if "next_token" in value:
32
+ out["nextToken"] = value["next_token"]
33
+ return out
34
+
35
+
36
+ def deserialize_json(data: dict) -> ListAssetVersionsResponse:
37
+ out: ListAssetVersionsResponse = {} # type: ignore[typeddict-item]
38
+ if data.get("items") is not None:
39
+ import capo_devops_agent.types.asset_version_metadata_list
40
+
41
+ out["items"] = (
42
+ capo_devops_agent.types.asset_version_metadata_list.deserialize_json(
43
+ data["items"]
44
+ )
45
+ )
46
+ else:
47
+ raise DeserializationError("ListAssetVersionsResponse.items required")
48
+ if data.get("nextToken") is not None:
49
+ out["next_token"] = data["nextToken"]
50
+ return out