Interface PipeTargetLambdaFunctionParameters.Builder

    • Method Detail

      • invocationType

        PipeTargetLambdaFunctionParameters.Builder invocationType​(String invocationType)

        Specify whether to invoke the function synchronously or asynchronously.

        • REQUEST_RESPONSE (default) - Invoke synchronously. This corresponds to the RequestResponse option in the InvocationType parameter for the Lambda Invoke API.

        • FIRE_AND_FORGET - Invoke asynchronously. This corresponds to the Event option in the InvocationType parameter for the Lambda Invoke API.

        For more information, see Invocation types in the Amazon EventBridge User Guide.

        Parameters:
        invocationType - Specify whether to invoke the function synchronously or asynchronously.

        • REQUEST_RESPONSE (default) - Invoke synchronously. This corresponds to the RequestResponse option in the InvocationType parameter for the Lambda Invoke API.

        • FIRE_AND_FORGET - Invoke asynchronously. This corresponds to the Event option in the InvocationType parameter for the Lambda Invoke API.

        For more information, see Invocation types in the Amazon EventBridge User Guide.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PipeTargetInvocationType, PipeTargetInvocationType
      • invocationType

        PipeTargetLambdaFunctionParameters.Builder invocationType​(PipeTargetInvocationType invocationType)

        Specify whether to invoke the function synchronously or asynchronously.

        • REQUEST_RESPONSE (default) - Invoke synchronously. This corresponds to the RequestResponse option in the InvocationType parameter for the Lambda Invoke API.

        • FIRE_AND_FORGET - Invoke asynchronously. This corresponds to the Event option in the InvocationType parameter for the Lambda Invoke API.

        For more information, see Invocation types in the Amazon EventBridge User Guide.

        Parameters:
        invocationType - Specify whether to invoke the function synchronously or asynchronously.

        • REQUEST_RESPONSE (default) - Invoke synchronously. This corresponds to the RequestResponse option in the InvocationType parameter for the Lambda Invoke API.

        • FIRE_AND_FORGET - Invoke asynchronously. This corresponds to the Event option in the InvocationType parameter for the Lambda Invoke API.

        For more information, see Invocation types in the Amazon EventBridge User Guide.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PipeTargetInvocationType, PipeTargetInvocationType