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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +45 -1
- data/Gemfile.lock +1 -1
- data/README.md +73 -2
- data/docs/AiRuntimeControlProviderConnectionsApi.md +210 -0
- data/docs/AiRuntimeControlProvidersApi.md +121 -0
- data/docs/AiRuntimeControlResponseBodyEnable.md +12 -0
- data/docs/AiRuntimeControlResponseCustomer.md +10 -0
- data/docs/AiRuntimeControlResponseLinks.md +10 -0
- data/docs/AiRuntimeControlResponseLinksLinks.md +10 -0
- data/docs/AiRuntimeControlResponseProduct.md +10 -0
- data/docs/AiRuntimeControlResponseProductProduct.md +11 -0
- data/docs/AiRuntimeControlSessionsApi.md +69 -0
- data/docs/AiRuntimeControlUsageMetricsApi.md +113 -0
- data/docs/AiRuntimeControlVirtualKeysApi.md +334 -0
- data/docs/ArcBedrockSetupResponse.md +11 -0
- data/docs/ArcCreateVirtualKeyResponse.md +19 -0
- data/docs/ArcError.md +12 -0
- data/docs/ArcFailoverTarget.md +10 -0
- data/docs/ArcGetProviderConnectionResponse.md +19 -0
- data/docs/ArcGetProviderConnectionResponseExtra.md +10 -0
- data/docs/ArcModel.md +12 -0
- data/docs/ArcModelsMeta.md +10 -0
- data/docs/ArcModelsResponse.md +11 -0
- data/docs/ArcProvider.md +13 -0
- data/docs/ArcProviderConnectionApiKey.md +14 -0
- data/docs/ArcProviderConnectionAwsIam.md +14 -0
- data/docs/ArcProviderConnectionListItemResponse.md +19 -0
- data/docs/ArcProviderConnectionListItemResponseExtra.md +10 -0
- data/docs/ArcProviderConnectionRequest.md +49 -0
- data/docs/ArcProviderConnectionResponse.md +18 -0
- data/docs/ArcProviderConnectionsMeta.md +11 -0
- data/docs/ArcProviderConnectionsResponse.md +11 -0
- data/docs/ArcProvidersMeta.md +10 -0
- data/docs/ArcProvidersResponse.md +11 -0
- data/docs/ArcRotateVirtualKeyRequest.md +10 -0
- data/docs/ArcRotateVirtualKeyResponse.md +17 -0
- data/docs/ArcSession.md +28 -0
- data/docs/ArcSessionLogEntry.md +12 -0
- data/docs/ArcSessionsMeta.md +14 -0
- data/docs/ArcSessionsResponse.md +11 -0
- data/docs/ArcUpdateProviderConnectionRequest.md +14 -0
- data/docs/ArcUpdateVirtualKeyRequest.md +16 -0
- data/docs/ArcUpdateVirtualKeyResponse.md +20 -0
- data/docs/ArcUsageMetric.md +18 -0
- data/docs/ArcUsageMetricsMeta.md +11 -0
- data/docs/ArcUsageMetricsResponse.md +11 -0
- data/docs/ArcVirtualKey.md +15 -0
- data/docs/ArcVirtualKeyFailoverRequest.md +13 -0
- data/docs/ArcVirtualKeyFailoverResponse.md +13 -0
- data/docs/ArcVirtualKeyListItemResponse.md +26 -0
- data/docs/ArcVirtualKeyListItemResponseExtra.md +20 -0
- data/docs/ArcVirtualKeyResponse.md +25 -0
- data/docs/ArcVirtualKeyResponseExtra.md +19 -0
- data/docs/ArcVirtualKeysMeta.md +14 -0
- data/docs/ArcVirtualKeysResponse.md +11 -0
- data/docs/AutomationToken.md +6 -2
- data/docs/AutomationTokenCreateRequest.md +10 -1
- data/docs/AutomationTokenCreateResponse.md +6 -2
- data/docs/AutomationTokenResponse.md +5 -1
- data/docs/AutomationTokenRole.md +11 -0
- data/docs/AutomationTokenUnversionedError.md +11 -0
- data/docs/AutomationTokenUnversionedErrorResponse.md +10 -0
- data/docs/AutomationTokenWorkspace.md +11 -0
- data/docs/AutomationTokenWorkspacesMeta.md +12 -0
- data/docs/AutomationTokenWorkspacesResponse.md +12 -0
- data/docs/AutomationTokensApi.md +43 -1
- data/docs/BotManagementAction.md +10 -0
- data/docs/BotManagementApi.md +433 -0
- data/docs/BotManagementBot.md +10 -0
- data/docs/BotManagementBotAction.md +10 -0
- data/docs/BotManagementBotResponse.md +12 -0
- data/docs/BotManagementBotResponseExtra.md +11 -0
- data/docs/BotManagementBotsResponse.md +11 -0
- data/docs/BotManagementCategoriesResponse.md +11 -0
- data/docs/BotManagementCategory.md +10 -0
- data/docs/BotManagementCategoryResponse.md +13 -0
- data/docs/BotManagementCategoryResponseExtra.md +12 -0
- data/docs/BotManagementError.md +12 -0
- data/docs/BotManagementInvalidRequestError.md +12 -0
- data/docs/BotManagementInvalidRequestErrorExtra.md +12 -0
- data/docs/BotManagementMeta.md +12 -0
- data/docs/BotManagementNotAllowedError.md +12 -0
- data/docs/BotManagementNotAllowedErrorExtra.md +11 -0
- data/docs/BotManagementNotAuthenticatedError.md +12 -0
- data/docs/BotManagementNotAuthenticatedErrorExtra.md +11 -0
- data/docs/BotManagementNotFoundError.md +12 -0
- data/docs/BotManagementNotFoundErrorExtra.md +11 -0
- data/docs/BotManagementProtectionMode.md +9 -0
- data/docs/BotManagementRateLimitError.md +12 -0
- data/docs/BotManagementRateLimitErrorExtra.md +11 -0
- data/docs/BotManagementWorkspace.md +12 -0
- data/docs/BotManagementWorkspaceBotResponse.md +13 -0
- data/docs/BotManagementWorkspaceBotResponseExtra.md +10 -0
- data/docs/BotManagementWorkspaceBotsResponse.md +11 -0
- data/docs/BotManagementWorkspaceResponse.md +16 -0
- data/docs/BotManagementWorkspaceResponseExtra.md +13 -0
- data/docs/BotManagementWorkspacesResponse.md +11 -0
- data/docs/BotRequestMetricsDataItem.md +16 -0
- data/docs/BotRequestMetricsMetadata.md +14 -0
- data/docs/BotRequestMetricsResponse.md +11 -0
- data/docs/BotRequestsMetricsApi.md +77 -0
- data/docs/BulkUpdateDictionaryItem.md +1 -1
- data/docs/DdosProtectionRule.md +1 -1
- data/docs/DdosProtectionRuleAllOf.md +1 -1
- data/docs/DdosProtectionRulePatch.md +1 -1
- data/docs/DdosProtectionRuleWithStats.md +1 -1
- data/docs/DictionaryItem.md +1 -1
- data/docs/DictionaryItemApi.md +14 -14
- data/docs/DictionaryItemResponse.md +1 -1
- data/docs/MetricsPlatformApi.md +69 -13
- data/docs/NetworkProtectApi.md +789 -0
- data/docs/NetworkProtectConflict.md +13 -0
- data/docs/NetworkProtectConflictError.md +11 -0
- data/docs/NetworkProtectEndpoint.md +11 -0
- data/docs/NetworkProtectEndpointCreate.md +11 -0
- data/docs/NetworkProtectEndpointPolicy.md +11 -0
- data/docs/NetworkProtectEndpointResponse.md +14 -0
- data/docs/NetworkProtectEndpointResponseFields.md +12 -0
- data/docs/NetworkProtectEndpointUpdate.md +10 -0
- data/docs/NetworkProtectEndpointsResponse.md +11 -0
- data/docs/NetworkProtectErrorDetail.md +11 -0
- data/docs/NetworkProtectInvalidRequest.md +13 -0
- data/docs/NetworkProtectListMeta.md +11 -0
- data/docs/NetworkProtectLoaStatus.md +9 -0
- data/docs/NetworkProtectNetwork.md +15 -0
- data/docs/NetworkProtectNetworkCreate.md +14 -0
- data/docs/NetworkProtectNetworkResponse.md +22 -0
- data/docs/NetworkProtectNetworkResponseFields.md +16 -0
- data/docs/NetworkProtectNetworkUpdate.md +14 -0
- data/docs/NetworkProtectNetworksResponse.md +11 -0
- data/docs/NetworkProtectPolicyEndpoint.md +13 -0
- data/docs/NetworkProtectPrefixList.md +12 -0
- data/docs/NetworkProtectPrefixListCreate.md +12 -0
- data/docs/NetworkProtectPrefixListFamily.md +9 -0
- data/docs/NetworkProtectPrefixListResponse.md +15 -0
- data/docs/NetworkProtectPrefixListResponseFields.md +12 -0
- data/docs/NetworkProtectPrefixListUpdate.md +11 -0
- data/docs/NetworkProtectPrefixListsResponse.md +11 -0
- data/docs/NetworkProtectRegion.md +9 -0
- data/docs/NetworkProtectRoaStatus.md +9 -0
- data/docs/NetworkProtectRule.md +16 -0
- data/docs/NetworkProtectRuleAction.md +9 -0
- data/docs/NetworkProtectRuleDestinationPorts.md +9 -0
- data/docs/NetworkProtectRuleIpProtocol.md +9 -0
- data/docs/NetworkProtectRuleMatchDestinationIp.md +10 -0
- data/docs/NetworkProtectRuleMatchDestinationPorts.md +10 -0
- data/docs/NetworkProtectRuleMatchIpProtocol.md +10 -0
- data/docs/NetworkProtectRuleMatchSourcePorts.md +10 -0
- data/docs/NetworkProtectRuleMatchSourcePrefixList.md +10 -0
- data/docs/NetworkProtectRuleResponse.md +16 -0
- data/docs/NetworkProtectRuleSet.md +11 -0
- data/docs/NetworkProtectRuleSetCreate.md +11 -0
- data/docs/NetworkProtectRuleSetDefaultAction.md +9 -0
- data/docs/NetworkProtectRuleSetResponse.md +14 -0
- data/docs/NetworkProtectRuleSetResponseFields.md +12 -0
- data/docs/NetworkProtectRuleSetUpdate.md +11 -0
- data/docs/NetworkProtectRuleSetsResponse.md +11 -0
- data/docs/NetworkProtectRuleSourcePorts.md +9 -0
- data/docs/NetworkProtectRuleTimestamps.md +11 -0
- data/docs/PlatformValues.md +359 -16
- data/docs/ProductAiRuntimeControlApi.md +115 -0
- data/docs/PurgeApi.md +6 -0
- data/docs/RealtimeEntryAggregated.md +16 -0
- data/docs/RealtimeEntryDatacenter.md +16 -0
- data/docs/RealtimeMeasurements.md +16 -0
- data/docs/Results.md +16 -0
- data/lib/fastly/api/ai_runtime_control_provider_connections_api.rb +355 -0
- data/lib/fastly/api/ai_runtime_control_providers_api.rb +195 -0
- data/lib/fastly/api/ai_runtime_control_sessions_api.rb +112 -0
- data/lib/fastly/api/ai_runtime_control_usage_metrics_api.rb +176 -0
- data/lib/fastly/api/ai_runtime_control_virtual_keys_api.rb +580 -0
- data/lib/fastly/api/automation_tokens_api.rb +78 -1
- data/lib/fastly/api/bot_management_api.rb +787 -0
- data/lib/fastly/api/bot_requests_metrics_api.rb +137 -0
- data/lib/fastly/api/dictionary_item_api.rb +14 -14
- data/lib/fastly/api/metrics_platform_api.rb +130 -23
- data/lib/fastly/api/network_protect_api.rb +1420 -0
- data/lib/fastly/api/product_ai_runtime_control_api.rb +186 -0
- data/lib/fastly/api/purge_api.rb +21 -0
- data/lib/fastly/configuration.rb +331 -1
- data/lib/fastly/models/ai_runtime_control_response_body_enable.rb +243 -0
- data/lib/fastly/models/ai_runtime_control_response_customer.rb +216 -0
- data/lib/fastly/models/ai_runtime_control_response_links.rb +216 -0
- data/lib/fastly/models/ai_runtime_control_response_links_links.rb +217 -0
- data/lib/fastly/models/ai_runtime_control_response_product.rb +216 -0
- data/lib/fastly/models/ai_runtime_control_response_product_product.rb +227 -0
- data/lib/fastly/models/arc_bedrock_setup_response.rb +237 -0
- data/lib/fastly/models/arc_create_virtual_key_response.rb +346 -0
- data/lib/fastly/models/arc_error.rb +238 -0
- data/lib/fastly/models/arc_failover_target.rb +223 -0
- data/lib/fastly/models/arc_get_provider_connection_response.rb +393 -0
- data/lib/fastly/models/arc_get_provider_connection_response_extra.rb +224 -0
- data/lib/fastly/models/arc_model.rb +253 -0
- data/lib/fastly/models/arc_models_meta.rb +217 -0
- data/lib/fastly/models/arc_models_response.rb +238 -0
- data/lib/fastly/models/arc_provider.rb +270 -0
- data/lib/fastly/models/arc_provider_connection_api_key.rb +335 -0
- data/lib/fastly/models/arc_provider_connection_aws_iam.rb +350 -0
- data/lib/fastly/models/arc_provider_connection_list_item_response.rb +386 -0
- data/lib/fastly/models/arc_provider_connection_list_item_response_extra.rb +217 -0
- data/lib/fastly/models/arc_provider_connection_request.rb +103 -0
- data/lib/fastly/models/arc_provider_connection_response.rb +369 -0
- data/lib/fastly/models/arc_provider_connections_meta.rb +228 -0
- data/lib/fastly/models/arc_provider_connections_response.rb +238 -0
- data/lib/fastly/models/arc_providers_meta.rb +217 -0
- data/lib/fastly/models/arc_providers_response.rb +238 -0
- data/lib/fastly/models/arc_rotate_virtual_key_request.rb +218 -0
- data/lib/fastly/models/arc_rotate_virtual_key_response.rb +324 -0
- data/lib/fastly/models/arc_session.rb +465 -0
- data/lib/fastly/models/arc_session_log_entry.rb +240 -0
- data/lib/fastly/models/arc_sessions_meta.rb +260 -0
- data/lib/fastly/models/arc_sessions_response.rb +238 -0
- data/lib/fastly/models/arc_update_provider_connection_request.rb +275 -0
- data/lib/fastly/models/arc_update_virtual_key_request.rb +345 -0
- data/lib/fastly/models/arc_update_virtual_key_response.rb +352 -0
- data/lib/fastly/models/arc_usage_metric.rb +347 -0
- data/lib/fastly/models/arc_usage_metrics_meta.rb +228 -0
- data/lib/fastly/models/arc_usage_metrics_response.rb +238 -0
- data/lib/fastly/models/arc_virtual_key.rb +342 -0
- data/lib/fastly/models/arc_virtual_key_failover_request.rb +255 -0
- data/lib/fastly/models/arc_virtual_key_failover_response.rb +270 -0
- data/lib/fastly/models/arc_virtual_key_list_item_response.rb +492 -0
- data/lib/fastly/models/arc_virtual_key_list_item_response_extra.rb +350 -0
- data/lib/fastly/models/arc_virtual_key_response.rb +477 -0
- data/lib/fastly/models/arc_virtual_key_response_extra.rb +335 -0
- data/lib/fastly/models/arc_virtual_keys_meta.rb +260 -0
- data/lib/fastly/models/arc_virtual_keys_response.rb +238 -0
- data/lib/fastly/models/automation_token.rb +49 -5
- data/lib/fastly/models/automation_token_create_request.rb +161 -7
- data/lib/fastly/models/automation_token_create_response.rb +49 -5
- data/lib/fastly/models/automation_token_error_response.rb +1 -0
- data/lib/fastly/models/automation_token_response.rb +46 -2
- data/lib/fastly/models/automation_token_role.rb +227 -0
- data/lib/fastly/models/automation_token_unversioned_error.rb +225 -0
- data/lib/fastly/models/automation_token_unversioned_error_response.rb +219 -0
- data/lib/fastly/models/automation_token_workspace.rb +237 -0
- data/lib/fastly/models/automation_token_workspaces_meta.rb +242 -0
- data/lib/fastly/models/automation_token_workspaces_response.rb +253 -0
- data/lib/fastly/models/bot_management_action.rb +257 -0
- data/lib/fastly/models/bot_management_bot.rb +222 -0
- data/lib/fastly/models/bot_management_bot_action.rb +257 -0
- data/lib/fastly/models/bot_management_bot_response.rb +259 -0
- data/lib/fastly/models/bot_management_bot_response_extra.rb +237 -0
- data/lib/fastly/models/bot_management_bots_response.rb +238 -0
- data/lib/fastly/models/bot_management_categories_response.rb +238 -0
- data/lib/fastly/models/bot_management_category.rb +222 -0
- data/lib/fastly/models/bot_management_category_response.rb +269 -0
- data/lib/fastly/models/bot_management_category_response_extra.rb +247 -0
- data/lib/fastly/models/bot_management_error.rb +248 -0
- data/lib/fastly/models/bot_management_invalid_request_error.rb +291 -0
- data/lib/fastly/models/bot_management_invalid_request_error_extra.rb +283 -0
- data/lib/fastly/models/bot_management_meta.rb +239 -0
- data/lib/fastly/models/bot_management_not_allowed_error.rb +287 -0
- data/lib/fastly/models/bot_management_not_allowed_error_extra.rb +259 -0
- data/lib/fastly/models/bot_management_not_authenticated_error.rb +287 -0
- data/lib/fastly/models/bot_management_not_authenticated_error_extra.rb +259 -0
- data/lib/fastly/models/bot_management_not_found_error.rb +287 -0
- data/lib/fastly/models/bot_management_not_found_error_extra.rb +259 -0
- data/lib/fastly/models/bot_management_protection_mode.rb +36 -0
- data/lib/fastly/models/bot_management_rate_limit_error.rb +287 -0
- data/lib/fastly/models/bot_management_rate_limit_error_extra.rb +259 -0
- data/lib/fastly/models/bot_management_workspace.rb +276 -0
- data/lib/fastly/models/bot_management_workspace_bot_response.rb +275 -0
- data/lib/fastly/models/bot_management_workspace_bot_response_extra.rb +222 -0
- data/lib/fastly/models/bot_management_workspace_bots_response.rb +238 -0
- data/lib/fastly/models/bot_management_workspace_response.rb +354 -0
- data/lib/fastly/models/bot_management_workspace_response_extra.rb +264 -0
- data/lib/fastly/models/bot_management_workspaces_response.rb +238 -0
- data/lib/fastly/models/bot_request_metrics_data_item.rb +278 -0
- data/lib/fastly/models/bot_request_metrics_metadata.rb +258 -0
- data/lib/fastly/models/bot_request_metrics_response.rb +228 -0
- data/lib/fastly/models/bulk_update_dictionary_item.rb +1 -1
- data/lib/fastly/models/ddos_protection_request_enable_mode.rb +2 -2
- data/lib/fastly/models/ddos_protection_request_update_configuration.rb +2 -2
- data/lib/fastly/models/ddos_protection_rule.rb +1 -1
- data/lib/fastly/models/ddos_protection_rule_all_of.rb +1 -1
- data/lib/fastly/models/ddos_protection_rule_patch.rb +1 -1
- data/lib/fastly/models/ddos_protection_rule_with_stats.rb +1 -1
- data/lib/fastly/models/dictionary_item.rb +1 -1
- data/lib/fastly/models/dictionary_item_response.rb +1 -1
- data/lib/fastly/models/event_attributes.rb +2 -2
- data/lib/fastly/models/network_protect_conflict.rb +299 -0
- data/lib/fastly/models/network_protect_conflict_error.rb +228 -0
- data/lib/fastly/models/network_protect_endpoint.rb +266 -0
- data/lib/fastly/models/network_protect_endpoint_create.rb +266 -0
- data/lib/fastly/models/network_protect_endpoint_policy.rb +255 -0
- data/lib/fastly/models/network_protect_endpoint_response.rb +340 -0
- data/lib/fastly/models/network_protect_endpoint_response_fields.rb +274 -0
- data/lib/fastly/models/network_protect_endpoint_update.rb +251 -0
- data/lib/fastly/models/network_protect_endpoints_response.rb +239 -0
- data/lib/fastly/models/network_protect_error_detail.rb +238 -0
- data/lib/fastly/models/{automation_token_create_request_attributes.rb → network_protect_invalid_request.rb} +63 -75
- data/lib/fastly/models/network_protect_list_meta.rb +263 -0
- data/lib/fastly/models/network_protect_loa_status.rb +36 -0
- data/lib/fastly/models/network_protect_network.rb +363 -0
- data/lib/fastly/models/network_protect_network_create.rb +340 -0
- data/lib/fastly/models/network_protect_network_response.rb +477 -0
- data/lib/fastly/models/network_protect_network_response_fields.rb +314 -0
- data/lib/fastly/models/network_protect_network_update.rb +329 -0
- data/lib/fastly/models/network_protect_networks_response.rb +239 -0
- data/lib/fastly/models/network_protect_policy_endpoint.rb +307 -0
- data/lib/fastly/models/network_protect_prefix_list.rb +282 -0
- data/lib/fastly/models/network_protect_prefix_list_create.rb +301 -0
- data/lib/fastly/models/network_protect_prefix_list_family.rb +35 -0
- data/lib/fastly/models/network_protect_prefix_list_response.rb +356 -0
- data/lib/fastly/models/network_protect_prefix_list_response_fields.rb +274 -0
- data/lib/fastly/models/network_protect_prefix_list_update.rb +269 -0
- data/lib/fastly/models/network_protect_prefix_lists_response.rb +239 -0
- data/lib/fastly/models/network_protect_region.rb +34 -0
- data/lib/fastly/models/network_protect_roa_status.rb +37 -0
- data/lib/fastly/models/network_protect_rule.rb +372 -0
- data/lib/fastly/models/network_protect_rule_action.rb +35 -0
- data/lib/fastly/models/network_protect_rule_destination_ports.rb +208 -0
- data/lib/fastly/models/network_protect_rule_ip_protocol.rb +37 -0
- data/lib/fastly/models/network_protect_rule_match_destination_ip.rb +223 -0
- data/lib/fastly/models/network_protect_rule_match_destination_ports.rb +222 -0
- data/lib/fastly/models/network_protect_rule_match_ip_protocol.rb +222 -0
- data/lib/fastly/models/network_protect_rule_match_source_ports.rb +222 -0
- data/lib/fastly/models/network_protect_rule_match_source_prefix_list.rb +244 -0
- data/lib/fastly/models/network_protect_rule_response.rb +329 -0
- data/lib/fastly/models/network_protect_rule_set.rb +258 -0
- data/lib/fastly/models/network_protect_rule_set_create.rb +249 -0
- data/lib/fastly/models/network_protect_rule_set_default_action.rb +35 -0
- data/lib/fastly/models/network_protect_rule_set_response.rb +332 -0
- data/lib/fastly/models/network_protect_rule_set_response_fields.rb +274 -0
- data/lib/fastly/models/network_protect_rule_set_update.rb +244 -0
- data/lib/fastly/models/network_protect_rule_sets_response.rb +239 -0
- data/lib/fastly/models/network_protect_rule_source_ports.rb +208 -0
- data/lib/fastly/models/network_protect_rule_timestamps.rb +228 -0
- data/lib/fastly/models/platform_values.rb +3568 -137
- data/lib/fastly/models/realtime_entry_aggregated.rb +164 -4
- data/lib/fastly/models/realtime_entry_datacenter.rb +164 -4
- data/lib/fastly/models/realtime_measurements.rb +164 -4
- data/lib/fastly/models/results.rb +161 -1
- data/lib/fastly/version.rb +1 -1
- data/lib/fastly.rb +143 -1
- data/sig.json +1 -1
- metadata +288 -4
- data/docs/AutomationTokenCreateRequestAttributes.md +0 -15
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8a90f11f2628f043c068d23b5783d2381761e2c566befbe816df4f953e23e8d1
|
|
4
|
+
data.tar.gz: 11dbbdb17c2e6566bbd275cff14932e85cde26060b764dc68b31e055b097a5d5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 18fb8655b2002585dcb72fd89df833a2f822095096b48852540886e0f95999bfe275a58683d7de7eefadcc5e23f2b9bb2a711fb0686efe9819d0bada265bf9bb
|
|
7
|
+
data.tar.gz: 85a0909f71c9b7f6cf042933f0349f832caf67e1471e9c4f509f71d9b4e515b4c4b170fddf4bb90890b1d884149c13d610eab24e594ce375eef3b6be785e69ce
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## [
|
|
3
|
+
## [v18.0.0](https://github.com/fastly/fastly-ruby/releases/tag/release/v18.0.0) (2026-10-21)
|
|
4
|
+
|
|
5
|
+
**Breaking Changes:**
|
|
6
|
+
|
|
7
|
+
- removed(metrics-platform): Removed the `get-platform-metrics-service-historical` operation (`GET /metrics/platform/services/{service_id}/{granularity}`). Use `get-platform-metrics-entity-historical` instead.
|
|
8
|
+
- removed(metrics-platform): Removed the `ttfb_*` fields (`ttfb_edge_p25_us` to `ttfb_edge_p99_us`, `ttfb_origin_*`, and `ttfb_shield_*`) from `platform_values`, and the `ttfb` value from the `metric_set` parameter.
|
|
9
|
+
- changed(automation-tokens): Removed the `attributes` wrapper object from `automation_token_create_request`. `name`, `role`, `services`, `scope`, `expires_at`, and `tls_access` are now top-level fields, and `role` is no longer required.
|
|
10
|
+
- changed(automation-tokens): Added `ngwaf_user_imported`, `ngwaf_admin_imported`, `ngwaf_owner_imported`, `ngwaf_observer_imported`, `tls_admin`, and `tls_viewer` to the `role` enum of token responses.
|
|
11
|
+
- changed(products[ddos_protection]): Added `client_challenge` to the allowed `mode` values for `enable-product-ddos-protection` and `set-product-ddos-protection-configuration`.
|
|
12
|
+
|
|
4
13
|
|
|
5
14
|
**Bug fixes:**
|
|
6
15
|
|
|
@@ -9,12 +18,47 @@
|
|
|
9
18
|
|
|
10
19
|
**Enhancements:**
|
|
11
20
|
|
|
21
|
+
- feat(metrics-platform): Add the `get-platform-metrics-entity-historical` (`/metrics/v2/platform/entities/{entity_id}/{granularity}`) and `get-platform-metrics-aggregate-historical` (`/metrics/v2/platform/aggregate/{granularity}`) operations, with pagination, metric sets, and flexible grouping.
|
|
22
|
+
- feat(metrics-platform): Add `metric_set` values `delivery_traffic_flow`, `delivery_cache_performance`, `delivery_errors`, `compute_traffic_flow`, `compute_performance`, `compute_errors`, `content_guard`, `content_security`, `ddos`, `domain_api`, `fanout`, `image_opto`, `ngwaf`, `object_storage`, and `websockets`, and add the corresponding metric fields to `platform_values`.
|
|
23
|
+
- feat(bot-requests-metrics): Add the bot request metrics API (`get-bot-request-metrics-service-historical`), which returns historical time series of ContentGuard bot-request metrics for a service, broken down by bot.
|
|
24
|
+
- feat(automation-tokens): Add support for multiple roles with the `roles`, `limit_services`, `limit_workspaces`, and `workspaces` fields on token create requests and token responses.
|
|
25
|
+
- feat(automation-tokens): Add the `get-automation-tokens-id-workspaces` operation to list the Next-Gen WAF workspaces that an automation token can access.
|
|
26
|
+
- feat(historical, realtime): Add new API Enforcement metrics: `api_enforcement_allowed_requests_count` and `api_enforcement_flagged_requests_count`.
|
|
27
|
+
- feat(historical, realtime): Add new Network Protect metrics: `netprotect_gre_sent_bytes`, `netprotect_gre_sent_packets`, `netprotect_received_bytes`, `netprotect_received_packets`, `netprotect_firewall_dropped_bytes`, and `netprotect_firewall_dropped_packets`.
|
|
28
|
+
- feat(historical, realtime): Add new ContentGuard challenge metrics: `bot_edge_challenge_complete_tokens_issued`, `bot_edge_challenges_issued`, `bot_edge_challenges_succeeded`, `bot_edge_challenges_failed`, `bot_edge_challenges_pats_issued`, and `bot_edge_challenges_pats_succeeded`.
|
|
29
|
+
- feat(historical, realtime): Add new AI Runtime Control AI Firewall metrics: `arc_ai_firewall_requests` and `arc_ai_firewall_blocked`.
|
|
30
|
+
|
|
31
|
+
- feat(purge): Add the optional `Fastly-Purge-Environment` header to `purge-all`, `purge-tag`, and `bulk-purge-tag`.
|
|
32
|
+
Set it to `staging` to purge the cache of a service's staging environment.
|
|
33
|
+
|
|
34
|
+
- feat(network-protect): Add the Network Protect API for managing protected networks, GRE delivery endpoints, prefix lists, and traffic-filtering rule sets.
|
|
35
|
+
|
|
36
|
+
- feat(products): Add `ai_runtime_control` product to enablement API.
|
|
37
|
+
- feat(ai-runtime-control-virtual-keys): Add virtual keys API for AI Runtime Control, covering create/list/get/update/delete/rotate and per-key failover policies.
|
|
38
|
+
- feat(ai-runtime-control-provider-connections): Add provider connections API for AI Runtime Control, supporting API-key and AWS IAM (Bedrock) authentication.
|
|
39
|
+
- feat(ai-runtime-control-providers): Add providers API for AI Runtime Control, covering supported providers, provider models, and Bedrock setup information.
|
|
40
|
+
- feat(ai-runtime-control-usage-metrics): Add usage metrics API for AI Runtime Control, including a CSV export endpoint.
|
|
41
|
+
- feat(ai-runtime-control-sessions): Add session logs API for AI Runtime Control.
|
|
42
|
+
|
|
12
43
|
- feat(historical, realtime): Add new metric `bot_edge_requests_headless_count`, the number of edge requests where a headless bot was detected.
|
|
13
44
|
- feat(historical, realtime, domain_inspector_historical, domain_inspector_realtime): Add new metric `status_499`, the number of responses sent with status code 499 (Client Disconnected).
|
|
14
45
|
- feat(historical, realtime): Add new metrics `imgopto_input_image_bytes` and `imgopto_output_image_bytes`, describing the total image bytes before and after transformation by the Fastly Image Optimizer.
|
|
15
46
|
- feat(historical, realtime): Add new metric `arc_requests`, the number of requests received by AI Runtime Control.
|
|
16
47
|
- feat(historical, realtime): Add new DDoS protection challenge metrics: `ddos_challenge_complete_tokens_checked`, `ddos_challenge_complete_tokens_passed`, `ddos_challenge_complete_tokens_failed`, `ddos_challenge_starts`, `ddos_challenge_complete_tokens_issued`, `ddos_challenges_issued`, `ddos_challenges_succeeded`, `ddos_challenges_failed`, `ddos_challenges_pats_issued`, and `ddos_challenges_pats_succeeded`.
|
|
17
48
|
|
|
49
|
+
- feat(bot-management): Add the Bot Management API for configuring ContentGuard, covering workspace protection mode, category actions, per-bot action overrides, and a workspace-wide bot listing.
|
|
50
|
+
|
|
51
|
+
- feat(events): Add 37 `ngwaf.*` values to `event_type`, covering Next-Gen WAF workspaces, rules, lists, custom signals, redactions, virtual patches, thresholds, workspace alerts, header links, rate limited sources, custom dashboards, request reports, and agent keys.
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
**Documentation:**
|
|
55
|
+
|
|
56
|
+
- doc(dictionary-item): Correct the documented maximum length of `item_key` from 256 to 255 characters.
|
|
57
|
+
|
|
58
|
+
- doc(ddos-protection): Add `client_challenge` to the list of supported action values for DDoS protection rules.
|
|
59
|
+
|
|
60
|
+
- doc(events): Mark the `security.*` Next-Gen WAF `event_type` values as deprecated. They are no longer recorded, and are superseded by their `ngwaf.*` equivalents.
|
|
61
|
+
|
|
18
62
|
|
|
19
63
|
## [v17.1.0](https://github.com/fastly/fastly-ruby/releases/tag/release/v17.1.0) (2026-08-18)
|
|
20
64
|
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -8,7 +8,7 @@ A Ruby client library for interacting with most facets of the [Fastly API](https
|
|
|
8
8
|
To install via RubyGems, add the following to your project's `Gemfile`:
|
|
9
9
|
|
|
10
10
|
```ruby
|
|
11
|
-
gem 'fastly', '~>
|
|
11
|
+
gem 'fastly', '~> 18.0.0'
|
|
12
12
|
```
|
|
13
13
|
|
|
14
14
|
Then run `bundle install`.
|
|
@@ -86,6 +86,25 @@ Class | Method | Description
|
|
|
86
86
|
[*Fastly::AclsInComputeApi*](docs/AclsInComputeApi.md) | [**compute_acl_list_acls_s_acl_id**](docs/AclsInComputeApi.md#compute_acl_list_acls_s_acl_id) | Describe an ACL
|
|
87
87
|
[*Fastly::AclsInComputeApi*](docs/AclsInComputeApi.md) | [**compute_acl_lookup_acls**](docs/AclsInComputeApi.md#compute_acl_lookup_acls) | Lookup an ACL
|
|
88
88
|
[*Fastly::AclsInComputeApi*](docs/AclsInComputeApi.md) | [**compute_acl_update_acls**](docs/AclsInComputeApi.md#compute_acl_update_acls) | Update an ACL
|
|
89
|
+
[*Fastly::AiRuntimeControlProviderConnectionsApi*](docs/AiRuntimeControlProviderConnectionsApi.md) | [**arc_create_provider_connection**](docs/AiRuntimeControlProviderConnectionsApi.md#arc_create_provider_connection) | Create a provider connection
|
|
90
|
+
[*Fastly::AiRuntimeControlProviderConnectionsApi*](docs/AiRuntimeControlProviderConnectionsApi.md) | [**arc_delete_provider_connection**](docs/AiRuntimeControlProviderConnectionsApi.md#arc_delete_provider_connection) | Delete a provider connection
|
|
91
|
+
[*Fastly::AiRuntimeControlProviderConnectionsApi*](docs/AiRuntimeControlProviderConnectionsApi.md) | [**arc_get_provider_connection**](docs/AiRuntimeControlProviderConnectionsApi.md#arc_get_provider_connection) | Get a provider connection
|
|
92
|
+
[*Fastly::AiRuntimeControlProviderConnectionsApi*](docs/AiRuntimeControlProviderConnectionsApi.md) | [**arc_list_provider_connections**](docs/AiRuntimeControlProviderConnectionsApi.md#arc_list_provider_connections) | List provider connections
|
|
93
|
+
[*Fastly::AiRuntimeControlProviderConnectionsApi*](docs/AiRuntimeControlProviderConnectionsApi.md) | [**arc_update_provider_connection**](docs/AiRuntimeControlProviderConnectionsApi.md#arc_update_provider_connection) | Update a provider connection
|
|
94
|
+
[*Fastly::AiRuntimeControlProvidersApi*](docs/AiRuntimeControlProvidersApi.md) | [**arc_get_bedrock_setup**](docs/AiRuntimeControlProvidersApi.md#arc_get_bedrock_setup) | Get Bedrock setup information
|
|
95
|
+
[*Fastly::AiRuntimeControlProvidersApi*](docs/AiRuntimeControlProvidersApi.md) | [**arc_get_models_for_provider**](docs/AiRuntimeControlProvidersApi.md#arc_get_models_for_provider) | Get models for a provider
|
|
96
|
+
[*Fastly::AiRuntimeControlProvidersApi*](docs/AiRuntimeControlProvidersApi.md) | [**arc_get_supported_providers**](docs/AiRuntimeControlProvidersApi.md#arc_get_supported_providers) | Get supported providers
|
|
97
|
+
[*Fastly::AiRuntimeControlSessionsApi*](docs/AiRuntimeControlSessionsApi.md) | [**arc_get_session_logs**](docs/AiRuntimeControlSessionsApi.md#arc_get_session_logs) | Get session logs
|
|
98
|
+
[*Fastly::AiRuntimeControlUsageMetricsApi*](docs/AiRuntimeControlUsageMetricsApi.md) | [**arc_export_usage_metrics**](docs/AiRuntimeControlUsageMetricsApi.md#arc_export_usage_metrics) | Export usage metrics
|
|
99
|
+
[*Fastly::AiRuntimeControlUsageMetricsApi*](docs/AiRuntimeControlUsageMetricsApi.md) | [**arc_get_usage_metrics**](docs/AiRuntimeControlUsageMetricsApi.md#arc_get_usage_metrics) | Get usage metrics
|
|
100
|
+
[*Fastly::AiRuntimeControlVirtualKeysApi*](docs/AiRuntimeControlVirtualKeysApi.md) | [**arc_create_virtual_key**](docs/AiRuntimeControlVirtualKeysApi.md#arc_create_virtual_key) | Create a virtual key
|
|
101
|
+
[*Fastly::AiRuntimeControlVirtualKeysApi*](docs/AiRuntimeControlVirtualKeysApi.md) | [**arc_delete_virtual_key**](docs/AiRuntimeControlVirtualKeysApi.md#arc_delete_virtual_key) | Delete a virtual key
|
|
102
|
+
[*Fastly::AiRuntimeControlVirtualKeysApi*](docs/AiRuntimeControlVirtualKeysApi.md) | [**arc_get_virtual_key**](docs/AiRuntimeControlVirtualKeysApi.md#arc_get_virtual_key) | Get a virtual key
|
|
103
|
+
[*Fastly::AiRuntimeControlVirtualKeysApi*](docs/AiRuntimeControlVirtualKeysApi.md) | [**arc_get_virtual_key_failover**](docs/AiRuntimeControlVirtualKeysApi.md#arc_get_virtual_key_failover) | Get a virtual key's failover policy
|
|
104
|
+
[*Fastly::AiRuntimeControlVirtualKeysApi*](docs/AiRuntimeControlVirtualKeysApi.md) | [**arc_list_virtual_keys**](docs/AiRuntimeControlVirtualKeysApi.md#arc_list_virtual_keys) | List virtual keys
|
|
105
|
+
[*Fastly::AiRuntimeControlVirtualKeysApi*](docs/AiRuntimeControlVirtualKeysApi.md) | [**arc_rotate_virtual_key**](docs/AiRuntimeControlVirtualKeysApi.md#arc_rotate_virtual_key) | Rotate a virtual key
|
|
106
|
+
[*Fastly::AiRuntimeControlVirtualKeysApi*](docs/AiRuntimeControlVirtualKeysApi.md) | [**arc_update_virtual_key**](docs/AiRuntimeControlVirtualKeysApi.md#arc_update_virtual_key) | Update a virtual key
|
|
107
|
+
[*Fastly::AiRuntimeControlVirtualKeysApi*](docs/AiRuntimeControlVirtualKeysApi.md) | [**arc_update_virtual_key_failover**](docs/AiRuntimeControlVirtualKeysApi.md#arc_update_virtual_key_failover) | Update a virtual key's failover policy
|
|
89
108
|
[*Fastly::ApexRedirectApi*](docs/ApexRedirectApi.md) | [**create_apex_redirect**](docs/ApexRedirectApi.md#create_apex_redirect) | Create an apex redirect
|
|
90
109
|
[*Fastly::ApexRedirectApi*](docs/ApexRedirectApi.md) | [**delete_apex_redirect**](docs/ApexRedirectApi.md#delete_apex_redirect) | Delete an apex redirect
|
|
91
110
|
[*Fastly::ApexRedirectApi*](docs/ApexRedirectApi.md) | [**get_apex_redirect**](docs/ApexRedirectApi.md#get_apex_redirect) | Get an apex redirect
|
|
@@ -108,6 +127,7 @@ Class | Method | Description
|
|
|
108
127
|
[*Fastly::AutomationTokensApi*](docs/AutomationTokensApi.md) | [**create_automation_token**](docs/AutomationTokensApi.md#create_automation_token) | Create Automation Token
|
|
109
128
|
[*Fastly::AutomationTokensApi*](docs/AutomationTokensApi.md) | [**get_automation_token_id**](docs/AutomationTokensApi.md#get_automation_token_id) | Retrieve an Automation Token by ID
|
|
110
129
|
[*Fastly::AutomationTokensApi*](docs/AutomationTokensApi.md) | [**get_automation_tokens_id_services**](docs/AutomationTokensApi.md#get_automation_tokens_id_services) | List Automation Token Services
|
|
130
|
+
[*Fastly::AutomationTokensApi*](docs/AutomationTokensApi.md) | [**get_automation_tokens_id_workspaces**](docs/AutomationTokensApi.md#get_automation_tokens_id_workspaces) | List Automation Token Workspaces
|
|
111
131
|
[*Fastly::AutomationTokensApi*](docs/AutomationTokensApi.md) | [**list_automation_tokens**](docs/AutomationTokensApi.md#list_automation_tokens) | List Customer Automation Tokens
|
|
112
132
|
[*Fastly::AutomationTokensApi*](docs/AutomationTokensApi.md) | [**revoke_automation_token_id**](docs/AutomationTokensApi.md#revoke_automation_token_id) | Revoke an Automation Token by ID
|
|
113
133
|
[*Fastly::BackendApi*](docs/BackendApi.md) | [**create_backend**](docs/BackendApi.md#create_backend) | Create a backend
|
|
@@ -124,6 +144,17 @@ Class | Method | Description
|
|
|
124
144
|
[*Fastly::BillingInvoicesApi*](docs/BillingInvoicesApi.md) | [**list_invoices**](docs/BillingInvoicesApi.md#list_invoices) | List of invoices.
|
|
125
145
|
[*Fastly::BillingUsageMetricsApi*](docs/BillingUsageMetricsApi.md) | [**get_service_level_usage**](docs/BillingUsageMetricsApi.md#get_service_level_usage) | Retrieve service-level usage metrics for services with non-zero usage units.
|
|
126
146
|
[*Fastly::BillingUsageMetricsApi*](docs/BillingUsageMetricsApi.md) | [**get_usage_metrics**](docs/BillingUsageMetricsApi.md#get_usage_metrics) | Get monthly usage metrics
|
|
147
|
+
[*Fastly::BotManagementApi*](docs/BotManagementApi.md) | [**bot_management_get_bot**](docs/BotManagementApi.md#bot_management_get_bot) | Get a bot
|
|
148
|
+
[*Fastly::BotManagementApi*](docs/BotManagementApi.md) | [**bot_management_get_category**](docs/BotManagementApi.md#bot_management_get_category) | Get a category
|
|
149
|
+
[*Fastly::BotManagementApi*](docs/BotManagementApi.md) | [**bot_management_get_workspace**](docs/BotManagementApi.md#bot_management_get_workspace) | Get a workspace
|
|
150
|
+
[*Fastly::BotManagementApi*](docs/BotManagementApi.md) | [**bot_management_list_bots**](docs/BotManagementApi.md#bot_management_list_bots) | List all bots in a workspace
|
|
151
|
+
[*Fastly::BotManagementApi*](docs/BotManagementApi.md) | [**bot_management_list_categories**](docs/BotManagementApi.md#bot_management_list_categories) | List categories
|
|
152
|
+
[*Fastly::BotManagementApi*](docs/BotManagementApi.md) | [**bot_management_list_category_bots**](docs/BotManagementApi.md#bot_management_list_category_bots) | List bots in a category
|
|
153
|
+
[*Fastly::BotManagementApi*](docs/BotManagementApi.md) | [**bot_management_list_workspaces**](docs/BotManagementApi.md#bot_management_list_workspaces) | List workspaces
|
|
154
|
+
[*Fastly::BotManagementApi*](docs/BotManagementApi.md) | [**bot_management_update_bot**](docs/BotManagementApi.md#bot_management_update_bot) | Set a bot action
|
|
155
|
+
[*Fastly::BotManagementApi*](docs/BotManagementApi.md) | [**bot_management_update_category**](docs/BotManagementApi.md#bot_management_update_category) | Set a category action
|
|
156
|
+
[*Fastly::BotManagementApi*](docs/BotManagementApi.md) | [**bot_management_update_workspace**](docs/BotManagementApi.md#bot_management_update_workspace) | Update a workspace
|
|
157
|
+
[*Fastly::BotRequestsMetricsApi*](docs/BotRequestsMetricsApi.md) | [**get_bot_request_metrics_service_historical**](docs/BotRequestsMetricsApi.md#get_bot_request_metrics_service_historical) | Get per-service historical time series metrics for bot requests broken down by bot-type.
|
|
127
158
|
[*Fastly::CacheSettingsApi*](docs/CacheSettingsApi.md) | [**create_cache_settings**](docs/CacheSettingsApi.md#create_cache_settings) | Create a cache settings object
|
|
128
159
|
[*Fastly::CacheSettingsApi*](docs/CacheSettingsApi.md) | [**delete_cache_settings**](docs/CacheSettingsApi.md#delete_cache_settings) | Delete a cache settings object
|
|
129
160
|
[*Fastly::CacheSettingsApi*](docs/CacheSettingsApi.md) | [**get_cache_settings**](docs/CacheSettingsApi.md#get_cache_settings) | Get a cache settings object
|
|
@@ -460,12 +491,33 @@ Class | Method | Description
|
|
|
460
491
|
[*Fastly::LoggingSyslogApi*](docs/LoggingSyslogApi.md) | [**get_log_syslog**](docs/LoggingSyslogApi.md#get_log_syslog) | Get a syslog log endpoint
|
|
461
492
|
[*Fastly::LoggingSyslogApi*](docs/LoggingSyslogApi.md) | [**list_log_syslog**](docs/LoggingSyslogApi.md#list_log_syslog) | List Syslog log endpoints
|
|
462
493
|
[*Fastly::LoggingSyslogApi*](docs/LoggingSyslogApi.md) | [**update_log_syslog**](docs/LoggingSyslogApi.md#update_log_syslog) | Update a syslog log endpoint
|
|
463
|
-
[*Fastly::MetricsPlatformApi*](docs/MetricsPlatformApi.md) | [**
|
|
494
|
+
[*Fastly::MetricsPlatformApi*](docs/MetricsPlatformApi.md) | [**get_platform_metrics_aggregate_historical**](docs/MetricsPlatformApi.md#get_platform_metrics_aggregate_historical) | Get aggregated historical time series metrics for all entities
|
|
495
|
+
[*Fastly::MetricsPlatformApi*](docs/MetricsPlatformApi.md) | [**get_platform_metrics_entity_historical**](docs/MetricsPlatformApi.md#get_platform_metrics_entity_historical) | Get historical time series metrics for a single entity.
|
|
464
496
|
[*Fastly::MutualAuthenticationApi*](docs/MutualAuthenticationApi.md) | [**create_mutual_tls_authentication**](docs/MutualAuthenticationApi.md#create_mutual_tls_authentication) | Create a Mutual Authentication
|
|
465
497
|
[*Fastly::MutualAuthenticationApi*](docs/MutualAuthenticationApi.md) | [**delete_mutual_tls**](docs/MutualAuthenticationApi.md#delete_mutual_tls) | Delete a Mutual TLS
|
|
466
498
|
[*Fastly::MutualAuthenticationApi*](docs/MutualAuthenticationApi.md) | [**get_mutual_authentication**](docs/MutualAuthenticationApi.md#get_mutual_authentication) | Get a Mutual Authentication
|
|
467
499
|
[*Fastly::MutualAuthenticationApi*](docs/MutualAuthenticationApi.md) | [**list_mutual_authentications**](docs/MutualAuthenticationApi.md#list_mutual_authentications) | List Mutual Authentications
|
|
468
500
|
[*Fastly::MutualAuthenticationApi*](docs/MutualAuthenticationApi.md) | [**patch_mutual_authentication**](docs/MutualAuthenticationApi.md#patch_mutual_authentication) | Update a Mutual Authentication
|
|
501
|
+
[*Fastly::NetworkProtectApi*](docs/NetworkProtectApi.md) | [**create_network_protect_endpoint**](docs/NetworkProtectApi.md#create_network_protect_endpoint) | Create a Network Protect endpoint
|
|
502
|
+
[*Fastly::NetworkProtectApi*](docs/NetworkProtectApi.md) | [**create_network_protect_network**](docs/NetworkProtectApi.md#create_network_protect_network) | Create a Network Protect network
|
|
503
|
+
[*Fastly::NetworkProtectApi*](docs/NetworkProtectApi.md) | [**create_network_protect_prefix_list**](docs/NetworkProtectApi.md#create_network_protect_prefix_list) | Create a Network Protect prefix list
|
|
504
|
+
[*Fastly::NetworkProtectApi*](docs/NetworkProtectApi.md) | [**create_network_protect_rule_set**](docs/NetworkProtectApi.md#create_network_protect_rule_set) | Create a Network Protect rule set
|
|
505
|
+
[*Fastly::NetworkProtectApi*](docs/NetworkProtectApi.md) | [**delete_network_protect_endpoint**](docs/NetworkProtectApi.md#delete_network_protect_endpoint) | Delete a Network Protect endpoint
|
|
506
|
+
[*Fastly::NetworkProtectApi*](docs/NetworkProtectApi.md) | [**delete_network_protect_network**](docs/NetworkProtectApi.md#delete_network_protect_network) | Delete a Network Protect network
|
|
507
|
+
[*Fastly::NetworkProtectApi*](docs/NetworkProtectApi.md) | [**delete_network_protect_prefix_list**](docs/NetworkProtectApi.md#delete_network_protect_prefix_list) | Delete a Network Protect prefix list
|
|
508
|
+
[*Fastly::NetworkProtectApi*](docs/NetworkProtectApi.md) | [**delete_network_protect_rule_set**](docs/NetworkProtectApi.md#delete_network_protect_rule_set) | Delete a Network Protect rule set
|
|
509
|
+
[*Fastly::NetworkProtectApi*](docs/NetworkProtectApi.md) | [**get_network_protect_endpoint**](docs/NetworkProtectApi.md#get_network_protect_endpoint) | Get a Network Protect endpoint
|
|
510
|
+
[*Fastly::NetworkProtectApi*](docs/NetworkProtectApi.md) | [**get_network_protect_network**](docs/NetworkProtectApi.md#get_network_protect_network) | Get a Network Protect network
|
|
511
|
+
[*Fastly::NetworkProtectApi*](docs/NetworkProtectApi.md) | [**get_network_protect_prefix_list**](docs/NetworkProtectApi.md#get_network_protect_prefix_list) | Get a Network Protect prefix list
|
|
512
|
+
[*Fastly::NetworkProtectApi*](docs/NetworkProtectApi.md) | [**get_network_protect_rule_set**](docs/NetworkProtectApi.md#get_network_protect_rule_set) | Get a Network Protect rule set
|
|
513
|
+
[*Fastly::NetworkProtectApi*](docs/NetworkProtectApi.md) | [**list_network_protect_endpoints**](docs/NetworkProtectApi.md#list_network_protect_endpoints) | List Network Protect endpoints
|
|
514
|
+
[*Fastly::NetworkProtectApi*](docs/NetworkProtectApi.md) | [**list_network_protect_networks**](docs/NetworkProtectApi.md#list_network_protect_networks) | List Network Protect networks
|
|
515
|
+
[*Fastly::NetworkProtectApi*](docs/NetworkProtectApi.md) | [**list_network_protect_prefix_lists**](docs/NetworkProtectApi.md#list_network_protect_prefix_lists) | List Network Protect prefix lists
|
|
516
|
+
[*Fastly::NetworkProtectApi*](docs/NetworkProtectApi.md) | [**list_network_protect_rule_sets**](docs/NetworkProtectApi.md#list_network_protect_rule_sets) | List Network Protect rule sets
|
|
517
|
+
[*Fastly::NetworkProtectApi*](docs/NetworkProtectApi.md) | [**update_network_protect_endpoint**](docs/NetworkProtectApi.md#update_network_protect_endpoint) | Update a Network Protect endpoint
|
|
518
|
+
[*Fastly::NetworkProtectApi*](docs/NetworkProtectApi.md) | [**update_network_protect_network**](docs/NetworkProtectApi.md#update_network_protect_network) | Update a Network Protect network
|
|
519
|
+
[*Fastly::NetworkProtectApi*](docs/NetworkProtectApi.md) | [**update_network_protect_prefix_list**](docs/NetworkProtectApi.md#update_network_protect_prefix_list) | Update a Network Protect prefix list
|
|
520
|
+
[*Fastly::NetworkProtectApi*](docs/NetworkProtectApi.md) | [**update_network_protect_rule_set**](docs/NetworkProtectApi.md#update_network_protect_rule_set) | Update a Network Protect rule set
|
|
469
521
|
[*Fastly::NgwafAgentKeysApi*](docs/NgwafAgentKeysApi.md) | [**ngwaf_list_agent_keys**](docs/NgwafAgentKeysApi.md#ngwaf_list_agent_keys) | List agent keys for a workspace
|
|
470
522
|
[*Fastly::NgwafReportsApi*](docs/NgwafReportsApi.md) | [**get_attacks_report**](docs/NgwafReportsApi.md#get_attacks_report) | Get attacks report
|
|
471
523
|
[*Fastly::NgwafReportsApi*](docs/NgwafReportsApi.md) | [**get_signals_report**](docs/NgwafReportsApi.md#get_signals_report) | Get signals report
|
|
@@ -496,6 +548,9 @@ Class | Method | Description
|
|
|
496
548
|
[*Fastly::ProductAiAcceleratorApi*](docs/ProductAiAcceleratorApi.md) | [**disable_product_ai_accelerator**](docs/ProductAiAcceleratorApi.md#disable_product_ai_accelerator) | Disable product
|
|
497
549
|
[*Fastly::ProductAiAcceleratorApi*](docs/ProductAiAcceleratorApi.md) | [**enable_ai_accelerator**](docs/ProductAiAcceleratorApi.md#enable_ai_accelerator) | Enable product
|
|
498
550
|
[*Fastly::ProductAiAcceleratorApi*](docs/ProductAiAcceleratorApi.md) | [**get_ai_accelerator**](docs/ProductAiAcceleratorApi.md#get_ai_accelerator) | Get product enablement status
|
|
551
|
+
[*Fastly::ProductAiRuntimeControlApi*](docs/ProductAiRuntimeControlApi.md) | [**disable_product_ai_runtime_control**](docs/ProductAiRuntimeControlApi.md#disable_product_ai_runtime_control) | Disable product
|
|
552
|
+
[*Fastly::ProductAiRuntimeControlApi*](docs/ProductAiRuntimeControlApi.md) | [**enable_product_ai_runtime_control**](docs/ProductAiRuntimeControlApi.md#enable_product_ai_runtime_control) | Enable product
|
|
553
|
+
[*Fastly::ProductAiRuntimeControlApi*](docs/ProductAiRuntimeControlApi.md) | [**get_product_ai_runtime_control**](docs/ProductAiRuntimeControlApi.md#get_product_ai_runtime_control) | Get product enablement status
|
|
499
554
|
[*Fastly::ProductApiDiscoveryApi*](docs/ProductApiDiscoveryApi.md) | [**disable_product_api_discovery**](docs/ProductApiDiscoveryApi.md#disable_product_api_discovery) | Disable product
|
|
500
555
|
[*Fastly::ProductApiDiscoveryApi*](docs/ProductApiDiscoveryApi.md) | [**enable_product_api_discovery**](docs/ProductApiDiscoveryApi.md#enable_product_api_discovery) | Enable product
|
|
501
556
|
[*Fastly::ProductApiDiscoveryApi*](docs/ProductApiDiscoveryApi.md) | [**get_product_api_discovery**](docs/ProductApiDiscoveryApi.md#get_product_api_discovery) | Get product enablement status
|
|
@@ -721,6 +776,14 @@ The fastly-ruby API client currently does not support the following endpoints:
|
|
|
721
776
|
- [`/dns/v1/tsig-keys`](https://www.fastly.com/documentation/reference/api/) (GET, POST)
|
|
722
777
|
- [`/dns/v1/zones/{zone_id}`](https://www.fastly.com/documentation/reference/api/) (DELETE, GET, PATCH)
|
|
723
778
|
- [`/dns/v1/zones`](https://www.fastly.com/documentation/reference/api/) (GET, POST)
|
|
779
|
+
- [`/iam/v1/organizations/{organization_id}/accounts`](https://www.fastly.com/documentation/reference/api/) (GET, POST)
|
|
780
|
+
- [`/iam/v1/organizations/{organization_id}/invitations/{invitation_id}/notifications`](https://www.fastly.com/documentation/reference/api/) (POST)
|
|
781
|
+
- [`/iam/v1/organizations/{organization_id}/invitations/{invitation_id}`](https://www.fastly.com/documentation/reference/api/) (GET, PATCH)
|
|
782
|
+
- [`/iam/v1/organizations/{organization_id}/invitations`](https://www.fastly.com/documentation/reference/api/) (GET, POST)
|
|
783
|
+
- [`/iam/v1/organizations/{organization_id}/options`](https://www.fastly.com/documentation/reference/api/) (GET, PATCH)
|
|
784
|
+
- [`/iam/v1/organizations/{organization_id}`](https://www.fastly.com/documentation/reference/api/) (GET, PATCH)
|
|
785
|
+
- [`/model/{modelId}/invoke-with-response-stream`](https://www.fastly.com/documentation/reference/api/ai-runtime-control/gateway) (POST)
|
|
786
|
+
- [`/model/{modelId}/invoke`](https://www.fastly.com/documentation/reference/api/ai-runtime-control/gateway) (POST)
|
|
724
787
|
- [`/ngwaf/v1/default-dashboards`](https://www.fastly.com/documentation/reference/api/ngwaf/custom-dashboards) (GET)
|
|
725
788
|
- [`/ngwaf/v1/lists/{listId}`](https://www.fastly.com/documentation/reference/api/ngwaf/lists) (DELETE, GET, PATCH)
|
|
726
789
|
- [`/ngwaf/v1/lists`](https://www.fastly.com/documentation/reference/api/ngwaf/lists) (GET, POST)
|
|
@@ -738,6 +801,7 @@ The fastly-ruby API client currently does not support the following endpoints:
|
|
|
738
801
|
- [`/ngwaf/v1/workspaces/{workspace_id}/alerts/{alert_id}/test`](https://www.fastly.com/documentation/reference/api/ngwaf/workspace-alerts/) (POST)
|
|
739
802
|
- [`/ngwaf/v1/workspaces/{workspace_id}/alerts/{alert_id}`](https://www.fastly.com/documentation/reference/api/ngwaf/workspace-alerts/) (DELETE, GET, PATCH)
|
|
740
803
|
- [`/ngwaf/v1/workspaces/{workspace_id}/alerts`](https://www.fastly.com/documentation/reference/api/ngwaf/workspace-alerts/) (GET, POST)
|
|
804
|
+
- [`/ngwaf/v1/workspaces/{workspace_id}/challenge-settings`](https://www.fastly.com/documentation/reference/api/ngwaf/challenge-settings) (GET, PATCH)
|
|
741
805
|
- [`/ngwaf/v1/workspaces/{workspace_id}/dashboards/{dashboard_id}`](https://www.fastly.com/documentation/reference/api/ngwaf/custom-dashboards) (DELETE, GET, PATCH)
|
|
742
806
|
- [`/ngwaf/v1/workspaces/{workspace_id}/dashboards`](https://www.fastly.com/documentation/reference/api/ngwaf/custom-dashboards) (GET, POST)
|
|
743
807
|
- [`/ngwaf/v1/workspaces/{workspace_id}/default-dashboard`](https://www.fastly.com/documentation/reference/api/ngwaf/custom-dashboards) (GET, PUT)
|
|
@@ -783,9 +847,16 @@ The fastly-ruby API client currently does not support the following endpoints:
|
|
|
783
847
|
- [`/tls/activations`](https://www.fastly.com/documentation/reference/api/tls/mutual-tls/activations) (GET)
|
|
784
848
|
- [`/tls/configurations/{tls_configuration_id}`](https://www.fastly.com/documentation/reference/api/) (DELETE, GET, PATCH)
|
|
785
849
|
- [`/tls/configurations`](https://www.fastly.com/documentation/reference/api/) (GET, POST)
|
|
850
|
+
- [`/v1/audio/speech`](https://www.fastly.com/documentation/reference/api/ai-runtime-control/gateway) (POST)
|
|
851
|
+
- [`/v1/audio/transcriptions`](https://www.fastly.com/documentation/reference/api/ai-runtime-control/gateway) (POST)
|
|
786
852
|
- [`/v1/channel/{service_id}/ts/h/limit/{max_entries}`](https://www.fastly.com/documentation/reference/api/metrics-stats/origin-insights) (GET)
|
|
787
853
|
- [`/v1/channel/{service_id}/ts/h`](https://www.fastly.com/documentation/reference/api/metrics-stats/origin-insights) (GET)
|
|
788
854
|
- [`/v1/channel/{service_id}/ts/{start_timestamp}`](https://www.fastly.com/documentation/reference/api/metrics-stats/origin-insights) (GET)
|
|
855
|
+
- [`/v1/chat/completions`](https://www.fastly.com/documentation/reference/api/ai-runtime-control/gateway) (POST)
|
|
856
|
+
- [`/v1/messages/count_tokens`](https://www.fastly.com/documentation/reference/api/ai-runtime-control/gateway) (POST)
|
|
857
|
+
- [`/v1/messages`](https://www.fastly.com/documentation/reference/api/ai-runtime-control/gateway) (POST)
|
|
858
|
+
- [`/v1/models`](https://www.fastly.com/documentation/reference/api/ai-runtime-control/gateway) (GET)
|
|
859
|
+
- [`/v1/responses`](https://www.fastly.com/documentation/reference/api/ai-runtime-control/gateway) (POST)
|
|
789
860
|
|
|
790
861
|
|
|
791
862
|
If you encounter any non-security-related bug or unexpected behavior, please [file an issue][bug]
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
# Fastly::AiRuntimeControlProviderConnectionsApi
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
```ruby
|
|
5
|
+
require 'fastly'
|
|
6
|
+
api_instance = Fastly::AiRuntimeControlProviderConnectionsApi.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_provider_connection**](AiRuntimeControlProviderConnectionsApi.md#arc_create_provider_connection) | **POST** /ai-runtime-control/v1/provider-connections | Create a provider connection
|
|
17
|
+
[**arc_delete_provider_connection**](AiRuntimeControlProviderConnectionsApi.md#arc_delete_provider_connection) | **DELETE** /ai-runtime-control/v1/provider-connections/{id} | Delete a provider connection
|
|
18
|
+
[**arc_get_provider_connection**](AiRuntimeControlProviderConnectionsApi.md#arc_get_provider_connection) | **GET** /ai-runtime-control/v1/provider-connections/{id} | Get a provider connection
|
|
19
|
+
[**arc_list_provider_connections**](AiRuntimeControlProviderConnectionsApi.md#arc_list_provider_connections) | **GET** /ai-runtime-control/v1/provider-connections | List provider connections
|
|
20
|
+
[**arc_update_provider_connection**](AiRuntimeControlProviderConnectionsApi.md#arc_update_provider_connection) | **PATCH** /ai-runtime-control/v1/provider-connections/{id} | Update a provider connection
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
## `arc_create_provider_connection()`
|
|
24
|
+
|
|
25
|
+
```ruby
|
|
26
|
+
arc_create_provider_connection(opts): <ArcProviderConnectionResponse> # Create a provider connection
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
Create a provider connection. Set `auth_type` to `api-key` (the default) to connect with a provider's own API key, or to `aws-iam` to connect to Amazon Bedrock using an AWS IAM role. Accounts are limited to 25 provider connections. Creating a 26th connection returns a 409 response.
|
|
30
|
+
|
|
31
|
+
### Examples
|
|
32
|
+
|
|
33
|
+
```ruby
|
|
34
|
+
api_instance = Fastly::AiRuntimeControlProviderConnectionsApi.new
|
|
35
|
+
opts = {
|
|
36
|
+
arc_provider_connection_request: Fastly::ArcProviderConnectionApiKey.new({name: 'my-openai-connection', models: ["gpt-4"], base_url: 'https://api.openai.com', api_key: 'sk-...'}), # ArcProviderConnectionRequest |
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
begin
|
|
40
|
+
# Create a provider connection
|
|
41
|
+
result = api_instance.arc_create_provider_connection(opts)
|
|
42
|
+
p result
|
|
43
|
+
rescue Fastly::ApiError => e
|
|
44
|
+
puts "Error when calling AiRuntimeControlProviderConnectionsApi->arc_create_provider_connection: #{e}"
|
|
45
|
+
end
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
### Options
|
|
49
|
+
|
|
50
|
+
| Name | Type | Description | Notes |
|
|
51
|
+
| ---- | ---- | ----------- | ----- |
|
|
52
|
+
| **arc_provider_connection_request** | [**ArcProviderConnectionRequest**](ArcProviderConnectionRequest.md) | | |
|
|
53
|
+
|
|
54
|
+
### Return type
|
|
55
|
+
|
|
56
|
+
[**ArcProviderConnectionResponse**](ArcProviderConnectionResponse.md)
|
|
57
|
+
|
|
58
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
|
59
|
+
[[Back to README]](../../README.md)
|
|
60
|
+
## `arc_delete_provider_connection()`
|
|
61
|
+
|
|
62
|
+
```ruby
|
|
63
|
+
arc_delete_provider_connection(opts) # Delete a provider connection
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
Delete a provider connection. Returns a 409 response if the connection is still referenced by a virtual key's failover policy.
|
|
67
|
+
|
|
68
|
+
### Examples
|
|
69
|
+
|
|
70
|
+
```ruby
|
|
71
|
+
api_instance = Fastly::AiRuntimeControlProviderConnectionsApi.new
|
|
72
|
+
opts = {
|
|
73
|
+
id: 'pTfnUUBcU1yv8SoRJn5PZ2', # String | The ID of the provider connection.
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
begin
|
|
77
|
+
# Delete a provider connection
|
|
78
|
+
api_instance.arc_delete_provider_connection(opts)
|
|
79
|
+
rescue Fastly::ApiError => e
|
|
80
|
+
puts "Error when calling AiRuntimeControlProviderConnectionsApi->arc_delete_provider_connection: #{e}"
|
|
81
|
+
end
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
### Options
|
|
85
|
+
|
|
86
|
+
| Name | Type | Description | Notes |
|
|
87
|
+
| ---- | ---- | ----------- | ----- |
|
|
88
|
+
| **id** | **String** | The ID of the provider connection. | |
|
|
89
|
+
|
|
90
|
+
### Return type
|
|
91
|
+
|
|
92
|
+
nil (empty response body)
|
|
93
|
+
|
|
94
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
|
95
|
+
[[Back to README]](../../README.md)
|
|
96
|
+
## `arc_get_provider_connection()`
|
|
97
|
+
|
|
98
|
+
```ruby
|
|
99
|
+
arc_get_provider_connection(opts): <ArcGetProviderConnectionResponse> # Get a provider connection
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
Retrieve a single provider connection.
|
|
103
|
+
|
|
104
|
+
### Examples
|
|
105
|
+
|
|
106
|
+
```ruby
|
|
107
|
+
api_instance = Fastly::AiRuntimeControlProviderConnectionsApi.new
|
|
108
|
+
opts = {
|
|
109
|
+
id: 'pTfnUUBcU1yv8SoRJn5PZ2', # String | The ID of the provider connection.
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
begin
|
|
113
|
+
# Get a provider connection
|
|
114
|
+
result = api_instance.arc_get_provider_connection(opts)
|
|
115
|
+
p result
|
|
116
|
+
rescue Fastly::ApiError => e
|
|
117
|
+
puts "Error when calling AiRuntimeControlProviderConnectionsApi->arc_get_provider_connection: #{e}"
|
|
118
|
+
end
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
### Options
|
|
122
|
+
|
|
123
|
+
| Name | Type | Description | Notes |
|
|
124
|
+
| ---- | ---- | ----------- | ----- |
|
|
125
|
+
| **id** | **String** | The ID of the provider connection. | |
|
|
126
|
+
|
|
127
|
+
### Return type
|
|
128
|
+
|
|
129
|
+
[**ArcGetProviderConnectionResponse**](ArcGetProviderConnectionResponse.md)
|
|
130
|
+
|
|
131
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
|
132
|
+
[[Back to README]](../../README.md)
|
|
133
|
+
## `arc_list_provider_connections()`
|
|
134
|
+
|
|
135
|
+
```ruby
|
|
136
|
+
arc_list_provider_connections(opts): <ArcProviderConnectionsResponse> # List provider connections
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
List the provider connections belonging to your account.
|
|
140
|
+
|
|
141
|
+
### Examples
|
|
142
|
+
|
|
143
|
+
```ruby
|
|
144
|
+
api_instance = Fastly::AiRuntimeControlProviderConnectionsApi.new
|
|
145
|
+
opts = {
|
|
146
|
+
include_deleted: true, # Boolean | Include deleted provider connections in the results. Deleted connections have a `deleted_at` value.
|
|
147
|
+
sort: 'created_at', # String | Sort field. Prefix with `-` for descending order (e.g., `sort=-name`).
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
begin
|
|
151
|
+
# List provider connections
|
|
152
|
+
result = api_instance.arc_list_provider_connections(opts)
|
|
153
|
+
p result
|
|
154
|
+
rescue Fastly::ApiError => e
|
|
155
|
+
puts "Error when calling AiRuntimeControlProviderConnectionsApi->arc_list_provider_connections: #{e}"
|
|
156
|
+
end
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
### Options
|
|
160
|
+
|
|
161
|
+
| Name | Type | Description | Notes |
|
|
162
|
+
| ---- | ---- | ----------- | ----- |
|
|
163
|
+
| **include_deleted** | **Boolean** | Include deleted provider connections in the results. Deleted connections have a `deleted_at` value. | [optional][default to false] |
|
|
164
|
+
| **sort** | **String** | Sort field. Prefix with `-` for descending order (e.g., `sort=-name`). | [optional][default to 'created_at'] |
|
|
165
|
+
|
|
166
|
+
### Return type
|
|
167
|
+
|
|
168
|
+
[**ArcProviderConnectionsResponse**](ArcProviderConnectionsResponse.md)
|
|
169
|
+
|
|
170
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
|
171
|
+
[[Back to README]](../../README.md)
|
|
172
|
+
## `arc_update_provider_connection()`
|
|
173
|
+
|
|
174
|
+
```ruby
|
|
175
|
+
arc_update_provider_connection(opts): <ArcProviderConnectionResponse> # Update a provider connection
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
Update the attributes of a provider connection. Only the fields you include are changed. Which fields you can set depends on the connection's existing `auth_type`: `base_url` and `api_key` apply only to `api-key` connections, and `customer_role_arn` and `region` apply only to `aws-iam` connections. `auth_type` itself cannot be changed.
|
|
179
|
+
|
|
180
|
+
### Examples
|
|
181
|
+
|
|
182
|
+
```ruby
|
|
183
|
+
api_instance = Fastly::AiRuntimeControlProviderConnectionsApi.new
|
|
184
|
+
opts = {
|
|
185
|
+
id: 'pTfnUUBcU1yv8SoRJn5PZ2', # String | The ID of the provider connection.
|
|
186
|
+
arc_update_provider_connection_request: Fastly::ArcUpdateProviderConnectionRequest.new, # ArcUpdateProviderConnectionRequest |
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
begin
|
|
190
|
+
# Update a provider connection
|
|
191
|
+
result = api_instance.arc_update_provider_connection(opts)
|
|
192
|
+
p result
|
|
193
|
+
rescue Fastly::ApiError => e
|
|
194
|
+
puts "Error when calling AiRuntimeControlProviderConnectionsApi->arc_update_provider_connection: #{e}"
|
|
195
|
+
end
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
### Options
|
|
199
|
+
|
|
200
|
+
| Name | Type | Description | Notes |
|
|
201
|
+
| ---- | ---- | ----------- | ----- |
|
|
202
|
+
| **id** | **String** | The ID of the provider connection. | |
|
|
203
|
+
| **arc_update_provider_connection_request** | [**ArcUpdateProviderConnectionRequest**](ArcUpdateProviderConnectionRequest.md) | | |
|
|
204
|
+
|
|
205
|
+
### Return type
|
|
206
|
+
|
|
207
|
+
[**ArcProviderConnectionResponse**](ArcProviderConnectionResponse.md)
|
|
208
|
+
|
|
209
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
|
210
|
+
[[Back to README]](../../README.md)
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
# Fastly::AiRuntimeControlProvidersApi
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
```ruby
|
|
5
|
+
require 'fastly'
|
|
6
|
+
api_instance = Fastly::AiRuntimeControlProvidersApi.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_bedrock_setup**](AiRuntimeControlProvidersApi.md#arc_get_bedrock_setup) | **GET** /ai-runtime-control/v1/providers/bedrock/setup | Get Bedrock setup information
|
|
17
|
+
[**arc_get_models_for_provider**](AiRuntimeControlProvidersApi.md#arc_get_models_for_provider) | **GET** /ai-runtime-control/v1/providers/{provider_id}/models | Get models for a provider
|
|
18
|
+
[**arc_get_supported_providers**](AiRuntimeControlProvidersApi.md#arc_get_supported_providers) | **GET** /ai-runtime-control/v1/providers | Get supported providers
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
## `arc_get_bedrock_setup()`
|
|
22
|
+
|
|
23
|
+
```ruby
|
|
24
|
+
arc_get_bedrock_setup: <ArcBedrockSetupResponse> # Get Bedrock setup information
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
Returns the AI Runtime Control IAM role Amazon Resource Name (ARN) and external ID to reference in your AWS account's IAM trust policy before creating an `aws-iam` [provider connection](https://www.fastly.com/documentation/reference/api/ai-runtime-control/provider-connections#arc-create-provider-connection) to Amazon Bedrock. Requires AWS IAM authentication to be enabled on your account. If it isn't, this endpoint returns a 404 response.
|
|
28
|
+
|
|
29
|
+
### Examples
|
|
30
|
+
|
|
31
|
+
```ruby
|
|
32
|
+
api_instance = Fastly::AiRuntimeControlProvidersApi.new
|
|
33
|
+
|
|
34
|
+
begin
|
|
35
|
+
# Get Bedrock setup information
|
|
36
|
+
result = api_instance.arc_get_bedrock_setup
|
|
37
|
+
p result
|
|
38
|
+
rescue Fastly::ApiError => e
|
|
39
|
+
puts "Error when calling AiRuntimeControlProvidersApi->arc_get_bedrock_setup: #{e}"
|
|
40
|
+
end
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### Options
|
|
44
|
+
|
|
45
|
+
This endpoint does not need any parameter.
|
|
46
|
+
|
|
47
|
+
### Return type
|
|
48
|
+
|
|
49
|
+
[**ArcBedrockSetupResponse**](ArcBedrockSetupResponse.md)
|
|
50
|
+
|
|
51
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
|
52
|
+
[[Back to README]](../../README.md)
|
|
53
|
+
## `arc_get_models_for_provider()`
|
|
54
|
+
|
|
55
|
+
```ruby
|
|
56
|
+
arc_get_models_for_provider(opts): <ArcModelsResponse> # Get models for a provider
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
Returns the models available for a specific provider.
|
|
60
|
+
|
|
61
|
+
### Examples
|
|
62
|
+
|
|
63
|
+
```ruby
|
|
64
|
+
api_instance = Fastly::AiRuntimeControlProvidersApi.new
|
|
65
|
+
opts = {
|
|
66
|
+
provider_id: 'anthropic', # String | The ID of the provider.
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
begin
|
|
70
|
+
# Get models for a provider
|
|
71
|
+
result = api_instance.arc_get_models_for_provider(opts)
|
|
72
|
+
p result
|
|
73
|
+
rescue Fastly::ApiError => e
|
|
74
|
+
puts "Error when calling AiRuntimeControlProvidersApi->arc_get_models_for_provider: #{e}"
|
|
75
|
+
end
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
### Options
|
|
79
|
+
|
|
80
|
+
| Name | Type | Description | Notes |
|
|
81
|
+
| ---- | ---- | ----------- | ----- |
|
|
82
|
+
| **provider_id** | **String** | The ID of the provider. | |
|
|
83
|
+
|
|
84
|
+
### Return type
|
|
85
|
+
|
|
86
|
+
[**ArcModelsResponse**](ArcModelsResponse.md)
|
|
87
|
+
|
|
88
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
|
89
|
+
[[Back to README]](../../README.md)
|
|
90
|
+
## `arc_get_supported_providers()`
|
|
91
|
+
|
|
92
|
+
```ruby
|
|
93
|
+
arc_get_supported_providers: <ArcProvidersResponse> # Get supported providers
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
Returns the AI providers supported by AI Runtime Control, with each provider's available models nested within.
|
|
97
|
+
|
|
98
|
+
### Examples
|
|
99
|
+
|
|
100
|
+
```ruby
|
|
101
|
+
api_instance = Fastly::AiRuntimeControlProvidersApi.new
|
|
102
|
+
|
|
103
|
+
begin
|
|
104
|
+
# Get supported providers
|
|
105
|
+
result = api_instance.arc_get_supported_providers
|
|
106
|
+
p result
|
|
107
|
+
rescue Fastly::ApiError => e
|
|
108
|
+
puts "Error when calling AiRuntimeControlProvidersApi->arc_get_supported_providers: #{e}"
|
|
109
|
+
end
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
### Options
|
|
113
|
+
|
|
114
|
+
This endpoint does not need any parameter.
|
|
115
|
+
|
|
116
|
+
### Return type
|
|
117
|
+
|
|
118
|
+
[**ArcProvidersResponse**](ArcProvidersResponse.md)
|
|
119
|
+
|
|
120
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
|
121
|
+
[[Back to README]](../../README.md)
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# Fastly::AiRuntimeControlResponseBodyEnable
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **product** | [**AiRuntimeControlResponseProductProduct**](AiRuntimeControlResponseProductProduct.md) | | [optional] |
|
|
8
|
+
| **customer** | [**AiAcceleratorResponseCustomerCustomer**](AiAcceleratorResponseCustomerCustomer.md) | | [optional] |
|
|
9
|
+
| **_links** | [**AiRuntimeControlResponseLinksLinks**](AiRuntimeControlResponseLinksLinks.md) | | [optional] |
|
|
10
|
+
|
|
11
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
|
12
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Fastly::AiRuntimeControlResponseCustomer
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **customer** | [**AiAcceleratorResponseCustomerCustomer**](AiAcceleratorResponseCustomerCustomer.md) | | [optional] |
|
|
8
|
+
|
|
9
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
|
10
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Fastly::AiRuntimeControlResponseLinks
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **_links** | [**AiRuntimeControlResponseLinksLinks**](AiRuntimeControlResponseLinksLinks.md) | | [optional] |
|
|
8
|
+
|
|
9
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
|
10
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Fastly::AiRuntimeControlResponseLinksLinks
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **_self** | **String** | Location of resource | [optional] |
|
|
8
|
+
|
|
9
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
|
10
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Fastly::AiRuntimeControlResponseProduct
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **product** | [**AiRuntimeControlResponseProductProduct**](AiRuntimeControlResponseProductProduct.md) | | [optional] |
|
|
8
|
+
|
|
9
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
|
10
|
+
|