{"modulePath":"github.com/aws/aws-lambda-runtime-interface-emulator","version":"v0.0.0-20261030222936-bef5c4ba774d","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package model\n\n## Types\n\n```go\ntype ArtefactType string\n```\n\n```go\nconst (\n\tArtefactTypeOCI ArtefactType = \"oci\"\n\tArtefactTypeZIP ArtefactType = \"zip\"\n)\n```\n\n```go\ntype DurationMS time.Duration\n```\n\n```go\nfunc (d DurationMS) MarshalJSON() ([]byte, error)\n```\n\n```go\nfunc (d *DurationMS) UnmarshalJSON(b []byte) error\n```\n\n```go\ntype InitRequestMessage struct {\n\tAccountID            string          `json:\"account_id\"`\n\tAwsKey               string          `json:\"aws_key\"`\n\tAwsSecret            string          `json:\"aws_secret\"`\n\tAwsSession           string          `json:\"aws_session\"`\n\tAwsRegion            string          `json:\"aws_region\"`\n\tEnvVars              KVMap           `json:\"env_vars\"`\n\tMemorySizeBytes      int             `json:\"ram_limit\"`\n\tFunctionARN          string          `json:\"function_arn\"`\n\tFunctionVersion      string          `json:\"function_version\"`\n\tFunctionVersionID    string          `json:\"version_id\"`\n\tArtefactType         ArtefactType    `json:\"artefact_type\"`\n\tTaskName             string          `json:\"task_name\"`\n\tHandler              string          `json:\"handler,omitempty\"`\n\tInvokeTimeout        DurationMS      `json:\"invoke_timeout_ms\"`\n\tInitTimeout          DurationMS      `json:\"init_timeout_ms\"`\n\tRuntimeVersion       string          `json:\"runtime_version,omitempty\"`\n\tRuntimeArn           string          `json:\"runtime_arn,omitempty\"`\n\tRuntimeWorkerCount   int             `json:\"runtime_worker_count\"`\n\tLogFormat            string          `json:\"log_format\"`\n\tLogLevel             string          `json:\"log_level\"`\n\tLogGroupName         string          `json:\"log_group_name\"`\n\tLogStreamName        string          `json:\"log_stream_name\"`\n\tTelemetryAPIAddress  TelemetryAddr   `json:\"telemetry_api_address\"`\n\tTelemetryPassphrase  string          `json:\"telemetry_passphrase\"`\n\tXRayDaemonAddress    string          `json:\"xray_daemon_address\"`\n\tXrayTracingMode      XrayTracingMode `json:\"xray_tracing_mode\"`\n\tCurrentWorkingDir    string          `json:\"cwd\"`\n\tRuntimeBinaryCommand []string        `json:\"cmd\"`\n\n\tAvailabilityZoneId string `json:\"aws_availability_zone_id\"`\n\n\tAmiId string `json:\"ami_id\"`\n}\n```\n\n```go\nfunc (i InitRequestMessage) String() string\n```\n\n```go\ntype KVMap map[string]string\n```\n\n```go\ntype KVSlice []string\n```\n\n```go\ntype TelemetryAddr netip.AddrPort\n```\n\n```go\nfunc (t TelemetryAddr) MarshalJSON() ([]byte, error)\n```\n\n```go\nfunc (t *TelemetryAddr) UnmarshalJSON(b []byte) error\n```\n\n```go\ntype XrayTracingMode string\n```\n\n```go\nconst (\n\tXRayTracingModeActive      XrayTracingMode = \"Active\"\n\tXRayTracingModePassThrough XrayTracingMode = \"PassThrough\"\n)\n```\n\n","path":"github.com/aws/aws-lambda-runtime-interface-emulator/internal/lambda-managed-instances/model","name":"model","synopsis":"","isRedistributable":true}
