Skip to content

Latest commit

 

History

History
111 lines (67 loc) · 3.22 KB

AiRuntimeControlProvidersApi.md

File metadata and controls

111 lines (67 loc) · 3.22 KB

AiRuntimeControlProvidersApi

Note

All URIs are relative to https://api.fastly.com

Method HTTP request Description
arc_get_bedrock_setup GET /ai-runtime-control/v1/providers/bedrock/setup Get Bedrock setup information
arc_get_models_for_provider GET /ai-runtime-control/v1/providers/{provider_id}/models Get models for a provider
arc_get_supported_providers GET /ai-runtime-control/v1/providers Get supported providers

arc_get_bedrock_setup

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 to Amazon Bedrock. Requires AWS IAM authentication to be enabled on your account. If it isn't, this endpoint returns a 404 response.

let cfg = &Configuration::default();
let params = ArcGetBedrockSetupParams {
    // parameters
};
arc_get_bedrock_setup(cfg, params)

Parameters

This endpoint does not need any parameter.

Return type

crate::models::ArcBedrockSetupResponse

Authorization

token

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, application/problem+json

[Back to top] [Back to API list] [Back to README]

arc_get_models_for_provider

Returns the models available for a specific provider.

let cfg = &Configuration::default();
let params = ArcGetModelsForProviderParams {
    // parameters
};
arc_get_models_for_provider(cfg, params)

Parameters

Name Type Description Required Notes
provider_id String The ID of the provider. [required]

Return type

crate::models::ArcModelsResponse

Authorization

token

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, application/problem+json

[Back to top] [Back to API list] [Back to README]

arc_get_supported_providers

Returns the AI providers supported by AI Runtime Control, with each provider's available models nested within.

let cfg = &Configuration::default();
let params = ArcGetSupportedProvidersParams {
    // parameters
};
arc_get_supported_providers(cfg, params)

Parameters

This endpoint does not need any parameter.

Return type

crate::models::ArcProvidersResponse

Authorization

token

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, application/problem+json

[Back to top] [Back to API list] [Back to README]