1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. wisdom
  5. getAiGuardrailVersion

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.23.0 published on Friday, Jan 10, 2025 by Pulumi

aws-native.wisdom.getAiGuardrailVersion

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.23.0 published on Friday, Jan 10, 2025 by Pulumi

    Definition of AWS::Wisdom::AIGuardrailVersion Resource Type

    Using getAiGuardrailVersion

    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 getAiGuardrailVersion(args: GetAiGuardrailVersionArgs, opts?: InvokeOptions): Promise<GetAiGuardrailVersionResult>
    function getAiGuardrailVersionOutput(args: GetAiGuardrailVersionOutputArgs, opts?: InvokeOptions): Output<GetAiGuardrailVersionResult>
    def get_ai_guardrail_version(ai_guardrail_id: Optional[str] = None,
                                 assistant_id: Optional[str] = None,
                                 version_number: Optional[float] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetAiGuardrailVersionResult
    def get_ai_guardrail_version_output(ai_guardrail_id: Optional[pulumi.Input[str]] = None,
                                 assistant_id: Optional[pulumi.Input[str]] = None,
                                 version_number: Optional[pulumi.Input[float]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetAiGuardrailVersionResult]
    func LookupAiGuardrailVersion(ctx *Context, args *LookupAiGuardrailVersionArgs, opts ...InvokeOption) (*LookupAiGuardrailVersionResult, error)
    func LookupAiGuardrailVersionOutput(ctx *Context, args *LookupAiGuardrailVersionOutputArgs, opts ...InvokeOption) LookupAiGuardrailVersionResultOutput

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

    public static class GetAiGuardrailVersion 
    {
        public static Task<GetAiGuardrailVersionResult> InvokeAsync(GetAiGuardrailVersionArgs args, InvokeOptions? opts = null)
        public static Output<GetAiGuardrailVersionResult> Invoke(GetAiGuardrailVersionInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAiGuardrailVersionResult> getAiGuardrailVersion(GetAiGuardrailVersionArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:wisdom:getAiGuardrailVersion
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AiGuardrailId string
    The ID of the AI guardrail version.
    AssistantId string
    The ID of the AI guardrail version assistant.
    VersionNumber double
    The version number for this AI Guardrail version.
    AiGuardrailId string
    The ID of the AI guardrail version.
    AssistantId string
    The ID of the AI guardrail version assistant.
    VersionNumber float64
    The version number for this AI Guardrail version.
    aiGuardrailId String
    The ID of the AI guardrail version.
    assistantId String
    The ID of the AI guardrail version assistant.
    versionNumber Double
    The version number for this AI Guardrail version.
    aiGuardrailId string
    The ID of the AI guardrail version.
    assistantId string
    The ID of the AI guardrail version assistant.
    versionNumber number
    The version number for this AI Guardrail version.
    ai_guardrail_id str
    The ID of the AI guardrail version.
    assistant_id str
    The ID of the AI guardrail version assistant.
    version_number float
    The version number for this AI Guardrail version.
    aiGuardrailId String
    The ID of the AI guardrail version.
    assistantId String
    The ID of the AI guardrail version assistant.
    versionNumber Number
    The version number for this AI Guardrail version.

    getAiGuardrailVersion Result

    The following output properties are available:

    AiGuardrailArn string
    The ARN of the AI guardrail version.
    AiGuardrailVersionId string
    The ID of the AI guardrail version.
    AssistantArn string
    The ARN of the AI guardrail version assistant.
    VersionNumber double
    The version number for this AI Guardrail version.
    AiGuardrailArn string
    The ARN of the AI guardrail version.
    AiGuardrailVersionId string
    The ID of the AI guardrail version.
    AssistantArn string
    The ARN of the AI guardrail version assistant.
    VersionNumber float64
    The version number for this AI Guardrail version.
    aiGuardrailArn String
    The ARN of the AI guardrail version.
    aiGuardrailVersionId String
    The ID of the AI guardrail version.
    assistantArn String
    The ARN of the AI guardrail version assistant.
    versionNumber Double
    The version number for this AI Guardrail version.
    aiGuardrailArn string
    The ARN of the AI guardrail version.
    aiGuardrailVersionId string
    The ID of the AI guardrail version.
    assistantArn string
    The ARN of the AI guardrail version assistant.
    versionNumber number
    The version number for this AI Guardrail version.
    ai_guardrail_arn str
    The ARN of the AI guardrail version.
    ai_guardrail_version_id str
    The ID of the AI guardrail version.
    assistant_arn str
    The ARN of the AI guardrail version assistant.
    version_number float
    The version number for this AI Guardrail version.
    aiGuardrailArn String
    The ARN of the AI guardrail version.
    aiGuardrailVersionId String
    The ID of the AI guardrail version.
    assistantArn String
    The ARN of the AI guardrail version assistant.
    versionNumber Number
    The version number for this AI Guardrail version.

    Package Details

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

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.23.0 published on Friday, Jan 10, 2025 by Pulumi