Module Values.FunctionEventInvokeConfigSource

Retrieves the configuration for asynchronous invocation for a function, version, or alias. To configure options for asynchronous invocation, use PutFunctionEventInvokeConfig.

Sourcetype nonrec t = {
  1. lastModified : Date.t option;
    (*

    The date and time that the configuration was last updated.

    *)
  2. functionArn : FunctionArn.t option;
    (*

    The Amazon Resource Name (ARN) of the function.

    *)
  3. maximumRetryAttempts : MaximumRetryAttempts.t option;
    (*

    The maximum number of times to retry when the function returns an error.

    *)
  4. maximumEventAgeInSeconds : MaximumEventAgeInSeconds.t option;
    (*

    The maximum age of a request that Lambda sends to a function for processing.

    *)
  5. destinationConfig : DestinationConfig.t option;
    (*

    A destination for events after they have been sent to a function for processing. Destinations Function - The Amazon Resource Name (ARN) of a Lambda function. Queue - The ARN of a standard SQS queue. Bucket - The ARN of an Amazon S3 bucket. Topic - The ARN of a standard SNS topic. Event Bus - The ARN of an Amazon EventBridge event bus. S3 buckets are supported only for on-failure destinations. To retain records of successful invocations, use another destination type.

    *)
}
Sourcetype nonrec error = [
  1. | `InvalidParameterValueException of InvalidParameterValueException.t
  2. | `ResourceNotFoundException of ResourceNotFoundException.t
  3. | `ServiceException of ServiceException.t
  4. | `TooManyRequestsException of TooManyRequestsException.t
  5. | `Unknown_operation_error of string * string option
]
Sourceval make : ?lastModified:??? -> ?functionArn:??? -> ?maximumRetryAttempts:??? -> ?maximumEventAgeInSeconds:??? -> ?destinationConfig:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InvalidParameterValueException of InvalidParameterValueException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ServiceException of ServiceException.t | `TooManyRequestsException of TooManyRequestsException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InvalidParameterValueException of InvalidParameterValueException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ServiceException of ServiceException.t | `TooManyRequestsException of TooManyRequestsException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of MaximumRetryAttempts.t | `String of FunctionArn.t | `Structure of (string * [> `Structure of (string * [> `String of DestinationArn.t ]) list ]) list | `Timestamp of Date.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t