@pulumi/aws
Version:
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
87 lines (86 loc) • 3 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
* Data source for managing an AWS Amazon BedrockAgent Agent Versions.
*
* ## Example Usage
*
* ### Basic Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
*
* const test = aws.bedrock.getAgentAgentVersions({
* agentId: testAwsBedrockagentAgent.agentId,
* });
* ```
*/
export declare function getAgentAgentVersions(args: GetAgentAgentVersionsArgs, opts?: pulumi.InvokeOptions): Promise<GetAgentAgentVersionsResult>;
/**
* A collection of arguments for invoking getAgentAgentVersions.
*/
export interface GetAgentAgentVersionsArgs {
/**
* Unique identifier of the agent.
*/
agentId: string;
/**
* List of objects, each of which contains information about a version of the agent. See Agent Version Summaries
*/
agentVersionSummaries?: inputs.bedrock.GetAgentAgentVersionsAgentVersionSummary[];
/**
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
*/
region?: string;
}
/**
* A collection of values returned by getAgentAgentVersions.
*/
export interface GetAgentAgentVersionsResult {
readonly agentId: string;
/**
* List of objects, each of which contains information about a version of the agent. See Agent Version Summaries
*/
readonly agentVersionSummaries?: outputs.bedrock.GetAgentAgentVersionsAgentVersionSummary[];
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly region: string;
}
/**
* Data source for managing an AWS Amazon BedrockAgent Agent Versions.
*
* ## Example Usage
*
* ### Basic Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
*
* const test = aws.bedrock.getAgentAgentVersions({
* agentId: testAwsBedrockagentAgent.agentId,
* });
* ```
*/
export declare function getAgentAgentVersionsOutput(args: GetAgentAgentVersionsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAgentAgentVersionsResult>;
/**
* A collection of arguments for invoking getAgentAgentVersions.
*/
export interface GetAgentAgentVersionsOutputArgs {
/**
* Unique identifier of the agent.
*/
agentId: pulumi.Input<string>;
/**
* List of objects, each of which contains information about a version of the agent. See Agent Version Summaries
*/
agentVersionSummaries?: pulumi.Input<pulumi.Input<inputs.bedrock.GetAgentAgentVersionsAgentVersionSummaryArgs>[]>;
/**
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
*/
region?: pulumi.Input<string>;
}