AWS v6.54.0 published on Friday, Sep 27, 2024 by Pulumi
aws.bedrock.getCustomModels
Explore with Pulumi AI
Returns a list of Amazon Bedrock custom models.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const test = aws.bedrock.getCustomModels({});
import pulumi
import pulumi_aws as aws
test = aws.bedrock.get_custom_models()
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/bedrock"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := bedrock.GetCustomModels(ctx, nil, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var test = Aws.Bedrock.GetCustomModels.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.bedrock.BedrockFunctions;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var test = BedrockFunctions.getCustomModels();
}
}
variables:
test:
fn::invoke:
Function: aws:bedrock:getCustomModels
Arguments: {}
Using getCustomModels
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCustomModels(opts?: InvokeOptions): Promise<GetCustomModelsResult>
function getCustomModelsOutput(opts?: InvokeOptions): Output<GetCustomModelsResult>
def get_custom_models(opts: Optional[InvokeOptions] = None) -> GetCustomModelsResult
def get_custom_models_output(opts: Optional[InvokeOptions] = None) -> Output[GetCustomModelsResult]
func GetCustomModels(ctx *Context, opts ...InvokeOption) (*GetCustomModelsResult, error)
func GetCustomModelsOutput(ctx *Context, opts ...InvokeOption) GetCustomModelsResultOutput
> Note: This function is named GetCustomModels
in the Go SDK.
public static class GetCustomModels
{
public static Task<GetCustomModelsResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetCustomModelsResult> Invoke(InvokeOptions? opts = null)
}
public static CompletableFuture<GetCustomModelsResult> getCustomModels(InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws:bedrock/getCustomModels:getCustomModels
arguments:
# arguments dictionary
getCustomModels Result
The following output properties are available:
- Id string
- Model
Summaries List<GetCustom Models Model Summary> - Model summaries.
- Id string
- Model
Summaries []GetCustom Models Model Summary - Model summaries.
- id String
- model
Summaries List<GetCustom Models Model Summary> - Model summaries.
- id string
- model
Summaries GetCustom Models Model Summary[] - Model summaries.
- id str
- model_
summaries Sequence[GetCustom Models Model Summary] - Model summaries.
- id String
- model
Summaries List<Property Map> - Model summaries.
Supporting Types
GetCustomModelsModelSummary
- Creation
Time string - Creation time of the model.
- Model
Arn string - The ARN of the custom model.
- Model
Name string - The name of the custom model.
- Creation
Time string - Creation time of the model.
- Model
Arn string - The ARN of the custom model.
- Model
Name string - The name of the custom model.
- creation
Time String - Creation time of the model.
- model
Arn String - The ARN of the custom model.
- model
Name String - The name of the custom model.
- creation
Time string - Creation time of the model.
- model
Arn string - The ARN of the custom model.
- model
Name string - The name of the custom model.
- creation_
time str - Creation time of the model.
- model_
arn str - The ARN of the custom model.
- model_
name str - The name of the custom model.
- creation
Time String - Creation time of the model.
- model
Arn String - The ARN of the custom model.
- model
Name String - The name of the custom model.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.