Packages

Elixir SDK for Bifrost, the LLM gateway by Maxim

Current section

Files

Jump to
ex_bifrost lib ex_bifrost model bedrock_batch_job_response.ex
Raw

lib/ex_bifrost/model/bedrock_batch_job_response.ex

# NOTE: This file is auto generated by OpenAPI Generator 7.23.0 (https://openapi-generator.tech)
# using the Elixir SDK Generator template (https://github.com/houllette/elixir-sdk-generator).
# Do not edit this file manually — edit the templates and regenerate instead.
defmodule ExBifrost.Model.BedrockBatchJobResponse do
@moduledoc """
BedrockBatchJobResponse model.
"""
@derive JSON.Encoder
defstruct [
:jobArn,
:status,
:jobName,
:modelId,
:roleArn,
:inputDataConfig,
:outputDataConfig,
:vpcConfig,
:submitTime,
:lastModifiedTime,
:endTime,
:message,
:clientRequestToken,
:jobExpirationTime,
:timeoutDurationInHours
]
@type t :: %__MODULE__{
:jobArn => String.t() | nil,
:status => String.t() | nil,
:jobName => String.t() | nil,
:modelId => String.t() | nil,
:roleArn => String.t() | nil,
:inputDataConfig => map() | nil,
:outputDataConfig => map() | nil,
:vpcConfig => ExBifrost.Model.BedrockBatchJobResponseVpcConfig.t() | nil,
:submitTime => DateTime.t() | nil,
:lastModifiedTime => DateTime.t() | nil,
:endTime => DateTime.t() | nil,
:message => String.t() | nil,
:clientRequestToken => String.t() | nil,
:jobExpirationTime => DateTime.t() | nil,
:timeoutDurationInHours => integer() | nil
}
alias ExBifrost.Deserializer
def decode(value) do
value
|> Deserializer.deserialize(:vpcConfig, :struct, ExBifrost.Model.BedrockBatchJobResponseVpcConfig)
end
end