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 |
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)This endpoint does not need any parameter.
crate::models::ArcBedrockSetupResponse
- Content-Type: Not defined
- Accept: application/json, application/problem+json
[Back to top] [Back to API list] [Back to README]
Returns the models available for a specific provider.
let cfg = &Configuration::default();
let params = ArcGetModelsForProviderParams {
// parameters
};
arc_get_models_for_provider(cfg, params)| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| provider_id | String | The ID of the provider. | [required] |
crate::models::ArcModelsResponse
- Content-Type: Not defined
- Accept: application/json, application/problem+json
[Back to top] [Back to API list] [Back to README]
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)This endpoint does not need any parameter.
crate::models::ArcProvidersResponse
- Content-Type: Not defined
- Accept: application/json, application/problem+json