Values.FunctionConfigurationSourceDetails about a function's configuration.
type nonrec t = {functionName : NamespacedFunctionName.t option;The name of the function.
*)functionArn : NameSpacedFunctionArn.t option;The function's Amazon Resource Name (ARN).
*)runtime : Runtime.t option;The identifier of the function's runtime. Runtime is required if the deployment package is a .zip file archive. Specifying a runtime results in an error if you're deploying a function using a container image. The following list includes deprecated runtimes. Lambda blocks creating new functions and updating existing functions shortly after each runtime is deprecated. For more information, see Runtime use after deprecation. For a list of all currently supported runtimes, see Supported runtimes.
*)role : RoleArn.t option;The function's execution role.
*)handler : Handler.t option;The function that Lambda calls to begin running your function.
*)codeSize : Long.t option;The size of the function's deployment package, in bytes.
*)description : Description.t option;The function's description.
*)timeout : Timeout.t option;The amount of time in seconds that Lambda allows a function to run before stopping it.
*)memorySize : MemorySize.t option;The amount of memory available to the function at runtime.
*)lastModified : Timestamp.t option;The date and time that the function was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
*)codeSha256 : String_.t option;The SHA256 hash of the function's deployment package.
*)version : Version.t option;The version of the Lambda function.
*)vpcConfig : VpcConfigResponse.t option;The function's networking configuration.
*)deadLetterConfig : DeadLetterConfig.t option;The function's dead letter queue.
*)environment : EnvironmentResponse.t option;The function's environment variables. Omitted from CloudTrail logs.
*)kMSKeyArn : KMSKeyArn.t option;The ARN of the Key Management Service (KMS) customer managed key that's used to encrypt the following resources: The function's environment variables. The function's Lambda SnapStart snapshots. When used with SourceKMSKeyArn, the unzipped version of the .zip deployment package that's used for function invocations. For more information, see Specifying a customer managed key for Lambda. The optimized version of the container image that's used for function invocations. Note that this is not the same key that's used to protect your container image in the Amazon Elastic Container Registry (Amazon ECR). For more information, see Function lifecycle. If you don't provide a customer managed key, Lambda uses an Amazon Web Services owned key or an Amazon Web Services managed key.
*)tracingConfig : TracingConfigResponse.t option;The function's X-Ray tracing configuration.
*)masterArn : FunctionArn.t option;For Lambda@Edge functions, the ARN of the main function.
*)revisionId : String_.t option;The latest updated revision of the function or alias.
*)layers : LayersReferenceList.t option;The function's layers.
*)state : State.t option;The current state of the function. When the state is Inactive, you can reactivate the function by invoking it.
*)stateReason : StateReason.t option;The reason for the function's current state.
*)stateReasonCode : StateReasonCode.t option;The reason code for the function's current state. When the code is Creating, you can't invoke or modify the function.
*)lastUpdateStatus : LastUpdateStatus.t option;The status of the last update that was performed on the function. This is first set to Successful after function creation completes.
*)lastUpdateStatusReason : LastUpdateStatusReason.t option;The reason for the last update that was performed on the function.
*)lastUpdateStatusReasonCode : LastUpdateStatusReasonCode.t option;The reason code for the last update that was performed on the function.
*)fileSystemConfigs : FileSystemConfigList.t option;Connection settings for an Amazon EFS file system or an Amazon S3 Files file system.
*)packageType : PackageType.t option;The type of deployment package. Set to Image for container image and set Zip for .zip file archive.
*)imageConfigResponse : ImageConfigResponse.t option;The function's image configuration values.
*)signingProfileVersionArn : Arn.t option;The ARN of the signing profile version.
*)signingJobArn : Arn.t option;The ARN of the signing job.
*)architectures : ArchitecturesList.t option;The instruction set architecture that the function supports. Architecture is a string array with one of the valid values. The default architecture value is x86_64.
*)ephemeralStorage : EphemeralStorage.t option;The size of the function's /tmp directory in MB. The default value is 512, but can be any whole number between 512 and 10,240 MB. For more information, see Configuring ephemeral storage (console).
*)snapStart : SnapStartResponse.t option;Set ApplyOn to PublishedVersions to create a snapshot of the initialized execution environment when you publish a function version. For more information, see Improving startup performance with Lambda SnapStart.
*)runtimeVersionConfig : RuntimeVersionConfig.t option;The ARN of the runtime and any errors that occured.
*)loggingConfig : LoggingConfig.t option;The function's Amazon CloudWatch Logs configuration settings.
*)capacityProviderConfig : CapacityProviderConfig.t option;Configuration for the capacity provider that manages compute resources for Lambda functions.
*)configSha256 : String_.t option;The SHA256 hash of the function configuration.
*)durableConfig : DurableConfig.t option;The function's durable execution configuration settings, if the function is configured for durability.
*)tenancyConfig : TenancyConfig.t option;The function's tenant isolation configuration settings. Determines whether the Lambda function runs on a shared or dedicated infrastructure per unique tenant.
*)}type nonrec error = [ | `CodeSigningConfigNotFoundException of CodeSigningConfigNotFoundException.t| `CodeStorageExceededException of CodeStorageExceededException.t| `CodeVerificationFailedException of CodeVerificationFailedException.t| `FunctionVersionsPerCapacityProviderLimitExceededException of
FunctionVersionsPerCapacityProviderLimitExceededException.t| `InvalidCodeSignatureException of InvalidCodeSignatureException.t| `InvalidParameterValueException of InvalidParameterValueException.t| `ResourceConflictException of ResourceConflictException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `ServiceException of ServiceException.t| `TooManyRequestsException of TooManyRequestsException.t| `Unknown_operation_error of string * string option ]val make :
?functionName:??? ->
?functionArn:??? ->
?runtime:??? ->
?role:??? ->
?handler:??? ->
?codeSize:??? ->
?description:??? ->
?timeout:??? ->
?memorySize:??? ->
?lastModified:??? ->
?codeSha256:??? ->
?version:??? ->
?vpcConfig:??? ->
?deadLetterConfig:??? ->
?environment:??? ->
?kMSKeyArn:??? ->
?tracingConfig:??? ->
?masterArn:??? ->
?revisionId:??? ->
?layers:??? ->
?state:??? ->
?stateReason:??? ->
?stateReasonCode:??? ->
?lastUpdateStatus:??? ->
?lastUpdateStatusReason:??? ->
?lastUpdateStatusReasonCode:??? ->
?fileSystemConfigs:??? ->
?packageType:??? ->
?imageConfigResponse:??? ->
?signingProfileVersionArn:??? ->
?signingJobArn:??? ->
?architectures:??? ->
?ephemeralStorage:??? ->
?snapStart:??? ->
?runtimeVersionConfig:??? ->
?loggingConfig:??? ->
?capacityProviderConfig:??? ->
?configSha256:??? ->
?durableConfig:??? ->
?tenancyConfig:??? ->
unit ->
tval error_of_json :
string ->
Yojson.Safe.t ->
[> `CodeSigningConfigNotFoundException of
CodeSigningConfigNotFoundException.t
| `CodeStorageExceededException of CodeStorageExceededException.t
| `CodeVerificationFailedException of CodeVerificationFailedException.t
| `FunctionVersionsPerCapacityProviderLimitExceededException of
FunctionVersionsPerCapacityProviderLimitExceededException.t
| `InvalidCodeSignatureException of InvalidCodeSignatureException.t
| `InvalidParameterValueException of InvalidParameterValueException.t
| `ResourceConflictException of ResourceConflictException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ServiceException of ServiceException.t
| `TooManyRequestsException of TooManyRequestsException.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `CodeSigningConfigNotFoundException of
CodeSigningConfigNotFoundException.t
| `CodeStorageExceededException of CodeStorageExceededException.t
| `CodeVerificationFailedException of CodeVerificationFailedException.t
| `FunctionVersionsPerCapacityProviderLimitExceededException of
FunctionVersionsPerCapacityProviderLimitExceededException.t
| `InvalidCodeSignatureException of InvalidCodeSignatureException.t
| `InvalidParameterValueException of InvalidParameterValueException.t
| `ResourceConflictException of ResourceConflictException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ServiceException of ServiceException.t
| `TooManyRequestsException of TooManyRequestsException.t
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `Integer of Timeout.t
| `List of
[> `Enum of string
| `Structure of
(string * [> `Long of Long.t | `String of LayerVersionArn.t ])
list ]
list
| `Long of Long.t
| `String of NamespacedFunctionName.t
| `Structure of
(string
* [> `Boolean of NullableBoolean.t
| `Enum of string
| `Integer of EphemeralStorageSize.t
| `List of [> `String of SubnetId.t ] list
| `Map of
([> `String of EnvironmentVariableName.t ]
* [> `String of EnvironmentVariableValue.t ])
list
| `String of VpcId.t
| `Structure of
(string
* [> `Double of ExecutionEnvironmentMemoryGiBPerVCpu.t
| `Integer of PerExecutionEnvironmentMaxConcurrency.t
| `List of [> `String of String_.t ] list
| `String of String_.t ])
list ])
list ])
list ]