def validate_authorizer_ttl(ttl_value):
 ttl_value = int(positive_integer(ttl_value))
 if (ttl_value > 3600):
  raise ValueError('The AuthorizerResultTtlInSeconds should be <= 3600')
 return ttl_value

def validate_authorizer_ttl ( ttl_value ) : ttl_value = int ( positive_integer ( ttl_value ) ) if ( ttl_value > 3600 ) : raise ValueError ( 'The AuthorizerResultTtlInSeconds should be <= 3600' ) return ttl_value
validate authorizer ttl timeout .