fastly 17.2.0 → 18.0.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 (340) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +45 -1
  3. data/Gemfile.lock +1 -1
  4. data/README.md +73 -2
  5. data/docs/AiRuntimeControlProviderConnectionsApi.md +210 -0
  6. data/docs/AiRuntimeControlProvidersApi.md +121 -0
  7. data/docs/AiRuntimeControlResponseBodyEnable.md +12 -0
  8. data/docs/AiRuntimeControlResponseCustomer.md +10 -0
  9. data/docs/AiRuntimeControlResponseLinks.md +10 -0
  10. data/docs/AiRuntimeControlResponseLinksLinks.md +10 -0
  11. data/docs/AiRuntimeControlResponseProduct.md +10 -0
  12. data/docs/AiRuntimeControlResponseProductProduct.md +11 -0
  13. data/docs/AiRuntimeControlSessionsApi.md +69 -0
  14. data/docs/AiRuntimeControlUsageMetricsApi.md +113 -0
  15. data/docs/AiRuntimeControlVirtualKeysApi.md +334 -0
  16. data/docs/ArcBedrockSetupResponse.md +11 -0
  17. data/docs/ArcCreateVirtualKeyResponse.md +19 -0
  18. data/docs/ArcError.md +12 -0
  19. data/docs/ArcFailoverTarget.md +10 -0
  20. data/docs/ArcGetProviderConnectionResponse.md +19 -0
  21. data/docs/ArcGetProviderConnectionResponseExtra.md +10 -0
  22. data/docs/ArcModel.md +12 -0
  23. data/docs/ArcModelsMeta.md +10 -0
  24. data/docs/ArcModelsResponse.md +11 -0
  25. data/docs/ArcProvider.md +13 -0
  26. data/docs/ArcProviderConnectionApiKey.md +14 -0
  27. data/docs/ArcProviderConnectionAwsIam.md +14 -0
  28. data/docs/ArcProviderConnectionListItemResponse.md +19 -0
  29. data/docs/ArcProviderConnectionListItemResponseExtra.md +10 -0
  30. data/docs/ArcProviderConnectionRequest.md +49 -0
  31. data/docs/ArcProviderConnectionResponse.md +18 -0
  32. data/docs/ArcProviderConnectionsMeta.md +11 -0
  33. data/docs/ArcProviderConnectionsResponse.md +11 -0
  34. data/docs/ArcProvidersMeta.md +10 -0
  35. data/docs/ArcProvidersResponse.md +11 -0
  36. data/docs/ArcRotateVirtualKeyRequest.md +10 -0
  37. data/docs/ArcRotateVirtualKeyResponse.md +17 -0
  38. data/docs/ArcSession.md +28 -0
  39. data/docs/ArcSessionLogEntry.md +12 -0
  40. data/docs/ArcSessionsMeta.md +14 -0
  41. data/docs/ArcSessionsResponse.md +11 -0
  42. data/docs/ArcUpdateProviderConnectionRequest.md +14 -0
  43. data/docs/ArcUpdateVirtualKeyRequest.md +16 -0
  44. data/docs/ArcUpdateVirtualKeyResponse.md +20 -0
  45. data/docs/ArcUsageMetric.md +18 -0
  46. data/docs/ArcUsageMetricsMeta.md +11 -0
  47. data/docs/ArcUsageMetricsResponse.md +11 -0
  48. data/docs/ArcVirtualKey.md +15 -0
  49. data/docs/ArcVirtualKeyFailoverRequest.md +13 -0
  50. data/docs/ArcVirtualKeyFailoverResponse.md +13 -0
  51. data/docs/ArcVirtualKeyListItemResponse.md +26 -0
  52. data/docs/ArcVirtualKeyListItemResponseExtra.md +20 -0
  53. data/docs/ArcVirtualKeyResponse.md +25 -0
  54. data/docs/ArcVirtualKeyResponseExtra.md +19 -0
  55. data/docs/ArcVirtualKeysMeta.md +14 -0
  56. data/docs/ArcVirtualKeysResponse.md +11 -0
  57. data/docs/AutomationToken.md +6 -2
  58. data/docs/AutomationTokenCreateRequest.md +10 -1
  59. data/docs/AutomationTokenCreateResponse.md +6 -2
  60. data/docs/AutomationTokenResponse.md +5 -1
  61. data/docs/AutomationTokenRole.md +11 -0
  62. data/docs/AutomationTokenUnversionedError.md +11 -0
  63. data/docs/AutomationTokenUnversionedErrorResponse.md +10 -0
  64. data/docs/AutomationTokenWorkspace.md +11 -0
  65. data/docs/AutomationTokenWorkspacesMeta.md +12 -0
  66. data/docs/AutomationTokenWorkspacesResponse.md +12 -0
  67. data/docs/AutomationTokensApi.md +43 -1
  68. data/docs/BotManagementAction.md +10 -0
  69. data/docs/BotManagementApi.md +433 -0
  70. data/docs/BotManagementBot.md +10 -0
  71. data/docs/BotManagementBotAction.md +10 -0
  72. data/docs/BotManagementBotResponse.md +12 -0
  73. data/docs/BotManagementBotResponseExtra.md +11 -0
  74. data/docs/BotManagementBotsResponse.md +11 -0
  75. data/docs/BotManagementCategoriesResponse.md +11 -0
  76. data/docs/BotManagementCategory.md +10 -0
  77. data/docs/BotManagementCategoryResponse.md +13 -0
  78. data/docs/BotManagementCategoryResponseExtra.md +12 -0
  79. data/docs/BotManagementError.md +12 -0
  80. data/docs/BotManagementInvalidRequestError.md +12 -0
  81. data/docs/BotManagementInvalidRequestErrorExtra.md +12 -0
  82. data/docs/BotManagementMeta.md +12 -0
  83. data/docs/BotManagementNotAllowedError.md +12 -0
  84. data/docs/BotManagementNotAllowedErrorExtra.md +11 -0
  85. data/docs/BotManagementNotAuthenticatedError.md +12 -0
  86. data/docs/BotManagementNotAuthenticatedErrorExtra.md +11 -0
  87. data/docs/BotManagementNotFoundError.md +12 -0
  88. data/docs/BotManagementNotFoundErrorExtra.md +11 -0
  89. data/docs/BotManagementProtectionMode.md +9 -0
  90. data/docs/BotManagementRateLimitError.md +12 -0
  91. data/docs/BotManagementRateLimitErrorExtra.md +11 -0
  92. data/docs/BotManagementWorkspace.md +12 -0
  93. data/docs/BotManagementWorkspaceBotResponse.md +13 -0
  94. data/docs/BotManagementWorkspaceBotResponseExtra.md +10 -0
  95. data/docs/BotManagementWorkspaceBotsResponse.md +11 -0
  96. data/docs/BotManagementWorkspaceResponse.md +16 -0
  97. data/docs/BotManagementWorkspaceResponseExtra.md +13 -0
  98. data/docs/BotManagementWorkspacesResponse.md +11 -0
  99. data/docs/BotRequestMetricsDataItem.md +16 -0
  100. data/docs/BotRequestMetricsMetadata.md +14 -0
  101. data/docs/BotRequestMetricsResponse.md +11 -0
  102. data/docs/BotRequestsMetricsApi.md +77 -0
  103. data/docs/BulkUpdateDictionaryItem.md +1 -1
  104. data/docs/DdosProtectionRule.md +1 -1
  105. data/docs/DdosProtectionRuleAllOf.md +1 -1
  106. data/docs/DdosProtectionRulePatch.md +1 -1
  107. data/docs/DdosProtectionRuleWithStats.md +1 -1
  108. data/docs/DictionaryItem.md +1 -1
  109. data/docs/DictionaryItemApi.md +14 -14
  110. data/docs/DictionaryItemResponse.md +1 -1
  111. data/docs/MetricsPlatformApi.md +69 -13
  112. data/docs/NetworkProtectApi.md +789 -0
  113. data/docs/NetworkProtectConflict.md +13 -0
  114. data/docs/NetworkProtectConflictError.md +11 -0
  115. data/docs/NetworkProtectEndpoint.md +11 -0
  116. data/docs/NetworkProtectEndpointCreate.md +11 -0
  117. data/docs/NetworkProtectEndpointPolicy.md +11 -0
  118. data/docs/NetworkProtectEndpointResponse.md +14 -0
  119. data/docs/NetworkProtectEndpointResponseFields.md +12 -0
  120. data/docs/NetworkProtectEndpointUpdate.md +10 -0
  121. data/docs/NetworkProtectEndpointsResponse.md +11 -0
  122. data/docs/NetworkProtectErrorDetail.md +11 -0
  123. data/docs/NetworkProtectInvalidRequest.md +13 -0
  124. data/docs/NetworkProtectListMeta.md +11 -0
  125. data/docs/NetworkProtectLoaStatus.md +9 -0
  126. data/docs/NetworkProtectNetwork.md +15 -0
  127. data/docs/NetworkProtectNetworkCreate.md +14 -0
  128. data/docs/NetworkProtectNetworkResponse.md +22 -0
  129. data/docs/NetworkProtectNetworkResponseFields.md +16 -0
  130. data/docs/NetworkProtectNetworkUpdate.md +14 -0
  131. data/docs/NetworkProtectNetworksResponse.md +11 -0
  132. data/docs/NetworkProtectPolicyEndpoint.md +13 -0
  133. data/docs/NetworkProtectPrefixList.md +12 -0
  134. data/docs/NetworkProtectPrefixListCreate.md +12 -0
  135. data/docs/NetworkProtectPrefixListFamily.md +9 -0
  136. data/docs/NetworkProtectPrefixListResponse.md +15 -0
  137. data/docs/NetworkProtectPrefixListResponseFields.md +12 -0
  138. data/docs/NetworkProtectPrefixListUpdate.md +11 -0
  139. data/docs/NetworkProtectPrefixListsResponse.md +11 -0
  140. data/docs/NetworkProtectRegion.md +9 -0
  141. data/docs/NetworkProtectRoaStatus.md +9 -0
  142. data/docs/NetworkProtectRule.md +16 -0
  143. data/docs/NetworkProtectRuleAction.md +9 -0
  144. data/docs/NetworkProtectRuleDestinationPorts.md +9 -0
  145. data/docs/NetworkProtectRuleIpProtocol.md +9 -0
  146. data/docs/NetworkProtectRuleMatchDestinationIp.md +10 -0
  147. data/docs/NetworkProtectRuleMatchDestinationPorts.md +10 -0
  148. data/docs/NetworkProtectRuleMatchIpProtocol.md +10 -0
  149. data/docs/NetworkProtectRuleMatchSourcePorts.md +10 -0
  150. data/docs/NetworkProtectRuleMatchSourcePrefixList.md +10 -0
  151. data/docs/NetworkProtectRuleResponse.md +16 -0
  152. data/docs/NetworkProtectRuleSet.md +11 -0
  153. data/docs/NetworkProtectRuleSetCreate.md +11 -0
  154. data/docs/NetworkProtectRuleSetDefaultAction.md +9 -0
  155. data/docs/NetworkProtectRuleSetResponse.md +14 -0
  156. data/docs/NetworkProtectRuleSetResponseFields.md +12 -0
  157. data/docs/NetworkProtectRuleSetUpdate.md +11 -0
  158. data/docs/NetworkProtectRuleSetsResponse.md +11 -0
  159. data/docs/NetworkProtectRuleSourcePorts.md +9 -0
  160. data/docs/NetworkProtectRuleTimestamps.md +11 -0
  161. data/docs/PlatformValues.md +359 -16
  162. data/docs/ProductAiRuntimeControlApi.md +115 -0
  163. data/docs/PurgeApi.md +6 -0
  164. data/docs/RealtimeEntryAggregated.md +16 -0
  165. data/docs/RealtimeEntryDatacenter.md +16 -0
  166. data/docs/RealtimeMeasurements.md +16 -0
  167. data/docs/Results.md +16 -0
  168. data/lib/fastly/api/ai_runtime_control_provider_connections_api.rb +355 -0
  169. data/lib/fastly/api/ai_runtime_control_providers_api.rb +195 -0
  170. data/lib/fastly/api/ai_runtime_control_sessions_api.rb +112 -0
  171. data/lib/fastly/api/ai_runtime_control_usage_metrics_api.rb +176 -0
  172. data/lib/fastly/api/ai_runtime_control_virtual_keys_api.rb +580 -0
  173. data/lib/fastly/api/automation_tokens_api.rb +78 -1
  174. data/lib/fastly/api/bot_management_api.rb +787 -0
  175. data/lib/fastly/api/bot_requests_metrics_api.rb +137 -0
  176. data/lib/fastly/api/dictionary_item_api.rb +14 -14
  177. data/lib/fastly/api/metrics_platform_api.rb +130 -23
  178. data/lib/fastly/api/network_protect_api.rb +1420 -0
  179. data/lib/fastly/api/product_ai_runtime_control_api.rb +186 -0
  180. data/lib/fastly/api/purge_api.rb +21 -0
  181. data/lib/fastly/configuration.rb +331 -1
  182. data/lib/fastly/models/ai_runtime_control_response_body_enable.rb +243 -0
  183. data/lib/fastly/models/ai_runtime_control_response_customer.rb +216 -0
  184. data/lib/fastly/models/ai_runtime_control_response_links.rb +216 -0
  185. data/lib/fastly/models/ai_runtime_control_response_links_links.rb +217 -0
  186. data/lib/fastly/models/ai_runtime_control_response_product.rb +216 -0
  187. data/lib/fastly/models/ai_runtime_control_response_product_product.rb +227 -0
  188. data/lib/fastly/models/arc_bedrock_setup_response.rb +237 -0
  189. data/lib/fastly/models/arc_create_virtual_key_response.rb +346 -0
  190. data/lib/fastly/models/arc_error.rb +238 -0
  191. data/lib/fastly/models/arc_failover_target.rb +223 -0
  192. data/lib/fastly/models/arc_get_provider_connection_response.rb +393 -0
  193. data/lib/fastly/models/arc_get_provider_connection_response_extra.rb +224 -0
  194. data/lib/fastly/models/arc_model.rb +253 -0
  195. data/lib/fastly/models/arc_models_meta.rb +217 -0
  196. data/lib/fastly/models/arc_models_response.rb +238 -0
  197. data/lib/fastly/models/arc_provider.rb +270 -0
  198. data/lib/fastly/models/arc_provider_connection_api_key.rb +335 -0
  199. data/lib/fastly/models/arc_provider_connection_aws_iam.rb +350 -0
  200. data/lib/fastly/models/arc_provider_connection_list_item_response.rb +386 -0
  201. data/lib/fastly/models/arc_provider_connection_list_item_response_extra.rb +217 -0
  202. data/lib/fastly/models/arc_provider_connection_request.rb +103 -0
  203. data/lib/fastly/models/arc_provider_connection_response.rb +369 -0
  204. data/lib/fastly/models/arc_provider_connections_meta.rb +228 -0
  205. data/lib/fastly/models/arc_provider_connections_response.rb +238 -0
  206. data/lib/fastly/models/arc_providers_meta.rb +217 -0
  207. data/lib/fastly/models/arc_providers_response.rb +238 -0
  208. data/lib/fastly/models/arc_rotate_virtual_key_request.rb +218 -0
  209. data/lib/fastly/models/arc_rotate_virtual_key_response.rb +324 -0
  210. data/lib/fastly/models/arc_session.rb +465 -0
  211. data/lib/fastly/models/arc_session_log_entry.rb +240 -0
  212. data/lib/fastly/models/arc_sessions_meta.rb +260 -0
  213. data/lib/fastly/models/arc_sessions_response.rb +238 -0
  214. data/lib/fastly/models/arc_update_provider_connection_request.rb +275 -0
  215. data/lib/fastly/models/arc_update_virtual_key_request.rb +345 -0
  216. data/lib/fastly/models/arc_update_virtual_key_response.rb +352 -0
  217. data/lib/fastly/models/arc_usage_metric.rb +347 -0
  218. data/lib/fastly/models/arc_usage_metrics_meta.rb +228 -0
  219. data/lib/fastly/models/arc_usage_metrics_response.rb +238 -0
  220. data/lib/fastly/models/arc_virtual_key.rb +342 -0
  221. data/lib/fastly/models/arc_virtual_key_failover_request.rb +255 -0
  222. data/lib/fastly/models/arc_virtual_key_failover_response.rb +270 -0
  223. data/lib/fastly/models/arc_virtual_key_list_item_response.rb +492 -0
  224. data/lib/fastly/models/arc_virtual_key_list_item_response_extra.rb +350 -0
  225. data/lib/fastly/models/arc_virtual_key_response.rb +477 -0
  226. data/lib/fastly/models/arc_virtual_key_response_extra.rb +335 -0
  227. data/lib/fastly/models/arc_virtual_keys_meta.rb +260 -0
  228. data/lib/fastly/models/arc_virtual_keys_response.rb +238 -0
  229. data/lib/fastly/models/automation_token.rb +49 -5
  230. data/lib/fastly/models/automation_token_create_request.rb +161 -7
  231. data/lib/fastly/models/automation_token_create_response.rb +49 -5
  232. data/lib/fastly/models/automation_token_error_response.rb +1 -0
  233. data/lib/fastly/models/automation_token_response.rb +46 -2
  234. data/lib/fastly/models/automation_token_role.rb +227 -0
  235. data/lib/fastly/models/automation_token_unversioned_error.rb +225 -0
  236. data/lib/fastly/models/automation_token_unversioned_error_response.rb +219 -0
  237. data/lib/fastly/models/automation_token_workspace.rb +237 -0
  238. data/lib/fastly/models/automation_token_workspaces_meta.rb +242 -0
  239. data/lib/fastly/models/automation_token_workspaces_response.rb +253 -0
  240. data/lib/fastly/models/bot_management_action.rb +257 -0
  241. data/lib/fastly/models/bot_management_bot.rb +222 -0
  242. data/lib/fastly/models/bot_management_bot_action.rb +257 -0
  243. data/lib/fastly/models/bot_management_bot_response.rb +259 -0
  244. data/lib/fastly/models/bot_management_bot_response_extra.rb +237 -0
  245. data/lib/fastly/models/bot_management_bots_response.rb +238 -0
  246. data/lib/fastly/models/bot_management_categories_response.rb +238 -0
  247. data/lib/fastly/models/bot_management_category.rb +222 -0
  248. data/lib/fastly/models/bot_management_category_response.rb +269 -0
  249. data/lib/fastly/models/bot_management_category_response_extra.rb +247 -0
  250. data/lib/fastly/models/bot_management_error.rb +248 -0
  251. data/lib/fastly/models/bot_management_invalid_request_error.rb +291 -0
  252. data/lib/fastly/models/bot_management_invalid_request_error_extra.rb +283 -0
  253. data/lib/fastly/models/bot_management_meta.rb +239 -0
  254. data/lib/fastly/models/bot_management_not_allowed_error.rb +287 -0
  255. data/lib/fastly/models/bot_management_not_allowed_error_extra.rb +259 -0
  256. data/lib/fastly/models/bot_management_not_authenticated_error.rb +287 -0
  257. data/lib/fastly/models/bot_management_not_authenticated_error_extra.rb +259 -0
  258. data/lib/fastly/models/bot_management_not_found_error.rb +287 -0
  259. data/lib/fastly/models/bot_management_not_found_error_extra.rb +259 -0
  260. data/lib/fastly/models/bot_management_protection_mode.rb +36 -0
  261. data/lib/fastly/models/bot_management_rate_limit_error.rb +287 -0
  262. data/lib/fastly/models/bot_management_rate_limit_error_extra.rb +259 -0
  263. data/lib/fastly/models/bot_management_workspace.rb +276 -0
  264. data/lib/fastly/models/bot_management_workspace_bot_response.rb +275 -0
  265. data/lib/fastly/models/bot_management_workspace_bot_response_extra.rb +222 -0
  266. data/lib/fastly/models/bot_management_workspace_bots_response.rb +238 -0
  267. data/lib/fastly/models/bot_management_workspace_response.rb +354 -0
  268. data/lib/fastly/models/bot_management_workspace_response_extra.rb +264 -0
  269. data/lib/fastly/models/bot_management_workspaces_response.rb +238 -0
  270. data/lib/fastly/models/bot_request_metrics_data_item.rb +278 -0
  271. data/lib/fastly/models/bot_request_metrics_metadata.rb +258 -0
  272. data/lib/fastly/models/bot_request_metrics_response.rb +228 -0
  273. data/lib/fastly/models/bulk_update_dictionary_item.rb +1 -1
  274. data/lib/fastly/models/ddos_protection_request_enable_mode.rb +2 -2
  275. data/lib/fastly/models/ddos_protection_request_update_configuration.rb +2 -2
  276. data/lib/fastly/models/ddos_protection_rule.rb +1 -1
  277. data/lib/fastly/models/ddos_protection_rule_all_of.rb +1 -1
  278. data/lib/fastly/models/ddos_protection_rule_patch.rb +1 -1
  279. data/lib/fastly/models/ddos_protection_rule_with_stats.rb +1 -1
  280. data/lib/fastly/models/dictionary_item.rb +1 -1
  281. data/lib/fastly/models/dictionary_item_response.rb +1 -1
  282. data/lib/fastly/models/event_attributes.rb +2 -2
  283. data/lib/fastly/models/network_protect_conflict.rb +299 -0
  284. data/lib/fastly/models/network_protect_conflict_error.rb +228 -0
  285. data/lib/fastly/models/network_protect_endpoint.rb +266 -0
  286. data/lib/fastly/models/network_protect_endpoint_create.rb +266 -0
  287. data/lib/fastly/models/network_protect_endpoint_policy.rb +255 -0
  288. data/lib/fastly/models/network_protect_endpoint_response.rb +340 -0
  289. data/lib/fastly/models/network_protect_endpoint_response_fields.rb +274 -0
  290. data/lib/fastly/models/network_protect_endpoint_update.rb +251 -0
  291. data/lib/fastly/models/network_protect_endpoints_response.rb +239 -0
  292. data/lib/fastly/models/network_protect_error_detail.rb +238 -0
  293. data/lib/fastly/models/{automation_token_create_request_attributes.rb → network_protect_invalid_request.rb} +63 -75
  294. data/lib/fastly/models/network_protect_list_meta.rb +263 -0
  295. data/lib/fastly/models/network_protect_loa_status.rb +36 -0
  296. data/lib/fastly/models/network_protect_network.rb +363 -0
  297. data/lib/fastly/models/network_protect_network_create.rb +340 -0
  298. data/lib/fastly/models/network_protect_network_response.rb +477 -0
  299. data/lib/fastly/models/network_protect_network_response_fields.rb +314 -0
  300. data/lib/fastly/models/network_protect_network_update.rb +329 -0
  301. data/lib/fastly/models/network_protect_networks_response.rb +239 -0
  302. data/lib/fastly/models/network_protect_policy_endpoint.rb +307 -0
  303. data/lib/fastly/models/network_protect_prefix_list.rb +282 -0
  304. data/lib/fastly/models/network_protect_prefix_list_create.rb +301 -0
  305. data/lib/fastly/models/network_protect_prefix_list_family.rb +35 -0
  306. data/lib/fastly/models/network_protect_prefix_list_response.rb +356 -0
  307. data/lib/fastly/models/network_protect_prefix_list_response_fields.rb +274 -0
  308. data/lib/fastly/models/network_protect_prefix_list_update.rb +269 -0
  309. data/lib/fastly/models/network_protect_prefix_lists_response.rb +239 -0
  310. data/lib/fastly/models/network_protect_region.rb +34 -0
  311. data/lib/fastly/models/network_protect_roa_status.rb +37 -0
  312. data/lib/fastly/models/network_protect_rule.rb +372 -0
  313. data/lib/fastly/models/network_protect_rule_action.rb +35 -0
  314. data/lib/fastly/models/network_protect_rule_destination_ports.rb +208 -0
  315. data/lib/fastly/models/network_protect_rule_ip_protocol.rb +37 -0
  316. data/lib/fastly/models/network_protect_rule_match_destination_ip.rb +223 -0
  317. data/lib/fastly/models/network_protect_rule_match_destination_ports.rb +222 -0
  318. data/lib/fastly/models/network_protect_rule_match_ip_protocol.rb +222 -0
  319. data/lib/fastly/models/network_protect_rule_match_source_ports.rb +222 -0
  320. data/lib/fastly/models/network_protect_rule_match_source_prefix_list.rb +244 -0
  321. data/lib/fastly/models/network_protect_rule_response.rb +329 -0
  322. data/lib/fastly/models/network_protect_rule_set.rb +258 -0
  323. data/lib/fastly/models/network_protect_rule_set_create.rb +249 -0
  324. data/lib/fastly/models/network_protect_rule_set_default_action.rb +35 -0
  325. data/lib/fastly/models/network_protect_rule_set_response.rb +332 -0
  326. data/lib/fastly/models/network_protect_rule_set_response_fields.rb +274 -0
  327. data/lib/fastly/models/network_protect_rule_set_update.rb +244 -0
  328. data/lib/fastly/models/network_protect_rule_sets_response.rb +239 -0
  329. data/lib/fastly/models/network_protect_rule_source_ports.rb +208 -0
  330. data/lib/fastly/models/network_protect_rule_timestamps.rb +228 -0
  331. data/lib/fastly/models/platform_values.rb +3568 -137
  332. data/lib/fastly/models/realtime_entry_aggregated.rb +164 -4
  333. data/lib/fastly/models/realtime_entry_datacenter.rb +164 -4
  334. data/lib/fastly/models/realtime_measurements.rb +164 -4
  335. data/lib/fastly/models/results.rb +161 -1
  336. data/lib/fastly/version.rb +1 -1
  337. data/lib/fastly.rb +143 -1
  338. data/sig.json +1 -1
  339. metadata +288 -4
  340. data/docs/AutomationTokenCreateRequestAttributes.md +0 -15
@@ -0,0 +1,11 @@
1
+ # Fastly::AiRuntimeControlResponseProductProduct
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | Product identifier | [optional] |
8
+ | **object** | **String** | Name of the object | [optional] |
9
+
10
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
11
+
@@ -0,0 +1,69 @@
1
+ # Fastly::AiRuntimeControlSessionsApi
2
+
3
+
4
+ ```ruby
5
+ require 'fastly'
6
+ api_instance = Fastly::AiRuntimeControlSessionsApi.new
7
+ ```
8
+
9
+ ## Methods
10
+
11
+ > [!NOTE]
12
+ > All URIs are relative to `https://api.fastly.com`
13
+
14
+ Method | HTTP request | Description
15
+ ------ | ------------ | -----------
16
+ [**arc_get_session_logs**](AiRuntimeControlSessionsApi.md#arc_get_session_logs) | **GET** /ai-runtime-control/v1/sessions | Get session logs
17
+
18
+
19
+ ## `arc_get_session_logs()`
20
+
21
+ ```ruby
22
+ arc_get_session_logs(opts): <ArcSessionsResponse> # Get session logs
23
+ ```
24
+
25
+ Returns session logs, including request and response data and metadata, for debugging and audit purposes.
26
+
27
+ ### Examples
28
+
29
+ ```ruby
30
+ api_instance = Fastly::AiRuntimeControlSessionsApi.new
31
+ opts = {
32
+ key: '7fVVQb1nZaJgnzCn4B4v3B', # String | Filter results to a specific virtual key ID.
33
+ provider: 'pTfnUUBcU1yv8SoRJn5PZ2', # String | Filter results by AI provider connection ID.
34
+ model: 'claude-sonnet-4-20250514', # String | Filter results by AI model identifier.
35
+ from: Time.parse('2026-09-01T00:00Z'), # Time | The start of the time range, in RFC 3339 format.
36
+ to: Time.parse('2026-09-22T00:00Z'), # Time | The end of the time range, in RFC 3339 format. Defaults to `now`.
37
+ cursor: 'MTAwOjA', # String | Cursor for pagination. Use the `next_cursor` value from a previous response to request the next page of results, or the `prev_cursor` value to request the previous page.
38
+ limit: 100, # Integer | Limit how many results are returned.
39
+ sort: 'created_at', # String | Sort field. Prefix with `-` for descending order (e.g., `sort=-created_at`).
40
+ }
41
+
42
+ begin
43
+ # Get session logs
44
+ result = api_instance.arc_get_session_logs(opts)
45
+ p result
46
+ rescue Fastly::ApiError => e
47
+ puts "Error when calling AiRuntimeControlSessionsApi->arc_get_session_logs: #{e}"
48
+ end
49
+ ```
50
+
51
+ ### Options
52
+
53
+ | Name | Type | Description | Notes |
54
+ | ---- | ---- | ----------- | ----- |
55
+ | **key** | **String** | Filter results to a specific virtual key ID. | [optional] |
56
+ | **provider** | **String** | Filter results by AI provider connection ID. | [optional] |
57
+ | **model** | **String** | Filter results by AI model identifier. | [optional] |
58
+ | **from** | **Time** | The start of the time range, in RFC 3339 format. | [optional] |
59
+ | **to** | **Time** | The end of the time range, in RFC 3339 format. Defaults to `now`. | [optional] |
60
+ | **cursor** | **String** | Cursor for pagination. Use the `next_cursor` value from a previous response to request the next page of results, or the `prev_cursor` value to request the previous page. | [optional] |
61
+ | **limit** | **Integer** | Limit how many results are returned. | [optional][default to 100] |
62
+ | **sort** | **String** | Sort field. Prefix with `-` for descending order (e.g., `sort&#x3D;-created_at`). | [optional][default to &#39;created_at&#39;] |
63
+
64
+ ### Return type
65
+
66
+ [**ArcSessionsResponse**](ArcSessionsResponse.md)
67
+
68
+ [[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
69
+ [[Back to README]](../../README.md)
@@ -0,0 +1,113 @@
1
+ # Fastly::AiRuntimeControlUsageMetricsApi
2
+
3
+
4
+ ```ruby
5
+ require 'fastly'
6
+ api_instance = Fastly::AiRuntimeControlUsageMetricsApi.new
7
+ ```
8
+
9
+ ## Methods
10
+
11
+ > [!NOTE]
12
+ > All URIs are relative to `https://api.fastly.com`
13
+
14
+ Method | HTTP request | Description
15
+ ------ | ------------ | -----------
16
+ [**arc_export_usage_metrics**](AiRuntimeControlUsageMetricsApi.md#arc_export_usage_metrics) | **GET** /ai-runtime-control/v1/usage-metrics/export | Export usage metrics
17
+ [**arc_get_usage_metrics**](AiRuntimeControlUsageMetricsApi.md#arc_get_usage_metrics) | **GET** /ai-runtime-control/v1/usage-metrics | Get usage metrics
18
+
19
+
20
+ ## `arc_export_usage_metrics()`
21
+
22
+ ```ruby
23
+ arc_export_usage_metrics(opts): <ArcUsageMetricsResponse> # Export usage metrics
24
+ ```
25
+
26
+ Returns usage metrics for AI Runtime Control requests. Accepts the same filter parameters as [get usage metrics](#arc-get-usage-metrics), except `sort` and `granularity`, which aren't supported here. Set the `Accept` header to `text/csv` to receive a CSV file download instead of a JSON response. In the CSV output, the column named `time` corresponds to the `date` field in the JSON response.
27
+
28
+ ### Examples
29
+
30
+ ```ruby
31
+ api_instance = Fastly::AiRuntimeControlUsageMetricsApi.new
32
+ opts = {
33
+ key: '7fVVQb1nZaJgnzCn4B4v3B', # String | Filter results to a specific virtual key ID.
34
+ provider: 'pTfnUUBcU1yv8SoRJn5PZ2', # String | Filter results by AI provider connection ID.
35
+ model: 'claude-sonnet-4-20250514', # String | Filter results by AI model identifier.
36
+ from: Time.parse('2026-09-01T00:00Z'), # Time | The start of the time range, in RFC 3339 format.
37
+ to: Time.parse('2026-09-22T00:00Z'), # Time | The end of the time range, in RFC 3339 format. Defaults to now.
38
+ }
39
+
40
+ begin
41
+ # Export usage metrics
42
+ result = api_instance.arc_export_usage_metrics(opts)
43
+ p result
44
+ rescue Fastly::ApiError => e
45
+ puts "Error when calling AiRuntimeControlUsageMetricsApi->arc_export_usage_metrics: #{e}"
46
+ end
47
+ ```
48
+
49
+ ### Options
50
+
51
+ | Name | Type | Description | Notes |
52
+ | ---- | ---- | ----------- | ----- |
53
+ | **key** | **String** | Filter results to a specific virtual key ID. | [optional] |
54
+ | **provider** | **String** | Filter results by AI provider connection ID. | [optional] |
55
+ | **model** | **String** | Filter results by AI model identifier. | [optional] |
56
+ | **from** | **Time** | The start of the time range, in RFC 3339 format. | [optional] |
57
+ | **to** | **Time** | The end of the time range, in RFC 3339 format. Defaults to now. | [optional] |
58
+
59
+ ### Return type
60
+
61
+ [**ArcUsageMetricsResponse**](ArcUsageMetricsResponse.md)
62
+
63
+ [[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
64
+ [[Back to README]](../../README.md)
65
+ ## `arc_get_usage_metrics()`
66
+
67
+ ```ruby
68
+ arc_get_usage_metrics(opts): <ArcUsageMetricsResponse> # Get usage metrics
69
+ ```
70
+
71
+ Returns usage metrics for AI Runtime Control requests, including request counts, session counts, input token counts, and output token counts.
72
+
73
+ ### Examples
74
+
75
+ ```ruby
76
+ api_instance = Fastly::AiRuntimeControlUsageMetricsApi.new
77
+ opts = {
78
+ key: '7fVVQb1nZaJgnzCn4B4v3B', # String | Filter results to a specific virtual key ID.
79
+ provider: 'pTfnUUBcU1yv8SoRJn5PZ2', # String | Filter results by AI provider connection ID.
80
+ model: 'claude-sonnet-4-20250514', # String | Filter results by AI model identifier.
81
+ from: Time.parse('2026-09-01T00:00Z'), # Time | The start of the time range, in RFC 3339 format.
82
+ to: Time.parse('2026-09-22T00:00Z'), # Time | The end of the time range, in RFC 3339 format. Defaults to now.
83
+ granularity: 'daily', # String | The time granularity to aggregate usage by.
84
+ sort: 'date', # String | Sort field. Prefix with `-` for descending order (e.g., `sort=-date`).
85
+ }
86
+
87
+ begin
88
+ # Get usage metrics
89
+ result = api_instance.arc_get_usage_metrics(opts)
90
+ p result
91
+ rescue Fastly::ApiError => e
92
+ puts "Error when calling AiRuntimeControlUsageMetricsApi->arc_get_usage_metrics: #{e}"
93
+ end
94
+ ```
95
+
96
+ ### Options
97
+
98
+ | Name | Type | Description | Notes |
99
+ | ---- | ---- | ----------- | ----- |
100
+ | **key** | **String** | Filter results to a specific virtual key ID. | [optional] |
101
+ | **provider** | **String** | Filter results by AI provider connection ID. | [optional] |
102
+ | **model** | **String** | Filter results by AI model identifier. | [optional] |
103
+ | **from** | **Time** | The start of the time range, in RFC 3339 format. | [optional] |
104
+ | **to** | **Time** | The end of the time range, in RFC 3339 format. Defaults to now. | [optional] |
105
+ | **granularity** | **String** | The time granularity to aggregate usage by. | [optional][default to &#39;daily&#39;] |
106
+ | **sort** | **String** | Sort field. Prefix with `-` for descending order (e.g., `sort&#x3D;-date`). | [optional][default to &#39;date&#39;] |
107
+
108
+ ### Return type
109
+
110
+ [**ArcUsageMetricsResponse**](ArcUsageMetricsResponse.md)
111
+
112
+ [[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
113
+ [[Back to README]](../../README.md)
@@ -0,0 +1,334 @@
1
+ # Fastly::AiRuntimeControlVirtualKeysApi
2
+
3
+
4
+ ```ruby
5
+ require 'fastly'
6
+ api_instance = Fastly::AiRuntimeControlVirtualKeysApi.new
7
+ ```
8
+
9
+ ## Methods
10
+
11
+ > [!NOTE]
12
+ > All URIs are relative to `https://api.fastly.com`
13
+
14
+ Method | HTTP request | Description
15
+ ------ | ------------ | -----------
16
+ [**arc_create_virtual_key**](AiRuntimeControlVirtualKeysApi.md#arc_create_virtual_key) | **POST** /ai-runtime-control/v1/keys | Create a virtual key
17
+ [**arc_delete_virtual_key**](AiRuntimeControlVirtualKeysApi.md#arc_delete_virtual_key) | **DELETE** /ai-runtime-control/v1/keys/{key_id} | Delete a virtual key
18
+ [**arc_get_virtual_key**](AiRuntimeControlVirtualKeysApi.md#arc_get_virtual_key) | **GET** /ai-runtime-control/v1/keys/{key_id} | Get a virtual key
19
+ [**arc_get_virtual_key_failover**](AiRuntimeControlVirtualKeysApi.md#arc_get_virtual_key_failover) | **GET** /ai-runtime-control/v1/keys/{key_id}/failover | Get a virtual key&#39;s failover policy
20
+ [**arc_list_virtual_keys**](AiRuntimeControlVirtualKeysApi.md#arc_list_virtual_keys) | **GET** /ai-runtime-control/v1/keys | List virtual keys
21
+ [**arc_rotate_virtual_key**](AiRuntimeControlVirtualKeysApi.md#arc_rotate_virtual_key) | **POST** /ai-runtime-control/v1/keys/{key_id}/rotate | Rotate a virtual key
22
+ [**arc_update_virtual_key**](AiRuntimeControlVirtualKeysApi.md#arc_update_virtual_key) | **PATCH** /ai-runtime-control/v1/keys/{key_id} | Update a virtual key
23
+ [**arc_update_virtual_key_failover**](AiRuntimeControlVirtualKeysApi.md#arc_update_virtual_key_failover) | **PUT** /ai-runtime-control/v1/keys/{key_id}/failover | Update a virtual key&#39;s failover policy
24
+
25
+
26
+ ## `arc_create_virtual_key()`
27
+
28
+ ```ruby
29
+ arc_create_virtual_key(opts): <ArcCreateVirtualKeyResponse> # Create a virtual key
30
+ ```
31
+
32
+ Create a new virtual key for authenticating requests through the AI Runtime Control gateway.
33
+
34
+ ### Examples
35
+
36
+ ```ruby
37
+ api_instance = Fastly::AiRuntimeControlVirtualKeysApi.new
38
+ opts = {
39
+ arc_virtual_key: Fastly::ArcVirtualKey.new({name: 'production-anthropic-key'}), # ArcVirtualKey |
40
+ }
41
+
42
+ begin
43
+ # Create a virtual key
44
+ result = api_instance.arc_create_virtual_key(opts)
45
+ p result
46
+ rescue Fastly::ApiError => e
47
+ puts "Error when calling AiRuntimeControlVirtualKeysApi->arc_create_virtual_key: #{e}"
48
+ end
49
+ ```
50
+
51
+ ### Options
52
+
53
+ | Name | Type | Description | Notes |
54
+ | ---- | ---- | ----------- | ----- |
55
+ | **arc_virtual_key** | [**ArcVirtualKey**](ArcVirtualKey.md) | | |
56
+
57
+ ### Return type
58
+
59
+ [**ArcCreateVirtualKeyResponse**](ArcCreateVirtualKeyResponse.md)
60
+
61
+ [[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
62
+ [[Back to README]](../../README.md)
63
+ ## `arc_delete_virtual_key()`
64
+
65
+ ```ruby
66
+ arc_delete_virtual_key(opts) # Delete a virtual key
67
+ ```
68
+
69
+ Delete a virtual key. This also deletes any security configuration associated with the key.
70
+
71
+ ### Examples
72
+
73
+ ```ruby
74
+ api_instance = Fastly::AiRuntimeControlVirtualKeysApi.new
75
+ opts = {
76
+ key_id: '7fVVQb1nZaJgnzCn4B4v3B', # String | The ID of the virtual key.
77
+ }
78
+
79
+ begin
80
+ # Delete a virtual key
81
+ api_instance.arc_delete_virtual_key(opts)
82
+ rescue Fastly::ApiError => e
83
+ puts "Error when calling AiRuntimeControlVirtualKeysApi->arc_delete_virtual_key: #{e}"
84
+ end
85
+ ```
86
+
87
+ ### Options
88
+
89
+ | Name | Type | Description | Notes |
90
+ | ---- | ---- | ----------- | ----- |
91
+ | **key_id** | **String** | The ID of the virtual key. | |
92
+
93
+ ### Return type
94
+
95
+ nil (empty response body)
96
+
97
+ [[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
98
+ [[Back to README]](../../README.md)
99
+ ## `arc_get_virtual_key()`
100
+
101
+ ```ruby
102
+ arc_get_virtual_key(opts): <ArcVirtualKeyResponse> # Get a virtual key
103
+ ```
104
+
105
+ Retrieve a single virtual key.
106
+
107
+ ### Examples
108
+
109
+ ```ruby
110
+ api_instance = Fastly::AiRuntimeControlVirtualKeysApi.new
111
+ opts = {
112
+ key_id: '7fVVQb1nZaJgnzCn4B4v3B', # String | The ID of the virtual key.
113
+ }
114
+
115
+ begin
116
+ # Get a virtual key
117
+ result = api_instance.arc_get_virtual_key(opts)
118
+ p result
119
+ rescue Fastly::ApiError => e
120
+ puts "Error when calling AiRuntimeControlVirtualKeysApi->arc_get_virtual_key: #{e}"
121
+ end
122
+ ```
123
+
124
+ ### Options
125
+
126
+ | Name | Type | Description | Notes |
127
+ | ---- | ---- | ----------- | ----- |
128
+ | **key_id** | **String** | The ID of the virtual key. | |
129
+
130
+ ### Return type
131
+
132
+ [**ArcVirtualKeyResponse**](ArcVirtualKeyResponse.md)
133
+
134
+ [[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
135
+ [[Back to README]](../../README.md)
136
+ ## `arc_get_virtual_key_failover()`
137
+
138
+ ```ruby
139
+ arc_get_virtual_key_failover(opts): <ArcVirtualKeyFailoverResponse> # Get a virtual key's failover policy
140
+ ```
141
+
142
+ Retrieve the failover policy for a virtual key. A failover policy lists alternate provider connections to retry a request against, and which error conditions trigger a retry. Failover is a per-account feature. If it isn't enabled on your account, this endpoint returns a 404 response.
143
+
144
+ ### Examples
145
+
146
+ ```ruby
147
+ api_instance = Fastly::AiRuntimeControlVirtualKeysApi.new
148
+ opts = {
149
+ key_id: '7fVVQb1nZaJgnzCn4B4v3B', # String | The ID of the virtual key.
150
+ }
151
+
152
+ begin
153
+ # Get a virtual key's failover policy
154
+ result = api_instance.arc_get_virtual_key_failover(opts)
155
+ p result
156
+ rescue Fastly::ApiError => e
157
+ puts "Error when calling AiRuntimeControlVirtualKeysApi->arc_get_virtual_key_failover: #{e}"
158
+ end
159
+ ```
160
+
161
+ ### Options
162
+
163
+ | Name | Type | Description | Notes |
164
+ | ---- | ---- | ----------- | ----- |
165
+ | **key_id** | **String** | The ID of the virtual key. | |
166
+
167
+ ### Return type
168
+
169
+ [**ArcVirtualKeyFailoverResponse**](ArcVirtualKeyFailoverResponse.md)
170
+
171
+ [[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
172
+ [[Back to README]](../../README.md)
173
+ ## `arc_list_virtual_keys()`
174
+
175
+ ```ruby
176
+ arc_list_virtual_keys(opts): <ArcVirtualKeysResponse> # List virtual keys
177
+ ```
178
+
179
+ List the virtual keys belonging to your account.
180
+
181
+ ### Examples
182
+
183
+ ```ruby
184
+ api_instance = Fastly::AiRuntimeControlVirtualKeysApi.new
185
+ opts = {
186
+ include_deleted: true, # Boolean | Include deleted virtual keys in the results.
187
+ search: 'production', # String | Filter results to virtual keys whose name contains this substring.
188
+ cursor: 'MTA6MA', # String | Cursor for pagination. Use the `next_cursor` value from a previous response to request the next page of results, or the `prev_cursor` value to request the previous page.
189
+ limit: 10, # Integer | Limit how many results are returned.
190
+ sort: 'created_at', # String | Sort field. Prefix with `-` for descending order (e.g., `sort=-created_at`).
191
+ }
192
+
193
+ begin
194
+ # List virtual keys
195
+ result = api_instance.arc_list_virtual_keys(opts)
196
+ p result
197
+ rescue Fastly::ApiError => e
198
+ puts "Error when calling AiRuntimeControlVirtualKeysApi->arc_list_virtual_keys: #{e}"
199
+ end
200
+ ```
201
+
202
+ ### Options
203
+
204
+ | Name | Type | Description | Notes |
205
+ | ---- | ---- | ----------- | ----- |
206
+ | **include_deleted** | **Boolean** | Include deleted virtual keys in the results. | [optional][default to false] |
207
+ | **search** | **String** | Filter results to virtual keys whose name contains this substring. | [optional] |
208
+ | **cursor** | **String** | Cursor for pagination. Use the `next_cursor` value from a previous response to request the next page of results, or the `prev_cursor` value to request the previous page. | [optional] |
209
+ | **limit** | **Integer** | Limit how many results are returned. | [optional][default to 10] |
210
+ | **sort** | **String** | Sort field. Prefix with `-` for descending order (e.g., `sort&#x3D;-created_at`). | [optional][default to &#39;created_at&#39;] |
211
+
212
+ ### Return type
213
+
214
+ [**ArcVirtualKeysResponse**](ArcVirtualKeysResponse.md)
215
+
216
+ [[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
217
+ [[Back to README]](../../README.md)
218
+ ## `arc_rotate_virtual_key()`
219
+
220
+ ```ruby
221
+ arc_rotate_virtual_key(opts): <ArcRotateVirtualKeyResponse> # Rotate a virtual key
222
+ ```
223
+
224
+ Issue a new access token for a virtual key, invalidating the previous one.
225
+
226
+ ### Examples
227
+
228
+ ```ruby
229
+ api_instance = Fastly::AiRuntimeControlVirtualKeysApi.new
230
+ opts = {
231
+ key_id: '7fVVQb1nZaJgnzCn4B4v3B', # String | The ID of the virtual key.
232
+ arc_rotate_virtual_key_request: Fastly::ArcRotateVirtualKeyRequest.new, # ArcRotateVirtualKeyRequest |
233
+ }
234
+
235
+ begin
236
+ # Rotate a virtual key
237
+ result = api_instance.arc_rotate_virtual_key(opts)
238
+ p result
239
+ rescue Fastly::ApiError => e
240
+ puts "Error when calling AiRuntimeControlVirtualKeysApi->arc_rotate_virtual_key: #{e}"
241
+ end
242
+ ```
243
+
244
+ ### Options
245
+
246
+ | Name | Type | Description | Notes |
247
+ | ---- | ---- | ----------- | ----- |
248
+ | **key_id** | **String** | The ID of the virtual key. | |
249
+ | **arc_rotate_virtual_key_request** | [**ArcRotateVirtualKeyRequest**](ArcRotateVirtualKeyRequest.md) | | [optional] |
250
+
251
+ ### Return type
252
+
253
+ [**ArcRotateVirtualKeyResponse**](ArcRotateVirtualKeyResponse.md)
254
+
255
+ [[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
256
+ [[Back to README]](../../README.md)
257
+ ## `arc_update_virtual_key()`
258
+
259
+ ```ruby
260
+ arc_update_virtual_key(opts): <ArcUpdateVirtualKeyResponse> # Update a virtual key
261
+ ```
262
+
263
+ Update the attributes of a virtual key. Only the fields you include are changed.
264
+
265
+ ### Examples
266
+
267
+ ```ruby
268
+ api_instance = Fastly::AiRuntimeControlVirtualKeysApi.new
269
+ opts = {
270
+ key_id: '7fVVQb1nZaJgnzCn4B4v3B', # String | The ID of the virtual key.
271
+ arc_update_virtual_key_request: Fastly::ArcUpdateVirtualKeyRequest.new, # ArcUpdateVirtualKeyRequest |
272
+ }
273
+
274
+ begin
275
+ # Update a virtual key
276
+ result = api_instance.arc_update_virtual_key(opts)
277
+ p result
278
+ rescue Fastly::ApiError => e
279
+ puts "Error when calling AiRuntimeControlVirtualKeysApi->arc_update_virtual_key: #{e}"
280
+ end
281
+ ```
282
+
283
+ ### Options
284
+
285
+ | Name | Type | Description | Notes |
286
+ | ---- | ---- | ----------- | ----- |
287
+ | **key_id** | **String** | The ID of the virtual key. | |
288
+ | **arc_update_virtual_key_request** | [**ArcUpdateVirtualKeyRequest**](ArcUpdateVirtualKeyRequest.md) | | |
289
+
290
+ ### Return type
291
+
292
+ [**ArcUpdateVirtualKeyResponse**](ArcUpdateVirtualKeyResponse.md)
293
+
294
+ [[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
295
+ [[Back to README]](../../README.md)
296
+ ## `arc_update_virtual_key_failover()`
297
+
298
+ ```ruby
299
+ arc_update_virtual_key_failover(opts): <ArcVirtualKeyFailoverResponse> # Update a virtual key's failover policy
300
+ ```
301
+
302
+ Replace the failover policy for a virtual key. Failover is a per-account feature. If it isn't enabled on your account, this endpoint returns a 404 response.
303
+
304
+ ### Examples
305
+
306
+ ```ruby
307
+ api_instance = Fastly::AiRuntimeControlVirtualKeysApi.new
308
+ opts = {
309
+ key_id: '7fVVQb1nZaJgnzCn4B4v3B', # String | The ID of the virtual key.
310
+ arc_virtual_key_failover_request: Fastly::ArcVirtualKeyFailoverRequest.new({targets: [Fastly::ArcFailoverTarget.new({provider_connection_id: 'pTfnUUBcU1yv8SoRJn5PZ2'})]}), # ArcVirtualKeyFailoverRequest |
311
+ }
312
+
313
+ begin
314
+ # Update a virtual key's failover policy
315
+ result = api_instance.arc_update_virtual_key_failover(opts)
316
+ p result
317
+ rescue Fastly::ApiError => e
318
+ puts "Error when calling AiRuntimeControlVirtualKeysApi->arc_update_virtual_key_failover: #{e}"
319
+ end
320
+ ```
321
+
322
+ ### Options
323
+
324
+ | Name | Type | Description | Notes |
325
+ | ---- | ---- | ----------- | ----- |
326
+ | **key_id** | **String** | The ID of the virtual key. | |
327
+ | **arc_virtual_key_failover_request** | [**ArcVirtualKeyFailoverRequest**](ArcVirtualKeyFailoverRequest.md) | | |
328
+
329
+ ### Return type
330
+
331
+ [**ArcVirtualKeyFailoverResponse**](ArcVirtualKeyFailoverResponse.md)
332
+
333
+ [[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
334
+ [[Back to README]](../../README.md)
@@ -0,0 +1,11 @@
1
+ # Fastly::ArcBedrockSetupResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **arc_role_arn** | **String** | The ARN of the AI Runtime Control IAM role your AWS account&#39;s trust policy must trust. | |
8
+ | **external_id** | **String** | The external ID to require in your trust policy. This is your Fastly customer ID. | |
9
+
10
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
11
+
@@ -0,0 +1,19 @@
1
+ # Fastly::ArcCreateVirtualKeyResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | The unique identifier of the virtual key. | [readonly] |
8
+ | **customer_id** | **String** | The ID of the customer account that owns the key. | [readonly] |
9
+ | **name** | **String** | The display name of the virtual key. | |
10
+ | **user_id** | **String** | The ID of the user who created the key. | [readonly] |
11
+ | **created_at** | **Time** | The date and time the key was created, in RFC 3339 format. | [readonly] |
12
+ | **updated_at** | **Time** | The date and time the key was last updated, in RFC 3339 format. | [readonly] |
13
+ | **access_token** | **String** | The access token for this virtual key. This is only returned when the key is created or rotated, and cannot be retrieved again afterward. | [readonly] |
14
+ | **expires_at** | **Time** | The date and time the key expires, in RFC 3339 format. `null` if the key doesn&#39;t expire. | [optional] |
15
+ | **rpm_limit** | **Integer** | The requests-per-minute limit for this key. `null` if there is no limit. | [optional] |
16
+ | **tpm_limit** | **Integer** | The tokens-per-minute limit for this key. `null` if there is no limit. | [optional] |
17
+
18
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
19
+
data/docs/ArcError.md ADDED
@@ -0,0 +1,12 @@
1
+ # Fastly::ArcError
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | **String** | A URL identifying the error type. | [optional] |
8
+ | **title** | **String** | A short summary of the problem. | [optional] |
9
+ | **code** | **String** | A machine-readable error code. | [optional] |
10
+
11
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
12
+
@@ -0,0 +1,10 @@
1
+ # Fastly::ArcFailoverTarget
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **provider_connection_id** | **String** | The ID of the provider connection to retry against. | |
8
+
9
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
10
+
@@ -0,0 +1,19 @@
1
+ # Fastly::ArcGetProviderConnectionResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | The unique identifier of the provider connection. | [readonly] |
8
+ | **secret_id** | **String** | An opaque identifier for the secret material backing this connection. Not the secret itself. | [readonly] |
9
+ | **name** | **String** | The display name of the provider connection. | |
10
+ | **models** | **Array&lt;String&gt;** | The AI model identifiers this connection is allowed to use. | |
11
+ | **auth_type** | **String** | The authentication type for this connection. | |
12
+ | **created_at** | **Time** | The date and time the connection was created, in RFC 3339 format. | [readonly] |
13
+ | **updated_at** | **Time** | The date and time the connection was last updated, in RFC 3339 format. | [readonly] |
14
+ | **virtual_key_ids** | **Array&lt;String&gt;** | The IDs of the active virtual keys whose failover policy references this connection. Empty if no virtual key references it. | [readonly] |
15
+ | **base_url** | **String** | The base URL of the provider&#39;s API. Present only for `api-key` connections. | [optional] |
16
+ | **region** | **String** | The AWS region for Bedrock API requests. Present only for `aws-iam` connections. | [optional] |
17
+
18
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
19
+
@@ -0,0 +1,10 @@
1
+ # Fastly::ArcGetProviderConnectionResponseExtra
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **virtual_key_ids** | **Array&lt;String&gt;** | The IDs of the active virtual keys whose failover policy references this connection. Empty if no virtual key references it. | [readonly] |
8
+
9
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
10
+
data/docs/ArcModel.md ADDED
@@ -0,0 +1,12 @@
1
+ # Fastly::ArcModel
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | The model identifier. | |
8
+ | **display_name** | **String** | The human-readable name of the model. | |
9
+ | **provider_id** | **String** | The ID of the provider this model belongs to. | |
10
+
11
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
12
+
@@ -0,0 +1,10 @@
1
+ # Fastly::ArcModelsMeta
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **total** | **Integer** | The count of models returned. | [optional] |
8
+
9
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
10
+
@@ -0,0 +1,11 @@
1
+ # Fastly::ArcModelsResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data** | [**Array&lt;ArcModel&gt;**](ArcModel.md) | The models returned by the request. | |
8
+ | **meta** | [**ArcModelsMeta**](ArcModelsMeta.md) | | |
9
+
10
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
11
+
@@ -0,0 +1,13 @@
1
+ # Fastly::ArcProvider
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | The provider identifier. | |
8
+ | **display_name** | **String** | The human-readable name of the provider. | |
9
+ | **default_base_url** | **String** | The default API base URL for the provider. | |
10
+ | **models** | [**Array&lt;ArcModel&gt;**](ArcModel.md) | The models available from this provider. | |
11
+
12
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
13
+