1. Packages
  2. AWS Native
  3. API Docs
  4. bedrock
  5. getKnowledgeBase

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.105.0 published on Thursday, May 2, 2024 by Pulumi

aws-native.bedrock.getKnowledgeBase

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.105.0 published on Thursday, May 2, 2024 by Pulumi

    Definition of AWS::Bedrock::KnowledgeBase Resource Type

    Using getKnowledgeBase

    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 getKnowledgeBase(args: GetKnowledgeBaseArgs, opts?: InvokeOptions): Promise<GetKnowledgeBaseResult>
    function getKnowledgeBaseOutput(args: GetKnowledgeBaseOutputArgs, opts?: InvokeOptions): Output<GetKnowledgeBaseResult>
    def get_knowledge_base(knowledge_base_id: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetKnowledgeBaseResult
    def get_knowledge_base_output(knowledge_base_id: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetKnowledgeBaseResult]
    func LookupKnowledgeBase(ctx *Context, args *LookupKnowledgeBaseArgs, opts ...InvokeOption) (*LookupKnowledgeBaseResult, error)
    func LookupKnowledgeBaseOutput(ctx *Context, args *LookupKnowledgeBaseOutputArgs, opts ...InvokeOption) LookupKnowledgeBaseResultOutput

    > Note: This function is named LookupKnowledgeBase in the Go SDK.

    public static class GetKnowledgeBase 
    {
        public static Task<GetKnowledgeBaseResult> InvokeAsync(GetKnowledgeBaseArgs args, InvokeOptions? opts = null)
        public static Output<GetKnowledgeBaseResult> Invoke(GetKnowledgeBaseInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetKnowledgeBaseResult> getKnowledgeBase(GetKnowledgeBaseArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:bedrock:getKnowledgeBase
      arguments:
        # arguments dictionary

    The following arguments are supported:

    KnowledgeBaseId string
    The unique identifier of the knowledge base.
    KnowledgeBaseId string
    The unique identifier of the knowledge base.
    knowledgeBaseId String
    The unique identifier of the knowledge base.
    knowledgeBaseId string
    The unique identifier of the knowledge base.
    knowledge_base_id str
    The unique identifier of the knowledge base.
    knowledgeBaseId String
    The unique identifier of the knowledge base.

    getKnowledgeBase Result

    The following output properties are available:

    CreatedAt string
    The time at which the knowledge base was created.
    Description string
    Description of the Resource.
    FailureReasons List<string>
    A list of reasons that the API operation on the knowledge base failed.
    KnowledgeBaseArn string
    The ARN of the knowledge base.
    KnowledgeBaseId string
    The unique identifier of the knowledge base.
    Name string
    The name of the knowledge base.
    RoleArn string
    The ARN of the IAM role with permissions to invoke API operations on the knowledge base. The ARN must begin with AmazonBedrockExecutionRoleForKnowledgeBase_
    Status Pulumi.AwsNative.Bedrock.KnowledgeBaseStatus
    Tags Dictionary<string, string>
    UpdatedAt string
    The time at which the knowledge base was last updated.
    CreatedAt string
    The time at which the knowledge base was created.
    Description string
    Description of the Resource.
    FailureReasons []string
    A list of reasons that the API operation on the knowledge base failed.
    KnowledgeBaseArn string
    The ARN of the knowledge base.
    KnowledgeBaseId string
    The unique identifier of the knowledge base.
    Name string
    The name of the knowledge base.
    RoleArn string
    The ARN of the IAM role with permissions to invoke API operations on the knowledge base. The ARN must begin with AmazonBedrockExecutionRoleForKnowledgeBase_
    Status KnowledgeBaseStatus
    Tags map[string]string
    UpdatedAt string
    The time at which the knowledge base was last updated.
    createdAt String
    The time at which the knowledge base was created.
    description String
    Description of the Resource.
    failureReasons List<String>
    A list of reasons that the API operation on the knowledge base failed.
    knowledgeBaseArn String
    The ARN of the knowledge base.
    knowledgeBaseId String
    The unique identifier of the knowledge base.
    name String
    The name of the knowledge base.
    roleArn String
    The ARN of the IAM role with permissions to invoke API operations on the knowledge base. The ARN must begin with AmazonBedrockExecutionRoleForKnowledgeBase_
    status KnowledgeBaseStatus
    tags Map<String,String>
    updatedAt String
    The time at which the knowledge base was last updated.
    createdAt string
    The time at which the knowledge base was created.
    description string
    Description of the Resource.
    failureReasons string[]
    A list of reasons that the API operation on the knowledge base failed.
    knowledgeBaseArn string
    The ARN of the knowledge base.
    knowledgeBaseId string
    The unique identifier of the knowledge base.
    name string
    The name of the knowledge base.
    roleArn string
    The ARN of the IAM role with permissions to invoke API operations on the knowledge base. The ARN must begin with AmazonBedrockExecutionRoleForKnowledgeBase_
    status KnowledgeBaseStatus
    tags {[key: string]: string}
    updatedAt string
    The time at which the knowledge base was last updated.
    created_at str
    The time at which the knowledge base was created.
    description str
    Description of the Resource.
    failure_reasons Sequence[str]
    A list of reasons that the API operation on the knowledge base failed.
    knowledge_base_arn str
    The ARN of the knowledge base.
    knowledge_base_id str
    The unique identifier of the knowledge base.
    name str
    The name of the knowledge base.
    role_arn str
    The ARN of the IAM role with permissions to invoke API operations on the knowledge base. The ARN must begin with AmazonBedrockExecutionRoleForKnowledgeBase_
    status KnowledgeBaseStatus
    tags Mapping[str, str]
    updated_at str
    The time at which the knowledge base was last updated.
    createdAt String
    The time at which the knowledge base was created.
    description String
    Description of the Resource.
    failureReasons List<String>
    A list of reasons that the API operation on the knowledge base failed.
    knowledgeBaseArn String
    The ARN of the knowledge base.
    knowledgeBaseId String
    The unique identifier of the knowledge base.
    name String
    The name of the knowledge base.
    roleArn String
    The ARN of the IAM role with permissions to invoke API operations on the knowledge base. The ARN must begin with AmazonBedrockExecutionRoleForKnowledgeBase_
    status "CREATING" | "ACTIVE" | "DELETING" | "UPDATING" | "FAILED" | "DELETE_UNSUCCESSFUL"
    tags Map<String>
    updatedAt String
    The time at which the knowledge base was last updated.

    Supporting Types

    KnowledgeBaseStatus

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.105.0 published on Thursday, May 2, 2024 by Pulumi