execute_command_with_retry: execute_command_with_retry

View source: R/faasr_client_api_aws-lambda.R

execute_command_with_retryR Documentation

execute_command_with_retry

Description

check if aws command run successfully, and retry

Usage

execute_command_with_retry(
  function_name,
  function_image_url,
  cred,
  current_lambda_instance,
  max_retries = 3,
  sleep_seconds = 5
)

Arguments

function_name

a string for the function name

function_image_url

a string for FaaSr container image uri

cred

a list form of the credentials

current_lambda_instance

a list form of current Lambda server information: id, keys, region

max_retries

a integer for the number of maximum tries

sleep_seconds

a integer for the time for sleep between retries

Value

a logical value


FaaSr documentation built on June 22, 2024, 9:38 a.m.